@sheetxl/formulas 0.7.28-beta.4 → 0.8.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/cjs/index.cjs +1 -1
- package/browser/esm/{BIxWkCV-r5U5zPnQ.mjs → -f-RKKojiLg94hp9.mjs} +1 -1
- package/browser/esm/{DIUPlZfIoj507k-C.mjs → 0amsHACCOHE_JjXI.mjs} +1 -1
- package/browser/esm/{AuzqFslmIMxseCn8.mjs → B3pEie3jQN0SvV5B.mjs} +1 -1
- package/browser/esm/{K0CU2XaCnJJwh9a5.mjs → B7750ljsJF3qA9kU.mjs} +1 -1
- package/browser/esm/{jFM2MqBdxFWP6QmN.mjs → BM1YhvA2ppUZ3QLB.mjs} +1 -1
- package/browser/esm/{CB4iUafw8x-4z_ff.mjs → BR2ai1V5dGPphpRf.mjs} +1 -1
- package/browser/esm/{ec8i9mVgadWEbuYy.mjs → BYRjnggsufwbb27W.mjs} +1 -1
- package/browser/esm/{DNz39xRoqy8IPYb3.mjs → Bsb5i9Jq-Q8RTmvi.mjs} +1 -1
- package/{node/esm/DQXZXiayIDbfnOUM.mjs → browser/esm/BzNFsi4RXuJrn_1n.mjs} +1 -1
- package/browser/esm/{DiV1y5wtlmlsRDfm.mjs → C7mAHEhFYDwSEU6O.mjs} +1 -1
- package/browser/esm/{BebVPCumXxQqABDP.mjs → C9jpXFBeugwmOTbx.mjs} +1 -1
- package/browser/esm/{CWI62PClHru85-mL.mjs → CCGjvL3YYwY09qF-.mjs} +1 -1
- package/{node/esm/B2zbBC2YuaYszbHd.mjs → browser/esm/CG1Fn8D-2DrQZoD5.mjs} +1 -1
- package/browser/esm/{BM0KaGfI1Lqav17f.mjs → CVv3DuciDQrnFFeu.mjs} +1 -1
- package/browser/esm/{Co7O0P5yM1i0exNK.mjs → CWAtVXxcIz86XLzE.mjs} +1 -1
- package/browser/esm/{VRXC1SwOYSkv1Vs4.mjs → Cdl7ZalV6WPZHHRE.mjs} +1 -1
- package/{node/esm/Ctxig2_c-GErg911.mjs → browser/esm/CkG4LZN-kb7plKXG.mjs} +1 -1
- package/{node/esm/BXyQ76W9hObzOdf2.mjs → browser/esm/CltdofO5ik8g_wQ8.mjs} +1 -1
- package/browser/esm/{74anAHR6YDREjbgI.mjs → Crb70T1Sp1S4uzq4.mjs} +1 -1
- package/{node/esm/wDeMNrClyQscDTwZ.mjs → browser/esm/Ct1gudv1TKk-5FMO.mjs} +1 -1
- package/{node/esm/DjFalvyAcEOwNagC.mjs → browser/esm/Cyvobf2wi0quDD3U.mjs} +1 -1
- package/{node/esm/B2b-ZmAhe94pNDT0.mjs → browser/esm/D2miaIrotHbpdWei.mjs} +1 -1
- package/browser/esm/{BHG0YIMg5kOV3mNl.mjs → DKFABgVKeBMflym9.mjs} +1 -1
- package/{node/esm/ymPI-MJUjuYe2n5v.mjs → browser/esm/DtqLXxtPFISlNoUd.mjs} +1 -1
- package/{node/esm/CmxGNGhfoNTz4Ku7.mjs → browser/esm/HgVmqQQhKQ_2v0HD.mjs} +1 -1
- package/browser/esm/index.mjs +1023 -1020
- package/node/esm/{BIxWkCV-r5U5zPnQ.mjs → -f-RKKojiLg94hp9.mjs} +1 -1
- package/node/esm/{DcSbVdpEmRbpaZf0.mjs → 2TCIoMd-SYs6i4-N.mjs} +1 -1
- package/node/esm/{K0CU2XaCnJJwh9a5.mjs → B7750ljsJF3qA9kU.mjs} +1 -1
- package/node/esm/{8_dh9QnzvNBCvWpp.mjs → B8rSUcOwH6g4MUgm.mjs} +1 -1
- package/node/esm/{CB4iUafw8x-4z_ff.mjs → BR2ai1V5dGPphpRf.mjs} +1 -1
- package/{browser/esm/DQXZXiayIDbfnOUM.mjs → node/esm/BzNFsi4RXuJrn_1n.mjs} +1 -1
- package/node/esm/{DiV1y5wtlmlsRDfm.mjs → C7mAHEhFYDwSEU6O.mjs} +1 -1
- package/node/esm/{BebVPCumXxQqABDP.mjs → C9jpXFBeugwmOTbx.mjs} +1 -1
- package/node/esm/{CWI62PClHru85-mL.mjs → CCGjvL3YYwY09qF-.mjs} +1 -1
- package/{browser/esm/B2zbBC2YuaYszbHd.mjs → node/esm/CG1Fn8D-2DrQZoD5.mjs} +1 -1
- package/node/esm/{BM0KaGfI1Lqav17f.mjs → CVv3DuciDQrnFFeu.mjs} +1 -1
- package/node/esm/{Co7O0P5yM1i0exNK.mjs → CWAtVXxcIz86XLzE.mjs} +1 -1
- package/node/esm/{VRXC1SwOYSkv1Vs4.mjs → Cdl7ZalV6WPZHHRE.mjs} +1 -1
- package/{browser/esm/Ctxig2_c-GErg911.mjs → node/esm/CkG4LZN-kb7plKXG.mjs} +1 -1
- package/{browser/esm/BXyQ76W9hObzOdf2.mjs → node/esm/CltdofO5ik8g_wQ8.mjs} +1 -1
- package/node/esm/{74anAHR6YDREjbgI.mjs → Crb70T1Sp1S4uzq4.mjs} +1 -1
- package/{browser/esm/wDeMNrClyQscDTwZ.mjs → node/esm/Ct1gudv1TKk-5FMO.mjs} +1 -1
- package/{browser/esm/DjFalvyAcEOwNagC.mjs → node/esm/Cyvobf2wi0quDD3U.mjs} +1 -1
- package/{browser/esm/B2b-ZmAhe94pNDT0.mjs → node/esm/D2miaIrotHbpdWei.mjs} +1 -1
- package/node/esm/{D1iK18Nn8mRQo6Fk.mjs → DDajoVNkJB39_Fkx.mjs} +1 -1
- package/node/esm/{BHG0YIMg5kOV3mNl.mjs → DKFABgVKeBMflym9.mjs} +1 -1
- package/{browser/esm/ymPI-MJUjuYe2n5v.mjs → node/esm/DtqLXxtPFISlNoUd.mjs} +1 -1
- package/node/esm/{Dnrd8jP_j1AWCUX6.mjs → DxRD19RVMzj2YvKF.mjs} +1 -1
- package/{browser/esm/CmxGNGhfoNTz4Ku7.mjs → node/esm/HgVmqQQhKQ_2v0HD.mjs} +1 -1
- package/node/esm/{BsBiI5HHw7jjXgp5.mjs → ZUay0bTGgyrF8e04.mjs} +1 -1
- package/node/esm/index.mjs +1066 -1065
- package/package.json +3 -3
- package/types/src/_utils/AggregateIFS.d.ts +2 -2
- package/types/src/_utils/Errors.d.ts +1 -1
- package/types/src/information/Information.d.ts +6 -6
- package/types/src/lookupReference/Reference.d.ts +4 -4
- package/types/src/mathTrig/Math.d.ts +6 -3
package/browser/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.8.0-beta.1
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -4788,15 +4788,7 @@ function Xn() {
|
|
|
4788
4788
|
return !1;
|
|
4789
4789
|
}
|
|
4790
4790
|
function Zn(e) {
|
|
4791
|
-
|
|
4792
|
-
for (let i of e) {
|
|
4793
|
-
let e = i.entries({
|
|
4794
|
-
axis: n.Axis.Row,
|
|
4795
|
-
includeEmpty: !0
|
|
4796
|
-
}), a = e.next();
|
|
4797
|
-
for (; !a.done;) t.pushAt(r++, 0, a.value.value), a = e.next();
|
|
4798
|
-
}
|
|
4799
|
-
return t.build();
|
|
4791
|
+
return e.map((e) => e.flatten()).reduce((e, t) => e.concat(t));
|
|
4800
4792
|
}
|
|
4801
4793
|
function Qn(e, t, n = !1) {
|
|
4802
4794
|
return e ? t : n;
|
|
@@ -4911,53 +4903,53 @@ var gr = p({ PIVOTBY: () => _r });
|
|
|
4911
4903
|
function _r(e, n, r, i, a, o = 2, s, c = 2, l, u, d = 0) {
|
|
4912
4904
|
throw t.BuiltIn.NA;
|
|
4913
4905
|
}
|
|
4914
|
-
var
|
|
4906
|
+
var vr = Object.freeze({ includeEmpty: !0 }), L = Object.freeze({ axis: n.Axis.Column }), R = Object.freeze({ axis: n.Axis.Row }), yr = (Object.freeze({
|
|
4915
4907
|
type: i.Number,
|
|
4916
4908
|
axis: n.Axis.Column
|
|
4917
4909
|
}), p({
|
|
4918
|
-
ADDRESS: () =>
|
|
4919
|
-
AREAS: () =>
|
|
4920
|
-
ARRAYFORMULA: () =>
|
|
4921
|
-
ARRAY_CONSTRAIN: () =>
|
|
4922
|
-
CHOOSE: () =>
|
|
4923
|
-
CHOOSECOLS: () =>
|
|
4924
|
-
CHOOSEROWS: () =>
|
|
4925
|
-
COLUMN: () =>
|
|
4926
|
-
COLUMNS: () =>
|
|
4927
|
-
DROP: () =>
|
|
4928
|
-
EXPAND: () =>
|
|
4929
|
-
FIELDVALUE: () =>
|
|
4930
|
-
FILTER: () =>
|
|
4931
|
-
FORMULATEXT: () =>
|
|
4932
|
-
GETPIVOTDATA: () =>
|
|
4933
|
-
HLOOKUP: () =>
|
|
4934
|
-
HSTACK: () =>
|
|
4935
|
-
HYPERLINK: () =>
|
|
4936
|
-
IMAGE: () =>
|
|
4937
|
-
INDEX: () =>
|
|
4938
|
-
INDIRECT: () =>
|
|
4939
|
-
LOOKUP: () =>
|
|
4940
|
-
MATCH: () =>
|
|
4941
|
-
OFFSET: () =>
|
|
4942
|
-
ROW: () =>
|
|
4943
|
-
ROWS: () =>
|
|
4944
|
-
RTD: () =>
|
|
4945
|
-
SORT: () =>
|
|
4946
|
-
SORTBY: () =>
|
|
4947
|
-
TAKE: () =>
|
|
4948
|
-
TOCOL: () =>
|
|
4949
|
-
TOROW: () =>
|
|
4950
|
-
TRANSPOSE: () =>
|
|
4951
|
-
TRIMRANGE: () =>
|
|
4952
|
-
UNIQUE: () =>
|
|
4953
|
-
VLOOKUP: () =>
|
|
4954
|
-
VSTACK: () =>
|
|
4955
|
-
WRAPCOLS: () =>
|
|
4956
|
-
WRAPROWS: () =>
|
|
4957
|
-
XLOOKUP: () =>
|
|
4958
|
-
XMATCH: () =>
|
|
4910
|
+
ADDRESS: () => br,
|
|
4911
|
+
AREAS: () => xr,
|
|
4912
|
+
ARRAYFORMULA: () => Cr,
|
|
4913
|
+
ARRAY_CONSTRAIN: () => Sr,
|
|
4914
|
+
CHOOSE: () => wr,
|
|
4915
|
+
CHOOSECOLS: () => Tr,
|
|
4916
|
+
CHOOSEROWS: () => Er,
|
|
4917
|
+
COLUMN: () => Dr,
|
|
4918
|
+
COLUMNS: () => Or,
|
|
4919
|
+
DROP: () => kr,
|
|
4920
|
+
EXPAND: () => Ar,
|
|
4921
|
+
FIELDVALUE: () => jr,
|
|
4922
|
+
FILTER: () => Nr,
|
|
4923
|
+
FORMULATEXT: () => Pr,
|
|
4924
|
+
GETPIVOTDATA: () => Fr,
|
|
4925
|
+
HLOOKUP: () => Ir,
|
|
4926
|
+
HSTACK: () => Lr,
|
|
4927
|
+
HYPERLINK: () => Rr,
|
|
4928
|
+
IMAGE: () => zr,
|
|
4929
|
+
INDEX: () => Br,
|
|
4930
|
+
INDIRECT: () => Vr,
|
|
4931
|
+
LOOKUP: () => Hr,
|
|
4932
|
+
MATCH: () => Ur,
|
|
4933
|
+
OFFSET: () => Wr,
|
|
4934
|
+
ROW: () => Gr,
|
|
4935
|
+
ROWS: () => Kr,
|
|
4936
|
+
RTD: () => qr,
|
|
4937
|
+
SORT: () => Jr,
|
|
4938
|
+
SORTBY: () => Qr,
|
|
4939
|
+
TAKE: () => $r,
|
|
4940
|
+
TOCOL: () => ei,
|
|
4941
|
+
TOROW: () => ti,
|
|
4942
|
+
TRANSPOSE: () => ni,
|
|
4943
|
+
TRIMRANGE: () => ri,
|
|
4944
|
+
UNIQUE: () => ii,
|
|
4945
|
+
VLOOKUP: () => ai,
|
|
4946
|
+
VSTACK: () => oi,
|
|
4947
|
+
WRAPCOLS: () => si,
|
|
4948
|
+
WRAPROWS: () => ci,
|
|
4949
|
+
XLOOKUP: () => li,
|
|
4950
|
+
XMATCH: () => ui
|
|
4959
4951
|
}));
|
|
4960
|
-
function
|
|
4952
|
+
function br(n, r, i = 1, a = !0, o) {
|
|
4961
4953
|
if (n < 1 || r < 1 || i < 1 || i > 4) throw t.BuiltIn.Value;
|
|
4962
4954
|
let s = {
|
|
4963
4955
|
$colIndex: i === 1 || i === 3,
|
|
@@ -4968,10 +4960,10 @@ function xr(n, r, i = 1, a = !0, o) {
|
|
|
4968
4960
|
}, c = e.getAddress(s, !a);
|
|
4969
4961
|
return o === "" ? "!" + c : c;
|
|
4970
4962
|
}
|
|
4971
|
-
function
|
|
4963
|
+
function xr(e) {
|
|
4972
4964
|
return e.length;
|
|
4973
4965
|
}
|
|
4974
|
-
function
|
|
4966
|
+
function Sr(e, n, r) {
|
|
4975
4967
|
return n < 0 || r < 0 ? t.BuiltIn.Num : (n = Math.trunc(n), r = Math.trunc(r), n < 1 || r < 1 ? t.BuiltIn.Ref : e.slice({
|
|
4976
4968
|
rowStart: 0,
|
|
4977
4969
|
colStart: 0,
|
|
@@ -4979,17 +4971,17 @@ function Cr(e, n, r) {
|
|
|
4979
4971
|
colEnd: Math.min(r, e.getColumnCount()) - 1
|
|
4980
4972
|
}));
|
|
4981
4973
|
}
|
|
4982
|
-
function
|
|
4974
|
+
function Cr(e) {
|
|
4983
4975
|
return e;
|
|
4984
4976
|
}
|
|
4985
|
-
function
|
|
4977
|
+
function wr(e, n) {
|
|
4986
4978
|
let r = n.length;
|
|
4987
4979
|
if (r < 1 || r > 254) throw t.BuiltIn.Value;
|
|
4988
4980
|
let i = Math.trunc(e);
|
|
4989
4981
|
if (i < 1 || i > r) throw t.BuiltIn.Value;
|
|
4990
4982
|
return n[i - 1];
|
|
4991
4983
|
}
|
|
4992
|
-
function
|
|
4984
|
+
function Tr(e, r) {
|
|
4993
4985
|
let i = e.getColumnCount(), a = r.map((e) => {
|
|
4994
4986
|
if (e === 0) throw t.BuiltIn.Value;
|
|
4995
4987
|
let n = Math.trunc(e > 0 ? e - 1 : i + e);
|
|
@@ -4998,7 +4990,7 @@ function Er(e, r) {
|
|
|
4998
4990
|
});
|
|
4999
4991
|
return e.take(a, n.Axis.Column);
|
|
5000
4992
|
}
|
|
5001
|
-
function
|
|
4993
|
+
function Er(e, r) {
|
|
5002
4994
|
let i = e.getRowCount(), a = r.map((e) => {
|
|
5003
4995
|
if (e === 0) throw t.BuiltIn.Value;
|
|
5004
4996
|
let n = Math.trunc(e > 0 ? e - 1 : i + e);
|
|
@@ -5007,16 +4999,16 @@ function Dr(e, r) {
|
|
|
5007
4999
|
});
|
|
5008
5000
|
return e.take(a, n.Axis.Row);
|
|
5009
5001
|
}
|
|
5010
|
-
function
|
|
5002
|
+
function Dr(t) {
|
|
5011
5003
|
if (!t) return [e.getColumn() + 1];
|
|
5012
5004
|
let n = [], r = t.getCoords(), i = r.colStart, a = r.colEnd;
|
|
5013
5005
|
for (let e = i; e <= a; e++) n.push(e + 1);
|
|
5014
5006
|
return n;
|
|
5015
5007
|
}
|
|
5016
|
-
function
|
|
5008
|
+
function Or(e) {
|
|
5017
5009
|
return e.getColumnCount();
|
|
5018
5010
|
}
|
|
5019
|
-
function
|
|
5011
|
+
function kr(e, t, n) {
|
|
5020
5012
|
let r = e.getRowCount(), i = e.getColumnCount();
|
|
5021
5013
|
n = Math.trunc(n ?? 0);
|
|
5022
5014
|
let a = (t = Math.trunc(t)) >= 0 ? t : 0, o = t >= 0 ? r - 1 : r + t - 1, s = n >= 0 ? n : 0, c = n >= 0 ? i - 1 : i + n - 1;
|
|
@@ -5027,21 +5019,21 @@ function Ar(e, t, n) {
|
|
|
5027
5019
|
colEnd: c
|
|
5028
5020
|
});
|
|
5029
5021
|
}
|
|
5030
|
-
function
|
|
5022
|
+
function Ar(e, n, r, i = t.BuiltIn.NA) {
|
|
5031
5023
|
return r = Math.trunc(r ?? e.getColumnCount()), n < e.getRowCount() || r < e.getColumnCount() ? t.BuiltIn.Value : e.resize(n, r, i);
|
|
5032
5024
|
}
|
|
5033
|
-
function
|
|
5025
|
+
function jr(e, n) {
|
|
5034
5026
|
throw t.BuiltIn.Field;
|
|
5035
5027
|
}
|
|
5036
|
-
var
|
|
5037
|
-
function
|
|
5028
|
+
var Mr = Object.freeze({ type: null });
|
|
5029
|
+
function Nr(e, r, i) {
|
|
5038
5030
|
let a = e.getRowCount(), o = e.getColumnCount(), s = r.getRowCount(), c = r.getColumnCount(), l = c === 1, u = s === 1;
|
|
5039
5031
|
if (l && s !== a || u && c !== o || !l && !u) throw t.BuiltIn.Value;
|
|
5040
5032
|
let d = -1, f = null, p = e.filter((e, n) => {
|
|
5041
5033
|
if (t.isError(e)) return e;
|
|
5042
5034
|
let i = l ? n.rowIndex : n.colIndex;
|
|
5043
5035
|
if (i === d) return f;
|
|
5044
|
-
let a = l ? r.getValueAt(i, 0,
|
|
5036
|
+
let a = l ? r.getValueAt(i, 0, Mr) : r.getValueAt(0, i, Mr);
|
|
5045
5037
|
if (t.isError(a)) throw a;
|
|
5046
5038
|
if (typeof a == "string") throw t.BuiltIn.Value;
|
|
5047
5039
|
return d = i, f = !!a, f;
|
|
@@ -5055,22 +5047,22 @@ function Pr(e, r, i) {
|
|
|
5055
5047
|
}
|
|
5056
5048
|
return p;
|
|
5057
5049
|
}
|
|
5058
|
-
function
|
|
5050
|
+
function Pr(n) {
|
|
5059
5051
|
let r = n.getCoords(), i = r.scope ?? void 0;
|
|
5060
5052
|
return e.createRange(n.getRowCount(), n.getColumnCount(), (n, a) => {
|
|
5061
5053
|
let o = e.getFormulaAt(r.rowStart + a.rowIndex, r.colStart + a.colIndex, i);
|
|
5062
5054
|
return o === null ? t.BuiltIn.NA : "=" + o;
|
|
5063
5055
|
});
|
|
5064
5056
|
}
|
|
5065
|
-
function
|
|
5057
|
+
function Fr(e, n, r) {
|
|
5066
5058
|
throw t.BuiltIn.Ref;
|
|
5067
5059
|
}
|
|
5068
|
-
function
|
|
5060
|
+
function Ir(e, r, i, a = !0) {
|
|
5069
5061
|
if (t.isError(e)) return e;
|
|
5070
5062
|
if (i < 1) return t.BuiltIn.Value;
|
|
5071
5063
|
if (i > r.getRowCount()) return t.BuiltIn.Ref;
|
|
5072
5064
|
if (r.size === 1) return t.BuiltIn.NA;
|
|
5073
|
-
let o = typeof e, s =
|
|
5065
|
+
let o = typeof e, s = fi(e);
|
|
5074
5066
|
if (a) {
|
|
5075
5067
|
let a = null, s = -1, c = !0, l = !1, u = r.entries({
|
|
5076
5068
|
axis: n.Axis.Row,
|
|
@@ -5084,12 +5076,12 @@ function Lr(e, r, i, a = !0) {
|
|
|
5084
5076
|
d = u.next();
|
|
5085
5077
|
continue;
|
|
5086
5078
|
}
|
|
5087
|
-
let m =
|
|
5079
|
+
let m = z(n, e);
|
|
5088
5080
|
if (c) {
|
|
5089
5081
|
a = n, s = p, c = !1, m > 0 && (l = !0), d = u.next();
|
|
5090
5082
|
continue;
|
|
5091
5083
|
}
|
|
5092
|
-
let h =
|
|
5084
|
+
let h = z(a, e);
|
|
5093
5085
|
if (m > 0 && (l = !0), h > 0 && m > 0) return t.BuiltIn.NA;
|
|
5094
5086
|
if (l && h === 0 && m < 0 || a != null && m > 0 && h <= 0) return r.getValueAt(i - 1, s) ?? t.BuiltIn.NA;
|
|
5095
5087
|
a = n, s = p, d = u.next();
|
|
@@ -5103,17 +5095,17 @@ function Lr(e, r, i, a = !0) {
|
|
|
5103
5095
|
for (; !l.done;) {
|
|
5104
5096
|
let { value: n, coords: a } = l.value;
|
|
5105
5097
|
if (a.rowIndex !== 0) break;
|
|
5106
|
-
if (s ? s.test(typeof n == "string" ? n : String(n)) :
|
|
5098
|
+
if (s ? s.test(typeof n == "string" ? n : String(n)) : z(n, e) === 0) return r.getValueAt(i - 1, a.colIndex) ?? t.BuiltIn.NA;
|
|
5107
5099
|
l = c.next();
|
|
5108
5100
|
}
|
|
5109
5101
|
return t.BuiltIn.NA;
|
|
5110
5102
|
}
|
|
5111
|
-
function
|
|
5103
|
+
function Lr(e) {
|
|
5112
5104
|
return e.reduce((e, t) => e.concat(t, n.Axis.Column));
|
|
5113
5105
|
}
|
|
5114
|
-
function
|
|
5115
|
-
function
|
|
5116
|
-
function
|
|
5106
|
+
function Rr(e, t) {}
|
|
5107
|
+
function zr(e, t, n, r, i) {}
|
|
5108
|
+
function Br(n, r, i = 0, a = 1) {
|
|
5117
5109
|
if (r ??= 0, r < 0 || i < 0 || a < 1) return t.BuiltIn.Value;
|
|
5118
5110
|
if (a > n.length) return t.BuiltIn.Ref;
|
|
5119
5111
|
let o = n[a - 1], s = o.getRowCount(), c = o.getColumnCount();
|
|
@@ -5136,24 +5128,24 @@ function Vr(n, r, i = 0, a = 1) {
|
|
|
5136
5128
|
colEnd: f
|
|
5137
5129
|
});
|
|
5138
5130
|
}
|
|
5139
|
-
function
|
|
5131
|
+
function Vr(t, n = !0) {
|
|
5140
5132
|
return e.getReference(t, !n);
|
|
5141
5133
|
}
|
|
5142
|
-
function
|
|
5134
|
+
function Hr(n, r, i) {
|
|
5143
5135
|
if (t.isError(n)) return n;
|
|
5144
5136
|
if (i === null) return t.BuiltIn.Value;
|
|
5145
5137
|
let a = r.getRowCount(), o = r.getColumnCount(), s = a > 1 && o > 1;
|
|
5146
5138
|
if (s && !i) {
|
|
5147
5139
|
if (o > a) {
|
|
5148
|
-
let e =
|
|
5140
|
+
let e = hi(n, r, !0);
|
|
5149
5141
|
return e === -1 ? t.BuiltIn.NA : r.getValueAt(a - 1, e) ?? t.BuiltIn.NA;
|
|
5150
5142
|
}
|
|
5151
5143
|
{
|
|
5152
|
-
let e =
|
|
5144
|
+
let e = hi(n, r, !1);
|
|
5153
5145
|
return e === -1 ? t.BuiltIn.NA : r.getValueAt(e, o - 1) ?? t.BuiltIn.NA;
|
|
5154
5146
|
}
|
|
5155
5147
|
}
|
|
5156
|
-
let c = s ? o > a : a === 1, l =
|
|
5148
|
+
let c = s ? o > a : a === 1, l = hi(n, r, c);
|
|
5157
5149
|
return l === -1 ? t.BuiltIn.NA : i ? function(n, r, i) {
|
|
5158
5150
|
let a = n.getRowCount(), o = n.getColumnCount();
|
|
5159
5151
|
if (a > 1 && o > 1) return t.BuiltIn.NA;
|
|
@@ -5165,12 +5157,12 @@ function Ur(n, r, i) {
|
|
|
5165
5157
|
return r >= (s ? a : o) ? t.BuiltIn.NA : (s ? n.getValueAt(r, 0) : n.getValueAt(0, r)) ?? 0;
|
|
5166
5158
|
}(i, l, c ? o : a) : (c ? r.getValueAt(0, l) : r.getValueAt(l, 0)) ?? 0;
|
|
5167
5159
|
}
|
|
5168
|
-
function
|
|
5169
|
-
return
|
|
5160
|
+
function Ur(e, t, n = 1) {
|
|
5161
|
+
return di(e, t, n === 0 ? 0 : n > 0 ? -1 : 1, n === 0 ? 1 : n > 0 ? 2 : -2, n === 0);
|
|
5170
5162
|
}
|
|
5171
|
-
function
|
|
5163
|
+
function Wr(t, n, r, i, a) {
|
|
5172
5164
|
n = Math.trunc(n), r = Math.trunc(r);
|
|
5173
|
-
let o = t.getCoords(), [s, c] =
|
|
5165
|
+
let o = t.getCoords(), [s, c] = gi(o.rowStart + n, i ?? t.getRowCount()), [l, u] = gi(o.colStart + r, a ?? t.getColumnCount());
|
|
5174
5166
|
return e.getReference({
|
|
5175
5167
|
rowStart: s,
|
|
5176
5168
|
colStart: l,
|
|
@@ -5179,43 +5171,65 @@ function Gr(t, n, r, i, a) {
|
|
|
5179
5171
|
scope: o.scope
|
|
5180
5172
|
});
|
|
5181
5173
|
}
|
|
5182
|
-
function
|
|
5174
|
+
function Gr(t) {
|
|
5183
5175
|
if (!t) return [e.getRow() + 1];
|
|
5184
5176
|
let n = [], r = t.getCoords(), i = r.rowStart, a = r.rowEnd;
|
|
5185
5177
|
for (let e = i; e <= a; e++) n.push([e + 1]);
|
|
5186
5178
|
return n;
|
|
5187
5179
|
}
|
|
5188
|
-
function
|
|
5180
|
+
function Kr(e) {
|
|
5189
5181
|
return e.getRowCount();
|
|
5190
5182
|
}
|
|
5191
|
-
function
|
|
5183
|
+
function qr(e, n, r) {
|
|
5192
5184
|
return t.BuiltIn.NA;
|
|
5193
5185
|
}
|
|
5194
|
-
function
|
|
5195
|
-
let o = e.getRowCount(), s = e.getColumnCount(), c = a ? n.Axis.Column : n.Axis.Row, l = function(e, n) {
|
|
5186
|
+
function Jr(e, r, i, a = !1) {
|
|
5187
|
+
let o = e.getRowCount(), s = e.getColumnCount(), c = a ? n.Axis.Column : n.Axis.Row, l = a ? o : s, u = function(e, n) {
|
|
5188
|
+
if (e.length > n) throw t.BuiltIn.Value;
|
|
5196
5189
|
return e.map((e) => {
|
|
5197
5190
|
let r = Math.trunc(e);
|
|
5198
5191
|
if (!(r >= 1 && r <= n)) throw t.BuiltIn.Value;
|
|
5199
5192
|
return r - 1;
|
|
5200
5193
|
});
|
|
5201
|
-
}(r
|
|
5194
|
+
}(Xr(r), l), d = Zr(Xr(i), u.length), f = u.map((t) => a ? e.slice({
|
|
5202
5195
|
rowStart: t,
|
|
5203
5196
|
rowEnd: t
|
|
5204
5197
|
}) : e.slice({
|
|
5205
5198
|
colStart: t,
|
|
5206
5199
|
colEnd: t
|
|
5207
|
-
})),
|
|
5208
|
-
return e.take(
|
|
5200
|
+
})), p = e.argsort(f, d, c);
|
|
5201
|
+
return e.take(p, c).resize(o, s);
|
|
5209
5202
|
}
|
|
5210
|
-
|
|
5211
|
-
|
|
5203
|
+
var Yr = Object.freeze({
|
|
5204
|
+
includeEmpty: !0,
|
|
5205
|
+
onError: "value"
|
|
5206
|
+
});
|
|
5207
|
+
function Xr(n) {
|
|
5208
|
+
if (!n) return [1];
|
|
5209
|
+
if (n.getRowCount() > 1 && n.getColumnCount() > 1) throw t.BuiltIn.Value;
|
|
5210
|
+
if (n.isIReferenceRange && n.getRowCount() === 1 && n.getColumnCount() === 1) {
|
|
5211
|
+
let e = n.getValueAt(0, 0);
|
|
5212
|
+
if (t.isError(e)) throw e;
|
|
5213
|
+
}
|
|
5214
|
+
return n.getValuesFlat(Yr).map((n) => {
|
|
5215
|
+
if (typeof n == "number") return n;
|
|
5216
|
+
if (n === null) return 0;
|
|
5217
|
+
if (typeof n == "boolean") return +!!n;
|
|
5218
|
+
if (typeof n == "string") return e.parseAsNumber(n);
|
|
5219
|
+
throw t.BuiltIn.Value;
|
|
5220
|
+
});
|
|
5221
|
+
}
|
|
5222
|
+
function Zr(e, n) {
|
|
5223
|
+
if (e.length !== 1 && e.length !== n) throw t.BuiltIn.Value;
|
|
5224
|
+
let r = e.map((e) => {
|
|
5212
5225
|
let n = Math.trunc(e);
|
|
5213
5226
|
if (n !== 1 && n !== -1) throw t.BuiltIn.Value;
|
|
5214
5227
|
return n;
|
|
5215
5228
|
});
|
|
5229
|
+
return r.length === n ? r : Array(n).fill(r[0]);
|
|
5216
5230
|
}
|
|
5217
|
-
function
|
|
5218
|
-
let i = r.map(([e]) => e), a =
|
|
5231
|
+
function Qr(e, r) {
|
|
5232
|
+
let i = r.map(([e]) => e), a = Zr(r.map(([, e]) => e ?? 1), i.length), o = e.getRowCount(), s = e.getColumnCount();
|
|
5219
5233
|
for (let e = 0; e < i.length; e++) {
|
|
5220
5234
|
let n = i[e];
|
|
5221
5235
|
if (n.getColumnCount() !== 1 || n.getRowCount() !== o) return t.BuiltIn.Value;
|
|
@@ -5223,7 +5237,7 @@ function Zr(e, r) {
|
|
|
5223
5237
|
let c = e.argsort(i, a, n.Axis.Row);
|
|
5224
5238
|
return e.take(c, n.Axis.Row).resize(o, s);
|
|
5225
5239
|
}
|
|
5226
|
-
function
|
|
5240
|
+
function $r(e, n, r) {
|
|
5227
5241
|
if (n === 0 || r === 0) return t.BuiltIn.Calc;
|
|
5228
5242
|
let i = e.getRowCount(), a = e.getColumnCount(), o = n >= 0 ? 0 : Math.max(0, i + n), s = n >= 0 ? Math.min(n, i) : i, c = r === void 0 || r >= 0 ? 0 : Math.max(0, a + r), l = r === void 0 ? a : r >= 0 ? Math.min(r, a) : a;
|
|
5229
5243
|
return e.slice({
|
|
@@ -5233,11 +5247,12 @@ function Qr(e, n, r) {
|
|
|
5233
5247
|
colEnd: l - 1
|
|
5234
5248
|
});
|
|
5235
5249
|
}
|
|
5236
|
-
function
|
|
5237
|
-
|
|
5250
|
+
function ei(e, t = 0, r = !1) {
|
|
5251
|
+
if (t === 0) return e.flatten(r ? L : R);
|
|
5252
|
+
let i = e.getColumnCount(), a = e.getRowCount(), o = e.empty().sparseBuilder(n.Axis.Column), s = e.entries(r ? L : R), c = 0, l = 0, u = s.next();
|
|
5238
5253
|
for (; !u.done;) {
|
|
5239
5254
|
let { value: e, coords: n } = u.value;
|
|
5240
|
-
if (u = s.next(),
|
|
5255
|
+
if (u = s.next(), mi(e, t)) c++;
|
|
5241
5256
|
else if (t === 0 || t === 2) {
|
|
5242
5257
|
let t = r ? n.colIndex * a + n.rowIndex : n.rowIndex * i + n.colIndex;
|
|
5243
5258
|
o.pushAt(t - c, 0, e);
|
|
@@ -5245,11 +5260,12 @@ function $r(e, t = 0, r = !1) {
|
|
|
5245
5260
|
}
|
|
5246
5261
|
return o.build();
|
|
5247
5262
|
}
|
|
5248
|
-
function
|
|
5249
|
-
|
|
5263
|
+
function ti(e, t = 0, r = !1) {
|
|
5264
|
+
if (t === 0) return e.flatten(r ? L : R).transpose();
|
|
5265
|
+
let i = e.getColumnCount(), a = e.getRowCount(), o = e.empty().sparseBuilder(n.Axis.Row), s = e.entries(r ? L : R), c = 0, l = 0, u = s.next();
|
|
5250
5266
|
for (; !u.done;) {
|
|
5251
5267
|
let { value: e, coords: n } = u.value;
|
|
5252
|
-
if (u = s.next(),
|
|
5268
|
+
if (u = s.next(), mi(e, t)) c++;
|
|
5253
5269
|
else if (t === 0 || t === 2) {
|
|
5254
5270
|
let t = r ? n.colIndex * a + n.rowIndex : n.rowIndex * i + n.colIndex;
|
|
5255
5271
|
o.pushAt(0, t - c, e);
|
|
@@ -5257,10 +5273,10 @@ function ei(e, t = 0, r = !1) {
|
|
|
5257
5273
|
}
|
|
5258
5274
|
return o.build();
|
|
5259
5275
|
}
|
|
5260
|
-
function
|
|
5276
|
+
function ni(e) {
|
|
5261
5277
|
return e.transpose();
|
|
5262
5278
|
}
|
|
5263
|
-
function
|
|
5279
|
+
function ri(r, i = 3, a = 3) {
|
|
5264
5280
|
let o = 0, s = r.getRowCount() - 1, c = 0, l = r.getColumnCount() - 1, u = r.isIReferenceRange, d;
|
|
5265
5281
|
if (u) {
|
|
5266
5282
|
let e = r.getCoords();
|
|
@@ -5301,17 +5317,17 @@ function ni(r, i = 3, a = 3) {
|
|
|
5301
5317
|
}, p;
|
|
5302
5318
|
return u ? e.getReference(f) : (p = r.slice(f), p);
|
|
5303
5319
|
}
|
|
5304
|
-
function
|
|
5320
|
+
function ii(e, r = !1, i = !1) {
|
|
5305
5321
|
let a = r ? n.Axis.Column : n.Axis.Row, o = e.uniqueIndices(a, i);
|
|
5306
5322
|
if (o.length === 0) throw t.BuiltIn.Calc;
|
|
5307
5323
|
return e.take(o, a);
|
|
5308
5324
|
}
|
|
5309
|
-
function
|
|
5325
|
+
function ai(e, r, i, a = !0) {
|
|
5310
5326
|
if (t.isError(e)) return e;
|
|
5311
5327
|
if (i < 1) return t.BuiltIn.Value;
|
|
5312
5328
|
if (i > r.getColumnCount()) return t.BuiltIn.Ref;
|
|
5313
5329
|
if (r.size === 1) return t.BuiltIn.NA;
|
|
5314
|
-
let o = typeof e, s =
|
|
5330
|
+
let o = typeof e, s = fi(e);
|
|
5315
5331
|
if (a) {
|
|
5316
5332
|
let a = null, s = -1, c = !0, l = !1, u = r.entries({
|
|
5317
5333
|
axis: n.Axis.Column,
|
|
@@ -5325,12 +5341,12 @@ function ii(e, r, i, a = !0) {
|
|
|
5325
5341
|
d = u.next();
|
|
5326
5342
|
continue;
|
|
5327
5343
|
}
|
|
5328
|
-
let m =
|
|
5344
|
+
let m = z(n, e);
|
|
5329
5345
|
if (c) {
|
|
5330
5346
|
a = n, s = p, c = !1, m > 0 && (l = !0), d = u.next();
|
|
5331
5347
|
continue;
|
|
5332
5348
|
}
|
|
5333
|
-
let h =
|
|
5349
|
+
let h = z(a, e);
|
|
5334
5350
|
if (m > 0 && (l = !0), h > 0 && m > 0) return t.BuiltIn.NA;
|
|
5335
5351
|
if (l && h === 0 && m < 0 || a != null && m > 0 && h <= 0) return r.getValueAt(s, i - 1) ?? t.BuiltIn.NA;
|
|
5336
5352
|
a = n, s = p, d = u.next();
|
|
@@ -5344,15 +5360,15 @@ function ii(e, r, i, a = !0) {
|
|
|
5344
5360
|
for (; !l.done;) {
|
|
5345
5361
|
let { value: n, coords: a } = l.value;
|
|
5346
5362
|
if (a.colIndex !== 0) break;
|
|
5347
|
-
if (s ? s.test(typeof n == "string" ? n : String(n)) :
|
|
5363
|
+
if (s ? s.test(typeof n == "string" ? n : String(n)) : z(n, e) === 0) return r.getValueAt(a.rowIndex, i - 1) ?? t.BuiltIn.NA;
|
|
5348
5364
|
l = c.next();
|
|
5349
5365
|
}
|
|
5350
5366
|
return t.BuiltIn.NA;
|
|
5351
5367
|
}
|
|
5352
|
-
function
|
|
5368
|
+
function oi(e) {
|
|
5353
5369
|
return e.reduce((e, t) => e.concat(t, n.Axis.Row));
|
|
5354
5370
|
}
|
|
5355
|
-
function
|
|
5371
|
+
function si(e, r, i = t.BuiltIn.NA) {
|
|
5356
5372
|
let { rows: a, columns: o } = e.getShape();
|
|
5357
5373
|
if (a > 1 && o > 1) return t.BuiltIn.Value;
|
|
5358
5374
|
if (r <= 0 || !Number.isFinite(r)) return t.BuiltIn.Num;
|
|
@@ -5366,7 +5382,7 @@ function oi(e, r, i = t.BuiltIn.NA) {
|
|
|
5366
5382
|
for (let e = d + 1; e < l.size; e++) u.pushAt(e % r, Math.floor(e / r), i);
|
|
5367
5383
|
return u.build();
|
|
5368
5384
|
}
|
|
5369
|
-
function
|
|
5385
|
+
function ci(e, r, i = t.BuiltIn.NA) {
|
|
5370
5386
|
let { rows: a, columns: o } = e.getShape();
|
|
5371
5387
|
if (a > 1 && o > 1) return t.BuiltIn.Value;
|
|
5372
5388
|
if (r <= 0 || !Number.isFinite(r)) return t.BuiltIn.Num;
|
|
@@ -5380,7 +5396,7 @@ function si(e, r, i = t.BuiltIn.NA) {
|
|
|
5380
5396
|
for (let e = d + 1; e < l.size; e++) u.pushAt(c - 1, e % r, i);
|
|
5381
5397
|
return u.build();
|
|
5382
5398
|
}
|
|
5383
|
-
function
|
|
5399
|
+
function li(n, r, i, a = t.BuiltIn.NA, o = 0, s = 1) {
|
|
5384
5400
|
if (![
|
|
5385
5401
|
0,
|
|
5386
5402
|
-1,
|
|
@@ -5392,56 +5408,45 @@ function ci(n, r, i, a = t.BuiltIn.NA, o = 0, s = 1) {
|
|
|
5392
5408
|
2,
|
|
5393
5409
|
-2
|
|
5394
5410
|
].includes(s) || o === 2 && (s === 2 || s === -2) || r.getColumnCount() > 1 && r.getRowCount() > 1) throw t.BuiltIn.Value;
|
|
5395
|
-
let c = r.
|
|
5411
|
+
let c = r.getValuesFlat(vr), l = [], u = [];
|
|
5396
5412
|
for (let e = 0; e < c.length; e++) c[e] !== null && c[e] !== void 0 && (l.push(c[e]), u.push(e));
|
|
5397
5413
|
let d = r.getRowCount() === 1;
|
|
5398
|
-
if (n
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
colEnd: t.colStart + f,
|
|
5413
|
-
scope: t.scope
|
|
5414
|
-
} : {
|
|
5415
|
-
rowStart: t.rowStart + f,
|
|
5416
|
-
rowEnd: t.rowStart + f,
|
|
5417
|
-
colStart: t.colStart,
|
|
5418
|
-
colEnd: t.colEnd,
|
|
5419
|
-
scope: t.scope
|
|
5420
|
-
});
|
|
5421
|
-
}
|
|
5422
|
-
return i.slice(d ? {
|
|
5423
|
-
colStart: f,
|
|
5424
|
-
colEnd: f
|
|
5414
|
+
if (n == null) return a;
|
|
5415
|
+
if (t.isError(n)) return n;
|
|
5416
|
+
let f = pi(n, l, o, s);
|
|
5417
|
+
if (f === -1) return a;
|
|
5418
|
+
let p = u[f];
|
|
5419
|
+
if (p < (d ? i.getColumnCount() : i.getRowCount())) {
|
|
5420
|
+
if (!0 === i.isIReferenceRange) {
|
|
5421
|
+
let t = i.getCoords();
|
|
5422
|
+
return e.getReference(d ? {
|
|
5423
|
+
rowStart: t.rowStart,
|
|
5424
|
+
rowEnd: t.rowEnd,
|
|
5425
|
+
colStart: t.colStart + p,
|
|
5426
|
+
colEnd: t.colStart + p,
|
|
5427
|
+
scope: t.scope
|
|
5425
5428
|
} : {
|
|
5426
|
-
rowStart:
|
|
5427
|
-
rowEnd:
|
|
5429
|
+
rowStart: t.rowStart + p,
|
|
5430
|
+
rowEnd: t.rowStart + p,
|
|
5431
|
+
colStart: t.colStart,
|
|
5432
|
+
colEnd: t.colEnd,
|
|
5433
|
+
scope: t.scope
|
|
5428
5434
|
});
|
|
5429
5435
|
}
|
|
5430
|
-
return i.
|
|
5436
|
+
return i.slice(d ? {
|
|
5437
|
+
colStart: p,
|
|
5438
|
+
colEnd: p
|
|
5439
|
+
} : {
|
|
5440
|
+
rowStart: p,
|
|
5441
|
+
rowEnd: p
|
|
5442
|
+
});
|
|
5431
5443
|
}
|
|
5432
|
-
return
|
|
5433
|
-
if (e === null) return a;
|
|
5434
|
-
if (t.isError(e)) return e;
|
|
5435
|
-
let n = fi(e, l, o, s);
|
|
5436
|
-
if (n === -1) return a;
|
|
5437
|
-
let r = u[n];
|
|
5438
|
-
return i.getValueAt(d ? 0 : r, d ? r : 0);
|
|
5439
|
-
}, L);
|
|
5444
|
+
return i.getValueAt(d ? 0 : p, d ? p : 0);
|
|
5440
5445
|
}
|
|
5441
|
-
function
|
|
5442
|
-
return
|
|
5446
|
+
function ui(e, t, n = 0, r = 1) {
|
|
5447
|
+
return di(e, t, n, r, n === 2);
|
|
5443
5448
|
}
|
|
5444
|
-
function
|
|
5449
|
+
function di(e, n, r, i, a) {
|
|
5445
5450
|
if (![
|
|
5446
5451
|
0,
|
|
5447
5452
|
-1,
|
|
@@ -5453,30 +5458,28 @@ function ui(e, n, r, i, a) {
|
|
|
5453
5458
|
2,
|
|
5454
5459
|
-2
|
|
5455
5460
|
].includes(i) || r === 2 && (i === 2 || i === -2) || n.getColumnCount() > 1 && n.getRowCount() > 1) throw t.BuiltIn.Value;
|
|
5456
|
-
|
|
5461
|
+
if (e === null) return t.BuiltIn.NA;
|
|
5462
|
+
if (t.isError(e)) return e;
|
|
5463
|
+
let o = n.getValuesFlat(vr), s = [], c = [];
|
|
5457
5464
|
for (let e = 0; e < o.length; e++) o[e] !== null && o[e] !== void 0 && (s.push(o[e]), c.push(e));
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
if (t.isError(e)) return e;
|
|
5461
|
-
let n = fi(e, s, r, i, a);
|
|
5462
|
-
return n === -1 ? t.BuiltIn.NA : c[n] + 1;
|
|
5463
|
-
}, L);
|
|
5465
|
+
let l = pi(e, s, r, i, a);
|
|
5466
|
+
return l === -1 ? t.BuiltIn.NA : c[l] + 1;
|
|
5464
5467
|
}
|
|
5465
|
-
function
|
|
5468
|
+
function z(t, n) {
|
|
5466
5469
|
return typeof t == "number" && typeof n == "number" ? t < n ? -1 : +(t > n) : e.compare(t, n);
|
|
5467
5470
|
}
|
|
5468
|
-
function
|
|
5471
|
+
function fi(e, t = !1) {
|
|
5469
5472
|
return typeof e == "string" && (t ? /[*?~]/.test(e) : a.isWildCard(e)) ? a.toRegex(e, "i", !0) : null;
|
|
5470
5473
|
}
|
|
5471
|
-
function
|
|
5472
|
-
let a = i ?
|
|
5474
|
+
function pi(e, t, n, r, i = n === 2) {
|
|
5475
|
+
let a = i ? fi(e, n === 2) : null;
|
|
5473
5476
|
if (r === 2 || r === -2) return function(e, t, n, r) {
|
|
5474
5477
|
let i = 0, a = e.length - 1, o = -1;
|
|
5475
5478
|
for (; i <= a;) {
|
|
5476
|
-
let n = i + a >>> 1, s =
|
|
5479
|
+
let n = i + a >>> 1, s = z(e[n], t);
|
|
5477
5480
|
(r ? s <= 0 : s >= 0) ? (o = n, i = n + 1) : a = n - 1;
|
|
5478
5481
|
}
|
|
5479
|
-
return o !== -1 &&
|
|
5482
|
+
return o !== -1 && z(e[o], t) === 0 ? o : n === 0 || n === 2 ? -1 : (r ? n === -1 : n === 1) ? o : o + 1 < e.length ? o + 1 : -1;
|
|
5480
5483
|
}(t, e, n, r === 2);
|
|
5481
5484
|
let o = r === -1 ? -1 : 1, s = r === -1 ? t.length - 1 : 0, c = r === -1 ? -1 : t.length;
|
|
5482
5485
|
if (n === 0 || n === 2) {
|
|
@@ -5485,7 +5488,7 @@ function fi(e, t, n, r, i = n === 2) {
|
|
|
5485
5488
|
if (r != null) {
|
|
5486
5489
|
if (a) {
|
|
5487
5490
|
if (typeof r == "string" && a.test(r)) return n;
|
|
5488
|
-
} else if (
|
|
5491
|
+
} else if (z(r, e) === 0) return n;
|
|
5489
5492
|
}
|
|
5490
5493
|
}
|
|
5491
5494
|
return -1;
|
|
@@ -5494,16 +5497,16 @@ function fi(e, t, n, r, i = n === 2) {
|
|
|
5494
5497
|
for (let r = s; r !== c; r += o) {
|
|
5495
5498
|
let i = t[r];
|
|
5496
5499
|
if (i == null) continue;
|
|
5497
|
-
let a =
|
|
5500
|
+
let a = z(i, e);
|
|
5498
5501
|
if (a === 0) return r;
|
|
5499
|
-
n === -1 ? a < 0 && (l === -1 ||
|
|
5502
|
+
n === -1 ? a < 0 && (l === -1 || z(i, u) > 0) && (l = r, u = i) : a > 0 && (l === -1 || z(i, u) < 0) && (l = r, u = i);
|
|
5500
5503
|
}
|
|
5501
5504
|
return l;
|
|
5502
5505
|
}
|
|
5503
|
-
function
|
|
5506
|
+
function mi(e, n) {
|
|
5504
5507
|
return n !== 0 && ((n === 1 || n === 3) && e === null || !(n !== 2 && n !== 3 || !t.isError(e)));
|
|
5505
5508
|
}
|
|
5506
|
-
function
|
|
5509
|
+
function hi(e, r, i) {
|
|
5507
5510
|
let a = typeof e, o = -1, s = null, c = !1, l = i ? n.Axis.Row : n.Axis.Column, u = r.entries({
|
|
5508
5511
|
axis: l,
|
|
5509
5512
|
includeEmpty: !1
|
|
@@ -5523,21 +5526,21 @@ function mi(e, r, i) {
|
|
|
5523
5526
|
d = u.next();
|
|
5524
5527
|
continue;
|
|
5525
5528
|
}
|
|
5526
|
-
let f =
|
|
5529
|
+
let f = z(n, e);
|
|
5527
5530
|
if (f > 0 && (c = !0), f <= 0) {
|
|
5528
|
-
let t = s !== null &&
|
|
5531
|
+
let t = s !== null && z(s, e) === 0;
|
|
5529
5532
|
c && t || (o = l, s = n);
|
|
5530
5533
|
}
|
|
5531
5534
|
d = u.next();
|
|
5532
5535
|
}
|
|
5533
5536
|
return o;
|
|
5534
5537
|
}
|
|
5535
|
-
var
|
|
5538
|
+
var gi = (e, n) => {
|
|
5536
5539
|
if (n === 0) throw t.BuiltIn.Ref;
|
|
5537
5540
|
let r = Math.trunc(n), i = n > 0 ? e : e + r + 1, a = n > 0 ? e + r - 1 : e;
|
|
5538
5541
|
return i > a ? [a, i] : [i, a];
|
|
5539
5542
|
};
|
|
5540
|
-
function
|
|
5543
|
+
function B(e, n, r, i, a, o) {
|
|
5541
5544
|
let s = n.map((e) => e[0]), c = s[0].getColumnCount(), l = s[0].getRowCount();
|
|
5542
5545
|
for (let e = 1; e < s.length; e++) if (s[e].getColumnCount() !== c || s[e].getRowCount() !== l) throw t.BuiltIn.Value;
|
|
5543
5546
|
let u = s.length, d = Array(u), f = !0;
|
|
@@ -5554,74 +5557,74 @@ function z(e, n, r, i, a, o) {
|
|
|
5554
5557
|
}, null, f && o ? { emptyFold: o } : void 0);
|
|
5555
5558
|
return g === null ? a : g;
|
|
5556
5559
|
}
|
|
5557
|
-
var
|
|
5558
|
-
ABS: () =>
|
|
5559
|
-
AGGREGATE: () =>
|
|
5560
|
-
ARABIC: () =>
|
|
5561
|
-
BASE: () =>
|
|
5562
|
-
CEILING: () =>
|
|
5563
|
-
CEILING_MATH: () =>
|
|
5564
|
-
CEILING_PRECISE: () =>
|
|
5565
|
-
COMBIN: () =>
|
|
5566
|
-
COMBINA: () =>
|
|
5567
|
-
DECIMAL: () =>
|
|
5568
|
-
DEGREES: () =>
|
|
5569
|
-
ECMA_CEILING: () =>
|
|
5570
|
-
EVEN: () =>
|
|
5571
|
-
EXP: () =>
|
|
5572
|
-
FACT: () =>
|
|
5573
|
-
FACTDOUBLE: () =>
|
|
5574
|
-
FLOOR: () =>
|
|
5575
|
-
FLOOR_MATH: () =>
|
|
5576
|
-
FLOOR_PRECISE: () =>
|
|
5577
|
-
GCD: () =>
|
|
5578
|
-
INT: () =>
|
|
5579
|
-
ISO_CEILING: () =>
|
|
5580
|
-
LCM: () =>
|
|
5581
|
-
LN: () =>
|
|
5582
|
-
LOG: () =>
|
|
5583
|
-
LOG10: () =>
|
|
5584
|
-
MDETERM: () =>
|
|
5585
|
-
MINVERSE: () =>
|
|
5586
|
-
MMULT: () =>
|
|
5587
|
-
MOD: () =>
|
|
5588
|
-
MROUND: () =>
|
|
5589
|
-
MULTINOMIAL: () =>
|
|
5590
|
-
MUNIT: () =>
|
|
5591
|
-
ODD: () =>
|
|
5592
|
-
PERCENTOF: () =>
|
|
5593
|
-
PI: () =>
|
|
5594
|
-
POWER: () =>
|
|
5595
|
-
PRODUCT: () =>
|
|
5596
|
-
QUOTIENT: () =>
|
|
5597
|
-
RADIANS: () =>
|
|
5598
|
-
RAND: () =>
|
|
5599
|
-
RANDARRAY: () =>
|
|
5600
|
-
RANDBETWEEN: () =>
|
|
5601
|
-
ROMAN: () =>
|
|
5602
|
-
ROUND: () =>
|
|
5603
|
-
ROUNDDOWN: () =>
|
|
5604
|
-
ROUNDUP: () =>
|
|
5605
|
-
SEQUENCE: () =>
|
|
5606
|
-
SERIESSUM: () =>
|
|
5607
|
-
SIGN: () =>
|
|
5608
|
-
SQRT: () =>
|
|
5609
|
-
SQRTPI: () =>
|
|
5610
|
-
SUBTOTAL: () =>
|
|
5611
|
-
SUM: () =>
|
|
5612
|
-
SUMIF: () =>
|
|
5613
|
-
SUMIFS: () =>
|
|
5614
|
-
SUMPRODUCT: () =>
|
|
5615
|
-
SUMSQ: () =>
|
|
5616
|
-
SUMX2MY2: () =>
|
|
5617
|
-
SUMX2PY2: () =>
|
|
5618
|
-
SUMXMY2: () =>
|
|
5619
|
-
TRUNC: () =>
|
|
5560
|
+
var _i = p({
|
|
5561
|
+
ABS: () => vi,
|
|
5562
|
+
AGGREGATE: () => yi,
|
|
5563
|
+
ARABIC: () => bi,
|
|
5564
|
+
BASE: () => xi,
|
|
5565
|
+
CEILING: () => V,
|
|
5566
|
+
CEILING_MATH: () => Si,
|
|
5567
|
+
CEILING_PRECISE: () => Ci,
|
|
5568
|
+
COMBIN: () => H,
|
|
5569
|
+
COMBINA: () => Ti,
|
|
5570
|
+
DECIMAL: () => Ei,
|
|
5571
|
+
DEGREES: () => Di,
|
|
5572
|
+
ECMA_CEILING: () => wi,
|
|
5573
|
+
EVEN: () => Oi,
|
|
5574
|
+
EXP: () => ki,
|
|
5575
|
+
FACT: () => U,
|
|
5576
|
+
FACTDOUBLE: () => Ai,
|
|
5577
|
+
FLOOR: () => W,
|
|
5578
|
+
FLOOR_MATH: () => ji,
|
|
5579
|
+
FLOOR_PRECISE: () => Mi,
|
|
5580
|
+
GCD: () => Ni,
|
|
5581
|
+
INT: () => Pi,
|
|
5582
|
+
ISO_CEILING: () => Fi,
|
|
5583
|
+
LCM: () => Ii,
|
|
5584
|
+
LN: () => Li,
|
|
5585
|
+
LOG: () => Ri,
|
|
5586
|
+
LOG10: () => zi,
|
|
5587
|
+
MDETERM: () => Bi,
|
|
5588
|
+
MINVERSE: () => Vi,
|
|
5589
|
+
MMULT: () => Hi,
|
|
5590
|
+
MOD: () => Ui,
|
|
5591
|
+
MROUND: () => Wi,
|
|
5592
|
+
MULTINOMIAL: () => Gi,
|
|
5593
|
+
MUNIT: () => Ki,
|
|
5594
|
+
ODD: () => qi,
|
|
5595
|
+
PERCENTOF: () => Ji,
|
|
5596
|
+
PI: () => Yi,
|
|
5597
|
+
POWER: () => Xi,
|
|
5598
|
+
PRODUCT: () => Zi,
|
|
5599
|
+
QUOTIENT: () => Qi,
|
|
5600
|
+
RADIANS: () => $i,
|
|
5601
|
+
RAND: () => ea,
|
|
5602
|
+
RANDARRAY: () => ta,
|
|
5603
|
+
RANDBETWEEN: () => na,
|
|
5604
|
+
ROMAN: () => ra,
|
|
5605
|
+
ROUND: () => ia,
|
|
5606
|
+
ROUNDDOWN: () => aa,
|
|
5607
|
+
ROUNDUP: () => oa,
|
|
5608
|
+
SEQUENCE: () => sa,
|
|
5609
|
+
SERIESSUM: () => ca,
|
|
5610
|
+
SIGN: () => la,
|
|
5611
|
+
SQRT: () => ua,
|
|
5612
|
+
SQRTPI: () => da,
|
|
5613
|
+
SUBTOTAL: () => fa,
|
|
5614
|
+
SUM: () => pa,
|
|
5615
|
+
SUMIF: () => ma,
|
|
5616
|
+
SUMIFS: () => ha,
|
|
5617
|
+
SUMPRODUCT: () => ga,
|
|
5618
|
+
SUMSQ: () => _a,
|
|
5619
|
+
SUMX2MY2: () => va,
|
|
5620
|
+
SUMX2PY2: () => ya,
|
|
5621
|
+
SUMXMY2: () => ba,
|
|
5622
|
+
TRUNC: () => xa
|
|
5620
5623
|
});
|
|
5621
|
-
function
|
|
5624
|
+
function vi(e) {
|
|
5622
5625
|
return Math.abs(e);
|
|
5623
5626
|
}
|
|
5624
|
-
function
|
|
5627
|
+
function yi(r, i, a, ...o) {
|
|
5625
5628
|
let s = Math.trunc(r), c = Math.trunc(i);
|
|
5626
5629
|
if (s < 1 || s > 19 || c < 0 || c > 7) return t.BuiltIn.Value;
|
|
5627
5630
|
let l = s >= 14, u = l ? o[o.length - 1]?.getValueAt(0, 0) : void 0, d = l ? [a, ...o.slice(0, -1)] : [a, ...o];
|
|
@@ -5679,7 +5682,7 @@ function vi(r, i, a, ...o) {
|
|
|
5679
5682
|
default: return t.BuiltIn.Value;
|
|
5680
5683
|
}
|
|
5681
5684
|
}
|
|
5682
|
-
function
|
|
5685
|
+
function bi(e) {
|
|
5683
5686
|
if (e = e.toUpperCase(), !/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/.test(e)) throw new t.Value("Invalid roman numeral in ARABIC evaluation.");
|
|
5684
5687
|
let n = 0;
|
|
5685
5688
|
return e.replace(/[MDLV]|C[MD]?|X[CL]?|I[XV]?/g, (e) => {
|
|
@@ -5700,57 +5703,57 @@ function yi(e) {
|
|
|
5700
5703
|
}[e];
|
|
5701
5704
|
}), n;
|
|
5702
5705
|
}
|
|
5703
|
-
function
|
|
5706
|
+
function xi(e, t, n = 0) {
|
|
5704
5707
|
if (e = Math.trunc(e), t = Math.trunc(t), n = Math.trunc(n), e < 0 || e >= 2 ** 53 || t < 2 || t > 36 || n < 0) return NaN;
|
|
5705
5708
|
let r = e.toString(t).toUpperCase();
|
|
5706
5709
|
return Array(Math.max(n + 1 - r.length, 0)).join("0") + r;
|
|
5707
5710
|
}
|
|
5708
|
-
function
|
|
5711
|
+
function V(e, t) {
|
|
5709
5712
|
if (t === 0) return 0;
|
|
5710
5713
|
if (e > 0 && t < 0) return NaN;
|
|
5711
5714
|
if (e / t % 1 == 0) return e;
|
|
5712
5715
|
let n = Math.abs(t), r = Math.floor(Math.abs(e) / n);
|
|
5713
5716
|
return e < 0 ? t < 0 ? -n * (r + 1) : -n * r : (r + 1) * n;
|
|
5714
5717
|
}
|
|
5715
|
-
function
|
|
5718
|
+
function Si(e, t, n = 0) {
|
|
5716
5719
|
if ((t = Math.abs(t ?? 1)) === 0) return 0;
|
|
5717
|
-
if (e >= 0) return
|
|
5720
|
+
if (e >= 0) return V(e, t);
|
|
5718
5721
|
let r = n ? t : 0;
|
|
5719
|
-
return
|
|
5722
|
+
return V(e, t) - r;
|
|
5720
5723
|
}
|
|
5721
|
-
function
|
|
5722
|
-
return t === 0 ? 0 :
|
|
5723
|
-
}
|
|
5724
|
-
function Ci(e, t) {
|
|
5725
|
-
return B(e, t);
|
|
5726
|
-
}
|
|
5727
|
-
function V(e, t) {
|
|
5728
|
-
return e = Math.trunc(e), t = Math.trunc(t), e < 0 || t < 0 || e < t ? NaN : H(e) / H(t) / H(e - t);
|
|
5724
|
+
function Ci(e, t = 1) {
|
|
5725
|
+
return t === 0 ? 0 : V(e, Math.abs(t));
|
|
5729
5726
|
}
|
|
5730
5727
|
function wi(e, t) {
|
|
5731
|
-
return
|
|
5728
|
+
return V(e, t);
|
|
5729
|
+
}
|
|
5730
|
+
function H(e, t) {
|
|
5731
|
+
return e = Math.trunc(e), t = Math.trunc(t), e < 0 || t < 0 || e < t ? NaN : U(e) / U(t) / U(e - t);
|
|
5732
5732
|
}
|
|
5733
5733
|
function Ti(e, t) {
|
|
5734
|
+
return e = Math.trunc(e), (t = Math.trunc(t)) !== 0 || e !== 0 && e !== 1 ? e < 0 || t < 0 ? NaN : H(e + t - 1, e - 1) : 1;
|
|
5735
|
+
}
|
|
5736
|
+
function Ei(e, t) {
|
|
5734
5737
|
if ((t = Math.trunc(t)) < 2 || t > 36) return NaN;
|
|
5735
5738
|
let n = "0123456789abcdefghijklmnopqrstuvwxyz".slice(0, t);
|
|
5736
5739
|
return RegExp(`^[${n}]+$`, "i").test(e) ? parseInt(e, t) : NaN;
|
|
5737
5740
|
}
|
|
5738
|
-
function Ei(e) {
|
|
5739
|
-
return 180 / Math.PI * e;
|
|
5740
|
-
}
|
|
5741
5741
|
function Di(e) {
|
|
5742
|
-
return
|
|
5742
|
+
return 180 / Math.PI * e;
|
|
5743
5743
|
}
|
|
5744
5744
|
function Oi(e) {
|
|
5745
|
+
return V(e, e < 0 ? -2 : 2);
|
|
5746
|
+
}
|
|
5747
|
+
function ki(e) {
|
|
5745
5748
|
return Math.exp(e);
|
|
5746
5749
|
}
|
|
5747
|
-
function
|
|
5748
|
-
return (e = Math.trunc(e)) > 170 || e < 0 ? NaN : e <= 100 ?
|
|
5750
|
+
function U(e) {
|
|
5751
|
+
return (e = Math.trunc(e)) > 170 || e < 0 ? NaN : e <= 100 ? Sa[e] : G(e);
|
|
5749
5752
|
}
|
|
5750
|
-
function
|
|
5751
|
-
return (e = Math.trunc(e)) < -1 ? NaN : e === -1 ? 1 :
|
|
5753
|
+
function Ai(e) {
|
|
5754
|
+
return (e = Math.trunc(e)) < -1 ? NaN : e === -1 ? 1 : Ta(e);
|
|
5752
5755
|
}
|
|
5753
|
-
function
|
|
5756
|
+
function W(e, n) {
|
|
5754
5757
|
if (e === 0) return 0;
|
|
5755
5758
|
if (n === 0) throw t.BuiltIn.Div0;
|
|
5756
5759
|
if (n ??= e > 0 ? 1 : -1, e > 0 && n < 0) return NaN;
|
|
@@ -5758,56 +5761,60 @@ function U(e, n) {
|
|
|
5758
5761
|
let r = Math.abs(n), i = Math.floor(Math.abs(e) / r);
|
|
5759
5762
|
return e < 0 ? n < 0 ? -r * i : -r * (i + 1) : i * r;
|
|
5760
5763
|
}
|
|
5761
|
-
function
|
|
5762
|
-
return t === 0 ? 0 : n === 0 || e >= 0 ?
|
|
5764
|
+
function ji(e, t = e > 0 ? 1 : -1, n = 0) {
|
|
5765
|
+
return t === 0 ? 0 : n === 0 || e >= 0 ? W(e, Math.abs(t)) : W(e, t) + t;
|
|
5763
5766
|
}
|
|
5764
|
-
function
|
|
5765
|
-
return t === 0 ? 0 :
|
|
5767
|
+
function Mi(e, t = 1) {
|
|
5768
|
+
return t === 0 ? 0 : W(e, Math.abs(t));
|
|
5766
5769
|
}
|
|
5767
|
-
function
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5770
|
+
function Ni(e) {
|
|
5771
|
+
Oa(e);
|
|
5772
|
+
let t, n = e[0];
|
|
5773
|
+
if (n < 0 || n > K) return NaN;
|
|
5774
|
+
n = Math.abs(Math.trunc(n));
|
|
5775
|
+
let r = e.length;
|
|
5776
|
+
for (let i = 1; i < r; i++) {
|
|
5777
|
+
if (t = e[i], t < 0 || t > K) return NaN;
|
|
5778
|
+
for (t = Math.abs(Math.trunc(t)); n && t;) n > t ? n %= t : t %= n;
|
|
5779
|
+
n += t;
|
|
5776
5780
|
}
|
|
5777
|
-
return
|
|
5781
|
+
return n;
|
|
5778
5782
|
}
|
|
5779
|
-
function
|
|
5783
|
+
function Pi(e) {
|
|
5780
5784
|
return Math.floor(e);
|
|
5781
5785
|
}
|
|
5782
|
-
function
|
|
5783
|
-
return
|
|
5786
|
+
function Fi(e, t) {
|
|
5787
|
+
return Ci(e, t);
|
|
5784
5788
|
}
|
|
5785
|
-
function
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
if (
|
|
5789
|
+
function Ii(e) {
|
|
5790
|
+
Oa(e);
|
|
5791
|
+
let t, n, r, i = e[0];
|
|
5792
|
+
if (i < 0 || i > K) return NaN;
|
|
5793
|
+
i = Math.abs(Math.trunc(i));
|
|
5794
|
+
let a = e.length;
|
|
5795
|
+
for (let o = 1; o < a; o++) {
|
|
5796
|
+
let a = e[o];
|
|
5797
|
+
if (a < 0 || a > K) return NaN;
|
|
5798
|
+
if (t = Math.abs(Math.trunc(a)), i !== 0 && t !== 0) {
|
|
5799
|
+
for (n = i, r = t; n && r;) n > r ? n %= r : r %= n;
|
|
5800
|
+
if (i = i / (n + r) * t, i > K) return NaN;
|
|
5801
|
+
} else i = 0;
|
|
5795
5802
|
}
|
|
5796
|
-
return
|
|
5803
|
+
return i;
|
|
5797
5804
|
}
|
|
5798
|
-
function
|
|
5805
|
+
function Li(e) {
|
|
5799
5806
|
return e <= 0 ? NaN : Math.log(e);
|
|
5800
5807
|
}
|
|
5801
|
-
function
|
|
5808
|
+
function Ri(e, n) {
|
|
5802
5809
|
if (e <= 0) return NaN;
|
|
5803
5810
|
if (n === void 0) return Math.log10(e);
|
|
5804
5811
|
if (n === 1) throw t.BuiltIn.Div0;
|
|
5805
5812
|
return Math.log(e) / Math.log(n);
|
|
5806
5813
|
}
|
|
5807
|
-
function
|
|
5814
|
+
function zi(e) {
|
|
5808
5815
|
return e <= 0 ? NaN : Math.log10(e);
|
|
5809
5816
|
}
|
|
5810
|
-
function
|
|
5817
|
+
function Bi(e) {
|
|
5811
5818
|
let { rows: n, columns: r } = e.getShape();
|
|
5812
5819
|
if (n !== r) return t.BuiltIn.Value;
|
|
5813
5820
|
let i = e.getValues();
|
|
@@ -5826,7 +5833,7 @@ function zi(e) {
|
|
|
5826
5833
|
for (let e = 0; e < n; e++) s *= a[e][e];
|
|
5827
5834
|
return s;
|
|
5828
5835
|
}
|
|
5829
|
-
function
|
|
5836
|
+
function Vi(e) {
|
|
5830
5837
|
let { rows: n, columns: r } = e.getShape();
|
|
5831
5838
|
if (n !== r) return t.BuiltIn.Value;
|
|
5832
5839
|
let i = e.getValues().map((e, r) => [...e.map((e) => typeof e == "number" ? e : t.BuiltIn.Value), ...Array.from({ length: n }, (e, t) => +(r === t))]);
|
|
@@ -5844,7 +5851,7 @@ function Bi(e) {
|
|
|
5844
5851
|
}
|
|
5845
5852
|
return i.map((e) => e.slice(n));
|
|
5846
5853
|
}
|
|
5847
|
-
function
|
|
5854
|
+
function Hi(e, n) {
|
|
5848
5855
|
let { rows: r, columns: i } = e.getShape(), { rows: a, columns: o } = n.getShape();
|
|
5849
5856
|
if (i !== a) return t.BuiltIn.Value;
|
|
5850
5857
|
let s = e.getValues(), c = n.getValues(), l = Array(r);
|
|
@@ -5861,60 +5868,61 @@ function Vi(e, n) {
|
|
|
5861
5868
|
}
|
|
5862
5869
|
return l;
|
|
5863
5870
|
}
|
|
5864
|
-
function
|
|
5871
|
+
function Ui(e, n) {
|
|
5865
5872
|
if (n === 0) throw t.BuiltIn.Div0;
|
|
5866
|
-
return e - n *
|
|
5873
|
+
return e - n * Pi(e / n);
|
|
5867
5874
|
}
|
|
5868
|
-
function
|
|
5875
|
+
function Wi(e, t) {
|
|
5869
5876
|
return t === 0 ? 0 : e > 0 && t < 0 || e < 0 && t > 0 ? NaN : e / t % 1 == 0 ? e : Math.round(e / t) * t;
|
|
5870
5877
|
}
|
|
5871
|
-
function
|
|
5878
|
+
function Gi(e) {
|
|
5879
|
+
Oa(e);
|
|
5872
5880
|
let t = 0, n = 1, r = e.length;
|
|
5873
5881
|
for (let i = 0; i < r; i++) {
|
|
5874
5882
|
let r = e[i];
|
|
5875
5883
|
if (r < 0) return NaN;
|
|
5876
|
-
t += r, n *=
|
|
5884
|
+
t += r, n *= G(r);
|
|
5877
5885
|
}
|
|
5878
|
-
return
|
|
5886
|
+
return G(t) / n;
|
|
5879
5887
|
}
|
|
5880
|
-
function
|
|
5888
|
+
function Ki(n) {
|
|
5881
5889
|
if (n <= 0) return t.BuiltIn.Value;
|
|
5882
5890
|
let r = e.createRange().sparseBuilder();
|
|
5883
5891
|
for (let e = 0; e < n; e++) r.pushAt(e, e, 1);
|
|
5884
5892
|
return r.build();
|
|
5885
5893
|
}
|
|
5886
|
-
function
|
|
5894
|
+
function qi(e) {
|
|
5887
5895
|
if (e === 0) return 1;
|
|
5888
5896
|
let t = Math.ceil(Math.abs(e));
|
|
5889
5897
|
return t = 1 & t ? t : t + 1, e > 0 ? t : -t;
|
|
5890
5898
|
}
|
|
5891
|
-
function
|
|
5899
|
+
function Ji(e, n) {
|
|
5892
5900
|
let r = e.getStats().getSnappedSum(), i = n.getStats().getSnappedSum();
|
|
5893
5901
|
if (i === 0) throw t.BuiltIn.Div0;
|
|
5894
5902
|
return r / i;
|
|
5895
5903
|
}
|
|
5896
|
-
function
|
|
5904
|
+
function Yi() {
|
|
5897
5905
|
return Math.PI;
|
|
5898
5906
|
}
|
|
5899
|
-
function
|
|
5907
|
+
function Xi(e, t) {
|
|
5900
5908
|
return e === 0 && t === 0 ? NaN : e ** t;
|
|
5901
5909
|
}
|
|
5902
|
-
function
|
|
5910
|
+
function Zi(e) {
|
|
5903
5911
|
let t = 1;
|
|
5904
5912
|
for (let n of e) for (let e of n.values()) t *= e;
|
|
5905
5913
|
return t;
|
|
5906
5914
|
}
|
|
5907
|
-
function
|
|
5915
|
+
function Qi(e, n) {
|
|
5908
5916
|
if (n === 0) throw t.BuiltIn.Div0;
|
|
5909
5917
|
return Math.trunc(e / n);
|
|
5910
5918
|
}
|
|
5911
|
-
function
|
|
5919
|
+
function $i(e) {
|
|
5912
5920
|
return e / 180 * Math.PI;
|
|
5913
5921
|
}
|
|
5914
|
-
function
|
|
5922
|
+
function ea() {
|
|
5915
5923
|
return e.markVolatile(), Math.random();
|
|
5916
5924
|
}
|
|
5917
|
-
function
|
|
5925
|
+
function ta(n = 1, r = 1, i = 0, a = 1, o = !1) {
|
|
5918
5926
|
if (n === 0 || r === 0) return t.BuiltIn.Calc;
|
|
5919
5927
|
if (n < 0 || r < 0) return t.BuiltIn.Value;
|
|
5920
5928
|
if (i > a) return t.BuiltIn.NA;
|
|
@@ -5924,11 +5932,11 @@ function ea(n = 1, r = 1, i = 0, a = 1, o = !1) {
|
|
|
5924
5932
|
return o && (e = Math.floor(i + Math.random() * (a - i + 1)), e > a && (e = a)), e;
|
|
5925
5933
|
}));
|
|
5926
5934
|
}
|
|
5927
|
-
function
|
|
5935
|
+
function na(t, n) {
|
|
5928
5936
|
let r = e.parseAsNumber(t), i = e.parseAsNumber(n);
|
|
5929
5937
|
return r > i ? NaN : (e.markVolatile(), Math.floor(Math.random() * (i - r + 1) + r));
|
|
5930
5938
|
}
|
|
5931
|
-
function
|
|
5939
|
+
function ra(e, n = 0) {
|
|
5932
5940
|
if ((e = Math.trunc(e)) < 0 || e > 3999) return t.BuiltIn.Value;
|
|
5933
5941
|
if (e === 0) return "";
|
|
5934
5942
|
if (n !== 0) return t.BuiltIn.Value;
|
|
@@ -5936,11 +5944,11 @@ function na(e, n = 0) {
|
|
|
5936
5944
|
for (; o--;) a = (i[Number(r.pop()) + 10 * o] || "") + a;
|
|
5937
5945
|
return Array(+r.join("") + 1).join("M") + a;
|
|
5938
5946
|
}
|
|
5939
|
-
function
|
|
5947
|
+
function ia(e, t) {
|
|
5940
5948
|
let n = 10 ** Math.abs(t), r = e > 0 ? 1 : -1;
|
|
5941
5949
|
return t > 0 ? r * Math.round(Math.abs(e) * n) / n : t === 0 ? r * Math.round(Math.abs(e)) : r * Math.round(Math.abs(e) / n) * n;
|
|
5942
5950
|
}
|
|
5943
|
-
function
|
|
5951
|
+
function aa(e, t) {
|
|
5944
5952
|
let n = 10 ** Math.abs(t), r = e > 0 ? 1 : -1;
|
|
5945
5953
|
if (t > 0) {
|
|
5946
5954
|
let t = 1 / n * .5;
|
|
@@ -5952,11 +5960,11 @@ function ia(e, t) {
|
|
|
5952
5960
|
return r * Math.round((Math.abs(e) - t) / n) * n;
|
|
5953
5961
|
}
|
|
5954
5962
|
}
|
|
5955
|
-
function
|
|
5963
|
+
function oa(e, t) {
|
|
5956
5964
|
let n = Math.abs(e), r = e >= 0 ? 1 : -1, i = 10 ** Math.abs(t);
|
|
5957
5965
|
return t > 0 ? r * Math.ceil(n * i) / i : t === 0 ? r * Math.ceil(n) : r * Math.ceil(n / i) * i;
|
|
5958
5966
|
}
|
|
5959
|
-
function
|
|
5967
|
+
function sa(n, r = 1, i = 1, a = 1) {
|
|
5960
5968
|
if (n ??= 1, n === 0 || r === 0) return t.BuiltIn.Calc;
|
|
5961
5969
|
if (n < 0 || r < 0) return t.BuiltIn.Value;
|
|
5962
5970
|
let o = e.getEntireCoords();
|
|
@@ -5967,27 +5975,31 @@ function oa(n, r = 1, i = 1, a = 1) {
|
|
|
5967
5975
|
return s += a, e;
|
|
5968
5976
|
});
|
|
5969
5977
|
}
|
|
5970
|
-
function
|
|
5971
|
-
let o, s = 0;
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
})) {
|
|
5976
|
-
if (typeof c != "number") throw t.BuiltIn.Value;
|
|
5977
|
-
s === 0 ? o = c * e ** +n : o += c * e ** +(n + s * r), s++;
|
|
5978
|
+
function ca(n, r, i, a) {
|
|
5979
|
+
let o = e.getArgs().getRawAt(3), s = o, c = !0 === s?.isIRange, l = c && s.size === 1 && !0 === s.isIReferenceRange;
|
|
5980
|
+
if (!c || l) {
|
|
5981
|
+
let t = c ? s.getValueAt(0, 0) ?? null : o;
|
|
5982
|
+
return (t === null ? 0 : e.parseAsNumber(t)) * n ** +r;
|
|
5978
5983
|
}
|
|
5979
|
-
|
|
5984
|
+
if (a.getRowCount() > 1 && a.getColumnCount() > 1) throw t.BuiltIn.Value;
|
|
5985
|
+
let u = 0, d = 0;
|
|
5986
|
+
for (let e of a.values()) {
|
|
5987
|
+
if (t.isError(e)) throw e;
|
|
5988
|
+
if (typeof e != "number") throw t.BuiltIn.Value;
|
|
5989
|
+
u += e * n ** +(r + d * i), d++;
|
|
5990
|
+
}
|
|
5991
|
+
return u;
|
|
5980
5992
|
}
|
|
5981
|
-
function
|
|
5993
|
+
function la(e) {
|
|
5982
5994
|
return e > 0 ? 1 : e === 0 ? 0 : -1;
|
|
5983
5995
|
}
|
|
5984
|
-
function
|
|
5996
|
+
function ua(e) {
|
|
5985
5997
|
return Math.sqrt(e);
|
|
5986
5998
|
}
|
|
5987
|
-
function
|
|
5999
|
+
function da(e) {
|
|
5988
6000
|
return e < 0 ? NaN : Math.sqrt(e * Math.PI);
|
|
5989
6001
|
}
|
|
5990
|
-
function
|
|
6002
|
+
function fa(r, i) {
|
|
5991
6003
|
let a = Math.trunc(r), o = a >= 101, s = o ? a - 100 : a, c = (o ? i.map((t) => e.filterHidden(t)) : i).map((t) => e.filterTotals(t));
|
|
5992
6004
|
s !== 2 && s !== 3 && c.forEach(h);
|
|
5993
6005
|
let l = c.reduce((e, t) => e.concat(t, n.Axis.Row, null)), u = l.getStats().getAggregates();
|
|
@@ -6023,7 +6035,7 @@ function da(r, i) {
|
|
|
6023
6035
|
default: return t.BuiltIn.Value;
|
|
6024
6036
|
}
|
|
6025
6037
|
}
|
|
6026
|
-
function
|
|
6038
|
+
function pa(e) {
|
|
6027
6039
|
let t = 0, n = null;
|
|
6028
6040
|
for (let r of e) {
|
|
6029
6041
|
let e = r.getStats(), i = e.getAggregates();
|
|
@@ -6031,13 +6043,13 @@ function fa(e) {
|
|
|
6031
6043
|
}
|
|
6032
6044
|
return n ? n.getSnappedSum(t) : t;
|
|
6033
6045
|
}
|
|
6034
|
-
function
|
|
6046
|
+
function ma(e, t, n) {
|
|
6035
6047
|
return F(e, t, n, g((e, t) => (e === null && (e = 0), typeof t == "number" ? e + t : e)), I);
|
|
6036
6048
|
}
|
|
6037
|
-
function
|
|
6038
|
-
return
|
|
6049
|
+
function ha(t, n) {
|
|
6050
|
+
return B(e, n, g((e, t) => typeof t == "number" ? e === null ? t : e + t : e), t, 0, I);
|
|
6039
6051
|
}
|
|
6040
|
-
function
|
|
6052
|
+
function ga(e) {
|
|
6041
6053
|
let n = e[0], r = e.slice(1), i = n.getRowCount(), a = n.getColumnCount(), o = r.length;
|
|
6042
6054
|
for (let e = 0; e < o; e++) if (r[e].getRowCount() !== i || r[e].getColumnCount() !== a) throw t.BuiltIn.Value;
|
|
6043
6055
|
if (i === 1 && a === 1) {
|
|
@@ -6049,28 +6061,28 @@ function ha(e) {
|
|
|
6049
6061
|
for (let t of n.values()) typeof t == "number" && (e += t);
|
|
6050
6062
|
return e;
|
|
6051
6063
|
}
|
|
6052
|
-
return
|
|
6064
|
+
return Da(n, r, Ea);
|
|
6053
6065
|
}
|
|
6054
|
-
function
|
|
6066
|
+
function _a(e) {
|
|
6055
6067
|
let t = 0;
|
|
6056
6068
|
for (let n of e) for (let e of n.values()) t += e ** 2;
|
|
6057
6069
|
return t;
|
|
6058
6070
|
}
|
|
6059
|
-
function _a(e, t) {
|
|
6060
|
-
return Da(e, t, (e, t) => e ** 2 - t ** 2);
|
|
6061
|
-
}
|
|
6062
6071
|
function va(e, t) {
|
|
6063
|
-
return
|
|
6072
|
+
return ka(e, t, (e, t) => e ** 2 - t ** 2);
|
|
6064
6073
|
}
|
|
6065
6074
|
function ya(e, t) {
|
|
6066
|
-
return
|
|
6075
|
+
return ka(e, t, (e, t) => e ** 2 + t ** 2);
|
|
6067
6076
|
}
|
|
6068
|
-
function ba(e, t
|
|
6077
|
+
function ba(e, t) {
|
|
6078
|
+
return ka(e, t, (e, t) => (e - t) ** 2);
|
|
6079
|
+
}
|
|
6080
|
+
function xa(e, t = 0) {
|
|
6069
6081
|
if (t === 0) return Math.trunc(e);
|
|
6070
6082
|
let n = 10 ** t;
|
|
6071
6083
|
return Math.trunc(e * n) / n;
|
|
6072
6084
|
}
|
|
6073
|
-
var
|
|
6085
|
+
var Sa = [
|
|
6074
6086
|
1,
|
|
6075
6087
|
1,
|
|
6076
6088
|
2,
|
|
@@ -6172,219 +6184,222 @@ var xa = [
|
|
|
6172
6184
|
9426890448883248e138,
|
|
6173
6185
|
9332621544394415e140,
|
|
6174
6186
|
9332621544394415e142
|
|
6175
|
-
],
|
|
6176
|
-
function
|
|
6177
|
-
return e <= 100 ?
|
|
6187
|
+
], Ca = [], wa = [];
|
|
6188
|
+
function G(e) {
|
|
6189
|
+
return e <= 100 ? Sa[e] : Ca[e] > 0 ? Ca[e] : Ca[e] = G(e - 1) * e;
|
|
6178
6190
|
}
|
|
6179
|
-
function
|
|
6180
|
-
return e === 1 || e === 0 ? 1 : e === 2 ? 2 :
|
|
6191
|
+
function Ta(e) {
|
|
6192
|
+
return e === 1 || e === 0 ? 1 : e === 2 ? 2 : wa[e] > 0 ? wa[e] : wa[e] = Ta(e - 2) * e;
|
|
6181
6193
|
}
|
|
6182
|
-
var
|
|
6194
|
+
var Ea = (e) => {
|
|
6183
6195
|
let t = 1, n = e.length;
|
|
6184
6196
|
for (let r = 0; r < n; r++) t *= e[r];
|
|
6185
6197
|
return t;
|
|
6186
|
-
},
|
|
6198
|
+
}, Da = (e, t, n) => e.alignReduce(t, (e, t) => {
|
|
6187
6199
|
let r = t.length;
|
|
6188
6200
|
for (let n = 0; n < r; n++) if (typeof t[n] != "number") return e;
|
|
6189
6201
|
return e + n(t);
|
|
6190
|
-
}, 0),
|
|
6202
|
+
}, 0), Oa = (n) => {
|
|
6203
|
+
if (e.getArgs().getRepeatingArgsAt(0).isOmittedAt(0)) throw t.BuiltIn.NA;
|
|
6204
|
+
if (n.length === 0) throw t.BuiltIn.Value;
|
|
6205
|
+
}, ka = (e, n, r) => {
|
|
6191
6206
|
let i = e.getRowCount(), a = e.getColumnCount();
|
|
6192
6207
|
if (i * a !== n.getRowCount() * n.getColumnCount()) throw t.BuiltIn.NA;
|
|
6193
6208
|
if (i === n.getRowCount() && a === n.getColumnCount() || (n = n.reshape(i, a)), i === 1 && a === 1 && (e.getValueAt(0, 0) === null || n.getValueAt(0, 0) === null)) throw t.BuiltIn.Value;
|
|
6194
|
-
for (let n of e.values(
|
|
6195
|
-
for (let e of n.values(
|
|
6209
|
+
for (let n of e.values(Aa)) if (t.isError(n)) throw n;
|
|
6210
|
+
for (let e of n.values(Aa)) if (t.isError(e)) throw e;
|
|
6196
6211
|
let o = 0, s = e.alignReduce([n], (e, t) => typeof t[0] != "number" || typeof t[1] != "number" ? e : (o++, e + r(t[0], t[1])), 0);
|
|
6197
6212
|
if (o === 0) throw t.BuiltIn.Div0;
|
|
6198
6213
|
return s;
|
|
6199
|
-
},
|
|
6200
|
-
ACOS: () =>
|
|
6201
|
-
ACOSH: () =>
|
|
6202
|
-
ACOT: () =>
|
|
6203
|
-
ACOTH: () =>
|
|
6204
|
-
ASIN: () =>
|
|
6205
|
-
ASINH: () =>
|
|
6206
|
-
ATAN: () =>
|
|
6207
|
-
ATAN2: () =>
|
|
6208
|
-
ATANH: () =>
|
|
6209
|
-
COS: () =>
|
|
6210
|
-
COSH: () =>
|
|
6211
|
-
COT: () =>
|
|
6212
|
-
COTH: () =>
|
|
6213
|
-
CSC: () =>
|
|
6214
|
-
CSCH: () =>
|
|
6215
|
-
SEC: () =>
|
|
6216
|
-
SECH: () =>
|
|
6217
|
-
SIN: () =>
|
|
6218
|
-
SINH: () =>
|
|
6219
|
-
TAN: () =>
|
|
6220
|
-
TANH: () =>
|
|
6214
|
+
}, Aa = { axis: n.Axis.Row }, K = 9007199254740992, ja = p({
|
|
6215
|
+
ACOS: () => Ma,
|
|
6216
|
+
ACOSH: () => Na,
|
|
6217
|
+
ACOT: () => Pa,
|
|
6218
|
+
ACOTH: () => Fa,
|
|
6219
|
+
ASIN: () => Ia,
|
|
6220
|
+
ASINH: () => La,
|
|
6221
|
+
ATAN: () => Ra,
|
|
6222
|
+
ATAN2: () => za,
|
|
6223
|
+
ATANH: () => Ba,
|
|
6224
|
+
COS: () => Va,
|
|
6225
|
+
COSH: () => Ha,
|
|
6226
|
+
COT: () => Ua,
|
|
6227
|
+
COTH: () => Wa,
|
|
6228
|
+
CSC: () => Ga,
|
|
6229
|
+
CSCH: () => Ka,
|
|
6230
|
+
SEC: () => qa,
|
|
6231
|
+
SECH: () => Ja,
|
|
6232
|
+
SIN: () => Ya,
|
|
6233
|
+
SINH: () => Xa,
|
|
6234
|
+
TAN: () => Za,
|
|
6235
|
+
TANH: () => Qa
|
|
6221
6236
|
});
|
|
6222
|
-
function
|
|
6237
|
+
function Ma(e) {
|
|
6223
6238
|
return e > 1 || e < -1 ? NaN : Math.acos(e);
|
|
6224
6239
|
}
|
|
6225
|
-
function
|
|
6240
|
+
function Na(e) {
|
|
6226
6241
|
return e < 1 ? NaN : Math.acosh(e);
|
|
6227
6242
|
}
|
|
6228
|
-
function
|
|
6243
|
+
function Pa(e) {
|
|
6229
6244
|
return Math.PI / 2 - Math.atan(e);
|
|
6230
6245
|
}
|
|
6231
|
-
function
|
|
6246
|
+
function Fa(e) {
|
|
6232
6247
|
return Math.abs(e) <= 1 ? NaN : Math.atanh(1 / e);
|
|
6233
6248
|
}
|
|
6234
|
-
function
|
|
6249
|
+
function Ia(e) {
|
|
6235
6250
|
return e > 1 || e < -1 ? NaN : Math.asin(e);
|
|
6236
6251
|
}
|
|
6237
|
-
function
|
|
6252
|
+
function La(e) {
|
|
6238
6253
|
return Math.asinh(e);
|
|
6239
6254
|
}
|
|
6240
|
-
function
|
|
6255
|
+
function Ra(e) {
|
|
6241
6256
|
return Math.atan(e);
|
|
6242
6257
|
}
|
|
6243
|
-
function
|
|
6258
|
+
function za(e, n) {
|
|
6244
6259
|
if (n === 0 && e === 0) throw t.BuiltIn.Div0;
|
|
6245
6260
|
return Math.atan2(n, e);
|
|
6246
6261
|
}
|
|
6247
|
-
function
|
|
6262
|
+
function Ba(e) {
|
|
6248
6263
|
return Math.abs(e) > 1 ? NaN : Math.atanh(e);
|
|
6249
6264
|
}
|
|
6250
|
-
function
|
|
6251
|
-
return Math.abs(e) >=
|
|
6265
|
+
function Va(e) {
|
|
6266
|
+
return Math.abs(e) >= q ? NaN : Math.cos(e);
|
|
6252
6267
|
}
|
|
6253
|
-
function
|
|
6268
|
+
function Ha(e) {
|
|
6254
6269
|
return Math.cosh(e);
|
|
6255
6270
|
}
|
|
6256
|
-
function
|
|
6257
|
-
if (Math.abs(e) >=
|
|
6271
|
+
function Ua(e) {
|
|
6272
|
+
if (Math.abs(e) >= q) return NaN;
|
|
6258
6273
|
if (e === 0) throw t.BuiltIn.Div0;
|
|
6259
6274
|
return 1 / Math.tan(e);
|
|
6260
6275
|
}
|
|
6261
|
-
function
|
|
6276
|
+
function Wa(e) {
|
|
6262
6277
|
if (e === 0) throw t.BuiltIn.Div0;
|
|
6263
6278
|
return 1 / Math.tanh(e);
|
|
6264
6279
|
}
|
|
6265
|
-
function
|
|
6266
|
-
if (Math.abs(e) >=
|
|
6280
|
+
function Ga(e) {
|
|
6281
|
+
if (Math.abs(e) >= q) return NaN;
|
|
6267
6282
|
if (e === 0) throw t.BuiltIn.Div0;
|
|
6268
6283
|
return 1 / Math.sin(e);
|
|
6269
6284
|
}
|
|
6270
|
-
function
|
|
6285
|
+
function Ka(e) {
|
|
6271
6286
|
if (e === 0) throw t.BuiltIn.Div0;
|
|
6272
6287
|
return 1 / Math.sinh(e);
|
|
6273
6288
|
}
|
|
6274
|
-
function Ga(e) {
|
|
6275
|
-
return Math.abs(e) >= K ? NaN : 1 / Math.cos(e);
|
|
6276
|
-
}
|
|
6277
|
-
function Ka(e) {
|
|
6278
|
-
return 1 / Math.cosh(e);
|
|
6279
|
-
}
|
|
6280
6289
|
function qa(e) {
|
|
6281
|
-
return Math.abs(e) >=
|
|
6290
|
+
return Math.abs(e) >= q ? NaN : 1 / Math.cos(e);
|
|
6282
6291
|
}
|
|
6283
6292
|
function Ja(e) {
|
|
6284
|
-
return Math.
|
|
6293
|
+
return 1 / Math.cosh(e);
|
|
6285
6294
|
}
|
|
6286
6295
|
function Ya(e) {
|
|
6287
|
-
return Math.abs(e) >=
|
|
6296
|
+
return Math.abs(e) >= q ? NaN : Math.sin(e);
|
|
6288
6297
|
}
|
|
6289
6298
|
function Xa(e) {
|
|
6299
|
+
return Math.sinh(e);
|
|
6300
|
+
}
|
|
6301
|
+
function Za(e) {
|
|
6302
|
+
return Math.abs(e) >= q ? NaN : Math.tan(e);
|
|
6303
|
+
}
|
|
6304
|
+
function Qa(e) {
|
|
6290
6305
|
return Math.tanh(e);
|
|
6291
6306
|
}
|
|
6292
|
-
var
|
|
6293
|
-
ADD: () =>
|
|
6294
|
-
DIVIDE: () =>
|
|
6295
|
-
EQ: () =>
|
|
6296
|
-
GT: () =>
|
|
6297
|
-
GTE: () =>
|
|
6298
|
-
ISBETWEEN: () =>
|
|
6299
|
-
LT: () =>
|
|
6300
|
-
LTE: () =>
|
|
6301
|
-
MINUS: () =>
|
|
6302
|
-
MULTIPLY: () =>
|
|
6303
|
-
NE: () =>
|
|
6304
|
-
POW: () =>
|
|
6305
|
-
UMINUS: () =>
|
|
6306
|
-
UNARY_PERCENT: () =>
|
|
6307
|
-
UPLUS: () =>
|
|
6307
|
+
var q = 2 ** 27, $a = p({
|
|
6308
|
+
ADD: () => eo,
|
|
6309
|
+
DIVIDE: () => to,
|
|
6310
|
+
EQ: () => no,
|
|
6311
|
+
GT: () => ro,
|
|
6312
|
+
GTE: () => io,
|
|
6313
|
+
ISBETWEEN: () => ho,
|
|
6314
|
+
LT: () => ao,
|
|
6315
|
+
LTE: () => oo,
|
|
6316
|
+
MINUS: () => so,
|
|
6317
|
+
MULTIPLY: () => co,
|
|
6318
|
+
NE: () => lo,
|
|
6319
|
+
POW: () => uo,
|
|
6320
|
+
UMINUS: () => fo,
|
|
6321
|
+
UNARY_PERCENT: () => po,
|
|
6322
|
+
UPLUS: () => mo
|
|
6308
6323
|
});
|
|
6309
|
-
function
|
|
6324
|
+
function eo(e, t) {
|
|
6310
6325
|
return e + t;
|
|
6311
6326
|
}
|
|
6312
|
-
function
|
|
6327
|
+
function to(e, n) {
|
|
6313
6328
|
if (n === 0) throw t.BuiltIn.Div0;
|
|
6314
6329
|
return e / n;
|
|
6315
6330
|
}
|
|
6316
|
-
function
|
|
6331
|
+
function no(t, n) {
|
|
6317
6332
|
return e.compare(t, n) === 0;
|
|
6318
6333
|
}
|
|
6319
|
-
function
|
|
6334
|
+
function ro(t, n) {
|
|
6320
6335
|
return e.compare(t, n) > 0;
|
|
6321
6336
|
}
|
|
6322
|
-
function
|
|
6337
|
+
function io(t, n) {
|
|
6323
6338
|
return e.compare(t, n) >= 0;
|
|
6324
6339
|
}
|
|
6325
|
-
function
|
|
6340
|
+
function ao(t, n) {
|
|
6326
6341
|
return e.compare(t, n) < 0;
|
|
6327
6342
|
}
|
|
6328
|
-
function
|
|
6343
|
+
function oo(t, n) {
|
|
6329
6344
|
return e.compare(t, n) <= 0;
|
|
6330
6345
|
}
|
|
6331
|
-
function
|
|
6346
|
+
function so(e, t) {
|
|
6332
6347
|
return e - t;
|
|
6333
6348
|
}
|
|
6334
|
-
function
|
|
6349
|
+
function co(e, t) {
|
|
6335
6350
|
return e * t;
|
|
6336
6351
|
}
|
|
6337
|
-
function
|
|
6352
|
+
function lo(t, n) {
|
|
6338
6353
|
return e.compare(t, n) !== 0;
|
|
6339
6354
|
}
|
|
6340
|
-
function
|
|
6355
|
+
function uo(e, n) {
|
|
6341
6356
|
if (e === 0) {
|
|
6342
6357
|
if (n < 0) throw t.BuiltIn.Div0;
|
|
6343
6358
|
if (n === 0) return NaN;
|
|
6344
6359
|
}
|
|
6345
6360
|
return e ** n;
|
|
6346
6361
|
}
|
|
6347
|
-
function
|
|
6362
|
+
function fo(e) {
|
|
6348
6363
|
return -1 * e;
|
|
6349
6364
|
}
|
|
6350
|
-
function
|
|
6351
|
-
return
|
|
6365
|
+
function po(e) {
|
|
6366
|
+
return to(e, 100);
|
|
6352
6367
|
}
|
|
6353
|
-
function
|
|
6368
|
+
function mo(e) {
|
|
6354
6369
|
return e;
|
|
6355
6370
|
}
|
|
6356
|
-
function
|
|
6371
|
+
function ho(e, t, n, r = !0, i = !0) {
|
|
6357
6372
|
return (r ? e >= t : e > t) && (i ? e <= n : e < n);
|
|
6358
6373
|
}
|
|
6359
|
-
var
|
|
6360
|
-
AVEDEV: () =>
|
|
6361
|
-
AVERAGE: () =>
|
|
6362
|
-
AVERAGEA: () =>
|
|
6363
|
-
AVERAGEIF: () =>
|
|
6364
|
-
AVERAGEIFS: () =>
|
|
6365
|
-
AVERAGE_WEIGHTED: () =>
|
|
6366
|
-
COUNT: () =>
|
|
6367
|
-
COUNTA: () =>
|
|
6368
|
-
COUNTBLANK: () =>
|
|
6369
|
-
COUNTIF: () =>
|
|
6370
|
-
COUNTIFS: () =>
|
|
6371
|
-
COUNTUNIQUE: () =>
|
|
6372
|
-
COUNTUNIQUEIFS: () =>
|
|
6373
|
-
LARGE: () =>
|
|
6374
|
-
MAX: () =>
|
|
6375
|
-
MAXA: () =>
|
|
6376
|
-
MAXIF: () =>
|
|
6377
|
-
MAXIFS: () =>
|
|
6378
|
-
MEDIAN: () =>
|
|
6379
|
-
MIN: () =>
|
|
6380
|
-
MINA: () =>
|
|
6381
|
-
MINIF: () =>
|
|
6382
|
-
MINIFS: () =>
|
|
6383
|
-
PERMUT: () =>
|
|
6384
|
-
PERMUTATIONA: () =>
|
|
6385
|
-
SMALL: () =>
|
|
6374
|
+
var go = p({
|
|
6375
|
+
AVEDEV: () => _o,
|
|
6376
|
+
AVERAGE: () => J,
|
|
6377
|
+
AVERAGEA: () => vo,
|
|
6378
|
+
AVERAGEIF: () => yo,
|
|
6379
|
+
AVERAGEIFS: () => bo,
|
|
6380
|
+
AVERAGE_WEIGHTED: () => xo,
|
|
6381
|
+
COUNT: () => So,
|
|
6382
|
+
COUNTA: () => Co,
|
|
6383
|
+
COUNTBLANK: () => wo,
|
|
6384
|
+
COUNTIF: () => To,
|
|
6385
|
+
COUNTIFS: () => Eo,
|
|
6386
|
+
COUNTUNIQUE: () => Do,
|
|
6387
|
+
COUNTUNIQUEIFS: () => Oo,
|
|
6388
|
+
LARGE: () => ko,
|
|
6389
|
+
MAX: () => Ao,
|
|
6390
|
+
MAXA: () => jo,
|
|
6391
|
+
MAXIF: () => Mo,
|
|
6392
|
+
MAXIFS: () => No,
|
|
6393
|
+
MEDIAN: () => Po,
|
|
6394
|
+
MIN: () => Fo,
|
|
6395
|
+
MINA: () => Io,
|
|
6396
|
+
MINIF: () => Lo,
|
|
6397
|
+
MINIFS: () => Ro,
|
|
6398
|
+
PERMUT: () => zo,
|
|
6399
|
+
PERMUTATIONA: () => Bo,
|
|
6400
|
+
SMALL: () => Vo
|
|
6386
6401
|
});
|
|
6387
|
-
function
|
|
6402
|
+
function _o(e) {
|
|
6388
6403
|
let n = 0, r = [];
|
|
6389
6404
|
for (let t of e) for (let e of t.values()) n += e, r.push(e);
|
|
6390
6405
|
let i = r.length;
|
|
@@ -6394,21 +6409,21 @@ function ho(e) {
|
|
|
6394
6409
|
for (let e = 0; e < i; e++) n += Math.abs(r[e] - a);
|
|
6395
6410
|
return n / i;
|
|
6396
6411
|
}
|
|
6397
|
-
function
|
|
6398
|
-
return
|
|
6412
|
+
function J(e) {
|
|
6413
|
+
return Wo(e);
|
|
6399
6414
|
}
|
|
6400
|
-
function
|
|
6401
|
-
return
|
|
6415
|
+
function vo(e) {
|
|
6416
|
+
return Wo(e, Uo);
|
|
6402
6417
|
}
|
|
6403
|
-
function
|
|
6418
|
+
function yo(e, n, r) {
|
|
6404
6419
|
let i = F(e, n, r, (e, t) => typeof t == "number" ? e + 1 : e, I), a = F(e, n, r, g((e, t) => (e === null && (e = 0), typeof t == "number" ? e + t : e)), I);
|
|
6405
6420
|
return t.isError(a) ? a : i ? a / i : t.BuiltIn.Div0;
|
|
6406
6421
|
}
|
|
6407
|
-
function
|
|
6408
|
-
let i =
|
|
6422
|
+
function bo(n, r) {
|
|
6423
|
+
let i = B(e, r, g((e, t) => typeof t == "number" ? e === null ? t : e + t : e), n, null, I), a = B(e, r, (e, t) => typeof t == "number" ? e === null ? 1 : e + 1 : e, n, 0, I);
|
|
6409
6424
|
return t.isError(i) ? i : a === 0 || a === null ? t.BuiltIn.Div0 : i / a;
|
|
6410
6425
|
}
|
|
6411
|
-
function
|
|
6426
|
+
function xo(e) {
|
|
6412
6427
|
let n = 0, r = 0, i = e.length;
|
|
6413
6428
|
for (let a = 0; a < i; a++) {
|
|
6414
6429
|
let [i, o] = e[a], s = i.getRowCount() * i.getColumnCount();
|
|
@@ -6423,31 +6438,31 @@ function yo(e) {
|
|
|
6423
6438
|
if (r === 0) throw t.BuiltIn.Div0;
|
|
6424
6439
|
return n / r;
|
|
6425
6440
|
}
|
|
6426
|
-
function
|
|
6441
|
+
function So(e) {
|
|
6427
6442
|
let t = 0;
|
|
6428
6443
|
for (let n of e) t += n.getStats().getAggregates().numericalCount ?? 0;
|
|
6429
6444
|
return t;
|
|
6430
6445
|
}
|
|
6431
|
-
function
|
|
6446
|
+
function Co(e) {
|
|
6432
6447
|
let t = 0;
|
|
6433
6448
|
for (let n of e) t += n.getStats().getAggregates().count ?? 0;
|
|
6434
6449
|
return t;
|
|
6435
6450
|
}
|
|
6436
|
-
function
|
|
6451
|
+
function wo(e) {
|
|
6437
6452
|
return e.getColumnCount() * e.getRowCount() - (e.getStats().getAggregates().count ?? 0);
|
|
6438
6453
|
}
|
|
6439
|
-
function
|
|
6454
|
+
function To(e, t) {
|
|
6440
6455
|
return F(e, t, void 0, (e) => e === null ? 1 : e + 1, Gn);
|
|
6441
6456
|
}
|
|
6442
|
-
function
|
|
6443
|
-
return
|
|
6457
|
+
function Eo(t) {
|
|
6458
|
+
return B(e, t, (e) => e === null ? 1 : e + 1, void 0, 0, Gn);
|
|
6444
6459
|
}
|
|
6445
|
-
function
|
|
6460
|
+
function Do(e) {
|
|
6446
6461
|
let t = /* @__PURE__ */ new Set(), n = e.length;
|
|
6447
|
-
for (let r = 0; r < n; r++) for (let n of e[r].values()) t.add(
|
|
6462
|
+
for (let r = 0; r < n; r++) for (let n of e[r].values()) t.add(Ho(n));
|
|
6448
6463
|
return t.size;
|
|
6449
6464
|
}
|
|
6450
|
-
function
|
|
6465
|
+
function Oo(n, r) {
|
|
6451
6466
|
let i = n.getRowCount(), a = n.getColumnCount(), o = r.length, s = Array(o), c = Array(o);
|
|
6452
6467
|
for (let n = 0; n < o; n++) {
|
|
6453
6468
|
let o = r[n][0];
|
|
@@ -6459,30 +6474,30 @@ function Eo(n, r) {
|
|
|
6459
6474
|
let n = t[0];
|
|
6460
6475
|
if (n === null) return e;
|
|
6461
6476
|
for (let n = 0; n < o; n++) if (!c[n](t[n + 1])) return e;
|
|
6462
|
-
return l.add(
|
|
6477
|
+
return l.add(Ho(n)), e;
|
|
6463
6478
|
}, null), l.size;
|
|
6464
6479
|
}
|
|
6465
|
-
function
|
|
6480
|
+
function ko(e, t) {
|
|
6466
6481
|
let n = e.getStats().getSortedNumbers().getLarge(t);
|
|
6467
6482
|
return n === null ? NaN : n;
|
|
6468
6483
|
}
|
|
6469
|
-
function
|
|
6484
|
+
function Ao(e) {
|
|
6470
6485
|
let t = -(2 ** 53 - 1);
|
|
6471
6486
|
for (let n of e) t = Math.max(n.getStats().getAggregates().max ?? 0, t);
|
|
6472
6487
|
return t === -(2 ** 53 - 1) ? 0 : t;
|
|
6473
6488
|
}
|
|
6474
|
-
function
|
|
6489
|
+
function jo(e) {
|
|
6475
6490
|
let t = 0;
|
|
6476
|
-
for (let n of e) t = Math.max(n.getStats(
|
|
6491
|
+
for (let n of e) t = Math.max(n.getStats(Uo).getAggregates().max ?? 0, t);
|
|
6477
6492
|
return t;
|
|
6478
6493
|
}
|
|
6479
|
-
function
|
|
6494
|
+
function Mo(e, t, n) {
|
|
6480
6495
|
return F(e, t, n, g((e, t) => typeof t == "number" ? e === null ? t : Math.max(e, t) : e ?? 0), I);
|
|
6481
6496
|
}
|
|
6482
|
-
function
|
|
6483
|
-
return
|
|
6497
|
+
function No(t, n) {
|
|
6498
|
+
return B(e, n, g((e, t) => typeof t == "number" ? e === null ? t : Math.max(e, t) : e), t, 0, I);
|
|
6484
6499
|
}
|
|
6485
|
-
function
|
|
6500
|
+
function Po(e) {
|
|
6486
6501
|
let t = [];
|
|
6487
6502
|
for (let n of e) for (let e of n.values()) t.push(e);
|
|
6488
6503
|
if (t.length === 0) return NaN;
|
|
@@ -6494,45 +6509,45 @@ function Mo(e) {
|
|
|
6494
6509
|
}
|
|
6495
6510
|
return t[Math.floor(n / 2)];
|
|
6496
6511
|
}
|
|
6497
|
-
function
|
|
6512
|
+
function Fo(e) {
|
|
6498
6513
|
let t = 2 ** 53 - 1;
|
|
6499
6514
|
for (let n of e) t = Math.min(n.getStats().getAggregates().min ?? 0, t);
|
|
6500
6515
|
return t === 2 ** 53 - 1 ? 0 : t;
|
|
6501
6516
|
}
|
|
6502
|
-
function
|
|
6517
|
+
function Io(e) {
|
|
6503
6518
|
let t = 2 ** 53 - 1;
|
|
6504
|
-
for (let n of e) t = Math.min(n.getStats(
|
|
6519
|
+
for (let n of e) t = Math.min(n.getStats(Uo).getAggregates().min ?? t, t);
|
|
6505
6520
|
return t === 2 ** 53 - 1 ? 0 : t;
|
|
6506
6521
|
}
|
|
6507
|
-
function
|
|
6522
|
+
function Lo(e, t, n) {
|
|
6508
6523
|
return F(e, t, n, g((e, t) => typeof t == "number" ? e === null ? t : Math.min(e, t) : e ?? 0), I);
|
|
6509
6524
|
}
|
|
6510
|
-
function
|
|
6511
|
-
return
|
|
6525
|
+
function Ro(t, n) {
|
|
6526
|
+
return B(e, n, g((e, t) => typeof t == "number" ? e === null ? t : Math.min(e, t) : e), t, 0, I);
|
|
6512
6527
|
}
|
|
6513
|
-
function
|
|
6528
|
+
function zo(e, t) {
|
|
6514
6529
|
if (e = Math.trunc(e), t = Math.trunc(t), e < 0 || t < 0 || t > e) return NaN;
|
|
6515
6530
|
let n = 1;
|
|
6516
6531
|
for (let r = e; r > e - t; r--) n *= r;
|
|
6517
6532
|
return n;
|
|
6518
6533
|
}
|
|
6519
|
-
function
|
|
6534
|
+
function Bo(e, t) {
|
|
6520
6535
|
return e = Math.trunc(e), t = Math.trunc(t), e < 0 || t < 0 ? NaN : e ** +t;
|
|
6521
6536
|
}
|
|
6522
|
-
function
|
|
6537
|
+
function Vo(e, t) {
|
|
6523
6538
|
let n = e.getStats().getSortedNumbers().getSmall(t);
|
|
6524
6539
|
return n === null ? NaN : n;
|
|
6525
6540
|
}
|
|
6526
|
-
var
|
|
6541
|
+
var Ho = (e) => {
|
|
6527
6542
|
if (e === null) return "\0";
|
|
6528
6543
|
let n = typeof e;
|
|
6529
6544
|
return n === "number" ? "" + e.toString() : n === "string" ? "" + e : n === "boolean" ? "" + (e ? "1" : "0") : t.isError(e) ? "" + e.getCode() : "" + String(e);
|
|
6530
|
-
},
|
|
6545
|
+
}, Uo = Object.freeze({ coerce: (e, n, r, a) => {
|
|
6531
6546
|
if (n === i.String) return 0;
|
|
6532
6547
|
if (n === i.Boolean) return a.isLiteral() ? null : +!!e;
|
|
6533
6548
|
if (t.isError(e)) throw e;
|
|
6534
6549
|
return null;
|
|
6535
|
-
} }),
|
|
6550
|
+
} }), Wo = (e, n) => {
|
|
6536
6551
|
let r = 0, i = 0, a = null;
|
|
6537
6552
|
for (let t of e) {
|
|
6538
6553
|
let e = t.getStats(n), o = e.getAggregates();
|
|
@@ -6540,151 +6555,151 @@ var Bo = (e) => {
|
|
|
6540
6555
|
}
|
|
6541
6556
|
if (i === 0) throw t.BuiltIn.Div0;
|
|
6542
6557
|
return (a ? a.getSnappedSum(r) : r) / i;
|
|
6543
|
-
},
|
|
6544
|
-
BETADIST: () =>
|
|
6545
|
-
BETAINV: () =>
|
|
6546
|
-
BETA_DIST: () =>
|
|
6547
|
-
BETA_INV: () =>
|
|
6548
|
-
BINOMDIST: () =>
|
|
6549
|
-
BINOM_DIST: () =>
|
|
6550
|
-
BINOM_DIST_RANGE: () =>
|
|
6551
|
-
BINOM_INV: () =>
|
|
6552
|
-
CHIDIST: () =>
|
|
6553
|
-
CHIINV: () =>
|
|
6554
|
-
CHISQ_DIST: () =>
|
|
6555
|
-
CHISQ_DIST_RT: () =>
|
|
6556
|
-
CHISQ_INV: () =>
|
|
6557
|
-
CHISQ_INV_RT: () =>
|
|
6558
|
-
CHISQ_TEST: () =>
|
|
6559
|
-
CHITEST: () =>
|
|
6560
|
-
CONFIDENCE: () =>
|
|
6561
|
-
CONFIDENCE_NORM: () =>
|
|
6562
|
-
CONFIDENCE_T: () =>
|
|
6563
|
-
CORREL: () =>
|
|
6564
|
-
COVAR: () =>
|
|
6565
|
-
COVARIANCE_P: () =>
|
|
6566
|
-
COVARIANCE_S: () =>
|
|
6567
|
-
CRITBINOM: () =>
|
|
6568
|
-
DEVSQ: () =>
|
|
6569
|
-
EXPONDIST: () =>
|
|
6570
|
-
EXPON_DIST: () =>
|
|
6571
|
-
FDIST: () =>
|
|
6572
|
-
FINV: () =>
|
|
6573
|
-
FISHER: () =>
|
|
6574
|
-
FISHERINV: () =>
|
|
6575
|
-
FORECAST: () =>
|
|
6576
|
-
FORECAST_LINEAR: () =>
|
|
6577
|
-
FREQUENCY: () =>
|
|
6578
|
-
FTEST: () =>
|
|
6579
|
-
F_DIST: () =>
|
|
6580
|
-
F_DIST_RT: () =>
|
|
6581
|
-
F_INV: () =>
|
|
6582
|
-
F_INV_RT: () =>
|
|
6583
|
-
F_TEST: () =>
|
|
6584
|
-
GAMMA: () =>
|
|
6585
|
-
GAMMADIST: () =>
|
|
6586
|
-
GAMMAINV: () =>
|
|
6587
|
-
GAMMALN: () =>
|
|
6588
|
-
GAMMALN_PRECISE: () =>
|
|
6589
|
-
GAMMA_DIST: () =>
|
|
6590
|
-
GAMMA_INV: () =>
|
|
6591
|
-
GAUSS: () =>
|
|
6592
|
-
GEOMEAN: () =>
|
|
6593
|
-
HARMEAN: () =>
|
|
6594
|
-
HYPGEOMDIST: () =>
|
|
6595
|
-
HYPGEOM_DIST: () =>
|
|
6596
|
-
INTERCEPT: () =>
|
|
6597
|
-
KURT: () =>
|
|
6598
|
-
LOGINV: () =>
|
|
6599
|
-
LOGNORMDIST: () =>
|
|
6600
|
-
LOGNORM_DIST: () =>
|
|
6601
|
-
LOGNORM_INV: () =>
|
|
6602
|
-
MODE: () =>
|
|
6603
|
-
MODE_MULT: () =>
|
|
6604
|
-
MODE_SNGL: () =>
|
|
6605
|
-
NEGBINOMDIST: () =>
|
|
6606
|
-
NEGBINOM_DIST: () =>
|
|
6607
|
-
NORMDIST: () =>
|
|
6608
|
-
NORMINV: () =>
|
|
6609
|
-
NORMSDIST: () =>
|
|
6610
|
-
NORMSINV: () =>
|
|
6611
|
-
NORM_DIST: () =>
|
|
6612
|
-
NORM_INV: () =>
|
|
6613
|
-
NORM_S_DIST: () =>
|
|
6614
|
-
NORM_S_INV: () =>
|
|
6615
|
-
PEARSON: () =>
|
|
6616
|
-
PERCENTILE: () =>
|
|
6617
|
-
PERCENTILE_EXC: () =>
|
|
6618
|
-
PERCENTILE_INC: () =>
|
|
6619
|
-
PERCENTRANK: () =>
|
|
6620
|
-
PERCENTRANK_EXC: () =>
|
|
6621
|
-
PERCENTRANK_INC: () =>
|
|
6622
|
-
PHI: () =>
|
|
6623
|
-
POISSON: () =>
|
|
6624
|
-
POISSON_DIST: () =>
|
|
6625
|
-
PROB: () =>
|
|
6626
|
-
QUARTILE: () =>
|
|
6627
|
-
QUARTILE_EXC: () =>
|
|
6628
|
-
QUARTILE_INC: () =>
|
|
6629
|
-
RANK: () =>
|
|
6630
|
-
RANK_AVG: () =>
|
|
6631
|
-
RANK_EQ: () =>
|
|
6632
|
-
RSQ: () =>
|
|
6633
|
-
SKEW: () =>
|
|
6634
|
-
SKEW_P: () =>
|
|
6635
|
-
SLOPE: () =>
|
|
6636
|
-
STANDARDIZE: () =>
|
|
6637
|
-
STDEV: () =>
|
|
6638
|
-
STDEVA: () =>
|
|
6639
|
-
STDEVP: () =>
|
|
6640
|
-
STDEVPA: () =>
|
|
6641
|
-
STDEV_P: () =>
|
|
6642
|
-
STDEV_S: () =>
|
|
6643
|
-
STEYX: () =>
|
|
6644
|
-
TDIST: () =>
|
|
6645
|
-
TINV: () =>
|
|
6646
|
-
TRIMMEAN: () =>
|
|
6647
|
-
T_DIST: () =>
|
|
6648
|
-
T_DIST_2T: () =>
|
|
6649
|
-
T_DIST_RT: () =>
|
|
6650
|
-
T_INV: () =>
|
|
6651
|
-
T_INV_2T: () =>
|
|
6652
|
-
VAR: () =>
|
|
6653
|
-
VARA: () =>
|
|
6654
|
-
VARP: () =>
|
|
6655
|
-
VARPA: () =>
|
|
6656
|
-
VAR_P: () =>
|
|
6657
|
-
VAR_S: () =>
|
|
6658
|
-
WEIBULL: () =>
|
|
6659
|
-
WEIBULL_DIST: () =>
|
|
6660
|
-
ZTEST: () =>
|
|
6661
|
-
Z_TEST: () =>
|
|
6558
|
+
}, Go = p({
|
|
6559
|
+
BETADIST: () => qo,
|
|
6560
|
+
BETAINV: () => Yo,
|
|
6561
|
+
BETA_DIST: () => Ko,
|
|
6562
|
+
BETA_INV: () => Jo,
|
|
6563
|
+
BINOMDIST: () => Zo,
|
|
6564
|
+
BINOM_DIST: () => Xo,
|
|
6565
|
+
BINOM_DIST_RANGE: () => Qo,
|
|
6566
|
+
BINOM_INV: () => $o,
|
|
6567
|
+
CHIDIST: () => ts,
|
|
6568
|
+
CHIINV: () => is,
|
|
6569
|
+
CHISQ_DIST: () => es,
|
|
6570
|
+
CHISQ_DIST_RT: () => ns,
|
|
6571
|
+
CHISQ_INV: () => rs,
|
|
6572
|
+
CHISQ_INV_RT: () => as,
|
|
6573
|
+
CHISQ_TEST: () => os,
|
|
6574
|
+
CHITEST: () => ss,
|
|
6575
|
+
CONFIDENCE: () => ls,
|
|
6576
|
+
CONFIDENCE_NORM: () => cs,
|
|
6577
|
+
CONFIDENCE_T: () => us,
|
|
6578
|
+
CORREL: () => ds,
|
|
6579
|
+
COVAR: () => fs,
|
|
6580
|
+
COVARIANCE_P: () => ps,
|
|
6581
|
+
COVARIANCE_S: () => ms,
|
|
6582
|
+
CRITBINOM: () => hs,
|
|
6583
|
+
DEVSQ: () => gs,
|
|
6584
|
+
EXPONDIST: () => vs,
|
|
6585
|
+
EXPON_DIST: () => _s,
|
|
6586
|
+
FDIST: () => bs,
|
|
6587
|
+
FINV: () => Cs,
|
|
6588
|
+
FISHER: () => Ds,
|
|
6589
|
+
FISHERINV: () => Os,
|
|
6590
|
+
FORECAST: () => ks,
|
|
6591
|
+
FORECAST_LINEAR: () => As,
|
|
6592
|
+
FREQUENCY: () => js,
|
|
6593
|
+
FTEST: () => Es,
|
|
6594
|
+
F_DIST: () => ys,
|
|
6595
|
+
F_DIST_RT: () => xs,
|
|
6596
|
+
F_INV: () => Ss,
|
|
6597
|
+
F_INV_RT: () => ws,
|
|
6598
|
+
F_TEST: () => Ts,
|
|
6599
|
+
GAMMA: () => Ms,
|
|
6600
|
+
GAMMADIST: () => Ps,
|
|
6601
|
+
GAMMAINV: () => Is,
|
|
6602
|
+
GAMMALN: () => Ls,
|
|
6603
|
+
GAMMALN_PRECISE: () => Rs,
|
|
6604
|
+
GAMMA_DIST: () => Ns,
|
|
6605
|
+
GAMMA_INV: () => Fs,
|
|
6606
|
+
GAUSS: () => zs,
|
|
6607
|
+
GEOMEAN: () => Bs,
|
|
6608
|
+
HARMEAN: () => Vs,
|
|
6609
|
+
HYPGEOMDIST: () => Us,
|
|
6610
|
+
HYPGEOM_DIST: () => Hs,
|
|
6611
|
+
INTERCEPT: () => Ws,
|
|
6612
|
+
KURT: () => Gs,
|
|
6613
|
+
LOGINV: () => Ys,
|
|
6614
|
+
LOGNORMDIST: () => qs,
|
|
6615
|
+
LOGNORM_DIST: () => Ks,
|
|
6616
|
+
LOGNORM_INV: () => Js,
|
|
6617
|
+
MODE: () => Xs,
|
|
6618
|
+
MODE_MULT: () => Zs,
|
|
6619
|
+
MODE_SNGL: () => Qs,
|
|
6620
|
+
NEGBINOMDIST: () => ec,
|
|
6621
|
+
NEGBINOM_DIST: () => $s,
|
|
6622
|
+
NORMDIST: () => nc,
|
|
6623
|
+
NORMINV: () => ic,
|
|
6624
|
+
NORMSDIST: () => oc,
|
|
6625
|
+
NORMSINV: () => cc,
|
|
6626
|
+
NORM_DIST: () => tc,
|
|
6627
|
+
NORM_INV: () => rc,
|
|
6628
|
+
NORM_S_DIST: () => ac,
|
|
6629
|
+
NORM_S_INV: () => sc,
|
|
6630
|
+
PEARSON: () => lc,
|
|
6631
|
+
PERCENTILE: () => uc,
|
|
6632
|
+
PERCENTILE_EXC: () => dc,
|
|
6633
|
+
PERCENTILE_INC: () => fc,
|
|
6634
|
+
PERCENTRANK: () => pc,
|
|
6635
|
+
PERCENTRANK_EXC: () => mc,
|
|
6636
|
+
PERCENTRANK_INC: () => hc,
|
|
6637
|
+
PHI: () => gc,
|
|
6638
|
+
POISSON: () => vc,
|
|
6639
|
+
POISSON_DIST: () => _c,
|
|
6640
|
+
PROB: () => yc,
|
|
6641
|
+
QUARTILE: () => bc,
|
|
6642
|
+
QUARTILE_EXC: () => xc,
|
|
6643
|
+
QUARTILE_INC: () => Sc,
|
|
6644
|
+
RANK: () => Cc,
|
|
6645
|
+
RANK_AVG: () => wc,
|
|
6646
|
+
RANK_EQ: () => Tc,
|
|
6647
|
+
RSQ: () => Ec,
|
|
6648
|
+
SKEW: () => Dc,
|
|
6649
|
+
SKEW_P: () => Oc,
|
|
6650
|
+
SLOPE: () => kc,
|
|
6651
|
+
STANDARDIZE: () => Ac,
|
|
6652
|
+
STDEV: () => Mc,
|
|
6653
|
+
STDEVA: () => Fc,
|
|
6654
|
+
STDEVP: () => Pc,
|
|
6655
|
+
STDEVPA: () => Ic,
|
|
6656
|
+
STDEV_P: () => Nc,
|
|
6657
|
+
STDEV_S: () => jc,
|
|
6658
|
+
STEYX: () => Lc,
|
|
6659
|
+
TDIST: () => zc,
|
|
6660
|
+
TINV: () => Uc,
|
|
6661
|
+
TRIMMEAN: () => Gc,
|
|
6662
|
+
T_DIST: () => Rc,
|
|
6663
|
+
T_DIST_2T: () => Bc,
|
|
6664
|
+
T_DIST_RT: () => Vc,
|
|
6665
|
+
T_INV: () => Hc,
|
|
6666
|
+
T_INV_2T: () => Wc,
|
|
6667
|
+
VAR: () => Xc,
|
|
6668
|
+
VARA: () => Zc,
|
|
6669
|
+
VARP: () => Jc,
|
|
6670
|
+
VARPA: () => Qc,
|
|
6671
|
+
VAR_P: () => qc,
|
|
6672
|
+
VAR_S: () => Yc,
|
|
6673
|
+
WEIBULL: () => el,
|
|
6674
|
+
WEIBULL_DIST: () => $c,
|
|
6675
|
+
ZTEST: () => nl,
|
|
6676
|
+
Z_TEST: () => tl
|
|
6662
6677
|
});
|
|
6663
|
-
function
|
|
6678
|
+
function Ko(e, t, n, r, i = 0, a = 1) {
|
|
6664
6679
|
return t <= 0 || n <= 0 || e < i || e > a || i === a ? NaN : (e = (e - i) / (a - i), r ? O.default.beta.cdf(e, t, n) : O.default.beta.pdf(e, t, n) / (a - i));
|
|
6665
6680
|
}
|
|
6666
|
-
function
|
|
6667
|
-
return
|
|
6681
|
+
function qo(e, t, n, r = 0, i = 1) {
|
|
6682
|
+
return Ko(e, t, n, !0, r, i);
|
|
6668
6683
|
}
|
|
6669
|
-
function
|
|
6684
|
+
function Jo(e, t, n, r = 0, i = 1) {
|
|
6670
6685
|
return t <= 0 || n <= 0 || e < 0 || e > 1 ? NaN : O.default.beta.inv(e, t, n) * (i - r) + r;
|
|
6671
6686
|
}
|
|
6672
|
-
function
|
|
6673
|
-
return
|
|
6687
|
+
function Yo(e, t, n, r = 0, i = 1) {
|
|
6688
|
+
return Jo(e, t, n, r, i);
|
|
6674
6689
|
}
|
|
6675
|
-
function
|
|
6690
|
+
function Xo(e, t, n, r) {
|
|
6676
6691
|
return t < 0 || n < 0 || n > 1 || e < 0 || e > t ? NaN : r ? O.default.binomial.cdf(e, t, n) : O.default.binomial.pdf(e, t, n);
|
|
6677
6692
|
}
|
|
6678
|
-
function
|
|
6679
|
-
return
|
|
6693
|
+
function Zo(e, t, n, r) {
|
|
6694
|
+
return Xo(e, t, n, r);
|
|
6680
6695
|
}
|
|
6681
|
-
function
|
|
6696
|
+
function Qo(e, t, n, r = n) {
|
|
6682
6697
|
if (e < 0 || t < 0 || t > 1 || n < 0 || n > e || r < n || r > e) return NaN;
|
|
6683
6698
|
let i = 0;
|
|
6684
|
-
for (let a = n; a <= r; a++) i +=
|
|
6699
|
+
for (let a = n; a <= r; a++) i += H(e, a) * t ** +a * (1 - t) ** (e - a);
|
|
6685
6700
|
return i;
|
|
6686
6701
|
}
|
|
6687
|
-
function
|
|
6702
|
+
function $o(e, t, n) {
|
|
6688
6703
|
if (e < 0 || t < 0 || t > 1 || n <= 0 || n >= 1) return NaN;
|
|
6689
6704
|
let r = 0;
|
|
6690
6705
|
for (; r <= e;) {
|
|
@@ -6693,25 +6708,25 @@ function Zo(e, t, n) {
|
|
|
6693
6708
|
}
|
|
6694
6709
|
return NaN;
|
|
6695
6710
|
}
|
|
6696
|
-
function
|
|
6711
|
+
function es(e, t, n) {
|
|
6697
6712
|
return e < 0 || t < 1 || t > 10 ** 10 ? NaN : n ? O.default.chisquare.cdf(e, t) : O.default.chisquare.pdf(e, t);
|
|
6698
6713
|
}
|
|
6699
|
-
function
|
|
6700
|
-
return
|
|
6714
|
+
function ts(e, t) {
|
|
6715
|
+
return ns(e, t);
|
|
6701
6716
|
}
|
|
6702
|
-
function
|
|
6717
|
+
function ns(e, t) {
|
|
6703
6718
|
return t = Math.trunc(t), e < 0 || t < 1 || t > 10 ** 10 ? NaN : 1 - O.default.chisquare.cdf(e, t);
|
|
6704
6719
|
}
|
|
6705
|
-
function
|
|
6720
|
+
function rs(e, t) {
|
|
6706
6721
|
return t = Math.trunc(t), e < 0 || e > 1 || t < 1 || t > 10 ** 10 ? NaN : O.default.chisquare.inv(e, t);
|
|
6707
6722
|
}
|
|
6708
|
-
function
|
|
6709
|
-
return
|
|
6723
|
+
function is(e, t) {
|
|
6724
|
+
return as(e, t);
|
|
6710
6725
|
}
|
|
6711
|
-
function
|
|
6726
|
+
function as(e, t) {
|
|
6712
6727
|
return t = Math.trunc(t), e < 0 || e > 1 || t < 1 || t > 10 ** 10 ? NaN : O.default.chisquare.inv(1 - e, t);
|
|
6713
6728
|
}
|
|
6714
|
-
function
|
|
6729
|
+
function os(e, n) {
|
|
6715
6730
|
let r = e.getRowCount(), i = e.getColumnCount();
|
|
6716
6731
|
if (r * i !== n.getRowCount() * n.getColumnCount() || (h(e), h(n), r === 1 && i === 1)) throw t.BuiltIn.NA;
|
|
6717
6732
|
let a;
|
|
@@ -6724,38 +6739,38 @@ function is(e, n) {
|
|
|
6724
6739
|
o += (e - n) ** 2 / n;
|
|
6725
6740
|
}
|
|
6726
6741
|
}
|
|
6727
|
-
return
|
|
6742
|
+
return ns(o, a);
|
|
6728
6743
|
}
|
|
6729
|
-
function
|
|
6730
|
-
return
|
|
6744
|
+
function ss(e, t) {
|
|
6745
|
+
return os(e, t);
|
|
6731
6746
|
}
|
|
6732
|
-
function
|
|
6747
|
+
function cs(e, t, n) {
|
|
6733
6748
|
return n = Math.trunc(n), e <= 0 || e >= 1 || t <= 0 || n < 1 ? NaN : O.default.normalci(1, e, t, n)[1] - 1;
|
|
6734
6749
|
}
|
|
6735
|
-
function
|
|
6736
|
-
return
|
|
6750
|
+
function ls(e, t, n) {
|
|
6751
|
+
return cs(e, t, n);
|
|
6737
6752
|
}
|
|
6738
|
-
function
|
|
6753
|
+
function us(e, n, r) {
|
|
6739
6754
|
if (r = Math.trunc(r), e <= 0 || e >= 1 || n <= 0 || r < 1) return NaN;
|
|
6740
6755
|
if (r === 1) throw t.BuiltIn.Div0;
|
|
6741
6756
|
return O.default.tci(1, e, n, r)[1] - 1;
|
|
6742
6757
|
}
|
|
6743
|
-
function
|
|
6744
|
-
let r =
|
|
6758
|
+
function ds(e, n) {
|
|
6759
|
+
let r = Y(e, n);
|
|
6745
6760
|
return t.isError(r) ? r : r === null ? t.BuiltIn.NA : r.ssX === 0 || r.ssY === 0 ? t.BuiltIn.Div0 : r.ssXY / Math.sqrt(r.ssX * r.ssY);
|
|
6746
6761
|
}
|
|
6747
|
-
function
|
|
6748
|
-
return
|
|
6762
|
+
function fs(e, t) {
|
|
6763
|
+
return ps(e, t);
|
|
6749
6764
|
}
|
|
6750
|
-
function
|
|
6751
|
-
let r =
|
|
6765
|
+
function ps(e, n) {
|
|
6766
|
+
let r = Y(e, n);
|
|
6752
6767
|
return t.isError(r) ? r : r === null ? t.BuiltIn.NA : r.n === 0 ? t.BuiltIn.Div0 : r.ssXY / r.n;
|
|
6753
6768
|
}
|
|
6754
|
-
function
|
|
6755
|
-
let r =
|
|
6769
|
+
function ms(e, n) {
|
|
6770
|
+
let r = Y(e, n);
|
|
6756
6771
|
return t.isError(r) ? r : r === null ? t.BuiltIn.NA : r.n <= 1 ? t.BuiltIn.Div0 : r.ssXY / (r.n - 1);
|
|
6757
6772
|
}
|
|
6758
|
-
function
|
|
6773
|
+
function hs(e, t, n) {
|
|
6759
6774
|
if ((e = Math.floor(e)) < 0 || t < 0 || t > 1 || n <= 0 || n >= 1) return NaN;
|
|
6760
6775
|
let r = 0, i = e;
|
|
6761
6776
|
for (; r < i;) {
|
|
@@ -6764,7 +6779,7 @@ function ps(e, t, n) {
|
|
|
6764
6779
|
}
|
|
6765
6780
|
return r;
|
|
6766
6781
|
}
|
|
6767
|
-
function
|
|
6782
|
+
function gs(e) {
|
|
6768
6783
|
let t = 0, n = [];
|
|
6769
6784
|
for (let r of e) for (let e of r.values()) t += e, n.push(e);
|
|
6770
6785
|
let r = n.length, i = t / r;
|
|
@@ -6772,31 +6787,31 @@ function ms(e) {
|
|
|
6772
6787
|
for (let e = 0; e < r; e++) t += (n[e] - i) ** 2;
|
|
6773
6788
|
return t;
|
|
6774
6789
|
}
|
|
6775
|
-
function
|
|
6790
|
+
function _s(e, t, n) {
|
|
6776
6791
|
return e < 0 || t <= 0 ? NaN : n ? O.default.exponential.cdf(e, t) : O.default.exponential.pdf(e, t);
|
|
6777
6792
|
}
|
|
6778
|
-
function
|
|
6779
|
-
return
|
|
6793
|
+
function vs(e, t, n) {
|
|
6794
|
+
return _s(e, t, n);
|
|
6780
6795
|
}
|
|
6781
|
-
function
|
|
6796
|
+
function ys(e, t, n, r) {
|
|
6782
6797
|
return e < 0 || t < 1 || n < 1 ? NaN : (t = Math.trunc(t), n = Math.trunc(n), r ? O.default.centralF.cdf(e, t, n) : O.default.centralF.pdf(e, t, n));
|
|
6783
6798
|
}
|
|
6784
|
-
function
|
|
6785
|
-
return
|
|
6799
|
+
function bs(e, t, n) {
|
|
6800
|
+
return xs(e, t, n);
|
|
6786
6801
|
}
|
|
6787
|
-
function
|
|
6802
|
+
function xs(e, t, n) {
|
|
6788
6803
|
return e < 0 || t < 1 || n < 1 ? NaN : (t = Math.trunc(t), n = Math.trunc(n), 1 - O.default.centralF.cdf(e, t, n));
|
|
6789
6804
|
}
|
|
6790
|
-
function
|
|
6805
|
+
function Ss(e, t, n) {
|
|
6791
6806
|
return e < 0 || e > 1 || t < 1 || n < 1 ? NaN : (t = Math.trunc(t), n = Math.trunc(n), O.default.centralF.inv(e, t, n));
|
|
6792
6807
|
}
|
|
6793
|
-
function
|
|
6794
|
-
return
|
|
6808
|
+
function Cs(e, t, n) {
|
|
6809
|
+
return ws(e, t, n);
|
|
6795
6810
|
}
|
|
6796
|
-
function
|
|
6811
|
+
function ws(e, t, n) {
|
|
6797
6812
|
return e < 0 || e > 1 || t < 1 || t >= 10 ** 10 || n < 1 || n >= 10 ** 10 ? NaN : (t = Math.trunc(t), n = Math.trunc(n), O.default.centralF.inv(1 - e, t, n));
|
|
6798
6813
|
}
|
|
6799
|
-
function
|
|
6814
|
+
function Ts(e, n) {
|
|
6800
6815
|
let r = [], i = [];
|
|
6801
6816
|
for (let [t, a] of [[e, r], [n, i]]) t.forEach((e) => {
|
|
6802
6817
|
typeof e == "number" && a.push(e);
|
|
@@ -6814,29 +6829,29 @@ function Cs(e, n) {
|
|
|
6814
6829
|
let l = O.default.centralF.cdf(s / c, r.length - 1, i.length - 1);
|
|
6815
6830
|
return 2 * Math.min(l, 1 - l);
|
|
6816
6831
|
}
|
|
6817
|
-
function
|
|
6818
|
-
return
|
|
6832
|
+
function Es(e, t) {
|
|
6833
|
+
return Ts(e, t);
|
|
6819
6834
|
}
|
|
6820
|
-
function
|
|
6835
|
+
function Ds(e) {
|
|
6821
6836
|
if (e === 1 || e === -1) throw t.BuiltIn.Div0;
|
|
6822
6837
|
return Math.log((1 + e) / (1 - e)) / 2;
|
|
6823
6838
|
}
|
|
6824
|
-
function
|
|
6839
|
+
function Os(e) {
|
|
6825
6840
|
let t = Math.exp(2 * e);
|
|
6826
6841
|
return (t - 1) / (t + 1);
|
|
6827
6842
|
}
|
|
6828
|
-
function
|
|
6829
|
-
return
|
|
6843
|
+
function ks(e, t, n) {
|
|
6844
|
+
return As(e, t, n);
|
|
6830
6845
|
}
|
|
6831
|
-
function
|
|
6832
|
-
let i =
|
|
6846
|
+
function As(e, n, r) {
|
|
6847
|
+
let i = Y(n, r);
|
|
6833
6848
|
if (t.isError(i)) return i;
|
|
6834
6849
|
if (i === null || i.n === 0) return t.BuiltIn.NA;
|
|
6835
6850
|
if (i.ssX === 0) return t.BuiltIn.Div0;
|
|
6836
6851
|
let a = i.ssXY / i.ssX;
|
|
6837
6852
|
return i.yMean - a * i.xMean + a * e;
|
|
6838
6853
|
}
|
|
6839
|
-
function
|
|
6854
|
+
function js(e, t) {
|
|
6840
6855
|
let n = [];
|
|
6841
6856
|
for (let e of t.values()) typeof e == "number" && n.push(e);
|
|
6842
6857
|
let r = [];
|
|
@@ -6856,31 +6871,31 @@ function ks(e, t) {
|
|
|
6856
6871
|
for (let e = 0; e < r.length; e++) r[e] > o && s++;
|
|
6857
6872
|
return a[n.length][0] = s, a;
|
|
6858
6873
|
}
|
|
6859
|
-
function
|
|
6874
|
+
function Ms(e) {
|
|
6860
6875
|
return e === 0 || e < 0 && e === Math.trunc(e) ? NaN : O.default.gammafn(e);
|
|
6861
6876
|
}
|
|
6862
|
-
function
|
|
6877
|
+
function Ns(e, t, n, r) {
|
|
6863
6878
|
return e < 0 || t <= 0 || n <= 0 ? NaN : r ? O.default.gamma.cdf(e, t, n, !0) : O.default.gamma.pdf(e, t, n, !1);
|
|
6864
6879
|
}
|
|
6865
|
-
function
|
|
6866
|
-
return
|
|
6880
|
+
function Ps(e, t, n, r) {
|
|
6881
|
+
return Ns(e, t, n, r);
|
|
6867
6882
|
}
|
|
6868
|
-
function
|
|
6883
|
+
function Fs(e, t, n) {
|
|
6869
6884
|
return e < 0 || e > 1 || t <= 0 || n <= 0 ? NaN : O.default.gamma.inv(e, t, n);
|
|
6870
6885
|
}
|
|
6871
|
-
function
|
|
6872
|
-
return
|
|
6886
|
+
function Is(e, t, n) {
|
|
6887
|
+
return Fs(e, t, n);
|
|
6873
6888
|
}
|
|
6874
|
-
function
|
|
6889
|
+
function Ls(e) {
|
|
6875
6890
|
return e <= 0 ? NaN : O.default.gammaln(e);
|
|
6876
6891
|
}
|
|
6877
|
-
function
|
|
6892
|
+
function Rs(e) {
|
|
6878
6893
|
return e <= 0 ? NaN : O.default.gammaln(e);
|
|
6879
6894
|
}
|
|
6880
|
-
function
|
|
6895
|
+
function zs(e) {
|
|
6881
6896
|
return O.default.normal.cdf(e, 0, 1) - .5;
|
|
6882
6897
|
}
|
|
6883
|
-
function
|
|
6898
|
+
function Bs(e) {
|
|
6884
6899
|
let t = [];
|
|
6885
6900
|
for (let n of e) for (let e of n.values()) {
|
|
6886
6901
|
if (e <= 0) return NaN;
|
|
@@ -6888,7 +6903,7 @@ function Rs(e) {
|
|
|
6888
6903
|
}
|
|
6889
6904
|
return O.default.geomean(t);
|
|
6890
6905
|
}
|
|
6891
|
-
function
|
|
6906
|
+
function Vs(e) {
|
|
6892
6907
|
let t = 0, n = 0;
|
|
6893
6908
|
for (let r of e) for (let e of r.values()) {
|
|
6894
6909
|
if (e <= 0) return NaN;
|
|
@@ -6896,10 +6911,10 @@ function zs(e) {
|
|
|
6896
6911
|
}
|
|
6897
6912
|
return t / n;
|
|
6898
6913
|
}
|
|
6899
|
-
function
|
|
6914
|
+
function Hs(e, t, n, r, i) {
|
|
6900
6915
|
if (e = Math.trunc(e), t = Math.trunc(t), n = Math.trunc(n), (r = Math.trunc(r)) <= 0 || e < 0 || t <= 0 || n <= 0 || t > r || n > r || t < e || n < e || e < t - r + n) return NaN;
|
|
6901
6916
|
function a(e, t, n, r) {
|
|
6902
|
-
return
|
|
6917
|
+
return H(n, e) * H(r - n, t - e) / H(r, t);
|
|
6903
6918
|
}
|
|
6904
6919
|
return i ? function(e, t, n, r) {
|
|
6905
6920
|
let i = 0;
|
|
@@ -6907,18 +6922,18 @@ function Bs(e, t, n, r, i) {
|
|
|
6907
6922
|
return i;
|
|
6908
6923
|
}(e, t, n, r) : a(e, t, n, r);
|
|
6909
6924
|
}
|
|
6910
|
-
function
|
|
6911
|
-
return
|
|
6925
|
+
function Us(e, t, n, r) {
|
|
6926
|
+
return Hs(e, t, n, r, !1);
|
|
6912
6927
|
}
|
|
6913
|
-
function
|
|
6914
|
-
let r =
|
|
6928
|
+
function Ws(e, n) {
|
|
6929
|
+
let r = Y(e, n);
|
|
6915
6930
|
if (t.isError(r)) return r;
|
|
6916
6931
|
if (r === null) return t.BuiltIn.NA;
|
|
6917
6932
|
if (r.ssX === 0) return t.BuiltIn.Div0;
|
|
6918
6933
|
let i = r.ssXY / r.ssX;
|
|
6919
6934
|
return r.yMean - i * r.xMean;
|
|
6920
6935
|
}
|
|
6921
|
-
function
|
|
6936
|
+
function Gs(e) {
|
|
6922
6937
|
let n = 0, r = [];
|
|
6923
6938
|
for (let t of e) for (let e of t.values()) n += e, r.push(e);
|
|
6924
6939
|
let i = r.length;
|
|
@@ -6930,22 +6945,22 @@ function Us(e) {
|
|
|
6930
6945
|
if (o === 0) throw t.BuiltIn.Div0;
|
|
6931
6946
|
return a /= o ** 4, i * (i + 1) / ((i - 1) * (i - 2) * (i - 3)) * a - 3 * (i - 1) * (i - 1) / ((i - 2) * (i - 3));
|
|
6932
6947
|
}
|
|
6933
|
-
function
|
|
6948
|
+
function Ks(e, t, n, r) {
|
|
6934
6949
|
return e <= 0 || n <= 0 ? NaN : r ? O.default.lognormal.cdf(e, t, n) : O.default.lognormal.pdf(e, t, n);
|
|
6935
6950
|
}
|
|
6936
|
-
function
|
|
6937
|
-
return
|
|
6951
|
+
function qs(e, t, n) {
|
|
6952
|
+
return Ks(e, t, n, !0);
|
|
6938
6953
|
}
|
|
6939
|
-
function
|
|
6954
|
+
function Js(e, t, n) {
|
|
6940
6955
|
return e <= 0 || e >= 1 || n <= 0 ? NaN : O.default.lognormal.inv(e, t, n);
|
|
6941
6956
|
}
|
|
6942
|
-
function
|
|
6943
|
-
return
|
|
6957
|
+
function Ys(e, t, n) {
|
|
6958
|
+
return Js(e, t, n);
|
|
6944
6959
|
}
|
|
6945
|
-
function
|
|
6946
|
-
return
|
|
6960
|
+
function Xs(e) {
|
|
6961
|
+
return Qs(e);
|
|
6947
6962
|
}
|
|
6948
|
-
function
|
|
6963
|
+
function Zs(e) {
|
|
6949
6964
|
let n = /* @__PURE__ */ new Map(), r = 0;
|
|
6950
6965
|
for (let t of e) {
|
|
6951
6966
|
let e = t.entries({ includeEmpty: !1 }), i = e.next();
|
|
@@ -6966,7 +6981,7 @@ function Ys(e) {
|
|
|
6966
6981
|
let a = [...n.entries()].filter(([, { count: e }]) => e === i).sort((e, t) => e[1].firstSeen - t[1].firstSeen).map(([e]) => [e]);
|
|
6967
6982
|
return a.length === 0 ? t.BuiltIn.NA : a;
|
|
6968
6983
|
}
|
|
6969
|
-
function
|
|
6984
|
+
function Qs(e) {
|
|
6970
6985
|
let n = /* @__PURE__ */ new Map(), r = 0;
|
|
6971
6986
|
for (let t of e) {
|
|
6972
6987
|
let e = t.entries({ includeEmpty: !1 }), i = e.next();
|
|
@@ -6986,121 +7001,111 @@ function Xs(e) {
|
|
|
6986
7001
|
for (let [e, { count: t, firstSeen: r }] of n) t < 2 || (t > a || t === a && r < o) && (i = e, a = t, o = r);
|
|
6987
7002
|
return i === null ? t.BuiltIn.NA : i;
|
|
6988
7003
|
}
|
|
6989
|
-
function
|
|
7004
|
+
function $s(e, t, n, r) {
|
|
6990
7005
|
return e = Math.trunc(e), t = Math.trunc(t), n <= 0 || n >= 1 || e < 0 || t < 1 ? NaN : r ? O.default.negbin.cdf(e, t, n) : O.default.negbin.pdf(e, t, n);
|
|
6991
7006
|
}
|
|
6992
|
-
function
|
|
6993
|
-
return
|
|
7007
|
+
function ec(e, t, n) {
|
|
7008
|
+
return $s(e, t, n, !1);
|
|
6994
7009
|
}
|
|
6995
|
-
function
|
|
7010
|
+
function tc(e, t, n, r) {
|
|
6996
7011
|
return n <= 0 ? NaN : r ? O.default.normal.cdf(e, t, n) : O.default.normal.pdf(e, t, n);
|
|
6997
7012
|
}
|
|
6998
|
-
function
|
|
6999
|
-
return
|
|
7013
|
+
function nc(e, t, n, r) {
|
|
7014
|
+
return tc(e, t, n, r);
|
|
7000
7015
|
}
|
|
7001
|
-
function
|
|
7016
|
+
function rc(e, t, n) {
|
|
7002
7017
|
return e <= 0 || e >= 1 || n <= 0 ? NaN : O.default.normal.inv(e, t, n);
|
|
7003
7018
|
}
|
|
7004
|
-
function
|
|
7005
|
-
return
|
|
7019
|
+
function ic(e, t, n) {
|
|
7020
|
+
return rc(e, t, n);
|
|
7006
7021
|
}
|
|
7007
|
-
function
|
|
7022
|
+
function ac(e, t) {
|
|
7008
7023
|
return t ? O.default.normal.cdf(e, 0, 1) : O.default.normal.pdf(e, 0, 1);
|
|
7009
7024
|
}
|
|
7010
|
-
function
|
|
7011
|
-
return
|
|
7025
|
+
function oc(e) {
|
|
7026
|
+
return ac(e, !0);
|
|
7012
7027
|
}
|
|
7013
|
-
function
|
|
7028
|
+
function sc(e) {
|
|
7014
7029
|
return e <= 0 || e >= 1 ? NaN : O.default.normal.inv(e, 0, 1);
|
|
7015
7030
|
}
|
|
7016
|
-
function
|
|
7017
|
-
return
|
|
7031
|
+
function cc(e) {
|
|
7032
|
+
return sc(e);
|
|
7018
7033
|
}
|
|
7019
|
-
function
|
|
7020
|
-
return
|
|
7034
|
+
function lc(e, t) {
|
|
7035
|
+
return ds(e, t);
|
|
7021
7036
|
}
|
|
7022
|
-
function
|
|
7023
|
-
return
|
|
7037
|
+
function uc(e, t) {
|
|
7038
|
+
return fc(e, t);
|
|
7024
7039
|
}
|
|
7025
|
-
function
|
|
7040
|
+
function dc(e, t) {
|
|
7026
7041
|
if (t <= 0 || t >= 1) return NaN;
|
|
7027
7042
|
let n = e.getStats().getSortedNumbers().getPercentile(t, !0);
|
|
7028
7043
|
return n === null ? NaN : n;
|
|
7029
7044
|
}
|
|
7030
|
-
function
|
|
7045
|
+
function fc(e, t) {
|
|
7031
7046
|
if (t < 0 || t > 1) return NaN;
|
|
7032
7047
|
let n = e.getStats().getSortedNumbers().getPercentile(t, !1);
|
|
7033
7048
|
return n === null ? NaN : n;
|
|
7034
7049
|
}
|
|
7035
|
-
function
|
|
7036
|
-
return
|
|
7050
|
+
function pc(e, t, n = 3) {
|
|
7051
|
+
return hc(e, t, n);
|
|
7037
7052
|
}
|
|
7038
|
-
function
|
|
7053
|
+
function mc(e, n, r = 3) {
|
|
7039
7054
|
return e.getStats().getSortedNumbers().getPercentRankOf(n, !0, r) ?? t.BuiltIn.NA;
|
|
7040
7055
|
}
|
|
7041
|
-
function
|
|
7056
|
+
function hc(e, n, r = 3) {
|
|
7042
7057
|
return e.getStats().getSortedNumbers().getPercentRankOf(n, !1, r) ?? t.BuiltIn.NA;
|
|
7043
7058
|
}
|
|
7044
|
-
function
|
|
7045
|
-
return Math.exp(-.5 * e * e) /
|
|
7059
|
+
function gc(e) {
|
|
7060
|
+
return Math.exp(-.5 * e * e) / rl;
|
|
7046
7061
|
}
|
|
7047
|
-
function
|
|
7062
|
+
function _c(e, t, n) {
|
|
7048
7063
|
return e < 0 || t <= 0 ? NaN : (e = Math.trunc(e), n ? O.default.poisson.cdf(e, t) : O.default.poisson.pdf(e, t));
|
|
7049
7064
|
}
|
|
7050
|
-
function
|
|
7051
|
-
return
|
|
7065
|
+
function vc(e, t, n) {
|
|
7066
|
+
return _c(e, t, n);
|
|
7052
7067
|
}
|
|
7053
|
-
function
|
|
7054
|
-
let a = e.flatten(
|
|
7055
|
-
if (a.
|
|
7068
|
+
function yc(e, n, r, i) {
|
|
7069
|
+
let a = e.flatten(), o = n.flatten();
|
|
7070
|
+
if (a.getRowCount() !== o.getRowCount()) return t.BuiltIn.NA;
|
|
7056
7071
|
h(e), h(n);
|
|
7057
|
-
let s = 0;
|
|
7058
|
-
for (let e of o)
|
|
7059
|
-
|
|
7060
|
-
s += e;
|
|
7061
|
-
}
|
|
7062
|
-
if (Math.round(1e10 * s) !== 1e10) return t.BuiltIn.Num;
|
|
7063
|
-
let c = i ?? r, l = 0;
|
|
7064
|
-
for (let e = 0; e < a.length; e++) {
|
|
7065
|
-
let n = a[e];
|
|
7066
|
-
if (typeof n != "number") return t.BuiltIn.Num;
|
|
7067
|
-
n >= r && n <= c && (l += o[e] ?? 0);
|
|
7068
|
-
}
|
|
7069
|
-
return l;
|
|
7072
|
+
let s = i ?? r, c = 0, l = 0;
|
|
7073
|
+
for (let [[e, t]] of a.alignValues([o])) typeof e == "number" && typeof t == "number" && (c += t, e >= r && e <= s && (l += t));
|
|
7074
|
+
return Math.round(1e10 * c) === 1e10 ? l : t.BuiltIn.Num;
|
|
7070
7075
|
}
|
|
7071
|
-
function
|
|
7072
|
-
return
|
|
7076
|
+
function bc(e, t) {
|
|
7077
|
+
return Sc(e, t);
|
|
7073
7078
|
}
|
|
7074
|
-
function
|
|
7079
|
+
function xc(e, t) {
|
|
7075
7080
|
if ((t = Math.trunc(t)) < 1 || t > 3) return NaN;
|
|
7076
7081
|
let n = t / 4, r = e.getStats().getSortedNumbers().getPercentile(n, !0);
|
|
7077
7082
|
return r === null ? NaN : r;
|
|
7078
7083
|
}
|
|
7079
|
-
function
|
|
7084
|
+
function Sc(e, t) {
|
|
7080
7085
|
if ((t = Math.trunc(t)) < 0 || t > 4) return NaN;
|
|
7081
7086
|
let n = t / 4, r = e.getStats().getSortedNumbers().getPercentile(n, !1);
|
|
7082
7087
|
return r === null ? NaN : r;
|
|
7083
7088
|
}
|
|
7084
|
-
function
|
|
7085
|
-
return
|
|
7089
|
+
function Cc(e, t, n = 0) {
|
|
7090
|
+
return Tc(e, t, n);
|
|
7086
7091
|
}
|
|
7087
|
-
function
|
|
7092
|
+
function wc(e, n, r = 0) {
|
|
7088
7093
|
let i = n.getStats().getSortedNumbers().getRankOf(e, r === 0, !0);
|
|
7089
7094
|
return i === null ? t.BuiltIn.NA : i;
|
|
7090
7095
|
}
|
|
7091
|
-
function
|
|
7096
|
+
function Tc(e, n, r = 0) {
|
|
7092
7097
|
let i = n.getStats().getSortedNumbers().getRankOf(e, r === 0, !1);
|
|
7093
7098
|
return i === null ? t.BuiltIn.NA : i;
|
|
7094
7099
|
}
|
|
7095
|
-
function
|
|
7096
|
-
let r =
|
|
7100
|
+
function Ec(e, n) {
|
|
7101
|
+
let r = Y(e, n);
|
|
7097
7102
|
if (t.isError(r)) return r;
|
|
7098
7103
|
if (r === null) return t.BuiltIn.NA;
|
|
7099
7104
|
if (r.ssX === 0 || r.ssY === 0) return t.BuiltIn.Div0;
|
|
7100
7105
|
let i = r.ssXY / Math.sqrt(r.ssX * r.ssY);
|
|
7101
7106
|
return i * i;
|
|
7102
7107
|
}
|
|
7103
|
-
function
|
|
7108
|
+
function Dc(e) {
|
|
7104
7109
|
let n = 0, r = 0;
|
|
7105
7110
|
for (let t of e) t.forEach((e) => {
|
|
7106
7111
|
typeof e == "number" && (r += e, n++);
|
|
@@ -7118,7 +7123,7 @@ function Tc(e) {
|
|
|
7118
7123
|
});
|
|
7119
7124
|
return n / ((n - 1) * (n - 2)) * s;
|
|
7120
7125
|
}
|
|
7121
|
-
function
|
|
7126
|
+
function Oc(e) {
|
|
7122
7127
|
let n = 0, r = 0;
|
|
7123
7128
|
for (let t of e) t.forEach((e) => {
|
|
7124
7129
|
typeof e == "number" && (r += e, n++);
|
|
@@ -7136,66 +7141,66 @@ function Ec(e) {
|
|
|
7136
7141
|
});
|
|
7137
7142
|
return s / n;
|
|
7138
7143
|
}
|
|
7139
|
-
function
|
|
7140
|
-
let r =
|
|
7144
|
+
function kc(e, n) {
|
|
7145
|
+
let r = Y(e, n);
|
|
7141
7146
|
return t.isError(r) ? r : r === null ? t.BuiltIn.NA : r.ssX === 0 ? t.BuiltIn.Div0 : r.ssXY / r.ssX;
|
|
7142
7147
|
}
|
|
7143
|
-
function
|
|
7148
|
+
function Ac(e, t, n) {
|
|
7144
7149
|
return n <= 0 ? NaN : (e - t) / n;
|
|
7145
7150
|
}
|
|
7146
|
-
function kc(e) {
|
|
7147
|
-
let t = qc(e);
|
|
7148
|
-
return Math.sqrt(t);
|
|
7149
|
-
}
|
|
7150
|
-
function Ac(e) {
|
|
7151
|
-
return kc(e);
|
|
7152
|
-
}
|
|
7153
7151
|
function jc(e) {
|
|
7154
|
-
let t =
|
|
7152
|
+
let t = Yc(e);
|
|
7155
7153
|
return Math.sqrt(t);
|
|
7156
7154
|
}
|
|
7157
7155
|
function Mc(e) {
|
|
7158
7156
|
return jc(e);
|
|
7159
7157
|
}
|
|
7160
7158
|
function Nc(e) {
|
|
7161
|
-
let t =
|
|
7159
|
+
let t = qc(e);
|
|
7162
7160
|
return Math.sqrt(t);
|
|
7163
7161
|
}
|
|
7164
7162
|
function Pc(e) {
|
|
7165
|
-
|
|
7163
|
+
return Nc(e);
|
|
7164
|
+
}
|
|
7165
|
+
function Fc(e) {
|
|
7166
|
+
let t = Zc(e);
|
|
7166
7167
|
return Math.sqrt(t);
|
|
7167
7168
|
}
|
|
7168
|
-
function
|
|
7169
|
-
let
|
|
7169
|
+
function Ic(e) {
|
|
7170
|
+
let t = Qc(e);
|
|
7171
|
+
return Math.sqrt(t);
|
|
7172
|
+
}
|
|
7173
|
+
function Lc(e, n) {
|
|
7174
|
+
let r = Y(e, n);
|
|
7170
7175
|
return t.isError(r) ? r : r === null || r.n === 0 ? t.BuiltIn.NA : r.n < 3 || r.ssX === 0 ? t.BuiltIn.Div0 : Math.sqrt((r.ssY - r.ssXY * r.ssXY / r.ssX) / (r.n - 2));
|
|
7171
7176
|
}
|
|
7172
|
-
function
|
|
7177
|
+
function Rc(e, t, n) {
|
|
7173
7178
|
return t < 1 ? NaN : n ? e === 0 ? .5 : O.default.studentt.cdf(e, t) : O.default.studentt.pdf(e, t);
|
|
7174
7179
|
}
|
|
7175
|
-
function
|
|
7176
|
-
return e < 0 || (n = Math.trunc(n)) !== 1 && n !== 2 ? NaN : n === 1 ?
|
|
7180
|
+
function zc(e, t, n) {
|
|
7181
|
+
return e < 0 || (n = Math.trunc(n)) !== 1 && n !== 2 ? NaN : n === 1 ? Vc(e, t) : Bc(e, t);
|
|
7177
7182
|
}
|
|
7178
|
-
function
|
|
7183
|
+
function Bc(e, t) {
|
|
7179
7184
|
return t < 1 || e < 0 ? NaN : 2 * (1 - O.default.studentt.cdf(e, t));
|
|
7180
7185
|
}
|
|
7181
|
-
function
|
|
7186
|
+
function Vc(e, t) {
|
|
7182
7187
|
return t < 1 ? NaN : e === 0 ? .5 : 1 - O.default.studentt.cdf(e, t);
|
|
7183
7188
|
}
|
|
7184
|
-
function
|
|
7189
|
+
function Hc(e, t) {
|
|
7185
7190
|
return e <= 0 || e >= 1 || t < 1 ? NaN : (t = Math.trunc(t)) === 1 ? Math.tan(Math.PI * (e - .5)) : O.default.studentt.inv(e, t);
|
|
7186
7191
|
}
|
|
7187
|
-
function
|
|
7188
|
-
return
|
|
7192
|
+
function Uc(e, t) {
|
|
7193
|
+
return Wc(e, t);
|
|
7189
7194
|
}
|
|
7190
|
-
function
|
|
7195
|
+
function Wc(e, t) {
|
|
7191
7196
|
if (e <= 0 || t < 1) return NaN;
|
|
7192
7197
|
let n = 1 - e / 2;
|
|
7193
7198
|
return (t = Math.trunc(t)) === 1 ? Math.tan(Math.PI * (n - .5)) : O.default.studentt.inv(n, t);
|
|
7194
7199
|
}
|
|
7195
|
-
function
|
|
7200
|
+
function Gc(e, n) {
|
|
7196
7201
|
if (n < 0 || n >= 1) return NaN;
|
|
7197
7202
|
let r = [];
|
|
7198
|
-
for (let { value: t } of e.entries(
|
|
7203
|
+
for (let { value: t } of e.entries(Kc)) typeof t == "number" && r.push(t);
|
|
7199
7204
|
let i = r.length, a = Math.floor(i * n / 2), o = 0, s = 0;
|
|
7200
7205
|
if (a === 0) {
|
|
7201
7206
|
for (let e = 0; e < i; e++) o += r[e];
|
|
@@ -7211,18 +7216,18 @@ function Uc(e, n) {
|
|
|
7211
7216
|
if (s === 0) throw t.BuiltIn.Div0;
|
|
7212
7217
|
return o / s;
|
|
7213
7218
|
}
|
|
7214
|
-
var
|
|
7215
|
-
function
|
|
7216
|
-
let t = 0, n = 0, r =
|
|
7219
|
+
var Kc = { axis: n.Axis.Row };
|
|
7220
|
+
function qc(e) {
|
|
7221
|
+
let t = 0, n = 0, r = J(e);
|
|
7217
7222
|
for (let i of e) for (let e of i.values()) t += (e - r) ** 2, n++;
|
|
7218
7223
|
let i = t / n;
|
|
7219
7224
|
return isNaN(i) ? NaN : i;
|
|
7220
7225
|
}
|
|
7221
|
-
function
|
|
7222
|
-
return
|
|
7226
|
+
function Jc(e) {
|
|
7227
|
+
return qc(e);
|
|
7223
7228
|
}
|
|
7224
|
-
function
|
|
7225
|
-
let n = 0, r = 0, a =
|
|
7229
|
+
function Yc(e) {
|
|
7230
|
+
let n = 0, r = 0, a = J(e);
|
|
7226
7231
|
for (let t of e) for (let e of t.values({
|
|
7227
7232
|
type: i.Number,
|
|
7228
7233
|
onError: "value"
|
|
@@ -7230,45 +7235,45 @@ function qc(e) {
|
|
|
7230
7235
|
if (r < 2) throw t.BuiltIn.Div0;
|
|
7231
7236
|
return n / (r - 1);
|
|
7232
7237
|
}
|
|
7233
|
-
function
|
|
7234
|
-
return
|
|
7238
|
+
function Xc(e) {
|
|
7239
|
+
return Yc(e);
|
|
7235
7240
|
}
|
|
7236
|
-
function
|
|
7237
|
-
let n = 0, r = 0, i =
|
|
7241
|
+
function Zc(e) {
|
|
7242
|
+
let n = 0, r = 0, i = vo(e);
|
|
7238
7243
|
for (let t of e) for (let e of t.values({ type: null })) {
|
|
7239
|
-
let t =
|
|
7244
|
+
let t = il(e);
|
|
7240
7245
|
t !== null && (n += (t - i) ** 2, r++);
|
|
7241
7246
|
}
|
|
7242
7247
|
if (r < 2) throw t.BuiltIn.Div0;
|
|
7243
7248
|
return n / (r - 1);
|
|
7244
7249
|
}
|
|
7245
|
-
function
|
|
7246
|
-
let t =
|
|
7250
|
+
function Qc(e) {
|
|
7251
|
+
let t = vo(e), n = 0, r = 0;
|
|
7247
7252
|
for (let i of e) for (let e of i.values({ type: null })) {
|
|
7248
|
-
let i =
|
|
7253
|
+
let i = il(e);
|
|
7249
7254
|
i !== null && (n += (i - t) ** 2, r++);
|
|
7250
7255
|
}
|
|
7251
7256
|
return n / r;
|
|
7252
7257
|
}
|
|
7253
|
-
function
|
|
7258
|
+
function $c(e, t, n, r) {
|
|
7254
7259
|
return e < 0 || t <= 0 || n <= 0 ? NaN : r || e !== 0 ? r ? 1 - Math.exp(-((e / n) ** +t)) : e ** (t - 1) * Math.exp(-((e / n) ** +t)) * t / n ** +t : 0;
|
|
7255
7260
|
}
|
|
7256
|
-
function
|
|
7257
|
-
return
|
|
7261
|
+
function el(e, t, n, r) {
|
|
7262
|
+
return $c(e, t, n, r);
|
|
7258
7263
|
}
|
|
7259
|
-
function
|
|
7264
|
+
function tl(e, n, r = 0) {
|
|
7260
7265
|
let i = e.size;
|
|
7261
7266
|
if (!r) {
|
|
7262
7267
|
if (i < 2) throw t.BuiltIn.Div0;
|
|
7263
|
-
r =
|
|
7268
|
+
r = jc([e]);
|
|
7264
7269
|
}
|
|
7265
|
-
return 1 -
|
|
7270
|
+
return 1 - ac((J([e]) - n) / (r / Math.sqrt(i)), !0);
|
|
7266
7271
|
}
|
|
7267
|
-
function
|
|
7268
|
-
return
|
|
7272
|
+
function nl(e, t, n = 0) {
|
|
7273
|
+
return tl(e, t, n);
|
|
7269
7274
|
}
|
|
7270
|
-
var
|
|
7271
|
-
function
|
|
7275
|
+
var rl = 2.5066282746310002;
|
|
7276
|
+
function Y(e, n) {
|
|
7272
7277
|
let r = e.getRowCount(), i = e.getColumnCount();
|
|
7273
7278
|
if (r * i !== n.getRowCount() * n.getColumnCount()) return null;
|
|
7274
7279
|
n.getRowCount() === r && n.getColumnCount() === i || (n = n.reshape(r, i));
|
|
@@ -7295,14 +7300,14 @@ function J(e, n) {
|
|
|
7295
7300
|
ssXY: m
|
|
7296
7301
|
};
|
|
7297
7302
|
}
|
|
7298
|
-
function
|
|
7303
|
+
function il(e) {
|
|
7299
7304
|
return typeof e == "number" ? e : !0 === e ? 1 : !1 === e || typeof e == "string" ? 0 : null;
|
|
7300
7305
|
}
|
|
7301
|
-
var
|
|
7302
|
-
DELAY: () =>
|
|
7303
|
-
WAIT: () =>
|
|
7306
|
+
var al = p({
|
|
7307
|
+
DELAY: () => ol,
|
|
7308
|
+
WAIT: () => ul
|
|
7304
7309
|
});
|
|
7305
|
-
async function
|
|
7310
|
+
async function ol(e, t, n = "No label") {
|
|
7306
7311
|
return new Promise((n) => {
|
|
7307
7312
|
setTimeout(() => {
|
|
7308
7313
|
n(t);
|
|
@@ -7310,85 +7315,85 @@ async function il(e, t, n = "No label") {
|
|
|
7310
7315
|
});
|
|
7311
7316
|
}
|
|
7312
7317
|
globalThis.debugEventTarget ??= new EventTarget();
|
|
7313
|
-
var
|
|
7314
|
-
function
|
|
7318
|
+
var sl = globalThis.debugEventTarget, cl = /* @__PURE__ */ new Map();
|
|
7319
|
+
function ll(e) {
|
|
7315
7320
|
let { inbox: t, waiters: n } = function(e) {
|
|
7316
|
-
if (
|
|
7321
|
+
if (cl.has(e)) return cl.get(e);
|
|
7317
7322
|
let t = {
|
|
7318
7323
|
inbox: [],
|
|
7319
7324
|
waiters: []
|
|
7320
7325
|
};
|
|
7321
|
-
return
|
|
7326
|
+
return sl.addEventListener(e, (e) => {
|
|
7322
7327
|
t.waiters.length ? t.waiters.shift()(e.detail) : t.inbox.push(e.detail);
|
|
7323
|
-
}),
|
|
7328
|
+
}), cl.set(e, t), t;
|
|
7324
7329
|
}(e);
|
|
7325
7330
|
return t.length ? Promise.resolve(t.shift()) : new Promise((e) => n.push(e));
|
|
7326
7331
|
}
|
|
7327
|
-
async function
|
|
7328
|
-
let n = await
|
|
7332
|
+
async function ul(e, t) {
|
|
7333
|
+
let n = await ll(e), r = t?.getValueAt(0, 0) ?? "", i = `event["${e}"`;
|
|
7329
7334
|
return n !== void 0 && (i += `, payload: ${n}`), r !== "" && (i += `, input: ${r}`), i += "]", console.log(i), "" + n + r;
|
|
7330
7335
|
}
|
|
7331
|
-
var
|
|
7332
|
-
ARRAYTOTEXT: () =>
|
|
7333
|
-
ASC: () =>
|
|
7334
|
-
CHAR: () =>
|
|
7335
|
-
CLEAN: () =>
|
|
7336
|
-
CODE: () =>
|
|
7337
|
-
CONCAT: () =>
|
|
7338
|
-
CONCATENATE: () =>
|
|
7339
|
-
DBCS: () =>
|
|
7340
|
-
DETECTLANGUAGE: () =>
|
|
7341
|
-
DOLLAR: () =>
|
|
7342
|
-
EXACT: () =>
|
|
7343
|
-
FIND: () =>
|
|
7344
|
-
FINDB: () =>
|
|
7345
|
-
FIXED: () =>
|
|
7346
|
-
JOIN: () =>
|
|
7347
|
-
LEFT: () =>
|
|
7348
|
-
LEFTB: () =>
|
|
7349
|
-
LEN: () =>
|
|
7350
|
-
LENB: () =>
|
|
7351
|
-
LOWER: () =>
|
|
7352
|
-
MID: () =>
|
|
7353
|
-
MIDB: () =>
|
|
7354
|
-
NUMBERVALUE: () =>
|
|
7355
|
-
PROPER: () =>
|
|
7356
|
-
REPLACE: () =>
|
|
7357
|
-
REPLACEB: () =>
|
|
7358
|
-
REPT: () =>
|
|
7359
|
-
RIGHT: () =>
|
|
7360
|
-
RIGHTB: () =>
|
|
7361
|
-
SEARCH: () =>
|
|
7362
|
-
SEARCHB: () =>
|
|
7363
|
-
SPLIT: () =>
|
|
7364
|
-
SUBSTITUTE: () =>
|
|
7365
|
-
T: () =>
|
|
7366
|
-
TEXT: () =>
|
|
7367
|
-
TEXTAFTER: () =>
|
|
7368
|
-
TEXTBEFORE: () =>
|
|
7369
|
-
TEXTJOIN: () =>
|
|
7370
|
-
TEXTSPLIT: () =>
|
|
7371
|
-
TRANSLATE: () =>
|
|
7372
|
-
TRIM: () =>
|
|
7373
|
-
UNICHAR: () =>
|
|
7374
|
-
UNICODE: () =>
|
|
7375
|
-
UPPER: () =>
|
|
7376
|
-
VALUE: () =>
|
|
7377
|
-
VALUETOTEXT: () =>
|
|
7336
|
+
var dl = p({
|
|
7337
|
+
ARRAYTOTEXT: () => pl,
|
|
7338
|
+
ASC: () => fl,
|
|
7339
|
+
CHAR: () => ml,
|
|
7340
|
+
CLEAN: () => hl,
|
|
7341
|
+
CODE: () => gl,
|
|
7342
|
+
CONCAT: () => _l,
|
|
7343
|
+
CONCATENATE: () => yl,
|
|
7344
|
+
DBCS: () => xl,
|
|
7345
|
+
DETECTLANGUAGE: () => bl,
|
|
7346
|
+
DOLLAR: () => Sl,
|
|
7347
|
+
EXACT: () => Cl,
|
|
7348
|
+
FIND: () => wl,
|
|
7349
|
+
FINDB: () => Tl,
|
|
7350
|
+
FIXED: () => El,
|
|
7351
|
+
JOIN: () => Dl,
|
|
7352
|
+
LEFT: () => Ol,
|
|
7353
|
+
LEFTB: () => kl,
|
|
7354
|
+
LEN: () => Al,
|
|
7355
|
+
LENB: () => jl,
|
|
7356
|
+
LOWER: () => Ml,
|
|
7357
|
+
MID: () => Nl,
|
|
7358
|
+
MIDB: () => Pl,
|
|
7359
|
+
NUMBERVALUE: () => Fl,
|
|
7360
|
+
PROPER: () => Il,
|
|
7361
|
+
REPLACE: () => Ll,
|
|
7362
|
+
REPLACEB: () => Rl,
|
|
7363
|
+
REPT: () => zl,
|
|
7364
|
+
RIGHT: () => Bl,
|
|
7365
|
+
RIGHTB: () => Vl,
|
|
7366
|
+
SEARCH: () => Hl,
|
|
7367
|
+
SEARCHB: () => Ul,
|
|
7368
|
+
SPLIT: () => Wl,
|
|
7369
|
+
SUBSTITUTE: () => Gl,
|
|
7370
|
+
T: () => Kl,
|
|
7371
|
+
TEXT: () => ql,
|
|
7372
|
+
TEXTAFTER: () => Jl,
|
|
7373
|
+
TEXTBEFORE: () => Yl,
|
|
7374
|
+
TEXTJOIN: () => Xl,
|
|
7375
|
+
TEXTSPLIT: () => Zl,
|
|
7376
|
+
TRANSLATE: () => Ql,
|
|
7377
|
+
TRIM: () => $l,
|
|
7378
|
+
UNICHAR: () => eu,
|
|
7379
|
+
UNICODE: () => tu,
|
|
7380
|
+
UPPER: () => nu,
|
|
7381
|
+
VALUE: () => ru,
|
|
7382
|
+
VALUETOTEXT: () => iu
|
|
7378
7383
|
});
|
|
7379
|
-
function
|
|
7380
|
-
return
|
|
7384
|
+
function fl(e) {
|
|
7385
|
+
return au() ? uu(e) : e;
|
|
7381
7386
|
}
|
|
7382
|
-
function
|
|
7387
|
+
function pl(e, n = 0) {
|
|
7383
7388
|
if ((n = Math.floor(n)) !== 0 && n !== 1) throw t.BuiltIn.Value;
|
|
7384
7389
|
let r = n === 1, i = null;
|
|
7385
7390
|
if (!r) {
|
|
7386
7391
|
if (e.size === 1) {
|
|
7387
7392
|
let t = e.getValueAt(0, 0);
|
|
7388
|
-
return t === null ? null :
|
|
7393
|
+
return t === null ? null : iu(t, n);
|
|
7389
7394
|
}
|
|
7390
7395
|
let { rows: t, columns: r } = e.getShape(), i = [];
|
|
7391
|
-
for (let a = 0; a < t; a++) for (let t = 0; t < r; t++) i.push(
|
|
7396
|
+
for (let a = 0; a < t; a++) for (let t = 0; t < r; t++) i.push(iu(e.getValueAt(a, t), n));
|
|
7392
7397
|
return i.join(", ");
|
|
7393
7398
|
}
|
|
7394
7399
|
let a = e.getValues();
|
|
@@ -7396,35 +7401,35 @@ function dl(e, n = 0) {
|
|
|
7396
7401
|
let o = a.length;
|
|
7397
7402
|
for (let e = 0; e < o; e++) {
|
|
7398
7403
|
let t = a[e], r = t.length;
|
|
7399
|
-
for (let e = 0; e < r; e++) i +=
|
|
7404
|
+
for (let e = 0; e < r; e++) i += iu(t[e], n), e < r - 1 && (i += ",");
|
|
7400
7405
|
e < o - 1 && (i += ";");
|
|
7401
7406
|
}
|
|
7402
7407
|
return r && (i += "}"), i;
|
|
7403
7408
|
}
|
|
7404
|
-
function
|
|
7409
|
+
function ml(e) {
|
|
7405
7410
|
let n = Math.trunc(e);
|
|
7406
7411
|
if (!(n >= 1 && n <= 255)) throw t.BuiltIn.Value;
|
|
7407
7412
|
return String.fromCharCode(n);
|
|
7408
7413
|
}
|
|
7409
|
-
function
|
|
7414
|
+
function hl(e) {
|
|
7410
7415
|
return e.replace(/[\x00-\x1F\x80-\x9F]/g, "");
|
|
7411
7416
|
}
|
|
7412
|
-
function
|
|
7417
|
+
function gl(e) {
|
|
7413
7418
|
if (e.length === 0) throw t.BuiltIn.Value;
|
|
7414
7419
|
return e.charCodeAt(0);
|
|
7415
7420
|
}
|
|
7416
|
-
function
|
|
7421
|
+
function _l(e) {
|
|
7417
7422
|
let n = "";
|
|
7418
7423
|
for (let i of e) for (let e of i.values()) if (n += e, n.length > r.MAX_TEXT_LENGTH) throw t.BuiltIn.Calc;
|
|
7419
7424
|
return n;
|
|
7420
7425
|
}
|
|
7421
|
-
var
|
|
7426
|
+
var vl = {
|
|
7422
7427
|
type: i.String,
|
|
7423
7428
|
coerce: [i.Boolean, i.Number],
|
|
7424
7429
|
onError: "value",
|
|
7425
7430
|
misalignValue: t.BuiltIn.NA
|
|
7426
7431
|
};
|
|
7427
|
-
function
|
|
7432
|
+
function yl(n) {
|
|
7428
7433
|
let i = e.createRange(1, 1, "");
|
|
7429
7434
|
for (let e of n) i = i.broadcast(e, (e, n) => {
|
|
7430
7435
|
if (e !== null && t.isError(e)) return e;
|
|
@@ -7433,16 +7438,16 @@ function _l(n) {
|
|
|
7433
7438
|
if (i.length <= r.MAX_TEXT_LENGTH) return i;
|
|
7434
7439
|
let a = r.MAX_TEXT_LENGTH, o = i.charCodeAt(a - 1), s = i.charCodeAt(a);
|
|
7435
7440
|
return o >= 55296 && o <= 56319 && s >= 56320 && s <= 57343 && a--, i.slice(0, a);
|
|
7436
|
-
},
|
|
7441
|
+
}, vl);
|
|
7437
7442
|
return i;
|
|
7438
7443
|
}
|
|
7439
|
-
function
|
|
7444
|
+
function bl(e) {
|
|
7440
7445
|
return t.BuiltIn.NA;
|
|
7441
7446
|
}
|
|
7442
|
-
function
|
|
7443
|
-
return
|
|
7447
|
+
function xl(e) {
|
|
7448
|
+
return au() ? lu(e) : e;
|
|
7444
7449
|
}
|
|
7445
|
-
function
|
|
7450
|
+
function Sl(t, n = 2) {
|
|
7446
7451
|
if ((n = Math.trunc(n)) < 0) {
|
|
7447
7452
|
let e = 10 ** -n;
|
|
7448
7453
|
t = Math.round(t / e) * e, n = 0;
|
|
@@ -7450,10 +7455,10 @@ function bl(t, n = 2) {
|
|
|
7450
7455
|
let r = e.getRuntime().getLocaleProfile().currencySymbol, i = n > 0 ? `.${"0".repeat(n)}` : "", a = `${r}#,##0${i}_);(${r}#,##0${i})`;
|
|
7451
7456
|
return e.getNumberFormat(a, t).trim();
|
|
7452
7457
|
}
|
|
7453
|
-
function
|
|
7458
|
+
function Cl(e, t) {
|
|
7454
7459
|
return e === t;
|
|
7455
7460
|
}
|
|
7456
|
-
function
|
|
7461
|
+
function wl(e, n, r = 1) {
|
|
7457
7462
|
if (r = Math.trunc(r), !X(n)) {
|
|
7458
7463
|
if (r < 1 || r > n.length) throw t.BuiltIn.Value;
|
|
7459
7464
|
let i = n.indexOf(e, r - 1);
|
|
@@ -7463,12 +7468,12 @@ function Sl(e, n, r = 1) {
|
|
|
7463
7468
|
if (r < 1 || r > Z(n)) throw t.BuiltIn.Value;
|
|
7464
7469
|
let i = n.indexOf(e, Q(n, r - 1));
|
|
7465
7470
|
if (i === -1) throw t.BuiltIn.Value;
|
|
7466
|
-
return
|
|
7471
|
+
return pu(n, i) + 1;
|
|
7467
7472
|
}
|
|
7468
|
-
function
|
|
7469
|
-
return
|
|
7473
|
+
function Tl(e, t, n = 1) {
|
|
7474
|
+
return wl(e, t, n);
|
|
7470
7475
|
}
|
|
7471
|
-
function
|
|
7476
|
+
function El(t, n = 2, r = !1) {
|
|
7472
7477
|
if ((n = Math.trunc(n)) < 0) {
|
|
7473
7478
|
let e = 10 ** -n;
|
|
7474
7479
|
t = Math.round(t / e) * e, n = 0;
|
|
@@ -7476,35 +7481,35 @@ function wl(t, n = 2, r = !1) {
|
|
|
7476
7481
|
let i = `${r ? "" : "#,"}##0${n > 0 ? `.${"0".repeat(n)}` : ""}`;
|
|
7477
7482
|
return e.getNumberFormat(i, t).trim();
|
|
7478
7483
|
}
|
|
7479
|
-
function
|
|
7480
|
-
return
|
|
7484
|
+
function Dl(e, t) {
|
|
7485
|
+
return Xl(e, !0, [t]);
|
|
7481
7486
|
}
|
|
7482
|
-
function
|
|
7487
|
+
function Ol(e, n = 1) {
|
|
7483
7488
|
if (n < 0) throw t.BuiltIn.Value;
|
|
7484
7489
|
return X(e) ? e.slice(0, Q(e, n)) : n > e.length ? e : e.slice(0, n);
|
|
7485
7490
|
}
|
|
7486
|
-
function
|
|
7487
|
-
return
|
|
7491
|
+
function kl(e, t = 1) {
|
|
7492
|
+
return Ol(e, t);
|
|
7488
7493
|
}
|
|
7489
|
-
function
|
|
7494
|
+
function Al(e) {
|
|
7490
7495
|
return X(e) ? Z(e) : e.length;
|
|
7491
7496
|
}
|
|
7492
|
-
function
|
|
7493
|
-
return
|
|
7497
|
+
function jl(e) {
|
|
7498
|
+
return Al(e);
|
|
7494
7499
|
}
|
|
7495
|
-
function
|
|
7500
|
+
function Ml(e) {
|
|
7496
7501
|
return e.toLowerCase();
|
|
7497
7502
|
}
|
|
7498
|
-
function
|
|
7503
|
+
function Nl(e, n, r) {
|
|
7499
7504
|
if (n = Math.trunc(n), r = Math.trunc(r), n < 1 || r < 0) return t.BuiltIn.Value;
|
|
7500
7505
|
if (!X(e)) return n > e.length ? "" : e.slice(n - 1, n + r - 1);
|
|
7501
7506
|
let i = Q(e, n - 1);
|
|
7502
7507
|
return i >= e.length ? "" : e.slice(i, Q(e, n - 1 + r));
|
|
7503
7508
|
}
|
|
7504
|
-
function
|
|
7505
|
-
return
|
|
7509
|
+
function Pl(e, t, n) {
|
|
7510
|
+
return Nl(e, t, n);
|
|
7506
7511
|
}
|
|
7507
|
-
function
|
|
7512
|
+
function Fl(n, i, a) {
|
|
7508
7513
|
let o = e.getRuntime().getLocaleProfile();
|
|
7509
7514
|
if (i ??= o.decimal, a ??= o.group, i.length === 0 || a.length === 0) throw t.BuiltIn.Value;
|
|
7510
7515
|
if (n.length === 0) return 0;
|
|
@@ -7523,19 +7528,19 @@ function Nl(n, i, a) {
|
|
|
7523
7528
|
if (isNaN(v)) throw t.BuiltIn.Value;
|
|
7524
7529
|
return v /= 100 ** h, g || _ ? -v : v;
|
|
7525
7530
|
}
|
|
7526
|
-
function
|
|
7531
|
+
function Il(e) {
|
|
7527
7532
|
return (e = e.toLowerCase()).replace(/(^|\P{L})(\p{L})/gu, (e, t, n) => t + (n.length === 1 ? n.toUpperCase() : n));
|
|
7528
7533
|
}
|
|
7529
|
-
function
|
|
7534
|
+
function Ll(e, n, r, i) {
|
|
7530
7535
|
return n = Math.trunc(n), r = Math.trunc(r), n < 1 || r < 0 ? t.BuiltIn.Value : X(e) ? e.slice(0, Q(e, n - 1)) + i + e.slice(Q(e, n - 1 + r)) : e.slice(0, n - 1) + i + e.slice(n - 1 + r);
|
|
7531
7536
|
}
|
|
7532
|
-
function
|
|
7533
|
-
return
|
|
7537
|
+
function Rl(e, t, n, r) {
|
|
7538
|
+
return Ll(e, t, n, r);
|
|
7534
7539
|
}
|
|
7535
|
-
function
|
|
7540
|
+
function zl(e, n) {
|
|
7536
7541
|
return (n = Math.floor(n)) < 0 || e.length * n > r.MAX_TEXT_LENGTH ? t.BuiltIn.Value : e.repeat(n);
|
|
7537
7542
|
}
|
|
7538
|
-
function
|
|
7543
|
+
function Bl(e, n = 1) {
|
|
7539
7544
|
if (n < 0) throw t.BuiltIn.Value;
|
|
7540
7545
|
if (!X(e)) {
|
|
7541
7546
|
let t = e.length;
|
|
@@ -7544,23 +7549,23 @@ function Rl(e, n = 1) {
|
|
|
7544
7549
|
let r = Z(e);
|
|
7545
7550
|
return n >= r ? e : e.slice(Q(e, r - Math.trunc(n)));
|
|
7546
7551
|
}
|
|
7547
|
-
function
|
|
7548
|
-
return
|
|
7552
|
+
function Vl(e, t = 1) {
|
|
7553
|
+
return Bl(e, t);
|
|
7549
7554
|
}
|
|
7550
|
-
function
|
|
7555
|
+
function Hl(e, n, r = 1) {
|
|
7551
7556
|
let i = X(n), o = i ? Z(n) : n.length;
|
|
7552
7557
|
if (r < 1 || r > o) throw t.BuiltIn.Value;
|
|
7553
7558
|
let s = a.isWildCard(e) ? a.toRegex(e, "i") : new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "i"), c = i ? Q(n, r - 1) : r - 1, l = n.slice(c).search(s);
|
|
7554
7559
|
if (l === -1) throw t.BuiltIn.Value;
|
|
7555
|
-
return i ?
|
|
7560
|
+
return i ? pu(n, c + l) + 1 : l + r;
|
|
7556
7561
|
}
|
|
7557
|
-
function
|
|
7558
|
-
return
|
|
7562
|
+
function Ul(e, t, n = 1) {
|
|
7563
|
+
return Hl(e, t, n);
|
|
7559
7564
|
}
|
|
7560
|
-
function
|
|
7561
|
-
return
|
|
7565
|
+
function Wl(e, t, n = !0, r = !0) {
|
|
7566
|
+
return Zl(e, n ? t.split("") : [t], void 0, r);
|
|
7562
7567
|
}
|
|
7563
|
-
function
|
|
7568
|
+
function Gl(e, n, i, a) {
|
|
7564
7569
|
if (!e || !n) return e;
|
|
7565
7570
|
if (a === void 0) a = -1;
|
|
7566
7571
|
else if ((a = Math.floor(a)) <= 0) return t.BuiltIn.Value;
|
|
@@ -7572,10 +7577,10 @@ function Ul(e, n, i, a) {
|
|
|
7572
7577
|
} else s += n.length;
|
|
7573
7578
|
return o;
|
|
7574
7579
|
}
|
|
7575
|
-
function
|
|
7580
|
+
function Kl(e) {
|
|
7576
7581
|
return typeof e == "string" ? e : "";
|
|
7577
7582
|
}
|
|
7578
|
-
function
|
|
7583
|
+
function ql(n, r) {
|
|
7579
7584
|
if (n === null && (n = 0), typeof n == "string" && n.trim() !== "") try {
|
|
7580
7585
|
n = e.parseAsNumber(n.trim());
|
|
7581
7586
|
} catch {}
|
|
@@ -7585,21 +7590,21 @@ function Gl(n, r) {
|
|
|
7585
7590
|
return t.BuiltIn.Value;
|
|
7586
7591
|
}
|
|
7587
7592
|
}
|
|
7588
|
-
function
|
|
7593
|
+
function Jl(e, n, r = 1, i = 0, a = 0, o) {
|
|
7589
7594
|
if (!e || !n || (r = Math.floor(r)) === 0) return t.BuiltIn.Value;
|
|
7590
|
-
let s =
|
|
7595
|
+
let s = mu(e, n, i);
|
|
7591
7596
|
a === 1 && s.push([e.length, e.length]);
|
|
7592
7597
|
let c = r > 0 ? r - 1 : s.length + r;
|
|
7593
7598
|
return c < 0 || c >= s.length ? o ?? t.BuiltIn.NA : e.substring(s[c][1]);
|
|
7594
7599
|
}
|
|
7595
|
-
function
|
|
7600
|
+
function Yl(e, n, r = 1, i = 0, a = 0, o) {
|
|
7596
7601
|
if (!e || !n || (r = Math.floor(r)) === 0) return t.BuiltIn.Value;
|
|
7597
|
-
let s =
|
|
7602
|
+
let s = mu(e, n, i);
|
|
7598
7603
|
a === 1 && s.push([e.length, e.length]);
|
|
7599
7604
|
let c = r > 0 ? r - 1 : s.length + r;
|
|
7600
7605
|
return c < 0 || c >= s.length ? o ?? t.BuiltIn.NA : e.substring(0, s[c][0]);
|
|
7601
7606
|
}
|
|
7602
|
-
function
|
|
7607
|
+
function Xl(e, n, i) {
|
|
7603
7608
|
let a = "", o = !0;
|
|
7604
7609
|
for (let s of i) for (let i of s.values({ includeEmpty: !n })) if (i.length !== 0 || !n) {
|
|
7605
7610
|
if (o || (a += e), a += i, a.length > r.MAX_TEXT_LENGTH) return t.BuiltIn.Calc;
|
|
@@ -7607,13 +7612,13 @@ function Jl(e, n, i) {
|
|
|
7607
7612
|
}
|
|
7608
7613
|
return a;
|
|
7609
7614
|
}
|
|
7610
|
-
function
|
|
7615
|
+
function Zl(e, n, r, i = !1, a = 0, o = void 0) {
|
|
7611
7616
|
if (!e) return [[""]];
|
|
7612
7617
|
if (a !== 0 && a !== 1) throw t.BuiltIn.Value;
|
|
7613
7618
|
let s = (e) => {
|
|
7614
7619
|
if (e.length === 0) return null;
|
|
7615
7620
|
if (e.some((e) => e.length === 0)) throw t.BuiltIn.Value;
|
|
7616
|
-
return new RegExp(e.map((e) =>
|
|
7621
|
+
return new RegExp(e.map((e) => du(e)).join("|"), a === 1 ? "i" : "");
|
|
7617
7622
|
}, c = (e, t) => t ? e.split(t) : [e], l = s(n), u = [e];
|
|
7618
7623
|
if (r && (u = c(e, s(r))), i) {
|
|
7619
7624
|
let e = [];
|
|
@@ -7645,39 +7650,39 @@ function Yl(e, n, r, i = !1, a = 0, o = void 0) {
|
|
|
7645
7650
|
}
|
|
7646
7651
|
return d.length > 0 ? d : [[""]];
|
|
7647
7652
|
}
|
|
7648
|
-
function
|
|
7653
|
+
function Ql(e, n, r) {
|
|
7649
7654
|
return t.BuiltIn.NA;
|
|
7650
7655
|
}
|
|
7651
|
-
function
|
|
7656
|
+
function $l(e) {
|
|
7652
7657
|
return e.replace(/ +/g, " ").replace(/^ +| +$/g, "");
|
|
7653
7658
|
}
|
|
7654
|
-
function
|
|
7659
|
+
function eu(e) {
|
|
7655
7660
|
if (!(e >= 1)) throw t.BuiltIn.Value;
|
|
7656
7661
|
let n = Math.trunc(e);
|
|
7657
7662
|
if (n > 1114111) throw t.BuiltIn.Value;
|
|
7658
7663
|
if (n >= 55296 && n <= 57343 || n >= 64976 && n <= 65007 || (65535 & n) >= 65534) throw t.BuiltIn.NA;
|
|
7659
7664
|
return String.fromCodePoint(n);
|
|
7660
7665
|
}
|
|
7661
|
-
function
|
|
7666
|
+
function tu(e) {
|
|
7662
7667
|
if (e.length === 0) throw t.BuiltIn.Value;
|
|
7663
7668
|
let n = e.codePointAt(0);
|
|
7664
7669
|
if (n >= 55296 && n <= 57343) throw t.BuiltIn.Value;
|
|
7665
7670
|
return n;
|
|
7666
7671
|
}
|
|
7667
|
-
function
|
|
7672
|
+
function nu(e) {
|
|
7668
7673
|
return e.toUpperCase();
|
|
7669
7674
|
}
|
|
7670
|
-
function
|
|
7675
|
+
function ru(t) {
|
|
7671
7676
|
return t === null ? 0 : e.parseAsNumber(t);
|
|
7672
7677
|
}
|
|
7673
|
-
function
|
|
7678
|
+
function iu(n, r = 0) {
|
|
7674
7679
|
if ((r = Math.floor(r)) !== 0 && r !== 1) throw t.BuiltIn.Value;
|
|
7675
7680
|
return typeof n == "string" ? r === 1 ? "\"" + n + "\"" : n : e.toText(n);
|
|
7676
7681
|
}
|
|
7677
|
-
var
|
|
7682
|
+
var au = () => {
|
|
7678
7683
|
let t = e.getRuntime().getLocale().toLowerCase().split(/[-_]/)[0];
|
|
7679
7684
|
return t === "ja" || t === "zh" || t === "ko";
|
|
7680
|
-
},
|
|
7685
|
+
}, ou = {
|
|
7681
7686
|
latin: {
|
|
7682
7687
|
halfRE: /[!-~]/g,
|
|
7683
7688
|
fullRE: /[!-~]/g,
|
|
@@ -7703,11 +7708,11 @@ var nu = () => {
|
|
|
7703
7708
|
half: "¢£¬¯¦¥₩ |←↑→↓■°",
|
|
7704
7709
|
full: "¢£¬ ̄¦¥₩ │←↑→↓■○"
|
|
7705
7710
|
}
|
|
7706
|
-
},
|
|
7707
|
-
function
|
|
7711
|
+
}, su = (e, t) => e[`${t}RE`] || RegExp("[" + e[t] + "]", "g"), cu = Object.keys(ou).map((e) => ou[e]), lu = (e) => cu.reduce((e, t) => e.replace(su(t, "half"), ((e) => (t) => e.delta ? String.fromCharCode(t.charCodeAt(0) + e.delta) : [...e.full][[...e.half].indexOf(t)])(t)), e), uu = (e) => cu.reduce((e, t) => e.replace(su(t, "full"), ((e) => (t) => e.delta ? String.fromCharCode(t.charCodeAt(0) - e.delta) : [...e.half][[...e.full].indexOf(t)])(t)), e);
|
|
7712
|
+
function du(e) {
|
|
7708
7713
|
return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
7709
7714
|
}
|
|
7710
|
-
var
|
|
7715
|
+
var fu = /[\uD800-\uDBFF][\uDC00-\uDFFF]/, X = (e) => fu.test(e), Z = (e) => {
|
|
7711
7716
|
let t = e.length, n = 0;
|
|
7712
7717
|
for (let r = 0; r < t - 1; r++) {
|
|
7713
7718
|
let t = e.charCodeAt(r);
|
|
@@ -7723,16 +7728,16 @@ var lu = /[\uD800-\uDBFF][\uDC00-\uDFFF]/, X = (e) => lu.test(e), Z = (e) => {
|
|
|
7723
7728
|
i += t >= 55296 && t <= 56319 && n >= 56320 && n <= 57343 ? 2 : 1;
|
|
7724
7729
|
}
|
|
7725
7730
|
return Math.min(i, r);
|
|
7726
|
-
},
|
|
7731
|
+
}, pu = (e, t) => Z(e.slice(0, t)), mu = (e, t, n) => {
|
|
7727
7732
|
let r = [];
|
|
7728
7733
|
if (n === 1) {
|
|
7729
|
-
let n = new RegExp(
|
|
7734
|
+
let n = new RegExp(du(t), "gi");
|
|
7730
7735
|
for (let t = n.exec(e); t !== null; t = n.exec(e)) r.push([t.index, t.index + t[0].length]), n.lastIndex = t.index + 1;
|
|
7731
7736
|
return r;
|
|
7732
7737
|
}
|
|
7733
7738
|
for (let n = e.indexOf(t); n !== -1; n = e.indexOf(t, n + 1)) r.push([n, n + t.length]);
|
|
7734
7739
|
return r;
|
|
7735
|
-
},
|
|
7740
|
+
}, hu = f((e, t) => {
|
|
7736
7741
|
var n = "", r = "หนึ่ง", i = [
|
|
7737
7742
|
"สาม",
|
|
7738
7743
|
"สี่",
|
|
@@ -7846,31 +7851,31 @@ var lu = /[\uD800-\uDBFF][\uDC00-\uDFFF]/, X = (e) => lu.test(e), Z = (e) => {
|
|
|
7846
7851
|
handleStringInput: _,
|
|
7847
7852
|
formatSatang: v
|
|
7848
7853
|
}, e.default = { bahttext: h };
|
|
7849
|
-
}),
|
|
7850
|
-
function
|
|
7854
|
+
}), gu = p({ BAHTTEXT: () => vu }), _u = hu();
|
|
7855
|
+
function vu(e) {
|
|
7851
7856
|
try {
|
|
7852
|
-
return (0,
|
|
7857
|
+
return (0, _u.bahttext)(e);
|
|
7853
7858
|
} catch (e) {
|
|
7854
7859
|
throw Error(`Error in https://github.com/jojoee/bahttext \n${e.toString()}`);
|
|
7855
7860
|
}
|
|
7856
7861
|
}
|
|
7857
|
-
var
|
|
7858
|
-
async function
|
|
7862
|
+
var yu = p({ FILTERXML: () => bu });
|
|
7863
|
+
async function bu(e, n) {
|
|
7859
7864
|
if ($) throw t.BuiltIn.Blocked;
|
|
7860
|
-
if (!
|
|
7861
|
-
|
|
7865
|
+
if (!Su || !Cu) try {
|
|
7866
|
+
wu ??= xu(), await wu;
|
|
7862
7867
|
} catch (e) {
|
|
7863
7868
|
throw $ || ($ = !0, console.warn(`FILTERXML is unavailable: XML libraries could not be loaded (${e?.message ?? e}).`)), t.BuiltIn.Blocked;
|
|
7864
7869
|
}
|
|
7865
|
-
if (!
|
|
7870
|
+
if (!Su) throw $ = !0, console.warn("Unable to load XML libraries"), t.BuiltIn.Blocked;
|
|
7866
7871
|
try {
|
|
7867
|
-
let t =
|
|
7868
|
-
return [[
|
|
7872
|
+
let t = Su.parseFromString(e, "text/xml");
|
|
7873
|
+
return [[Cu.evaluateXPathToString(n, t, null, {})]];
|
|
7869
7874
|
} catch {
|
|
7870
7875
|
throw t.BuiltIn.Value;
|
|
7871
7876
|
}
|
|
7872
7877
|
}
|
|
7873
|
-
var
|
|
7878
|
+
var xu = async () => {
|
|
7874
7879
|
let [e, t] = await Promise.all([import(
|
|
7875
7880
|
/* webpackIgnore: true */
|
|
7876
7881
|
/* @vite-ignore */
|
|
@@ -7880,17 +7885,17 @@ var vu = async () => {
|
|
|
7880
7885
|
/* @vite-ignore */
|
|
7881
7886
|
"https://esm.sh/@xmldom/xmldom@0.8.11"
|
|
7882
7887
|
)]);
|
|
7883
|
-
|
|
7888
|
+
Cu = e;
|
|
7884
7889
|
let n = t.DOMParser;
|
|
7885
|
-
|
|
7886
|
-
},
|
|
7887
|
-
ENCODEURL: () =>
|
|
7888
|
-
WEBSERVICE: () =>
|
|
7890
|
+
Su = new n();
|
|
7891
|
+
}, Su = null, Cu = null, $ = !1, wu = null, Tu = p({
|
|
7892
|
+
ENCODEURL: () => Eu,
|
|
7893
|
+
WEBSERVICE: () => Du
|
|
7889
7894
|
});
|
|
7890
|
-
function
|
|
7895
|
+
function Eu(e) {
|
|
7891
7896
|
return encodeURIComponent(e);
|
|
7892
7897
|
}
|
|
7893
|
-
async function
|
|
7898
|
+
async function Du(e) {
|
|
7894
7899
|
try {
|
|
7895
7900
|
let t = await fetch(e, {
|
|
7896
7901
|
method: "GET",
|
|
@@ -7905,7 +7910,7 @@ async function wu(e) {
|
|
|
7905
7910
|
throw t.BuiltIn.Value;
|
|
7906
7911
|
}
|
|
7907
7912
|
}
|
|
7908
|
-
var
|
|
7913
|
+
var Ou = {
|
|
7909
7914
|
DAVERAGE: {
|
|
7910
7915
|
p: [
|
|
7911
7916
|
{
|
|
@@ -8146,7 +8151,7 @@ var Tu = {
|
|
|
8146
8151
|
],
|
|
8147
8152
|
r: { s: "*" }
|
|
8148
8153
|
}
|
|
8149
|
-
},
|
|
8154
|
+
}, ku = {
|
|
8150
8155
|
DATE: {
|
|
8151
8156
|
p: [
|
|
8152
8157
|
{ n: "year" },
|
|
@@ -8327,7 +8332,7 @@ var Tu = {
|
|
|
8327
8332
|
p: [{ n: "serialNumber" }],
|
|
8328
8333
|
r: { s: "number" }
|
|
8329
8334
|
}
|
|
8330
|
-
},
|
|
8335
|
+
}, Au = {
|
|
8331
8336
|
BESSELI: {
|
|
8332
8337
|
p: [{
|
|
8333
8338
|
n: "x",
|
|
@@ -8368,7 +8373,7 @@ var Tu = {
|
|
|
8368
8373
|
}],
|
|
8369
8374
|
r: { s: "number" }
|
|
8370
8375
|
}
|
|
8371
|
-
},
|
|
8376
|
+
}, ju = {
|
|
8372
8377
|
BIN2DEC: {
|
|
8373
8378
|
p: [{
|
|
8374
8379
|
n: "number",
|
|
@@ -8557,7 +8562,7 @@ var Tu = {
|
|
|
8557
8562
|
}],
|
|
8558
8563
|
r: { s: "*" }
|
|
8559
8564
|
}
|
|
8560
|
-
},
|
|
8565
|
+
}, Mu = { CONVERT: {
|
|
8561
8566
|
p: [
|
|
8562
8567
|
{
|
|
8563
8568
|
n: "number",
|
|
@@ -8573,7 +8578,7 @@ var Tu = {
|
|
|
8573
8578
|
}
|
|
8574
8579
|
],
|
|
8575
8580
|
r: { s: "number" }
|
|
8576
|
-
} },
|
|
8581
|
+
} }, Nu = {
|
|
8577
8582
|
DELTA: {
|
|
8578
8583
|
p: [{
|
|
8579
8584
|
n: "number1",
|
|
@@ -8602,7 +8607,7 @@ var Tu = {
|
|
|
8602
8607
|
}],
|
|
8603
8608
|
r: { s: "number" }
|
|
8604
8609
|
}
|
|
8605
|
-
},
|
|
8610
|
+
}, Pu = {
|
|
8606
8611
|
ERF: {
|
|
8607
8612
|
p: [{
|
|
8608
8613
|
n: "lowerLimit",
|
|
@@ -8637,7 +8642,7 @@ var Tu = {
|
|
|
8637
8642
|
}],
|
|
8638
8643
|
r: { s: "number" }
|
|
8639
8644
|
}
|
|
8640
|
-
},
|
|
8645
|
+
}, Fu = {
|
|
8641
8646
|
COMPLEX: {
|
|
8642
8647
|
p: [
|
|
8643
8648
|
{
|
|
@@ -8875,7 +8880,7 @@ var Tu = {
|
|
|
8875
8880
|
}],
|
|
8876
8881
|
r: { s: "*" }
|
|
8877
8882
|
}
|
|
8878
|
-
},
|
|
8883
|
+
}, Iu = {
|
|
8879
8884
|
CELL: {
|
|
8880
8885
|
p: [{
|
|
8881
8886
|
n: "infoType",
|
|
@@ -9082,7 +9087,7 @@ var Tu = {
|
|
|
9082
9087
|
}],
|
|
9083
9088
|
r: { s: "number" }
|
|
9084
9089
|
}
|
|
9085
|
-
},
|
|
9090
|
+
}, Lu = {
|
|
9086
9091
|
DATESTRING: {
|
|
9087
9092
|
p: [{ n: "number" }],
|
|
9088
9093
|
r: { s: "*" }
|
|
@@ -9091,13 +9096,13 @@ var Tu = {
|
|
|
9091
9096
|
p: [{ n: "number" }, { n: "number2" }],
|
|
9092
9097
|
r: { s: "*" }
|
|
9093
9098
|
}
|
|
9094
|
-
},
|
|
9099
|
+
}, Ru = { PHONETIC: {
|
|
9095
9100
|
p: [{
|
|
9096
9101
|
n: "reference",
|
|
9097
9102
|
r: "p"
|
|
9098
9103
|
}],
|
|
9099
9104
|
r: { s: "*" }
|
|
9100
|
-
} },
|
|
9105
|
+
} }, zu = {
|
|
9101
9106
|
AND: {
|
|
9102
9107
|
p: [{
|
|
9103
9108
|
n: "logical",
|
|
@@ -9395,7 +9400,7 @@ var Tu = {
|
|
|
9395
9400
|
}],
|
|
9396
9401
|
r: { s: "*" }
|
|
9397
9402
|
}
|
|
9398
|
-
},
|
|
9403
|
+
}, Bu = { GROUPBY: {
|
|
9399
9404
|
p: [
|
|
9400
9405
|
{
|
|
9401
9406
|
n: "rowFields",
|
|
@@ -9445,7 +9450,7 @@ var Tu = {
|
|
|
9445
9450
|
s: "*",
|
|
9446
9451
|
r: "m"
|
|
9447
9452
|
}
|
|
9448
|
-
} },
|
|
9453
|
+
} }, Vu = { PIVOTBY: {
|
|
9449
9454
|
p: [
|
|
9450
9455
|
{
|
|
9451
9456
|
n: "rowFields",
|
|
@@ -9513,7 +9518,7 @@ var Tu = {
|
|
|
9513
9518
|
s: "*",
|
|
9514
9519
|
r: "m"
|
|
9515
9520
|
}
|
|
9516
|
-
} },
|
|
9521
|
+
} }, Hu = {
|
|
9517
9522
|
ADDRESS: {
|
|
9518
9523
|
p: [
|
|
9519
9524
|
{ n: "rowNum" },
|
|
@@ -9857,7 +9862,7 @@ var Tu = {
|
|
|
9857
9862
|
p: [
|
|
9858
9863
|
{
|
|
9859
9864
|
n: "lookupValue",
|
|
9860
|
-
|
|
9865
|
+
s: "*",
|
|
9861
9866
|
o: "accept"
|
|
9862
9867
|
},
|
|
9863
9868
|
{
|
|
@@ -9943,13 +9948,15 @@ var Tu = {
|
|
|
9943
9948
|
},
|
|
9944
9949
|
{
|
|
9945
9950
|
n: "sortIndex",
|
|
9946
|
-
|
|
9951
|
+
r: "r",
|
|
9952
|
+
o: "accept-ref",
|
|
9947
9953
|
m: "?",
|
|
9948
9954
|
u: 1
|
|
9949
9955
|
},
|
|
9950
9956
|
{
|
|
9951
9957
|
n: "sortOrder",
|
|
9952
|
-
|
|
9958
|
+
r: "r",
|
|
9959
|
+
o: "accept-ref",
|
|
9953
9960
|
m: "?",
|
|
9954
9961
|
u: 1
|
|
9955
9962
|
},
|
|
@@ -10174,7 +10181,7 @@ var Tu = {
|
|
|
10174
10181
|
p: [
|
|
10175
10182
|
{
|
|
10176
10183
|
n: "lookupValue",
|
|
10177
|
-
|
|
10184
|
+
s: "*",
|
|
10178
10185
|
o: "accept"
|
|
10179
10186
|
},
|
|
10180
10187
|
{
|
|
@@ -10212,7 +10219,7 @@ var Tu = {
|
|
|
10212
10219
|
p: [
|
|
10213
10220
|
{
|
|
10214
10221
|
n: "lookupValue",
|
|
10215
|
-
|
|
10222
|
+
s: "*",
|
|
10216
10223
|
o: "accept"
|
|
10217
10224
|
},
|
|
10218
10225
|
{
|
|
@@ -10234,7 +10241,7 @@ var Tu = {
|
|
|
10234
10241
|
],
|
|
10235
10242
|
r: { s: "*" }
|
|
10236
10243
|
}
|
|
10237
|
-
},
|
|
10244
|
+
}, Uu = {
|
|
10238
10245
|
ABS: {
|
|
10239
10246
|
p: [{ n: "number" }],
|
|
10240
10247
|
r: { s: "number" }
|
|
@@ -10381,12 +10388,10 @@ var Tu = {
|
|
|
10381
10388
|
r: { s: "number" }
|
|
10382
10389
|
},
|
|
10383
10390
|
GCD: {
|
|
10391
|
+
x: ["noReferenceLift", "noMemberFilter"],
|
|
10384
10392
|
p: [{
|
|
10385
10393
|
n: "number",
|
|
10386
|
-
g: [{
|
|
10387
|
-
n: "number",
|
|
10388
|
-
s: "*"
|
|
10389
|
-
}]
|
|
10394
|
+
g: [{ n: "number" }]
|
|
10390
10395
|
}],
|
|
10391
10396
|
r: { s: "number" }
|
|
10392
10397
|
},
|
|
@@ -10403,12 +10408,10 @@ var Tu = {
|
|
|
10403
10408
|
r: { s: "number" }
|
|
10404
10409
|
},
|
|
10405
10410
|
LCM: {
|
|
10411
|
+
x: ["noReferenceLift", "noMemberFilter"],
|
|
10406
10412
|
p: [{
|
|
10407
10413
|
n: "number",
|
|
10408
|
-
g: [{
|
|
10409
|
-
n: "number",
|
|
10410
|
-
s: "*"
|
|
10411
|
-
}]
|
|
10414
|
+
g: [{ n: "number" }]
|
|
10412
10415
|
}],
|
|
10413
10416
|
r: { s: "number" }
|
|
10414
10417
|
},
|
|
@@ -10470,6 +10473,7 @@ var Tu = {
|
|
|
10470
10473
|
r: { s: "number" }
|
|
10471
10474
|
},
|
|
10472
10475
|
MULTINOMIAL: {
|
|
10476
|
+
x: ["noReferenceLift", "noMemberFilter"],
|
|
10473
10477
|
p: [{
|
|
10474
10478
|
n: "number",
|
|
10475
10479
|
g: [{ n: "number" }]
|
|
@@ -10616,7 +10620,6 @@ var Tu = {
|
|
|
10616
10620
|
{ n: "m" },
|
|
10617
10621
|
{
|
|
10618
10622
|
n: "coefficients",
|
|
10619
|
-
s: "number",
|
|
10620
10623
|
r: "r"
|
|
10621
10624
|
}
|
|
10622
10625
|
],
|
|
@@ -10761,7 +10764,7 @@ var Tu = {
|
|
|
10761
10764
|
}],
|
|
10762
10765
|
r: { s: "number" }
|
|
10763
10766
|
}
|
|
10764
|
-
},
|
|
10767
|
+
}, Wu = {
|
|
10765
10768
|
ACOS: {
|
|
10766
10769
|
p: [{ n: "number" }],
|
|
10767
10770
|
r: { s: "number" }
|
|
@@ -10846,7 +10849,7 @@ var Tu = {
|
|
|
10846
10849
|
p: [{ n: "number" }],
|
|
10847
10850
|
r: { s: "number" }
|
|
10848
10851
|
}
|
|
10849
|
-
},
|
|
10852
|
+
}, Gu = {
|
|
10850
10853
|
ADD: {
|
|
10851
10854
|
p: [{ n: "value1" }, { n: "value2" }],
|
|
10852
10855
|
r: { s: "number" }
|
|
@@ -10959,7 +10962,7 @@ var Tu = {
|
|
|
10959
10962
|
],
|
|
10960
10963
|
r: { s: "boolean" }
|
|
10961
10964
|
}
|
|
10962
|
-
},
|
|
10965
|
+
}, Ku = {
|
|
10963
10966
|
"BETA.DIST": {
|
|
10964
10967
|
fn: "BETA_DIST",
|
|
10965
10968
|
p: [
|
|
@@ -12190,7 +12193,7 @@ var Tu = {
|
|
|
12190
12193
|
],
|
|
12191
12194
|
r: { s: "number" }
|
|
12192
12195
|
}
|
|
12193
|
-
},
|
|
12196
|
+
}, qu = {
|
|
12194
12197
|
AVEDEV: {
|
|
12195
12198
|
p: [{
|
|
12196
12199
|
n: "number",
|
|
@@ -12520,7 +12523,7 @@ var Tu = {
|
|
|
12520
12523
|
}, { n: "k" }],
|
|
12521
12524
|
r: { s: "number" }
|
|
12522
12525
|
}
|
|
12523
|
-
},
|
|
12526
|
+
}, Ju = {
|
|
12524
12527
|
DELAY: {
|
|
12525
12528
|
p: [
|
|
12526
12529
|
{ n: "time" },
|
|
@@ -12548,7 +12551,7 @@ var Tu = {
|
|
|
12548
12551
|
}],
|
|
12549
12552
|
r: { s: "string" }
|
|
12550
12553
|
}
|
|
12551
|
-
},
|
|
12554
|
+
}, Yu = {
|
|
12552
12555
|
ASC: {
|
|
12553
12556
|
p: [{
|
|
12554
12557
|
n: "text",
|
|
@@ -13154,10 +13157,10 @@ var Tu = {
|
|
|
13154
13157
|
}],
|
|
13155
13158
|
r: { s: "string" }
|
|
13156
13159
|
}
|
|
13157
|
-
},
|
|
13160
|
+
}, Xu = { BAHTTEXT: {
|
|
13158
13161
|
p: [{ n: "number" }],
|
|
13159
13162
|
r: { s: "string" }
|
|
13160
|
-
} },
|
|
13163
|
+
} }, Zu = { FILTERXML: {
|
|
13161
13164
|
p: [{
|
|
13162
13165
|
n: "xml",
|
|
13163
13166
|
s: "string"
|
|
@@ -13169,7 +13172,7 @@ var Tu = {
|
|
|
13169
13172
|
s: "*",
|
|
13170
13173
|
r: "m"
|
|
13171
13174
|
}
|
|
13172
|
-
} },
|
|
13175
|
+
} }, Qu = {
|
|
13173
13176
|
ENCODEURL: {
|
|
13174
13177
|
p: [{
|
|
13175
13178
|
n: "text",
|
|
@@ -13184,5 +13187,5 @@ var Tu = {
|
|
|
13184
13187
|
}],
|
|
13185
13188
|
r: { s: "string" }
|
|
13186
13189
|
}
|
|
13187
|
-
},
|
|
13188
|
-
export {
|
|
13190
|
+
}, $u = () => import("./CltdofO5ik8g_wQ8.mjs"), ed = () => import("./Ct1gudv1TKk-5FMO.mjs"), td = () => import("./Cyvobf2wi0quDD3U.mjs"), nd = () => import("./Cdl7ZalV6WPZHHRE.mjs"), rd = () => import("./B3pEie3jQN0SvV5B.mjs"), id = () => import("./CWAtVXxcIz86XLzE.mjs"), ad = () => import("./BM1YhvA2ppUZ3QLB.mjs"), od = () => import("./DKFABgVKeBMflym9.mjs"), sd = () => import("./B7750ljsJF3qA9kU.mjs"), cd = () => import("./DtqLXxtPFISlNoUd.mjs"), ld = () => import("./CG1Fn8D-2DrQZoD5.mjs"), ud = () => import("./CVv3DuciDQrnFFeu.mjs"), dd = () => import("./C9jpXFBeugwmOTbx.mjs"), fd = () => import("./Crb70T1Sp1S4uzq4.mjs"), pd = () => import("./-f-RKKojiLg94hp9.mjs"), md = () => import("./CkG4LZN-kb7plKXG.mjs"), hd = () => import("./HgVmqQQhKQ_2v0HD.mjs"), gd = () => import("./D2miaIrotHbpdWei.mjs"), _d = () => import("./BR2ai1V5dGPphpRf.mjs"), vd = () => import("./BzNFsi4RXuJrn_1n.mjs"), yd = () => import("./C7mAHEhFYDwSEU6O.mjs"), bd = () => import("./Bsb5i9Jq-Q8RTmvi.mjs"), xd = () => import("./BYRjnggsufwbb27W.mjs"), Sd = () => import("./0amsHACCOHE_JjXI.mjs"), Cd = () => import("./CCGjvL3YYwY09qF-.mjs"), wd = (e, t, n) => (n ||= /* @__PURE__ */ new Map(), t(n, e, _, Ou, $u, "Database"), t(n, e, ce, ku, ed, "Date & Time"), t(n, e, Ue, Au, td, "Engineering"), t(n, e, Ye, ju, nd, "Engineering"), t(n, e, _t, Mu, rd, "Engineering"), t(n, e, xt, Nu, id, "Engineering"), t(n, e, Tt, Pu, ad, "Engineering"), t(n, e, At, Fu, od, "Engineering"), t(n, e, mn, Iu, sd, "Information"), t(n, e, Bn, Lu, cd, "Japanese"), t(n, e, Un, Ru, ld, "Japanese"), t(n, e, Kn, zu, ud, "Logical"), t(n, e, mr, Bu, dd, "Lookup & Reference"), t(n, e, gr, Vu, fd, "Lookup & Reference"), t(n, e, yr, Hu, pd, "Lookup & Reference"), t(n, e, _i, Uu, md, "Math & Trig"), t(n, e, ja, Wu, hd, "Math & Trig"), t(n, e, $a, Gu, gd, "Operators"), t(n, e, Go, Ku, _d, "Statistical"), t(n, e, go, qu, vd, "Statistical"), t(n, e, al, Ju, yd, "Testing"), t(n, e, dl, Yu, bd, "Text"), t(n, e, gu, Xu, xd, "Thai"), t(n, e, yu, Zu, Sd, "Web"), t(n, e, Tu, Qu, Cd, "Web"), n);
|
|
13191
|
+
export { wd as default };
|