builder-settings-types 0.0.416 → 0.0.418
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const qc = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
2
|
-
let
|
|
2
|
+
let en = (t = 21) => {
|
|
3
3
|
let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
|
|
4
4
|
for (; t--; )
|
|
5
5
|
e += qc[r[t] & 63];
|
|
@@ -11,14 +11,14 @@ function Zc(t) {
|
|
|
11
11
|
r.classList.contains("setting-group") && r !== t && e++, r = r.parentElement;
|
|
12
12
|
return e;
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function Bn(t, e) {
|
|
15
15
|
const r = Math.min(Math.max(e, 0), 5);
|
|
16
16
|
t.setAttribute("data-nesting-level", r.toString()), r > 0 ? t.style.setProperty("--visual-indent", `${r * 2}px`) : (t.style.removeProperty("--visual-indent"), t.style.marginLeft = "");
|
|
17
17
|
}
|
|
18
18
|
function Pi(t, e = 0) {
|
|
19
19
|
t.querySelectorAll(":scope > .setting-group-content > .setting-group").forEach((a) => {
|
|
20
20
|
const n = a, i = e + 1;
|
|
21
|
-
|
|
21
|
+
Bn(n, i), Pi(n, i);
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
const Qc = {
|
|
@@ -144,7 +144,7 @@ function tf(t) {
|
|
|
144
144
|
}
|
|
145
145
|
const lt = class lt {
|
|
146
146
|
constructor(e = {}) {
|
|
147
|
-
this.props = e, this.dataPropsPath = "", this.id = e.id ||
|
|
147
|
+
this.props = e, this.dataPropsPath = "", this.id = e.id || en(), this.value = this.props.default, this.desktop = this.props.default, this.title = e.title || "", this.includeGetJson = e.includeGetJson !== void 0 ? e.includeGetJson : !0;
|
|
148
148
|
}
|
|
149
149
|
static SetUploadUrl(e) {
|
|
150
150
|
globalThis.DefaultUploadUrl = e, lt.DefaultUploadUrl = e;
|
|
@@ -298,7 +298,7 @@ const es = (t, e, r) => {
|
|
|
298
298
|
if (!t) return null;
|
|
299
299
|
let e = t.trim();
|
|
300
300
|
return !e.startsWith("#") || (e = e.slice(1), e.length === 3 && (e = e.split("").map((r) => r + r).join("")), !/^[0-9a-fA-F]{6}$/.test(e)) ? null : `#${e.toUpperCase()}`;
|
|
301
|
-
},
|
|
301
|
+
}, Vn = (t, e, r) => `#${[t, e, r].map((a) => Math.max(0, Math.min(255, a)).toString(16).padStart(2, "0")).join("")}`, dr = (t) => {
|
|
302
302
|
const e = t.replace("#", ""), r = e.length === 3 ? e.split("").map((a) => a + a).join("") : e;
|
|
303
303
|
return {
|
|
304
304
|
r: parseInt(r.slice(0, 2), 16),
|
|
@@ -314,7 +314,7 @@ const es = (t, e, r) => {
|
|
|
314
314
|
}, ka = (t, e, r) => {
|
|
315
315
|
const a = (t % 360 + 360) % 360, n = r * e, i = n * (1 - Math.abs(a / 60 % 2 - 1)), s = r - n;
|
|
316
316
|
let o = 0, l = 0, c = 0;
|
|
317
|
-
return a < 60 ? (o = n, l = i, c = 0) : a < 120 ? (o = i, l = n, c = 0) : a < 180 ? (o = 0, l = n, c = i) : a < 240 ? (o = 0, l = i, c = n) : a < 300 ? (o = i, l = 0, c = n) : (o = n, l = 0, c = i),
|
|
317
|
+
return a < 60 ? (o = n, l = i, c = 0) : a < 120 ? (o = i, l = n, c = 0) : a < 180 ? (o = 0, l = n, c = i) : a < 240 ? (o = 0, l = i, c = n) : a < 300 ? (o = i, l = 0, c = n) : (o = n, l = 0, c = i), Vn(
|
|
318
318
|
Math.round((o + s) * 255),
|
|
319
319
|
Math.round((l + s) * 255),
|
|
320
320
|
Math.round((c + s) * 255)
|
|
@@ -407,7 +407,7 @@ const es = (t, e, r) => {
|
|
|
407
407
|
if (/^#[0-9A-Fa-f]{8}$/.test(e)) {
|
|
408
408
|
const i = e.slice(1), s = parseInt(i.slice(0, 2), 16), o = parseInt(i.slice(2, 4), 16), l = parseInt(i.slice(4, 6), 16), c = parseInt(i.slice(6, 8), 16);
|
|
409
409
|
return {
|
|
410
|
-
color:
|
|
410
|
+
color: Vn(s, o, l),
|
|
411
411
|
position: 0,
|
|
412
412
|
opacity: Math.round(c / 255 * 100)
|
|
413
413
|
};
|
|
@@ -418,7 +418,7 @@ const es = (t, e, r) => {
|
|
|
418
418
|
if (r) {
|
|
419
419
|
const i = parseInt(r[1]), s = parseInt(r[2]), o = parseInt(r[3]), l = r[4] ? parseFloat(r[4]) : 1;
|
|
420
420
|
return {
|
|
421
|
-
color:
|
|
421
|
+
color: Vn(i, s, o),
|
|
422
422
|
position: 0,
|
|
423
423
|
opacity: Math.round(l * 100)
|
|
424
424
|
};
|
|
@@ -433,7 +433,7 @@ const es = (t, e, r) => {
|
|
|
433
433
|
parseFloat(a[3]) / 100
|
|
434
434
|
), l = a[4] ? parseFloat(a[4]) : 1;
|
|
435
435
|
return {
|
|
436
|
-
color:
|
|
436
|
+
color: Vn(i, s, o),
|
|
437
437
|
position: 0,
|
|
438
438
|
opacity: Math.round(l * 100)
|
|
439
439
|
};
|
|
@@ -541,7 +541,7 @@ const es = (t, e, r) => {
|
|
|
541
541
|
(r) => `${Ri(r.color, r.opacity ?? 100)} ${r.position}%`
|
|
542
542
|
).join(", ");
|
|
543
543
|
return t.type === "radial" ? `radial-gradient(circle, ${e})` : `linear-gradient(${t.angle}deg, ${e})`;
|
|
544
|
-
}, sf = (t) => Math.round(t / 100 * 255).toString(16).toUpperCase().padStart(2, "0"),
|
|
544
|
+
}, sf = (t) => Math.round(t / 100 * 255).toString(16).toUpperCase().padStart(2, "0"), Hn = (t) => {
|
|
545
545
|
if (t.type === "solid") {
|
|
546
546
|
const e = t.stops[0];
|
|
547
547
|
if (e) {
|
|
@@ -680,7 +680,7 @@ const ts = (t, e) => {
|
|
|
680
680
|
}, of = (t) => {
|
|
681
681
|
const e = Nt(t);
|
|
682
682
|
if (e)
|
|
683
|
-
return
|
|
683
|
+
return Hn(e);
|
|
684
684
|
const r = Qr(t);
|
|
685
685
|
if (r) {
|
|
686
686
|
const a = dr(r);
|
|
@@ -792,8 +792,8 @@ class pf {
|
|
|
792
792
|
b.type = "text", b.className = "color-picker-color-input", b.value = this.currentColor, this.input = b;
|
|
793
793
|
const I = document.createElement("div");
|
|
794
794
|
I.className = "color-picker-input-container";
|
|
795
|
-
const
|
|
796
|
-
return
|
|
795
|
+
const F = document.createElement("button");
|
|
796
|
+
return F.className = "color-picker-copy-inside", F.textContent = "Copy", I.appendChild(b), I.appendChild(F), d.appendChild(g), d.appendChild(I), e.appendChild(r), e.appendChild(i), e.appendChild(o), e.appendChild(m.container), e.appendChild(d), e.addEventListener("click", (y) => y.stopPropagation()), this.bind(i, f, u, b, g, F, l), e;
|
|
797
797
|
}
|
|
798
798
|
createBackdrop() {
|
|
799
799
|
const e = document.createElement("div");
|
|
@@ -970,9 +970,9 @@ class mf {
|
|
|
970
970
|
c.className = "color-picker-opacity embedded", this.opacitySlider = c;
|
|
971
971
|
const f = document.createElement("div");
|
|
972
972
|
f.className = "color-picker-opacity-marker", this.opacityMarker = f, c.appendChild(f), s.appendChild(o), s.appendChild(c), n.appendChild(i), n.appendChild(s);
|
|
973
|
-
const h = ts((
|
|
974
|
-
const y = Nt(
|
|
975
|
-
y && y.type !== "solid" ? this.onColorChange(
|
|
973
|
+
const h = ts((F) => {
|
|
974
|
+
const y = Nt(F);
|
|
975
|
+
y && y.type !== "solid" ? this.onColorChange(F, this.currentOpacity) : (this.setColor(F), this.onColorChange(this.currentColor, this.currentOpacity));
|
|
976
976
|
}, "all");
|
|
977
977
|
this.recentSectionRefresh = h.refresh;
|
|
978
978
|
const u = document.createElement("div");
|
|
@@ -1284,7 +1284,7 @@ const qt = class qt extends Ae {
|
|
|
1284
1284
|
const r = this.linkedGlobalVariable.replace("var(--", "").replace(")", "").split("-").map((a) => a.charAt(0).toUpperCase() + a.slice(1)).join(" ");
|
|
1285
1285
|
this.inputEl.value = `Linked: ${r}`;
|
|
1286
1286
|
} else
|
|
1287
|
-
this.inputEl.value =
|
|
1287
|
+
this.inputEl.value = Hn(this.value);
|
|
1288
1288
|
this.updateUnlinkButtonVisibility();
|
|
1289
1289
|
}
|
|
1290
1290
|
resolveGradientGlobalVars(e) {
|
|
@@ -1321,7 +1321,7 @@ const qt = class qt extends Ae {
|
|
|
1321
1321
|
const r = document.createElement("div");
|
|
1322
1322
|
return r.className = "gradient-input-wrapper", this.previewEl = document.createElement("div"), this.previewEl.className = "gradient-mini-preview", this.previewEl.style.background = this.value ? Jt(this.value) : "linear-gradient(90deg, #a84b4b 0%, #786666 100%)", this.previewEl.addEventListener("click", (a) => {
|
|
1323
1323
|
a.preventDefault(), a.stopPropagation(), this.openPopover();
|
|
1324
|
-
}), this.inputEl = document.createElement("input"), this.inputEl.type = "text", this.inputEl.className = "gradient-text-input", this.inputEl.placeholder = "Enter gradient CSS or paste color...", this.inputEl.value = this.value ?
|
|
1324
|
+
}), this.inputEl = document.createElement("input"), this.inputEl.type = "text", this.inputEl.className = "gradient-text-input", this.inputEl.placeholder = "Enter gradient CSS or paste color...", this.inputEl.value = this.value ? Hn(this.value) : "", this.inputEl.readOnly = !1, this.inputEl.addEventListener("focus", () => {
|
|
1325
1325
|
if (this.isEditing = !0, this.value)
|
|
1326
1326
|
if (this.value.type === "solid") {
|
|
1327
1327
|
const a = this.value.stops[0];
|
|
@@ -1337,7 +1337,7 @@ const qt = class qt extends Ae {
|
|
|
1337
1337
|
} else
|
|
1338
1338
|
this.inputEl.value = Jt(this.value);
|
|
1339
1339
|
}), this.inputEl.addEventListener("blur", () => {
|
|
1340
|
-
this.isEditing = !1, this.value && (this.inputEl.value =
|
|
1340
|
+
this.isEditing = !1, this.value && (this.inputEl.value = Hn(this.value));
|
|
1341
1341
|
}), this.inputEl.addEventListener(
|
|
1342
1342
|
"paste",
|
|
1343
1343
|
(a) => this.handlePaste(a)
|
|
@@ -1491,12 +1491,12 @@ const qt = class qt extends Ae {
|
|
|
1491
1491
|
if (this.globalLayoutMode === "list") {
|
|
1492
1492
|
const I = document.createElement("div");
|
|
1493
1493
|
I.className = "global-color-row";
|
|
1494
|
-
const
|
|
1495
|
-
|
|
1494
|
+
const F = document.createElement("div");
|
|
1495
|
+
F.className = "global-color-circle";
|
|
1496
1496
|
const y = this.resolveGlobalVarColor(b);
|
|
1497
|
-
|
|
1497
|
+
F.style.background = y, (this.linkedGlobalVariable === `var(--${x})` || r.color === `var(--${x})`) && F.classList.add("selected");
|
|
1498
1498
|
const N = document.createElement("span");
|
|
1499
|
-
N.className = "global-color-label", N.textContent = x.split("-").map((z) => z.charAt(0).toUpperCase() + z.slice(1)).join(" "), I.appendChild(
|
|
1499
|
+
N.className = "global-color-label", N.textContent = x.split("-").map((z) => z.charAt(0).toUpperCase() + z.slice(1)).join(" "), I.appendChild(F), I.appendChild(N), I.addEventListener("click", (z) => {
|
|
1500
1500
|
z.preventDefault();
|
|
1501
1501
|
const B = `var(--${x})`;
|
|
1502
1502
|
this.setValue(B), this.pendingSolidColor = B, a(u);
|
|
@@ -1504,8 +1504,8 @@ const qt = class qt extends Ae {
|
|
|
1504
1504
|
} else {
|
|
1505
1505
|
const I = document.createElement("div");
|
|
1506
1506
|
I.className = "global-color-circle";
|
|
1507
|
-
const
|
|
1508
|
-
I.style.background =
|
|
1507
|
+
const F = this.resolveGlobalVarColor(b);
|
|
1508
|
+
I.style.background = F, I.title = x.split("-").map((P) => P.charAt(0).toUpperCase() + P.slice(1)).join(" "), (this.linkedGlobalVariable === `var(--${x})` || r.color === `var(--${x})`) && I.classList.add("selected"), I.addEventListener("click", (P) => {
|
|
1509
1509
|
P.preventDefault();
|
|
1510
1510
|
const N = `var(--${x})`;
|
|
1511
1511
|
this.setValue(N), this.pendingSolidColor = N, a(u);
|
|
@@ -1703,17 +1703,17 @@ const qt = class qt extends Ae {
|
|
|
1703
1703
|
const m = document.createElement("input");
|
|
1704
1704
|
m.type = "text", m.className = "gstop-opacity-input", m.value = `${n.opacity ?? 100}%`, c.appendChild(h), c.appendChild(u), c.appendChild(p), c.appendChild(m);
|
|
1705
1705
|
const d = document.createElement("button");
|
|
1706
|
-
d.type = "button", d.className = "gstop-del", d.innerHTML = cf, d.disabled = (((v = (g = this.value) == null ? void 0 : g.stops) == null ? void 0 : v.length) || 0) <= 2, s.appendChild(o), s.appendChild(c), s.appendChild(d), r.appendChild(s),
|
|
1706
|
+
d.type = "button", d.className = "gstop-del", d.innerHTML = cf, d.disabled = (((v = (g = this.value) == null ? void 0 : g.stops) == null ? void 0 : v.length) || 0) <= 2, s.appendChild(o), s.appendChild(c), s.appendChild(d), r.appendChild(s), h.addEventListener("click", (w) => {
|
|
1707
1707
|
w.preventDefault(), w.stopPropagation();
|
|
1708
1708
|
const x = this.getSharedStopColorPicker();
|
|
1709
|
-
x.getIsOpen() && x.close(!1), this.colorPickerStopIndex = i, x.setOnChange((I,
|
|
1710
|
-
this.clearGlobalBindingForCustomChange(), u.value = I.replace("#", "").toUpperCase(), h.style.backgroundColor = I, this.value.stops[i].color = I,
|
|
1709
|
+
x.getIsOpen() && x.close(!1), this.colorPickerStopIndex = i, x.setOnChange((I, F) => {
|
|
1710
|
+
this.clearGlobalBindingForCustomChange(), u.value = I.replace("#", "").toUpperCase(), h.style.backgroundColor = I, this.value.stops[i].color = I, F !== void 0 && (this.value.stops[i].opacity = F, m.value = `${F}%`), this.updateGradientPreview(), this.createHandles(
|
|
1711
1711
|
this.popoverEl.querySelector(".gradient-handles"),
|
|
1712
1712
|
this.popoverEl.querySelector(".gradient-preview")
|
|
1713
1713
|
), this.updateUI(), this.triggerChange();
|
|
1714
1714
|
});
|
|
1715
1715
|
const b = this.resolveGlobalVarColor(n.color);
|
|
1716
|
-
x.open(b,
|
|
1716
|
+
x.open(b, h, n.opacity ?? 100);
|
|
1717
1717
|
}), u.addEventListener("input", () => {
|
|
1718
1718
|
this.clearGlobalBindingForCustomChange();
|
|
1719
1719
|
const w = u.value.trim(), x = w.startsWith("#") ? w : `#${w}`;
|
|
@@ -1916,7 +1916,7 @@ const qt = class qt extends Ae {
|
|
|
1916
1916
|
}
|
|
1917
1917
|
};
|
|
1918
1918
|
qt.openInstance = null, qt.CHANGE_DEBOUNCE_DELAY = 150;
|
|
1919
|
-
let
|
|
1919
|
+
let La = qt;
|
|
1920
1920
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
1921
1921
|
var $n = {};
|
|
1922
1922
|
$n.version = "0.18.5";
|
|
@@ -2008,12 +2008,12 @@ function _0(t) {
|
|
|
2008
2008
|
var Wa = function(t) {
|
|
2009
2009
|
var e = t.charCodeAt(0), r = t.charCodeAt(1);
|
|
2010
2010
|
return e == 255 && r == 254 ? vf(t.slice(2)) : e == 254 && r == 255 ? _0(t.slice(2)) : e == 65279 ? t.slice(1) : t;
|
|
2011
|
-
},
|
|
2011
|
+
}, _n = function(e) {
|
|
2012
2012
|
return String.fromCharCode(e);
|
|
2013
2013
|
}, eo = function(e) {
|
|
2014
2014
|
return String.fromCharCode(e);
|
|
2015
2015
|
}, Bi, Or = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
2016
|
-
function
|
|
2016
|
+
function tn(t) {
|
|
2017
2017
|
for (var e = "", r = 0, a = 0, n = 0, i = 0, s = 0, o = 0, l = 0, c = 0; c < t.length; )
|
|
2018
2018
|
r = t.charCodeAt(c++), i = r >> 2, a = t.charCodeAt(c++), s = (r & 3) << 4 | a >> 4, n = t.charCodeAt(c++), o = (a & 15) << 2 | n >> 6, l = n & 63, isNaN(a) ? o = l = 64 : isNaN(n) && (l = 64), e += Or.charAt(i) + Or.charAt(s) + Or.charAt(o) + Or.charAt(l);
|
|
2019
2019
|
return e;
|
|
@@ -2027,7 +2027,7 @@ function Rt(t) {
|
|
|
2027
2027
|
}
|
|
2028
2028
|
var _e = /* @__PURE__ */ function() {
|
|
2029
2029
|
return typeof Buffer < "u" && typeof process < "u" && typeof process.versions < "u" && !!process.versions.node;
|
|
2030
|
-
}(),
|
|
2030
|
+
}(), Lr = /* @__PURE__ */ function() {
|
|
2031
2031
|
if (typeof Buffer < "u") {
|
|
2032
2032
|
var t = !Buffer.from;
|
|
2033
2033
|
if (!t) try {
|
|
@@ -2049,7 +2049,7 @@ function to(t) {
|
|
|
2049
2049
|
return _e ? Buffer.allocUnsafe ? Buffer.allocUnsafe(t) : new Buffer(t) : typeof Uint8Array < "u" ? new Uint8Array(t) : new Array(t);
|
|
2050
2050
|
}
|
|
2051
2051
|
var Pt = function(e) {
|
|
2052
|
-
return _e ?
|
|
2052
|
+
return _e ? Lr(e, "binary") : e.split("").map(function(r) {
|
|
2053
2053
|
return r.charCodeAt(0) & 255;
|
|
2054
2054
|
});
|
|
2055
2055
|
};
|
|
@@ -2077,7 +2077,7 @@ function is(t) {
|
|
|
2077
2077
|
}
|
|
2078
2078
|
var ft = _e ? function(t) {
|
|
2079
2079
|
return Buffer.concat(t.map(function(e) {
|
|
2080
|
-
return Buffer.isBuffer(e) ? e :
|
|
2080
|
+
return Buffer.isBuffer(e) ? e : Lr(e);
|
|
2081
2081
|
}));
|
|
2082
2082
|
} : function(t) {
|
|
2083
2083
|
if (typeof Uint8Array < "u") {
|
|
@@ -2310,17 +2310,17 @@ function os(t) {
|
|
|
2310
2310
|
function bf(t) {
|
|
2311
2311
|
return t.indexOf("E") == -1 ? t : t.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/, "$1E").replace(/(E[+-])(\d)$/, "$10$2");
|
|
2312
2312
|
}
|
|
2313
|
-
function
|
|
2313
|
+
function Lf(t) {
|
|
2314
2314
|
var e = t < 0 ? 12 : 11, r = os(t.toFixed(12));
|
|
2315
2315
|
return r.length <= e || (r = t.toPrecision(10), r.length <= e) ? r : t.toExponential(5);
|
|
2316
2316
|
}
|
|
2317
|
-
function
|
|
2317
|
+
function Ff(t) {
|
|
2318
2318
|
var e = os(t.toFixed(11));
|
|
2319
2319
|
return e.length > (t < 0 ? 12 : 11) || e === "0" || e === "-0" ? t.toPrecision(6) : e;
|
|
2320
2320
|
}
|
|
2321
|
-
function
|
|
2321
|
+
function rn(t) {
|
|
2322
2322
|
var e = Math.floor(Math.log(Math.abs(t)) * Math.LOG10E), r;
|
|
2323
|
-
return e >= -4 && e <= -1 ? r = t.toPrecision(10 + e) : Math.abs(e) <= 9 ? r =
|
|
2323
|
+
return e >= -4 && e <= -1 ? r = t.toPrecision(10 + e) : Math.abs(e) <= 9 ? r = Lf(t) : e === 10 ? r = t.toFixed(10).substr(0, 12) : r = Ff(t), os(bf(r.toUpperCase()));
|
|
2324
2324
|
}
|
|
2325
2325
|
function ta(t, e) {
|
|
2326
2326
|
switch (typeof t) {
|
|
@@ -2329,7 +2329,7 @@ function ta(t, e) {
|
|
|
2329
2329
|
case "boolean":
|
|
2330
2330
|
return t ? "TRUE" : "FALSE";
|
|
2331
2331
|
case "number":
|
|
2332
|
-
return (t | 0) === t ? t.toString(10) :
|
|
2332
|
+
return (t | 0) === t ? t.toString(10) : rn(t);
|
|
2333
2333
|
case "undefined":
|
|
2334
2334
|
return "";
|
|
2335
2335
|
case "object":
|
|
@@ -2460,11 +2460,11 @@ function Mf(t, e, r) {
|
|
|
2460
2460
|
for (var a = e.length - 1; e.charCodeAt(a - 1) === 44; ) --a;
|
|
2461
2461
|
return _r(t, e.substr(0, a), r / Math.pow(10, 3 * (e.length - a)));
|
|
2462
2462
|
}
|
|
2463
|
-
function
|
|
2463
|
+
function L0(t, e) {
|
|
2464
2464
|
var r, a = t.indexOf("E") - t.indexOf(".") - 1;
|
|
2465
2465
|
if (t.match(/^#+0.0E\+0$/)) {
|
|
2466
2466
|
if (e == 0) return "0.0E+0";
|
|
2467
|
-
if (e < 0) return "-" +
|
|
2467
|
+
if (e < 0) return "-" + L0(t, -e);
|
|
2468
2468
|
var n = t.indexOf(".");
|
|
2469
2469
|
n === -1 && (n = t.indexOf("E"));
|
|
2470
2470
|
var i = Math.floor(Math.log(e) * Math.LOG10E) % n;
|
|
@@ -2480,7 +2480,7 @@ function F0(t, e) {
|
|
|
2480
2480
|
} else r = e.toExponential(a);
|
|
2481
2481
|
return t.match(/E\+00$/) && r.match(/e[+-]\d$/) && (r = r.substr(0, r.length - 1) + "0" + r.charAt(r.length - 1)), t.match(/E\-/) && r.match(/e\+/) && (r = r.replace(/e\+/, "e")), r.replace("e", "E");
|
|
2482
2482
|
}
|
|
2483
|
-
var
|
|
2483
|
+
var F0 = /# (\?+)( ?)\/( ?)(\d+)/;
|
|
2484
2484
|
function Of(t, e, r) {
|
|
2485
2485
|
var a = parseInt(t[4], 10), n = Math.round(e * a), i = Math.floor(n / a), s = n - i * a, o = a;
|
|
2486
2486
|
return r + (i === 0 ? "" : "" + i) + " " + (s === 0 ? Ke(" ", t[1].length + 1 + t[4].length) : ss(s, t[1].length) + t[2] + "/" + t[3] + tr(o, t[4].length));
|
|
@@ -2525,13 +2525,13 @@ function Ut(t, e, r) {
|
|
|
2525
2525
|
}
|
|
2526
2526
|
if (e.charCodeAt(e.length - 1) === 44) return Mf(t, e, r);
|
|
2527
2527
|
if (e.indexOf("%") !== -1) return Nf(t, e, r);
|
|
2528
|
-
if (e.indexOf("E") !== -1) return
|
|
2528
|
+
if (e.indexOf("E") !== -1) return L0(e, r);
|
|
2529
2529
|
if (e.charCodeAt(0) === 36) return "$" + Ut(t, e.substr(e.charAt(1) == " " ? 2 : 1), r);
|
|
2530
2530
|
var n, i, s, o, l = Math.abs(r), c = r < 0 ? "-" : "";
|
|
2531
2531
|
if (e.match(/^00+$/)) return c + da(l, e.length);
|
|
2532
2532
|
if (e.match(/^[#?]+$/))
|
|
2533
2533
|
return n = da(r, 0), n === "0" && (n = ""), n.length > e.length ? n : Tt(e.substr(0, e.length - n.length)) + n;
|
|
2534
|
-
if (i = e.match(
|
|
2534
|
+
if (i = e.match(F0)) return Of(i, l, c);
|
|
2535
2535
|
if (e.match(/^#+0+$/)) return c + da(l, e.length - e.indexOf("0"));
|
|
2536
2536
|
if (i = e.match(A0))
|
|
2537
2537
|
return n = io(r, i[1].length).replace(/^([^\.]+)$/, "$1." + Tt(i[1])).replace(/\.$/, "." + Tt(i[1])).replace(/\.(\d*)$/, function(m, d) {
|
|
@@ -2633,7 +2633,7 @@ function cr(t, e, r) {
|
|
|
2633
2633
|
if (e.match(/^00+$/)) return c + tr(l, e.length);
|
|
2634
2634
|
if (e.match(/^[#?]+$/))
|
|
2635
2635
|
return n = "" + r, r === 0 && (n = ""), n.length > e.length ? n : Tt(e.substr(0, e.length - n.length)) + n;
|
|
2636
|
-
if (i = e.match(
|
|
2636
|
+
if (i = e.match(F0)) return Pf(i, l, c);
|
|
2637
2637
|
if (e.match(/^#+0+$/)) return c + tr(l, e.length - e.indexOf("0"));
|
|
2638
2638
|
if (i = e.match(A0))
|
|
2639
2639
|
return n = ("" + r).replace(/^([^\.]+)$/, "$1." + Tt(i[1])).replace(/\.$/, "." + Tt(i[1])), n = n.replace(/\.(\d*)$/, function(m, d) {
|
|
@@ -2985,9 +2985,9 @@ function Uf(t, e, r, a) {
|
|
|
2985
2985
|
n[s].t = "t", n[s].v = ta(e, r);
|
|
2986
2986
|
break;
|
|
2987
2987
|
}
|
|
2988
|
-
var I = "",
|
|
2988
|
+
var I = "", F, y;
|
|
2989
2989
|
if (x.length > 0) {
|
|
2990
|
-
x.charCodeAt(0) == 40 ? (
|
|
2990
|
+
x.charCodeAt(0) == 40 ? (F = e < 0 && x.charCodeAt(0) === 45 ? -e : e, y = _r("n", x, F)) : (F = e < 0 && a > 1 ? -e : e, y = _r("n", x, F), F < 0 && n[0] && n[0].t == "t" && (y = y.substr(1), n[0].v = "-" + n[0].v)), b = y.length - 1;
|
|
2991
2991
|
var P = n.length;
|
|
2992
2992
|
for (s = 0; s < n.length; ++s) if (n[s] != null && n[s].t != "t" && n[s].v.indexOf(".") > -1) {
|
|
2993
2993
|
P = s;
|
|
@@ -3013,7 +3013,7 @@ function Uf(t, e, r, a) {
|
|
|
3013
3013
|
}
|
|
3014
3014
|
}
|
|
3015
3015
|
}
|
|
3016
|
-
for (s = 0; s < n.length; ++s) n[s] != null && "n?".indexOf(n[s].t) > -1 && (
|
|
3016
|
+
for (s = 0; s < n.length; ++s) n[s] != null && "n?".indexOf(n[s].t) > -1 && (F = a > 1 && e < 0 && s > 0 && n[s - 1].v === "-" ? -e : e, n[s].v = _r(n[s].t, n[s].v, F), n[s].t = "t");
|
|
3017
3017
|
var z = "";
|
|
3018
3018
|
for (s = 0; s !== n.length; ++s) n[s] != null && (z += n[s].v);
|
|
3019
3019
|
return z;
|
|
@@ -3226,12 +3226,12 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3226
3226
|
for (z += 15; B < z; ) N = N >>> 8 ^ r[(N ^ y[B++]) & 255];
|
|
3227
3227
|
return ~N;
|
|
3228
3228
|
}
|
|
3229
|
-
function
|
|
3229
|
+
function F(y, P) {
|
|
3230
3230
|
for (var N = P ^ -1, z = 0, B = y.length, D = 0, J = 0; z < B; )
|
|
3231
3231
|
D = y.charCodeAt(z++), D < 128 ? N = N >>> 8 ^ r[(N ^ D) & 255] : D < 2048 ? (N = N >>> 8 ^ r[(N ^ (192 | D >> 6 & 31)) & 255], N = N >>> 8 ^ r[(N ^ (128 | D & 63)) & 255]) : D >= 55296 && D < 57344 ? (D = (D & 1023) + 64, J = y.charCodeAt(z++) & 1023, N = N >>> 8 ^ r[(N ^ (240 | D >> 8 & 7)) & 255], N = N >>> 8 ^ r[(N ^ (128 | D >> 2 & 63)) & 255], N = N >>> 8 ^ r[(N ^ (128 | J >> 6 & 15 | (D & 3) << 4)) & 255], N = N >>> 8 ^ r[(N ^ (128 | J & 63)) & 255]) : (N = N >>> 8 ^ r[(N ^ (224 | D >> 12 & 15)) & 255], N = N >>> 8 ^ r[(N ^ (128 | D >> 6 & 63)) & 255], N = N >>> 8 ^ r[(N ^ (128 | D & 63)) & 255]);
|
|
3232
3232
|
return ~N;
|
|
3233
3233
|
}
|
|
3234
|
-
return t.table = r, t.bstr = b, t.buf = I, t.str =
|
|
3234
|
+
return t.table = r, t.bstr = b, t.buf = I, t.str = F, t;
|
|
3235
3235
|
}(), pe = /* @__PURE__ */ function() {
|
|
3236
3236
|
var e = {};
|
|
3237
3237
|
e.version = "1.2.1";
|
|
@@ -3454,7 +3454,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3454
3454
|
function I(E, _) {
|
|
3455
3455
|
return c(), f(l.readFileSync(E), _);
|
|
3456
3456
|
}
|
|
3457
|
-
function
|
|
3457
|
+
function F(E, _) {
|
|
3458
3458
|
var C = _ && _.type;
|
|
3459
3459
|
switch (C || _e && Buffer.isBuffer(E) && (C = "buffer"), C || "base64") {
|
|
3460
3460
|
case "file":
|
|
@@ -3642,7 +3642,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3642
3642
|
/* 2.6.1 Compound File Directory Entry */
|
|
3643
3643
|
EntryTypes: ["unknown", "storage", "stream", "lockbytes", "property", "root"]
|
|
3644
3644
|
};
|
|
3645
|
-
function
|
|
3645
|
+
function Le(E, _, C) {
|
|
3646
3646
|
c();
|
|
3647
3647
|
var k = z(E, C);
|
|
3648
3648
|
l.writeFileSync(_, k);
|
|
@@ -3659,9 +3659,9 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3659
3659
|
case "binary":
|
|
3660
3660
|
return typeof C == "string" ? C : U(C);
|
|
3661
3661
|
case "base64":
|
|
3662
|
-
return
|
|
3662
|
+
return tn(typeof C == "string" ? C : U(C));
|
|
3663
3663
|
case "buffer":
|
|
3664
|
-
if (_e) return Buffer.isBuffer(C) ? C :
|
|
3664
|
+
if (_e) return Buffer.isBuffer(C) ? C : Lr(C);
|
|
3665
3665
|
/* falls through */
|
|
3666
3666
|
case "array":
|
|
3667
3667
|
return typeof C == "string" ? Pt(C) : C;
|
|
@@ -3692,7 +3692,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3692
3692
|
return (_ >> 16 | _ >> 8 | _) & 255;
|
|
3693
3693
|
}
|
|
3694
3694
|
for (var Q = typeof Uint8Array < "u", q = Q ? new Uint8Array(256) : [], ke = 0; ke < 256; ++ke) q[ke] = re(ke);
|
|
3695
|
-
function
|
|
3695
|
+
function L(E, _) {
|
|
3696
3696
|
var C = q[E & 255];
|
|
3697
3697
|
return _ <= 8 ? C >>> 8 - _ : (C = C << 8 | q[E >> 8 & 255], _ <= 16 ? C >>> 16 - _ : (C = C << 8 | q[E >> 16 & 255], C >>> 24 - _));
|
|
3698
3698
|
}
|
|
@@ -3700,7 +3700,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3700
3700
|
var C = _ & 7, k = _ >>> 3;
|
|
3701
3701
|
return (E[k] | (C <= 6 ? 0 : E[k + 1] << 8)) >>> C & 3;
|
|
3702
3702
|
}
|
|
3703
|
-
function
|
|
3703
|
+
function Fe(E, _) {
|
|
3704
3704
|
var C = _ & 7, k = _ >>> 3;
|
|
3705
3705
|
return (E[k] | (C <= 5 ? 0 : E[k + 1] << 8)) >>> C & 7;
|
|
3706
3706
|
}
|
|
@@ -3770,7 +3770,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3770
3770
|
var Z = 0;
|
|
3771
3771
|
for (S = 0; S < V; ++S)
|
|
3772
3772
|
if (Z = E[S], Z != 0)
|
|
3773
|
-
for (j =
|
|
3773
|
+
for (j = L(G[S], k) >> k - Z, H = (1 << k + 4 - Z) - 1; H >= 0; --H)
|
|
3774
3774
|
_[j | H << Z] = Z & 15 | S << 4;
|
|
3775
3775
|
return k;
|
|
3776
3776
|
}
|
|
@@ -3854,7 +3854,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3854
3854
|
var T = Be(E, _) + 4;
|
|
3855
3855
|
_ += 4;
|
|
3856
3856
|
for (var S = 0, H = Q ? new Uint8Array(19) : It(19), j = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], V = 1, W = Q ? new Uint8Array(8) : It(8), G = Q ? new Uint8Array(8) : It(8), Z = H.length, se = 0; se < T; ++se)
|
|
3857
|
-
H[O[se]] = S =
|
|
3857
|
+
H[O[se]] = S = Fe(E, _), V < S && (V = S), W[S]++, _ += 3;
|
|
3858
3858
|
var ue = 0;
|
|
3859
3859
|
for (W[0] = 0, se = 1; se <= V; ++se) G[se] = ue = ue + W[se - 1] << 1;
|
|
3860
3860
|
for (se = 0; se < Z; ++se) (ue = H[se]) != 0 && (j[se] = G[ue]++);
|
|
@@ -3871,7 +3871,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3871
3871
|
for (S = 3 + Ve(E, _), _ += 2, ue = Ee[Ee.length - 1]; S-- > 0; ) Ee.push(ue);
|
|
3872
3872
|
break;
|
|
3873
3873
|
case 17:
|
|
3874
|
-
for (S = 3 +
|
|
3874
|
+
for (S = 3 + Fe(E, _), _ += 3; S-- > 0; ) Ee.push(0);
|
|
3875
3875
|
break;
|
|
3876
3876
|
case 18:
|
|
3877
3877
|
for (S = 11 + ce(E, _), _ += 7; S-- > 0; ) Ee.push(0);
|
|
@@ -3889,7 +3889,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
3889
3889
|
if (E[0] == 3 && !(E[1] & 3))
|
|
3890
3890
|
return [Dr(_), 2];
|
|
3891
3891
|
for (var C = 0, k = 0, T = to(_ || 1 << 18), S = 0, H = T.length >>> 0, j = 0, V = 0; !(k & 1); ) {
|
|
3892
|
-
if (k =
|
|
3892
|
+
if (k = Fe(E, C), C += 3, k >>> 1)
|
|
3893
3893
|
k >> 1 == 1 ? (j = 9, V = 5) : (C = Dc(E, C), j = $r, V = zs);
|
|
3894
3894
|
else {
|
|
3895
3895
|
C & 7 && (C += 8 - (C & 7));
|
|
@@ -4010,7 +4010,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
4010
4010
|
}
|
|
4011
4011
|
return S = X(22), S.write_shift(4, 101010256), S.write_shift(2, 0), S.write_shift(2, 0), S.write_shift(2, Z), S.write_shift(2, Z), S.write_shift(4, Ee), S.write_shift(4, G), S.write_shift(2, 0), ft([ft(k), ft(T), S]);
|
|
4012
4012
|
}
|
|
4013
|
-
var
|
|
4013
|
+
var kn = {
|
|
4014
4014
|
htm: "text/html",
|
|
4015
4015
|
xml: "text/xml",
|
|
4016
4016
|
gif: "image/gif",
|
|
@@ -4023,10 +4023,10 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
4023
4023
|
function Hc(E, _) {
|
|
4024
4024
|
if (E.ctype) return E.ctype;
|
|
4025
4025
|
var C = E.name || "", k = C.match(/\.([^\.]+)$/);
|
|
4026
|
-
return k &&
|
|
4026
|
+
return k && kn[k[1]] || _ && (k = (C = _).match(/[\.\\]([^\.\\])+$/), k && kn[k[1]]) ? kn[k[1]] : "application/octet-stream";
|
|
4027
4027
|
}
|
|
4028
4028
|
function Uc(E) {
|
|
4029
|
-
for (var _ =
|
|
4029
|
+
for (var _ = tn(E), C = [], k = 0; k < _.length; k += 76) C.push(_.slice(k, k + 76));
|
|
4030
4030
|
return C.join(`\r
|
|
4031
4031
|
`) + `\r
|
|
4032
4032
|
`;
|
|
@@ -4176,7 +4176,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
4176
4176
|
function Jc(E) {
|
|
4177
4177
|
N(E, !0);
|
|
4178
4178
|
}
|
|
4179
|
-
return e.find = B, e.read =
|
|
4179
|
+
return e.find = B, e.read = F, e.parse = f, e.write = de, e.writeFile = Le, e.utils = {
|
|
4180
4180
|
cfb_new: jc,
|
|
4181
4181
|
cfb_add: gi,
|
|
4182
4182
|
cfb_del: Kc,
|
|
@@ -4195,7 +4195,7 @@ var Xf = /* @__PURE__ */ function() {
|
|
|
4195
4195
|
function jf(t) {
|
|
4196
4196
|
return typeof t == "string" ? oi(t) : Array.isArray(t) ? wf(t) : t;
|
|
4197
4197
|
}
|
|
4198
|
-
function
|
|
4198
|
+
function mn(t, e, r) {
|
|
4199
4199
|
if (typeof Deno < "u") {
|
|
4200
4200
|
if (r && typeof e == "string") switch (r) {
|
|
4201
4201
|
case "utf8":
|
|
@@ -4389,7 +4389,7 @@ function rr(t) {
|
|
|
4389
4389
|
}), !isNaN(e = Number(a))) ? e / r : e;
|
|
4390
4390
|
}
|
|
4391
4391
|
var Qf = ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"];
|
|
4392
|
-
function
|
|
4392
|
+
function Fa(t) {
|
|
4393
4393
|
var e = new Date(t), r = /* @__PURE__ */ new Date(NaN), a = e.getYear(), n = e.getMonth(), i = e.getDate();
|
|
4394
4394
|
if (isNaN(i)) return r;
|
|
4395
4395
|
var s = t.toLowerCase();
|
|
@@ -4464,7 +4464,7 @@ function ye(t, e, r) {
|
|
|
4464
4464
|
if (t.FullPaths) {
|
|
4465
4465
|
if (typeof r == "string") {
|
|
4466
4466
|
var a;
|
|
4467
|
-
return _e ? a =
|
|
4467
|
+
return _e ? a = Lr(r) : a = Ef(r), pe.utils.cfb_add(t, e, a);
|
|
4468
4468
|
}
|
|
4469
4469
|
pe.utils.cfb_add(t, e, r);
|
|
4470
4470
|
} else t.file(e, r);
|
|
@@ -4614,10 +4614,10 @@ function xo(t) {
|
|
|
4614
4614
|
return e.slice(0, i).toString("ucs2");
|
|
4615
4615
|
}
|
|
4616
4616
|
function vo(t) {
|
|
4617
|
-
return
|
|
4617
|
+
return Lr(t, "binary").toString("utf8");
|
|
4618
4618
|
}
|
|
4619
|
-
var
|
|
4620
|
-
return
|
|
4619
|
+
var Tn = "foo bar bazâð£", Re = _e && (/* @__PURE__ */ vo(Tn) == /* @__PURE__ */ Ei(Tn) && vo || /* @__PURE__ */ xo(Tn) == /* @__PURE__ */ Ei(Tn) && xo) || Ei, ur = _e ? function(t) {
|
|
4620
|
+
return Lr(t, "utf8").toString("binary");
|
|
4621
4621
|
} : function(t) {
|
|
4622
4622
|
for (var e = [], r = 0, a = 0, n = 0; r < t.length; )
|
|
4623
4623
|
switch (a = t.charCodeAt(r++), !0) {
|
|
@@ -4634,7 +4634,7 @@ var _n = "foo bar bazâð£", Re = _e && (/* @__PURE__ */ vo(_n) == /* @
|
|
|
4634
4634
|
e.push(String.fromCharCode(224 + (a >> 12))), e.push(String.fromCharCode(128 + (a >> 6 & 63))), e.push(String.fromCharCode(128 + (a & 63)));
|
|
4635
4635
|
}
|
|
4636
4636
|
return e.join("");
|
|
4637
|
-
},
|
|
4637
|
+
}, an = /* @__PURE__ */ function() {
|
|
4638
4638
|
var t = {};
|
|
4639
4639
|
return function(r, a) {
|
|
4640
4640
|
var n = r + "|" + (a || "");
|
|
@@ -4678,13 +4678,13 @@ var G0 = /(^\s|\s$|\n)/;
|
|
|
4678
4678
|
function pt(t, e) {
|
|
4679
4679
|
return "<" + t + (e.match(G0) ? ' xml:space="preserve"' : "") + ">" + e + "</" + t + ">";
|
|
4680
4680
|
}
|
|
4681
|
-
function
|
|
4681
|
+
function nn(t) {
|
|
4682
4682
|
return Je(t).map(function(e) {
|
|
4683
4683
|
return " " + e + '="' + t[e] + '"';
|
|
4684
4684
|
}).join("");
|
|
4685
4685
|
}
|
|
4686
4686
|
function ae(t, e, r) {
|
|
4687
|
-
return "<" + t + (r != null ?
|
|
4687
|
+
return "<" + t + (r != null ? nn(r) : "") + (e != null ? (e.match(G0) ? ' xml:space="preserve"' : "") + ">" + e + "</" + t : "/") + ">";
|
|
4688
4688
|
}
|
|
4689
4689
|
function Vi(t, e) {
|
|
4690
4690
|
try {
|
|
@@ -4714,7 +4714,7 @@ function ds(t) {
|
|
|
4714
4714
|
if (typeof Uint8Array < "u" && t instanceof Uint8Array) return Re(Hr(is(t)));
|
|
4715
4715
|
throw new Error("Bad input format: expected Buffer or string");
|
|
4716
4716
|
}
|
|
4717
|
-
var
|
|
4717
|
+
var sn = /<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/mg, st = {
|
|
4718
4718
|
CORE_PROPS: "http://schemas.openxmlformats.org/package/2006/metadata/core-properties",
|
|
4719
4719
|
CUST_PROPS: "http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",
|
|
4720
4720
|
EXT_PROPS: "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",
|
|
@@ -4757,7 +4757,7 @@ var Eo = function(t) {
|
|
|
4757
4757
|
return e;
|
|
4758
4758
|
}, Co = _e ? function(t) {
|
|
4759
4759
|
return t[0].length > 0 && Buffer.isBuffer(t[0][0]) ? Buffer.concat(t[0].map(function(e) {
|
|
4760
|
-
return Buffer.isBuffer(e) ? e :
|
|
4760
|
+
return Buffer.isBuffer(e) ? e : Lr(e);
|
|
4761
4761
|
})) : Eo(t);
|
|
4762
4762
|
} : Eo, yo = function(t, e, r) {
|
|
4763
4763
|
for (var a = [], n = e; n < r; n += 2) a.push(String.fromCharCode(kr(t, n)));
|
|
@@ -4772,23 +4772,23 @@ var Eo = function(t) {
|
|
|
4772
4772
|
} : ko, _o = function(t, e, r) {
|
|
4773
4773
|
for (var a = [], n = e; n < r; n++) a.push(String.fromCharCode(xa(t, n)));
|
|
4774
4774
|
return a.join("");
|
|
4775
|
-
},
|
|
4775
|
+
}, gn = _e ? function(e, r, a) {
|
|
4776
4776
|
return Buffer.isBuffer(e) ? e.toString("utf8", r, a) : _o(e, r, a);
|
|
4777
4777
|
} : _o, X0 = function(t, e) {
|
|
4778
4778
|
var r = Ot(t, e);
|
|
4779
|
-
return r > 0 ?
|
|
4779
|
+
return r > 0 ? gn(t, e + 4, e + 4 + r - 1) : "";
|
|
4780
4780
|
}, j0 = X0, K0 = function(t, e) {
|
|
4781
4781
|
var r = Ot(t, e);
|
|
4782
|
-
return r > 0 ?
|
|
4782
|
+
return r > 0 ? gn(t, e + 4, e + 4 + r - 1) : "";
|
|
4783
4783
|
}, Y0 = K0, J0 = function(t, e) {
|
|
4784
4784
|
var r = 2 * Ot(t, e);
|
|
4785
|
-
return r > 0 ?
|
|
4785
|
+
return r > 0 ? gn(t, e + 4, e + 4 + r - 1) : "";
|
|
4786
4786
|
}, q0 = J0, Z0 = function(e, r) {
|
|
4787
4787
|
var a = Ot(e, r);
|
|
4788
4788
|
return a > 0 ? ps(e, r + 4, r + 4 + a) : "";
|
|
4789
4789
|
}, Q0 = Z0, el = function(t, e) {
|
|
4790
4790
|
var r = Ot(t, e);
|
|
4791
|
-
return r > 0 ?
|
|
4791
|
+
return r > 0 ? gn(t, e + 4, e + 4 + r) : "";
|
|
4792
4792
|
}, tl = el, rl = function(t, e) {
|
|
4793
4793
|
return ph(t, e);
|
|
4794
4794
|
}, Kn = rl, ms = function(e) {
|
|
@@ -4843,7 +4843,7 @@ function za(t, e) {
|
|
|
4843
4843
|
t *= 2;
|
|
4844
4844
|
break;
|
|
4845
4845
|
case "utf8":
|
|
4846
|
-
r =
|
|
4846
|
+
r = gn(this, this.l, this.l + t);
|
|
4847
4847
|
break;
|
|
4848
4848
|
case "utf16le":
|
|
4849
4849
|
t *= 2, r = ps(this, this.l, this.l + t);
|
|
@@ -4870,12 +4870,12 @@ function za(t, e) {
|
|
|
4870
4870
|
t = 4 + Ot(this, this.l), r = tl(this, this.l), t & 3 && (t += 4 - (t & 3));
|
|
4871
4871
|
break;
|
|
4872
4872
|
case "cstr":
|
|
4873
|
-
for (t = 0, r = ""; (s = xa(this, this.l + t++)) !== 0; ) i.push(
|
|
4873
|
+
for (t = 0, r = ""; (s = xa(this, this.l + t++)) !== 0; ) i.push(_n(s));
|
|
4874
4874
|
r = i.join("");
|
|
4875
4875
|
break;
|
|
4876
4876
|
case "_wstr":
|
|
4877
4877
|
for (t = 0, r = ""; (s = kr(this, this.l + t)) !== 0; )
|
|
4878
|
-
i.push(
|
|
4878
|
+
i.push(_n(s)), t += 2;
|
|
4879
4879
|
t += 2, r = i.join("");
|
|
4880
4880
|
break;
|
|
4881
4881
|
/* sbcs and dbcs support continue records in the SST way TODO codepages */
|
|
@@ -4883,7 +4883,7 @@ function za(t, e) {
|
|
|
4883
4883
|
for (r = "", c = this.l, l = 0; l < t; ++l) {
|
|
4884
4884
|
if (this.lens && this.lens.indexOf(c) !== -1)
|
|
4885
4885
|
return s = xa(this, c), this.l = c + 1, o = za.call(this, t - l, s ? "dbcs-cont" : "sbcs-cont"), i.join("") + o;
|
|
4886
|
-
i.push(
|
|
4886
|
+
i.push(_n(kr(this, c))), c += 2;
|
|
4887
4887
|
}
|
|
4888
4888
|
r = i.join(""), t *= 2;
|
|
4889
4889
|
break;
|
|
@@ -4893,7 +4893,7 @@ function za(t, e) {
|
|
|
4893
4893
|
for (r = "", c = this.l, l = 0; l != t; ++l) {
|
|
4894
4894
|
if (this.lens && this.lens.indexOf(c) !== -1)
|
|
4895
4895
|
return s = xa(this, c), this.l = c + 1, o = za.call(this, t - l, s ? "dbcs-cont" : "sbcs-cont"), i.join("") + o;
|
|
4896
|
-
i.push(
|
|
4896
|
+
i.push(_n(xa(this, c))), c += 1;
|
|
4897
4897
|
}
|
|
4898
4898
|
r = i.join("");
|
|
4899
4899
|
break;
|
|
@@ -4989,13 +4989,13 @@ function X(t) {
|
|
|
4989
4989
|
var e = Dr(t);
|
|
4990
4990
|
return dt(e, 0), e;
|
|
4991
4991
|
}
|
|
4992
|
-
function
|
|
4992
|
+
function Fr(t, e, r) {
|
|
4993
4993
|
if (t) {
|
|
4994
4994
|
var a, n, i;
|
|
4995
4995
|
dt(t, t.l || 0);
|
|
4996
4996
|
for (var s = t.length, o = 0, l = 0; t.l < s; ) {
|
|
4997
4997
|
o = t.read_shift(1), o & 128 && (o = (o & 127) + ((t.read_shift(1) & 127) << 7));
|
|
4998
|
-
var c =
|
|
4998
|
+
var c = un[o] || un[65535];
|
|
4999
4999
|
for (a = t.read_shift(1), i = a & 127, n = 1; n < 4 && a & 128; ++n) i += ((a = t.read_shift(1)) & 127) << 7 * n;
|
|
5000
5000
|
l = t.l + i;
|
|
5001
5001
|
var f = c.f && c.f(t, i, r);
|
|
@@ -5003,7 +5003,7 @@ function Lr(t, e, r) {
|
|
|
5003
5003
|
}
|
|
5004
5004
|
}
|
|
5005
5005
|
}
|
|
5006
|
-
function
|
|
5006
|
+
function Ft() {
|
|
5007
5007
|
var t = [], e = _e ? 256 : 2048, r = function(c) {
|
|
5008
5008
|
var f = X(c);
|
|
5009
5009
|
return dt(f, 0), f;
|
|
@@ -5021,7 +5021,7 @@ function Lt() {
|
|
|
5021
5021
|
function Y(t, e, r, a) {
|
|
5022
5022
|
var n = +e, i;
|
|
5023
5023
|
if (!isNaN(n)) {
|
|
5024
|
-
a || (a =
|
|
5024
|
+
a || (a = un[n].p || (r || []).length || 0), i = 1 + (n >= 128 ? 1 : 0) + 1, a >= 128 && ++i, a >= 16384 && ++i, a >= 2097152 && ++i;
|
|
5025
5025
|
var s = t.next(i);
|
|
5026
5026
|
n <= 127 ? s.write_shift(1, n) : (s.write_shift(1, (n & 127) + 128), s.write_shift(1, n >> 7));
|
|
5027
5027
|
for (var o = 0; o != 4; ++o)
|
|
@@ -5196,16 +5196,16 @@ function ht(t, e) {
|
|
|
5196
5196
|
var r = !1;
|
|
5197
5197
|
return e == null && (r = !0, e = X(4 + 2 * t.length)), e.write_shift(4, t.length), t.length > 0 && e.write_shift(0, t, "dbcs"), r ? e.slice(0, e.l) : e;
|
|
5198
5198
|
}
|
|
5199
|
-
function
|
|
5199
|
+
function Lh(t) {
|
|
5200
5200
|
return { ich: t.read_shift(2), ifnt: t.read_shift(2) };
|
|
5201
5201
|
}
|
|
5202
|
-
function
|
|
5202
|
+
function Fh(t, e) {
|
|
5203
5203
|
return e || (e = X(4)), e.write_shift(2, 0), e.write_shift(2, 0), e;
|
|
5204
5204
|
}
|
|
5205
5205
|
function vs(t, e) {
|
|
5206
5206
|
var r = t.l, a = t.read_shift(1), n = Ct(t), i = [], s = { t: n, h: n };
|
|
5207
5207
|
if (a & 1) {
|
|
5208
|
-
for (var o = t.read_shift(4), l = 0; l != o; ++l) i.push(
|
|
5208
|
+
for (var o = t.read_shift(4), l = 0; l != o; ++l) i.push(Lh(t));
|
|
5209
5209
|
s.r = i;
|
|
5210
5210
|
} else s.r = [{ ich: 0, ifnt: 0 }];
|
|
5211
5211
|
return t.l = r + e, s;
|
|
@@ -5217,7 +5217,7 @@ function Ah(t, e) {
|
|
|
5217
5217
|
var Ih = vs;
|
|
5218
5218
|
function Nh(t, e) {
|
|
5219
5219
|
var r = !1;
|
|
5220
|
-
return e == null && (r = !0, e = X(23 + 4 * t.t.length)), e.write_shift(1, 1), ht(t.t, e), e.write_shift(4, 1),
|
|
5220
|
+
return e == null && (r = !0, e = X(23 + 4 * t.t.length)), e.write_shift(1, 1), ht(t.t, e), e.write_shift(4, 1), Fh({}, e), r ? e.slice(0, e.l) : e;
|
|
5221
5221
|
}
|
|
5222
5222
|
function Kt(t) {
|
|
5223
5223
|
var e = t.read_shift(4), r = t.read_shift(2);
|
|
@@ -5279,10 +5279,10 @@ function Dh(t) {
|
|
|
5279
5279
|
case 1:
|
|
5280
5280
|
e.index = n;
|
|
5281
5281
|
var c = Yr[n];
|
|
5282
|
-
c && (e.rgb =
|
|
5282
|
+
c && (e.rgb = ln(c));
|
|
5283
5283
|
break;
|
|
5284
5284
|
case 2:
|
|
5285
|
-
e.rgb =
|
|
5285
|
+
e.rgb = ln([s, o, l]);
|
|
5286
5286
|
break;
|
|
5287
5287
|
case 3:
|
|
5288
5288
|
e.theme = n;
|
|
@@ -5341,7 +5341,7 @@ function Vh(t) {
|
|
|
5341
5341
|
function Hh(t) {
|
|
5342
5342
|
return ll(t, 2);
|
|
5343
5343
|
}
|
|
5344
|
-
var ys = 2,
|
|
5344
|
+
var ys = 2, Lt = 3, Sn = 11, bo = 12, qn = 19, bn = 64, Uh = 65, Wh = 71, $h = 4108, Gh = 4126, ct = 80, cl = 81, zh = [ct, cl], Ui = {
|
|
5345
5345
|
/*::[*/
|
|
5346
5346
|
1: { n: "CodePage", t: ys },
|
|
5347
5347
|
/*::[*/
|
|
@@ -5349,21 +5349,21 @@ var ys = 2, Ft = 3, Tn = 11, bo = 12, qn = 19, Sn = 64, Uh = 65, Wh = 71, $h = 4
|
|
|
5349
5349
|
/*::[*/
|
|
5350
5350
|
3: { n: "PresentationFormat", t: ct },
|
|
5351
5351
|
/*::[*/
|
|
5352
|
-
4: { n: "ByteCount", t:
|
|
5352
|
+
4: { n: "ByteCount", t: Lt },
|
|
5353
5353
|
/*::[*/
|
|
5354
|
-
5: { n: "LineCount", t:
|
|
5354
|
+
5: { n: "LineCount", t: Lt },
|
|
5355
5355
|
/*::[*/
|
|
5356
|
-
6: { n: "ParagraphCount", t:
|
|
5356
|
+
6: { n: "ParagraphCount", t: Lt },
|
|
5357
5357
|
/*::[*/
|
|
5358
|
-
7: { n: "SlideCount", t:
|
|
5358
|
+
7: { n: "SlideCount", t: Lt },
|
|
5359
5359
|
/*::[*/
|
|
5360
|
-
8: { n: "NoteCount", t:
|
|
5360
|
+
8: { n: "NoteCount", t: Lt },
|
|
5361
5361
|
/*::[*/
|
|
5362
|
-
9: { n: "HiddenCount", t:
|
|
5362
|
+
9: { n: "HiddenCount", t: Lt },
|
|
5363
5363
|
/*::[*/
|
|
5364
|
-
10: { n: "MultimediaClipCount", t:
|
|
5364
|
+
10: { n: "MultimediaClipCount", t: Lt },
|
|
5365
5365
|
/*::[*/
|
|
5366
|
-
11: { n: "ScaleCrop", t:
|
|
5366
|
+
11: { n: "ScaleCrop", t: Sn },
|
|
5367
5367
|
/*::[*/
|
|
5368
5368
|
12: {
|
|
5369
5369
|
n: "HeadingPairs",
|
|
@@ -5381,15 +5381,15 @@ var ys = 2, Ft = 3, Tn = 11, bo = 12, qn = 19, Sn = 64, Uh = 65, Wh = 71, $h = 4
|
|
|
5381
5381
|
/*::[*/
|
|
5382
5382
|
15: { n: "Company", t: ct },
|
|
5383
5383
|
/*::[*/
|
|
5384
|
-
16: { n: "LinksUpToDate", t:
|
|
5384
|
+
16: { n: "LinksUpToDate", t: Sn },
|
|
5385
5385
|
/*::[*/
|
|
5386
|
-
17: { n: "CharacterCount", t:
|
|
5386
|
+
17: { n: "CharacterCount", t: Lt },
|
|
5387
5387
|
/*::[*/
|
|
5388
|
-
19: { n: "SharedDoc", t:
|
|
5388
|
+
19: { n: "SharedDoc", t: Sn },
|
|
5389
5389
|
/*::[*/
|
|
5390
|
-
22: { n: "HyperlinksChanged", t:
|
|
5390
|
+
22: { n: "HyperlinksChanged", t: Sn },
|
|
5391
5391
|
/*::[*/
|
|
5392
|
-
23: { n: "AppVersion", t:
|
|
5392
|
+
23: { n: "AppVersion", t: Lt, p: "version" },
|
|
5393
5393
|
/*::[*/
|
|
5394
5394
|
24: { n: "DigSig", t: Uh },
|
|
5395
5395
|
/*::[*/
|
|
@@ -5429,25 +5429,25 @@ var ys = 2, Ft = 3, Tn = 11, bo = 12, qn = 19, Sn = 64, Uh = 65, Wh = 71, $h = 4
|
|
|
5429
5429
|
/*::[*/
|
|
5430
5430
|
9: { n: "RevNumber", t: ct },
|
|
5431
5431
|
/*::[*/
|
|
5432
|
-
10: { n: "EditTime", t:
|
|
5432
|
+
10: { n: "EditTime", t: bn },
|
|
5433
5433
|
/*::[*/
|
|
5434
|
-
11: { n: "LastPrinted", t:
|
|
5434
|
+
11: { n: "LastPrinted", t: bn },
|
|
5435
5435
|
/*::[*/
|
|
5436
|
-
12: { n: "CreatedDate", t:
|
|
5436
|
+
12: { n: "CreatedDate", t: bn },
|
|
5437
5437
|
/*::[*/
|
|
5438
|
-
13: { n: "ModifiedDate", t:
|
|
5438
|
+
13: { n: "ModifiedDate", t: bn },
|
|
5439
5439
|
/*::[*/
|
|
5440
|
-
14: { n: "PageCount", t:
|
|
5440
|
+
14: { n: "PageCount", t: Lt },
|
|
5441
5441
|
/*::[*/
|
|
5442
|
-
15: { n: "WordCount", t:
|
|
5442
|
+
15: { n: "WordCount", t: Lt },
|
|
5443
5443
|
/*::[*/
|
|
5444
|
-
16: { n: "CharCount", t:
|
|
5444
|
+
16: { n: "CharCount", t: Lt },
|
|
5445
5445
|
/*::[*/
|
|
5446
5446
|
17: { n: "Thumbnail", t: Wh },
|
|
5447
5447
|
/*::[*/
|
|
5448
5448
|
18: { n: "Application", t: ct },
|
|
5449
5449
|
/*::[*/
|
|
5450
|
-
19: { n: "DocSecurity", t:
|
|
5450
|
+
19: { n: "DocSecurity", t: Lt },
|
|
5451
5451
|
/*::[*/
|
|
5452
5452
|
255: {},
|
|
5453
5453
|
/* [MS-OLEPS] 2.18 */
|
|
@@ -5457,7 +5457,7 @@ var ys = 2, Ft = 3, Tn = 11, bo = 12, qn = 19, Sn = 64, Uh = 65, Wh = 71, $h = 4
|
|
|
5457
5457
|
2147483651: { n: "Behavior", t: qn },
|
|
5458
5458
|
/*::[*/
|
|
5459
5459
|
1919054434: {}
|
|
5460
|
-
},
|
|
5460
|
+
}, Lo = {
|
|
5461
5461
|
/*::[*/
|
|
5462
5462
|
1: "US",
|
|
5463
5463
|
// United States
|
|
@@ -5902,7 +5902,7 @@ var Kh = /* @__PURE__ */ jh([
|
|
|
5902
5902
|
/* Image */
|
|
5903
5903
|
"image/png": "TODO",
|
|
5904
5904
|
sheet: "js"
|
|
5905
|
-
},
|
|
5905
|
+
}, Ln = {
|
|
5906
5906
|
workbooks: {
|
|
5907
5907
|
xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",
|
|
5908
5908
|
xlsm: "application/vnd.ms-excel.sheet.macroEnabled.main+xml",
|
|
@@ -6028,13 +6028,13 @@ function hl(t, e) {
|
|
|
6028
6028
|
var i = function(l) {
|
|
6029
6029
|
t[l] && t[l].length > 0 && (n = t[l][0], a[a.length] = ae("Override", null, {
|
|
6030
6030
|
PartName: (n[0] == "/" ? "" : "/") + n,
|
|
6031
|
-
ContentType:
|
|
6031
|
+
ContentType: Ln[l][e.bookType] || Ln[l].xlsx
|
|
6032
6032
|
}));
|
|
6033
6033
|
}, s = function(l) {
|
|
6034
6034
|
(t[l] || []).forEach(function(c) {
|
|
6035
6035
|
a[a.length] = ae("Override", null, {
|
|
6036
6036
|
PartName: (c[0] == "/" ? "" : "/") + c,
|
|
6037
|
-
ContentType:
|
|
6037
|
+
ContentType: Ln[l][e.bookType] || Ln[l].xlsx
|
|
6038
6038
|
});
|
|
6039
6039
|
});
|
|
6040
6040
|
}, o = function(l) {
|
|
@@ -6073,7 +6073,7 @@ var Se = {
|
|
|
6073
6073
|
PEOPLE: "http://schemas.microsoft.com/office/2017/10/relationships/person",
|
|
6074
6074
|
VBA: "http://schemas.microsoft.com/office/2006/relationships/vbaProject"
|
|
6075
6075
|
};
|
|
6076
|
-
function
|
|
6076
|
+
function on(t) {
|
|
6077
6077
|
var e = t.lastIndexOf("/");
|
|
6078
6078
|
return t.slice(0, e + 1) + "_rels/" + t.slice(e + 1) + ".rels";
|
|
6079
6079
|
}
|
|
@@ -6109,7 +6109,7 @@ function Pe(t, e, r, a, n, i) {
|
|
|
6109
6109
|
}
|
|
6110
6110
|
var Jh = "application/vnd.oasis.opendocument.spreadsheet";
|
|
6111
6111
|
function qh(t, e) {
|
|
6112
|
-
for (var r = ds(t), a, n; a =
|
|
6112
|
+
for (var r = ds(t), a, n; a = sn.exec(r); ) switch (a[3]) {
|
|
6113
6113
|
case "manifest":
|
|
6114
6114
|
break;
|
|
6115
6115
|
// 4.2 <manifest:manifest>
|
|
@@ -6137,7 +6137,7 @@ function Zh(t) {
|
|
|
6137
6137
|
`);
|
|
6138
6138
|
return e.push("</manifest:manifest>"), e.join("");
|
|
6139
6139
|
}
|
|
6140
|
-
function
|
|
6140
|
+
function Fo(t, e, r) {
|
|
6141
6141
|
return [
|
|
6142
6142
|
' <rdf:Description rdf:about="' + t + `">
|
|
6143
6143
|
`,
|
|
@@ -6162,8 +6162,8 @@ function eu(t) {
|
|
|
6162
6162
|
e.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
|
6163
6163
|
`);
|
|
6164
6164
|
for (var r = 0; r != t.length; ++r)
|
|
6165
|
-
e.push(
|
|
6166
|
-
return e.push(
|
|
6165
|
+
e.push(Fo(t[r][0], t[r][1])), e.push(Qh("", t[r][0]));
|
|
6166
|
+
return e.push(Fo("", "Document", "pkg")), e.push("</rdf:RDF>"), e.join("");
|
|
6167
6167
|
}
|
|
6168
6168
|
function ul() {
|
|
6169
6169
|
return '<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS ' + $n.version + "</meta:generator></office:meta></office:document-meta>";
|
|
@@ -6286,7 +6286,7 @@ function gl(t, e, r, a) {
|
|
|
6286
6286
|
function ru(t, e, r) {
|
|
6287
6287
|
var a = {};
|
|
6288
6288
|
return e || (e = {}), t = Re(t), Jr.forEach(function(n) {
|
|
6289
|
-
var i = (t.match(
|
|
6289
|
+
var i = (t.match(an(n[0])) || [])[1];
|
|
6290
6290
|
switch (n[2]) {
|
|
6291
6291
|
case "string":
|
|
6292
6292
|
i && (e[n[1]] = Ie(i));
|
|
@@ -6515,7 +6515,7 @@ function hu(t) {
|
|
|
6515
6515
|
function uu(t) {
|
|
6516
6516
|
var e = t.l, r = Zn(t, cl);
|
|
6517
6517
|
t[t.l] == 0 && t[t.l + 1] == 0 && t.l - e & 2 && (t.l += 2);
|
|
6518
|
-
var a = Zn(t,
|
|
6518
|
+
var a = Zn(t, Lt);
|
|
6519
6519
|
return [r, a];
|
|
6520
6520
|
}
|
|
6521
6521
|
function du(t) {
|
|
@@ -6822,7 +6822,7 @@ function vu(t) {
|
|
|
6822
6822
|
function Tl(t, e, r) {
|
|
6823
6823
|
return r || (r = X(2)), r.write_shift(1, e == "e" ? +t : +!!t), r.write_shift(1, e == "e" ? 1 : 0), r;
|
|
6824
6824
|
}
|
|
6825
|
-
function
|
|
6825
|
+
function xn(t, e, r) {
|
|
6826
6826
|
var a = t.read_shift(r && r.biff >= 12 ? 2 : 1), n = "sbcs-cont";
|
|
6827
6827
|
if (r && r.biff >= 8, !r || r.biff == 8) {
|
|
6828
6828
|
var i = t.read_shift(1);
|
|
@@ -6855,12 +6855,12 @@ function na(t, e, r) {
|
|
|
6855
6855
|
var n = t.read_shift(1);
|
|
6856
6856
|
return n === 0 ? a = t.read_shift(e, "sbcs-cont") : a = t.read_shift(e, "dbcs-cont"), a;
|
|
6857
6857
|
}
|
|
6858
|
-
function
|
|
6858
|
+
function vn(t, e, r) {
|
|
6859
6859
|
var a = t.read_shift(r && r.biff == 2 ? 1 : 2);
|
|
6860
6860
|
return a === 0 ? (t.l++, "") : na(t, a, r);
|
|
6861
6861
|
}
|
|
6862
6862
|
function ua(t, e, r) {
|
|
6863
|
-
if (r.biff > 5) return
|
|
6863
|
+
if (r.biff > 5) return vn(t, e, r);
|
|
6864
6864
|
var a = t.read_shift(1);
|
|
6865
6865
|
return a === 0 ? (t.l++, "") : t.read_shift(a, r.biff <= 4 || !t.lens ? "cpstr" : "sbcs-cont");
|
|
6866
6866
|
}
|
|
@@ -6959,7 +6959,7 @@ function bl(t) {
|
|
|
6959
6959
|
var e = t.read_shift(1), r = t.read_shift(1), a = t.read_shift(1), n = t.read_shift(1);
|
|
6960
6960
|
return [e, r, a, n];
|
|
6961
6961
|
}
|
|
6962
|
-
function
|
|
6962
|
+
function Ll(t, e) {
|
|
6963
6963
|
var r = bl(t);
|
|
6964
6964
|
return r[3] = 0, r;
|
|
6965
6965
|
}
|
|
@@ -6974,20 +6974,20 @@ function bu(t) {
|
|
|
6974
6974
|
var e = t.read_shift(2), r = t.read_shift(2);
|
|
6975
6975
|
return t.l += 8, { type: e, flags: r };
|
|
6976
6976
|
}
|
|
6977
|
-
function
|
|
6977
|
+
function Lu(t, e, r) {
|
|
6978
6978
|
return e === 0 ? "" : ua(t, e, r);
|
|
6979
6979
|
}
|
|
6980
|
-
function
|
|
6980
|
+
function Fu(t, e, r) {
|
|
6981
6981
|
var a = r.biff > 8 ? 4 : 2, n = t.read_shift(a), i = t.read_shift(a, "i"), s = t.read_shift(a, "i");
|
|
6982
6982
|
return [n, i, s];
|
|
6983
6983
|
}
|
|
6984
|
-
function
|
|
6984
|
+
function Fl(t) {
|
|
6985
6985
|
var e = t.read_shift(2), r = Cs(t);
|
|
6986
6986
|
return [e, r];
|
|
6987
6987
|
}
|
|
6988
6988
|
function Au(t, e, r) {
|
|
6989
6989
|
t.l += 4, e -= 4;
|
|
6990
|
-
var a = t.l + e, n =
|
|
6990
|
+
var a = t.l + e, n = xn(t, e, r), i = t.read_shift(2);
|
|
6991
6991
|
if (a -= t.l, i !== a) throw new Error("Malformed AddinUdf: padding = " + a + " != " + i);
|
|
6992
6992
|
return t.l += i, n;
|
|
6993
6993
|
}
|
|
@@ -7089,7 +7089,7 @@ function Pu(t, e) {
|
|
|
7089
7089
|
}
|
|
7090
7090
|
return t.l != r && (t.l = r), a;
|
|
7091
7091
|
}
|
|
7092
|
-
function
|
|
7092
|
+
function An(t, e) {
|
|
7093
7093
|
var r = { BIFFVer: 0, dt: 0 };
|
|
7094
7094
|
switch (r.BIFFVer = t.read_shift(2), e -= 2, e >= 2 && (r.dt = t.read_shift(2), t.l -= 2), r.BIFFVer) {
|
|
7095
7095
|
case 1536:
|
|
@@ -7169,7 +7169,7 @@ function Hu(t, e, r) {
|
|
|
7169
7169
|
i = "VBAModule";
|
|
7170
7170
|
break;
|
|
7171
7171
|
}
|
|
7172
|
-
var s =
|
|
7172
|
+
var s = xn(t, 0, r);
|
|
7173
7173
|
return s.length === 0 && (s = "Sheet1"), { pos: a, hs: n, dt: i, name: s };
|
|
7174
7174
|
}
|
|
7175
7175
|
function Uu(t, e) {
|
|
@@ -7264,7 +7264,7 @@ function Qu(t, e, r) {
|
|
|
7264
7264
|
t.l += 10;
|
|
7265
7265
|
break;
|
|
7266
7266
|
}
|
|
7267
|
-
return a.name =
|
|
7267
|
+
return a.name = xn(t, 0, r), a;
|
|
7268
7268
|
}
|
|
7269
7269
|
function e1(t, e) {
|
|
7270
7270
|
var r = t.name || "Arial", a = e && e.biff == 5, n = a ? 15 + r.length : 16 + 2 * r.length, i = X(n);
|
|
@@ -7282,7 +7282,7 @@ function a1(t, e, r) {
|
|
|
7282
7282
|
r.biffguess && r.biff == 2 && (r.biff = 5);
|
|
7283
7283
|
var a = t.l + e, n = gr(t);
|
|
7284
7284
|
r.biff == 2 && t.l++;
|
|
7285
|
-
var i =
|
|
7285
|
+
var i = vn(t, a - t.l, r);
|
|
7286
7286
|
return n.val = i, n;
|
|
7287
7287
|
}
|
|
7288
7288
|
function n1(t, e, r, a, n) {
|
|
@@ -7309,11 +7309,11 @@ function l1(t, e) {
|
|
|
7309
7309
|
return a.write_shift(r, t.s.r), a.write_shift(r, t.e.r + 1), a.write_shift(2, t.s.c), a.write_shift(2, t.e.c + 1), a.write_shift(2, 0), a;
|
|
7310
7310
|
}
|
|
7311
7311
|
function c1(t) {
|
|
7312
|
-
var e = t.read_shift(2), r = t.read_shift(2), a =
|
|
7312
|
+
var e = t.read_shift(2), r = t.read_shift(2), a = Fl(t);
|
|
7313
7313
|
return { r: e, c: r, ixfe: a[0], rknum: a[1] };
|
|
7314
7314
|
}
|
|
7315
7315
|
function f1(t, e) {
|
|
7316
|
-
for (var r = t.l + e - 2, a = t.read_shift(2), n = t.read_shift(2), i = []; t.l < r; ) i.push(
|
|
7316
|
+
for (var r = t.l + e - 2, a = t.read_shift(2), n = t.read_shift(2), i = []; t.l < r; ) i.push(Fl(t));
|
|
7317
7317
|
if (t.l !== r) throw new Error("MulRK read error");
|
|
7318
7318
|
var s = t.read_shift(2);
|
|
7319
7319
|
if (i.length != s - n + 1) throw new Error("MulRK length mismatch");
|
|
@@ -7369,12 +7369,12 @@ function v1(t, e, r, a) {
|
|
|
7369
7369
|
var n = X(14);
|
|
7370
7370
|
return ia(t, e, a, n), aa(r, n), n;
|
|
7371
7371
|
}
|
|
7372
|
-
var Uo =
|
|
7372
|
+
var Uo = Lu;
|
|
7373
7373
|
function w1(t, e, r) {
|
|
7374
7374
|
var a = t.l + e, n = t.read_shift(2), i = t.read_shift(2);
|
|
7375
7375
|
if (r.sbcch = i, i == 1025 || i == 14849) return [i, n];
|
|
7376
7376
|
if (i < 1 || i > 255) throw new Error("Unexpected SupBook type: " + i);
|
|
7377
|
-
for (var s = na(t, i), o = []; a > t.l; ) o.push(
|
|
7377
|
+
for (var s = na(t, i), o = []; a > t.l; ) o.push(vn(t));
|
|
7378
7378
|
return [i, n, s, o];
|
|
7379
7379
|
}
|
|
7380
7380
|
function Wo(t, e, r) {
|
|
@@ -7422,13 +7422,13 @@ function $o(t, e, r) {
|
|
|
7422
7422
|
}
|
|
7423
7423
|
function Ml(t, e, r) {
|
|
7424
7424
|
if (r.biff < 8) return C1(t, e, r);
|
|
7425
|
-
for (var a = [], n = t.l + e, i = t.read_shift(r.biff > 8 ? 4 : 2); i-- !== 0; ) a.push(
|
|
7425
|
+
for (var a = [], n = t.l + e, i = t.read_shift(r.biff > 8 ? 4 : 2); i-- !== 0; ) a.push(Fu(t, r.biff > 8 ? 12 : 6, r));
|
|
7426
7426
|
if (t.l != n) throw new Error("Bad ExternSheet: " + t.l + " != " + n);
|
|
7427
7427
|
return a;
|
|
7428
7428
|
}
|
|
7429
7429
|
function C1(t, e, r) {
|
|
7430
7430
|
t[t.l + 1] == 3 && t[t.l]++;
|
|
7431
|
-
var a =
|
|
7431
|
+
var a = xn(t, e, r);
|
|
7432
7432
|
return a.charCodeAt(0) == 3 ? a.slice(1) : a;
|
|
7433
7433
|
}
|
|
7434
7434
|
function y1(t, e, r) {
|
|
@@ -7477,13 +7477,13 @@ function b1(t, e) {
|
|
|
7477
7477
|
for (var r = [], a = t.read_shift(2); a--; ) r.push(ui(t));
|
|
7478
7478
|
return r;
|
|
7479
7479
|
}
|
|
7480
|
-
function
|
|
7480
|
+
function L1(t) {
|
|
7481
7481
|
var e = X(2 + t.length * 8);
|
|
7482
7482
|
e.write_shift(2, t.length);
|
|
7483
7483
|
for (var r = 0; r < t.length; ++r) Al(t[r], e);
|
|
7484
7484
|
return e;
|
|
7485
7485
|
}
|
|
7486
|
-
function
|
|
7486
|
+
function F1(t, e, r) {
|
|
7487
7487
|
if (r && r.biff < 8) return I1(t, e, r);
|
|
7488
7488
|
var a = Nl(t), n = Pu(t, e - 22, a[1]);
|
|
7489
7489
|
return { cmo: a, ft: n };
|
|
@@ -7554,17 +7554,17 @@ function D1(t) {
|
|
|
7554
7554
|
}
|
|
7555
7555
|
function R1(t) {
|
|
7556
7556
|
var e = [0, 0], r;
|
|
7557
|
-
return r = t.read_shift(2), e[0] =
|
|
7557
|
+
return r = t.read_shift(2), e[0] = Lo[r] || r, r = t.read_shift(2), e[1] = Lo[r] || r, e;
|
|
7558
7558
|
}
|
|
7559
7559
|
function B1(t) {
|
|
7560
7560
|
return t || (t = X(4)), t.write_shift(2, 1), t.write_shift(2, 1), t;
|
|
7561
7561
|
}
|
|
7562
7562
|
function V1(t) {
|
|
7563
|
-
for (var e = t.read_shift(2), r = []; e-- > 0; ) r.push(
|
|
7563
|
+
for (var e = t.read_shift(2), r = []; e-- > 0; ) r.push(Ll(t));
|
|
7564
7564
|
return r;
|
|
7565
7565
|
}
|
|
7566
7566
|
function H1(t) {
|
|
7567
|
-
for (var e = t.read_shift(2), r = []; e-- > 0; ) r.push(
|
|
7567
|
+
for (var e = t.read_shift(2), r = []; e-- > 0; ) r.push(Ll(t));
|
|
7568
7568
|
return r;
|
|
7569
7569
|
}
|
|
7570
7570
|
function U1(t) {
|
|
@@ -7600,7 +7600,7 @@ function z1(t) {
|
|
|
7600
7600
|
for (var e = X(2 * t), r = 0; r < t; ++r) e.write_shift(2, r + 1);
|
|
7601
7601
|
return e;
|
|
7602
7602
|
}
|
|
7603
|
-
var X1 = gr, j1 = _l, K1 =
|
|
7603
|
+
var X1 = gr, j1 = _l, K1 = vn;
|
|
7604
7604
|
function Y1(t) {
|
|
7605
7605
|
var e = t.read_shift(2), r = t.read_shift(2), a = t.read_shift(4), n = { fmt: e, env: r, len: a, data: t.slice(t.l, t.l + a) };
|
|
7606
7606
|
return t.l += a, n;
|
|
@@ -7620,7 +7620,7 @@ function q1(t) {
|
|
|
7620
7620
|
}
|
|
7621
7621
|
function Z1(t, e, r) {
|
|
7622
7622
|
var a = X(15);
|
|
7623
|
-
return
|
|
7623
|
+
return yn(a, t, e), a.write_shift(8, r, "f"), a;
|
|
7624
7624
|
}
|
|
7625
7625
|
function Q1(t) {
|
|
7626
7626
|
var e = gr(t);
|
|
@@ -7630,7 +7630,7 @@ function Q1(t) {
|
|
|
7630
7630
|
}
|
|
7631
7631
|
function ed(t, e, r) {
|
|
7632
7632
|
var a = X(9);
|
|
7633
|
-
return
|
|
7633
|
+
return yn(a, t, e), a.write_shift(2, r), a;
|
|
7634
7634
|
}
|
|
7635
7635
|
function td(t) {
|
|
7636
7636
|
var e = t.read_shift(1);
|
|
@@ -7896,8 +7896,8 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
7896
7896
|
h == 2 && (d = f.read_shift(2)), f.l += 3, h != 2 && (d = f.read_shift(4)), d > 1048576 && (d = 1e6), h != 2 && (g = f.read_shift(2));
|
|
7897
7897
|
var v = f.read_shift(2), w = l.codepage || 1252;
|
|
7898
7898
|
h != 2 && (f.l += 16, f.read_shift(1), f[f.l] !== 0 && (w = t[f[f.l]]), f.l += 1, f.l += 2), m && (f.l += 36);
|
|
7899
|
-
for (var x = [], b = {}, I = Math.min(f.length, h == 2 ? 521 : g - 10 - (p ? 264 : 0)),
|
|
7900
|
-
switch (b = {}, b.name = Bi.utils.decode(w, f.slice(f.l, f.l +
|
|
7899
|
+
for (var x = [], b = {}, I = Math.min(f.length, h == 2 ? 521 : g - 10 - (p ? 264 : 0)), F = m ? 32 : 11; f.l < I && f[f.l] != 13; )
|
|
7900
|
+
switch (b = {}, b.name = Bi.utils.decode(w, f.slice(f.l, f.l + F)).replace(/[\u0000\r\n].*$/g, ""), f.l += F, b.type = String.fromCharCode(f.read_shift(1)), h != 2 && !m && (b.offset = f.read_shift(4)), b.len = f.read_shift(1), h == 2 && (b.offset = f.read_shift(2)), b.dec = f.read_shift(1), b.name.length && x.push(b), h != 2 && (f.l += m ? 13 : 14), b.type) {
|
|
7901
7901
|
case "B":
|
|
7902
7902
|
(!p || b.len != 8) && l.WTF && console.log("Skipping " + b.name + ":" + b.type);
|
|
7903
7903
|
break;
|
|
@@ -8042,7 +8042,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8042
8042
|
function s(o, l) {
|
|
8043
8043
|
var c = l || {};
|
|
8044
8044
|
if (+c.codepage >= 0 && er(+c.codepage), c.type == "string") throw new Error("Cannot write DBF to JS string");
|
|
8045
|
-
var f =
|
|
8045
|
+
var f = Ft(), h = ri(o, { header: 1, raw: !0, cellDates: !0 }), u = h[0], p = h.slice(1), m = o["!cols"] || [], d = 0, g = 0, v = 0, w = 1;
|
|
8046
8046
|
for (d = 0; d < u.length; ++d) {
|
|
8047
8047
|
if (((m[d] || {}).DBF || {}).name) {
|
|
8048
8048
|
u[d] = m[d].DBF.name, ++v;
|
|
@@ -8059,7 +8059,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8059
8059
|
}
|
|
8060
8060
|
}
|
|
8061
8061
|
}
|
|
8062
|
-
var x = Ne(o["!ref"]), b = [], I = [],
|
|
8062
|
+
var x = Ne(o["!ref"]), b = [], I = [], F = [];
|
|
8063
8063
|
for (d = 0; d <= x.e.c - x.s.c; ++d) {
|
|
8064
8064
|
var y = "", P = "", N = 0, z = [];
|
|
8065
8065
|
for (g = 0; g < p.length; ++g)
|
|
@@ -8088,7 +8088,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8088
8088
|
}
|
|
8089
8089
|
N = Math.max(N, String(z[g]).length), y = y && y != P ? "C" : P;
|
|
8090
8090
|
}
|
|
8091
|
-
N > 250 && (N = 250), P = ((m[d] || {}).DBF || {}).type, P == "C" && m[d].DBF.len > N && (N = m[d].DBF.len), y == "B" && P == "N" && (y = "N",
|
|
8091
|
+
N > 250 && (N = 250), P = ((m[d] || {}).DBF || {}).type, P == "C" && m[d].DBF.len > N && (N = m[d].DBF.len), y == "B" && P == "N" && (y = "N", F[d] = m[d].DBF.dec, N = m[d].DBF.len), I[d] = y == "C" || P == "N" ? N : i[y] || 0, w += I[d], b[d] = y;
|
|
8092
8092
|
}
|
|
8093
8093
|
var B = f.next(32);
|
|
8094
8094
|
for (B.write_shift(4, 318902576), B.write_shift(4, p.length), B.write_shift(2, 296 + 32 * v), B.write_shift(2, w), d = 0; d < 4; ++d) B.write_shift(4, 0);
|
|
@@ -8099,7 +8099,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8099
8099
|
] || 3) << 8), d = 0, g = 0; d < u.length; ++d)
|
|
8100
8100
|
if (u[d] != null) {
|
|
8101
8101
|
var D = f.next(32), J = (u[d].slice(-10) + "\0\0\0\0\0\0\0\0\0\0\0").slice(0, 11);
|
|
8102
|
-
D.write_shift(1, J, "sbcs"), D.write_shift(1, b[d] == "?" ? "C" : b[d], "sbcs"), D.write_shift(4, g), D.write_shift(1, I[d] || i[b[d]] || 0), D.write_shift(1,
|
|
8102
|
+
D.write_shift(1, J, "sbcs"), D.write_shift(1, b[d] == "?" ? "C" : b[d], "sbcs"), D.write_shift(4, g), D.write_shift(1, I[d] || i[b[d]] || 0), D.write_shift(1, F[d] || 0), D.write_shift(1, 2), D.write_shift(4, 0), D.write_shift(1, 0), D.write_shift(4, 0), D.write_shift(4, 0), g += I[d] || i[b[d]] || 0;
|
|
8103
8103
|
}
|
|
8104
8104
|
var le = f.next(264);
|
|
8105
8105
|
for (le.write_shift(4, 13), d = 0; d < 65; ++d) le.write_shift(4, 0);
|
|
@@ -8116,7 +8116,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8116
8116
|
break;
|
|
8117
8117
|
case "N":
|
|
8118
8118
|
var he = "0";
|
|
8119
|
-
for (typeof p[d][g] == "number" && (he = p[d][g].toFixed(
|
|
8119
|
+
for (typeof p[d][g] == "number" && (he = p[d][g].toFixed(F[g] || 0)), v = 0; v < I[g] - he.length; ++v) ne.write_shift(1, 32);
|
|
8120
8120
|
ne.write_shift(1, he, "sbcs");
|
|
8121
8121
|
break;
|
|
8122
8122
|
case "D":
|
|
@@ -8253,7 +8253,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8253
8253
|
throw new Error("Unrecognized type " + p.type);
|
|
8254
8254
|
}
|
|
8255
8255
|
function i(u, p) {
|
|
8256
|
-
var m = u.split(/[\n\r]+/), d = -1, g = -1, v = 0, w = 0, x = [], b = [], I = null,
|
|
8256
|
+
var m = u.split(/[\n\r]+/), d = -1, g = -1, v = 0, w = 0, x = [], b = [], I = null, F = {}, y = [], P = [], N = [], z = 0, B;
|
|
8257
8257
|
for (+p.codepage >= 0 && er(+p.codepage); v !== m.length; ++v) {
|
|
8258
8258
|
z = 0;
|
|
8259
8259
|
var D = m[v].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g, a).replace(e, r), J = D.replace(/;;/g, "\0").split(";").map(function(O) {
|
|
@@ -8279,7 +8279,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8279
8279
|
J[1].charAt(0) == "P" && b.push(D.slice(3).replace(/;;/g, ";"));
|
|
8280
8280
|
break;
|
|
8281
8281
|
case "C":
|
|
8282
|
-
var he = !1, oe = !1,
|
|
8282
|
+
var he = !1, oe = !1, Le = !1, U = !1, de = -1, we = -1;
|
|
8283
8283
|
for (w = 1; w < J.length; ++w) switch (J[w].charAt(0)) {
|
|
8284
8284
|
case "A":
|
|
8285
8285
|
break;
|
|
@@ -8291,7 +8291,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8291
8291
|
for (d = parseInt(J[w].slice(1)) - 1, oe || (g = 0), B = x.length; B <= d; ++B) x[B] = [];
|
|
8292
8292
|
break;
|
|
8293
8293
|
case "K":
|
|
8294
|
-
ne = J[w].slice(1), ne.charAt(0) === '"' ? ne = ne.slice(1, ne.length - 1) : ne === "TRUE" ? ne = !0 : ne === "FALSE" ? ne = !1 : isNaN(rr(ne)) ? isNaN(
|
|
8294
|
+
ne = J[w].slice(1), ne.charAt(0) === '"' ? ne = ne.slice(1, ne.length - 1) : ne === "TRUE" ? ne = !0 : ne === "FALSE" ? ne = !1 : isNaN(rr(ne)) ? isNaN(Fa(ne).getDate()) || (ne = Ue(ne)) : (ne = rr(ne), I !== null && Na(I) && (ne = hi(ne))), he = !0;
|
|
8295
8295
|
break;
|
|
8296
8296
|
case "E":
|
|
8297
8297
|
U = !0;
|
|
@@ -8299,7 +8299,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8299
8299
|
x[d][g] = [x[d][g], A];
|
|
8300
8300
|
break;
|
|
8301
8301
|
case "S":
|
|
8302
|
-
|
|
8302
|
+
Le = !0, x[d][g] = [x[d][g], "S5S"];
|
|
8303
8303
|
break;
|
|
8304
8304
|
case "G":
|
|
8305
8305
|
break;
|
|
@@ -8313,7 +8313,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8313
8313
|
default:
|
|
8314
8314
|
if (p && p.WTF) throw new Error("SYLK bad record " + D);
|
|
8315
8315
|
}
|
|
8316
|
-
if (he && (x[d][g] && x[d][g].length == 2 ? x[d][g][0] = ne : x[d][g] = ne, I = null),
|
|
8316
|
+
if (he && (x[d][g] && x[d][g].length == 2 ? x[d][g][0] = ne : x[d][g] = ne, I = null), Le) {
|
|
8317
8317
|
if (U) throw new Error("SYLK shared formula cannot have own formula");
|
|
8318
8318
|
var R = de > -1 && x[de][we];
|
|
8319
8319
|
if (!R || !R[1]) throw new Error("SYLK shared formula cannot find base");
|
|
@@ -8369,7 +8369,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8369
8369
|
if (p && p.WTF) throw new Error("SYLK bad record " + D);
|
|
8370
8370
|
}
|
|
8371
8371
|
}
|
|
8372
|
-
return y.length > 0 && (
|
|
8372
|
+
return y.length > 0 && (F["!rows"] = y), P.length > 0 && (F["!cols"] = P), p && p.sheetRows && (x = x.slice(0, p.sheetRows)), [x, F];
|
|
8373
8373
|
}
|
|
8374
8374
|
function s(u, p) {
|
|
8375
8375
|
var m = n(u, p), d = m[0], g = m[1], v = Oa(d, p);
|
|
@@ -8404,13 +8404,13 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8404
8404
|
function c(u, p) {
|
|
8405
8405
|
p.forEach(function(m, d) {
|
|
8406
8406
|
var g = "F;W" + (d + 1) + " " + (d + 1) + " ";
|
|
8407
|
-
m.hidden ? g += "0" : (typeof m.width == "number" && !m.wpx && (m.wpx =
|
|
8407
|
+
m.hidden ? g += "0" : (typeof m.width == "number" && !m.wpx && (m.wpx = cn(m.width)), typeof m.wpx == "number" && !m.wch && (m.wch = fn(m.wpx)), typeof m.wch == "number" && (g += Math.round(m.wch))), g.charAt(g.length - 1) != " " && u.push(g);
|
|
8408
8408
|
});
|
|
8409
8409
|
}
|
|
8410
8410
|
function f(u, p) {
|
|
8411
8411
|
p.forEach(function(m, d) {
|
|
8412
8412
|
var g = "F;";
|
|
8413
|
-
m.hidden ? g += "M0;" : m.hpt ? g += "M" + 20 * m.hpt + ";" : m.hpx && (g += "M" + 20 *
|
|
8413
|
+
m.hidden ? g += "M0;" : m.hpt ? g += "M" + 20 * m.hpt + ";" : m.hpx && (g += "M" + 20 * hn(m.hpx) + ";"), g.length > 2 && u.push(g + "R" + (d + 1));
|
|
8414
8414
|
});
|
|
8415
8415
|
}
|
|
8416
8416
|
function h(u, p) {
|
|
@@ -8419,8 +8419,8 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8419
8419
|
m.push("P;PGeneral"), m.push("F;P0;DG0G8;M255"), u["!cols"] && c(m, u["!cols"]), u["!rows"] && f(m, u["!rows"]), m.push("B;Y" + (g.e.r - g.s.r + 1) + ";X" + (g.e.c - g.s.c + 1) + ";D" + [g.s.c, g.s.r, g.e.c, g.e.r].join(" "));
|
|
8420
8420
|
for (var b = g.s.r; b <= g.e.r; ++b)
|
|
8421
8421
|
for (var I = g.s.c; I <= g.e.c; ++I) {
|
|
8422
|
-
var
|
|
8423
|
-
v = w ? (u[b] || [])[I] : u[
|
|
8422
|
+
var F = ge({ r: b, c: I });
|
|
8423
|
+
v = w ? (u[b] || [])[I] : u[F], !(!v || v.v == null && (!v.f || v.F)) && d.push(l(v, u, b, I));
|
|
8424
8424
|
}
|
|
8425
8425
|
return m.join(x) + x + d.join(x) + x + "E" + x;
|
|
8426
8426
|
}
|
|
@@ -8463,7 +8463,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8463
8463
|
} else if (d !== "EOD") throw new Error("Unrecognized DIF special command " + d);
|
|
8464
8464
|
break;
|
|
8465
8465
|
case 0:
|
|
8466
|
-
d === "TRUE" ? h[l][c] = !0 : d === "FALSE" ? h[l][c] = !1 : isNaN(rr(m)) ? isNaN(
|
|
8466
|
+
d === "TRUE" ? h[l][c] = !0 : d === "FALSE" ? h[l][c] = !1 : isNaN(rr(m)) ? isNaN(Fa(m).getDate()) ? h[l][c] = m : h[l][c] = Ue(m) : h[l][c] = rr(m), ++c;
|
|
8467
8467
|
break;
|
|
8468
8468
|
case 1:
|
|
8469
8469
|
d = d.slice(1, d.length - 1), d = d.replace(/""/g, '"'), d && d.match(/^=".*"$/) && (d = d.slice(2, -1)), h[l][c++] = d !== "" ? d : null;
|
|
@@ -8627,7 +8627,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8627
8627
|
};
|
|
8628
8628
|
}(), Aa = /* @__PURE__ */ function() {
|
|
8629
8629
|
function t(f, h, u, p, m) {
|
|
8630
|
-
m.raw ? h[u][p] = f : f === "" || (f === "TRUE" ? h[u][p] = !0 : f === "FALSE" ? h[u][p] = !1 : isNaN(rr(f)) ? isNaN(
|
|
8630
|
+
m.raw ? h[u][p] = f : f === "" || (f === "TRUE" ? h[u][p] = !0 : f === "FALSE" ? h[u][p] = !1 : isNaN(rr(f)) ? isNaN(Fa(f).getDate()) ? h[u][p] = f : h[u][p] = Ue(f) : h[u][p] = rr(f));
|
|
8631
8631
|
}
|
|
8632
8632
|
function e(f, h) {
|
|
8633
8633
|
var u = h || {}, p = [];
|
|
@@ -8678,7 +8678,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8678
8678
|
function i(f, h) {
|
|
8679
8679
|
var u = h || {}, p = "", m = u.dense ? [] : {}, d = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } };
|
|
8680
8680
|
f.slice(0, 4) == "sep=" ? f.charCodeAt(5) == 13 && f.charCodeAt(6) == 10 ? (p = f.charAt(4), f = f.slice(7)) : f.charCodeAt(5) == 13 || f.charCodeAt(5) == 10 ? (p = f.charAt(4), f = f.slice(6)) : p = n(f.slice(0, 1024)) : u && u.FS ? p = u.FS : p = n(f.slice(0, 1024));
|
|
8681
|
-
var g = 0, v = 0, w = 0, x = 0, b = 0, I = p.charCodeAt(0),
|
|
8681
|
+
var g = 0, v = 0, w = 0, x = 0, b = 0, I = p.charCodeAt(0), F = !1, y = 0, P = f.charCodeAt(0);
|
|
8682
8682
|
f = f.replace(/\r\n/mg, `
|
|
8683
8683
|
`);
|
|
8684
8684
|
var N = u.dateNF != null ? Gf(u.dateNF) : null;
|
|
@@ -8697,7 +8697,7 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8697
8697
|
D.t = "b", D.v = !1;
|
|
8698
8698
|
else if (!isNaN(w = rr(B)))
|
|
8699
8699
|
D.t = "n", u.cellText !== !1 && (D.w = B), D.v = w;
|
|
8700
|
-
else if (!isNaN(
|
|
8700
|
+
else if (!isNaN(Fa(B).getDate()) || N && B.match(N)) {
|
|
8701
8701
|
D.z = u.dateNF || me[14];
|
|
8702
8702
|
var J = 0;
|
|
8703
8703
|
N && B.match(N) && (B = zf(B, u.dateNF, B.match(N) || []), J = 1), u.cellDates ? (D.t = "d", D.v = Ue(B, J)) : (D.t = "n", D.v = ot(Ue(B, J))), u.cellText !== !1 && (D.w = jt(D.z, D.v instanceof Date ? ot(D.v) : D.v)), u.cellNF || delete D.z;
|
|
@@ -8708,12 +8708,12 @@ var nd = [2, 3, 48, 49, 131, 139, 140, 245], Xi = /* @__PURE__ */ function() {
|
|
|
8708
8708
|
}
|
|
8709
8709
|
e: for (; b < f.length; ++b) switch (y = f.charCodeAt(b)) {
|
|
8710
8710
|
case 34:
|
|
8711
|
-
P === 34 && (
|
|
8711
|
+
P === 34 && (F = !F);
|
|
8712
8712
|
break;
|
|
8713
8713
|
case I:
|
|
8714
8714
|
case 10:
|
|
8715
8715
|
case 13:
|
|
8716
|
-
if (!
|
|
8716
|
+
if (!F && z()) break e;
|
|
8717
8717
|
break;
|
|
8718
8718
|
}
|
|
8719
8719
|
return b - x > 0 && z(), m["!ref"] = Ce(d), m;
|
|
@@ -8804,7 +8804,7 @@ var qr = /* @__PURE__ */ function() {
|
|
|
8804
8804
|
}
|
|
8805
8805
|
function r(A, R) {
|
|
8806
8806
|
if (!A) return A;
|
|
8807
|
-
var M = R || {}, O = M.dense ? [] : {}, K = "Sheet1", te = "", re = 0, Q = {}, q = [], ke = [],
|
|
8807
|
+
var M = R || {}, O = M.dense ? [] : {}, K = "Sheet1", te = "", re = 0, Q = {}, q = [], ke = [], L = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, Ve = M.sheetRows || 0;
|
|
8808
8808
|
if (A[2] == 0 && (A[3] == 8 || A[3] == 9) && A.length >= 16 && A[14] == 5 && A[15] === 108)
|
|
8809
8809
|
throw new Error("Unsupported Works 3 for Mac file");
|
|
8810
8810
|
if (A[2] == 2)
|
|
@@ -8814,7 +8814,7 @@ var qr = /* @__PURE__ */ function() {
|
|
|
8814
8814
|
M.vers = ce, ce >= 4096 && (M.qpro = !0);
|
|
8815
8815
|
break;
|
|
8816
8816
|
case 6:
|
|
8817
|
-
|
|
8817
|
+
L = ce;
|
|
8818
8818
|
break;
|
|
8819
8819
|
/* RANGE */
|
|
8820
8820
|
case 204:
|
|
@@ -8835,7 +8835,7 @@ var qr = /* @__PURE__ */ function() {
|
|
|
8835
8835
|
case 14:
|
|
8836
8836
|
/* NUMBER */
|
|
8837
8837
|
case 16:
|
|
8838
|
-
Bt == 14 && (ce[2] & 112) == 112 && (ce[2] & 15) > 1 && (ce[2] & 15) < 15 && (ce[1].z = M.dateNF || me[14], M.cellDates && (ce[1].t = "d", ce[1].v = hi(ce[1].v))), M.qpro && ce[3] > re && (O["!ref"] = Ce(
|
|
8838
|
+
Bt == 14 && (ce[2] & 112) == 112 && (ce[2] & 15) > 1 && (ce[2] & 15) < 15 && (ce[1].z = M.dateNF || me[14], M.cellDates && (ce[1].t = "d", ce[1].v = hi(ce[1].v))), M.qpro && ce[3] > re && (O["!ref"] = Ce(L), Q[K] = O, q.push(K), O = M.dense ? [] : {}, L = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, re = ce[3], K = te || "Sheet" + (re + 1), te = "");
|
|
8839
8839
|
var ir = M.dense ? (O[ce[0].r] || [])[ce[0].c] : O[ge(ce[0])];
|
|
8840
8840
|
if (ir) {
|
|
8841
8841
|
ir.t = ce[1].t, ir.v = ce[1].v, ce[1].z != null && (ir.z = ce[1].z), ce[1].f != null && (ir.f = ce[1].f);
|
|
@@ -8866,8 +8866,8 @@ var qr = /* @__PURE__ */ function() {
|
|
|
8866
8866
|
case 39:
|
|
8867
8867
|
/* NUMBER27 */
|
|
8868
8868
|
case 40:
|
|
8869
|
-
if (ce[3] > re && (O["!ref"] = Ce(
|
|
8870
|
-
M.dense ? (O[ce[0].r] || (O[ce[0].r] = []), O[ce[0].r][ce[0].c] = ce[1]) : O[ge(ce[0])] = ce[1],
|
|
8869
|
+
if (ce[3] > re && (O["!ref"] = Ce(L), Q[K] = O, q.push(K), O = M.dense ? [] : {}, L = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, re = ce[3], K = "Sheet" + (re + 1)), Ve > 0 && ce[0].r >= Ve) break;
|
|
8870
|
+
M.dense ? (O[ce[0].r] || (O[ce[0].r] = []), O[ce[0].r][ce[0].c] = ce[1]) : O[ge(ce[0])] = ce[1], L.e.c < ce[0].c && (L.e.c = ce[0].c), L.e.r < ce[0].r && (L.e.r = ce[0].r);
|
|
8871
8871
|
break;
|
|
8872
8872
|
case 27:
|
|
8873
8873
|
ce[14e3] && (ke[ce[14e3][0]] = ce[14e3][1]);
|
|
@@ -8878,25 +8878,25 @@ var qr = /* @__PURE__ */ function() {
|
|
|
8878
8878
|
}
|
|
8879
8879
|
}, M);
|
|
8880
8880
|
else throw new Error("Unrecognized LOTUS BOF " + A[2]);
|
|
8881
|
-
if (O["!ref"] = Ce(
|
|
8882
|
-
for (var
|
|
8883
|
-
return { SheetNames: Be, Sheets:
|
|
8881
|
+
if (O["!ref"] = Ce(L), Q[te || K] = O, q.push(te || K), !ke.length) return { SheetNames: q, Sheets: Q };
|
|
8882
|
+
for (var Fe = {}, Be = [], be = 0; be < ke.length; ++be) Q[q[be]] ? (Be.push(ke[be] || q[be]), Fe[ke[be]] = Q[ke[be]] || Q[q[be]]) : (Be.push(ke[be]), Fe[ke[be]] = { "!ref": "A1" });
|
|
8883
|
+
return { SheetNames: Be, Sheets: Fe };
|
|
8884
8884
|
}
|
|
8885
8885
|
function a(A, R) {
|
|
8886
8886
|
var M = R || {};
|
|
8887
8887
|
if (+M.codepage >= 0 && er(+M.codepage), M.type == "string") throw new Error("Cannot write WK1 to JS string");
|
|
8888
|
-
var O =
|
|
8888
|
+
var O = Ft(), K = Ne(A["!ref"]), te = Array.isArray(A), re = [];
|
|
8889
8889
|
ie(O, 0, i(1030)), ie(O, 6, l(K));
|
|
8890
8890
|
for (var Q = Math.min(K.e.r, 8191), q = K.s.r; q <= Q; ++q)
|
|
8891
|
-
for (var ke = et(q),
|
|
8892
|
-
q === K.s.r && (re[
|
|
8893
|
-
var Ve = re[
|
|
8894
|
-
if (!(!
|
|
8895
|
-
if (
|
|
8896
|
-
(
|
|
8891
|
+
for (var ke = et(q), L = K.s.c; L <= K.e.c; ++L) {
|
|
8892
|
+
q === K.s.r && (re[L] = Xe(L));
|
|
8893
|
+
var Ve = re[L] + ke, Fe = te ? (A[q] || [])[L] : A[Ve];
|
|
8894
|
+
if (!(!Fe || Fe.t == "z"))
|
|
8895
|
+
if (Fe.t == "n")
|
|
8896
|
+
(Fe.v | 0) == Fe.v && Fe.v >= -32768 && Fe.v <= 32767 ? ie(O, 13, p(q, L, Fe.v)) : ie(O, 14, d(q, L, Fe.v));
|
|
8897
8897
|
else {
|
|
8898
|
-
var Be = br(
|
|
8899
|
-
ie(O, 15, h(q,
|
|
8898
|
+
var Be = br(Fe);
|
|
8899
|
+
ie(O, 15, h(q, L, Be.slice(0, 239)));
|
|
8900
8900
|
}
|
|
8901
8901
|
}
|
|
8902
8902
|
return ie(O, 1), O.end();
|
|
@@ -8904,23 +8904,23 @@ var qr = /* @__PURE__ */ function() {
|
|
|
8904
8904
|
function n(A, R) {
|
|
8905
8905
|
var M = R || {};
|
|
8906
8906
|
if (+M.codepage >= 0 && er(+M.codepage), M.type == "string") throw new Error("Cannot write WK3 to JS string");
|
|
8907
|
-
var O =
|
|
8907
|
+
var O = Ft();
|
|
8908
8908
|
ie(O, 0, s(A));
|
|
8909
8909
|
for (var K = 0, te = 0; K < A.SheetNames.length; ++K) (A.Sheets[A.SheetNames[K]] || {})["!ref"] && ie(O, 27, U(A.SheetNames[K], te++));
|
|
8910
8910
|
var re = 0;
|
|
8911
8911
|
for (K = 0; K < A.SheetNames.length; ++K) {
|
|
8912
8912
|
var Q = A.Sheets[A.SheetNames[K]];
|
|
8913
8913
|
if (!(!Q || !Q["!ref"])) {
|
|
8914
|
-
for (var q = Ne(Q["!ref"]), ke = Array.isArray(Q),
|
|
8915
|
-
for (var Be = et(
|
|
8916
|
-
|
|
8917
|
-
var ce =
|
|
8914
|
+
for (var q = Ne(Q["!ref"]), ke = Array.isArray(Q), L = [], Ve = Math.min(q.e.r, 8191), Fe = q.s.r; Fe <= Ve; ++Fe)
|
|
8915
|
+
for (var Be = et(Fe), be = q.s.c; be <= q.e.c; ++be) {
|
|
8916
|
+
Fe === q.s.r && (L[be] = Xe(be));
|
|
8917
|
+
var ce = L[be] + Be, qe = ke ? (Q[Fe] || [])[be] : Q[ce];
|
|
8918
8918
|
if (!(!qe || qe.t == "z"))
|
|
8919
8919
|
if (qe.t == "n")
|
|
8920
|
-
ie(O, 23, z(
|
|
8920
|
+
ie(O, 23, z(Fe, be, re, qe.v));
|
|
8921
8921
|
else {
|
|
8922
8922
|
var Bt = br(qe);
|
|
8923
|
-
ie(O, 22, y(
|
|
8923
|
+
ie(O, 22, y(Fe, be, re, Bt.slice(0, 239)));
|
|
8924
8924
|
}
|
|
8925
8925
|
}
|
|
8926
8926
|
++re;
|
|
@@ -9065,8 +9065,8 @@ var qr = /* @__PURE__ */ function() {
|
|
|
9065
9065
|
break;
|
|
9066
9066
|
case 2:
|
|
9067
9067
|
{
|
|
9068
|
-
var ke = v(R[0].c, A.read_shift(2), !0),
|
|
9069
|
-
te = v(R[0].c, A.read_shift(2), !0), K = v(R[0].r, A.read_shift(2), !1), M.push(ke +
|
|
9068
|
+
var ke = v(R[0].c, A.read_shift(2), !0), L = v(R[0].r, A.read_shift(2), !1);
|
|
9069
|
+
te = v(R[0].c, A.read_shift(2), !0), K = v(R[0].r, A.read_shift(2), !1), M.push(ke + L + ":" + te + K);
|
|
9070
9070
|
}
|
|
9071
9071
|
break;
|
|
9072
9072
|
case 3:
|
|
@@ -9108,8 +9108,8 @@ var qr = /* @__PURE__ */ function() {
|
|
|
9108
9108
|
console.error("WK1 bad formula parse 0x" + q.toString(16) + ":|" + M.join("|") + "|");
|
|
9109
9109
|
return;
|
|
9110
9110
|
}
|
|
9111
|
-
var
|
|
9112
|
-
M.length -= O, M.push(w[q][0] + "(" +
|
|
9111
|
+
var Fe = M.slice(-O);
|
|
9112
|
+
M.length -= O, M.push(w[q][0] + "(" + Fe.join(",") + ")");
|
|
9113
9113
|
} else return q <= 7 ? console.error("WK1 invalid opcode " + q.toString(16)) : q <= 24 ? console.error("WK1 unsupported op " + q.toString(16)) : q <= 30 ? console.error("WK1 invalid opcode " + q.toString(16)) : q <= 115 ? console.error("WK1 unsupported function opcode " + q.toString(16)) : console.error("WK1 unrecognized opcode " + q.toString(16));
|
|
9114
9114
|
}
|
|
9115
9115
|
}
|
|
@@ -9119,7 +9119,7 @@ var qr = /* @__PURE__ */ function() {
|
|
|
9119
9119
|
var R = [{ c: 0, r: 0 }, { t: "n", v: 0 }, 0];
|
|
9120
9120
|
return R[0].r = A.read_shift(2), R[3] = A[A.l++], R[0].c = A[A.l++], R;
|
|
9121
9121
|
}
|
|
9122
|
-
function
|
|
9122
|
+
function F(A, R) {
|
|
9123
9123
|
var M = I(A);
|
|
9124
9124
|
return M[1].t = "s", M[1].v = A.read_shift(R - 4, "cstr"), M;
|
|
9125
9125
|
}
|
|
@@ -9212,7 +9212,7 @@ var qr = /* @__PURE__ */ function() {
|
|
|
9212
9212
|
return [O, K];
|
|
9213
9213
|
}
|
|
9214
9214
|
}
|
|
9215
|
-
function
|
|
9215
|
+
function Le(A, R) {
|
|
9216
9216
|
for (var M = {}, O = A.l + R; A.l < O; ) {
|
|
9217
9217
|
var K = A.read_shift(2);
|
|
9218
9218
|
if (K == 14e3) {
|
|
@@ -9407,7 +9407,7 @@ var qr = /* @__PURE__ */ function() {
|
|
|
9407
9407
|
/*::[*/
|
|
9408
9408
|
21: { n: "NACELL" },
|
|
9409
9409
|
/*::[*/
|
|
9410
|
-
22: { n: "LABEL16", f:
|
|
9410
|
+
22: { n: "LABEL16", f: F },
|
|
9411
9411
|
/*::[*/
|
|
9412
9412
|
23: { n: "NUMBER17", f: N },
|
|
9413
9413
|
/*::[*/
|
|
@@ -9417,7 +9417,7 @@ var qr = /* @__PURE__ */ function() {
|
|
|
9417
9417
|
/*::[*/
|
|
9418
9418
|
26: { n: "FORMULA1A" },
|
|
9419
9419
|
/*::[*/
|
|
9420
|
-
27: { n: "XFORMAT", f:
|
|
9420
|
+
27: { n: "XFORMAT", f: Le },
|
|
9421
9421
|
/*::[*/
|
|
9422
9422
|
28: { n: "DTLABELMISC" },
|
|
9423
9423
|
/*::[*/
|
|
@@ -9762,7 +9762,7 @@ function sd(t) {
|
|
|
9762
9762
|
return e;
|
|
9763
9763
|
}
|
|
9764
9764
|
var od = /* @__PURE__ */ function() {
|
|
9765
|
-
var t =
|
|
9765
|
+
var t = an("t"), e = an("rPr");
|
|
9766
9766
|
function r(i) {
|
|
9767
9767
|
var s = i.match(t);
|
|
9768
9768
|
if (!s) return { t: "s", v: "" };
|
|
@@ -9834,7 +9834,7 @@ function xd(t) {
|
|
|
9834
9834
|
}
|
|
9835
9835
|
function vd(t, e) {
|
|
9836
9836
|
var r = [], a = !1;
|
|
9837
|
-
return
|
|
9837
|
+
return Fr(t, function(i, s, o) {
|
|
9838
9838
|
switch (o) {
|
|
9839
9839
|
case 159:
|
|
9840
9840
|
r.Count = i[0], r.Unique = i[1];
|
|
@@ -9860,7 +9860,7 @@ function wd(t, e) {
|
|
|
9860
9860
|
}
|
|
9861
9861
|
var Ed = Ah;
|
|
9862
9862
|
function Cd(t) {
|
|
9863
|
-
var e =
|
|
9863
|
+
var e = Ft();
|
|
9864
9864
|
Y(e, 159, wd(t));
|
|
9865
9865
|
for (var r = 0; r < t.length; ++r) Y(e, 19, Ed(t[r]));
|
|
9866
9866
|
return Y(
|
|
@@ -9933,11 +9933,11 @@ function Ul(t, e) {
|
|
|
9933
9933
|
var r = {}, a = t.l + e;
|
|
9934
9934
|
return t.l += 4, r.Salt = t.slice(t.l, t.l + 16), t.l += 16, r.Verifier = t.slice(t.l, t.l + 16), t.l += 16, t.read_shift(4), r.VerifierHash = t.slice(t.l, a), t.l = a, r;
|
|
9935
9935
|
}
|
|
9936
|
-
function
|
|
9936
|
+
function Ld(t) {
|
|
9937
9937
|
var e = Sr(t);
|
|
9938
9938
|
switch (e.Minor) {
|
|
9939
9939
|
case 2:
|
|
9940
|
-
return [e.Minor,
|
|
9940
|
+
return [e.Minor, Fd(t)];
|
|
9941
9941
|
case 3:
|
|
9942
9942
|
return [e.Minor, Ad()];
|
|
9943
9943
|
case 4:
|
|
@@ -9945,7 +9945,7 @@ function Fd(t) {
|
|
|
9945
9945
|
}
|
|
9946
9946
|
throw new Error("ECMA-376 Encrypted file unrecognized Version: " + e.Minor);
|
|
9947
9947
|
}
|
|
9948
|
-
function
|
|
9948
|
+
function Fd(t) {
|
|
9949
9949
|
var e = t.read_shift(4);
|
|
9950
9950
|
if ((e & 63) != 36) throw new Error("EncryptionInfo mismatch");
|
|
9951
9951
|
var r = t.read_shift(4), a = Hl(t, r), n = Ul(t, t.length - t.l);
|
|
@@ -10118,7 +10118,7 @@ function Vd(t) {
|
|
|
10118
10118
|
var e = t.slice(t[0] === "#" ? 1 : 0).slice(0, 6);
|
|
10119
10119
|
return [parseInt(e.slice(0, 2), 16), parseInt(e.slice(2, 4), 16), parseInt(e.slice(4, 6), 16)];
|
|
10120
10120
|
}
|
|
10121
|
-
function
|
|
10121
|
+
function ln(t) {
|
|
10122
10122
|
for (var e = 0, r = 1; e != 3; ++e) r = r * 256 + (t[e] > 255 ? 255 : t[e] < 0 ? 0 : t[e]);
|
|
10123
10123
|
return r.toString(16).toUpperCase().slice(1);
|
|
10124
10124
|
}
|
|
@@ -10168,31 +10168,31 @@ function Ud(t) {
|
|
|
10168
10168
|
function Qn(t, e) {
|
|
10169
10169
|
if (e === 0) return t;
|
|
10170
10170
|
var r = Hd(Vd(t));
|
|
10171
|
-
return e < 0 ? r[2] = r[2] * (1 + e) : r[2] = 1 - (1 - r[2]) * (1 - e),
|
|
10171
|
+
return e < 0 ? r[2] = r[2] * (1 + e) : r[2] = 1 - (1 - r[2]) * (1 - e), ln(Ud(r));
|
|
10172
10172
|
}
|
|
10173
10173
|
var Gl = 6, Wd = 15, $d = 1, wt = Gl;
|
|
10174
|
-
function
|
|
10174
|
+
function cn(t) {
|
|
10175
10175
|
return Math.floor((t + Math.round(128 / wt) / 256) * wt);
|
|
10176
10176
|
}
|
|
10177
|
-
function
|
|
10177
|
+
function fn(t) {
|
|
10178
10178
|
return Math.floor((t - 5) / wt * 100 + 0.5) / 100;
|
|
10179
10179
|
}
|
|
10180
10180
|
function ei(t) {
|
|
10181
10181
|
return Math.round((t * wt + 5) / wt * 256) / 256;
|
|
10182
10182
|
}
|
|
10183
10183
|
function _i(t) {
|
|
10184
|
-
return ei(cn(
|
|
10184
|
+
return ei(fn(cn(t)));
|
|
10185
10185
|
}
|
|
10186
|
-
function
|
|
10186
|
+
function Ls(t) {
|
|
10187
10187
|
var e = Math.abs(t - _i(t)), r = wt;
|
|
10188
10188
|
if (e > 5e-3) for (wt = $d; wt < Wd; ++wt) Math.abs(t - _i(t)) <= e && (e = Math.abs(t - _i(t)), r = wt);
|
|
10189
10189
|
wt = r;
|
|
10190
10190
|
}
|
|
10191
10191
|
function Rr(t) {
|
|
10192
|
-
t.width ? (t.wpx =
|
|
10192
|
+
t.width ? (t.wpx = cn(t.width), t.wch = fn(t.wpx), t.MDW = wt) : t.wpx ? (t.wch = fn(t.wpx), t.width = ei(t.wch), t.MDW = wt) : typeof t.wch == "number" && (t.width = ei(t.wch), t.wpx = cn(t.width), t.MDW = wt), t.customWidth && delete t.customWidth;
|
|
10193
10193
|
}
|
|
10194
10194
|
var Gd = 96, zl = Gd;
|
|
10195
|
-
function
|
|
10195
|
+
function hn(t) {
|
|
10196
10196
|
return t * 96 / zl;
|
|
10197
10197
|
}
|
|
10198
10198
|
function Ia(t) {
|
|
@@ -10610,7 +10610,7 @@ function Jd(t) {
|
|
|
10610
10610
|
for (var a = r[0]; a <= r[1]; ++a) t[a] != null && (e[e.length] = ae("numFmt", null, { numFmtId: a, formatCode: De(t[a]) }));
|
|
10611
10611
|
}), e.length === 1 ? "" : (e[e.length] = "</numFmts>", e[0] = ae("numFmts", null, { count: e.length - 2 }).replace("/>", ">"), e.join(""));
|
|
10612
10612
|
}
|
|
10613
|
-
var
|
|
10613
|
+
var In = ["numFmtId", "fillId", "fontId", "borderId", "xfId"], Nn = ["applyAlignment", "applyBorder", "applyFill", "applyFont", "applyNumberFormat", "applyProtection", "pivotButton", "quotePrefix"];
|
|
10614
10614
|
function qd(t, e, r) {
|
|
10615
10615
|
e.CellXf = [];
|
|
10616
10616
|
var a, n = !1;
|
|
@@ -10625,8 +10625,8 @@ function qd(t, e, r) {
|
|
|
10625
10625
|
/* 18.8.45 xf CT_Xf */
|
|
10626
10626
|
case "<xf":
|
|
10627
10627
|
case "<xf/>":
|
|
10628
|
-
for (a = s, delete a[0], o = 0; o <
|
|
10629
|
-
for (o = 0; o <
|
|
10628
|
+
for (a = s, delete a[0], o = 0; o < In.length; ++o) a[In[o]] && (a[In[o]] = parseInt(a[In[o]], 10));
|
|
10629
|
+
for (o = 0; o < Nn.length; ++o) a[Nn[o]] && (a[Nn[o]] = He(a[Nn[o]]));
|
|
10630
10630
|
if (e.NumberFmt && a.numFmtId > 392) {
|
|
10631
10631
|
for (o = 392; o > 60; --o) if (e.NumberFmt[a.numFmtId] == e.NumberFmt[o]) {
|
|
10632
10632
|
a.numFmtId = o;
|
|
@@ -10808,7 +10808,7 @@ function hp(t, e, r) {
|
|
|
10808
10808
|
for (var n in me) a.NumberFmt[n] = me[n];
|
|
10809
10809
|
a.CellXf = [], a.Fonts = [];
|
|
10810
10810
|
var i = [], s = !1;
|
|
10811
|
-
return
|
|
10811
|
+
return Fr(t, function(l, c, f) {
|
|
10812
10812
|
switch (f) {
|
|
10813
10813
|
case 44:
|
|
10814
10814
|
a.NumberFmt[l[0]] = l[1], Tr(l[1], l[0]);
|
|
@@ -10964,7 +10964,7 @@ function Ep(t) {
|
|
|
10964
10964
|
);
|
|
10965
10965
|
}
|
|
10966
10966
|
function Cp(t, e) {
|
|
10967
|
-
var r =
|
|
10967
|
+
var r = Ft();
|
|
10968
10968
|
return Y(
|
|
10969
10969
|
r,
|
|
10970
10970
|
278
|
|
@@ -11054,8 +11054,8 @@ function _p() {
|
|
|
11054
11054
|
}
|
|
11055
11055
|
function Tp() {
|
|
11056
11056
|
}
|
|
11057
|
-
var Sp = /<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/, bp = /<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,
|
|
11058
|
-
function
|
|
11057
|
+
var Sp = /<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/, bp = /<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/, Lp = /<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;
|
|
11058
|
+
function Fp(t, e, r) {
|
|
11059
11059
|
e.themeElements = {};
|
|
11060
11060
|
var a;
|
|
11061
11061
|
[
|
|
@@ -11064,7 +11064,7 @@ function Lp(t, e, r) {
|
|
|
11064
11064
|
/* fontScheme CT_FontScheme */
|
|
11065
11065
|
["fontScheme", bp, _p],
|
|
11066
11066
|
/* fmtScheme CT_StyleMatrix */
|
|
11067
|
-
["fmtScheme",
|
|
11067
|
+
["fmtScheme", Lp, Tp]
|
|
11068
11068
|
].forEach(function(n) {
|
|
11069
11069
|
if (!(a = t.match(n[1]))) throw new Error(n[0] + " not found in themeElements");
|
|
11070
11070
|
n[2](a, e, r);
|
|
@@ -11072,12 +11072,12 @@ function Lp(t, e, r) {
|
|
|
11072
11072
|
}
|
|
11073
11073
|
var Ap = /<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;
|
|
11074
11074
|
function Kl(t, e) {
|
|
11075
|
-
(!t || t.length === 0) && (t =
|
|
11075
|
+
(!t || t.length === 0) && (t = Fs());
|
|
11076
11076
|
var r, a = {};
|
|
11077
11077
|
if (!(r = t.match(Ap))) throw new Error("themeElements not found in theme");
|
|
11078
|
-
return
|
|
11078
|
+
return Fp(r[0], a, e), a.raw = t, a;
|
|
11079
11079
|
}
|
|
11080
|
-
function
|
|
11080
|
+
function Fs(t, e) {
|
|
11081
11081
|
if (e && e.themeXLSX) return e.themeXLSX;
|
|
11082
11082
|
if (t && typeof t.raw == "string") return t.raw;
|
|
11083
11083
|
var r = [tt];
|
|
@@ -11208,7 +11208,7 @@ function zp(t, e) {
|
|
|
11208
11208
|
}
|
|
11209
11209
|
function Xp(t, e, r) {
|
|
11210
11210
|
var a = { Types: [], Cell: [], Value: [] }, n = r || {}, i = [], s = !1, o = 2;
|
|
11211
|
-
return
|
|
11211
|
+
return Fr(t, function(l, c, f) {
|
|
11212
11212
|
switch (f) {
|
|
11213
11213
|
case 335:
|
|
11214
11214
|
a.Types.push({ name: l.name });
|
|
@@ -11239,7 +11239,7 @@ function Xp(t, e, r) {
|
|
|
11239
11239
|
}), a;
|
|
11240
11240
|
}
|
|
11241
11241
|
function jp() {
|
|
11242
|
-
var t =
|
|
11242
|
+
var t = Ft();
|
|
11243
11243
|
return Y(t, 332), Y(t, 334, ar(1)), Y(t, 335, Hp({
|
|
11244
11244
|
name: "XLDAPR",
|
|
11245
11245
|
version: 12e4,
|
|
@@ -11370,7 +11370,7 @@ function Jp(t) {
|
|
|
11370
11370
|
}
|
|
11371
11371
|
function qp(t, e, r) {
|
|
11372
11372
|
var a = [];
|
|
11373
|
-
return
|
|
11373
|
+
return Fr(t, function(i, s, o) {
|
|
11374
11374
|
switch (o) {
|
|
11375
11375
|
case 63:
|
|
11376
11376
|
a.push(i);
|
|
@@ -11383,7 +11383,7 @@ function qp(t, e, r) {
|
|
|
11383
11383
|
function Zp(t, e, r, a) {
|
|
11384
11384
|
if (!t) return t;
|
|
11385
11385
|
var n = a || {}, i = !1;
|
|
11386
|
-
|
|
11386
|
+
Fr(t, function(o, l, c) {
|
|
11387
11387
|
switch (c) {
|
|
11388
11388
|
case 359:
|
|
11389
11389
|
/* 'BrtSupTabs' */
|
|
@@ -11463,7 +11463,7 @@ function Jl(t, e) {
|
|
|
11463
11463
|
o.type == "gradient" && (o.angle = "-180");
|
|
11464
11464
|
var l = o.type == "gradient" ? ae("o:fill", null, { type: "gradientUnscaled", "v:ext": "view" }) : null, c = ae("v:fill", l, o), f = { on: "t", obscured: "t" };
|
|
11465
11465
|
++va, n = n.concat([
|
|
11466
|
-
"<v:shape" +
|
|
11466
|
+
"<v:shape" + nn({
|
|
11467
11467
|
id: "_x0000_s" + va,
|
|
11468
11468
|
type: "#_x0000_t202",
|
|
11469
11469
|
style: "position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10" + (i[1].hidden ? ";visibility:hidden" : ""),
|
|
@@ -11704,7 +11704,7 @@ function lm(t) {
|
|
|
11704
11704
|
}
|
|
11705
11705
|
function cm(t, e) {
|
|
11706
11706
|
var r = [], a = [], n = {}, i = !1;
|
|
11707
|
-
return
|
|
11707
|
+
return Fr(t, function(o, l, c) {
|
|
11708
11708
|
switch (c) {
|
|
11709
11709
|
case 632:
|
|
11710
11710
|
a.push(o);
|
|
@@ -11739,7 +11739,7 @@ function cm(t, e) {
|
|
|
11739
11739
|
}), r;
|
|
11740
11740
|
}
|
|
11741
11741
|
function fm(t) {
|
|
11742
|
-
var e =
|
|
11742
|
+
var e = Ft(), r = [];
|
|
11743
11743
|
return Y(
|
|
11744
11744
|
e,
|
|
11745
11745
|
628
|
|
@@ -11916,7 +11916,7 @@ function bm(t, e, r) {
|
|
|
11916
11916
|
var a = (t[t.l++] & 96) >> 5;
|
|
11917
11917
|
return t.l += r && r.biff > 8 ? 12 : r.biff < 8 ? 6 : 8, [a];
|
|
11918
11918
|
}
|
|
11919
|
-
function
|
|
11919
|
+
function Lm(t, e, r) {
|
|
11920
11920
|
var a = (t[t.l++] & 96) >> 5, n = t.read_shift(2), i = 8;
|
|
11921
11921
|
if (r) switch (r.biff) {
|
|
11922
11922
|
case 5:
|
|
@@ -11928,7 +11928,7 @@ function Fm(t, e, r) {
|
|
|
11928
11928
|
}
|
|
11929
11929
|
return t.l += i, [a, n];
|
|
11930
11930
|
}
|
|
11931
|
-
function
|
|
11931
|
+
function Fm(t, e, r) {
|
|
11932
11932
|
var a = (t[t.l++] & 96) >> 5, n = Em(t, e - 1, r);
|
|
11933
11933
|
return [a, n];
|
|
11934
11934
|
}
|
|
@@ -12025,7 +12025,7 @@ function Ym(t) {
|
|
|
12025
12025
|
return t.l++, Et(t);
|
|
12026
12026
|
}
|
|
12027
12027
|
function Jm(t, e, r) {
|
|
12028
|
-
return t.l++,
|
|
12028
|
+
return t.l++, xn(t, e - 1, r);
|
|
12029
12029
|
}
|
|
12030
12030
|
function qm(t, e) {
|
|
12031
12031
|
var r = [t.read_shift(1)];
|
|
@@ -12134,17 +12134,17 @@ function s2(t, e, r) {
|
|
|
12134
12134
|
return t.l += i, [a, n];
|
|
12135
12135
|
}
|
|
12136
12136
|
var o2 = yt, l2 = yt, c2 = yt;
|
|
12137
|
-
function
|
|
12137
|
+
function wn(t, e, r) {
|
|
12138
12138
|
return t.l += 2, [ym(t)];
|
|
12139
12139
|
}
|
|
12140
12140
|
function Ns(t) {
|
|
12141
12141
|
return t.l += 6, [];
|
|
12142
12142
|
}
|
|
12143
|
-
var f2 =
|
|
12143
|
+
var f2 = wn, h2 = Ns, u2 = Ns, d2 = wn;
|
|
12144
12144
|
function nc(t) {
|
|
12145
12145
|
return t.l += 2, [nt(t), t.read_shift(2) & 1];
|
|
12146
12146
|
}
|
|
12147
|
-
var p2 =
|
|
12147
|
+
var p2 = wn, m2 = nc, g2 = Ns, x2 = wn, v2 = wn, w2 = [
|
|
12148
12148
|
"Data",
|
|
12149
12149
|
"All",
|
|
12150
12150
|
"Headers",
|
|
@@ -12274,7 +12274,7 @@ var Yo = {
|
|
|
12274
12274
|
/*::[*/
|
|
12275
12275
|
44: { n: "PtgRefN", f: Vm },
|
|
12276
12276
|
/*::[*/
|
|
12277
|
-
45: { n: "PtgAreaN", f:
|
|
12277
|
+
45: { n: "PtgAreaN", f: Fm },
|
|
12278
12278
|
/*::[*/
|
|
12279
12279
|
46: { n: "PtgMemAreaN", f: _2 },
|
|
12280
12280
|
/*::[*/
|
|
@@ -12288,7 +12288,7 @@ var Yo = {
|
|
|
12288
12288
|
/*::[*/
|
|
12289
12289
|
60: { n: "PtgRefErr3d", f: s2 },
|
|
12290
12290
|
/*::[*/
|
|
12291
|
-
61: { n: "PtgAreaErr3d", f:
|
|
12291
|
+
61: { n: "PtgAreaErr3d", f: Lm },
|
|
12292
12292
|
/*::[*/
|
|
12293
12293
|
255: {}
|
|
12294
12294
|
}, b2 = {
|
|
@@ -12380,7 +12380,7 @@ var Yo = {
|
|
|
12380
12380
|
93: 61,
|
|
12381
12381
|
/*::[*/
|
|
12382
12382
|
125: 61
|
|
12383
|
-
},
|
|
12383
|
+
}, L2 = {
|
|
12384
12384
|
/*::[*/
|
|
12385
12385
|
1: { n: "PtgElfLel", f: nc },
|
|
12386
12386
|
/*::[*/
|
|
@@ -12407,7 +12407,7 @@ var Yo = {
|
|
|
12407
12407
|
29: { n: "PtgSxName", f: C2 },
|
|
12408
12408
|
/*::[*/
|
|
12409
12409
|
255: {}
|
|
12410
|
-
},
|
|
12410
|
+
}, F2 = {
|
|
12411
12411
|
/*::[*/
|
|
12412
12412
|
0: { n: "PtgAttrNoop", f: S2 },
|
|
12413
12413
|
/*::[*/
|
|
@@ -12433,7 +12433,7 @@ var Yo = {
|
|
|
12433
12433
|
/*::[*/
|
|
12434
12434
|
255: {}
|
|
12435
12435
|
};
|
|
12436
|
-
function
|
|
12436
|
+
function En(t, e, r, a) {
|
|
12437
12437
|
if (a.biff < 8) return yt(t, e);
|
|
12438
12438
|
for (var n = t.l + e, i = [], s = 0; s !== r.length; ++s)
|
|
12439
12439
|
switch (r[s][0]) {
|
|
@@ -12457,9 +12457,9 @@ function wn(t, e, r, a) {
|
|
|
12457
12457
|
}
|
|
12458
12458
|
return e = n - t.l, e !== 0 && i.push(yt(t, e)), i;
|
|
12459
12459
|
}
|
|
12460
|
-
function
|
|
12460
|
+
function Cn(t, e, r) {
|
|
12461
12461
|
for (var a = t.l + e, n, i, s = []; a != t.l; )
|
|
12462
|
-
e = a - t.l, i = t[t.l], n = Yo[i] || Yo[b2[i]], (i === 24 || i === 25) && (n = (i === 24 ?
|
|
12462
|
+
e = a - t.l, i = t[t.l], n = Yo[i] || Yo[b2[i]], (i === 24 || i === 25) && (n = (i === 24 ? L2 : F2)[t[t.l + 1]]), !n || !n.f ? yt(t, e) : s.push([n.n, n.f(t, e, r)]);
|
|
12463
12463
|
return s;
|
|
12464
12464
|
}
|
|
12465
12465
|
function A2(t) {
|
|
@@ -12622,8 +12622,8 @@ function vt(t, e, r, a, n) {
|
|
|
12622
12622
|
case "PtgFuncVar":
|
|
12623
12623
|
var b = x[1][0], I = x[1][1];
|
|
12624
12624
|
b || (b = 0), b &= 127;
|
|
12625
|
-
var
|
|
12626
|
-
o.length -= b, I === "User" && (I =
|
|
12625
|
+
var F = b == 0 ? [] : o.slice(-b);
|
|
12626
|
+
o.length -= b, I === "User" && (I = F.shift()), o.push(I + "(" + F.join(",") + ")");
|
|
12627
12627
|
break;
|
|
12628
12628
|
case "PtgBool":
|
|
12629
12629
|
o.push(x[1] ? "TRUE" : "FALSE");
|
|
@@ -12807,8 +12807,8 @@ function vt(t, e, r, a, n) {
|
|
|
12807
12807
|
default:
|
|
12808
12808
|
throw new Error("Unrecognized Formula Token: " + String(x));
|
|
12809
12809
|
}
|
|
12810
|
-
var
|
|
12811
|
-
if (n.biff != 3 && d >= 0 &&
|
|
12810
|
+
var Le = ["PtgAttrSpace", "PtgAttrSpaceSemi", "PtgAttrGoto"];
|
|
12811
|
+
if (n.biff != 3 && d >= 0 && Le.indexOf(t[0][v][0]) == -1) {
|
|
12812
12812
|
x = t[0][d];
|
|
12813
12813
|
var U = !0;
|
|
12814
12814
|
switch (x[1][0]) {
|
|
@@ -12837,22 +12837,22 @@ function vt(t, e, r, a, n) {
|
|
|
12837
12837
|
function M2(t, e, r) {
|
|
12838
12838
|
var a = t.l + e, n = r.biff == 2 ? 1 : 2, i, s = t.read_shift(n);
|
|
12839
12839
|
if (s == 65535) return [[], yt(t, e - 2)];
|
|
12840
|
-
var o =
|
|
12841
|
-
return e !== s + n && (i =
|
|
12840
|
+
var o = Cn(t, s, r);
|
|
12841
|
+
return e !== s + n && (i = En(t, e - s - n, o, r)), t.l = a, [o, i];
|
|
12842
12842
|
}
|
|
12843
12843
|
function O2(t, e, r) {
|
|
12844
12844
|
var a = t.l + e, n = r.biff == 2 ? 1 : 2, i, s = t.read_shift(n);
|
|
12845
12845
|
if (s == 65535) return [[], yt(t, e - 2)];
|
|
12846
|
-
var o =
|
|
12847
|
-
return e !== s + n && (i =
|
|
12846
|
+
var o = Cn(t, s, r);
|
|
12847
|
+
return e !== s + n && (i = En(t, e - s - n, o, r)), t.l = a, [o, i];
|
|
12848
12848
|
}
|
|
12849
12849
|
function P2(t, e, r, a) {
|
|
12850
|
-
var n = t.l + e, i =
|
|
12851
|
-
return n !== t.l && (s =
|
|
12850
|
+
var n = t.l + e, i = Cn(t, a, r), s;
|
|
12851
|
+
return n !== t.l && (s = En(t, n - t.l, i, r)), [i, s];
|
|
12852
12852
|
}
|
|
12853
12853
|
function D2(t, e, r) {
|
|
12854
|
-
var a = t.l + e, n, i = t.read_shift(2), s =
|
|
12855
|
-
return i == 65535 ? [[], yt(t, e - 2)] : (e !== i + 2 && (n =
|
|
12854
|
+
var a = t.l + e, n, i = t.read_shift(2), s = Cn(t, i, r);
|
|
12855
|
+
return i == 65535 ? [[], yt(t, e - 2)] : (e !== i + 2 && (n = En(t, a - i - 2, s, r)), [s, n]);
|
|
12856
12856
|
}
|
|
12857
12857
|
function R2(t) {
|
|
12858
12858
|
var e;
|
|
@@ -12892,7 +12892,7 @@ function V2(t, e, r, a, n) {
|
|
|
12892
12892
|
return h;
|
|
12893
12893
|
}
|
|
12894
12894
|
function di(t, e, r) {
|
|
12895
|
-
var a = t.read_shift(4), n =
|
|
12895
|
+
var a = t.read_shift(4), n = Cn(t, a, r), i = t.read_shift(4), s = i > 0 ? En(t, i, n, r) : null;
|
|
12896
12896
|
return [n, s];
|
|
12897
12897
|
}
|
|
12898
12898
|
var H2 = di, pi = di, U2 = di, W2 = di, $2 = {
|
|
@@ -14058,7 +14058,7 @@ function Ms(t, e, r) {
|
|
|
14058
14058
|
}
|
|
14059
14059
|
function mi(t, e) {
|
|
14060
14060
|
var r = { min: t + 1, max: t + 1 }, a = -1;
|
|
14061
|
-
return e.MDW && (wt = e.MDW), e.width != null ? r.customWidth = 1 : e.wpx != null ? a =
|
|
14061
|
+
return e.MDW && (wt = e.MDW), e.width != null ? r.customWidth = 1 : e.wpx != null ? a = fn(e.wpx) : e.wch != null && (a = e.wch), a > -1 ? (r.width = ei(a), r.customWidth = 1) : e.width != null && (r.width = e.width), e.hidden && (r.hidden = !0), e.level != null && (r.outlineLevel = r.level = e.level), r;
|
|
14062
14062
|
}
|
|
14063
14063
|
function Zr(t, e) {
|
|
14064
14064
|
if (t) {
|
|
@@ -14095,10 +14095,10 @@ function oc(t, e, r, a, n, i) {
|
|
|
14095
14095
|
if (me[e] == null && Tr($f[e] || "General", e), t.t === "e") t.w = t.w || Ar[t.v];
|
|
14096
14096
|
else if (e === 0)
|
|
14097
14097
|
if (t.t === "n")
|
|
14098
|
-
(t.v | 0) === t.v ? t.w = t.v.toString(10) : t.w =
|
|
14098
|
+
(t.v | 0) === t.v ? t.w = t.v.toString(10) : t.w = rn(t.v);
|
|
14099
14099
|
else if (t.t === "d") {
|
|
14100
14100
|
var s = ot(t.v);
|
|
14101
|
-
(s | 0) === s ? t.w = s.toString(10) : t.w =
|
|
14101
|
+
(s | 0) === s ? t.w = s.toString(10) : t.w = rn(s);
|
|
14102
14102
|
} else {
|
|
14103
14103
|
if (t.v === void 0) return "";
|
|
14104
14104
|
t.w = ta(t.v, ba);
|
|
@@ -14153,8 +14153,8 @@ function ng(t, e, r, a, n, i, s) {
|
|
|
14153
14153
|
x[p] = Ne(b[p].slice(b[p].indexOf('"') + 1));
|
|
14154
14154
|
var I = f.match(q2);
|
|
14155
14155
|
I && hg(o, I, a);
|
|
14156
|
-
var
|
|
14157
|
-
if (
|
|
14156
|
+
var F = f.match(tg);
|
|
14157
|
+
if (F && (o["!margins"] = ug(ve(F[0]))), !o["!ref"] && l.e.c >= l.s.c && l.e.r >= l.s.r && (o["!ref"] = Ce(l)), e.sheetRows > 0 && o["!ref"]) {
|
|
14158
14158
|
var y = Ne(o["!ref"]);
|
|
14159
14159
|
e.sheetRows <= +y.e.r && (y.e.r = e.sheetRows - 1, y.e.r > l.e.r && (y.e.r = l.e.r), y.e.r < y.s.r && (y.s.r = y.e.r), y.e.c > l.e.c && (y.e.c = l.e.c), y.e.c < y.s.c && (y.s.c = y.e.c), o["!fullref"] = o["!ref"], o["!ref"] = Ce(y));
|
|
14160
14160
|
}
|
|
@@ -14235,7 +14235,7 @@ function pg(t, e) {
|
|
|
14235
14235
|
var n = ve(e[a], !0);
|
|
14236
14236
|
n.hidden && (n.hidden = He(n.hidden));
|
|
14237
14237
|
var i = parseInt(n.min, 10) - 1, s = parseInt(n.max, 10) - 1;
|
|
14238
|
-
for (n.outlineLevel && (n.level = +n.outlineLevel || 0), delete n.min, delete n.max, n.width = +n.width, !r && n.width && (r = !0,
|
|
14238
|
+
for (n.outlineLevel && (n.level = +n.outlineLevel || 0), delete n.min, delete n.max, n.width = +n.width, !r && n.width && (r = !0, Ls(n.width)), Rr(n); i <= s; ) t[i++] = We(n);
|
|
14239
14239
|
}
|
|
14240
14240
|
}
|
|
14241
14241
|
function mg(t, e) {
|
|
@@ -14327,9 +14327,9 @@ function Cg(t, e, r, a) {
|
|
|
14327
14327
|
return t.l && r["!links"].push([e, t.l]), t.D && (l.cm = 1), ae("c", o, l);
|
|
14328
14328
|
}
|
|
14329
14329
|
var yg = /* @__PURE__ */ function() {
|
|
14330
|
-
var t = /<(?:\w+:)?c[ \/>]/, e = /<\/(?:\w+:)?row>/, r = /r=["']([^"']*)["']/, a = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/, n = /ref=["']([^"']*)["']/, i =
|
|
14330
|
+
var t = /<(?:\w+:)?c[ \/>]/, e = /<\/(?:\w+:)?row>/, r = /r=["']([^"']*)["']/, a = /<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/, n = /ref=["']([^"']*)["']/, i = an("v"), s = an("f");
|
|
14331
14331
|
return function(l, c, f, h, u, p) {
|
|
14332
|
-
for (var m = 0, d = "", g = [], v = [], w = 0, x = 0, b = 0, I = "",
|
|
14332
|
+
for (var m = 0, d = "", g = [], v = [], w = 0, x = 0, b = 0, I = "", F, y, P = 0, N = 0, z, B, D = 0, J = 0, le = Array.isArray(p.CellXf), ne, he = [], oe = [], Le = Array.isArray(c), U = [], de = {}, we = !1, A = !!f.sheetStubs, R = l.split(e), M = 0, O = R.length; M != O; ++M) {
|
|
14333
14333
|
d = R[M].trim();
|
|
14334
14334
|
var K = d.length;
|
|
14335
14335
|
if (K !== 0) {
|
|
@@ -14367,14 +14367,14 @@ var yg = /* @__PURE__ */ function() {
|
|
|
14367
14367
|
--w, N = w;
|
|
14368
14368
|
} else ++N;
|
|
14369
14369
|
for (x = 0; x != d.length && d.charCodeAt(x) !== 62; ++x) ;
|
|
14370
|
-
if (++x, y = ve(d.slice(0, x), !0), y.r || (y.r = ge({ r: P - 1, c: N })), I = d.slice(x),
|
|
14371
|
-
v[1] !== "" && (
|
|
14370
|
+
if (++x, y = ve(d.slice(0, x), !0), y.r || (y.r = ge({ r: P - 1, c: N })), I = d.slice(x), F = { t: "" }, (v = I.match(i)) != null && /*::cref != null && */
|
|
14371
|
+
v[1] !== "" && (F.v = Ie(v[1])), f.cellFormula) {
|
|
14372
14372
|
if ((v = I.match(s)) != null && /*::cref != null && */
|
|
14373
14373
|
v[1] !== "") {
|
|
14374
|
-
if (
|
|
14375
|
-
`), f.xlfn || (
|
|
14374
|
+
if (F.f = Ie(Re(v[1])).replace(/\r\n/g, `
|
|
14375
|
+
`), f.xlfn || (F.f = jo(F.f)), /*::cref != null && cref[0] != null && */
|
|
14376
14376
|
v[0].indexOf('t="array"') > -1)
|
|
14377
|
-
|
|
14377
|
+
F.F = (I.match(n) || [])[1], F.F.indexOf(":") > -1 && he.push([Ne(F.F), F.F]);
|
|
14378
14378
|
else if (
|
|
14379
14379
|
/*::cref != null && cref[0] != null && */
|
|
14380
14380
|
v[0].indexOf('t="shared"') > -1
|
|
@@ -14383,56 +14383,56 @@ var yg = /* @__PURE__ */ function() {
|
|
|
14383
14383
|
var Q = Ie(Re(v[1]));
|
|
14384
14384
|
f.xlfn || (Q = jo(Q)), oe[parseInt(B.si, 10)] = [B, Q, y.r];
|
|
14385
14385
|
}
|
|
14386
|
-
} else (v = I.match(/<f[^>]*\/>/)) && (B = ve(v[0]), oe[B.si] && (
|
|
14386
|
+
} else (v = I.match(/<f[^>]*\/>/)) && (B = ve(v[0]), oe[B.si] && (F.f = vm(oe[B.si][1], oe[B.si][2], y.r)));
|
|
14387
14387
|
var q = je(y.r);
|
|
14388
14388
|
for (x = 0; x < he.length; ++x)
|
|
14389
|
-
q.r >= he[x][0].s.r && q.r <= he[x][0].e.r && q.c >= he[x][0].s.c && q.c <= he[x][0].e.c && (
|
|
14389
|
+
q.r >= he[x][0].s.r && q.r <= he[x][0].e.r && q.c >= he[x][0].s.c && q.c <= he[x][0].e.c && (F.F = he[x][1]);
|
|
14390
14390
|
}
|
|
14391
|
-
if (y.t == null &&
|
|
14392
|
-
if (
|
|
14393
|
-
|
|
14394
|
-
else if (A)
|
|
14391
|
+
if (y.t == null && F.v === void 0)
|
|
14392
|
+
if (F.f || F.F)
|
|
14393
|
+
F.v = 0, F.t = "n";
|
|
14394
|
+
else if (A) F.t = "z";
|
|
14395
14395
|
else continue;
|
|
14396
|
-
else
|
|
14397
|
-
switch (h.s.c > N && (h.s.c = N), h.e.c < N && (h.e.c = N),
|
|
14396
|
+
else F.t = y.t || "n";
|
|
14397
|
+
switch (h.s.c > N && (h.s.c = N), h.e.c < N && (h.e.c = N), F.t) {
|
|
14398
14398
|
case "n":
|
|
14399
|
-
if (
|
|
14399
|
+
if (F.v == "" || F.v == null) {
|
|
14400
14400
|
if (!A) continue;
|
|
14401
|
-
|
|
14402
|
-
} else
|
|
14401
|
+
F.t = "z";
|
|
14402
|
+
} else F.v = parseFloat(F.v);
|
|
14403
14403
|
break;
|
|
14404
14404
|
case "s":
|
|
14405
|
-
if (typeof
|
|
14405
|
+
if (typeof F.v > "u") {
|
|
14406
14406
|
if (!A) continue;
|
|
14407
|
-
|
|
14407
|
+
F.t = "z";
|
|
14408
14408
|
} else
|
|
14409
|
-
z = Ya[parseInt(
|
|
14409
|
+
z = Ya[parseInt(F.v, 10)], F.v = z.t, F.r = z.r, f.cellHTML && (F.h = z.h);
|
|
14410
14410
|
break;
|
|
14411
14411
|
case "str":
|
|
14412
|
-
|
|
14412
|
+
F.t = "s", F.v = F.v != null ? Re(F.v) : "", f.cellHTML && (F.h = us(F.v));
|
|
14413
14413
|
break;
|
|
14414
14414
|
case "inlineStr":
|
|
14415
|
-
v = I.match(a),
|
|
14415
|
+
v = I.match(a), F.t = "s", v != null && (z = Ss(v[1])) ? (F.v = z.t, f.cellHTML && (F.h = z.h)) : F.v = "";
|
|
14416
14416
|
break;
|
|
14417
14417
|
case "b":
|
|
14418
|
-
|
|
14418
|
+
F.v = He(F.v);
|
|
14419
14419
|
break;
|
|
14420
14420
|
case "d":
|
|
14421
|
-
f.cellDates ?
|
|
14421
|
+
f.cellDates ? F.v = Ue(F.v, 1) : (F.v = ot(Ue(F.v, 1)), F.t = "n");
|
|
14422
14422
|
break;
|
|
14423
14423
|
/* error string in .w, number in .v */
|
|
14424
14424
|
case "e":
|
|
14425
|
-
(!f || f.cellText !== !1) && (
|
|
14425
|
+
(!f || f.cellText !== !1) && (F.w = F.v), F.v = fl[F.v];
|
|
14426
14426
|
break;
|
|
14427
14427
|
}
|
|
14428
|
-
if (D = J = 0, ne = null, le && y.s !== void 0 && (ne = p.CellXf[y.s], ne != null && (ne.numFmtId != null && (D = ne.numFmtId), f.cellStyles && ne.fillId != null && (J = ne.fillId))), oc(
|
|
14428
|
+
if (D = J = 0, ne = null, le && y.s !== void 0 && (ne = p.CellXf[y.s], ne != null && (ne.numFmtId != null && (D = ne.numFmtId), f.cellStyles && ne.fillId != null && (J = ne.fillId))), oc(F, D, J, f, u, p), f.cellDates && le && F.t == "n" && Na(me[D]) && (F.t = "d", F.v = hi(F.v)), y.cm && f.xlmeta) {
|
|
14429
14429
|
var ke = (f.xlmeta.Cell || [])[+y.cm - 1];
|
|
14430
|
-
ke && ke.type == "XLDAPR" && (
|
|
14430
|
+
ke && ke.type == "XLDAPR" && (F.D = !0);
|
|
14431
14431
|
}
|
|
14432
|
-
if (
|
|
14433
|
-
var
|
|
14434
|
-
c[
|
|
14435
|
-
} else c[y.r] =
|
|
14432
|
+
if (Le) {
|
|
14433
|
+
var L = je(y.r);
|
|
14434
|
+
c[L.r] || (c[L.r] = []), c[L.r][L.c] = F;
|
|
14435
|
+
} else c[y.r] = F;
|
|
14436
14436
|
}
|
|
14437
14437
|
}
|
|
14438
14438
|
}
|
|
@@ -14449,10 +14449,10 @@ function kg(t, e, r, a) {
|
|
|
14449
14449
|
var w = m ? (t[h] || [])[u] : t[l];
|
|
14450
14450
|
w !== void 0 && (o = Cg(w, l, t, e)) != null && i.push(o);
|
|
14451
14451
|
}
|
|
14452
|
-
(i.length > 0 || p && p[h]) && (d = { r: c }, p && p[h] && (g = p[h], g.hidden && (d.hidden = 1), v = -1, g.hpx ? v =
|
|
14452
|
+
(i.length > 0 || p && p[h]) && (d = { r: c }, p && p[h] && (g = p[h], g.hidden && (d.hidden = 1), v = -1, g.hpx ? v = hn(g.hpx) : g.hpt && (v = g.hpt), v > -1 && (d.ht = v, d.customHeight = 1), g.level && (d.outlineLevel = g.level)), n[n.length] = ae("row", i.join(""), d));
|
|
14453
14453
|
}
|
|
14454
14454
|
if (p) for (; h < p.length; ++h)
|
|
14455
|
-
p && p[h] && (d = { r: h + 1 }, g = p[h], g.hidden && (d.hidden = 1), v = -1, g.hpx ? v =
|
|
14455
|
+
p && p[h] && (d = { r: h + 1 }, g = p[h], g.hidden && (d.hidden = 1), v = -1, g.hpx ? v = hn(g.hpx) : g.hpt && (v = g.hpt), v > -1 && (d.ht = v, d.customHeight = 1), g.level && (d.outlineLevel = g.level), n[n.length] = ae("row", "", d));
|
|
14456
14456
|
return n.join("");
|
|
14457
14457
|
}
|
|
14458
14458
|
function cc(t, e, r, a) {
|
|
@@ -14493,7 +14493,7 @@ function Tg(t, e, r) {
|
|
|
14493
14493
|
var a = X(145), n = (r["!rows"] || [])[t] || {};
|
|
14494
14494
|
a.write_shift(4, t), a.write_shift(4, 0);
|
|
14495
14495
|
var i = 320;
|
|
14496
|
-
n.hpx ? i =
|
|
14496
|
+
n.hpx ? i = hn(n.hpx) * 20 : n.hpt && (i = n.hpt * 20), a.write_shift(2, i), a.write_shift(1, 0);
|
|
14497
14497
|
var s = 0;
|
|
14498
14498
|
n.level && (s |= n.level), n.hidden && (s |= 16), (n.hpx || n.hpt) && (s |= 32), a.write_shift(1, s), a.write_shift(1, 0);
|
|
14499
14499
|
var o = 0, l = a.l;
|
|
@@ -14514,8 +14514,8 @@ function Sg(t, e, r, a) {
|
|
|
14514
14514
|
var n = Tg(a, r, e);
|
|
14515
14515
|
(n.length > 17 || (e["!rows"] || [])[a]) && Y(t, 0, n);
|
|
14516
14516
|
}
|
|
14517
|
-
var bg = ha,
|
|
14518
|
-
function
|
|
14517
|
+
var bg = ha, Lg = Pa;
|
|
14518
|
+
function Fg() {
|
|
14519
14519
|
}
|
|
14520
14520
|
function Ag(t, e) {
|
|
14521
14521
|
var r = {}, a = t[t.l];
|
|
@@ -14788,18 +14788,18 @@ function bx(t, e, r, a, n, i, s) {
|
|
|
14788
14788
|
if (!t) return t;
|
|
14789
14789
|
var o = e || {};
|
|
14790
14790
|
a || (a = { "!id": {} });
|
|
14791
|
-
var l = o.dense ? [] : {}, c, f = { s: { r: 2e6, c: 2e6 }, e: { r: 0, c: 0 } }, h = !1, u = !1, p, m, d, g, v, w, x, b, I,
|
|
14791
|
+
var l = o.dense ? [] : {}, c, f = { s: { r: 2e6, c: 2e6 }, e: { r: 0, c: 0 } }, h = !1, u = !1, p, m, d, g, v, w, x, b, I, F = [];
|
|
14792
14792
|
o.biff = 12, o["!row"] = 0;
|
|
14793
14793
|
var y = 0, P = !1, N = [], z = {}, B = o.supbooks || /*::(*/
|
|
14794
14794
|
n.supbooks || [[]];
|
|
14795
|
-
if (B.sharedf = z, B.arrayf = N, B.SheetNames = n.SheetNames || n.Sheets.map(function(
|
|
14796
|
-
return
|
|
14795
|
+
if (B.sharedf = z, B.arrayf = N, B.SheetNames = n.SheetNames || n.Sheets.map(function(Le) {
|
|
14796
|
+
return Le.name;
|
|
14797
14797
|
}), !o.supbooks && (o.supbooks = B, n.Names))
|
|
14798
14798
|
for (var D = 0; D < n.Names.length; ++D) B[0][D + 1] = n.Names[D];
|
|
14799
14799
|
var J = [], le = [], ne = !1;
|
|
14800
|
-
|
|
14800
|
+
un[16] = { n: "BrtShortReal", f: fc };
|
|
14801
14801
|
var he;
|
|
14802
|
-
if (
|
|
14802
|
+
if (Fr(t, function(U, de, we) {
|
|
14803
14803
|
if (!u)
|
|
14804
14804
|
switch (we) {
|
|
14805
14805
|
case 148:
|
|
@@ -14881,7 +14881,7 @@ function bx(t, e, r, a, n, i, s) {
|
|
|
14881
14881
|
m = { t: "z", v: void 0 }, v = U[0].c == -1 ? v + 1 : U[0].c, o.dense ? (l[g] || (l[g] = []), l[g][v] = m) : l[Xe(v) + b] = m, f.s.r > p.r && (f.s.r = p.r), f.s.c > v && (f.s.c = v), f.e.r < p.r && (f.e.r = p.r), f.e.c < v && (f.e.c = v), he && (he.type == "XLDAPR" && (m.D = !0), he = void 0);
|
|
14882
14882
|
break;
|
|
14883
14883
|
case 176:
|
|
14884
|
-
|
|
14884
|
+
F.push(U);
|
|
14885
14885
|
break;
|
|
14886
14886
|
case 49:
|
|
14887
14887
|
he = ((o.xlmeta || {}).Cell || [])[U - 1];
|
|
@@ -14903,7 +14903,7 @@ function bx(t, e, r, a, n, i, s) {
|
|
|
14903
14903
|
case 60:
|
|
14904
14904
|
if (!o.cellStyles) break;
|
|
14905
14905
|
for (; U.e >= U.s; )
|
|
14906
|
-
J[U.e--] = { width: U.w / 256, hidden: !!(U.flags & 1), level: U.level }, ne || (ne = !0,
|
|
14906
|
+
J[U.e--] = { width: U.w / 256, hidden: !!(U.flags & 1), level: U.level }, ne || (ne = !0, Ls(U.w / 256)), Rr(J[U.e + 1]);
|
|
14907
14907
|
break;
|
|
14908
14908
|
case 161:
|
|
14909
14909
|
l["!autofilter"] = { ref: Ce(U) };
|
|
@@ -15046,9 +15046,9 @@ function bx(t, e, r, a, n, i, s) {
|
|
|
15046
15046
|
var oe = Ne(l["!ref"]);
|
|
15047
15047
|
o.sheetRows <= +oe.e.r && (oe.e.r = o.sheetRows - 1, oe.e.r > f.e.r && (oe.e.r = f.e.r), oe.e.r < oe.s.r && (oe.s.r = oe.e.r), oe.e.c > f.e.c && (oe.e.c = f.e.c), oe.e.c < oe.s.c && (oe.s.c = oe.e.c), l["!fullref"] = l["!ref"], l["!ref"] = Ce(oe));
|
|
15048
15048
|
}
|
|
15049
|
-
return
|
|
15049
|
+
return F.length > 0 && (l["!merges"] = F), J.length > 0 && (l["!cols"] = J), le.length > 0 && (l["!rows"] = le), l;
|
|
15050
15050
|
}
|
|
15051
|
-
function
|
|
15051
|
+
function Lx(t, e, r, a, n, i, s) {
|
|
15052
15052
|
if (e.v === void 0) return !1;
|
|
15053
15053
|
var o = "";
|
|
15054
15054
|
switch (e.t) {
|
|
@@ -15081,7 +15081,7 @@ function Fx(t, e, r, a, n, i, s) {
|
|
|
15081
15081
|
}
|
|
15082
15082
|
return s ? Y(t, 12, Pg(e, l)) : Y(t, 1, Mg(e, l)), !0;
|
|
15083
15083
|
}
|
|
15084
|
-
function
|
|
15084
|
+
function Fx(t, e, r, a) {
|
|
15085
15085
|
var n = Ne(e["!ref"] || "A1"), i, s = "", o = [];
|
|
15086
15086
|
Y(
|
|
15087
15087
|
t,
|
|
@@ -15100,7 +15100,7 @@ function Lx(t, e, r, a) {
|
|
|
15100
15100
|
h = !1;
|
|
15101
15101
|
continue;
|
|
15102
15102
|
}
|
|
15103
|
-
h =
|
|
15103
|
+
h = Lx(t, p, f, u, a, e, h);
|
|
15104
15104
|
}
|
|
15105
15105
|
}
|
|
15106
15106
|
Y(
|
|
@@ -15195,7 +15195,7 @@ function Rx(t, e) {
|
|
|
15195
15195
|
e["!protect"] && Y(t, 535, _x(e["!protect"]));
|
|
15196
15196
|
}
|
|
15197
15197
|
function Bx(t, e, r, a) {
|
|
15198
|
-
var n =
|
|
15198
|
+
var n = Ft(), i = r.SheetNames[t], s = r.Sheets[i] || {}, o = i;
|
|
15199
15199
|
try {
|
|
15200
15200
|
r && r.Workbook && (o = r.Workbook.Sheets[t].CodeName || o);
|
|
15201
15201
|
} catch {
|
|
@@ -15209,7 +15209,7 @@ function Bx(t, e, r, a) {
|
|
|
15209
15209
|
n,
|
|
15210
15210
|
129
|
|
15211
15211
|
/* BrtBeginSheet */
|
|
15212
|
-
), (r.vbaraw || s["!outline"]) && Y(n, 147, Ig(o, s["!outline"])), Y(n, 148,
|
|
15212
|
+
), (r.vbaraw || s["!outline"]) && Y(n, 147, Ig(o, s["!outline"])), Y(n, 148, Lg(l)), Dx(n, s, r.Workbook), Ix(n, s), Fx(n, s, t, e), Rx(n, s), Px(n, s, r, t), Ax(n, s), Mx(n, s, a), s["!margins"] && Y(n, 476, Ex(s["!margins"])), (!e || e.ignoreEC || e.ignoreEC == null) && Nx(n, s), Ox(n, s, t, a), Y(
|
|
15213
15213
|
n,
|
|
15214
15214
|
130
|
|
15215
15215
|
/* BrtEndSheet */
|
|
@@ -15252,7 +15252,7 @@ function $x(t, e, r, a, n) {
|
|
|
15252
15252
|
if (!t) return t;
|
|
15253
15253
|
a || (a = { "!id": {} });
|
|
15254
15254
|
var i = { "!type": "chart", "!drawel": null, "!rel": "" }, s = !1;
|
|
15255
|
-
return
|
|
15255
|
+
return Fr(t, function(l, c, f) {
|
|
15256
15256
|
switch (f) {
|
|
15257
15257
|
case 550:
|
|
15258
15258
|
i["!rel"] = l;
|
|
@@ -15683,7 +15683,7 @@ function iv(t, e) {
|
|
|
15683
15683
|
var r = { AppVersion: {}, WBProps: {}, WBView: [], Sheets: [], CalcPr: {}, xmlns: "" }, a = [], n = !1;
|
|
15684
15684
|
e || (e = {}), e.biff = 12;
|
|
15685
15685
|
var i = [], s = [[]];
|
|
15686
|
-
return s.SheetNames = [], s.XTI = [],
|
|
15686
|
+
return s.SheetNames = [], s.XTI = [], un[16] = { n: "BrtFRTArchID$", f: av }, Fr(t, function(l, c, f) {
|
|
15687
15687
|
switch (f) {
|
|
15688
15688
|
case 156:
|
|
15689
15689
|
s.SheetNames.push(l.name), r.Sheets.push(l);
|
|
@@ -15834,7 +15834,7 @@ function cv(t, e) {
|
|
|
15834
15834
|
}
|
|
15835
15835
|
}
|
|
15836
15836
|
function fv(t, e) {
|
|
15837
|
-
var r =
|
|
15837
|
+
var r = Ft();
|
|
15838
15838
|
return Y(
|
|
15839
15839
|
r,
|
|
15840
15840
|
131
|
|
@@ -15896,7 +15896,7 @@ function Sv(t, e, r) {
|
|
|
15896
15896
|
function bv(t, e, r) {
|
|
15897
15897
|
return (e.slice(-4) === ".bin" ? fm : ql)(t);
|
|
15898
15898
|
}
|
|
15899
|
-
function
|
|
15899
|
+
function Lv(t) {
|
|
15900
15900
|
return (t.slice(-4) === ".bin" ? jp : Yl)();
|
|
15901
15901
|
}
|
|
15902
15902
|
var mc = /([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g, gc = /([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;
|
|
@@ -15908,7 +15908,7 @@ function Yt(t, e) {
|
|
|
15908
15908
|
i = n[l].match(gc), (s = i[1].indexOf(":")) === -1 ? a[i[1]] = i[2].slice(1, i[2].length - 1) : (i[1].slice(0, 6) === "xmlns:" ? o = "xmlns" + i[1].slice(6) : o = i[1].slice(s + 1), a[o] = i[2].slice(1, i[2].length - 1));
|
|
15909
15909
|
return a;
|
|
15910
15910
|
}
|
|
15911
|
-
function
|
|
15911
|
+
function Fv(t) {
|
|
15912
15912
|
var e = t.split(/\s+/), r = {};
|
|
15913
15913
|
if (e.length === 1) return r;
|
|
15914
15914
|
var a = t.match(mc), n, i, s, o;
|
|
@@ -15953,7 +15953,7 @@ function Iv(t, e, r, a) {
|
|
|
15953
15953
|
function Nv(t, e, r) {
|
|
15954
15954
|
if (t.t !== "z") {
|
|
15955
15955
|
if (!r || r.cellText !== !1) try {
|
|
15956
|
-
t.t === "e" ? t.w = t.w || Ar[t.v] : e === "General" ? t.t === "n" ? (t.v | 0) === t.v ? t.w = t.v.toString(10) : t.w =
|
|
15956
|
+
t.t === "e" ? t.w = t.w || Ar[t.v] : e === "General" ? t.t === "n" ? (t.v | 0) === t.v ? t.w = t.v.toString(10) : t.w = rn(t.v) : t.w = ta(t.v) : t.w = Av(e || "General", t.v);
|
|
15957
15957
|
} catch (i) {
|
|
15958
15958
|
if (r.WTF) throw i;
|
|
15959
15959
|
}
|
|
@@ -16017,7 +16017,7 @@ function Pv(t) {
|
|
|
16017
16017
|
`).replace(/\r/g, `
|
|
16018
16018
|
`), t.v = t.w = t.ixfe = void 0;
|
|
16019
16019
|
}
|
|
16020
|
-
function
|
|
16020
|
+
function Li(t, e) {
|
|
16021
16021
|
var r = e || {};
|
|
16022
16022
|
Ma();
|
|
16023
16023
|
var a = Wa(ds(t));
|
|
@@ -16048,9 +16048,9 @@ function Fi(t, e) {
|
|
|
16048
16048
|
"True/False": '"True";"True";"False";@',
|
|
16049
16049
|
"On/Off": '"Yes";"Yes";"No";@'
|
|
16050
16050
|
};
|
|
16051
|
-
var o, l = [], c, f = {}, h = [], u = r.dense ? [] : {}, p = "", m = {}, d = {}, g = Yt('<Data ss:Type="String">'), v = 0, w = 0, x = 0, b = { s: { r: 2e6, c: 2e6 }, e: { r: 0, c: 0 } }, I = {},
|
|
16052
|
-
|
|
16053
|
-
for (var K = ""; o =
|
|
16051
|
+
var o, l = [], c, f = {}, h = [], u = r.dense ? [] : {}, p = "", m = {}, d = {}, g = Yt('<Data ss:Type="String">'), v = 0, w = 0, x = 0, b = { s: { r: 2e6, c: 2e6 }, e: { r: 0, c: 0 } }, I = {}, F = {}, y = "", P = 0, N = [], z = {}, B = {}, D = 0, J = [], le = [], ne = {}, he = [], oe, Le = !1, U = [], de = [], we = {}, A = 0, R = 0, M = { Sheets: [], WBProps: { date1904: !1 } }, O = {};
|
|
16052
|
+
sn.lastIndex = 0, a = a.replace(/<!--([\s\S]*?)-->/mg, "");
|
|
16053
|
+
for (var K = ""; o = sn.exec(a); ) switch (o[3] = (K = o[3]).toLowerCase()) {
|
|
16054
16054
|
case "data":
|
|
16055
16055
|
if (K == "data") {
|
|
16056
16056
|
if (o[1] === "/") {
|
|
@@ -16073,10 +16073,10 @@ function Fi(t, e) {
|
|
|
16073
16073
|
w = A + 1;
|
|
16074
16074
|
} else ++w;
|
|
16075
16075
|
else
|
|
16076
|
-
m =
|
|
16076
|
+
m = Fv(o[0]), m.Index && (w = +m.Index - 1), w < b.s.c && (b.s.c = w), w > b.e.c && (b.e.c = w), o[0].slice(-2) === "/>" && ++w, le = [];
|
|
16077
16077
|
break;
|
|
16078
16078
|
case "row":
|
|
16079
|
-
o[1] === "/" || o[0].slice(-2) === "/>" ? (x < b.s.r && (b.s.r = x), x > b.e.r && (b.e.r = x), o[0].slice(-2) === "/>" && (d = Yt(o[0]), d.Index && (x = +d.Index - 1)), w = 0, ++x) : (d = Yt(o[0]), d.Index && (x = +d.Index - 1), we = {}, (d.AutoFitHeight == "0" || d.Height) && (we.hpx = parseInt(d.Height, 10), we.hpt =
|
|
16079
|
+
o[1] === "/" || o[0].slice(-2) === "/>" ? (x < b.s.r && (b.s.r = x), x > b.e.r && (b.e.r = x), o[0].slice(-2) === "/>" && (d = Yt(o[0]), d.Index && (x = +d.Index - 1)), w = 0, ++x) : (d = Yt(o[0]), d.Index && (x = +d.Index - 1), we = {}, (d.AutoFitHeight == "0" || d.Height) && (we.hpx = parseInt(d.Height, 10), we.hpt = hn(we.hpx), de[x] = we), d.Hidden == "1" && (we.hidden = !0, de[x] = we));
|
|
16080
16080
|
break;
|
|
16081
16081
|
case "worksheet":
|
|
16082
16082
|
if (o[1] === "/") {
|
|
@@ -16090,18 +16090,18 @@ function Fi(t, e) {
|
|
|
16090
16090
|
if ((c = l.pop())[0] !== o[3]) throw new Error("Bad state: " + c.join("|"));
|
|
16091
16091
|
} else {
|
|
16092
16092
|
if (o[0].slice(-2) == "/>") break;
|
|
16093
|
-
l.push([o[3], !1]), he = [],
|
|
16093
|
+
l.push([o[3], !1]), he = [], Le = !1;
|
|
16094
16094
|
}
|
|
16095
16095
|
break;
|
|
16096
16096
|
case "style":
|
|
16097
|
-
o[1] === "/" ? Mv(I,
|
|
16097
|
+
o[1] === "/" ? Mv(I, F, r) : F = Yt(o[0]);
|
|
16098
16098
|
break;
|
|
16099
16099
|
case "numberformat":
|
|
16100
|
-
|
|
16101
|
-
for (var Q = 0; Q != 392 && me[Q] !=
|
|
16100
|
+
F.nf = Ie(Yt(o[0]).Format || "General"), qa[F.nf] && (F.nf = qa[F.nf]);
|
|
16101
|
+
for (var Q = 0; Q != 392 && me[Q] != F.nf; ++Q) ;
|
|
16102
16102
|
if (Q == 392) {
|
|
16103
16103
|
for (Q = 57; Q != 392; ++Q) if (me[Q] == null) {
|
|
16104
|
-
Tr(
|
|
16104
|
+
Tr(F.nf, Q);
|
|
16105
16105
|
break;
|
|
16106
16106
|
}
|
|
16107
16107
|
}
|
|
@@ -16109,19 +16109,19 @@ function Fi(t, e) {
|
|
|
16109
16109
|
case "column":
|
|
16110
16110
|
if (l[l.length - 1][0] !== /*'Table'*/
|
|
16111
16111
|
"table") break;
|
|
16112
|
-
if (oe = Yt(o[0]), oe.Hidden && (oe.hidden = !0, delete oe.Hidden), oe.Width && (oe.wpx = parseInt(oe.Width, 10)), !
|
|
16113
|
-
|
|
16112
|
+
if (oe = Yt(o[0]), oe.Hidden && (oe.hidden = !0, delete oe.Hidden), oe.Width && (oe.wpx = parseInt(oe.Width, 10)), !Le && oe.wpx > 10) {
|
|
16113
|
+
Le = !0, wt = Gl;
|
|
16114
16114
|
for (var q = 0; q < he.length; ++q) he[q] && Rr(he[q]);
|
|
16115
16115
|
}
|
|
16116
|
-
|
|
16116
|
+
Le && Rr(oe), he[oe.Index - 1 || he.length] = oe;
|
|
16117
16117
|
for (var ke = 0; ke < +oe.Span; ++ke) he[he.length] = We(oe);
|
|
16118
16118
|
break;
|
|
16119
16119
|
case "namedrange":
|
|
16120
16120
|
if (o[1] === "/") break;
|
|
16121
16121
|
M.Names || (M.Names = []);
|
|
16122
|
-
var
|
|
16123
|
-
Name:
|
|
16124
|
-
Ref: Sa(
|
|
16122
|
+
var L = ve(o[0]), Ve = {
|
|
16123
|
+
Name: L.Name,
|
|
16124
|
+
Ref: Sa(L.RefersTo.slice(1), { r: 0, c: 0 })
|
|
16125
16125
|
};
|
|
16126
16126
|
M.Sheets.length > 0 && (Ve.Sheet = M.Sheets.length - 1), M.Names.push(Ve);
|
|
16127
16127
|
break;
|
|
@@ -16159,7 +16159,7 @@ function Fi(t, e) {
|
|
|
16159
16159
|
break;
|
|
16160
16160
|
case "interior":
|
|
16161
16161
|
if (!r.cellStyles) break;
|
|
16162
|
-
|
|
16162
|
+
F.Interior = Yt(o[0]);
|
|
16163
16163
|
break;
|
|
16164
16164
|
case "protection":
|
|
16165
16165
|
break;
|
|
@@ -16205,8 +16205,8 @@ function Fi(t, e) {
|
|
|
16205
16205
|
if (o[1] === "/") {
|
|
16206
16206
|
if ((c = l.pop())[0] !== o[3]) throw new Error("Bad state: " + c.join("|"));
|
|
16207
16207
|
} else if (o[0].charAt(o[0].length - 2) !== "/") {
|
|
16208
|
-
var
|
|
16209
|
-
u["!autofilter"] = { ref: Sa(
|
|
16208
|
+
var Fe = Yt(o[0]);
|
|
16209
|
+
u["!autofilter"] = { ref: Sa(Fe.Range).replace(/\$/g, "") }, l.push([o[3], !0]);
|
|
16210
16210
|
}
|
|
16211
16211
|
break;
|
|
16212
16212
|
case "name":
|
|
@@ -16948,13 +16948,13 @@ function Fi(t, e) {
|
|
|
16948
16948
|
function ji(t, e) {
|
|
16949
16949
|
switch (Rs(e = e || {}), e.type || "base64") {
|
|
16950
16950
|
case "base64":
|
|
16951
|
-
return
|
|
16951
|
+
return Li(Rt(t), e);
|
|
16952
16952
|
case "binary":
|
|
16953
16953
|
case "buffer":
|
|
16954
16954
|
case "file":
|
|
16955
|
-
return
|
|
16955
|
+
return Li(t, e);
|
|
16956
16956
|
case "array":
|
|
16957
|
-
return
|
|
16957
|
+
return Li(Hr(t), e);
|
|
16958
16958
|
}
|
|
16959
16959
|
}
|
|
16960
16960
|
function Dv(t, e) {
|
|
@@ -17077,7 +17077,7 @@ function zv(t, e, r, a) {
|
|
|
17077
17077
|
t["!cols"] && t["!cols"].forEach(function(g, v) {
|
|
17078
17078
|
Rr(g);
|
|
17079
17079
|
var w = !!g.width, x = mi(v, g), b = { "ss:Index": v + 1 };
|
|
17080
|
-
w && (b["ss:Width"] =
|
|
17080
|
+
w && (b["ss:Width"] = cn(x.width)), g.hidden && (b["ss:Hidden"] = "1"), o.push(ae("Column", null, b));
|
|
17081
17081
|
});
|
|
17082
17082
|
for (var l = Array.isArray(t), c = n.s.r; c <= n.e.r; ++c) {
|
|
17083
17083
|
for (var f = [Gv(c, (t["!rows"] || [])[c])], h = n.s.c; h <= n.e.c; ++h) {
|
|
@@ -17164,7 +17164,7 @@ function or(t, e, r) {
|
|
|
17164
17164
|
if (e.WTF) throw i;
|
|
17165
17165
|
}
|
|
17166
17166
|
if (!e || e.cellText !== !1) try {
|
|
17167
|
-
t.t === "e" ? t.w = t.w || Ar[t.v] : a === 0 || a == "General" ? t.t === "n" ? (t.v | 0) === t.v ? t.w = t.v.toString(10) : t.w =
|
|
17167
|
+
t.t === "e" ? t.w = t.w || Ar[t.v] : a === 0 || a == "General" ? t.t === "n" ? (t.v | 0) === t.v ? t.w = t.v.toString(10) : t.w = rn(t.v) : t.w = ta(t.v) : t.w = jt(a, t.v, { date1904: !!r, dateNF: e && e.dateNF });
|
|
17168
17168
|
} catch (i) {
|
|
17169
17169
|
if (e.WTF) throw i;
|
|
17170
17170
|
}
|
|
@@ -17174,18 +17174,18 @@ function or(t, e, r) {
|
|
|
17174
17174
|
}
|
|
17175
17175
|
}
|
|
17176
17176
|
}
|
|
17177
|
-
function
|
|
17177
|
+
function Mn(t, e, r) {
|
|
17178
17178
|
return { v: t, ixfe: e, t: r };
|
|
17179
17179
|
}
|
|
17180
17180
|
function qv(t, e) {
|
|
17181
|
-
var r = { opts: {} }, a = {}, n = e.dense ? [] : {}, i = {}, s = {}, o = null, l = [], c = "", f = {}, h, u = "", p, m, d, g, v = {}, w = [], x, b, I = [],
|
|
17182
|
-
return Te < 8 ? Yr[Te] : Te < 64 &&
|
|
17181
|
+
var r = { opts: {} }, a = {}, n = e.dense ? [] : {}, i = {}, s = {}, o = null, l = [], c = "", f = {}, h, u = "", p, m, d, g, v = {}, w = [], x, b, I = [], F = [], y = { Sheets: [], WBProps: { date1904: !1 }, Views: [{}] }, P = {}, N = function(Te) {
|
|
17182
|
+
return Te < 8 ? Yr[Te] : Te < 64 && F[Te - 8] || Yr[Te];
|
|
17183
17183
|
}, z = function(Te, Ze, Vt) {
|
|
17184
17184
|
var it = Ze.XF.data;
|
|
17185
17185
|
if (!(!it || !it.patternType || !Vt || !Vt.cellStyles)) {
|
|
17186
17186
|
Ze.s = {}, Ze.s.patternType = it.patternType;
|
|
17187
17187
|
var $r;
|
|
17188
|
-
($r =
|
|
17188
|
+
($r = ln(N(it.icvFore))) && (Ze.s.fgColor = { rgb: $r }), ($r = ln(N(it.icvBack))) && (Ze.s.bgColor = { rgb: $r });
|
|
17189
17189
|
}
|
|
17190
17190
|
}, B = function(Te, Ze, Vt) {
|
|
17191
17191
|
if (!(we > 1) && !(Vt.sheetRows && Te.r >= Vt.sheetRows)) {
|
|
@@ -17223,7 +17223,7 @@ function qv(t, e) {
|
|
|
17223
17223
|
WTF: !!e && !!e.wtf
|
|
17224
17224
|
};
|
|
17225
17225
|
e.password && (D.password = e.password);
|
|
17226
|
-
var J, le = [], ne = [], he = [], oe = [],
|
|
17226
|
+
var J, le = [], ne = [], he = [], oe = [], Le = !1, U = [];
|
|
17227
17227
|
U.SheetNames = D.snames, U.sharedf = D.sharedf, U.arrayf = D.arrayf, U.names = [], U.XTI = [];
|
|
17228
17228
|
var de = 0, we = 0, A = 0, R = [], M = [], O;
|
|
17229
17229
|
D.codepage = 1200, er(1200);
|
|
@@ -17239,27 +17239,27 @@ function qv(t, e) {
|
|
|
17239
17239
|
if (Q -= 2, !D.enc && ke !== re && ((ke & 255) << 8 | ke >> 8) !== re) throw new Error("rt mismatch: " + ke + "!=" + re);
|
|
17240
17240
|
q.r == 12 && (t.l += 10, Q -= 10);
|
|
17241
17241
|
}
|
|
17242
|
-
var
|
|
17243
|
-
if (re === 10 ?
|
|
17244
|
-
q.f(t, Q, D) :
|
|
17242
|
+
var L = {};
|
|
17243
|
+
if (re === 10 ? L = /*::(*/
|
|
17244
|
+
q.f(t, Q, D) : L = /*::(*/
|
|
17245
17245
|
Jv(re, q, t, Q, D), we == 0 && [9, 521, 1033, 2057].indexOf(de) === -1) continue;
|
|
17246
17246
|
switch (re) {
|
|
17247
17247
|
case 34:
|
|
17248
|
-
r.opts.Date1904 = y.WBProps.date1904 =
|
|
17248
|
+
r.opts.Date1904 = y.WBProps.date1904 = L;
|
|
17249
17249
|
break;
|
|
17250
17250
|
case 134:
|
|
17251
17251
|
r.opts.WriteProtect = !0;
|
|
17252
17252
|
break;
|
|
17253
17253
|
case 47:
|
|
17254
|
-
if (D.enc || (t.l = 0), D.enc =
|
|
17255
|
-
if (
|
|
17256
|
-
if (!
|
|
17254
|
+
if (D.enc || (t.l = 0), D.enc = L, !e.password) throw new Error("File is password-protected");
|
|
17255
|
+
if (L.valid == null) throw new Error("Encryption scheme unsupported");
|
|
17256
|
+
if (!L.valid) throw new Error("Password is incorrect");
|
|
17257
17257
|
break;
|
|
17258
17258
|
case 92:
|
|
17259
|
-
D.lastuser =
|
|
17259
|
+
D.lastuser = L;
|
|
17260
17260
|
break;
|
|
17261
17261
|
case 66:
|
|
17262
|
-
var Ve = Number(
|
|
17262
|
+
var Ve = Number(L);
|
|
17263
17263
|
switch (Ve) {
|
|
17264
17264
|
case 21010:
|
|
17265
17265
|
Ve = 1200;
|
|
@@ -17274,79 +17274,79 @@ function qv(t, e) {
|
|
|
17274
17274
|
er(D.codepage = Ve), K = !0;
|
|
17275
17275
|
break;
|
|
17276
17276
|
case 317:
|
|
17277
|
-
D.rrtabid =
|
|
17277
|
+
D.rrtabid = L;
|
|
17278
17278
|
break;
|
|
17279
17279
|
case 25:
|
|
17280
|
-
D.winlocked =
|
|
17280
|
+
D.winlocked = L;
|
|
17281
17281
|
break;
|
|
17282
17282
|
case 439:
|
|
17283
|
-
r.opts.RefreshAll =
|
|
17283
|
+
r.opts.RefreshAll = L;
|
|
17284
17284
|
break;
|
|
17285
17285
|
case 12:
|
|
17286
|
-
r.opts.CalcCount =
|
|
17286
|
+
r.opts.CalcCount = L;
|
|
17287
17287
|
break;
|
|
17288
17288
|
case 16:
|
|
17289
|
-
r.opts.CalcDelta =
|
|
17289
|
+
r.opts.CalcDelta = L;
|
|
17290
17290
|
break;
|
|
17291
17291
|
case 17:
|
|
17292
|
-
r.opts.CalcIter =
|
|
17292
|
+
r.opts.CalcIter = L;
|
|
17293
17293
|
break;
|
|
17294
17294
|
case 13:
|
|
17295
|
-
r.opts.CalcMode =
|
|
17295
|
+
r.opts.CalcMode = L;
|
|
17296
17296
|
break;
|
|
17297
17297
|
case 14:
|
|
17298
|
-
r.opts.CalcPrecision =
|
|
17298
|
+
r.opts.CalcPrecision = L;
|
|
17299
17299
|
break;
|
|
17300
17300
|
case 95:
|
|
17301
|
-
r.opts.CalcSaveRecalc =
|
|
17301
|
+
r.opts.CalcSaveRecalc = L;
|
|
17302
17302
|
break;
|
|
17303
17303
|
case 15:
|
|
17304
|
-
D.CalcRefMode =
|
|
17304
|
+
D.CalcRefMode = L;
|
|
17305
17305
|
break;
|
|
17306
17306
|
// TODO: implement R1C1
|
|
17307
17307
|
case 2211:
|
|
17308
|
-
r.opts.FullCalc =
|
|
17308
|
+
r.opts.FullCalc = L;
|
|
17309
17309
|
break;
|
|
17310
17310
|
case 129:
|
|
17311
|
-
|
|
17311
|
+
L.fDialog && (n["!type"] = "dialog"), L.fBelow || ((n["!outline"] || (n["!outline"] = {})).above = !0), L.fRight || ((n["!outline"] || (n["!outline"] = {})).left = !0);
|
|
17312
17312
|
break;
|
|
17313
17313
|
// TODO
|
|
17314
17314
|
case 224:
|
|
17315
|
-
I.push(
|
|
17315
|
+
I.push(L);
|
|
17316
17316
|
break;
|
|
17317
17317
|
case 430:
|
|
17318
|
-
U.push([
|
|
17318
|
+
U.push([L]), U[U.length - 1].XTI = [];
|
|
17319
17319
|
break;
|
|
17320
17320
|
case 35:
|
|
17321
17321
|
case 547:
|
|
17322
|
-
U[U.length - 1].push(
|
|
17322
|
+
U[U.length - 1].push(L);
|
|
17323
17323
|
break;
|
|
17324
17324
|
case 24:
|
|
17325
17325
|
case 536:
|
|
17326
17326
|
O = {
|
|
17327
|
-
Name:
|
|
17328
|
-
Ref: vt(
|
|
17329
|
-
},
|
|
17327
|
+
Name: L.Name,
|
|
17328
|
+
Ref: vt(L.rgce, s, null, U, D)
|
|
17329
|
+
}, L.itab > 0 && (O.Sheet = L.itab - 1), U.names.push(O), U[0] || (U[0] = [], U[0].XTI = []), U[U.length - 1].push(L), L.Name == "_xlnm._FilterDatabase" && L.itab > 0 && L.rgce && L.rgce[0] && L.rgce[0][0] && L.rgce[0][0][0] == "PtgArea3d" && (M[L.itab - 1] = { ref: Ce(L.rgce[0][0][1][2]) });
|
|
17330
17330
|
break;
|
|
17331
17331
|
case 22:
|
|
17332
|
-
D.ExternCount =
|
|
17332
|
+
D.ExternCount = L;
|
|
17333
17333
|
break;
|
|
17334
17334
|
case 23:
|
|
17335
|
-
U.length == 0 && (U[0] = [], U[0].XTI = []), U[U.length - 1].XTI = U[U.length - 1].XTI.concat(
|
|
17335
|
+
U.length == 0 && (U[0] = [], U[0].XTI = []), U[U.length - 1].XTI = U[U.length - 1].XTI.concat(L), U.XTI = U.XTI.concat(L);
|
|
17336
17336
|
break;
|
|
17337
17337
|
case 2196:
|
|
17338
17338
|
if (D.biff < 8) break;
|
|
17339
|
-
O != null && (O.Comment =
|
|
17339
|
+
O != null && (O.Comment = L[1]);
|
|
17340
17340
|
break;
|
|
17341
17341
|
case 18:
|
|
17342
|
-
n["!protect"] =
|
|
17342
|
+
n["!protect"] = L;
|
|
17343
17343
|
break;
|
|
17344
17344
|
/* for sheet or book */
|
|
17345
17345
|
case 19:
|
|
17346
|
-
|
|
17346
|
+
L !== 0 && D.WTF && console.error("Password verifier: " + L);
|
|
17347
17347
|
break;
|
|
17348
17348
|
case 133:
|
|
17349
|
-
i[
|
|
17349
|
+
i[L.pos] = L, D.snames.push(L.name);
|
|
17350
17350
|
break;
|
|
17351
17351
|
case 10:
|
|
17352
17352
|
{
|
|
@@ -17354,8 +17354,8 @@ function qv(t, e) {
|
|
|
17354
17354
|
if (s.e) {
|
|
17355
17355
|
if (s.e.r > 0 && s.e.c > 0) {
|
|
17356
17356
|
if (s.e.r--, s.e.c--, n["!ref"] = Ce(s), e.sheetRows && e.sheetRows <= s.e.r) {
|
|
17357
|
-
var
|
|
17358
|
-
s.e.r = e.sheetRows - 1, n["!fullref"] = n["!ref"], n["!ref"] = Ce(s), s.e.r =
|
|
17357
|
+
var Fe = s.e.r;
|
|
17358
|
+
s.e.r = e.sheetRows - 1, n["!fullref"] = n["!ref"], n["!ref"] = Ce(s), s.e.r = Fe;
|
|
17359
17359
|
}
|
|
17360
17360
|
s.e.r++, s.e.c++;
|
|
17361
17361
|
}
|
|
@@ -17391,65 +17391,65 @@ function qv(t, e) {
|
|
|
17391
17391
|
2: 2,
|
|
17392
17392
|
/*::[*/
|
|
17393
17393
|
7: 2
|
|
17394
|
-
}[
|
|
17395
|
-
if (n = e.dense ? [] : {}, D.biff < 8 && !K && (K = !0, er(D.codepage = e.codepage || 1252)), D.biff < 5 ||
|
|
17394
|
+
}[L.BIFFVer] || 8), D.biffguess = L.BIFFVer == 0, L.BIFFVer == 0 && L.dt == 4096 && (D.biff = 5, K = !0, er(D.codepage = 28591)), D.biff == 8 && L.BIFFVer == 0 && L.dt == 16 && (D.biff = 2), we++) break;
|
|
17395
|
+
if (n = e.dense ? [] : {}, D.biff < 8 && !K && (K = !0, er(D.codepage = e.codepage || 1252)), D.biff < 5 || L.BIFFVer == 0 && L.dt == 4096) {
|
|
17396
17396
|
c === "" && (c = "Sheet1"), s = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } };
|
|
17397
17397
|
var Be = { pos: t.l - Q, name: c };
|
|
17398
17398
|
i[Be.pos] = Be, D.snames.push(c);
|
|
17399
17399
|
} else c = (i[te] || { name: "" }).name;
|
|
17400
|
-
|
|
17400
|
+
L.dt == 32 && (n["!type"] = "chart"), L.dt == 64 && (n["!type"] = "macro"), le = [], ne = [], D.arrayf = w = [], he = [], oe = [], Le = !1, P = { Hidden: (i[te] || { hs: 0 }).hs, name: c };
|
|
17401
17401
|
}
|
|
17402
17402
|
break;
|
|
17403
17403
|
case 515:
|
|
17404
17404
|
case 3:
|
|
17405
17405
|
case 2:
|
|
17406
|
-
n["!type"] == "chart" && (e.dense ? (n[
|
|
17406
|
+
n["!type"] == "chart" && (e.dense ? (n[L.r] || [])[L.c] : n[ge({ c: L.c, r: L.r })]) && ++L.c, x = { ixfe: L.ixfe, XF: I[L.ixfe] || {}, v: L.val, t: "n" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: L.c, r: L.r }, x, e);
|
|
17407
17407
|
break;
|
|
17408
17408
|
case 5:
|
|
17409
17409
|
case 517:
|
|
17410
|
-
x = { ixfe:
|
|
17410
|
+
x = { ixfe: L.ixfe, XF: I[L.ixfe], v: L.val, t: L.t }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: L.c, r: L.r }, x, e);
|
|
17411
17411
|
break;
|
|
17412
17412
|
case 638:
|
|
17413
|
-
x = { ixfe:
|
|
17413
|
+
x = { ixfe: L.ixfe, XF: I[L.ixfe], v: L.rknum, t: "n" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: L.c, r: L.r }, x, e);
|
|
17414
17414
|
break;
|
|
17415
17415
|
case 189:
|
|
17416
|
-
for (var be =
|
|
17417
|
-
var ce =
|
|
17418
|
-
x = { ixfe: ce, XF: I[ce], v:
|
|
17416
|
+
for (var be = L.c; be <= L.C; ++be) {
|
|
17417
|
+
var ce = L.rkrec[be - L.c][0];
|
|
17418
|
+
x = { ixfe: ce, XF: I[ce], v: L.rkrec[be - L.c][1], t: "n" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: be, r: L.r }, x, e);
|
|
17419
17419
|
}
|
|
17420
17420
|
break;
|
|
17421
17421
|
case 6:
|
|
17422
17422
|
case 518:
|
|
17423
17423
|
case 1030:
|
|
17424
17424
|
{
|
|
17425
|
-
if (
|
|
17426
|
-
o =
|
|
17425
|
+
if (L.val == "String") {
|
|
17426
|
+
o = L;
|
|
17427
17427
|
break;
|
|
17428
17428
|
}
|
|
17429
|
-
if (x =
|
|
17430
|
-
var qe =
|
|
17429
|
+
if (x = Mn(L.val, L.cell.ixfe, L.tt), x.XF = I[x.ixfe], e.cellFormula) {
|
|
17430
|
+
var qe = L.formula;
|
|
17431
17431
|
if (qe && qe[0] && qe[0][0] && qe[0][0][0] == "PtgExp") {
|
|
17432
17432
|
var Bt = qe[0][0][1][0], ir = qe[0][0][1][1], xr = ge({ r: Bt, c: ir });
|
|
17433
|
-
v[xr] ? x.f = "" + vt(
|
|
17434
|
-
} else x.f = "" + vt(
|
|
17433
|
+
v[xr] ? x.f = "" + vt(L.formula, s, L.cell, U, D) : x.F = ((e.dense ? (n[Bt] || [])[ir] : n[xr]) || {}).F;
|
|
17434
|
+
} else x.f = "" + vt(L.formula, s, L.cell, U, D);
|
|
17435
17435
|
}
|
|
17436
|
-
A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B(
|
|
17436
|
+
A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B(L.cell, x, e), o = L;
|
|
17437
17437
|
}
|
|
17438
17438
|
break;
|
|
17439
17439
|
case 7:
|
|
17440
17440
|
case 519:
|
|
17441
17441
|
if (o)
|
|
17442
|
-
o.val =
|
|
17442
|
+
o.val = L, x = Mn(L, o.cell.ixfe, "s"), x.XF = I[x.ixfe], e.cellFormula && (x.f = "" + vt(o.formula, s, o.cell, U, D)), A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B(o.cell, x, e), o = null;
|
|
17443
17443
|
else throw new Error("String record expects Formula");
|
|
17444
17444
|
break;
|
|
17445
17445
|
case 33:
|
|
17446
17446
|
case 545:
|
|
17447
17447
|
{
|
|
17448
|
-
w.push(
|
|
17449
|
-
var Da = ge(
|
|
17450
|
-
if (p = e.dense ? (n[
|
|
17448
|
+
w.push(L);
|
|
17449
|
+
var Da = ge(L[0].s);
|
|
17450
|
+
if (p = e.dense ? (n[L[0].s.r] || [])[L[0].s.c] : n[Da], e.cellFormula && p) {
|
|
17451
17451
|
if (!o || !Da || !p) break;
|
|
17452
|
-
p.f = "" + vt(
|
|
17452
|
+
p.f = "" + vt(L[1], s, L[0], U, D), p.F = Ce(L[0]);
|
|
17453
17453
|
}
|
|
17454
17454
|
}
|
|
17455
17455
|
break;
|
|
@@ -17458,118 +17458,118 @@ function qv(t, e) {
|
|
|
17458
17458
|
if (!e.cellFormula) break;
|
|
17459
17459
|
if (u) {
|
|
17460
17460
|
if (!o) break;
|
|
17461
|
-
v[ge(o.cell)] =
|
|
17461
|
+
v[ge(o.cell)] = L[0], p = e.dense ? (n[o.cell.r] || [])[o.cell.c] : n[ge(o.cell)], (p || {}).f = "" + vt(L[0], s, h, U, D);
|
|
17462
17462
|
}
|
|
17463
17463
|
}
|
|
17464
17464
|
break;
|
|
17465
17465
|
case 253:
|
|
17466
|
-
x =
|
|
17466
|
+
x = Mn(l[L.isst].t, L.ixfe, "s"), l[L.isst].h && (x.h = l[L.isst].h), x.XF = I[x.ixfe], A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: L.c, r: L.r }, x, e);
|
|
17467
17467
|
break;
|
|
17468
17468
|
case 513:
|
|
17469
|
-
e.sheetStubs && (x = { ixfe:
|
|
17469
|
+
e.sheetStubs && (x = { ixfe: L.ixfe, XF: I[L.ixfe], t: "z" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: L.c, r: L.r }, x, e));
|
|
17470
17470
|
break;
|
|
17471
17471
|
case 190:
|
|
17472
17472
|
if (e.sheetStubs)
|
|
17473
|
-
for (var Ir =
|
|
17474
|
-
var It =
|
|
17475
|
-
x = { ixfe: It, XF: I[It], t: "z" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: Ir, r:
|
|
17473
|
+
for (var Ir = L.c; Ir <= L.C; ++Ir) {
|
|
17474
|
+
var It = L.ixfe[Ir - L.c];
|
|
17475
|
+
x = { ixfe: It, XF: I[It], t: "z" }, A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: Ir, r: L.r }, x, e);
|
|
17476
17476
|
}
|
|
17477
17477
|
break;
|
|
17478
17478
|
case 214:
|
|
17479
17479
|
case 516:
|
|
17480
17480
|
case 4:
|
|
17481
|
-
x =
|
|
17481
|
+
x = Mn(L.val, L.ixfe, "s"), x.XF = I[x.ixfe], A > 0 && (x.z = R[x.ixfe >> 8 & 63]), or(x, e, r.opts.Date1904), B({ c: L.c, r: L.r }, x, e);
|
|
17482
17482
|
break;
|
|
17483
17483
|
case 0:
|
|
17484
17484
|
case 512:
|
|
17485
|
-
we === 1 && (s =
|
|
17485
|
+
we === 1 && (s = L);
|
|
17486
17486
|
break;
|
|
17487
17487
|
case 252:
|
|
17488
|
-
l =
|
|
17488
|
+
l = L;
|
|
17489
17489
|
break;
|
|
17490
17490
|
case 1054:
|
|
17491
17491
|
if (D.biff == 4) {
|
|
17492
|
-
R[A++] =
|
|
17493
|
-
for (var vr = 0; vr < A + 163 && me[vr] !=
|
|
17494
|
-
vr >= 163 && Tr(
|
|
17495
|
-
} else Tr(
|
|
17492
|
+
R[A++] = L[1];
|
|
17493
|
+
for (var vr = 0; vr < A + 163 && me[vr] != L[1]; ++vr) ;
|
|
17494
|
+
vr >= 163 && Tr(L[1], A + 163);
|
|
17495
|
+
} else Tr(L[1], L[0]);
|
|
17496
17496
|
break;
|
|
17497
17497
|
case 30:
|
|
17498
17498
|
{
|
|
17499
|
-
R[A++] =
|
|
17500
|
-
for (var Nr = 0; Nr < A + 163 && me[Nr] !=
|
|
17501
|
-
Nr >= 163 && Tr(
|
|
17499
|
+
R[A++] = L;
|
|
17500
|
+
for (var Nr = 0; Nr < A + 163 && me[Nr] != L; ++Nr) ;
|
|
17501
|
+
Nr >= 163 && Tr(L, A + 163);
|
|
17502
17502
|
}
|
|
17503
17503
|
break;
|
|
17504
17504
|
case 229:
|
|
17505
|
-
le = le.concat(
|
|
17505
|
+
le = le.concat(L);
|
|
17506
17506
|
break;
|
|
17507
17507
|
case 93:
|
|
17508
|
-
ne[
|
|
17508
|
+
ne[L.cmo[0]] = D.lastobj = L;
|
|
17509
17509
|
break;
|
|
17510
17510
|
case 438:
|
|
17511
|
-
D.lastobj.TxO =
|
|
17511
|
+
D.lastobj.TxO = L;
|
|
17512
17512
|
break;
|
|
17513
17513
|
case 127:
|
|
17514
|
-
D.lastobj.ImData =
|
|
17514
|
+
D.lastobj.ImData = L;
|
|
17515
17515
|
break;
|
|
17516
17516
|
case 440:
|
|
17517
|
-
for (g =
|
|
17518
|
-
for (d =
|
|
17519
|
-
p = e.dense ? (n[g] || [])[d] : n[ge({ c: d, r: g })], p && (p.l =
|
|
17517
|
+
for (g = L[0].s.r; g <= L[0].e.r; ++g)
|
|
17518
|
+
for (d = L[0].s.c; d <= L[0].e.c; ++d)
|
|
17519
|
+
p = e.dense ? (n[g] || [])[d] : n[ge({ c: d, r: g })], p && (p.l = L[1]);
|
|
17520
17520
|
break;
|
|
17521
17521
|
case 2048:
|
|
17522
|
-
for (g =
|
|
17523
|
-
for (d =
|
|
17524
|
-
p = e.dense ? (n[g] || [])[d] : n[ge({ c: d, r: g })], p && p.l && (p.l.Tooltip =
|
|
17522
|
+
for (g = L[0].s.r; g <= L[0].e.r; ++g)
|
|
17523
|
+
for (d = L[0].s.c; d <= L[0].e.c; ++d)
|
|
17524
|
+
p = e.dense ? (n[g] || [])[d] : n[ge({ c: d, r: g })], p && p.l && (p.l.Tooltip = L[1]);
|
|
17525
17525
|
break;
|
|
17526
17526
|
case 28:
|
|
17527
17527
|
{
|
|
17528
17528
|
if (D.biff <= 5 && D.biff >= 2) break;
|
|
17529
|
-
p = e.dense ? (n[
|
|
17530
|
-
var Ra = ne[
|
|
17531
|
-
p || (e.dense ? (n[
|
|
17529
|
+
p = e.dense ? (n[L[0].r] || [])[L[0].c] : n[ge(L[0])];
|
|
17530
|
+
var Ra = ne[L[2]];
|
|
17531
|
+
p || (e.dense ? (n[L[0].r] || (n[L[0].r] = []), p = n[L[0].r][L[0].c] = { t: "z" }) : p = n[ge(L[0])] = { t: "z" }, s.e.r = Math.max(s.e.r, L[0].r), s.s.r = Math.min(s.s.r, L[0].r), s.e.c = Math.max(s.e.c, L[0].c), s.s.c = Math.min(s.s.c, L[0].c)), p.c || (p.c = []), m = { a: L[1], t: Ra.TxO.t }, p.c.push(m);
|
|
17532
17532
|
}
|
|
17533
17533
|
break;
|
|
17534
17534
|
case 2173:
|
|
17535
|
-
Bp(I[
|
|
17535
|
+
Bp(I[L.ixfe], L.ext);
|
|
17536
17536
|
break;
|
|
17537
17537
|
case 125:
|
|
17538
17538
|
{
|
|
17539
17539
|
if (!D.cellStyles) break;
|
|
17540
|
-
for (;
|
|
17541
|
-
he[
|
|
17540
|
+
for (; L.e >= L.s; )
|
|
17541
|
+
he[L.e--] = { width: L.w / 256, level: L.level || 0, hidden: !!(L.flags & 1) }, Le || (Le = !0, Ls(L.w / 256)), Rr(he[L.e + 1]);
|
|
17542
17542
|
}
|
|
17543
17543
|
break;
|
|
17544
17544
|
case 520:
|
|
17545
17545
|
{
|
|
17546
17546
|
var _t = {};
|
|
17547
|
-
|
|
17547
|
+
L.level != null && (oe[L.r] = _t, _t.level = L.level), L.hidden && (oe[L.r] = _t, _t.hidden = !0), L.hpt && (oe[L.r] = _t, _t.hpt = L.hpt, _t.hpx = Ia(L.hpt));
|
|
17548
17548
|
}
|
|
17549
17549
|
break;
|
|
17550
17550
|
case 38:
|
|
17551
17551
|
case 39:
|
|
17552
17552
|
case 40:
|
|
17553
17553
|
case 41:
|
|
17554
|
-
n["!margins"] || Zr(n["!margins"] = {}), n["!margins"][{ 38: "left", 39: "right", 40: "top", 41: "bottom" }[re]] =
|
|
17554
|
+
n["!margins"] || Zr(n["!margins"] = {}), n["!margins"][{ 38: "left", 39: "right", 40: "top", 41: "bottom" }[re]] = L;
|
|
17555
17555
|
break;
|
|
17556
17556
|
case 161:
|
|
17557
|
-
n["!margins"] || Zr(n["!margins"] = {}), n["!margins"].header =
|
|
17557
|
+
n["!margins"] || Zr(n["!margins"] = {}), n["!margins"].header = L.header, n["!margins"].footer = L.footer;
|
|
17558
17558
|
break;
|
|
17559
17559
|
case 574:
|
|
17560
|
-
|
|
17560
|
+
L.RTL && (y.Views[0].RTL = !0);
|
|
17561
17561
|
break;
|
|
17562
17562
|
case 146:
|
|
17563
|
-
|
|
17563
|
+
F = L;
|
|
17564
17564
|
break;
|
|
17565
17565
|
case 2198:
|
|
17566
|
-
J =
|
|
17566
|
+
J = L;
|
|
17567
17567
|
break;
|
|
17568
17568
|
case 140:
|
|
17569
|
-
b =
|
|
17569
|
+
b = L;
|
|
17570
17570
|
break;
|
|
17571
17571
|
case 442:
|
|
17572
|
-
c ? P.CodeName =
|
|
17572
|
+
c ? P.CodeName = L || P.name : y.WBProps.CodeName = L || "ThisWorkbook";
|
|
17573
17573
|
break;
|
|
17574
17574
|
}
|
|
17575
17575
|
} else
|
|
@@ -17676,7 +17676,7 @@ function e5(t, e) {
|
|
|
17676
17676
|
}
|
|
17677
17677
|
return pe.utils.cfb_add(a, n, wc(t, r)), r.biff == 8 && (t.Props || t.Custprops) && Qv(t, a), r.biff == 8 && t.vbaraw && dm(a, pe.read(t.vbaraw, { type: typeof t.vbaraw == "string" ? "binary" : "buffer" })), a;
|
|
17678
17678
|
}
|
|
17679
|
-
var
|
|
17679
|
+
var un = {
|
|
17680
17680
|
/*::[*/
|
|
17681
17681
|
0: {
|
|
17682
17682
|
/* n:"BrtRowHdr", */
|
|
@@ -19707,7 +19707,7 @@ var hn = {
|
|
|
19707
19707
|
/*::[*/
|
|
19708
19708
|
485: {
|
|
19709
19709
|
/* n:"BrtWsFmtInfo", */
|
|
19710
|
-
f:
|
|
19710
|
+
f: Fg
|
|
19711
19711
|
},
|
|
19712
19712
|
/*::[*/
|
|
19713
19713
|
486: {
|
|
@@ -21981,7 +21981,7 @@ var hn = {
|
|
|
21981
21981
|
/*::[*/
|
|
21982
21982
|
93: {
|
|
21983
21983
|
/* n:"Obj", */
|
|
21984
|
-
f:
|
|
21984
|
+
f: F1
|
|
21985
21985
|
},
|
|
21986
21986
|
/*::[*/
|
|
21987
21987
|
94: {
|
|
@@ -22552,7 +22552,7 @@ var hn = {
|
|
|
22552
22552
|
/*::[*/
|
|
22553
22553
|
442: {
|
|
22554
22554
|
/* n:"CodeName", */
|
|
22555
|
-
f:
|
|
22555
|
+
f: vn
|
|
22556
22556
|
},
|
|
22557
22557
|
/*::[*/
|
|
22558
22558
|
443: {
|
|
@@ -22712,7 +22712,7 @@ var hn = {
|
|
|
22712
22712
|
/*::[*/
|
|
22713
22713
|
2057: {
|
|
22714
22714
|
/* n:"BOF", */
|
|
22715
|
-
f:
|
|
22715
|
+
f: An
|
|
22716
22716
|
},
|
|
22717
22717
|
/*::[*/
|
|
22718
22718
|
2058: {
|
|
@@ -23335,7 +23335,7 @@ var hn = {
|
|
|
23335
23335
|
/*::[*/
|
|
23336
23336
|
9: {
|
|
23337
23337
|
/* n:"BOF", */
|
|
23338
|
-
f:
|
|
23338
|
+
f: An
|
|
23339
23339
|
},
|
|
23340
23340
|
/*::[*/
|
|
23341
23341
|
11: {
|
|
@@ -23532,7 +23532,7 @@ var hn = {
|
|
|
23532
23532
|
/*::[*/
|
|
23533
23533
|
521: {
|
|
23534
23534
|
/* n:"BOF", */
|
|
23535
|
-
f:
|
|
23535
|
+
f: An
|
|
23536
23536
|
},
|
|
23537
23537
|
/*::[*/
|
|
23538
23538
|
536: {
|
|
@@ -23560,7 +23560,7 @@ var hn = {
|
|
|
23560
23560
|
/*::[*/
|
|
23561
23561
|
1033: {
|
|
23562
23562
|
/* n:"BOF", */
|
|
23563
|
-
f:
|
|
23563
|
+
f: An
|
|
23564
23564
|
},
|
|
23565
23565
|
/*::[*/
|
|
23566
23566
|
1091: {
|
|
@@ -23657,16 +23657,16 @@ function t5(t, e, r, a) {
|
|
|
23657
23657
|
}
|
|
23658
23658
|
}
|
|
23659
23659
|
}
|
|
23660
|
-
function
|
|
23660
|
+
function yn(t, e, r) {
|
|
23661
23661
|
return t || (t = X(7)), t.write_shift(2, e), t.write_shift(2, r), t.write_shift(2, 0), t.write_shift(1, 0), t;
|
|
23662
23662
|
}
|
|
23663
23663
|
function r5(t, e, r, a) {
|
|
23664
23664
|
var n = X(9);
|
|
23665
|
-
return
|
|
23665
|
+
return yn(n, t, e), Tl(r, a || "b", n), n;
|
|
23666
23666
|
}
|
|
23667
23667
|
function a5(t, e, r) {
|
|
23668
23668
|
var a = X(8 + 2 * r.length);
|
|
23669
|
-
return
|
|
23669
|
+
return yn(a, t, e), a.write_shift(1, r.length), a.write_shift(r.length, r, "sbcs"), a.l < a.length ? a.slice(0, a.l) : a;
|
|
23670
23670
|
}
|
|
23671
23671
|
function n5(t, e, r, a) {
|
|
23672
23672
|
if (e.v != null) switch (e.t) {
|
|
@@ -23685,7 +23685,7 @@ function n5(t, e, r, a) {
|
|
|
23685
23685
|
ie(t, 4, a5(r, a, (e.v || "").slice(0, 255)));
|
|
23686
23686
|
return;
|
|
23687
23687
|
}
|
|
23688
|
-
ie(t, 1,
|
|
23688
|
+
ie(t, 1, yn(null, r, a));
|
|
23689
23689
|
}
|
|
23690
23690
|
function i5(t, e, r, a) {
|
|
23691
23691
|
var n = Array.isArray(e), i = Ne(e["!ref"] || "A1"), s, o = "", l = [];
|
|
@@ -23703,7 +23703,7 @@ function i5(t, e, r, a) {
|
|
|
23703
23703
|
}
|
|
23704
23704
|
}
|
|
23705
23705
|
function s5(t, e) {
|
|
23706
|
-
for (var r = e || {}, a =
|
|
23706
|
+
for (var r = e || {}, a = Ft(), n = 0, i = 0; i < t.SheetNames.length; ++i) t.SheetNames[i] == r.sheet && (n = i);
|
|
23707
23707
|
if (n == 0 && r.sheet && t.SheetNames[0] != r.sheet) throw new Error("Sheet not found: " + r.sheet);
|
|
23708
23708
|
return ie(a, r.biff == 4 ? 1033 : r.biff == 3 ? 521 : 9, Ts(t, 16, r)), i5(a, t.Sheets[t.SheetNames[n]], n, r), ie(a, 10), a.end();
|
|
23709
23709
|
}
|
|
@@ -23778,7 +23778,7 @@ function d5(t, e, r, a, n) {
|
|
|
23778
23778
|
}
|
|
23779
23779
|
}
|
|
23780
23780
|
function p5(t, e, r) {
|
|
23781
|
-
var a =
|
|
23781
|
+
var a = Ft(), n = r.SheetNames[t], i = r.Sheets[n] || {}, s = (r || {}).Workbook || {}, o = (s.Sheets || [])[t] || {}, l = Array.isArray(i), c = e.biff == 8, f, h = "", u = [], p = Ne(i["!ref"] || "A1"), m = c ? 65536 : 16384;
|
|
23782
23782
|
if (p.e.c > 255 || p.e.r >= m) {
|
|
23783
23783
|
if (e.WTF) throw new Error("Range " + (i["!ref"] || "A1") + " exceeds format limit A1:IV16384");
|
|
23784
23784
|
p.e.c = Math.min(p.e.c, 255), p.e.r = Math.min(p.e.c, m - 1);
|
|
@@ -23793,14 +23793,14 @@ function p5(t, e, r) {
|
|
|
23793
23793
|
}
|
|
23794
23794
|
}
|
|
23795
23795
|
var w = o.CodeName || o.name || n;
|
|
23796
|
-
return c && ie(a, 574, qu((s.Views || [])[0])), c && (i["!merges"] || []).length && ie(a, 229,
|
|
23796
|
+
return c && ie(a, 574, qu((s.Views || [])[0])), c && (i["!merges"] || []).length && ie(a, 229, L1(i["!merges"])), c && h5(a, i), ie(a, 442, Sl(w)), c && c5(a, i), ie(
|
|
23797
23797
|
a,
|
|
23798
23798
|
10
|
|
23799
23799
|
/* EOF */
|
|
23800
23800
|
), a.end();
|
|
23801
23801
|
}
|
|
23802
23802
|
function m5(t, e, r) {
|
|
23803
|
-
var a =
|
|
23803
|
+
var a = Ft(), n = (t || {}).Workbook || {}, i = n.Sheets || [], s = (
|
|
23804
23804
|
/*::((*/
|
|
23805
23805
|
n.WBProps || {
|
|
23806
23806
|
/*::CodeName:"ThisWorkbook"*/
|
|
@@ -23835,13 +23835,13 @@ function m5(t, e, r) {
|
|
|
23835
23835
|
ie(a, 442, Sl(c));
|
|
23836
23836
|
}
|
|
23837
23837
|
ie(a, 156, zt(17)), ie(a, 25, St(!1)), ie(a, 18, St(!1)), ie(a, 19, zt(0)), o && ie(a, 431, St(!1)), o && ie(a, 444, zt(0)), ie(a, 61, Yu()), ie(a, 64, St(!1)), ie(a, 141, zt(0)), ie(a, 34, St(jx(t) == "true")), ie(a, 14, St(!0)), o && ie(a, 439, St(!1)), ie(a, 218, zt(0)), o5(a, t, r), l5(a, t.SSF, r), f5(a, r), o && ie(a, 352, St(!1));
|
|
23838
|
-
var f = a.end(), h =
|
|
23838
|
+
var f = a.end(), h = Ft();
|
|
23839
23839
|
o && ie(h, 140, B1()), o && r.Strings && t5(h, 252, $u(r.Strings)), ie(
|
|
23840
23840
|
h,
|
|
23841
23841
|
10
|
|
23842
23842
|
/* EOF */
|
|
23843
23843
|
);
|
|
23844
|
-
var u = h.end(), p =
|
|
23844
|
+
var u = h.end(), p = Ft(), m = 0, d = 0;
|
|
23845
23845
|
for (d = 0; d < t.SheetNames.length; ++d) m += (o ? 12 : 11) + (o ? 2 : 1) * t.SheetNames[d].length;
|
|
23846
23846
|
var g = f.length + m + u.length;
|
|
23847
23847
|
for (d = 0; d < t.SheetNames.length; ++d) {
|
|
@@ -23903,8 +23903,8 @@ function e0(t, e) {
|
|
|
23903
23903
|
if (w.match(/<t[dh]/i)) {
|
|
23904
23904
|
for (var x = w, b = 0; x.charAt(0) == "<" && (b = x.indexOf(">")) > -1; ) x = x.slice(b + 1);
|
|
23905
23905
|
for (var I = 0; I < m.length; ++I) {
|
|
23906
|
-
var
|
|
23907
|
-
|
|
23906
|
+
var F = m[I];
|
|
23907
|
+
F.s.c == f && F.s.r < c && c <= F.e.r && (f = F.e.c + 1, I = -1);
|
|
23908
23908
|
}
|
|
23909
23909
|
var y = ve(w.slice(0, w.indexOf(">")));
|
|
23910
23910
|
u = y.colspan ? +y.colspan : 1, ((h = +y.rowspan) > 1 || u > 1) && m.push({ s: { r: c, c: f }, e: { r: c + (h || 1) - 1, c: f + u - 1 } });
|
|
@@ -23918,7 +23918,7 @@ function e0(t, e) {
|
|
|
23918
23918
|
continue;
|
|
23919
23919
|
}
|
|
23920
23920
|
var N = { t: "s", v: x };
|
|
23921
|
-
r.raw || !x.trim().length || P == "s" || (x === "TRUE" ? N = { t: "b", v: !0 } : x === "FALSE" ? N = { t: "b", v: !1 } : isNaN(rr(x)) ? isNaN(
|
|
23921
|
+
r.raw || !x.trim().length || P == "s" || (x === "TRUE" ? N = { t: "b", v: !0 } : x === "FALSE" ? N = { t: "b", v: !1 } : isNaN(rr(x)) ? isNaN(Fa(x).getDate()) || (N = { t: "d", v: Ue(x) }, r.cellDates || (N = { t: "n", v: ot(N.v) }), N.z = r.dateNF || me[14]) : N = { t: "n", v: rr(x) }), r.dense ? (a[c] || (a[c] = []), a[c][f] = N) : a[ge({ r: c, c: f })] = N, f += u;
|
|
23922
23922
|
}
|
|
23923
23923
|
}
|
|
23924
23924
|
}
|
|
@@ -23986,17 +23986,17 @@ function Cc(t, e, r) {
|
|
|
23986
23986
|
}
|
|
23987
23987
|
var I = b.children;
|
|
23988
23988
|
for (g = v = 0; g < I.length; ++g) {
|
|
23989
|
-
var
|
|
23990
|
-
if (!(a.display && t0(
|
|
23991
|
-
var y =
|
|
23989
|
+
var F = I[g];
|
|
23990
|
+
if (!(a.display && t0(F))) {
|
|
23991
|
+
var y = F.hasAttribute("data-v") ? F.getAttribute("data-v") : F.hasAttribute("v") ? F.getAttribute("v") : $0(F.innerHTML), P = F.getAttribute("data-z") || F.getAttribute("z");
|
|
23992
23992
|
for (u = 0; u < h.length; ++u) {
|
|
23993
23993
|
var N = h[u];
|
|
23994
23994
|
N.s.c == v + i && N.s.r < d + n && d + n <= N.e.r && (v = N.e.c + 1 - i, u = -1);
|
|
23995
23995
|
}
|
|
23996
|
-
x = +
|
|
23997
|
-
var z = { t: "s", v: y }, B =
|
|
23998
|
-
y != null && (y.length == 0 ? z.t = B || "z" : a.raw || y.trim().length == 0 || B == "s" || (y === "TRUE" ? z = { t: "b", v: !0 } : y === "FALSE" ? z = { t: "b", v: !1 } : isNaN(rr(y)) ? isNaN(
|
|
23999
|
-
var D = "", J =
|
|
23996
|
+
x = +F.getAttribute("colspan") || 1, ((w = +F.getAttribute("rowspan") || 1) > 1 || x > 1) && h.push({ s: { r: d + n, c: v + i }, e: { r: d + n + (w || 1) - 1, c: v + i + (x || 1) - 1 } });
|
|
23997
|
+
var z = { t: "s", v: y }, B = F.getAttribute("data-t") || F.getAttribute("t") || "";
|
|
23998
|
+
y != null && (y.length == 0 ? z.t = B || "z" : a.raw || y.trim().length == 0 || B == "s" || (y === "TRUE" ? z = { t: "b", v: !0 } : y === "FALSE" ? z = { t: "b", v: !1 } : isNaN(rr(y)) ? isNaN(Fa(y).getDate()) || (z = { t: "d", v: Ue(y) }, a.cellDates || (z = { t: "n", v: ot(z.v) }), z.z = a.dateNF || me[14]) : z = { t: "n", v: rr(y) })), z.z === void 0 && P != null && (z.z = P);
|
|
23999
|
+
var D = "", J = F.getElementsByTagName("A");
|
|
24000
24000
|
if (J && J.length) for (var le = 0; le < J.length && !(J[le].hasAttribute("href") && (D = J[le].getAttribute("href"), D.charAt(0) != "#")); ++le) ;
|
|
24001
24001
|
D && D.charAt(0) != "#" && (z.l = { Target: D }), a.dense ? (t[d + n] || (t[d + n] = []), t[d + n][v + i] = z) : t[ge({ c: v + i, r: d + n })] = z, c.e.c < v + i && (c.e.c = v + i), v += x;
|
|
24002
24002
|
}
|
|
@@ -24041,11 +24041,11 @@ var r0 = {
|
|
|
24041
24041
|
quarter: ["\\Qm", 'm\\"th quarter"']
|
|
24042
24042
|
};
|
|
24043
24043
|
function kc(t, e) {
|
|
24044
|
-
var r = e || {}, a = ds(t), n = [], i, s, o = { name: "" }, l = "", c = 0, f, h, u = {}, p = [], m = r.dense ? [] : {}, d, g, v = { value: "" }, w = "", x = 0, b = [], I = -1,
|
|
24045
|
-
for (
|
|
24044
|
+
var r = e || {}, a = ds(t), n = [], i, s, o = { name: "" }, l = "", c = 0, f, h, u = {}, p = [], m = r.dense ? [] : {}, d, g, v = { value: "" }, w = "", x = 0, b = [], I = -1, F = -1, y = { s: { r: 1e6, c: 1e7 }, e: { r: 0, c: 0 } }, P = 0, N = {}, z = [], B = {}, D = 0, J = 0, le = [], ne = 1, he = 1, oe = [], Le = { Names: [] }, U = {}, de = ["", ""], we = [], A = {}, R = "", M = 0, O = !1, K = !1, te = 0;
|
|
24045
|
+
for (sn.lastIndex = 0, a = a.replace(/<!--([\s\S]*?)-->/mg, "").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm, ""); d = sn.exec(a); ) switch (d[3] = d[3].replace(/_.*$/, "")) {
|
|
24046
24046
|
case "table":
|
|
24047
24047
|
case "工作表":
|
|
24048
|
-
d[1] === "/" ? (y.e.c >= y.s.c && y.e.r >= y.s.r ? m["!ref"] = Ce(y) : m["!ref"] = "A1:A1", r.sheetRows > 0 && r.sheetRows <= y.e.r && (m["!fullref"] = m["!ref"], y.e.r = r.sheetRows - 1, m["!ref"] = Ce(y)), z.length && (m["!merges"] = z), le.length && (m["!rows"] = le), f.name = f.名称 || f.name, typeof JSON < "u" && JSON.stringify(f), p.push(f.name), u[f.name] = m, K = !1) : d[0].charAt(d[0].length - 2) !== "/" && (f = ve(d[0], !1), I =
|
|
24048
|
+
d[1] === "/" ? (y.e.c >= y.s.c && y.e.r >= y.s.r ? m["!ref"] = Ce(y) : m["!ref"] = "A1:A1", r.sheetRows > 0 && r.sheetRows <= y.e.r && (m["!fullref"] = m["!ref"], y.e.r = r.sheetRows - 1, m["!ref"] = Ce(y)), z.length && (m["!merges"] = z), le.length && (m["!rows"] = le), f.name = f.名称 || f.name, typeof JSON < "u" && JSON.stringify(f), p.push(f.name), u[f.name] = m, K = !1) : d[0].charAt(d[0].length - 2) !== "/" && (f = ve(d[0], !1), I = F = -1, y.s.r = y.s.c = 1e7, y.e.r = y.e.c = 0, m = r.dense ? [] : {}, z = [], le = [], K = !0);
|
|
24049
24049
|
break;
|
|
24050
24050
|
case "table-row-group":
|
|
24051
24051
|
d[1] === "/" ? --P : ++P;
|
|
@@ -24057,32 +24057,32 @@ function kc(t, e) {
|
|
|
24057
24057
|
break;
|
|
24058
24058
|
}
|
|
24059
24059
|
if (h = ve(d[0], !1), h.行号 ? I = h.行号 - 1 : I == -1 && (I = 0), ne = +h["number-rows-repeated"] || 1, ne < 10) for (te = 0; te < ne; ++te) P > 0 && (le[I + te] = { level: P });
|
|
24060
|
-
|
|
24060
|
+
F = -1;
|
|
24061
24061
|
break;
|
|
24062
24062
|
case "covered-table-cell":
|
|
24063
|
-
d[1] !== "/" && ++
|
|
24063
|
+
d[1] !== "/" && ++F, r.sheetStubs && (r.dense ? (m[I] || (m[I] = []), m[I][F] = { t: "z" }) : m[ge({ r: I, c: F })] = { t: "z" }), w = "", b = [];
|
|
24064
24064
|
break;
|
|
24065
24065
|
/* stub */
|
|
24066
24066
|
case "table-cell":
|
|
24067
24067
|
case "数据":
|
|
24068
24068
|
if (d[0].charAt(d[0].length - 2) === "/")
|
|
24069
|
-
++
|
|
24069
|
+
++F, v = ve(d[0], !1), he = parseInt(v["number-columns-repeated"] || "1", 10), g = {
|
|
24070
24070
|
t: "z",
|
|
24071
24071
|
v: null
|
|
24072
24072
|
/*:: , z:null, w:"",c:[]*/
|
|
24073
|
-
}, v.formula && r.cellFormula != !1 && (g.f = qo(Ie(v.formula))), (v.数据类型 || v["value-type"]) == "string" && (g.t = "s", g.v = Ie(v["string-value"] || ""), r.dense ? (m[I] || (m[I] = []), m[I][
|
|
24073
|
+
}, v.formula && r.cellFormula != !1 && (g.f = qo(Ie(v.formula))), (v.数据类型 || v["value-type"]) == "string" && (g.t = "s", g.v = Ie(v["string-value"] || ""), r.dense ? (m[I] || (m[I] = []), m[I][F] = g) : m[ge({ r: I, c: F })] = g), F += he - 1;
|
|
24074
24074
|
else if (d[1] !== "/") {
|
|
24075
|
-
++
|
|
24075
|
+
++F, w = "", x = 0, b = [], he = 1;
|
|
24076
24076
|
var re = ne ? I + ne - 1 : I;
|
|
24077
|
-
if (
|
|
24077
|
+
if (F > y.e.c && (y.e.c = F), F < y.s.c && (y.s.c = F), I < y.s.r && (y.s.r = I), re > y.e.r && (y.e.r = re), v = ve(d[0], !1), we = [], A = {}, g = {
|
|
24078
24078
|
t: v.数据类型 || v["value-type"],
|
|
24079
24079
|
v: null
|
|
24080
24080
|
/*:: , z:null, w:"",c:[]*/
|
|
24081
24081
|
}, r.cellFormula)
|
|
24082
|
-
if (v.formula && (v.formula = Ie(v.formula)), v["number-matrix-columns-spanned"] && v["number-matrix-rows-spanned"] && (D = parseInt(v["number-matrix-rows-spanned"], 10) || 0, J = parseInt(v["number-matrix-columns-spanned"], 10) || 0, B = { s: { r: I, c:
|
|
24082
|
+
if (v.formula && (v.formula = Ie(v.formula)), v["number-matrix-columns-spanned"] && v["number-matrix-rows-spanned"] && (D = parseInt(v["number-matrix-rows-spanned"], 10) || 0, J = parseInt(v["number-matrix-columns-spanned"], 10) || 0, B = { s: { r: I, c: F }, e: { r: I + D - 1, c: F + J - 1 } }, g.F = Ce(B), oe.push([B, g.F])), v.formula) g.f = qo(v.formula);
|
|
24083
24083
|
else for (te = 0; te < oe.length; ++te)
|
|
24084
|
-
I >= oe[te][0].s.r && I <= oe[te][0].e.r &&
|
|
24085
|
-
switch ((v["number-columns-spanned"] || v["number-rows-spanned"]) && (D = parseInt(v["number-rows-spanned"], 10) || 0, J = parseInt(v["number-columns-spanned"], 10) || 0, B = { s: { r: I, c:
|
|
24084
|
+
I >= oe[te][0].s.r && I <= oe[te][0].e.r && F >= oe[te][0].s.c && F <= oe[te][0].e.c && (g.F = oe[te][1]);
|
|
24085
|
+
switch ((v["number-columns-spanned"] || v["number-rows-spanned"]) && (D = parseInt(v["number-rows-spanned"], 10) || 0, J = parseInt(v["number-columns-spanned"], 10) || 0, B = { s: { r: I, c: F }, e: { r: I + D - 1, c: F + J - 1 } }, z.push(B)), v["number-columns-repeated"] && (he = parseInt(v["number-columns-repeated"], 10)), g.t) {
|
|
24086
24086
|
case "boolean":
|
|
24087
24087
|
g.t = "b", g.v = He(v["boolean-value"]);
|
|
24088
24088
|
break;
|
|
@@ -24113,12 +24113,12 @@ function kc(t, e) {
|
|
|
24113
24113
|
if (O = !1, g.t === "s" && (g.v = w || "", b.length && (g.R = b), O = x == 0), U.Target && (g.l = U), we.length > 0 && (g.c = we, we = []), w && r.cellText !== !1 && (g.w = w), O && (g.t = "z", delete g.v), (!O || r.sheetStubs) && !(r.sheetRows && r.sheetRows <= I))
|
|
24114
24114
|
for (var Q = 0; Q < ne; ++Q) {
|
|
24115
24115
|
if (he = parseInt(v["number-columns-repeated"] || "1", 10), r.dense)
|
|
24116
|
-
for (m[I + Q] || (m[I + Q] = []), m[I + Q][
|
|
24116
|
+
for (m[I + Q] || (m[I + Q] = []), m[I + Q][F] = Q == 0 ? g : We(g); --he > 0; ) m[I + Q][F + he] = We(g);
|
|
24117
24117
|
else
|
|
24118
|
-
for (m[ge({ r: I + Q, c:
|
|
24119
|
-
y.e.c <=
|
|
24118
|
+
for (m[ge({ r: I + Q, c: F })] = g; --he > 0; ) m[ge({ r: I + Q, c: F + he })] = We(g);
|
|
24119
|
+
y.e.c <= F && (y.e.c = F);
|
|
24120
24120
|
}
|
|
24121
|
-
he = parseInt(v["number-columns-repeated"] || "1", 10),
|
|
24121
|
+
he = parseInt(v["number-columns-repeated"] || "1", 10), F += he - 1, he = 0, g = {
|
|
24122
24122
|
/*:: t:"", v:null, z:null, w:"",c:[]*/
|
|
24123
24123
|
}, w = "", b = [];
|
|
24124
24124
|
}
|
|
@@ -24309,7 +24309,7 @@ function kc(t, e) {
|
|
|
24309
24309
|
case "named-range":
|
|
24310
24310
|
s = ve(d[0], !1), de = bi(s["cell-range-address"]);
|
|
24311
24311
|
var q = { Name: s.name, Ref: de[0] + "!" + de[1] };
|
|
24312
|
-
K && (q.Sheet = p.length),
|
|
24312
|
+
K && (q.Sheet = p.length), Le.Names.push(q);
|
|
24313
24313
|
break;
|
|
24314
24314
|
case "text-content":
|
|
24315
24315
|
break;
|
|
@@ -24645,13 +24645,13 @@ function kc(t, e) {
|
|
|
24645
24645
|
if (r.WTF) throw new Error(d);
|
|
24646
24646
|
}
|
|
24647
24647
|
}
|
|
24648
|
-
var
|
|
24648
|
+
var L = {
|
|
24649
24649
|
Sheets: u,
|
|
24650
24650
|
SheetNames: p,
|
|
24651
|
-
Workbook:
|
|
24651
|
+
Workbook: Le
|
|
24652
24652
|
};
|
|
24653
24653
|
return r.bookSheets && delete /*::(*/
|
|
24654
|
-
|
|
24654
|
+
L.Sheets, L;
|
|
24655
24655
|
}
|
|
24656
24656
|
function a0(t, e) {
|
|
24657
24657
|
e = e || {}, Gt(t, "META-INF/manifest.xml") && qh(at(t, "META-INF/manifest.xml"), e);
|
|
@@ -24673,7 +24673,7 @@ var T5 = /* @__PURE__ */ function() {
|
|
|
24673
24673
|
'<style:footer-left style:display="false"/>',
|
|
24674
24674
|
"</style:master-page>",
|
|
24675
24675
|
"</office:master-styles>"
|
|
24676
|
-
].join(""), e = "<office:document-styles " +
|
|
24676
|
+
].join(""), e = "<office:document-styles " + nn({
|
|
24677
24677
|
"xmlns:office": "urn:oasis:names:tc:opendocument:xmlns:office:1.0",
|
|
24678
24678
|
"xmlns:table": "urn:oasis:names:tc:opendocument:xmlns:table:1.0",
|
|
24679
24679
|
"xmlns:style": "urn:oasis:names:tc:opendocument:xmlns:style:1.0",
|
|
@@ -24725,8 +24725,8 @@ var T5 = /* @__PURE__ */ function() {
|
|
|
24725
24725
|
}
|
|
24726
24726
|
var b = ge({ r: c, c: f }), I = m ? (i[c] || [])[f] : i[b];
|
|
24727
24727
|
if (I && I.f && (w["table:formula"] = De(z2(I.f)), I.F && I.F.slice(0, b.length) == b)) {
|
|
24728
|
-
var
|
|
24729
|
-
w["table:number-matrix-columns-spanned"] =
|
|
24728
|
+
var F = At(I.F);
|
|
24729
|
+
w["table:number-matrix-columns-spanned"] = F.e.c - F.s.c + 1, w["table:number-matrix-rows-spanned"] = F.e.r - F.s.r + 1;
|
|
24730
24730
|
}
|
|
24731
24731
|
if (!I) {
|
|
24732
24732
|
l.push(e);
|
|
@@ -24813,7 +24813,7 @@ var T5 = /* @__PURE__ */ function() {
|
|
|
24813
24813
|
`);
|
|
24814
24814
|
};
|
|
24815
24815
|
return function(s, o) {
|
|
24816
|
-
var l = [tt], c =
|
|
24816
|
+
var l = [tt], c = nn({
|
|
24817
24817
|
"xmlns:office": "urn:oasis:names:tc:opendocument:xmlns:office:1.0",
|
|
24818
24818
|
"xmlns:table": "urn:oasis:names:tc:opendocument:xmlns:table:1.0",
|
|
24819
24819
|
"xmlns:style": "urn:oasis:names:tc:opendocument:xmlns:style:1.0",
|
|
@@ -24851,7 +24851,7 @@ var T5 = /* @__PURE__ */ function() {
|
|
|
24851
24851
|
"xmlns:formx": "urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0",
|
|
24852
24852
|
"xmlns:css3t": "http://www.w3.org/TR/css3-text/",
|
|
24853
24853
|
"office:version": "1.2"
|
|
24854
|
-
}), f =
|
|
24854
|
+
}), f = nn({
|
|
24855
24855
|
"xmlns:config": "urn:oasis:names:tc:opendocument:xmlns:config:1.0",
|
|
24856
24856
|
"office:mimetype": "application/vnd.oasis.opendocument.spreadsheet"
|
|
24857
24857
|
});
|
|
@@ -24910,19 +24910,19 @@ function Vr(t) {
|
|
|
24910
24910
|
function s0(t) {
|
|
24911
24911
|
return t -= t >> 1 & 1431655765, t = (t & 858993459) + (t >> 2 & 858993459), (t + (t >> 4) & 252645135) * 16843009 >>> 24;
|
|
24912
24912
|
}
|
|
24913
|
-
function
|
|
24913
|
+
function L5(t, e) {
|
|
24914
24914
|
for (var r = (t[e + 15] & 127) << 7 | t[e + 14] >> 1, a = t[e + 14] & 1, n = e + 13; n >= e; --n)
|
|
24915
24915
|
a = a * 256 + t[n];
|
|
24916
24916
|
return (t[e + 15] & 128 ? -a : a) * Math.pow(10, r - 6176);
|
|
24917
24917
|
}
|
|
24918
|
-
function
|
|
24918
|
+
function F5(t, e, r) {
|
|
24919
24919
|
var a = Math.floor(r == 0 ? 0 : Math.LOG10E * Math.log(Math.abs(r))) + 6176 - 20, n = r / Math.pow(10, a - 6176);
|
|
24920
24920
|
t[e + 15] |= a >> 7, t[e + 14] |= (a & 127) << 1;
|
|
24921
24921
|
for (var i = 0; n >= 1; ++i, n /= 256)
|
|
24922
24922
|
t[e + i] = n & 255;
|
|
24923
24923
|
t[e + 15] |= r >= 0 ? 0 : 128;
|
|
24924
24924
|
}
|
|
24925
|
-
function
|
|
24925
|
+
function dn(t, e) {
|
|
24926
24926
|
var r = e ? e[0] : 0, a = t[r] & 127;
|
|
24927
24927
|
e:
|
|
24928
24928
|
if (t[r++] >= 128 && (a |= (t[r] & 127) << 7, t[r++] < 128 || (a |= (t[r] & 127) << 14, t[r++] < 128) || (a |= (t[r] & 127) << 21, t[r++] < 128) || (a += (t[r] & 127) * Math.pow(2, 28), ++r, t[r++] < 128) || (a += (t[r] & 127) * Math.pow(2, 35), ++r, t[r++] < 128) || (a += (t[r] & 127) * Math.pow(2, 42), ++r, t[r++] < 128)))
|
|
@@ -24953,7 +24953,7 @@ function Ye(t) {
|
|
|
24953
24953
|
}
|
|
24954
24954
|
function Me(t) {
|
|
24955
24955
|
for (var e = [], r = [0]; r[0] < t.length; ) {
|
|
24956
|
-
var a = r[0], n =
|
|
24956
|
+
var a = r[0], n = dn(t, r), i = n & 7;
|
|
24957
24957
|
n = Math.floor(n / 8);
|
|
24958
24958
|
var s = 0, o;
|
|
24959
24959
|
if (n == 0)
|
|
@@ -24973,7 +24973,7 @@ function Me(t) {
|
|
|
24973
24973
|
s = 8, o = t.slice(r[0], r[0] + s), r[0] += s;
|
|
24974
24974
|
break;
|
|
24975
24975
|
case 2:
|
|
24976
|
-
s =
|
|
24976
|
+
s = dn(t, r), o = t.slice(r[0], r[0] + s), r[0] += s;
|
|
24977
24977
|
break;
|
|
24978
24978
|
case 3:
|
|
24979
24979
|
case 4:
|
|
@@ -25000,7 +25000,7 @@ function Ds(t, e) {
|
|
|
25000
25000
|
}
|
|
25001
25001
|
function Wt(t) {
|
|
25002
25002
|
for (var e, r = [], a = [0]; a[0] < t.length; ) {
|
|
25003
|
-
var n =
|
|
25003
|
+
var n = dn(t, a), i = Me(t.slice(a[0], a[0] + n));
|
|
25004
25004
|
a[0] += n;
|
|
25005
25005
|
var s = {
|
|
25006
25006
|
id: Ye(i[1][0].data),
|
|
@@ -25034,7 +25034,7 @@ function pa(t) {
|
|
|
25034
25034
|
function A5(t, e) {
|
|
25035
25035
|
if (t != 0)
|
|
25036
25036
|
throw new Error("Unexpected Snappy chunk type ".concat(t));
|
|
25037
|
-
for (var r = [0], a =
|
|
25037
|
+
for (var r = [0], a = dn(e, r), n = []; r[0] < e.length; ) {
|
|
25038
25038
|
var i = e[r[0]] & 3;
|
|
25039
25039
|
if (i == 0) {
|
|
25040
25040
|
var s = e[r[0]++] >> 2;
|
|
@@ -25123,7 +25123,7 @@ function I5(t, e, r, a) {
|
|
|
25123
25123
|
}
|
|
25124
25124
|
function N5(t, e, r) {
|
|
25125
25125
|
var a = sa(t), n = a.getUint32(8, !0), i = 12, s = -1, o = -1, l = NaN, c = NaN, f = new Date(2001, 0, 1);
|
|
25126
|
-
n & 1 && (l =
|
|
25126
|
+
n & 1 && (l = L5(t, i), i += 16), n & 2 && (c = a.getFloat64(i, !0), i += 8), n & 4 && (f.setTime(f.getTime() + a.getFloat64(i, !0) * 1e3), i += 8), n & 8 && (o = a.getUint32(i, !0), i += 4), n & 16 && (s = a.getUint32(i, !0), i += 4);
|
|
25127
25127
|
var h;
|
|
25128
25128
|
switch (t[1]) {
|
|
25129
25129
|
case 0:
|
|
@@ -25160,11 +25160,11 @@ function N5(t, e, r) {
|
|
|
25160
25160
|
}
|
|
25161
25161
|
return h;
|
|
25162
25162
|
}
|
|
25163
|
-
function
|
|
25163
|
+
function Fi(t, e) {
|
|
25164
25164
|
var r = new Uint8Array(32), a = sa(r), n = 12, i = 0;
|
|
25165
25165
|
switch (r[0] = 5, t.t) {
|
|
25166
25166
|
case "n":
|
|
25167
|
-
r[1] = 2,
|
|
25167
|
+
r[1] = 2, F5(r, n, t.v), i |= 1, n += 16;
|
|
25168
25168
|
break;
|
|
25169
25169
|
case "b":
|
|
25170
25170
|
r[1] = 6, a.setFloat64(n, t.v ? 1 : 0, !0), i |= 2, n += 8;
|
|
@@ -25213,7 +25213,7 @@ function M5(t, e, r) {
|
|
|
25213
25213
|
}
|
|
25214
25214
|
function xt(t) {
|
|
25215
25215
|
var e = Me(t);
|
|
25216
|
-
return
|
|
25216
|
+
return dn(e[1][0].data);
|
|
25217
25217
|
}
|
|
25218
25218
|
function o0(t, e) {
|
|
25219
25219
|
var r = Me(e.data), a = Ye(r[1][0].data), n = r[3], i = [];
|
|
@@ -25245,7 +25245,7 @@ function O5(t, e) {
|
|
|
25245
25245
|
b = (p = (u = g[4]) == null ? void 0 : u[0]) == null ? void 0 : p.data, I = (d = (m = g[3]) == null ? void 0 : m[0]) == null ? void 0 : d.data;
|
|
25246
25246
|
else
|
|
25247
25247
|
throw "NUMBERS Tile missing ".concat(e, " cell storage");
|
|
25248
|
-
for (var
|
|
25248
|
+
for (var F = x ? 4 : 1, y = sa(b), P = [], N = 0; N < b.length / 2; ++N) {
|
|
25249
25249
|
var z = y.getUint16(N * 2, !0);
|
|
25250
25250
|
z < 65535 && P.push([N, z]);
|
|
25251
25251
|
}
|
|
@@ -25253,8 +25253,8 @@ function O5(t, e) {
|
|
|
25253
25253
|
throw "Expected ".concat(w, " cells, found ").concat(P.length);
|
|
25254
25254
|
var B = [];
|
|
25255
25255
|
for (N = 0; N < P.length - 1; ++N)
|
|
25256
|
-
B[P[N][0]] = I.subarray(P[N][1] *
|
|
25257
|
-
return P.length >= 1 && (B[P[P.length - 1][0]] = I.subarray(P[P.length - 1][1] *
|
|
25256
|
+
B[P[N][0]] = I.subarray(P[N][1] * F, P[N + 1][1] * F);
|
|
25257
|
+
return P.length >= 1 && (B[P[P.length - 1][0]] = I.subarray(P[P.length - 1][1] * F)), { R: v, cells: B };
|
|
25258
25258
|
}
|
|
25259
25259
|
function P5(t, e) {
|
|
25260
25260
|
var r, a = Me(e.data), n = (r = a == null ? void 0 : a[7]) != null && r[0] ? Ye(a[7][0].data) >>> 0 > 0 ? 1 : 0 : -1, i = Ds(a[5], function(s) {
|
|
@@ -25381,13 +25381,13 @@ function H5(t, e, r) {
|
|
|
25381
25381
|
var g, v;
|
|
25382
25382
|
switch (typeof e[d]) {
|
|
25383
25383
|
case "string":
|
|
25384
|
-
g =
|
|
25384
|
+
g = Fi({ t: "s", v: e[d] }, r), v = Ai({ t: "s", v: e[d] }, r);
|
|
25385
25385
|
break;
|
|
25386
25386
|
case "number":
|
|
25387
|
-
g =
|
|
25387
|
+
g = Fi({ t: "n", v: e[d] }, r), v = Ai({ t: "n", v: e[d] }, r);
|
|
25388
25388
|
break;
|
|
25389
25389
|
case "boolean":
|
|
25390
|
-
g =
|
|
25390
|
+
g = Fi({ t: "b", v: e[d] }, r), v = Ai({ t: "b", v: e[d] }, r);
|
|
25391
25391
|
break;
|
|
25392
25392
|
default:
|
|
25393
25393
|
throw new Error("Unsupported value " + e[d]);
|
|
@@ -25469,16 +25469,16 @@ function U5(t, e) {
|
|
|
25469
25469
|
;
|
|
25470
25470
|
if (b[I].id != w)
|
|
25471
25471
|
throw "Bad ColumnRowUIDMapArchive";
|
|
25472
|
-
var
|
|
25473
|
-
|
|
25472
|
+
var F = Me(b[I].messages[0].data);
|
|
25473
|
+
F[1] = [], F[2] = [], F[3] = [];
|
|
25474
25474
|
for (var y = 0; y <= a.e.c; ++y) {
|
|
25475
25475
|
var P = [];
|
|
25476
|
-
P[1] = P[2] = [{ type: 0, data: Oe(y + 420690) }],
|
|
25476
|
+
P[1] = P[2] = [{ type: 0, data: Oe(y + 420690) }], F[1].push({ type: 2, data: ut(P) }), F[2].push({ type: 0, data: Oe(y) }), F[3].push({ type: 0, data: Oe(y) });
|
|
25477
25477
|
}
|
|
25478
|
-
|
|
25478
|
+
F[4] = [], F[5] = [], F[6] = [];
|
|
25479
25479
|
for (var N = 0; N <= a.e.r; ++N)
|
|
25480
|
-
P = [], P[1] = P[2] = [{ type: 0, data: Oe(N + 726270) }],
|
|
25481
|
-
b[I].messages[0].data = ut(
|
|
25480
|
+
P = [], P[1] = P[2] = [{ type: 0, data: Oe(N + 726270) }], F[4].push({ type: 2, data: ut(P) }), F[5].push({ type: 0, data: Oe(N) }), F[6].push({ type: 0, data: Oe(N) });
|
|
25481
|
+
b[I].messages[0].data = ut(F);
|
|
25482
25482
|
}
|
|
25483
25483
|
x.content = ma(pa(b)), x.size = x.content.length, delete v[46];
|
|
25484
25484
|
var z = Me(v[4][0].data);
|
|
@@ -25517,8 +25517,8 @@ function U5(t, e) {
|
|
|
25517
25517
|
{
|
|
25518
25518
|
re[3] = [];
|
|
25519
25519
|
var Q = [];
|
|
25520
|
-
s.forEach(function(
|
|
25521
|
-
Q[1] = [{ type: 0, data: Oe(Ve) }], Q[2] = [{ type: 0, data: Oe(1) }], Q[3] = [{ type: 2, data: S5(
|
|
25520
|
+
s.forEach(function(L, Ve) {
|
|
25521
|
+
Q[1] = [{ type: 0, data: Oe(Ve) }], Q[2] = [{ type: 0, data: Oe(1) }], Q[3] = [{ type: 2, data: S5(L) }], re[3].push({ type: 2, data: ut(Q) });
|
|
25522
25522
|
});
|
|
25523
25523
|
}
|
|
25524
25524
|
O.messages[0].data = ut(re);
|
|
@@ -25527,9 +25527,9 @@ function U5(t, e) {
|
|
|
25527
25527
|
})();
|
|
25528
25528
|
var oe = Me(z[3][0].data);
|
|
25529
25529
|
{
|
|
25530
|
-
var
|
|
25530
|
+
var Le = oe[1][0];
|
|
25531
25531
|
delete oe[2];
|
|
25532
|
-
var U = Me(
|
|
25532
|
+
var U = Me(Le.data);
|
|
25533
25533
|
{
|
|
25534
25534
|
var de = xt(U[2][0].data);
|
|
25535
25535
|
(function() {
|
|
@@ -25543,17 +25543,17 @@ function U5(t, e) {
|
|
|
25543
25543
|
var Q = new Uint8Array(re[5][0].data);
|
|
25544
25544
|
re[5] = [];
|
|
25545
25545
|
for (var q = 0, ke = 0; ke <= a.e.r; ++ke) {
|
|
25546
|
-
var
|
|
25547
|
-
q += H5(
|
|
25546
|
+
var L = Me(Q);
|
|
25547
|
+
q += H5(L, i[ke], s), L[1][0].data = Oe(ke), re[5].push({ data: ut(L), type: 2 });
|
|
25548
25548
|
}
|
|
25549
25549
|
re[1] = [{ type: 0, data: Oe(a.e.c + 1) }], re[2] = [{ type: 0, data: Oe(a.e.r + 1) }], re[3] = [{ type: 0, data: Oe(q) }], re[4] = [{ type: 0, data: Oe(a.e.r + 1) }];
|
|
25550
25550
|
}
|
|
25551
25551
|
O.messages[0].data = ut(re);
|
|
25552
|
-
var Ve = pa(M),
|
|
25553
|
-
R.content =
|
|
25552
|
+
var Ve = pa(M), Fe = ma(Ve);
|
|
25553
|
+
R.content = Fe, R.size = R.content.length;
|
|
25554
25554
|
})();
|
|
25555
25555
|
}
|
|
25556
|
-
|
|
25556
|
+
Le.data = ut(U);
|
|
25557
25557
|
}
|
|
25558
25558
|
z[3][0].data = ut(oe);
|
|
25559
25559
|
}
|
|
@@ -25643,7 +25643,7 @@ function G5(t, e, r, a, n, i, s, o, l, c, f, h) {
|
|
|
25643
25643
|
break;
|
|
25644
25644
|
case "chart":
|
|
25645
25645
|
if (p = dv(u, e, n, l, i[a], c, f, h), !p || !p["!drawel"]) break;
|
|
25646
|
-
var m = Ga(p["!drawel"].Target, e), d =
|
|
25646
|
+
var m = Ga(p["!drawel"].Target, e), d = on(m), g = Qp(Dt(t, m, !0), Ka(Dt(t, d, !0), m)), v = Ga(g, m), w = on(v);
|
|
25647
25647
|
p = Hx(Dt(t, v, !0), v, l, Ka(Dt(t, w, !0), v), c, p);
|
|
25648
25648
|
break;
|
|
25649
25649
|
case "macro":
|
|
@@ -25661,9 +25661,9 @@ function G5(t, e, r, a, n, i, s, o, l, c, f, h) {
|
|
|
25661
25661
|
var I = "";
|
|
25662
25662
|
if (i[a][b].Type == Se.CMNT) {
|
|
25663
25663
|
I = Ga(i[a][b].Target, e);
|
|
25664
|
-
var
|
|
25665
|
-
if (!
|
|
25666
|
-
Xo(p,
|
|
25664
|
+
var F = wv(at(t, I, !0), I, l);
|
|
25665
|
+
if (!F || !F.length) return;
|
|
25666
|
+
Xo(p, F, !1);
|
|
25667
25667
|
}
|
|
25668
25668
|
i[a][b].Type == Se.TCMNT && (I = Ga(i[a][b].Target, e), x = x.concat(tm(at(t, I, !0), l)));
|
|
25669
25669
|
}), x && x.length && Xo(p, x, !0, l.people || []);
|
|
@@ -25706,7 +25706,7 @@ function z5(t, e) {
|
|
|
25706
25706
|
}
|
|
25707
25707
|
n.links.map(function(le) {
|
|
25708
25708
|
try {
|
|
25709
|
-
var ne = Ka(Dt(t,
|
|
25709
|
+
var ne = Ka(Dt(t, on(Ht(le))), le);
|
|
25710
25710
|
return Cv(at(t, Ht(le)), ne, le, e);
|
|
25711
25711
|
} catch {
|
|
25712
25712
|
}
|
|
@@ -25730,14 +25730,14 @@ function z5(t, e) {
|
|
|
25730
25730
|
for (var I = 0; I != b.length; ++I)
|
|
25731
25731
|
h.SheetNames[I] = b[I].name;
|
|
25732
25732
|
}
|
|
25733
|
-
var
|
|
25734
|
-
Gt(t, P) || (P = "xl/_rels/workbook." +
|
|
25733
|
+
var F = i ? "bin" : "xml", y = n.workbooks[0].lastIndexOf("/"), P = (n.workbooks[0].slice(0, y + 1) + "_rels/" + n.workbooks[0].slice(y + 1) + ".rels").replace(/^\//, "");
|
|
25734
|
+
Gt(t, P) || (P = "xl/_rels/workbook." + F + ".rels");
|
|
25735
25735
|
var N = Ka(Dt(t, P, !0), P.replace(/_rels.*/, "s5s"));
|
|
25736
25736
|
(n.metadata || []).length >= 1 && (e.xlmeta = yv(at(t, Ht(n.metadata[0])), n.metadata[0], e)), (n.people || []).length >= 1 && (e.people = am(at(t, Ht(n.people[0])), e)), N && (N = $5(N, f.Sheets));
|
|
25737
25737
|
var z = at(t, "xl/worksheets/sheet.xml", !0) ? 1 : 0;
|
|
25738
25738
|
e: for (g = 0; g != h.Worksheets; ++g) {
|
|
25739
25739
|
var B = "sheet";
|
|
25740
|
-
if (N && N[g] ? (w = "xl/" + N[g][1].replace(/[\/]?xl\//, ""), Gt(t, w) || (w = N[g][1]), Gt(t, w) || (w = P.replace(/_rels\/.*$/, "") + N[g][1]), B = N[g][2]) : (w = "xl/worksheets/sheet" + (g + 1 - z) + "." +
|
|
25740
|
+
if (N && N[g] ? (w = "xl/" + N[g][1].replace(/[\/]?xl\//, ""), Gt(t, w) || (w = N[g][1]), Gt(t, w) || (w = P.replace(/_rels\/.*$/, "") + N[g][1]), B = N[g][2]) : (w = "xl/worksheets/sheet" + (g + 1 - z) + "." + F, w = w.replace(/sheet0\./, "sheet.")), x = w.replace(/^(.*)(\/)([^\/]*)$/, "$1/_rels/$3.rels"), e && e.sheets != null) switch (typeof e.sheets) {
|
|
25741
25741
|
case "number":
|
|
25742
25742
|
if (g != e.sheets) continue e;
|
|
25743
25743
|
break;
|
|
@@ -25786,7 +25786,7 @@ function X5(t, e) {
|
|
|
25786
25786
|
} catch {
|
|
25787
25787
|
}
|
|
25788
25788
|
if (a = "/EncryptionInfo", n = pe.find(t, a), !n || !n.content) throw new Error("ECMA-376 Encrypted file missing " + a);
|
|
25789
|
-
var o =
|
|
25789
|
+
var o = Ld(n.content);
|
|
25790
25790
|
if (a = "/EncryptedPackage", n = pe.find(t, a), !n || !n.content) throw new Error("ECMA-376 Encrypted file missing " + a);
|
|
25791
25791
|
if (o[0] == 4 && typeof decrypt_agile < "u") return decrypt_agile(o[1], n.content, r.password || "", r);
|
|
25792
25792
|
if (o[0] == 2 && typeof decrypt_std76 < "u") return decrypt_std76(o[1], n.content, r.password || "", r);
|
|
@@ -25819,9 +25819,9 @@ function K5(t, e) {
|
|
|
25819
25819
|
var p = h["!comments"], m = !1, d = "";
|
|
25820
25820
|
p && p.length > 0 && (d = "xl/comments" + o + "." + r, ye(i, d, bv(p, d)), n.comments.push(d), Pe(f, -1, "../comments" + o + "." + r, Se.CMNT), m = !0), h["!legacy"] && m && ye(i, "xl/drawings/vmlDrawing" + o + ".vml", Jl(o, h["!comments"])), delete h["!comments"], delete h["!legacy"];
|
|
25821
25821
|
}
|
|
25822
|
-
f["!id"].rId1 && ye(i,
|
|
25822
|
+
f["!id"].rId1 && ye(i, on(s), Ta(f));
|
|
25823
25823
|
}
|
|
25824
|
-
return e.Strings != null && e.Strings.length > 0 && (s = "xl/sharedStrings." + r, ye(i, s, Sv(e.Strings, s, e)), n.strs.push(s), Pe(e.wbrels, -1, "sharedStrings." + r, Se.SST)), s = "xl/workbook." + r, ye(i, s, kv(t, s)), n.workbooks.push(s), Pe(e.rels, 1, s, Se.WB), s = "xl/theme/theme1.xml", ye(i, s,
|
|
25824
|
+
return e.Strings != null && e.Strings.length > 0 && (s = "xl/sharedStrings." + r, ye(i, s, Sv(e.Strings, s, e)), n.strs.push(s), Pe(e.wbrels, -1, "sharedStrings." + r, Se.SST)), s = "xl/workbook." + r, ye(i, s, kv(t, s)), n.workbooks.push(s), Pe(e.rels, 1, s, Se.WB), s = "xl/theme/theme1.xml", ye(i, s, Fs(t.Themes, e)), n.themes.push(s), Pe(e.wbrels, -1, "theme/theme1.xml", Se.THEME), s = "xl/styles." + r, ye(i, s, Tv(t, s, e)), n.styles.push(s), Pe(e.wbrels, -1, "styles." + r, Se.STY), t.vbaraw && a && (s = "xl/vbaProject.bin", ye(i, s, t.vbaraw), n.vba.push(s), Pe(e.wbrels, -1, "vbaProject.bin", Se.VBA)), s = "xl/metadata." + r, ye(i, s, Lv(s)), n.metadata.push(s), Pe(e.wbrels, -1, "metadata." + r, Se.XLMETA), ye(i, "[Content_Types].xml", hl(n, e)), ye(i, "_rels/.rels", Ta(e.rels)), ye(i, "xl/_rels/workbook." + r + ".rels", Ta(e.wbrels)), delete e.revssf, delete e.ssf, i;
|
|
25825
25825
|
}
|
|
25826
25826
|
function Y5(t, e) {
|
|
25827
25827
|
va = 1024, t && !t.SSF && (t.SSF = We(me)), t && t.SSF && (Ma(), li(t.SSF), e.revssf = fi(t.SSF), e.revssf[t.SSF[65535]] = 0, e.ssf = t.SSF), e.rels = {}, e.wbrels = {}, e.Strings = /*::((*/
|
|
@@ -25857,9 +25857,9 @@ function Y5(t, e) {
|
|
|
25857
25857
|
}
|
|
25858
25858
|
u["!legacy"] && d && ye(i, "xl/drawings/vmlDrawing" + o + ".vml", Jl(o, u["!comments"])), delete u["!comments"], delete u["!legacy"];
|
|
25859
25859
|
}
|
|
25860
|
-
h["!id"].rId1 && ye(i,
|
|
25860
|
+
h["!id"].rId1 && ye(i, on(s), Ta(h));
|
|
25861
25861
|
}
|
|
25862
|
-
return e.Strings != null && e.Strings.length > 0 && (s = "xl/sharedStrings." + r, ye(i, s, Bl(e.Strings, e)), n.strs.push(s), Pe(e.wbrels, -1, "sharedStrings." + r, Se.SST)), s = "xl/workbook." + r, ye(i, s, pc(t)), n.workbooks.push(s), Pe(e.rels, 1, s, Se.WB), s = "xl/theme/theme1.xml", ye(i, s,
|
|
25862
|
+
return e.Strings != null && e.Strings.length > 0 && (s = "xl/sharedStrings." + r, ye(i, s, Bl(e.Strings, e)), n.strs.push(s), Pe(e.wbrels, -1, "sharedStrings." + r, Se.SST)), s = "xl/workbook." + r, ye(i, s, pc(t)), n.workbooks.push(s), Pe(e.rels, 1, s, Se.WB), s = "xl/theme/theme1.xml", ye(i, s, Fs(t.Themes, e)), n.themes.push(s), Pe(e.wbrels, -1, "theme/theme1.xml", Se.THEME), s = "xl/styles." + r, ye(i, s, Xl(t, e)), n.styles.push(s), Pe(e.wbrels, -1, "styles." + r, Se.STY), t.vbaraw && a && (s = "xl/vbaProject.bin", ye(i, s, t.vbaraw), n.vba.push(s), Pe(e.wbrels, -1, "vbaProject.bin", Se.VBA)), s = "xl/metadata." + r, ye(i, s, Yl()), n.metadata.push(s), Pe(e.wbrels, -1, "metadata." + r, Se.XLMETA), f.length > 1 && (s = "xl/persons/person.xml", ye(i, s, nm(f)), n.people.push(s), Pe(e.wbrels, -1, "persons/person.xml", Se.PEOPLE)), ye(i, "[Content_Types].xml", hl(n, e)), ye(i, "_rels/.rels", Ta(e.rels)), ye(i, "xl/_rels/workbook." + r + ".rels", Ta(e.wbrels)), delete e.revssf, delete e.ssf, i;
|
|
25863
25863
|
}
|
|
25864
25864
|
function Vs(t, e) {
|
|
25865
25865
|
var r = "";
|
|
@@ -25999,7 +25999,7 @@ function bc(t, e) {
|
|
|
25999
25999
|
e.type = "";
|
|
26000
26000
|
break;
|
|
26001
26001
|
case "file":
|
|
26002
|
-
return
|
|
26002
|
+
return mn(e.file, pe.write(t, { type: _e ? "buffer" : "" }));
|
|
26003
26003
|
case "string":
|
|
26004
26004
|
throw new Error("'string' output type invalid for '" + e.bookType + "' files");
|
|
26005
26005
|
default:
|
|
@@ -26038,7 +26038,7 @@ function r4(t, e) {
|
|
|
26038
26038
|
if (e.type == "binary" || e.type == "base64") return n;
|
|
26039
26039
|
n = new Uint8Array(oi(n));
|
|
26040
26040
|
}
|
|
26041
|
-
return e.password && typeof encrypt_agile < "u" ? bc(encrypt_agile(n, e.password), e) : e.type === "file" ?
|
|
26041
|
+
return e.password && typeof encrypt_agile < "u" ? bc(encrypt_agile(n, e.password), e) : e.type === "file" ? mn(e.file, n) : e.type == "string" ? Re(
|
|
26042
26042
|
/*::(*/
|
|
26043
26043
|
n
|
|
26044
26044
|
/*:: :any)*/
|
|
@@ -26053,15 +26053,15 @@ function fr(t, e, r) {
|
|
|
26053
26053
|
var a = r + t;
|
|
26054
26054
|
switch (e.type) {
|
|
26055
26055
|
case "base64":
|
|
26056
|
-
return
|
|
26056
|
+
return tn(ur(a));
|
|
26057
26057
|
case "binary":
|
|
26058
26058
|
return ur(a);
|
|
26059
26059
|
case "string":
|
|
26060
26060
|
return t;
|
|
26061
26061
|
case "file":
|
|
26062
|
-
return
|
|
26062
|
+
return mn(e.file, a, "utf8");
|
|
26063
26063
|
case "buffer":
|
|
26064
|
-
return _e ?
|
|
26064
|
+
return _e ? Lr(a, "utf8") : typeof TextEncoder < "u" ? new TextEncoder().encode(a) : fr(a, { type: "binary" }).split("").map(function(n) {
|
|
26065
26065
|
return n.charCodeAt(0);
|
|
26066
26066
|
});
|
|
26067
26067
|
}
|
|
@@ -26070,42 +26070,42 @@ function fr(t, e, r) {
|
|
|
26070
26070
|
function n4(t, e) {
|
|
26071
26071
|
switch (e.type) {
|
|
26072
26072
|
case "base64":
|
|
26073
|
-
return
|
|
26073
|
+
return tn(t);
|
|
26074
26074
|
case "binary":
|
|
26075
26075
|
return t;
|
|
26076
26076
|
case "string":
|
|
26077
26077
|
return t;
|
|
26078
26078
|
/* override in sheet_to_txt */
|
|
26079
26079
|
case "file":
|
|
26080
|
-
return
|
|
26080
|
+
return mn(e.file, t, "binary");
|
|
26081
26081
|
case "buffer":
|
|
26082
|
-
return _e ?
|
|
26082
|
+
return _e ? Lr(t, "binary") : t.split("").map(function(r) {
|
|
26083
26083
|
return r.charCodeAt(0);
|
|
26084
26084
|
});
|
|
26085
26085
|
}
|
|
26086
26086
|
throw new Error("Unrecognized type " + e.type);
|
|
26087
26087
|
}
|
|
26088
|
-
function
|
|
26088
|
+
function On(t, e) {
|
|
26089
26089
|
switch (e.type) {
|
|
26090
26090
|
case "string":
|
|
26091
26091
|
case "base64":
|
|
26092
26092
|
case "binary":
|
|
26093
26093
|
for (var r = "", a = 0; a < t.length; ++a) r += String.fromCharCode(t[a]);
|
|
26094
|
-
return e.type == "base64" ?
|
|
26094
|
+
return e.type == "base64" ? tn(r) : e.type == "string" ? Re(r) : r;
|
|
26095
26095
|
case "file":
|
|
26096
|
-
return
|
|
26096
|
+
return mn(e.file, t);
|
|
26097
26097
|
case "buffer":
|
|
26098
26098
|
return t;
|
|
26099
26099
|
default:
|
|
26100
26100
|
throw new Error("Unrecognized type " + e.type);
|
|
26101
26101
|
}
|
|
26102
26102
|
}
|
|
26103
|
-
function
|
|
26103
|
+
function Lc(t, e) {
|
|
26104
26104
|
ns(), Jx(t);
|
|
26105
26105
|
var r = We(e || {});
|
|
26106
26106
|
if (r.cellStyles && (r.cellNF = !0, r.sheetStubs = !0), r.type == "array") {
|
|
26107
26107
|
r.type = "binary";
|
|
26108
|
-
var a =
|
|
26108
|
+
var a = Lc(t, r);
|
|
26109
26109
|
return r.type = "array", oi(a);
|
|
26110
26110
|
}
|
|
26111
26111
|
var n = 0;
|
|
@@ -26122,13 +26122,13 @@ function Fc(t, e) {
|
|
|
26122
26122
|
case "html":
|
|
26123
26123
|
return fr(Ec(t.Sheets[t.SheetNames[n]], r), r);
|
|
26124
26124
|
case "txt":
|
|
26125
|
-
return n4(
|
|
26125
|
+
return n4(Fc(t.Sheets[t.SheetNames[n]], r), r);
|
|
26126
26126
|
case "csv":
|
|
26127
26127
|
return fr(Hs(t.Sheets[t.SheetNames[n]], r), r, "\uFEFF");
|
|
26128
26128
|
case "dif":
|
|
26129
26129
|
return fr(Dl.from_sheet(t.Sheets[t.SheetNames[n]], r), r);
|
|
26130
26130
|
case "dbf":
|
|
26131
|
-
return
|
|
26131
|
+
return On(Xi.from_sheet(t.Sheets[t.SheetNames[n]], r), r);
|
|
26132
26132
|
case "prn":
|
|
26133
26133
|
return fr(Aa.from_sheet(t.Sheets[t.SheetNames[n]], r), r);
|
|
26134
26134
|
case "rtf":
|
|
@@ -26138,9 +26138,9 @@ function Fc(t, e) {
|
|
|
26138
26138
|
case "fods":
|
|
26139
26139
|
return fr(_c(t, r), r);
|
|
26140
26140
|
case "wk1":
|
|
26141
|
-
return
|
|
26141
|
+
return On(qr.sheet_to_wk1(t.Sheets[t.SheetNames[n]], r), r);
|
|
26142
26142
|
case "wk3":
|
|
26143
|
-
return
|
|
26143
|
+
return On(qr.book_to_wk3(t, r), r);
|
|
26144
26144
|
case "biff2":
|
|
26145
26145
|
r.biff || (r.biff = 2);
|
|
26146
26146
|
/* falls through */
|
|
@@ -26148,7 +26148,7 @@ function Fc(t, e) {
|
|
|
26148
26148
|
r.biff || (r.biff = 3);
|
|
26149
26149
|
/* falls through */
|
|
26150
26150
|
case "biff4":
|
|
26151
|
-
return r.biff || (r.biff = 4),
|
|
26151
|
+
return r.biff || (r.biff = 4), On(wc(t, r), r);
|
|
26152
26152
|
case "biff5":
|
|
26153
26153
|
r.biff || (r.biff = 5);
|
|
26154
26154
|
/* falls through */
|
|
@@ -26181,7 +26181,7 @@ function i4(t) {
|
|
|
26181
26181
|
}
|
|
26182
26182
|
function Ji(t, e, r) {
|
|
26183
26183
|
var a = {};
|
|
26184
|
-
return a.type = "file", a.file = e, i4(a),
|
|
26184
|
+
return a.type = "file", a.file = e, i4(a), Lc(t, a);
|
|
26185
26185
|
}
|
|
26186
26186
|
function s4(t, e, r, a, n, i, s, o) {
|
|
26187
26187
|
var l = et(r), c = o.defval, f = o.raw || !Object.prototype.hasOwnProperty.call(o, "raw"), h = !0, u = n === 1 ? [] : {};
|
|
@@ -26269,8 +26269,8 @@ function ri(t, e) {
|
|
|
26269
26269
|
}
|
|
26270
26270
|
for (v = l.s.r + n; v <= l.e.r; ++v)
|
|
26271
26271
|
if (!(I[v] || {}).hidden) {
|
|
26272
|
-
var
|
|
26273
|
-
(
|
|
26272
|
+
var F = s4(t, l, v, u, a, i, g, c);
|
|
26273
|
+
(F.isempty === !1 || (a === 1 ? c.blankrows !== !1 : c.blankrows)) && (p[m++] = F.row);
|
|
26274
26274
|
}
|
|
26275
26275
|
return p.length = m, p;
|
|
26276
26276
|
}
|
|
@@ -26303,7 +26303,7 @@ function Hs(t, e) {
|
|
|
26303
26303
|
(p[g] || {}).hidden || (f = o4(t, n, g, h, s, l, i, a), f != null && (a.strip && (f = f.replace(c, "")), (f || a.blankrows !== !1) && r.push((d++ ? o : "") + f)));
|
|
26304
26304
|
return delete a.dense, r.join("");
|
|
26305
26305
|
}
|
|
26306
|
-
function
|
|
26306
|
+
function Fc(t, e) {
|
|
26307
26307
|
e || (e = {}), e.FS = " ", e.RS = `
|
|
26308
26308
|
`;
|
|
26309
26309
|
var r = Hs(t, e);
|
|
@@ -26355,7 +26355,7 @@ function Ac(t, e, r) {
|
|
|
26355
26355
|
Je(d).forEach(function(v) {
|
|
26356
26356
|
(p = u.indexOf(v)) == -1 && (u[p = u.length] = v);
|
|
26357
26357
|
var w = d[v], x = "z", b = "", I = ge({ c: o + p, r: s + g + n });
|
|
26358
|
-
c =
|
|
26358
|
+
c = pn(i, I), w && typeof w == "object" && !(w instanceof Date) ? i[I] = w : (typeof w == "number" ? x = "n" : typeof w == "boolean" ? x = "b" : typeof w == "string" ? x = "s" : w instanceof Date ? (x = "d", a.cellDates || (x = "n", w = ot(w)), b = a.dateNF || me[14]) : w === null && a.nullError && (x = "e", w = 0), c ? (c.t = x, c.v = w, delete c.w, delete c.R, b && (c.z = b)) : i[I] = c = { t: x, v: w }, b && (c.z = b));
|
|
26359
26359
|
});
|
|
26360
26360
|
}), f.e.c = Math.max(f.e.c, o + u.length - 1);
|
|
26361
26361
|
var m = et(s);
|
|
@@ -26365,7 +26365,7 @@ function Ac(t, e, r) {
|
|
|
26365
26365
|
function c4(t, e) {
|
|
26366
26366
|
return Ac(null, t, e);
|
|
26367
26367
|
}
|
|
26368
|
-
function
|
|
26368
|
+
function pn(t, e, r) {
|
|
26369
26369
|
if (typeof e == "string") {
|
|
26370
26370
|
if (Array.isArray(t)) {
|
|
26371
26371
|
var a = je(e);
|
|
@@ -26373,7 +26373,7 @@ function dn(t, e, r) {
|
|
|
26373
26373
|
}
|
|
26374
26374
|
return t[e] || (t[e] = { t: "z" });
|
|
26375
26375
|
}
|
|
26376
|
-
return typeof e != "number" ?
|
|
26376
|
+
return typeof e != "number" ? pn(t, ge(e)) : pn(t, ge({ r: e, c: r || 0 }));
|
|
26377
26377
|
}
|
|
26378
26378
|
function f4(t, e) {
|
|
26379
26379
|
if (typeof e == "number") {
|
|
@@ -26428,7 +26428,7 @@ function p4(t, e, r) {
|
|
|
26428
26428
|
}
|
|
26429
26429
|
function m4(t, e, r, a) {
|
|
26430
26430
|
for (var n = typeof e != "string" ? e : Ne(e), i = typeof e == "string" ? e : Ce(e), s = n.s.r; s <= n.e.r; ++s) for (var o = n.s.c; o <= n.e.c; ++o) {
|
|
26431
|
-
var l =
|
|
26431
|
+
var l = pn(t, s, o);
|
|
26432
26432
|
l.t = "n", l.F = i, delete l.v, s == n.s.r && o == n.s.c && (l.f = r, a && (l.D = !0));
|
|
26433
26433
|
}
|
|
26434
26434
|
return t;
|
|
@@ -26452,12 +26452,12 @@ var Qt = {
|
|
|
26452
26452
|
table_to_sheet: yc,
|
|
26453
26453
|
table_to_book: y5,
|
|
26454
26454
|
sheet_to_csv: Hs,
|
|
26455
|
-
sheet_to_txt:
|
|
26455
|
+
sheet_to_txt: Fc,
|
|
26456
26456
|
sheet_to_json: ri,
|
|
26457
26457
|
sheet_to_html: Ec,
|
|
26458
26458
|
sheet_to_formulae: l4,
|
|
26459
26459
|
sheet_to_row_object_array: ri,
|
|
26460
|
-
sheet_get_cell:
|
|
26460
|
+
sheet_get_cell: pn,
|
|
26461
26461
|
book_new: Us,
|
|
26462
26462
|
book_append_sheet: Ws,
|
|
26463
26463
|
book_set_sheet_visibility: h4,
|
|
@@ -26472,7 +26472,7 @@ var Qt = {
|
|
|
26472
26472
|
SHEET_VERY_HIDDEN: 2
|
|
26473
26473
|
}
|
|
26474
26474
|
};
|
|
26475
|
-
const
|
|
26475
|
+
const Pn = ["en", "ka", "ru", "tr"], c0 = {
|
|
26476
26476
|
title: {
|
|
26477
26477
|
en: "Rule Title (EN)",
|
|
26478
26478
|
ka: "წესის სათაური (KA)",
|
|
@@ -26486,8 +26486,8 @@ const On = ["en", "ka", "ru", "tr"], c0 = {
|
|
|
26486
26486
|
tr: "Kural Açıklaması (TR)"
|
|
26487
26487
|
}
|
|
26488
26488
|
};
|
|
26489
|
-
class
|
|
26490
|
-
static exportToExcel(e, r = [...
|
|
26489
|
+
class Dn {
|
|
26490
|
+
static exportToExcel(e, r = [...Pn], a = "rules.xlsx") {
|
|
26491
26491
|
const n = [], i = [];
|
|
26492
26492
|
r.forEach((c) => {
|
|
26493
26493
|
i.push(`title_${c}`), i.push(`description_${c}`);
|
|
@@ -26502,7 +26502,7 @@ class Pn {
|
|
|
26502
26502
|
const l = Qt.book_new();
|
|
26503
26503
|
Qt.book_append_sheet(l, s, "Rules"), Ji(l, a);
|
|
26504
26504
|
}
|
|
26505
|
-
static downloadTemplate(e = [...
|
|
26505
|
+
static downloadTemplate(e = [...Pn], r = "rules-template.xlsx") {
|
|
26506
26506
|
const a = [], n = [];
|
|
26507
26507
|
e.forEach((l) => {
|
|
26508
26508
|
n.push(`title_${l}`), n.push(`description_${l}`);
|
|
@@ -26541,10 +26541,10 @@ class Pn {
|
|
|
26541
26541
|
if (b) {
|
|
26542
26542
|
const I = Object.values(b.ruleTitle).some(
|
|
26543
26543
|
(y) => y && y.trim()
|
|
26544
|
-
),
|
|
26544
|
+
), F = Object.values(b.ruleContent).some(
|
|
26545
26545
|
(y) => y && y.trim()
|
|
26546
26546
|
);
|
|
26547
|
-
I ||
|
|
26547
|
+
I || F ? (m.push(b), g++) : (v++, d.push(`Row ${w + 1}: Empty rule (no title or content)`));
|
|
26548
26548
|
}
|
|
26549
26549
|
} catch (b) {
|
|
26550
26550
|
v++, d.push(
|
|
@@ -26574,7 +26574,7 @@ class Pn {
|
|
|
26574
26574
|
return e.forEach((a, n) => {
|
|
26575
26575
|
var s, o;
|
|
26576
26576
|
const i = a.toLowerCase().replace(/[^a-z_]/g, "");
|
|
26577
|
-
for (const l of
|
|
26577
|
+
for (const l of Pn) {
|
|
26578
26578
|
if (i.includes(`title_${l}`) || i.includes(`title${l}`) || i.includes("title") && i.includes(l)) {
|
|
26579
26579
|
r.set(n, { type: "title", lang: l });
|
|
26580
26580
|
break;
|
|
@@ -26585,7 +26585,7 @@ class Pn {
|
|
|
26585
26585
|
}
|
|
26586
26586
|
}
|
|
26587
26587
|
if (!r.has(n))
|
|
26588
|
-
for (const l of
|
|
26588
|
+
for (const l of Pn) {
|
|
26589
26589
|
const c = ((s = c0.title[l]) == null ? void 0 : s.toLowerCase()) || "", f = ((o = c0.description[l]) == null ? void 0 : o.toLowerCase()) || "";
|
|
26590
26590
|
if (a.toLowerCase().includes(c.split("(")[0].trim())) {
|
|
26591
26591
|
r.set(n, { type: "title", lang: l });
|
|
@@ -26644,7 +26644,7 @@ function qi(t) {
|
|
|
26644
26644
|
if (typeof t == "object") {
|
|
26645
26645
|
const e = {};
|
|
26646
26646
|
for (const [r, a] of Object.entries(t))
|
|
26647
|
-
r !== "$id" && (e[r] = qi(a));
|
|
26647
|
+
r !== "disabled_removing_$id" && (e[r] = qi(a));
|
|
26648
26648
|
return e;
|
|
26649
26649
|
}
|
|
26650
26650
|
return t;
|
|
@@ -26652,7 +26652,7 @@ function qi(t) {
|
|
|
26652
26652
|
const si = class si {
|
|
26653
26653
|
constructor(e) {
|
|
26654
26654
|
this.elementRef = null, this.isHidden = !1, this.custom = !1, this.initialValues = {}, this.changeTimeout = null, this.isHandlingChange = !1, this.changeHandlers = /* @__PURE__ */ new Set(), this.blurTimeout = null, this.lastChangeTime = 0, this.handleBlur = () => {
|
|
26655
|
-
}, this.pendingBlurHandler = null, this.originalDefaultValues = {}, this.nestingLevel = 0, this.dataPropsPath = "", this.hide = !1, this.isSettingValue = !1, this.suppressOnChange = !1, this.isRootNode = !1, this.suppressOnChange = !0, this.id = e.id ||
|
|
26655
|
+
}, this.pendingBlurHandler = null, this.originalDefaultValues = {}, this.nestingLevel = 0, this.dataPropsPath = "", this.hide = !1, this.isSettingValue = !1, this.suppressOnChange = !1, this.isRootNode = !1, this.$id = en(), this.suppressOnChange = !0, this.id = e.id || en(), this.title = e.title, this.settings = e.settings, this.isCollapsed = e.collapsed ?? !1, this.isMain = e.main ?? !1, this.custom = e.custom ?? !1, this.nestingLevel = 0, this.includeGetJson = e.includeGetJson ?? !0, this.addItemCfg = e.addItem, this.deleteItemCfg = e.deleteItem, this.dataProps = e.dataProps, this.dataPropsPath = e.dataProps || "", this.hide = e.hide ?? !1, Object.assign(this, e.settings), this.initialValues = this.getValues(), this.originalDefaultValues = this.getDefaultValues(), this.propagateNestingLevel(), this.propagateDataPropsPath(), this.propagateComponentPaths(), this.suppressOnChange = !1;
|
|
26656
26656
|
}
|
|
26657
26657
|
propagateNestingLevel() {
|
|
26658
26658
|
const e = this.nestingLevel + 1;
|
|
@@ -26699,7 +26699,7 @@ const si = class si {
|
|
|
26699
26699
|
});
|
|
26700
26700
|
}
|
|
26701
26701
|
updateNestingStyles() {
|
|
26702
|
-
this.elementRef && (
|
|
26702
|
+
this.elementRef && (Bn(this.elementRef, this.nestingLevel), Pi(this.elementRef, this.nestingLevel));
|
|
26703
26703
|
}
|
|
26704
26704
|
forceChildUIRefresh() {
|
|
26705
26705
|
Object.entries(this.settings).forEach(([e, r]) => {
|
|
@@ -26926,7 +26926,7 @@ const si = class si {
|
|
|
26926
26926
|
const u = s.querySelector(".sg-add-button-bottom");
|
|
26927
26927
|
u && u.parentElement === s ? s.insertBefore(l, u) : s.appendChild(l);
|
|
26928
26928
|
}
|
|
26929
|
-
Ys.trackElement(l),
|
|
26929
|
+
Ys.trackElement(l), Bn(l, this.nestingLevel + 1), Pi(l, this.nestingLevel + 1);
|
|
26930
26930
|
const h = l.style.display;
|
|
26931
26931
|
l.style.display = "none", l.offsetHeight, l.style.display = h, this.updateNestingStyles();
|
|
26932
26932
|
}
|
|
@@ -27293,7 +27293,7 @@ const si = class si {
|
|
|
27293
27293
|
}
|
|
27294
27294
|
getValues(e) {
|
|
27295
27295
|
if (e === void 0) {
|
|
27296
|
-
const r = {};
|
|
27296
|
+
const r = { $id: this.$id };
|
|
27297
27297
|
for (const a in this.settings)
|
|
27298
27298
|
if (Object.prototype.hasOwnProperty.call(this.settings, a)) {
|
|
27299
27299
|
const n = this.settings[a];
|
|
@@ -27327,7 +27327,7 @@ const si = class si {
|
|
|
27327
27327
|
} else {
|
|
27328
27328
|
const s = i;
|
|
27329
27329
|
if (s.includeGetJson !== !1)
|
|
27330
|
-
if (i instanceof
|
|
27330
|
+
if (i instanceof La) {
|
|
27331
27331
|
const o = i.getRawValue();
|
|
27332
27332
|
a[n] = o ? Jt(o) : null;
|
|
27333
27333
|
} else
|
|
@@ -27343,7 +27343,7 @@ const si = class si {
|
|
|
27343
27343
|
{
|
|
27344
27344
|
const n = a;
|
|
27345
27345
|
if (n.includeGetJson === !1) return null;
|
|
27346
|
-
if (a instanceof
|
|
27346
|
+
if (a instanceof La) {
|
|
27347
27347
|
const i = a.getRawValue();
|
|
27348
27348
|
return i ? Jt(i) : null;
|
|
27349
27349
|
}
|
|
@@ -27376,7 +27376,7 @@ const si = class si {
|
|
|
27376
27376
|
draw() {
|
|
27377
27377
|
var f;
|
|
27378
27378
|
const e = document.createElement("div");
|
|
27379
|
-
e.className = "setting-group", e.id = `setting-group-${this.id}`, si.hiddenElements.add(e), this.hide && (e.style.display = "none"), this.isMain && e.classList.add("main-group"), this.custom && e.classList.add("custom_class"),
|
|
27379
|
+
e.className = "setting-group", e.id = `setting-group-${this.id}`, si.hiddenElements.add(e), this.hide && (e.style.display = "none"), this.isMain && e.classList.add("main-group"), this.custom && e.classList.add("custom_class"), Bn(e, this.nestingLevel);
|
|
27380
27380
|
const r = document.createElement("div");
|
|
27381
27381
|
r.className = "setting-group-title", this.isCollapsed && r.classList.add("collapsed-view"), r.setAttribute("role", "button"), r.setAttribute(
|
|
27382
27382
|
"aria-expanded",
|
|
@@ -27476,16 +27476,16 @@ const si = class si {
|
|
|
27476
27476
|
const w = document.createElement("input");
|
|
27477
27477
|
w.type = "file", w.accept = ".xlsx,.xls", w.style.display = "none", w.addEventListener("change", async (I) => {
|
|
27478
27478
|
var P;
|
|
27479
|
-
const
|
|
27480
|
-
if (!
|
|
27481
|
-
const y =
|
|
27479
|
+
const F = (P = I.target.files) == null ? void 0 : P[0];
|
|
27480
|
+
if (!F) return;
|
|
27481
|
+
const y = Dn.validateFile(F);
|
|
27482
27482
|
if (!y.valid) {
|
|
27483
27483
|
this.showImportError(y.error || "Invalid file"), w.value = "";
|
|
27484
27484
|
return;
|
|
27485
27485
|
}
|
|
27486
27486
|
try {
|
|
27487
27487
|
g.disabled = !0, g.innerHTML = "<span>Importing...</span>";
|
|
27488
|
-
const N = await
|
|
27488
|
+
const N = await Dn.importFromExcel(F);
|
|
27489
27489
|
N.rules.length === 0 ? this.showImportError("No valid rules found in the Excel file") : this.showImportPreview(
|
|
27490
27490
|
N,
|
|
27491
27491
|
m.languages || ["en", "ka", "ru", "tr"]
|
|
@@ -27528,33 +27528,33 @@ const si = class si {
|
|
|
27528
27528
|
x.innerHTML = `${b}<span>${m.exportButtonLabel ?? "Export Excel"}</span>`, x.addEventListener("click", (I) => {
|
|
27529
27529
|
var N;
|
|
27530
27530
|
I.stopPropagation(), I.preventDefault();
|
|
27531
|
-
const
|
|
27531
|
+
const F = [], y = ((N = this.addItemCfg) == null ? void 0 : N.keyPrefix) || "rules:";
|
|
27532
27532
|
Object.entries(this.settings).forEach(([z, B]) => {
|
|
27533
27533
|
if (z.startsWith(y) && $e(B)) {
|
|
27534
27534
|
const D = B.getValues();
|
|
27535
27535
|
if (D) {
|
|
27536
|
-
const J = D.ruleTitle, le = D.ruleContent, ne = (J == null ? void 0 : J.text) || J || {}, he = (le == null ? void 0 : le.text) || le || {}, oe = {},
|
|
27536
|
+
const J = D.ruleTitle, le = D.ruleContent, ne = (J == null ? void 0 : J.text) || J || {}, he = (le == null ? void 0 : le.text) || le || {}, oe = {}, Le = {};
|
|
27537
27537
|
Object.entries(ne).forEach(([U, de]) => {
|
|
27538
27538
|
typeof de == "string" && U !== "$id" && (oe[U] = de);
|
|
27539
27539
|
}), Object.entries(he).forEach(([U, de]) => {
|
|
27540
|
-
typeof de == "string" && U !== "$id" && (
|
|
27541
|
-
}),
|
|
27540
|
+
typeof de == "string" && U !== "$id" && (Le[U] = de);
|
|
27541
|
+
}), F.push({
|
|
27542
27542
|
ruleTitle: oe,
|
|
27543
|
-
ruleContent:
|
|
27543
|
+
ruleContent: Le
|
|
27544
27544
|
});
|
|
27545
27545
|
}
|
|
27546
27546
|
}
|
|
27547
27547
|
});
|
|
27548
27548
|
const P = m.languages || ["en", "ka", "ru", "tr"];
|
|
27549
|
-
if (
|
|
27550
|
-
|
|
27549
|
+
if (F.length === 0) {
|
|
27550
|
+
Dn.downloadTemplate(
|
|
27551
27551
|
P,
|
|
27552
27552
|
"rules-template.xlsx"
|
|
27553
27553
|
);
|
|
27554
27554
|
return;
|
|
27555
27555
|
}
|
|
27556
|
-
|
|
27557
|
-
|
|
27556
|
+
Dn.exportToExcel(
|
|
27557
|
+
F,
|
|
27558
27558
|
P,
|
|
27559
27559
|
"rules-export.xlsx"
|
|
27560
27560
|
);
|
|
@@ -27789,10 +27789,10 @@ class hr extends v4 {
|
|
|
27789
27789
|
Object.entries(d).forEach(([g, v]) => {
|
|
27790
27790
|
const w = document.createElement("button");
|
|
27791
27791
|
w.className = "global-color-btn", w.title = g, w.style.width = "30px", w.style.height = "30px", w.style.borderRadius = "50%", w.style.border = "1px solid #ddd", w.style.backgroundColor = v, w.style.cursor = "pointer", this.value === `var(--${g})` && (w.style.border = "2px solid #2196f3"), w.addEventListener("click", (x) => {
|
|
27792
|
-
var I,
|
|
27792
|
+
var I, F;
|
|
27793
27793
|
x.preventDefault();
|
|
27794
27794
|
const b = `var(--${g})`;
|
|
27795
|
-
this.value = b, (I = this.onChange) == null || I.call(this, b), (
|
|
27795
|
+
this.value = b, (I = this.onChange) == null || I.call(this, b), (F = this.detectChange) == null || F.call(this, b), Array.from(o.children).forEach((y) => {
|
|
27796
27796
|
y.style.border = "1px solid #ddd";
|
|
27797
27797
|
}), w.style.border = "2px solid #2196f3", h.style.backgroundColor = v;
|
|
27798
27798
|
}), o.appendChild(w);
|
|
@@ -28453,11 +28453,11 @@ const T4 = `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewB
|
|
|
28453
28453
|
<rect width="91" height="71" rx="4" fill="#F2F4F7"/>
|
|
28454
28454
|
<path d="M37 31.5L39.5 29M39.5 29L42 31.5M39.5 29V34.625M44.5 31.9643C45.2634 31.3338 45.75 30.38 45.75 29.3125C45.75 27.414 44.211 25.875 42.3125 25.875C42.1759 25.875 42.0482 25.8037 41.9788 25.6861C41.1638 24.303 39.659 23.375 37.9375 23.375C35.3487 23.375 33.25 25.4737 33.25 28.0625C33.25 29.3538 33.7721 30.5232 34.6168 31.371" stroke="#475467" strokeLinecap="round" strokeLinejoin="round"/>
|
|
28455
28455
|
</svg>
|
|
28456
|
-
`,
|
|
28456
|
+
`, L4 = `
|
|
28457
28457
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 12 12" fill="none">
|
|
28458
28458
|
<path d="M8 3V2.6C8 2.03995 8 1.75992 7.89101 1.54601C7.79513 1.35785 7.64215 1.20487 7.45399 1.10899C7.24008 1 6.96005 1 6.4 1H5.6C5.03995 1 4.75992 1 4.54601 1.10899C4.35785 1.20487 4.20487 1.35785 4.10899 1.54601C4 1.75992 4 2.03995 4 2.6V3M5 5.75V8.25M7 5.75V8.25M1.5 3H10.5M9.5 3V8.6C9.5 9.44008 9.5 9.86012 9.33651 10.181C9.1927 10.4632 8.96323 10.6927 8.68099 10.8365C8.36012 11 7.94008 11 7.1 11H4.9C4.05992 11 3.63988 11 3.31901 10.8365C3.03677 10.6927 2.8073 10.4632 2.66349 10.181C2.5 9.86012 2.5 9.44008 2.5 8.6V3" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
28459
28459
|
</svg>
|
|
28460
|
-
`,
|
|
28460
|
+
`, F4 = `
|
|
28461
28461
|
<svg xmlns="http://www.w3.org/2000/svg" width="29" height="29" viewBox="0 0 29 29" fill="none">
|
|
28462
28462
|
<!-- Top dot -->
|
|
28463
28463
|
<circle cx="14.5" cy="3" r="1.5" fill="#02CC59" opacity="1"/>
|
|
@@ -28574,9 +28574,9 @@ class ai extends Ae {
|
|
|
28574
28574
|
const n = this.value && this.value !== "";
|
|
28575
28575
|
n || a.classList.add("no-image");
|
|
28576
28576
|
const i = document.createElement("div");
|
|
28577
|
-
if (i.className = "preview-placeholder", i.innerHTML = b4, this.previewWrapper = document.createElement("div"), this.previewWrapper.className = "preview-wrapper", this.loadingSpinner = document.createElement("div"), this.loadingSpinner.className = "loading-spinner", this.loadingSpinner.innerHTML =
|
|
28577
|
+
if (i.className = "preview-placeholder", i.innerHTML = b4, this.previewWrapper = document.createElement("div"), this.previewWrapper.className = "preview-wrapper", this.loadingSpinner = document.createElement("div"), this.loadingSpinner.className = "loading-spinner", this.loadingSpinner.innerHTML = F4, this.loadingSpinner.style.display = "none", this.previewWrapper.appendChild(this.loadingSpinner), this.previewEl = document.createElement("img"), this.previewEl.className = "upload-preview", this.props.delete) {
|
|
28578
28578
|
const o = document.createElement("button");
|
|
28579
|
-
o.className = "delete-button", o.type = "button", o.title = "Delete image", o.innerHTML =
|
|
28579
|
+
o.className = "delete-button", o.type = "button", o.title = "Delete image", o.innerHTML = L4, this.previewWrapper.appendChild(o), o.onclick = (l) => {
|
|
28580
28580
|
var c;
|
|
28581
28581
|
l.stopPropagation(), this.value = "", this.updatePreviewState(null), (c = this.onChange) == null || c.call(this, ""), this.hideError();
|
|
28582
28582
|
};
|
|
@@ -29920,7 +29920,7 @@ function Oc(t) {
|
|
|
29920
29920
|
const e = Mc[((r = t == null ? void 0 : t.toLowerCase) == null ? void 0 : r.call(t)) || ""];
|
|
29921
29921
|
return e != null && e.label ? e.label : ((a = t == null ? void 0 : t.toUpperCase) == null ? void 0 : a.call(t)) || String(t);
|
|
29922
29922
|
}
|
|
29923
|
-
function
|
|
29923
|
+
function Un(t, e = Qi) {
|
|
29924
29924
|
var n;
|
|
29925
29925
|
const r = Mc[((n = t == null ? void 0 : t.toLowerCase) == null ? void 0 : n.call(t)) || ""];
|
|
29926
29926
|
if (r != null && r.placeholder) return r.placeholder;
|
|
@@ -30039,7 +30039,7 @@ function S3(t) {
|
|
|
30039
30039
|
const s = document.createElement("div");
|
|
30040
30040
|
s.classList.add("multi-language-popup-content"), t.languages.forEach((c) => {
|
|
30041
30041
|
var d;
|
|
30042
|
-
const f = ((d = t.values) == null ? void 0 : d[c]) || "", h =
|
|
30042
|
+
const f = ((d = t.values) == null ? void 0 : d[c]) || "", h = Un(c, t.placeholder), u = t.uploadSettings.get(c), p = t.dataTestPath ? `${t.dataTestPath}_${c}` : void 0, m = Pc({
|
|
30043
30043
|
languageCode: c,
|
|
30044
30044
|
value: f,
|
|
30045
30045
|
placeholder: h,
|
|
@@ -30141,25 +30141,25 @@ class x0 {
|
|
|
30141
30141
|
}
|
|
30142
30142
|
const w = {};
|
|
30143
30143
|
r.forEach((I) => {
|
|
30144
|
-
const
|
|
30145
|
-
|
|
30144
|
+
const F = p.indexOf(I);
|
|
30145
|
+
F !== -1 && (w[I] = F);
|
|
30146
30146
|
});
|
|
30147
30147
|
const x = [];
|
|
30148
30148
|
let b = "";
|
|
30149
30149
|
for (let I = 1; I < u.length; I++) {
|
|
30150
|
-
const
|
|
30151
|
-
if (!(!
|
|
30150
|
+
const F = u[I];
|
|
30151
|
+
if (!(!F || F.length === 0 || F.every((y) => !y || String(y).trim() === "")))
|
|
30152
30152
|
if (m !== -1 && d !== -1) {
|
|
30153
|
-
const y =
|
|
30153
|
+
const y = F[m], P = typeof y == "string" ? y.trim() : y != null ? String(y).trim() : "";
|
|
30154
30154
|
P && (b = P);
|
|
30155
|
-
const N =
|
|
30155
|
+
const N = F[d], z = typeof N == "string" ? N.trim() : N != null ? String(N).trim() : "", B = g !== -1 ? F[g] : void 0, D = typeof B == "string" ? B.trim() : B != null ? String(B).trim() : "";
|
|
30156
30156
|
if (!z && !D) continue;
|
|
30157
30157
|
const J = (D || z).replace(/\./g, " > "), le = b ? `${b} > ${J}` : J, ne = {};
|
|
30158
30158
|
r.forEach((he) => {
|
|
30159
30159
|
const oe = w[he];
|
|
30160
30160
|
if (oe !== void 0) {
|
|
30161
|
-
const
|
|
30162
|
-
ne[he] =
|
|
30161
|
+
const Le = F[oe];
|
|
30162
|
+
ne[he] = Le != null ? String(Le) : "";
|
|
30163
30163
|
}
|
|
30164
30164
|
}), x.push({
|
|
30165
30165
|
id: le,
|
|
@@ -30169,13 +30169,13 @@ class x0 {
|
|
|
30169
30169
|
value: ne
|
|
30170
30170
|
});
|
|
30171
30171
|
} else {
|
|
30172
|
-
const y =
|
|
30172
|
+
const y = F[v !== -1 ? v : 0], P = typeof y == "string" ? y.trim() : "";
|
|
30173
30173
|
if (!P) continue;
|
|
30174
30174
|
const N = {};
|
|
30175
30175
|
r.forEach((z) => {
|
|
30176
30176
|
const B = w[z];
|
|
30177
30177
|
if (B !== void 0) {
|
|
30178
|
-
const D =
|
|
30178
|
+
const D = F[B];
|
|
30179
30179
|
N[z] = D != null ? String(D) : "";
|
|
30180
30180
|
}
|
|
30181
30181
|
}), x.push({
|
|
@@ -30346,7 +30346,7 @@ class x0 {
|
|
|
30346
30346
|
}
|
|
30347
30347
|
const Zt = class Zt extends Ae {
|
|
30348
30348
|
constructor(e) {
|
|
30349
|
-
super(e), this.inputType = {}, this.container = null, this.defaultLanguage = "", this.uploadSettings = /* @__PURE__ */ new Map(), this.popup = null, this.componentPath = "", this.$id = "", this.isDerty = !1, this.instanceId =
|
|
30349
|
+
super(e), this.inputType = {}, this.container = null, this.defaultLanguage = "", this.uploadSettings = /* @__PURE__ */ new Map(), this.popup = null, this.componentPath = "", this.$id = "", this.isDerty = !1, this.instanceId = en(), this.componentPath = e.title || this.instanceId, e.default ? this.value = e.default : this.value || (this.value = {}), this.value.$id = this.$id = en(), this.messageHandler = (n) => {
|
|
30350
30350
|
const { type: i, data: s } = n.data || {};
|
|
30351
30351
|
i === "TEXT_ELEMENT_CLICKED" && s.$id == this.$id && this.showPopup();
|
|
30352
30352
|
};
|
|
@@ -30357,7 +30357,7 @@ const Zt = class Zt extends Ae {
|
|
|
30357
30357
|
this.instanceId,
|
|
30358
30358
|
this.messageHandler
|
|
30359
30359
|
), window.addEventListener("message", this.messageHandler), this.defaultLanguage = this.resolveDefaultLanguage();
|
|
30360
|
-
const a = e.multiImg ? e.defaultValue || "" : e.defaultValue ||
|
|
30360
|
+
const a = e.multiImg ? e.defaultValue || "" : e.defaultValue || Un(this.defaultLanguage);
|
|
30361
30361
|
e.languages.forEach((n) => {
|
|
30362
30362
|
var i, s;
|
|
30363
30363
|
n in (this.value || {}) || (this.value || (this.value = {}), n === this.defaultLanguage && a ? this.value[n] = ((i = e.default) == null ? void 0 : i[n]) || a : this.value[n] = ((s = e.default) == null ? void 0 : s[n]) || "");
|
|
@@ -30378,7 +30378,7 @@ const Zt = class Zt extends Ae {
|
|
|
30378
30378
|
}
|
|
30379
30379
|
createTextareaRowForLanguage(e, r = !1) {
|
|
30380
30380
|
var o;
|
|
30381
|
-
const a = ((o = this.value) == null ? void 0 : o[e]) || "", n =
|
|
30381
|
+
const a = ((o = this.value) == null ? void 0 : o[e]) || "", n = Un(
|
|
30382
30382
|
e,
|
|
30383
30383
|
this.props.placeholder || Qi
|
|
30384
30384
|
), i = this.uploadSettings.get(e);
|
|
@@ -30415,7 +30415,7 @@ const Zt = class Zt extends Ae {
|
|
|
30415
30415
|
updateOtherLanguagePlaceholders(e) {
|
|
30416
30416
|
!this.container && !this.popup || this.props.languages.forEach((r) => {
|
|
30417
30417
|
if (r === this.defaultLanguage) return;
|
|
30418
|
-
const a = e ||
|
|
30418
|
+
const a = e || Un(
|
|
30419
30419
|
r,
|
|
30420
30420
|
this.props.placeholder || Qi
|
|
30421
30421
|
);
|
|
@@ -30742,7 +30742,7 @@ const b3 = `
|
|
|
30742
30742
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
30743
30743
|
<path d="M5.625 9.5H5.6325M12.375 9.5H12.3825M9 9.5H9.0075M9 12.875H9.0075M9 6.125H9.0075M2.25 6.35L2.25 12.65C2.25 13.9101 2.25 14.5402 2.49524 15.0215C2.71095 15.4448 3.05516 15.789 3.47852 16.0048C3.95982 16.25 4.58988 16.25 5.85 16.25H12.15C13.4101 16.25 14.0402 16.25 14.5215 16.0048C14.9448 15.789 15.289 15.4448 15.5048 15.0215C15.75 14.5402 15.75 13.9101 15.75 12.65V6.35C15.75 5.08988 15.75 4.45982 15.5048 3.97852C15.289 3.55516 14.9448 3.21095 14.5215 2.99524C14.0402 2.75 13.4101 2.75 12.15 2.75L5.85 2.75C4.58988 2.75 3.95982 2.75 3.47852 2.99524C3.05516 3.21095 2.71095 3.55516 2.49524 3.97852C2.25 4.45982 2.25 5.08988 2.25 6.35Z" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30744
30744
|
</svg>
|
|
30745
|
-
`,
|
|
30745
|
+
`, L3 = `
|
|
30746
30746
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 18 19" fill="none">
|
|
30747
30747
|
<path d="M6 2.75H5.85C4.58988 2.75 3.95982 2.75 3.47852 2.99524C3.05516 3.21095 2.71095 3.55516 2.49524 3.97852C2.25 4.45982 2.25 5.08988 2.25 6.35V6.5M6 16.25H5.85C4.58988 16.25 3.95982 16.25 3.47852 16.0048C3.05516 15.789 2.71095 15.4448 2.49524 15.0215C2.25 14.5402 2.25 13.9101 2.25 12.65V12.5M15.75 6.5V6.35C15.75 5.08988 15.75 4.45982 15.5048 3.97852C15.289 3.55516 14.9448 3.21095 14.5215 2.99524C14.0402 2.75 13.4101 2.75 12.15 2.75H12M15.75 12.5V12.65C15.75 13.9101 15.75 14.5402 15.5048 15.0215C15.289 15.4448 14.9448 15.789 14.5215 16.0048C14.0402 16.25 13.4101 16.25 12.15 16.25H12" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30748
30748
|
</svg>
|
|
@@ -30755,11 +30755,11 @@ class Y3 extends nr {
|
|
|
30755
30755
|
settings: {
|
|
30756
30756
|
size: new pr({
|
|
30757
30757
|
title: "Size",
|
|
30758
|
-
icon:
|
|
30758
|
+
icon: L3,
|
|
30759
30759
|
default: (e == null ? void 0 : e.size) ?? 0,
|
|
30760
30760
|
suffix: "px"
|
|
30761
30761
|
}),
|
|
30762
|
-
color: new
|
|
30762
|
+
color: new La({
|
|
30763
30763
|
title: "Border Color",
|
|
30764
30764
|
default: (e == null ? void 0 : e.color) || "#000000"
|
|
30765
30765
|
}),
|
|
@@ -30789,7 +30789,7 @@ class Y3 extends nr {
|
|
|
30789
30789
|
`;
|
|
30790
30790
|
}
|
|
30791
30791
|
}
|
|
30792
|
-
const
|
|
30792
|
+
const F3 = `
|
|
30793
30793
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="13" viewBox="0 0 14 13" fill="none">
|
|
30794
30794
|
<path d="M1 2.75C1 2.05109 1 1.70163 1.11418 1.42597C1.26642 1.05843 1.55843 0.766422 1.92597 0.614181C2.20163 0.5 2.55109 0.5 3.25 0.5H10.75C11.4489 0.5 11.7984 0.5 12.074 0.614181C12.4416 0.766422 12.7336 1.05843 12.8858 1.42597C13 1.70163 13 2.05109 13 2.75M4.75 12.5H9.25M7 0.5V12.5" stroke="#667085" strokeLinecap="round" strokeLinejoin="round"/>
|
|
30795
30795
|
</svg>
|
|
@@ -30810,19 +30810,43 @@ class J3 extends nr {
|
|
|
30810
30810
|
collapsed: a.collapsed,
|
|
30811
30811
|
settings: (() => {
|
|
30812
30812
|
const n = {
|
|
30813
|
-
color: new
|
|
30813
|
+
color: new La({
|
|
30814
30814
|
title: "Color",
|
|
30815
30815
|
default: a.colorDefault ?? "#001E1E"
|
|
30816
30816
|
}),
|
|
30817
30817
|
fontFamily: new Zi({
|
|
30818
30818
|
title: "Font",
|
|
30819
|
-
icon:
|
|
30819
|
+
icon: F3,
|
|
30820
30820
|
default: a.fontFamilyDefault ?? "Satoshi",
|
|
30821
30821
|
options: a.fontFamilyOptions ?? [
|
|
30822
30822
|
{ name: "Alt", value: "Croco Sans Black Caps Alt" },
|
|
30823
30823
|
{ name: "Regular", value: "Croco Sans Caps Regular" },
|
|
30824
30824
|
{ name: "Caps", value: "Croco Sans Black Caps" },
|
|
30825
|
-
{ name: "FiraGo", value: "'FiraGO', sans-serif" }
|
|
30825
|
+
{ name: "FiraGo", value: "'FiraGO', sans-serif" },
|
|
30826
|
+
// Sans-serif classics
|
|
30827
|
+
{ name: "Roboto", value: "'Roboto', sans-serif" },
|
|
30828
|
+
{ name: "Open Sans", value: "'Open Sans', sans-serif" },
|
|
30829
|
+
{ name: "Inter", value: "'Inter', sans-serif" },
|
|
30830
|
+
{ name: "Lato", value: "'Lato', sans-serif" },
|
|
30831
|
+
{ name: "Montserrat", value: "'Montserrat', sans-serif" },
|
|
30832
|
+
{ name: "Source Sans 3", value: "'Source Sans 3', sans-serif" },
|
|
30833
|
+
{ name: "Nunito", value: "'Nunito', sans-serif" },
|
|
30834
|
+
{ name: "Raleway", value: "'Raleway', sans-serif" },
|
|
30835
|
+
{ name: "Work Sans", value: "'Work Sans', sans-serif" },
|
|
30836
|
+
{ name: "DM Sans", value: "'DM Sans', sans-serif" },
|
|
30837
|
+
{ name: "Ubuntu", value: "'Ubuntu', sans-serif" },
|
|
30838
|
+
{ name: "Noto Sans", value: "'Noto Sans', sans-serif" },
|
|
30839
|
+
// Serif fonts
|
|
30840
|
+
{ name: "Merriweather", value: "'Merriweather', serif" },
|
|
30841
|
+
{ name: "Playfair Display", value: "'Playfair Display', serif" },
|
|
30842
|
+
{ name: "Libre Baskerville", value: "'Libre Baskerville', serif" },
|
|
30843
|
+
{ name: "Lora", value: "'Lora', serif" },
|
|
30844
|
+
// Monospace fonts
|
|
30845
|
+
{ name: "Roboto Mono", value: "'Roboto Mono', monospace" },
|
|
30846
|
+
{ name: "Source Code Pro", value: "'Source Code Pro', monospace" },
|
|
30847
|
+
{ name: "JetBrains Mono", value: "'JetBrains Mono', monospace" },
|
|
30848
|
+
// Decorative
|
|
30849
|
+
{ name: "Papyrus", value: "Papyrus, fantasy" }
|
|
30826
30850
|
],
|
|
30827
30851
|
getOptions: a.fontFamilyGetOptions,
|
|
30828
30852
|
getOptionsAsync: a.fontFamilyGetOptionsAsync
|
|
@@ -30881,7 +30905,7 @@ class J3 extends nr {
|
|
|
30881
30905
|
`;
|
|
30882
30906
|
}
|
|
30883
30907
|
}
|
|
30884
|
-
class
|
|
30908
|
+
class Rn extends Ae {
|
|
30885
30909
|
constructor(e) {
|
|
30886
30910
|
super({
|
|
30887
30911
|
...e,
|
|
@@ -30933,25 +30957,25 @@ class q3 extends nr {
|
|
|
30933
30957
|
title: "Margins",
|
|
30934
30958
|
collapsed: e == null ? void 0 : e.collapsed,
|
|
30935
30959
|
settings: {
|
|
30936
|
-
marginTop: new
|
|
30960
|
+
marginTop: new Rn({
|
|
30937
30961
|
title: "Top",
|
|
30938
30962
|
icon: N3,
|
|
30939
30963
|
suffix: "px",
|
|
30940
30964
|
default: (e == null ? void 0 : e.marginTop) ?? "auto"
|
|
30941
30965
|
}),
|
|
30942
|
-
marginRight: new
|
|
30966
|
+
marginRight: new Rn({
|
|
30943
30967
|
title: "Right",
|
|
30944
30968
|
icon: M3,
|
|
30945
30969
|
suffix: "px",
|
|
30946
30970
|
default: (e == null ? void 0 : e.marginRight) ?? 0
|
|
30947
30971
|
}),
|
|
30948
|
-
marginBottom: new
|
|
30972
|
+
marginBottom: new Rn({
|
|
30949
30973
|
title: "Bottom",
|
|
30950
30974
|
icon: O3,
|
|
30951
30975
|
suffix: "px",
|
|
30952
30976
|
default: (e == null ? void 0 : e.marginBottom) ?? 0
|
|
30953
30977
|
}),
|
|
30954
|
-
marginLeft: new
|
|
30978
|
+
marginLeft: new Rn({
|
|
30955
30979
|
title: "Left",
|
|
30956
30980
|
icon: P3,
|
|
30957
30981
|
suffix: "px",
|
|
@@ -31049,10 +31073,10 @@ export {
|
|
|
31049
31073
|
hr as ColorSetting,
|
|
31050
31074
|
wa as ColorWithOpacitySetting,
|
|
31051
31075
|
U3 as DimensionSetting,
|
|
31052
|
-
|
|
31076
|
+
Dn as ExcelRulesService,
|
|
31053
31077
|
x0 as ExcelTranslationService,
|
|
31054
31078
|
G3 as GapSetting,
|
|
31055
|
-
|
|
31079
|
+
La as GradientSetting,
|
|
31056
31080
|
J3 as HeaderTypographySettingSet,
|
|
31057
31081
|
u3 as HeightSetting,
|
|
31058
31082
|
V3 as HtmlSetting,
|