@vouchfor/embeds 1.2.1 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/es/{browser-47f3e1d6.js → browser-97265c29.js} +2 -2
- package/dist/es/{browser-47f3e1d6.js.map → browser-97265c29.js.map} +1 -1
- package/dist/es/embeds.js +1 -1
- package/dist/es/{index-d6ce78b6.js → index-d15aeb56.js} +704 -710
- package/dist/es/index-d15aeb56.js.map +1 -0
- package/dist/es/src/components/DialogEmbed/index.d.ts +1 -0
- package/dist/es/src/components/PlayerEmbed/index.d.ts +73 -0
- package/dist/iife/dialog-embed/{browser-7ead22f3.js → browser-c8adca59.js} +2 -2
- package/dist/iife/dialog-embed/{browser-7ead22f3.js.map → browser-c8adca59.js.map} +1 -1
- package/dist/iife/dialog-embed/embed.iife.js +71 -70
- package/dist/iife/dialog-embed/embed.iife.js.map +1 -1
- package/dist/iife/dialog-embed/embed.js +1 -1
- package/dist/iife/dialog-embed/{index-0f8b2027.js → index-eb3ec3b3.js} +904 -911
- package/dist/iife/dialog-embed/index-eb3ec3b3.js.map +1 -0
- package/dist/iife/dialog-embed/src/components/DialogEmbed/index.d.ts +1 -0
- package/dist/iife/dialog-embed/src/components/PlayerEmbed/index.d.ts +73 -0
- package/dist/iife/embeds.iife.js +53 -52
- package/dist/iife/embeds.iife.js.map +1 -1
- package/dist/iife/player-embed/{browser-e97870ba.js → browser-7e2003a9.js} +2 -2
- package/dist/iife/player-embed/{browser-e97870ba.js.map → browser-7e2003a9.js.map} +1 -1
- package/dist/iife/player-embed/embed.iife.js +34 -34
- package/dist/iife/player-embed/embed.iife.js.map +1 -1
- package/dist/iife/player-embed/embed.js +1 -1
- package/dist/iife/player-embed/{index-5907ffee.js → index-4541048e.js} +3343 -3351
- package/dist/iife/player-embed/index-4541048e.js.map +1 -0
- package/dist/iife/player-embed/src/components/DialogEmbed/index.d.ts +1 -0
- package/dist/iife/player-embed/src/components/PlayerEmbed/index.d.ts +73 -0
- package/package.json +2 -2
- package/src/components/DialogEmbed/Dialog.stories.ts +12 -0
- package/src/components/DialogEmbed/DialogPortal.ts +22 -10
- package/src/components/DialogEmbed/index.ts +5 -1
- package/src/components/PlayerEmbed/index.ts +106 -5
- package/dist/es/index-d6ce78b6.js.map +0 -1
- package/dist/iife/dialog-embed/index-0f8b2027.js.map +0 -1
- package/dist/iife/player-embed/index-5907ffee.js.map +0 -1
- package/src/mixins/media-player-proxy.ts +0 -116
@@ -2,7 +2,7 @@ import { property as Ne, state as qa, customElement as z2 } from "lit/decorators
|
|
2
2
|
import { ifDefined as Mr } from "lit/directives/if-defined.js";
|
3
3
|
import { createRef as Ka, ref as ei } from "lit/directives/ref.js";
|
4
4
|
import { Task as Nn } from "@lit/task";
|
5
|
-
import { v4 as
|
5
|
+
import { v4 as K0 } from "uuid";
|
6
6
|
import "@vouchfor/media-player";
|
7
7
|
import { classMap as Tn } from "lit/directives/class-map.js";
|
8
8
|
import "@a11y/focus-trap";
|
@@ -50,7 +50,7 @@ const Pc = (f) => new Sc(typeof f == "string" ? f : f + "", void 0, co), Cc = (f
|
|
50
50
|
* Copyright 2017 Google LLC
|
51
51
|
* SPDX-License-Identifier: BSD-3-Clause
|
52
52
|
*/
|
53
|
-
const { is: xc, defineProperty: Nc, getOwnPropertyDescriptor: Tc, getOwnPropertyNames: Oc, getOwnPropertySymbols: Ic, getPrototypeOf: Bc } = Object,
|
53
|
+
const { is: xc, defineProperty: Nc, getOwnPropertyDescriptor: Tc, getOwnPropertyNames: Oc, getOwnPropertySymbols: Ic, getPrototypeOf: Bc } = Object, rt = globalThis, Bn = rt.trustedTypes, Wc = Bn ? Bn.emptyScript : "", Ta = rt.reactiveElementPolyfillSupport, e2 = (f, s) => f, Va = { toAttribute(f, s) {
|
54
54
|
switch (s) {
|
55
55
|
case Boolean:
|
56
56
|
f = f ? Wc : null;
|
@@ -79,7 +79,7 @@ const { is: xc, defineProperty: Nc, getOwnPropertyDescriptor: Tc, getOwnProperty
|
|
79
79
|
}
|
80
80
|
return l;
|
81
81
|
} }, lo = (f, s) => !xc(f, s), Wn = { attribute: !0, type: String, converter: Va, reflect: !1, hasChanged: lo };
|
82
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
82
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), rt.litPropertyMetadata ?? (rt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
83
83
|
let zt = class extends HTMLElement {
|
84
84
|
static addInitializer(s) {
|
85
85
|
this._$Ei(), (this.l ?? (this.l = [])).push(s);
|
@@ -96,14 +96,14 @@ let zt = class extends HTMLElement {
|
|
96
96
|
static getPropertyDescriptor(s, l, u) {
|
97
97
|
const { get: d, set: p } = Tc(this.prototype, s) ?? { get() {
|
98
98
|
return this[l];
|
99
|
-
}, set(
|
100
|
-
this[l] =
|
99
|
+
}, set(y) {
|
100
|
+
this[l] = y;
|
101
101
|
} };
|
102
102
|
return { get() {
|
103
103
|
return d == null ? void 0 : d.call(this);
|
104
|
-
}, set(
|
104
|
+
}, set(y) {
|
105
105
|
const T = d == null ? void 0 : d.call(this);
|
106
|
-
p.call(this,
|
106
|
+
p.call(this, y), this.requestUpdate(s, T, u);
|
107
107
|
}, configurable: !0, enumerable: !0 };
|
108
108
|
}
|
109
109
|
static getPropertyOptions(s) {
|
@@ -199,16 +199,16 @@ let zt = class extends HTMLElement {
|
|
199
199
|
var p;
|
200
200
|
const u = this.constructor.elementProperties.get(s), d = this.constructor._$Eu(s, u);
|
201
201
|
if (d !== void 0 && u.reflect === !0) {
|
202
|
-
const
|
203
|
-
this._$Em = s,
|
202
|
+
const y = (((p = u.converter) == null ? void 0 : p.toAttribute) !== void 0 ? u.converter : Va).toAttribute(l, u.type);
|
203
|
+
this._$Em = s, y == null ? this.removeAttribute(d) : this.setAttribute(d, y), this._$Em = null;
|
204
204
|
}
|
205
205
|
}
|
206
206
|
_$AK(s, l) {
|
207
207
|
var p;
|
208
208
|
const u = this.constructor, d = u._$Eh.get(s);
|
209
209
|
if (d !== void 0 && this._$Em !== d) {
|
210
|
-
const
|
211
|
-
this._$Em = d, this[d] = T.fromAttribute(l,
|
210
|
+
const y = u.getPropertyOptions(d), T = typeof y.converter == "function" ? { fromAttribute: y.converter } : ((p = y.converter) == null ? void 0 : p.fromAttribute) !== void 0 ? y.converter : Va;
|
211
|
+
this._$Em = d, this[d] = T.fromAttribute(l, y.type), this._$Em = null;
|
212
212
|
}
|
213
213
|
}
|
214
214
|
requestUpdate(s, l, u, d = !1, p) {
|
@@ -241,14 +241,14 @@ let zt = class extends HTMLElement {
|
|
241
241
|
return;
|
242
242
|
if (!this.hasUpdated) {
|
243
243
|
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
244
|
-
for (const [p,
|
245
|
-
this[p] =
|
244
|
+
for (const [p, y] of this._$Ep)
|
245
|
+
this[p] = y;
|
246
246
|
this._$Ep = void 0;
|
247
247
|
}
|
248
248
|
const d = this.constructor.elementProperties;
|
249
249
|
if (d.size > 0)
|
250
|
-
for (const [p,
|
251
|
-
|
250
|
+
for (const [p, y] of d)
|
251
|
+
y.wrapped !== !0 || this._$AL.has(p) || this[p] === void 0 || this.C(p, this[p], y);
|
252
252
|
}
|
253
253
|
let s = !1;
|
254
254
|
const l = this._$AL;
|
@@ -291,14 +291,14 @@ let zt = class extends HTMLElement {
|
|
291
291
|
firstUpdated(s) {
|
292
292
|
}
|
293
293
|
};
|
294
|
-
zt.elementStyles = [], zt.shadowRootOptions = { mode: "open" }, zt[e2("elementProperties")] = /* @__PURE__ */ new Map(), zt[e2("finalized")] = /* @__PURE__ */ new Map(), Ta == null || Ta({ ReactiveElement: zt }), (
|
294
|
+
zt.elementStyles = [], zt.shadowRootOptions = { mode: "open" }, zt[e2("elementProperties")] = /* @__PURE__ */ new Map(), zt[e2("finalized")] = /* @__PURE__ */ new Map(), Ta == null || Ta({ ReactiveElement: zt }), (rt.reactiveElementVersions ?? (rt.reactiveElementVersions = [])).push("2.0.2");
|
295
295
|
/**
|
296
296
|
* @license
|
297
297
|
* Copyright 2017 Google LLC
|
298
298
|
* SPDX-License-Identifier: BSD-3-Clause
|
299
299
|
*/
|
300
300
|
const r2 = globalThis, Z2 = r2.trustedTypes, Un = Z2 ? Z2.createPolicy("lit-html", { createHTML: (f) => f }) : void 0, uo = "$lit$", J0 = `lit$${(Math.random() + "").slice(9)}$`, ho = "?" + J0, Uc = `<${ho}>`, At = document, M2 = () => At.createComment(""), o2 = (f) => f === null || typeof f != "object" && typeof f != "function", bo = Array.isArray, Gc = (f) => bo(f) || typeof (f == null ? void 0 : f[Symbol.iterator]) == "function", Oa = `[
|
301
|
-
\f\r]`, Yt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gn = /-->/g, Ln = />/g,
|
301
|
+
\f\r]`, Yt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gn = /-->/g, Ln = />/g, ct = RegExp(`>|${Oa}(?:([^\\s"'>=/]+)(${Oa}*=${Oa}*(?:[^
|
302
302
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Hn = /'/g, Vn = /"/g, po = /^(?:script|style|textarea|title)$/i, Bt = Symbol.for("lit-noChange"), mr = Symbol.for("lit-nothing"), Zn = /* @__PURE__ */ new WeakMap(), dt = At.createTreeWalker(At, 129);
|
303
303
|
function Ao(f, s) {
|
304
304
|
if (!Array.isArray(f) || !f.hasOwnProperty("raw"))
|
@@ -307,14 +307,14 @@ function Ao(f, s) {
|
|
307
307
|
}
|
308
308
|
const Lc = (f, s) => {
|
309
309
|
const l = f.length - 1, u = [];
|
310
|
-
let d, p = s === 2 ? "<svg>" : "",
|
310
|
+
let d, p = s === 2 ? "<svg>" : "", y = Yt;
|
311
311
|
for (let T = 0; T < l; T++) {
|
312
312
|
const O = f[T];
|
313
313
|
let K, ae, te = -1, me = 0;
|
314
|
-
for (; me < O.length && (
|
315
|
-
me =
|
316
|
-
const Te =
|
317
|
-
p +=
|
314
|
+
for (; me < O.length && (y.lastIndex = me, ae = y.exec(O), ae !== null); )
|
315
|
+
me = y.lastIndex, y === Yt ? ae[1] === "!--" ? y = Gn : ae[1] !== void 0 ? y = Ln : ae[2] !== void 0 ? (po.test(ae[2]) && (d = RegExp("</" + ae[2], "g")), y = ct) : ae[3] !== void 0 && (y = ct) : y === ct ? ae[0] === ">" ? (y = d ?? Yt, te = -1) : ae[1] === void 0 ? te = -2 : (te = y.lastIndex - ae[2].length, K = ae[1], y = ae[3] === void 0 ? ct : ae[3] === '"' ? Vn : Hn) : y === Vn || y === Hn ? y = ct : y === Gn || y === Ln ? y = Yt : (y = ct, d = void 0);
|
316
|
+
const Te = y === ct && f[T + 1].startsWith("/>") ? " " : "";
|
317
|
+
p += y === Yt ? O + Uc : te >= 0 ? (u.push(K), O.slice(0, te) + uo + O.slice(te) + J0 + Te) : O + J0 + (te === -2 ? T : Te);
|
318
318
|
}
|
319
319
|
return [Ao(f, p + (f[l] || "<?>") + (s === 2 ? "</svg>" : "")), u];
|
320
320
|
};
|
@@ -322,7 +322,7 @@ let Za = class ko {
|
|
322
322
|
constructor({ strings: s, _$litType$: l }, u) {
|
323
323
|
let d;
|
324
324
|
this.parts = [];
|
325
|
-
let p = 0,
|
325
|
+
let p = 0, y = 0;
|
326
326
|
const T = s.length - 1, O = this.parts, [K, ae] = Lc(s, l);
|
327
327
|
if (this.el = ko.createElement(K, u), dt.currentNode = this.el.content, l === 2) {
|
328
328
|
const te = this.el.content.firstChild;
|
@@ -333,7 +333,7 @@ let Za = class ko {
|
|
333
333
|
if (d.hasAttributes())
|
334
334
|
for (const te of d.getAttributeNames())
|
335
335
|
if (te.endsWith(uo)) {
|
336
|
-
const me = ae[
|
336
|
+
const me = ae[y++], Te = d.getAttribute(te).split(J0), Fe = /([.?@])?(.*)/.exec(me);
|
337
337
|
O.push({ type: 1, index: p, name: Fe[2], strings: Te, ctor: Fe[1] === "." ? Vc : Fe[1] === "?" ? Zc : Fe[1] === "@" ? Mc : Y2 }), d.removeAttribute(te);
|
338
338
|
} else
|
339
339
|
te.startsWith(J0) && (O.push({ type: 6, index: p }), d.removeAttribute(te));
|
@@ -363,10 +363,10 @@ let Za = class ko {
|
|
363
363
|
}
|
364
364
|
};
|
365
365
|
function Wt(f, s, l = f, u) {
|
366
|
-
var
|
366
|
+
var y, T;
|
367
367
|
if (s === Bt)
|
368
368
|
return s;
|
369
|
-
let d = u !== void 0 ? (
|
369
|
+
let d = u !== void 0 ? (y = l._$Co) == null ? void 0 : y[u] : l._$Cl;
|
370
370
|
const p = o2(s) ? void 0 : s._$litDirective$;
|
371
371
|
return (d == null ? void 0 : d.constructor) !== p && ((T = d == null ? void 0 : d._$AO) == null || T.call(d, !1), p === void 0 ? d = void 0 : (d = new p(f), d._$AT(f, l, u)), u !== void 0 ? (l._$Co ?? (l._$Co = []))[u] = d : l._$Cl = d), d !== void 0 && (s = Wt(f, d._$AS(f, s.values), d, u)), s;
|
372
372
|
}
|
@@ -383,13 +383,13 @@ let Hc = class {
|
|
383
383
|
u(s) {
|
384
384
|
const { el: { content: l }, parts: u } = this._$AD, d = ((s == null ? void 0 : s.creationScope) ?? At).importNode(l, !0);
|
385
385
|
dt.currentNode = d;
|
386
|
-
let p = dt.nextNode(),
|
386
|
+
let p = dt.nextNode(), y = 0, T = 0, O = u[0];
|
387
387
|
for (; O !== void 0; ) {
|
388
|
-
if (
|
388
|
+
if (y === O.index) {
|
389
389
|
let K;
|
390
390
|
O.type === 2 ? K = new mo(p, p.nextSibling, this, s) : O.type === 1 ? K = new O.ctor(p, O.name, O.strings, this, s) : O.type === 6 && (K = new Fc(p, this, s)), this._$AV.push(K), O = u[++T];
|
391
391
|
}
|
392
|
-
|
392
|
+
y !== (O == null ? void 0 : O.index) && (p = dt.nextNode(), y++);
|
393
393
|
}
|
394
394
|
return dt.currentNode = At, d;
|
395
395
|
}
|
@@ -398,7 +398,7 @@ let Hc = class {
|
|
398
398
|
for (const u of this._$AV)
|
399
399
|
u !== void 0 && (u.strings !== void 0 ? (u._$AI(s, u, l), l += u.strings.length - 2) : u._$AI(s[l])), l++;
|
400
400
|
}
|
401
|
-
}, mo = class
|
401
|
+
}, mo = class vo {
|
402
402
|
get _$AU() {
|
403
403
|
var s;
|
404
404
|
return ((s = this._$AM) == null ? void 0 : s._$AU) ?? this._$Cv;
|
@@ -435,8 +435,8 @@ let Hc = class {
|
|
435
435
|
if (((p = this._$AH) == null ? void 0 : p._$AD) === d)
|
436
436
|
this._$AH.p(l);
|
437
437
|
else {
|
438
|
-
const
|
439
|
-
|
438
|
+
const y = new Hc(d, this), T = y.u(this.options);
|
439
|
+
y.p(l), this.$(T), this._$AH = y;
|
440
440
|
}
|
441
441
|
}
|
442
442
|
_$AC(s) {
|
@@ -448,7 +448,7 @@ let Hc = class {
|
|
448
448
|
const l = this._$AH;
|
449
449
|
let u, d = 0;
|
450
450
|
for (const p of s)
|
451
|
-
d === l.length ? l.push(u = new
|
451
|
+
d === l.length ? l.push(u = new vo(this.k(M2()), this.k(M2()), this, this.options)) : u = l[d], u._$AI(p), d++;
|
452
452
|
d < l.length && (this._$AR(u && u._$AB.nextSibling, d), l.length = d);
|
453
453
|
}
|
454
454
|
_$AR(s = this._$AA.nextSibling, l) {
|
@@ -474,16 +474,16 @@ let Hc = class {
|
|
474
474
|
}
|
475
475
|
_$AI(s, l = this, u, d) {
|
476
476
|
const p = this.strings;
|
477
|
-
let
|
477
|
+
let y = !1;
|
478
478
|
if (p === void 0)
|
479
|
-
s = Wt(this, s, l, 0),
|
479
|
+
s = Wt(this, s, l, 0), y = !o2(s) || s !== this._$AH && s !== Bt, y && (this._$AH = s);
|
480
480
|
else {
|
481
481
|
const T = s;
|
482
482
|
let O, K;
|
483
483
|
for (s = p[0], O = 0; O < p.length - 1; O++)
|
484
|
-
K = Wt(this, T[u + O], l, O), K === Bt && (K = this._$AH[O]),
|
484
|
+
K = Wt(this, T[u + O], l, O), K === Bt && (K = this._$AH[O]), y || (y = !o2(K) || K !== this._$AH[O]), K === mr ? s = mr : s !== mr && (s += (K ?? "") + p[O + 1]), this._$AH[O] = K;
|
485
485
|
}
|
486
|
-
|
486
|
+
y && !d && this.O(s);
|
487
487
|
}
|
488
488
|
O(s) {
|
489
489
|
s === mr ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, s ?? "");
|
@@ -535,7 +535,7 @@ Ia == null || Ia(Za, mo), (r2.litHtmlVersions ?? (r2.litHtmlVersions = [])).push
|
|
535
535
|
* SPDX-License-Identifier: BSD-3-Clause
|
536
536
|
*/
|
537
537
|
const O2 = globalThis, ti = O2.ShadowRoot && (O2.ShadyCSS === void 0 || O2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ai = Symbol(), Mn = /* @__PURE__ */ new WeakMap();
|
538
|
-
let
|
538
|
+
let yo = class {
|
539
539
|
constructor(s, l, u) {
|
540
540
|
if (this._$cssResult$ = !0, u !== ai)
|
541
541
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
@@ -554,15 +554,15 @@ let vo = class {
|
|
554
554
|
return this.cssText;
|
555
555
|
}
|
556
556
|
};
|
557
|
-
const Dc = (f) => new
|
558
|
-
const l = f.length === 1 ? f[0] : s.reduce((u, d, p) => u + ((
|
559
|
-
if (
|
560
|
-
return
|
561
|
-
if (typeof
|
562
|
-
return
|
563
|
-
throw Error("Value passed to 'css' function must be a 'css' function result: " +
|
557
|
+
const Dc = (f) => new yo(typeof f == "string" ? f : f + "", void 0, ai), ii = (f, ...s) => {
|
558
|
+
const l = f.length === 1 ? f[0] : s.reduce((u, d, p) => u + ((y) => {
|
559
|
+
if (y._$cssResult$ === !0)
|
560
|
+
return y.cssText;
|
561
|
+
if (typeof y == "number")
|
562
|
+
return y;
|
563
|
+
throw Error("Value passed to 'css' function must be a 'css' function result: " + y + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
564
564
|
})(d) + f[p + 1], f[0]);
|
565
|
-
return new
|
565
|
+
return new yo(l, f, ai);
|
566
566
|
}, Xc = (f, s) => {
|
567
567
|
if (ti)
|
568
568
|
f.adoptedStyleSheets = s.map((l) => l instanceof CSSStyleSheet ? l : l.styleSheet);
|
@@ -582,7 +582,7 @@ const Dc = (f) => new vo(typeof f == "string" ? f : f + "", void 0, ai), ii = (f
|
|
582
582
|
* Copyright 2017 Google LLC
|
583
583
|
* SPDX-License-Identifier: BSD-3-Clause
|
584
584
|
*/
|
585
|
-
const { is: jc, defineProperty: zc, getOwnPropertyDescriptor: Yc, getOwnPropertyNames: Qc, getOwnPropertySymbols: Jc, getPrototypeOf: qc } = Object,
|
585
|
+
const { is: jc, defineProperty: zc, getOwnPropertyDescriptor: Yc, getOwnPropertyNames: Qc, getOwnPropertySymbols: Jc, getPrototypeOf: qc } = Object, tt = globalThis, Dn = tt.trustedTypes, Kc = Dn ? Dn.emptyScript : "", Ba = tt.reactiveElementPolyfillSupport, t2 = (f, s) => f, Ma = { toAttribute(f, s) {
|
586
586
|
switch (s) {
|
587
587
|
case Boolean:
|
588
588
|
f = f ? Kc : null;
|
@@ -611,7 +611,7 @@ const { is: jc, defineProperty: zc, getOwnPropertyDescriptor: Yc, getOwnProperty
|
|
611
611
|
}
|
612
612
|
return l;
|
613
613
|
} }, go = (f, s) => !jc(f, s), Xn = { attribute: !0, type: String, converter: Ma, reflect: !1, hasChanged: go };
|
614
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
614
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), tt.litPropertyMetadata ?? (tt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
615
615
|
class Ot extends HTMLElement {
|
616
616
|
static addInitializer(s) {
|
617
617
|
this._$Ei(), (this.l ?? (this.l = [])).push(s);
|
@@ -628,14 +628,14 @@ class Ot extends HTMLElement {
|
|
628
628
|
static getPropertyDescriptor(s, l, u) {
|
629
629
|
const { get: d, set: p } = Yc(this.prototype, s) ?? { get() {
|
630
630
|
return this[l];
|
631
|
-
}, set(
|
632
|
-
this[l] =
|
631
|
+
}, set(y) {
|
632
|
+
this[l] = y;
|
633
633
|
} };
|
634
634
|
return { get() {
|
635
635
|
return d == null ? void 0 : d.call(this);
|
636
|
-
}, set(
|
636
|
+
}, set(y) {
|
637
637
|
const T = d == null ? void 0 : d.call(this);
|
638
|
-
p.call(this,
|
638
|
+
p.call(this, y), this.requestUpdate(s, T, u);
|
639
639
|
}, configurable: !0, enumerable: !0 };
|
640
640
|
}
|
641
641
|
static getPropertyOptions(s) {
|
@@ -731,16 +731,16 @@ class Ot extends HTMLElement {
|
|
731
731
|
var p;
|
732
732
|
const u = this.constructor.elementProperties.get(s), d = this.constructor._$Eu(s, u);
|
733
733
|
if (d !== void 0 && u.reflect === !0) {
|
734
|
-
const
|
735
|
-
this._$Em = s,
|
734
|
+
const y = (((p = u.converter) == null ? void 0 : p.toAttribute) !== void 0 ? u.converter : Ma).toAttribute(l, u.type);
|
735
|
+
this._$Em = s, y == null ? this.removeAttribute(d) : this.setAttribute(d, y), this._$Em = null;
|
736
736
|
}
|
737
737
|
}
|
738
738
|
_$AK(s, l) {
|
739
739
|
var p;
|
740
740
|
const u = this.constructor, d = u._$Eh.get(s);
|
741
741
|
if (d !== void 0 && this._$Em !== d) {
|
742
|
-
const
|
743
|
-
this._$Em = d, this[d] = T.fromAttribute(l,
|
742
|
+
const y = u.getPropertyOptions(d), T = typeof y.converter == "function" ? { fromAttribute: y.converter } : ((p = y.converter) == null ? void 0 : p.fromAttribute) !== void 0 ? y.converter : Ma;
|
743
|
+
this._$Em = d, this[d] = T.fromAttribute(l, y.type), this._$Em = null;
|
744
744
|
}
|
745
745
|
}
|
746
746
|
requestUpdate(s, l, u, d = !1, p) {
|
@@ -773,14 +773,14 @@ class Ot extends HTMLElement {
|
|
773
773
|
return;
|
774
774
|
if (!this.hasUpdated) {
|
775
775
|
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
776
|
-
for (const [p,
|
777
|
-
this[p] =
|
776
|
+
for (const [p, y] of this._$Ep)
|
777
|
+
this[p] = y;
|
778
778
|
this._$Ep = void 0;
|
779
779
|
}
|
780
780
|
const d = this.constructor.elementProperties;
|
781
781
|
if (d.size > 0)
|
782
|
-
for (const [p,
|
783
|
-
|
782
|
+
for (const [p, y] of d)
|
783
|
+
y.wrapped !== !0 || this._$AL.has(p) || this[p] === void 0 || this.C(p, this[p], y);
|
784
784
|
}
|
785
785
|
let s = !1;
|
786
786
|
const l = this._$AL;
|
@@ -823,15 +823,15 @@ class Ot extends HTMLElement {
|
|
823
823
|
firstUpdated(s) {
|
824
824
|
}
|
825
825
|
}
|
826
|
-
Ot.elementStyles = [], Ot.shadowRootOptions = { mode: "open" }, Ot[t2("elementProperties")] = /* @__PURE__ */ new Map(), Ot[t2("finalized")] = /* @__PURE__ */ new Map(), Ba == null || Ba({ ReactiveElement: Ot }), (
|
826
|
+
Ot.elementStyles = [], Ot.shadowRootOptions = { mode: "open" }, Ot[t2("elementProperties")] = /* @__PURE__ */ new Map(), Ot[t2("finalized")] = /* @__PURE__ */ new Map(), Ba == null || Ba({ ReactiveElement: Ot }), (tt.reactiveElementVersions ?? (tt.reactiveElementVersions = [])).push("2.0.2");
|
827
827
|
/**
|
828
828
|
* @license
|
829
829
|
* Copyright 2017 Google LLC
|
830
830
|
* SPDX-License-Identifier: BSD-3-Clause
|
831
831
|
*/
|
832
832
|
const a2 = globalThis, F2 = a2.trustedTypes, jn = F2 ? F2.createPolicy("lit-html", { createHTML: (f) => f }) : void 0, _o = "$lit$", q0 = `lit$${(Math.random() + "").slice(9)}$`, wo = "?" + q0, e4 = `<${wo}>`, kt = document, s2 = () => kt.createComment(""), f2 = (f) => f === null || typeof f != "object" && typeof f != "function", Eo = Array.isArray, r4 = (f) => Eo(f) || typeof (f == null ? void 0 : f[Symbol.iterator]) == "function", Wa = `[
|
833
|
-
\f\r]`, Qt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, zn = /-->/g, Yn = />/g,
|
834
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Qn = /'/g, Jn = /"/g, $o = /^(?:script|style|textarea|title)$/i, t4 = (f) => (s, ...l) => ({ _$litType$: f, strings: s, values: l }), It = t4(1), Ut = Symbol.for("lit-noChange"),
|
833
|
+
\f\r]`, Qt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, zn = /-->/g, Yn = />/g, lt = RegExp(`>|${Wa}(?:([^\\s"'>=/]+)(${Wa}*=${Wa}*(?:[^
|
834
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Qn = /'/g, Jn = /"/g, $o = /^(?:script|style|textarea|title)$/i, t4 = (f) => (s, ...l) => ({ _$litType$: f, strings: s, values: l }), It = t4(1), Ut = Symbol.for("lit-noChange"), vr = Symbol.for("lit-nothing"), qn = /* @__PURE__ */ new WeakMap(), bt = kt.createTreeWalker(kt, 129);
|
835
835
|
function Ro(f, s) {
|
836
836
|
if (!Array.isArray(f) || !f.hasOwnProperty("raw"))
|
837
837
|
throw Error("invalid template strings array");
|
@@ -839,14 +839,14 @@ function Ro(f, s) {
|
|
839
839
|
}
|
840
840
|
const a4 = (f, s) => {
|
841
841
|
const l = f.length - 1, u = [];
|
842
|
-
let d, p = s === 2 ? "<svg>" : "",
|
842
|
+
let d, p = s === 2 ? "<svg>" : "", y = Qt;
|
843
843
|
for (let T = 0; T < l; T++) {
|
844
844
|
const O = f[T];
|
845
845
|
let K, ae, te = -1, me = 0;
|
846
|
-
for (; me < O.length && (
|
847
|
-
me =
|
848
|
-
const Te =
|
849
|
-
p +=
|
846
|
+
for (; me < O.length && (y.lastIndex = me, ae = y.exec(O), ae !== null); )
|
847
|
+
me = y.lastIndex, y === Qt ? ae[1] === "!--" ? y = zn : ae[1] !== void 0 ? y = Yn : ae[2] !== void 0 ? ($o.test(ae[2]) && (d = RegExp("</" + ae[2], "g")), y = lt) : ae[3] !== void 0 && (y = lt) : y === lt ? ae[0] === ">" ? (y = d ?? Qt, te = -1) : ae[1] === void 0 ? te = -2 : (te = y.lastIndex - ae[2].length, K = ae[1], y = ae[3] === void 0 ? lt : ae[3] === '"' ? Jn : Qn) : y === Jn || y === Qn ? y = lt : y === zn || y === Yn ? y = Qt : (y = lt, d = void 0);
|
848
|
+
const Te = y === lt && f[T + 1].startsWith("/>") ? " " : "";
|
849
|
+
p += y === Qt ? O + e4 : te >= 0 ? (u.push(K), O.slice(0, te) + _o + O.slice(te) + q0 + Te) : O + q0 + (te === -2 ? T : Te);
|
850
850
|
}
|
851
851
|
return [Ro(f, p + (f[l] || "<?>") + (s === 2 ? "</svg>" : "")), u];
|
852
852
|
};
|
@@ -854,7 +854,7 @@ class c2 {
|
|
854
854
|
constructor({ strings: s, _$litType$: l }, u) {
|
855
855
|
let d;
|
856
856
|
this.parts = [];
|
857
|
-
let p = 0,
|
857
|
+
let p = 0, y = 0;
|
858
858
|
const T = s.length - 1, O = this.parts, [K, ae] = a4(s, l);
|
859
859
|
if (this.el = c2.createElement(K, u), bt.currentNode = this.el.content, l === 2) {
|
860
860
|
const te = this.el.content.firstChild;
|
@@ -865,7 +865,7 @@ class c2 {
|
|
865
865
|
if (d.hasAttributes())
|
866
866
|
for (const te of d.getAttributeNames())
|
867
867
|
if (te.endsWith(_o)) {
|
868
|
-
const me = ae[
|
868
|
+
const me = ae[y++], Te = d.getAttribute(te).split(q0), Fe = /([.?@])?(.*)/.exec(me);
|
869
869
|
O.push({ type: 1, index: p, name: Fe[2], strings: Te, ctor: Fe[1] === "." ? n4 : Fe[1] === "?" ? o4 : Fe[1] === "@" ? s4 : Q2 }), d.removeAttribute(te);
|
870
870
|
} else
|
871
871
|
te.startsWith(q0) && (O.push({ type: 6, index: p }), d.removeAttribute(te));
|
@@ -895,10 +895,10 @@ class c2 {
|
|
895
895
|
}
|
896
896
|
}
|
897
897
|
function Gt(f, s, l = f, u) {
|
898
|
-
var
|
898
|
+
var y, T;
|
899
899
|
if (s === Ut)
|
900
900
|
return s;
|
901
|
-
let d = u !== void 0 ? (
|
901
|
+
let d = u !== void 0 ? (y = l._$Co) == null ? void 0 : y[u] : l._$Cl;
|
902
902
|
const p = f2(s) ? void 0 : s._$litDirective$;
|
903
903
|
return (d == null ? void 0 : d.constructor) !== p && ((T = d == null ? void 0 : d._$AO) == null || T.call(d, !1), p === void 0 ? d = void 0 : (d = new p(f), d._$AT(f, l, u)), u !== void 0 ? (l._$Co ?? (l._$Co = []))[u] = d : l._$Cl = d), d !== void 0 && (s = Gt(f, d._$AS(f, s.values), d, u)), s;
|
904
904
|
}
|
@@ -915,13 +915,13 @@ class i4 {
|
|
915
915
|
u(s) {
|
916
916
|
const { el: { content: l }, parts: u } = this._$AD, d = ((s == null ? void 0 : s.creationScope) ?? kt).importNode(l, !0);
|
917
917
|
bt.currentNode = d;
|
918
|
-
let p = bt.nextNode(),
|
918
|
+
let p = bt.nextNode(), y = 0, T = 0, O = u[0];
|
919
919
|
for (; O !== void 0; ) {
|
920
|
-
if (
|
920
|
+
if (y === O.index) {
|
921
921
|
let K;
|
922
922
|
O.type === 2 ? K = new u2(p, p.nextSibling, this, s) : O.type === 1 ? K = new O.ctor(p, O.name, O.strings, this, s) : O.type === 6 && (K = new f4(p, this, s)), this._$AV.push(K), O = u[++T];
|
923
923
|
}
|
924
|
-
|
924
|
+
y !== (O == null ? void 0 : O.index) && (p = bt.nextNode(), y++);
|
925
925
|
}
|
926
926
|
return bt.currentNode = kt, d;
|
927
927
|
}
|
@@ -937,7 +937,7 @@ class u2 {
|
|
937
937
|
return ((s = this._$AM) == null ? void 0 : s._$AU) ?? this._$Cv;
|
938
938
|
}
|
939
939
|
constructor(s, l, u, d) {
|
940
|
-
this.type = 2, this._$AH =
|
940
|
+
this.type = 2, this._$AH = vr, this._$AN = void 0, this._$AA = s, this._$AB = l, this._$AM = u, this.options = d, this._$Cv = (d == null ? void 0 : d.isConnected) ?? !0;
|
941
941
|
}
|
942
942
|
get parentNode() {
|
943
943
|
let s = this._$AA.parentNode;
|
@@ -951,7 +951,7 @@ class u2 {
|
|
951
951
|
return this._$AB;
|
952
952
|
}
|
953
953
|
_$AI(s, l = this) {
|
954
|
-
s = Gt(this, s, l), f2(s) ? s ===
|
954
|
+
s = Gt(this, s, l), f2(s) ? s === vr || s == null || s === "" ? (this._$AH !== vr && this._$AR(), this._$AH = vr) : s !== this._$AH && s !== Ut && this._(s) : s._$litType$ !== void 0 ? this.g(s) : s.nodeType !== void 0 ? this.$(s) : r4(s) ? this.T(s) : this._(s);
|
955
955
|
}
|
956
956
|
k(s) {
|
957
957
|
return this._$AA.parentNode.insertBefore(s, this._$AB);
|
@@ -960,7 +960,7 @@ class u2 {
|
|
960
960
|
this._$AH !== s && (this._$AR(), this._$AH = this.k(s));
|
961
961
|
}
|
962
962
|
_(s) {
|
963
|
-
this._$AH !==
|
963
|
+
this._$AH !== vr && f2(this._$AH) ? this._$AA.nextSibling.data = s : this.$(kt.createTextNode(s)), this._$AH = s;
|
964
964
|
}
|
965
965
|
g(s) {
|
966
966
|
var p;
|
@@ -968,8 +968,8 @@ class u2 {
|
|
968
968
|
if (((p = this._$AH) == null ? void 0 : p._$AD) === d)
|
969
969
|
this._$AH.p(l);
|
970
970
|
else {
|
971
|
-
const
|
972
|
-
|
971
|
+
const y = new i4(d, this), T = y.u(this.options);
|
972
|
+
y.p(l), this.$(T), this._$AH = y;
|
973
973
|
}
|
974
974
|
}
|
975
975
|
_$AC(s) {
|
@@ -1004,23 +1004,23 @@ class Q2 {
|
|
1004
1004
|
return this._$AM._$AU;
|
1005
1005
|
}
|
1006
1006
|
constructor(s, l, u, d, p) {
|
1007
|
-
this.type = 1, this._$AH =
|
1007
|
+
this.type = 1, this._$AH = vr, this._$AN = void 0, this.element = s, this.name = l, this._$AM = d, this.options = p, u.length > 2 || u[0] !== "" || u[1] !== "" ? (this._$AH = Array(u.length - 1).fill(new String()), this.strings = u) : this._$AH = vr;
|
1008
1008
|
}
|
1009
1009
|
_$AI(s, l = this, u, d) {
|
1010
1010
|
const p = this.strings;
|
1011
|
-
let
|
1011
|
+
let y = !1;
|
1012
1012
|
if (p === void 0)
|
1013
|
-
s = Gt(this, s, l, 0),
|
1013
|
+
s = Gt(this, s, l, 0), y = !f2(s) || s !== this._$AH && s !== Ut, y && (this._$AH = s);
|
1014
1014
|
else {
|
1015
1015
|
const T = s;
|
1016
1016
|
let O, K;
|
1017
1017
|
for (s = p[0], O = 0; O < p.length - 1; O++)
|
1018
|
-
K = Gt(this, T[u + O], l, O), K === Ut && (K = this._$AH[O]),
|
1018
|
+
K = Gt(this, T[u + O], l, O), K === Ut && (K = this._$AH[O]), y || (y = !f2(K) || K !== this._$AH[O]), K === vr ? s = vr : s !== vr && (s += (K ?? "") + p[O + 1]), this._$AH[O] = K;
|
1019
1019
|
}
|
1020
|
-
|
1020
|
+
y && !d && this.O(s);
|
1021
1021
|
}
|
1022
1022
|
O(s) {
|
1023
|
-
s ===
|
1023
|
+
s === vr ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, s ?? "");
|
1024
1024
|
}
|
1025
1025
|
}
|
1026
1026
|
class n4 extends Q2 {
|
@@ -1028,7 +1028,7 @@ class n4 extends Q2 {
|
|
1028
1028
|
super(...arguments), this.type = 3;
|
1029
1029
|
}
|
1030
1030
|
O(s) {
|
1031
|
-
this.element[this.name] = s ===
|
1031
|
+
this.element[this.name] = s === vr ? void 0 : s;
|
1032
1032
|
}
|
1033
1033
|
}
|
1034
1034
|
class o4 extends Q2 {
|
@@ -1036,7 +1036,7 @@ class o4 extends Q2 {
|
|
1036
1036
|
super(...arguments), this.type = 4;
|
1037
1037
|
}
|
1038
1038
|
O(s) {
|
1039
|
-
this.element.toggleAttribute(this.name, !!s && s !==
|
1039
|
+
this.element.toggleAttribute(this.name, !!s && s !== vr);
|
1040
1040
|
}
|
1041
1041
|
}
|
1042
1042
|
class s4 extends Q2 {
|
@@ -1044,9 +1044,9 @@ class s4 extends Q2 {
|
|
1044
1044
|
super(s, l, u, d, p), this.type = 5;
|
1045
1045
|
}
|
1046
1046
|
_$AI(s, l = this) {
|
1047
|
-
if ((s = Gt(this, s, l, 0) ??
|
1047
|
+
if ((s = Gt(this, s, l, 0) ?? vr) === Ut)
|
1048
1048
|
return;
|
1049
|
-
const u = this._$AH, d = s ===
|
1049
|
+
const u = this._$AH, d = s === vr && u !== vr || s.capture !== u.capture || s.once !== u.once || s.passive !== u.passive, p = s !== vr && (u === vr || d);
|
1050
1050
|
d && this.element.removeEventListener(this.name, this, u), p && this.element.addEventListener(this.name, this, s), this._$AH = s;
|
1051
1051
|
}
|
1052
1052
|
handleEvent(s) {
|
@@ -1081,7 +1081,7 @@ const c4 = (f, s, l) => {
|
|
1081
1081
|
* Copyright 2017 Google LLC
|
1082
1082
|
* SPDX-License-Identifier: BSD-3-Clause
|
1083
1083
|
*/
|
1084
|
-
class
|
1084
|
+
class at extends Ot {
|
1085
1085
|
constructor() {
|
1086
1086
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
1087
1087
|
}
|
@@ -1107,9 +1107,9 @@ class tt extends Ot {
|
|
1107
1107
|
}
|
1108
1108
|
}
|
1109
1109
|
var fo;
|
1110
|
-
|
1110
|
+
at._$litElement$ = !0, at.finalized = !0, (fo = globalThis.litElementHydrateSupport) == null || fo.call(globalThis, { LitElement: at });
|
1111
1111
|
const Ga = globalThis.litElementPolyfillSupport;
|
1112
|
-
Ga == null || Ga({ LitElement:
|
1112
|
+
Ga == null || Ga({ LitElement: at });
|
1113
1113
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.2");
|
1114
1114
|
function l4(f, s, l) {
|
1115
1115
|
function u(d) {
|
@@ -1139,7 +1139,7 @@ class u4 {
|
|
1139
1139
|
}), this._cleanup = [];
|
1140
1140
|
}
|
1141
1141
|
}
|
1142
|
-
const Kn = "https://d2rxhdlm2q91uk.cloudfront.net", h4 = "https://d1ix11aj5kfygl.cloudfront.net", d4 = "https://d157jlwnudd93d.cloudfront.net", eo = "https://bshyfw4h5a.execute-api.ap-southeast-2.amazonaws.com/dev", b4 = "https://gyzw7rpbq3.execute-api.ap-southeast-2.amazonaws.com/staging", p4 = "https://vfcjuim1l3.execute-api.ap-southeast-2.amazonaws.com/prod", A4 = "http://localhost:6060/v2", k4 = "https://embed-dev.vouchfor.com/v2", m4 = "https://embed-staging.vouchfor.com/v2",
|
1142
|
+
const Kn = "https://d2rxhdlm2q91uk.cloudfront.net", h4 = "https://d1ix11aj5kfygl.cloudfront.net", d4 = "https://d157jlwnudd93d.cloudfront.net", eo = "https://bshyfw4h5a.execute-api.ap-southeast-2.amazonaws.com/dev", b4 = "https://gyzw7rpbq3.execute-api.ap-southeast-2.amazonaws.com/staging", p4 = "https://vfcjuim1l3.execute-api.ap-southeast-2.amazonaws.com/prod", A4 = "http://localhost:6060/v2", k4 = "https://embed-dev.vouchfor.com/v2", m4 = "https://embed-staging.vouchfor.com/v2", v4 = "https://embed.vouchfor.com/v2";
|
1143
1143
|
function D2(f) {
|
1144
1144
|
if (!["local", "dev", "staging", "prod"].includes(f))
|
1145
1145
|
throw new Error(`Unknown environment: ${f}`);
|
@@ -1165,21 +1165,21 @@ function D2(f) {
|
|
1165
1165
|
return {
|
1166
1166
|
videoUrl: d4,
|
1167
1167
|
publicApiUrl: p4,
|
1168
|
-
embedApiUrl:
|
1168
|
+
embedApiUrl: v4
|
1169
1169
|
};
|
1170
1170
|
}
|
1171
|
-
class
|
1171
|
+
class y4 {
|
1172
1172
|
constructor(s) {
|
1173
1173
|
this._fetching = !1, this.getVouch = async (l, u, d) => {
|
1174
1174
|
var ae;
|
1175
|
-
const { embedApiUrl: p } = D2(l),
|
1175
|
+
const { embedApiUrl: p } = D2(l), y = K0(), T = await fetch(`${p}/vouches/${d}`, {
|
1176
1176
|
method: "GET",
|
1177
1177
|
headers: [
|
1178
1178
|
["X-Api-Key", u],
|
1179
|
-
["X-Cache-Check",
|
1179
|
+
["X-Cache-Check", y]
|
1180
1180
|
]
|
1181
1181
|
}), O = await T.json();
|
1182
|
-
return this.host.dispatchEvent(new CustomEvent("vouch:loaded", { detail: O == null ? void 0 : O.id })), ((ae = T == null ? void 0 : T.headers) == null ? void 0 : ae.get("X-Cache-Check")) !==
|
1182
|
+
return this.host.dispatchEvent(new CustomEvent("vouch:loaded", { detail: O == null ? void 0 : O.id })), ((ae = T == null ? void 0 : T.headers) == null ? void 0 : ae.get("X-Cache-Check")) !== y && fetch(`${p}/vouches/${d}`, {
|
1183
1183
|
method: "GET",
|
1184
1184
|
headers: [
|
1185
1185
|
["X-Api-Key", u],
|
@@ -1188,14 +1188,14 @@ class v4 {
|
|
1188
1188
|
}), O;
|
1189
1189
|
}, this.getTemplate = async (l, u, d) => {
|
1190
1190
|
var ae;
|
1191
|
-
const { embedApiUrl: p } = D2(l),
|
1191
|
+
const { embedApiUrl: p } = D2(l), y = K0(), T = await fetch(`${p}/templates/${d}`, {
|
1192
1192
|
method: "GET",
|
1193
1193
|
headers: [
|
1194
1194
|
["X-Api-Key", u],
|
1195
|
-
["X-Cache-Check",
|
1195
|
+
["X-Cache-Check", y]
|
1196
1196
|
]
|
1197
1197
|
}), O = await T.json();
|
1198
|
-
return ((ae = T == null ? void 0 : T.headers) == null ? void 0 : ae.get("X-Cache-Check")) !==
|
1198
|
+
return ((ae = T == null ? void 0 : T.headers) == null ? void 0 : ae.get("X-Cache-Check")) !== y && fetch(`${p}/templates/${d}`, {
|
1199
1199
|
method: "GET",
|
1200
1200
|
headers: [
|
1201
1201
|
["X-Api-Key", u],
|
@@ -1204,17 +1204,17 @@ class v4 {
|
|
1204
1204
|
}), O;
|
1205
1205
|
}, this.host = s, new Nn(
|
1206
1206
|
this.host,
|
1207
|
-
async ([l, u, d, p,
|
1207
|
+
async ([l, u, d, p, y]) => {
|
1208
1208
|
var T, O, K, ae;
|
1209
1209
|
try {
|
1210
1210
|
if (s.vouch = void 0, s.template = void 0, d) {
|
1211
1211
|
let te;
|
1212
|
-
|
1212
|
+
y && (this.fetching = !0, te = await this.getTemplate(l, u, y)), this._vouch = d, s.template = te ?? ((O = (T = d == null ? void 0 : d.settings) == null ? void 0 : T.template) == null ? void 0 : O.instance);
|
1213
1213
|
} else if (p) {
|
1214
1214
|
this.fetching = !0;
|
1215
1215
|
const [te, me] = await Promise.all([
|
1216
1216
|
this.getVouch(l, u, p),
|
1217
|
-
|
1217
|
+
y ? this.getTemplate(l, u, y) : null
|
1218
1218
|
]);
|
1219
1219
|
this._vouch = te, s.template = me ?? ((ae = (K = te == null ? void 0 : te.settings) == null ? void 0 : K.template) == null ? void 0 : ae.instance);
|
1220
1220
|
}
|
@@ -1267,24 +1267,24 @@ function P4(f, s, { ignoreNonConfigurable: l = !1 } = {}) {
|
|
1267
1267
|
const C4 = /* @__PURE__ */ new WeakMap();
|
1268
1268
|
function So(f, { cacheKey: s = ([u]) => u, cache: l = /* @__PURE__ */ new Map() } = {}) {
|
1269
1269
|
const u = /* @__PURE__ */ new Map(), d = function(...p) {
|
1270
|
-
const
|
1271
|
-
if (u.has(
|
1272
|
-
return u.get(
|
1270
|
+
const y = s(p);
|
1271
|
+
if (u.has(y))
|
1272
|
+
return u.get(y);
|
1273
1273
|
const T = (async () => {
|
1274
1274
|
try {
|
1275
|
-
if (l && await l.has(
|
1276
|
-
return await l.get(
|
1275
|
+
if (l && await l.has(y))
|
1276
|
+
return await l.get(y);
|
1277
1277
|
const K = await f.apply(this, p);
|
1278
1278
|
try {
|
1279
1279
|
return K;
|
1280
1280
|
} finally {
|
1281
|
-
l && await l.set(
|
1281
|
+
l && await l.set(y, K);
|
1282
1282
|
}
|
1283
1283
|
} finally {
|
1284
|
-
u.delete(
|
1284
|
+
u.delete(y);
|
1285
1285
|
}
|
1286
1286
|
})();
|
1287
|
-
return u.set(
|
1287
|
+
return u.set(y, T), T;
|
1288
1288
|
};
|
1289
1289
|
return P4(d, f, {
|
1290
1290
|
ignoreNonConfigurable: !0
|
@@ -1311,9 +1311,9 @@ var Da = { exports: {} };
|
|
1311
1311
|
` + Array(be).join(" ") + "^");
|
1312
1312
|
}
|
1313
1313
|
u.prototype = Object.create(Error.prototype, { name: { value: "Squirrelly Error", enumerable: !1 } });
|
1314
|
-
var p = new Function("return this")().Promise,
|
1314
|
+
var p = new Function("return this")().Promise, y = !1;
|
1315
1315
|
try {
|
1316
|
-
|
1316
|
+
y = new Function("return (async function(){}).constructor")();
|
1317
1317
|
} catch (C) {
|
1318
1318
|
if (!(C instanceof SyntaxError))
|
1319
1319
|
throw C;
|
@@ -1354,7 +1354,7 @@ var Da = { exports: {} };
|
|
1354
1354
|
Pe = Pr + 1;
|
1355
1355
|
}
|
1356
1356
|
for (ge === "h" || ge === "b" || ge === "c" ? he = "n" : ge === "r" && (Le.raw = !0, ge = "i"), fe.lastIndex = Pe; (De = fe.exec(C)) !== null; ) {
|
1357
|
-
var Ur = De[1], h0 = De[2],
|
1357
|
+
var Ur = De[1], h0 = De[2], vt = De[3], tr = De[4], d0 = De[5], Ue = De.index;
|
1358
1358
|
if (Ur)
|
1359
1359
|
Ur === "(" ? (cr === 0 && (he === "n" ? (Sr(Ue), he = "p") : he === "f" && (Sr(Ue), he = "fp")), cr++) : Ur === ")" ? --cr === 0 && he !== "c" && (Sr(Ue), he = "err") : cr === 0 && Ur === "|" ? (Sr(Ue), he = "f") : Ur === "=>" && (Sr(Ue), Pe += 1, he = "res");
|
1360
1360
|
else if (h0)
|
@@ -1363,7 +1363,7 @@ var Da = { exports: {} };
|
|
1363
1363
|
Xr === -1 && d("unclosed comment", C, De.index), fe.lastIndex = Xr + 2;
|
1364
1364
|
} else
|
1365
1365
|
h0 === "'" ? (te.lastIndex = De.index, te.exec(C) ? fe.lastIndex = te.lastIndex : d("unclosed string", C, De.index)) : h0 === '"' ? (me.lastIndex = De.index, me.exec(C) ? fe.lastIndex = me.lastIndex : d("unclosed string", C, De.index)) : h0 === "`" && (ae.lastIndex = De.index, ae.exec(C) ? fe.lastIndex = ae.lastIndex : d("unclosed string", C, De.index));
|
1366
|
-
else if (
|
1366
|
+
else if (vt)
|
1367
1367
|
return Sr(Ue), Pe = Ue + De[0].length, be.lastIndex = Pe, rr = d0, tr && ge === "h" && (ge = "s"), Le.t = ge, Le;
|
1368
1368
|
}
|
1369
1369
|
return d("unclosed tag", C, fr), Le;
|
@@ -1372,19 +1372,19 @@ var Da = { exports: {} };
|
|
1372
1372
|
ge.b = [], ge.d = [];
|
1373
1373
|
var Le, cr = !1, he = [];
|
1374
1374
|
function Sr(n0, d2) {
|
1375
|
-
n0 && (n0 = function(_r, R0,
|
1375
|
+
n0 && (n0 = function(_r, R0, yt, gt) {
|
1376
1376
|
var o0, b0;
|
1377
|
-
return typeof R0.autoTrim == "string" ? o0 = b0 = R0.autoTrim : Array.isArray(R0.autoTrim) && (o0 = R0.autoTrim[1], b0 = R0.autoTrim[0]), (
|
1377
|
+
return typeof R0.autoTrim == "string" ? o0 = b0 = R0.autoTrim : Array.isArray(R0.autoTrim) && (o0 = R0.autoTrim[1], b0 = R0.autoTrim[0]), (yt || yt === !1) && (o0 = yt), (gt || gt === !1) && (b0 = gt), o0 === "slurp" && b0 === "slurp" ? _r.trim() : (o0 === "_" || o0 === "slurp" ? _r = String.prototype.trimLeft ? _r.trimLeft() : _r.replace(/^[\s\uFEFF\xA0]+/, "") : o0 !== "-" && o0 !== "nl" || (_r = _r.replace(/^(?:\n|\r|\r\n)/, "")), b0 === "_" || b0 === "slurp" ? _r = String.prototype.trimRight ? _r.trimRight() : _r.replace(/[\s\uFEFF\xA0]+$/, "") : b0 !== "-" && b0 !== "nl" || (_r = _r.replace(/(?:\n|\r|\r\n)$/, "")), _r);
|
1378
1378
|
}(n0, B, rr, d2)) && (n0 = n0.replace(/\\|'/g, "\\$&").replace(/\r\n|\n|\r/g, "\\n"), he.push(n0));
|
1379
1379
|
}
|
1380
1380
|
for (; (Le = be.exec(C)) !== null; ) {
|
1381
|
-
var Ur, h0 = Le[1],
|
1381
|
+
var Ur, h0 = Le[1], vt = Le[2], tr = Le[3] || "";
|
1382
1382
|
for (var d0 in X)
|
1383
1383
|
if (X[d0] === tr) {
|
1384
1384
|
Ur = d0;
|
1385
1385
|
break;
|
1386
1386
|
}
|
1387
|
-
Sr(h0,
|
1387
|
+
Sr(h0, vt), Pe = Le.index + Le[0].length, Ur || d("unrecognized tag type: " + tr, C, Pe);
|
1388
1388
|
var Ue = hr(Le.index, Ur), Xr = Ue.t;
|
1389
1389
|
if (Xr === "h") {
|
1390
1390
|
var Pr = Ue.n || "";
|
@@ -1541,7 +1541,7 @@ var Da = { exports: {} };
|
|
1541
1541
|
return Pe(se, X);
|
1542
1542
|
}, useScope: function(C, B) {
|
1543
1543
|
return er("useScope", B, !1), C.exec(C.params[0]);
|
1544
|
-
} }),
|
1544
|
+
} }), yr = new a0({ if: function(C, B) {
|
1545
1545
|
er("if", !1, C.f, !0);
|
1546
1546
|
var X = "if(" + C.p + "){" + ur(C.d, B) + "}";
|
1547
1547
|
if (C.b)
|
@@ -1557,7 +1557,7 @@ var Da = { exports: {} };
|
|
1557
1557
|
return X += "catch" + (se.res ? "(" + se.res + ")" : "") + "{" + ur(se.d, B) + "}";
|
1558
1558
|
}, block: function(C, B) {
|
1559
1559
|
return er("block", C.b, C.f, !0), "if(!" + B.varName + "[" + C.p + "]){tR+=(" + W0(C.d, "", B) + ")()}else{tR+=" + B.varName + "[" + C.p + "]}";
|
1560
|
-
} }),
|
1560
|
+
} }), it = new a0({ e: function(C) {
|
1561
1561
|
var B = String(C);
|
1562
1562
|
return /[&<>"']/.test(B) ? B.replace(/[&<>"']/g, Br) : B;
|
1563
1563
|
} }), i0 = { varName: "it", autoTrim: [!1, "nl"], autoEscape: !0, defaultFilter: !1, tags: ["{{", "}}"], l: function(C, B) {
|
@@ -1573,7 +1573,7 @@ var Da = { exports: {} };
|
|
1573
1573
|
return se;
|
1574
1574
|
throw u("Can't find filter '" + B + "'");
|
1575
1575
|
}
|
1576
|
-
}, async: !1, storage: { helpers: sr, nativeHelpers:
|
1576
|
+
}, async: !1, storage: { helpers: sr, nativeHelpers: yr, filters: it, templates: Kr }, prefixes: { h: "@", b: "#", i: "", r: "*", c: "/", e: "!" }, cache: !1, plugins: [], useWith: !1 };
|
1577
1577
|
function W(C, B) {
|
1578
1578
|
var X = {};
|
1579
1579
|
return O(X, i0), B && O(X, B), C && O(X, C), X.l.bind(X), X;
|
@@ -1581,9 +1581,9 @@ var Da = { exports: {} };
|
|
1581
1581
|
function q(C, B) {
|
1582
1582
|
var X = W(B || {}), se = Function;
|
1583
1583
|
if (X.async) {
|
1584
|
-
if (!
|
1584
|
+
if (!y)
|
1585
1585
|
throw u("This environment doesn't support async/await");
|
1586
|
-
se =
|
1586
|
+
se = y;
|
1587
1587
|
}
|
1588
1588
|
try {
|
1589
1589
|
return new se(X.varName, "c", "cb", Jr(C, X));
|
@@ -1595,19 +1595,19 @@ var Da = { exports: {} };
|
|
1595
1595
|
` + Jr(C, X)) : fe;
|
1596
1596
|
}
|
1597
1597
|
}
|
1598
|
-
function
|
1598
|
+
function ye(C, B) {
|
1599
1599
|
var X;
|
1600
1600
|
return B.cache && B.name && B.storage.templates.get(B.name) ? B.storage.templates.get(B.name) : (X = typeof C == "function" ? C : q(C, B), B.cache && B.name && B.storage.templates.define(B.name, X), X);
|
1601
1601
|
}
|
1602
|
-
i0.l.bind(i0), l.compile = q, l.compileScope = ur, l.compileScopeIntoFunction = W0, l.compileToString = Jr, l.defaultConfig = i0, l.filters =
|
1602
|
+
i0.l.bind(i0), l.compile = q, l.compileScope = ur, l.compileScopeIntoFunction = W0, l.compileToString = Jr, l.defaultConfig = i0, l.filters = it, l.getConfig = W, l.helpers = sr, l.nativeHelpers = yr, l.parse = We, l.render = function(C, B, X, se) {
|
1603
1603
|
var fe = W(X || {});
|
1604
1604
|
if (!fe.async)
|
1605
|
-
return
|
1605
|
+
return ye(C, fe)(B, fe);
|
1606
1606
|
if (!se) {
|
1607
1607
|
if (typeof p == "function")
|
1608
1608
|
return new p(function(be, Pe) {
|
1609
1609
|
try {
|
1610
|
-
be(
|
1610
|
+
be(ye(C, fe)(B, fe));
|
1611
1611
|
} catch (rr) {
|
1612
1612
|
Pe(rr);
|
1613
1613
|
}
|
@@ -1615,7 +1615,7 @@ var Da = { exports: {} };
|
|
1615
1615
|
throw u("Please provide a callback function, this env doesn't support Promises");
|
1616
1616
|
}
|
1617
1617
|
try {
|
1618
|
-
|
1618
|
+
ye(C, fe)(B, fe, se);
|
1619
1619
|
} catch (be) {
|
1620
1620
|
return se(be);
|
1621
1621
|
}
|
@@ -1631,7 +1631,7 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1631
1631
|
return p.prototype = l, new p();
|
1632
1632
|
}();
|
1633
1633
|
(function(p) {
|
1634
|
-
(function(
|
1634
|
+
(function(y) {
|
1635
1635
|
var T = typeof p < "u" && p || typeof self < "u" && self || typeof T < "u" && T, O = {
|
1636
1636
|
searchParams: "URLSearchParams" in T,
|
1637
1637
|
iterable: "Symbol" in T && "iterator" in Symbol,
|
@@ -1673,8 +1673,8 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1673
1673
|
function Fe(W) {
|
1674
1674
|
var q = {
|
1675
1675
|
next: function() {
|
1676
|
-
var
|
1677
|
-
return { done:
|
1676
|
+
var ye = W.shift();
|
1677
|
+
return { done: ye === void 0, value: ye };
|
1678
1678
|
}
|
1679
1679
|
};
|
1680
1680
|
return O.iterable && (q[Symbol.iterator] = function() {
|
@@ -1682,8 +1682,8 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1682
1682
|
}), q;
|
1683
1683
|
}
|
1684
1684
|
function We(W) {
|
1685
|
-
this.map = {}, W instanceof We ? W.forEach(function(q,
|
1686
|
-
this.append(
|
1685
|
+
this.map = {}, W instanceof We ? W.forEach(function(q, ye) {
|
1686
|
+
this.append(ye, q);
|
1687
1687
|
}, this) : Array.isArray(W) ? W.forEach(function(q) {
|
1688
1688
|
this.append(q[0], q[1]);
|
1689
1689
|
}, this) : W && Object.getOwnPropertyNames(W).forEach(function(q) {
|
@@ -1692,8 +1692,8 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1692
1692
|
}
|
1693
1693
|
We.prototype.append = function(W, q) {
|
1694
1694
|
W = me(W), q = Te(q);
|
1695
|
-
var
|
1696
|
-
this.map[W] =
|
1695
|
+
var ye = this.map[W];
|
1696
|
+
this.map[W] = ye ? ye + ", " + q : q;
|
1697
1697
|
}, We.prototype.delete = function(W) {
|
1698
1698
|
delete this.map[me(W)];
|
1699
1699
|
}, We.prototype.get = function(W) {
|
@@ -1703,12 +1703,12 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1703
1703
|
}, We.prototype.set = function(W, q) {
|
1704
1704
|
this.map[me(W)] = Te(q);
|
1705
1705
|
}, We.prototype.forEach = function(W, q) {
|
1706
|
-
for (var
|
1707
|
-
this.map.hasOwnProperty(
|
1706
|
+
for (var ye in this.map)
|
1707
|
+
this.map.hasOwnProperty(ye) && W.call(q, this.map[ye], ye, this);
|
1708
1708
|
}, We.prototype.keys = function() {
|
1709
1709
|
var W = [];
|
1710
|
-
return this.forEach(function(q,
|
1711
|
-
W.push(
|
1710
|
+
return this.forEach(function(q, ye) {
|
1711
|
+
W.push(ye);
|
1712
1712
|
}), Fe(W);
|
1713
1713
|
}, We.prototype.values = function() {
|
1714
1714
|
var W = [];
|
@@ -1717,8 +1717,8 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1717
1717
|
}), Fe(W);
|
1718
1718
|
}, We.prototype.entries = function() {
|
1719
1719
|
var W = [];
|
1720
|
-
return this.forEach(function(q,
|
1721
|
-
W.push([
|
1720
|
+
return this.forEach(function(q, ye) {
|
1721
|
+
W.push([ye, q]);
|
1722
1722
|
}), Fe(W);
|
1723
1723
|
}, O.iterable && (We.prototype[Symbol.iterator] = We.prototype.entries);
|
1724
1724
|
function Jr(W) {
|
@@ -1727,26 +1727,26 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1727
1727
|
W.bodyUsed = !0;
|
1728
1728
|
}
|
1729
1729
|
function B0(W) {
|
1730
|
-
return new Promise(function(q,
|
1730
|
+
return new Promise(function(q, ye) {
|
1731
1731
|
W.onload = function() {
|
1732
1732
|
q(W.result);
|
1733
1733
|
}, W.onerror = function() {
|
1734
|
-
|
1734
|
+
ye(W.error);
|
1735
1735
|
};
|
1736
1736
|
});
|
1737
1737
|
}
|
1738
1738
|
function qr(W) {
|
1739
|
-
var q = new FileReader(),
|
1740
|
-
return q.readAsArrayBuffer(W),
|
1739
|
+
var q = new FileReader(), ye = B0(q);
|
1740
|
+
return q.readAsArrayBuffer(W), ye;
|
1741
1741
|
}
|
1742
1742
|
function mt(W) {
|
1743
|
-
var q = new FileReader(),
|
1744
|
-
return q.readAsText(W),
|
1743
|
+
var q = new FileReader(), ye = B0(q);
|
1744
|
+
return q.readAsText(W), ye;
|
1745
1745
|
}
|
1746
1746
|
function W0(W) {
|
1747
|
-
for (var q = new Uint8Array(W),
|
1748
|
-
|
1749
|
-
return
|
1747
|
+
for (var q = new Uint8Array(W), ye = new Array(q.length), C = 0; C < q.length; C++)
|
1748
|
+
ye[C] = String.fromCharCode(q[C]);
|
1749
|
+
return ye.join("");
|
1750
1750
|
}
|
1751
1751
|
function ur(W) {
|
1752
1752
|
if (W.slice)
|
@@ -1805,16 +1805,16 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1805
1805
|
if (!(this instanceof Br))
|
1806
1806
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
1807
1807
|
q = q || {};
|
1808
|
-
var
|
1808
|
+
var ye = q.body;
|
1809
1809
|
if (W instanceof Br) {
|
1810
1810
|
if (W.bodyUsed)
|
1811
1811
|
throw new TypeError("Already read");
|
1812
|
-
this.url = W.url, this.credentials = W.credentials, q.headers || (this.headers = new We(W.headers)), this.method = W.method, this.mode = W.mode, this.signal = W.signal, !
|
1812
|
+
this.url = W.url, this.credentials = W.credentials, q.headers || (this.headers = new We(W.headers)), this.method = W.method, this.mode = W.mode, this.signal = W.signal, !ye && W._bodyInit != null && (ye = W._bodyInit, W.bodyUsed = !0);
|
1813
1813
|
} else
|
1814
1814
|
this.url = String(W);
|
1815
|
-
if (this.credentials = q.credentials || this.credentials || "same-origin", (q.headers || !this.headers) && (this.headers = new We(q.headers)), this.method = u0(q.method || this.method || "GET"), this.mode = q.mode || this.mode || null, this.signal = q.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") &&
|
1815
|
+
if (this.credentials = q.credentials || this.credentials || "same-origin", (q.headers || !this.headers) && (this.headers = new We(q.headers)), this.method = u0(q.method || this.method || "GET"), this.mode = q.mode || this.mode || null, this.signal = q.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && ye)
|
1816
1816
|
throw new TypeError("Body not allowed for GET or HEAD requests");
|
1817
|
-
if (this._initBody(
|
1817
|
+
if (this._initBody(ye), (this.method === "GET" || this.method === "HEAD") && (q.cache === "no-store" || q.cache === "no-cache")) {
|
1818
1818
|
var C = /([?&])_=[^&]*/;
|
1819
1819
|
if (C.test(this.url))
|
1820
1820
|
this.url = this.url.replace(C, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
|
@@ -1829,16 +1829,16 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1829
1829
|
};
|
1830
1830
|
function Kr(W) {
|
1831
1831
|
var q = new FormData();
|
1832
|
-
return W.trim().split("&").forEach(function(
|
1833
|
-
if (
|
1834
|
-
var C =
|
1832
|
+
return W.trim().split("&").forEach(function(ye) {
|
1833
|
+
if (ye) {
|
1834
|
+
var C = ye.split("="), B = C.shift().replace(/\+/g, " "), X = C.join("=").replace(/\+/g, " ");
|
1835
1835
|
q.append(decodeURIComponent(B), decodeURIComponent(X));
|
1836
1836
|
}
|
1837
1837
|
}), q;
|
1838
1838
|
}
|
1839
1839
|
function sr(W) {
|
1840
|
-
var q = new We(),
|
1841
|
-
return
|
1840
|
+
var q = new We(), ye = W.replace(/\r?\n[\t ]+/g, " ");
|
1841
|
+
return ye.split("\r").map(function(C) {
|
1842
1842
|
return C.indexOf(`
|
1843
1843
|
`) === 0 ? C.substr(1, C.length) : C;
|
1844
1844
|
}).forEach(function(C) {
|
@@ -1850,42 +1850,42 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1850
1850
|
}), q;
|
1851
1851
|
}
|
1852
1852
|
a0.call(Br.prototype);
|
1853
|
-
function
|
1854
|
-
if (!(this instanceof
|
1853
|
+
function yr(W, q) {
|
1854
|
+
if (!(this instanceof yr))
|
1855
1855
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
1856
1856
|
q || (q = {}), this.type = "default", this.status = q.status === void 0 ? 200 : q.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = q.statusText === void 0 ? "" : "" + q.statusText, this.headers = new We(q.headers), this.url = q.url || "", this._initBody(W);
|
1857
1857
|
}
|
1858
|
-
a0.call(
|
1859
|
-
return new
|
1858
|
+
a0.call(yr.prototype), yr.prototype.clone = function() {
|
1859
|
+
return new yr(this._bodyInit, {
|
1860
1860
|
status: this.status,
|
1861
1861
|
statusText: this.statusText,
|
1862
1862
|
headers: new We(this.headers),
|
1863
1863
|
url: this.url
|
1864
1864
|
});
|
1865
|
-
},
|
1866
|
-
var W = new
|
1865
|
+
}, yr.error = function() {
|
1866
|
+
var W = new yr(null, { status: 0, statusText: "" });
|
1867
1867
|
return W.type = "error", W;
|
1868
1868
|
};
|
1869
|
-
var
|
1870
|
-
|
1871
|
-
if (
|
1869
|
+
var it = [301, 302, 303, 307, 308];
|
1870
|
+
yr.redirect = function(W, q) {
|
1871
|
+
if (it.indexOf(q) === -1)
|
1872
1872
|
throw new RangeError("Invalid status code");
|
1873
|
-
return new
|
1874
|
-
},
|
1873
|
+
return new yr(null, { status: q, headers: { location: W } });
|
1874
|
+
}, y.DOMException = T.DOMException;
|
1875
1875
|
try {
|
1876
|
-
new
|
1876
|
+
new y.DOMException();
|
1877
1877
|
} catch {
|
1878
|
-
|
1879
|
-
this.message = q, this.name =
|
1878
|
+
y.DOMException = function(q, ye) {
|
1879
|
+
this.message = q, this.name = ye;
|
1880
1880
|
var C = Error(q);
|
1881
1881
|
this.stack = C.stack;
|
1882
|
-
},
|
1882
|
+
}, y.DOMException.prototype = Object.create(Error.prototype), y.DOMException.prototype.constructor = y.DOMException;
|
1883
1883
|
}
|
1884
1884
|
function i0(W, q) {
|
1885
|
-
return new Promise(function(
|
1885
|
+
return new Promise(function(ye, C) {
|
1886
1886
|
var B = new Br(W, q);
|
1887
1887
|
if (B.signal && B.signal.aborted)
|
1888
|
-
return C(new
|
1888
|
+
return C(new y.DOMException("Aborted", "AbortError"));
|
1889
1889
|
var X = new XMLHttpRequest();
|
1890
1890
|
function se() {
|
1891
1891
|
X.abort();
|
@@ -1899,7 +1899,7 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1899
1899
|
be.url = "responseURL" in X ? X.responseURL : be.headers.get("X-Request-URL");
|
1900
1900
|
var Pe = "response" in X ? X.response : X.responseText;
|
1901
1901
|
setTimeout(function() {
|
1902
|
-
|
1902
|
+
ye(new yr(Pe, be));
|
1903
1903
|
}, 0);
|
1904
1904
|
}, X.onerror = function() {
|
1905
1905
|
setTimeout(function() {
|
@@ -1911,7 +1911,7 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1911
1911
|
}, 0);
|
1912
1912
|
}, X.onabort = function() {
|
1913
1913
|
setTimeout(function() {
|
1914
|
-
C(new
|
1914
|
+
C(new y.DOMException("Aborted", "AbortError"));
|
1915
1915
|
}, 0);
|
1916
1916
|
};
|
1917
1917
|
function fe(be) {
|
@@ -1930,7 +1930,7 @@ var Po = Da.exports, Xa = { exports: {} };
|
|
1930
1930
|
}), X.send(typeof B._bodyInit > "u" ? null : B._bodyInit);
|
1931
1931
|
});
|
1932
1932
|
}
|
1933
|
-
return i0.polyfill = !0, T.fetch || (T.fetch = i0, T.Headers = We, T.Request = Br, T.Response =
|
1933
|
+
return i0.polyfill = !0, T.fetch || (T.fetch = i0, T.Headers = We, T.Request = Br, T.Response = yr), y.Headers = We, y.Request = Br, y.Response = yr, y.fetch = i0, y;
|
1934
1934
|
})({});
|
1935
1935
|
})(u), u.fetch.ponyfill = !0, delete u.fetch.polyfill;
|
1936
1936
|
var d = l.fetch ? l : u;
|
@@ -1969,7 +1969,7 @@ function ni(f, { cacheKey: s, cache: l = /* @__PURE__ */ new Map(), maxAge: u }
|
|
1969
1969
|
throw new TypeError("The `maxAge` option should not be a negative number.");
|
1970
1970
|
}
|
1971
1971
|
const d = function(...p) {
|
1972
|
-
var
|
1972
|
+
var y;
|
1973
1973
|
const T = s ? s(p) : p[0], O = l.get(T);
|
1974
1974
|
if (O)
|
1975
1975
|
return O.data;
|
@@ -1981,7 +1981,7 @@ function ni(f, { cacheKey: s, cache: l = /* @__PURE__ */ new Map(), maxAge: u }
|
|
1981
1981
|
const ae = setTimeout(() => {
|
1982
1982
|
l.delete(T);
|
1983
1983
|
}, u);
|
1984
|
-
(
|
1984
|
+
(y = ae.unref) == null || y.call(ae);
|
1985
1985
|
const te = ro.get(f) ?? /* @__PURE__ */ new Set();
|
1986
1986
|
te.add(ae), ro.set(f, te);
|
1987
1987
|
}
|
@@ -1996,8 +1996,8 @@ function to({ context: f, word: s, maxW: l = 1 / 0 }) {
|
|
1996
1996
|
if (d.width < l)
|
1997
1997
|
return [{ text: s, metrics: d }];
|
1998
1998
|
for (let p = 0; p < s.length; p++) {
|
1999
|
-
const
|
2000
|
-
O.width < l ? u[
|
1999
|
+
const y = u[u.length - 1], T = ((y == null ? void 0 : y.text) ?? "") + s[p], O = f.measureText(T);
|
2000
|
+
O.width < l ? u[y ? u.length - 1 : 0] = {
|
2001
2001
|
text: T,
|
2002
2002
|
metrics: O
|
2003
2003
|
} : u.push({ text: s[p], metrics: f.measureText(s[p]) });
|
@@ -2005,11 +2005,11 @@ function to({ context: f, word: s, maxW: l = 1 / 0 }) {
|
|
2005
2005
|
return u;
|
2006
2006
|
}
|
2007
2007
|
ni(
|
2008
|
-
({ font: f, scale: s, context: l, maxW: u, maxH: d, text: p, minSize:
|
2008
|
+
({ font: f, scale: s, context: l, maxW: u, maxH: d, text: p, minSize: y, maxSize: T }) => {
|
2009
2009
|
var O, K;
|
2010
2010
|
let ae = 0;
|
2011
2011
|
if (T) {
|
2012
|
-
ae = (
|
2012
|
+
ae = (y ?? 0) * s;
|
2013
2013
|
let te = 0;
|
2014
2014
|
for (; T * s > ae + 1; ) {
|
2015
2015
|
ae += 1;
|
@@ -2024,7 +2024,7 @@ ni(
|
|
2024
2024
|
return ae;
|
2025
2025
|
},
|
2026
2026
|
{
|
2027
|
-
cacheKey: ([{ font: f, text: s, minSize: l, maxSize: u, scale: d, maxW: p, maxH:
|
2027
|
+
cacheKey: ([{ font: f, text: s, minSize: l, maxSize: u, scale: d, maxW: p, maxH: y }]) => `${f}_${s}_${l}_${u}_${d}_${p}_${y}`
|
2028
2028
|
}
|
2029
2029
|
);
|
2030
2030
|
var Z4 = {}, oi = {}, we = {};
|
@@ -2068,14 +2068,14 @@ let W2 = /* @__PURE__ */ function(f) {
|
|
2068
2068
|
return f[f.Column = 0] = "Column", f[f.Row = 1] = "Row", f[f.All = 2] = "All", f;
|
2069
2069
|
}({});
|
2070
2070
|
we.Gutter = W2;
|
2071
|
-
let
|
2071
|
+
let ut = /* @__PURE__ */ function(f) {
|
2072
2072
|
return f[f.FlexStart = 0] = "FlexStart", f[f.Center = 1] = "Center", f[f.FlexEnd = 2] = "FlexEnd", f[f.SpaceBetween = 3] = "SpaceBetween", f[f.SpaceAround = 4] = "SpaceAround", f[f.SpaceEvenly = 5] = "SpaceEvenly", f;
|
2073
2073
|
}({});
|
2074
|
-
we.Justify =
|
2075
|
-
let
|
2074
|
+
we.Justify = ut;
|
2075
|
+
let ht = /* @__PURE__ */ function(f) {
|
2076
2076
|
return f[f.Error = 0] = "Error", f[f.Warn = 1] = "Warn", f[f.Info = 2] = "Info", f[f.Debug = 3] = "Debug", f[f.Verbose = 4] = "Verbose", f[f.Fatal = 5] = "Fatal", f;
|
2077
2077
|
}({});
|
2078
|
-
we.LogLevel =
|
2078
|
+
we.LogLevel = ht;
|
2079
2079
|
let U2 = /* @__PURE__ */ function(f) {
|
2080
2080
|
return f[f.Undefined = 0] = "Undefined", f[f.Exactly = 1] = "Exactly", f[f.AtMost = 2] = "AtMost", f;
|
2081
2081
|
}({});
|
@@ -2143,18 +2143,18 @@ const M4 = {
|
|
2143
2143
|
GUTTER_COLUMN: W2.Column,
|
2144
2144
|
GUTTER_ROW: W2.Row,
|
2145
2145
|
GUTTER_ALL: W2.All,
|
2146
|
-
JUSTIFY_FLEX_START:
|
2147
|
-
JUSTIFY_CENTER:
|
2148
|
-
JUSTIFY_FLEX_END:
|
2149
|
-
JUSTIFY_SPACE_BETWEEN:
|
2150
|
-
JUSTIFY_SPACE_AROUND:
|
2151
|
-
JUSTIFY_SPACE_EVENLY:
|
2152
|
-
LOG_LEVEL_ERROR:
|
2153
|
-
LOG_LEVEL_WARN:
|
2154
|
-
LOG_LEVEL_INFO:
|
2155
|
-
LOG_LEVEL_DEBUG:
|
2156
|
-
LOG_LEVEL_VERBOSE:
|
2157
|
-
LOG_LEVEL_FATAL:
|
2146
|
+
JUSTIFY_FLEX_START: ut.FlexStart,
|
2147
|
+
JUSTIFY_CENTER: ut.Center,
|
2148
|
+
JUSTIFY_FLEX_END: ut.FlexEnd,
|
2149
|
+
JUSTIFY_SPACE_BETWEEN: ut.SpaceBetween,
|
2150
|
+
JUSTIFY_SPACE_AROUND: ut.SpaceAround,
|
2151
|
+
JUSTIFY_SPACE_EVENLY: ut.SpaceEvenly,
|
2152
|
+
LOG_LEVEL_ERROR: ht.Error,
|
2153
|
+
LOG_LEVEL_WARN: ht.Warn,
|
2154
|
+
LOG_LEVEL_INFO: ht.Info,
|
2155
|
+
LOG_LEVEL_DEBUG: ht.Debug,
|
2156
|
+
LOG_LEVEL_VERBOSE: ht.Verbose,
|
2157
|
+
LOG_LEVEL_FATAL: ht.Fatal,
|
2158
2158
|
MEASURE_MODE_UNDEFINED: U2.Undefined,
|
2159
2159
|
MEASURE_MODE_EXACTLY: U2.Exactly,
|
2160
2160
|
MEASURE_MODE_AT_MOST: U2.AtMost,
|
@@ -2203,18 +2203,18 @@ function D4(f, s) {
|
|
2203
2203
|
var u = {}, d = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
2204
2204
|
for (var p in f)
|
2205
2205
|
if (p !== "default" && Object.prototype.hasOwnProperty.call(f, p)) {
|
2206
|
-
var
|
2207
|
-
|
2206
|
+
var y = d ? Object.getOwnPropertyDescriptor(f, p) : null;
|
2207
|
+
y && (y.get || y.set) ? Object.defineProperty(u, p, y) : u[p] = f[p];
|
2208
2208
|
}
|
2209
2209
|
return u.default = f, l && l.set(f, u), u;
|
2210
2210
|
}
|
2211
2211
|
function X4(f) {
|
2212
|
-
function s(d, p,
|
2212
|
+
function s(d, p, y) {
|
2213
2213
|
const T = d[p];
|
2214
2214
|
d[p] = function() {
|
2215
2215
|
for (var O = arguments.length, K = new Array(O), ae = 0; ae < O; ae++)
|
2216
2216
|
K[ae] = arguments[ae];
|
2217
|
-
return
|
2217
|
+
return y.call(this, T, ...K);
|
2218
2218
|
};
|
2219
2219
|
}
|
2220
2220
|
for (const d of ["setPosition", "setMargin", "setFlexBasis", "setWidth", "setHeight", "setMinWidth", "setMinHeight", "setMaxWidth", "setMaxHeight", "setPadding"]) {
|
@@ -2223,7 +2223,7 @@ function X4(f) {
|
|
2223
2223
|
[Q0.Unit.Percent]: f.Node.prototype[`${d}Percent`],
|
2224
2224
|
[Q0.Unit.Auto]: f.Node.prototype[`${d}Auto`]
|
2225
2225
|
};
|
2226
|
-
s(f.Node.prototype, d, function(
|
2226
|
+
s(f.Node.prototype, d, function(y) {
|
2227
2227
|
for (var T = arguments.length, O = new Array(T > 1 ? T - 1 : 0), K = 1; K < T; K++)
|
2228
2228
|
O[K - 1] = arguments[K];
|
2229
2229
|
const ae = O.pop();
|
@@ -2244,11 +2244,11 @@ function X4(f) {
|
|
2244
2244
|
measure: function() {
|
2245
2245
|
const {
|
2246
2246
|
width: p,
|
2247
|
-
height:
|
2247
|
+
height: y
|
2248
2248
|
} = d(...arguments);
|
2249
2249
|
return {
|
2250
2250
|
width: p ?? NaN,
|
2251
|
-
height:
|
2251
|
+
height: y ?? NaN
|
2252
2252
|
};
|
2253
2253
|
}
|
2254
2254
|
});
|
@@ -2272,8 +2272,8 @@ function X4(f) {
|
|
2272
2272
|
this.getChild(0).freeRecursive();
|
2273
2273
|
this.free();
|
2274
2274
|
}), s(f.Node.prototype, "calculateLayout", function(d) {
|
2275
|
-
let p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : NaN,
|
2276
|
-
return d.call(this, p,
|
2275
|
+
let p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : NaN, y = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : NaN, T = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Q0.Direction.LTR;
|
2276
|
+
return d.call(this, p, y, T);
|
2277
2277
|
}), {
|
2278
2278
|
Config: f.Config,
|
2279
2279
|
Node: f.Node,
|
@@ -2288,9 +2288,9 @@ var xo = { exports: {} };
|
|
2288
2288
|
d = d || {};
|
2289
2289
|
var p;
|
2290
2290
|
p || (p = typeof d < "u" ? d : {});
|
2291
|
-
var
|
2291
|
+
var y, T;
|
2292
2292
|
p.ready = new Promise(function(A, k) {
|
2293
|
-
|
2293
|
+
y = A, T = k;
|
2294
2294
|
});
|
2295
2295
|
var O = Object.assign({}, p), K = "";
|
2296
2296
|
typeof document < "u" && document.currentScript && (K = document.currentScript.src), u && (K = u), K.indexOf("blob:") !== 0 ? K = K.substr(0, K.replace(/[?#].*/, "").lastIndexOf("/") + 1) : K = "";
|
@@ -2324,7 +2324,7 @@ var xo = { exports: {} };
|
|
2324
2324
|
L(w, 1024, "T25seSBsZWFmIG5vZGVzIHdpdGggY3VzdG9tIG1lYXN1cmUgZnVuY3Rpb25zIHNob3VsZCBtYW51YWxseSBtYXJrIHRoZW1zZWx2ZXMgYXMgZGlydHkAaXNEaXJ0eQBtYXJrRGlydHkAZGVzdHJveQBzZXREaXNwbGF5AGdldERpc3BsYXkAc2V0RmxleAAtKyAgIDBYMHgALTBYKzBYIDBYLTB4KzB4IDB4AHNldEZsZXhHcm93AGdldEZsZXhHcm93AHNldE92ZXJmbG93AGdldE92ZXJmbG93AGNhbGN1bGF0ZUxheW91dABnZXRDb21wdXRlZExheW91dAB1bnNpZ25lZCBzaG9ydABnZXRDaGlsZENvdW50AHVuc2lnbmVkIGludABzZXRKdXN0aWZ5Q29udGVudABnZXRKdXN0aWZ5Q29udGVudABzZXRBbGlnbkNvbnRlbnQAZ2V0QWxpZ25Db250ZW50AGdldFBhcmVudABpbXBsZW1lbnQAc2V0TWF4SGVpZ2h0UGVyY2VudABzZXRIZWlnaHRQZXJjZW50AHNldE1pbkhlaWdodFBlcmNlbnQAc2V0RmxleEJhc2lzUGVyY2VudABzZXRQb3NpdGlvblBlcmNlbnQAc2V0TWFyZ2luUGVyY2VudABzZXRNYXhXaWR0aFBlcmNlbnQAc2V0V2lkdGhQZXJjZW50AHNldE1pbldpZHRoUGVyY2VudABzZXRQYWRkaW5nUGVyY2VudABjcmVhdGVEZWZhdWx0AHVuaXQAcmlnaHQAaGVpZ2h0AHNldE1heEhlaWdodABnZXRNYXhIZWlnaHQAc2V0SGVpZ2h0AGdldEhlaWdodABzZXRNaW5IZWlnaHQAZ2V0TWluSGVpZ2h0AGdldENvbXB1dGVkSGVpZ2h0AGdldENvbXB1dGVkUmlnaHQAbGVmdABnZXRDb21wdXRlZExlZnQAcmVzZXQAX19kZXN0cnVjdABmbG9hdAB1aW50NjRfdAB1c2VXZWJEZWZhdWx0cwBzZXRVc2VXZWJEZWZhdWx0cwBzZXRBbGlnbkl0ZW1zAGdldEFsaWduSXRlbXMAc2V0RmxleEJhc2lzAGdldEZsZXhCYXNpcwBDYW5ub3QgZ2V0IGxheW91dCBwcm9wZXJ0aWVzIG9mIG11bHRpLWVkZ2Ugc2hvcnRoYW5kcwB1c2VMZWdhY3lTdHJldGNoQmVoYXZpb3VyAHNldFVzZUxlZ2FjeVN0cmV0Y2hCZWhhdmlvdXIAc2V0UG9pbnRTY2FsZUZhY3RvcgBNZWFzdXJlQ2FsbGJhY2tXcmFwcGVyAERpcnRpZWRDYWxsYmFja1dyYXBwZXIAQ2Fubm90IHJlc2V0IGEgbm9kZSBzdGlsbCBhdHRhY2hlZCB0byBhIG93bmVyAHNldEJvcmRlcgBnZXRCb3JkZXIAZ2V0Q29tcHV0ZWRCb3JkZXIAdW5zaWduZWQgY2hhcgB0b3AAZ2V0Q29tcHV0ZWRUb3AAc2V0RmxleFdyYXAAZ2V0RmxleFdyYXAAc2V0R2FwAGdldEdhcAAlcABzZXRIZWlnaHRBdXRvAHNldEZsZXhCYXNpc0F1dG8Ac2V0TWFyZ2luQXV0bwBzZXRXaWR0aEF1dG8AU2NhbGUgZmFjdG9yIHNob3VsZCBub3QgYmUgbGVzcyB0aGFuIHplcm8Ac2V0QXNwZWN0UmF0aW8AZ2V0QXNwZWN0UmF0aW8Ac2V0UG9zaXRpb24AZ2V0UG9zaXRpb24Abm90aWZ5T25EZXN0cnVjdGlvbgBzZXRGbGV4RGlyZWN0aW9uAGdldEZsZXhEaXJlY3Rpb24Ac2V0TWFyZ2luAGdldE1hcmdpbgBnZXRDb21wdXRlZE1hcmdpbgBuYW4AYm90dG9tAGdldENvbXB1dGVkQm90dG9tAGJvb2wAZW1zY3JpcHRlbjo6dmFsAHNldEZsZXhTaHJpbmsAZ2V0RmxleFNocmluawBNZWFzdXJlQ2FsbGJhY2sARGlydGllZENhbGxiYWNrAHdpZHRoAHNldE1heFdpZHRoAGdldE1heFdpZHRoAHNldFdpZHRoAGdldFdpZHRoAHNldE1pbldpZHRoAGdldE1pbldpZHRoAGdldENvbXB1dGVkV2lkdGgAdW5zaWduZWQgbG9uZwBzdGQ6OndzdHJpbmcAc3RkOjpzdHJpbmcAc3RkOjp1MTZzdHJpbmcAc3RkOjp1MzJzdHJpbmcAc2V0UGFkZGluZwBnZXRQYWRkaW5nAGdldENvbXB1dGVkUGFkZGluZwBBdHRlbXB0aW5nIHRvIGNvbnN0cnVjdCBZR05vZGUgd2l0aCBudWxsIGNvbmZpZwBUcmllZCB0byBjb25zdHJ1Y3QgWUdOb2RlIHdpdGggbnVsbCBjb25maWcAY3JlYXRlV2l0aENvbmZpZwBpbmYAc2V0QWxpZ25TZWxmAGdldEFsaWduU2VsZgBTaXplAHZhbHVlAFZhbHVlAGNyZWF0ZQBtZWFzdXJlAHNldFBvc2l0aW9uVHlwZQBnZXRQb3NpdGlvblR5cGUAaXNSZWZlcmVuY2VCYXNlbGluZQBzZXRJc1JlZmVyZW5jZUJhc2VsaW5lAGNvcHlTdHlsZQBkb3VibGUATm9kZQBleHRlbmQAaW5zZXJ0Q2hpbGQAZ2V0Q2hpbGQAcmVtb3ZlQ2hpbGQAdm9pZABhdmFpbGFibGVIZWlnaHQgaXMgaW5kZWZpbml0ZSBzbyBoZWlnaHRNZWFzdXJlTW9kZSBtdXN0IGJlIFlHTWVhc3VyZU1vZGVVbmRlZmluZWQAYXZhaWxhYmxlV2lkdGggaXMgaW5kZWZpbml0ZSBzbyB3aWR0aE1lYXN1cmVNb2RlIG11c3QgYmUgWUdNZWFzdXJlTW9kZVVuZGVmaW5lZABzZXRFeHBlcmltZW50YWxGZWF0dXJlRW5hYmxlZABpc0V4cGVyaW1lbnRhbEZlYXR1cmVFbmFibGVkAGRpcnRpZWQAQ2Fubm90IHJlc2V0IGEgbm9kZSB3aGljaCBzdGlsbCBoYXMgY2hpbGRyZW4gYXR0YWNoZWQAdW5zZXRNZWFzdXJlRnVuYwB1bnNldERpcnRpZWRGdW5jAHNldEVycmF0YQBnZXRFcnJhdGEARXhwZWN0IGN1c3RvbSBiYXNlbGluZSBmdW5jdGlvbiB0byBub3QgcmV0dXJuIE5hTgBOQU4ASU5GAGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHNob3J0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBzaG9ydD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBpbnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGZsb2F0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8Y2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgY2hhcj4Ac3RkOjpiYXNpY19zdHJpbmc8dW5zaWduZWQgY2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8c2lnbmVkIGNoYXI+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGxvbmc+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIGxvbmc+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGRvdWJsZT4AQ2hpbGQgYWxyZWFkeSBoYXMgYSBvd25lciwgaXQgbXVzdCBiZSByZW1vdmVkIGZpcnN0LgBDYW5ub3Qgc2V0IG1lYXN1cmUgZnVuY3Rpb246IE5vZGVzIHdpdGggbWVhc3VyZSBmdW5jdGlvbnMgY2Fubm90IGhhdmUgY2hpbGRyZW4uAENhbm5vdCBhZGQgY2hpbGQ6IE5vZGVzIHdpdGggbWVhc3VyZSBmdW5jdGlvbnMgY2Fubm90IGhhdmUgY2hpbGRyZW4uAChudWxsKQAlcwoAAQAAAAMAAAAAAAAAAgAAAAMAAAABAAAAAgAAAAAAAAABAAAAAQ=="), L(w, 4338, "wH8DAAAAAADAfwAAAABpaQB2AHZp"), L(w, 4368, "exsAAHkbAAC5GwAAsxsAALkbAACzGwAAaWlpZmlmaQCsGwAAfBsAAHZpaQB9GwAAwBsAAGlpaQ=="), L(w, 4432, "xwAAAMgAAADJ"), L(w, 4452, "xwAAAMoAAADLAAAArBs="), L(w, 4480, "exsAALkbAACzGwAAuRsAALMbAADAGwAAuxsAAMAbAABpaWlpAAAAAKwbAACRGwAArBsAAJMbAACUGwAAwBs="), L(w, 4552, "zAAAAM0AAADO"), L(w, 4572, "zAAAAM8AAADLAAAAlxsAAKwbAACXGw=="), L(w, 4608, "rBsAAJcbAACzGwAArRsAAHZpaWlpAAAArBsAAJcbAAC5GwAAdmlpZgAAAACsGwAAlxsAAK0bAAB2aWlpAAAAAKwbAACXGwAAsxsAAK0bAACYGwAAsxsAAK0bAACYGwAAsxsAAJgbAABpAGRpaQB2aWlkAACcGwAAnBsAAJcbAACsGwAAnBsAAKwbAACcGwAAmxsAAKwbAACcGwAAsxsAAKwbAACcGwAAsxsAALobAAB2aWlpZAAAAKwbAACcGwAAuhsAALMbAACdGwAAmhsAAJ0bAACzGwAAmhsAAJ0bAAC6GwAAnRsAALobAACdGwAAsxsAAGRpaWkAAAAAuRsAAJwbAACzGwAAZmlpaQAAAACsGwAAnBsAAJwbAAC0GwAArBsAAJwbAACcGwAAtBsAAJ0bAACcGwAAnBsAAJwbAACcGwAAtBsAAK0bAACcGwAArBsAAJwbAACtGwAArBsAAJwbAAB5GwAArBsAAJwbAACRGwAArRsAAJ0bAAAAAAAArBsAAJwbAAC6GwAAuhsAALMbAAB2aWlkZGkAAJkbAACdGw=="), L(w, 5040, "GQAKABkZGQAAAAAFAAAAAAAACQAAAAALAAAAAAAAAAAZABEKGRkZAwoHAAEACQsYAAAJBgsAAAsABhkAAAAZGRk="), L(w, 5121, "DgAAAAAAAAAAGQAKDRkZGQANAAACAAkOAAAACQAOAAAO"), L(w, 5179, "DA=="), L(w, 5191, "EwAAAAATAAAAAAkMAAAAAAAMAAAM"), L(w, 5237, "EA=="), L(w, 5249, "DwAAAAQPAAAAAAkQAAAAAAAQAAAQ"), L(w, 5295, "Eg=="), L(w, 5307, "EQAAAAARAAAAAAkSAAAAAAASAAASAAAaAAAAGhoa"), L(w, 5362, "GgAAABoaGgAAAAAAAAk="), L(w, 5411, "FA=="), L(w, 5423, "FwAAAAAXAAAAAAkUAAAAAAAUAAAU"), L(w, 5469, "Fg=="), L(w, 5481, "FQAAAAAVAAAAAAkWAAAAAAAWAAAWAAAwMTIzNDU2Nzg5QUJDREVG"), L(w, 5556, "1Q=="), L(w, 5596, "//////////8="), L(w, 5664, "8B8BAAAAAAAF"), L(w, 5684, "0A=="), L(w, 5708, "0QAAANIAAADUGw=="), L(w, 5732, "Ag=="), L(w, 5748, "//////////8="), L(w, 5816, "BQ=="), L(w, 5828, "0w=="), L(w, 5852, "0QAAANQAAADoGwAAAAQ="), L(w, 5876, "AQ=="), L(w, 5892, "/////wo="), L(w, 5960, "1g==");
|
2325
2325
|
}
|
2326
2326
|
var ee = new ArrayBuffer(16), re = new Int32Array(ee), le = new Float32Array(ee), pe = new Float64Array(ee);
|
2327
|
-
function
|
2327
|
+
function ve(ar) {
|
2328
2328
|
return re[ar];
|
2329
2329
|
}
|
2330
2330
|
function ie(ar, Ee) {
|
@@ -2348,16 +2348,16 @@ var xo = { exports: {} };
|
|
2348
2348
|
function _2(ar) {
|
2349
2349
|
var Ee = ar.a, jr = Ee.a, Cr = jr.buffer;
|
2350
2350
|
jr.grow = Rc;
|
2351
|
-
var Z = new Int8Array(Cr), p0 = new Int16Array(Cr), t = new Int32Array(Cr), j = new Uint8Array(Cr), $t = new Uint16Array(Cr),
|
2352
|
-
function Si(e, r, a, i, o, c, h, b,
|
2353
|
-
var g = 0, E = n(0), R = 0, S = n(0), U = 0, G = n(0), M = 0, D = n(0), J = 0, oe = 0, ce = n(0), de = 0, ke = 0, _e = n(0), xe = n(0), Ge = n(0), Ze = n(0), Me = 0, ze = n(0), Je = n(0), ir = 0, nr = 0, kr = n(0), $r = 0, Hr = 0, Rr = 0, Or = 0, Vr = n(0), Zr = 0, c0 = 0, l0 = 0,
|
2351
|
+
var Z = new Int8Array(Cr), p0 = new Int16Array(Cr), t = new Int32Array(Cr), j = new Uint8Array(Cr), $t = new Uint16Array(Cr), yi = new Uint32Array(Cr), m = new Float32Array(Cr), Xe = new Float64Array(Cr), je = Math.imul, n = Math.fround, Ye = Math.abs, e0 = Math.clz32, gs = Math.min, _s = Math.max, Ae = NaN, gi = 1 / 0, Y = Ee.b, wr = Ee.c, C0 = Ee.d, x0 = Ee.e, H0 = Ee.f, Rt = Ee.g, Ht = Ee.h, w2 = Ee.i, ca = Ee.j, la = Ee.k, ua = Ee.l, _i = Ee.m, wi = Ee.n, Ei = Ee.o, $i = Ee.p, Ri = Ee.q, ws = Ee.r, Es = Ee.s, $s = Ee.t, Rs = Ee.u, Ss = Ee.v, Ps = Ee.w, Cs = Ee.x, xs = Ee.y, Ns = Ee.z, Ts = Ee.A, Os = Ee.B, Is = Ee.C, Bs = Ee.D, z = 73712, xr = 0;
|
2352
|
+
function Si(e, r, a, i, o, c, h, b, v, $, x, V, P, N) {
|
2353
|
+
var g = 0, E = n(0), R = 0, S = n(0), U = 0, G = n(0), M = 0, D = n(0), J = 0, oe = 0, ce = n(0), de = 0, ke = 0, _e = n(0), xe = n(0), Ge = n(0), Ze = n(0), Me = 0, ze = n(0), Je = n(0), ir = 0, nr = 0, kr = n(0), $r = 0, Hr = 0, Rr = 0, Or = 0, Vr = n(0), Zr = 0, c0 = 0, l0 = 0, y0 = 0, g0 = n(0), _0 = 0, w0 = 0, N0 = 0, T0 = 0, O0 = n(0), F0 = 0, D0 = 0, X0 = 0, j0 = n(0), z0 = 0, Y0 = n(0), Mt = 0, Ft = n(0), Dt = n(0), Xt = n(0), jt = 0, N2 = n(0), Ra = 0, Sa = n(0), Pa = n(0), Ca = n(0), xa = n(0), Na = 0, En = 0, $n = 0, Rn = 0, Sn = 0, Pn = 0, Cn = 0, xn = 0, qe = 0, Ke = n(0), Tt = n(0);
|
2354
2354
|
g = z - 384 | 0, z = g;
|
2355
2355
|
e: {
|
2356
2356
|
a: {
|
2357
2357
|
t: {
|
2358
2358
|
if (!(o && r != r)) {
|
2359
2359
|
if (!(c && a != a)) {
|
2360
|
-
if (R = (
|
2360
|
+
if (R = (v ? 0 : 4) + x | 0, t[R >> 2] = t[R >> 2] + 1, R = t[e + 24 >> 2] & 3, Ra = (i | 0) <= 1 ? 1 : i, Or = R || Ra, Z[e + 300 | 0] = j[e + 300 | 0] & 252 | Or & 3, R = e + 252 | 0, i = ((Or | 0) != 1) << 3, F0 = (Or | 0) == 2 ? 3 : 2, G = Se(e, F0, h), m[R + i >> 2] = G, U = R, R = ((Or | 0) == 1) << 3, xe = Ie(e, F0, h), m[U + R >> 2] = xe, D = Se(e, 0, h), m[e + 256 >> 2] = D, Ze = Ie(e, 0, h), m[e + 264 >> 2] = Ze, U = e + 268 | 0, qe = U + i | 0, Ke = Ce(e, F0), m[qe >> 2] = Ke, qe = R + U | 0, Ke = Be(e, F0), m[qe >> 2] = Ke, E = Ce(e, 0), m[e + 272 >> 2] = E, ze = Be(e, 0), m[e + 280 >> 2] = ze, U = i, i = e + 284 | 0, qe = U + i | 0, Ke = He(e, F0, h), m[qe >> 2] = Ke, qe = i + R | 0, Ke = Ve(e, F0, h), m[qe >> 2] = Ke, S = He(e, 0, h), m[e + 288 >> 2] = S, ce = Ve(e, 0, h), m[e + 296 >> 2] = ce, G = n(G + xe), xe = n(D + Ze), i = t[e + 8 >> 2], i) {
|
2361
2361
|
D = n(n(n(m[e + 284 >> 2] + m[e + 292 >> 2]) + m[e + 268 >> 2]) + m[e + 276 >> 2]), a = n(c ? a - xe : Ae), E = n(n(S + ce) + E), S = n(o ? r - G : Ae), r = S;
|
2362
2362
|
r: {
|
2363
2363
|
if (r != r)
|
@@ -2445,7 +2445,7 @@ var xo = { exports: {} };
|
|
2445
2445
|
break e;
|
2446
2446
|
}
|
2447
2447
|
r: {
|
2448
|
-
if (
|
2448
|
+
if (v || (E = n(r - G), S = n(a - xe), !(!(!(E <= n(0)) | (o | 0) != 2) & E == E | !(!(S <= n(0)) | (c | 0) != 2) & S == S) & ((o | 0) != 1 | (c | 0) != 1)))
|
2449
2449
|
break r;
|
2450
2450
|
r = Qe(e, 2, E != E || (o | 0) == 2 && E < n(0) ? n(0) : E, h), i = r != r, a = n(n(He(e, 2, h) + Ce(e, 2)) + n(Ve(e, 2, h) + Be(e, 2)));
|
2451
2451
|
i: {
|
@@ -2466,7 +2466,7 @@ var xo = { exports: {} };
|
|
2466
2466
|
m[e + 520 >> 2] = r;
|
2467
2467
|
break e;
|
2468
2468
|
}
|
2469
|
-
for (ir = N - i | 0,
|
2469
|
+
for (ir = N - i | 0, y0 = ir >> 2; R = t[i >> 2], t[R + 552 >> 2] != (e | 0) && (U = t[e + 568 >> 2], R = Vi(t[U >> 2], j[U + 8 | 0], R, e, J, 0), t[i >> 2] = R, t[R + 552 >> 2] = e), J = J + 1 | 0, i = i + 4 | 0, (N | 0) != (i | 0); )
|
2470
2470
|
;
|
2471
2471
|
Z[e + 300 | 0] = j[e + 300 | 0] & 251, J = 3, $r = t[e + 24 >> 2], i = $r >>> 2 & 3;
|
2472
2472
|
r: {
|
@@ -2542,7 +2542,7 @@ var xo = { exports: {} };
|
|
2542
2542
|
Z[de + 4 | 0] = U & 251;
|
2543
2543
|
break r;
|
2544
2544
|
}
|
2545
|
-
if (
|
2545
|
+
if (v && (i = U & 3, Zi(de, i || Mt, xe, Ze, D), U = t[de + 24 >> 2]), (U & 196608) == 131072)
|
2546
2546
|
break r;
|
2547
2547
|
i: {
|
2548
2548
|
if ((de | 0) == (ke | 0)) {
|
@@ -2800,7 +2800,7 @@ var xo = { exports: {} };
|
|
2800
2800
|
break s;
|
2801
2801
|
t[g + 356 >> 2] = 1, m[g + 24 >> 2] = n(Je - _e) * a;
|
2802
2802
|
}
|
2803
|
-
if (St(de, 2, D, D, g + 356 | 0, g + 24 | 0), St(de, 0, Je, D, g + 352 | 0, g + 360 | 0),
|
2803
|
+
if (St(de, 2, D, D, g + 356 | 0, g + 24 | 0), St(de, 0, Je, D, g + 352 | 0, g + 360 | 0), nt(de, m[g + 24 >> 2], m[g + 360 >> 2], Or, t[g + 356 >> 2], t[g + 352 >> 2], D, Je, 0, 5, $, x, V, P), r = m[(de + (t[(M << 2) + 4320 >> 2] << 2) | 0) + 516 >> 2], i = r != r, a = n(n(He(de, M, D) + Ce(de, M)) + n(Ve(de, M, D) + Be(de, M))), !(i | a != a)) {
|
2804
2804
|
a = $e(r, a);
|
2805
2805
|
break o;
|
2806
2806
|
}
|
@@ -2823,7 +2823,7 @@ var xo = { exports: {} };
|
|
2823
2823
|
}
|
2824
2824
|
E = n(0);
|
2825
2825
|
}
|
2826
|
-
r = n(E + n(0)), Ft = Zr ? b : h, j0 = Zr ? h : b, ir >>> 0 >= 5 && (r = n(n(E2(e, J, Ze) * n(
|
2826
|
+
r = n(E + n(0)), Ft = Zr ? b : h, j0 = Zr ? h : b, ir >>> 0 >= 5 && (r = n(n(E2(e, J, Ze) * n(y0 - 1 >>> 0)) + r)), i = r > xe, _0 = $r & 786432, N0 = (Hr | 0) == 2 && _0 && i ? 1 : Hr, de = Zr ? c : o, c0 = (de | 0) == 1, En = c0 & (v ^ 1), Zr = J >>> 0 < 2, $n = de & -3, D0 = e + 208 | 0, c = N << 2, nr = c + 4288 | 0, Rn = c0 & !_0, Sn = (de | 0) != 1 | v, R = J << 2, l0 = R + 4288 | 0, X0 = R + 4320 | 0, T0 = Ze == Ze, Pn = T0 << 1, Me = c + 4320 | 0, Cn = !Hr | !i, Mt = g + 52 | 0, Ca = E2(e, N, Ze), U = 0, i = 0, Rr = 0;
|
2827
2827
|
a: {
|
2828
2828
|
for (; ; ) {
|
2829
2829
|
Hr = i, Tr(g + 24 | 0, 0, 44), i = t[e + 560 >> 2], c = t[e + 556 >> 2];
|
@@ -3169,7 +3169,7 @@ var xo = { exports: {} };
|
|
3169
3169
|
if (w0 | (!(r < n(0)) | ((c | 0) != 2 | a != a)))
|
3170
3170
|
break i;
|
3171
3171
|
}
|
3172
|
-
if (c = t[i + 24 >> 2] >>> 13 & 7, c || (c = t[e + 24 >> 2] >>> 10 & 7), (c | 0) != 4 || (
|
3172
|
+
if (c = t[i + 24 >> 2] >>> 13 & 7, c || (c = t[e + 24 >> 2] >>> 10 & 7), (c | 0) != 4 || (st(g + 24 | 0, i, N), t[g + 28 >> 2] == 3) || (ot(g + 360 | 0, i, N), t[g + 364 >> 2] == 3))
|
3173
3173
|
break i;
|
3174
3174
|
t[g + 348 >> 2] = 1, m[g + 356 >> 2] = Ze;
|
3175
3175
|
break r;
|
@@ -3243,14 +3243,14 @@ var xo = { exports: {} };
|
|
3243
3243
|
if (ke = 0, T0)
|
3244
3244
|
break r;
|
3245
3245
|
}
|
3246
|
-
if (ke = 0, c = t[i + 24 >> 2] >>> 13 & 7, c || (c = t[e + 24 >> 2] >>> 10 & 7), (c | 0) != 4 || (
|
3246
|
+
if (ke = 0, c = t[i + 24 >> 2] >>> 13 & 7, c || (c = t[e + 24 >> 2] >>> 10 & 7), (c | 0) != 4 || (st(g + 24 | 0, i, N), t[g + 28 >> 2] == 3))
|
3247
3247
|
break r;
|
3248
|
-
|
3248
|
+
ot(g + 360 | 0, i, N), ke = t[g + 364 >> 2] != 3;
|
3249
3249
|
break r;
|
3250
3250
|
}
|
3251
3251
|
ke = 0;
|
3252
3252
|
}
|
3253
|
-
r = m[g + 352 >> 2], a = m[g + 356 >> 2], c = J >>> 0 > 1, Ge = c ? r : a, r = c ? a : r, z0 = t[g + 344 >> 2], Na = t[g + 348 >> 2], xn = c ? z0 : Na, z0 = c ? Na : z0, c = (ke ^ 1) &
|
3253
|
+
r = m[g + 352 >> 2], a = m[g + 356 >> 2], c = J >>> 0 > 1, Ge = c ? r : a, r = c ? a : r, z0 = t[g + 344 >> 2], Na = t[g + 348 >> 2], xn = c ? z0 : Na, z0 = c ? Na : z0, c = (ke ^ 1) & v, nt(i, Ge, r, j[e + 300 | 0] & 3, xn, z0, D, Je, c, c ? 4 : 7, $, x, V, P), G = n(G + n(E - ce)), c = j[e + 300 | 0];
|
3254
3254
|
r: {
|
3255
3255
|
i: {
|
3256
3256
|
if (c & 4) {
|
@@ -3335,7 +3335,7 @@ var xo = { exports: {} };
|
|
3335
3335
|
for (ir = t[e + 556 >> 2], i = t[e + 560 >> 2] - ir >> 2, $r = i >>> 0 < U >>> 0 ? U : i, oe = 0, i = U; ; ) {
|
3336
3336
|
if ((i | 0) == ($r | 0))
|
3337
3337
|
break a;
|
3338
|
-
if (c = t[ir + (i << 2) >> 2], (t[c + 24 >> 2] & 196608) != 131072 && (w0 = g + 24 | 0,
|
3338
|
+
if (c = t[ir + (i << 2) >> 2], (t[c + 24 >> 2] & 196608) != 131072 && (w0 = g + 24 | 0, st(w0, c, J), jt = t[g + 28 >> 2], ot(w0, c, J), oe = (((jt | 0) == 3) + oe | 0) + (t[g + 28 >> 2] == 3) | 0), i = i + 1 | 0, (R | 0) == (i | 0))
|
3339
3339
|
break;
|
3340
3340
|
}
|
3341
3341
|
if (Ge = n(0), a = ce, oe)
|
@@ -3379,12 +3379,12 @@ var xo = { exports: {} };
|
|
3379
3379
|
if ((oe & 196608) == 131072) {
|
3380
3380
|
if (!Yr(c, J))
|
3381
3381
|
break r;
|
3382
|
-
if (!
|
3382
|
+
if (!v)
|
3383
3383
|
break t;
|
3384
3384
|
G = Z0(c, J, xe), kr = Ce(e, J), N2 = Se(c, J, D), m[M + (t[l0 >> 2] << 2) >> 2] = N2 + n(G + kr);
|
3385
3385
|
break t;
|
3386
3386
|
}
|
3387
|
-
if (
|
3387
|
+
if (st(g + 360 | 0, c, J), r = n(r + (t[g + 364 >> 2] == 3 ? Xt : n(-0))), v && (oe = M, M = t[l0 >> 2] << 2, m[oe + M >> 2] = r + m[M + (g + 24 | 0) >> 2]), ot(g + 360 | 0, c, J), r = n(r + (t[g + 364 >> 2] == 3 ? Xt : n(-0))), !Sn) {
|
3388
3388
|
r = n(r + n(n(a + n(Se(c, J, D) + Ie(c, J, D))) + m[g + 104 >> 2])), S = Ze;
|
3389
3389
|
break t;
|
3390
3390
|
}
|
@@ -3411,7 +3411,7 @@ var xo = { exports: {} };
|
|
3411
3411
|
S = c ? G : S;
|
3412
3412
|
break t;
|
3413
3413
|
}
|
3414
|
-
if (!
|
3414
|
+
if (!v)
|
3415
3415
|
break t;
|
3416
3416
|
c = t[l0 >> 2] << 2, G = m[c + (g + 24 | 0) >> 2], qe = c + M | 0, Ke = n(Ge + n(G + Ce(e, J))), m[qe >> 2] = Ke;
|
3417
3417
|
}
|
@@ -3439,7 +3439,7 @@ var xo = { exports: {} };
|
|
3439
3439
|
}
|
3440
3440
|
a = i ? E : a;
|
3441
3441
|
}
|
3442
|
-
if (E = n(a - Vr), !(ke | !
|
3442
|
+
if (E = n(a - Vr), !(ke | !v))
|
3443
3443
|
for (; ; ) {
|
3444
3444
|
if (i = t[e + 556 >> 2], t[e + 560 >> 2] - i >> 2 >>> 0 <= U >>> 0)
|
3445
3445
|
break a;
|
@@ -3466,7 +3466,7 @@ var xo = { exports: {} };
|
|
3466
3466
|
c = t[e + 24 >> 2] & 8 ? 5 : 1;
|
3467
3467
|
break i;
|
3468
3468
|
}
|
3469
|
-
if ((c | 0) != 4 || (
|
3469
|
+
if ((c | 0) != 4 || (st(g + 24 | 0, M, N), c = 4, t[g + 28 >> 2] == 3) || (ot(g + 360 | 0, M, N), t[g + 364 >> 2] == 3))
|
3470
3470
|
break i;
|
3471
3471
|
c = M + (t[Me >> 2] << 3) | 0, S = m[c + 572 >> 2];
|
3472
3472
|
n: {
|
@@ -3486,19 +3486,19 @@ var xo = { exports: {} };
|
|
3486
3486
|
if (a = ze, T0 & !(S < n(0)) | ((i | 0) != 2 | ce != ce))
|
3487
3487
|
break r;
|
3488
3488
|
}
|
3489
|
-
S = m[(M + (t[X0 >> 2] << 2) | 0) + 516 >> 2], a = E, ce = m[M + 224 >> 2], ce == ce && (a = n(n(Se(M, N, D) + Ie(M, N, D)) + n(Zr ? S * ce : S / ce))), m[g + 360 >> 2] = a, qe = g, Ke = n(S + n(Se(M, J, D) + Ie(M, J, D))), m[qe + 24 >> 2] = Ke, t[g + 356 >> 2] = 1, t[g + 352 >> 2] = 1, St(M, J, xe, D, g + 356 | 0, g + 24 | 0), St(M, N, Ze, D, g + 352 | 0, g + 360 | 0), S = m[g + 360 >> 2], ce = m[g + 24 >> 2], i = J >>> 0 > 1, a = i ? S : ce, S = i ? ce : S, i = (_0 | 0) != 0 & (t[e + 24 >> 2] & 896) != 512,
|
3489
|
+
S = m[(M + (t[X0 >> 2] << 2) | 0) + 516 >> 2], a = E, ce = m[M + 224 >> 2], ce == ce && (a = n(n(Se(M, N, D) + Ie(M, N, D)) + n(Zr ? S * ce : S / ce))), m[g + 360 >> 2] = a, qe = g, Ke = n(S + n(Se(M, J, D) + Ie(M, J, D))), m[qe + 24 >> 2] = Ke, t[g + 356 >> 2] = 1, t[g + 352 >> 2] = 1, St(M, J, xe, D, g + 356 | 0, g + 24 | 0), St(M, N, Ze, D, g + 352 | 0, g + 360 | 0), S = m[g + 360 >> 2], ce = m[g + 24 >> 2], i = J >>> 0 > 1, a = i ? S : ce, S = i ? ce : S, i = (_0 | 0) != 0 & (t[e + 24 >> 2] & 896) != 512, nt(M, S, a, Or, !(i & Zr | S != S), (!i | Zr) & a == a, D, Je, 1, 2, $, x, V, P), a = ze;
|
3490
3490
|
break r;
|
3491
3491
|
}
|
3492
|
-
a = m[(M + (t[Me >> 2] << 2) | 0) + 516 >> 2], S = Se(M, N, D), ce = Ie(M, N, D),
|
3492
|
+
a = m[(M + (t[Me >> 2] << 2) | 0) + 516 >> 2], S = Se(M, N, D), ce = Ie(M, N, D), st(g + 24 | 0, M, N), S = n(G - n(a + n(S + ce)));
|
3493
3493
|
i: {
|
3494
|
-
if (t[g + 28 >> 2] != 3 || (
|
3494
|
+
if (t[g + 28 >> 2] != 3 || (ot(g + 360 | 0, M, N), t[g + 364 >> 2] != 3))
|
3495
3495
|
break i;
|
3496
3496
|
a = n(S * n(0.5)), a = n(ze + (Ke = n(0), Tt = $e(a, n(0)), qe = a != a, qe ? Ke : Tt));
|
3497
3497
|
break r;
|
3498
3498
|
}
|
3499
|
-
if (
|
3499
|
+
if (ot(g + 24 | 0, M, N), a = ze, t[g + 28 >> 2] == 3)
|
3500
3500
|
break r;
|
3501
|
-
if (
|
3501
|
+
if (st(g + 24 | 0, M, N), t[g + 28 >> 2] == 3) {
|
3502
3502
|
a = n(ze + (Ke = n(0), Tt = $e(S, n(0)), qe = S != S, qe ? Ke : Tt));
|
3503
3503
|
break r;
|
3504
3504
|
}
|
@@ -3527,11 +3527,11 @@ var xo = { exports: {} };
|
|
3527
3527
|
}
|
3528
3528
|
Y0 = i ? r : Y0;
|
3529
3529
|
}
|
3530
|
-
if (O0 = n(O0 + a), i = Hr + 1 | 0, U = R, !(
|
3530
|
+
if (O0 = n(O0 + a), i = Hr + 1 | 0, U = R, !(y0 >>> 0 > R >>> 0))
|
3531
3531
|
break;
|
3532
3532
|
}
|
3533
3533
|
t: {
|
3534
|
-
if (!
|
3534
|
+
if (!v || !_0 && !Fi(e))
|
3535
3535
|
break t;
|
3536
3536
|
_e = n(0);
|
3537
3537
|
r: {
|
@@ -3574,7 +3574,7 @@ var xo = { exports: {} };
|
|
3574
3574
|
break t;
|
3575
3575
|
}
|
3576
3576
|
for (oe = 0, i = 0, c = 0; ; ) {
|
3577
|
-
if (S = n(0), a = n(0), r = n(0), E = n(0), R = i,
|
3577
|
+
if (S = n(0), a = n(0), r = n(0), E = n(0), R = i, y0 >>> 0 > i >>> 0) {
|
3578
3578
|
r: {
|
3579
3579
|
for (; ; ) {
|
3580
3580
|
if (c = t[e + 556 >> 2], t[e + 560 >> 2] - c >> 2 >>> 0 <= R >>> 0)
|
@@ -3619,10 +3619,10 @@ var xo = { exports: {} };
|
|
3619
3619
|
}
|
3620
3620
|
a = c ? r : a;
|
3621
3621
|
}
|
3622
|
-
if (R = R + 1 | 0, (
|
3622
|
+
if (R = R + 1 | 0, (y0 | 0) == (R | 0))
|
3623
3623
|
break;
|
3624
3624
|
}
|
3625
|
-
c =
|
3625
|
+
c = y0;
|
3626
3626
|
}
|
3627
3627
|
r = a;
|
3628
3628
|
}
|
@@ -3700,7 +3700,7 @@ var xo = { exports: {} };
|
|
3700
3700
|
if (R)
|
3701
3701
|
break r;
|
3702
3702
|
}
|
3703
|
-
|
3703
|
+
nt(U, E, S, Or, 1, 1, D, Je, 1, 3, $, x, V, P);
|
3704
3704
|
break r;
|
3705
3705
|
}
|
3706
3706
|
qe = U, Ke = n(n(ce - $2(U)) + Z0(U, 0, Ze)), m[qe + 232 >> 2] = Ke;
|
@@ -3746,7 +3746,7 @@ var xo = { exports: {} };
|
|
3746
3746
|
a = n(g0 + xe), i = a != a, r = Qe(e, J, Y0, j0);
|
3747
3747
|
i: {
|
3748
3748
|
if (!(i | r != r)) {
|
3749
|
-
r =
|
3749
|
+
r = ya(a, r);
|
3750
3750
|
break i;
|
3751
3751
|
}
|
3752
3752
|
r = i ? r : a;
|
@@ -3776,7 +3776,7 @@ var xo = { exports: {} };
|
|
3776
3776
|
a = n(Vr + Ze), i = a != a, r = Qe(e, N, n(Vr + O0), Ft);
|
3777
3777
|
i: {
|
3778
3778
|
if (!(i | r != r)) {
|
3779
|
-
r =
|
3779
|
+
r = ya(a, r);
|
3780
3780
|
break i;
|
3781
3781
|
}
|
3782
3782
|
r = i ? r : a;
|
@@ -3790,12 +3790,12 @@ var xo = { exports: {} };
|
|
3790
3790
|
m[M + (t[Me >> 2] << 2) >> 2] = r;
|
3791
3791
|
}
|
3792
3792
|
t: {
|
3793
|
-
if (!
|
3793
|
+
if (!v)
|
3794
3794
|
break t;
|
3795
3795
|
if ((t[e + 24 >> 2] & 786432) == 524288)
|
3796
|
-
for (c =
|
3796
|
+
for (c = y0 >>> 0 <= 1 ? 1 : y0, v = t[e + 556 >> 2], U = t[e + 560 >> 2] - v >> 2, i = 0; R = 0, R = i >>> 0 < U >>> 0 ? t[v + (i << 2) >> 2] : R, (t[R + 24 >> 2] & 196608) != 131072 && (R = R + 228 | 0, oe = R + (t[nr >> 2] << 2) | 0, ke = t[Me >> 2] << 2, m[oe >> 2] = n(m[ke + M >> 2] - m[oe >> 2]) - m[(R + ke | 0) + 288 >> 2]), i = i + 1 | 0, (c | 0) != (i | 0); )
|
3797
3797
|
;
|
3798
|
-
if (c = t[e + 556 >> 2],
|
3798
|
+
if (c = t[e + 556 >> 2], v = t[e + 560 >> 2], (c | 0) != (v | 0))
|
3799
3799
|
for (oe = ((J >>> 0 > 1 ? N0 : o) | 0) != 0; ; ) {
|
3800
3800
|
o = t[c >> 2];
|
3801
3801
|
r: {
|
@@ -3963,9 +3963,9 @@ var xo = { exports: {} };
|
|
3963
3963
|
}
|
3964
3964
|
i = 1;
|
3965
3965
|
}
|
3966
|
-
ke = E > n(0), Hr = i & oe & R >>> 0 < 2, a = Hr && ke ? E : a, i = i ^ 1,
|
3966
|
+
ke = E > n(0), Hr = i & oe & R >>> 0 < 2, a = Hr && ke ? E : a, i = i ^ 1, nt(o, a, r, Or, Hr && ke ? 2 : i, r == r, a, r, 0, 6, $, x, V, P), a = n(m[o + 516 >> 2] + bn(o, 2, E)), r = n(m[o + 520 >> 2] + bn(o, 0, E));
|
3967
3967
|
}
|
3968
|
-
|
3968
|
+
nt(o, a, r, Or, 1, 1, a, r, 1, 1, $, x, V, P);
|
3969
3969
|
i: {
|
3970
3970
|
n: {
|
3971
3971
|
o: {
|
@@ -4023,17 +4023,17 @@ var xo = { exports: {} };
|
|
4023
4023
|
}
|
4024
4024
|
m[(o + (t[(U << 2) + 4288 >> 2] << 2) | 0) + 228 >> 2] = r;
|
4025
4025
|
}
|
4026
|
-
if (c = c + 4 | 0, (
|
4026
|
+
if (c = c + 4 | 0, (v | 0) == (c | 0))
|
4027
4027
|
break;
|
4028
4028
|
}
|
4029
4029
|
if (!((N | J) & 1))
|
4030
4030
|
break t;
|
4031
|
-
for (c = N & 1,
|
4031
|
+
for (c = N & 1, v = J & 1, $ = y0 >>> 0 <= 1 ? 1 : y0, x = (N << 2) + 4304 | 0, V = (J << 2) + 4304 | 0, P = t[e + 556 >> 2], N = t[e + 560 >> 2] - P >> 2, e = 0; ; ) {
|
4032
4032
|
if ((e | 0) == (N | 0))
|
4033
4033
|
break a;
|
4034
4034
|
i = t[P + (e << 2) >> 2];
|
4035
4035
|
r: {
|
4036
|
-
if (j[i + 26 | 0] & 64 || (
|
4036
|
+
if (j[i + 26 | 0] & 64 || (v && (o = i + 228 | 0, R = t[X0 >> 2] << 2, m[o + (t[V >> 2] << 2) >> 2] = n(m[R + M >> 2] - m[(o + R | 0) + 288 >> 2]) - m[o + (t[l0 >> 2] << 2) >> 2]), !c))
|
4037
4037
|
break r;
|
4038
4038
|
i = i + 228 | 0, o = t[Me >> 2] << 2, m[i + (t[x >> 2] << 2) >> 2] = n(m[o + M >> 2] - m[(i + o | 0) + 288 >> 2]) - m[i + (t[nr >> 2] << 2) >> 2];
|
4039
4039
|
}
|
@@ -4056,11 +4056,11 @@ var xo = { exports: {} };
|
|
4056
4056
|
}
|
4057
4057
|
function Ws(e, r, a, i, o, c) {
|
4058
4058
|
e = e | 0, r = +r, a = a | 0, i = i | 0, o = o | 0, c = c | 0;
|
4059
|
-
var h = 0, b = 0,
|
4060
|
-
P = z - 560 | 0, z = P, t[P + 44 >> 2] = 0, br(+r), h =
|
4059
|
+
var h = 0, b = 0, v = 0, $ = 0, x = 0, V = 0, P = 0, N = 0, g = 0, E = 0, R = 0, S = 0, U = 0, G = 0, M = 0, D = 0, J = 0, oe = 0, ce = 0;
|
4060
|
+
P = z - 560 | 0, z = P, t[P + 44 >> 2] = 0, br(+r), h = ve(1) | 0, ve(0) | 0;
|
4061
4061
|
e: {
|
4062
4062
|
if ((h | 0) < 0) {
|
4063
|
-
U = 1, oe = 1177, r = -r, br(+r), h =
|
4063
|
+
U = 1, oe = 1177, r = -r, br(+r), h = ve(1) | 0, ve(0) | 0;
|
4064
4064
|
break e;
|
4065
4065
|
}
|
4066
4066
|
if (o & 2048) {
|
@@ -4094,21 +4094,21 @@ var xo = { exports: {} };
|
|
4094
4094
|
;
|
4095
4095
|
t: {
|
4096
4096
|
if ((x | 0) <= 0) {
|
4097
|
-
i = x, h = b,
|
4097
|
+
i = x, h = b, v = R;
|
4098
4098
|
break t;
|
4099
4099
|
}
|
4100
|
-
for (
|
4100
|
+
for (v = R, i = x; ; ) {
|
4101
4101
|
g = (i | 0) >= 29 ? 29 : i, h = b - 4 | 0;
|
4102
4102
|
r: {
|
4103
|
-
if (
|
4103
|
+
if (v >>> 0 > h >>> 0)
|
4104
4104
|
break r;
|
4105
|
-
for (i = 0; $ = t[h >> 2], J = i, i = g & 31, (g & 63) >>> 0 >= 32 ? (N = $ << i, i = 0) : (N = (1 << i) - 1 & $ >>> 32 - i, i = $ << i), J = J + i | 0, $ = N + E | 0, i = Ii(J, i >>> 0 > J >>> 0 ? $ + 1 | 0 : $, 1e9), $ =
|
4105
|
+
for (i = 0; $ = t[h >> 2], J = i, i = g & 31, (g & 63) >>> 0 >= 32 ? (N = $ << i, i = 0) : (N = (1 << i) - 1 & $ >>> 32 - i, i = $ << i), J = J + i | 0, $ = N + E | 0, i = Ii(J, i >>> 0 > J >>> 0 ? $ + 1 | 0 : $, 1e9), $ = va(i, xr, -1e9, 0) + J | 0, t[h >> 2] = $, h = h - 4 | 0, v >>> 0 <= h >>> 0; )
|
4106
4106
|
;
|
4107
4107
|
if (!i)
|
4108
4108
|
break r;
|
4109
|
-
|
4109
|
+
v = v - 4 | 0, t[v >> 2] = i;
|
4110
4110
|
}
|
4111
|
-
for (; h = b,
|
4111
|
+
for (; h = b, v >>> 0 < h >>> 0 && (b = h - 4 | 0, !t[b >> 2]); )
|
4112
4112
|
;
|
4113
4113
|
if (i = t[P + 44 >> 2] - g | 0, t[P + 44 >> 2] = i, b = h, !((i | 0) > 0))
|
4114
4114
|
break;
|
@@ -4118,22 +4118,22 @@ var xo = { exports: {} };
|
|
4118
4118
|
for (G = ((V + 25 >>> 0) / 9 | 0) + 1 | 0, E = (D | 0) == 102; ; ) {
|
4119
4119
|
i = 0 - i | 0, N = (i | 0) >= 9 ? 9 : i;
|
4120
4120
|
t: {
|
4121
|
-
if (h >>> 0 <=
|
4122
|
-
b = t[
|
4121
|
+
if (h >>> 0 <= v >>> 0) {
|
4122
|
+
b = t[v >> 2];
|
4123
4123
|
break t;
|
4124
4124
|
}
|
4125
|
-
for (g = 1e9 >>> N | 0, $ = -1 << N ^ -1, i = 0, b =
|
4125
|
+
for (g = 1e9 >>> N | 0, $ = -1 << N ^ -1, i = 0, b = v; J = i, i = t[b >> 2], t[b >> 2] = J + (i >>> N | 0), i = je(g, i & $), b = b + 4 | 0, b >>> 0 < h >>> 0; )
|
4126
4126
|
;
|
4127
|
-
if (b = t[
|
4127
|
+
if (b = t[v >> 2], !i)
|
4128
4128
|
break t;
|
4129
4129
|
t[h >> 2] = i, h = h + 4 | 0;
|
4130
4130
|
}
|
4131
|
-
if (i = N + t[P + 44 >> 2] | 0, t[P + 44 >> 2] = i,
|
4131
|
+
if (i = N + t[P + 44 >> 2] | 0, t[P + 44 >> 2] = i, v = (!b << 2) + v | 0, b = E ? R : v, h = h - b >> 2 > (G | 0) ? b + (G << 2) | 0 : h, !((i | 0) < 0))
|
4132
4132
|
break;
|
4133
4133
|
}
|
4134
4134
|
i = 0;
|
4135
4135
|
t: {
|
4136
|
-
if (h >>> 0 <=
|
4136
|
+
if (h >>> 0 <= v >>> 0 || (i = je(R - v >> 2, 9), b = 10, $ = t[v >> 2], $ >>> 0 < 10))
|
4137
4137
|
break t;
|
4138
4138
|
for (; i = i + 1 | 0, b = je(b, 10), $ >>> 0 >= b >>> 0; )
|
4139
4139
|
;
|
@@ -4148,23 +4148,23 @@ var xo = { exports: {} };
|
|
4148
4148
|
break t;
|
4149
4149
|
g = g - E | 0;
|
4150
4150
|
r: {
|
4151
|
-
if (!(G & 1) && (r = 9007199254740992, !(Z[x - 4 | 0] & 1) | ((b | 0) != 1e9 |
|
4151
|
+
if (!(G & 1) && (r = 9007199254740992, !(Z[x - 4 | 0] & 1) | ((b | 0) != 1e9 | v >>> 0 >= x >>> 0)))
|
4152
4152
|
break r;
|
4153
4153
|
r = 9007199254740994;
|
4154
4154
|
}
|
4155
4155
|
if (S = (h | 0) == ($ | 0) ? 1 : 1.5, $ = b >>> 1 | 0, S = $ >>> 0 > g >>> 0 ? 0.5 : ($ | 0) == (g | 0) ? S : 1.5, j[oe | 0] != 45 | ce || (S = -S, r = -r), t[x >> 2] = E, r + S == r)
|
4156
4156
|
break t;
|
4157
4157
|
if (i = b + E | 0, t[x >> 2] = i, i >>> 0 >= 1e9)
|
4158
|
-
for (; t[x >> 2] = 0, x = x - 4 | 0, x >>> 0 <
|
4158
|
+
for (; t[x >> 2] = 0, x = x - 4 | 0, x >>> 0 < v >>> 0 && (v = v - 4 | 0, t[v >> 2] = 0), i = t[x >> 2] + 1 | 0, t[x >> 2] = i, i >>> 0 > 999999999; )
|
4159
4159
|
;
|
4160
|
-
if (i = je(R -
|
4160
|
+
if (i = je(R - v >> 2, 9), b = 10, $ = t[v >> 2], $ >>> 0 < 10)
|
4161
4161
|
break t;
|
4162
4162
|
for (; i = i + 1 | 0, b = je(b, 10), $ >>> 0 >= b >>> 0; )
|
4163
4163
|
;
|
4164
4164
|
}
|
4165
4165
|
b = x + 4 | 0, h = h >>> 0 > b >>> 0 ? b : h;
|
4166
4166
|
}
|
4167
|
-
for (; $ = h, g = h >>> 0 <=
|
4167
|
+
for (; $ = h, g = h >>> 0 <= v >>> 0, !g && (h = $ - 4 | 0, !t[h >> 2]); )
|
4168
4168
|
;
|
4169
4169
|
t: {
|
4170
4170
|
if ((D | 0) != 103) {
|
@@ -4210,10 +4210,10 @@ var xo = { exports: {} };
|
|
4210
4210
|
r: {
|
4211
4211
|
i: {
|
4212
4212
|
if ((b | 0) == 70) {
|
4213
|
-
for (c = P + 16 | 0, i = c | 8, x = c | 9, b =
|
4214
|
-
h = Pt(t[
|
4213
|
+
for (c = P + 16 | 0, i = c | 8, x = c | 9, b = v >>> 0 > R >>> 0 ? R : v, v = b; ; ) {
|
4214
|
+
h = Pt(t[v >> 2], 0, x);
|
4215
4215
|
n: {
|
4216
|
-
if ((b | 0) != (
|
4216
|
+
if ((b | 0) != (v | 0)) {
|
4217
4217
|
if (P + 16 >>> 0 >= h >>> 0)
|
4218
4218
|
break n;
|
4219
4219
|
for (; h = h - 1 | 0, Z[h | 0] = 48, P + 16 >>> 0 < h >>> 0; )
|
@@ -4224,16 +4224,16 @@ var xo = { exports: {} };
|
|
4224
4224
|
break n;
|
4225
4225
|
Z[P + 24 | 0] = 48, h = i;
|
4226
4226
|
}
|
4227
|
-
if (lr(e, h, x - h | 0),
|
4227
|
+
if (lr(e, h, x - h | 0), v = v + 4 | 0, !(R >>> 0 >= v >>> 0))
|
4228
4228
|
break;
|
4229
4229
|
}
|
4230
|
-
if (g && lr(e, 4275, 1), (V | 0) <= 0 |
|
4230
|
+
if (g && lr(e, 4275, 1), (V | 0) <= 0 | v >>> 0 >= $ >>> 0)
|
4231
4231
|
break i;
|
4232
4232
|
for (; ; ) {
|
4233
|
-
if (h = Pt(t[
|
4233
|
+
if (h = Pt(t[v >> 2], 0, x), h >>> 0 > P + 16 >>> 0)
|
4234
4234
|
for (; h = h - 1 | 0, Z[h | 0] = 48, P + 16 >>> 0 < h >>> 0; )
|
4235
4235
|
;
|
4236
|
-
if (lr(e, h, (V | 0) >= 9 ? 9 : V), h = V - 9 | 0,
|
4236
|
+
if (lr(e, h, (V | 0) >= 9 ? 9 : V), h = V - 9 | 0, v = v + 4 | 0, $ >>> 0 <= v >>> 0)
|
4237
4237
|
break r;
|
4238
4238
|
if (i = (V | 0) > 9, V = h, !i)
|
4239
4239
|
break;
|
@@ -4243,10 +4243,10 @@ var xo = { exports: {} };
|
|
4243
4243
|
n: {
|
4244
4244
|
if ((V | 0) < 0)
|
4245
4245
|
break n;
|
4246
|
-
for (R =
|
4246
|
+
for (R = v >>> 0 < $ >>> 0 ? $ : v + 4 | 0, c = P + 16 | 0, i = c | 8, $ = c | 9, b = v; ; ) {
|
4247
4247
|
h = Pt(t[b >> 2], 0, $), ($ | 0) == (h | 0) && (Z[P + 24 | 0] = 48, h = i);
|
4248
4248
|
o: {
|
4249
|
-
if ((b | 0) != (
|
4249
|
+
if ((b | 0) != (v | 0)) {
|
4250
4250
|
if (P + 16 >>> 0 >= h >>> 0)
|
4251
4251
|
break o;
|
4252
4252
|
for (; h = h - 1 | 0, Z[h | 0] = 48, P + 16 >>> 0 < h >>> 0; )
|
@@ -4285,25 +4285,25 @@ var xo = { exports: {} };
|
|
4285
4285
|
}
|
4286
4286
|
r = r + S - S;
|
4287
4287
|
}
|
4288
|
-
for (R = U | 2,
|
4288
|
+
for (R = U | 2, v = c & 32, b = t[P + 44 >> 2], h = b >> 31, h = Pt((h ^ b) - h | 0, 0, M), (M | 0) == (h | 0) && (Z[P + 15 | 0] = 48, h = P + 15 | 0), V = h - 2 | 0, Z[V | 0] = c + 15, Z[h - 1 | 0] = (b | 0) < 0 ? 45 : 43, h = o & 8, b = P + 16 | 0; c = b, Ye(r) < 2147483648 ? $ = ~~r : $ = -2147483648, Z[b | 0] = v | j[$ + 5504 | 0], r = (r - +($ | 0)) * 16, b = c + 1 | 0, !(h | (i | 0) > 0) & r == 0 | (b - (P + 16 | 0) | 0) != 1 || (Z[c + 1 | 0] = 46, b = c + 2 | 0), r != 0; )
|
4289
4289
|
;
|
4290
4290
|
if (N = -1, h = M - V | 0, c = h + R | 0, (2147483645 - c | 0) < (i | 0))
|
4291
4291
|
break e;
|
4292
4292
|
a: {
|
4293
4293
|
t: {
|
4294
|
-
if (!i || (
|
4294
|
+
if (!i || (v = b - (P + 16 | 0) | 0, (v - 2 | 0) >= (i | 0)))
|
4295
4295
|
break t;
|
4296
4296
|
i = i + 2 | 0;
|
4297
4297
|
break a;
|
4298
4298
|
}
|
4299
|
-
|
4299
|
+
v = b - (P + 16 | 0) | 0, i = v;
|
4300
4300
|
}
|
4301
|
-
c = i + c | 0, Ar(e, 32, a, c, o), lr(e, x, R), Ar(e, 48, a, c, o ^ 65536), lr(e, P + 16 | 0,
|
4301
|
+
c = i + c | 0, Ar(e, 32, a, c, o), lr(e, x, R), Ar(e, 48, a, c, o ^ 65536), lr(e, P + 16 | 0, v), Ar(e, 48, i - v | 0, 0, 0), lr(e, V, h), Ar(e, 32, a, c, o ^ 8192), N = (a | 0) < (c | 0) ? c : a;
|
4302
4302
|
}
|
4303
4303
|
return z = P + 560 | 0, N | 0;
|
4304
4304
|
}
|
4305
4305
|
function Ci(e, r, a, i, o, c, h) {
|
4306
|
-
var b = 0,
|
4306
|
+
var b = 0, v = 0, $ = 0, x = 0, V = 0, P = 0, N = 0, g = 0, E = 0, R = 0, S = 0, U = 0, G = 0, M = 0, D = 0, J = 0, oe = 0, ce = 0, de = 0, ke = 0;
|
4307
4307
|
$ = z - 80 | 0, z = $, t[$ + 76 >> 2] = r, ce = $ + 55 | 0, G = $ + 56 | 0;
|
4308
4308
|
e: {
|
4309
4309
|
a: {
|
@@ -4317,10 +4317,10 @@ var xo = { exports: {} };
|
|
4317
4317
|
n: {
|
4318
4318
|
o: {
|
4319
4319
|
s: {
|
4320
|
-
if (b = x,
|
4320
|
+
if (b = x, v = j[b | 0], v)
|
4321
4321
|
for (; ; ) {
|
4322
4322
|
f: {
|
4323
|
-
r =
|
4323
|
+
r = v & 255;
|
4324
4324
|
c: {
|
4325
4325
|
if (!r) {
|
4326
4326
|
r = b;
|
@@ -4328,12 +4328,12 @@ var xo = { exports: {} };
|
|
4328
4328
|
}
|
4329
4329
|
if ((r | 0) != 37)
|
4330
4330
|
break f;
|
4331
|
-
for (
|
4332
|
-
if (j[
|
4333
|
-
r =
|
4331
|
+
for (v = b; ; ) {
|
4332
|
+
if (j[v + 1 | 0] != 37) {
|
4333
|
+
r = v;
|
4334
4334
|
break c;
|
4335
4335
|
}
|
4336
|
-
if (b = b + 1 | 0, V = j[
|
4336
|
+
if (b = b + 1 | 0, V = j[v + 2 | 0], r = v + 2 | 0, v = r, (V | 0) != 37)
|
4337
4337
|
break;
|
4338
4338
|
}
|
4339
4339
|
}
|
@@ -4341,7 +4341,7 @@ var xo = { exports: {} };
|
|
4341
4341
|
break r;
|
4342
4342
|
if (e && lr(e, x, b), b)
|
4343
4343
|
continue i;
|
4344
|
-
t[$ + 76 >> 2] = r, b = r + 1 | 0, S = -1,
|
4344
|
+
t[$ + 76 >> 2] = r, b = r + 1 | 0, S = -1, v = Z[r + 1 | 0], !x2(v) | j[r + 2 | 0] != 36 || (S = v - 48 | 0, M = 1, b = r + 3 | 0), t[$ + 76 >> 2] = b, g = 0, v = Z[b | 0], r = v - 32 | 0;
|
4345
4345
|
c: {
|
4346
4346
|
if (r >>> 0 > 31) {
|
4347
4347
|
V = b;
|
@@ -4350,60 +4350,60 @@ var xo = { exports: {} };
|
|
4350
4350
|
if (V = b, r = 1 << r, !(r & 75913))
|
4351
4351
|
break c;
|
4352
4352
|
for (; ; ) {
|
4353
|
-
if (V = b + 1 | 0, t[$ + 76 >> 2] = V, g = r | g,
|
4353
|
+
if (V = b + 1 | 0, t[$ + 76 >> 2] = V, g = r | g, v = Z[b + 1 | 0], r = v - 32 | 0, r >>> 0 >= 32)
|
4354
4354
|
break c;
|
4355
4355
|
if (b = V, r = 1 << r, !(r & 75913))
|
4356
4356
|
break;
|
4357
4357
|
}
|
4358
4358
|
}
|
4359
4359
|
c: {
|
4360
|
-
if ((
|
4360
|
+
if ((v | 0) == 42) {
|
4361
4361
|
r = Z[V + 1 | 0];
|
4362
4362
|
l: {
|
4363
4363
|
if (!(!x2(r) | j[V + 2 | 0] != 36)) {
|
4364
|
-
t[((r << 2) + o | 0) - 192 >> 2] = 10,
|
4364
|
+
t[((r << 2) + o | 0) - 192 >> 2] = 10, v = V + 3 | 0, M = 1, R = t[((Z[V + 1 | 0] << 3) + i | 0) - 384 >> 2];
|
4365
4365
|
break l;
|
4366
4366
|
}
|
4367
4367
|
if (M)
|
4368
4368
|
break s;
|
4369
|
-
if (
|
4370
|
-
t[$ + 76 >> 2] =
|
4369
|
+
if (v = V + 1 | 0, !e) {
|
4370
|
+
t[$ + 76 >> 2] = v, M = 0, R = 0;
|
4371
4371
|
break c;
|
4372
4372
|
}
|
4373
4373
|
r = t[a >> 2], t[a >> 2] = r + 4, M = 0, R = t[r >> 2];
|
4374
4374
|
}
|
4375
|
-
if (t[$ + 76 >> 2] =
|
4375
|
+
if (t[$ + 76 >> 2] = v, (R | 0) >= 0)
|
4376
4376
|
break c;
|
4377
4377
|
R = 0 - R | 0, g = g | 8192;
|
4378
4378
|
break c;
|
4379
4379
|
}
|
4380
4380
|
if (R = qi($ + 76 | 0), (R | 0) < 0)
|
4381
4381
|
break r;
|
4382
|
-
|
4382
|
+
v = t[$ + 76 >> 2];
|
4383
4383
|
}
|
4384
4384
|
b = 0, N = -1;
|
4385
4385
|
c: {
|
4386
|
-
if (j[
|
4387
|
-
r =
|
4386
|
+
if (j[v | 0] != 46) {
|
4387
|
+
r = v, U = 0;
|
4388
4388
|
break c;
|
4389
4389
|
}
|
4390
|
-
if (j[
|
4391
|
-
r = Z[
|
4390
|
+
if (j[v + 1 | 0] == 42) {
|
4391
|
+
r = Z[v + 2 | 0];
|
4392
4392
|
l: {
|
4393
|
-
if (!(!x2(r) | j[
|
4394
|
-
t[((r << 2) + o | 0) - 192 >> 2] = 10, r =
|
4393
|
+
if (!(!x2(r) | j[v + 3 | 0] != 36)) {
|
4394
|
+
t[((r << 2) + o | 0) - 192 >> 2] = 10, r = v + 4 | 0, N = t[((Z[v + 2 | 0] << 3) + i | 0) - 384 >> 2];
|
4395
4395
|
break l;
|
4396
4396
|
}
|
4397
4397
|
if (M)
|
4398
4398
|
break s;
|
4399
|
-
if (r =
|
4399
|
+
if (r = v + 2 | 0, N = 0, !e)
|
4400
4400
|
break l;
|
4401
|
-
|
4401
|
+
v = t[a >> 2], t[a >> 2] = v + 4, N = t[v >> 2];
|
4402
4402
|
}
|
4403
4403
|
t[$ + 76 >> 2] = r, U = (N ^ -1) >>> 31 | 0;
|
4404
4404
|
break c;
|
4405
4405
|
}
|
4406
|
-
t[$ + 76 >> 2] =
|
4406
|
+
t[$ + 76 >> 2] = v + 1, N = qi($ + 76 | 0), r = t[$ + 76 >> 2], U = 1;
|
4407
4407
|
}
|
4408
4408
|
for (; ; ) {
|
4409
4409
|
if (P = b, V = 28, D = r, b = Z[r | 0], b - 123 >>> 0 < 4294967238)
|
@@ -4418,7 +4418,7 @@ var xo = { exports: {} };
|
|
4418
4418
|
if (!b)
|
4419
4419
|
break t;
|
4420
4420
|
if ((S | 0) >= 0) {
|
4421
|
-
t[(S << 2) + o >> 2] = b, b = (S << 3) + i | 0,
|
4421
|
+
t[(S << 2) + o >> 2] = b, b = (S << 3) + i | 0, v = t[b + 4 >> 2], t[$ + 64 >> 2] = t[b >> 2], t[$ + 68 >> 2] = v;
|
4422
4422
|
break l;
|
4423
4423
|
}
|
4424
4424
|
if (!e)
|
@@ -4432,7 +4432,7 @@ var xo = { exports: {} };
|
|
4432
4432
|
if (b = 0, !e)
|
4433
4433
|
continue i;
|
4434
4434
|
}
|
4435
|
-
|
4435
|
+
v = g & -65537, g = g & 8192 ? v : g, S = 0, J = 1167, V = G;
|
4436
4436
|
c: {
|
4437
4437
|
l: {
|
4438
4438
|
d: {
|
@@ -4442,11 +4442,11 @@ var xo = { exports: {} };
|
|
4442
4442
|
m: {
|
4443
4443
|
h: {
|
4444
4444
|
p: {
|
4445
|
-
|
4445
|
+
v: {
|
4446
4446
|
A: {
|
4447
4447
|
_: {
|
4448
4448
|
w: {
|
4449
|
-
|
4449
|
+
y: {
|
4450
4450
|
E: {
|
4451
4451
|
g:
|
4452
4452
|
switch (b = Z[D | 0], b = P && (b & 15) == 3 ? b & -33 : b, b - 88 | 0) {
|
@@ -4461,7 +4461,7 @@ var xo = { exports: {} };
|
|
4461
4461
|
break m;
|
4462
4462
|
case 12:
|
4463
4463
|
case 17:
|
4464
|
-
break
|
4464
|
+
break v;
|
4465
4465
|
case 23:
|
4466
4466
|
break A;
|
4467
4467
|
case 0:
|
@@ -4470,7 +4470,7 @@ var xo = { exports: {} };
|
|
4470
4470
|
case 24:
|
4471
4471
|
break w;
|
4472
4472
|
case 22:
|
4473
|
-
break
|
4473
|
+
break y;
|
4474
4474
|
case 29:
|
4475
4475
|
break E;
|
4476
4476
|
case 1:
|
@@ -4515,11 +4515,11 @@ var xo = { exports: {} };
|
|
4515
4515
|
break k;
|
4516
4516
|
break o;
|
4517
4517
|
}
|
4518
|
-
|
4518
|
+
v = t[$ + 64 >> 2], P = t[$ + 68 >> 2], b = 1167;
|
4519
4519
|
break p;
|
4520
4520
|
}
|
4521
4521
|
b = 0;
|
4522
|
-
|
4522
|
+
y:
|
4523
4523
|
switch (P & 255) {
|
4524
4524
|
case 0:
|
4525
4525
|
t[t[$ + 64 >> 2] >> 2] = E;
|
@@ -4540,7 +4540,7 @@ var xo = { exports: {} };
|
|
4540
4540
|
t[t[$ + 64 >> 2] >> 2] = E;
|
4541
4541
|
continue i;
|
4542
4542
|
case 7:
|
4543
|
-
break
|
4543
|
+
break y;
|
4544
4544
|
default:
|
4545
4545
|
continue i;
|
4546
4546
|
}
|
@@ -4549,24 +4549,24 @@ var xo = { exports: {} };
|
|
4549
4549
|
}
|
4550
4550
|
N = N >>> 0 <= 8 ? 8 : N, g = g | 8, b = 120;
|
4551
4551
|
}
|
4552
|
-
if (x = G,
|
4553
|
-
for (de = b & 32; x = x - 1 | 0, Z[x | 0] = de | j[(
|
4552
|
+
if (x = G, v = t[$ + 64 >> 2], P = t[$ + 68 >> 2], v | P)
|
4553
|
+
for (de = b & 32; x = x - 1 | 0, Z[x | 0] = de | j[(v & 15) + 5504 | 0], ke = !P & v >>> 0 > 15 | (P | 0) != 0, D = P, P = P >>> 4 | 0, v = (D & 15) << 28 | v >>> 4, !!ke; )
|
4554
4554
|
;
|
4555
4555
|
if (!(g & 8) | !(t[$ + 64 >> 2] | t[$ + 68 >> 2]))
|
4556
4556
|
break h;
|
4557
4557
|
J = (b >>> 4 | 0) + 1167 | 0, S = 2;
|
4558
4558
|
break h;
|
4559
4559
|
}
|
4560
|
-
if (b = G, x = t[$ + 68 >> 2], P = x,
|
4561
|
-
for (; b = b - 1 | 0, Z[b | 0] =
|
4560
|
+
if (b = G, x = t[$ + 68 >> 2], P = x, v = t[$ + 64 >> 2], x | v)
|
4561
|
+
for (; b = b - 1 | 0, Z[b | 0] = v & 7 | 48, D = !P & v >>> 0 > 7 | (P | 0) != 0, x = P, P = x >>> 3 | 0, v = (x & 7) << 29 | v >>> 3, !!D; )
|
4562
4562
|
;
|
4563
4563
|
if (x = b, !(g & 8))
|
4564
4564
|
break h;
|
4565
4565
|
b = G - x | 0, N = (b | 0) < (N | 0) ? N : b + 1 | 0;
|
4566
4566
|
break h;
|
4567
4567
|
}
|
4568
|
-
if (
|
4569
|
-
x = 0 - (P + ((
|
4568
|
+
if (v = t[$ + 64 >> 2], b = t[$ + 68 >> 2], P = b, (b | 0) < 0) {
|
4569
|
+
x = 0 - (P + ((v | 0) != 0) | 0) | 0, P = x, v = 0 - v | 0, t[$ + 64 >> 2] = v, t[$ + 68 >> 2] = x, S = 1, b = 1167;
|
4570
4570
|
break p;
|
4571
4571
|
}
|
4572
4572
|
if (g & 2048) {
|
@@ -4575,15 +4575,15 @@ var xo = { exports: {} };
|
|
4575
4575
|
}
|
4576
4576
|
S = g & 1, b = S ? 1169 : 1167;
|
4577
4577
|
}
|
4578
|
-
J = b, x = Pt(
|
4578
|
+
J = b, x = Pt(v, P, G);
|
4579
4579
|
}
|
4580
4580
|
if ((N | 0) < 0 && U)
|
4581
4581
|
break r;
|
4582
|
-
if (g = U ? g & -65537 : g, b = t[$ + 64 >> 2],
|
4582
|
+
if (g = U ? g & -65537 : g, b = t[$ + 64 >> 2], v = t[$ + 68 >> 2], !((b | v) != 0 | N)) {
|
4583
4583
|
x = G, N = 0;
|
4584
4584
|
break o;
|
4585
4585
|
}
|
4586
|
-
b = !(b |
|
4586
|
+
b = !(b | v) + (G - x | 0) | 0, N = (b | 0) < (N | 0) ? N : b;
|
4587
4587
|
break o;
|
4588
4588
|
}
|
4589
4589
|
g = 0, U = N >>> 0 >= 2147483647 ? 2147483647 : N, P = U, V = (P | 0) != 0;
|
@@ -4591,13 +4591,13 @@ var xo = { exports: {} };
|
|
4591
4591
|
h: {
|
4592
4592
|
b = t[$ + 64 >> 2], x = b || 4277, b = x;
|
4593
4593
|
p: {
|
4594
|
-
|
4594
|
+
v: {
|
4595
4595
|
A: {
|
4596
4596
|
if (!(b & 3) | !P)
|
4597
4597
|
break A;
|
4598
4598
|
for (; ; ) {
|
4599
4599
|
if (g = j[b | 0], !g)
|
4600
|
-
break
|
4600
|
+
break v;
|
4601
4601
|
if (P = P - 1 | 0, V = (P | 0) != 0, b = b + 1 | 0, !(b & 3))
|
4602
4602
|
break A;
|
4603
4603
|
if (!P)
|
@@ -4637,29 +4637,29 @@ var xo = { exports: {} };
|
|
4637
4637
|
b = 0;
|
4638
4638
|
}
|
4639
4639
|
if (b = b ? b - x | 0 : U, V = b + x | 0, (N | 0) >= 0) {
|
4640
|
-
g =
|
4640
|
+
g = v, N = b;
|
4641
4641
|
break o;
|
4642
4642
|
}
|
4643
|
-
if (g =
|
4643
|
+
if (g = v, N = b, j[V | 0])
|
4644
4644
|
break r;
|
4645
4645
|
break o;
|
4646
4646
|
}
|
4647
4647
|
if (N) {
|
4648
|
-
|
4648
|
+
v = t[$ + 64 >> 2];
|
4649
4649
|
break u;
|
4650
4650
|
}
|
4651
4651
|
b = 0, Ar(e, 32, R, 0, g);
|
4652
4652
|
break d;
|
4653
4653
|
}
|
4654
|
-
t[$ + 12 >> 2] = 0, t[$ + 8 >> 2] = t[$ + 64 >> 2],
|
4654
|
+
t[$ + 12 >> 2] = 0, t[$ + 8 >> 2] = t[$ + 64 >> 2], v = $ + 8 | 0, t[$ + 64 >> 2] = v, N = -1;
|
4655
4655
|
}
|
4656
4656
|
b = 0;
|
4657
4657
|
u: {
|
4658
4658
|
for (; ; ) {
|
4659
|
-
if (x = t[
|
4659
|
+
if (x = t[v >> 2], !x)
|
4660
4660
|
break u;
|
4661
4661
|
if (x = an($ + 4 | 0, x), V = (x | 0) < 0, !(V | x >>> 0 > N - b >>> 0)) {
|
4662
|
-
if (
|
4662
|
+
if (v = v + 4 | 0, b = b + x | 0, N >>> 0 > b >>> 0)
|
4663
4663
|
continue;
|
4664
4664
|
break u;
|
4665
4665
|
}
|
@@ -4674,10 +4674,10 @@ var xo = { exports: {} };
|
|
4674
4674
|
b = 0;
|
4675
4675
|
break d;
|
4676
4676
|
}
|
4677
|
-
for (V = 0,
|
4678
|
-
if (x = t[
|
4677
|
+
for (V = 0, v = t[$ + 64 >> 2]; ; ) {
|
4678
|
+
if (x = t[v >> 2], !x || (x = an($ + 4 | 0, x), V = x + V | 0, V >>> 0 > b >>> 0))
|
4679
4679
|
break d;
|
4680
|
-
if (lr(e, $ + 4 | 0, x),
|
4680
|
+
if (lr(e, $ + 4 | 0, x), v = v + 4 | 0, !(b >>> 0 > V >>> 0))
|
4681
4681
|
break;
|
4682
4682
|
}
|
4683
4683
|
}
|
@@ -4690,10 +4690,10 @@ var xo = { exports: {} };
|
|
4690
4690
|
continue i;
|
4691
4691
|
break t;
|
4692
4692
|
}
|
4693
|
-
Z[$ + 55 | 0] = t[$ + 64 >> 2], N = 1, x = ce, g =
|
4693
|
+
Z[$ + 55 | 0] = t[$ + 64 >> 2], N = 1, x = ce, g = v;
|
4694
4694
|
break o;
|
4695
4695
|
}
|
4696
|
-
|
4696
|
+
v = j[b + 1 | 0], b = b + 1 | 0;
|
4697
4697
|
}
|
4698
4698
|
if (e)
|
4699
4699
|
break e;
|
@@ -4722,9 +4722,9 @@ var xo = { exports: {} };
|
|
4722
4722
|
}
|
4723
4723
|
if (P = V - x | 0, N = (N | 0) > (P | 0) ? N : P, (N | 0) > (S ^ 2147483647))
|
4724
4724
|
break r;
|
4725
|
-
if (V = 61,
|
4725
|
+
if (V = 61, v = N + S | 0, b = (v | 0) < (R | 0) ? R : v, (oe | 0) < (b | 0))
|
4726
4726
|
break t;
|
4727
|
-
Ar(e, 32, b,
|
4727
|
+
Ar(e, 32, b, v, g), lr(e, J, S), Ar(e, 48, b, v, g ^ 65536), Ar(e, 48, N, P, 0), lr(e, x, P), Ar(e, 32, b, v, g ^ 8192);
|
4728
4728
|
continue;
|
4729
4729
|
}
|
4730
4730
|
break;
|
@@ -4742,7 +4742,7 @@ var xo = { exports: {} };
|
|
4742
4742
|
}
|
4743
4743
|
function Us(e, r, a, i) {
|
4744
4744
|
e = e | 0, r = +r, a = +a, i = i | 0;
|
4745
|
-
var o = n(0), c = n(0), h = 0, b = n(0),
|
4745
|
+
var o = n(0), c = n(0), h = 0, b = n(0), v = 0, $ = n(0), x = 0, V = n(0), P = 0;
|
4746
4746
|
P = z + -64 | 0, z = P, h = t[e >> 2], Tr(P + 8 | 0, 0, 56), t[1755] = t[1755] + 1, Ni(h), b = n(r), c = m[h + 572 >> 2];
|
4747
4747
|
e: {
|
4748
4748
|
a: {
|
@@ -4824,14 +4824,14 @@ var xo = { exports: {} };
|
|
4824
4824
|
break r;
|
4825
4825
|
if ((e | 0) == 2140081935)
|
4826
4826
|
break a;
|
4827
|
-
|
4827
|
+
v = 4336;
|
4828
4828
|
i: {
|
4829
4829
|
if ((e | 0) != 2141891242) {
|
4830
4830
|
if (c == c)
|
4831
4831
|
break i;
|
4832
|
-
|
4832
|
+
v = 4344;
|
4833
4833
|
}
|
4834
|
-
switch (o = m[
|
4834
|
+
switch (o = m[v >> 2], V = n(Ae), x = 2, t[v + 4 >> 2] - 1 | 0) {
|
4835
4835
|
case 1:
|
4836
4836
|
break r;
|
4837
4837
|
case 0:
|
@@ -4903,14 +4903,14 @@ var xo = { exports: {} };
|
|
4903
4903
|
break i;
|
4904
4904
|
if ((e | 0) == 2140081935)
|
4905
4905
|
break a;
|
4906
|
-
|
4906
|
+
v = 4336;
|
4907
4907
|
n: {
|
4908
4908
|
if ((e | 0) != 2141891242) {
|
4909
4909
|
if (c == c)
|
4910
4910
|
break n;
|
4911
|
-
|
4911
|
+
v = 4344;
|
4912
4912
|
}
|
4913
|
-
switch (o = m[
|
4913
|
+
switch (o = m[v >> 2], t[v + 4 >> 2] - 1 | 0) {
|
4914
4914
|
case 0:
|
4915
4915
|
break r;
|
4916
4916
|
case 1:
|
@@ -4932,14 +4932,14 @@ var xo = { exports: {} };
|
|
4932
4932
|
break r;
|
4933
4933
|
if ((e | 0) == 2140081935)
|
4934
4934
|
break a;
|
4935
|
-
|
4935
|
+
v = 4336;
|
4936
4936
|
i: {
|
4937
4937
|
if ((e | 0) != 2141891242) {
|
4938
4938
|
if (c == c)
|
4939
4939
|
break i;
|
4940
|
-
|
4940
|
+
v = 4344;
|
4941
4941
|
}
|
4942
|
-
switch (o = m[
|
4942
|
+
switch (o = m[v >> 2], c = n(Ae), e = 2, t[v + 4 >> 2] - 1 | 0) {
|
4943
4943
|
case 0:
|
4944
4944
|
break a;
|
4945
4945
|
case 1:
|
@@ -4959,17 +4959,17 @@ var xo = { exports: {} };
|
|
4959
4959
|
}
|
4960
4960
|
e = 2, c = o;
|
4961
4961
|
}
|
4962
|
-
|
4962
|
+
nt(h, V, c, i, x, e, b, $, 1, 0, t[h + 568 >> 2], P + 8 | 0, 0, t[1755]) && (Zi(h, j[h + 300 | 0] & 3, b, $, b), Li(h, +m[t[h + 568 >> 2] + 20 >> 2], 0, 0)), z = P - -64 | 0;
|
4963
4963
|
}
|
4964
4964
|
function Gs(e, r) {
|
4965
4965
|
e = e | 0, r = r | 0;
|
4966
|
-
var a = 0, i = n(0), o = 0, c = 0, h = n(0), b = 0,
|
4966
|
+
var a = 0, i = n(0), o = 0, c = 0, h = n(0), b = 0, v = 0, $ = 0, x = n(0);
|
4967
4967
|
e: {
|
4968
|
-
|
4968
|
+
v = t[r >> 2], r = t[e >> 2];
|
4969
4969
|
a: {
|
4970
|
-
if ((t[
|
4970
|
+
if ((t[v + 24 >> 2] ^ t[r + 24 >> 2]) & 8388607)
|
4971
4971
|
break a;
|
4972
|
-
x = m[
|
4972
|
+
x = m[v + 40 >> 2], o = t[v + 40 >> 2], i = m[r + 40 >> 2];
|
4973
4973
|
t: {
|
4974
4974
|
r: {
|
4975
4975
|
if (a = t[r + 40 >> 2], (a | 0) != 2139156720) {
|
@@ -5004,7 +5004,7 @@ var xo = { exports: {} };
|
|
5004
5004
|
break t;
|
5005
5005
|
i = (ie(2, (o & -1073741825) + 536870912 | 0), ue()), a = o & 1073741824 ? 2 : 1;
|
5006
5006
|
}
|
5007
|
-
if ((a | 0) != (e | 0) | !(!e | h != h & i != i | n(Ye(n(h - i))) < n(9999999747378752e-20)) || (a = r + 44 | 0, c =
|
5007
|
+
if ((a | 0) != (e | 0) | !(!e | h != h & i != i | n(Ye(n(h - i))) < n(9999999747378752e-20)) || (a = r + 44 | 0, c = v + 44 | 0, t[a >> 2] != t[c >> 2]))
|
5008
5008
|
break a;
|
5009
5009
|
e = 0;
|
5010
5010
|
t: {
|
@@ -5017,7 +5017,7 @@ var xo = { exports: {} };
|
|
5017
5017
|
if (o >>> 0 < 8)
|
5018
5018
|
break a;
|
5019
5019
|
}
|
5020
|
-
if (a = r + 80 | 0, c =
|
5020
|
+
if (a = r + 80 | 0, c = v + 80 | 0, t[a >> 2] != t[c >> 2])
|
5021
5021
|
break a;
|
5022
5022
|
e = 0;
|
5023
5023
|
t: {
|
@@ -5030,7 +5030,7 @@ var xo = { exports: {} };
|
|
5030
5030
|
if (o >>> 0 < 8)
|
5031
5031
|
break a;
|
5032
5032
|
}
|
5033
|
-
if (a = r + 116 | 0, c =
|
5033
|
+
if (a = r + 116 | 0, c = v + 116 | 0, t[a >> 2] != t[c >> 2])
|
5034
5034
|
break a;
|
5035
5035
|
e = 0;
|
5036
5036
|
t: {
|
@@ -5043,7 +5043,7 @@ var xo = { exports: {} };
|
|
5043
5043
|
if (o >>> 0 < 8)
|
5044
5044
|
break a;
|
5045
5045
|
}
|
5046
|
-
if (a = r + 152 | 0, c =
|
5046
|
+
if (a = r + 152 | 0, c = v + 152 | 0, t[a >> 2] != t[c >> 2])
|
5047
5047
|
break a;
|
5048
5048
|
e = 0;
|
5049
5049
|
t: {
|
@@ -5056,7 +5056,7 @@ var xo = { exports: {} };
|
|
5056
5056
|
if (o >>> 0 < 8)
|
5057
5057
|
break a;
|
5058
5058
|
}
|
5059
|
-
if (a = r + 188 | 0, c =
|
5059
|
+
if (a = r + 188 | 0, c = v + 188 | 0, t[a >> 2] != t[c >> 2])
|
5060
5060
|
break a;
|
5061
5061
|
e = 0;
|
5062
5062
|
t: {
|
@@ -5069,7 +5069,7 @@ var xo = { exports: {} };
|
|
5069
5069
|
if (o >>> 0 < 2)
|
5070
5070
|
break a;
|
5071
5071
|
}
|
5072
|
-
for (b =
|
5072
|
+
for (b = v + 200 | 0, $ = r + 200 | 0, e = 0, o = 1; ; ) {
|
5073
5073
|
t: {
|
5074
5074
|
if (e = e << 2, a = t[e + b >> 2], c = t[e + $ >> 2], !o)
|
5075
5075
|
break t;
|
@@ -5080,7 +5080,7 @@ var xo = { exports: {} };
|
|
5080
5080
|
}
|
5081
5081
|
if ((a | 0) != (c | 0))
|
5082
5082
|
break a;
|
5083
|
-
for (b =
|
5083
|
+
for (b = v + 208 | 0, $ = r + 208 | 0, e = 0, o = 1; ; ) {
|
5084
5084
|
t: {
|
5085
5085
|
if (e = e << 2, a = t[e + b >> 2], c = t[e + $ >> 2], !o)
|
5086
5086
|
break t;
|
@@ -5091,7 +5091,7 @@ var xo = { exports: {} };
|
|
5091
5091
|
}
|
5092
5092
|
if ((a | 0) != (c | 0))
|
5093
5093
|
break a;
|
5094
|
-
for (b =
|
5094
|
+
for (b = v + 216 | 0, $ = r + 216 | 0, e = 0, o = 1; ; ) {
|
5095
5095
|
t: {
|
5096
5096
|
if (e = e << 2, a = t[e + b >> 2], c = t[e + $ >> 2], !o)
|
5097
5097
|
break t;
|
@@ -5100,12 +5100,12 @@ var xo = { exports: {} };
|
|
5100
5100
|
}
|
5101
5101
|
break;
|
5102
5102
|
}
|
5103
|
-
if ((a | 0) != (c | 0) || (h = m[
|
5103
|
+
if ((a | 0) != (c | 0) || (h = m[v + 28 >> 2], e = h != h, i = m[r + 28 >> 2], (e | 0) == (i == i | 0) | !(e | i != i) & i != h) || (i = m[r + 32 >> 2], h = m[v + 32 >> 2], (i == i | 0) == (h != h | 0) | i == i & i != h) || (h = m[v + 36 >> 2], e = h != h, i = m[r + 36 >> 2], (e | 0) == (i == i | 0) | !e & i != h))
|
5104
5104
|
break a;
|
5105
|
-
if (e = 0, i = m[r + 224 >> 2], i != i && (e = 1, h = m[
|
5105
|
+
if (e = 0, i = m[r + 224 >> 2], i != i && (e = 1, h = m[v + 224 >> 2], h != h) || (h = i, i = m[v + 224 >> 2], h == i | i != i & e))
|
5106
5106
|
break e;
|
5107
5107
|
}
|
5108
|
-
for (Nr(r + 24 | 0,
|
5108
|
+
for (Nr(r + 24 | 0, v + 24 | 0, 204); ; ) {
|
5109
5109
|
if (e = j[r + 4 | 0], e & 4)
|
5110
5110
|
break e;
|
5111
5111
|
if (Z[r + 4 | 0] = e | 4, e = t[r + 20 >> 2], e && ne[e | 0](r), t[r + 308 >> 2] = 2143289344, r = t[r + 552 >> 2], !r)
|
@@ -5115,26 +5115,26 @@ var xo = { exports: {} };
|
|
5115
5115
|
}
|
5116
5116
|
function Ls(e, r) {
|
5117
5117
|
e = e | 0, r = r | 0;
|
5118
|
-
var a = 0, i = 0, o = 0, c = 0, h = 0, b = 0,
|
5119
|
-
a = r, r = t[r >> 2] + 7 & -8, t[a >> 2] = r + 16, g = e,
|
5118
|
+
var a = 0, i = 0, o = 0, c = 0, h = 0, b = 0, v = 0, $ = 0, x = 0, V = 0, P = 0, N = 0, g = 0, E = 0, R = 0, S = 0;
|
5119
|
+
a = r, r = t[r >> 2] + 7 & -8, t[a >> 2] = r + 16, g = e, v = t[r >> 2], i = t[r + 4 >> 2], e = t[r + 12 >> 2], P = e, h = z - 32 | 0, z = h, e = e & 2147483647, b = e, o = e - 1006698496 | 0, e = e - 1140785152 | 0, a = t[r + 8 >> 2], r = a;
|
5120
5120
|
e: {
|
5121
5121
|
if ((o | 0) == (e | 0) & r >>> 0 < r >>> 0 | e >>> 0 > o >>> 0) {
|
5122
|
-
if (e = a, a = P << 4 | e >>> 28, r = e << 4 | i >>> 28, e = a, i = i & 268435455, (i | 0) == 134217728 & (
|
5122
|
+
if (e = a, a = P << 4 | e >>> 28, r = e << 4 | i >>> 28, e = a, i = i & 268435455, (i | 0) == 134217728 & (v | 0) != 0 | i >>> 0 > 134217728) {
|
5123
5123
|
e = e + 1073741824 | 0, r = r + 1 | 0, e = r ? e : e + 1 | 0;
|
5124
5124
|
break e;
|
5125
5125
|
}
|
5126
|
-
if (e = e + 1073741824 | 0,
|
5126
|
+
if (e = e + 1073741824 | 0, v | (i | 0) != 134217728)
|
5127
5127
|
break e;
|
5128
5128
|
i = r & 1, r = i + r | 0, e = r >>> 0 < i >>> 0 ? e + 1 | 0 : e;
|
5129
5129
|
break e;
|
5130
5130
|
}
|
5131
|
-
if (!(!r & (b | 0) == 2147418112 ? !(i |
|
5131
|
+
if (!(!r & (b | 0) == 2147418112 ? !(i | v) : b >>> 0 < 2147418112)) {
|
5132
5132
|
e = a, a = P << 4 | e >>> 28, r = e << 4 | i >>> 28, e = a & 524287 | 2146959360;
|
5133
5133
|
break e;
|
5134
5134
|
}
|
5135
5135
|
if (r = 0, e = 2146435072, b >>> 0 > 1140785151 || (e = 0, N = b >>> 16 | 0, N >>> 0 < 15249))
|
5136
5136
|
break e;
|
5137
|
-
r =
|
5137
|
+
r = v, e = i, o = P & 65535 | 65536, b = o, V = a, c = a, $ = N - 15233 | 0;
|
5138
5138
|
a: {
|
5139
5139
|
if ($ & 64) {
|
5140
5140
|
a = r, o = $ + -64 | 0, r = o & 31, (o & 63) >>> 0 >= 32 ? (e = a << r, c = 0) : (e = (1 << r) - 1 & a >>> 32 - r | e << r, c = a << r), o = e, r = 0, e = 0;
|
@@ -5147,14 +5147,14 @@ var xo = { exports: {} };
|
|
5147
5147
|
t[h + 16 >> 2] = r, t[h + 20 >> 2] = e, t[h + 24 >> 2] = c, t[h + 28 >> 2] = o, r = 15361 - N | 0;
|
5148
5148
|
a: {
|
5149
5149
|
if (r & 64) {
|
5150
|
-
i = V, r = r + -64 | 0, e = r & 31, (r & 63) >>> 0 >= 32 ? (a = 0,
|
5150
|
+
i = V, r = r + -64 | 0, e = r & 31, (r & 63) >>> 0 >= 32 ? (a = 0, v = b >>> e | 0) : (a = b >>> e | 0, v = ((1 << e) - 1 & b) << 32 - e | i >>> e), i = a, V = 0, b = 0;
|
5151
5151
|
break a;
|
5152
5152
|
}
|
5153
5153
|
if (!r)
|
5154
5154
|
break a;
|
5155
|
-
o = V, e = 64 - r | 0, a = e & 31, (e & 63) >>> 0 >= 32 ? (e = o << a, c = 0) : (e = (1 << a) - 1 & o >>> 32 - a | b << a, c = o << a), o =
|
5155
|
+
o = V, e = 64 - r | 0, a = e & 31, (e & 63) >>> 0 >= 32 ? (e = o << a, c = 0) : (e = (1 << a) - 1 & o >>> 32 - a | b << a, c = o << a), o = v, v = r & 31, (r & 63) >>> 0 >= 32 ? (a = 0, o = i >>> v | 0) : (a = i >>> v | 0, o = ((1 << v) - 1 & i) << 32 - v | o >>> v), v = c | o, i = e | a, o = V, a = r & 31, (r & 63) >>> 0 >= 32 ? (e = 0, V = b >>> a | 0) : (e = b >>> a | 0, V = ((1 << a) - 1 & b) << 32 - a | o >>> a), b = e;
|
5156
5156
|
}
|
5157
|
-
if (t[h >> 2] =
|
5157
|
+
if (t[h >> 2] = v, t[h + 4 >> 2] = i, t[h + 8 >> 2] = V, t[h + 12 >> 2] = b, r = t[h + 8 >> 2], e = t[h + 12 >> 2] << 4 | r >>> 28, r = r << 4, a = t[h >> 2], b = t[h + 4 >> 2], r = b >>> 28 | r, i = b & 268435455, a = a | (t[h + 16 >> 2] | t[h + 24 >> 2] | (t[h + 20 >> 2] | t[h + 28 >> 2])) != 0, (i | 0) == 134217728 & (a | 0) != 0 | i >>> 0 > 134217728) {
|
5158
5158
|
r = r + 1 | 0, e = r ? e : e + 1 | 0;
|
5159
5159
|
break e;
|
5160
5160
|
}
|
@@ -5164,7 +5164,7 @@ var xo = { exports: {} };
|
|
5164
5164
|
}
|
5165
5165
|
z = h + 32 | 0, ie(0, r | 0), ie(1, P & -2147483648 | e), R = g, S = +Oe(), Xe[R >> 3] = S;
|
5166
5166
|
}
|
5167
|
-
function
|
5167
|
+
function nt(e, r, a, i, o, c, h, b, v, $, x, V, P, N) {
|
5168
5168
|
var g = n(0), E = 0, R = 0, S = 0, U = 0, G = n(0), M = 0, D = 0, J = n(0);
|
5169
5169
|
e: {
|
5170
5170
|
if (!(t[e + 312 >> 2] != (N | 0) && j[e + 4 | 0] & 4) && (U = 0, t[e + 316 >> 2] == (i | 0)))
|
@@ -5189,7 +5189,7 @@ var xo = { exports: {} };
|
|
5189
5189
|
}
|
5190
5190
|
break r;
|
5191
5191
|
}
|
5192
|
-
if (!
|
5192
|
+
if (!v) {
|
5193
5193
|
if (D = t[e + 320 >> 2], !D)
|
5194
5194
|
break r;
|
5195
5195
|
for (R = e + 324 | 0; ; ) {
|
@@ -5245,20 +5245,20 @@ var xo = { exports: {} };
|
|
5245
5245
|
P = P ? E : 0;
|
5246
5246
|
break t;
|
5247
5247
|
}
|
5248
|
-
Si(e, r, a, i, o, c, h, b,
|
5248
|
+
Si(e, r, a, i, o, c, h, b, v, x, V, M, N, $), t[e + 316 >> 2] = i;
|
5249
5249
|
break a;
|
5250
5250
|
}
|
5251
5251
|
if (!(!P | U)) {
|
5252
|
-
m[e + 516 >> 2] = m[P + 16 >> 2], m[e + 520 >> 2] = m[P + 20 >> 2], i = (
|
5252
|
+
m[e + 516 >> 2] = m[P + 16 >> 2], m[e + 520 >> 2] = m[P + 20 >> 2], i = (v ? 12 : 16) + V | 0, t[i >> 2] = t[i >> 2] + 1;
|
5253
5253
|
break e;
|
5254
5254
|
}
|
5255
|
-
if (Si(e, r, a, i, o, c, h, b,
|
5255
|
+
if (Si(e, r, a, i, o, c, h, b, v, x, V, M, N, $), t[e + 316 >> 2] = i, P)
|
5256
5256
|
break e;
|
5257
5257
|
}
|
5258
|
-
P = t[e + 320 >> 2], i = P + 1 | 0, i >>> 0 >
|
5258
|
+
P = t[e + 320 >> 2], i = P + 1 | 0, i >>> 0 > yi[V + 8 >> 2] && (t[V + 8 >> 2] = i), (P | 0) == 8 && (t[e + 320 >> 2] = 0, P = 0), v ? i = e + 524 | 0 : (t[e + 320 >> 2] = P + 1, i = (je(P, 24) + e | 0) + 324 | 0), t[i + 12 >> 2] = c, t[i + 8 >> 2] = o, m[i + 4 >> 2] = a, m[i >> 2] = r, m[i + 16 >> 2] = m[e + 516 >> 2], m[i + 20 >> 2] = m[e + 520 >> 2], P = 0;
|
5259
5259
|
}
|
5260
5260
|
e: {
|
5261
|
-
if (!
|
5261
|
+
if (!v || (i = t[e + 520 >> 2], t[e + 244 >> 2] = t[e + 516 >> 2], t[e + 248 >> 2] = i, i = j[e + 4 | 0], o = i | 1, Z[e + 4 | 0] = o, !(i & 4)))
|
5262
5262
|
break e;
|
5263
5263
|
Z[e + 4 | 0] = o & 251;
|
5264
5264
|
}
|
@@ -5266,7 +5266,7 @@ var xo = { exports: {} };
|
|
5266
5266
|
}
|
5267
5267
|
function ha(e) {
|
5268
5268
|
e = e | 0;
|
5269
|
-
var r = 0, a = 0, i = 0, o = 0, c = 0, h = 0, b = 0,
|
5269
|
+
var r = 0, a = 0, i = 0, o = 0, c = 0, h = 0, b = 0, v = 0, $ = 0, x = 0, V = 0;
|
5270
5270
|
b = 8;
|
5271
5271
|
e: {
|
5272
5272
|
if (e >>> 0 > 4294967239)
|
@@ -5288,20 +5288,20 @@ var xo = { exports: {} };
|
|
5288
5288
|
o = i;
|
5289
5289
|
t: {
|
5290
5290
|
if (r | i) {
|
5291
|
-
a = i - 1 | 0,
|
5291
|
+
a = i - 1 | 0, v = a + 1 | 0, c = a, a = r - 1 | 0, c = (a | 0) != -1 ? v : c, i = e0(i ^ c), i = (i | 0) == 32 ? e0(r ^ a) + 32 | 0 : i, a = 63 - i | 0, xr = 0 - (i >>> 0 > 63) | 0;
|
5292
5292
|
break t;
|
5293
5293
|
}
|
5294
5294
|
xr = 0, a = 64;
|
5295
5295
|
}
|
5296
|
-
c = a, a = c & 31, (c & 63) >>> 0 >= 32 ? (i = 0, r = o >>> a | 0) : (i = o >>> a | 0, r = ((1 << a) - 1 & o) << 32 - a | r >>> a),
|
5296
|
+
c = a, a = c & 31, (c & 63) >>> 0 >= 32 ? (i = 0, r = o >>> a | 0) : (i = o >>> a | 0, r = ((1 << a) - 1 & o) << 32 - a | r >>> a), v = r, h = c + h | 0, a = h << 4, r = t[a + 5976 >> 2], c = a + 5968 | 0;
|
5297
5297
|
t: {
|
5298
5298
|
if ((r | 0) != (c | 0)) {
|
5299
5299
|
if (o = pa(r, b, e), o)
|
5300
5300
|
break e;
|
5301
|
-
o = t[r + 4 >> 2], t[o + 8 >> 2] = t[r + 8 >> 2], t[t[r + 8 >> 2] + 4 >> 2] = o, t[r + 8 >> 2] = c, o = a + 5972 | 0, t[r + 4 >> 2] = t[o >> 2], t[o >> 2] = r, t[t[r + 4 >> 2] + 8 >> 2] = r, h = h + 1 | 0, r = (i & 1) << 31 |
|
5301
|
+
o = t[r + 4 >> 2], t[o + 8 >> 2] = t[r + 8 >> 2], t[t[r + 8 >> 2] + 4 >> 2] = o, t[r + 8 >> 2] = c, o = a + 5972 | 0, t[r + 4 >> 2] = t[o >> 2], t[o >> 2] = r, t[t[r + 4 >> 2] + 8 >> 2] = r, h = h + 1 | 0, r = (i & 1) << 31 | v >>> 1, i = i >>> 1 | 0;
|
5302
5302
|
break t;
|
5303
5303
|
}
|
5304
|
-
$ = t[1751], c = h & 63, r = c, o = r & 31, r >>> 0 >= 32 ? (r = 0, a = -1 >>> o | 0) : (r = -1 >>> o | 0, a = r | (1 << o) - 1 << 32 - o), a = a & -2, o = c & 31, c >>> 0 >= 32 ? (r = a << o, a = 0) : (r = (1 << o) - 1 & a >>> 32 - o | r << o, a = a << o), x = a, o = r, c = 0 - h & 63, a = c, r = a & 31, a >>> 0 >= 32 ? (r = -1 << r, a = 0) : (a = -1 << r, r = a | (1 << r) - 1 & -1 >>> 32 - r), V = a & -2, a = c & 31, c >>> 0 >= 32 ? (c = 0, r = r >>> a | 0) : (c = r >>> a | 0, r = ((1 << a) - 1 & r) << 32 - a | V >>> a), r = r | x, xr = o | c, t[1750] = t[1750] & r, t[1751] = xr & $, r =
|
5304
|
+
$ = t[1751], c = h & 63, r = c, o = r & 31, r >>> 0 >= 32 ? (r = 0, a = -1 >>> o | 0) : (r = -1 >>> o | 0, a = r | (1 << o) - 1 << 32 - o), a = a & -2, o = c & 31, c >>> 0 >= 32 ? (r = a << o, a = 0) : (r = (1 << o) - 1 & a >>> 32 - o | r << o, a = a << o), x = a, o = r, c = 0 - h & 63, a = c, r = a & 31, a >>> 0 >= 32 ? (r = -1 << r, a = 0) : (a = -1 << r, r = a | (1 << r) - 1 & -1 >>> 32 - r), V = a & -2, a = c & 31, c >>> 0 >= 32 ? (c = 0, r = r >>> a | 0) : (c = r >>> a | 0, r = ((1 << a) - 1 & r) << 32 - a | V >>> a), r = r | x, xr = o | c, t[1750] = t[1750] & r, t[1751] = xr & $, r = v ^ 1;
|
5305
5305
|
}
|
5306
5306
|
if (!(r | i))
|
5307
5307
|
break;
|
@@ -5352,24 +5352,24 @@ var xo = { exports: {} };
|
|
5352
5352
|
}
|
5353
5353
|
function Hs(e, r, a) {
|
5354
5354
|
e = e | 0, r = r | 0, a = a | 0;
|
5355
|
-
var i = 0, o = 0, c = 0, h = 0, b = 0,
|
5355
|
+
var i = 0, o = 0, c = 0, h = 0, b = 0, v = 0, $ = 0, x = 0, V = 0, P = 0;
|
5356
5356
|
b = z - 80 | 0, z = b, e = t[e >> 2];
|
5357
5357
|
e: {
|
5358
5358
|
a: {
|
5359
|
-
if (
|
5359
|
+
if (v = t[r >> 2], !t[v + 552 >> 2]) {
|
5360
5360
|
if (t[e + 8 >> 2])
|
5361
5361
|
break a;
|
5362
5362
|
r = t[e + 556 >> 2], h = r + (a << 2) | 0, i = t[e + 560 >> 2], o = e + 564 | 0, c = t[o >> 2];
|
5363
5363
|
t: {
|
5364
5364
|
if (i >>> 0 < c >>> 0) {
|
5365
5365
|
if ((i | 0) == (h | 0)) {
|
5366
|
-
t[h >> 2] =
|
5366
|
+
t[h >> 2] = v, t[e + 560 >> 2] = h + 4;
|
5367
5367
|
break t;
|
5368
5368
|
}
|
5369
5369
|
if (a = i, r = i - 4 | 0, i >>> 0 > r >>> 0)
|
5370
5370
|
for (; t[a >> 2] = t[r >> 2], a = a + 4 | 0, r = r + 4 | 0, i >>> 0 > r >>> 0; )
|
5371
5371
|
;
|
5372
|
-
t[e + 560 >> 2] = a, r = h + 4 | 0, (r | 0) != (i | 0) && (r = i - r | 0, V0(i - (r & -4) | 0, h, r)), t[h >> 2] =
|
5372
|
+
t[e + 560 >> 2] = a, r = h + 4 | 0, (r | 0) != (i | 0) && (r = i - r | 0, V0(i - (r & -4) | 0, h, r)), t[h >> 2] = v;
|
5373
5373
|
break t;
|
5374
5374
|
}
|
5375
5375
|
if (i = (i - r >> 2) + 1 | 0, i >>> 0 >= 1073741824)
|
@@ -5396,11 +5396,11 @@ var xo = { exports: {} };
|
|
5396
5396
|
break r;
|
5397
5397
|
pr($), a = t[o + 8 >> 2];
|
5398
5398
|
}
|
5399
|
-
if (t[a >> 2] =
|
5399
|
+
if (t[a >> 2] = v, t[o + 8 >> 2] = t[o + 8 >> 2] + 4, r = t[e + 556 >> 2], a = h - r | 0, V = o, P = V0(t[o + 4 >> 2] - a | 0, r, a), t[V + 4 >> 2] = P, i = t[e + 560 >> 2] - h | 0, h = V0(t[o + 8 >> 2], h, i), r = t[e + 556 >> 2], t[e + 556 >> 2] = t[o + 4 >> 2], t[o + 4 >> 2] = r, a = t[e + 560 >> 2], t[e + 560 >> 2] = i + h, t[o + 8 >> 2] = a, i = t[e + 564 >> 2], t[e + 564 >> 2] = t[o + 12 >> 2], t[o >> 2] = r, t[o + 12 >> 2] = i, (r | 0) != (a | 0) && (t[o + 8 >> 2] = a + ((r - a | 0) + 3 & -4)), !r)
|
5400
5400
|
break t;
|
5401
5401
|
pr(r);
|
5402
5402
|
}
|
5403
|
-
for (t[
|
5403
|
+
for (t[v + 552 >> 2] = e; r = j[e + 4 | 0], !!(!(r & 4) && (Z[e + 4 | 0] = r | 4, r = t[e + 20 >> 2], r && ne[r | 0](e), t[e + 308 >> 2] = 2143289344, e = t[e + 552 >> 2], e)); )
|
5404
5404
|
;
|
5405
5405
|
z = b + 80 | 0;
|
5406
5406
|
return;
|
@@ -5567,7 +5567,7 @@ var xo = { exports: {} };
|
|
5567
5567
|
return o;
|
5568
5568
|
}
|
5569
5569
|
function Ni(e) {
|
5570
|
-
var r = 0, a = 0, i = n(0), o = n(0), c = n(0), h = 0, b = 0,
|
5570
|
+
var r = 0, a = 0, i = n(0), o = n(0), c = n(0), h = 0, b = 0, v = 0, $ = 0, x = 0, V = 0, P = 0, N = 0, g = 0;
|
5571
5571
|
for (h = z - 16 | 0, t[h + 8 >> 2] = 0, t[h + 12 >> 2] = 1, x = e + 200 | 0, V = e + 572 | 0, P = e + 208 | 0, N = e + 216 | 0, e = 0; ; ) {
|
5572
5572
|
g = e, $ = t[(h + 8 | 0) + (e << 2) >> 2], b = $ << 2, e = N + b | 0, i = m[e >> 2];
|
5573
5573
|
e: {
|
@@ -5576,7 +5576,7 @@ var xo = { exports: {} };
|
|
5576
5576
|
r: {
|
5577
5577
|
i: {
|
5578
5578
|
n: {
|
5579
|
-
if (r = t[e >> 2],
|
5579
|
+
if (r = t[e >> 2], v = (r | 0) == 2139156720, !(v | (r | 0) == 2140081935 | (r | 0) == 2141891242) & i != i)
|
5580
5580
|
break n;
|
5581
5581
|
e = b + P | 0, o = m[e >> 2], a = t[e >> 2];
|
5582
5582
|
o: {
|
@@ -5599,7 +5599,7 @@ var xo = { exports: {} };
|
|
5599
5599
|
a = e;
|
5600
5600
|
o: {
|
5601
5601
|
s: {
|
5602
|
-
if (!
|
5602
|
+
if (!v) {
|
5603
5603
|
if (o = n(Ae), e = 3, (r | 0) == 2141891242)
|
5604
5604
|
break o;
|
5605
5605
|
if ((r | 0) != 2140081935)
|
@@ -5616,7 +5616,7 @@ var xo = { exports: {} };
|
|
5616
5616
|
}
|
5617
5617
|
if ((a | 0) != (e | 0) | !(!e | o != o & c != c | n(Ye(n(o - c))) < n(9999999747378752e-20)))
|
5618
5618
|
break n;
|
5619
|
-
if (e = 0,
|
5619
|
+
if (e = 0, v)
|
5620
5620
|
break i;
|
5621
5621
|
if ((r | 0) == 2140081935)
|
5622
5622
|
break a;
|
@@ -5706,7 +5706,7 @@ var xo = { exports: {} };
|
|
5706
5706
|
return e;
|
5707
5707
|
}
|
5708
5708
|
function Ti(e, r, a, i, o) {
|
5709
|
-
var c = n(0), h = 0, b = n(0),
|
5709
|
+
var c = n(0), h = 0, b = n(0), v = n(0), $ = 0, x = 0, V = n(0), P = n(0), N = 0;
|
5710
5710
|
if (b = n(a - i), x = b != b, !x) {
|
5711
5711
|
a = n(0), h = (r << 2) + e | 0, c = m[h + 208 >> 2];
|
5712
5712
|
e: {
|
@@ -5743,7 +5743,7 @@ var xo = { exports: {} };
|
|
5743
5743
|
break a;
|
5744
5744
|
break e;
|
5745
5745
|
}
|
5746
|
-
|
5746
|
+
v = n(a - i);
|
5747
5747
|
}
|
5748
5748
|
a = n(0), e = (r << 2) + e | 0, c = m[e + 216 >> 2];
|
5749
5749
|
e: {
|
@@ -5783,15 +5783,15 @@ var xo = { exports: {} };
|
|
5783
5783
|
}
|
5784
5784
|
c = n(a - i);
|
5785
5785
|
}
|
5786
|
-
if (a = (V = b, P =
|
5787
|
-
return $e(a,
|
5788
|
-
b = e ?
|
5786
|
+
if (a = (V = b, P = ya(b, c), N = c != c | x, N ? V : P), e = a != a, !(e | v != v))
|
5787
|
+
return $e(a, v);
|
5788
|
+
b = e ? v : a;
|
5789
5789
|
}
|
5790
5790
|
return b;
|
5791
5791
|
}
|
5792
|
-
function Oi(e, r, a, i, o, c, h, b,
|
5792
|
+
function Oi(e, r, a, i, o, c, h, b, v, $, x, V, P) {
|
5793
5793
|
var N = n(0), g = n(0), E = 0, R = 0, S = n(0), U = n(0), G = n(0), M = 0, D = 0;
|
5794
|
-
if (
|
5794
|
+
if (v < n(0) | $ < n(0))
|
5795
5795
|
e = 0;
|
5796
5796
|
else {
|
5797
5797
|
S = c, U = r, G = i, g = b;
|
@@ -5829,18 +5829,18 @@ var xo = { exports: {} };
|
|
5829
5829
|
if ((e | 0) == 1)
|
5830
5830
|
break a;
|
5831
5831
|
if (e = (e | 0) != 2, !(e | o)) {
|
5832
|
-
if (!(r >=
|
5832
|
+
if (!(r >= v))
|
5833
5833
|
break a;
|
5834
5834
|
break e;
|
5835
5835
|
}
|
5836
|
-
if (P = 0, !(r < c) | (e | (o | 0) != 2 | (r != r | c != c |
|
5836
|
+
if (P = 0, !(r < c) | (e | (o | 0) != 2 | (r != r | c != c | v != v)) || (P = 1, r >= v))
|
5837
5837
|
break e;
|
5838
5838
|
}
|
5839
|
-
if (o = r != r, e =
|
5839
|
+
if (o = r != r, e = v != v, o | e) {
|
5840
5840
|
P = e & o;
|
5841
5841
|
break e;
|
5842
5842
|
}
|
5843
|
-
P = n(Ye(n(r -
|
5843
|
+
P = n(Ye(n(r - v))) < n(9999999747378752e-20);
|
5844
5844
|
}
|
5845
5845
|
e: {
|
5846
5846
|
if (E)
|
@@ -5868,8 +5868,8 @@ var xo = { exports: {} };
|
|
5868
5868
|
return e;
|
5869
5869
|
}
|
5870
5870
|
function da(e) {
|
5871
|
-
var r = 0, a = 0, i = 0, o = 0, c = 0, h = 0, b = 0,
|
5872
|
-
if (br(+e), c =
|
5871
|
+
var r = 0, a = 0, i = 0, o = 0, c = 0, h = 0, b = 0, v = 0;
|
5872
|
+
if (br(+e), c = ve(1) | 0, i = ve(0) | 0, o = c >>> 20 & 2047, (o | 0) == 2047)
|
5873
5873
|
return e = e * 1, e / e;
|
5874
5874
|
if (r = i << 1, h = c << 1 | i >>> 31, !r & (h | 0) == 2145386496 | h >>> 0 < 2145386496)
|
5875
5875
|
return !r & (h | 0) == 2145386496 ? e * 0 : e;
|
@@ -5903,7 +5903,7 @@ var xo = { exports: {} };
|
|
5903
5903
|
if ((r | 0) == 1048575 | r >>> 0 < 1048575)
|
5904
5904
|
for (; o = o - 1 | 0, i = r >>> 0 < 524288, h = r << 1 | a >>> 31, a = a << 1, r = h, !!i; )
|
5905
5905
|
;
|
5906
|
-
return
|
5906
|
+
return v = c & -2147483648, h = r + -1048576 | o << 20, b = a, c = r, b = a, i = 1 - o | 0, a = i & 31, (i & 63) >>> 0 >= 32 ? (r = 0, i = c >>> a | 0) : (r = c >>> a | 0, i = ((1 << a) - 1 & c) << 32 - a | b >>> a), a = (o | 0) > 0, ie(0, (a ? b : i) | 0), ie(1, (a ? h : r) | v), +Oe();
|
5907
5907
|
}
|
5908
5908
|
function ba(e) {
|
5909
5909
|
var r = 0, a = 0, i = 0, o = 0, c = 0;
|
@@ -5946,7 +5946,7 @@ var xo = { exports: {} };
|
|
5946
5946
|
return (i | 0) != -1;
|
5947
5947
|
}
|
5948
5948
|
function Ii(e, r, a) {
|
5949
|
-
var i = 0, o = 0, c = 0, h = 0, b = 0,
|
5949
|
+
var i = 0, o = 0, c = 0, h = 0, b = 0, v = 0, $ = 0, x = 0, V = 0;
|
5950
5950
|
e: {
|
5951
5951
|
a: {
|
5952
5952
|
t: {
|
@@ -5989,7 +5989,7 @@ var xo = { exports: {} };
|
|
5989
5989
|
c = i + 1 | 0, h = 63 - i | 0;
|
5990
5990
|
}
|
5991
5991
|
if (i = c & 63, o = i & 31, i >>> 0 >= 32 ? (i = 0, b = r >>> o | 0) : (i = r >>> o | 0, b = ((1 << o) - 1 & r) << 32 - o | e >>> o), h = h & 63, o = h & 31, h >>> 0 >= 32 ? (r = e << o, e = 0) : (r = (1 << o) - 1 & e >>> 32 - o | r << o, e = e << o), c)
|
5992
|
-
for (h = a - 1 | 0, V = (h | 0) == -1 ? -1 : 0;
|
5992
|
+
for (h = a - 1 | 0, V = (h | 0) == -1 ? -1 : 0; v = i << 1 | b >>> 31, i = b << 1 | r >>> 31, o = V - (v + (i >>> 0 > h >>> 0) | 0) >> 31, $ = a & o, b = i - $ | 0, i = v - (i >>> 0 < $ >>> 0) | 0, r = r << 1 | e >>> 31, e = x | e << 1, x = o & 1, c = c - 1 | 0, !!c; )
|
5993
5993
|
;
|
5994
5994
|
xr = r << 1 | e >>> 31, e = x | e << 1;
|
5995
5995
|
break e;
|
@@ -6244,9 +6244,9 @@ var xo = { exports: {} };
|
|
6244
6244
|
r = t[a >> 2] + 7 & -8, t[a >> 2] = r + 8, a = t[r + 4 >> 2], t[e >> 2] = t[r >> 2], t[e + 4 >> 2] = a;
|
6245
6245
|
}
|
6246
6246
|
function Li(e, r, a, i) {
|
6247
|
-
var o = 0, c = 0, h = 0, b = 0,
|
6247
|
+
var o = 0, c = 0, h = 0, b = 0, v = 0, $ = 0, x = 0, V = 0, P = 0, N = n(0), g = n(0), E = n(0), R = 0, S = n(0);
|
6248
6248
|
e: {
|
6249
|
-
if (r == 0 || (N = m[e + 248 >> 2], g = m[e + 244 >> 2], E = m[e + 232 >> 2],
|
6249
|
+
if (r == 0 || (N = m[e + 248 >> 2], g = m[e + 244 >> 2], E = m[e + 232 >> 2], v = +m[e + 228 >> 2], o = j[e + 4 | 0] & 8, c = o >>> 3 | 0, R = e, S = m0(v, r, 0, c), m[R + 228 >> 2] = S, $ = +E, R = e, S = m0($, r, 0, c), m[R + 232 >> 2] = S, x = +g, h = da(x * r), c = h == h & Ye(h) < 1e-4, b = !(c | h != h ? c : Ye(h + -1) < 1e-4), V = +N, h = da(V * r), c = h == h & Ye(h) < 1e-4, P = !(c | h != h ? c : Ye(h + -1) < 1e-4), c = 0, a = v + a, o = (o | 0) != 0, R = e, S = n(m0(a + x, r, o & b, o & !b) - m0(a, r, 0, o)), m[R + 244 >> 2] = S, i = $ + i, R = e, S = n(m0(i + V, r, o & P, o & !P) - m0(i, r, 0, o)), m[R + 248 >> 2] = S, o = t[e + 560 >> 2], b = t[e + 556 >> 2], (o | 0) == (b | 0)))
|
6250
6250
|
break e;
|
6251
6251
|
for (o = o - b >> 2, b = o >>> 0 <= 1 ? 1 : o; o = t[e + 556 >> 2], t[e + 560 >> 2] - o >> 2 >>> 0 > c >>> 0 ? o = t[o + (c << 2) >> 2] : o = 0, Li(o, r, a, i), c = c + 1 | 0, (b | 0) != (c | 0); )
|
6252
6252
|
;
|
@@ -6257,7 +6257,7 @@ var xo = { exports: {} };
|
|
6257
6257
|
e: {
|
6258
6258
|
if (!a || (Z[e | 0] = r, i = e + a | 0, Z[i - 1 | 0] = r, a >>> 0 < 3) || (Z[e + 2 | 0] = r, Z[e + 1 | 0] = r, Z[i - 3 | 0] = r, Z[i - 2 | 0] = r, a >>> 0 < 7) || (Z[e + 3 | 0] = r, Z[i - 4 | 0] = r, a >>> 0 < 9) || (i = 0 - e & 3, o = i + e | 0, r = je(r & 255, 16843009), t[o >> 2] = r, i = a - i & -4, a = i + o | 0, t[a - 4 >> 2] = r, i >>> 0 < 9) || (t[o + 8 >> 2] = r, t[o + 4 >> 2] = r, t[a - 8 >> 2] = r, t[a - 12 >> 2] = r, i >>> 0 < 25) || (t[o + 24 >> 2] = r, t[o + 20 >> 2] = r, t[o + 16 >> 2] = r, t[o + 12 >> 2] = r, t[a - 16 >> 2] = r, t[a - 20 >> 2] = r, t[a - 24 >> 2] = r, t[a - 28 >> 2] = r, h = o & 4 | 24, a = i - h | 0, a >>> 0 < 32))
|
6259
6259
|
break e;
|
6260
|
-
for (i =
|
6260
|
+
for (i = va(r, 0, 1, 1), c = xr, r = o + h | 0; t[r + 24 >> 2] = i, t[r + 28 >> 2] = c, t[r + 16 >> 2] = i, t[r + 20 >> 2] = c, t[r + 8 >> 2] = i, t[r + 12 >> 2] = c, t[r >> 2] = i, t[r + 4 >> 2] = c, r = r + 32 | 0, a = a - 32 | 0, a >>> 0 > 31; )
|
6261
6261
|
;
|
6262
6262
|
}
|
6263
6263
|
return e;
|
@@ -6281,14 +6281,14 @@ var xo = { exports: {} };
|
|
6281
6281
|
}
|
6282
6282
|
function Ms(e, r, a) {
|
6283
6283
|
e = e | 0, r = r | 0, a = a | 0;
|
6284
|
-
var i = 0, o = 0, c = 0, h = 0, b = 0,
|
6285
|
-
i = z - 32 | 0, z = i, o = t[e + 28 >> 2], t[i + 16 >> 2] = o, c = t[e + 20 >> 2], t[i + 28 >> 2] = a, t[i + 24 >> 2] = r, r = c - o | 0, t[i + 20 >> 2] = r, c = r + a | 0,
|
6284
|
+
var i = 0, o = 0, c = 0, h = 0, b = 0, v = 0, $ = 0;
|
6285
|
+
i = z - 32 | 0, z = i, o = t[e + 28 >> 2], t[i + 16 >> 2] = o, c = t[e + 20 >> 2], t[i + 28 >> 2] = a, t[i + 24 >> 2] = r, r = c - o | 0, t[i + 20 >> 2] = r, c = r + a | 0, v = 2, r = i + 16 | 0;
|
6286
6286
|
e: {
|
6287
6287
|
for (; ; ) {
|
6288
6288
|
a: {
|
6289
6289
|
t: {
|
6290
6290
|
r: {
|
6291
|
-
if (!dn(Ns(t[e + 60 >> 2], r | 0,
|
6291
|
+
if (!dn(Ns(t[e + 60 >> 2], r | 0, v | 0, i + 12 | 0) | 0)) {
|
6292
6292
|
if (h = t[i + 12 >> 2], (h | 0) == (c | 0))
|
6293
6293
|
break r;
|
6294
6294
|
if ((h | 0) >= 0)
|
@@ -6301,12 +6301,12 @@ var xo = { exports: {} };
|
|
6301
6301
|
r = t[e + 44 >> 2], t[e + 28 >> 2] = r, t[e + 20 >> 2] = r, t[e + 16 >> 2] = r + t[e + 48 >> 2], e = a;
|
6302
6302
|
break e;
|
6303
6303
|
}
|
6304
|
-
b = t[r + 4 >> 2], $ = b >>> 0 < h >>> 0, o = ($ << 3) + r | 0, b = h - ($ ? b : 0) | 0, t[o >> 2] = b + t[o >> 2], r = ($ ? 12 : 4) + r | 0, t[r >> 2] = t[r >> 2] - b, c = c - h | 0,
|
6304
|
+
b = t[r + 4 >> 2], $ = b >>> 0 < h >>> 0, o = ($ << 3) + r | 0, b = h - ($ ? b : 0) | 0, t[o >> 2] = b + t[o >> 2], r = ($ ? 12 : 4) + r | 0, t[r >> 2] = t[r >> 2] - b, c = c - h | 0, v = v - $ | 0, r = o;
|
6305
6305
|
continue;
|
6306
6306
|
}
|
6307
6307
|
break;
|
6308
6308
|
}
|
6309
|
-
if (t[e + 28 >> 2] = 0, t[e + 16 >> 2] = 0, t[e + 20 >> 2] = 0, t[e >> 2] = t[e >> 2] | 32, e = 0, (
|
6309
|
+
if (t[e + 28 >> 2] = 0, t[e + 16 >> 2] = 0, t[e + 20 >> 2] = 0, t[e >> 2] = t[e >> 2] | 32, e = 0, (v | 0) == 2)
|
6310
6310
|
break e;
|
6311
6311
|
e = a - t[r + 4 >> 2] | 0;
|
6312
6312
|
}
|
@@ -6332,14 +6332,14 @@ var xo = { exports: {} };
|
|
6332
6332
|
return e = (e - c | 0) + 1 | 0, r = ha(e), r ? e = Nr(r, c, e) : e = 0, z = a + 96 | 0, e | 0;
|
6333
6333
|
}
|
6334
6334
|
function Hi(e, r, a, i, o) {
|
6335
|
-
var c = 0, h = 0, b = 0,
|
6335
|
+
var c = 0, h = 0, b = 0, v = 0;
|
6336
6336
|
c = z - 208 | 0, z = c, t[c + 204 >> 2] = a, a = c + 160 | 0, Tr(a, 0, 40), t[c + 200 >> 2] = t[c + 204 >> 2];
|
6337
6337
|
e: {
|
6338
6338
|
if ((Ci(0, r, c + 200 | 0, c + 80 | 0, a, i, o) | 0) < 0) {
|
6339
6339
|
o = -1;
|
6340
6340
|
break e;
|
6341
6341
|
}
|
6342
|
-
|
6342
|
+
v = t[e + 76 >> 2] >= 0, h = t[e >> 2], t[e + 72 >> 2] <= 0 && (t[e >> 2] = h & -33);
|
6343
6343
|
a: {
|
6344
6344
|
t: {
|
6345
6345
|
r: {
|
@@ -6355,23 +6355,23 @@ var xo = { exports: {} };
|
|
6355
6355
|
}
|
6356
6356
|
a = Ci(e, r, c + 200 | 0, c + 80 | 0, c + 160 | 0, i, o);
|
6357
6357
|
}
|
6358
|
-
if (b && (ne[t[e + 36 >> 2]](e, 0, 0) | 0, t[e + 48 >> 2] = 0, t[e + 44 >> 2] = b, t[e + 28 >> 2] = 0, r = t[e + 20 >> 2], t[e + 16 >> 2] = 0, t[e + 20 >> 2] = 0, a = r ? a : -1), r = e, e = t[e >> 2], t[r >> 2] = e | h & 32, o = e & 32 ? -1 : a, !
|
6358
|
+
if (b && (ne[t[e + 36 >> 2]](e, 0, 0) | 0, t[e + 48 >> 2] = 0, t[e + 44 >> 2] = b, t[e + 28 >> 2] = 0, r = t[e + 20 >> 2], t[e + 16 >> 2] = 0, t[e + 20 >> 2] = 0, a = r ? a : -1), r = e, e = t[e >> 2], t[r >> 2] = e | h & 32, o = e & 32 ? -1 : a, !v)
|
6359
6359
|
break e;
|
6360
6360
|
}
|
6361
6361
|
return z = c + 208 | 0, o;
|
6362
6362
|
}
|
6363
6363
|
function $2(e) {
|
6364
|
-
var r = 0, a = n(0), i = 0, o = 0, c = 0, h = 0, b = 0,
|
6364
|
+
var r = 0, a = n(0), i = 0, o = 0, c = 0, h = 0, b = 0, v = n(0), $ = 0;
|
6365
6365
|
c = z - 16 | 0, z = c, r = t[e + 12 >> 2];
|
6366
6366
|
e: {
|
6367
6367
|
if (r) {
|
6368
|
-
|
6368
|
+
v = m[e + 520 >> 2], a = m[e + 516 >> 2];
|
6369
6369
|
a: {
|
6370
6370
|
if (j[e + 4 | 0] & 32) {
|
6371
|
-
a = n(ne[r | 0](e, a,
|
6371
|
+
a = n(ne[r | 0](e, a, v, 0));
|
6372
6372
|
break a;
|
6373
6373
|
}
|
6374
|
-
a = n(ne[r | 0](e, a,
|
6374
|
+
a = n(ne[r | 0](e, a, v));
|
6375
6375
|
}
|
6376
6376
|
if (a == a)
|
6377
6377
|
break e;
|
@@ -6405,7 +6405,7 @@ var xo = { exports: {} };
|
|
6405
6405
|
return z = c + 16 | 0, a;
|
6406
6406
|
}
|
6407
6407
|
function St(e, r, a, i, o, c) {
|
6408
|
-
var h = 0, b = n(0),
|
6408
|
+
var h = 0, b = n(0), v = 0, $ = n(0);
|
6409
6409
|
h = (t[(r << 2) + 4320 >> 2] << 2) + e | 0, b = m[h + 216 >> 2];
|
6410
6410
|
e: {
|
6411
6411
|
a: {
|
@@ -6415,14 +6415,14 @@ var xo = { exports: {} };
|
|
6415
6415
|
break t;
|
6416
6416
|
if ((h | 0) == 2140081935)
|
6417
6417
|
break a;
|
6418
|
-
|
6418
|
+
v = 4336;
|
6419
6419
|
r: {
|
6420
6420
|
if ((h | 0) != 2141891242) {
|
6421
6421
|
if (b == b)
|
6422
6422
|
break r;
|
6423
|
-
|
6423
|
+
v = 4344;
|
6424
6424
|
}
|
6425
|
-
switch ($ = m[
|
6425
|
+
switch ($ = m[v >> 2], b = n(Ae), t[v + 4 >> 2] - 1 | 0) {
|
6426
6426
|
case 0:
|
6427
6427
|
break a;
|
6428
6428
|
case 1:
|
@@ -6737,7 +6737,7 @@ var xo = { exports: {} };
|
|
6737
6737
|
m[e + 20 >> 2] = r == n(0) ? n(0) : r, z = a + 16 | 0;
|
6738
6738
|
}
|
6739
6739
|
function Zi(e, r, a, i, o) {
|
6740
|
-
var c = 0, h = 0, b = n(0),
|
6740
|
+
var c = 0, h = 0, b = n(0), v = 0;
|
6741
6741
|
c = 2, h = t[e + 24 >> 2] >>> 2 & 3;
|
6742
6742
|
e: {
|
6743
6743
|
a: {
|
@@ -6763,12 +6763,12 @@ var xo = { exports: {} };
|
|
6763
6763
|
}
|
6764
6764
|
c = h;
|
6765
6765
|
}
|
6766
|
-
a = cn(e, c, a), i = cn(e, r, i), b = Se(e, c, o), h = e + 228 | 0,
|
6766
|
+
a = cn(e, c, a), i = cn(e, r, i), b = Se(e, c, o), h = e + 228 | 0, v = c << 2, m[h + (t[v + 4288 >> 2] << 2) >> 2] = a + b, b = Ie(e, c, o), m[h + (t[v + 4304 >> 2] << 2) >> 2] = a + b, a = Se(e, r, o), c = r << 2, m[h + (t[c + 4288 >> 2] << 2) >> 2] = i + a, a = Ie(e, r, o), m[h + (t[c + 4304 >> 2] << 2) >> 2] = i + a;
|
6767
6767
|
}
|
6768
6768
|
function Xs(e, r, a, i, o, c) {
|
6769
6769
|
e = e | 0, r = r | 0, a = n(a), i = i | 0, o = n(o), c = c | 0;
|
6770
|
-
var h = 0, b = 0,
|
6771
|
-
h = z - 48 | 0, z = h,
|
6770
|
+
var h = 0, b = 0, v = 0;
|
6771
|
+
h = z - 48 | 0, z = h, v = t[r + 8 >> 2];
|
6772
6772
|
e: {
|
6773
6773
|
if (Z[7052] & 1) {
|
6774
6774
|
r = t[1762];
|
@@ -6776,7 +6776,7 @@ var xo = { exports: {} };
|
|
6776
6776
|
}
|
6777
6777
|
r = _i(5, 4480) | 0, Z[7052] = 1, t[1762] = r;
|
6778
6778
|
}
|
6779
|
-
t[h + 40 >> 2] = c, m[h + 32 >> 2] = o, t[h + 24 >> 2] = i, m[h + 16 >> 2] = a, b = +$s(r | 0,
|
6779
|
+
t[h + 40 >> 2] = c, m[h + 32 >> 2] = o, t[h + 24 >> 2] = i, m[h + 16 >> 2] = a, b = +$s(r | 0, v | 0, 2922, h + 12 | 0, h + 16 | 0);
|
6780
6780
|
e: {
|
6781
6781
|
if (b < 4294967296 & b >= 0) {
|
6782
6782
|
r = ~~b >>> 0;
|
@@ -7350,13 +7350,13 @@ var xo = { exports: {} };
|
|
7350
7350
|
}
|
7351
7351
|
t[e >> 2] = a, Xe[e + 8 >> 3] = i;
|
7352
7352
|
}
|
7353
|
-
function
|
7353
|
+
function v0(e) {
|
7354
7354
|
var r = 0, a = n(0);
|
7355
7355
|
r = 2143289344;
|
7356
7356
|
e: {
|
7357
7357
|
if (n(Ye(e)) == n(gi) | e != e || (r = 2139156720, e < n(10842021724855044e-35) & e > n(-10842021724855044e-35) | e == n(0)))
|
7358
7358
|
break e;
|
7359
|
-
a = (ie(2, (Gr(e),
|
7359
|
+
a = (ie(2, (Gr(e), ve(2) & -2147483648 | 1602224127)), ue()), r = (Gr(e > n(18446742974197924e3) || e < n(-18446742974197924e3) ? a : e), ve(2) - 536870912 | 1073741824);
|
7360
7360
|
}
|
7361
7361
|
return r;
|
7362
7362
|
}
|
@@ -7366,7 +7366,7 @@ var xo = { exports: {} };
|
|
7366
7366
|
e: {
|
7367
7367
|
if (n(Ye(e)) == n(gi) | e != e || (r = 2140081935, e < n(10842021724855044e-35) & e > n(-10842021724855044e-35) | e == n(0)))
|
7368
7368
|
break e;
|
7369
|
-
a = (ie(2, (Gr(e),
|
7369
|
+
a = (ie(2, (Gr(e), ve(2) & -2147483648 | 1610612735)), ue()), r = (Gr(e > n(36893485948395848e3) || e < n(-36893485948395848e3) ? a : e), ve(2) - 536870912 | 0);
|
7370
7370
|
}
|
7371
7371
|
return r;
|
7372
7372
|
}
|
@@ -7477,7 +7477,7 @@ var xo = { exports: {} };
|
|
7477
7477
|
i = e;
|
7478
7478
|
break e;
|
7479
7479
|
}
|
7480
|
-
for (; i = Ii(e, r, 10), o = xr, e =
|
7480
|
+
for (; i = Ii(e, r, 10), o = xr, e = va(i, o, 246, 0) + e | 0, a = a - 1 | 0, Z[a | 0] = e | 48, c = r >>> 0 > 9, e = i, r = o, !!c; )
|
7481
7481
|
;
|
7482
7482
|
}
|
7483
7483
|
if (i)
|
@@ -7555,7 +7555,7 @@ var xo = { exports: {} };
|
|
7555
7555
|
}
|
7556
7556
|
}
|
7557
7557
|
}
|
7558
|
-
function
|
7558
|
+
function v1(e, r) {
|
7559
7559
|
e = e | 0, r = +r;
|
7560
7560
|
var a = 0, i = n(0), o = n(0);
|
7561
7561
|
e: {
|
@@ -7569,7 +7569,7 @@ var xo = { exports: {} };
|
|
7569
7569
|
}
|
7570
7570
|
}
|
7571
7571
|
}
|
7572
|
-
function
|
7572
|
+
function y1(e, r) {
|
7573
7573
|
e = e | 0, r = +r;
|
7574
7574
|
var a = 0, i = n(0), o = n(0);
|
7575
7575
|
e: {
|
@@ -7663,7 +7663,7 @@ var xo = { exports: {} };
|
|
7663
7663
|
}
|
7664
7664
|
function ji(e, r) {
|
7665
7665
|
var a = 0, i = 0, o = 0;
|
7666
|
-
if (br(+e), i =
|
7666
|
+
if (br(+e), i = ve(1) | 0, o = ve(0) | 0, a = i >>> 20 & 2047, (a | 0) != 2047) {
|
7667
7667
|
if (!a)
|
7668
7668
|
return e == 0 ? a = 0 : (e = ji(e * 18446744073709552e3, r), a = t[r >> 2] + -64 | 0), t[r >> 2] = a, e;
|
7669
7669
|
t[r >> 2] = a - 1022, ie(0, o | 0), ie(1, i & -2146435073 | 1071644672), e = +Oe();
|
@@ -7795,9 +7795,9 @@ var xo = { exports: {} };
|
|
7795
7795
|
}
|
7796
7796
|
return (e | 0) == 2139156720 | (e | 0) == 2140081935 | (e | 0) == 2141891242 ? e = 1 : (i = (ie(2, e), ue()), e = i == i), e;
|
7797
7797
|
}
|
7798
|
-
function
|
7799
|
-
var o = 0, c = 0, h = 0, b = 0,
|
7800
|
-
return o = a >>> 16 | 0, c = e >>> 16 | 0, $ = je(o, c), h = a & 65535, b = e & 65535,
|
7798
|
+
function va(e, r, a, i) {
|
7799
|
+
var o = 0, c = 0, h = 0, b = 0, v = 0, $ = 0;
|
7800
|
+
return o = a >>> 16 | 0, c = e >>> 16 | 0, $ = je(o, c), h = a & 65535, b = e & 65535, v = je(h, b), c = (v >>> 16 | 0) + je(c, h) | 0, o = (c & 65535) + je(o, b) | 0, xr = (je(r, a) + $ | 0) + je(e, i) + (c >>> 16) + (o >>> 16) | 0, v & 65535 | o << 16;
|
7801
7801
|
}
|
7802
7802
|
function Qi(e, r) {
|
7803
7803
|
var a = 0, i = 0, o = 0;
|
@@ -7840,7 +7840,7 @@ var xo = { exports: {} };
|
|
7840
7840
|
}
|
7841
7841
|
z = c + 256 | 0;
|
7842
7842
|
}
|
7843
|
-
function
|
7843
|
+
function ot(e, r, a) {
|
7844
7844
|
var i = 0, o = n(0);
|
7845
7845
|
e: {
|
7846
7846
|
if ((a & -2) == 2 && (i = r - -64 | 0, o = m[i >> 2], i = t[i >> 2], (i | 0) == 2139156720 | (i | 0) == 2140081935 | (i | 0) == 2141891242 | o == o))
|
@@ -7849,7 +7849,7 @@ var xo = { exports: {} };
|
|
7849
7849
|
}
|
7850
7850
|
Mi(e, i);
|
7851
7851
|
}
|
7852
|
-
function
|
7852
|
+
function st(e, r, a) {
|
7853
7853
|
var i = 0, o = n(0);
|
7854
7854
|
e: {
|
7855
7855
|
if ((a & -2) == 2 && (i = t[r + 60 >> 2], o = m[r + 60 >> 2], (i | 0) == 2139156720 | (i | 0) == 2140081935 | (i | 0) == 2141891242 | o == o))
|
@@ -7995,16 +7995,16 @@ var xo = { exports: {} };
|
|
7995
7995
|
var i = 0;
|
7996
7996
|
i = t[e >> 2], e = t[e + 4 >> 2], r = (e >> 1) + r | 0, e & 1 && (i = t[i + t[r >> 2] >> 2]), ne[i | 0](r, a);
|
7997
7997
|
}
|
7998
|
-
function
|
7998
|
+
function ft(e, r) {
|
7999
7999
|
e = e | 0, r = r | 0;
|
8000
8000
|
var a = 0;
|
8001
8001
|
return a = t[e >> 2], e = t[e + 4 >> 2], r = (e >> 1) + r | 0, e & 1 && (a = t[a + t[r >> 2] >> 2]), ne[a | 0](r) | 0;
|
8002
8002
|
}
|
8003
|
-
function
|
8004
|
-
return Gr(e), (
|
8003
|
+
function ya(e, r) {
|
8004
|
+
return Gr(e), (ve(2) & 2147483647) >>> 0 <= 2139095040 ? (Gr(r), (ve(2) & 2147483647) >>> 0 > 2139095040 ? e : n(gs(e, r))) : r;
|
8005
8005
|
}
|
8006
8006
|
function $e(e, r) {
|
8007
|
-
return Gr(e), (
|
8007
|
+
return Gr(e), (ve(2) & 2147483647) >>> 0 <= 2139095040 ? (Gr(r), (ve(2) & 2147483647) >>> 0 > 2139095040 ? e : n(_s(e, r))) : r;
|
8008
8008
|
}
|
8009
8009
|
function tn(e, r) {
|
8010
8010
|
e = e | 0, r = r | 0;
|
@@ -8176,7 +8176,7 @@ var xo = { exports: {} };
|
|
8176
8176
|
e = e | 0, r = r | 0, a = +a, ma(t[e >> 2], r, r0(n(a)));
|
8177
8177
|
}
|
8178
8178
|
function hf(e, r, a) {
|
8179
|
-
e = e | 0, r = r | 0, a = +a, ma(t[e >> 2], r,
|
8179
|
+
e = e | 0, r = r | 0, a = +a, ma(t[e >> 2], r, v0(n(a)));
|
8180
8180
|
}
|
8181
8181
|
function df(e, r, a, i) {
|
8182
8182
|
return xr = 0, 0;
|
@@ -8185,24 +8185,24 @@ var xo = { exports: {} };
|
|
8185
8185
|
e = e | 0, r = r | 0, a = +a, zi(t[e >> 2], r, r0(n(a)));
|
8186
8186
|
}
|
8187
8187
|
function pf(e, r, a) {
|
8188
|
-
e = e | 0, r = r | 0, a = +a, zi(t[e >> 2], r,
|
8188
|
+
e = e | 0, r = r | 0, a = +a, zi(t[e >> 2], r, v0(n(a)));
|
8189
8189
|
}
|
8190
8190
|
function Af(e, r, a) {
|
8191
8191
|
e = e | 0, r = r | 0, a = +a, Yi(t[e >> 2], r, r0(n(a)));
|
8192
8192
|
}
|
8193
8193
|
function kf(e, r, a) {
|
8194
|
-
e = e | 0, r = r | 0, a = +a, Yi(t[e >> 2], r,
|
8194
|
+
e = e | 0, r = r | 0, a = +a, Yi(t[e >> 2], r, v0(n(a)));
|
8195
8195
|
}
|
8196
8196
|
function mf(e, r, a) {
|
8197
8197
|
e = e | 0, r = r | 0, a = a | 0, t[t[e >> 2] + r >> 2] = a;
|
8198
8198
|
}
|
8199
|
-
function
|
8199
|
+
function vf(e, r) {
|
8200
8200
|
e = e | 0, r = r | 0, ma(t[e >> 2], r, 2141891242);
|
8201
8201
|
}
|
8202
8202
|
function _a(e, r, a) {
|
8203
8203
|
e = e | 0, r = r | 0, a = +a, Xe[t[e >> 2] + r >> 3] = a;
|
8204
8204
|
}
|
8205
|
-
function
|
8205
|
+
function yf(e) {
|
8206
8206
|
return e = e | 0, (j[t[e >> 2] + 4 | 0] & 2) >>> 1 | 0;
|
8207
8207
|
}
|
8208
8208
|
function gf(e) {
|
@@ -8239,13 +8239,13 @@ var xo = { exports: {} };
|
|
8239
8239
|
e = e | 0, r = +r, Ct(t[e >> 2], 0, r0(n(r)));
|
8240
8240
|
}
|
8241
8241
|
function Nf(e, r) {
|
8242
|
-
e = e | 0, r = +r, Ct(t[e >> 2], 0,
|
8242
|
+
e = e | 0, r = +r, Ct(t[e >> 2], 0, v0(n(r)));
|
8243
8243
|
}
|
8244
8244
|
function Tf(e, r) {
|
8245
8245
|
e = e | 0, r = +r, Ct(t[e >> 2], 1, r0(n(r)));
|
8246
8246
|
}
|
8247
8247
|
function Of(e, r) {
|
8248
|
-
e = e | 0, r = +r, Ct(t[e >> 2], 1,
|
8248
|
+
e = e | 0, r = +r, Ct(t[e >> 2], 1, v0(n(r)));
|
8249
8249
|
}
|
8250
8250
|
function If(e, r) {
|
8251
8251
|
e = e | 0, r = r | 0, t[e + 4 >> 2] = 7, t[e >> 2] = r;
|
@@ -8254,13 +8254,13 @@ var xo = { exports: {} };
|
|
8254
8254
|
e = e | 0, r = +r, R2(t[e >> 2], 0, r0(n(r)));
|
8255
8255
|
}
|
8256
8256
|
function Wf(e, r) {
|
8257
|
-
e = e | 0, r = +r, R2(t[e >> 2], 0,
|
8257
|
+
e = e | 0, r = +r, R2(t[e >> 2], 0, v0(n(r)));
|
8258
8258
|
}
|
8259
8259
|
function Uf(e, r) {
|
8260
8260
|
e = e | 0, r = +r, R2(t[e >> 2], 1, r0(n(r)));
|
8261
8261
|
}
|
8262
8262
|
function Gf(e, r) {
|
8263
|
-
e = e | 0, r = +r, R2(t[e >> 2], 1,
|
8263
|
+
e = e | 0, r = +r, R2(t[e >> 2], 1, v0(n(r)));
|
8264
8264
|
}
|
8265
8265
|
function Lf(e, r) {
|
8266
8266
|
e = e | 0, r = +r, S2(t[e >> 2], 0, r0(n(r)));
|
@@ -8269,7 +8269,7 @@ var xo = { exports: {} };
|
|
8269
8269
|
e = e | 0, r = +r, S2(t[e >> 2], 1, r0(n(r)));
|
8270
8270
|
}
|
8271
8271
|
function Vf(e, r) {
|
8272
|
-
e = e | 0, r = +r, S2(t[e >> 2], 1,
|
8272
|
+
e = e | 0, r = +r, S2(t[e >> 2], 1, v0(n(r)));
|
8273
8273
|
}
|
8274
8274
|
function Zf(e) {
|
8275
8275
|
return e = e | 0, t[t[e >> 2] + 24 >> 2] >>> 7 & 7;
|
@@ -8284,7 +8284,7 @@ var xo = { exports: {} };
|
|
8284
8284
|
e = e | 0, e && ne[t[t[e >> 2] + 4 >> 2]](e);
|
8285
8285
|
}
|
8286
8286
|
function Df(e, r) {
|
8287
|
-
e = e | 0, r = +r, S2(t[e >> 2], 0,
|
8287
|
+
e = e | 0, r = +r, S2(t[e >> 2], 0, v0(n(r)));
|
8288
8288
|
}
|
8289
8289
|
function dn(e) {
|
8290
8290
|
return e ? (t[1781] = e, -1) : 0;
|
@@ -8293,7 +8293,7 @@ var xo = { exports: {} };
|
|
8293
8293
|
e = e | 0, r = +r, ka(t[e >> 2], r0(n(r)));
|
8294
8294
|
}
|
8295
8295
|
function jf(e, r) {
|
8296
|
-
e = e | 0, r = +r, ka(t[e >> 2],
|
8296
|
+
e = e | 0, r = +r, ka(t[e >> 2], v0(n(r)));
|
8297
8297
|
}
|
8298
8298
|
function bn(e, r, a) {
|
8299
8299
|
return n(Se(e, r, a) + Ie(e, r, a));
|
@@ -8373,7 +8373,7 @@ var xo = { exports: {} };
|
|
8373
8373
|
function mn(e) {
|
8374
8374
|
return e = e | 0, ne[e | 0]() | 0;
|
8375
8375
|
}
|
8376
|
-
function
|
8376
|
+
function vn(e, r) {
|
8377
8377
|
e = e | 0, r = r | 0, ne[e | 0](r);
|
8378
8378
|
}
|
8379
8379
|
function pc() {
|
@@ -8397,10 +8397,10 @@ var xo = { exports: {} };
|
|
8397
8397
|
function mc(e) {
|
8398
8398
|
return 7036;
|
8399
8399
|
}
|
8400
|
-
function
|
8400
|
+
function vc(e) {
|
8401
8401
|
return 7056;
|
8402
8402
|
}
|
8403
|
-
function
|
8403
|
+
function yc(e) {
|
8404
8404
|
return 7059;
|
8405
8405
|
}
|
8406
8406
|
function gc(e) {
|
@@ -8412,7 +8412,7 @@ var xo = { exports: {} };
|
|
8412
8412
|
function f0(e) {
|
8413
8413
|
return e = e | 0, e | 0;
|
8414
8414
|
}
|
8415
|
-
function
|
8415
|
+
function yn(e) {
|
8416
8416
|
e = e | 0, Z[e + 4 | 0] = 1;
|
8417
8417
|
}
|
8418
8418
|
function wc(e) {
|
@@ -8434,7 +8434,7 @@ var xo = { exports: {} };
|
|
8434
8434
|
H0(), Re();
|
8435
8435
|
}
|
8436
8436
|
w = j, Q();
|
8437
|
-
var ne = _([null, V1, Ws, Ls, f0, If, _f, wf, f0, f0, f0, f0, f0, f0, P1, lf, Pi, kc, C2, c1, mc, f0, f0, C2,
|
8437
|
+
var ne = _([null, V1, Ws, Ls, f0, If, _f, wf, f0, f0, f0, f0, f0, f0, P1, lf, Pi, kc, C2, c1, mc, f0, f0, C2, yn, An, tn, Y1, js, F1, vc, C2, on, yc, f0, f0, C2, yn, An, tn, Q1, D1, gc, un, mn, C1, vn, un, I1, en, Ds, L1, sf, M0, Yf, M0, cf, ef, rn, Qf, ft, sc, ft, fc, pc, Ea, K1, Ea, tf, Ea, wa, _a, Cf, mf, _c, Wi, mn, Ac, zf, dc, vn, Wi, Zs, on, Gs, M0, A1, M0, Af, U1, kf, cc, lc, uc, _1, p1, g1, uf, hf, vf, d1, b1, m1, H1, Xf, jf, hc, v1, y1, xf, Nf, qf, Tf, Of, Kf, Bf, Wf, Uf, Gf, Lf, Df, Hf, Vf, k1, l1, bf, pf, u1, Jf, ft, Qs, E1, Zf, Ef, $f, Mf, Rf, Ff, Js, s1, R1, of, Z1, X1, Ks, e1, r1, t1, a1, qs, af, h1, G1, Sf, Pf, Ys, f1, W1, Hs, en, Vs, M0, ff, ft, nf, ft, O1, rn, yf, ft, w1, M0, j1, M0, q1, M1, M0, z1, $1, gf, ft, Us, B1, ec, rc, tc, ac, ic, nc, x1, N1, i1, n1, o1, wa, _a, wa, _a, Ui, fn, Ec, Xs, gn, _n, sn, wc, bc, gn, oc, Ms, T1, $c, df, zs, _n]);
|
8438
8438
|
function wn() {
|
8439
8439
|
return Cr.byteLength / 65536 | 0;
|
8440
8440
|
}
|
@@ -8443,7 +8443,7 @@ var xo = { exports: {} };
|
|
8443
8443
|
var r = wn() | 0, a = r + e | 0;
|
8444
8444
|
if (r < a && a < 65536) {
|
8445
8445
|
var i = new ArrayBuffer(je(a, 65536)), o = new Int8Array(i);
|
8446
|
-
o.set(Z), Z = new Int8Array(i), p0 = new Int16Array(i), t = new Int32Array(i), j = new Uint8Array(i), $t = new Uint16Array(i),
|
8446
|
+
o.set(Z), Z = new Int8Array(i), p0 = new Int16Array(i), t = new Int32Array(i), j = new Uint8Array(i), $t = new Uint16Array(i), yi = new Uint32Array(i), m = new Float32Array(i), Xe = new Float64Array(i), Cr = i, jr.buffer = Cr, w = j;
|
8447
8447
|
}
|
8448
8448
|
return r;
|
8449
8449
|
}
|
@@ -8474,16 +8474,16 @@ var xo = { exports: {} };
|
|
8474
8474
|
}
|
8475
8475
|
return w;
|
8476
8476
|
}
|
8477
|
-
var ur, a0, er, u0, Br, Kr, sr,
|
8477
|
+
var ur, a0, er, u0, Br, Kr, sr, yr, it;
|
8478
8478
|
function i0(A) {
|
8479
|
-
ur = A, p.HEAP8 = a0 = new Int8Array(A), p.HEAP16 = u0 = new Int16Array(A), p.HEAP32 = Kr = new Int32Array(A), p.HEAPU8 = er = new Uint8Array(A), p.HEAPU16 = Br = new Uint16Array(A), p.HEAPU32 = sr = new Uint32Array(A), p.HEAPF32 =
|
8479
|
+
ur = A, p.HEAP8 = a0 = new Int8Array(A), p.HEAP16 = u0 = new Int16Array(A), p.HEAP32 = Kr = new Int32Array(A), p.HEAPU8 = er = new Uint8Array(A), p.HEAPU16 = Br = new Uint16Array(A), p.HEAPU32 = sr = new Uint32Array(A), p.HEAPF32 = yr = new Float32Array(A), p.HEAPF64 = it = new Float64Array(A);
|
8480
8480
|
}
|
8481
8481
|
var W = p.INITIAL_MEMORY || 16777216;
|
8482
8482
|
p.wasmMemory ? qr = p.wasmMemory : qr = new Te(), qr && (ur = qr.buffer), W = ur.byteLength, i0(ur);
|
8483
|
-
var q,
|
8483
|
+
var q, ye = [], C = [], B = [];
|
8484
8484
|
function X() {
|
8485
8485
|
var A = p.preRun.shift();
|
8486
|
-
|
8486
|
+
ye.unshift(A);
|
8487
8487
|
}
|
8488
8488
|
var se = 0, fe = null;
|
8489
8489
|
function be(A) {
|
@@ -8572,10 +8572,10 @@ var xo = { exports: {} };
|
|
8572
8572
|
var k = De.length ? De.pop() : ge.length;
|
8573
8573
|
return ge[k] = { fa: 1, value: A }, k;
|
8574
8574
|
}
|
8575
|
-
}, h0 = void 0,
|
8575
|
+
}, h0 = void 0, vt = void 0;
|
8576
8576
|
function tr(A) {
|
8577
8577
|
for (var k = ""; er[A]; )
|
8578
|
-
k +=
|
8578
|
+
k += vt[er[A++]];
|
8579
8579
|
return k;
|
8580
8580
|
}
|
8581
8581
|
var d0 = [];
|
@@ -8593,7 +8593,7 @@ var xo = { exports: {} };
|
|
8593
8593
|
}
|
8594
8594
|
var or = {};
|
8595
8595
|
function n0(A) {
|
8596
|
-
A =
|
8596
|
+
A = ys(A);
|
8597
8597
|
var k = tr(A);
|
8598
8598
|
return L0(A), k;
|
8599
8599
|
}
|
@@ -8604,7 +8604,7 @@ var xo = { exports: {} };
|
|
8604
8604
|
function _r() {
|
8605
8605
|
}
|
8606
8606
|
var R0 = !1;
|
8607
|
-
function
|
8607
|
+
function yt(A) {
|
8608
8608
|
--A.count.value, A.count.value === 0 && (A.S ? A.T.V(A.S) : A.O.M.V(A.N));
|
8609
8609
|
}
|
8610
8610
|
function gt(A, k, _) {
|
@@ -8623,7 +8623,7 @@ var xo = { exports: {} };
|
|
8623
8623
|
}
|
8624
8624
|
function _t(A) {
|
8625
8625
|
return typeof FinalizationRegistry > "u" ? (_t = (k) => k, A) : (R0 = new FinalizationRegistry((k) => {
|
8626
|
-
|
8626
|
+
yt(k.L);
|
8627
8627
|
}), _t = (k) => {
|
8628
8628
|
var _ = k.L;
|
8629
8629
|
return _.S && R0.register(k, { L: _ }, k), k;
|
@@ -8783,16 +8783,16 @@ var xo = { exports: {} };
|
|
8783
8783
|
Q = !0;
|
8784
8784
|
break;
|
8785
8785
|
}
|
8786
|
-
var ee = k[0].name !== "void", re = F - 2, le = Array(re), pe = [],
|
8786
|
+
var ee = k[0].name !== "void", re = F - 2, le = Array(re), pe = [], ve = [];
|
8787
8787
|
return function() {
|
8788
|
-
if (arguments.length !== re && he("function " + A + " called with " + arguments.length + " arguments, expected " + re + " args!"),
|
8789
|
-
var ie = k[1].toWireType(
|
8788
|
+
if (arguments.length !== re && he("function " + A + " called with " + arguments.length + " arguments, expected " + re + " args!"), ve.length = 0, pe.length = L ? 2 : 1, pe[0] = I, L) {
|
8789
|
+
var ie = k[1].toWireType(ve, this);
|
8790
8790
|
pe[1] = ie;
|
8791
8791
|
}
|
8792
8792
|
for (var Oe = 0; Oe < re; ++Oe)
|
8793
|
-
le[Oe] = k[Oe + 2].toWireType(
|
8793
|
+
le[Oe] = k[Oe + 2].toWireType(ve, arguments[Oe]), pe.push(le[Oe]);
|
8794
8794
|
if (Oe = w.apply(null, pe), Q)
|
8795
|
-
ea(
|
8795
|
+
ea(ve);
|
8796
8796
|
else
|
8797
8797
|
for (var br = L ? 1 : 2; br < k.length; br++) {
|
8798
8798
|
var Re = br === 1 ? ie : le[br - 2];
|
@@ -8819,11 +8819,11 @@ var xo = { exports: {} };
|
|
8819
8819
|
switch (k) {
|
8820
8820
|
case 2:
|
8821
8821
|
return function(_) {
|
8822
|
-
return this.fromWireType(
|
8822
|
+
return this.fromWireType(yr[_ >> 2]);
|
8823
8823
|
};
|
8824
8824
|
case 3:
|
8825
8825
|
return function(_) {
|
8826
|
-
return this.fromWireType(
|
8826
|
+
return this.fromWireType(it[_ >> 3]);
|
8827
8827
|
};
|
8828
8828
|
default:
|
8829
8829
|
throw new TypeError("Unknown float type: " + A);
|
@@ -8912,10 +8912,10 @@ var xo = { exports: {} };
|
|
8912
8912
|
var k = bs[A];
|
8913
8913
|
return k === void 0 ? tr(A) : k;
|
8914
8914
|
}
|
8915
|
-
var
|
8915
|
+
var v2 = [];
|
8916
8916
|
function ps(A) {
|
8917
|
-
var k =
|
8918
|
-
return
|
8917
|
+
var k = v2.length;
|
8918
|
+
return v2.push(A), k;
|
8919
8919
|
}
|
8920
8920
|
function As(A, k) {
|
8921
8921
|
for (var _ = Array(A), w = 0; w < A; ++w)
|
@@ -8933,9 +8933,9 @@ var xo = { exports: {} };
|
|
8933
8933
|
return ge[A];
|
8934
8934
|
return null;
|
8935
8935
|
}, h0 = p.PureVirtualError = Le("PureVirtualError");
|
8936
|
-
for (var ki = Array(256),
|
8937
|
-
ki[
|
8938
|
-
|
8936
|
+
for (var ki = Array(256), y2 = 0; 256 > y2; ++y2)
|
8937
|
+
ki[y2] = String.fromCharCode(y2);
|
8938
|
+
vt = ki, p.getInheritedInstanceCount = function() {
|
8939
8939
|
return Object.keys(Pr).length;
|
8940
8940
|
}, p.getLiveInheritedInstances = function() {
|
8941
8941
|
var A = [], k;
|
@@ -8959,7 +8959,7 @@ var xo = { exports: {} };
|
|
8959
8959
|
var A = _t, k = Object, _ = k.create, w = Object.getPrototypeOf(this), I = this.L;
|
8960
8960
|
return A = A(_.call(k, w, { L: { value: { count: I.count, Z: I.Z, $: I.$, N: I.N, O: I.O, S: I.S, T: I.T } } })), A.L.count.value += 1, A.L.Z = !1, A;
|
8961
8961
|
}, G0.prototype.delete = function() {
|
8962
|
-
this.L.N || ta(this), this.L.Z && !this.L.$ && he("Object already scheduled for deletion"), _r(this),
|
8962
|
+
this.L.N || ta(this), this.L.Z && !this.L.$ && he("Object already scheduled for deletion"), _r(this), yt(this.L), this.L.$ || (this.L.S = void 0, this.L.N = void 0);
|
8963
8963
|
}, G0.prototype.isDeleted = function() {
|
8964
8964
|
return !this.L.N;
|
8965
8965
|
}, G0.prototype.deleteLater = function() {
|
@@ -8996,7 +8996,7 @@ var xo = { exports: {} };
|
|
8996
8996
|
k += String.fromCharCode(w), F !== 64 && (k += String.fromCharCode(I)), L !== 64 && (k += String.fromCharCode(Q));
|
8997
8997
|
} while (_ < A.length);
|
8998
8998
|
return k;
|
8999
|
-
},
|
8999
|
+
}, vs = {
|
9000
9000
|
q: function(A, k, _) {
|
9001
9001
|
A = tr(A), k = d2(k, "wrapper"), _ = Sr(_);
|
9002
9002
|
var w = [].slice, I = k.M, F = I.W, L = I.P.W, Q = I.P.constructor;
|
@@ -9027,8 +9027,8 @@ var xo = { exports: {} };
|
|
9027
9027
|
U0([A], F, (L) => {
|
9028
9028
|
var Q = {};
|
9029
9029
|
return I.forEach((ee, re) => {
|
9030
|
-
var le = L[re], pe = ee.qa,
|
9031
|
-
Q[ee.na] = { read: (Re) => le.fromWireType(pe(
|
9030
|
+
var le = L[re], pe = ee.qa, ve = ee.ra, ie = L[re + I.length], Oe = ee.xa, br = ee.za;
|
9031
|
+
Q[ee.na] = { read: (Re) => le.fromWireType(pe(ve, Re)), write: (Re, Gr) => {
|
9032
9032
|
var ue = [];
|
9033
9033
|
Oe(br, Re, ie.toWireType(ue, Gr)), ea(ue);
|
9034
9034
|
} };
|
@@ -9068,8 +9068,8 @@ var xo = { exports: {} };
|
|
9068
9068
|
return this.fromWireType(Q[L >> F]);
|
9069
9069
|
}, U: null });
|
9070
9070
|
},
|
9071
|
-
g: function(A, k, _, w, I, F, L, Q, ee, re, le, pe,
|
9072
|
-
le = tr(le), F = s0(I, F), Q && (Q = s0(L, Q)), re && (re = s0(ee, re)),
|
9071
|
+
g: function(A, k, _, w, I, F, L, Q, ee, re, le, pe, ve) {
|
9072
|
+
le = tr(le), F = s0(I, F), Q && (Q = s0(L, Q)), re && (re = s0(ee, re)), ve = s0(pe, ve);
|
9073
9073
|
var ie = Wr(le);
|
9074
9074
|
Ko(ie, function() {
|
9075
9075
|
m2("Cannot construct " + le + " due to unbound types", [w]);
|
@@ -9090,7 +9090,7 @@ var xo = { exports: {} };
|
|
9090
9090
|
});
|
9091
9091
|
var Gr = Object.create(Re, { constructor: { value: Oe } });
|
9092
9092
|
Oe.prototype = Gr;
|
9093
|
-
var ue = new es(le, Oe, Gr,
|
9093
|
+
var ue = new es(le, Oe, Gr, ve, br, F, Q, re);
|
9094
9094
|
br = new P0(le, ue, !0, !1), Re = new P0(le + "*", ue, !1, !1);
|
9095
9095
|
var _2 = new P0(le + " const*", ue, !1, !0);
|
9096
9096
|
return o0[A] = { pointerType: Re, ka: _2 }, is(ie, Oe), [br, Re, _2];
|
@@ -9106,8 +9106,8 @@ var xo = { exports: {} };
|
|
9106
9106
|
var le = ee.name + "." + k;
|
9107
9107
|
k.startsWith("@@") && (k = Symbol[k.substring(2)]);
|
9108
9108
|
var pe = ee.M.constructor;
|
9109
|
-
return pe[k] === void 0 ? (re.Y = _ - 1, pe[k] = re) : (aa(pe, k, le), pe[k].R[_ - 1] = re), U0([], Q, function(
|
9110
|
-
return
|
9109
|
+
return pe[k] === void 0 ? (re.Y = _ - 1, pe[k] = re) : (aa(pe, k, le), pe[k].R[_ - 1] = re), U0([], Q, function(ve) {
|
9110
|
+
return ve = na(le, [ve[0], null].concat(ve.slice(1)), null, F, L), pe[k].R === void 0 ? (ve.Y = _ - 1, pe[k] = ve) : pe[k].R[_ - 1] = ve, [];
|
9111
9111
|
}), [];
|
9112
9112
|
});
|
9113
9113
|
},
|
@@ -9135,9 +9135,9 @@ var xo = { exports: {} };
|
|
9135
9135
|
re = re[0];
|
9136
9136
|
var pe = re.name + "." + k;
|
9137
9137
|
k.startsWith("@@") && (k = Symbol[k.substring(2)]), Q && re.M.ia.push(k);
|
9138
|
-
var
|
9139
|
-
return ie === void 0 || ie.R === void 0 && ie.className !== re.name && ie.Y === _ - 2 ? (le.Y = _ - 2, le.className = re.name,
|
9140
|
-
return Oe = na(pe, Oe, re, F, L),
|
9138
|
+
var ve = re.M.W, ie = ve[k];
|
9139
|
+
return ie === void 0 || ie.R === void 0 && ie.className !== re.name && ie.Y === _ - 2 ? (le.Y = _ - 2, le.className = re.name, ve[k] = le) : (aa(ve, k, pe), ve[k].R[_ - 2] = le), U0([], ee, function(Oe) {
|
9140
|
+
return Oe = na(pe, Oe, re, F, L), ve[k].R === void 0 ? (Oe.Y = _ - 2, ve[k] = Oe) : ve[k].R[_ - 2] = Oe, [];
|
9141
9141
|
}), [];
|
9142
9142
|
});
|
9143
9143
|
},
|
@@ -9282,9 +9282,9 @@ var xo = { exports: {} };
|
|
9282
9282
|
S0(A, {
|
9283
9283
|
name: _,
|
9284
9284
|
fromWireType: function(ee) {
|
9285
|
-
for (var re = sr[ee >> 2], le = L(), pe,
|
9285
|
+
for (var re = sr[ee >> 2], le = L(), pe, ve = ee + 4, ie = 0; ie <= re; ++ie) {
|
9286
9286
|
var Oe = ee + 4 + ie * k;
|
9287
|
-
(ie == re || le[Oe >> Q] == 0) && (
|
9287
|
+
(ie == re || le[Oe >> Q] == 0) && (ve = w(ve, Oe - ve), pe === void 0 ? pe = ve : (pe += String.fromCharCode(0), pe += ve), ve = Oe + k);
|
9288
9288
|
}
|
9289
9289
|
return L0(ee), pe;
|
9290
9290
|
},
|
@@ -9312,12 +9312,12 @@ var xo = { exports: {} };
|
|
9312
9312
|
} });
|
9313
9313
|
},
|
9314
9314
|
t: function(A, k, _, w, I) {
|
9315
|
-
A =
|
9315
|
+
A = v2[A], k = Sr(k), _ = pi(_);
|
9316
9316
|
var F = [];
|
9317
9317
|
return sr[w >> 2] = Ur(F), A(k, _, F, I);
|
9318
9318
|
},
|
9319
9319
|
u: function(A, k, _, w) {
|
9320
|
-
A =
|
9320
|
+
A = v2[A], k = Sr(k), _ = pi(_), A(k, _, null, w);
|
9321
9321
|
},
|
9322
9322
|
h: sa,
|
9323
9323
|
m: function(A, k) {
|
@@ -9400,7 +9400,7 @@ var xo = { exports: {} };
|
|
9400
9400
|
function A(_) {
|
9401
9401
|
p.asm = _.exports, q = p.asm.I, C.unshift(p.asm.E), se--, p.monitorRunDependencies && p.monitorRunDependencies(se), se == 0 && fe && (_ = fe, fe = null, _());
|
9402
9402
|
}
|
9403
|
-
var k = { a:
|
9403
|
+
var k = { a: vs };
|
9404
9404
|
if (se++, p.monitorRunDependencies && p.monitorRunDependencies(se), p.instantiateWasm)
|
9405
9405
|
try {
|
9406
9406
|
return p.instantiateWasm(k, A);
|
@@ -9410,18 +9410,18 @@ var xo = { exports: {} };
|
|
9410
9410
|
return k = dr(k), A(k[0]), p.asm;
|
9411
9411
|
}();
|
9412
9412
|
p.___wasm_call_ctors = Et.E;
|
9413
|
-
var
|
9413
|
+
var ys = p.___getTypeName = Et.F;
|
9414
9414
|
p.__embind_initialize_bindings = Et.G;
|
9415
9415
|
var mi = p._malloc = Et.H, L0 = p._free = Et.J;
|
9416
9416
|
p.dynCall_jiji = Et.K;
|
9417
9417
|
var g2;
|
9418
9418
|
fe = function A() {
|
9419
|
-
g2 ||
|
9419
|
+
g2 || vi(), g2 || (fe = A);
|
9420
9420
|
};
|
9421
|
-
function
|
9421
|
+
function vi() {
|
9422
9422
|
function A() {
|
9423
9423
|
if (!g2 && (g2 = !0, p.calledRun = !0, !mt)) {
|
9424
|
-
if (gr(C),
|
9424
|
+
if (gr(C), y(p), p.onRuntimeInitialized && p.onRuntimeInitialized(), p.postRun)
|
9425
9425
|
for (typeof p.postRun == "function" && (p.postRun = [p.postRun]); p.postRun.length; ) {
|
9426
9426
|
var k = p.postRun.shift();
|
9427
9427
|
B.unshift(k);
|
@@ -9433,7 +9433,7 @@ var xo = { exports: {} };
|
|
9433
9433
|
if (p.preRun)
|
9434
9434
|
for (typeof p.preRun == "function" && (p.preRun = [p.preRun]); p.preRun.length; )
|
9435
9435
|
X();
|
9436
|
-
gr(
|
9436
|
+
gr(ye), 0 < se || (p.setStatus ? (p.setStatus("Running..."), setTimeout(function() {
|
9437
9437
|
setTimeout(function() {
|
9438
9438
|
p.setStatus("");
|
9439
9439
|
}, 1), A();
|
@@ -9443,7 +9443,7 @@ var xo = { exports: {} };
|
|
9443
9443
|
if (p.preInit)
|
9444
9444
|
for (typeof p.preInit == "function" && (p.preInit = [p.preInit]); 0 < p.preInit.length; )
|
9445
9445
|
p.preInit.pop()();
|
9446
|
-
return
|
9446
|
+
return vi(), d;
|
9447
9447
|
};
|
9448
9448
|
})();
|
9449
9449
|
f.exports = l;
|
@@ -9468,8 +9468,8 @@ var j4 = xo.exports;
|
|
9468
9468
|
return T && T.__esModule ? T : { default: T };
|
9469
9469
|
}
|
9470
9470
|
const p = j4;
|
9471
|
-
var
|
9472
|
-
f.default =
|
9471
|
+
var y = (0, l.default)(p());
|
9472
|
+
f.default = y;
|
9473
9473
|
})(Z4);
|
9474
9474
|
var ao = function() {
|
9475
9475
|
};
|
@@ -9495,18 +9495,18 @@ Object.assign(Object.assign({}, n2), { parse: (f) => n2.parse(f) / 100, transfor
|
|
9495
9495
|
const fi = (f, s) => (l) => !!(h2(l) && Y4.test(l) && l.startsWith(f) || s && Object.prototype.hasOwnProperty.call(l, s)), Io = (f, s, l) => (u) => {
|
9496
9496
|
if (!h2(u))
|
9497
9497
|
return u;
|
9498
|
-
const [d, p,
|
9498
|
+
const [d, p, y, T] = u.match(X2);
|
9499
9499
|
return {
|
9500
9500
|
[f]: parseFloat(d),
|
9501
9501
|
[s]: parseFloat(p),
|
9502
|
-
[l]: parseFloat(
|
9502
|
+
[l]: parseFloat(y),
|
9503
9503
|
alpha: T !== void 0 ? parseFloat(T) : 1
|
9504
9504
|
};
|
9505
9505
|
}, pt = {
|
9506
9506
|
test: fi("hsl", "hue"),
|
9507
9507
|
parse: Io("hue", "saturation", "lightness"),
|
9508
9508
|
transform: ({ hue: f, saturation: s, lightness: l, alpha: u = 1 }) => "hsla(" + Math.round(f) + ", " + n2.transform(i2(s)) + ", " + n2.transform(i2(l)) + ", " + i2(Oo.transform(u)) + ")"
|
9509
|
-
}, J4 = To(0, 255), La = Object.assign(Object.assign({}, J2), { transform: (f) => Math.round(J4(f)) }),
|
9509
|
+
}, J4 = To(0, 255), La = Object.assign(Object.assign({}, J2), { transform: (f) => Math.round(J4(f)) }), et = {
|
9510
9510
|
test: fi("rgb", "red"),
|
9511
9511
|
parse: Io("red", "green", "blue"),
|
9512
9512
|
transform: ({ red: f, green: s, blue: l, alpha: u = 1 }) => "rgba(" + La.transform(f) + ", " + La.transform(s) + ", " + La.transform(l) + ", " + i2(Oo.transform(u)) + ")"
|
@@ -9523,11 +9523,11 @@ function q4(f) {
|
|
9523
9523
|
const Ja = {
|
9524
9524
|
test: fi("#"),
|
9525
9525
|
parse: q4,
|
9526
|
-
transform:
|
9526
|
+
transform: et.transform
|
9527
9527
|
}, q2 = {
|
9528
|
-
test: (f) =>
|
9529
|
-
parse: (f) =>
|
9530
|
-
transform: (f) => h2(f) ? f : f.hasOwnProperty("red") ?
|
9528
|
+
test: (f) => et.test(f) || Ja.test(f) || pt.test(f),
|
9529
|
+
parse: (f) => et.test(f) ? et.parse(f) : pt.test(f) ? pt.parse(f) : Ja.parse(f),
|
9530
|
+
transform: (f) => h2(f) ? f : f.hasOwnProperty("red") ? et.transform(f) : pt.transform(f)
|
9531
9531
|
}, Bo = "${c}", Wo = "${n}";
|
9532
9532
|
function K4(f) {
|
9533
9533
|
var s, l, u, d;
|
@@ -9548,10 +9548,10 @@ function Go(f) {
|
|
9548
9548
|
function Lo(f) {
|
9549
9549
|
const { values: s, numColors: l, tokenised: u } = Uo(f), d = s.length;
|
9550
9550
|
return (p) => {
|
9551
|
-
let
|
9551
|
+
let y = u;
|
9552
9552
|
for (let T = 0; T < d; T++)
|
9553
|
-
|
9554
|
-
return
|
9553
|
+
y = y.replace(T < l ? Bo : Wo, T < l ? q2.transform(p[T]) : i2(p[T]));
|
9554
|
+
return y;
|
9555
9555
|
};
|
9556
9556
|
}
|
9557
9557
|
const el = (f) => typeof f == "number" ? 0 : f;
|
@@ -9565,41 +9565,41 @@ function Ha(f, s, l) {
|
|
9565
9565
|
}
|
9566
9566
|
function io({ hue: f, saturation: s, lightness: l, alpha: u }) {
|
9567
9567
|
f /= 360, s /= 100, l /= 100;
|
9568
|
-
let d = 0, p = 0,
|
9568
|
+
let d = 0, p = 0, y = 0;
|
9569
9569
|
if (!s)
|
9570
|
-
d = p =
|
9570
|
+
d = p = y = l;
|
9571
9571
|
else {
|
9572
9572
|
const T = l < 0.5 ? l * (1 + s) : l + s - l * s, O = 2 * l - T;
|
9573
|
-
d = Ha(O, T, f + 1 / 3), p = Ha(O, T, f),
|
9573
|
+
d = Ha(O, T, f + 1 / 3), p = Ha(O, T, f), y = Ha(O, T, f - 1 / 3);
|
9574
9574
|
}
|
9575
9575
|
return {
|
9576
9576
|
red: Math.round(d * 255),
|
9577
9577
|
green: Math.round(p * 255),
|
9578
|
-
blue: Math.round(
|
9578
|
+
blue: Math.round(y * 255),
|
9579
9579
|
alpha: u
|
9580
9580
|
};
|
9581
9581
|
}
|
9582
9582
|
const tl = (f, s, l) => {
|
9583
9583
|
const u = f * f, d = s * s;
|
9584
9584
|
return Math.sqrt(Math.max(0, l * (d - u) + u));
|
9585
|
-
}, al = [Ja,
|
9585
|
+
}, al = [Ja, et, pt], no = (f) => al.find((s) => s.test(f)), Vo = (f, s) => {
|
9586
9586
|
let l = no(f), u = no(s), d = l.parse(f), p = u.parse(s);
|
9587
|
-
l === pt && (d = io(d), l =
|
9588
|
-
const
|
9587
|
+
l === pt && (d = io(d), l = et), u === pt && (p = io(p), u = et);
|
9588
|
+
const y = Object.assign({}, d);
|
9589
9589
|
return (T) => {
|
9590
|
-
for (const O in
|
9591
|
-
O !== "alpha" && (
|
9592
|
-
return
|
9590
|
+
for (const O in y)
|
9591
|
+
O !== "alpha" && (y[O] = tl(d[O], p[O], T));
|
9592
|
+
return y.alpha = si(d.alpha, p.alpha, T), l.transform(y);
|
9593
9593
|
};
|
9594
9594
|
}, il = (f) => typeof f == "number", nl = (f, s) => (l) => s(f(l)), Zo = (...f) => f.reduce(nl);
|
9595
9595
|
function Mo(f, s) {
|
9596
9596
|
return il(f) ? (l) => si(f, s, l) : q2.test(f) ? Vo(f, s) : Do(f, s);
|
9597
9597
|
}
|
9598
9598
|
const Fo = (f, s) => {
|
9599
|
-
const l = [...f], u = l.length, d = f.map((p,
|
9599
|
+
const l = [...f], u = l.length, d = f.map((p, y) => Mo(p, s[y]));
|
9600
9600
|
return (p) => {
|
9601
|
-
for (let
|
9602
|
-
l[
|
9601
|
+
for (let y = 0; y < u; y++)
|
9602
|
+
l[y] = d[y](p);
|
9603
9603
|
return l;
|
9604
9604
|
};
|
9605
9605
|
}, ol = (f, s) => {
|
@@ -9615,8 +9615,8 @@ const Fo = (f, s) => {
|
|
9615
9615
|
function oo(f) {
|
9616
9616
|
const s = Ho.parse(f), l = s.length;
|
9617
9617
|
let u = 0, d = 0, p = 0;
|
9618
|
-
for (let
|
9619
|
-
u || typeof s[
|
9618
|
+
for (let y = 0; y < l; y++)
|
9619
|
+
u || typeof s[y] == "number" ? u++ : s[y].hue !== void 0 ? p++ : d++;
|
9620
9620
|
return { parsed: s, numNumbers: u, numRGB: d, numHSL: p };
|
9621
9621
|
}
|
9622
9622
|
const Do = (f, s) => {
|
@@ -9635,10 +9635,10 @@ function fl(f) {
|
|
9635
9635
|
}
|
9636
9636
|
function cl(f, s, l) {
|
9637
9637
|
const u = [], d = l || fl(f[0]), p = f.length - 1;
|
9638
|
-
for (let
|
9639
|
-
let T = d(f[
|
9638
|
+
for (let y = 0; y < p; y++) {
|
9639
|
+
let T = d(f[y], f[y + 1]);
|
9640
9640
|
if (s) {
|
9641
|
-
const O = Array.isArray(s) ? s[
|
9641
|
+
const O = Array.isArray(s) ? s[y] : s;
|
9642
9642
|
T = Zo(O, T);
|
9643
9643
|
}
|
9644
9644
|
u.push(T);
|
@@ -9651,8 +9651,8 @@ function ll([f, s], [l]) {
|
|
9651
9651
|
function ul(f, s) {
|
9652
9652
|
const l = f.length, u = l - 1;
|
9653
9653
|
return (d) => {
|
9654
|
-
let p = 0,
|
9655
|
-
if (d <= f[0] ?
|
9654
|
+
let p = 0, y = !1;
|
9655
|
+
if (d <= f[0] ? y = !0 : d >= f[u] && (p = u - 1, y = !0), !y) {
|
9656
9656
|
let O = 1;
|
9657
9657
|
for (; O < l && !(f[O] > d || O === u); O++)
|
9658
9658
|
;
|
@@ -9665,13 +9665,13 @@ function ul(f, s) {
|
|
9665
9665
|
function hl(f, s, { clamp: l = !0, ease: u, mixer: d } = {}) {
|
9666
9666
|
const p = f.length;
|
9667
9667
|
ao(p === s.length), ao(!u || !Array.isArray(u) || u.length === p - 1), f[0] > f[p - 1] && (f = [].concat(f), s = [].concat(s), f.reverse(), s.reverse());
|
9668
|
-
const
|
9668
|
+
const y = cl(s, u, d), T = p === 2 ? ll(f, y) : ul(f, y);
|
9669
9669
|
return l ? (O) => T(z4(f[0], f[p - 1], O)) : T;
|
9670
9670
|
}
|
9671
9671
|
const K2 = (f) => (s) => 1 - f(1 - s), ci = (f) => (s) => s <= 0.5 ? f(2 * s) / 2 : (2 - f(2 * (1 - s))) / 2, dl = (f) => (s) => Math.pow(s, f), Xo = (f) => (s) => s * s * ((f + 1) * s - f), bl = (f) => {
|
9672
9672
|
const s = Xo(f);
|
9673
9673
|
return (l) => (l *= 2) < 1 ? 0.5 * s(l) : 0.5 * (2 - Math.pow(2, -10 * (l - 1)));
|
9674
|
-
}, jo = 1.525, pl = 4 / 11, Al = 8 / 11, kl = 9 / 10, ml = (f) => f, li = dl(2),
|
9674
|
+
}, jo = 1.525, pl = 4 / 11, Al = 8 / 11, kl = 9 / 10, ml = (f) => f, li = dl(2), vl = K2(li), yl = ci(li), zo = (f) => 1 - Math.sin(Math.acos(f)), Yo = K2(zo), gl = ci(Yo), ui = Xo(jo), _l = K2(ui), wl = ci(ui), El = bl(jo), $l = 4356 / 361, Rl = 35442 / 1805, Sl = 16061 / 1805, j2 = (f) => {
|
9675
9675
|
if (f === 1 || f === 0)
|
9676
9676
|
return f;
|
9677
9677
|
const s = f * f;
|
@@ -9679,8 +9679,8 @@ const K2 = (f) => (s) => 1 - f(1 - s), ci = (f) => (s) => s <= 0.5 ? f(2 * s) /
|
|
9679
9679
|
}, Pl = K2(j2), Cl = (f) => f < 0.5 ? 0.5 * (1 - j2(1 - f * 2)) : 0.5 * j2(f * 2 - 1) + 0.5, xl = {
|
9680
9680
|
linear: ml,
|
9681
9681
|
easeIn: li,
|
9682
|
-
easeInOut:
|
9683
|
-
easeOut:
|
9682
|
+
easeInOut: yl,
|
9683
|
+
easeOut: vl,
|
9684
9684
|
circIn: zo,
|
9685
9685
|
circInOut: gl,
|
9686
9686
|
circOut: Yo,
|
@@ -9703,14 +9703,14 @@ const Qo = /(?<value>\d+\.?\d*)(?=px)/, Nl = ni(
|
|
9703
9703
|
try {
|
9704
9704
|
return f.save(), f.font = s.replace(Qo, l.toString()), u.split(`
|
9705
9705
|
`).flatMap((p) => {
|
9706
|
-
const
|
9707
|
-
return
|
9706
|
+
const y = p.split(" ").filter(Boolean);
|
9707
|
+
return y.length ? y.slice(1).reduce((T, O) => {
|
9708
9708
|
const K = `${T[T.length - 1].text} ${O}`.trim(), ae = f.measureText(K);
|
9709
9709
|
return ae.width > d ? T = [...T, ...to({ context: f, word: O, maxW: d })] : T[T.length - 1] = {
|
9710
9710
|
text: K,
|
9711
9711
|
metrics: ae
|
9712
9712
|
}, T;
|
9713
|
-
}, to({ context: f, word:
|
9713
|
+
}, to({ context: f, word: y[0], maxW: d })) : { text: "", metrics: f.measureText("") };
|
9714
9714
|
});
|
9715
9715
|
} finally {
|
9716
9716
|
f.restore();
|
@@ -9844,7 +9844,7 @@ const Qo = /(?<value>\d+\.?\d*)(?=px)/, Nl = ni(
|
|
9844
9844
|
1 / 3, (/* @__PURE__ */ new Date()).toISOString(), (/* @__PURE__ */ new Date()).toISOString();
|
9845
9845
|
async function Ol() {
|
9846
9846
|
if (typeof window > "u") {
|
9847
|
-
const f = await import("./browser-
|
9847
|
+
const f = await import("./browser-97265c29.js").then((s) => s.b);
|
9848
9848
|
return new f.Image();
|
9849
9849
|
}
|
9850
9850
|
return new Image();
|
@@ -9895,7 +9895,7 @@ Po.helpers.define(
|
|
9895
9895
|
"resolve-source",
|
9896
9896
|
So(
|
9897
9897
|
async (f) => {
|
9898
|
-
const { sources: s } = f.params[0] ?? {}, l = s == null ? void 0 : s.filter(Boolean), u = l == null ? void 0 : l.find((
|
9898
|
+
const { sources: s } = f.params[0] ?? {}, l = s == null ? void 0 : s.filter(Boolean), u = l == null ? void 0 : l.find((y) => y.includes("blob:")), d = l == null ? void 0 : l.find((y) => !y.includes("http")), p = u ?? d ?? await Bl({ sources: s });
|
9899
9899
|
return p ? `"${p}"` : "null";
|
9900
9900
|
},
|
9901
9901
|
{
|
@@ -9903,7 +9903,7 @@ Po.helpers.define(
|
|
9903
9903
|
}
|
9904
9904
|
)
|
9905
9905
|
);
|
9906
|
-
const Gl = "2", Ll = "@vouchfor/embeds", Hl = "1.2.
|
9906
|
+
const Gl = "2", Ll = "@vouchfor/embeds", Hl = "1.2.3", Vl = "MIT", Zl = "Aaron Williams", Ml = "dist/es/embeds.js", Fl = "dist/es/embeds.js", Dl = "module", Xl = "dist/es/src/index.d.ts", jl = {
|
9907
9907
|
".": "./dist/es/embeds.js"
|
9908
9908
|
}, zl = [
|
9909
9909
|
"dist",
|
@@ -9930,7 +9930,7 @@ const Gl = "2", Ll = "@vouchfor/embeds", Hl = "1.2.1", Vl = "MIT", Zl = "Aaron W
|
|
9930
9930
|
}, Jl = {
|
9931
9931
|
"@a11y/focus-trap": "^1.0.5",
|
9932
9932
|
"@lit/task": "^1.0.0",
|
9933
|
-
"@vouchfor/media-player": "^2.1.
|
9933
|
+
"@vouchfor/media-player": "^2.1.2",
|
9934
9934
|
uuid: "^9.0.1"
|
9935
9935
|
}, ql = {
|
9936
9936
|
lit: "^3.1.0"
|
@@ -9990,20 +9990,20 @@ const Gl = "2", Ll = "@vouchfor/embeds", Hl = "1.2.1", Vl = "MIT", Zl = "Aaron W
|
|
9990
9990
|
devDependencies: Kl
|
9991
9991
|
};
|
9992
9992
|
function ru(f) {
|
9993
|
-
const { publicApiUrl: s } = D2(f), l =
|
9993
|
+
const { publicApiUrl: s } = D2(f), l = K0();
|
9994
9994
|
return navigator.sendBeacon(`${s}/api/visitor`, JSON.stringify({ visitorId: l })), l;
|
9995
9995
|
}
|
9996
9996
|
function tu(f) {
|
9997
|
-
var p,
|
9997
|
+
var p, y, T, O, K, ae, te, me, Te, Fe, We, Jr;
|
9998
9998
|
if (typeof window > "u")
|
9999
9999
|
return {
|
10000
10000
|
client: null,
|
10001
10001
|
tab: null,
|
10002
|
-
request:
|
10002
|
+
request: K0()
|
10003
10003
|
};
|
10004
|
-
let s = (
|
10005
|
-
const d =
|
10006
|
-
return s || (s = ru(f), (me = (te = window.localStorage) == null ? void 0 : te.setItem) == null || me.call(te, "vouch-uid-visitor", s)), l || (l =
|
10004
|
+
let s = (y = (p = window.localStorage) == null ? void 0 : p.getItem) == null ? void 0 : y.call(p, "vouch-uid-visitor"), l = (O = (T = window.localStorage) == null ? void 0 : T.getItem) == null ? void 0 : O.call(T, "vouch-uid-client"), u = (ae = (K = window.sessionStorage) == null ? void 0 : K.getItem) == null ? void 0 : ae.call(K, "vouch-uid-tab");
|
10005
|
+
const d = K0();
|
10006
|
+
return s || (s = ru(f), (me = (te = window.localStorage) == null ? void 0 : te.setItem) == null || me.call(te, "vouch-uid-visitor", s)), l || (l = K0(), (Fe = (Te = window.localStorage) == null ? void 0 : Te.setItem) == null || Fe.call(Te, "vouch-uid-client", l)), u || (u = K0(), (Jr = (We = window.sessionStorage) == null ? void 0 : We.setItem) == null || Jr.call(We, "vouch-uid-tab", u)), {
|
10007
10007
|
client: l,
|
10008
10008
|
tab: u,
|
10009
10009
|
request: d,
|
@@ -10016,9 +10016,9 @@ function au(f, s) {
|
|
10016
10016
|
function iu(f = "embedded_player") {
|
10017
10017
|
var d, p;
|
10018
10018
|
const [s, l] = ((p = (d = Intl.DateTimeFormat().resolvedOptions().timeZone) == null ? void 0 : d.split) == null ? void 0 : p.call(d, "/")) ?? [], u = {};
|
10019
|
-
return [...new URLSearchParams(location.search).entries()].forEach(([
|
10020
|
-
if (/utm/.test(
|
10021
|
-
const O =
|
10019
|
+
return [...new URLSearchParams(location.search).entries()].forEach(([y, T]) => {
|
10020
|
+
if (/utm/.test(y)) {
|
10021
|
+
const O = y.toLowerCase().replace(/[-_][a-z0-9]/g, (K) => K.slice(-1).toUpperCase());
|
10022
10022
|
u[O] = T;
|
10023
10023
|
}
|
10024
10024
|
}), {
|
@@ -10052,7 +10052,7 @@ class nu {
|
|
10052
10052
|
}, this._sendTrackingEvent = () => {
|
10053
10053
|
if (this._batchedEvents.length <= 0)
|
10054
10054
|
return;
|
10055
|
-
const { publicApiUrl: l } = D2(this.host.env), { client: u, tab: d, request: p, visitor:
|
10055
|
+
const { publicApiUrl: l } = D2(this.host.env), { client: u, tab: d, request: p, visitor: y } = tu(this.host.env);
|
10056
10056
|
navigator.sendBeacon(
|
10057
10057
|
`${l}/api/batchevents`,
|
10058
10058
|
JSON.stringify({
|
@@ -10063,7 +10063,7 @@ class nu {
|
|
10063
10063
|
"x-uid-client": u,
|
10064
10064
|
"x-uid-tab": d,
|
10065
10065
|
"x-uid-request": p,
|
10066
|
-
"x-uid-visitor":
|
10066
|
+
"x-uid-visitor": y,
|
10067
10067
|
"x-reporting-metadata": iu(this.host.trackingSource)
|
10068
10068
|
}
|
10069
10069
|
})
|
@@ -10088,10 +10088,10 @@ class nu {
|
|
10088
10088
|
answerId: l
|
10089
10089
|
}), this._answersViewed[u] = !0);
|
10090
10090
|
}, this._handleVideoTimeUpdate = ({ detail: { id: l, key: u, node: d } }) => {
|
10091
|
-
var p,
|
10091
|
+
var p, y;
|
10092
10092
|
// We only want to count any time that the video is actually playing
|
10093
10093
|
!this.host.paused && // Only update the latest time if this event fires for the currently active video
|
10094
|
-
l === ((
|
10094
|
+
l === ((y = (p = this.host.scene) == null ? void 0 : p.video) == null ? void 0 : y.id) && (this._currentlyPlayingVideo = { id: l, key: u, node: d }, this._streamLatestTime[u] = d.currentTime, this._streamStartTime[u] || (this._streamStartTime[u] = d.currentTime, this._streamLatestTime[u] = d.currentTime));
|
10095
10095
|
}, this._handleVideoPause = ({ detail: { id: l, key: u } }) => {
|
10096
10096
|
this._streamLatestTime[u] > this._streamStartTime[u] + so && this._createTrackingEvent("VIDEO_STREAMED", {
|
10097
10097
|
answerId: l,
|
@@ -10117,111 +10117,12 @@ class nu {
|
|
10117
10117
|
this._pageUnloading(), "onvisibilitychange" in document ? document.removeEventListener("visibilitychange", this._handleVisibilityChange) : window.removeEventListener("pagehide", this._handlePageHide), this.host.removeEventListener("vouch:loaded", this._handleVouchLoaded), (s = this.host.mediaPlayer) == null || s.removeEventListener("play", this._handlePlay), (l = this.host.mediaPlayer) == null || l.removeEventListener("video:play", this._handleVideoPlay), (u = this.host.mediaPlayer) == null || u.removeEventListener("video:pause", this._handleVideoPause), (d = this.host.mediaPlayer) == null || d.removeEventListener("video:timeupdate", this._handleVideoTimeUpdate);
|
10118
10118
|
}
|
10119
10119
|
}
|
10120
|
-
|
10121
|
-
|
10122
|
-
|
10123
|
-
|
10124
|
-
}
|
10125
|
-
get waiting() {
|
10126
|
-
var u;
|
10127
|
-
return (u = this._mediaPlayerRef.value) == null ? void 0 : u.waiting;
|
10128
|
-
}
|
10129
|
-
get initialised() {
|
10130
|
-
var u;
|
10131
|
-
return (u = this._mediaPlayerRef.value) == null ? void 0 : u.initialised;
|
10132
|
-
}
|
10133
|
-
get seeking() {
|
10134
|
-
var u;
|
10135
|
-
return (u = this._mediaPlayerRef.value) == null ? void 0 : u.seeking;
|
10136
|
-
}
|
10137
|
-
get paused() {
|
10138
|
-
var u;
|
10139
|
-
return (u = this._mediaPlayerRef.value) == null ? void 0 : u.paused;
|
10140
|
-
}
|
10141
|
-
get captions() {
|
10142
|
-
var u;
|
10143
|
-
return (u = this._mediaPlayerRef.value) == null ? void 0 : u.captions;
|
10144
|
-
}
|
10145
|
-
get fullscreen() {
|
10146
|
-
var u;
|
10147
|
-
return (u = this._mediaPlayerRef.value) == null ? void 0 : u.fullscreen;
|
10148
|
-
}
|
10149
|
-
get duration() {
|
10150
|
-
var u;
|
10151
|
-
return (u = this._mediaPlayerRef.value) == null ? void 0 : u.duration;
|
10152
|
-
}
|
10153
|
-
set currentTime(u) {
|
10154
|
-
this._mediaPlayerRef.value && (this._mediaPlayerRef.value.currentTime = u);
|
10155
|
-
}
|
10156
|
-
get currentTime() {
|
10157
|
-
var u;
|
10158
|
-
return ((u = this._mediaPlayerRef.value) == null ? void 0 : u.currentTime) ?? 0;
|
10159
|
-
}
|
10160
|
-
set playbackRate(u) {
|
10161
|
-
this._mediaPlayerRef.value && (this._mediaPlayerRef.value.playbackRate = u);
|
10162
|
-
}
|
10163
|
-
get playbackRate() {
|
10164
|
-
var u;
|
10165
|
-
return ((u = this._mediaPlayerRef.value) == null ? void 0 : u.playbackRate) ?? 1;
|
10166
|
-
}
|
10167
|
-
set volume(u) {
|
10168
|
-
this._mediaPlayerRef.value && (this._mediaPlayerRef.value.volume = u);
|
10169
|
-
}
|
10170
|
-
get volume() {
|
10171
|
-
var u;
|
10172
|
-
return ((u = this._mediaPlayerRef.value) == null ? void 0 : u.volume) ?? 1;
|
10173
|
-
}
|
10174
|
-
set muted(u) {
|
10175
|
-
this._mediaPlayerRef.value && (this._mediaPlayerRef.value.muted = u);
|
10176
|
-
}
|
10177
|
-
get muted() {
|
10178
|
-
var u;
|
10179
|
-
return ((u = this._mediaPlayerRef.value) == null ? void 0 : u.muted) ?? !1;
|
10180
|
-
}
|
10181
|
-
get scene() {
|
10182
|
-
var u;
|
10183
|
-
return ((u = this._mediaPlayerRef.value) == null ? void 0 : u.scene) ?? null;
|
10184
|
-
}
|
10185
|
-
get scenes() {
|
10186
|
-
var u;
|
10187
|
-
return ((u = this._mediaPlayerRef.value) == null ? void 0 : u.scenes) ?? [];
|
10188
|
-
}
|
10189
|
-
get sceneConfig() {
|
10190
|
-
var u;
|
10191
|
-
return ((u = this._mediaPlayerRef.value) == null ? void 0 : u.sceneConfig) ?? null;
|
10192
|
-
}
|
10193
|
-
get videoState() {
|
10194
|
-
var u;
|
10195
|
-
return (u = this._mediaPlayerRef.value) == null ? void 0 : u.videoState;
|
10196
|
-
}
|
10197
|
-
get mediaPlayer() {
|
10198
|
-
return this._mediaPlayerRef.value;
|
10199
|
-
}
|
10200
|
-
play() {
|
10201
|
-
var u;
|
10202
|
-
(u = this._mediaPlayerRef.value) == null || u.play();
|
10203
|
-
}
|
10204
|
-
pause() {
|
10205
|
-
var u;
|
10206
|
-
(u = this._mediaPlayerRef.value) == null || u.pause();
|
10207
|
-
}
|
10208
|
-
reset(u = 0, d = !1) {
|
10209
|
-
var p;
|
10210
|
-
(p = this._mediaPlayerRef.value) == null || p.reset(u, d);
|
10211
|
-
}
|
10212
|
-
setScene(u) {
|
10213
|
-
var d;
|
10214
|
-
(d = this._mediaPlayerRef.value) == null || d.setScene(u);
|
10215
|
-
}
|
10216
|
-
}
|
10217
|
-
return s;
|
10120
|
+
var ou = Object.defineProperty, su = Object.getOwnPropertyDescriptor, Ir = (f, s, l, u) => {
|
10121
|
+
for (var d = u > 1 ? void 0 : u ? su(s, l) : s, p = f.length - 1, y; p >= 0; p--)
|
10122
|
+
(y = f[p]) && (d = (u ? y(s, l, d) : y(d)) || d);
|
10123
|
+
return u && d && ou(s, l, d), d;
|
10218
10124
|
};
|
10219
|
-
|
10220
|
-
for (var d = u > 1 ? void 0 : u ? fu(s, l) : s, p = f.length - 1, v; p >= 0; p--)
|
10221
|
-
(v = f[p]) && (d = (u ? v(s, l, d) : v(d)) || d);
|
10222
|
-
return u && d && su(s, l, d), d;
|
10223
|
-
};
|
10224
|
-
let Er = class extends ou(tt) {
|
10125
|
+
let Er = class extends at {
|
10225
10126
|
constructor() {
|
10226
10127
|
super(...arguments), this.env = "prod", this.apiKey = "", this.disableTracking = !1, this.trackingSource = "embedded_player", this.preload = "auto", this.autoplay = !1, this.aspectRatio = 0, this.eventController = new u4(this, [
|
10227
10128
|
"durationchange",
|
@@ -10249,11 +10150,102 @@ let Er = class extends ou(tt) {
|
|
10249
10150
|
"video:timeupdate",
|
10250
10151
|
"video:ended",
|
10251
10152
|
"video:error"
|
10252
|
-
]), this._fetcherController = new
|
10153
|
+
]), this._fetcherController = new y4(this), this._trackingController = new nu(this), this._mediaPlayerRef = Ka();
|
10253
10154
|
}
|
10254
10155
|
get fetching() {
|
10255
10156
|
return this._fetcherController.fetching;
|
10256
10157
|
}
|
10158
|
+
get waiting() {
|
10159
|
+
var f;
|
10160
|
+
return (f = this._mediaPlayerRef.value) == null ? void 0 : f.waiting;
|
10161
|
+
}
|
10162
|
+
get initialised() {
|
10163
|
+
var f;
|
10164
|
+
return (f = this._mediaPlayerRef.value) == null ? void 0 : f.initialised;
|
10165
|
+
}
|
10166
|
+
get seeking() {
|
10167
|
+
var f;
|
10168
|
+
return (f = this._mediaPlayerRef.value) == null ? void 0 : f.seeking;
|
10169
|
+
}
|
10170
|
+
get paused() {
|
10171
|
+
var f;
|
10172
|
+
return (f = this._mediaPlayerRef.value) == null ? void 0 : f.paused;
|
10173
|
+
}
|
10174
|
+
get captions() {
|
10175
|
+
var f;
|
10176
|
+
return (f = this._mediaPlayerRef.value) == null ? void 0 : f.captions;
|
10177
|
+
}
|
10178
|
+
get fullscreen() {
|
10179
|
+
var f;
|
10180
|
+
return (f = this._mediaPlayerRef.value) == null ? void 0 : f.fullscreen;
|
10181
|
+
}
|
10182
|
+
get duration() {
|
10183
|
+
var f;
|
10184
|
+
return (f = this._mediaPlayerRef.value) == null ? void 0 : f.duration;
|
10185
|
+
}
|
10186
|
+
set currentTime(f) {
|
10187
|
+
this._mediaPlayerRef.value && (this._mediaPlayerRef.value.currentTime = f);
|
10188
|
+
}
|
10189
|
+
get currentTime() {
|
10190
|
+
var f;
|
10191
|
+
return ((f = this._mediaPlayerRef.value) == null ? void 0 : f.currentTime) ?? 0;
|
10192
|
+
}
|
10193
|
+
set playbackRate(f) {
|
10194
|
+
this._mediaPlayerRef.value && (this._mediaPlayerRef.value.playbackRate = f);
|
10195
|
+
}
|
10196
|
+
get playbackRate() {
|
10197
|
+
var f;
|
10198
|
+
return ((f = this._mediaPlayerRef.value) == null ? void 0 : f.playbackRate) ?? 1;
|
10199
|
+
}
|
10200
|
+
set volume(f) {
|
10201
|
+
this._mediaPlayerRef.value && (this._mediaPlayerRef.value.volume = f);
|
10202
|
+
}
|
10203
|
+
get volume() {
|
10204
|
+
var f;
|
10205
|
+
return ((f = this._mediaPlayerRef.value) == null ? void 0 : f.volume) ?? 1;
|
10206
|
+
}
|
10207
|
+
set muted(f) {
|
10208
|
+
this._mediaPlayerRef.value && (this._mediaPlayerRef.value.muted = f);
|
10209
|
+
}
|
10210
|
+
get muted() {
|
10211
|
+
var f;
|
10212
|
+
return ((f = this._mediaPlayerRef.value) == null ? void 0 : f.muted) ?? !1;
|
10213
|
+
}
|
10214
|
+
get scene() {
|
10215
|
+
var f;
|
10216
|
+
return ((f = this._mediaPlayerRef.value) == null ? void 0 : f.scene) ?? null;
|
10217
|
+
}
|
10218
|
+
get scenes() {
|
10219
|
+
var f;
|
10220
|
+
return ((f = this._mediaPlayerRef.value) == null ? void 0 : f.scenes) ?? [];
|
10221
|
+
}
|
10222
|
+
get sceneConfig() {
|
10223
|
+
var f;
|
10224
|
+
return ((f = this._mediaPlayerRef.value) == null ? void 0 : f.sceneConfig) ?? null;
|
10225
|
+
}
|
10226
|
+
get videoState() {
|
10227
|
+
var f;
|
10228
|
+
return (f = this._mediaPlayerRef.value) == null ? void 0 : f.videoState;
|
10229
|
+
}
|
10230
|
+
get mediaPlayer() {
|
10231
|
+
return this._mediaPlayerRef.value;
|
10232
|
+
}
|
10233
|
+
play() {
|
10234
|
+
var f;
|
10235
|
+
(f = this._mediaPlayerRef.value) == null || f.play();
|
10236
|
+
}
|
10237
|
+
pause() {
|
10238
|
+
var f;
|
10239
|
+
(f = this._mediaPlayerRef.value) == null || f.pause();
|
10240
|
+
}
|
10241
|
+
reset(f = 0, s = !1) {
|
10242
|
+
var l;
|
10243
|
+
(l = this._mediaPlayerRef.value) == null || l.reset(f, s);
|
10244
|
+
}
|
10245
|
+
setScene(f) {
|
10246
|
+
var s;
|
10247
|
+
(s = this._mediaPlayerRef.value) == null || s.setScene(f);
|
10248
|
+
}
|
10257
10249
|
_renderStyles() {
|
10258
10250
|
return this.aspectRatio ? typeof this.aspectRatio == "number" ? It`
|
10259
10251
|
<style>
|
@@ -10344,8 +10336,8 @@ Er = Ir([
|
|
10344
10336
|
* Copyright 2017 Google LLC
|
10345
10337
|
* SPDX-License-Identifier: BSD-3-Clause
|
10346
10338
|
*/
|
10347
|
-
const
|
10348
|
-
let
|
10339
|
+
const fu = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, cu = (f) => (...s) => ({ _$litDirective$: f, values: s });
|
10340
|
+
let lu = class {
|
10349
10341
|
constructor(s) {
|
10350
10342
|
}
|
10351
10343
|
get _$AU() {
|
@@ -10366,10 +10358,10 @@ let uu = class {
|
|
10366
10358
|
* Copyright 2018 Google LLC
|
10367
10359
|
* SPDX-License-Identifier: BSD-3-Clause
|
10368
10360
|
*/
|
10369
|
-
const Jo = "important",
|
10361
|
+
const Jo = "important", uu = " !" + Jo, qo = cu(class extends lu {
|
10370
10362
|
constructor(f) {
|
10371
10363
|
var s;
|
10372
|
-
if (super(f), f.type !==
|
10364
|
+
if (super(f), f.type !== fu.ATTRIBUTE || f.name !== "style" || ((s = f.strings) == null ? void 0 : s.length) > 2)
|
10373
10365
|
throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
10374
10366
|
}
|
10375
10367
|
render(f) {
|
@@ -10388,19 +10380,19 @@ const Jo = "important", hu = " !" + Jo, qo = lu(class extends uu {
|
|
10388
10380
|
const d = s[u];
|
10389
10381
|
if (d != null) {
|
10390
10382
|
this.ut.add(u);
|
10391
|
-
const p = typeof d == "string" && d.endsWith(
|
10383
|
+
const p = typeof d == "string" && d.endsWith(uu);
|
10392
10384
|
u.includes("-") || p ? l.setProperty(u, p ? d.slice(0, -11) : d, p ? Jo : "") : l[u] = d;
|
10393
10385
|
}
|
10394
10386
|
}
|
10395
10387
|
return Bt;
|
10396
10388
|
}
|
10397
10389
|
});
|
10398
|
-
var
|
10399
|
-
for (var d = u > 1 ? void 0 : u ?
|
10400
|
-
(
|
10401
|
-
return u && d &&
|
10390
|
+
var hu = Object.defineProperty, du = Object.getOwnPropertyDescriptor, hi = (f, s, l, u) => {
|
10391
|
+
for (var d = u > 1 ? void 0 : u ? du(s, l) : s, p = f.length - 1, y; p >= 0; p--)
|
10392
|
+
(y = f[p]) && (d = (u ? y(s, l, d) : y(d)) || d);
|
10393
|
+
return u && d && hu(s, l, d), d;
|
10402
10394
|
};
|
10403
|
-
let l2 = class extends
|
10395
|
+
let l2 = class extends at {
|
10404
10396
|
constructor() {
|
10405
10397
|
super(...arguments), this.open = !1, this.aspectRatio = 0;
|
10406
10398
|
}
|
@@ -10515,16 +10507,16 @@ hi([
|
|
10515
10507
|
l2 = hi([
|
10516
10508
|
z2("vouch-embed-dialog-overlay")
|
10517
10509
|
], l2);
|
10518
|
-
var
|
10519
|
-
for (var d = u > 1 ? void 0 : u ?
|
10520
|
-
(
|
10521
|
-
return u && d &&
|
10510
|
+
var bu = Object.defineProperty, pu = Object.getOwnPropertyDescriptor, Qr = (f, s, l, u) => {
|
10511
|
+
for (var d = u > 1 ? void 0 : u ? pu(s, l) : s, p = f.length - 1, y; p >= 0; p--)
|
10512
|
+
(y = f[p]) && (d = (u ? y(s, l, d) : y(d)) || d);
|
10513
|
+
return u && d && bu(s, l, d), d;
|
10522
10514
|
};
|
10523
|
-
let Fr = class extends
|
10515
|
+
let Fr = class extends at {
|
10524
10516
|
constructor() {
|
10525
|
-
super(...arguments), this.env = "prod", this.apiKey = "", this.disableTracking = !1, this.trackingSource = "embedded_player", this.preload = "none", this.disableAutoplay = !1, this.aspectRatio = 0, this._mediaPlayerRef = Ka(), this.open = !1, this._handleToggle = () => {
|
10526
|
-
var
|
10527
|
-
this.open = !this.open, this.open ? !this.disableAutoplay && ((
|
10517
|
+
super(...arguments), this.env = "prod", this.apiKey = "", this.disableTracking = !1, this.trackingSource = "embedded_player", this.preload = "none", this.disableAutoplay = !1, this.aspectRatio = 0, this._mediaPlayerRef = Ka(), this.open = !1, this._handleToggle = ({ detail: f }) => {
|
10518
|
+
var s, l, u;
|
10519
|
+
this.id === f && (this.open = !this.open, this.open ? !this.disableAutoplay && ((s = this._mediaPlayerRef) != null && s.value) && (this._mediaPlayerRef.value.muted = !1, this._mediaPlayerRef.value.play()) : (u = (l = this._mediaPlayerRef) == null ? void 0 : l.value) == null || u.pause());
|
10528
10520
|
}, this._handleClose = () => {
|
10529
10521
|
var f, s;
|
10530
10522
|
this.open = !1, (s = (f = this._mediaPlayerRef) == null ? void 0 : f.value) == null || s.pause();
|
@@ -10539,7 +10531,8 @@ let Fr = class extends tt {
|
|
10539
10531
|
super.disconnectedCallback(), document.removeEventListener("dialogembed:click", this._handleToggle), document.removeEventListener("keyup", this._handleDocumentKeyUp), document.removeEventListener("close:click", this._handleClose), document.removeEventListener("overlay:click", this._handleClose);
|
10540
10532
|
}
|
10541
10533
|
createRenderRoot() {
|
10542
|
-
|
10534
|
+
const f = document.createElement("div");
|
10535
|
+
return document.body.appendChild(f), f;
|
10543
10536
|
}
|
10544
10537
|
render() {
|
10545
10538
|
return It`
|
@@ -10605,15 +10598,15 @@ Qr([
|
|
10605
10598
|
Fr = Qr([
|
10606
10599
|
z2("vouch-embed-dialog-portal")
|
10607
10600
|
], Fr);
|
10608
|
-
var
|
10609
|
-
for (var d = u > 1 ? void 0 : u ?
|
10610
|
-
(
|
10611
|
-
return u && d &&
|
10601
|
+
var Au = Object.defineProperty, ku = Object.getOwnPropertyDescriptor, t0 = (f, s, l, u) => {
|
10602
|
+
for (var d = u > 1 ? void 0 : u ? ku(s, l) : s, p = f.length - 1, y; p >= 0; p--)
|
10603
|
+
(y = f[p]) && (d = (u ? y(s, l, d) : y(d)) || d);
|
10604
|
+
return u && d && Au(s, l, d), d;
|
10612
10605
|
};
|
10613
|
-
let Dr = class extends
|
10606
|
+
let Dr = class extends at {
|
10614
10607
|
constructor() {
|
10615
|
-
super(...arguments), this.env = "prod", this.apiKey = "", this.disableTracking = !1, this.trackingSource = "embedded_player", this.preload = "none", this.disableAutoplay = !1, this.aspectRatio = 0, this._handleRootClick = () => {
|
10616
|
-
this.dispatchEvent(new CustomEvent("dialogembed:click", { bubbles: !0, composed: !0 }));
|
10608
|
+
super(...arguments), this.env = "prod", this.apiKey = "", this.disableTracking = !1, this.trackingSource = "embedded_player", this.preload = "none", this.disableAutoplay = !1, this.aspectRatio = 0, this._id = K0(), this._handleRootClick = () => {
|
10609
|
+
this.dispatchEvent(new CustomEvent("dialogembed:click", { detail: this._id, bubbles: !0, composed: !0 }));
|
10617
10610
|
};
|
10618
10611
|
}
|
10619
10612
|
connectedCallback() {
|
@@ -10628,6 +10621,7 @@ let Dr = class extends tt {
|
|
10628
10621
|
<vmp-button size="large">Play</vmp-button>
|
10629
10622
|
</slot>
|
10630
10623
|
<vouch-embed-dialog-portal
|
10624
|
+
id=${this._id}
|
10631
10625
|
?autoplay=${!1}
|
10632
10626
|
vouchId=${Mr(this.vouchId)}
|
10633
10627
|
templateId=${Mr(this.templateId)}
|
@@ -10698,4 +10692,4 @@ export {
|
|
10698
10692
|
Fa as c,
|
10699
10693
|
x4 as g
|
10700
10694
|
};
|
10701
|
-
//# sourceMappingURL=index-
|
10695
|
+
//# sourceMappingURL=index-d15aeb56.js.map
|