docx 9.4.0 → 9.5.0
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/index.cjs +379 -147
- package/dist/index.d.cts +24 -6
- package/dist/index.d.ts +24 -6
- package/dist/index.iife.js +379 -147
- package/dist/index.mjs +379 -147
- package/dist/index.umd.cjs +379 -147
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1366,9 +1366,9 @@ function requireBuffer() {
|
|
|
1366
1366
|
};
|
|
1367
1367
|
Buffer2.prototype.inspect = function inspect() {
|
|
1368
1368
|
var str = "";
|
|
1369
|
-
var
|
|
1370
|
-
str = this.toString("hex", 0,
|
|
1371
|
-
if (this.length >
|
|
1369
|
+
var max2 = exports.INSPECT_MAX_BYTES;
|
|
1370
|
+
str = this.toString("hex", 0, max2).replace(/(.{2})/g, "$1 ").trim();
|
|
1371
|
+
if (this.length > max2) str += " ... ";
|
|
1372
1372
|
return "<Buffer " + str + ">";
|
|
1373
1373
|
};
|
|
1374
1374
|
if (customInspectSymbol) {
|
|
@@ -1893,9 +1893,9 @@ function requireBuffer() {
|
|
|
1893
1893
|
if (!noAssert) checkOffset(offset, 8, this.length);
|
|
1894
1894
|
return ieee7542.read(this, offset, false, 52, 8);
|
|
1895
1895
|
};
|
|
1896
|
-
function checkInt(buf, value, offset, ext,
|
|
1896
|
+
function checkInt(buf, value, offset, ext, max2, min2) {
|
|
1897
1897
|
if (!Buffer2.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
1898
|
-
if (value >
|
|
1898
|
+
if (value > max2 || value < min2) throw new RangeError('"value" argument is out of bounds');
|
|
1899
1899
|
if (offset + ext > buf.length) throw new RangeError("Index out of range");
|
|
1900
1900
|
}
|
|
1901
1901
|
Buffer2.prototype.writeUintLE = Buffer2.prototype.writeUIntLE = function writeUIntLE(value, offset, byteLength2, noAssert) {
|
|
@@ -2056,7 +2056,7 @@ function requireBuffer() {
|
|
|
2056
2056
|
this[offset + 3] = value & 255;
|
|
2057
2057
|
return offset + 4;
|
|
2058
2058
|
};
|
|
2059
|
-
function checkIEEE754(buf, value, offset, ext,
|
|
2059
|
+
function checkIEEE754(buf, value, offset, ext, max2, min2) {
|
|
2060
2060
|
if (offset + ext > buf.length) throw new RangeError("Index out of range");
|
|
2061
2061
|
if (offset < 0) throw new RangeError("Index out of range");
|
|
2062
2062
|
}
|
|
@@ -2321,7 +2321,7 @@ function requireShams$1() {
|
|
|
2321
2321
|
}
|
|
2322
2322
|
var symVal = 42;
|
|
2323
2323
|
obj[sym] = symVal;
|
|
2324
|
-
for (
|
|
2324
|
+
for (var _ in obj) {
|
|
2325
2325
|
return false;
|
|
2326
2326
|
}
|
|
2327
2327
|
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
@@ -2338,7 +2338,10 @@ function requireShams$1() {
|
|
|
2338
2338
|
return false;
|
|
2339
2339
|
}
|
|
2340
2340
|
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
2341
|
-
var descriptor =
|
|
2341
|
+
var descriptor = (
|
|
2342
|
+
/** @type {PropertyDescriptor} */
|
|
2343
|
+
Object.getOwnPropertyDescriptor(obj, sym)
|
|
2344
|
+
);
|
|
2342
2345
|
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
2343
2346
|
return false;
|
|
2344
2347
|
}
|
|
@@ -2358,6 +2361,14 @@ function requireShams() {
|
|
|
2358
2361
|
};
|
|
2359
2362
|
return shams;
|
|
2360
2363
|
}
|
|
2364
|
+
var esObjectAtoms;
|
|
2365
|
+
var hasRequiredEsObjectAtoms;
|
|
2366
|
+
function requireEsObjectAtoms() {
|
|
2367
|
+
if (hasRequiredEsObjectAtoms) return esObjectAtoms;
|
|
2368
|
+
hasRequiredEsObjectAtoms = 1;
|
|
2369
|
+
esObjectAtoms = Object;
|
|
2370
|
+
return esObjectAtoms;
|
|
2371
|
+
}
|
|
2361
2372
|
var esErrors;
|
|
2362
2373
|
var hasRequiredEsErrors;
|
|
2363
2374
|
function requireEsErrors() {
|
|
@@ -2414,6 +2425,118 @@ function requireUri() {
|
|
|
2414
2425
|
uri = URIError;
|
|
2415
2426
|
return uri;
|
|
2416
2427
|
}
|
|
2428
|
+
var abs;
|
|
2429
|
+
var hasRequiredAbs;
|
|
2430
|
+
function requireAbs() {
|
|
2431
|
+
if (hasRequiredAbs) return abs;
|
|
2432
|
+
hasRequiredAbs = 1;
|
|
2433
|
+
abs = Math.abs;
|
|
2434
|
+
return abs;
|
|
2435
|
+
}
|
|
2436
|
+
var floor;
|
|
2437
|
+
var hasRequiredFloor;
|
|
2438
|
+
function requireFloor() {
|
|
2439
|
+
if (hasRequiredFloor) return floor;
|
|
2440
|
+
hasRequiredFloor = 1;
|
|
2441
|
+
floor = Math.floor;
|
|
2442
|
+
return floor;
|
|
2443
|
+
}
|
|
2444
|
+
var max;
|
|
2445
|
+
var hasRequiredMax;
|
|
2446
|
+
function requireMax() {
|
|
2447
|
+
if (hasRequiredMax) return max;
|
|
2448
|
+
hasRequiredMax = 1;
|
|
2449
|
+
max = Math.max;
|
|
2450
|
+
return max;
|
|
2451
|
+
}
|
|
2452
|
+
var min;
|
|
2453
|
+
var hasRequiredMin;
|
|
2454
|
+
function requireMin() {
|
|
2455
|
+
if (hasRequiredMin) return min;
|
|
2456
|
+
hasRequiredMin = 1;
|
|
2457
|
+
min = Math.min;
|
|
2458
|
+
return min;
|
|
2459
|
+
}
|
|
2460
|
+
var pow;
|
|
2461
|
+
var hasRequiredPow;
|
|
2462
|
+
function requirePow() {
|
|
2463
|
+
if (hasRequiredPow) return pow;
|
|
2464
|
+
hasRequiredPow = 1;
|
|
2465
|
+
pow = Math.pow;
|
|
2466
|
+
return pow;
|
|
2467
|
+
}
|
|
2468
|
+
var round;
|
|
2469
|
+
var hasRequiredRound;
|
|
2470
|
+
function requireRound() {
|
|
2471
|
+
if (hasRequiredRound) return round;
|
|
2472
|
+
hasRequiredRound = 1;
|
|
2473
|
+
round = Math.round;
|
|
2474
|
+
return round;
|
|
2475
|
+
}
|
|
2476
|
+
var _isNaN;
|
|
2477
|
+
var hasRequired_isNaN;
|
|
2478
|
+
function require_isNaN() {
|
|
2479
|
+
if (hasRequired_isNaN) return _isNaN;
|
|
2480
|
+
hasRequired_isNaN = 1;
|
|
2481
|
+
_isNaN = Number.isNaN || function isNaN2(a) {
|
|
2482
|
+
return a !== a;
|
|
2483
|
+
};
|
|
2484
|
+
return _isNaN;
|
|
2485
|
+
}
|
|
2486
|
+
var sign;
|
|
2487
|
+
var hasRequiredSign;
|
|
2488
|
+
function requireSign() {
|
|
2489
|
+
if (hasRequiredSign) return sign;
|
|
2490
|
+
hasRequiredSign = 1;
|
|
2491
|
+
var $isNaN = /* @__PURE__ */ require_isNaN();
|
|
2492
|
+
sign = function sign2(number) {
|
|
2493
|
+
if ($isNaN(number) || number === 0) {
|
|
2494
|
+
return number;
|
|
2495
|
+
}
|
|
2496
|
+
return number < 0 ? -1 : 1;
|
|
2497
|
+
};
|
|
2498
|
+
return sign;
|
|
2499
|
+
}
|
|
2500
|
+
var gOPD;
|
|
2501
|
+
var hasRequiredGOPD;
|
|
2502
|
+
function requireGOPD() {
|
|
2503
|
+
if (hasRequiredGOPD) return gOPD;
|
|
2504
|
+
hasRequiredGOPD = 1;
|
|
2505
|
+
gOPD = Object.getOwnPropertyDescriptor;
|
|
2506
|
+
return gOPD;
|
|
2507
|
+
}
|
|
2508
|
+
var gopd;
|
|
2509
|
+
var hasRequiredGopd;
|
|
2510
|
+
function requireGopd() {
|
|
2511
|
+
if (hasRequiredGopd) return gopd;
|
|
2512
|
+
hasRequiredGopd = 1;
|
|
2513
|
+
var $gOPD = /* @__PURE__ */ requireGOPD();
|
|
2514
|
+
if ($gOPD) {
|
|
2515
|
+
try {
|
|
2516
|
+
$gOPD([], "length");
|
|
2517
|
+
} catch (e) {
|
|
2518
|
+
$gOPD = null;
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
gopd = $gOPD;
|
|
2522
|
+
return gopd;
|
|
2523
|
+
}
|
|
2524
|
+
var esDefineProperty;
|
|
2525
|
+
var hasRequiredEsDefineProperty;
|
|
2526
|
+
function requireEsDefineProperty() {
|
|
2527
|
+
if (hasRequiredEsDefineProperty) return esDefineProperty;
|
|
2528
|
+
hasRequiredEsDefineProperty = 1;
|
|
2529
|
+
var $defineProperty = Object.defineProperty || false;
|
|
2530
|
+
if ($defineProperty) {
|
|
2531
|
+
try {
|
|
2532
|
+
$defineProperty({}, "a", { value: 1 });
|
|
2533
|
+
} catch (e) {
|
|
2534
|
+
$defineProperty = false;
|
|
2535
|
+
}
|
|
2536
|
+
}
|
|
2537
|
+
esDefineProperty = $defineProperty;
|
|
2538
|
+
return esDefineProperty;
|
|
2539
|
+
}
|
|
2417
2540
|
var hasSymbols;
|
|
2418
2541
|
var hasRequiredHasSymbols;
|
|
2419
2542
|
function requireHasSymbols() {
|
|
@@ -2438,20 +2561,22 @@ function requireHasSymbols() {
|
|
|
2438
2561
|
};
|
|
2439
2562
|
return hasSymbols;
|
|
2440
2563
|
}
|
|
2441
|
-
var
|
|
2442
|
-
var
|
|
2443
|
-
function
|
|
2444
|
-
if (
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2564
|
+
var Reflect_getPrototypeOf;
|
|
2565
|
+
var hasRequiredReflect_getPrototypeOf;
|
|
2566
|
+
function requireReflect_getPrototypeOf() {
|
|
2567
|
+
if (hasRequiredReflect_getPrototypeOf) return Reflect_getPrototypeOf;
|
|
2568
|
+
hasRequiredReflect_getPrototypeOf = 1;
|
|
2569
|
+
Reflect_getPrototypeOf = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
2570
|
+
return Reflect_getPrototypeOf;
|
|
2571
|
+
}
|
|
2572
|
+
var Object_getPrototypeOf;
|
|
2573
|
+
var hasRequiredObject_getPrototypeOf;
|
|
2574
|
+
function requireObject_getPrototypeOf() {
|
|
2575
|
+
if (hasRequiredObject_getPrototypeOf) return Object_getPrototypeOf;
|
|
2576
|
+
hasRequiredObject_getPrototypeOf = 1;
|
|
2577
|
+
var $Object = /* @__PURE__ */ requireEsObjectAtoms();
|
|
2578
|
+
Object_getPrototypeOf = $Object.getPrototypeOf || null;
|
|
2579
|
+
return Object_getPrototypeOf;
|
|
2455
2580
|
}
|
|
2456
2581
|
var implementation;
|
|
2457
2582
|
var hasRequiredImplementation;
|
|
@@ -2460,7 +2585,7 @@ function requireImplementation() {
|
|
|
2460
2585
|
hasRequiredImplementation = 1;
|
|
2461
2586
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
2462
2587
|
var toStr = Object.prototype.toString;
|
|
2463
|
-
var
|
|
2588
|
+
var max2 = Math.max;
|
|
2464
2589
|
var funcType = "[object Function]";
|
|
2465
2590
|
var concatty = function concatty2(a, b) {
|
|
2466
2591
|
var arr = [];
|
|
@@ -2512,7 +2637,7 @@ function requireImplementation() {
|
|
|
2512
2637
|
concatty(args, arguments)
|
|
2513
2638
|
);
|
|
2514
2639
|
};
|
|
2515
|
-
var boundLength =
|
|
2640
|
+
var boundLength = max2(0, target.length - args.length);
|
|
2516
2641
|
var boundArgs = [];
|
|
2517
2642
|
for (var i = 0; i < boundLength; i++) {
|
|
2518
2643
|
boundArgs[i] = "$" + i;
|
|
@@ -2538,6 +2663,110 @@ function requireFunctionBind() {
|
|
|
2538
2663
|
functionBind = Function.prototype.bind || implementation2;
|
|
2539
2664
|
return functionBind;
|
|
2540
2665
|
}
|
|
2666
|
+
var functionCall;
|
|
2667
|
+
var hasRequiredFunctionCall;
|
|
2668
|
+
function requireFunctionCall() {
|
|
2669
|
+
if (hasRequiredFunctionCall) return functionCall;
|
|
2670
|
+
hasRequiredFunctionCall = 1;
|
|
2671
|
+
functionCall = Function.prototype.call;
|
|
2672
|
+
return functionCall;
|
|
2673
|
+
}
|
|
2674
|
+
var functionApply;
|
|
2675
|
+
var hasRequiredFunctionApply;
|
|
2676
|
+
function requireFunctionApply() {
|
|
2677
|
+
if (hasRequiredFunctionApply) return functionApply;
|
|
2678
|
+
hasRequiredFunctionApply = 1;
|
|
2679
|
+
functionApply = Function.prototype.apply;
|
|
2680
|
+
return functionApply;
|
|
2681
|
+
}
|
|
2682
|
+
var reflectApply;
|
|
2683
|
+
var hasRequiredReflectApply;
|
|
2684
|
+
function requireReflectApply() {
|
|
2685
|
+
if (hasRequiredReflectApply) return reflectApply;
|
|
2686
|
+
hasRequiredReflectApply = 1;
|
|
2687
|
+
reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
2688
|
+
return reflectApply;
|
|
2689
|
+
}
|
|
2690
|
+
var actualApply;
|
|
2691
|
+
var hasRequiredActualApply;
|
|
2692
|
+
function requireActualApply() {
|
|
2693
|
+
if (hasRequiredActualApply) return actualApply;
|
|
2694
|
+
hasRequiredActualApply = 1;
|
|
2695
|
+
var bind = requireFunctionBind();
|
|
2696
|
+
var $apply = requireFunctionApply();
|
|
2697
|
+
var $call = requireFunctionCall();
|
|
2698
|
+
var $reflectApply = requireReflectApply();
|
|
2699
|
+
actualApply = $reflectApply || bind.call($call, $apply);
|
|
2700
|
+
return actualApply;
|
|
2701
|
+
}
|
|
2702
|
+
var callBindApplyHelpers;
|
|
2703
|
+
var hasRequiredCallBindApplyHelpers;
|
|
2704
|
+
function requireCallBindApplyHelpers() {
|
|
2705
|
+
if (hasRequiredCallBindApplyHelpers) return callBindApplyHelpers;
|
|
2706
|
+
hasRequiredCallBindApplyHelpers = 1;
|
|
2707
|
+
var bind = requireFunctionBind();
|
|
2708
|
+
var $TypeError = /* @__PURE__ */ requireType();
|
|
2709
|
+
var $call = requireFunctionCall();
|
|
2710
|
+
var $actualApply = requireActualApply();
|
|
2711
|
+
callBindApplyHelpers = function callBindBasic(args) {
|
|
2712
|
+
if (args.length < 1 || typeof args[0] !== "function") {
|
|
2713
|
+
throw new $TypeError("a function is required");
|
|
2714
|
+
}
|
|
2715
|
+
return $actualApply(bind, $call, args);
|
|
2716
|
+
};
|
|
2717
|
+
return callBindApplyHelpers;
|
|
2718
|
+
}
|
|
2719
|
+
var get;
|
|
2720
|
+
var hasRequiredGet;
|
|
2721
|
+
function requireGet() {
|
|
2722
|
+
if (hasRequiredGet) return get;
|
|
2723
|
+
hasRequiredGet = 1;
|
|
2724
|
+
var callBind2 = requireCallBindApplyHelpers();
|
|
2725
|
+
var gOPD2 = /* @__PURE__ */ requireGopd();
|
|
2726
|
+
var hasProtoAccessor;
|
|
2727
|
+
try {
|
|
2728
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
2729
|
+
[].__proto__ === Array.prototype;
|
|
2730
|
+
} catch (e) {
|
|
2731
|
+
if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
|
|
2732
|
+
throw e;
|
|
2733
|
+
}
|
|
2734
|
+
}
|
|
2735
|
+
var desc = !!hasProtoAccessor && gOPD2 && gOPD2(
|
|
2736
|
+
Object.prototype,
|
|
2737
|
+
/** @type {keyof typeof Object.prototype} */
|
|
2738
|
+
"__proto__"
|
|
2739
|
+
);
|
|
2740
|
+
var $Object = Object;
|
|
2741
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
2742
|
+
get = desc && typeof desc.get === "function" ? callBind2([desc.get]) : typeof $getPrototypeOf === "function" ? (
|
|
2743
|
+
/** @type {import('./get')} */
|
|
2744
|
+
function getDunder(value) {
|
|
2745
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
2746
|
+
}
|
|
2747
|
+
) : false;
|
|
2748
|
+
return get;
|
|
2749
|
+
}
|
|
2750
|
+
var getProto;
|
|
2751
|
+
var hasRequiredGetProto;
|
|
2752
|
+
function requireGetProto() {
|
|
2753
|
+
if (hasRequiredGetProto) return getProto;
|
|
2754
|
+
hasRequiredGetProto = 1;
|
|
2755
|
+
var reflectGetProto = requireReflect_getPrototypeOf();
|
|
2756
|
+
var originalGetProto = requireObject_getPrototypeOf();
|
|
2757
|
+
var getDunderProto = /* @__PURE__ */ requireGet();
|
|
2758
|
+
getProto = reflectGetProto ? function getProto2(O) {
|
|
2759
|
+
return reflectGetProto(O);
|
|
2760
|
+
} : originalGetProto ? function getProto2(O) {
|
|
2761
|
+
if (!O || typeof O !== "object" && typeof O !== "function") {
|
|
2762
|
+
throw new TypeError("getProto: not an object");
|
|
2763
|
+
}
|
|
2764
|
+
return originalGetProto(O);
|
|
2765
|
+
} : getDunderProto ? function getProto2(O) {
|
|
2766
|
+
return getDunderProto(O);
|
|
2767
|
+
} : null;
|
|
2768
|
+
return getProto;
|
|
2769
|
+
}
|
|
2541
2770
|
var hasown;
|
|
2542
2771
|
var hasRequiredHasown;
|
|
2543
2772
|
function requireHasown() {
|
|
@@ -2555,6 +2784,7 @@ function requireGetIntrinsic() {
|
|
|
2555
2784
|
if (hasRequiredGetIntrinsic) return getIntrinsic;
|
|
2556
2785
|
hasRequiredGetIntrinsic = 1;
|
|
2557
2786
|
var undefined$1;
|
|
2787
|
+
var $Object = /* @__PURE__ */ requireEsObjectAtoms();
|
|
2558
2788
|
var $Error = /* @__PURE__ */ requireEsErrors();
|
|
2559
2789
|
var $EvalError = /* @__PURE__ */ require_eval();
|
|
2560
2790
|
var $RangeError = /* @__PURE__ */ requireRange();
|
|
@@ -2562,6 +2792,13 @@ function requireGetIntrinsic() {
|
|
|
2562
2792
|
var $SyntaxError = /* @__PURE__ */ requireSyntax();
|
|
2563
2793
|
var $TypeError = /* @__PURE__ */ requireType();
|
|
2564
2794
|
var $URIError = /* @__PURE__ */ requireUri();
|
|
2795
|
+
var abs2 = /* @__PURE__ */ requireAbs();
|
|
2796
|
+
var floor2 = /* @__PURE__ */ requireFloor();
|
|
2797
|
+
var max2 = /* @__PURE__ */ requireMax();
|
|
2798
|
+
var min2 = /* @__PURE__ */ requireMin();
|
|
2799
|
+
var pow2 = /* @__PURE__ */ requirePow();
|
|
2800
|
+
var round2 = /* @__PURE__ */ requireRound();
|
|
2801
|
+
var sign2 = /* @__PURE__ */ requireSign();
|
|
2565
2802
|
var $Function = Function;
|
|
2566
2803
|
var getEvalledConstructor = function(expressionSyntax) {
|
|
2567
2804
|
try {
|
|
@@ -2569,14 +2806,8 @@ function requireGetIntrinsic() {
|
|
|
2569
2806
|
} catch (e) {
|
|
2570
2807
|
}
|
|
2571
2808
|
};
|
|
2572
|
-
var $gOPD =
|
|
2573
|
-
|
|
2574
|
-
try {
|
|
2575
|
-
$gOPD({}, "");
|
|
2576
|
-
} catch (e) {
|
|
2577
|
-
$gOPD = null;
|
|
2578
|
-
}
|
|
2579
|
-
}
|
|
2809
|
+
var $gOPD = /* @__PURE__ */ requireGopd();
|
|
2810
|
+
var $defineProperty = /* @__PURE__ */ requireEsDefineProperty();
|
|
2580
2811
|
var throwTypeError = function() {
|
|
2581
2812
|
throw new $TypeError();
|
|
2582
2813
|
};
|
|
@@ -2593,18 +2824,19 @@ function requireGetIntrinsic() {
|
|
|
2593
2824
|
}
|
|
2594
2825
|
}() : throwTypeError;
|
|
2595
2826
|
var hasSymbols2 = requireHasSymbols()();
|
|
2596
|
-
var
|
|
2597
|
-
var
|
|
2598
|
-
|
|
2599
|
-
|
|
2827
|
+
var getProto2 = requireGetProto();
|
|
2828
|
+
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
2829
|
+
var $ReflectGPO = requireReflect_getPrototypeOf();
|
|
2830
|
+
var $apply = requireFunctionApply();
|
|
2831
|
+
var $call = requireFunctionCall();
|
|
2600
2832
|
var needsEval = {};
|
|
2601
|
-
var TypedArray = typeof Uint8Array === "undefined" || !
|
|
2833
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto2 ? undefined$1 : getProto2(Uint8Array);
|
|
2602
2834
|
var INTRINSICS = {
|
|
2603
2835
|
__proto__: null,
|
|
2604
2836
|
"%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
|
|
2605
2837
|
"%Array%": Array,
|
|
2606
2838
|
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
|
|
2607
|
-
"%ArrayIteratorPrototype%": hasSymbols2 &&
|
|
2839
|
+
"%ArrayIteratorPrototype%": hasSymbols2 && getProto2 ? getProto2([][Symbol.iterator]()) : undefined$1,
|
|
2608
2840
|
"%AsyncFromSyncIteratorPrototype%": undefined$1,
|
|
2609
2841
|
"%AsyncFunction%": needsEval,
|
|
2610
2842
|
"%AsyncGenerator%": needsEval,
|
|
@@ -2625,6 +2857,7 @@ function requireGetIntrinsic() {
|
|
|
2625
2857
|
"%eval%": eval,
|
|
2626
2858
|
// eslint-disable-line no-eval
|
|
2627
2859
|
"%EvalError%": $EvalError,
|
|
2860
|
+
"%Float16Array%": typeof Float16Array === "undefined" ? undefined$1 : Float16Array,
|
|
2628
2861
|
"%Float32Array%": typeof Float32Array === "undefined" ? undefined$1 : Float32Array,
|
|
2629
2862
|
"%Float64Array%": typeof Float64Array === "undefined" ? undefined$1 : Float64Array,
|
|
2630
2863
|
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$1 : FinalizationRegistry,
|
|
@@ -2635,13 +2868,14 @@ function requireGetIntrinsic() {
|
|
|
2635
2868
|
"%Int32Array%": typeof Int32Array === "undefined" ? undefined$1 : Int32Array,
|
|
2636
2869
|
"%isFinite%": isFinite,
|
|
2637
2870
|
"%isNaN%": isNaN,
|
|
2638
|
-
"%IteratorPrototype%": hasSymbols2 &&
|
|
2871
|
+
"%IteratorPrototype%": hasSymbols2 && getProto2 ? getProto2(getProto2([][Symbol.iterator]())) : undefined$1,
|
|
2639
2872
|
"%JSON%": typeof JSON === "object" ? JSON : undefined$1,
|
|
2640
2873
|
"%Map%": typeof Map === "undefined" ? undefined$1 : Map,
|
|
2641
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols2 || !
|
|
2874
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols2 || !getProto2 ? undefined$1 : getProto2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
2642
2875
|
"%Math%": Math,
|
|
2643
2876
|
"%Number%": Number,
|
|
2644
|
-
"%Object%": Object,
|
|
2877
|
+
"%Object%": $Object,
|
|
2878
|
+
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
2645
2879
|
"%parseFloat%": parseFloat,
|
|
2646
2880
|
"%parseInt%": parseInt,
|
|
2647
2881
|
"%Promise%": typeof Promise === "undefined" ? undefined$1 : Promise,
|
|
@@ -2651,10 +2885,10 @@ function requireGetIntrinsic() {
|
|
|
2651
2885
|
"%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
|
|
2652
2886
|
"%RegExp%": RegExp,
|
|
2653
2887
|
"%Set%": typeof Set === "undefined" ? undefined$1 : Set,
|
|
2654
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols2 || !
|
|
2888
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols2 || !getProto2 ? undefined$1 : getProto2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
2655
2889
|
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$1 : SharedArrayBuffer,
|
|
2656
2890
|
"%String%": String,
|
|
2657
|
-
"%StringIteratorPrototype%": hasSymbols2 &&
|
|
2891
|
+
"%StringIteratorPrototype%": hasSymbols2 && getProto2 ? getProto2(""[Symbol.iterator]()) : undefined$1,
|
|
2658
2892
|
"%Symbol%": hasSymbols2 ? Symbol : undefined$1,
|
|
2659
2893
|
"%SyntaxError%": $SyntaxError,
|
|
2660
2894
|
"%ThrowTypeError%": ThrowTypeError,
|
|
@@ -2667,13 +2901,25 @@ function requireGetIntrinsic() {
|
|
|
2667
2901
|
"%URIError%": $URIError,
|
|
2668
2902
|
"%WeakMap%": typeof WeakMap === "undefined" ? undefined$1 : WeakMap,
|
|
2669
2903
|
"%WeakRef%": typeof WeakRef === "undefined" ? undefined$1 : WeakRef,
|
|
2670
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet
|
|
2904
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined$1 : WeakSet,
|
|
2905
|
+
"%Function.prototype.call%": $call,
|
|
2906
|
+
"%Function.prototype.apply%": $apply,
|
|
2907
|
+
"%Object.defineProperty%": $defineProperty,
|
|
2908
|
+
"%Object.getPrototypeOf%": $ObjectGPO,
|
|
2909
|
+
"%Math.abs%": abs2,
|
|
2910
|
+
"%Math.floor%": floor2,
|
|
2911
|
+
"%Math.max%": max2,
|
|
2912
|
+
"%Math.min%": min2,
|
|
2913
|
+
"%Math.pow%": pow2,
|
|
2914
|
+
"%Math.round%": round2,
|
|
2915
|
+
"%Math.sign%": sign2,
|
|
2916
|
+
"%Reflect.getPrototypeOf%": $ReflectGPO
|
|
2671
2917
|
};
|
|
2672
|
-
if (
|
|
2918
|
+
if (getProto2) {
|
|
2673
2919
|
try {
|
|
2674
2920
|
null.error;
|
|
2675
2921
|
} catch (e) {
|
|
2676
|
-
var errorProto =
|
|
2922
|
+
var errorProto = getProto2(getProto2(e));
|
|
2677
2923
|
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
2678
2924
|
}
|
|
2679
2925
|
}
|
|
@@ -2692,8 +2938,8 @@ function requireGetIntrinsic() {
|
|
|
2692
2938
|
}
|
|
2693
2939
|
} else if (name === "%AsyncIteratorPrototype%") {
|
|
2694
2940
|
var gen = doEval2("%AsyncGenerator%");
|
|
2695
|
-
if (gen &&
|
|
2696
|
-
value =
|
|
2941
|
+
if (gen && getProto2) {
|
|
2942
|
+
value = getProto2(gen.prototype);
|
|
2697
2943
|
}
|
|
2698
2944
|
}
|
|
2699
2945
|
INTRINSICS[name] = value;
|
|
@@ -2755,11 +3001,11 @@ function requireGetIntrinsic() {
|
|
|
2755
3001
|
};
|
|
2756
3002
|
var bind = requireFunctionBind();
|
|
2757
3003
|
var hasOwn = /* @__PURE__ */ requireHasown();
|
|
2758
|
-
var $concat = bind.call(
|
|
2759
|
-
var $spliceApply = bind.call(
|
|
2760
|
-
var $replace = bind.call(
|
|
2761
|
-
var $strSlice = bind.call(
|
|
2762
|
-
var $exec = bind.call(
|
|
3004
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
3005
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
3006
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
3007
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
3008
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
2763
3009
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
2764
3010
|
var reEscapeChar = /\\(\\)?/g;
|
|
2765
3011
|
var stringToPath = function stringToPath2(string) {
|
|
@@ -2863,40 +3109,6 @@ function requireGetIntrinsic() {
|
|
|
2863
3109
|
return getIntrinsic;
|
|
2864
3110
|
}
|
|
2865
3111
|
var callBind = { exports: {} };
|
|
2866
|
-
var esDefineProperty;
|
|
2867
|
-
var hasRequiredEsDefineProperty;
|
|
2868
|
-
function requireEsDefineProperty() {
|
|
2869
|
-
if (hasRequiredEsDefineProperty) return esDefineProperty;
|
|
2870
|
-
hasRequiredEsDefineProperty = 1;
|
|
2871
|
-
var GetIntrinsic = /* @__PURE__ */ requireGetIntrinsic();
|
|
2872
|
-
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false;
|
|
2873
|
-
if ($defineProperty) {
|
|
2874
|
-
try {
|
|
2875
|
-
$defineProperty({}, "a", { value: 1 });
|
|
2876
|
-
} catch (e) {
|
|
2877
|
-
$defineProperty = false;
|
|
2878
|
-
}
|
|
2879
|
-
}
|
|
2880
|
-
esDefineProperty = $defineProperty;
|
|
2881
|
-
return esDefineProperty;
|
|
2882
|
-
}
|
|
2883
|
-
var gopd;
|
|
2884
|
-
var hasRequiredGopd;
|
|
2885
|
-
function requireGopd() {
|
|
2886
|
-
if (hasRequiredGopd) return gopd;
|
|
2887
|
-
hasRequiredGopd = 1;
|
|
2888
|
-
var GetIntrinsic = /* @__PURE__ */ requireGetIntrinsic();
|
|
2889
|
-
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
2890
|
-
if ($gOPD) {
|
|
2891
|
-
try {
|
|
2892
|
-
$gOPD([], "length");
|
|
2893
|
-
} catch (e) {
|
|
2894
|
-
$gOPD = null;
|
|
2895
|
-
}
|
|
2896
|
-
}
|
|
2897
|
-
gopd = $gOPD;
|
|
2898
|
-
return gopd;
|
|
2899
|
-
}
|
|
2900
3112
|
var defineDataProperty;
|
|
2901
3113
|
var hasRequiredDefineDataProperty;
|
|
2902
3114
|
function requireDefineDataProperty() {
|
|
@@ -2975,7 +3187,7 @@ function requireSetFunctionLength() {
|
|
|
2975
3187
|
var GetIntrinsic = /* @__PURE__ */ requireGetIntrinsic();
|
|
2976
3188
|
var define = /* @__PURE__ */ requireDefineDataProperty();
|
|
2977
3189
|
var hasDescriptors = /* @__PURE__ */ requireHasPropertyDescriptors()();
|
|
2978
|
-
var
|
|
3190
|
+
var gOPD2 = /* @__PURE__ */ requireGopd();
|
|
2979
3191
|
var $TypeError = /* @__PURE__ */ requireType();
|
|
2980
3192
|
var $floor = GetIntrinsic("%Math.floor%");
|
|
2981
3193
|
setFunctionLength = function setFunctionLength2(fn, length) {
|
|
@@ -2988,8 +3200,8 @@ function requireSetFunctionLength() {
|
|
|
2988
3200
|
var loose = arguments.length > 2 && !!arguments[2];
|
|
2989
3201
|
var functionLengthIsConfigurable = true;
|
|
2990
3202
|
var functionLengthIsWritable = true;
|
|
2991
|
-
if ("length" in fn &&
|
|
2992
|
-
var desc =
|
|
3203
|
+
if ("length" in fn && gOPD2) {
|
|
3204
|
+
var desc = gOPD2(fn, "length");
|
|
2993
3205
|
if (desc && !desc.configurable) {
|
|
2994
3206
|
functionLengthIsConfigurable = false;
|
|
2995
3207
|
}
|
|
@@ -3109,7 +3321,7 @@ function requireIsGeneratorFunction() {
|
|
|
3109
3321
|
var fnToStr = Function.prototype.toString;
|
|
3110
3322
|
var isFnRegex = /^\s*(?:function)?\*/;
|
|
3111
3323
|
var hasToStringTag = requireShams()();
|
|
3112
|
-
var
|
|
3324
|
+
var getProto2 = Object.getPrototypeOf;
|
|
3113
3325
|
var getGeneratorFunc = function() {
|
|
3114
3326
|
if (!hasToStringTag) {
|
|
3115
3327
|
return false;
|
|
@@ -3131,14 +3343,14 @@ function requireIsGeneratorFunction() {
|
|
|
3131
3343
|
var str = toStr.call(fn);
|
|
3132
3344
|
return str === "[object GeneratorFunction]";
|
|
3133
3345
|
}
|
|
3134
|
-
if (!
|
|
3346
|
+
if (!getProto2) {
|
|
3135
3347
|
return false;
|
|
3136
3348
|
}
|
|
3137
3349
|
if (typeof GeneratorFunction === "undefined") {
|
|
3138
3350
|
var generatorFunc = getGeneratorFunc();
|
|
3139
|
-
GeneratorFunction = generatorFunc ?
|
|
3351
|
+
GeneratorFunction = generatorFunc ? getProto2(generatorFunc) : false;
|
|
3140
3352
|
}
|
|
3141
|
-
return
|
|
3353
|
+
return getProto2(fn) === GeneratorFunction;
|
|
3142
3354
|
};
|
|
3143
3355
|
return isGeneratorFunction;
|
|
3144
3356
|
}
|
|
@@ -3148,10 +3360,10 @@ function requireIsCallable() {
|
|
|
3148
3360
|
if (hasRequiredIsCallable) return isCallable;
|
|
3149
3361
|
hasRequiredIsCallable = 1;
|
|
3150
3362
|
var fnToStr = Function.prototype.toString;
|
|
3151
|
-
var
|
|
3363
|
+
var reflectApply2 = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
|
|
3152
3364
|
var badArrayLike;
|
|
3153
3365
|
var isCallableMarker;
|
|
3154
|
-
if (typeof
|
|
3366
|
+
if (typeof reflectApply2 === "function" && typeof Object.defineProperty === "function") {
|
|
3155
3367
|
try {
|
|
3156
3368
|
badArrayLike = Object.defineProperty({}, "length", {
|
|
3157
3369
|
get: function() {
|
|
@@ -3159,16 +3371,16 @@ function requireIsCallable() {
|
|
|
3159
3371
|
}
|
|
3160
3372
|
});
|
|
3161
3373
|
isCallableMarker = {};
|
|
3162
|
-
|
|
3374
|
+
reflectApply2(function() {
|
|
3163
3375
|
throw 42;
|
|
3164
3376
|
}, null, badArrayLike);
|
|
3165
3377
|
} catch (_) {
|
|
3166
3378
|
if (_ !== isCallableMarker) {
|
|
3167
|
-
|
|
3379
|
+
reflectApply2 = null;
|
|
3168
3380
|
}
|
|
3169
3381
|
}
|
|
3170
3382
|
} else {
|
|
3171
|
-
|
|
3383
|
+
reflectApply2 = null;
|
|
3172
3384
|
}
|
|
3173
3385
|
var constructorRegex = /^\s*class\b/;
|
|
3174
3386
|
var isES6ClassFn = function isES6ClassFunction(value) {
|
|
@@ -3217,7 +3429,7 @@ function requireIsCallable() {
|
|
|
3217
3429
|
};
|
|
3218
3430
|
}
|
|
3219
3431
|
}
|
|
3220
|
-
isCallable =
|
|
3432
|
+
isCallable = reflectApply2 ? function isCallable2(value) {
|
|
3221
3433
|
if (isDDA(value)) {
|
|
3222
3434
|
return true;
|
|
3223
3435
|
}
|
|
@@ -3228,7 +3440,7 @@ function requireIsCallable() {
|
|
|
3228
3440
|
return false;
|
|
3229
3441
|
}
|
|
3230
3442
|
try {
|
|
3231
|
-
|
|
3443
|
+
reflectApply2(value, null, badArrayLike);
|
|
3232
3444
|
} catch (e) {
|
|
3233
3445
|
if (e !== isCallableMarker) {
|
|
3234
3446
|
return false;
|
|
@@ -3364,7 +3576,7 @@ function requireWhichTypedArray() {
|
|
|
3364
3576
|
var availableTypedArrays2 = /* @__PURE__ */ requireAvailableTypedArrays();
|
|
3365
3577
|
var callBind2 = requireCallBind();
|
|
3366
3578
|
var callBound2 = requireCallBound();
|
|
3367
|
-
var
|
|
3579
|
+
var gOPD2 = /* @__PURE__ */ requireGopd();
|
|
3368
3580
|
var $toString = callBound2("Object.prototype.toString");
|
|
3369
3581
|
var hasToStringTag = requireShams()();
|
|
3370
3582
|
var g = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
|
|
@@ -3380,15 +3592,15 @@ function requireWhichTypedArray() {
|
|
|
3380
3592
|
return -1;
|
|
3381
3593
|
};
|
|
3382
3594
|
var cache = { __proto__: null };
|
|
3383
|
-
if (hasToStringTag &&
|
|
3595
|
+
if (hasToStringTag && gOPD2 && getPrototypeOf) {
|
|
3384
3596
|
forEach(typedArrays, function(typedArray) {
|
|
3385
3597
|
var arr = new g[typedArray]();
|
|
3386
3598
|
if (Symbol.toStringTag in arr) {
|
|
3387
3599
|
var proto = getPrototypeOf(arr);
|
|
3388
|
-
var descriptor =
|
|
3600
|
+
var descriptor = gOPD2(proto, Symbol.toStringTag);
|
|
3389
3601
|
if (!descriptor) {
|
|
3390
3602
|
var superProto = getPrototypeOf(proto);
|
|
3391
|
-
descriptor =
|
|
3603
|
+
descriptor = gOPD2(superProto, Symbol.toStringTag);
|
|
3392
3604
|
}
|
|
3393
3605
|
cache["$" + typedArray] = callBind2(descriptor.get);
|
|
3394
3606
|
}
|
|
@@ -3457,7 +3669,7 @@ function requireWhichTypedArray() {
|
|
|
3457
3669
|
}
|
|
3458
3670
|
return trySlices(value);
|
|
3459
3671
|
}
|
|
3460
|
-
if (!
|
|
3672
|
+
if (!gOPD2) {
|
|
3461
3673
|
return null;
|
|
3462
3674
|
}
|
|
3463
3675
|
return tryTypedArrays(value);
|
|
@@ -4949,7 +5161,7 @@ function require_stream_writable() {
|
|
|
4949
5161
|
// because otherwise some prototype manipulation in
|
|
4950
5162
|
// userland will fail
|
|
4951
5163
|
enumerable: false,
|
|
4952
|
-
get: function
|
|
5164
|
+
get: function get2() {
|
|
4953
5165
|
return this._writableState && this._writableState.getBuffer();
|
|
4954
5166
|
}
|
|
4955
5167
|
});
|
|
@@ -4964,7 +5176,7 @@ function require_stream_writable() {
|
|
|
4964
5176
|
// because otherwise some prototype manipulation in
|
|
4965
5177
|
// userland will fail
|
|
4966
5178
|
enumerable: false,
|
|
4967
|
-
get: function
|
|
5179
|
+
get: function get2() {
|
|
4968
5180
|
return this._writableState.highWaterMark;
|
|
4969
5181
|
}
|
|
4970
5182
|
});
|
|
@@ -5134,7 +5346,7 @@ function require_stream_writable() {
|
|
|
5134
5346
|
// because otherwise some prototype manipulation in
|
|
5135
5347
|
// userland will fail
|
|
5136
5348
|
enumerable: false,
|
|
5137
|
-
get: function
|
|
5349
|
+
get: function get2() {
|
|
5138
5350
|
return this._writableState.length;
|
|
5139
5351
|
}
|
|
5140
5352
|
});
|
|
@@ -5207,7 +5419,7 @@ function require_stream_writable() {
|
|
|
5207
5419
|
// because otherwise some prototype manipulation in
|
|
5208
5420
|
// userland will fail
|
|
5209
5421
|
enumerable: false,
|
|
5210
|
-
get: function
|
|
5422
|
+
get: function get2() {
|
|
5211
5423
|
if (this._writableState === void 0) {
|
|
5212
5424
|
return false;
|
|
5213
5425
|
}
|
|
@@ -5269,7 +5481,7 @@ function require_stream_duplex() {
|
|
|
5269
5481
|
// because otherwise some prototype manipulation in
|
|
5270
5482
|
// userland will fail
|
|
5271
5483
|
enumerable: false,
|
|
5272
|
-
get: function
|
|
5484
|
+
get: function get2() {
|
|
5273
5485
|
return this._writableState.highWaterMark;
|
|
5274
5486
|
}
|
|
5275
5487
|
});
|
|
@@ -5278,7 +5490,7 @@ function require_stream_duplex() {
|
|
|
5278
5490
|
// because otherwise some prototype manipulation in
|
|
5279
5491
|
// userland will fail
|
|
5280
5492
|
enumerable: false,
|
|
5281
|
-
get: function
|
|
5493
|
+
get: function get2() {
|
|
5282
5494
|
return this._writableState && this._writableState.getBuffer();
|
|
5283
5495
|
}
|
|
5284
5496
|
});
|
|
@@ -5287,7 +5499,7 @@ function require_stream_duplex() {
|
|
|
5287
5499
|
// because otherwise some prototype manipulation in
|
|
5288
5500
|
// userland will fail
|
|
5289
5501
|
enumerable: false,
|
|
5290
|
-
get: function
|
|
5502
|
+
get: function get2() {
|
|
5291
5503
|
return this._writableState.length;
|
|
5292
5504
|
}
|
|
5293
5505
|
});
|
|
@@ -5303,7 +5515,7 @@ function require_stream_duplex() {
|
|
|
5303
5515
|
// because otherwise some prototype manipulation in
|
|
5304
5516
|
// userland will fail
|
|
5305
5517
|
enumerable: false,
|
|
5306
|
-
get: function
|
|
5518
|
+
get: function get2() {
|
|
5307
5519
|
if (this._readableState === void 0 || this._writableState === void 0) {
|
|
5308
5520
|
return false;
|
|
5309
5521
|
}
|
|
@@ -5982,7 +6194,7 @@ function require_stream_readable() {
|
|
|
5982
6194
|
// because otherwise some prototype manipulation in
|
|
5983
6195
|
// userland will fail
|
|
5984
6196
|
enumerable: false,
|
|
5985
|
-
get: function
|
|
6197
|
+
get: function get2() {
|
|
5986
6198
|
if (this._readableState === void 0) {
|
|
5987
6199
|
return false;
|
|
5988
6200
|
}
|
|
@@ -6526,7 +6738,7 @@ function require_stream_readable() {
|
|
|
6526
6738
|
// because otherwise some prototype manipulation in
|
|
6527
6739
|
// userland will fail
|
|
6528
6740
|
enumerable: false,
|
|
6529
|
-
get: function
|
|
6741
|
+
get: function get2() {
|
|
6530
6742
|
return this._readableState.highWaterMark;
|
|
6531
6743
|
}
|
|
6532
6744
|
});
|
|
@@ -6535,7 +6747,7 @@ function require_stream_readable() {
|
|
|
6535
6747
|
// because otherwise some prototype manipulation in
|
|
6536
6748
|
// userland will fail
|
|
6537
6749
|
enumerable: false,
|
|
6538
|
-
get: function
|
|
6750
|
+
get: function get2() {
|
|
6539
6751
|
return this._readableState && this._readableState.buffer;
|
|
6540
6752
|
}
|
|
6541
6753
|
});
|
|
@@ -6544,7 +6756,7 @@ function require_stream_readable() {
|
|
|
6544
6756
|
// because otherwise some prototype manipulation in
|
|
6545
6757
|
// userland will fail
|
|
6546
6758
|
enumerable: false,
|
|
6547
|
-
get: function
|
|
6759
|
+
get: function get2() {
|
|
6548
6760
|
return this._readableState.flowing;
|
|
6549
6761
|
},
|
|
6550
6762
|
set: function set(state2) {
|
|
@@ -6559,7 +6771,7 @@ function require_stream_readable() {
|
|
|
6559
6771
|
// because otherwise some prototype manipulation in
|
|
6560
6772
|
// userland will fail
|
|
6561
6773
|
enumerable: false,
|
|
6562
|
-
get: function
|
|
6774
|
+
get: function get2() {
|
|
6563
6775
|
return this._readableState.length;
|
|
6564
6776
|
}
|
|
6565
6777
|
});
|
|
@@ -8275,7 +8487,7 @@ function requireSax() {
|
|
|
8275
8487
|
if (!String.fromCodePoint) {
|
|
8276
8488
|
(function() {
|
|
8277
8489
|
var stringFromCharCode = String.fromCharCode;
|
|
8278
|
-
var
|
|
8490
|
+
var floor2 = Math.floor;
|
|
8279
8491
|
var fromCodePoint = function() {
|
|
8280
8492
|
var MAX_SIZE = 16384;
|
|
8281
8493
|
var codeUnits = [];
|
|
@@ -8292,7 +8504,7 @@ function requireSax() {
|
|
|
8292
8504
|
if (!isFinite(codePoint) || // `NaN`, `+Infinity`, or `-Infinity`
|
|
8293
8505
|
codePoint < 0 || // not a valid Unicode code point
|
|
8294
8506
|
codePoint > 1114111 || // not a valid Unicode code point
|
|
8295
|
-
|
|
8507
|
+
floor2(codePoint) !== codePoint) {
|
|
8296
8508
|
throw RangeError("Invalid code point: " + codePoint);
|
|
8297
8509
|
}
|
|
8298
8510
|
if (codePoint <= 65535) {
|
|
@@ -12465,26 +12677,29 @@ class DocProperties extends XmlComponent {
|
|
|
12465
12677
|
constructor({ name, description, title } = { name: "", description: "", title: "" }) {
|
|
12466
12678
|
super("wp:docPr");
|
|
12467
12679
|
__publicField(this, "docPropertiesUniqueNumericId", docPropertiesUniqueNumericIdGen());
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
|
|
12471
|
-
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
|
|
12475
|
-
|
|
12476
|
-
|
|
12477
|
-
|
|
12478
|
-
|
|
12479
|
-
|
|
12480
|
-
|
|
12481
|
-
|
|
12482
|
-
|
|
12483
|
-
|
|
12484
|
-
|
|
12485
|
-
|
|
12486
|
-
|
|
12487
|
-
|
|
12680
|
+
const attributes = {
|
|
12681
|
+
id: {
|
|
12682
|
+
key: "id",
|
|
12683
|
+
value: this.docPropertiesUniqueNumericId()
|
|
12684
|
+
},
|
|
12685
|
+
name: {
|
|
12686
|
+
key: "name",
|
|
12687
|
+
value: name
|
|
12688
|
+
}
|
|
12689
|
+
};
|
|
12690
|
+
if (description !== null && description !== void 0) {
|
|
12691
|
+
attributes.description = {
|
|
12692
|
+
key: "descr",
|
|
12693
|
+
value: description
|
|
12694
|
+
};
|
|
12695
|
+
}
|
|
12696
|
+
if (title !== null && title !== void 0) {
|
|
12697
|
+
attributes.title = {
|
|
12698
|
+
key: "title",
|
|
12699
|
+
value: title
|
|
12700
|
+
};
|
|
12701
|
+
}
|
|
12702
|
+
this.root.push(new NextAttributeComponent(attributes));
|
|
12488
12703
|
}
|
|
12489
12704
|
prepForXml(context) {
|
|
12490
12705
|
for (let i = context.stack.length - 1; i >= 0; i--) {
|
|
@@ -13371,11 +13586,15 @@ class PageReference extends Run {
|
|
|
13371
13586
|
});
|
|
13372
13587
|
}
|
|
13373
13588
|
}
|
|
13374
|
-
const
|
|
13375
|
-
|
|
13589
|
+
const VerticalAlignTable = {
|
|
13590
|
+
TOP: "top",
|
|
13376
13591
|
CENTER: "center",
|
|
13377
|
-
|
|
13592
|
+
BOTTOM: "bottom"
|
|
13378
13593
|
};
|
|
13594
|
+
const VerticalAlignSection = __spreadProps(__spreadValues({}, VerticalAlignTable), {
|
|
13595
|
+
BOTH: "both"
|
|
13596
|
+
});
|
|
13597
|
+
const VerticalAlign2 = VerticalAlignSection;
|
|
13379
13598
|
class VerticalAlignAttributes extends XmlAttributeComponent {
|
|
13380
13599
|
constructor() {
|
|
13381
13600
|
super(...arguments);
|
|
@@ -21114,8 +21333,19 @@ const PatchType = {
|
|
|
21114
21333
|
PARAGRAPH: "paragraph"
|
|
21115
21334
|
};
|
|
21116
21335
|
const imageReplacer = new ImageReplacer();
|
|
21117
|
-
const UTF16LE =
|
|
21118
|
-
const UTF16BE =
|
|
21336
|
+
const UTF16LE = new Uint8Array([255, 254]);
|
|
21337
|
+
const UTF16BE = new Uint8Array([254, 255]);
|
|
21338
|
+
const compareByteArrays = (a, b) => {
|
|
21339
|
+
if (a.length !== b.length) {
|
|
21340
|
+
return false;
|
|
21341
|
+
}
|
|
21342
|
+
for (let i = 0; i < a.length; i++) {
|
|
21343
|
+
if (a[i] !== b[i]) {
|
|
21344
|
+
return false;
|
|
21345
|
+
}
|
|
21346
|
+
}
|
|
21347
|
+
return true;
|
|
21348
|
+
};
|
|
21119
21349
|
const patchDocument = (_0) => __async(void 0, [_0], function* ({
|
|
21120
21350
|
outputType,
|
|
21121
21351
|
data,
|
|
@@ -21141,7 +21371,7 @@ const patchDocument = (_0) => __async(void 0, [_0], function* ({
|
|
|
21141
21371
|
for (const [key, value] of Object.entries(zipContent.files)) {
|
|
21142
21372
|
const binaryValue = yield value.async("uint8array");
|
|
21143
21373
|
const startBytes = binaryValue.slice(0, 2);
|
|
21144
|
-
if (
|
|
21374
|
+
if (compareByteArrays(startBytes, UTF16LE) || compareByteArrays(startBytes, UTF16BE)) {
|
|
21145
21375
|
binaryContentMap.set(key, binaryValue);
|
|
21146
21376
|
continue;
|
|
21147
21377
|
}
|
|
@@ -21547,6 +21777,8 @@ export {
|
|
|
21547
21777
|
VerticalAlign2 as VerticalAlign,
|
|
21548
21778
|
VerticalAlignAttributes,
|
|
21549
21779
|
VerticalAlignElement,
|
|
21780
|
+
VerticalAlignSection,
|
|
21781
|
+
VerticalAlignTable,
|
|
21550
21782
|
VerticalMerge,
|
|
21551
21783
|
VerticalMergeType,
|
|
21552
21784
|
VerticalPositionAlign,
|