@harbour-enterprises/superdoc 0.13.2-rev8 → 0.13.2
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/{eventemitter3-KKY27oz-.es.js → eventemitter3-BrspJk8q.es.js} +1 -1
- package/dist/chunks/{eventemitter3-CHxWXmuK.cjs → eventemitter3-DfVviFzP.cjs} +1 -1
- package/dist/chunks/{index-Bd4H2zrq.cjs → index-B4J7wgs6.cjs} +2 -2
- package/dist/chunks/{index-Bdjh4ZPT.cjs → index-Cdsq63Xq.cjs} +4 -4
- package/dist/chunks/{index-DuSTYEOs.es.js → index-Diu6UKHt.es.js} +4 -4
- package/dist/chunks/{index-B1TbritH.es.js → index-Hr3Um-Bg.es.js} +2 -2
- package/dist/chunks/{jszip-9bCX1h2W.cjs → jszip-BTAcmbVg.cjs} +1 -1
- package/dist/chunks/{jszip-Cl3s9njw.es.js → jszip-DckFs3A7.es.js} +1 -1
- package/dist/chunks/{super-editor.es-Cz-ceaxn.cjs → super-editor.es-BM89AzsN.cjs} +704 -859
- package/dist/chunks/{super-editor.es-BY5Eoi9A.es.js → super-editor.es-BNyzbCw0.es.js} +704 -859
- package/dist/chunks/{url-CJP-Jmfp.cjs → url-BIzg4y2i.cjs} +2 -2
- package/dist/chunks/{url-CLwIePTG.es.js → url-CHayXMZH.es.js} +2 -2
- package/dist/chunks/{vue-BBJVqxjL.es.js → vue-Bi1uWinj.es.js} +3 -10
- package/dist/chunks/{vue-BBjMeYfo.cjs → vue-HIY1g7dm.cjs} +3 -10
- package/dist/chunks/{xml-js-k_RETz76.cjs → xml-js-BjqmFOSP.cjs} +225 -239
- package/dist/chunks/{xml-js-Bp5Hoq_3.es.js → xml-js-CfClL-1b.es.js} +225 -239
- package/dist/style.css +1 -2
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-RV0QN3HE.js → converter-CsK9KCaL.js} +55 -637
- package/dist/super-editor/chunks/{docx-zipper-C5TBRQNB.js → docx-zipper-6iKmmME2.js} +1 -1
- package/dist/super-editor/chunks/{editor-XlwZxMCI.js → editor-Cxb-Zwyu.js} +676 -256
- package/dist/super-editor/chunks/{toolbar-52_BMgdJ.js → toolbar-QHIHaeEf.js} +3 -2
- package/dist/super-editor/converter.es.js +2 -2
- package/dist/super-editor/core/Editor.d.ts +0 -7
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/core/InputRule.d.ts +0 -7
- package/dist/super-editor/core/InputRule.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/exporter.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/field-annotation/fieldAnnotationHelpers/findRemovedFieldAnnotations.d.ts.map +1 -1
- package/dist/super-editor/extensions/image/imageHelpers/startImageUpload.d.ts.map +1 -1
- package/dist/super-editor/extensions/line-break/line-break.d.ts.map +1 -1
- package/dist/super-editor/extensions/noderesizer/noderesizer.d.ts.map +1 -1
- package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts +1 -6
- package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
- package/dist/super-editor/extensions/pagination/pagination.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/style.css +1 -2
- package/dist/super-editor/super-editor.es.js +7 -7
- package/dist/super-editor/tests/e2e/test-app/vite.config.d.ts +1 -1
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +9 -8
- package/dist/superdoc.es.js +10 -9
- package/dist/superdoc.umd.js +708 -869
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/core/helpers/setImageNodeSelection.d.ts +0 -2
- package/dist/super-editor/core/helpers/setImageNodeSelection.d.ts.map +0 -1
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts +0 -3
- package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as getAugmentedNamespace, d as dist, c as commonjsGlobal } from "./jszip-
|
|
2
|
-
import { p as process$1 } from "./vue-
|
|
1
|
+
import { a as getAugmentedNamespace, d as dist, c as commonjsGlobal } from "./jszip-DckFs3A7.es.js";
|
|
2
|
+
import { p as process$1 } from "./vue-Bi1uWinj.es.js";
|
|
3
3
|
var inherits_browser = { exports: {} };
|
|
4
4
|
if (typeof Object.create === "function") {
|
|
5
5
|
inherits_browser.exports = function inherits(ctor, superCtor) {
|
|
@@ -394,62 +394,55 @@ var eventsExports = events.exports;
|
|
|
394
394
|
const require$$2 = /* @__PURE__ */ getAugmentedNamespace(dist);
|
|
395
395
|
var util = {};
|
|
396
396
|
var types = {};
|
|
397
|
-
var shams$1
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
397
|
+
var shams$1 = function hasSymbols() {
|
|
398
|
+
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
399
|
+
return false;
|
|
400
|
+
}
|
|
401
|
+
if (typeof Symbol.iterator === "symbol") {
|
|
402
|
+
return true;
|
|
403
|
+
}
|
|
404
|
+
var obj = {};
|
|
405
|
+
var sym = Symbol("test");
|
|
406
|
+
var symObj = Object(sym);
|
|
407
|
+
if (typeof sym === "string") {
|
|
408
|
+
return false;
|
|
409
|
+
}
|
|
410
|
+
if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
|
|
411
|
+
return false;
|
|
412
|
+
}
|
|
413
|
+
if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
|
|
414
|
+
return false;
|
|
415
|
+
}
|
|
416
|
+
var symVal = 42;
|
|
417
|
+
obj[sym] = symVal;
|
|
418
|
+
for (var _ in obj) {
|
|
419
|
+
return false;
|
|
420
|
+
}
|
|
421
|
+
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
422
|
+
return false;
|
|
423
|
+
}
|
|
424
|
+
if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
425
|
+
return false;
|
|
426
|
+
}
|
|
427
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
428
|
+
if (syms.length !== 1 || syms[0] !== sym) {
|
|
429
|
+
return false;
|
|
430
|
+
}
|
|
431
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
432
|
+
return false;
|
|
433
|
+
}
|
|
434
|
+
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
435
|
+
var descriptor = (
|
|
436
|
+
/** @type {PropertyDescriptor} */
|
|
437
|
+
Object.getOwnPropertyDescriptor(obj, sym)
|
|
438
|
+
);
|
|
439
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
437
440
|
return false;
|
|
438
441
|
}
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
);
|
|
444
|
-
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
445
|
-
return false;
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
return true;
|
|
449
|
-
};
|
|
450
|
-
return shams$1;
|
|
451
|
-
}
|
|
452
|
-
var hasSymbols$2 = requireShams();
|
|
442
|
+
}
|
|
443
|
+
return true;
|
|
444
|
+
};
|
|
445
|
+
var hasSymbols$2 = shams$1;
|
|
453
446
|
var shams = function hasToStringTagShams() {
|
|
454
447
|
return hasSymbols$2() && !!Symbol.toStringTag;
|
|
455
448
|
};
|
|
@@ -463,7 +456,7 @@ var type = TypeError;
|
|
|
463
456
|
var uri = URIError;
|
|
464
457
|
var abs$1 = Math.abs;
|
|
465
458
|
var floor$1 = Math.floor;
|
|
466
|
-
var max$
|
|
459
|
+
var max$1 = Math.max;
|
|
467
460
|
var min$1 = Math.min;
|
|
468
461
|
var pow$1 = Math.pow;
|
|
469
462
|
var round$1 = Math.round;
|
|
@@ -477,8 +470,8 @@ var sign$1 = function sign(number) {
|
|
|
477
470
|
}
|
|
478
471
|
return number < 0 ? -1 : 1;
|
|
479
472
|
};
|
|
480
|
-
var gOPD$
|
|
481
|
-
var $gOPD$1 = gOPD$
|
|
473
|
+
var gOPD$4 = Object.getOwnPropertyDescriptor;
|
|
474
|
+
var $gOPD$1 = gOPD$4;
|
|
482
475
|
if ($gOPD$1) {
|
|
483
476
|
try {
|
|
484
477
|
$gOPD$1([], "length");
|
|
@@ -502,7 +495,7 @@ function requireHasSymbols() {
|
|
|
502
495
|
if (hasRequiredHasSymbols) return hasSymbols$1;
|
|
503
496
|
hasRequiredHasSymbols = 1;
|
|
504
497
|
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
505
|
-
var hasSymbolSham =
|
|
498
|
+
var hasSymbolSham = shams$1;
|
|
506
499
|
hasSymbols$1 = function hasNativeSymbols() {
|
|
507
500
|
if (typeof origSymbol !== "function") {
|
|
508
501
|
return false;
|
|
@@ -520,95 +513,102 @@ function requireHasSymbols() {
|
|
|
520
513
|
};
|
|
521
514
|
return hasSymbols$1;
|
|
522
515
|
}
|
|
523
|
-
var Reflect_getPrototypeOf;
|
|
524
|
-
var
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
return
|
|
530
|
-
|
|
531
|
-
var
|
|
532
|
-
var
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
}
|
|
540
|
-
var
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
var
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
for (var j = 0; j < b.length; j += 1) {
|
|
550
|
-
arr[j + a.length] = b[j];
|
|
551
|
-
}
|
|
552
|
-
return arr;
|
|
553
|
-
};
|
|
554
|
-
var slicy = function slicy2(arrLike, offset) {
|
|
555
|
-
var arr = [];
|
|
556
|
-
for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
557
|
-
arr[j] = arrLike[i];
|
|
558
|
-
}
|
|
559
|
-
return arr;
|
|
560
|
-
};
|
|
561
|
-
var joiny = function(arr, joiner) {
|
|
562
|
-
var str = "";
|
|
563
|
-
for (var i = 0; i < arr.length; i += 1) {
|
|
564
|
-
str += arr[i];
|
|
565
|
-
if (i + 1 < arr.length) {
|
|
566
|
-
str += joiner;
|
|
516
|
+
var Reflect_getPrototypeOf = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
517
|
+
var $Object$2 = esObjectAtoms;
|
|
518
|
+
var Object_getPrototypeOf = $Object$2.getPrototypeOf || null;
|
|
519
|
+
var implementation;
|
|
520
|
+
var hasRequiredImplementation;
|
|
521
|
+
function requireImplementation() {
|
|
522
|
+
if (hasRequiredImplementation) return implementation;
|
|
523
|
+
hasRequiredImplementation = 1;
|
|
524
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
525
|
+
var toStr2 = Object.prototype.toString;
|
|
526
|
+
var max2 = Math.max;
|
|
527
|
+
var funcType = "[object Function]";
|
|
528
|
+
var concatty = function concatty2(a, b) {
|
|
529
|
+
var arr = [];
|
|
530
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
531
|
+
arr[i] = a[i];
|
|
532
|
+
}
|
|
533
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
534
|
+
arr[j + a.length] = b[j];
|
|
535
|
+
}
|
|
536
|
+
return arr;
|
|
537
|
+
};
|
|
538
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
539
|
+
var arr = [];
|
|
540
|
+
for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
541
|
+
arr[j] = arrLike[i];
|
|
567
542
|
}
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
var
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
var args = slicy(arguments, 1);
|
|
577
|
-
var bound;
|
|
578
|
-
var binder = function() {
|
|
579
|
-
if (this instanceof bound) {
|
|
580
|
-
var result = target.apply(
|
|
581
|
-
this,
|
|
582
|
-
concatty(args, arguments)
|
|
583
|
-
);
|
|
584
|
-
if (Object(result) === result) {
|
|
585
|
-
return result;
|
|
543
|
+
return arr;
|
|
544
|
+
};
|
|
545
|
+
var joiny = function(arr, joiner) {
|
|
546
|
+
var str = "";
|
|
547
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
548
|
+
str += arr[i];
|
|
549
|
+
if (i + 1 < arr.length) {
|
|
550
|
+
str += joiner;
|
|
586
551
|
}
|
|
587
|
-
return this;
|
|
588
552
|
}
|
|
589
|
-
return
|
|
590
|
-
that,
|
|
591
|
-
concatty(args, arguments)
|
|
592
|
-
);
|
|
553
|
+
return str;
|
|
593
554
|
};
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
var
|
|
555
|
+
implementation = function bind2(that) {
|
|
556
|
+
var target = this;
|
|
557
|
+
if (typeof target !== "function" || toStr2.apply(target) !== funcType) {
|
|
558
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
559
|
+
}
|
|
560
|
+
var args = slicy(arguments, 1);
|
|
561
|
+
var bound;
|
|
562
|
+
var binder = function() {
|
|
563
|
+
if (this instanceof bound) {
|
|
564
|
+
var result = target.apply(
|
|
565
|
+
this,
|
|
566
|
+
concatty(args, arguments)
|
|
567
|
+
);
|
|
568
|
+
if (Object(result) === result) {
|
|
569
|
+
return result;
|
|
570
|
+
}
|
|
571
|
+
return this;
|
|
572
|
+
}
|
|
573
|
+
return target.apply(
|
|
574
|
+
that,
|
|
575
|
+
concatty(args, arguments)
|
|
576
|
+
);
|
|
602
577
|
};
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
};
|
|
609
|
-
|
|
610
|
-
var
|
|
611
|
-
|
|
578
|
+
var boundLength = max2(0, target.length - args.length);
|
|
579
|
+
var boundArgs = [];
|
|
580
|
+
for (var i = 0; i < boundLength; i++) {
|
|
581
|
+
boundArgs[i] = "$" + i;
|
|
582
|
+
}
|
|
583
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
584
|
+
if (target.prototype) {
|
|
585
|
+
var Empty = function Empty2() {
|
|
586
|
+
};
|
|
587
|
+
Empty.prototype = target.prototype;
|
|
588
|
+
bound.prototype = new Empty();
|
|
589
|
+
Empty.prototype = null;
|
|
590
|
+
}
|
|
591
|
+
return bound;
|
|
592
|
+
};
|
|
593
|
+
return implementation;
|
|
594
|
+
}
|
|
595
|
+
var functionBind;
|
|
596
|
+
var hasRequiredFunctionBind;
|
|
597
|
+
function requireFunctionBind() {
|
|
598
|
+
if (hasRequiredFunctionBind) return functionBind;
|
|
599
|
+
hasRequiredFunctionBind = 1;
|
|
600
|
+
var implementation2 = requireImplementation();
|
|
601
|
+
functionBind = Function.prototype.bind || implementation2;
|
|
602
|
+
return functionBind;
|
|
603
|
+
}
|
|
604
|
+
var functionCall;
|
|
605
|
+
var hasRequiredFunctionCall;
|
|
606
|
+
function requireFunctionCall() {
|
|
607
|
+
if (hasRequiredFunctionCall) return functionCall;
|
|
608
|
+
hasRequiredFunctionCall = 1;
|
|
609
|
+
functionCall = Function.prototype.call;
|
|
610
|
+
return functionCall;
|
|
611
|
+
}
|
|
612
612
|
var functionApply;
|
|
613
613
|
var hasRequiredFunctionApply;
|
|
614
614
|
function requireFunctionApply() {
|
|
@@ -618,14 +618,14 @@ function requireFunctionApply() {
|
|
|
618
618
|
return functionApply;
|
|
619
619
|
}
|
|
620
620
|
var reflectApply$1 = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
621
|
-
var bind$3 =
|
|
621
|
+
var bind$3 = requireFunctionBind();
|
|
622
622
|
var $apply$2 = requireFunctionApply();
|
|
623
|
-
var $call$2 =
|
|
623
|
+
var $call$2 = requireFunctionCall();
|
|
624
624
|
var $reflectApply = reflectApply$1;
|
|
625
625
|
var actualApply$1 = $reflectApply || bind$3.call($call$2, $apply$2);
|
|
626
|
-
var bind$2 =
|
|
626
|
+
var bind$2 = requireFunctionBind();
|
|
627
627
|
var $TypeError$4 = type;
|
|
628
|
-
var $call$1 =
|
|
628
|
+
var $call$1 = requireFunctionCall();
|
|
629
629
|
var $actualApply = actualApply$1;
|
|
630
630
|
var callBindApplyHelpers = function callBindBasic(args) {
|
|
631
631
|
if (args.length < 1 || typeof args[0] !== "function") {
|
|
@@ -633,57 +633,43 @@ var callBindApplyHelpers = function callBindBasic(args) {
|
|
|
633
633
|
}
|
|
634
634
|
return $actualApply(bind$2, $call$1, args);
|
|
635
635
|
};
|
|
636
|
-
var
|
|
637
|
-
var
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
646
|
-
[].__proto__ === Array.prototype;
|
|
647
|
-
} catch (e) {
|
|
648
|
-
if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
|
|
649
|
-
throw e;
|
|
650
|
-
}
|
|
636
|
+
var callBind$2 = callBindApplyHelpers;
|
|
637
|
+
var gOPD$3 = gopd$1;
|
|
638
|
+
var hasProtoAccessor;
|
|
639
|
+
try {
|
|
640
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
641
|
+
[].__proto__ === Array.prototype;
|
|
642
|
+
} catch (e) {
|
|
643
|
+
if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
|
|
644
|
+
throw e;
|
|
651
645
|
}
|
|
652
|
-
var desc = !!hasProtoAccessor && gOPD2 && gOPD2(
|
|
653
|
-
Object.prototype,
|
|
654
|
-
/** @type {keyof typeof Object.prototype} */
|
|
655
|
-
"__proto__"
|
|
656
|
-
);
|
|
657
|
-
var $Object2 = Object;
|
|
658
|
-
var $getPrototypeOf = $Object2.getPrototypeOf;
|
|
659
|
-
get = desc && typeof desc.get === "function" ? callBind2([desc.get]) : typeof $getPrototypeOf === "function" ? (
|
|
660
|
-
/** @type {import('./get')} */
|
|
661
|
-
function getDunder(value) {
|
|
662
|
-
return $getPrototypeOf(value == null ? value : $Object2(value));
|
|
663
|
-
}
|
|
664
|
-
) : false;
|
|
665
|
-
return get;
|
|
666
|
-
}
|
|
667
|
-
var getProto$3;
|
|
668
|
-
var hasRequiredGetProto;
|
|
669
|
-
function requireGetProto() {
|
|
670
|
-
if (hasRequiredGetProto) return getProto$3;
|
|
671
|
-
hasRequiredGetProto = 1;
|
|
672
|
-
var reflectGetProto = requireReflect_getPrototypeOf();
|
|
673
|
-
var originalGetProto = requireObject_getPrototypeOf();
|
|
674
|
-
var getDunderProto = requireGet();
|
|
675
|
-
getProto$3 = reflectGetProto ? function getProto2(O) {
|
|
676
|
-
return reflectGetProto(O);
|
|
677
|
-
} : originalGetProto ? function getProto2(O) {
|
|
678
|
-
if (!O || typeof O !== "object" && typeof O !== "function") {
|
|
679
|
-
throw new TypeError("getProto: not an object");
|
|
680
|
-
}
|
|
681
|
-
return originalGetProto(O);
|
|
682
|
-
} : getDunderProto ? function getProto2(O) {
|
|
683
|
-
return getDunderProto(O);
|
|
684
|
-
} : null;
|
|
685
|
-
return getProto$3;
|
|
686
646
|
}
|
|
647
|
+
var desc = !!hasProtoAccessor && gOPD$3 && gOPD$3(
|
|
648
|
+
Object.prototype,
|
|
649
|
+
/** @type {keyof typeof Object.prototype} */
|
|
650
|
+
"__proto__"
|
|
651
|
+
);
|
|
652
|
+
var $Object$1 = Object;
|
|
653
|
+
var $getPrototypeOf = $Object$1.getPrototypeOf;
|
|
654
|
+
var get = desc && typeof desc.get === "function" ? callBind$2([desc.get]) : typeof $getPrototypeOf === "function" ? (
|
|
655
|
+
/** @type {import('./get')} */
|
|
656
|
+
function getDunder(value) {
|
|
657
|
+
return $getPrototypeOf(value == null ? value : $Object$1(value));
|
|
658
|
+
}
|
|
659
|
+
) : false;
|
|
660
|
+
var reflectGetProto = Reflect_getPrototypeOf;
|
|
661
|
+
var originalGetProto = Object_getPrototypeOf;
|
|
662
|
+
var getDunderProto = get;
|
|
663
|
+
var getProto$3 = reflectGetProto ? function getProto(O) {
|
|
664
|
+
return reflectGetProto(O);
|
|
665
|
+
} : originalGetProto ? function getProto2(O) {
|
|
666
|
+
if (!O || typeof O !== "object" && typeof O !== "function") {
|
|
667
|
+
throw new TypeError("getProto: not an object");
|
|
668
|
+
}
|
|
669
|
+
return originalGetProto(O);
|
|
670
|
+
} : getDunderProto ? function getProto3(O) {
|
|
671
|
+
return getDunderProto(O);
|
|
672
|
+
} : null;
|
|
687
673
|
var hasown;
|
|
688
674
|
var hasRequiredHasown;
|
|
689
675
|
function requireHasown() {
|
|
@@ -691,8 +677,8 @@ function requireHasown() {
|
|
|
691
677
|
hasRequiredHasown = 1;
|
|
692
678
|
var call = Function.prototype.call;
|
|
693
679
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
694
|
-
var
|
|
695
|
-
hasown =
|
|
680
|
+
var bind2 = requireFunctionBind();
|
|
681
|
+
hasown = bind2.call(call, $hasOwn);
|
|
696
682
|
return hasown;
|
|
697
683
|
}
|
|
698
684
|
var undefined$1;
|
|
@@ -706,7 +692,7 @@ var $TypeError$3 = type;
|
|
|
706
692
|
var $URIError = uri;
|
|
707
693
|
var abs = abs$1;
|
|
708
694
|
var floor = floor$1;
|
|
709
|
-
var max = max$
|
|
695
|
+
var max = max$1;
|
|
710
696
|
var min = min$1;
|
|
711
697
|
var pow = pow$1;
|
|
712
698
|
var round = round$1;
|
|
@@ -735,12 +721,12 @@ var ThrowTypeError = $gOPD ? function() {
|
|
|
735
721
|
}
|
|
736
722
|
}
|
|
737
723
|
}() : throwTypeError;
|
|
738
|
-
var
|
|
739
|
-
var getProto$2 =
|
|
740
|
-
var $ObjectGPO =
|
|
741
|
-
var $ReflectGPO =
|
|
724
|
+
var hasSymbols2 = requireHasSymbols()();
|
|
725
|
+
var getProto$2 = getProto$3;
|
|
726
|
+
var $ObjectGPO = Object_getPrototypeOf;
|
|
727
|
+
var $ReflectGPO = Reflect_getPrototypeOf;
|
|
742
728
|
var $apply$1 = requireFunctionApply();
|
|
743
|
-
var $call =
|
|
729
|
+
var $call = requireFunctionCall();
|
|
744
730
|
var needsEval = {};
|
|
745
731
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto$2 ? undefined$1 : getProto$2(Uint8Array);
|
|
746
732
|
var INTRINSICS = {
|
|
@@ -748,7 +734,7 @@ var INTRINSICS = {
|
|
|
748
734
|
"%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
|
|
749
735
|
"%Array%": Array,
|
|
750
736
|
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
|
|
751
|
-
"%ArrayIteratorPrototype%":
|
|
737
|
+
"%ArrayIteratorPrototype%": hasSymbols2 && getProto$2 ? getProto$2([][Symbol.iterator]()) : undefined$1,
|
|
752
738
|
"%AsyncFromSyncIteratorPrototype%": undefined$1,
|
|
753
739
|
"%AsyncFunction%": needsEval,
|
|
754
740
|
"%AsyncGenerator%": needsEval,
|
|
@@ -780,10 +766,10 @@ var INTRINSICS = {
|
|
|
780
766
|
"%Int32Array%": typeof Int32Array === "undefined" ? undefined$1 : Int32Array,
|
|
781
767
|
"%isFinite%": isFinite,
|
|
782
768
|
"%isNaN%": isNaN,
|
|
783
|
-
"%IteratorPrototype%":
|
|
769
|
+
"%IteratorPrototype%": hasSymbols2 && getProto$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$1,
|
|
784
770
|
"%JSON%": typeof JSON === "object" ? JSON : undefined$1,
|
|
785
771
|
"%Map%": typeof Map === "undefined" ? undefined$1 : Map,
|
|
786
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !
|
|
772
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols2 || !getProto$2 ? undefined$1 : getProto$2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
787
773
|
"%Math%": Math,
|
|
788
774
|
"%Number%": Number,
|
|
789
775
|
"%Object%": $Object,
|
|
@@ -797,11 +783,11 @@ var INTRINSICS = {
|
|
|
797
783
|
"%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
|
|
798
784
|
"%RegExp%": RegExp,
|
|
799
785
|
"%Set%": typeof Set === "undefined" ? undefined$1 : Set,
|
|
800
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !
|
|
786
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols2 || !getProto$2 ? undefined$1 : getProto$2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
801
787
|
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$1 : SharedArrayBuffer,
|
|
802
788
|
"%String%": String,
|
|
803
|
-
"%StringIteratorPrototype%":
|
|
804
|
-
"%Symbol%":
|
|
789
|
+
"%StringIteratorPrototype%": hasSymbols2 && getProto$2 ? getProto$2(""[Symbol.iterator]()) : undefined$1,
|
|
790
|
+
"%Symbol%": hasSymbols2 ? Symbol : undefined$1,
|
|
805
791
|
"%SyntaxError%": $SyntaxError$1,
|
|
806
792
|
"%ThrowTypeError%": ThrowTypeError,
|
|
807
793
|
"%TypedArray%": TypedArray,
|
|
@@ -911,7 +897,7 @@ var LEGACY_ALIASES = {
|
|
|
911
897
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
912
898
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
913
899
|
};
|
|
914
|
-
var bind$1 =
|
|
900
|
+
var bind$1 = requireFunctionBind();
|
|
915
901
|
var hasOwn$1 = requireHasown();
|
|
916
902
|
var $concat = bind$1.call($call, Array.prototype.concat);
|
|
917
903
|
var $spliceApply = bind$1.call($apply$1, Array.prototype.splice);
|
|
@@ -1000,10 +986,10 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
|
1000
986
|
return void 0;
|
|
1001
987
|
}
|
|
1002
988
|
if ($gOPD && i + 1 >= parts.length) {
|
|
1003
|
-
var
|
|
1004
|
-
isOwn = !!
|
|
1005
|
-
if (isOwn && "get" in
|
|
1006
|
-
value =
|
|
989
|
+
var desc2 = $gOPD(value, part);
|
|
990
|
+
isOwn = !!desc2;
|
|
991
|
+
if (isOwn && "get" in desc2 && !("originalValue" in desc2.get)) {
|
|
992
|
+
value = desc2.get;
|
|
1007
993
|
} else {
|
|
1008
994
|
value = value[part];
|
|
1009
995
|
}
|
|
@@ -1126,7 +1112,7 @@ var callBound$1 = callBound$5;
|
|
|
1126
1112
|
var safeRegexTest = safeRegexTest$1;
|
|
1127
1113
|
var isFnRegex = safeRegexTest(/^\s*(?:function)?\*/);
|
|
1128
1114
|
var hasToStringTag$2 = shams();
|
|
1129
|
-
var getProto$1 =
|
|
1115
|
+
var getProto$1 = getProto$3;
|
|
1130
1116
|
var toStr$2 = callBound$1("Object.prototype.toString");
|
|
1131
1117
|
var fnToStr$1 = callBound$1("Function.prototype.toString");
|
|
1132
1118
|
var getGeneratorFunc = function() {
|
|
@@ -1378,13 +1364,13 @@ var defineDataProperty = function defineDataProperty2(obj, property, value) {
|
|
|
1378
1364
|
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
1379
1365
|
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
1380
1366
|
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
1381
|
-
var
|
|
1367
|
+
var desc2 = !!gopd && gopd(obj, property);
|
|
1382
1368
|
if ($defineProperty$1) {
|
|
1383
1369
|
$defineProperty$1(obj, property, {
|
|
1384
|
-
configurable: nonConfigurable === null &&
|
|
1385
|
-
enumerable: nonEnumerable === null &&
|
|
1370
|
+
configurable: nonConfigurable === null && desc2 ? desc2.configurable : !nonConfigurable,
|
|
1371
|
+
enumerable: nonEnumerable === null && desc2 ? desc2.enumerable : !nonEnumerable,
|
|
1386
1372
|
value,
|
|
1387
|
-
writable: nonWritable === null &&
|
|
1373
|
+
writable: nonWritable === null && desc2 ? desc2.writable : !nonWritable
|
|
1388
1374
|
});
|
|
1389
1375
|
} else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
|
|
1390
1376
|
obj[property] = value;
|
|
@@ -1424,11 +1410,11 @@ var setFunctionLength = function setFunctionLength2(fn2, length) {
|
|
|
1424
1410
|
var functionLengthIsConfigurable = true;
|
|
1425
1411
|
var functionLengthIsWritable = true;
|
|
1426
1412
|
if ("length" in fn2 && gOPD$1) {
|
|
1427
|
-
var
|
|
1428
|
-
if (
|
|
1413
|
+
var desc2 = gOPD$1(fn2, "length");
|
|
1414
|
+
if (desc2 && !desc2.configurable) {
|
|
1429
1415
|
functionLengthIsConfigurable = false;
|
|
1430
1416
|
}
|
|
1431
|
-
if (
|
|
1417
|
+
if (desc2 && !desc2.writable) {
|
|
1432
1418
|
functionLengthIsWritable = false;
|
|
1433
1419
|
}
|
|
1434
1420
|
}
|
|
@@ -1453,11 +1439,11 @@ var setFunctionLength = function setFunctionLength2(fn2, length) {
|
|
|
1453
1439
|
}
|
|
1454
1440
|
return fn2;
|
|
1455
1441
|
};
|
|
1456
|
-
var
|
|
1442
|
+
var bind = requireFunctionBind();
|
|
1457
1443
|
var $apply = requireFunctionApply();
|
|
1458
1444
|
var actualApply = actualApply$1;
|
|
1459
1445
|
var applyBind = function applyBind2() {
|
|
1460
|
-
return actualApply(
|
|
1446
|
+
return actualApply(bind, $apply, arguments);
|
|
1461
1447
|
};
|
|
1462
1448
|
(function(module) {
|
|
1463
1449
|
var setFunctionLength$1 = setFunctionLength;
|
|
@@ -1485,7 +1471,7 @@ var availableTypedArrays2 = availableTypedArrays$1;
|
|
|
1485
1471
|
var callBind = callBindExports;
|
|
1486
1472
|
var callBound = callBound$5;
|
|
1487
1473
|
var gOPD = gopd$1;
|
|
1488
|
-
var
|
|
1474
|
+
var getProto4 = getProto$3;
|
|
1489
1475
|
var $toString = callBound("Object.prototype.toString");
|
|
1490
1476
|
var hasToStringTag = shams();
|
|
1491
1477
|
var g = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
|
|
@@ -1500,14 +1486,14 @@ var $indexOf = callBound("Array.prototype.indexOf", true) || function indexOf(ar
|
|
|
1500
1486
|
return -1;
|
|
1501
1487
|
};
|
|
1502
1488
|
var cache = { __proto__: null };
|
|
1503
|
-
if (hasToStringTag && gOPD &&
|
|
1489
|
+
if (hasToStringTag && gOPD && getProto4) {
|
|
1504
1490
|
forEach2(typedArrays, function(typedArray) {
|
|
1505
1491
|
var arr = new g[typedArray]();
|
|
1506
|
-
if (Symbol.toStringTag in arr &&
|
|
1507
|
-
var proto =
|
|
1492
|
+
if (Symbol.toStringTag in arr && getProto4) {
|
|
1493
|
+
var proto = getProto4(arr);
|
|
1508
1494
|
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
1509
1495
|
if (!descriptor && proto) {
|
|
1510
|
-
var superProto =
|
|
1496
|
+
var superProto = getProto4(proto);
|
|
1511
1497
|
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
1512
1498
|
}
|
|
1513
1499
|
cache["$" + typedArray] = callBind(descriptor.get);
|
|
@@ -2100,16 +2086,16 @@ var isBufferBrowser = function isBuffer(arg) {
|
|
|
2100
2086
|
return output;
|
|
2101
2087
|
}
|
|
2102
2088
|
function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
|
|
2103
|
-
var name, str,
|
|
2104
|
-
|
|
2105
|
-
if (
|
|
2106
|
-
if (
|
|
2089
|
+
var name, str, desc2;
|
|
2090
|
+
desc2 = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
|
|
2091
|
+
if (desc2.get) {
|
|
2092
|
+
if (desc2.set) {
|
|
2107
2093
|
str = ctx.stylize("[Getter/Setter]", "special");
|
|
2108
2094
|
} else {
|
|
2109
2095
|
str = ctx.stylize("[Getter]", "special");
|
|
2110
2096
|
}
|
|
2111
2097
|
} else {
|
|
2112
|
-
if (
|
|
2098
|
+
if (desc2.set) {
|
|
2113
2099
|
str = ctx.stylize("[Setter]", "special");
|
|
2114
2100
|
}
|
|
2115
2101
|
}
|
|
@@ -2117,11 +2103,11 @@ var isBufferBrowser = function isBuffer(arg) {
|
|
|
2117
2103
|
name = "[" + key + "]";
|
|
2118
2104
|
}
|
|
2119
2105
|
if (!str) {
|
|
2120
|
-
if (ctx.seen.indexOf(
|
|
2106
|
+
if (ctx.seen.indexOf(desc2.value) < 0) {
|
|
2121
2107
|
if (isNull(recurseTimes)) {
|
|
2122
|
-
str = formatValue(ctx,
|
|
2108
|
+
str = formatValue(ctx, desc2.value, null);
|
|
2123
2109
|
} else {
|
|
2124
|
-
str = formatValue(ctx,
|
|
2110
|
+
str = formatValue(ctx, desc2.value, recurseTimes - 1);
|
|
2125
2111
|
}
|
|
2126
2112
|
if (str.indexOf("\n") > -1) {
|
|
2127
2113
|
if (array) {
|