@harbour-enterprises/superdoc 0.9.2-RC → 0.9.3
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-D0Gn3n50.cjs → index-BXKGjuVW.cjs} +1 -1
- package/dist/chunks/{index-DRqF1WjP.cjs → index-CqRwYOdx.cjs} +1 -1
- package/dist/chunks/{index--p8kF7q4.es.js → index-DjLrg1eZ.es.js} +2 -2
- package/dist/chunks/{index-DzzKTGBm.es.js → index-dZKHAFXF.es.js} +1 -1
- package/dist/chunks/{super-editor.es-BGOho1TT.es.js → super-editor.es-BaKiJQoE.es.js} +16660 -19153
- package/dist/chunks/super-editor.es-kOcaXkai.cjs +419 -0
- package/dist/chunks/{url-CwlCXCgE.cjs → url-6Xu7gR4T.cjs} +1 -1
- package/dist/chunks/{url-l4UMQ_ni.es.js → url-BxDGAI6E.es.js} +1 -1
- package/dist/chunks/{xml-js-BiRf0MmB.es.js → xml-js-BAML2_fM.es.js} +124 -127
- package/dist/chunks/xml-js-zhwNEV5e.cjs +10 -0
- package/dist/super-editor/chunks/{converter-CXph-aod.js → converter-DzRQ2EtV.js} +2825 -4156
- package/dist/super-editor/chunks/{docx-zipper-OY-dSLv3.js → docx-zipper-CrpjP4_u.js} +1 -1
- package/dist/super-editor/chunks/{editor-NjKEL03Q.js → editor-DE4dAOnf.js} +3016 -4176
- package/dist/super-editor/chunks/{toolbar-C1BkAej9.js → toolbar-D_qLpwlX.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Editor.d.ts +1 -2
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/core/commands/toggleList.d.ts.map +1 -1
- package/dist/super-editor/core/extensions/keymap.d.ts +0 -3
- package/dist/super-editor/core/extensions/keymap.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts +1 -12
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts +1 -2
- package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts.map +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/bullet-list/bullet-list.d.ts.map +1 -1
- package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
- package/dist/super-editor/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +0 -1
- package/dist/super-editor/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +1 -1
- package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
- 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 +6 -6
- package/dist/super-editor/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
- package/dist/super-editor/tests/helpers/helpers.d.ts +0 -4
- package/dist/super-editor/tests/helpers/helpers.d.ts.map +1 -1
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +4 -4
- package/dist/superdoc.cjs +5 -5
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +8728 -11219
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/super-editor.es-BIngTWKG.cjs +0 -419
- package/dist/chunks/xml-js-DaJJ07Ae.cjs +0 -10
- package/dist/super-editor/core/helpers/baseListDefinitions.d.ts +0 -444
- package/dist/super-editor/core/helpers/baseListDefinitions.d.ts.map +0 -1
- package/dist/super-editor/core/super-converter/v2/exporter/helpers/base-list.definitions.d.ts +0 -444
- package/dist/super-editor/core/super-converter/v2/exporter/helpers/base-list.definitions.d.ts.map +0 -1
- package/dist/super-editor/tests/export/lists/importExportLists.test.d.ts +0 -2
- package/dist/super-editor/tests/export/lists/importExportLists.test.d.ts.map +0 -1
- package/dist/super-editor/tests/export/lists/testComplexListIssues.test.d.ts +0 -2
- package/dist/super-editor/tests/export/lists/testComplexListIssues.test.d.ts.map +0 -1
- package/dist/super-editor/tests/import/listImporterBasic.test.d.ts +0 -2
- package/dist/super-editor/tests/import/listImporterBasic.test.d.ts.map +0 -1
- package/dist/super-editor/tests/import/listImporterCustomLists.test.d.ts +0 -2
- package/dist/super-editor/tests/import/listImporterCustomLists.test.d.ts.map +0 -1
|
@@ -241,7 +241,7 @@ function Hr(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 Qo = ir.exports;
|
|
245
245
|
const Ft = /* @__PURE__ */ wt(St);
|
|
246
246
|
var It = {}, Jr = {}, Kr = function() {
|
|
247
247
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
@@ -298,17 +298,10 @@ function Jt() {
|
|
|
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 Qr = typeof Reflect < "u" && Reflect.getPrototypeOf || null, Le, gr;
|
|
302
|
-
function
|
|
301
|
+
var Qr = typeof Reflect < "u" && Reflect.getPrototypeOf || null, Kt = Zr, Xr = Kt.getPrototypeOf || null, Le, gr;
|
|
302
|
+
function Zt() {
|
|
303
303
|
if (gr) return Le;
|
|
304
304
|
gr = 1;
|
|
305
|
-
var r = Zr;
|
|
306
|
-
return Le = r.getPrototypeOf || null, Le;
|
|
307
|
-
}
|
|
308
|
-
var Ue, vr;
|
|
309
|
-
function Kt() {
|
|
310
|
-
if (vr) return Ue;
|
|
311
|
-
vr = 1;
|
|
312
305
|
var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", i = function(y, m) {
|
|
313
306
|
for (var w = [], $ = 0; $ < y.length; $ += 1)
|
|
314
307
|
w[$] = y[$];
|
|
@@ -324,7 +317,7 @@ function Kt() {
|
|
|
324
317
|
m += d[w], w + 1 < d.length && (m += y);
|
|
325
318
|
return m;
|
|
326
319
|
};
|
|
327
|
-
return
|
|
320
|
+
return Le = function(y) {
|
|
328
321
|
var m = this;
|
|
329
322
|
if (typeof m != "function" || e.apply(m) !== n)
|
|
330
323
|
throw new TypeError(r + m);
|
|
@@ -348,24 +341,28 @@ function Kt() {
|
|
|
348
341
|
C.prototype = m.prototype, $.prototype = new C(), C.prototype = null;
|
|
349
342
|
}
|
|
350
343
|
return $;
|
|
351
|
-
},
|
|
344
|
+
}, Le;
|
|
352
345
|
}
|
|
353
|
-
var
|
|
346
|
+
var Ue, vr;
|
|
354
347
|
function se() {
|
|
355
|
-
if (
|
|
356
|
-
|
|
357
|
-
var r =
|
|
358
|
-
return
|
|
348
|
+
if (vr) return Ue;
|
|
349
|
+
vr = 1;
|
|
350
|
+
var r = Zt();
|
|
351
|
+
return Ue = Function.prototype.bind || r, Ue;
|
|
352
|
+
}
|
|
353
|
+
var De, mr;
|
|
354
|
+
function ar() {
|
|
355
|
+
return mr || (mr = 1, De = Function.prototype.call), De;
|
|
359
356
|
}
|
|
360
|
-
var
|
|
357
|
+
var Me, br;
|
|
361
358
|
function fr() {
|
|
362
359
|
return br || (br = 1, Me = Function.prototype.apply), Me;
|
|
363
360
|
}
|
|
364
|
-
var
|
|
361
|
+
var Yt = typeof Reflect < "u" && Reflect && Reflect.apply, Qt = se(), Xt = fr(), en = ar(), rn = Yt, et = rn || Qt.call(en, Xt), tn = se(), nn = fe, on = ar(), an = et, sr = function(e) {
|
|
365
362
|
if (e.length < 1 || typeof e[0] != "function")
|
|
366
|
-
throw new
|
|
367
|
-
return
|
|
368
|
-
},
|
|
363
|
+
throw new nn("a function is required");
|
|
364
|
+
return an(tn, on, e);
|
|
365
|
+
}, fn = sr, Ar = oe, rt;
|
|
369
366
|
try {
|
|
370
367
|
rt = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
371
368
|
[].__proto__ === Array.prototype;
|
|
@@ -377,12 +374,12 @@ var ke = !!rt && Ar && Ar(
|
|
|
377
374
|
Object.prototype,
|
|
378
375
|
/** @type {keyof typeof Object.prototype} */
|
|
379
376
|
"__proto__"
|
|
380
|
-
), tt = Object, wr = tt.getPrototypeOf,
|
|
377
|
+
), tt = Object, wr = tt.getPrototypeOf, sn = ke && typeof ke.get == "function" ? fn([ke.get]) : typeof wr == "function" ? (
|
|
381
378
|
/** @type {import('./get')} */
|
|
382
379
|
function(e) {
|
|
383
380
|
return wr(e == null ? e : tt(e));
|
|
384
381
|
}
|
|
385
|
-
) : !1, Sr = Qr, Or = Xr
|
|
382
|
+
) : !1, Sr = Qr, Or = Xr, Pr = sn, ur = Sr ? function(e) {
|
|
386
383
|
return Sr(e);
|
|
387
384
|
} : Or ? function(e) {
|
|
388
385
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
@@ -397,14 +394,14 @@ function nt() {
|
|
|
397
394
|
var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = se();
|
|
398
395
|
return Ge = t.call(r, e), Ge;
|
|
399
396
|
}
|
|
400
|
-
var v,
|
|
397
|
+
var v, un = Zr, ln = Rt, cn = _t, yn = Ct, pn = Lt, ne = Yr, te = fe, dn = Ut, hn = Dt, gn = Mt, vn = kt, mn = Gt, bn = xt, An = Wt, wn = qt, ot = Function, xe = function(r) {
|
|
401
398
|
try {
|
|
402
399
|
return ot('"use strict"; return (' + r + ").constructor;")();
|
|
403
400
|
} catch {
|
|
404
401
|
}
|
|
405
|
-
}, ae = oe,
|
|
402
|
+
}, ae = oe, Sn = Fe, We = function() {
|
|
406
403
|
throw new te();
|
|
407
|
-
},
|
|
404
|
+
}, On = ae ? function() {
|
|
408
405
|
try {
|
|
409
406
|
return arguments.callee, We;
|
|
410
407
|
} catch {
|
|
@@ -414,7 +411,7 @@ var v, sn = Zr, un = Rt, ln = _t, cn = Ct, yn = Lt, ne = Yr, te = fe, pn = Ut, d
|
|
|
414
411
|
return We;
|
|
415
412
|
}
|
|
416
413
|
}
|
|
417
|
-
}() : We, Y = Jt()(), F = ur,
|
|
414
|
+
}() : We, Y = Jt()(), F = ur, Pn = Xr, En = Qr, it = fr(), ue = ar(), X = {}, jn = typeof Uint8Array > "u" || !F ? v : F(Uint8Array), V = {
|
|
418
415
|
__proto__: null,
|
|
419
416
|
"%AggregateError%": typeof AggregateError > "u" ? v : AggregateError,
|
|
420
417
|
"%Array%": Array,
|
|
@@ -436,10 +433,10 @@ var v, sn = Zr, un = Rt, ln = _t, cn = Ct, yn = Lt, ne = Yr, te = fe, pn = Ut, d
|
|
|
436
433
|
"%decodeURIComponent%": decodeURIComponent,
|
|
437
434
|
"%encodeURI%": encodeURI,
|
|
438
435
|
"%encodeURIComponent%": encodeURIComponent,
|
|
439
|
-
"%Error%":
|
|
436
|
+
"%Error%": ln,
|
|
440
437
|
"%eval%": eval,
|
|
441
438
|
// eslint-disable-line no-eval
|
|
442
|
-
"%EvalError%":
|
|
439
|
+
"%EvalError%": cn,
|
|
443
440
|
"%Float16Array%": typeof Float16Array > "u" ? v : Float16Array,
|
|
444
441
|
"%Float32Array%": typeof Float32Array > "u" ? v : Float32Array,
|
|
445
442
|
"%Float64Array%": typeof Float64Array > "u" ? v : Float64Array,
|
|
@@ -457,14 +454,14 @@ var v, sn = Zr, un = Rt, ln = _t, cn = Ct, yn = Lt, ne = Yr, te = fe, pn = Ut, d
|
|
|
457
454
|
"%MapIteratorPrototype%": typeof Map > "u" || !Y || !F ? v : F((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
458
455
|
"%Math%": Math,
|
|
459
456
|
"%Number%": Number,
|
|
460
|
-
"%Object%":
|
|
457
|
+
"%Object%": un,
|
|
461
458
|
"%Object.getOwnPropertyDescriptor%": ae,
|
|
462
459
|
"%parseFloat%": parseFloat,
|
|
463
460
|
"%parseInt%": parseInt,
|
|
464
461
|
"%Promise%": typeof Promise > "u" ? v : Promise,
|
|
465
462
|
"%Proxy%": typeof Proxy > "u" ? v : Proxy,
|
|
466
|
-
"%RangeError%":
|
|
467
|
-
"%ReferenceError%":
|
|
463
|
+
"%RangeError%": yn,
|
|
464
|
+
"%ReferenceError%": pn,
|
|
468
465
|
"%Reflect%": typeof Reflect > "u" ? v : Reflect,
|
|
469
466
|
"%RegExp%": RegExp,
|
|
470
467
|
"%Set%": typeof Set > "u" ? v : Set,
|
|
@@ -474,38 +471,38 @@ var v, sn = Zr, un = Rt, ln = _t, cn = Ct, yn = Lt, ne = Yr, te = fe, pn = Ut, d
|
|
|
474
471
|
"%StringIteratorPrototype%": Y && F ? F(""[Symbol.iterator]()) : v,
|
|
475
472
|
"%Symbol%": Y ? Symbol : v,
|
|
476
473
|
"%SyntaxError%": ne,
|
|
477
|
-
"%ThrowTypeError%":
|
|
478
|
-
"%TypedArray%":
|
|
474
|
+
"%ThrowTypeError%": On,
|
|
475
|
+
"%TypedArray%": jn,
|
|
479
476
|
"%TypeError%": te,
|
|
480
477
|
"%Uint8Array%": typeof Uint8Array > "u" ? v : Uint8Array,
|
|
481
478
|
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? v : Uint8ClampedArray,
|
|
482
479
|
"%Uint16Array%": typeof Uint16Array > "u" ? v : Uint16Array,
|
|
483
480
|
"%Uint32Array%": typeof Uint32Array > "u" ? v : Uint32Array,
|
|
484
|
-
"%URIError%":
|
|
481
|
+
"%URIError%": dn,
|
|
485
482
|
"%WeakMap%": typeof WeakMap > "u" ? v : WeakMap,
|
|
486
483
|
"%WeakRef%": typeof WeakRef > "u" ? v : WeakRef,
|
|
487
484
|
"%WeakSet%": typeof WeakSet > "u" ? v : WeakSet,
|
|
488
485
|
"%Function.prototype.call%": ue,
|
|
489
486
|
"%Function.prototype.apply%": it,
|
|
490
|
-
"%Object.defineProperty%":
|
|
491
|
-
"%Object.getPrototypeOf%":
|
|
492
|
-
"%Math.abs%":
|
|
493
|
-
"%Math.floor%":
|
|
494
|
-
"%Math.max%":
|
|
495
|
-
"%Math.min%":
|
|
496
|
-
"%Math.pow%":
|
|
497
|
-
"%Math.round%":
|
|
498
|
-
"%Math.sign%":
|
|
499
|
-
"%Reflect.getPrototypeOf%":
|
|
487
|
+
"%Object.defineProperty%": Sn,
|
|
488
|
+
"%Object.getPrototypeOf%": Pn,
|
|
489
|
+
"%Math.abs%": hn,
|
|
490
|
+
"%Math.floor%": gn,
|
|
491
|
+
"%Math.max%": vn,
|
|
492
|
+
"%Math.min%": mn,
|
|
493
|
+
"%Math.pow%": bn,
|
|
494
|
+
"%Math.round%": An,
|
|
495
|
+
"%Math.sign%": wn,
|
|
496
|
+
"%Reflect.getPrototypeOf%": En
|
|
500
497
|
};
|
|
501
498
|
if (F)
|
|
502
499
|
try {
|
|
503
500
|
null.error;
|
|
504
501
|
} catch (r) {
|
|
505
|
-
var
|
|
506
|
-
V["%Error.prototype%"] =
|
|
502
|
+
var $n = F(F(r));
|
|
503
|
+
V["%Error.prototype%"] = $n;
|
|
507
504
|
}
|
|
508
|
-
var
|
|
505
|
+
var Bn = function r(e) {
|
|
509
506
|
var t;
|
|
510
507
|
if (e === "%AsyncFunction%")
|
|
511
508
|
t = xe("async function () {}");
|
|
@@ -574,21 +571,21 @@ var $n = function r(e) {
|
|
|
574
571
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
575
572
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
576
573
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
577
|
-
}, le = se(), Pe = nt(),
|
|
574
|
+
}, le = se(), Pe = nt(), Tn = le.call(ue, Array.prototype.concat), Fn = le.call(it, Array.prototype.splice), $r = le.call(ue, String.prototype.replace), Ee = le.call(ue, String.prototype.slice), In = le.call(ue, RegExp.prototype.exec), Nn = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Rn = /\\(\\)?/g, _n = function(e) {
|
|
578
575
|
var t = Ee(e, 0, 1), n = Ee(e, -1);
|
|
579
576
|
if (t === "%" && n !== "%")
|
|
580
577
|
throw new ne("invalid intrinsic syntax, expected closing `%`");
|
|
581
578
|
if (n === "%" && t !== "%")
|
|
582
579
|
throw new ne("invalid intrinsic syntax, expected opening `%`");
|
|
583
580
|
var i = [];
|
|
584
|
-
return $r(e,
|
|
585
|
-
i[i.length] = d ? $r(y,
|
|
581
|
+
return $r(e, Nn, function(c, u, d, y) {
|
|
582
|
+
i[i.length] = d ? $r(y, Rn, "$1") : u || c;
|
|
586
583
|
}), i;
|
|
587
|
-
},
|
|
584
|
+
}, Cn = function(e, t) {
|
|
588
585
|
var n = e, i;
|
|
589
586
|
if (Pe(jr, n) && (i = jr[n], n = "%" + i[0] + "%"), Pe(V, n)) {
|
|
590
587
|
var c = V[n];
|
|
591
|
-
if (c === X && (c =
|
|
588
|
+
if (c === X && (c = Bn(n)), typeof c > "u" && !t)
|
|
592
589
|
throw new te("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
593
590
|
return {
|
|
594
591
|
alias: i,
|
|
@@ -602,10 +599,10 @@ var $n = function r(e) {
|
|
|
602
599
|
throw new te("intrinsic name must be a non-empty string");
|
|
603
600
|
if (arguments.length > 1 && typeof t != "boolean")
|
|
604
601
|
throw new te('"allowMissing" argument must be a boolean');
|
|
605
|
-
if (
|
|
602
|
+
if (In(/^%?[^%]*%?$/, e) === null)
|
|
606
603
|
throw new ne("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
607
|
-
var n =
|
|
608
|
-
m && (i = m[0],
|
|
604
|
+
var n = _n(e), i = n.length > 0 ? n[0] : "", c = Cn("%" + i + "%", t), u = c.name, d = c.value, y = !1, m = c.alias;
|
|
605
|
+
m && (i = m[0], Fn(n, Tn([0, 1], m)));
|
|
609
606
|
for (var w = 1, $ = !0; w < n.length; w += 1) {
|
|
610
607
|
var E = n[w], _ = Ee(E, 0, 1), T = Ee(E, -1);
|
|
611
608
|
if ((_ === '"' || _ === "'" || _ === "`" || T === '"' || T === "'" || T === "`") && _ !== T)
|
|
@@ -627,26 +624,26 @@ var $n = function r(e) {
|
|
|
627
624
|
}
|
|
628
625
|
}
|
|
629
626
|
return d;
|
|
630
|
-
}, ft = at, st = sr,
|
|
627
|
+
}, ft = at, st = sr, Ln = st([ft("%String.prototype.indexOf%")]), ce = function(e, t) {
|
|
631
628
|
var n = (
|
|
632
629
|
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
633
630
|
ft(e, !!t)
|
|
634
631
|
);
|
|
635
|
-
return typeof n == "function" &&
|
|
632
|
+
return typeof n == "function" && Ln(e, ".prototype.") > -1 ? st(
|
|
636
633
|
/** @type {const} */
|
|
637
634
|
[n]
|
|
638
635
|
) : n;
|
|
639
|
-
},
|
|
640
|
-
return
|
|
636
|
+
}, Un = Te(), Dn = ce, Qe = Dn("Object.prototype.toString"), Ie = function(e) {
|
|
637
|
+
return Un && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Qe(e) === "[object Arguments]";
|
|
641
638
|
}, ut = function(e) {
|
|
642
639
|
return Ie(e) ? !0 : e !== null && typeof e == "object" && "length" in e && typeof e.length == "number" && e.length >= 0 && Qe(e) !== "[object Array]" && "callee" in e && Qe(e.callee) === "[object Function]";
|
|
643
|
-
},
|
|
640
|
+
}, Mn = function() {
|
|
644
641
|
return Ie(arguments);
|
|
645
642
|
}();
|
|
646
643
|
Ie.isLegacyArguments = ut;
|
|
647
|
-
var
|
|
648
|
-
if (
|
|
649
|
-
var
|
|
644
|
+
var kn = Mn ? Ie : ut, Br = ce, Gn = Te(), xn = nt(), Wn = oe, Xe;
|
|
645
|
+
if (Gn) {
|
|
646
|
+
var zn = Br("RegExp.prototype.exec"), Tr = {}, ze = function() {
|
|
650
647
|
throw Tr;
|
|
651
648
|
}, Fr = {
|
|
652
649
|
toString: ze,
|
|
@@ -657,16 +654,16 @@ if (kn) {
|
|
|
657
654
|
return !1;
|
|
658
655
|
var t = (
|
|
659
656
|
/** @type {NonNullable<typeof gOPD>} */
|
|
660
|
-
|
|
657
|
+
Wn(
|
|
661
658
|
/** @type {{ lastIndex?: unknown }} */
|
|
662
659
|
e,
|
|
663
660
|
"lastIndex"
|
|
664
661
|
)
|
|
665
|
-
), n = t &&
|
|
662
|
+
), n = t && xn(t, "value");
|
|
666
663
|
if (!n)
|
|
667
664
|
return !1;
|
|
668
665
|
try {
|
|
669
|
-
|
|
666
|
+
zn(
|
|
670
667
|
e,
|
|
671
668
|
/** @type {string} */
|
|
672
669
|
/** @type {unknown} */
|
|
@@ -677,37 +674,37 @@ if (kn) {
|
|
|
677
674
|
}
|
|
678
675
|
};
|
|
679
676
|
} else {
|
|
680
|
-
var
|
|
677
|
+
var Vn = Br("Object.prototype.toString"), qn = "[object RegExp]";
|
|
681
678
|
Xe = function(e) {
|
|
682
|
-
return !e || typeof e != "object" && typeof e != "function" ? !1 :
|
|
679
|
+
return !e || typeof e != "object" && typeof e != "function" ? !1 : Vn(e) === qn;
|
|
683
680
|
};
|
|
684
681
|
}
|
|
685
|
-
var
|
|
686
|
-
if (!
|
|
687
|
-
throw new
|
|
682
|
+
var Hn = Xe, Jn = ce, Kn = Hn, Zn = Jn("RegExp.prototype.exec"), Yn = fe, Qn = function(e) {
|
|
683
|
+
if (!Kn(e))
|
|
684
|
+
throw new Yn("`regex` must be a RegExp");
|
|
688
685
|
return function(n) {
|
|
689
|
-
return
|
|
686
|
+
return Zn(e, n) !== null;
|
|
690
687
|
};
|
|
691
|
-
}, lt = ce,
|
|
688
|
+
}, lt = ce, Xn = Qn, eo = Xn(/^\s*(?:function)?\*/), ct = Te(), Ve = ur, ro = lt("Object.prototype.toString"), to = lt("Function.prototype.toString"), no = function() {
|
|
692
689
|
if (!ct)
|
|
693
690
|
return !1;
|
|
694
691
|
try {
|
|
695
692
|
return Function("return function*() {}")();
|
|
696
693
|
} catch {
|
|
697
694
|
}
|
|
698
|
-
}, qe,
|
|
695
|
+
}, qe, oo = function(e) {
|
|
699
696
|
if (typeof e != "function")
|
|
700
697
|
return !1;
|
|
701
|
-
if (
|
|
698
|
+
if (eo(to(e)))
|
|
702
699
|
return !0;
|
|
703
700
|
if (!ct) {
|
|
704
|
-
var t =
|
|
701
|
+
var t = ro(e);
|
|
705
702
|
return t === "[object GeneratorFunction]";
|
|
706
703
|
}
|
|
707
704
|
if (!Ve)
|
|
708
705
|
return !1;
|
|
709
706
|
if (typeof qe > "u") {
|
|
710
|
-
var n =
|
|
707
|
+
var n = no();
|
|
711
708
|
qe = n ? (
|
|
712
709
|
/** @type {GeneratorFunctionConstructor} */
|
|
713
710
|
Ve(n)
|
|
@@ -729,10 +726,10 @@ if (typeof ee == "function" && typeof Object.defineProperty == "function")
|
|
|
729
726
|
}
|
|
730
727
|
else
|
|
731
728
|
ee = null;
|
|
732
|
-
var
|
|
729
|
+
var io = /^\s*class\b/, rr = function(e) {
|
|
733
730
|
try {
|
|
734
731
|
var t = yt.call(e);
|
|
735
|
-
return
|
|
732
|
+
return io.test(t);
|
|
736
733
|
} catch {
|
|
737
734
|
return !1;
|
|
738
735
|
}
|
|
@@ -742,22 +739,22 @@ var oo = /^\s*class\b/, rr = function(e) {
|
|
|
742
739
|
} catch {
|
|
743
740
|
return !1;
|
|
744
741
|
}
|
|
745
|
-
}, we = Object.prototype.toString,
|
|
742
|
+
}, we = Object.prototype.toString, ao = "[object Object]", fo = "[object Function]", so = "[object GeneratorFunction]", uo = "[object HTMLAllCollection]", lo = "[object HTML document.all class]", co = "[object HTMLCollection]", yo = typeof Symbol == "function" && !!Symbol.toStringTag, po = !(0 in [,]), tr = function() {
|
|
746
743
|
return !1;
|
|
747
744
|
};
|
|
748
745
|
if (typeof document == "object") {
|
|
749
|
-
var
|
|
750
|
-
we.call(
|
|
751
|
-
if ((
|
|
746
|
+
var ho = document.all;
|
|
747
|
+
we.call(ho) === we.call(document.all) && (tr = function(e) {
|
|
748
|
+
if ((po || !e) && (typeof e > "u" || typeof e == "object"))
|
|
752
749
|
try {
|
|
753
750
|
var t = we.call(e);
|
|
754
|
-
return (t ===
|
|
751
|
+
return (t === uo || t === lo || t === co || t === ao) && e("") == null;
|
|
755
752
|
} catch {
|
|
756
753
|
}
|
|
757
754
|
return !1;
|
|
758
755
|
});
|
|
759
756
|
}
|
|
760
|
-
var
|
|
757
|
+
var go = ee ? function(e) {
|
|
761
758
|
if (tr(e))
|
|
762
759
|
return !0;
|
|
763
760
|
if (!e || typeof e != "function" && typeof e != "object")
|
|
@@ -774,31 +771,31 @@ var ho = ee ? function(e) {
|
|
|
774
771
|
return !0;
|
|
775
772
|
if (!e || typeof e != "function" && typeof e != "object")
|
|
776
773
|
return !1;
|
|
777
|
-
if (
|
|
774
|
+
if (yo)
|
|
778
775
|
return He(e);
|
|
779
776
|
if (rr(e))
|
|
780
777
|
return !1;
|
|
781
778
|
var t = we.call(e);
|
|
782
|
-
return t !==
|
|
783
|
-
},
|
|
779
|
+
return t !== fo && t !== so && !/^\[object HTML/.test(t) ? !1 : He(e);
|
|
780
|
+
}, vo = go, mo = Object.prototype.toString, pt = Object.prototype.hasOwnProperty, bo = function(e, t, n) {
|
|
784
781
|
for (var i = 0, c = e.length; i < c; i++)
|
|
785
782
|
pt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
|
|
786
|
-
},
|
|
783
|
+
}, Ao = function(e, t, n) {
|
|
787
784
|
for (var i = 0, c = e.length; i < c; i++)
|
|
788
785
|
n == null ? t(e.charAt(i), i, e) : t.call(n, e.charAt(i), i, e);
|
|
789
|
-
},
|
|
786
|
+
}, wo = function(e, t, n) {
|
|
790
787
|
for (var i in e)
|
|
791
788
|
pt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
|
|
792
789
|
};
|
|
793
|
-
function
|
|
794
|
-
return
|
|
790
|
+
function So(r) {
|
|
791
|
+
return mo.call(r) === "[object Array]";
|
|
795
792
|
}
|
|
796
|
-
var
|
|
797
|
-
if (!
|
|
793
|
+
var Oo = function(e, t, n) {
|
|
794
|
+
if (!vo(t))
|
|
798
795
|
throw new TypeError("iterator must be a function");
|
|
799
796
|
var i;
|
|
800
|
-
arguments.length >= 3 && (i = n),
|
|
801
|
-
},
|
|
797
|
+
arguments.length >= 3 && (i = n), So(e) ? bo(e, t, i) : typeof e == "string" ? Ao(e, t, i) : wo(e, t, i);
|
|
798
|
+
}, Po = [
|
|
802
799
|
"Float16Array",
|
|
803
800
|
"Float32Array",
|
|
804
801
|
"Float64Array",
|
|
@@ -811,11 +808,11 @@ var So = function(e, t, n) {
|
|
|
811
808
|
"Uint32Array",
|
|
812
809
|
"BigInt64Array",
|
|
813
810
|
"BigUint64Array"
|
|
814
|
-
], Je =
|
|
811
|
+
], Je = Po, Eo = typeof globalThis > "u" ? Oe : globalThis, jo = function() {
|
|
815
812
|
for (var e = [], t = 0; t < Je.length; t++)
|
|
816
|
-
typeof
|
|
813
|
+
typeof Eo[Je[t]] == "function" && (e[e.length] = Je[t]);
|
|
817
814
|
return e;
|
|
818
|
-
}, dt = { exports: {} }, Ir = Fe,
|
|
815
|
+
}, dt = { exports: {} }, Ir = Fe, $o = Yr, Q = fe, Nr = oe, Bo = function(e, t, n) {
|
|
819
816
|
if (!e || typeof e != "object" && typeof e != "function")
|
|
820
817
|
throw new Q("`obj` must be an object or a function`");
|
|
821
818
|
if (typeof t != "string" && typeof t != "symbol")
|
|
@@ -839,7 +836,7 @@ var So = function(e, t, n) {
|
|
|
839
836
|
else if (d || !i && !c && !u)
|
|
840
837
|
e[t] = n;
|
|
841
838
|
else
|
|
842
|
-
throw new
|
|
839
|
+
throw new $o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
843
840
|
}, nr = Fe, ht = function() {
|
|
844
841
|
return !!nr;
|
|
845
842
|
};
|
|
@@ -852,17 +849,17 @@ ht.hasArrayLengthDefineBug = function() {
|
|
|
852
849
|
return !0;
|
|
853
850
|
}
|
|
854
851
|
};
|
|
855
|
-
var
|
|
852
|
+
var To = ht, Fo = at, Rr = Bo, Io = To(), _r = oe, Cr = fe, No = Fo("%Math.floor%"), Ro = function(e, t) {
|
|
856
853
|
if (typeof e != "function")
|
|
857
854
|
throw new Cr("`fn` is not a function");
|
|
858
|
-
if (typeof t != "number" || t < 0 || t > 4294967295 ||
|
|
855
|
+
if (typeof t != "number" || t < 0 || t > 4294967295 || No(t) !== t)
|
|
859
856
|
throw new Cr("`length` must be a positive 32-bit integer");
|
|
860
857
|
var n = arguments.length > 2 && !!arguments[2], i = !0, c = !0;
|
|
861
858
|
if ("length" in e && _r) {
|
|
862
859
|
var u = _r(e, "length");
|
|
863
860
|
u && !u.configurable && (i = !1), u && !u.writable && (c = !1);
|
|
864
861
|
}
|
|
865
|
-
return (i || c || !n) && (
|
|
862
|
+
return (i || c || !n) && (Io ? Rr(
|
|
866
863
|
/** @type {Parameters<define>[0]} */
|
|
867
864
|
e,
|
|
868
865
|
"length",
|
|
@@ -875,11 +872,11 @@ var Bo = ht, To = at, Rr = $o, Fo = Bo(), _r = oe, Cr = fe, Io = To("%Math.floor
|
|
|
875
872
|
"length",
|
|
876
873
|
t
|
|
877
874
|
)), e;
|
|
878
|
-
},
|
|
879
|
-
return
|
|
875
|
+
}, _o = se(), Co = fr(), Lo = et, Uo = function() {
|
|
876
|
+
return Lo(_o, Co, arguments);
|
|
880
877
|
};
|
|
881
878
|
(function(r) {
|
|
882
|
-
var e =
|
|
879
|
+
var e = Ro, t = Fe, n = sr, i = Uo;
|
|
883
880
|
r.exports = function(u) {
|
|
884
881
|
var d = n(arguments), y = u.length - (arguments.length - 1);
|
|
885
882
|
return e(
|
|
@@ -889,7 +886,7 @@ var Bo = ht, To = at, Rr = $o, Fo = Bo(), _r = oe, Cr = fe, Io = To("%Math.floor
|
|
|
889
886
|
);
|
|
890
887
|
}, t ? t(r.exports, "apply", { value: i }) : r.exports.apply = i;
|
|
891
888
|
})(dt);
|
|
892
|
-
var
|
|
889
|
+
var Do = dt.exports, je = Oo, Mo = jo, Lr = Do, lr = ce, Se = oe, he = ur, ko = lr("Object.prototype.toString"), gt = Te(), Ur = typeof globalThis > "u" ? Oe : globalThis, or = Mo(), cr = lr("String.prototype.slice"), Go = lr("Array.prototype.indexOf", !0) || function(e, t) {
|
|
893
890
|
for (var n = 0; n < e.length; n += 1)
|
|
894
891
|
if (e[n] === t)
|
|
895
892
|
return n;
|
|
@@ -914,7 +911,7 @@ gt && Se && he ? je(or, function(r) {
|
|
|
914
911
|
// @ts-expect-error TODO FIXME
|
|
915
912
|
Lr(t));
|
|
916
913
|
});
|
|
917
|
-
var
|
|
914
|
+
var xo = function(e) {
|
|
918
915
|
var t = !1;
|
|
919
916
|
return je(
|
|
920
917
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
@@ -929,7 +926,7 @@ var Go = function(e) {
|
|
|
929
926
|
}
|
|
930
927
|
}
|
|
931
928
|
), t;
|
|
932
|
-
},
|
|
929
|
+
}, Wo = function(e) {
|
|
933
930
|
var t = !1;
|
|
934
931
|
return je(
|
|
935
932
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
@@ -948,15 +945,15 @@ var Go = function(e) {
|
|
|
948
945
|
if (!e || typeof e != "object")
|
|
949
946
|
return !1;
|
|
950
947
|
if (!gt) {
|
|
951
|
-
var t = cr(
|
|
952
|
-
return
|
|
948
|
+
var t = cr(ko(e), 8, -1);
|
|
949
|
+
return Go(or, t) > -1 ? t : t !== "Object" ? !1 : Wo(e);
|
|
953
950
|
}
|
|
954
|
-
return Se ?
|
|
955
|
-
},
|
|
956
|
-
return !!
|
|
951
|
+
return Se ? xo(e) : null;
|
|
952
|
+
}, zo = vt, Vo = function(e) {
|
|
953
|
+
return !!zo(e);
|
|
957
954
|
};
|
|
958
955
|
(function(r) {
|
|
959
|
-
var e =
|
|
956
|
+
var e = kn, t = oo, n = vt, i = Vo;
|
|
960
957
|
function c(s) {
|
|
961
958
|
return s.call.bind(s);
|
|
962
959
|
}
|
|
@@ -1139,7 +1136,7 @@ var Go = function(e) {
|
|
|
1139
1136
|
});
|
|
1140
1137
|
});
|
|
1141
1138
|
})(Jr);
|
|
1142
|
-
var
|
|
1139
|
+
var qo = function(e) {
|
|
1143
1140
|
return e && typeof e == "object" && typeof e.copy == "function" && typeof e.fill == "function" && typeof e.readUInt8 == "function";
|
|
1144
1141
|
};
|
|
1145
1142
|
(function(r) {
|
|
@@ -1418,7 +1415,7 @@ var Vo = function(e) {
|
|
|
1418
1415
|
return o === null || typeof o == "boolean" || typeof o == "number" || typeof o == "string" || typeof o == "symbol" || // ES6 symbol
|
|
1419
1416
|
typeof o > "u";
|
|
1420
1417
|
}
|
|
1421
|
-
r.isPrimitive = Re, r.isBuffer =
|
|
1418
|
+
r.isPrimitive = Re, r.isBuffer = qo;
|
|
1422
1419
|
function G(o) {
|
|
1423
1420
|
return Object.prototype.toString.call(o);
|
|
1424
1421
|
}
|
|
@@ -1533,8 +1530,8 @@ var Vo = function(e) {
|
|
|
1533
1530
|
}
|
|
1534
1531
|
r.callbackify = ye;
|
|
1535
1532
|
})(It);
|
|
1536
|
-
var
|
|
1537
|
-
function
|
|
1533
|
+
var Xo = Ho;
|
|
1534
|
+
function Ho(r, e) {
|
|
1538
1535
|
if (Ke("noDeprecation"))
|
|
1539
1536
|
return r;
|
|
1540
1537
|
var t = !1;
|
|
@@ -1558,7 +1555,7 @@ function Ke(r) {
|
|
|
1558
1555
|
return e == null ? !1 : String(e).toLowerCase() === "true";
|
|
1559
1556
|
}
|
|
1560
1557
|
var Ze = {}, ge = { exports: {} }, Dr;
|
|
1561
|
-
function
|
|
1558
|
+
function Jo() {
|
|
1562
1559
|
return Dr || (Dr = 1, function(r, e) {
|
|
1563
1560
|
var t = Ft, n = t.Buffer;
|
|
1564
1561
|
function i(u, d) {
|
|
@@ -1590,10 +1587,10 @@ function Ho() {
|
|
|
1590
1587
|
}(ge, ge.exports)), ge.exports;
|
|
1591
1588
|
}
|
|
1592
1589
|
var Mr;
|
|
1593
|
-
function
|
|
1590
|
+
function ei() {
|
|
1594
1591
|
if (Mr) return Ze;
|
|
1595
1592
|
Mr = 1;
|
|
1596
|
-
var r =
|
|
1593
|
+
var r = Jo().Buffer, e = r.isEncoding || function(a) {
|
|
1597
1594
|
switch (a = "" + a, a && a.toLowerCase()) {
|
|
1598
1595
|
case "hex":
|
|
1599
1596
|
case "utf8":
|
|
@@ -1748,10 +1745,10 @@ function Xo() {
|
|
|
1748
1745
|
return Ze;
|
|
1749
1746
|
}
|
|
1750
1747
|
export {
|
|
1751
|
-
|
|
1752
|
-
|
|
1748
|
+
ei as a,
|
|
1749
|
+
Xo as b,
|
|
1753
1750
|
ce as c,
|
|
1754
|
-
|
|
1751
|
+
Qo as e,
|
|
1755
1752
|
at as g,
|
|
1756
1753
|
Ot as i,
|
|
1757
1754
|
Ft as r,
|