@harbour-enterprises/superdoc 0.9.2 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{index-BTNHOrPH.es.js → index-B7EUHaKD.es.js} +1 -1
- package/dist/chunks/{index-YBopi5s7.cjs → index-BJQ3rSJD.cjs} +1 -1
- package/dist/chunks/{index-C1X0b8Ar.es.js → index-BMGnBpkG.es.js} +2 -2
- package/dist/chunks/{index-BrpJYKyb.cjs → index-D8Qchtwe.cjs} +1 -1
- package/dist/chunks/{super-editor.es-DsfdglB7.cjs → super-editor.es-D0PYoAPc.cjs} +86 -86
- package/dist/chunks/{super-editor.es-hIZccerY.es.js → super-editor.es-DzXTasdX.es.js} +6309 -6582
- package/dist/chunks/{url-Cbp-K7Zp.es.js → url-B97dHJnn.es.js} +1 -1
- package/dist/chunks/{url-ByJ526eV.cjs → url-lfePTVJU.cjs} +1 -1
- package/dist/chunks/xml-js-BXHFNveP.cjs +10 -0
- package/dist/chunks/{xml-js-DpY71BGC.es.js → xml-js-BmgwNvFk.es.js} +126 -129
- package/dist/super-editor/chunks/{converter-BiUmL68h.js → converter-BYZMsYC6.js} +13 -13
- package/dist/super-editor/chunks/{docx-zipper-D1QaSH0t.js → docx-zipper-DnQsAKQr.js} +1 -1
- package/dist/super-editor/chunks/{editor-ezBnbth9.js → editor-B6pEAzx8.js} +3023 -3296
- package/dist/super-editor/chunks/{toolbar-5tbjM4Sb.js → toolbar-CMdpuplt.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/extensions/paragraph/paragraph.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +41 -41
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +8 -8
- package/dist/superdoc.cjs +5 -5
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +3827 -4100
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-C96rcmGb.cjs +0 -10
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-DJbCKw0t.d.ts +0 -3
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-DJbCKw0t.d.ts.map +0 -1
- package/dist/super-editor/tests/playwright/playwright-test/dist/assets/index-CRixhnI8.d.ts +0 -3
- package/dist/super-editor/tests/playwright/playwright-test/dist/assets/index-CRixhnI8.d.ts.map +0 -1
|
@@ -241,7 +241,7 @@ function zr(r, e, t, n) {
|
|
|
241
241
|
else
|
|
242
242
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof r);
|
|
243
243
|
}
|
|
244
|
-
var
|
|
244
|
+
var ti = nr.exports;
|
|
245
245
|
const $t = /* @__PURE__ */ mt(bt);
|
|
246
246
|
var Tt = {}, Vr = {}, qr = function() {
|
|
247
247
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
@@ -298,60 +298,57 @@ function Vt() {
|
|
|
298
298
|
return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
|
|
299
299
|
}, Ce;
|
|
300
300
|
}
|
|
301
|
-
var Kr = typeof Reflect < "u" && Reflect.getPrototypeOf || null,
|
|
302
|
-
function Zr() {
|
|
303
|
-
if (dr) return Le;
|
|
304
|
-
dr = 1;
|
|
305
|
-
var r = Hr;
|
|
306
|
-
return Le = r.getPrototypeOf || null, Le;
|
|
307
|
-
}
|
|
308
|
-
var qt = "Function.prototype.bind called on incompatible ", Ht = Object.prototype.toString, Jt = Math.max, Kt = "[object Function]", hr = function(e, t) {
|
|
301
|
+
var Kr = typeof Reflect < "u" && Reflect.getPrototypeOf || null, qt = Hr, Zr = qt.getPrototypeOf || null, Ht = "Function.prototype.bind called on incompatible ", Jt = Object.prototype.toString, Kt = Math.max, Zt = "[object Function]", dr = function(e, t) {
|
|
309
302
|
for (var n = [], i = 0; i < e.length; i += 1)
|
|
310
303
|
n[i] = e[i];
|
|
311
304
|
for (var c = 0; c < t.length; c += 1)
|
|
312
305
|
n[c + e.length] = t[c];
|
|
313
306
|
return n;
|
|
314
|
-
},
|
|
307
|
+
}, Yt = function(e, t) {
|
|
315
308
|
for (var n = [], i = t, c = 0; i < e.length; i += 1, c += 1)
|
|
316
309
|
n[c] = e[i];
|
|
317
310
|
return n;
|
|
318
|
-
},
|
|
311
|
+
}, Qt = function(r, e) {
|
|
319
312
|
for (var t = "", n = 0; n < r.length; n += 1)
|
|
320
313
|
t += r[n], n + 1 < r.length && (t += e);
|
|
321
314
|
return t;
|
|
322
|
-
},
|
|
315
|
+
}, Xt = function(e) {
|
|
323
316
|
var t = this;
|
|
324
|
-
if (typeof t != "function" ||
|
|
325
|
-
throw new TypeError(
|
|
326
|
-
for (var n =
|
|
317
|
+
if (typeof t != "function" || Jt.apply(t) !== Zt)
|
|
318
|
+
throw new TypeError(Ht + t);
|
|
319
|
+
for (var n = Yt(arguments, 1), i, c = function() {
|
|
327
320
|
if (this instanceof i) {
|
|
328
321
|
var j = t.apply(
|
|
329
322
|
this,
|
|
330
|
-
|
|
323
|
+
dr(n, arguments)
|
|
331
324
|
);
|
|
332
325
|
return Object(j) === j ? j : this;
|
|
333
326
|
}
|
|
334
327
|
return t.apply(
|
|
335
328
|
e,
|
|
336
|
-
|
|
329
|
+
dr(n, arguments)
|
|
337
330
|
);
|
|
338
|
-
}, u =
|
|
331
|
+
}, u = Kt(0, t.length - n.length), p = [], d = 0; d < u; d++)
|
|
339
332
|
p[d] = "$" + d;
|
|
340
|
-
if (i = Function("binder", "return function (" +
|
|
333
|
+
if (i = Function("binder", "return function (" + Qt(p, ",") + "){ return binder.apply(this,arguments); }")(c), t.prototype) {
|
|
341
334
|
var E = function() {
|
|
342
335
|
};
|
|
343
336
|
E.prototype = t.prototype, i.prototype = new E(), E.prototype = null;
|
|
344
337
|
}
|
|
345
338
|
return i;
|
|
346
|
-
},
|
|
339
|
+
}, en = Xt, se = Function.prototype.bind || en, Le, hr;
|
|
340
|
+
function or() {
|
|
341
|
+
return hr || (hr = 1, Le = Function.prototype.call), Le;
|
|
342
|
+
}
|
|
343
|
+
var Ue, gr;
|
|
347
344
|
function ir() {
|
|
348
345
|
return gr || (gr = 1, Ue = Function.prototype.apply), Ue;
|
|
349
346
|
}
|
|
350
|
-
var
|
|
347
|
+
var rn = typeof Reflect < "u" && Reflect && Reflect.apply, tn = se, nn = ir(), on = or(), an = rn, Yr = an || tn.call(on, nn), fn = se, sn = fe, un = or(), ln = Yr, ar = function(e) {
|
|
351
348
|
if (e.length < 1 || typeof e[0] != "function")
|
|
352
|
-
throw new
|
|
353
|
-
return
|
|
354
|
-
},
|
|
349
|
+
throw new sn("a function is required");
|
|
350
|
+
return ln(fn, un, e);
|
|
351
|
+
}, cn = ar, vr = oe, Qr;
|
|
355
352
|
try {
|
|
356
353
|
Qr = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
357
354
|
[].__proto__ === Array.prototype;
|
|
@@ -363,12 +360,12 @@ var De = !!Qr && vr && vr(
|
|
|
363
360
|
Object.prototype,
|
|
364
361
|
/** @type {keyof typeof Object.prototype} */
|
|
365
362
|
"__proto__"
|
|
366
|
-
), Xr = Object, mr = Xr.getPrototypeOf,
|
|
363
|
+
), Xr = Object, mr = Xr.getPrototypeOf, yn = De && typeof De.get == "function" ? cn([De.get]) : typeof mr == "function" ? (
|
|
367
364
|
/** @type {import('./get')} */
|
|
368
365
|
function(e) {
|
|
369
366
|
return mr(e == null ? e : Xr(e));
|
|
370
367
|
}
|
|
371
|
-
) : !1, br = Kr, Ar = Zr
|
|
368
|
+
) : !1, br = Kr, Ar = Zr, wr = yn, fr = br ? function(e) {
|
|
372
369
|
return br(e);
|
|
373
370
|
} : Ar ? function(e) {
|
|
374
371
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
@@ -383,14 +380,14 @@ function et() {
|
|
|
383
380
|
var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = se;
|
|
384
381
|
return Me = t.call(r, e), Me;
|
|
385
382
|
}
|
|
386
|
-
var v,
|
|
383
|
+
var v, pn = Hr, dn = Ft, hn = Nt, gn = It, vn = Rt, ne = Jr, te = fe, mn = _t, bn = Ct, An = Lt, wn = Ut, Sn = Dt, On = Mt, Pn = kt, En = Wt, rt = Function, ke = function(r) {
|
|
387
384
|
try {
|
|
388
385
|
return rt('"use strict"; return (' + r + ").constructor;")();
|
|
389
386
|
} catch {
|
|
390
387
|
}
|
|
391
|
-
}, ae = oe,
|
|
388
|
+
}, ae = oe, jn = Fe, Ge = function() {
|
|
392
389
|
throw new te();
|
|
393
|
-
},
|
|
390
|
+
}, $n = ae ? function() {
|
|
394
391
|
try {
|
|
395
392
|
return arguments.callee, Ge;
|
|
396
393
|
} catch {
|
|
@@ -400,7 +397,7 @@ var v, yn = Hr, pn = Ft, dn = Nt, hn = It, gn = Rt, ne = Jr, te = fe, vn = _t, m
|
|
|
400
397
|
return Ge;
|
|
401
398
|
}
|
|
402
399
|
}
|
|
403
|
-
}() : Ge, Y = Vt()(), $ = fr,
|
|
400
|
+
}() : Ge, Y = Vt()(), $ = fr, Tn = Zr, Bn = Kr, tt = ir(), ue = or(), X = {}, Fn = typeof Uint8Array > "u" || !$ ? v : $(Uint8Array), z = {
|
|
404
401
|
__proto__: null,
|
|
405
402
|
"%AggregateError%": typeof AggregateError > "u" ? v : AggregateError,
|
|
406
403
|
"%Array%": Array,
|
|
@@ -422,10 +419,10 @@ var v, yn = Hr, pn = Ft, dn = Nt, hn = It, gn = Rt, ne = Jr, te = fe, vn = _t, m
|
|
|
422
419
|
"%decodeURIComponent%": decodeURIComponent,
|
|
423
420
|
"%encodeURI%": encodeURI,
|
|
424
421
|
"%encodeURIComponent%": encodeURIComponent,
|
|
425
|
-
"%Error%":
|
|
422
|
+
"%Error%": dn,
|
|
426
423
|
"%eval%": eval,
|
|
427
424
|
// eslint-disable-line no-eval
|
|
428
|
-
"%EvalError%":
|
|
425
|
+
"%EvalError%": hn,
|
|
429
426
|
"%Float16Array%": typeof Float16Array > "u" ? v : Float16Array,
|
|
430
427
|
"%Float32Array%": typeof Float32Array > "u" ? v : Float32Array,
|
|
431
428
|
"%Float64Array%": typeof Float64Array > "u" ? v : Float64Array,
|
|
@@ -443,14 +440,14 @@ var v, yn = Hr, pn = Ft, dn = Nt, hn = It, gn = Rt, ne = Jr, te = fe, vn = _t, m
|
|
|
443
440
|
"%MapIteratorPrototype%": typeof Map > "u" || !Y || !$ ? v : $((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
444
441
|
"%Math%": Math,
|
|
445
442
|
"%Number%": Number,
|
|
446
|
-
"%Object%":
|
|
443
|
+
"%Object%": pn,
|
|
447
444
|
"%Object.getOwnPropertyDescriptor%": ae,
|
|
448
445
|
"%parseFloat%": parseFloat,
|
|
449
446
|
"%parseInt%": parseInt,
|
|
450
447
|
"%Promise%": typeof Promise > "u" ? v : Promise,
|
|
451
448
|
"%Proxy%": typeof Proxy > "u" ? v : Proxy,
|
|
452
|
-
"%RangeError%":
|
|
453
|
-
"%ReferenceError%":
|
|
449
|
+
"%RangeError%": gn,
|
|
450
|
+
"%ReferenceError%": vn,
|
|
454
451
|
"%Reflect%": typeof Reflect > "u" ? v : Reflect,
|
|
455
452
|
"%RegExp%": RegExp,
|
|
456
453
|
"%Set%": typeof Set > "u" ? v : Set,
|
|
@@ -460,38 +457,38 @@ var v, yn = Hr, pn = Ft, dn = Nt, hn = It, gn = Rt, ne = Jr, te = fe, vn = _t, m
|
|
|
460
457
|
"%StringIteratorPrototype%": Y && $ ? $(""[Symbol.iterator]()) : v,
|
|
461
458
|
"%Symbol%": Y ? Symbol : v,
|
|
462
459
|
"%SyntaxError%": ne,
|
|
463
|
-
"%ThrowTypeError%":
|
|
464
|
-
"%TypedArray%":
|
|
460
|
+
"%ThrowTypeError%": $n,
|
|
461
|
+
"%TypedArray%": Fn,
|
|
465
462
|
"%TypeError%": te,
|
|
466
463
|
"%Uint8Array%": typeof Uint8Array > "u" ? v : Uint8Array,
|
|
467
464
|
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? v : Uint8ClampedArray,
|
|
468
465
|
"%Uint16Array%": typeof Uint16Array > "u" ? v : Uint16Array,
|
|
469
466
|
"%Uint32Array%": typeof Uint32Array > "u" ? v : Uint32Array,
|
|
470
|
-
"%URIError%":
|
|
467
|
+
"%URIError%": mn,
|
|
471
468
|
"%WeakMap%": typeof WeakMap > "u" ? v : WeakMap,
|
|
472
469
|
"%WeakRef%": typeof WeakRef > "u" ? v : WeakRef,
|
|
473
470
|
"%WeakSet%": typeof WeakSet > "u" ? v : WeakSet,
|
|
474
471
|
"%Function.prototype.call%": ue,
|
|
475
472
|
"%Function.prototype.apply%": tt,
|
|
476
|
-
"%Object.defineProperty%":
|
|
477
|
-
"%Object.getPrototypeOf%":
|
|
478
|
-
"%Math.abs%":
|
|
479
|
-
"%Math.floor%":
|
|
480
|
-
"%Math.max%":
|
|
481
|
-
"%Math.min%":
|
|
482
|
-
"%Math.pow%":
|
|
483
|
-
"%Math.round%":
|
|
484
|
-
"%Math.sign%":
|
|
485
|
-
"%Reflect.getPrototypeOf%":
|
|
473
|
+
"%Object.defineProperty%": jn,
|
|
474
|
+
"%Object.getPrototypeOf%": Tn,
|
|
475
|
+
"%Math.abs%": bn,
|
|
476
|
+
"%Math.floor%": An,
|
|
477
|
+
"%Math.max%": wn,
|
|
478
|
+
"%Math.min%": Sn,
|
|
479
|
+
"%Math.pow%": On,
|
|
480
|
+
"%Math.round%": Pn,
|
|
481
|
+
"%Math.sign%": En,
|
|
482
|
+
"%Reflect.getPrototypeOf%": Bn
|
|
486
483
|
};
|
|
487
484
|
if ($)
|
|
488
485
|
try {
|
|
489
486
|
null.error;
|
|
490
487
|
} catch (r) {
|
|
491
|
-
var
|
|
492
|
-
z["%Error.prototype%"] =
|
|
488
|
+
var Nn = $($(r));
|
|
489
|
+
z["%Error.prototype%"] = Nn;
|
|
493
490
|
}
|
|
494
|
-
var
|
|
491
|
+
var In = function r(e) {
|
|
495
492
|
var t;
|
|
496
493
|
if (e === "%AsyncFunction%")
|
|
497
494
|
t = ke("async function () {}");
|
|
@@ -560,21 +557,21 @@ var Nn = function r(e) {
|
|
|
560
557
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
561
558
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
562
559
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
563
|
-
}, le = se, Pe = et(),
|
|
560
|
+
}, le = se, Pe = et(), Rn = le.call(ue, Array.prototype.concat), _n = le.call(tt, Array.prototype.splice), Pr = le.call(ue, String.prototype.replace), Ee = le.call(ue, String.prototype.slice), Cn = le.call(ue, RegExp.prototype.exec), Ln = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Un = /\\(\\)?/g, Dn = function(e) {
|
|
564
561
|
var t = Ee(e, 0, 1), n = Ee(e, -1);
|
|
565
562
|
if (t === "%" && n !== "%")
|
|
566
563
|
throw new ne("invalid intrinsic syntax, expected closing `%`");
|
|
567
564
|
if (n === "%" && t !== "%")
|
|
568
565
|
throw new ne("invalid intrinsic syntax, expected opening `%`");
|
|
569
566
|
var i = [];
|
|
570
|
-
return Pr(e,
|
|
571
|
-
i[i.length] = p ? Pr(d,
|
|
567
|
+
return Pr(e, Ln, function(c, u, p, d) {
|
|
568
|
+
i[i.length] = p ? Pr(d, Un, "$1") : u || c;
|
|
572
569
|
}), i;
|
|
573
|
-
},
|
|
570
|
+
}, Mn = function(e, t) {
|
|
574
571
|
var n = e, i;
|
|
575
572
|
if (Pe(Or, n) && (i = Or[n], n = "%" + i[0] + "%"), Pe(z, n)) {
|
|
576
573
|
var c = z[n];
|
|
577
|
-
if (c === X && (c =
|
|
574
|
+
if (c === X && (c = In(n)), typeof c > "u" && !t)
|
|
578
575
|
throw new te("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
579
576
|
return {
|
|
580
577
|
alias: i,
|
|
@@ -588,10 +585,10 @@ var Nn = function r(e) {
|
|
|
588
585
|
throw new te("intrinsic name must be a non-empty string");
|
|
589
586
|
if (arguments.length > 1 && typeof t != "boolean")
|
|
590
587
|
throw new te('"allowMissing" argument must be a boolean');
|
|
591
|
-
if (
|
|
588
|
+
if (Cn(/^%?[^%]*%?$/, e) === null)
|
|
592
589
|
throw new ne("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
593
|
-
var n =
|
|
594
|
-
E && (i = E[0],
|
|
590
|
+
var n = Dn(e), i = n.length > 0 ? n[0] : "", c = Mn("%" + i + "%", t), u = c.name, p = c.value, d = !1, E = c.alias;
|
|
591
|
+
E && (i = E[0], _n(n, Rn([0, 1], E)));
|
|
595
592
|
for (var j = 1, I = !0; j < n.length; j += 1) {
|
|
596
593
|
var T = n[j], R = Ee(T, 0, 1), F = Ee(T, -1);
|
|
597
594
|
if ((R === '"' || R === "'" || R === "`" || F === '"' || F === "'" || F === "`") && R !== F)
|
|
@@ -613,26 +610,26 @@ var Nn = function r(e) {
|
|
|
613
610
|
}
|
|
614
611
|
}
|
|
615
612
|
return p;
|
|
616
|
-
}, ot = nt, it = ar,
|
|
613
|
+
}, ot = nt, it = ar, kn = it([ot("%String.prototype.indexOf%")]), ce = function(e, t) {
|
|
617
614
|
var n = (
|
|
618
615
|
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
619
616
|
ot(e, !!t)
|
|
620
617
|
);
|
|
621
|
-
return typeof n == "function" &&
|
|
618
|
+
return typeof n == "function" && kn(e, ".prototype.") > -1 ? it(
|
|
622
619
|
/** @type {const} */
|
|
623
620
|
[n]
|
|
624
621
|
) : n;
|
|
625
|
-
},
|
|
626
|
-
return
|
|
622
|
+
}, Gn = Be(), xn = ce, Ze = xn("Object.prototype.toString"), Ne = function(e) {
|
|
623
|
+
return Gn && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Ze(e) === "[object Arguments]";
|
|
627
624
|
}, at = function(e) {
|
|
628
625
|
return Ne(e) ? !0 : e !== null && typeof e == "object" && "length" in e && typeof e.length == "number" && e.length >= 0 && Ze(e) !== "[object Array]" && "callee" in e && Ze(e.callee) === "[object Function]";
|
|
629
|
-
},
|
|
626
|
+
}, Wn = function() {
|
|
630
627
|
return Ne(arguments);
|
|
631
628
|
}();
|
|
632
629
|
Ne.isLegacyArguments = at;
|
|
633
|
-
var
|
|
634
|
-
if (
|
|
635
|
-
var
|
|
630
|
+
var zn = Wn ? Ne : at, Er = ce, Vn = Be(), qn = et(), Hn = oe, Ye;
|
|
631
|
+
if (Vn) {
|
|
632
|
+
var Jn = Er("RegExp.prototype.exec"), jr = {}, xe = function() {
|
|
636
633
|
throw jr;
|
|
637
634
|
}, $r = {
|
|
638
635
|
toString: xe,
|
|
@@ -643,16 +640,16 @@ if (zn) {
|
|
|
643
640
|
return !1;
|
|
644
641
|
var t = (
|
|
645
642
|
/** @type {NonNullable<typeof gOPD>} */
|
|
646
|
-
|
|
643
|
+
Hn(
|
|
647
644
|
/** @type {{ lastIndex?: unknown }} */
|
|
648
645
|
e,
|
|
649
646
|
"lastIndex"
|
|
650
647
|
)
|
|
651
|
-
), n = t &&
|
|
648
|
+
), n = t && qn(t, "value");
|
|
652
649
|
if (!n)
|
|
653
650
|
return !1;
|
|
654
651
|
try {
|
|
655
|
-
|
|
652
|
+
Jn(
|
|
656
653
|
e,
|
|
657
654
|
/** @type {string} */
|
|
658
655
|
/** @type {unknown} */
|
|
@@ -663,37 +660,37 @@ if (zn) {
|
|
|
663
660
|
}
|
|
664
661
|
};
|
|
665
662
|
} else {
|
|
666
|
-
var
|
|
663
|
+
var Kn = Er("Object.prototype.toString"), Zn = "[object RegExp]";
|
|
667
664
|
Ye = function(e) {
|
|
668
|
-
return !e || typeof e != "object" && typeof e != "function" ? !1 :
|
|
665
|
+
return !e || typeof e != "object" && typeof e != "function" ? !1 : Kn(e) === Zn;
|
|
669
666
|
};
|
|
670
667
|
}
|
|
671
|
-
var
|
|
672
|
-
if (!
|
|
673
|
-
throw new
|
|
668
|
+
var Yn = Ye, Qn = ce, Xn = Yn, eo = Qn("RegExp.prototype.exec"), ro = fe, to = function(e) {
|
|
669
|
+
if (!Xn(e))
|
|
670
|
+
throw new ro("`regex` must be a RegExp");
|
|
674
671
|
return function(n) {
|
|
675
|
-
return
|
|
672
|
+
return eo(e, n) !== null;
|
|
676
673
|
};
|
|
677
|
-
}, ft = ce,
|
|
674
|
+
}, ft = ce, no = to, oo = no(/^\s*(?:function)?\*/), st = Be(), We = fr, io = ft("Object.prototype.toString"), ao = ft("Function.prototype.toString"), fo = function() {
|
|
678
675
|
if (!st)
|
|
679
676
|
return !1;
|
|
680
677
|
try {
|
|
681
678
|
return Function("return function*() {}")();
|
|
682
679
|
} catch {
|
|
683
680
|
}
|
|
684
|
-
}, ze,
|
|
681
|
+
}, ze, so = function(e) {
|
|
685
682
|
if (typeof e != "function")
|
|
686
683
|
return !1;
|
|
687
|
-
if (
|
|
684
|
+
if (oo(ao(e)))
|
|
688
685
|
return !0;
|
|
689
686
|
if (!st) {
|
|
690
|
-
var t =
|
|
687
|
+
var t = io(e);
|
|
691
688
|
return t === "[object GeneratorFunction]";
|
|
692
689
|
}
|
|
693
690
|
if (!We)
|
|
694
691
|
return !1;
|
|
695
692
|
if (typeof ze > "u") {
|
|
696
|
-
var n =
|
|
693
|
+
var n = fo();
|
|
697
694
|
ze = n ? (
|
|
698
695
|
/** @type {GeneratorFunctionConstructor} */
|
|
699
696
|
We(n)
|
|
@@ -715,10 +712,10 @@ if (typeof ee == "function" && typeof Object.defineProperty == "function")
|
|
|
715
712
|
}
|
|
716
713
|
else
|
|
717
714
|
ee = null;
|
|
718
|
-
var
|
|
715
|
+
var uo = /^\s*class\b/, Xe = function(e) {
|
|
719
716
|
try {
|
|
720
717
|
var t = ut.call(e);
|
|
721
|
-
return
|
|
718
|
+
return uo.test(t);
|
|
722
719
|
} catch {
|
|
723
720
|
return !1;
|
|
724
721
|
}
|
|
@@ -728,22 +725,22 @@ var so = /^\s*class\b/, Xe = function(e) {
|
|
|
728
725
|
} catch {
|
|
729
726
|
return !1;
|
|
730
727
|
}
|
|
731
|
-
}, we = Object.prototype.toString,
|
|
728
|
+
}, we = Object.prototype.toString, lo = "[object Object]", co = "[object Function]", yo = "[object GeneratorFunction]", po = "[object HTMLAllCollection]", ho = "[object HTML document.all class]", go = "[object HTMLCollection]", vo = typeof Symbol == "function" && !!Symbol.toStringTag, mo = !(0 in [,]), er = function() {
|
|
732
729
|
return !1;
|
|
733
730
|
};
|
|
734
731
|
if (typeof document == "object") {
|
|
735
|
-
var
|
|
736
|
-
we.call(
|
|
737
|
-
if ((
|
|
732
|
+
var bo = document.all;
|
|
733
|
+
we.call(bo) === we.call(document.all) && (er = function(e) {
|
|
734
|
+
if ((mo || !e) && (typeof e > "u" || typeof e == "object"))
|
|
738
735
|
try {
|
|
739
736
|
var t = we.call(e);
|
|
740
|
-
return (t ===
|
|
737
|
+
return (t === po || t === ho || t === go || t === lo) && e("") == null;
|
|
741
738
|
} catch {
|
|
742
739
|
}
|
|
743
740
|
return !1;
|
|
744
741
|
});
|
|
745
742
|
}
|
|
746
|
-
var
|
|
743
|
+
var Ao = ee ? function(e) {
|
|
747
744
|
if (er(e))
|
|
748
745
|
return !0;
|
|
749
746
|
if (!e || typeof e != "function" && typeof e != "object")
|
|
@@ -760,31 +757,31 @@ var bo = ee ? function(e) {
|
|
|
760
757
|
return !0;
|
|
761
758
|
if (!e || typeof e != "function" && typeof e != "object")
|
|
762
759
|
return !1;
|
|
763
|
-
if (
|
|
760
|
+
if (vo)
|
|
764
761
|
return Ve(e);
|
|
765
762
|
if (Xe(e))
|
|
766
763
|
return !1;
|
|
767
764
|
var t = we.call(e);
|
|
768
|
-
return t !==
|
|
769
|
-
},
|
|
765
|
+
return t !== co && t !== yo && !/^\[object HTML/.test(t) ? !1 : Ve(e);
|
|
766
|
+
}, wo = Ao, So = Object.prototype.toString, lt = Object.prototype.hasOwnProperty, Oo = function(e, t, n) {
|
|
770
767
|
for (var i = 0, c = e.length; i < c; i++)
|
|
771
768
|
lt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
|
|
772
|
-
},
|
|
769
|
+
}, Po = function(e, t, n) {
|
|
773
770
|
for (var i = 0, c = e.length; i < c; i++)
|
|
774
771
|
n == null ? t(e.charAt(i), i, e) : t.call(n, e.charAt(i), i, e);
|
|
775
|
-
},
|
|
772
|
+
}, Eo = function(e, t, n) {
|
|
776
773
|
for (var i in e)
|
|
777
774
|
lt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
|
|
778
775
|
};
|
|
779
|
-
function
|
|
780
|
-
return
|
|
776
|
+
function jo(r) {
|
|
777
|
+
return So.call(r) === "[object Array]";
|
|
781
778
|
}
|
|
782
|
-
var
|
|
783
|
-
if (!
|
|
779
|
+
var $o = function(e, t, n) {
|
|
780
|
+
if (!wo(t))
|
|
784
781
|
throw new TypeError("iterator must be a function");
|
|
785
782
|
var i;
|
|
786
|
-
arguments.length >= 3 && (i = n),
|
|
787
|
-
},
|
|
783
|
+
arguments.length >= 3 && (i = n), jo(e) ? Oo(e, t, i) : typeof e == "string" ? Po(e, t, i) : Eo(e, t, i);
|
|
784
|
+
}, To = [
|
|
788
785
|
"Float16Array",
|
|
789
786
|
"Float32Array",
|
|
790
787
|
"Float64Array",
|
|
@@ -797,11 +794,11 @@ var jo = function(e, t, n) {
|
|
|
797
794
|
"Uint32Array",
|
|
798
795
|
"BigInt64Array",
|
|
799
796
|
"BigUint64Array"
|
|
800
|
-
], qe =
|
|
797
|
+
], qe = To, Bo = typeof globalThis > "u" ? Oe : globalThis, Fo = function() {
|
|
801
798
|
for (var e = [], t = 0; t < qe.length; t++)
|
|
802
|
-
typeof
|
|
799
|
+
typeof Bo[qe[t]] == "function" && (e[e.length] = qe[t]);
|
|
803
800
|
return e;
|
|
804
|
-
}, ct = { exports: {} }, Tr = Fe,
|
|
801
|
+
}, ct = { exports: {} }, Tr = Fe, No = Jr, Q = fe, Br = oe, Io = function(e, t, n) {
|
|
805
802
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
806
803
|
throw new Q("`obj` must be an object or a function`");
|
|
807
804
|
if (typeof t != "string" && typeof t != "symbol")
|
|
@@ -825,7 +822,7 @@ var jo = function(e, t, n) {
|
|
|
825
822
|
else if (p || !i && !c && !u)
|
|
826
823
|
e[t] = n;
|
|
827
824
|
else
|
|
828
|
-
throw new
|
|
825
|
+
throw new No("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
829
826
|
}, rr = Fe, yt = function() {
|
|
830
827
|
return !!rr;
|
|
831
828
|
};
|
|
@@ -838,17 +835,17 @@ yt.hasArrayLengthDefineBug = function() {
|
|
|
838
835
|
return !0;
|
|
839
836
|
}
|
|
840
837
|
};
|
|
841
|
-
var
|
|
838
|
+
var Ro = yt, _o = nt, Fr = Io, Co = Ro(), Nr = oe, Ir = fe, Lo = _o("%Math.floor%"), Uo = function(e, t) {
|
|
842
839
|
if (typeof e != "function")
|
|
843
840
|
throw new Ir("`fn` is not a function");
|
|
844
|
-
if (typeof t != "number" || t < 0 || t > 4294967295 ||
|
|
841
|
+
if (typeof t != "number" || t < 0 || t > 4294967295 || Lo(t) !== t)
|
|
845
842
|
throw new Ir("`length` must be a positive 32-bit integer");
|
|
846
843
|
var n = arguments.length > 2 && !!arguments[2], i = !0, c = !0;
|
|
847
844
|
if ("length" in e && Nr) {
|
|
848
845
|
var u = Nr(e, "length");
|
|
849
846
|
u && !u.configurable && (i = !1), u && !u.writable && (c = !1);
|
|
850
847
|
}
|
|
851
|
-
return (i || c || !n) && (
|
|
848
|
+
return (i || c || !n) && (Co ? Fr(
|
|
852
849
|
/** @type {Parameters<define>[0]} */
|
|
853
850
|
e,
|
|
854
851
|
"length",
|
|
@@ -861,11 +858,11 @@ var Io = yt, Ro = nt, Fr = No, _o = Io(), Nr = oe, Ir = fe, Co = Ro("%Math.floor
|
|
|
861
858
|
"length",
|
|
862
859
|
t
|
|
863
860
|
)), e;
|
|
864
|
-
},
|
|
865
|
-
return
|
|
861
|
+
}, Do = se, Mo = ir(), ko = Yr, Go = function() {
|
|
862
|
+
return ko(Do, Mo, arguments);
|
|
866
863
|
};
|
|
867
864
|
(function(r) {
|
|
868
|
-
var e =
|
|
865
|
+
var e = Uo, t = Fe, n = ar, i = Go;
|
|
869
866
|
r.exports = function(u) {
|
|
870
867
|
var p = n(arguments), d = u.length - (arguments.length - 1);
|
|
871
868
|
return e(
|
|
@@ -875,7 +872,7 @@ var Io = yt, Ro = nt, Fr = No, _o = Io(), Nr = oe, Ir = fe, Co = Ro("%Math.floor
|
|
|
875
872
|
);
|
|
876
873
|
}, t ? t(r.exports, "apply", { value: i }) : r.exports.apply = i;
|
|
877
874
|
})(ct);
|
|
878
|
-
var
|
|
875
|
+
var xo = ct.exports, je = $o, Wo = Fo, Rr = xo, sr = ce, Se = oe, he = fr, zo = sr("Object.prototype.toString"), pt = Be(), _r = typeof globalThis > "u" ? Oe : globalThis, tr = Wo(), ur = sr("String.prototype.slice"), Vo = sr("Array.prototype.indexOf", !0) || function(e, t) {
|
|
879
876
|
for (var n = 0; n < e.length; n += 1)
|
|
880
877
|
if (e[n] === t)
|
|
881
878
|
return n;
|
|
@@ -900,7 +897,7 @@ pt && Se && he ? je(tr, function(r) {
|
|
|
900
897
|
// @ts-expect-error TODO FIXME
|
|
901
898
|
Rr(t));
|
|
902
899
|
});
|
|
903
|
-
var
|
|
900
|
+
var qo = function(e) {
|
|
904
901
|
var t = !1;
|
|
905
902
|
return je(
|
|
906
903
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
@@ -915,7 +912,7 @@ var Vo = function(e) {
|
|
|
915
912
|
}
|
|
916
913
|
}
|
|
917
914
|
), t;
|
|
918
|
-
},
|
|
915
|
+
}, Ho = function(e) {
|
|
919
916
|
var t = !1;
|
|
920
917
|
return je(
|
|
921
918
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
@@ -934,15 +931,15 @@ var Vo = function(e) {
|
|
|
934
931
|
if (!e || typeof e != "object")
|
|
935
932
|
return !1;
|
|
936
933
|
if (!pt) {
|
|
937
|
-
var t = ur(
|
|
938
|
-
return
|
|
934
|
+
var t = ur(zo(e), 8, -1);
|
|
935
|
+
return Vo(tr, t) > -1 ? t : t !== "Object" ? !1 : Ho(e);
|
|
939
936
|
}
|
|
940
|
-
return Se ?
|
|
941
|
-
},
|
|
942
|
-
return !!
|
|
937
|
+
return Se ? qo(e) : null;
|
|
938
|
+
}, Jo = dt, Ko = function(e) {
|
|
939
|
+
return !!Jo(e);
|
|
943
940
|
};
|
|
944
941
|
(function(r) {
|
|
945
|
-
var e =
|
|
942
|
+
var e = zn, t = so, n = dt, i = Ko;
|
|
946
943
|
function c(s) {
|
|
947
944
|
return s.call.bind(s);
|
|
948
945
|
}
|
|
@@ -1125,7 +1122,7 @@ var Vo = function(e) {
|
|
|
1125
1122
|
});
|
|
1126
1123
|
});
|
|
1127
1124
|
})(Vr);
|
|
1128
|
-
var
|
|
1125
|
+
var Zo = function(e) {
|
|
1129
1126
|
return e && typeof e == "object" && typeof e.copy == "function" && typeof e.fill == "function" && typeof e.readUInt8 == "function";
|
|
1130
1127
|
};
|
|
1131
1128
|
(function(r) {
|
|
@@ -1404,7 +1401,7 @@ var Ko = function(e) {
|
|
|
1404
1401
|
return o === null || typeof o == "boolean" || typeof o == "number" || typeof o == "string" || typeof o == "symbol" || // ES6 symbol
|
|
1405
1402
|
typeof o > "u";
|
|
1406
1403
|
}
|
|
1407
|
-
r.isPrimitive = Re, r.isBuffer =
|
|
1404
|
+
r.isPrimitive = Re, r.isBuffer = Zo;
|
|
1408
1405
|
function k(o) {
|
|
1409
1406
|
return Object.prototype.toString.call(o);
|
|
1410
1407
|
}
|
|
@@ -1519,8 +1516,8 @@ var Ko = function(e) {
|
|
|
1519
1516
|
}
|
|
1520
1517
|
r.callbackify = ye;
|
|
1521
1518
|
})(Tt);
|
|
1522
|
-
var
|
|
1523
|
-
function
|
|
1519
|
+
var ni = Yo;
|
|
1520
|
+
function Yo(r, e) {
|
|
1524
1521
|
if (He("noDeprecation"))
|
|
1525
1522
|
return r;
|
|
1526
1523
|
var t = !1;
|
|
@@ -1544,7 +1541,7 @@ function He(r) {
|
|
|
1544
1541
|
return e == null ? !1 : String(e).toLowerCase() === "true";
|
|
1545
1542
|
}
|
|
1546
1543
|
var Je = {}, ge = { exports: {} }, Cr;
|
|
1547
|
-
function
|
|
1544
|
+
function Qo() {
|
|
1548
1545
|
return Cr || (Cr = 1, function(r, e) {
|
|
1549
1546
|
var t = $t, n = t.Buffer;
|
|
1550
1547
|
function i(u, p) {
|
|
@@ -1576,10 +1573,10 @@ function Yo() {
|
|
|
1576
1573
|
}(ge, ge.exports)), ge.exports;
|
|
1577
1574
|
}
|
|
1578
1575
|
var Lr;
|
|
1579
|
-
function
|
|
1576
|
+
function oi() {
|
|
1580
1577
|
if (Lr) return Je;
|
|
1581
1578
|
Lr = 1;
|
|
1582
|
-
var r =
|
|
1579
|
+
var r = Qo().Buffer, e = r.isEncoding || function(f) {
|
|
1583
1580
|
switch (f = "" + f, f && f.toLowerCase()) {
|
|
1584
1581
|
case "hex":
|
|
1585
1582
|
case "utf8":
|
|
@@ -1734,10 +1731,10 @@ function ni() {
|
|
|
1734
1731
|
return Je;
|
|
1735
1732
|
}
|
|
1736
1733
|
export {
|
|
1737
|
-
|
|
1738
|
-
|
|
1734
|
+
oi as a,
|
|
1735
|
+
ni as b,
|
|
1739
1736
|
ce as c,
|
|
1740
|
-
|
|
1737
|
+
ti as e,
|
|
1741
1738
|
nt as g,
|
|
1742
1739
|
At as i,
|
|
1743
1740
|
$t as r,
|