@arcgis/coding-components 5.0.0-next.42 → 5.0.0-next.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addons.js +1 -1
- package/dist/cdn/{NT5QO4X4.js → 26QR7GPB.js} +2 -2
- package/dist/cdn/{3KV44EKF.js → 2BIYRLEJ.js} +2 -2
- package/dist/cdn/{4HNDAAGD.js → 2P3SBYER.js} +2 -2
- package/dist/cdn/{NFABTXTE.js → 33BYVK4U.js} +2 -2
- package/dist/cdn/{HAJ2IKCV.js → 3KGF6KNN.js} +2 -2
- package/dist/cdn/{2UX2IFUW.js → 3N45SVN5.js} +1 -1
- package/dist/cdn/{CNCFSXGH.js → 4MZZBAX5.js} +2 -2
- package/dist/cdn/{5P3D3TKK.js → 5HNLLESG.js} +2 -2
- package/dist/cdn/{C4ZXMD4S.js → 5IFEB6VG.js} +2 -2
- package/dist/cdn/{2INYNUP7.js → 5P27GATD.js} +2 -2
- package/dist/cdn/{576V4OSL.js → 6X6SMSD2.js} +2 -2
- package/dist/cdn/{ITW5BW5H.js → 7HPHVKST.js} +2 -2
- package/dist/cdn/{F34FC44U.js → A24HU2LN.js} +3 -3
- package/dist/cdn/{UZ7E5XXW.js → B6EQPXD3.js} +2 -2
- package/dist/cdn/{Z7VSXXL5.js → BD2A7QMF.js} +2 -2
- package/dist/cdn/{JVSPBOBQ.js → BVXKCACV.js} +2 -2
- package/dist/cdn/{JW7ZDXRQ.js → CUZC5KQS.js} +2 -2
- package/dist/cdn/{MFRHUMIZ.js → DYLLKODN.js} +2 -2
- package/dist/cdn/{AG5ILJLX.js → E7N4XTYS.js} +2 -2
- package/dist/cdn/{NURLCMIO.js → GDXIEZF2.js} +2 -2
- package/dist/cdn/{PXFW7RGD.js → HO5OSV7Y.js} +2 -2
- package/dist/cdn/{OF6555TH.js → IAMG4E7Y.js} +2 -2
- package/dist/cdn/{CN6OFK3H.js → INQ6BLWW.js} +2 -2
- package/dist/cdn/{SD2ELABO.js → IWQNBWSH.js} +2 -2
- package/dist/cdn/{W2IHKDBE.js → JGFMKQHT.js} +2 -2
- package/dist/cdn/{ADTWZWUI.js → JOUBDREO.js} +2 -2
- package/dist/cdn/{YUZM2A3J.js → JP7WDOQZ.js} +2 -2
- package/dist/cdn/{JJ7HTCIS.js → K2MMORF5.js} +2 -2
- package/dist/cdn/{MOXQYCJ2.js → KB5GZ6AM.js} +1 -1
- package/dist/cdn/{CHGFXUOX.js → KPG4754P.js} +2 -2
- package/dist/cdn/{X55HHM3P.js → L4WCOUVC.js} +2 -2
- package/dist/cdn/{ZUJW2BYR.js → LXUYOENF.js} +2 -2
- package/dist/cdn/{U4STFFFM.js → MTEIKEXA.js} +2 -2
- package/dist/cdn/{LNJQIEV5.js → MTK7VIAF.js} +1 -1
- package/dist/cdn/{7NY45X2B.js → NAWW6273.js} +1 -1
- package/dist/cdn/{YIREYFQN.js → NY3JYPBG.js} +2 -2
- package/dist/cdn/{VKTJCEDA.js → OEXDYQBS.js} +2 -2
- package/dist/cdn/{IC6VZKC5.js → QNP4JSX4.js} +1 -1
- package/dist/cdn/{N4NHK3A7.js → QTOD3GRF.js} +2 -2
- package/dist/cdn/{5W7XVVDR.js → RYFB436P.js} +1 -1
- package/dist/cdn/{NQW5I2DA.js → SJ75ZUSF.js} +2 -2
- package/dist/cdn/{QS53QWBF.js → TLHLMYGQ.js} +2 -2
- package/dist/cdn/{CKKCFDII.js → UFFSLARI.js} +2 -2
- package/dist/cdn/{4UU75BOJ.js → VZNPGP63.js} +2 -2
- package/dist/cdn/YSMYTBW5.js +4 -0
- package/dist/cdn/{OMV6R47V.js → ZG46XWAK.js} +1 -1
- package/dist/cdn/{XAF5VTV6.js → ZJSUXRB5.js} +1 -1
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +370 -372
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/arcade-contribution.js +1 -1
- package/dist/chunks/arcade-defaults.js +1 -1
- package/dist/chunks/arcade-executor.js +1 -1
- package/dist/chunks/arcade-mode.js +1 -1
- package/dist/chunks/arcade-service-accessors.js +1 -1
- package/dist/chunks/colorize.js +1 -1
- package/dist/chunks/editor.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +1 -1
- package/dist/chunks/markdown.js +1 -1
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/sql-expr-defaults.js +1 -1
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/sql-expr-service-accessors.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utilities.js +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
- package/dist/components/arcgis-arcade-results/customElement.js +1 -1
- package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
- package/dist/components/arcgis-code-editor/customElement.js +1 -1
- package/dist/components/arcgis-code-viewer/customElement.js +1 -1
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/monacoStyles.js +1 -1
- package/package.json +5 -5
- package/dist/cdn/WZS3PVTL.js +0 -4
|
@@ -1109,7 +1109,7 @@ if (typeof Hf < "u" && typeof Hf.process < "u") {
|
|
|
1109
1109
|
return "/";
|
|
1110
1110
|
}
|
|
1111
1111
|
};
|
|
1112
|
-
const _a = Cs.cwd, L6 = Cs.env, M6 = Cs.platform, O6 = 65, C6 = 97, R6 = 90, I6 = 122,
|
|
1112
|
+
const _a = Cs.cwd, L6 = Cs.env, M6 = Cs.platform, O6 = 65, C6 = 97, R6 = 90, I6 = 122, On = 46, Ot = 47, er = 92, gn = 58, k6 = 63;
|
|
1113
1113
|
class q2 extends Error {
|
|
1114
1114
|
constructor(e, r, n) {
|
|
1115
1115
|
let s;
|
|
@@ -1129,7 +1129,7 @@ function nt(t, e) {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
const fn = M6 === "win32";
|
|
1131
1131
|
function we(t) {
|
|
1132
|
-
return t === Ot || t ===
|
|
1132
|
+
return t === Ot || t === er;
|
|
1133
1133
|
}
|
|
1134
1134
|
function k1(t) {
|
|
1135
1135
|
return t === Ot;
|
|
@@ -1149,7 +1149,7 @@ function ya(t, e, r, n) {
|
|
|
1149
1149
|
}
|
|
1150
1150
|
if (n(c)) {
|
|
1151
1151
|
if (!(u === m - 1 || l === 1)) if (l === 2) {
|
|
1152
|
-
if (s.length < 2 || i !== 2 || s.charCodeAt(s.length - 1) !==
|
|
1152
|
+
if (s.length < 2 || i !== 2 || s.charCodeAt(s.length - 1) !== On || s.charCodeAt(s.length - 2) !== On) {
|
|
1153
1153
|
if (s.length > 2) {
|
|
1154
1154
|
const _ = s.lastIndexOf(r);
|
|
1155
1155
|
_ === -1 ? (s = "", i = 0) : (s = s.slice(0, _), i = s.length - 1 - s.lastIndexOf(r)), u = m, l = 0;
|
|
@@ -1163,7 +1163,7 @@ function ya(t, e, r, n) {
|
|
|
1163
1163
|
} else
|
|
1164
1164
|
s.length > 0 ? s += `${r}${t.slice(u + 1, m)}` : s = t.slice(u + 1, m), i = m - u - 1;
|
|
1165
1165
|
u = m, l = 0;
|
|
1166
|
-
} else c ===
|
|
1166
|
+
} else c === On && l !== -1 ? ++l : l = -1;
|
|
1167
1167
|
}
|
|
1168
1168
|
return s;
|
|
1169
1169
|
}
|
|
@@ -1175,7 +1175,7 @@ function H2(t, e) {
|
|
|
1175
1175
|
const r = e.dir || e.root, n = e.base || `${e.name || ""}${$6(e.ext)}`;
|
|
1176
1176
|
return r ? r === e.root ? `${r}${n}` : `${r}${t}${n}` : n;
|
|
1177
1177
|
}
|
|
1178
|
-
const
|
|
1178
|
+
const Gt = {
|
|
1179
1179
|
// path.resolve([from ...], to)
|
|
1180
1180
|
resolve(...t) {
|
|
1181
1181
|
let e = "", r = "", n = !1;
|
|
@@ -1184,7 +1184,7 @@ const Bt = {
|
|
|
1184
1184
|
if (s >= 0) {
|
|
1185
1185
|
if (i = t[s], nt(i, `paths[${s}]`), i.length === 0)
|
|
1186
1186
|
continue;
|
|
1187
|
-
} else e.length === 0 ? i = _a() : (i = L6[`=${e}`] || _a(), (i === void 0 || i.slice(0, 2).toLowerCase() !== e.toLowerCase() && i.charCodeAt(2) ===
|
|
1187
|
+
} else e.length === 0 ? i = _a() : (i = L6[`=${e}`] || _a(), (i === void 0 || i.slice(0, 2).toLowerCase() !== e.toLowerCase() && i.charCodeAt(2) === er) && (i = `${e}\\`));
|
|
1188
1188
|
const u = i.length;
|
|
1189
1189
|
let l = 0, c = "", m = !1;
|
|
1190
1190
|
const _ = i.charCodeAt(0);
|
|
@@ -1284,7 +1284,7 @@ const Bt = {
|
|
|
1284
1284
|
s++;
|
|
1285
1285
|
s >= 2 && (e = `\\${e.slice(s)}`);
|
|
1286
1286
|
}
|
|
1287
|
-
return
|
|
1287
|
+
return Gt.normalize(e);
|
|
1288
1288
|
},
|
|
1289
1289
|
// It will solve the relative path from `from` to `to`, for instance:
|
|
1290
1290
|
// from = 'C:\\orandea\\test\\aaa'
|
|
@@ -1293,21 +1293,21 @@ const Bt = {
|
|
|
1293
1293
|
relative(t, e) {
|
|
1294
1294
|
if (nt(t, "from"), nt(e, "to"), t === e)
|
|
1295
1295
|
return "";
|
|
1296
|
-
const r =
|
|
1296
|
+
const r = Gt.resolve(t), n = Gt.resolve(e);
|
|
1297
1297
|
if (r === n || (t = r.toLowerCase(), e = n.toLowerCase(), t === e))
|
|
1298
1298
|
return "";
|
|
1299
1299
|
let s = 0;
|
|
1300
|
-
for (; s < t.length && t.charCodeAt(s) ===
|
|
1300
|
+
for (; s < t.length && t.charCodeAt(s) === er; )
|
|
1301
1301
|
s++;
|
|
1302
1302
|
let i = t.length;
|
|
1303
|
-
for (; i - 1 > s && t.charCodeAt(i - 1) ===
|
|
1303
|
+
for (; i - 1 > s && t.charCodeAt(i - 1) === er; )
|
|
1304
1304
|
i--;
|
|
1305
1305
|
const u = i - s;
|
|
1306
1306
|
let l = 0;
|
|
1307
|
-
for (; l < e.length && e.charCodeAt(l) ===
|
|
1307
|
+
for (; l < e.length && e.charCodeAt(l) === er; )
|
|
1308
1308
|
l++;
|
|
1309
1309
|
let c = e.length;
|
|
1310
|
-
for (; c - 1 > l && e.charCodeAt(c - 1) ===
|
|
1310
|
+
for (; c - 1 > l && e.charCodeAt(c - 1) === er; )
|
|
1311
1311
|
c--;
|
|
1312
1312
|
const m = c - l, _ = u < m ? u : m;
|
|
1313
1313
|
let y = -1, v = 0;
|
|
@@ -1315,38 +1315,38 @@ const Bt = {
|
|
|
1315
1315
|
const T = t.charCodeAt(s + v);
|
|
1316
1316
|
if (T !== e.charCodeAt(l + v))
|
|
1317
1317
|
break;
|
|
1318
|
-
T ===
|
|
1318
|
+
T === er && (y = v);
|
|
1319
1319
|
}
|
|
1320
1320
|
if (v !== _) {
|
|
1321
1321
|
if (y === -1)
|
|
1322
1322
|
return n;
|
|
1323
1323
|
} else {
|
|
1324
1324
|
if (m > _) {
|
|
1325
|
-
if (e.charCodeAt(l + v) ===
|
|
1325
|
+
if (e.charCodeAt(l + v) === er)
|
|
1326
1326
|
return n.slice(l + v + 1);
|
|
1327
1327
|
if (v === 2)
|
|
1328
1328
|
return n.slice(l + v);
|
|
1329
1329
|
}
|
|
1330
|
-
u > _ && (t.charCodeAt(s + v) ===
|
|
1330
|
+
u > _ && (t.charCodeAt(s + v) === er ? y = v : v === 2 && (y = 3)), y === -1 && (y = 0);
|
|
1331
1331
|
}
|
|
1332
1332
|
let S = "";
|
|
1333
1333
|
for (v = s + y + 1; v <= i; ++v)
|
|
1334
|
-
(v === i || t.charCodeAt(v) ===
|
|
1335
|
-
return l += y, S.length > 0 ? `${S}${n.slice(l, c)}` : (n.charCodeAt(l) ===
|
|
1334
|
+
(v === i || t.charCodeAt(v) === er) && (S += S.length === 0 ? ".." : "\\..");
|
|
1335
|
+
return l += y, S.length > 0 ? `${S}${n.slice(l, c)}` : (n.charCodeAt(l) === er && ++l, n.slice(l, c));
|
|
1336
1336
|
},
|
|
1337
1337
|
toNamespacedPath(t) {
|
|
1338
1338
|
if (typeof t != "string" || t.length === 0)
|
|
1339
1339
|
return t;
|
|
1340
|
-
const e =
|
|
1340
|
+
const e = Gt.resolve(t);
|
|
1341
1341
|
if (e.length <= 2)
|
|
1342
1342
|
return t;
|
|
1343
|
-
if (e.charCodeAt(0) ===
|
|
1344
|
-
if (e.charCodeAt(1) ===
|
|
1343
|
+
if (e.charCodeAt(0) === er) {
|
|
1344
|
+
if (e.charCodeAt(1) === er) {
|
|
1345
1345
|
const r = e.charCodeAt(2);
|
|
1346
|
-
if (r !== k6 && r !==
|
|
1346
|
+
if (r !== k6 && r !== On)
|
|
1347
1347
|
return `\\\\?\\UNC\\${e.slice(2)}`;
|
|
1348
1348
|
}
|
|
1349
|
-
} else if (_n(e.charCodeAt(0)) && e.charCodeAt(1) === gn && e.charCodeAt(2) ===
|
|
1349
|
+
} else if (_n(e.charCodeAt(0)) && e.charCodeAt(1) === gn && e.charCodeAt(2) === er)
|
|
1350
1350
|
return `\\\\?\\${e}`;
|
|
1351
1351
|
return t;
|
|
1352
1352
|
},
|
|
@@ -1434,7 +1434,7 @@ const Bt = {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
continue;
|
|
1436
1436
|
}
|
|
1437
|
-
s === -1 && (i = !1, s = l + 1), c ===
|
|
1437
|
+
s === -1 && (i = !1, s = l + 1), c === On ? r === -1 ? r = l : u !== 1 && (u = 1) : r !== -1 && (u = -1);
|
|
1438
1438
|
}
|
|
1439
1439
|
return r === -1 || s === -1 || // We saw a non-dot character immediately before the dot
|
|
1440
1440
|
u === 0 || // The (right-most) trimmed path component is exactly '..'
|
|
@@ -1484,7 +1484,7 @@ const Bt = {
|
|
|
1484
1484
|
}
|
|
1485
1485
|
continue;
|
|
1486
1486
|
}
|
|
1487
|
-
l === -1 && (c = !1, l = m + 1), s ===
|
|
1487
|
+
l === -1 && (c = !1, l = m + 1), s === On ? i === -1 ? i = m : _ !== 1 && (_ = 1) : i !== -1 && (_ = -1);
|
|
1488
1488
|
}
|
|
1489
1489
|
return l !== -1 && (i === -1 || // We saw a non-dot character immediately before the dot
|
|
1490
1490
|
_ === 0 || // The (right-most) trimmed path component is exactly '..'
|
|
@@ -1503,7 +1503,7 @@ const Bt = {
|
|
|
1503
1503
|
};
|
|
1504
1504
|
}
|
|
1505
1505
|
return () => _a();
|
|
1506
|
-
})(),
|
|
1506
|
+
})(), Bt = {
|
|
1507
1507
|
// path.resolve([from ...], to)
|
|
1508
1508
|
resolve(...t) {
|
|
1509
1509
|
let e = "", r = !1;
|
|
@@ -1530,10 +1530,10 @@ const Bt = {
|
|
|
1530
1530
|
const n = t[r];
|
|
1531
1531
|
nt(n, "path"), n.length > 0 && (e === void 0 ? e = n : e += `/${n}`);
|
|
1532
1532
|
}
|
|
1533
|
-
return e === void 0 ? "." :
|
|
1533
|
+
return e === void 0 ? "." : Bt.normalize(e);
|
|
1534
1534
|
},
|
|
1535
1535
|
relative(t, e) {
|
|
1536
|
-
if (nt(t, "from"), nt(e, "to"), t === e || (t =
|
|
1536
|
+
if (nt(t, "from"), nt(e, "to"), t === e || (t = Bt.resolve(t), e = Bt.resolve(e), t === e))
|
|
1537
1537
|
return "";
|
|
1538
1538
|
const r = 1, n = t.length, s = n - r, i = 1, u = e.length - i, l = s < u ? s : u;
|
|
1539
1539
|
let c = -1, m = 0;
|
|
@@ -1613,7 +1613,7 @@ const Bt = {
|
|
|
1613
1613
|
}
|
|
1614
1614
|
continue;
|
|
1615
1615
|
}
|
|
1616
|
-
n === -1 && (s = !1, n = u + 1), l ===
|
|
1616
|
+
n === -1 && (s = !1, n = u + 1), l === On ? e === -1 ? e = u : i !== 1 && (i = 1) : e !== -1 && (i = -1);
|
|
1617
1617
|
}
|
|
1618
1618
|
return e === -1 || n === -1 || // We saw a non-dot character immediately before the dot
|
|
1619
1619
|
i === 0 || // The (right-most) trimmed path component is exactly '..'
|
|
@@ -1638,7 +1638,7 @@ const Bt = {
|
|
|
1638
1638
|
}
|
|
1639
1639
|
continue;
|
|
1640
1640
|
}
|
|
1641
|
-
u === -1 && (l = !1, u = c + 1), _ ===
|
|
1641
|
+
u === -1 && (l = !1, u = c + 1), _ === On ? s === -1 ? s = c : m !== 1 && (m = 1) : s !== -1 && (m = -1);
|
|
1642
1642
|
}
|
|
1643
1643
|
if (u !== -1) {
|
|
1644
1644
|
const _ = i === 0 && r ? 1 : i;
|
|
@@ -1653,16 +1653,16 @@ const Bt = {
|
|
|
1653
1653
|
win32: null,
|
|
1654
1654
|
posix: null
|
|
1655
1655
|
};
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
fn ?
|
|
1659
|
-
const U6 = fn ?
|
|
1660
|
-
fn ?
|
|
1661
|
-
fn ?
|
|
1662
|
-
fn ?
|
|
1663
|
-
fn ?
|
|
1664
|
-
fn ?
|
|
1665
|
-
fn ?
|
|
1656
|
+
Bt.win32 = Gt.win32 = Gt;
|
|
1657
|
+
Bt.posix = Gt.posix = Bt;
|
|
1658
|
+
fn ? Gt.normalize : Bt.normalize;
|
|
1659
|
+
const U6 = fn ? Gt.join : Bt.join;
|
|
1660
|
+
fn ? Gt.resolve : Bt.resolve;
|
|
1661
|
+
fn ? Gt.relative : Bt.relative;
|
|
1662
|
+
fn ? Gt.dirname : Bt.dirname;
|
|
1663
|
+
fn ? Gt.basename : Bt.basename;
|
|
1664
|
+
fn ? Gt.extname : Bt.extname;
|
|
1665
|
+
fn ? Gt.sep : Bt.sep;
|
|
1666
1666
|
const z6 = /^\w[\w\d+.-]*$/, V6 = /^\//, j6 = /^\/\//;
|
|
1667
1667
|
function W6(t, e) {
|
|
1668
1668
|
if (!t.scheme && e)
|
|
@@ -1797,7 +1797,7 @@ let Qr = class Go {
|
|
|
1797
1797
|
if (!e.path)
|
|
1798
1798
|
throw new Error("[UriError]: cannot call joinPath on URI without path");
|
|
1799
1799
|
let n;
|
|
1800
|
-
return Pi && e.scheme === "file" ? n = Go.file(
|
|
1800
|
+
return Pi && e.scheme === "file" ? n = Go.file(Gt.join(D1(e, !0), ...r)).path : n = Bt.join(e.path, ...r), e.with({ path: n });
|
|
1801
1801
|
}
|
|
1802
1802
|
// ---- printing/externalize ---------------------------
|
|
1803
1803
|
/**
|
|
@@ -1943,7 +1943,7 @@ class Z6 {
|
|
|
1943
1943
|
this._preferredWebSchema = e;
|
|
1944
1944
|
}
|
|
1945
1945
|
get _remoteResourcesPath() {
|
|
1946
|
-
return
|
|
1946
|
+
return Bt.join(this._serverRootPath, Mn.vscodeRemoteResource);
|
|
1947
1947
|
}
|
|
1948
1948
|
rewrite(e) {
|
|
1949
1949
|
if (this._delegate)
|
|
@@ -2697,7 +2697,7 @@ class Pn {
|
|
|
2697
2697
|
}
|
|
2698
2698
|
}
|
|
2699
2699
|
}
|
|
2700
|
-
let it = class
|
|
2700
|
+
let it = class Hn {
|
|
2701
2701
|
constructor(e, r) {
|
|
2702
2702
|
this.lineNumber = e, this.column = r;
|
|
2703
2703
|
}
|
|
@@ -2708,7 +2708,7 @@ let it = class Yn {
|
|
|
2708
2708
|
* @param newColumn new column
|
|
2709
2709
|
*/
|
|
2710
2710
|
with(e = this.lineNumber, r = this.column) {
|
|
2711
|
-
return e === this.lineNumber && r === this.column ? this : new
|
|
2711
|
+
return e === this.lineNumber && r === this.column ? this : new Hn(e, r);
|
|
2712
2712
|
}
|
|
2713
2713
|
/**
|
|
2714
2714
|
* Derive a new position from this position.
|
|
@@ -2723,7 +2723,7 @@ let it = class Yn {
|
|
|
2723
2723
|
* Test if this position equals other position
|
|
2724
2724
|
*/
|
|
2725
2725
|
equals(e) {
|
|
2726
|
-
return
|
|
2726
|
+
return Hn.equals(this, e);
|
|
2727
2727
|
}
|
|
2728
2728
|
/**
|
|
2729
2729
|
* Test if position `a` equals position `b`
|
|
@@ -2736,7 +2736,7 @@ let it = class Yn {
|
|
|
2736
2736
|
* If the two positions are equal, the result will be false.
|
|
2737
2737
|
*/
|
|
2738
2738
|
isBefore(e) {
|
|
2739
|
-
return
|
|
2739
|
+
return Hn.isBefore(this, e);
|
|
2740
2740
|
}
|
|
2741
2741
|
/**
|
|
2742
2742
|
* Test if position `a` is before position `b`.
|
|
@@ -2750,7 +2750,7 @@ let it = class Yn {
|
|
|
2750
2750
|
* If the two positions are equal, the result will be true.
|
|
2751
2751
|
*/
|
|
2752
2752
|
isBeforeOrEqual(e) {
|
|
2753
|
-
return
|
|
2753
|
+
return Hn.isBeforeOrEqual(this, e);
|
|
2754
2754
|
}
|
|
2755
2755
|
/**
|
|
2756
2756
|
* Test if position `a` is before position `b`.
|
|
@@ -2774,7 +2774,7 @@ let it = class Yn {
|
|
|
2774
2774
|
* Clone this position.
|
|
2775
2775
|
*/
|
|
2776
2776
|
clone() {
|
|
2777
|
-
return new
|
|
2777
|
+
return new Hn(this.lineNumber, this.column);
|
|
2778
2778
|
}
|
|
2779
2779
|
/**
|
|
2780
2780
|
* Convert to a human-readable representation.
|
|
@@ -2787,7 +2787,7 @@ let it = class Yn {
|
|
|
2787
2787
|
* Create a `Position` from an `IPosition`.
|
|
2788
2788
|
*/
|
|
2789
2789
|
static lift(e) {
|
|
2790
|
-
return new
|
|
2790
|
+
return new Hn(e.lineNumber, e.column);
|
|
2791
2791
|
}
|
|
2792
2792
|
/**
|
|
2793
2793
|
* Test if `obj` is an `IPosition`.
|
|
@@ -7239,13 +7239,13 @@ const Jm = {
|
|
|
7239
7239
|
getLegacy: () => new G5(),
|
|
7240
7240
|
getDefault: () => new _8()
|
|
7241
7241
|
};
|
|
7242
|
-
function
|
|
7242
|
+
function Cn(t, e) {
|
|
7243
7243
|
const r = Math.pow(10, e);
|
|
7244
7244
|
return Math.round(t * r) / r;
|
|
7245
7245
|
}
|
|
7246
7246
|
class xt {
|
|
7247
7247
|
constructor(e, r, n, s = 1) {
|
|
7248
|
-
this._rgbaBrand = void 0, this.r = Math.min(255, Math.max(0, e)) | 0, this.g = Math.min(255, Math.max(0, r)) | 0, this.b = Math.min(255, Math.max(0, n)) | 0, this.a =
|
|
7248
|
+
this._rgbaBrand = void 0, this.r = Math.min(255, Math.max(0, e)) | 0, this.g = Math.min(255, Math.max(0, r)) | 0, this.b = Math.min(255, Math.max(0, n)) | 0, this.a = Cn(Math.max(Math.min(1, s), 0), 3);
|
|
7249
7249
|
}
|
|
7250
7250
|
static equals(e, r) {
|
|
7251
7251
|
return e.r === r.r && e.g === r.g && e.b === r.b && e.a === r.a;
|
|
@@ -7253,7 +7253,7 @@ class xt {
|
|
|
7253
7253
|
}
|
|
7254
7254
|
class Sr {
|
|
7255
7255
|
constructor(e, r, n, s) {
|
|
7256
|
-
this._hslaBrand = void 0, this.h = Math.max(Math.min(360, e), 0) | 0, this.s =
|
|
7256
|
+
this._hslaBrand = void 0, this.h = Math.max(Math.min(360, e), 0) | 0, this.s = Cn(Math.max(Math.min(1, r), 0), 3), this.l = Cn(Math.max(Math.min(1, n), 0), 3), this.a = Cn(Math.max(Math.min(1, s), 0), 3);
|
|
7257
7257
|
}
|
|
7258
7258
|
static equals(e, r) {
|
|
7259
7259
|
return e.h === r.h && e.s === r.s && e.l === r.l && e.a === r.a;
|
|
@@ -7307,7 +7307,7 @@ class Sr {
|
|
|
7307
7307
|
}
|
|
7308
7308
|
class Ls {
|
|
7309
7309
|
constructor(e, r, n, s) {
|
|
7310
|
-
this._hsvaBrand = void 0, this.h = Math.max(Math.min(360, e), 0) | 0, this.s =
|
|
7310
|
+
this._hsvaBrand = void 0, this.h = Math.max(Math.min(360, e), 0) | 0, this.s = Cn(Math.max(Math.min(1, r), 0), 3), this.v = Cn(Math.max(Math.min(1, n), 0), 3), this.a = Cn(Math.max(Math.min(1, s), 0), 3);
|
|
7311
7311
|
}
|
|
7312
7312
|
static equals(e, r) {
|
|
7313
7313
|
return e.h === r.h && e.s === r.s && e.v === r.v && e.a === r.a;
|
|
@@ -7359,7 +7359,7 @@ let xa = class dt {
|
|
|
7359
7359
|
*/
|
|
7360
7360
|
getRelativeLuminance() {
|
|
7361
7361
|
const e = dt._relativeLuminanceForComponent(this.rgba.r), r = dt._relativeLuminanceForComponent(this.rgba.g), n = dt._relativeLuminanceForComponent(this.rgba.b), s = 0.2126 * e + 0.7152 * r + 0.0722 * n;
|
|
7362
|
-
return
|
|
7362
|
+
return Cn(s, 4);
|
|
7363
7363
|
}
|
|
7364
7364
|
static _relativeLuminanceForComponent(e) {
|
|
7365
7365
|
const r = e / 255;
|
|
@@ -9511,8 +9511,8 @@ let V8 = class {
|
|
|
9511
9511
|
return r;
|
|
9512
9512
|
}
|
|
9513
9513
|
};
|
|
9514
|
-
var
|
|
9515
|
-
const
|
|
9514
|
+
var zt = /* @__PURE__ */ ((t) => (t.ARGS = "args", t.CLAUSES = "clauses", t.ELSE = "else", t.END = "end", t.EXPR = "expr", t.LEFT = "left", t.OPERAND = "operand", t.QUALIFIER = "qualifier", t.RIGHT = "right", t.START = "start", t.VALUE = "value", t))(zt || {}), We = /* @__PURE__ */ ((t) => (t.CASE_EXPRESSION = "case-expression", t.EXPRESSION_LIST = "expression-list", t.FUNCTION = "function", t.INTERVAL = "interval", t.INTERVAL_QUALIFIER = "interval-qualifier", t.WHEN_CLAUSE = "when-clause", t.UNARY_EXPRESSION = "unary-expression", t.BINARY_EXPRESSION = "binary-expression", t))(We || {});
|
|
9515
|
+
const Vt = {
|
|
9516
9516
|
"case-expression": [
|
|
9517
9517
|
"clauses",
|
|
9518
9518
|
"operand",
|
|
@@ -9555,7 +9555,7 @@ const jt = {
|
|
|
9555
9555
|
Error: 8
|
|
9556
9556
|
}, Oo = {
|
|
9557
9557
|
InsertAsSnippet: 4
|
|
9558
|
-
},
|
|
9558
|
+
}, Dt = {
|
|
9559
9559
|
Function: 1,
|
|
9560
9560
|
Field: 3,
|
|
9561
9561
|
Keyword: 17,
|
|
@@ -9671,7 +9671,7 @@ const jt = {
|
|
|
9671
9671
|
"TRIM",
|
|
9672
9672
|
"UPPER"
|
|
9673
9673
|
], Y8 = (t, e) => t === e ? `${t}` : e === -1 ? `${t}+` : `${t}-${e}`;
|
|
9674
|
-
var
|
|
9674
|
+
var Yt = /* @__PURE__ */ ((t) => (t.ExpectedDateTimeValue = "ExpectedDateTimeValue", t.ExpectedNumericalLiteral = "ExpectedNumericalLiteral", t.ExpectedToken = "ExpectedToken", t.FunctionNotSupported = "FunctionNotSupported", t.IncompatibleListDataType = "IncompatibleListDataType", t.IncorrectArgumentLength = "IncorrectArgumentLength", t.IncorrectCastParameters = "IncorrectCastParameters", t.InvalidDateArithmetic = "InvalidDateArithmetic", t.IncorrectExtractParameters = "IncorrectExtractParameters", t.IncorrectSubstringParameters = "IncorrectSubstringParameters", t.IncorrectTrimParameters = "IncorrectTrimParameters", t.InvalidElseClause = "InvalidElseClause", t.InvalidThenClause = "InvalidThenClause", t.InvalidEndOnWhen = "InvalidEndOnWhen", t.InvalidTrimCharacter = "InvalidTrimCharacter", t.MismatchedTypes = "MismatchedTypes", t.MissingValueInCaseClause = "MissingValueInCaseClause", t.NotCallable = "NotCallable", t.TypeNotAssignable = "TypeNotAssignable", t.UnexpectedEnd = "UnexpectedEnd.", t.UnexpectedIdentifier = "UnexpectedIdentifier", t.UnexpectedNumber = "UnexpectedNumber", t.UnexpectedTextLiteral = "UnexpectedTextLiteral", t.UnexpectedToken = "UnexpectedToken", t.UnknownField = "UnknownField", t.UnsupportedOperator = "UnsupportedOperator", t.UnsupportedSyntax = "UnsupportedSyntax", t.InvalidIntervalQualifier = "InvalidIntervalQualifier", t.EmptyCaseExpression = "EmptyCaseExpression", t))(Yt || {});
|
|
9675
9675
|
const Z8 = {
|
|
9676
9676
|
ExpectedDateTimeValue: `Expected ${dh.join(" | ")}.`,
|
|
9677
9677
|
ExpectedNumericalLiteral: "Expected a numerical literal.",
|
|
@@ -9717,7 +9717,7 @@ Types found: \${types}.`,
|
|
|
9717
9717
|
// TODO: validate message with PE
|
|
9718
9718
|
InvalidIntervalQualifier: "Invalid interval qualifier. Expected 'YEAR', 'MONTH', 'DAY', 'HOUR', 'MINUTE', 'SECOND'.",
|
|
9719
9719
|
EmptyCaseExpression: "The CASE expression cannot be empty. Please provide valid conditions and results within the CASE block."
|
|
9720
|
-
},
|
|
9720
|
+
}, tr = (t, e) => {
|
|
9721
9721
|
const r = Z8[t];
|
|
9722
9722
|
return e && "minParams" in e && "maxParams" in e && (e.formatMinMaxParams = Y8(
|
|
9723
9723
|
e.minParams,
|
|
@@ -9982,7 +9982,7 @@ const Q8 = (t) => {
|
|
|
9982
9982
|
case "string":
|
|
9983
9983
|
return Xr(String(t.value));
|
|
9984
9984
|
}
|
|
9985
|
-
},
|
|
9985
|
+
}, Ut = (t, e, r, n) => {
|
|
9986
9986
|
if (n) {
|
|
9987
9987
|
const s = e, i = {
|
|
9988
9988
|
startColumn: s.start.column,
|
|
@@ -9999,20 +9999,20 @@ const Q8 = (t) => {
|
|
|
9999
9999
|
(u) => u.message === t && u.startColumn === s.startColumn && u.startLineNumber === s.startLineNumber && u.endColumn === s.endColumn && u.endLineNumber === s.endLineNumber
|
|
10000
10000
|
) || r.push({ message: t, severity: ng.Error, ...s });
|
|
10001
10001
|
}
|
|
10002
|
-
},
|
|
10002
|
+
}, Gn = (t, e, r, n) => {
|
|
10003
10003
|
const s = Qn(t, n);
|
|
10004
10004
|
let i = s.toUpperCase() === e;
|
|
10005
10005
|
if (e === "NUMBER" && (i = g_(s)), !i) {
|
|
10006
|
-
const u =
|
|
10006
|
+
const u = tr(Yt.TypeNotAssignable, {
|
|
10007
10007
|
providedType: Xr(s),
|
|
10008
10008
|
expectedType: Xr(e.toLowerCase())
|
|
10009
10009
|
});
|
|
10010
|
-
|
|
10010
|
+
Ut(u, t.location, r, !0);
|
|
10011
10011
|
}
|
|
10012
10012
|
}, __ = (t) => t.variables ? t.variables.find(
|
|
10013
10013
|
(r) => r.name === "$layer" && r.type === "dictionary"
|
|
10014
10014
|
)?.properties ?? [] : [];
|
|
10015
|
-
function
|
|
10015
|
+
function Xt(t) {
|
|
10016
10016
|
return typeof t == "number";
|
|
10017
10017
|
}
|
|
10018
10018
|
function Tt(t) {
|
|
@@ -10080,21 +10080,21 @@ function i7(t, e) {
|
|
|
10080
10080
|
return -1;
|
|
10081
10081
|
switch (e.type) {
|
|
10082
10082
|
case We.CASE_EXPRESSION:
|
|
10083
|
-
return
|
|
10083
|
+
return zt.ELSE;
|
|
10084
10084
|
case We.WHEN_CLAUSE:
|
|
10085
|
-
return t === e.operand ?
|
|
10085
|
+
return t === e.operand ? zt.OPERAND : t === e.value ? zt.VALUE : -1;
|
|
10086
10086
|
case We.UNARY_EXPRESSION:
|
|
10087
|
-
return
|
|
10087
|
+
return zt.EXPR;
|
|
10088
10088
|
case We.BINARY_EXPRESSION:
|
|
10089
|
-
return t === e.left ?
|
|
10089
|
+
return t === e.left ? zt.LEFT : t === e.right ? zt.RIGHT : -1;
|
|
10090
10090
|
case We.FUNCTION:
|
|
10091
10091
|
return e.args.value.findIndex((r) => r === t);
|
|
10092
10092
|
case We.INTERVAL:
|
|
10093
|
-
return t === e.value ?
|
|
10093
|
+
return t === e.value ? zt.VALUE : t === e.qualifier ? zt.QUALIFIER : -1;
|
|
10094
10094
|
case We.INTERVAL_QUALIFIER:
|
|
10095
|
-
return t === e.start ?
|
|
10095
|
+
return t === e.start ? zt.START : t === e.end ? zt.END : -1;
|
|
10096
10096
|
case We.EXPRESSION_LIST:
|
|
10097
|
-
return
|
|
10097
|
+
return zt.VALUE;
|
|
10098
10098
|
default:
|
|
10099
10099
|
return -1;
|
|
10100
10100
|
}
|
|
@@ -10176,8 +10176,8 @@ class c7 {
|
|
|
10176
10176
|
case "interval": {
|
|
10177
10177
|
const r = e.value.value;
|
|
10178
10178
|
if (!X8.test(r) || e.value.type !== "string") {
|
|
10179
|
-
const n =
|
|
10180
|
-
|
|
10179
|
+
const n = tr(Yt.ExpectedNumericalLiteral), s = this._getRange(e.value);
|
|
10180
|
+
Ut(n, s, this.markers);
|
|
10181
10181
|
return;
|
|
10182
10182
|
}
|
|
10183
10183
|
return;
|
|
@@ -10192,22 +10192,22 @@ class c7 {
|
|
|
10192
10192
|
case "case-expression":
|
|
10193
10193
|
if (e.clauses.length === 0) {
|
|
10194
10194
|
if (e.else) {
|
|
10195
|
-
const s =
|
|
10195
|
+
const s = tr(Yt.InvalidElseClause), i = {
|
|
10196
10196
|
startLineNumber: e.elseLocation?.start.line ?? e.else.location.start.line,
|
|
10197
10197
|
endLineNumber: e.elseLocation?.end.line ?? e.else.location.end.line,
|
|
10198
10198
|
startColumn: e.elseLocation?.start.column ?? e.else.location.start.column,
|
|
10199
10199
|
endColumn: e.elseLocation?.end.column ?? e.else.location.end.column
|
|
10200
10200
|
};
|
|
10201
|
-
|
|
10201
|
+
Ut(s, i, this.markers);
|
|
10202
10202
|
return;
|
|
10203
10203
|
}
|
|
10204
|
-
const r =
|
|
10204
|
+
const r = tr(Yt.EmptyCaseExpression), n = {
|
|
10205
10205
|
startLineNumber: e.location.start.line,
|
|
10206
10206
|
endLineNumber: e.location.end.line,
|
|
10207
10207
|
startColumn: e.location.start.column,
|
|
10208
10208
|
endColumn: e.location.end.column
|
|
10209
10209
|
};
|
|
10210
|
-
|
|
10210
|
+
Ut(r, n, this.markers);
|
|
10211
10211
|
return;
|
|
10212
10212
|
}
|
|
10213
10213
|
return;
|
|
@@ -10218,10 +10218,10 @@ class c7 {
|
|
|
10218
10218
|
if (Object.values(Ni).map((n) => n.toLowerCase()).includes(e.column.toLowerCase()))
|
|
10219
10219
|
return;
|
|
10220
10220
|
if (!this._fields.find((n) => n.name === e.column)) {
|
|
10221
|
-
const n =
|
|
10221
|
+
const n = tr(Yt.UnknownField, {
|
|
10222
10222
|
field: e.column
|
|
10223
10223
|
});
|
|
10224
|
-
|
|
10224
|
+
Ut(n, e.location, this.markers, !0);
|
|
10225
10225
|
}
|
|
10226
10226
|
return;
|
|
10227
10227
|
}
|
|
@@ -10234,19 +10234,19 @@ class c7 {
|
|
|
10234
10234
|
let u = Qn(i, this._fields);
|
|
10235
10235
|
if (u !== "column-reference" && u !== "time-only") {
|
|
10236
10236
|
if (u === "unknown_function") {
|
|
10237
|
-
const l =
|
|
10237
|
+
const l = tr(Yt.FunctionNotSupported, {
|
|
10238
10238
|
function: i.name
|
|
10239
10239
|
});
|
|
10240
|
-
|
|
10240
|
+
Ut(l, i.location, this.markers, !0);
|
|
10241
10241
|
return;
|
|
10242
10242
|
}
|
|
10243
10243
|
g_(u) && (u = "number"), n.has(u) || n.add(u);
|
|
10244
10244
|
}
|
|
10245
10245
|
}), n.size > 1) {
|
|
10246
|
-
const i = Array.from(n), u =
|
|
10246
|
+
const i = Array.from(n), u = tr(Yt.IncompatibleListDataType, {
|
|
10247
10247
|
types: og(i, Ni.COMMA)
|
|
10248
10248
|
});
|
|
10249
|
-
|
|
10249
|
+
Ut(u, e.location, this.markers, !0);
|
|
10250
10250
|
}
|
|
10251
10251
|
return;
|
|
10252
10252
|
}
|
|
@@ -10255,7 +10255,7 @@ class c7 {
|
|
|
10255
10255
|
const r = this.callStack.length === 1, n = e.left, s = e.right, i = Qn(n, this._fields), u = Qn(s, this._fields);
|
|
10256
10256
|
if (r && !u7.includes(e.operator)) {
|
|
10257
10257
|
const l = `Cannot perform binary operation '${e.operator}' at root node.`;
|
|
10258
|
-
|
|
10258
|
+
Ut(l, e.location, this.markers, !0);
|
|
10259
10259
|
return;
|
|
10260
10260
|
}
|
|
10261
10261
|
switch (e.operator) {
|
|
@@ -10263,24 +10263,24 @@ class c7 {
|
|
|
10263
10263
|
// logical operators
|
|
10264
10264
|
case "AND":
|
|
10265
10265
|
case "OR":
|
|
10266
|
-
|
|
10266
|
+
Gn(n, xn.BOOLEAN, this.markers, this._fields), Gn(s, xn.BOOLEAN, this.markers, this._fields);
|
|
10267
10267
|
break;
|
|
10268
10268
|
// null comparison operators
|
|
10269
10269
|
case "IS":
|
|
10270
10270
|
case "ISNOT":
|
|
10271
|
-
|
|
10271
|
+
Gn(s, xn.NULL, this.markers, this._fields);
|
|
10272
10272
|
break;
|
|
10273
10273
|
// set comparison operators
|
|
10274
10274
|
case "IN":
|
|
10275
10275
|
case "NOT IN":
|
|
10276
10276
|
case "BETWEEN":
|
|
10277
10277
|
case "NOTBETWEEN":
|
|
10278
|
-
|
|
10278
|
+
Gn(s, xn.EXPRESSION_LIST, this.markers, this._fields);
|
|
10279
10279
|
break;
|
|
10280
10280
|
// string comparison operators
|
|
10281
10281
|
case "LIKE":
|
|
10282
10282
|
case "NOT LIKE":
|
|
10283
|
-
|
|
10283
|
+
Gn(s, xn.STRING, this.markers, this._fields);
|
|
10284
10284
|
break;
|
|
10285
10285
|
// Comparison operators
|
|
10286
10286
|
case "<>":
|
|
@@ -10290,21 +10290,21 @@ class c7 {
|
|
|
10290
10290
|
case "<=":
|
|
10291
10291
|
case "=": {
|
|
10292
10292
|
if (!sg.includes(u)) {
|
|
10293
|
-
const c =
|
|
10293
|
+
const c = tr(Yt.TypeNotAssignable, {
|
|
10294
10294
|
providedType: Xr(u),
|
|
10295
10295
|
expectedType: og(sg, Ni.COMMA)
|
|
10296
10296
|
});
|
|
10297
|
-
|
|
10297
|
+
Ut(c, s.location, this.markers, !0);
|
|
10298
10298
|
}
|
|
10299
10299
|
const l = Co(i) && Co(u);
|
|
10300
10300
|
if (i !== u && !l) {
|
|
10301
|
-
const c =
|
|
10301
|
+
const c = tr(Yt.MismatchedTypes, {
|
|
10302
10302
|
leftValue: ps(n),
|
|
10303
10303
|
providedType: i,
|
|
10304
10304
|
rightValue: ps(s),
|
|
10305
10305
|
expectedType: u
|
|
10306
10306
|
});
|
|
10307
|
-
|
|
10307
|
+
Ut(c, e.location, this.markers, !0);
|
|
10308
10308
|
}
|
|
10309
10309
|
break;
|
|
10310
10310
|
}
|
|
@@ -10314,31 +10314,31 @@ class c7 {
|
|
|
10314
10314
|
case "+":
|
|
10315
10315
|
case "/":
|
|
10316
10316
|
if (!Co(i) || !Co(u)) {
|
|
10317
|
-
const l =
|
|
10317
|
+
const l = tr(Yt.MismatchedTypes, {
|
|
10318
10318
|
leftValue: ps(n),
|
|
10319
10319
|
providedType: i,
|
|
10320
10320
|
rightValue: ps(s),
|
|
10321
10321
|
expectedType: u
|
|
10322
10322
|
});
|
|
10323
|
-
|
|
10323
|
+
Ut(l, e.location, this.markers, !0);
|
|
10324
10324
|
}
|
|
10325
10325
|
if (i !== u && !ig(n, s, this._fields)) {
|
|
10326
|
-
const l =
|
|
10326
|
+
const l = tr(Yt.MismatchedTypes, {
|
|
10327
10327
|
leftValue: ps(n),
|
|
10328
10328
|
providedType: i,
|
|
10329
10329
|
rightValue: ps(s),
|
|
10330
10330
|
expectedType: u
|
|
10331
10331
|
});
|
|
10332
|
-
|
|
10332
|
+
Ut(l, e.location, this.markers, !0);
|
|
10333
10333
|
}
|
|
10334
10334
|
if ([i, u].every((l) => l === "date") && !ig(n, s, this._fields)) {
|
|
10335
|
-
const l =
|
|
10336
|
-
|
|
10335
|
+
const l = tr(Yt.InvalidDateArithmetic);
|
|
10336
|
+
Ut(l, e.location, this.markers, !0);
|
|
10337
10337
|
}
|
|
10338
10338
|
break;
|
|
10339
10339
|
// string concatenation
|
|
10340
10340
|
case "||":
|
|
10341
|
-
|
|
10341
|
+
Gn(n, xn.STRING, this.markers, this._fields), Gn(s, xn.STRING, this.markers, this._fields);
|
|
10342
10342
|
break;
|
|
10343
10343
|
}
|
|
10344
10344
|
return;
|
|
@@ -10350,10 +10350,10 @@ class c7 {
|
|
|
10350
10350
|
if (!r || // these keywords are not valid as "functions" in SQL expressions
|
|
10351
10351
|
// they are still parsed in the AST, so we invalidate them here.
|
|
10352
10352
|
["CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP", "CURRENT_USER"].includes(e.name.toUpperCase())) {
|
|
10353
|
-
const n =
|
|
10353
|
+
const n = tr(Yt.FunctionNotSupported, {
|
|
10354
10354
|
function: e.name
|
|
10355
10355
|
});
|
|
10356
|
-
|
|
10356
|
+
Ut(n, e.location, this.markers, !0);
|
|
10357
10357
|
return;
|
|
10358
10358
|
}
|
|
10359
10359
|
if (r.type === "function") {
|
|
@@ -10361,12 +10361,12 @@ class c7 {
|
|
|
10361
10361
|
args: { value: i }
|
|
10362
10362
|
} = e, u = i.length;
|
|
10363
10363
|
if (u < n || s !== -1 && u > s) {
|
|
10364
|
-
const l =
|
|
10364
|
+
const l = tr(Yt.IncorrectArgumentLength, {
|
|
10365
10365
|
minParams: n,
|
|
10366
10366
|
maxParams: s,
|
|
10367
10367
|
numArgs: u
|
|
10368
10368
|
});
|
|
10369
|
-
|
|
10369
|
+
Ut(l, e.location, this.markers);
|
|
10370
10370
|
}
|
|
10371
10371
|
}
|
|
10372
10372
|
}
|
|
@@ -10405,7 +10405,7 @@ class c7 {
|
|
|
10405
10405
|
startColumn: n.location.start.column,
|
|
10406
10406
|
endColumn: n.location.end.column
|
|
10407
10407
|
};
|
|
10408
|
-
|
|
10408
|
+
Ut(s, i, this.markers);
|
|
10409
10409
|
}
|
|
10410
10410
|
/**
|
|
10411
10411
|
* Formats a node's range into a Monaco IRange object.
|
|
@@ -10435,14 +10435,14 @@ class c7 {
|
|
|
10435
10435
|
switch (e.type) {
|
|
10436
10436
|
case We.CASE_EXPRESSION:
|
|
10437
10437
|
{
|
|
10438
|
-
const r =
|
|
10438
|
+
const r = Vt[e.type];
|
|
10439
10439
|
e.format === "simple" ? r.forEach((n) => {
|
|
10440
10440
|
const s = e[n];
|
|
10441
10441
|
s && (Array.isArray(s) ? s.forEach((i) => {
|
|
10442
10442
|
this.traverse(i);
|
|
10443
10443
|
}) : this.traverse(s));
|
|
10444
10444
|
}) : e.format === "searched" && r.forEach((n) => {
|
|
10445
|
-
if (n ===
|
|
10445
|
+
if (n === zt.OPERAND)
|
|
10446
10446
|
return;
|
|
10447
10447
|
const s = e[n];
|
|
10448
10448
|
s && (Array.isArray(s) ? s.forEach((i) => {
|
|
@@ -10452,13 +10452,13 @@ class c7 {
|
|
|
10452
10452
|
}
|
|
10453
10453
|
break;
|
|
10454
10454
|
case We.WHEN_CLAUSE:
|
|
10455
|
-
|
|
10455
|
+
Vt[e.type].forEach((n) => {
|
|
10456
10456
|
const s = e[n];
|
|
10457
10457
|
this.traverse(s);
|
|
10458
10458
|
});
|
|
10459
10459
|
break;
|
|
10460
10460
|
case We.EXPRESSION_LIST:
|
|
10461
|
-
|
|
10461
|
+
Vt[e.type].forEach((n) => {
|
|
10462
10462
|
const s = e[n];
|
|
10463
10463
|
Array.isArray(s) ? s.forEach((i) => {
|
|
10464
10464
|
this.traverse(i);
|
|
@@ -10466,31 +10466,31 @@ class c7 {
|
|
|
10466
10466
|
});
|
|
10467
10467
|
break;
|
|
10468
10468
|
case We.UNARY_EXPRESSION:
|
|
10469
|
-
|
|
10469
|
+
Vt[e.type].forEach((n) => {
|
|
10470
10470
|
const s = e[n];
|
|
10471
10471
|
Array.isArray(s) && this.traverse(s);
|
|
10472
10472
|
});
|
|
10473
10473
|
break;
|
|
10474
10474
|
case We.BINARY_EXPRESSION:
|
|
10475
|
-
|
|
10475
|
+
Vt[e.type].forEach((n) => {
|
|
10476
10476
|
const s = e[n];
|
|
10477
10477
|
this.traverse(s);
|
|
10478
10478
|
});
|
|
10479
10479
|
break;
|
|
10480
10480
|
case We.FUNCTION:
|
|
10481
|
-
|
|
10481
|
+
Vt[e.type].forEach((n) => {
|
|
10482
10482
|
const s = e[n];
|
|
10483
10483
|
this.traverse(s);
|
|
10484
10484
|
});
|
|
10485
10485
|
break;
|
|
10486
10486
|
case We.INTERVAL:
|
|
10487
|
-
|
|
10487
|
+
Vt[e.type].forEach((n) => {
|
|
10488
10488
|
const s = e[n];
|
|
10489
10489
|
this.traverse(s);
|
|
10490
10490
|
});
|
|
10491
10491
|
break;
|
|
10492
10492
|
case We.INTERVAL_QUALIFIER:
|
|
10493
|
-
|
|
10493
|
+
Vt[e.type].forEach((n) => {
|
|
10494
10494
|
const s = e[n];
|
|
10495
10495
|
this.traverse(s);
|
|
10496
10496
|
});
|
|
@@ -10499,7 +10499,7 @@ class c7 {
|
|
|
10499
10499
|
}
|
|
10500
10500
|
// #endregion
|
|
10501
10501
|
}
|
|
10502
|
-
const
|
|
10502
|
+
const Kt = {
|
|
10503
10503
|
identifiers: "a",
|
|
10504
10504
|
profileVariables: "aa",
|
|
10505
10505
|
constants: "ab",
|
|
@@ -10512,11 +10512,11 @@ const er = {
|
|
|
10512
10512
|
function f7(t) {
|
|
10513
10513
|
switch (t) {
|
|
10514
10514
|
case "functions":
|
|
10515
|
-
return
|
|
10515
|
+
return Dt.Function;
|
|
10516
10516
|
case "keywords":
|
|
10517
|
-
return
|
|
10517
|
+
return Dt.Keyword;
|
|
10518
10518
|
case "operators":
|
|
10519
|
-
return
|
|
10519
|
+
return Dt.Operator;
|
|
10520
10520
|
}
|
|
10521
10521
|
}
|
|
10522
10522
|
class h7 {
|
|
@@ -10584,7 +10584,7 @@ class h7 {
|
|
|
10584
10584
|
case "case-expression":
|
|
10585
10585
|
i.else || e.completionItems.push({
|
|
10586
10586
|
label: "ELSE",
|
|
10587
|
-
kind:
|
|
10587
|
+
kind: Dt.Keyword,
|
|
10588
10588
|
insertText: "ELSE",
|
|
10589
10589
|
sortText: "a",
|
|
10590
10590
|
range: r
|
|
@@ -10597,10 +10597,10 @@ class h7 {
|
|
|
10597
10597
|
this._getCompletionsFromFunction(i, u, e);
|
|
10598
10598
|
break;
|
|
10599
10599
|
case "interval":
|
|
10600
|
-
if (u ===
|
|
10600
|
+
if (u === zt.QUALIFIER) {
|
|
10601
10601
|
this._suggestDatePeriods(e);
|
|
10602
10602
|
break;
|
|
10603
|
-
} else if (u ===
|
|
10603
|
+
} else if (u === zt.VALUE)
|
|
10604
10604
|
break;
|
|
10605
10605
|
break;
|
|
10606
10606
|
case "binary-expression":
|
|
@@ -10631,7 +10631,7 @@ class h7 {
|
|
|
10631
10631
|
label: u.text,
|
|
10632
10632
|
kind: f7(u.category),
|
|
10633
10633
|
insertText: u.text,
|
|
10634
|
-
sortText:
|
|
10634
|
+
sortText: Kt[u.category],
|
|
10635
10635
|
range: n
|
|
10636
10636
|
});
|
|
10637
10637
|
}), s.completionItems;
|
|
@@ -10648,27 +10648,27 @@ class h7 {
|
|
|
10648
10648
|
case "CAST":
|
|
10649
10649
|
r === 0 ? (this._suggestFields(n), this._suggestDateFunctions(n)) : r === 1 ? this._suggestDataTypes(n) : e.args.value.length && r === -1 ? n.completionItems.push({
|
|
10650
10650
|
label: "AS",
|
|
10651
|
-
kind:
|
|
10651
|
+
kind: Dt.Keyword,
|
|
10652
10652
|
insertText: "AS",
|
|
10653
|
-
sortText:
|
|
10653
|
+
sortText: Kt.keywords,
|
|
10654
10654
|
range: s
|
|
10655
10655
|
}) : this._suggestFields(n);
|
|
10656
10656
|
break;
|
|
10657
10657
|
case "EXTRACT":
|
|
10658
10658
|
r === 0 ? this._suggestDatePeriods(n, !0) : r === 1 ? (this._suggestFields(n), this._suggestDateLiterals(n), this._suggestDateFunctions(n)) : e.args.value.length && r === -1 ? n.completionItems.push({
|
|
10659
10659
|
label: "FROM",
|
|
10660
|
-
kind:
|
|
10660
|
+
kind: Dt.Keyword,
|
|
10661
10661
|
insertText: "FROM",
|
|
10662
|
-
sortText:
|
|
10662
|
+
sortText: Kt.keywords,
|
|
10663
10663
|
range: s
|
|
10664
10664
|
}) : this._suggestDatePeriods(n, !0);
|
|
10665
10665
|
break;
|
|
10666
10666
|
case "TRIM":
|
|
10667
10667
|
r === 0 ? this._suggestTrimParts(n) : r === 1 ? this._suggestTrimParts(n) : r === 2 ? this._suggestFields(n) : e.args.value.length && r === -1 ? n.completionItems.push({
|
|
10668
10668
|
label: "FROM",
|
|
10669
|
-
kind:
|
|
10669
|
+
kind: Dt.Keyword,
|
|
10670
10670
|
insertText: "FROM",
|
|
10671
|
-
sortText:
|
|
10671
|
+
sortText: Kt.keywords,
|
|
10672
10672
|
range: s
|
|
10673
10673
|
}) : this._suggestTrimParts(n);
|
|
10674
10674
|
break;
|
|
@@ -10728,11 +10728,11 @@ class h7 {
|
|
|
10728
10728
|
this._fields.forEach((n) => {
|
|
10729
10729
|
e.completionItems.push({
|
|
10730
10730
|
label: n.name,
|
|
10731
|
-
kind:
|
|
10731
|
+
kind: Dt.Field,
|
|
10732
10732
|
insertText: n.name,
|
|
10733
10733
|
documentation: n.completion?.documentation,
|
|
10734
10734
|
detail: n.completion?.detail,
|
|
10735
|
-
sortText:
|
|
10735
|
+
sortText: Kt.profileVariables,
|
|
10736
10736
|
range: r
|
|
10737
10737
|
});
|
|
10738
10738
|
});
|
|
@@ -10744,12 +10744,12 @@ class h7 {
|
|
|
10744
10744
|
s.forEach((i) => {
|
|
10745
10745
|
e.completionItems.push({
|
|
10746
10746
|
label: i.completion.label,
|
|
10747
|
-
kind:
|
|
10747
|
+
kind: Dt.Function,
|
|
10748
10748
|
insertText: i.completion.insertText || i.completion.label,
|
|
10749
10749
|
insertTextRules: Oo.InsertAsSnippet,
|
|
10750
10750
|
documentation: i.completion.documentation,
|
|
10751
10751
|
detail: i.completion.detail,
|
|
10752
|
-
sortText:
|
|
10752
|
+
sortText: Kt.functions,
|
|
10753
10753
|
range: r
|
|
10754
10754
|
});
|
|
10755
10755
|
});
|
|
@@ -10760,9 +10760,9 @@ class h7 {
|
|
|
10760
10760
|
m_.forEach((n) => {
|
|
10761
10761
|
e.completionItems.push({
|
|
10762
10762
|
label: n,
|
|
10763
|
-
kind:
|
|
10763
|
+
kind: Dt.Keyword,
|
|
10764
10764
|
insertText: n,
|
|
10765
|
-
sortText:
|
|
10765
|
+
sortText: Kt.keywords,
|
|
10766
10766
|
range: r
|
|
10767
10767
|
});
|
|
10768
10768
|
});
|
|
@@ -10772,9 +10772,9 @@ class h7 {
|
|
|
10772
10772
|
[...dh, ...r ? W8 : []].forEach((s) => {
|
|
10773
10773
|
e.completionItems.push({
|
|
10774
10774
|
label: s,
|
|
10775
|
-
kind:
|
|
10775
|
+
kind: Dt.Keyword,
|
|
10776
10776
|
insertText: s,
|
|
10777
|
-
sortText:
|
|
10777
|
+
sortText: Kt.keywords,
|
|
10778
10778
|
range: n
|
|
10779
10779
|
});
|
|
10780
10780
|
});
|
|
@@ -10784,9 +10784,9 @@ class h7 {
|
|
|
10784
10784
|
p_.forEach((n) => {
|
|
10785
10785
|
e.completionItems.push({
|
|
10786
10786
|
label: n,
|
|
10787
|
-
kind:
|
|
10787
|
+
kind: Dt.Keyword,
|
|
10788
10788
|
insertText: n,
|
|
10789
|
-
sortText:
|
|
10789
|
+
sortText: Kt.keywords,
|
|
10790
10790
|
range: r
|
|
10791
10791
|
});
|
|
10792
10792
|
});
|
|
@@ -10796,9 +10796,9 @@ class h7 {
|
|
|
10796
10796
|
G8.forEach((n) => {
|
|
10797
10797
|
e.completionItems.push({
|
|
10798
10798
|
label: n,
|
|
10799
|
-
kind:
|
|
10799
|
+
kind: Dt.Keyword,
|
|
10800
10800
|
insertText: n,
|
|
10801
|
-
sortText:
|
|
10801
|
+
sortText: Kt.keywords,
|
|
10802
10802
|
range: r
|
|
10803
10803
|
});
|
|
10804
10804
|
});
|
|
@@ -10813,12 +10813,12 @@ class h7 {
|
|
|
10813
10813
|
l.forEach((c) => {
|
|
10814
10814
|
e.completionItems.push({
|
|
10815
10815
|
label: c.completion.label,
|
|
10816
|
-
kind:
|
|
10816
|
+
kind: Dt.Function,
|
|
10817
10817
|
insertText: c.completion.insertText || c.completion.label,
|
|
10818
10818
|
insertTextRules: Oo.InsertAsSnippet,
|
|
10819
10819
|
documentation: c.completion.documentation,
|
|
10820
10820
|
detail: c.completion.detail,
|
|
10821
|
-
sortText:
|
|
10821
|
+
sortText: Kt.functions,
|
|
10822
10822
|
range: r
|
|
10823
10823
|
});
|
|
10824
10824
|
});
|
|
@@ -10828,10 +10828,10 @@ class h7 {
|
|
|
10828
10828
|
const { range: r } = e;
|
|
10829
10829
|
e.completionItems.push({
|
|
10830
10830
|
label: "CASE",
|
|
10831
|
-
kind:
|
|
10831
|
+
kind: Dt.Keyword,
|
|
10832
10832
|
insertText: "CASE\n WHEN ${1:condition_1_} THEN ${2:result_1_} \n ELSE ${3:result_2_}\nEND${0}",
|
|
10833
10833
|
insertTextRules: Oo.InsertAsSnippet,
|
|
10834
|
-
sortText:
|
|
10834
|
+
sortText: Kt.keywords,
|
|
10835
10835
|
range: r
|
|
10836
10836
|
});
|
|
10837
10837
|
}
|
|
@@ -10839,9 +10839,9 @@ class h7 {
|
|
|
10839
10839
|
const { range: r } = e;
|
|
10840
10840
|
e.completionItems.push({
|
|
10841
10841
|
label: "NULL",
|
|
10842
|
-
kind:
|
|
10842
|
+
kind: Dt.Keyword,
|
|
10843
10843
|
insertText: "NULL",
|
|
10844
|
-
sortText:
|
|
10844
|
+
sortText: Kt.keywords,
|
|
10845
10845
|
range: r
|
|
10846
10846
|
});
|
|
10847
10847
|
}
|
|
@@ -10853,12 +10853,12 @@ class h7 {
|
|
|
10853
10853
|
s?.forEach((i) => {
|
|
10854
10854
|
e.completionItems.push({
|
|
10855
10855
|
label: i.completion.label,
|
|
10856
|
-
kind:
|
|
10856
|
+
kind: Dt.Function,
|
|
10857
10857
|
insertText: i.completion.insertText || i.completion.label,
|
|
10858
10858
|
insertTextRules: Oo.InsertAsSnippet,
|
|
10859
10859
|
documentation: i.completion.documentation,
|
|
10860
10860
|
detail: i.completion.detail,
|
|
10861
|
-
sortText:
|
|
10861
|
+
sortText: Kt.functions,
|
|
10862
10862
|
range: r
|
|
10863
10863
|
});
|
|
10864
10864
|
});
|
|
@@ -10873,14 +10873,14 @@ class h7 {
|
|
|
10873
10873
|
switch (e.type) {
|
|
10874
10874
|
case We.CASE_EXPRESSION:
|
|
10875
10875
|
{
|
|
10876
|
-
const n =
|
|
10876
|
+
const n = Vt[e.type];
|
|
10877
10877
|
e.format === "simple" ? n.forEach((s) => {
|
|
10878
10878
|
const i = e[s];
|
|
10879
10879
|
i && (Array.isArray(i) ? i.forEach((u) => {
|
|
10880
10880
|
this.traverse(u, r);
|
|
10881
10881
|
}) : this.traverse(i, r));
|
|
10882
10882
|
}) : e.format === "searched" && n.forEach((s) => {
|
|
10883
|
-
if (s ===
|
|
10883
|
+
if (s === zt.OPERAND)
|
|
10884
10884
|
return;
|
|
10885
10885
|
const i = e[s];
|
|
10886
10886
|
i && (Array.isArray(i) ? i.forEach((u) => {
|
|
@@ -10890,44 +10890,44 @@ class h7 {
|
|
|
10890
10890
|
}
|
|
10891
10891
|
break;
|
|
10892
10892
|
case We.WHEN_CLAUSE:
|
|
10893
|
-
|
|
10893
|
+
Vt[e.type].forEach((s) => {
|
|
10894
10894
|
const i = e[s];
|
|
10895
10895
|
this.traverse(i, r);
|
|
10896
10896
|
});
|
|
10897
10897
|
break;
|
|
10898
10898
|
case We.EXPRESSION_LIST:
|
|
10899
|
-
|
|
10899
|
+
Vt[e.type].forEach((s) => {
|
|
10900
10900
|
e[s].forEach((u) => {
|
|
10901
10901
|
this.traverse(u, r);
|
|
10902
10902
|
});
|
|
10903
10903
|
});
|
|
10904
10904
|
break;
|
|
10905
10905
|
case We.UNARY_EXPRESSION:
|
|
10906
|
-
|
|
10906
|
+
Vt[e.type].forEach((s) => {
|
|
10907
10907
|
const i = e[s];
|
|
10908
10908
|
Array.isArray(i) && this.traverse(i, r);
|
|
10909
10909
|
});
|
|
10910
10910
|
break;
|
|
10911
10911
|
case We.BINARY_EXPRESSION:
|
|
10912
|
-
|
|
10912
|
+
Vt[e.type].forEach((s) => {
|
|
10913
10913
|
const i = e[s];
|
|
10914
10914
|
this.traverse(i, r);
|
|
10915
10915
|
});
|
|
10916
10916
|
break;
|
|
10917
10917
|
case We.FUNCTION:
|
|
10918
|
-
|
|
10918
|
+
Vt[e.type].forEach((s) => {
|
|
10919
10919
|
const i = e[s];
|
|
10920
10920
|
this.traverse(i, r);
|
|
10921
10921
|
});
|
|
10922
10922
|
break;
|
|
10923
10923
|
case We.INTERVAL:
|
|
10924
|
-
|
|
10924
|
+
Vt[e.type].forEach((s) => {
|
|
10925
10925
|
const i = e[s];
|
|
10926
10926
|
this.traverse(i, r);
|
|
10927
10927
|
});
|
|
10928
10928
|
break;
|
|
10929
10929
|
case We.INTERVAL_QUALIFIER:
|
|
10930
|
-
|
|
10930
|
+
Vt[e.type].forEach((s) => {
|
|
10931
10931
|
const i = e[s];
|
|
10932
10932
|
this.traverse(i, r);
|
|
10933
10933
|
});
|
|
@@ -10994,17 +10994,16 @@ class d7 {
|
|
|
10994
10994
|
return null;
|
|
10995
10995
|
}
|
|
10996
10996
|
}
|
|
10997
|
-
|
|
10998
|
-
const Dt = globalThis;
|
|
10997
|
+
const rr = globalThis, Yn = { ...rr.esriConfig?.has };
|
|
10999
10998
|
function $(t) {
|
|
11000
|
-
return typeof
|
|
10999
|
+
return typeof Yn[t] == "function" ? Yn[t] = Yn[t](rr) : Yn[t];
|
|
11001
11000
|
}
|
|
11002
|
-
|
|
11003
|
-
(n ||
|
|
11004
|
-
}, $.cache =
|
|
11005
|
-
$.add("host-webworker",
|
|
11001
|
+
$.add = (t, e, r, n) => {
|
|
11002
|
+
(n || Yn[t] === void 0) && (Yn[t] = e), r && $(t);
|
|
11003
|
+
}, $.cache = Yn, $.add("big-integer-warning-enabled", !0), $.add("esri-deprecation-warnings", !0), $.add("esri-tests-disable-screenshots", !1), $.add("esri-tests-use-full-window", !1), $.add("esri-tests-post-to-influx", !0), $.add("esri-cim-animations-enable-status", "enabled"), $.add("esri-cim-animations-spotlight", !1), $.add("esri-cim-animations-freeze-time", !1), (() => {
|
|
11004
|
+
$.add("host-webworker", rr.WorkerGlobalScope !== void 0 && self instanceof rr.WorkerGlobalScope);
|
|
11006
11005
|
const t = typeof window < "u" && typeof location < "u" && typeof document < "u" && window.location === location && window.document === document;
|
|
11007
|
-
if ($.add("host-browser", t), $.add("host-node", !(typeof
|
|
11006
|
+
if ($.add("host-browser", t), $.add("host-node", !(typeof rr.process != "object" || !rr.process.versions?.node || !rr.process.versions.v8)), $.add("dom", t), $("host-browser")) {
|
|
11008
11007
|
const e = navigator, r = e.userAgent, n = e.appVersion, s = parseFloat(n);
|
|
11009
11008
|
if ($.add("wp", parseFloat(r.split("Windows Phone")[1]) || void 0), $.add("msapp", parseFloat(r.split("MSAppHost/")[1]) || void 0), $.add("khtml", n.includes("Konqueror") ? s : void 0), $.add("edge", parseFloat(r.split("Edge/")[1]) || void 0), $.add("opr", parseFloat(r.split("OPR/")[1]) || void 0), $.add("webkit", !$("wp") && !$("edge") && parseFloat(r.split("WebKit/")[1]) || void 0), $.add("chrome", !$("edge") && !$("opr") && parseFloat(r.split("Chrome/")[1]) || void 0), $.add("android", !$("wp") && parseFloat(r.split("Android ")[1]) || void 0), $.add("safari", !n.includes("Safari") || $("wp") || $("chrome") || $("android") || $("edge") || $("opr") ? void 0 : parseFloat(n.split("Version/")[1])), $.add("mac", n.includes("Macintosh")), !$("wp") && /(iPhone|iPod|iPad)/.test(r)) {
|
|
11010
11009
|
const i = RegExp.$1.replace(/P/, "p"), u = /OS ([\d_]+)/.test(r) ? RegExp.$1 : "1", l = parseFloat(u.replace(/_/, ".").replaceAll("_", ""));
|
|
@@ -11013,17 +11012,17 @@ On = Dt.dojoConfig?.has || Dt.esriConfig?.has ? { ...Dt.dojoConfig?.has, ...Dt.e
|
|
|
11013
11012
|
$("webkit") || (!r.includes("Gecko") || $("wp") || $("khtml") || $("edge") || $.add("mozilla", s), $("mozilla") && $.add("ff", parseFloat(r.split("Firefox/")[1] || r.split("Minefield/")[1]) || void 0));
|
|
11014
11013
|
}
|
|
11015
11014
|
})(), (() => {
|
|
11016
|
-
if (
|
|
11015
|
+
if (rr.navigator) {
|
|
11017
11016
|
const t = navigator.userAgent, e = /Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(t), r = /iPhone/i.test(t);
|
|
11018
11017
|
e && $.add("esri-mobile", e), r && $.add("esri-iPhone", r), $.add("esri-geolocation", !!navigator.geolocation);
|
|
11019
11018
|
}
|
|
11020
|
-
$.add("esri-wasm", "WebAssembly" in
|
|
11021
|
-
const t = "SharedArrayBuffer" in
|
|
11019
|
+
$.add("esri-wasm", "WebAssembly" in rr), $.add("esri-performance-mode-frames-between-render", 20), $.add("esri-force-performance-mode", !1), $.add("esri-shared-array-buffer", () => {
|
|
11020
|
+
const t = "SharedArrayBuffer" in rr, e = rr.crossOriginIsolated === !1;
|
|
11022
11021
|
return t && !e;
|
|
11023
11022
|
}), $.add("wasm-simd", () => {
|
|
11024
11023
|
const t = [0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11];
|
|
11025
11024
|
return WebAssembly.validate(new Uint8Array(t));
|
|
11026
|
-
}), $.add("esri-atomics", "Atomics" in
|
|
11025
|
+
}), $.add("esri-atomics", "Atomics" in rr), $.add("esri-workers", "Worker" in rr), $.add("web-feat:cache", "caches" in rr), $.add("esri-workers-arraybuffer-transfer", !$("safari") || Number($("safari")) >= 12), $.add("workers-pool-size", 8), $.add("featurelayer-simplify-thresholds", [0.5, 0.5, 0.5, 0.5]), $.add("featurelayer-simplify-payload-size-factors", [1, 1, 4]), $.add("featurelayer-fast-triangulation-enabled", !0), $.add("featurelayer-animation-enabled", !0), $.add("featurelayer-snapshot-enabled", !0), $.add("featurelayer-snapshot-initial-tolerance", 0), $.add("featurelayer-snapshot-point-min-threshold", 8e4), $.add("featurelayer-snapshot-point-max-threshold", 4e5), $.add("featurelayer-snapshot-multipoint-min-threshold", 2e4), $.add("featurelayer-snapshot-multipoint-max-threshold", 1e5), $.add("featurelayer-snapshot-polygon-min-threshold", 2e3), $.add("featurelayer-snapshot-polygon-max-threshold", 2e3), $.add("featurelayer-snapshot-polyline-min-threshold", 2e3), $.add("featurelayer-snapshot-polyline-max-threshold", 2e3), $.add("featurelayer-snapshot-max-vertex-count", 25e4), $.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled", !0), $.add("featurelayer-snapshot-concurrency", 4), $.add("featurelayer-snapshot-coverage", 0.1), $.add("featurelayer-query-max-depth", 4), $.add("featurelayer-query-pausing-enabled", !1), $.add("featurelayer-query-tile-concurrency", 4), $.add("featurelayer-query-tile-max-features", 6e5), $.add("featurelayer-advanced-symbols", !1), $.add("featurelayer-pbf", !0), $.add("featurelayer-pbf-statistics", !1), $.add("feature-layers-workers", !0), $.add("feature-polyline-generalization-factor", 1), $.add("parquetlayer-full-query-feature-count", 2e4), $.add("parquetlayer-hittest-max-feature-count", 1), $.add("mapview-transitions-duration", 200), $.add("mapview-essential-goto-duration", 200), $.add("mapview-srswitch-adjust-rotation-scale-threshold", 24e6), $.add("mapserver-pbf-version-support", 10.81), $.add("mapservice-popup-identify-max-tolerance", 20), $.add("request-queue-concurrency-global", 50), $.add("request-queue-concurrency-hosted", 16), $.add("request-queue-concurrency-non-hosted", 4), $.add("curve-densification-coarse-segments", 128), $.add("curve-densification-max-segments", 2e3), $.add("curve-densification-min-segments", 3), $.add("curve-densification-pixel-deviation", 0.5), $.add("view-readyState-waiting-delay", 1e3), $.add("gradient-depth-bias", 0.01), $.add("gradient-depth-epsilon", 1e-8), $.add("enable-feature:esri-compress-textures", !0), $.add("enable-feature:basemap-groundlayers", !0), !$("host-webworker") && $("host-browser") && ($.add("esri-csp-restrictions", () => {
|
|
11027
11026
|
try {
|
|
11028
11027
|
new Function();
|
|
11029
11028
|
} catch {
|
|
@@ -11372,7 +11371,7 @@ class T_ extends is {
|
|
|
11372
11371
|
super(`Invalid unit ${e}`);
|
|
11373
11372
|
}
|
|
11374
11373
|
}
|
|
11375
|
-
class
|
|
11374
|
+
class jt extends is {
|
|
11376
11375
|
}
|
|
11377
11376
|
class yn extends is {
|
|
11378
11377
|
constructor() {
|
|
@@ -11505,7 +11504,7 @@ const Q = "numeric", Gr = "short", mr = "long", Ra = {
|
|
|
11505
11504
|
second: Q,
|
|
11506
11505
|
timeZoneName: mr
|
|
11507
11506
|
};
|
|
11508
|
-
class
|
|
11507
|
+
class Fn {
|
|
11509
11508
|
/**
|
|
11510
11509
|
* The type of zone
|
|
11511
11510
|
* @abstract
|
|
@@ -11590,7 +11589,7 @@ class Un {
|
|
|
11590
11589
|
}
|
|
11591
11590
|
}
|
|
11592
11591
|
let e1 = null;
|
|
11593
|
-
class Ja extends
|
|
11592
|
+
class Ja extends Fn {
|
|
11594
11593
|
/**
|
|
11595
11594
|
* Get a singleton instance of the local zone
|
|
11596
11595
|
* @return {SystemZone}
|
|
@@ -11668,7 +11667,7 @@ function Y7(t, e) {
|
|
|
11668
11667
|
return n;
|
|
11669
11668
|
}
|
|
11670
11669
|
const t1 = /* @__PURE__ */ new Map();
|
|
11671
|
-
class Br extends
|
|
11670
|
+
class Br extends Fn {
|
|
11672
11671
|
/**
|
|
11673
11672
|
* @param {string} name - Zone name
|
|
11674
11673
|
* @return {IANAZone}
|
|
@@ -12093,7 +12092,7 @@ class Re {
|
|
|
12093
12092
|
}
|
|
12094
12093
|
}
|
|
12095
12094
|
let r1 = null;
|
|
12096
|
-
class Pt extends
|
|
12095
|
+
class Pt extends Fn {
|
|
12097
12096
|
/**
|
|
12098
12097
|
* Get a singleton instance of UTC
|
|
12099
12098
|
* @return {FixedOffsetZone}
|
|
@@ -12212,7 +12211,7 @@ class Pt extends Un {
|
|
|
12212
12211
|
return !0;
|
|
12213
12212
|
}
|
|
12214
12213
|
}
|
|
12215
|
-
class uw extends
|
|
12214
|
+
class uw extends Fn {
|
|
12216
12215
|
constructor(e) {
|
|
12217
12216
|
super(), this.zoneName = e;
|
|
12218
12217
|
}
|
|
@@ -12252,12 +12251,12 @@ class uw extends Un {
|
|
|
12252
12251
|
function An(t, e) {
|
|
12253
12252
|
if (ge(t) || t === null)
|
|
12254
12253
|
return e;
|
|
12255
|
-
if (t instanceof
|
|
12254
|
+
if (t instanceof Fn)
|
|
12256
12255
|
return t;
|
|
12257
12256
|
if (mw(t)) {
|
|
12258
12257
|
const r = t.toLowerCase();
|
|
12259
12258
|
return r === "default" ? e : r === "local" || r === "system" ? Ja.instance : r === "utc" || r === "gmt" ? Pt.utcInstance : Pt.parseSpecifier(r) || Br.create(t);
|
|
12260
|
-
} else return
|
|
12259
|
+
} else return Rn(t) ? Pt.instance(t) : typeof t == "object" && "offset" in t && typeof t.offset == "function" ? t : new uw(t);
|
|
12261
12260
|
}
|
|
12262
12261
|
const s0 = {
|
|
12263
12262
|
arab: "[٠-٩]",
|
|
@@ -12558,7 +12557,7 @@ function K_(t) {
|
|
|
12558
12557
|
function ge(t) {
|
|
12559
12558
|
return typeof t > "u";
|
|
12560
12559
|
}
|
|
12561
|
-
function
|
|
12560
|
+
function Rn(t) {
|
|
12562
12561
|
return typeof t == "number";
|
|
12563
12562
|
}
|
|
12564
12563
|
function Qa(t) {
|
|
@@ -12604,9 +12603,9 @@ function Nh(t) {
|
|
|
12604
12603
|
if (t == null)
|
|
12605
12604
|
return null;
|
|
12606
12605
|
if (typeof t != "object")
|
|
12607
|
-
throw new
|
|
12606
|
+
throw new jt("Week settings must be an object");
|
|
12608
12607
|
if (!Pr(t.firstDay, 1, 7) || !Pr(t.minimalDays, 1, 7) || !Array.isArray(t.weekend) || t.weekend.some((e) => !Pr(e, 1, 7)))
|
|
12609
|
-
throw new
|
|
12608
|
+
throw new jt("Invalid week settings");
|
|
12610
12609
|
return {
|
|
12611
12610
|
firstDay: t.firstDay,
|
|
12612
12611
|
minimalDays: t.minimalDays,
|
|
@@ -12628,7 +12627,7 @@ function Tn(t) {
|
|
|
12628
12627
|
if (!(ge(t) || t === null || t === ""))
|
|
12629
12628
|
return parseInt(t, 10);
|
|
12630
12629
|
}
|
|
12631
|
-
function
|
|
12630
|
+
function Bn(t) {
|
|
12632
12631
|
if (!(ge(t) || t === null || t === ""))
|
|
12633
12632
|
return parseFloat(t);
|
|
12634
12633
|
}
|
|
@@ -12709,7 +12708,7 @@ function eu(t, e) {
|
|
|
12709
12708
|
function ny(t) {
|
|
12710
12709
|
const e = Number(t);
|
|
12711
12710
|
if (typeof t == "boolean" || t === "" || !Number.isFinite(e))
|
|
12712
|
-
throw new
|
|
12711
|
+
throw new jt(`Invalid unit value ${t}`);
|
|
12713
12712
|
return e;
|
|
12714
12713
|
}
|
|
12715
12714
|
function Da(t, e) {
|
|
@@ -12882,9 +12881,9 @@ const Mw = {
|
|
|
12882
12881
|
FFF: W_,
|
|
12883
12882
|
FFFF: B_
|
|
12884
12883
|
};
|
|
12885
|
-
class
|
|
12884
|
+
class Wt {
|
|
12886
12885
|
static create(e, r = {}) {
|
|
12887
|
-
return new
|
|
12886
|
+
return new Wt(e, r);
|
|
12888
12887
|
}
|
|
12889
12888
|
static parseFormat(e) {
|
|
12890
12889
|
let r = null, n = "", s = !1;
|
|
@@ -12933,7 +12932,7 @@ class Gt {
|
|
|
12933
12932
|
T ? { weekday: S } : { weekday: S, month: "long", day: "numeric" },
|
|
12934
12933
|
"weekday"
|
|
12935
12934
|
), _ = (S) => {
|
|
12936
|
-
const T =
|
|
12935
|
+
const T = Wt.macroTokenToFormatOpts(S);
|
|
12937
12936
|
return T ? this.formatWithSystemDefault(e, T) : S;
|
|
12938
12937
|
}, y = (S) => n ? Aw(e, S) : i({ era: S }, "era"), v = (S) => {
|
|
12939
12938
|
switch (S) {
|
|
@@ -13078,7 +13077,7 @@ class Gt {
|
|
|
13078
13077
|
return _(S);
|
|
13079
13078
|
}
|
|
13080
13079
|
};
|
|
13081
|
-
return xg(
|
|
13080
|
+
return xg(Wt.parseFormat(r), v);
|
|
13082
13081
|
}
|
|
13083
13082
|
formatDurationFromString(e, r) {
|
|
13084
13083
|
const n = this.opts.signMode === "negativeLargestOnly" ? -1 : 1, s = (_) => {
|
|
@@ -13110,7 +13109,7 @@ class Gt {
|
|
|
13110
13109
|
return this.opts.signMode === "negativeLargestOnly" && S !== y.largestUnit ? L = "never" : this.opts.signMode === "all" ? L = "always" : L = "auto", this.num(_.get(S) * T, v.length, L);
|
|
13111
13110
|
} else
|
|
13112
13111
|
return v;
|
|
13113
|
-
}, u =
|
|
13112
|
+
}, u = Wt.parseFormat(r), l = u.reduce(
|
|
13114
13113
|
(_, { literal: y, val: v }) => y ? _ : _.concat(v),
|
|
13115
13114
|
[]
|
|
13116
13115
|
), c = e.shiftTo(...l.map(s).filter((_) => _)), m = {
|
|
@@ -13190,13 +13189,13 @@ function jw(t) {
|
|
|
13190
13189
|
const [e, r, n, s, i, u, l, c, m] = t, _ = e[0] === "-", y = c && c[0] === "-", v = (S, T = !1) => S !== void 0 && (T || S && _) ? -S : S;
|
|
13191
13190
|
return [
|
|
13192
13191
|
{
|
|
13193
|
-
years: v(
|
|
13194
|
-
months: v(
|
|
13195
|
-
weeks: v(
|
|
13196
|
-
days: v(
|
|
13197
|
-
hours: v(
|
|
13198
|
-
minutes: v(
|
|
13199
|
-
seconds: v(
|
|
13192
|
+
years: v(Bn(r)),
|
|
13193
|
+
months: v(Bn(n)),
|
|
13194
|
+
weeks: v(Bn(s)),
|
|
13195
|
+
days: v(Bn(i)),
|
|
13196
|
+
hours: v(Bn(u)),
|
|
13197
|
+
minutes: v(Bn(l)),
|
|
13198
|
+
seconds: v(Bn(c), c === "-0"),
|
|
13200
13199
|
milliseconds: v(a0(m), y)
|
|
13201
13200
|
}
|
|
13202
13201
|
];
|
|
@@ -13482,7 +13481,7 @@ class Ae {
|
|
|
13482
13481
|
*/
|
|
13483
13482
|
static fromObject(e, r = {}) {
|
|
13484
13483
|
if (e == null || typeof e != "object")
|
|
13485
|
-
throw new
|
|
13484
|
+
throw new jt(
|
|
13486
13485
|
`Duration.fromObject: argument expected to be an object, got ${e === null ? "null" : typeof e}`
|
|
13487
13486
|
);
|
|
13488
13487
|
return new Ae({
|
|
@@ -13503,13 +13502,13 @@ class Ae {
|
|
|
13503
13502
|
* @return {Duration}
|
|
13504
13503
|
*/
|
|
13505
13504
|
static fromDurationLike(e) {
|
|
13506
|
-
if (
|
|
13505
|
+
if (Rn(e))
|
|
13507
13506
|
return Ae.fromMillis(e);
|
|
13508
13507
|
if (Ae.isDuration(e))
|
|
13509
13508
|
return e;
|
|
13510
13509
|
if (typeof e == "object")
|
|
13511
13510
|
return Ae.fromObject(e);
|
|
13512
|
-
throw new
|
|
13511
|
+
throw new jt(
|
|
13513
13512
|
`Unknown duration argument ${e} of type ${typeof e}`
|
|
13514
13513
|
);
|
|
13515
13514
|
}
|
|
@@ -13559,7 +13558,7 @@ class Ae {
|
|
|
13559
13558
|
*/
|
|
13560
13559
|
static invalid(e, r = null) {
|
|
13561
13560
|
if (!e)
|
|
13562
|
-
throw new
|
|
13561
|
+
throw new jt("need to specify a reason the Duration is invalid");
|
|
13563
13562
|
const n = e instanceof Wr ? e : new Wr(e, r);
|
|
13564
13563
|
if (st.throwOnInvalid)
|
|
13565
13564
|
throw new j7(n);
|
|
@@ -13646,7 +13645,7 @@ class Ae {
|
|
|
13646
13645
|
...r,
|
|
13647
13646
|
floor: r.round !== !1 && r.floor !== !1
|
|
13648
13647
|
};
|
|
13649
|
-
return this.isValid ?
|
|
13648
|
+
return this.isValid ? Wt.create(this.loc, n).formatDurationFromString(this, e) : Pg;
|
|
13650
13649
|
}
|
|
13651
13650
|
/**
|
|
13652
13651
|
* Returns a string representation of a Duration with all units included.
|
|
@@ -13885,10 +13884,10 @@ class Ae {
|
|
|
13885
13884
|
let l = 0;
|
|
13886
13885
|
for (const m in n)
|
|
13887
13886
|
l += this.matrix[m][u] * n[m], n[m] = 0;
|
|
13888
|
-
|
|
13887
|
+
Rn(s[u]) && (l += s[u]);
|
|
13889
13888
|
const c = Math.trunc(l);
|
|
13890
13889
|
r[u] = c, n[u] = (l * 1e3 - c * 1e3) / 1e3;
|
|
13891
|
-
} else
|
|
13890
|
+
} else Rn(s[u]) && (n[u] = s[u]);
|
|
13892
13891
|
for (const u in n)
|
|
13893
13892
|
n[u] !== 0 && (r[i] += u === i ? n[u] : n[u] / this.matrix[i][u]);
|
|
13894
13893
|
return Ag(this.matrix, r), sn(this, { values: r }, !0);
|
|
@@ -14057,7 +14056,7 @@ class rt {
|
|
|
14057
14056
|
*/
|
|
14058
14057
|
static invalid(e, r = null) {
|
|
14059
14058
|
if (!e)
|
|
14060
|
-
throw new
|
|
14059
|
+
throw new jt("need to specify a reason the Interval is invalid");
|
|
14061
14060
|
const n = e instanceof Wr ? e : new Wr(e, r);
|
|
14062
14061
|
if (st.throwOnInvalid)
|
|
14063
14062
|
throw new V7(n);
|
|
@@ -14432,7 +14431,7 @@ class rt {
|
|
|
14432
14431
|
* @return {string}
|
|
14433
14432
|
*/
|
|
14434
14433
|
toLocaleString(e = Ra, r = {}) {
|
|
14435
|
-
return this.isValid ?
|
|
14434
|
+
return this.isValid ? Wt.create(this.s.loc.clone(r), e).formatInterval(this) : _s;
|
|
14436
14435
|
}
|
|
14437
14436
|
/**
|
|
14438
14437
|
* Returns an ISO 8601-compliant string representation of this Interval.
|
|
@@ -14982,7 +14981,7 @@ function M4() {
|
|
|
14982
14981
|
function O4(t, e) {
|
|
14983
14982
|
if (t.literal)
|
|
14984
14983
|
return t;
|
|
14985
|
-
const r =
|
|
14984
|
+
const r = Wt.macroTokenToFormatOpts(t.val), n = Ey(r, e);
|
|
14986
14985
|
return n == null || n.includes(void 0) ? t : n;
|
|
14987
14986
|
}
|
|
14988
14987
|
function vy(t, e) {
|
|
@@ -14990,7 +14989,7 @@ function vy(t, e) {
|
|
|
14990
14989
|
}
|
|
14991
14990
|
class Sy {
|
|
14992
14991
|
constructor(e, r) {
|
|
14993
|
-
if (this.locale = e, this.format = r, this.tokens = vy(
|
|
14992
|
+
if (this.locale = e, this.format = r, this.tokens = vy(Wt.parseFormat(r), e), this.units = this.tokens.map((n) => E4(n, e)), this.disqualifyingUnit = this.units.find((n) => n.invalidReason), !this.disqualifyingUnit) {
|
|
14994
14993
|
const [n, s] = P4(this.units);
|
|
14995
14994
|
this.regex = RegExp(n, "i"), this.handlers = s;
|
|
14996
14995
|
}
|
|
@@ -15032,7 +15031,7 @@ function C4(t, e, r) {
|
|
|
15032
15031
|
function Ey(t, e) {
|
|
15033
15032
|
if (!t)
|
|
15034
15033
|
return null;
|
|
15035
|
-
const n =
|
|
15034
|
+
const n = Wt.create(e, t).dtFormatter(M4()), s = n.formatToParts(), i = n.resolvedOptions();
|
|
15036
15035
|
return s.map((u) => T4(u, t, i));
|
|
15037
15036
|
}
|
|
15038
15037
|
const i1 = "Invalid DateTime", Rg = 864e13;
|
|
@@ -15049,7 +15048,7 @@ function a1(t) {
|
|
|
15049
15048
|
t.loc.getStartOfWeek()
|
|
15050
15049
|
)), t.localWeekData;
|
|
15051
15050
|
}
|
|
15052
|
-
function
|
|
15051
|
+
function qn(t, e) {
|
|
15053
15052
|
const r = {
|
|
15054
15053
|
ts: t.ts,
|
|
15055
15054
|
zone: t.zone,
|
|
@@ -15120,7 +15119,7 @@ function ys(t, e, r, n, s, i) {
|
|
|
15120
15119
|
);
|
|
15121
15120
|
}
|
|
15122
15121
|
function $o(t, e, r = !0) {
|
|
15123
|
-
return t.isValid ?
|
|
15122
|
+
return t.isValid ? Wt.create(Re.create("en-US"), {
|
|
15124
15123
|
allowZ: r,
|
|
15125
15124
|
forceSimple: !0
|
|
15126
15125
|
}).formatDateTimeFromString(t, e) : null;
|
|
@@ -15286,7 +15285,7 @@ class H {
|
|
|
15286
15285
|
if (e.old && e.old.ts === this.ts && e.old.zone.equals(r))
|
|
15287
15286
|
[s, i] = [e.old.c, e.old.o];
|
|
15288
15287
|
else {
|
|
15289
|
-
const l =
|
|
15288
|
+
const l = Rn(e.o) && !e.old ? e.o : r.offset(this.ts);
|
|
15290
15289
|
s = Do(this.ts, l), n = Number.isNaN(s.year) ? new Wr("invalid input") : null, s = n ? null : s, i = n ? null : l;
|
|
15291
15290
|
}
|
|
15292
15291
|
this._zone = r, this.loc = e.loc || Re.create(), this.invalid = n, this.weekData = null, this.localWeekData = null, this.c = s, this.o = i, this.isLuxonDateTime = !0;
|
|
@@ -15386,13 +15385,13 @@ class H {
|
|
|
15386
15385
|
* @return {DateTime}
|
|
15387
15386
|
*/
|
|
15388
15387
|
static fromMillis(e, r = {}) {
|
|
15389
|
-
if (
|
|
15388
|
+
if (Rn(e))
|
|
15390
15389
|
return e < -Rg || e > Rg ? H.invalid("Timestamp out of range") : new H({
|
|
15391
15390
|
ts: e,
|
|
15392
15391
|
zone: An(r.zone, st.defaultZone),
|
|
15393
15392
|
loc: Re.fromObject(r)
|
|
15394
15393
|
});
|
|
15395
|
-
throw new
|
|
15394
|
+
throw new jt(
|
|
15396
15395
|
`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`
|
|
15397
15396
|
);
|
|
15398
15397
|
}
|
|
@@ -15408,13 +15407,13 @@ class H {
|
|
|
15408
15407
|
* @return {DateTime}
|
|
15409
15408
|
*/
|
|
15410
15409
|
static fromSeconds(e, r = {}) {
|
|
15411
|
-
if (
|
|
15410
|
+
if (Rn(e))
|
|
15412
15411
|
return new H({
|
|
15413
15412
|
ts: e * 1e3,
|
|
15414
15413
|
zone: An(r.zone, st.defaultZone),
|
|
15415
15414
|
loc: Re.fromObject(r)
|
|
15416
15415
|
});
|
|
15417
|
-
throw new
|
|
15416
|
+
throw new jt("fromSeconds requires a numerical input");
|
|
15418
15417
|
}
|
|
15419
15418
|
/**
|
|
15420
15419
|
* Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
|
|
@@ -15559,7 +15558,7 @@ class H {
|
|
|
15559
15558
|
*/
|
|
15560
15559
|
static fromFormat(e, r, n = {}) {
|
|
15561
15560
|
if (ge(e) || ge(r))
|
|
15562
|
-
throw new
|
|
15561
|
+
throw new jt("fromFormat requires an input string and a format");
|
|
15563
15562
|
const { locale: s = null, numberingSystem: i = null } = n, u = Re.fromOpts({
|
|
15564
15563
|
locale: s,
|
|
15565
15564
|
numberingSystem: i,
|
|
@@ -15606,7 +15605,7 @@ class H {
|
|
|
15606
15605
|
*/
|
|
15607
15606
|
static invalid(e, r = null) {
|
|
15608
15607
|
if (!e)
|
|
15609
|
-
throw new
|
|
15608
|
+
throw new jt("need to specify a reason the DateTime is invalid");
|
|
15610
15609
|
const n = e instanceof Wr ? e : new Wr(e, r);
|
|
15611
15610
|
if (st.throwOnInvalid)
|
|
15612
15611
|
throw new z7(n);
|
|
@@ -15638,7 +15637,7 @@ class H {
|
|
|
15638
15637
|
* @returns {string}
|
|
15639
15638
|
*/
|
|
15640
15639
|
static expandFormat(e, r = {}) {
|
|
15641
|
-
return vy(
|
|
15640
|
+
return vy(Wt.parseFormat(e), Re.fromObject(r)).map((s) => s.val).join("");
|
|
15642
15641
|
}
|
|
15643
15642
|
static resetCache() {
|
|
15644
15643
|
yi = void 0, xh.clear();
|
|
@@ -15943,7 +15942,7 @@ class H {
|
|
|
15943
15942
|
if (u === l)
|
|
15944
15943
|
return [this];
|
|
15945
15944
|
const c = n - u * r, m = n - l * r, _ = Do(c, u), y = Do(m, l);
|
|
15946
|
-
return _.hour === y.hour && _.minute === y.minute && _.second === y.second && _.millisecond === y.millisecond ? [
|
|
15945
|
+
return _.hour === y.hour && _.minute === y.minute && _.second === y.second && _.millisecond === y.millisecond ? [qn(this, { ts: c }), qn(this, { ts: m })] : [this];
|
|
15947
15946
|
}
|
|
15948
15947
|
/**
|
|
15949
15948
|
* Returns true if this DateTime is in a leap year, false otherwise
|
|
@@ -16002,7 +16001,7 @@ class H {
|
|
|
16002
16001
|
* @return {Object}
|
|
16003
16002
|
*/
|
|
16004
16003
|
resolvedLocaleOptions(e = {}) {
|
|
16005
|
-
const { locale: r, numberingSystem: n, calendar: s } =
|
|
16004
|
+
const { locale: r, numberingSystem: n, calendar: s } = Wt.create(
|
|
16006
16005
|
this.loc.clone(e),
|
|
16007
16006
|
e
|
|
16008
16007
|
).resolvedOptions(this);
|
|
@@ -16047,7 +16046,7 @@ class H {
|
|
|
16047
16046
|
const i = e.offset(this.ts), u = this.toObject();
|
|
16048
16047
|
[s] = Qo(u, i, e);
|
|
16049
16048
|
}
|
|
16050
|
-
return
|
|
16049
|
+
return qn(this, { ts: s, zone: e });
|
|
16051
16050
|
} else
|
|
16052
16051
|
return H.invalid(_i(e));
|
|
16053
16052
|
}
|
|
@@ -16059,7 +16058,7 @@ class H {
|
|
|
16059
16058
|
*/
|
|
16060
16059
|
reconfigure({ locale: e, numberingSystem: r, outputCalendar: n } = {}) {
|
|
16061
16060
|
const s = this.loc.clone({ locale: e, numberingSystem: r, outputCalendar: n });
|
|
16062
|
-
return
|
|
16061
|
+
return qn(this, { loc: s });
|
|
16063
16062
|
}
|
|
16064
16063
|
/**
|
|
16065
16064
|
* "Set" the locale. Returns a newly-constructed DateTime.
|
|
@@ -16099,7 +16098,7 @@ class H {
|
|
|
16099
16098
|
s
|
|
16100
16099
|
) : ge(r.ordinal) ? (y = { ...this.toObject(), ...r }, ge(r.day) && (y.day = Math.min(ka(y.year, y.month), y.day))) : y = vg({ ...n1(this.c), ...r });
|
|
16101
16100
|
const [v, S] = Qo(y, this.o, this.zone);
|
|
16102
|
-
return
|
|
16101
|
+
return qn(this, { ts: v, o: S });
|
|
16103
16102
|
}
|
|
16104
16103
|
/**
|
|
16105
16104
|
* Add a period of time to this DateTime and return the resulting DateTime
|
|
@@ -16117,7 +16116,7 @@ class H {
|
|
|
16117
16116
|
plus(e) {
|
|
16118
16117
|
if (!this.isValid) return this;
|
|
16119
16118
|
const r = Ae.fromDurationLike(e);
|
|
16120
|
-
return
|
|
16119
|
+
return qn(this, Ig(this, r));
|
|
16121
16120
|
}
|
|
16122
16121
|
/**
|
|
16123
16122
|
* Subtract a period of time to this DateTime and return the resulting DateTime
|
|
@@ -16128,7 +16127,7 @@ class H {
|
|
|
16128
16127
|
minus(e) {
|
|
16129
16128
|
if (!this.isValid) return this;
|
|
16130
16129
|
const r = Ae.fromDurationLike(e).negate();
|
|
16131
|
-
return
|
|
16130
|
+
return qn(this, Ig(this, r));
|
|
16132
16131
|
}
|
|
16133
16132
|
/**
|
|
16134
16133
|
* "Set" this DateTime to the beginning of a unit of time.
|
|
@@ -16208,7 +16207,7 @@ class H {
|
|
|
16208
16207
|
* @return {string}
|
|
16209
16208
|
*/
|
|
16210
16209
|
toFormat(e, r = {}) {
|
|
16211
|
-
return this.isValid ?
|
|
16210
|
+
return this.isValid ? Wt.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this, e) : i1;
|
|
16212
16211
|
}
|
|
16213
16212
|
/**
|
|
16214
16213
|
* Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.
|
|
@@ -16230,7 +16229,7 @@ class H {
|
|
|
16230
16229
|
* @return {string}
|
|
16231
16230
|
*/
|
|
16232
16231
|
toLocaleString(e = Ra, r = {}) {
|
|
16233
|
-
return this.isValid ?
|
|
16232
|
+
return this.isValid ? Wt.create(this.loc.clone(r), e).formatDateTime(this) : i1;
|
|
16234
16233
|
}
|
|
16235
16234
|
/**
|
|
16236
16235
|
* Returns an array of format "parts", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.
|
|
@@ -16246,7 +16245,7 @@ class H {
|
|
|
16246
16245
|
* //=> ]
|
|
16247
16246
|
*/
|
|
16248
16247
|
toLocaleParts(e = {}) {
|
|
16249
|
-
return this.isValid ?
|
|
16248
|
+
return this.isValid ? Wt.create(this.loc.clone(e), e).formatDateTimeParts(this) : [];
|
|
16250
16249
|
}
|
|
16251
16250
|
/**
|
|
16252
16251
|
* Returns an ISO 8601-compliant string representation of this DateTime
|
|
@@ -16604,7 +16603,7 @@ class H {
|
|
|
16604
16603
|
*/
|
|
16605
16604
|
static min(...e) {
|
|
16606
16605
|
if (!e.every(H.isDateTime))
|
|
16607
|
-
throw new
|
|
16606
|
+
throw new jt("min requires all arguments be DateTimes");
|
|
16608
16607
|
return Ng(e, (r) => r.valueOf(), Math.min);
|
|
16609
16608
|
}
|
|
16610
16609
|
/**
|
|
@@ -16614,7 +16613,7 @@ class H {
|
|
|
16614
16613
|
*/
|
|
16615
16614
|
static max(...e) {
|
|
16616
16615
|
if (!e.every(H.isDateTime))
|
|
16617
|
-
throw new
|
|
16616
|
+
throw new jt("max requires all arguments be DateTimes");
|
|
16618
16617
|
return Ng(e, (r) => r.valueOf(), Math.max);
|
|
16619
16618
|
}
|
|
16620
16619
|
// MISC
|
|
@@ -16671,7 +16670,7 @@ class H {
|
|
|
16671
16670
|
*/
|
|
16672
16671
|
static fromFormatParser(e, r, n = {}) {
|
|
16673
16672
|
if (ge(e) || ge(r))
|
|
16674
|
-
throw new
|
|
16673
|
+
throw new jt(
|
|
16675
16674
|
"fromFormatParser requires an input string and a format parser"
|
|
16676
16675
|
);
|
|
16677
16676
|
const { locale: s = null, numberingSystem: i = null } = n, u = Re.fromOpts({
|
|
@@ -16680,7 +16679,7 @@ class H {
|
|
|
16680
16679
|
defaultToEN: !0
|
|
16681
16680
|
});
|
|
16682
16681
|
if (!u.equals(r.locale))
|
|
16683
|
-
throw new
|
|
16682
|
+
throw new jt(
|
|
16684
16683
|
`fromFormatParser called with a locale of ${u}, but the format parser was created for ${r.locale}`
|
|
16685
16684
|
);
|
|
16686
16685
|
const { result: l, zone: c, specificOffset: m, invalidReason: _ } = r.explainFromTokens(e);
|
|
@@ -16852,11 +16851,11 @@ class H {
|
|
|
16852
16851
|
function hi(t) {
|
|
16853
16852
|
if (H.isDateTime(t))
|
|
16854
16853
|
return t;
|
|
16855
|
-
if (t && t.valueOf &&
|
|
16854
|
+
if (t && t.valueOf && Rn(t.valueOf()))
|
|
16856
16855
|
return H.fromJSDate(t);
|
|
16857
16856
|
if (t && typeof t == "object")
|
|
16858
16857
|
return H.fromObject(t);
|
|
16859
|
-
throw new
|
|
16858
|
+
throw new jt(
|
|
16860
16859
|
`Unknown datetime argument: ${t}, of type ${typeof t}`
|
|
16861
16860
|
);
|
|
16862
16861
|
}
|
|
@@ -16866,7 +16865,7 @@ let Er = class {
|
|
|
16866
16865
|
}
|
|
16867
16866
|
};
|
|
16868
16867
|
function Es(t) {
|
|
16869
|
-
return t instanceof
|
|
16868
|
+
return t instanceof Fn ? t === Er.instance : t?.toString().toLowerCase() === "unknown";
|
|
16870
16869
|
}
|
|
16871
16870
|
function l1(t) {
|
|
16872
16871
|
return Es(t) ? Er.instance : t;
|
|
@@ -17054,7 +17053,7 @@ let zg = class ut {
|
|
|
17054
17053
|
}
|
|
17055
17054
|
};
|
|
17056
17055
|
function Jr(t, e = !0) {
|
|
17057
|
-
if (t instanceof
|
|
17056
|
+
if (t instanceof Fn) return t;
|
|
17058
17057
|
switch (U7(t)) {
|
|
17059
17058
|
case "system":
|
|
17060
17059
|
return "system";
|
|
@@ -17088,7 +17087,7 @@ function j4(t) {
|
|
|
17088
17087
|
return Js(() => V4(t));
|
|
17089
17088
|
}
|
|
17090
17089
|
let xi;
|
|
17091
|
-
const W4 = globalThis.esriConfig?.locale
|
|
17090
|
+
const W4 = globalThis.esriConfig?.locale, Th = globalThis.document?.documentElement;
|
|
17092
17091
|
function Ay() {
|
|
17093
17092
|
const t = Th?.getAttribute("lang"), e = globalThis.navigator?.language;
|
|
17094
17093
|
return W4 ?? t ?? e ?? "en";
|
|
@@ -17399,7 +17398,7 @@ function se(t, e, r, n) {
|
|
|
17399
17398
|
const cr = { apiKey: void 0, apiKeys: { scopes: [] }, applicationName: "", applicationUrl: globalThis.location?.href, assetsPath: "", fontsUrl: "https://static.arcgis.com/fonts", geometryServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer", geoRSSServiceUrl: "https://utility.arcgis.com/sharing/rss", kmlServiceUrl: "https://utility.arcgis.com/sharing/kml", userPrivilegesApplied: !0, portalUrl: "https://www.arcgis.com", respectPrefersReducedMotion: !0, routeServiceUrl: "https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World", workers: { loaderConfig: { has: {}, paths: {}, map: {}, packages: [] } }, request: { crossOriginNoCorsDomains: null, httpsDomains: ["arcgis.com", "arcgisonline.com", "esrikr.com", "premiumservices.blackbridge.com", "esripremium.accuweather.com", "gbm.digitalglobe.com", "firstlook.digitalglobe.com", "msi.digitalglobe.com"], interceptors: [], internalInterceptors: [], maxUrlLength: 2e3, priority: "high", proxyRules: [], proxyUrl: null, timeout: 62e3, trustedServers: [], useIdentity: !0 }, log: { interceptors: [], level: null } };
|
|
17400
17399
|
if (globalThis.esriConfig && (k7(cr, globalThis.esriConfig, !0), delete cr.has), !cr.assetsPath) {
|
|
17401
17400
|
{
|
|
17402
|
-
const t = "5.0.0-next.
|
|
17401
|
+
const t = "5.0.0-next.34";
|
|
17403
17402
|
cr.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${t}/assets`;
|
|
17404
17403
|
}
|
|
17405
17404
|
cr.defaultAssetsPath = cr.assetsPath;
|
|
@@ -17580,7 +17579,7 @@ function iv(t) {
|
|
|
17580
17579
|
return Z4(sv, t, () => nv.bind(null, t));
|
|
17581
17580
|
}
|
|
17582
17581
|
}
|
|
17583
|
-
function
|
|
17582
|
+
function kn(t, e) {
|
|
17584
17583
|
const r = iv(t);
|
|
17585
17584
|
return arguments.length === 1 ? r : r(e);
|
|
17586
17585
|
}
|
|
@@ -17588,7 +17587,7 @@ function Ci(t, e, r) {
|
|
|
17588
17587
|
return arguments.length === 1 ? Ci.bind(null, t) : e && (Array.isArray(e) ? e.map((n) => t(n, r)) : [t(e, r)]);
|
|
17589
17588
|
}
|
|
17590
17589
|
function ov(t, e) {
|
|
17591
|
-
return arguments.length === 1 ? Ci((r) =>
|
|
17590
|
+
return arguments.length === 1 ? Ci((r) => kn(t, r)) : Ci((r) => kn(t, r), e);
|
|
17592
17591
|
}
|
|
17593
17592
|
function Iy(t, e, r) {
|
|
17594
17593
|
return e !== 0 && Array.isArray(r) ? r.map((n) => Iy(t, e - 1, n)) : t(r);
|
|
@@ -17603,7 +17602,7 @@ function Fa(t, e, r) {
|
|
|
17603
17602
|
return r;
|
|
17604
17603
|
}
|
|
17605
17604
|
function av(t, e, r) {
|
|
17606
|
-
return arguments.length === 2 ? Fa((n) =>
|
|
17605
|
+
return arguments.length === 2 ? Fa((n) => kn(t, n), e) : Fa((n) => kn(t, n), e, r);
|
|
17607
17606
|
}
|
|
17608
17607
|
function ky(t) {
|
|
17609
17608
|
return !!Array.isArray(t) && !t.some((e) => {
|
|
@@ -17627,7 +17626,7 @@ function Lh(t, e) {
|
|
|
17627
17626
|
const r = {}, n = [], s = [];
|
|
17628
17627
|
for (const c in t.typeMap) {
|
|
17629
17628
|
const m = t.typeMap[c];
|
|
17630
|
-
r[c] =
|
|
17629
|
+
r[c] = kn(m), n.push(ru(m)), s.push(c);
|
|
17631
17630
|
}
|
|
17632
17631
|
const i = () => `'${n.join("', '")}'`, u = () => `'${s.join("', '")}'`, l = typeof t.key == "string" ? (c) => c[t.key] : t.key;
|
|
17633
17632
|
return (c) => {
|
|
@@ -17659,7 +17658,7 @@ function uv(t) {
|
|
|
17659
17658
|
function Dy(t) {
|
|
17660
17659
|
switch (t.type) {
|
|
17661
17660
|
case "native":
|
|
17662
|
-
return
|
|
17661
|
+
return kn(t.value);
|
|
17663
17662
|
case "array":
|
|
17664
17663
|
return Ci(Dy(t.value));
|
|
17665
17664
|
case "one-of":
|
|
@@ -17920,14 +17919,14 @@ function bv(t) {
|
|
|
17920
17919
|
if (e === 1) return ov(n);
|
|
17921
17920
|
if (e > 1) return av(n, e);
|
|
17922
17921
|
const s = t;
|
|
17923
|
-
return s.from ? s.from :
|
|
17922
|
+
return s.from ? s.from : kn(s);
|
|
17924
17923
|
}
|
|
17925
17924
|
function wv(t, e) {
|
|
17926
17925
|
if (t || e) return t ? e ? (r, n) => e(t(r, n), n) : t : e;
|
|
17927
17926
|
}
|
|
17928
17927
|
const vv = Object.prototype.toString;
|
|
17929
17928
|
function Sv(t) {
|
|
17930
|
-
const e = "__accessorMetadata__" in t ?
|
|
17929
|
+
const e = "__accessorMetadata__" in t ? kn(t) : t;
|
|
17931
17930
|
return function(...r) {
|
|
17932
17931
|
if (r.push(e), typeof r[2] == "number") throw new Error("Using @cast has parameter decorator is not supported since 4.16");
|
|
17933
17932
|
return Nv.apply(this, r);
|
|
@@ -19058,10 +19057,10 @@ let l3 = class c3 {
|
|
|
19058
19057
|
this.target = this.path = this.oldValue = this.callback = this.getValue = null, this.uid = m1(), this.removed = !0;
|
|
19059
19058
|
}
|
|
19060
19059
|
};
|
|
19061
|
-
const sa = new o3(),
|
|
19060
|
+
const sa = new o3(), In = /* @__PURE__ */ new Set();
|
|
19062
19061
|
let Ba;
|
|
19063
19062
|
function h2(t) {
|
|
19064
|
-
|
|
19063
|
+
In.delete(t), In.add(t), AS();
|
|
19065
19064
|
}
|
|
19066
19065
|
function AS() {
|
|
19067
19066
|
Ba || (Ba = bS(OS));
|
|
@@ -19072,7 +19071,7 @@ function LS(t) {
|
|
|
19072
19071
|
t.equals(e, r) || (t.oldValue = r, t.notify(r, e));
|
|
19073
19072
|
}
|
|
19074
19073
|
function MS(t) {
|
|
19075
|
-
for (const e of
|
|
19074
|
+
for (const e of In.values()) e.target === t && (e.removed = !0);
|
|
19076
19075
|
}
|
|
19077
19076
|
function OS() {
|
|
19078
19077
|
let t = 10;
|
|
@@ -19083,17 +19082,17 @@ function OS() {
|
|
|
19083
19082
|
const s = n.uid;
|
|
19084
19083
|
LS(n), s === n.uid && n.removed && r.push(n);
|
|
19085
19084
|
}
|
|
19086
|
-
for (const n of
|
|
19085
|
+
for (const n of In) n.removed && (r.push(n), In.delete(n));
|
|
19087
19086
|
for (const n of r) l3.pool.release(n);
|
|
19088
19087
|
sa.release(r), sa.release(e), RS.forEach((n) => n());
|
|
19089
19088
|
}
|
|
19090
19089
|
}
|
|
19091
19090
|
function CS() {
|
|
19092
19091
|
const t = sa.acquire();
|
|
19093
|
-
t.length =
|
|
19092
|
+
t.length = In.size;
|
|
19094
19093
|
let e = 0;
|
|
19095
|
-
for (const r of
|
|
19096
|
-
return
|
|
19094
|
+
for (const r of In) t[e] = r, ++e;
|
|
19095
|
+
return In.clear(), t;
|
|
19097
19096
|
}
|
|
19098
19097
|
const RS = /* @__PURE__ */ new Set();
|
|
19099
19098
|
function IS(t, e, r) {
|
|
@@ -19454,7 +19453,7 @@ let w0 = class {
|
|
|
19454
19453
|
return this.semiMajorAxis;
|
|
19455
19454
|
}
|
|
19456
19455
|
};
|
|
19457
|
-
const
|
|
19456
|
+
const Dn = new w0(6378137, 1 / 298.257223563, 3e5, 1e5, 0.085, 0.006694379990137799), d3 = new w0(3396190, 1 / 169.8944472236118, 23e4, 6e4, 0.111), m3 = new w0(1737400, 0, 0, 0, 0), p3 = cr.request, g3 = /^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i, _3 = /^\s*http:/i, KS = /^\s*file:/i, eN = /:\d+$/, tN = /^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i, rN = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"), nN = new RegExp("^((([^[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^[:]*))(:([0-9]+))?$");
|
|
19458
19457
|
let y3 = class {
|
|
19459
19458
|
constructor(e = "") {
|
|
19460
19459
|
this.uri = e, this.scheme = null, this.authority = null, this.path = null, this.query = null, this.fragment = null, this.user = null, this.password = null, this.host = null, this.port = null;
|
|
@@ -19612,7 +19611,6 @@ function _2(t) {
|
|
|
19612
19611
|
return e ? { path: e[1], extension: e[2] } : { path: t, extension: null };
|
|
19613
19612
|
}
|
|
19614
19613
|
const SN = /([^.]*)\.([^/]*)$/;
|
|
19615
|
-
fetch.bind(null);
|
|
19616
19614
|
Symbol.dispose ??= Symbol("Symbol.dispose"), Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
|
|
19617
19615
|
$("host-webworker") || globalThis.$arcgis || Object.defineProperty(globalThis, "$arcgis", { configurable: !1, enumerable: !0, writable: !1, value: {} }), $("host-webworker");
|
|
19618
19616
|
function T3(t, e) {
|
|
@@ -19700,7 +19698,7 @@ function CN() {
|
|
|
19700
19698
|
const aa = { geogToProj(t, e, r) {
|
|
19701
19699
|
E.ensureCache.prepare();
|
|
19702
19700
|
const n = es(r), s = r === n, i = E.ensureFloat64(n), u = E._pe_geog_to_proj(E.getPointer(t), e, i);
|
|
19703
|
-
return u &&
|
|
19701
|
+
return u && $n(r, e, i, s), u;
|
|
19704
19702
|
}, projGeog(t, e, r, n) {
|
|
19705
19703
|
switch (n) {
|
|
19706
19704
|
case et.PE_TRANSFORM_P_TO_G:
|
|
@@ -19712,7 +19710,7 @@ const aa = { geogToProj(t, e, r) {
|
|
|
19712
19710
|
}, projToGeog: (t, e, r) => aa.projToGeogCenter(t, e, r, 0), projToGeogCenter(t, e, r, n) {
|
|
19713
19711
|
E.ensureCache.prepare();
|
|
19714
19712
|
const s = es(r), i = r === s, u = E.ensureFloat64(s), l = E._pe_proj_to_geog_center(E.getPointer(t), e, u, n);
|
|
19715
|
-
return l &&
|
|
19713
|
+
return l && $n(r, e, u, i), l;
|
|
19716
19714
|
} };
|
|
19717
19715
|
let et = class Pe {
|
|
19718
19716
|
static init() {
|
|
@@ -19787,7 +19785,7 @@ const v0 = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
|
19787
19785
|
let c = 0;
|
|
19788
19786
|
n && (c = E.ensureFloat64(n));
|
|
19789
19787
|
const m = E._pe_geog_to_geog(E.getPointer(t), e, l, c, s);
|
|
19790
|
-
return m &&
|
|
19788
|
+
return m && $n(r, e, l, u), m;
|
|
19791
19789
|
} }, kN = { geodesicCoordinate(t, e, r, n, s, i, u, l) {
|
|
19792
19790
|
E.PeLineType.prototype.geodesic_coordinate(t, e, r, n, s, i, u, l);
|
|
19793
19791
|
}, geodeticCoordinate(t, e, r, n, s, i, u, l, c) {
|
|
@@ -19828,7 +19826,7 @@ const v0 = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
|
19828
19826
|
let u = 0;
|
|
19829
19827
|
e && (u = E.getPointer(e));
|
|
19830
19828
|
const l = n.map((y) => E.ensureString(y)), c = E.ensureInt32(l), m = E.ensureFloat64(new Array(2 * r)), _ = i(u, r, c, m);
|
|
19831
|
-
return _ &&
|
|
19829
|
+
return _ && $n(s, r, m), _;
|
|
19832
19830
|
}, $N = { geogToDms: (t, e, r, n, s) => y1("dms", t, e, r, n, s), dmsToGeog: (t, e, r, n) => b1("dms", t, e, r, n), geogToDdm: (t, e, r, n, s) => y1("ddm", t, e, r, n, s), ddmToGeog: (t, e, r, n) => b1("ddm", t, e, r, n), geogToDd: (t, e, r, n, s) => y1("dd", t, e, r, n, s), ddToGeog: (t, e, r, n) => b1("dd", t, e, r, n) };
|
|
19833
19831
|
let I3 = class Ps {
|
|
19834
19832
|
static init() {
|
|
@@ -19847,7 +19845,7 @@ let I3 = class Ps {
|
|
|
19847
19845
|
let u = 0;
|
|
19848
19846
|
e && (u = E.getPointer(e));
|
|
19849
19847
|
const l = n.map((y) => E.ensureString(y)), c = E.ensureInt32(l), m = E.ensureFloat64(new Array(2 * r)), _ = E._pe_mgrs_to_geog_extended(u, r, c, s, m);
|
|
19850
|
-
return _ &&
|
|
19848
|
+
return _ && $n(i, r, m), _;
|
|
19851
19849
|
}
|
|
19852
19850
|
};
|
|
19853
19851
|
const FN = { geogToUsng(t, e, r, n, s, i, u) {
|
|
@@ -19862,7 +19860,7 @@ const FN = { geogToUsng(t, e, r, n, s, i, u) {
|
|
|
19862
19860
|
let s = 0;
|
|
19863
19861
|
t && (s = E.getPointer(t));
|
|
19864
19862
|
const i = r.map((m) => E.ensureString(m)), u = E.ensureInt32(i), l = E.ensureFloat64(new Array(2 * e)), c = E._pe_usng_to_geog(s, e, u, l);
|
|
19865
|
-
return c &&
|
|
19863
|
+
return c && $n(n, e, l), c;
|
|
19866
19864
|
} };
|
|
19867
19865
|
let k3 = class ua {
|
|
19868
19866
|
static init() {
|
|
@@ -19881,7 +19879,7 @@ let k3 = class ua {
|
|
|
19881
19879
|
let u = 0;
|
|
19882
19880
|
e && (u = E.getPointer(e));
|
|
19883
19881
|
const l = n.map((y) => E.ensureString(y)), c = E.ensureInt32(l), m = E.ensureFloat64(new Array(2 * r)), _ = E._pe_utm_to_geog(u, r, c, s, m);
|
|
19884
|
-
return _ &&
|
|
19882
|
+
return _ && $n(i, r, m), _;
|
|
19885
19883
|
}
|
|
19886
19884
|
}, D3 = class an {
|
|
19887
19885
|
static {
|
|
@@ -19935,7 +19933,7 @@ function $3(t) {
|
|
|
19935
19933
|
const l = this.getSize();
|
|
19936
19934
|
if (!l) return null;
|
|
19937
19935
|
const c = [];
|
|
19938
|
-
return
|
|
19936
|
+
return $n(c, l, i.call(this), u), c;
|
|
19939
19937
|
}), e(E.PeGTlistExtendedEntry.prototype, "getEntries", (i) => {
|
|
19940
19938
|
const u = E._pe_getPeGTlistExtendedGTsSize();
|
|
19941
19939
|
return function() {
|
|
@@ -19998,7 +19996,7 @@ function cu(t, e) {
|
|
|
19998
19996
|
function es(t) {
|
|
19999
19997
|
return ArrayBuffer.isView(t) ? t : Array.isArray(t[0]) ? t.flat() : t;
|
|
20000
19998
|
}
|
|
20001
|
-
function
|
|
19999
|
+
function $n(t, e, r, n = !1) {
|
|
20002
20000
|
if (n) for (let s = 0; s < 2 * e; s++) t[s] = E.getValue(r + s * Float64Array.BYTES_PER_ELEMENT, "double");
|
|
20003
20001
|
else {
|
|
20004
20002
|
const s = t.length === 0;
|
|
@@ -20486,11 +20484,11 @@ function N0(t) {
|
|
|
20486
20484
|
AXIS["Geocentric Z",NORTH]
|
|
20487
20485
|
]` };
|
|
20488
20486
|
}
|
|
20489
|
-
N0(
|
|
20487
|
+
N0(Dn);
|
|
20490
20488
|
N0(d3);
|
|
20491
20489
|
N0(m3);
|
|
20492
|
-
`${
|
|
20493
|
-
const YN =
|
|
20490
|
+
`${Dn.radius}`;
|
|
20491
|
+
const YN = Dn.radius * Math.PI / 200, W3 = /(?:LENGTH)?UNIT\[([^\]]+)]]$/i, qs = w, G3 = /UNIT\[([^\]]+)]/i, ZN = /* @__PURE__ */ new Set([4305, 4807, 4810, 4811, 4812, 4816, 4819, 4821, 4901, 4902, 37225, 104025, 104026, 104139, 104140]), XN = au()({ millimeter: "millimeters", centimeter: "centimeters", meter: "meters", meter_german: "german-meters", kilometer: "kilometers", decimeter: "decimeters", micrometer: "micrometers", nanometer: "nanometers", "50_kilometers": "50-kilometers", "150_kilometers": "150-kilometers", foot: "feet", foot_us: "us-feet", foot_clarke: "clarke-feet", fathom: "fathoms", nautical_mile: "nautical-miles", chain_us: "us-chains", link_us: "us-links", mile_us: "us-miles", yard_clarke: "clarke-yards", chain_clarke: "clarke-chains", link_clarke: "clarke-links", yard_sears: "sears-yards", foot_sears: "sears-feet", chain_sears: "sears-chains", link_sears: "sears-links", yard_benoit_1895_a: "benoit-1895-a-yards", foot_benoit_1895_a: "benoit-1895-a-feet", chain_benoit_1895_a: "benoit-1895-a-chains", link_benoit_1895_a: "benoit-1895-a-links", yard_benoit_1895_b: "benoit-1895-b-yards", foot_benoit_1895_b: "benoit-1895-b-feet", chain_benoit_1895_b: "benoit-1895-b-chains", link_benoit_1895_b: "benoit-1895-b-links", foot_1865: "1865-feet", foot_indian: "indian-feet", foot_indian_1937: "indian-1937-feet", foot_indian_1962: "indian-1962-feet", foot_indian_1975: "indian-1975-feet", yard_indian: "indian-yards", yard_indian_1937: "indian-1937-yards", yard_indian_1962: "indian-1962-yards", yard_indian_1975: "indian-1975-yards", statute_mile: "statute-miles", foot_gold_coast: "gold-coast-feet", foot_british_1936: "british-1936-feet", yard: "yards", chain: "chains", link: "links", yard_sears_1922_truncated: "sears-1922-truncated-yards", foot_sears_1922_truncated: "sears-1922-truncated-feet", chain_sears_1922_truncated: "sears-1922-truncated-chains", link_sears_1922_truncated: "sears-1922-truncated-links", yard_us: "us-yards", inch: "inches", inch_us: "us-inches", rod: "rods", rod_us: "us-rods", nautical_mile_us: "us-nautical-miles", nautical_mile_uk: "uk-nautical-miles", smoot: "smoots", vara_tx: "tx-vara", point: "points" }), Ir = (t) => t * t, wn = (t) => t * t * t, S2 = { length: { baseUnit: "meters", units: { millimeters: { inBaseUnits: 1e-3 }, centimeters: { inBaseUnits: 0.01 }, meters: { inBaseUnits: 1 }, feet: { inBaseUnits: 0.3048 }, "us-feet": { inBaseUnits: 0.3048006096012192 }, "clarke-feet": { inBaseUnits: 0.3047972654 }, fathoms: { inBaseUnits: 1.8288 }, "nautical-miles": { inBaseUnits: 1852 }, "german-meters": { inBaseUnits: 1.0000135965 }, "us-chains": { inBaseUnits: 20.11684023368047 }, "us-links": { inBaseUnits: 0.2011684023368047 }, "us-miles": { inBaseUnits: 1609.347218694438 }, kilometers: { inBaseUnits: 1e3 }, "clarke-yards": { inBaseUnits: 0.9143917962 }, "clarke-chains": { inBaseUnits: 20.1166195164 }, "clarke-links": { inBaseUnits: 0.201166195164 }, "sears-yards": { inBaseUnits: 0.9143984146160287 }, "sears-feet": { inBaseUnits: 0.3047994715386762 }, "sears-chains": { inBaseUnits: 20.11676512155263 }, "sears-links": { inBaseUnits: 0.2011676512155263 }, "benoit-1895-a-yards": { inBaseUnits: 0.9143992 }, "benoit-1895-a-feet": { inBaseUnits: 0.3047997333333333 }, "benoit-1895-a-chains": { inBaseUnits: 20.1167824 }, "benoit-1895-a-links": { inBaseUnits: 0.201167824 }, "benoit-1895-b-yards": { inBaseUnits: 0.9143992042898124 }, "benoit-1895-b-feet": { inBaseUnits: 0.3047997347632708 }, "benoit-1895-b-chains": { inBaseUnits: 20.11678249437587 }, "benoit-1895-b-links": { inBaseUnits: 0.2011678249437587 }, "1865-feet": { inBaseUnits: 0.3048008333333334 }, "indian-feet": { inBaseUnits: 0.3047995102481469 }, "indian-1937-feet": { inBaseUnits: 0.30479841 }, "indian-1962-feet": { inBaseUnits: 0.3047996 }, "indian-1975-feet": { inBaseUnits: 0.3047995 }, "indian-yards": { inBaseUnits: 0.9143985307444408 }, "indian-1937-yards": { inBaseUnits: 0.91439523 }, "indian-1962-yards": { inBaseUnits: 0.9143988 }, "indian-1975-yards": { inBaseUnits: 0.9143985 }, miles: { inBaseUnits: 1609.344 }, "statute-miles": { inBaseUnits: 1609.344 }, "gold-coast-feet": { inBaseUnits: 0.3047997101815088 }, "british-1936-feet": { inBaseUnits: 0.3048007491 }, yards: { inBaseUnits: 0.9144 }, chains: { inBaseUnits: 20.1168 }, links: { inBaseUnits: 0.201168 }, "sears-1922-truncated-yards": { inBaseUnits: 0.914398 }, "sears-1922-truncated-feet": { inBaseUnits: 0.3047993333333334 }, "sears-1922-truncated-chains": { inBaseUnits: 20.116756 }, "sears-1922-truncated-links": { inBaseUnits: 0.20116756 }, "us-yards": { inBaseUnits: 0.9144018288036576 }, decimeters: { inBaseUnits: 0.1 }, inches: { inBaseUnits: 0.0254 }, "us-inches": { inBaseUnits: 0.0254000508001016 }, rods: { inBaseUnits: 5.0292 }, "us-rods": { inBaseUnits: 5.029210058420118 }, "us-nautical-miles": { inBaseUnits: 1853.248 }, "uk-nautical-miles": { inBaseUnits: 1853.184 }, smoots: { inBaseUnits: 1.7018 }, "tx-vara": { inBaseUnits: 0.8466683600033867 }, points: { inBaseUnits: 3527777777777778e-19 }, micrometers: { inBaseUnits: 1e-6 }, nanometers: { inBaseUnits: 1e-9 }, "50-kilometers": { inBaseUnits: 5e4 }, "150-kilometers": { inBaseUnits: 15e4 } } }, area: { baseUnit: "square-meters", units: { "square-millimeters": { inBaseUnits: Ir(1e-3) }, "square-centimeters": { inBaseUnits: Ir(0.01) }, "square-decimeters": { inBaseUnits: Ir(0.1) }, "square-meters": { inBaseUnits: 1 }, "square-kilometers": { inBaseUnits: Ir(1e3) }, "square-inches": { inBaseUnits: Ir(0.0254) }, "square-feet": { inBaseUnits: Ir(0.3048) }, "square-yards": { inBaseUnits: Ir(0.9144) }, "square-miles": { inBaseUnits: Ir(1609.344) }, "square-nautical-miles": { inBaseUnits: Ir(1852) }, "square-us-feet": { inBaseUnits: Ir(1200 / 3937) }, acres: { inBaseUnits: 15625e-7 * Ir(1609.344) }, ares: { inBaseUnits: 100 }, hectares: { inBaseUnits: 1e4 } } }, volume: { baseUnit: "liters", units: { liters: { inBaseUnits: 1 }, "cubic-millimeters": { inBaseUnits: 1e3 * wn(1e-3) }, "cubic-centimeters": { inBaseUnits: 1e3 * wn(0.01) }, "cubic-decimeters": { inBaseUnits: 1e3 * wn(0.1) }, "cubic-meters": { inBaseUnits: 1e3 }, "cubic-kilometers": { inBaseUnits: 1e3 * wn(1e3) }, "cubic-inches": { inBaseUnits: 1e3 * wn(0.0254) }, "cubic-feet": { inBaseUnits: 1e3 * wn(0.3048) }, "cubic-yards": { inBaseUnits: 1e3 * wn(0.9144) }, "cubic-miles": { inBaseUnits: 1e3 * wn(1609.344) } } }, angle: { baseUnit: "radians", units: { radians: { inBaseUnits: 1 }, degrees: { inBaseUnits: Math.PI / 180 } } } };
|
|
20494
20492
|
(() => {
|
|
20495
20493
|
const t = {};
|
|
20496
20494
|
for (const e in S2) for (const r in S2[e].units) t[r] = e;
|
|
@@ -20499,7 +20497,7 @@ const YN = $n.radius * Math.PI / 200, W3 = /(?:LENGTH)?UNIT\[([^\]]+)]]$/i, qs =
|
|
|
20499
20497
|
function B3(t) {
|
|
20500
20498
|
return XN.fromJSON(t.toLowerCase()) || null;
|
|
20501
20499
|
}
|
|
20502
|
-
function JN(t, e =
|
|
20500
|
+
function JN(t, e = Dn.metersPerDegree) {
|
|
20503
20501
|
return QN(t, !0) ?? e;
|
|
20504
20502
|
}
|
|
20505
20503
|
function QN(t, e = !1) {
|
|
@@ -20703,16 +20701,16 @@ function S1(t, e) {
|
|
|
20703
20701
|
function wi(t, e, r = [0, 0]) {
|
|
20704
20702
|
e > 89.99999 ? e = 89.99999 : e < -89.99999 && (e = -89.99999);
|
|
20705
20703
|
const n = x2(e);
|
|
20706
|
-
return r[0] = x2(t) *
|
|
20704
|
+
return r[0] = x2(t) * Dn.radius, r[1] = Dn.halfSemiMajorAxis * Math.log((1 + Math.sin(n)) / (1 - Math.sin(n))), r;
|
|
20707
20705
|
}
|
|
20708
20706
|
function E0(t, e, r = [0, 0], n = !1) {
|
|
20709
20707
|
if (t === Ii[0]) r[0] = -180;
|
|
20710
20708
|
else if (t === Ii[1]) r[0] = 180;
|
|
20711
20709
|
else {
|
|
20712
|
-
const s = E2(t /
|
|
20710
|
+
const s = E2(t / Dn.radius);
|
|
20713
20711
|
r[0] = n ? s : s - 360 * Math.floor((s + 180) / 360);
|
|
20714
20712
|
}
|
|
20715
|
-
return r[1] = E2(Math.PI / 2 - 2 * Math.atan(Math.exp(-e /
|
|
20713
|
+
return r[1] = E2(Math.PI / 2 - 2 * Math.atan(Math.exp(-e / Dn.radius))), r;
|
|
20716
20714
|
}
|
|
20717
20715
|
function N1(t, e = !1, r = gr(t)) {
|
|
20718
20716
|
return qa(t), qa(r), Z3(t, wi, pe.WebMercator, e, r);
|
|
@@ -20743,7 +20741,7 @@ const E1 = [0, 0];
|
|
|
20743
20741
|
function P2(t) {
|
|
20744
20742
|
return t && (t.declaredClass === "esri.geometry.SpatialReference" || t.wkid != null);
|
|
20745
20743
|
}
|
|
20746
|
-
let
|
|
20744
|
+
let Ht = ca = class extends $r {
|
|
20747
20745
|
static copy(t, e) {
|
|
20748
20746
|
e._set("x", t._get("x")), e._set("y", t._get("y")), e._set("z", t._get("z")), e._set("m", t._get("m"));
|
|
20749
20747
|
const r = t._get("spatialReference");
|
|
@@ -20844,25 +20842,25 @@ let Yt = ca = class extends $r {
|
|
|
20844
20842
|
return this.write({}, t);
|
|
20845
20843
|
}
|
|
20846
20844
|
};
|
|
20847
|
-
se([Ce({ readOnly: !0 })],
|
|
20845
|
+
se([Ce({ readOnly: !0 })], Ht.prototype, "cache", null), se([Ce({ type: Boolean, json: { read: !1, write: { enabled: !1, overridePolicy: null } } })], Ht.prototype, "hasM", null), se([Ce({ type: Boolean, json: { read: !1, write: { enabled: !1, overridePolicy: null } } })], Ht.prototype, "hasZ", null), se([Ce({ type: Number })], Ht.prototype, "latitude", null), se([Ce({ type: Number })], Ht.prototype, "longitude", null), se([Ce({ type: Number, json: { type: [Number, String], write: { isRequired: !0, allowNull: !0 } } }), Qv((t) => isNaN(t) ? t : Oy(t))], Ht.prototype, "x", void 0), se([Ih("x")], Ht.prototype, "writeX", null), se([n3("x")], Ht.prototype, "readX", null), se([Ce({ type: Number, json: { write: !0 } })], Ht.prototype, "y", void 0), se([Ce({ type: Number, json: { write: { overridePolicy() {
|
|
20848
20846
|
return { enabled: this.hasZ };
|
|
20849
|
-
} } } })],
|
|
20847
|
+
} } } })], Ht.prototype, "z", void 0), se([Ce({ type: Number, json: { write: { overridePolicy() {
|
|
20850
20848
|
return { enabled: this.hasM };
|
|
20851
|
-
} } } })],
|
|
20849
|
+
} } } })], Ht.prototype, "m", void 0), Ht = ca = se([_0("esri.geometry.Point")], Ht), Ht.prototype.toJSON.isDefaultToJSON = !0;
|
|
20852
20850
|
function Q3(t, e) {
|
|
20853
|
-
return e != null &&
|
|
20851
|
+
return e != null && Zt(t, e.x, e.y, e.z);
|
|
20854
20852
|
}
|
|
20855
20853
|
function cE(t, e) {
|
|
20856
20854
|
const { xmin: r, ymin: n, zmin: s, xmax: i, ymax: u, zmax: l } = e;
|
|
20857
|
-
return t.hasZ && e.hasZ ?
|
|
20855
|
+
return t.hasZ && e.hasZ ? Zt(t, r, n, s) && Zt(t, r, u, s) && Zt(t, i, u, s) && Zt(t, i, n, s) && Zt(t, r, n, l) && Zt(t, r, u, l) && Zt(t, i, u, l) && Zt(t, i, n, l) : Zt(t, r, n) && Zt(t, r, u) && Zt(t, i, u) && Zt(t, i, n);
|
|
20858
20856
|
}
|
|
20859
20857
|
function ki(t, e) {
|
|
20860
|
-
return
|
|
20858
|
+
return Zt(t, e[0], e[1]);
|
|
20861
20859
|
}
|
|
20862
20860
|
function fE(t, e) {
|
|
20863
|
-
return
|
|
20861
|
+
return Zt(t, e[0], e[1], e[2]);
|
|
20864
20862
|
}
|
|
20865
|
-
function
|
|
20863
|
+
function Zt(t, e, r, n) {
|
|
20866
20864
|
return e >= t.xmin && e <= t.xmax && r >= t.ymin && r <= t.ymax && (n == null || !t.hasZ || n >= t.zmin && n <= t.zmax);
|
|
20867
20865
|
}
|
|
20868
20866
|
function hE(t, e) {
|
|
@@ -20995,7 +20993,7 @@ let St = kr = class extends $r {
|
|
|
20995
20993
|
return this.commitProperty("xmin"), this.commitProperty("ymin"), this.commitProperty("zmin"), this.commitProperty("mmin"), this.commitProperty("xmax"), this.commitProperty("ymax"), this.commitProperty("zmax"), this.commitProperty("mmax"), this.commitProperty("spatialReference"), {};
|
|
20996
20994
|
}
|
|
20997
20995
|
get center() {
|
|
20998
|
-
const t = new
|
|
20996
|
+
const t = new Ht({ x: 0.5 * (this.xmin + this.xmax), y: 0.5 * (this.ymin + this.ymax), spatialReference: this.spatialReference });
|
|
20999
20997
|
return this.hasZ && (t.z = 0.5 * (this.zmin + this.zmax)), this.hasM && (t.m = 0.5 * (this.mmin + this.mmax)), t;
|
|
21000
20998
|
}
|
|
21001
20999
|
get extent() {
|
|
@@ -21383,7 +21381,7 @@ function jo(t, e) {
|
|
|
21383
21381
|
} else t.second = parseFloat(e);
|
|
21384
21382
|
}
|
|
21385
21383
|
const R2 = "esri.core.sql.SqlInterval";
|
|
21386
|
-
let
|
|
21384
|
+
let $t = class Wh {
|
|
21387
21385
|
constructor() {
|
|
21388
21386
|
this.declaredRootClass = R2, this.op = "+", this.day = 0, this.second = 0, this.hour = 0, this.month = 0, this.year = 0, this.minute = 0, this.millis = 0;
|
|
21389
21387
|
}
|
|
@@ -21474,7 +21472,7 @@ let Ft = class Wh {
|
|
|
21474
21472
|
};
|
|
21475
21473
|
const PE = /^(\d{1,2}):(\d{1,2}):(\d{1,2})$/, AE = /^(\d{1,2}):(\d{1,2})$/, LE = /^(\d{1,2}):(\d{1,2}):(\d{1,2}).([0-9]+)$/, s9 = /^(\d{4})-(\d{1,2})-(\d{1,2})$/, ME = /^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2}):(\d{1,2})(\.[0-9]+)?$/, OE = /^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2}):(\d{1,2})(\.[0-9]+)? {0,1}(\+|-)(\d{1,2}):(\d{1,2})$/, CE = /^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2})? {0,1}(\+|-)(\d{1,2}):(\d{1,2})$/, RE = /^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2})$/;
|
|
21476
21474
|
function fu(t, e) {
|
|
21477
|
-
if (e instanceof
|
|
21475
|
+
if (e instanceof Fn) return e === Er.instance ? H.fromMillis(t.getTime(), { zone: Er.instance }) : H.fromJSDate(t, { zone: e });
|
|
21478
21476
|
switch (e) {
|
|
21479
21477
|
case "system":
|
|
21480
21478
|
case "local":
|
|
@@ -21485,7 +21483,7 @@ function fu(t, e) {
|
|
|
21485
21483
|
}
|
|
21486
21484
|
}
|
|
21487
21485
|
function Sn(t) {
|
|
21488
|
-
return
|
|
21486
|
+
return $t.isInterval(t);
|
|
21489
21487
|
}
|
|
21490
21488
|
function Ye(t) {
|
|
21491
21489
|
return H.isDateTime(t);
|
|
@@ -21596,13 +21594,13 @@ function Wo(t) {
|
|
|
21596
21594
|
}
|
|
21597
21595
|
function hr(t, e, r) {
|
|
21598
21596
|
if (t == null || e == null) return null;
|
|
21599
|
-
if (
|
|
21600
|
-
if (
|
|
21597
|
+
if (Xt(t)) {
|
|
21598
|
+
if (Xt(e)) return Vr(t, e, r);
|
|
21601
21599
|
if (Tt(e)) return GE(t, e, r);
|
|
21602
21600
|
if (Gh(e)) throw new R("InvalidOperator");
|
|
21603
21601
|
if (Ze(e)) throw new R("InvalidOperator");
|
|
21604
21602
|
} else if (Tt(t)) {
|
|
21605
|
-
if (
|
|
21603
|
+
if (Xt(e)) return BE(t, e, r);
|
|
21606
21604
|
if (Tt(e)) return qE(t, e, r);
|
|
21607
21605
|
if (Ye(e)) throw new R("InvalidOperator");
|
|
21608
21606
|
if (Ze(e)) throw new R("InvalidOperator");
|
|
@@ -21619,18 +21617,18 @@ function hr(t, e, r) {
|
|
|
21619
21617
|
if (Tt(e)) throw new R("InvalidOperator");
|
|
21620
21618
|
if (Ze(e)) return HE(t, e, r);
|
|
21621
21619
|
if (Ke(e)) throw new R("InvalidOperator");
|
|
21622
|
-
if (
|
|
21620
|
+
if (Xt(e)) throw new R("InvalidOperator");
|
|
21623
21621
|
} else if (Ze(t)) {
|
|
21624
21622
|
if (Xe(e)) return XE(t, e, r);
|
|
21625
21623
|
if (Ye(e)) return ZE(t, e, r);
|
|
21626
21624
|
if (Tt(e)) throw new R("InvalidOperator");
|
|
21627
21625
|
if (Ze(e)) return Vr(t.toNumber(), e.toNumber(), r);
|
|
21628
21626
|
if (Ke(e)) throw new R("InvalidOperator");
|
|
21629
|
-
if (
|
|
21627
|
+
if (Xt(e)) throw new R("InvalidOperator");
|
|
21630
21628
|
} else if (Ke(t)) {
|
|
21631
21629
|
if (Ke(e)) return Vr(t.toNumber(), e.toNumber(), r);
|
|
21632
21630
|
if (Tt(e)) throw new R("InvalidOperator");
|
|
21633
|
-
if (
|
|
21631
|
+
if (Xt(e)) throw new R("InvalidOperator");
|
|
21634
21632
|
if (Ze(e)) throw new R("InvalidOperator");
|
|
21635
21633
|
if (A1(e)) throw new R("InvalidOperator");
|
|
21636
21634
|
} else if (Xe(t)) {
|
|
@@ -21638,7 +21636,7 @@ function hr(t, e, r) {
|
|
|
21638
21636
|
if (Tt(e)) throw new R("InvalidOperator");
|
|
21639
21637
|
if (Ze(e)) return YE(t, e, r);
|
|
21640
21638
|
if (Ke(e)) throw new R("InvalidOperator");
|
|
21641
|
-
if (
|
|
21639
|
+
if (Xt(e)) throw new R("InvalidOperator");
|
|
21642
21640
|
}
|
|
21643
21641
|
switch (r) {
|
|
21644
21642
|
case "<>":
|
|
@@ -21984,8 +21982,8 @@ const o9 = { extract: { minParams: 2, maxParams: 2, evaluate: ([t, e]) => {
|
|
|
21984
21982
|
function a9(t, e, r, n) {
|
|
21985
21983
|
if (t === "||") return P0("concat", [e, r], n);
|
|
21986
21984
|
if (e === null || r === null) return null;
|
|
21987
|
-
if (
|
|
21988
|
-
if (
|
|
21985
|
+
if (Xt(e)) {
|
|
21986
|
+
if (Xt(r)) return A0(e, r, t);
|
|
21989
21987
|
if (Sn(r)) return ux(e, r, t);
|
|
21990
21988
|
if (Ke(r)) return yx();
|
|
21991
21989
|
if (Ze(r)) return bx();
|
|
@@ -21995,7 +21993,7 @@ function a9(t, e, r, n) {
|
|
|
21995
21993
|
throw new R("InvalidOperator");
|
|
21996
21994
|
}
|
|
21997
21995
|
if (Ze(e)) {
|
|
21998
|
-
if (
|
|
21996
|
+
if (Xt(r)) return dx(e, r, t);
|
|
21999
21997
|
if (Sn(r)) return lx(e, r, t);
|
|
22000
21998
|
if (Ke(r)) return Ax();
|
|
22001
21999
|
if (Ze(r)) return Px(e, r, t);
|
|
@@ -22005,7 +22003,7 @@ function a9(t, e, r, n) {
|
|
|
22005
22003
|
throw new R("InvalidOperator");
|
|
22006
22004
|
}
|
|
22007
22005
|
if (Ke(e)) {
|
|
22008
|
-
if (
|
|
22006
|
+
if (Xt(r)) return mx(e, r, t);
|
|
22009
22007
|
if (Sn(r)) return sx(e, r, t);
|
|
22010
22008
|
if (Ke(r)) return Dx();
|
|
22011
22009
|
if (Ze(r)) return Ix();
|
|
@@ -22015,7 +22013,7 @@ function a9(t, e, r, n) {
|
|
|
22015
22013
|
throw new R("InvalidOperator");
|
|
22016
22014
|
}
|
|
22017
22015
|
if (Sn(e)) {
|
|
22018
|
-
if (
|
|
22016
|
+
if (Xt(r)) return ax(e, r, t);
|
|
22019
22017
|
if (Sn(r)) return ox(e, r, t);
|
|
22020
22018
|
if (Ke(r)) return rx(e, r, t);
|
|
22021
22019
|
if (Ze(r)) return nx(e, r, t);
|
|
@@ -22025,7 +22023,7 @@ function a9(t, e, r, n) {
|
|
|
22025
22023
|
throw new R("InvalidOperator");
|
|
22026
22024
|
}
|
|
22027
22025
|
if (Ye(e)) {
|
|
22028
|
-
if (
|
|
22026
|
+
if (Xt(r)) return hx(e, r, t);
|
|
22029
22027
|
if (Sn(r)) return cx(e, r, t);
|
|
22030
22028
|
if (Ke(r)) return zx();
|
|
22031
22029
|
if (Ze(r)) return Fx(e, r, t);
|
|
@@ -22035,7 +22033,7 @@ function a9(t, e, r, n) {
|
|
|
22035
22033
|
throw new R("InvalidOperator");
|
|
22036
22034
|
}
|
|
22037
22035
|
if (Xe(e)) {
|
|
22038
|
-
if (
|
|
22036
|
+
if (Xt(r)) return gx(e, r, t);
|
|
22039
22037
|
if (Sn(r)) return fx(e, r, t);
|
|
22040
22038
|
if (Ke(r)) return Lx();
|
|
22041
22039
|
if (Ze(r)) return Mx(e, r, t);
|
|
@@ -22045,7 +22043,7 @@ function a9(t, e, r, n) {
|
|
|
22045
22043
|
throw new R("InvalidOperator");
|
|
22046
22044
|
}
|
|
22047
22045
|
if (Tt(e)) {
|
|
22048
|
-
if (
|
|
22046
|
+
if (Xt(r)) return vx(e, r, t);
|
|
22049
22047
|
if (Sn(r)) return Ex();
|
|
22050
22048
|
if (Ke(r)) return Bx();
|
|
22051
22049
|
if (Ze(r)) return qx();
|
|
@@ -22102,39 +22100,39 @@ function ix(t, e, r) {
|
|
|
22102
22100
|
function ox(t, e, r) {
|
|
22103
22101
|
switch (r) {
|
|
22104
22102
|
case "+":
|
|
22105
|
-
return
|
|
22103
|
+
return $t.createFromMilliseconds(t.valueInMilliseconds() + e.valueInMilliseconds());
|
|
22106
22104
|
case "-":
|
|
22107
|
-
return
|
|
22105
|
+
return $t.createFromMilliseconds(t.valueInMilliseconds() - e.valueInMilliseconds());
|
|
22108
22106
|
case "*":
|
|
22109
|
-
return
|
|
22107
|
+
return $t.createFromMilliseconds(t.valueInMilliseconds() * e.valueInMilliseconds());
|
|
22110
22108
|
case "/":
|
|
22111
|
-
return
|
|
22109
|
+
return $t.createFromMilliseconds(t.valueInMilliseconds() / e.valueInMilliseconds());
|
|
22112
22110
|
}
|
|
22113
22111
|
throw new R("InvalidOperator");
|
|
22114
22112
|
}
|
|
22115
22113
|
function ax(t, e, r) {
|
|
22116
22114
|
switch (r) {
|
|
22117
22115
|
case "+":
|
|
22118
|
-
return
|
|
22116
|
+
return $t.createFromMilliseconds(t.valueInMilliseconds() + e);
|
|
22119
22117
|
case "-":
|
|
22120
|
-
return
|
|
22118
|
+
return $t.createFromMilliseconds(t.valueInMilliseconds() - e);
|
|
22121
22119
|
case "*":
|
|
22122
|
-
return
|
|
22120
|
+
return $t.createFromMilliseconds(t.valueInMilliseconds() * e);
|
|
22123
22121
|
case "/":
|
|
22124
|
-
return
|
|
22122
|
+
return $t.createFromMilliseconds(t.valueInMilliseconds() / e);
|
|
22125
22123
|
}
|
|
22126
22124
|
throw new R("InvalidOperator");
|
|
22127
22125
|
}
|
|
22128
22126
|
function ux(t, e, r) {
|
|
22129
22127
|
switch (r) {
|
|
22130
22128
|
case "+":
|
|
22131
|
-
return
|
|
22129
|
+
return $t.createFromMilliseconds(t + e.valueInMilliseconds());
|
|
22132
22130
|
case "-":
|
|
22133
|
-
return
|
|
22131
|
+
return $t.createFromMilliseconds(t - e.valueInMilliseconds());
|
|
22134
22132
|
case "*":
|
|
22135
|
-
return
|
|
22133
|
+
return $t.createFromMilliseconds(t * e.valueInMilliseconds());
|
|
22136
22134
|
case "/":
|
|
22137
|
-
return
|
|
22135
|
+
return $t.createFromMilliseconds(t / e.valueInMilliseconds());
|
|
22138
22136
|
}
|
|
22139
22137
|
throw new R("InvalidOperator");
|
|
22140
22138
|
}
|
|
@@ -22387,7 +22385,7 @@ let M1 = class extends SyntaxError {
|
|
|
22387
22385
|
function Zx(t, e) {
|
|
22388
22386
|
const r = {}, n = (e = e !== void 0 ? e : {}).grammarSource, s = { start: I0 };
|
|
22389
22387
|
let i = I0;
|
|
22390
|
-
const u = "!", l = "=", c = ">=", m = ">", _ = "<=", y = "<>", v = "!=", S = "||", T = "@", L = "'", D = "N'", z = "''", W = ".", j = "null", U = "true", F = "false", B = "in", Z = "is", ee = "like", ye = "escape", Ie = "not", ve = "and", ce = "or", K = "between", Y = "from", re = "for", te = "substring", ue = "extract", _e = "trim", xe = "position", tt = "timestamp", ct = "date", Hr = "time", hn = "leading", tn = "trailing", os = "both", rn = "cast", Ct = "as", ti = "integer", du = "int", mu = "smallint", pu = "float", gu = "real", _u = "varchar", yu = "to", bu = "interval", wu = "year", vu = "timezone_hour", Su = "timezone_minute", Nu = "month", Eu = "day", xu = "hour", Tu = "minute", Pu = "second", Bi = "dow",
|
|
22388
|
+
const u = "!", l = "=", c = ">=", m = ">", _ = "<=", y = "<>", v = "!=", S = "||", T = "@", L = "'", D = "N'", z = "''", W = ".", j = "null", U = "true", F = "false", B = "in", Z = "is", ee = "like", ye = "escape", Ie = "not", ve = "and", ce = "or", K = "between", Y = "from", re = "for", te = "substring", ue = "extract", _e = "trim", xe = "position", tt = "timestamp", ct = "date", Hr = "time", hn = "leading", tn = "trailing", os = "both", rn = "cast", Ct = "as", ti = "integer", du = "int", mu = "smallint", pu = "float", gu = "real", _u = "varchar", yu = "to", bu = "interval", wu = "year", vu = "timezone_hour", Su = "timezone_minute", Nu = "month", Eu = "day", xu = "hour", Tu = "minute", Pu = "second", Bi = "dow", Un = "doy", Au = "week", Lu = "case", Mu = "end", qi = "when", Ou = "then", Cu = "else", ri = ",", Ru = "(", zn = ")", Hi = "`", Yi = /^[<-=]/, as = /^[+\-]/, Iu = /^[*\/]/, ku = /^[A-Za-z_\x80-\uFFFF]/, Du = /^[A-Za-z0-9_]/, Zi = /^[A-Za-z0-9_.\x80-\uFFFF]/, $u = /^["]/, Xi = /^[^']/, Fu = /^[0-9]/, Uu = /^[eE]/, zu = /^[ \t\n\r]/, A = /^[^`]/, Vu = ne("!", !1), ju = ne("=", !1), Wu = ne(">=", !1), Gu = ne(">", !1), Bu = ne("<=", !1), qu = ne("<>", !1), Hu = yr([["<", "="]], !1, !1, !1), Yu = ne("!=", !1), us = yr(["+", "-"], !1, !1, !1), Zu = ne("||", !1), Xu = yr(["*", "/"], !1, !1, !1), Ju = yr([["A", "Z"], ["a", "z"], "_", ["", ""]], !1, !1, !1), Qu = yr([["A", "Z"], ["a", "z"], ["0", "9"], "_"], !1, !1, !1), Ji = yr([["A", "Z"], ["a", "z"], ["0", "9"], "_", ".", ["", ""]], !1, !1, !1), Ku = yr(['"'], !1, !1, !1), el = ne("@", !1), Qi = ne("'", !1), tl = ne("N'", !1), Ki = ne("''", !1), eo = yr(["'"], !0, !1, !1), rl = ne(".", !1), nl = yr([["0", "9"]], !1, !1, !1), sl = yr(["e", "E"], !1, !1, !1), il = ne("NULL", !0), ol = ne("TRUE", !0), al = ne("FALSE", !0), ul = ne("IN", !0), ll = ne("IS", !0), cl = ne("LIKE", !0), fl = ne("ESCAPE", !0), hl = ne("NOT", !0), dl = ne("AND", !0), ml = ne("OR", !0), pl = ne("BETWEEN", !0), gl = ne("FROM", !0), _l = ne("FOR", !0), yl = ne("SUBSTRING", !0), bl = ne("EXTRACT", !0), wl = ne("TRIM", !0), vl = ne("POSITION", !0), Sl = ne("TIMESTAMP", !0), Nl = ne("DATE", !0), El = ne("TIME", !0), xl = ne("LEADING", !0), Tl = ne("TRAILING", !0), Pl = ne("BOTH", !0), Al = ne("CAST", !0), Ll = ne("AS", !0), Ml = ne("INTEGER", !0), Ol = ne("INT", !0), Cl = ne("SMALLINT", !0), Rl = ne("FLOAT", !0), Il = ne("REAL", !0), kl = ne("VARCHAR", !0), Dl = ne("TO", !0), $l = ne("INTERVAL", !0), Fl = ne("YEAR", !0), Ul = ne("TIMEZONE_HOUR", !0), zl = ne("TIMEZONE_MINUTE", !0), Vl = ne("MONTH", !0), jl = ne("DAY", !0), Wl = ne("HOUR", !0), Gl = ne("MINUTE", !0), Bl = ne("SECOND", !0), ql = ne("DOW", !0), Hl = ne("DOY", !0), Yl = ne("WEEK", !0), Zl = ne("CASE", !0), Xl = ne("END", !0), Jl = ne("WHEN", !0), Ql = ne("THEN", !0), Kl = ne("ELSE", !0), ec = ne(",", !1), tc = ne("(", !1), rc = ne(")", !1), nc = yr([" ", " ", `
|
|
22391
22389
|
`, "\r"], !1, !1, !1), to = ne("`", !1), ro = yr(["`"], !0, !1, !1);
|
|
22392
22390
|
function M0(a) {
|
|
22393
22391
|
return a;
|
|
@@ -22668,7 +22666,7 @@ function Zx(t, e) {
|
|
|
22668
22666
|
function ni(a, f, d) {
|
|
22669
22667
|
return { type: "case-expression", location: J(), format: "simple", operand: a, clauses: f, else: d.value, elseLocation: d.location };
|
|
22670
22668
|
}
|
|
22671
|
-
function
|
|
22669
|
+
function Jt(a) {
|
|
22672
22670
|
return { type: "case-expression", location: J(), format: "searched", clauses: a, else: null, elseLocation: null };
|
|
22673
22671
|
}
|
|
22674
22672
|
function Lf(a, f) {
|
|
@@ -22719,13 +22717,13 @@ function Zx(t, e) {
|
|
|
22719
22717
|
function Ve() {
|
|
22720
22718
|
return "IS";
|
|
22721
22719
|
}
|
|
22722
|
-
function
|
|
22720
|
+
function qt() {
|
|
22723
22721
|
return "LIKE";
|
|
22724
22722
|
}
|
|
22725
|
-
function
|
|
22723
|
+
function Ft() {
|
|
22726
22724
|
return "ESCAPE";
|
|
22727
22725
|
}
|
|
22728
|
-
function
|
|
22726
|
+
function Qt() {
|
|
22729
22727
|
return "NOT";
|
|
22730
22728
|
}
|
|
22731
22729
|
function ot() {
|
|
@@ -22972,7 +22970,7 @@ function Zx(t, e) {
|
|
|
22972
22970
|
}
|
|
22973
22971
|
function F9() {
|
|
22974
22972
|
let a, f, d, b, x;
|
|
22975
|
-
return a = h, f = $0(), f !== r ? (C(), d =
|
|
22973
|
+
return a = h, f = $0(), f !== r ? (C(), d = Vn(), d !== r ? (C(), b = yb(), b !== r ? (C(), x = zf(), x !== r ? (M = a, a = yc(f, d, x)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = $0(), f !== r ? (C(), d = Vn(), d !== r ? (M = a, a = bc(f, d)) : (h = a, a = r)) : (h = a, a = r)), a;
|
|
22976
22974
|
}
|
|
22977
22975
|
function U9() {
|
|
22978
22976
|
let a, f, d;
|
|
@@ -23085,7 +23083,7 @@ function Zx(t, e) {
|
|
|
23085
23083
|
}
|
|
23086
23084
|
function G0() {
|
|
23087
23085
|
let a, f, d, b, x;
|
|
23088
|
-
return a = h, f = Ab(), f === r && (f = Lb()), f !== r && (M = a, f = Vc()), a = f, a === r && (a = h, f = Mb(), f !== r && (M = a, f = jc()), a = f, a === r && (a = h, f = Ob(), f !== r && (M = a, f = Wc()), a = f, a === r && (a = h, f = Cb(), f !== r && (M = a, f = Gc()), a = f, a === r && (a = h, f = sd(), f !== r && (M = a, f = Bc()), a = f, a === r && (a = h, f = nd(), f !== r && (M = a, f = qc()), a = f, a === r && (a = h, f = id(), f !== r && (M = a, f = Hc()), a = f, a === r && (a = h, f = Rb(), f !== r ? (C(), d = wt(), d !== r ? (C(), b =
|
|
23086
|
+
return a = h, f = Ab(), f === r && (f = Lb()), f !== r && (M = a, f = Vc()), a = f, a === r && (a = h, f = Mb(), f !== r && (M = a, f = jc()), a = f, a === r && (a = h, f = Ob(), f !== r && (M = a, f = Wc()), a = f, a === r && (a = h, f = Cb(), f !== r && (M = a, f = Gc()), a = f, a === r && (a = h, f = sd(), f !== r && (M = a, f = Bc()), a = f, a === r && (a = h, f = nd(), f !== r && (M = a, f = qc()), a = f, a === r && (a = h, f = id(), f !== r && (M = a, f = Hc()), a = f, a === r && (a = h, f = Rb(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = jn(), b !== r ? (C(), x = vt(), x !== r ? (M = a, a = Yc(b)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)))))))), a;
|
|
23089
23087
|
}
|
|
23090
23088
|
function X9() {
|
|
23091
23089
|
let a, f, d, b, x, V, le, Se, pn;
|
|
@@ -23105,7 +23103,7 @@ function Zx(t, e) {
|
|
|
23105
23103
|
}
|
|
23106
23104
|
function q0() {
|
|
23107
23105
|
let a, f;
|
|
23108
|
-
return a = h, f = ad(), f === r && (f = ud(), f === r && (f = ld(), f === r && (f = cd(), f === r && (f = fd(), f === r && (f =
|
|
23106
|
+
return a = h, f = ad(), f === r && (f = ud(), f === r && (f = ld(), f === r && (f = cd(), f === r && (f = fd(), f === r && (f = Wn(), f === r && (f = kb(), f === r && (f = Db(), f === r && (f = $b(), f === r && (f = Fb(), f === r && (f = Ub())))))))))), f !== r && (M = a, f = nf(f)), a = f, a;
|
|
23109
23107
|
}
|
|
23110
23108
|
function K9() {
|
|
23111
23109
|
let a;
|
|
@@ -23113,15 +23111,15 @@ function Zx(t, e) {
|
|
|
23113
23111
|
}
|
|
23114
23112
|
function eb() {
|
|
23115
23113
|
let a, f, d;
|
|
23116
|
-
return a = h, f = nd(), f !== r ? (C(), d =
|
|
23114
|
+
return a = h, f = nd(), f !== r ? (C(), d = Vn(), d !== r ? (M = a, a = sf(d)) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23117
23115
|
}
|
|
23118
23116
|
function tb() {
|
|
23119
23117
|
let a, f, d;
|
|
23120
|
-
return a = h, f = id(), f !== r ? (C(), d =
|
|
23118
|
+
return a = h, f = id(), f !== r ? (C(), d = Vn(), d !== r ? (M = a, a = of(d)) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23121
23119
|
}
|
|
23122
23120
|
function rb() {
|
|
23123
23121
|
let a, f, d, b, x;
|
|
23124
|
-
return a = h, f = od(), f !== r ? (C(), d = t.charAt(h), as.test(d) ? h++ : (d = r, P === 0 && q(us)), d !== r ? (C(), b =
|
|
23122
|
+
return a = h, f = od(), f !== r ? (C(), d = t.charAt(h), as.test(d) ? h++ : (d = r, P === 0 && q(us)), d !== r ? (C(), b = Vn(), b !== r ? (C(), x = H0(), x !== r ? (M = a, a = af(d, b, x)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = od(), f !== r ? (C(), d = Vn(), d !== r ? (C(), b = H0(), b !== r ? (M = a, a = uf(d, b)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)), a;
|
|
23125
23123
|
}
|
|
23126
23124
|
function H0() {
|
|
23127
23125
|
let a, f, d, b;
|
|
@@ -23133,11 +23131,11 @@ function Zx(t, e) {
|
|
|
23133
23131
|
}
|
|
23134
23132
|
function sb() {
|
|
23135
23133
|
let a, f, d, b, x, V, le;
|
|
23136
|
-
return a = h, f = ii(), f !== r && (M = a, f = hf(f)), a = f, a === r && (a = h, f =
|
|
23134
|
+
return a = h, f = ii(), f !== r && (M = a, f = hf(f)), a = f, a === r && (a = h, f = Wn(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = vo(), b !== r ? (C(), x = mn(), x !== r ? (C(), V = wo(), V !== r ? (C(), le = vt(), le !== r ? (M = a, a = df(b, V)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = Wn(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = vo(), b !== r ? (C(), x = vt(), x !== r ? (M = a, a = mf(b)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = Wn(), f !== r && (M = a, f = pf()), a = f))), a;
|
|
23137
23135
|
}
|
|
23138
23136
|
function ib() {
|
|
23139
23137
|
let a, f, d, b, x, V, le;
|
|
23140
|
-
return a = h, f = ii(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = wo(), b !== r ? (C(), x = vt(), x !== r ? (M = a, a = gf(f, b)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = ii(), f !== r && (M = a, f = _f(f)), a = f, a === r && (a = h, f =
|
|
23138
|
+
return a = h, f = ii(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = wo(), b !== r ? (C(), x = vt(), x !== r ? (M = a, a = gf(f, b)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = ii(), f !== r && (M = a, f = _f(f)), a = f, a === r && (a = h, f = Wn(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = vo(), b !== r ? (C(), x = mn(), x !== r ? (C(), V = wo(), V !== r ? (C(), le = vt(), le !== r ? (M = a, a = yf(b, V)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = Wn(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = wo(), b !== r ? (C(), x = vt(), x !== r ? (M = a, a = bf(b)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = Wn(), f !== r && (M = a, f = wf()), a = f)))), a;
|
|
23141
23139
|
}
|
|
23142
23140
|
function ii() {
|
|
23143
23141
|
let a, f;
|
|
@@ -23145,15 +23143,15 @@ function Zx(t, e) {
|
|
|
23145
23143
|
}
|
|
23146
23144
|
function wo() {
|
|
23147
23145
|
let a, f;
|
|
23148
|
-
return a = h, f =
|
|
23146
|
+
return a = h, f = jn(), f !== r && (M = a, f = ke(f)), a = f, a;
|
|
23149
23147
|
}
|
|
23150
23148
|
function vo() {
|
|
23151
23149
|
let a, f;
|
|
23152
|
-
return a = h, f =
|
|
23150
|
+
return a = h, f = jn(), f !== r && (M = a, f = dn(f)), a = f, a;
|
|
23153
23151
|
}
|
|
23154
23152
|
function ob() {
|
|
23155
23153
|
let a, f, d;
|
|
23156
|
-
return a = h, f = sd(), f !== r ? (C(), d =
|
|
23154
|
+
return a = h, f = sd(), f !== r ? (C(), d = Vn(), d !== r ? (M = a, a = Je(d)) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23157
23155
|
}
|
|
23158
23156
|
function ab() {
|
|
23159
23157
|
let a, f;
|
|
@@ -23163,7 +23161,7 @@ function Zx(t, e) {
|
|
|
23163
23161
|
let a, f;
|
|
23164
23162
|
return a = h, f = gb(), f !== r && (M = a, f = Tf()), a = f, a === r && (a = h, f = _b(), f !== r && (M = a, f = Pf()), a = f), a;
|
|
23165
23163
|
}
|
|
23166
|
-
function
|
|
23164
|
+
function Vn() {
|
|
23167
23165
|
let a;
|
|
23168
23166
|
return a = zf(), a === r && (a = Uf()), a;
|
|
23169
23167
|
}
|
|
@@ -23197,7 +23195,7 @@ function Zx(t, e) {
|
|
|
23197
23195
|
let a, f, d, b, x, V;
|
|
23198
23196
|
if (a = h, f = To(), f !== r) {
|
|
23199
23197
|
for (C(), d = [], b = h, x = So(), x !== r ? (V = C(), b = x) : (h = b, b = r); b !== r; ) d.push(b), b = h, x = So(), x !== r ? (V = C(), b = x) : (h = b, b = r);
|
|
23200
|
-
b = Po(), b !== r ? (M = a, a =
|
|
23198
|
+
b = Po(), b !== r ? (M = a, a = Jt(d)) : (h = a, a = r);
|
|
23201
23199
|
} else h = a, a = r;
|
|
23202
23200
|
if (a === r) if (a = h, f = To(), f !== r) {
|
|
23203
23201
|
for (C(), d = [], b = h, x = So(), x !== r ? (V = C(), b = x) : (h = b, b = r); b !== r; ) d.push(b), b = h, x = So(), x !== r ? (V = C(), b = x) : (h = b, b = r);
|
|
@@ -23227,17 +23225,17 @@ function Zx(t, e) {
|
|
|
23227
23225
|
}
|
|
23228
23226
|
function Eo() {
|
|
23229
23227
|
let a, f, d;
|
|
23230
|
-
return a =
|
|
23228
|
+
return a = jn(), a === r && (a = h, f = t.charAt(h), as.test(f) ? h++ : (f = r, P === 0 && q(us)), f !== r ? (d = jn(), d !== r ? (M = a, a = Lt(f, d)) : (h = a, a = r)) : (h = a, a = r)), a;
|
|
23231
23229
|
}
|
|
23232
23230
|
function Z0() {
|
|
23233
23231
|
let a, f, d;
|
|
23234
|
-
return a = h, t.charCodeAt(h) === 46 ? (f = W, h++) : (f = r, P === 0 && q(rl)), f !== r ? (d =
|
|
23232
|
+
return a = h, t.charCodeAt(h) === 46 ? (f = W, h++) : (f = r, P === 0 && q(rl)), f !== r ? (d = jn(), d === r && (d = null), M = a, a = I(d)) : (h = a, a = r), a;
|
|
23235
23233
|
}
|
|
23236
23234
|
function X0() {
|
|
23237
23235
|
let a, f, d;
|
|
23238
|
-
return a = h, f = mb(), f !== r ? (d =
|
|
23236
|
+
return a = h, f = mb(), f !== r ? (d = jn(), d !== r ? (M = a, a = _t(f, d)) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23239
23237
|
}
|
|
23240
|
-
function
|
|
23238
|
+
function jn() {
|
|
23241
23239
|
let a, f, d;
|
|
23242
23240
|
if (a = h, f = [], d = J0(), d !== r) for (; d !== r; ) f.push(d), d = J0();
|
|
23243
23241
|
else f = r;
|
|
@@ -23273,15 +23271,15 @@ function Zx(t, e) {
|
|
|
23273
23271
|
}
|
|
23274
23272
|
function K0() {
|
|
23275
23273
|
let a, f, d, b;
|
|
23276
|
-
return a = h, f = t.substr(h, 4), f.toLowerCase() === ee ? h += 4 : (f = r, P === 0 && q(cl)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a =
|
|
23274
|
+
return a = h, f = t.substr(h, 4), f.toLowerCase() === ee ? h += 4 : (f = r, P === 0 && q(cl)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a = qt()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23277
23275
|
}
|
|
23278
23276
|
function yb() {
|
|
23279
23277
|
let a, f, d, b;
|
|
23280
|
-
return a = h, f = t.substr(h, 6), f.toLowerCase() === ye ? h += 6 : (f = r, P === 0 && q(fl)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a =
|
|
23278
|
+
return a = h, f = t.substr(h, 6), f.toLowerCase() === ye ? h += 6 : (f = r, P === 0 && q(fl)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a = Ft()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23281
23279
|
}
|
|
23282
23280
|
function oi() {
|
|
23283
23281
|
let a, f, d, b;
|
|
23284
|
-
return a = h, f = t.substr(h, 3), f.toLowerCase() === Ie ? h += 3 : (f = r, P === 0 && q(hl)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a =
|
|
23282
|
+
return a = h, f = t.substr(h, 3), f.toLowerCase() === Ie ? h += 3 : (f = r, P === 0 && q(hl)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a = Qt()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23285
23283
|
}
|
|
23286
23284
|
function xo() {
|
|
23287
23285
|
let a, f, d, b;
|
|
@@ -23411,7 +23409,7 @@ function Zx(t, e) {
|
|
|
23411
23409
|
let a, f, d, b;
|
|
23412
23410
|
return a = h, f = t.substr(h, 6), f.toLowerCase() === Tu ? h += 6 : (f = r, P === 0 && q(Gl)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a = y9()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23413
23411
|
}
|
|
23414
|
-
function
|
|
23412
|
+
function Wn() {
|
|
23415
23413
|
let a, f, d, b;
|
|
23416
23414
|
return a = h, f = t.substr(h, 6), f.toLowerCase() === Pu ? h += 6 : (f = r, P === 0 && q(Bl)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a = b9()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23417
23415
|
}
|
|
@@ -23421,7 +23419,7 @@ function Zx(t, e) {
|
|
|
23421
23419
|
}
|
|
23422
23420
|
function Fb() {
|
|
23423
23421
|
let a, f, d, b;
|
|
23424
|
-
return a = h, f = t.substr(h, 3), f.toLowerCase() ===
|
|
23422
|
+
return a = h, f = t.substr(h, 3), f.toLowerCase() === Un ? h += 3 : (f = r, P === 0 && q(Hl)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a = v9()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23425
23423
|
}
|
|
23426
23424
|
function Ub() {
|
|
23427
23425
|
let a, f, d, b;
|
|
@@ -23457,7 +23455,7 @@ function Zx(t, e) {
|
|
|
23457
23455
|
}
|
|
23458
23456
|
function vt() {
|
|
23459
23457
|
let a;
|
|
23460
|
-
return t.charCodeAt(h) === 41 ? (a =
|
|
23458
|
+
return t.charCodeAt(h) === 41 ? (a = zn, h++) : (a = r, P === 0 && q(rc)), a;
|
|
23461
23459
|
}
|
|
23462
23460
|
function C() {
|
|
23463
23461
|
let a, f;
|
|
@@ -23574,10 +23572,10 @@ class Qx {
|
|
|
23574
23572
|
return d9(e);
|
|
23575
23573
|
}
|
|
23576
23574
|
makeSqlInterval(e, r, n) {
|
|
23577
|
-
return
|
|
23575
|
+
return $t.createFromValueAndQualifier(e, r, n);
|
|
23578
23576
|
}
|
|
23579
23577
|
convertInterval(e) {
|
|
23580
|
-
return
|
|
23578
|
+
return $t.isInterval(e) ? e.valueInMilliseconds() : e;
|
|
23581
23579
|
}
|
|
23582
23580
|
compare(e, r, n) {
|
|
23583
23581
|
return hr(r, n, e);
|
|
@@ -23803,7 +23801,7 @@ class L0 {
|
|
|
23803
23801
|
}
|
|
23804
23802
|
calculateValue(e, r = pi, n = this.currentUser) {
|
|
23805
23803
|
const s = this._evaluateNode(this.parseTree, e, r, null, n);
|
|
23806
|
-
return
|
|
23804
|
+
return $t.isInterval(s) ? s.valueInMilliseconds() / 864e5 : s;
|
|
23807
23805
|
}
|
|
23808
23806
|
tryGetCompiledExecutor() {
|
|
23809
23807
|
if (this._compiledExecutor != null) return this._compiledExecutor;
|
|
@@ -23878,7 +23876,7 @@ class L0 {
|
|
|
23878
23876
|
switch (e.type) {
|
|
23879
23877
|
case "interval": {
|
|
23880
23878
|
const l = this._evaluateNode(e.value, r, n, s, i);
|
|
23881
|
-
return
|
|
23879
|
+
return $t.createFromValueAndQualifier(l, e.qualifier, e.op);
|
|
23882
23880
|
}
|
|
23883
23881
|
case "case-expression":
|
|
23884
23882
|
if (e.format === "simple") {
|
|
@@ -24263,14 +24261,14 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24263
24261
|
}
|
|
24264
24262
|
}
|
|
24265
24263
|
return N[k] = 0, k - X;
|
|
24266
|
-
},
|
|
24264
|
+
}, Un = (p, N, k) => Bi(p, S, N, k), Au = (p, N, k, G) => {
|
|
24267
24265
|
var X = (/* @__PURE__ */ new Date()).getFullYear(), ie = new Date(X, 0, 1), me = new Date(X, 6, 1), oe = ie.getTimezoneOffset(), Me = me.getTimezoneOffset(), _r = Math.max(oe, Me);
|
|
24268
24266
|
D[p >> 2] = 60 * _r, L[N >> 2] = +(oe != Me);
|
|
24269
24267
|
var co = (mo) => {
|
|
24270
24268
|
var Rf = mo >= 0 ? "-" : "+", po = Math.abs(mo);
|
|
24271
24269
|
return `UTC${Rf}${String(Math.floor(po / 60)).padStart(2, "0")}${String(po % 60).padStart(2, "0")}`;
|
|
24272
24270
|
}, fo = co(oe), ho = co(Me);
|
|
24273
|
-
Me < oe ? (
|
|
24271
|
+
Me < oe ? (Un(fo, k, 17), Un(ho, G, 17)) : (Un(fo, G, 17), Un(ho, k, 17));
|
|
24274
24272
|
}, Lu = () => Date.now(), Mu = () => 2147483648, qi = (p, N) => Math.ceil(p / N) * N, Ou = (p) => {
|
|
24275
24273
|
var N = (p - y.buffer.byteLength + 65535) / 65536 | 0;
|
|
24276
24274
|
try {
|
|
@@ -24289,20 +24287,20 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24289
24287
|
if (Ou(ie)) return !0;
|
|
24290
24288
|
}
|
|
24291
24289
|
return !1;
|
|
24292
|
-
}, ri = {}, Ru = () => u,
|
|
24293
|
-
if (!
|
|
24290
|
+
}, ri = {}, Ru = () => u, zn = () => {
|
|
24291
|
+
if (!zn.strings) {
|
|
24294
24292
|
var p = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", _: Ru() };
|
|
24295
24293
|
for (var N in ri) ri[N] === void 0 ? delete p[N] : p[N] = ri[N];
|
|
24296
24294
|
var k = [];
|
|
24297
24295
|
for (var N in p) k.push(`${N}=${p[N]}`);
|
|
24298
|
-
|
|
24296
|
+
zn.strings = k;
|
|
24299
24297
|
}
|
|
24300
|
-
return
|
|
24298
|
+
return zn.strings;
|
|
24301
24299
|
}, Hi = (p, N) => {
|
|
24302
24300
|
var k = 0, G = 0;
|
|
24303
|
-
for (var X of
|
|
24301
|
+
for (var X of zn()) {
|
|
24304
24302
|
var ie = N + k;
|
|
24305
|
-
D[p + G >> 2] = ie, k +=
|
|
24303
|
+
D[p + G >> 2] = ie, k += Un(X, ie, 1 / 0) + 1, G += 4;
|
|
24306
24304
|
}
|
|
24307
24305
|
return 0;
|
|
24308
24306
|
}, Yi = (p) => {
|
|
@@ -24312,7 +24310,7 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24312
24310
|
}
|
|
24313
24311
|
return N;
|
|
24314
24312
|
}, as = (p, N) => {
|
|
24315
|
-
var k =
|
|
24313
|
+
var k = zn();
|
|
24316
24314
|
D[p >> 2] = k.length;
|
|
24317
24315
|
var G = 0;
|
|
24318
24316
|
for (var X of k) G += Yi(X) + 1;
|
|
@@ -24393,7 +24391,7 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24393
24391
|
}
|
|
24394
24392
|
return p;
|
|
24395
24393
|
}
|
|
24396
|
-
function
|
|
24394
|
+
function Jt(p) {
|
|
24397
24395
|
if (typeof p == "object") {
|
|
24398
24396
|
var N = he.alloc(p, v);
|
|
24399
24397
|
return he.copy(p, v, N), N;
|
|
@@ -24464,13 +24462,13 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24464
24462
|
function Ve() {
|
|
24465
24463
|
throw "cannot construct a PeGeogtran, no constructor in IDL";
|
|
24466
24464
|
}
|
|
24467
|
-
function
|
|
24465
|
+
function qt() {
|
|
24468
24466
|
throw "cannot construct a PeGTlistExtended, no constructor in IDL";
|
|
24469
24467
|
}
|
|
24470
|
-
function
|
|
24468
|
+
function Ft() {
|
|
24471
24469
|
throw "cannot construct a PeGTlistExtendedEntry, no constructor in IDL";
|
|
24472
24470
|
}
|
|
24473
|
-
function
|
|
24471
|
+
function Qt() {
|
|
24474
24472
|
throw "cannot construct a PeGTlistExtendedGTs, no constructor in IDL";
|
|
24475
24473
|
}
|
|
24476
24474
|
function ot() {
|
|
@@ -24514,7 +24512,7 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24514
24512
|
return Vu(p);
|
|
24515
24513
|
}, Ge.prototype.getName = Ge.prototype.getName = function(p) {
|
|
24516
24514
|
var N = this.ptr;
|
|
24517
|
-
return he.prepare(), typeof p == "object" && (p =
|
|
24515
|
+
return he.prepare(), typeof p == "object" && (p = Jt(p)), Ct(ju(N, p));
|
|
24518
24516
|
}, Ge.prototype.getType = Ge.prototype.getType = function() {
|
|
24519
24517
|
var p = this.ptr;
|
|
24520
24518
|
return Wu(p);
|
|
@@ -24526,7 +24524,7 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24526
24524
|
return Bu(p);
|
|
24527
24525
|
}, pt.prototype.getName = pt.prototype.getName = function(p) {
|
|
24528
24526
|
var N = this.ptr;
|
|
24529
|
-
return he.prepare(), typeof p == "object" && (p =
|
|
24527
|
+
return he.prepare(), typeof p == "object" && (p = Jt(p)), Ct(qu(N, p));
|
|
24530
24528
|
}, pt.prototype.getType = pt.prototype.getType = function() {
|
|
24531
24529
|
var p = this.ptr;
|
|
24532
24530
|
return Hu(p);
|
|
@@ -24538,7 +24536,7 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24538
24536
|
return us(p);
|
|
24539
24537
|
}, gt.prototype.getName = gt.prototype.getName = function(p) {
|
|
24540
24538
|
var N = this.ptr;
|
|
24541
|
-
return he.prepare(), typeof p == "object" && (p =
|
|
24539
|
+
return he.prepare(), typeof p == "object" && (p = Jt(p)), Ct(Zu(N, p));
|
|
24542
24540
|
}, gt.prototype.getType = gt.prototype.getType = function() {
|
|
24543
24541
|
var p = this.ptr;
|
|
24544
24542
|
return Xu(p);
|
|
@@ -24550,7 +24548,7 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24550
24548
|
return Qu(p);
|
|
24551
24549
|
}, At.prototype.getName = At.prototype.getName = function(p) {
|
|
24552
24550
|
var N = this.ptr;
|
|
24553
|
-
return he.prepare(), typeof p == "object" && (p =
|
|
24551
|
+
return he.prepare(), typeof p == "object" && (p = Jt(p)), Ct(Ji(N, p));
|
|
24554
24552
|
}, At.prototype.getType = At.prototype.getType = function() {
|
|
24555
24553
|
var p = this.ptr;
|
|
24556
24554
|
return Ku(p);
|
|
@@ -24565,7 +24563,7 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24565
24563
|
return tl(p);
|
|
24566
24564
|
}, Lt.prototype.getName = Lt.prototype.getName = function(p) {
|
|
24567
24565
|
var N = this.ptr;
|
|
24568
|
-
return he.prepare(), typeof p == "object" && (p =
|
|
24566
|
+
return he.prepare(), typeof p == "object" && (p = Jt(p)), Ct(Ki(N, p));
|
|
24569
24567
|
}, Lt.prototype.getType = Lt.prototype.getType = function() {
|
|
24570
24568
|
var p = this.ptr;
|
|
24571
24569
|
return eo(p);
|
|
@@ -24720,7 +24718,7 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24720
24718
|
return ec(p);
|
|
24721
24719
|
}, Le.prototype.getName = Le.prototype.getName = function(p) {
|
|
24722
24720
|
var N = this.ptr;
|
|
24723
|
-
return he.prepare(), typeof p == "object" && (p =
|
|
24721
|
+
return he.prepare(), typeof p == "object" && (p = Jt(p)), Ct(tc(N, p));
|
|
24724
24722
|
}, Le.prototype.getType = Le.prototype.getType = function() {
|
|
24725
24723
|
var p = this.ptr;
|
|
24726
24724
|
return rc(p);
|
|
@@ -24744,27 +24742,27 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24744
24742
|
return no(p);
|
|
24745
24743
|
}, Ve.prototype.getName = Ve.prototype.getName = function(p) {
|
|
24746
24744
|
var N = this.ptr;
|
|
24747
|
-
return he.prepare(), typeof p == "object" && (p =
|
|
24745
|
+
return he.prepare(), typeof p == "object" && (p = Jt(p)), Ct(ic(N, p));
|
|
24748
24746
|
}, Ve.prototype.getType = Ve.prototype.getType = function() {
|
|
24749
24747
|
var p = this.ptr;
|
|
24750
24748
|
return so(p);
|
|
24751
|
-
},
|
|
24752
|
-
return p && typeof p == "object" && (p = p.ptr), N && typeof N == "object" && (N = N.ptr), k && typeof k == "object" && (k = k.ptr), G && typeof G == "object" && (G = G.ptr), X && typeof X == "object" && (X = X.ptr), ie && typeof ie == "object" && (ie = ie.ptr), Je(oc(p, N, k, G, X, ie),
|
|
24753
|
-
},
|
|
24749
|
+
}, qt.prototype = Object.create(ke.prototype), qt.prototype.constructor = qt, qt.prototype.__class__ = qt, qt.__cache__ = {}, s.PeGTlistExtended = qt, qt.prototype.getGTlist = qt.prototype.getGTlist = function(p, N, k, G, X, ie) {
|
|
24750
|
+
return p && typeof p == "object" && (p = p.ptr), N && typeof N == "object" && (N = N.ptr), k && typeof k == "object" && (k = k.ptr), G && typeof G == "object" && (G = G.ptr), X && typeof X == "object" && (X = X.ptr), ie && typeof ie == "object" && (ie = ie.ptr), Je(oc(p, N, k, G, X, ie), Ft);
|
|
24751
|
+
}, qt.prototype.get_PE_GTLIST_OPTS_COMMON = qt.prototype.get_PE_GTLIST_OPTS_COMMON = function() {
|
|
24754
24752
|
var p = this.ptr;
|
|
24755
24753
|
return ac(p);
|
|
24756
|
-
}, Object.defineProperty(
|
|
24754
|
+
}, Object.defineProperty(qt.prototype, "PE_GTLIST_OPTS_COMMON", { get: qt.prototype.get_PE_GTLIST_OPTS_COMMON }), Ft.prototype = Object.create(ke.prototype), Ft.prototype.constructor = Ft, Ft.prototype.__class__ = Ft, Ft.__cache__ = {}, s.PeGTlistExtendedEntry = Ft, Ft.prototype.getEntries = Ft.prototype.getEntries = function() {
|
|
24757
24755
|
var p = this.ptr;
|
|
24758
|
-
return Je(uc(p),
|
|
24759
|
-
},
|
|
24756
|
+
return Je(uc(p), Qt);
|
|
24757
|
+
}, Ft.prototype.getSteps = Ft.prototype.getSteps = function() {
|
|
24760
24758
|
var p = this.ptr;
|
|
24761
24759
|
return io(p);
|
|
24762
|
-
},
|
|
24760
|
+
}, Ft.prototype.Delete = Ft.prototype.Delete = function(p) {
|
|
24763
24761
|
p && typeof p == "object" && (p = p.ptr), lc(p);
|
|
24764
|
-
},
|
|
24762
|
+
}, Qt.prototype = Object.create(ke.prototype), Qt.prototype.constructor = Qt, Qt.prototype.__class__ = Qt, Qt.__cache__ = {}, s.PeGTlistExtendedGTs = Qt, Qt.prototype.getDirection = Qt.prototype.getDirection = function() {
|
|
24765
24763
|
var p = this.ptr;
|
|
24766
24764
|
return cc(p);
|
|
24767
|
-
},
|
|
24765
|
+
}, Qt.prototype.getGeogtran = Qt.prototype.getGeogtran = function() {
|
|
24768
24766
|
var p = this.ptr;
|
|
24769
24767
|
return Je(fc(p), Ve);
|
|
24770
24768
|
}, ot.prototype = Object.create(ke.prototype), ot.prototype.constructor = ot, ot.prototype.__class__ = ot, ot.__cache__ = {}, s.PeHorizon = ot, ot.prototype.getNump = ot.prototype.getNump = function() {
|
|
@@ -24844,7 +24842,7 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24844
24842
|
return Dc(p);
|
|
24845
24843
|
}, kt.prototype.getName = kt.prototype.getName = function(p) {
|
|
24846
24844
|
var N = this.ptr;
|
|
24847
|
-
return he.prepare(), typeof p == "object" && (p =
|
|
24845
|
+
return he.prepare(), typeof p == "object" && (p = Jt(p)), Ct($c(N, p));
|
|
24848
24846
|
}, kt.prototype.getType = kt.prototype.getType = function() {
|
|
24849
24847
|
var p = this.ptr;
|
|
24850
24848
|
return Fc(p);
|
|
@@ -24906,7 +24904,7 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24906
24904
|
return nf(p);
|
|
24907
24905
|
}, Mt.prototype.getName = Mt.prototype.getName = function(p) {
|
|
24908
24906
|
var N = this.ptr;
|
|
24909
|
-
return he.prepare(), typeof p == "object" && (p =
|
|
24907
|
+
return he.prepare(), typeof p == "object" && (p = Jt(p)), Ct(sf(N, p));
|
|
24910
24908
|
}, Mt.prototype.getType = Mt.prototype.getType = function() {
|
|
24911
24909
|
var p = this.ptr;
|
|
24912
24910
|
return of(p);
|
|
@@ -24942,7 +24940,7 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24942
24940
|
return gf(p);
|
|
24943
24941
|
}, Te.prototype.getName = Te.prototype.getName = function(p) {
|
|
24944
24942
|
var N = this.ptr;
|
|
24945
|
-
return he.prepare(), typeof p == "object" && (p =
|
|
24943
|
+
return he.prepare(), typeof p == "object" && (p = Jt(p)), Ct(_f(N, p));
|
|
24946
24944
|
}, Te.prototype.getType = Te.prototype.getType = function() {
|
|
24947
24945
|
var p = this.ptr;
|
|
24948
24946
|
return yf(p);
|
|
@@ -24957,14 +24955,14 @@ var iT = /* @__PURE__ */ Object.freeze({
|
|
|
24957
24955
|
return vf(p);
|
|
24958
24956
|
}, ht.prototype.getName = ht.prototype.getName = function(p) {
|
|
24959
24957
|
var N = this.ptr;
|
|
24960
|
-
return he.prepare(), typeof p == "object" && (p =
|
|
24958
|
+
return he.prepare(), typeof p == "object" && (p = Jt(p)), Ct(Sf(N, p));
|
|
24961
24959
|
}, ht.prototype.getType = ht.prototype.getType = function() {
|
|
24962
24960
|
var p = this.ptr;
|
|
24963
24961
|
return Nf(p);
|
|
24964
24962
|
}, Mr.prototype = Object.create(ke.prototype), Mr.prototype.constructor = Mr, Mr.prototype.__class__ = Mr, Mr.__cache__ = {}, s.PeVersion = Mr, Mr.prototype.version_string = Mr.prototype.version_string = function() {
|
|
24965
24963
|
var p = this.ptr;
|
|
24966
24964
|
return Ct(Ef(p));
|
|
24967
|
-
}, s.ensureCache = he, s.ensureString = ni, s.ensureInt8 =
|
|
24965
|
+
}, s.ensureCache = he, s.ensureString = ni, s.ensureInt8 = Jt, s.ensureInt16 = Lf, s.ensureInt32 = Mf, s.ensureFloat32 = Of, s.ensureFloat64 = Cf, i;
|
|
24968
24966
|
}, aT = /* @__PURE__ */ Object.freeze({
|
|
24969
24967
|
__proto__: null,
|
|
24970
24968
|
default: oT
|