@work-zhanguo/light-file-preview 0.0.4 → 0.0.6
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/README.md +14 -2
- package/dist/{DocxRenderer-B8Ed3qFw.js → DocxRenderer-D0ngcG2T.js} +2 -2
- package/dist/{PdfRenderer-CYtwJLrP.js → PdfRenderer-SICIjXYT.js} +2 -2
- package/dist/{SheetRenderer-C9AKQiKN.js → SheetRenderer-D4Y1dYZX.js} +2 -2
- package/dist/{TextRenderer-W4uPsa5O.js → TextRenderer-KUhpnf63.js} +14 -14
- package/dist/{UnsupportedRenderer-BpyBTIIE.js → UnsupportedRenderer-Y2AgN0-l.js} +1 -1
- package/dist/{docx-preview-B2OPGnfm.js → docx-preview-D_8kC8vU.js} +666 -652
- package/dist/{index-BlBE9ZR-.js → index-DZOrV9D_.js} +86 -85
- package/dist/light-file-preview.js +1 -1
- package/dist/light-file-preview.umd.cjs +29 -29
- package/dist/{marked.esm-toXckLRC.js → marked.esm-CRmQbSOC.js} +15 -15
- package/dist/{pdf-B2JYpzlX.js → pdf-CV932zwQ.js} +1863 -1849
- package/dist/{purify.es-D5dazAgD.js → purify.es-CCmmh-Lt.js} +10 -10
- package/dist/standalone/light-file-preview.iife.js +68 -68
- package/dist/standalone/style.css +1 -1
- package/dist/style.css +1 -1
- package/dist/{text-CcxmtFce.js → text-Bqxn_tMI.js} +5 -5
- package/dist/vue2/{DocxRenderer-IkLQeCjg.js → DocxRenderer-D-MItvaP.js} +3 -3
- package/dist/vue2/{PdfRenderer-DmgMRpqS.js → PdfRenderer-rw-3PY9w.js} +3 -3
- package/dist/vue2/{SheetRenderer-CuAyFgj9.js → SheetRenderer-BxfF54Q3.js} +3 -3
- package/dist/vue2/{TextRenderer-Bxqs7APd.js → TextRenderer-DOzgi4YR.js} +14 -14
- package/dist/vue2/{UnsupportedRenderer-Cs2uPl_6.js → UnsupportedRenderer-VozD1bVb.js} +1 -1
- package/dist/vue2/{docx-preview-B2OPGnfm.js → docx-preview-D_8kC8vU.js} +666 -652
- package/dist/vue2/light-file-preview-vue2.js +1 -1
- package/dist/vue2/light-file-preview-vue2.umd.cjs +76 -76
- package/dist/vue2/{marked.esm-toXckLRC.js → marked.esm-CRmQbSOC.js} +15 -15
- package/dist/vue2/{pdf-B2JYpzlX.js → pdf-CV932zwQ.js} +1863 -1849
- package/dist/vue2/{purify.es-D5dazAgD.js → purify.es-CCmmh-Lt.js} +10 -10
- package/dist/vue2/{text-CcxmtFce.js → text-Bqxn_tMI.js} +5 -5
- package/dist/vue2/{vue2-CzAkhodr.js → vue2-rrMAk2-n.js} +119 -118
- package/dist/vue2/{xlsx-CZNBZqms.js → xlsx-j9Zzywas.js} +82 -82
- package/dist/{xlsx-CZNBZqms.js → xlsx-j9Zzywas.js} +82 -82
- package/package.json +4 -2
- package/style.css +1 -0
- package/vue2.js +2 -0
|
@@ -119,13 +119,13 @@ function br(e) {
|
|
|
119
119
|
return t;
|
|
120
120
|
}
|
|
121
121
|
var Te = /* @__PURE__ */ (function() {
|
|
122
|
-
return typeof Buffer
|
|
122
|
+
return typeof Buffer != "undefined" && typeof process != "undefined" && typeof process.versions != "undefined" && !!process.versions.node;
|
|
123
123
|
})(), xt = /* @__PURE__ */ (function() {
|
|
124
|
-
if (typeof Buffer
|
|
124
|
+
if (typeof Buffer != "undefined") {
|
|
125
125
|
var e = !Buffer.from;
|
|
126
126
|
if (!e) try {
|
|
127
127
|
Buffer.from("foo", "utf8");
|
|
128
|
-
} catch {
|
|
128
|
+
} catch (t) {
|
|
129
129
|
e = !0;
|
|
130
130
|
}
|
|
131
131
|
return e ? function(t, r) {
|
|
@@ -136,10 +136,10 @@ var Te = /* @__PURE__ */ (function() {
|
|
|
136
136
|
};
|
|
137
137
|
})();
|
|
138
138
|
function Tt(e) {
|
|
139
|
-
return Te ? Buffer.alloc ? Buffer.alloc(e) : new Buffer(e) : typeof Uint8Array
|
|
139
|
+
return Te ? Buffer.alloc ? Buffer.alloc(e) : new Buffer(e) : typeof Uint8Array != "undefined" ? new Uint8Array(e) : new Array(e);
|
|
140
140
|
}
|
|
141
141
|
function si(e) {
|
|
142
|
-
return Te ? Buffer.allocUnsafe ? Buffer.allocUnsafe(e) : new Buffer(e) : typeof Uint8Array
|
|
142
|
+
return Te ? Buffer.allocUnsafe ? Buffer.allocUnsafe(e) : new Buffer(e) : typeof Uint8Array != "undefined" ? new Uint8Array(e) : new Array(e);
|
|
143
143
|
}
|
|
144
144
|
var Ir = function(t) {
|
|
145
145
|
return Te ? xt(t, "binary") : t.split("").map(function(r) {
|
|
@@ -147,7 +147,7 @@ var Ir = function(t) {
|
|
|
147
147
|
});
|
|
148
148
|
};
|
|
149
149
|
function za(e) {
|
|
150
|
-
if (typeof ArrayBuffer
|
|
150
|
+
if (typeof ArrayBuffer == "undefined") return Ir(e);
|
|
151
151
|
for (var t = new ArrayBuffer(e.length), r = new Uint8Array(t), a = 0; a != e.length; ++a) r[a] = e.charCodeAt(a) & 255;
|
|
152
152
|
return t;
|
|
153
153
|
}
|
|
@@ -159,11 +159,11 @@ function At(e) {
|
|
|
159
159
|
return t.join("");
|
|
160
160
|
}
|
|
161
161
|
function zc(e) {
|
|
162
|
-
if (typeof Uint8Array
|
|
162
|
+
if (typeof Uint8Array == "undefined") throw new Error("Unsupported");
|
|
163
163
|
return new Uint8Array(e);
|
|
164
164
|
}
|
|
165
165
|
function hn(e) {
|
|
166
|
-
if (typeof ArrayBuffer
|
|
166
|
+
if (typeof ArrayBuffer == "undefined") throw new Error("Unsupported");
|
|
167
167
|
if (e instanceof ArrayBuffer) return hn(new Uint8Array(e));
|
|
168
168
|
for (var t = new Array(e.length), r = 0; r < e.length; ++r) t[r] = e[r];
|
|
169
169
|
return t;
|
|
@@ -173,7 +173,7 @@ var cr = Te ? function(e) {
|
|
|
173
173
|
return Buffer.isBuffer(t) ? t : xt(t);
|
|
174
174
|
}));
|
|
175
175
|
} : function(e) {
|
|
176
|
-
if (typeof Uint8Array
|
|
176
|
+
if (typeof Uint8Array != "undefined") {
|
|
177
177
|
var t = 0, r = 0;
|
|
178
178
|
for (t = 0; t < e.length; ++t) r += e[t].length;
|
|
179
179
|
var a = new Uint8Array(r), n = 0;
|
|
@@ -1307,16 +1307,16 @@ var wo = /* @__PURE__ */ (function() {
|
|
|
1307
1307
|
function t() {
|
|
1308
1308
|
for (var F = 0, B = new Array(256), I = 0; I != 256; ++I)
|
|
1309
1309
|
F = I, F = F & 1 ? -306674912 ^ F >>> 1 : F >>> 1, F = F & 1 ? -306674912 ^ F >>> 1 : F >>> 1, F = F & 1 ? -306674912 ^ F >>> 1 : F >>> 1, F = F & 1 ? -306674912 ^ F >>> 1 : F >>> 1, F = F & 1 ? -306674912 ^ F >>> 1 : F >>> 1, F = F & 1 ? -306674912 ^ F >>> 1 : F >>> 1, F = F & 1 ? -306674912 ^ F >>> 1 : F >>> 1, F = F & 1 ? -306674912 ^ F >>> 1 : F >>> 1, B[I] = F;
|
|
1310
|
-
return typeof Int32Array
|
|
1310
|
+
return typeof Int32Array != "undefined" ? new Int32Array(B) : B;
|
|
1311
1311
|
}
|
|
1312
1312
|
var r = t();
|
|
1313
1313
|
function a(F) {
|
|
1314
|
-
var B = 0, I = 0, z = 0, X = typeof Int32Array
|
|
1314
|
+
var B = 0, I = 0, z = 0, X = typeof Int32Array != "undefined" ? new Int32Array(4096) : new Array(4096);
|
|
1315
1315
|
for (z = 0; z != 256; ++z) X[z] = F[z];
|
|
1316
1316
|
for (z = 0; z != 256; ++z)
|
|
1317
1317
|
for (I = F[z], B = 256 + z; B < 4096; B += 256) I = X[B] = I >>> 8 ^ F[I & 255];
|
|
1318
1318
|
var L = [];
|
|
1319
|
-
for (z = 1; z != 16; ++z) L[z - 1] = typeof Int32Array
|
|
1319
|
+
for (z = 1; z != 16; ++z) L[z - 1] = typeof Int32Array != "undefined" ? X.subarray(z * 256, z * 256 + 256) : X.slice(z * 256, z * 256 + 256);
|
|
1320
1320
|
return L;
|
|
1321
1321
|
}
|
|
1322
1322
|
var n = a(r), i = n[0], s = n[1], f = n[2], c = n[3], o = n[4], l = n[5], u = n[6], x = n[7], d = n[8], v = n[9], h = n[10], p = n[11], w = n[12], y = n[13], g = n[14];
|
|
@@ -1794,7 +1794,7 @@ var wo = /* @__PURE__ */ (function() {
|
|
|
1794
1794
|
var E = (m << 1 | m << 11) & 139536 | (m << 5 | m << 15) & 558144;
|
|
1795
1795
|
return (E >> 16 | E >> 8 | E) & 255;
|
|
1796
1796
|
}
|
|
1797
|
-
for (var Q = typeof Uint8Array
|
|
1797
|
+
for (var Q = typeof Uint8Array != "undefined", Z = Q ? new Uint8Array(256) : [], Ee = 0; Ee < 256; ++Ee) Z[Ee] = te(Ee);
|
|
1798
1798
|
function A(m, E) {
|
|
1799
1799
|
var _ = Z[m & 255];
|
|
1800
1800
|
return E <= 8 ? _ >>> 8 - E : (_ = _ << 8 | Z[m >> 8 & 255], E <= 16 ? _ >>> 16 - E : (_ = _ << 8 | Z[m >> 16 & 255], _ >>> 24 - E));
|
|
@@ -2027,7 +2027,7 @@ var wo = /* @__PURE__ */ (function() {
|
|
|
2027
2027
|
}
|
|
2028
2028
|
function ni(m, E) {
|
|
2029
2029
|
if (m)
|
|
2030
|
-
typeof console
|
|
2030
|
+
typeof console != "undefined" && console.error(E);
|
|
2031
2031
|
else throw new Error(E);
|
|
2032
2032
|
}
|
|
2033
2033
|
function ii(m, E) {
|
|
@@ -2303,8 +2303,8 @@ function ko(e) {
|
|
|
2303
2303
|
return typeof e == "string" ? za(e) : Array.isArray(e) ? zc(e) : e;
|
|
2304
2304
|
}
|
|
2305
2305
|
function Ka(e, t, r) {
|
|
2306
|
-
if (typeof Et
|
|
2307
|
-
if (typeof Deno
|
|
2306
|
+
if (typeof Et != "undefined" && Et.writeFileSync) return r ? Et.writeFileSync(e, t, r) : Et.writeFileSync(e, t);
|
|
2307
|
+
if (typeof Deno != "undefined") {
|
|
2308
2308
|
if (r && typeof t == "string") switch (r) {
|
|
2309
2309
|
case "utf8":
|
|
2310
2310
|
t = new TextEncoder(r).encode(t);
|
|
@@ -2319,25 +2319,25 @@ function Ka(e, t, r) {
|
|
|
2319
2319
|
return Deno.writeFileSync(e, t);
|
|
2320
2320
|
}
|
|
2321
2321
|
var a = r == "utf8" ? tt(t) : t;
|
|
2322
|
-
if (typeof IE_SaveFile
|
|
2323
|
-
if (typeof Blob
|
|
2322
|
+
if (typeof IE_SaveFile != "undefined") return IE_SaveFile(a, e);
|
|
2323
|
+
if (typeof Blob != "undefined") {
|
|
2324
2324
|
var n = new Blob([ko(a)], { type: "application/octet-stream" });
|
|
2325
|
-
if (typeof navigator
|
|
2326
|
-
if (typeof saveAs
|
|
2327
|
-
if (typeof URL
|
|
2325
|
+
if (typeof navigator != "undefined" && navigator.msSaveBlob) return navigator.msSaveBlob(n, e);
|
|
2326
|
+
if (typeof saveAs != "undefined") return saveAs(n, e);
|
|
2327
|
+
if (typeof URL != "undefined" && typeof document != "undefined" && document.createElement && URL.createObjectURL) {
|
|
2328
2328
|
var i = URL.createObjectURL(n);
|
|
2329
2329
|
if (typeof chrome == "object" && typeof (chrome.downloads || {}).download == "function")
|
|
2330
|
-
return URL.revokeObjectURL && typeof setTimeout
|
|
2330
|
+
return URL.revokeObjectURL && typeof setTimeout != "undefined" && setTimeout(function() {
|
|
2331
2331
|
URL.revokeObjectURL(i);
|
|
2332
2332
|
}, 6e4), chrome.downloads.download({ url: i, filename: e, saveAs: !0 });
|
|
2333
2333
|
var s = document.createElement("a");
|
|
2334
2334
|
if (s.download != null)
|
|
2335
|
-
return s.download = e, s.href = i, document.body.appendChild(s), s.click(), document.body.removeChild(s), URL.revokeObjectURL && typeof setTimeout
|
|
2335
|
+
return s.download = e, s.href = i, document.body.appendChild(s), s.click(), document.body.removeChild(s), URL.revokeObjectURL && typeof setTimeout != "undefined" && setTimeout(function() {
|
|
2336
2336
|
URL.revokeObjectURL(i);
|
|
2337
2337
|
}, 6e4), i;
|
|
2338
2338
|
}
|
|
2339
2339
|
}
|
|
2340
|
-
if (typeof $
|
|
2340
|
+
if (typeof $ != "undefined" && typeof File != "undefined" && typeof Folder != "undefined") try {
|
|
2341
2341
|
var f = File(e);
|
|
2342
2342
|
return f.open("w"), f.encoding = "binary", Array.isArray(t) && (t = At(t)), f.write(t), f.close(), t;
|
|
2343
2343
|
} catch (c) {
|
|
@@ -2346,9 +2346,9 @@ function Ka(e, t, r) {
|
|
|
2346
2346
|
throw new Error("cannot save file " + e);
|
|
2347
2347
|
}
|
|
2348
2348
|
function Eo(e) {
|
|
2349
|
-
if (typeof Et
|
|
2350
|
-
if (typeof Deno
|
|
2351
|
-
if (typeof $
|
|
2349
|
+
if (typeof Et != "undefined") return Et.readFileSync(e);
|
|
2350
|
+
if (typeof Deno != "undefined") return Deno.readFileSync(e);
|
|
2351
|
+
if (typeof $ != "undefined" && typeof File != "undefined" && typeof Folder != "undefined") try {
|
|
2352
2352
|
var t = File(e);
|
|
2353
2353
|
t.open("r"), t.encoding = "binary";
|
|
2354
2354
|
var r = t.read();
|
|
@@ -2432,7 +2432,7 @@ function Ut(e, t) {
|
|
|
2432
2432
|
}
|
|
2433
2433
|
return e.toString("binary");
|
|
2434
2434
|
}
|
|
2435
|
-
if (typeof TextDecoder
|
|
2435
|
+
if (typeof TextDecoder != "undefined") try {
|
|
2436
2436
|
if (t) {
|
|
2437
2437
|
if (e[0] == 255 && e[1] == 254) return tt(new TextDecoder("utf-16le").decode(e.slice(2)));
|
|
2438
2438
|
if (e[0] == 254 && e[1] == 255) return tt(new TextDecoder("utf-16be").decode(e.slice(2)));
|
|
@@ -2469,13 +2469,13 @@ function Ut(e, t) {
|
|
|
2469
2469
|
return Array.isArray(e) && (e = new Uint8Array(e)), new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g, function(i) {
|
|
2470
2470
|
return r[i] || i;
|
|
2471
2471
|
});
|
|
2472
|
-
} catch {
|
|
2472
|
+
} catch (i) {
|
|
2473
2473
|
}
|
|
2474
2474
|
for (var a = [], n = 0; n != e.length; ++n) a.push(String.fromCharCode(e[n]));
|
|
2475
2475
|
return a.join("");
|
|
2476
2476
|
}
|
|
2477
2477
|
function Me(e) {
|
|
2478
|
-
if (typeof JSON
|
|
2478
|
+
if (typeof JSON != "undefined" && !Array.isArray(e)) return JSON.parse(JSON.stringify(e));
|
|
2479
2479
|
if (typeof e != "object" || e == null) return e;
|
|
2480
2480
|
if (e instanceof Date) return new Date(e.getTime());
|
|
2481
2481
|
var t = {};
|
|
@@ -2549,7 +2549,7 @@ function rr(e, t, r) {
|
|
|
2549
2549
|
if (!t) return null;
|
|
2550
2550
|
try {
|
|
2551
2551
|
return rr(e, t);
|
|
2552
|
-
} catch {
|
|
2552
|
+
} catch (a) {
|
|
2553
2553
|
return null;
|
|
2554
2554
|
}
|
|
2555
2555
|
}
|
|
@@ -2558,7 +2558,7 @@ function Rr(e, t, r) {
|
|
|
2558
2558
|
if (!t) return null;
|
|
2559
2559
|
try {
|
|
2560
2560
|
return Rr(e, t);
|
|
2561
|
-
} catch {
|
|
2561
|
+
} catch (a) {
|
|
2562
2562
|
return null;
|
|
2563
2563
|
}
|
|
2564
2564
|
}
|
|
@@ -2820,7 +2820,7 @@ function wn(e) {
|
|
|
2820
2820
|
if (Te && /*::typeof Buffer !== "undefined" && d != null && d instanceof Buffer &&*/
|
|
2821
2821
|
Buffer.isBuffer(e)) return e.toString("utf8");
|
|
2822
2822
|
if (typeof e == "string") return e;
|
|
2823
|
-
if (typeof Uint8Array
|
|
2823
|
+
if (typeof Uint8Array != "undefined" && e instanceof Uint8Array) return Le(At(hn(e)));
|
|
2824
2824
|
throw new Error("Bad input format: expected Buffer or string");
|
|
2825
2825
|
}
|
|
2826
2826
|
var La = /<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/mg, nr = {
|
|
@@ -2901,7 +2901,7 @@ var Si = function(e) {
|
|
|
2901
2901
|
}, Fn = Us, Ws = function(e, t) {
|
|
2902
2902
|
return Vo(e, t);
|
|
2903
2903
|
}, p0 = Ws, yn = function(t) {
|
|
2904
|
-
return Array.isArray(t) || typeof Uint8Array
|
|
2904
|
+
return Array.isArray(t) || typeof Uint8Array != "undefined" && t instanceof Uint8Array;
|
|
2905
2905
|
};
|
|
2906
2906
|
Te && (kn = function(t, r) {
|
|
2907
2907
|
if (!Buffer.isBuffer(t)) return Ps(t, r);
|
|
@@ -2926,7 +2926,7 @@ Te && (kn = function(t, r) {
|
|
|
2926
2926
|
}, p0 = function(t, r) {
|
|
2927
2927
|
return Buffer.isBuffer(t) ? t.readDoubleLE(r) : Ws(t, r);
|
|
2928
2928
|
}, yn = function(t) {
|
|
2929
|
-
return Buffer.isBuffer(t) || Array.isArray(t) || typeof Uint8Array
|
|
2929
|
+
return Buffer.isBuffer(t) || Array.isArray(t) || typeof Uint8Array != "undefined" && t instanceof Uint8Array;
|
|
2930
2930
|
});
|
|
2931
2931
|
function Hs() {
|
|
2932
2932
|
D0 = function(e, t, r) {
|
|
@@ -2950,7 +2950,7 @@ function Hs() {
|
|
|
2950
2950
|
return r > 0 ? De.utils.decode(65001, e.slice(t + 4, t + 4 + r)) : "";
|
|
2951
2951
|
};
|
|
2952
2952
|
}
|
|
2953
|
-
typeof De
|
|
2953
|
+
typeof De != "undefined" && Hs();
|
|
2954
2954
|
var ea = function(e, t) {
|
|
2955
2955
|
return e[t];
|
|
2956
2956
|
}, lt = function(e, t) {
|
|
@@ -2981,7 +2981,7 @@ function Ta(e, t) {
|
|
|
2981
2981
|
e *= 2, r = D0(this, this.l, this.l + e);
|
|
2982
2982
|
break;
|
|
2983
2983
|
case "wstr":
|
|
2984
|
-
if (typeof De
|
|
2984
|
+
if (typeof De != "undefined") r = De.utils.decode(Nr, this.slice(this.l, this.l + 2 * e));
|
|
2985
2985
|
else return Ta.call(this, e, "dbcs");
|
|
2986
2986
|
e = 2 * e;
|
|
2987
2987
|
break;
|
|
@@ -3023,7 +3023,7 @@ function Ta(e, t) {
|
|
|
3023
3023
|
r = i.join(""), e *= 2;
|
|
3024
3024
|
break;
|
|
3025
3025
|
case "cpstr":
|
|
3026
|
-
if (typeof De
|
|
3026
|
+
if (typeof De != "undefined") {
|
|
3027
3027
|
r = De.utils.decode(Nr, this.slice(this.l, this.l + e));
|
|
3028
3028
|
break;
|
|
3029
3029
|
}
|
|
@@ -3071,7 +3071,7 @@ function jo(e, t, r) {
|
|
|
3071
3071
|
for (n = 0; n != t.length; ++n) Yo(this, t.charCodeAt(n), this.l + 2 * n);
|
|
3072
3072
|
a = 2 * t.length;
|
|
3073
3073
|
} else if (r === "sbcs") {
|
|
3074
|
-
if (typeof De
|
|
3074
|
+
if (typeof De != "undefined" && Bt == 874)
|
|
3075
3075
|
for (n = 0; n != t.length; ++n) {
|
|
3076
3076
|
var i = De.utils.encode(Bt, t.charAt(n));
|
|
3077
3077
|
this[this.l + n] = i[0];
|
|
@@ -3250,7 +3250,7 @@ function yr(e) {
|
|
|
3250
3250
|
return t == -1 ? { s: ze(e), e: ze(e) } : { s: ze(e.slice(0, t)), e: ze(e.slice(t + 1)) };
|
|
3251
3251
|
}
|
|
3252
3252
|
function we(e, t) {
|
|
3253
|
-
return typeof t
|
|
3253
|
+
return typeof t == "undefined" || typeof t == "number" ? we(e.s, e.e) : (typeof e != "string" && (e = pe(e)), typeof t != "string" && (t = pe(t)), e == t ? e : e + ":" + t);
|
|
3254
3254
|
}
|
|
3255
3255
|
function Ae(e) {
|
|
3256
3256
|
var t = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } }, r = 0, a = 0, n = 0, i = e.length;
|
|
@@ -3270,11 +3270,11 @@ function Oi(e, t) {
|
|
|
3270
3270
|
var r = e.t == "d" && t instanceof Date;
|
|
3271
3271
|
if (e.z != null) try {
|
|
3272
3272
|
return e.w = Pr(e.z, r ? ir(t) : t);
|
|
3273
|
-
} catch {
|
|
3273
|
+
} catch (a) {
|
|
3274
3274
|
}
|
|
3275
3275
|
try {
|
|
3276
3276
|
return e.w = Pr((e.XF || {}).numFmtId || (r ? 14 : 0), r ? ir(t) : t);
|
|
3277
|
-
} catch {
|
|
3277
|
+
} catch (a) {
|
|
3278
3278
|
return "" + t;
|
|
3279
3279
|
}
|
|
3280
3280
|
}
|
|
@@ -3304,7 +3304,7 @@ function Xs(e, t, r) {
|
|
|
3304
3304
|
if (t[u]) {
|
|
3305
3305
|
if (!Array.isArray(t[u])) throw new Error("aoa_to_sheet expects an array of arrays");
|
|
3306
3306
|
for (var x = 0; x != t[u].length; ++x)
|
|
3307
|
-
if (
|
|
3307
|
+
if (typeof t[u][x] != "undefined") {
|
|
3308
3308
|
var d = { v: t[u][x] }, v = s + u, h = f + x;
|
|
3309
3309
|
if (o.s.r > v && (o.s.r = v), o.s.c > h && (o.s.c = h), o.e.r < v && (o.e.r = v), o.e.c < h && (o.e.c = h), t[u][x] && typeof t[u][x] == "object" && !Array.isArray(t[u][x]) && !(t[u][x] instanceof Date)) d = t[u][x];
|
|
3310
3310
|
else if (Array.isArray(d.v) && (d.f = t[u][x][1], d.v = d.v[0]), d.v === null)
|
|
@@ -4526,7 +4526,7 @@ function Rl(e, t) {
|
|
|
4526
4526
|
break;
|
|
4527
4527
|
default:
|
|
4528
4528
|
if (o.slice(-1) == "/") break;
|
|
4529
|
-
t.WTF && typeof console
|
|
4529
|
+
t.WTF && typeof console != "undefined" && console.warn("Unexpected", s, o, c);
|
|
4530
4530
|
}
|
|
4531
4531
|
} else if (s.slice(0, 2) !== "</") {
|
|
4532
4532
|
if (t.WTF) throw new Error(s);
|
|
@@ -4924,7 +4924,7 @@ function Mi(e, t, r) {
|
|
|
4924
4924
|
var v;
|
|
4925
4925
|
try {
|
|
4926
4926
|
v = Li(a, null);
|
|
4927
|
-
} catch {
|
|
4927
|
+
} catch (h) {
|
|
4928
4928
|
}
|
|
4929
4929
|
for (d in v) x[d] = v[d];
|
|
4930
4930
|
return x.FMTID = [i, s], x;
|
|
@@ -5237,7 +5237,7 @@ function ou(e, t) {
|
|
|
5237
5237
|
e.l -= 2;
|
|
5238
5238
|
try {
|
|
5239
5239
|
a.push(cu[n](e, r - e.l));
|
|
5240
|
-
} catch {
|
|
5240
|
+
} catch (i) {
|
|
5241
5241
|
return e.l = r, a;
|
|
5242
5242
|
}
|
|
5243
5243
|
}
|
|
@@ -5677,7 +5677,7 @@ function sh(e, t, r) {
|
|
|
5677
5677
|
if (n.length !== f && n.length !== f * 2)
|
|
5678
5678
|
throw new Error("cchText: " + f + " != " + n.length);
|
|
5679
5679
|
return e.l = a + t, { t: n };
|
|
5680
|
-
} catch {
|
|
5680
|
+
} catch (x) {
|
|
5681
5681
|
return e.l = a + t, { t: n };
|
|
5682
5682
|
}
|
|
5683
5683
|
}
|
|
@@ -6445,7 +6445,7 @@ var Rh = [2, 3, 48, 49, 131, 139, 140, 245], sn = /* @__PURE__ */ (function() {
|
|
|
6445
6445
|
for (h = parseInt(J[y].slice(1)) - 1, ce || (p = 0), X = g.length; X <= h; ++X) g[X] = [];
|
|
6446
6446
|
break;
|
|
6447
6447
|
case "K":
|
|
6448
|
-
ie = J[y].slice(1), ie.charAt(0) === '"' ? ie = ie.slice(1, ie.length - 1) : ie === "TRUE" ? ie = !0 : ie === "FALSE" ? ie = !1 : isNaN(jr(ie)) ? isNaN(fa(ie).getDate()) || (ie = Ve(ie)) : (ie = jr(ie), b !== null && Gt(b) && (ie = C0(ie))), typeof De
|
|
6448
|
+
ie = J[y].slice(1), ie.charAt(0) === '"' ? ie = ie.slice(1, ie.length - 1) : ie === "TRUE" ? ie = !0 : ie === "FALSE" ? ie = !1 : isNaN(jr(ie)) ? isNaN(fa(ie).getDate()) || (ie = Ve(ie)) : (ie = jr(ie), b !== null && Gt(b) && (ie = C0(ie))), typeof De != "undefined" && typeof ie == "string" && (d || {}).type != "string" && (d || {}).codepage && (ie = De.utils.decode(d.codepage, ie)), he = !0;
|
|
6449
6449
|
break;
|
|
6450
6450
|
case "E":
|
|
6451
6451
|
V = !0;
|
|
@@ -6885,7 +6885,7 @@ var Rh = [2, 3, 48, 49, 131, 139, 140, 245], sn = /* @__PURE__ */ (function() {
|
|
|
6885
6885
|
x = l;
|
|
6886
6886
|
break;
|
|
6887
6887
|
case "buffer":
|
|
6888
|
-
u.codepage == 65001 ? x = l.toString("utf8") : u.codepage && typeof De
|
|
6888
|
+
u.codepage == 65001 ? x = l.toString("utf8") : u.codepage && typeof De != "undefined" ? x = De.utils.decode(u.codepage, l) : x = Te && Buffer.isBuffer(l) ? l.toString("binary") : At(l);
|
|
6889
6889
|
break;
|
|
6890
6890
|
case "array":
|
|
6891
6891
|
x = Ut(l);
|
|
@@ -6896,7 +6896,7 @@ var Rh = [2, 3, 48, 49, 131, 139, 140, 245], sn = /* @__PURE__ */ (function() {
|
|
|
6896
6896
|
default:
|
|
6897
6897
|
throw new Error("Unrecognized type " + u.type);
|
|
6898
6898
|
}
|
|
6899
|
-
return d[0] == 239 && d[1] == 187 && d[2] == 191 ? x = Le(x.slice(3)) : u.type != "string" && u.type != "buffer" && u.codepage == 65001 ? x = Le(x) : u.type == "binary" && typeof De
|
|
6899
|
+
return d[0] == 239 && d[1] == 187 && d[2] == 191 ? x = Le(x.slice(3)) : u.type != "string" && u.type != "buffer" && u.codepage == 65001 ? x = Le(x) : u.type == "binary" && typeof De != "undefined" && u.codepage && (x = De.utils.decode(u.codepage, De.utils.encode(28591, x))), x.slice(0, 19) == "socialcalc:version:" ? Tf.to_sheet(u.type == "string" ? x : Le(x), u) : s(x, u);
|
|
6900
6900
|
}
|
|
6901
6901
|
function c(l, u) {
|
|
6902
6902
|
return Ct(f(l, u), u);
|
|
@@ -8024,7 +8024,7 @@ function jh(e) {
|
|
|
8024
8024
|
), t.end();
|
|
8025
8025
|
}
|
|
8026
8026
|
function Ff(e) {
|
|
8027
|
-
if (typeof De
|
|
8027
|
+
if (typeof De != "undefined") return De.utils.encode(Bt, e);
|
|
8028
8028
|
for (var t = [], r = e.split(""), a = 0; a < r.length; ++a) t[a] = r[a].charCodeAt(0);
|
|
8029
8029
|
return t;
|
|
8030
8030
|
}
|
|
@@ -9250,7 +9250,7 @@ function ix(e, t, r) {
|
|
|
9250
9250
|
var s;
|
|
9251
9251
|
try {
|
|
9252
9252
|
s = Ds(i, { type: "array" });
|
|
9253
|
-
} catch {
|
|
9253
|
+
} catch (c) {
|
|
9254
9254
|
return;
|
|
9255
9255
|
}
|
|
9256
9256
|
var f = Rr(s, "theme/theme/theme1.xml", !0);
|
|
@@ -12196,7 +12196,7 @@ function z0(e) {
|
|
|
12196
12196
|
function wv(e) {
|
|
12197
12197
|
return e.replace(/\./, "!");
|
|
12198
12198
|
}
|
|
12199
|
-
var Aa = {}, sa = {}, Ca = typeof Map
|
|
12199
|
+
var Aa = {}, sa = {}, Ca = typeof Map != "undefined";
|
|
12200
12200
|
function Gn(e, t, r) {
|
|
12201
12201
|
var a = 0, n = e.length;
|
|
12202
12202
|
if (r) {
|
|
@@ -12332,7 +12332,7 @@ function Pv(e, t, r, a, n) {
|
|
|
12332
12332
|
var c = t.SheetNames[r];
|
|
12333
12333
|
try {
|
|
12334
12334
|
t.Workbook && (c = t.Workbook.Sheets[r].CodeName || c);
|
|
12335
|
-
} catch {
|
|
12335
|
+
} catch (l) {
|
|
12336
12336
|
}
|
|
12337
12337
|
i = !0, s.codeName = tt(be(c));
|
|
12338
12338
|
}
|
|
@@ -12440,7 +12440,7 @@ function jv(e, t, r, a) {
|
|
|
12440
12440
|
n = vt[e.v];
|
|
12441
12441
|
break;
|
|
12442
12442
|
case "d":
|
|
12443
|
-
a && a.cellDates ? n = Ve(e.v, -1).toISOString() : (e = Me(e), e.t = "n", n = "" + (e.v = ir(Ve(e.v)))), typeof e.z
|
|
12443
|
+
a && a.cellDates ? n = Ve(e.v, -1).toISOString() : (e = Me(e), e.t = "n", n = "" + (e.v = ir(Ve(e.v)))), typeof e.z == "undefined" && (e.z = de[14]);
|
|
12444
12444
|
break;
|
|
12445
12445
|
default:
|
|
12446
12446
|
n = e.v;
|
|
@@ -12556,7 +12556,7 @@ var Jv = /* @__PURE__ */ (function() {
|
|
|
12556
12556
|
} else N.v = parseFloat(N.v);
|
|
12557
12557
|
break;
|
|
12558
12558
|
case "s":
|
|
12559
|
-
if (typeof N.v
|
|
12559
|
+
if (typeof N.v == "undefined") {
|
|
12560
12560
|
if (!C) continue;
|
|
12561
12561
|
N.t = "z";
|
|
12562
12562
|
} else
|
|
@@ -13352,7 +13352,7 @@ function hp(e, t, r, a) {
|
|
|
13352
13352
|
var n = Cr(), i = r.SheetNames[e], s = r.Sheets[i] || {}, f = i;
|
|
13353
13353
|
try {
|
|
13354
13354
|
r && r.Workbook && (f = r.Workbook.Sheets[e].CodeName || f);
|
|
13355
|
-
} catch {
|
|
13355
|
+
} catch (o) {
|
|
13356
13356
|
}
|
|
13357
13357
|
var c = Ae(s["!ref"] || "A1");
|
|
13358
13358
|
if (c.e.c > 16383 || c.e.r > 1048575) {
|
|
@@ -14175,7 +14175,7 @@ function $0(e, t) {
|
|
|
14175
14175
|
var r = t || {};
|
|
14176
14176
|
la();
|
|
14177
14177
|
var a = ra(wn(e));
|
|
14178
|
-
(r.type == "binary" || r.type == "array" || r.type == "base64") && (typeof De
|
|
14178
|
+
(r.type == "binary" || r.type == "array" || r.type == "base64") && (typeof De != "undefined" ? a = De.utils.decode(65001, u0(a)) : a = Le(a));
|
|
14179
14179
|
var n = a.slice(0, 1024).toLowerCase(), i = !1;
|
|
14180
14180
|
if (n = n.replace(/".*?"/g, ""), (n.indexOf(">") & 1023) > Math.min(n.indexOf(",") & 1023, n.indexOf(";") & 1023)) {
|
|
14181
14181
|
var s = Me(r);
|
|
@@ -22019,7 +22019,7 @@ function sc(e, t) {
|
|
|
22019
22019
|
var a = e.Sheets[e.SheetNames[r]];
|
|
22020
22020
|
if (!(!a || !a["!ref"])) {
|
|
22021
22021
|
var n = yr(a["!ref"]);
|
|
22022
|
-
n.e.c > 255 && typeof console
|
|
22022
|
+
n.e.c > 255 && typeof console != "undefined" && console.error && console.error("Worksheet '" + e.SheetNames[r] + "' extends beyond column IV (255). Data may be lost.");
|
|
22023
22023
|
}
|
|
22024
22024
|
}
|
|
22025
22025
|
var i = t || {};
|
|
@@ -22199,7 +22199,7 @@ function dc(e, t) {
|
|
|
22199
22199
|
for (La.lastIndex = 0, a = a.replace(/<!--([\s\S]*?)-->/mg, "").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm, ""); h = La.exec(a); ) switch (h[3] = h[3].replace(/_.*$/, "")) {
|
|
22200
22200
|
case "table":
|
|
22201
22201
|
case "工作表":
|
|
22202
|
-
h[1] === "/" ? (F.e.c >= F.s.c && F.e.r >= F.s.r ? v["!ref"] = we(F) : v["!ref"] = "A1:A1", r.sheetRows > 0 && r.sheetRows <= F.e.r && (v["!fullref"] = v["!ref"], F.e.r = r.sheetRows - 1, v["!ref"] = we(F)), z.length && (v["!merges"] = z), le.length && (v["!rows"] = le), l.name = l.名称 || l.name, typeof JSON
|
|
22202
|
+
h[1] === "/" ? (F.e.c >= F.s.c && F.e.r >= F.s.r ? v["!ref"] = we(F) : v["!ref"] = "A1:A1", r.sheetRows > 0 && r.sheetRows <= F.e.r && (v["!fullref"] = v["!ref"], F.e.r = r.sheetRows - 1, v["!ref"] = we(F)), z.length && (v["!merges"] = z), le.length && (v["!rows"] = le), l.name = l.名称 || l.name, typeof JSON != "undefined" && JSON.stringify(l), d.push(l.name), x[l.name] = v, Y = !1) : h[0].charAt(h[0].length - 2) !== "/" && (l = me(h[0], !1), b = N = -1, F.s.r = F.s.c = 1e7, F.e.r = F.e.c = 0, v = r.dense ? [] : {}, z = [], le = [], Y = !0);
|
|
22203
22203
|
break;
|
|
22204
22204
|
case "table-row-group":
|
|
22205
22205
|
h[1] === "/" ? --B : ++B;
|
|
@@ -22557,7 +22557,7 @@ function dc(e, t) {
|
|
|
22557
22557
|
if (h[1] === "/") break;
|
|
22558
22558
|
try {
|
|
22559
22559
|
ve = z0(me(h[0])["target-range-address"]), x[ve[0]]["!autofilter"] = { ref: ve[1] };
|
|
22560
|
-
} catch {
|
|
22560
|
+
} catch (Ue) {
|
|
22561
22561
|
}
|
|
22562
22562
|
break;
|
|
22563
22563
|
case "date":
|
|
@@ -23038,10 +23038,10 @@ function Xt(e) {
|
|
|
23038
23038
|
return new DataView(e.buffer, e.byteOffset, e.byteLength);
|
|
23039
23039
|
}
|
|
23040
23040
|
function on(e) {
|
|
23041
|
-
return typeof TextDecoder
|
|
23041
|
+
return typeof TextDecoder != "undefined" ? new TextDecoder().decode(e) : Le(At(e));
|
|
23042
23042
|
}
|
|
23043
23043
|
function jm(e) {
|
|
23044
|
-
return typeof TextEncoder
|
|
23044
|
+
return typeof TextEncoder != "undefined" ? new TextEncoder().encode(e) : Ir(tt(e));
|
|
23045
23045
|
}
|
|
23046
23046
|
function Jm(e, t) {
|
|
23047
23047
|
e:
|
|
@@ -23782,7 +23782,7 @@ function hg(e, t) {
|
|
|
23782
23782
|
e = t.map(function(a) {
|
|
23783
23783
|
return a.id || (a.id = a.strRelID), [a.name, e["!id"][a.id].Target, ug(e["!id"][a.id].Type)];
|
|
23784
23784
|
});
|
|
23785
|
-
} catch {
|
|
23785
|
+
} catch (r) {
|
|
23786
23786
|
return null;
|
|
23787
23787
|
}
|
|
23788
23788
|
return !e || e.length === 0 ? null : e;
|
|
@@ -23831,8 +23831,8 @@ function Mr(e) {
|
|
|
23831
23831
|
function dg(e, t) {
|
|
23832
23832
|
if (la(), t = t || {}, Yn(t), Vr(e, "META-INF/manifest.xml") || Vr(e, "objectdata.xml")) return fs(e, t);
|
|
23833
23833
|
if (Vr(e, "Index/Document.iwa")) {
|
|
23834
|
-
if (typeof Uint8Array
|
|
23835
|
-
if (typeof j0
|
|
23834
|
+
if (typeof Uint8Array == "undefined") throw new Error("NUMBERS file parsing requires Uint8Array support");
|
|
23835
|
+
if (typeof j0 != "undefined") {
|
|
23836
23836
|
if (e.FileIndex) return j0(e);
|
|
23837
23837
|
var r = xe.utils.cfb_new();
|
|
23838
23838
|
return mi(e).forEach(function(le) {
|
|
@@ -23862,7 +23862,7 @@ function dg(e, t) {
|
|
|
23862
23862
|
try {
|
|
23863
23863
|
var ie = ya(Rr(e, Ba(Mr(le))), le);
|
|
23864
23864
|
return Yp(rr(e, Mr(le)), ie, le, t);
|
|
23865
|
-
} catch {
|
|
23865
|
+
} catch (he) {
|
|
23866
23866
|
}
|
|
23867
23867
|
});
|
|
23868
23868
|
var l = Mp(rr(e, Mr(n.workbooks[0])), n.workbooks[0], t), u = {}, x = "";
|
|
@@ -23872,7 +23872,7 @@ function dg(e, t) {
|
|
|
23872
23872
|
var v = {};
|
|
23873
23873
|
if ((t.bookSheets || t.bookProps) && (l.Sheets ? s = l.Sheets.map(function(ie) {
|
|
23874
23874
|
return ie.name;
|
|
23875
|
-
}) : u.Worksheets && u.SheetNames.length > 0 && (s = u.SheetNames), t.bookProps && (v.Props = u, v.Custprops = d), t.bookSheets && typeof s
|
|
23875
|
+
}) : u.Worksheets && u.SheetNames.length > 0 && (s = u.SheetNames), t.bookProps && (v.Props = u, v.Custprops = d), t.bookSheets && typeof s != "undefined" && (v.SheetNames = s), t.bookSheets ? v.SheetNames : t.bookProps))
|
|
23876
23876
|
return v;
|
|
23877
23877
|
s = {};
|
|
23878
23878
|
var h = {};
|
|
@@ -23937,13 +23937,13 @@ function vg(e, t) {
|
|
|
23937
23937
|
throw new Error("ECMA-376 Encrypted file bad " + a);
|
|
23938
23938
|
if (a = "/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary", n = xe.find(e, a), !n || !n.content) throw new Error("ECMA-376 Encrypted file missing " + a);
|
|
23939
23939
|
r1(n.content);
|
|
23940
|
-
} catch {
|
|
23940
|
+
} catch (c) {
|
|
23941
23941
|
}
|
|
23942
23942
|
if (a = "/EncryptionInfo", n = xe.find(e, a), !n || !n.content) throw new Error("ECMA-376 Encrypted file missing " + a);
|
|
23943
23943
|
var f = t1(n.content);
|
|
23944
23944
|
if (a = "/EncryptedPackage", n = xe.find(e, a), !n || !n.content) throw new Error("ECMA-376 Encrypted file missing " + a);
|
|
23945
|
-
if (f[0] == 4 && typeof decrypt_agile
|
|
23946
|
-
if (f[0] == 2 && typeof decrypt_std76
|
|
23945
|
+
if (f[0] == 4 && typeof decrypt_agile != "undefined") return decrypt_agile(f[1], n.content, r.password || "", r);
|
|
23946
|
+
if (f[0] == 2 && typeof decrypt_std76 != "undefined") return decrypt_std76(f[1], n.content, r.password || "", r);
|
|
23947
23947
|
throw new Error("File is password-protected");
|
|
23948
23948
|
}
|
|
23949
23949
|
function pg(e, t) {
|
|
@@ -24088,10 +24088,10 @@ function J0(e, t, r, a) {
|
|
|
24088
24088
|
function ln(e, t) {
|
|
24089
24089
|
F0();
|
|
24090
24090
|
var r = t || {};
|
|
24091
|
-
if (typeof ArrayBuffer
|
|
24092
|
-
typeof Uint8Array
|
|
24091
|
+
if (typeof ArrayBuffer != "undefined" && e instanceof ArrayBuffer) return ln(new Uint8Array(e), (r = Me(r), r.type = "array", r));
|
|
24092
|
+
typeof Uint8Array != "undefined" && e instanceof Uint8Array && !r.type && (r.type = typeof Deno != "undefined" ? "buffer" : "array");
|
|
24093
24093
|
var a = e, n = [0, 0, 0, 0], i = !1;
|
|
24094
|
-
if (r.cellStyles && (r.cellNF = !0, r.sheetStubs = !0), sa = {}, r.dateNF && (sa.dateNF = r.dateNF), r.type || (r.type = Te && Buffer.isBuffer(e) ? "buffer" : "base64"), r.type == "file" && (r.type = Te ? "buffer" : "binary", a = Eo(e), typeof Uint8Array
|
|
24094
|
+
if (r.cellStyles && (r.cellNF = !0, r.sheetStubs = !0), sa = {}, r.dateNF && (sa.dateNF = r.dateNF), r.type || (r.type = Te && Buffer.isBuffer(e) ? "buffer" : "base64"), r.type == "file" && (r.type = Te ? "buffer" : "binary", a = Eo(e), typeof Uint8Array != "undefined" && !Te && (r.type = "array")), r.type == "string" && (i = !0, r.type = "binary", r.codepage = 65001, a = Eg(e)), r.type == "array" && typeof Uint8Array != "undefined" && e instanceof Uint8Array && typeof ArrayBuffer != "undefined") {
|
|
24095
24095
|
var s = new ArrayBuffer(3), f = new Uint8Array(s);
|
|
24096
24096
|
if (f.foo = "bar", !f.foo)
|
|
24097
24097
|
return r = Me(r), r.type = "array", ln(hn(a), r);
|
|
@@ -24174,7 +24174,7 @@ function Sg(e, t) {
|
|
|
24174
24174
|
return wc(a, r);
|
|
24175
24175
|
}
|
|
24176
24176
|
function wc(e, t) {
|
|
24177
|
-
var r = {}, a = Te ? "nodebuffer" : typeof Uint8Array
|
|
24177
|
+
var r = {}, a = Te ? "nodebuffer" : typeof Uint8Array != "undefined" ? "array" : "string";
|
|
24178
24178
|
if (t.compression && (r.compression = "DEFLATE"), t.password) r.type = a;
|
|
24179
24179
|
else switch (t.type) {
|
|
24180
24180
|
case "base64":
|
|
@@ -24196,11 +24196,11 @@ function wc(e, t) {
|
|
|
24196
24196
|
/*::(*/
|
|
24197
24197
|
{ nodebuffer: "buffer", string: "binary" }[r.type] || r.type
|
|
24198
24198
|
), compression: !!t.compression }) : e.generate(r);
|
|
24199
|
-
if (typeof Deno
|
|
24199
|
+
if (typeof Deno != "undefined" && typeof n == "string") {
|
|
24200
24200
|
if (t.type == "binary" || t.type == "base64") return n;
|
|
24201
24201
|
n = new Uint8Array(za(n));
|
|
24202
24202
|
}
|
|
24203
|
-
return t.password && typeof encrypt_agile
|
|
24203
|
+
return t.password && typeof encrypt_agile != "undefined" ? _c(encrypt_agile(n, t.password), t) : t.type === "file" ? Ka(t.file, n) : t.type == "string" ? Le(
|
|
24204
24204
|
/*::(*/
|
|
24205
24205
|
n
|
|
24206
24206
|
/*:: :any)*/
|
|
@@ -24223,7 +24223,7 @@ function rt(e, t, r) {
|
|
|
24223
24223
|
case "file":
|
|
24224
24224
|
return Ka(t.file, a, "utf8");
|
|
24225
24225
|
case "buffer":
|
|
24226
|
-
return Te ? xt(a, "utf8") : typeof TextEncoder
|
|
24226
|
+
return Te ? xt(a, "utf8") : typeof TextEncoder != "undefined" ? new TextEncoder().encode(a) : rt(a, { type: "binary" }).split("").map(function(n) {
|
|
24227
24227
|
return n.charCodeAt(0);
|
|
24228
24228
|
});
|
|
24229
24229
|
}
|
|
@@ -24370,7 +24370,7 @@ function Ec(e, t, r, a, n, i, s, f) {
|
|
|
24370
24370
|
if (n !== 1)
|
|
24371
24371
|
if (Object.defineProperty) try {
|
|
24372
24372
|
Object.defineProperty(x, "__rowNum__", { value: r, enumerable: !1 });
|
|
24373
|
-
} catch {
|
|
24373
|
+
} catch (p) {
|
|
24374
24374
|
x.__rowNum__ = r;
|
|
24375
24375
|
}
|
|
24376
24376
|
else x.__rowNum__ = r;
|
|
@@ -24475,7 +24475,7 @@ function Tc(e, t, r, a, n, i, s, f) {
|
|
|
24475
24475
|
return f.blankrows === !1 && c ? null : o.join(s);
|
|
24476
24476
|
}
|
|
24477
24477
|
function Qn(e, t) {
|
|
24478
|
-
var r = [], a = t
|
|
24478
|
+
var r = [], a = t == null ? {} : t;
|
|
24479
24479
|
if (e == null || e["!ref"] == null) return "";
|
|
24480
24480
|
var n = Ae(e["!ref"]), i = a.FS !== void 0 ? a.FS : ",", s = i.charCodeAt(0), f = a.RS !== void 0 ? a.RS : `
|
|
24481
24481
|
`, c = f.charCodeAt(0), o = new RegExp((i == "|" ? "\\|" : i) + "+$"), l = "", u = [];
|
|
@@ -24489,7 +24489,7 @@ function Sc(e, t) {
|
|
|
24489
24489
|
t || (t = {}), t.FS = " ", t.RS = `
|
|
24490
24490
|
`;
|
|
24491
24491
|
var r = Qn(e, t);
|
|
24492
|
-
if (typeof De
|
|
24492
|
+
if (typeof De == "undefined" || t.type == "string") return r;
|
|
24493
24493
|
var a = De.utils.encode(1200, r, "str");
|
|
24494
24494
|
return "ÿþ" + a;
|
|
24495
24495
|
}
|
|
@@ -24660,7 +24660,7 @@ function Pg(e) {
|
|
|
24660
24660
|
b0 = e;
|
|
24661
24661
|
}
|
|
24662
24662
|
function Lg(e, t) {
|
|
24663
|
-
var r = b0(), a = t
|
|
24663
|
+
var r = b0(), a = t == null ? {} : t;
|
|
24664
24664
|
if (e == null || e["!ref"] == null)
|
|
24665
24665
|
return r.push(null), r;
|
|
24666
24666
|
var n = Ae(e["!ref"]), i = a.FS !== void 0 ? a.FS : ",", s = i.charCodeAt(0), f = a.RS !== void 0 ? a.RS : `
|