@arcgis/coding-components 5.0.0-next.122 → 5.0.0-next.124
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/{XSD6BA46.js → 3MIA2XQZ.js} +2 -2
- package/dist/cdn/{BYEGZCAI.js → 4LJTQZWW.js} +2 -2
- package/dist/cdn/{VDUSITD2.js → 4XYFRBBR.js} +2 -2
- package/dist/cdn/{MVLG2MYX.js → 4Y6R6MQI.js} +2 -2
- package/dist/cdn/{5QI5UTMM.js → 55REAZ7V.js} +2 -2
- package/dist/cdn/{2DRQ6BNC.js → 5GR4XBOP.js} +2 -2
- package/dist/cdn/{ZP4A4AY3.js → 5ITFKKVZ.js} +2 -2
- package/dist/cdn/{KVIMKPYW.js → 66M74NC6.js} +2 -2
- package/dist/cdn/{JK3CCPVF.js → 6UYTY4E3.js} +2 -2
- package/dist/cdn/{GXZ2X7XU.js → 7CBFSCCG.js} +1 -1
- package/dist/cdn/{LDJSETSD.js → 7FXIEFR3.js} +2 -2
- package/dist/cdn/{55RCZ6XP.js → BS7DG5AD.js} +2 -2
- package/dist/cdn/{P5TZ5UNU.js → BT52UHKC.js} +2 -2
- package/dist/cdn/{MXJRGL5U.js → BYGCJU6Z.js} +2 -2
- package/dist/cdn/{XAGEA3XO.js → CFMBBMFV.js} +2 -2
- package/dist/cdn/{NAGF2Z2D.js → DDIB2E3H.js} +1 -1
- package/dist/cdn/{Q5T2KPL2.js → EA5DSTV6.js} +1 -1
- package/dist/cdn/{3PS6M6VD.js → EXFGYPJ2.js} +1 -1
- package/dist/cdn/{EBUSMJOT.js → HYCWQZZI.js} +2 -2
- package/dist/cdn/{XSPLDM5L.js → ICPAFIAA.js} +2 -2
- package/dist/cdn/{4DTAVXBS.js → IDRFWYUA.js} +2 -2
- package/dist/cdn/{CJKTWGGK.js → JOPULDW6.js} +2 -2
- package/dist/cdn/{M66XJTO2.js → JSJKYLLW.js} +1 -1
- package/dist/cdn/{XMXTLCWY.js → LBMYHT4Q.js} +2 -2
- package/dist/cdn/{JHFPKEPM.js → LLM7KVBR.js} +2 -2
- package/dist/cdn/{LBLAK3PN.js → LR4QV5NI.js} +2 -2
- package/dist/cdn/{IEG7THXU.js → M3VMO37P.js} +2 -2
- package/dist/cdn/{CUPGVQVT.js → MPY6CNJH.js} +2 -2
- package/dist/cdn/{W45Q242J.js → QQRC43MF.js} +2 -2
- package/dist/cdn/{6ATXY4DQ.js → QUWSFG75.js} +3 -3
- package/dist/cdn/{ORNQOMPI.js → RBP6TTNV.js} +1 -1
- package/dist/cdn/{HGQ5VLKG.js → RBVG3RGE.js} +2 -2
- package/dist/cdn/{XZEBDJ5V.js → RP6KGR7C.js} +2 -2
- package/dist/cdn/RWSSODQI.js +4 -0
- package/dist/cdn/{JYS5LGFT.js → SNYKC7WF.js} +2 -2
- package/dist/cdn/TF4SWIYY.js +8 -0
- package/dist/cdn/{FMRHPBFR.js → UMFZP3TQ.js} +2 -2
- package/dist/cdn/{ZEFUZXY6.js → VIDKLNUH.js} +2 -2
- package/dist/cdn/{2J6SHWMB.js → VKSQIHTK.js} +2 -2
- package/dist/cdn/{VSFXRIEN.js → VOFZE5TQ.js} +2 -2
- package/dist/cdn/{WGAHI6SV.js → VSPPJ34Y.js} +2 -2
- package/dist/cdn/{E5LZXWSX.js → WUX7GIVY.js} +1 -1
- package/dist/cdn/{ZXMUDXWG.js → X324SFCI.js} +2 -2
- package/dist/cdn/{ERWJSSYU.js → X5CNM52D.js} +2 -2
- package/dist/cdn/{7TNM3MBK.js → XB2H3BKT.js} +2 -2
- package/dist/cdn/{YU7EUPE6.js → XBQFW5F5.js} +2 -2
- package/dist/cdn/{3JK722XX.js → YZMXKVJP.js} +1 -1
- package/dist/cdn/{QEIQAP7D.js → ZNA5PXHK.js} +2 -2
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +578 -578
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/arcade-contribution.js +1 -1
- package/dist/chunks/arcade-defaults.js +153 -131
- 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/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/monaco-theme.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-editor-shell/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/utils/arcade-monaco/arcade-defaults.d.ts +20 -0
- package/package.json +5 -5
- package/dist/cdn/R7VFYNQC.js +0 -8
- package/dist/cdn/SOWUXRA3.js +0 -4
|
@@ -2,7 +2,7 @@ class Bb {
|
|
|
2
2
|
constructor() {
|
|
3
3
|
this.listeners = [], this.unexpectedErrorHandler = function(e) {
|
|
4
4
|
setTimeout(() => {
|
|
5
|
-
throw e.stack ?
|
|
5
|
+
throw e.stack ? Fs.isErrorNoTelemetry(e) ? new Fs(e.message + `
|
|
6
6
|
|
|
7
7
|
` + e.stack) : new Error(e.message + `
|
|
8
8
|
|
|
@@ -35,7 +35,7 @@ function Nd(t) {
|
|
|
35
35
|
name: e,
|
|
36
36
|
message: r,
|
|
37
37
|
stack: n,
|
|
38
|
-
noTelemetry:
|
|
38
|
+
noTelemetry: Fs.isErrorNoTelemetry(t)
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
return t;
|
|
@@ -49,14 +49,14 @@ class Yb extends Error {
|
|
|
49
49
|
super(k1), this.name = this.message;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
class
|
|
52
|
+
class Fs extends Error {
|
|
53
53
|
constructor(e) {
|
|
54
54
|
super(e), this.name = "CodeExpectedError";
|
|
55
55
|
}
|
|
56
56
|
static fromError(e) {
|
|
57
|
-
if (e instanceof
|
|
57
|
+
if (e instanceof Fs)
|
|
58
58
|
return e;
|
|
59
|
-
const r = new
|
|
59
|
+
const r = new Fs();
|
|
60
60
|
return r.message = e.message, r.stack = e.stack, r;
|
|
61
61
|
}
|
|
62
62
|
static isErrorNoTelemetry(e) {
|
|
@@ -440,25 +440,25 @@ var _a;
|
|
|
440
440
|
return Y instanceof Array ? Y.push(K) : Y && Y.add(K), K;
|
|
441
441
|
}
|
|
442
442
|
function v(K, Y, re = 100, te = !1, ue = !1, _e, xe) {
|
|
443
|
-
let tt, ct,
|
|
444
|
-
const
|
|
443
|
+
let tt, ct, Yr, mn = 0, rn;
|
|
444
|
+
const as = {
|
|
445
445
|
leakWarningThreshold: _e,
|
|
446
446
|
onWillAddFirstListener() {
|
|
447
447
|
tt = K((Ct) => {
|
|
448
|
-
mn++, ct = Y(ct, Ct), te && !
|
|
449
|
-
const
|
|
450
|
-
ct = void 0,
|
|
451
|
-
}, typeof re == "number" ? (clearTimeout(
|
|
448
|
+
mn++, ct = Y(ct, Ct), te && !Yr && (nn.fire(ct), ct = void 0), rn = () => {
|
|
449
|
+
const ti = ct;
|
|
450
|
+
ct = void 0, Yr = void 0, (!te || mn > 1) && nn.fire(ti), mn = 0;
|
|
451
|
+
}, typeof re == "number" ? (clearTimeout(Yr), Yr = setTimeout(rn, re)) : Yr === void 0 && (Yr = 0, queueMicrotask(rn));
|
|
452
452
|
});
|
|
453
453
|
},
|
|
454
454
|
onWillRemoveListener() {
|
|
455
|
-
ue && mn > 0 &&
|
|
455
|
+
ue && mn > 0 && rn?.();
|
|
456
456
|
},
|
|
457
457
|
onDidRemoveLastListener() {
|
|
458
|
-
|
|
458
|
+
rn = void 0, tt.dispose();
|
|
459
459
|
}
|
|
460
|
-
},
|
|
461
|
-
return xe?.add(
|
|
460
|
+
}, nn = new vr(as);
|
|
461
|
+
return xe?.add(nn), nn.event;
|
|
462
462
|
}
|
|
463
463
|
t.debounce = v;
|
|
464
464
|
function S(K, Y = 0, re) {
|
|
@@ -846,24 +846,24 @@ function o6(t, e) {
|
|
|
846
846
|
}
|
|
847
847
|
return r;
|
|
848
848
|
}
|
|
849
|
-
const
|
|
850
|
-
let D1 = !1, $1 = !1, Yf = !1, Y2 = !1, n0 = !1, Mo, Zf =
|
|
849
|
+
const Ls = "en";
|
|
850
|
+
let D1 = !1, $1 = !1, Yf = !1, Y2 = !1, n0 = !1, Mo, Zf = Ls, xd = Ls, a6, an;
|
|
851
851
|
const ln = globalThis;
|
|
852
852
|
let cr;
|
|
853
853
|
typeof ln.vscode < "u" && typeof ln.vscode.process < "u" ? cr = ln.vscode.process : typeof process < "u" && typeof process?.versions?.node == "string" && (cr = process);
|
|
854
854
|
const u6 = typeof cr?.versions?.electron == "string", l6 = u6 && cr?.type === "renderer";
|
|
855
855
|
if (typeof cr == "object") {
|
|
856
|
-
D1 = cr.platform === "win32", $1 = cr.platform === "darwin", Yf = cr.platform === "linux", Yf && cr.env.SNAP && cr.env.SNAP_REVISION, cr.env.CI || cr.env.BUILD_ARTIFACTSTAGINGDIRECTORY, Mo =
|
|
856
|
+
D1 = cr.platform === "win32", $1 = cr.platform === "darwin", Yf = cr.platform === "linux", Yf && cr.env.SNAP && cr.env.SNAP_REVISION, cr.env.CI || cr.env.BUILD_ARTIFACTSTAGINGDIRECTORY, Mo = Ls, Zf = Ls;
|
|
857
857
|
const t = cr.env.VSCODE_NLS_CONFIG;
|
|
858
858
|
if (t)
|
|
859
859
|
try {
|
|
860
860
|
const e = JSON.parse(t);
|
|
861
|
-
Mo = e.userLocale, xd = e.osLocale, Zf = e.resolvedLanguage ||
|
|
861
|
+
Mo = e.userLocale, xd = e.osLocale, Zf = e.resolvedLanguage || Ls, a6 = e.languagePack?.translationsConfigFile;
|
|
862
862
|
} catch {
|
|
863
863
|
}
|
|
864
864
|
Y2 = !0;
|
|
865
|
-
} else typeof navigator == "object" && !l6 ? (an = navigator.userAgent, D1 = an.indexOf("Windows") >= 0, $1 = an.indexOf("Macintosh") >= 0, (an.indexOf("Macintosh") >= 0 || an.indexOf("iPad") >= 0 || an.indexOf("iPhone") >= 0) && navigator.maxTouchPoints && navigator.maxTouchPoints > 0, Yf = an.indexOf("Linux") >= 0, an?.indexOf("Mobi") >= 0, n0 = !0, Zf = H2() ||
|
|
866
|
-
const Pi = D1, c6 = $1, f6 = Y2, h6 = n0, d6 = n0 && typeof ln.importScripts == "function", m6 = d6 ? ln.origin : void 0,
|
|
865
|
+
} else typeof navigator == "object" && !l6 ? (an = navigator.userAgent, D1 = an.indexOf("Windows") >= 0, $1 = an.indexOf("Macintosh") >= 0, (an.indexOf("Macintosh") >= 0 || an.indexOf("iPad") >= 0 || an.indexOf("iPhone") >= 0) && navigator.maxTouchPoints && navigator.maxTouchPoints > 0, Yf = an.indexOf("Linux") >= 0, an?.indexOf("Mobi") >= 0, n0 = !0, Zf = H2() || Ls, Mo = navigator.language.toLowerCase(), xd = Mo) : console.error("Unable to resolve platform.");
|
|
866
|
+
const Pi = D1, c6 = $1, f6 = Y2, h6 = n0, d6 = n0 && typeof ln.importScripts == "function", m6 = d6 ? ln.origin : void 0, tn = an, p6 = typeof ln.postMessage == "function" && !ln.importScripts;
|
|
867
867
|
(() => {
|
|
868
868
|
if (p6) {
|
|
869
869
|
const t = [];
|
|
@@ -888,11 +888,11 @@ const Pi = D1, c6 = $1, f6 = Y2, h6 = n0, d6 = n0 && typeof ln.importScripts ==
|
|
|
888
888
|
}
|
|
889
889
|
return (t) => setTimeout(t);
|
|
890
890
|
})();
|
|
891
|
-
const g6 = !!(
|
|
892
|
-
|
|
893
|
-
!g6 &&
|
|
894
|
-
|
|
895
|
-
|
|
891
|
+
const g6 = !!(tn && tn.indexOf("Chrome") >= 0);
|
|
892
|
+
tn && tn.indexOf("Firefox") >= 0;
|
|
893
|
+
!g6 && tn && tn.indexOf("Safari") >= 0;
|
|
894
|
+
tn && tn.indexOf("Edg/") >= 0;
|
|
895
|
+
tn && tn.indexOf("Android") >= 0;
|
|
896
896
|
function _6(t) {
|
|
897
897
|
return t;
|
|
898
898
|
}
|
|
@@ -1046,7 +1046,7 @@ class Mn {
|
|
|
1046
1046
|
return new Set(this.confusableDictionary.keys());
|
|
1047
1047
|
}
|
|
1048
1048
|
}
|
|
1049
|
-
class
|
|
1049
|
+
class Qn {
|
|
1050
1050
|
static getRawData() {
|
|
1051
1051
|
return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]");
|
|
1052
1052
|
}
|
|
@@ -1054,20 +1054,20 @@ class Kn {
|
|
|
1054
1054
|
this._data = void 0;
|
|
1055
1055
|
}
|
|
1056
1056
|
static getData() {
|
|
1057
|
-
return this._data || (this._data = new Set(
|
|
1057
|
+
return this._data || (this._data = new Set(Qn.getRawData())), this._data;
|
|
1058
1058
|
}
|
|
1059
1059
|
static isInvisibleCharacter(e) {
|
|
1060
|
-
return
|
|
1060
|
+
return Qn.getData().has(e);
|
|
1061
1061
|
}
|
|
1062
1062
|
static get codePoints() {
|
|
1063
|
-
return
|
|
1063
|
+
return Qn.getData();
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
|
-
let
|
|
1066
|
+
let Rs;
|
|
1067
1067
|
const Xf = globalThis.vscode;
|
|
1068
1068
|
if (typeof Xf < "u" && typeof Xf.process < "u") {
|
|
1069
1069
|
const t = Xf.process;
|
|
1070
|
-
|
|
1070
|
+
Rs = {
|
|
1071
1071
|
get platform() {
|
|
1072
1072
|
return t.platform;
|
|
1073
1073
|
},
|
|
@@ -1081,7 +1081,7 @@ if (typeof Xf < "u" && typeof Xf.process < "u") {
|
|
|
1081
1081
|
return t.cwd();
|
|
1082
1082
|
}
|
|
1083
1083
|
};
|
|
1084
|
-
} else typeof process < "u" && typeof process?.versions?.node == "string" ?
|
|
1084
|
+
} else typeof process < "u" && typeof process?.versions?.node == "string" ? Rs = {
|
|
1085
1085
|
get platform() {
|
|
1086
1086
|
return process.platform;
|
|
1087
1087
|
},
|
|
@@ -1094,7 +1094,7 @@ if (typeof Xf < "u" && typeof Xf.process < "u") {
|
|
|
1094
1094
|
cwd() {
|
|
1095
1095
|
return process.env.VSCODE_CWD || process.cwd();
|
|
1096
1096
|
}
|
|
1097
|
-
} :
|
|
1097
|
+
} : Rs = {
|
|
1098
1098
|
// Supported
|
|
1099
1099
|
get platform() {
|
|
1100
1100
|
return Pi ? "win32" : c6 ? "darwin" : "linux";
|
|
@@ -1109,7 +1109,7 @@ if (typeof Xf < "u" && typeof Xf.process < "u") {
|
|
|
1109
1109
|
return "/";
|
|
1110
1110
|
}
|
|
1111
1111
|
};
|
|
1112
|
-
const ba =
|
|
1112
|
+
const ba = Rs.cwd, A6 = Rs.env, L6 = Rs.platform, M6 = 65, O6 = 97, C6 = 90, R6 = 122, Cn = 46, Ot = 47, tr = 92, yn = 58, I6 = 63;
|
|
1113
1113
|
class X2 extends Error {
|
|
1114
1114
|
constructor(e, r, n) {
|
|
1115
1115
|
let s;
|
|
@@ -1685,13 +1685,13 @@ function G6(t, e) {
|
|
|
1685
1685
|
case "https":
|
|
1686
1686
|
case "http":
|
|
1687
1687
|
case "file":
|
|
1688
|
-
e ? e[0] !==
|
|
1688
|
+
e ? e[0] !== Ur && (e = Ur + e) : e = Ur;
|
|
1689
1689
|
break;
|
|
1690
1690
|
}
|
|
1691
1691
|
return e;
|
|
1692
1692
|
}
|
|
1693
|
-
const ze = "",
|
|
1694
|
-
let
|
|
1693
|
+
const ze = "", Ur = "/", B6 = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;
|
|
1694
|
+
let Kr = class Ho {
|
|
1695
1695
|
static isUri(e) {
|
|
1696
1696
|
return e instanceof Ho ? !0 : e ? typeof e.authority == "string" && typeof e.fragment == "string" && typeof e.path == "string" && typeof e.query == "string" && typeof e.scheme == "string" && typeof e.fsPath == "string" && typeof e.with == "function" && typeof e.toString == "function" : !1;
|
|
1697
1697
|
}
|
|
@@ -1734,7 +1734,7 @@ let Qr = class Ho {
|
|
|
1734
1734
|
if (!e)
|
|
1735
1735
|
return this;
|
|
1736
1736
|
let { scheme: r, authority: n, path: s, query: i, fragment: u } = e;
|
|
1737
|
-
return r === void 0 ? r = this.scheme : r === null && (r = ze), n === void 0 ? n = this.authority : n === null && (n = ze), s === void 0 ? s = this.path : s === null && (s = ze), i === void 0 ? i = this.query : i === null && (i = ze), u === void 0 ? u = this.fragment : u === null && (u = ze), r === this.scheme && n === this.authority && s === this.path && i === this.query && u === this.fragment ? this : new
|
|
1737
|
+
return r === void 0 ? r = this.scheme : r === null && (r = ze), n === void 0 ? n = this.authority : n === null && (n = ze), s === void 0 ? s = this.path : s === null && (s = ze), i === void 0 ? i = this.query : i === null && (i = ze), u === void 0 ? u = this.fragment : u === null && (u = ze), r === this.scheme && n === this.authority && s === this.path && i === this.query && u === this.fragment ? this : new fs(r, n, s, i, u);
|
|
1738
1738
|
}
|
|
1739
1739
|
// ---- parse & validate ------------------------
|
|
1740
1740
|
/**
|
|
@@ -1745,7 +1745,7 @@ let Qr = class Ho {
|
|
|
1745
1745
|
*/
|
|
1746
1746
|
static parse(e, r = !1) {
|
|
1747
1747
|
const n = B6.exec(e);
|
|
1748
|
-
return n ? new
|
|
1748
|
+
return n ? new fs(n[2] || ze, Oo(n[4] || ze), Oo(n[5] || ze), Oo(n[7] || ze), Oo(n[9] || ze), r) : new fs(ze, ze, ze, ze, ze);
|
|
1749
1749
|
}
|
|
1750
1750
|
/**
|
|
1751
1751
|
* Creates a new URI from a file system path, e.g. `c:\my\files`,
|
|
@@ -1770,11 +1770,11 @@ let Qr = class Ho {
|
|
|
1770
1770
|
*/
|
|
1771
1771
|
static file(e) {
|
|
1772
1772
|
let r = ze;
|
|
1773
|
-
if (Pi && (e = e.replace(/\\/g,
|
|
1774
|
-
const n = e.indexOf(
|
|
1775
|
-
n === -1 ? (r = e.substring(2), e =
|
|
1773
|
+
if (Pi && (e = e.replace(/\\/g, Ur)), e[0] === Ur && e[1] === Ur) {
|
|
1774
|
+
const n = e.indexOf(Ur, 2);
|
|
1775
|
+
n === -1 ? (r = e.substring(2), e = Ur) : (r = e.substring(2, n), e = e.substring(n) || Ur);
|
|
1776
1776
|
}
|
|
1777
|
-
return new
|
|
1777
|
+
return new fs("file", r, e, ze, ze);
|
|
1778
1778
|
}
|
|
1779
1779
|
/**
|
|
1780
1780
|
* Creates new URI from uri components.
|
|
@@ -1784,7 +1784,7 @@ let Qr = class Ho {
|
|
|
1784
1784
|
* user input, command arguments etc
|
|
1785
1785
|
*/
|
|
1786
1786
|
static from(e, r) {
|
|
1787
|
-
return new
|
|
1787
|
+
return new fs(e.scheme, e.authority, e.path, e.query, e.fragment, r);
|
|
1788
1788
|
}
|
|
1789
1789
|
/**
|
|
1790
1790
|
* Join a URI path with path fragments and normalizes the resulting path.
|
|
@@ -1822,14 +1822,14 @@ let Qr = class Ho {
|
|
|
1822
1822
|
if (e instanceof Ho)
|
|
1823
1823
|
return e;
|
|
1824
1824
|
{
|
|
1825
|
-
const r = new
|
|
1825
|
+
const r = new fs(e);
|
|
1826
1826
|
return r._formatted = e.external ?? null, r._fsPath = e._sep === Q2 ? e.fsPath ?? null : null, r;
|
|
1827
1827
|
}
|
|
1828
1828
|
} else return e;
|
|
1829
1829
|
}
|
|
1830
1830
|
};
|
|
1831
1831
|
const Q2 = Pi ? 1 : void 0;
|
|
1832
|
-
class
|
|
1832
|
+
class fs extends Kr {
|
|
1833
1833
|
constructor() {
|
|
1834
1834
|
super(...arguments), this._formatted = null, this._fsPath = null;
|
|
1835
1835
|
}
|
|
@@ -1899,7 +1899,7 @@ function z1(t, e) {
|
|
|
1899
1899
|
function V1(t, e) {
|
|
1900
1900
|
const r = e ? q6 : Pd;
|
|
1901
1901
|
let n = "", { scheme: s, authority: i, path: u, query: l, fragment: c } = t;
|
|
1902
|
-
if (s && (n += s, n += ":"), (i || s === "file") && (n +=
|
|
1902
|
+
if (s && (n += s, n += ":"), (i || s === "file") && (n += Ur, n += Ur), i) {
|
|
1903
1903
|
let m = i.indexOf("@");
|
|
1904
1904
|
if (m !== -1) {
|
|
1905
1905
|
const _ = i.substr(0, m);
|
|
@@ -1957,7 +1957,7 @@ class Y6 {
|
|
|
1957
1957
|
n && n.indexOf(":") !== -1 && n.indexOf("[") === -1 && (n = `[${n}]`);
|
|
1958
1958
|
const s = this._ports[r], i = this._connectionTokens[r];
|
|
1959
1959
|
let u = `path=${encodeURIComponent(e.path)}`;
|
|
1960
|
-
return typeof i == "string" && (u += `&${H6}=${encodeURIComponent(i)}`),
|
|
1960
|
+
return typeof i == "string" && (u += `&${H6}=${encodeURIComponent(i)}`), Kr.from({
|
|
1961
1961
|
scheme: h6 ? this._preferredWebSchema : On.vscodeRemoteResource,
|
|
1962
1962
|
authority: `${n}:${s}`,
|
|
1963
1963
|
path: this._remoteResourcesPath,
|
|
@@ -2004,16 +2004,16 @@ class va {
|
|
|
2004
2004
|
);
|
|
2005
2005
|
}
|
|
2006
2006
|
toUri(e, r) {
|
|
2007
|
-
if (
|
|
2007
|
+
if (Kr.isUri(e))
|
|
2008
2008
|
return e;
|
|
2009
2009
|
if (globalThis._VSCODE_FILE_ROOT) {
|
|
2010
2010
|
const n = globalThis._VSCODE_FILE_ROOT;
|
|
2011
2011
|
if (/^\w[\w\d+.-]*:\/\//.test(n))
|
|
2012
|
-
return
|
|
2012
|
+
return Kr.joinPath(Kr.parse(n, !0), e);
|
|
2013
2013
|
const s = F6(n, e);
|
|
2014
|
-
return
|
|
2014
|
+
return Kr.file(s);
|
|
2015
2015
|
}
|
|
2016
|
-
return
|
|
2016
|
+
return Kr.parse(r.toUrl(e));
|
|
2017
2017
|
}
|
|
2018
2018
|
}
|
|
2019
2019
|
const t_ = new va();
|
|
@@ -2028,7 +2028,7 @@ var Ld;
|
|
|
2028
2028
|
const r = "vscode-coi";
|
|
2029
2029
|
function n(i) {
|
|
2030
2030
|
let u;
|
|
2031
|
-
typeof i == "string" ? u = new URL(i).searchParams : i instanceof URL ? u = i.searchParams :
|
|
2031
|
+
typeof i == "string" ? u = new URL(i).searchParams : i instanceof URL ? u = i.searchParams : Kr.isUri(i) && (u = new URL(i.toString(!0)).searchParams);
|
|
2032
2032
|
const l = u?.get(r);
|
|
2033
2033
|
if (l)
|
|
2034
2034
|
return e.get(l);
|
|
@@ -2282,13 +2282,13 @@ class Cd {
|
|
|
2282
2282
|
function i5(t, e, r) {
|
|
2283
2283
|
return new An(new Cd(t), new Cd(e)).ComputeDiff(r).changes;
|
|
2284
2284
|
}
|
|
2285
|
-
class
|
|
2285
|
+
class hs {
|
|
2286
2286
|
static Assert(e, r) {
|
|
2287
2287
|
if (!e)
|
|
2288
2288
|
throw new Error(r);
|
|
2289
2289
|
}
|
|
2290
2290
|
}
|
|
2291
|
-
class
|
|
2291
|
+
class ds {
|
|
2292
2292
|
/**
|
|
2293
2293
|
* Copies a range of elements from an Array starting at the specified source index and pastes
|
|
2294
2294
|
* them to another Array starting at the specified destination index. The length and the indexes
|
|
@@ -2427,11 +2427,11 @@ class An {
|
|
|
2427
2427
|
r--, s--;
|
|
2428
2428
|
if (e > r || n > s) {
|
|
2429
2429
|
let y;
|
|
2430
|
-
return n <= s ? (
|
|
2430
|
+
return n <= s ? (hs.Assert(e === r + 1, "originalStart should only be one more than originalEnd"), y = [
|
|
2431
2431
|
new En(e, 0, n, s - n + 1)
|
|
2432
|
-
]) : e <= r ? (
|
|
2432
|
+
]) : e <= r ? (hs.Assert(n === s + 1, "modifiedStart should only be one more than modifiedEnd"), y = [
|
|
2433
2433
|
new En(e, r - e + 1, n, 0)
|
|
2434
|
-
]) : (
|
|
2434
|
+
]) : (hs.Assert(e === r + 1, "originalStart should only be one more than originalEnd"), hs.Assert(n === s + 1, "modifiedStart should only be one more than modifiedEnd"), y = []), y;
|
|
2435
2435
|
}
|
|
2436
2436
|
const u = [0], l = [0], c = this.ComputeRecursionPoint(e, r, n, s, u, l, i), m = u[0], _ = l[0];
|
|
2437
2437
|
if (c !== null)
|
|
@@ -2520,7 +2520,7 @@ class An {
|
|
|
2520
2520
|
}
|
|
2521
2521
|
if (ee <= 1447) {
|
|
2522
2522
|
let ce = new Int32Array(y - _ + 2);
|
|
2523
|
-
ce[0] = W - _ + 1,
|
|
2523
|
+
ce[0] = W - _ + 1, ds.Copy2(D, _, ce, 1, y - _ + 1), this.m_forwardHistory.push(ce), ce = new Int32Array(S - v + 2), ce[0] = j - v + 1, ds.Copy2(z, v, ce, 1, S - v + 1), this.m_reverseHistory.push(ce);
|
|
2524
2524
|
}
|
|
2525
2525
|
}
|
|
2526
2526
|
return this.WALKTRACE(W, _, y, U, j, v, S, F, D, z, c, r, i, m, s, u, Z, l);
|
|
@@ -2648,10 +2648,10 @@ class An {
|
|
|
2648
2648
|
return r.length > 0 ? r : e;
|
|
2649
2649
|
if (this.ChangesOverlap(e[e.length - 1], r[0], n)) {
|
|
2650
2650
|
const s = new Array(e.length + r.length - 1);
|
|
2651
|
-
return
|
|
2651
|
+
return ds.Copy(e, 0, s, 0, e.length - 1), s[e.length - 1] = n[0], ds.Copy(r, 1, s, e.length, r.length - 1), s;
|
|
2652
2652
|
} else {
|
|
2653
2653
|
const s = new Array(e.length + r.length);
|
|
2654
|
-
return
|
|
2654
|
+
return ds.Copy(e, 0, s, 0, e.length), ds.Copy(r, 0, s, e.length, r.length), s;
|
|
2655
2655
|
}
|
|
2656
2656
|
}
|
|
2657
2657
|
/**
|
|
@@ -2663,7 +2663,7 @@ class An {
|
|
|
2663
2663
|
* @returns True if the two changes overlap
|
|
2664
2664
|
*/
|
|
2665
2665
|
ChangesOverlap(e, r, n) {
|
|
2666
|
-
if (
|
|
2666
|
+
if (hs.Assert(e.originalStart <= r.originalStart, "Left change is not less than or equal to right change"), hs.Assert(e.modifiedStart <= r.modifiedStart, "Left change is not less than or equal to right change"), e.originalStart + e.originalLength >= r.originalStart || e.modifiedStart + e.modifiedLength >= r.modifiedStart) {
|
|
2667
2667
|
const s = e.originalStart;
|
|
2668
2668
|
let i = e.originalLength;
|
|
2669
2669
|
const u = e.modifiedStart;
|
|
@@ -2697,7 +2697,7 @@ class An {
|
|
|
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`.
|
|
@@ -3041,7 +3041,7 @@ let it = class Yn {
|
|
|
3041
3041
|
function Id(t) {
|
|
3042
3042
|
return t < 0 ? 0 : t > 255 ? 255 : t | 0;
|
|
3043
3043
|
}
|
|
3044
|
-
function
|
|
3044
|
+
function ms(t) {
|
|
3045
3045
|
return t < 0 ? 0 : t > 4294967295 ? 4294967295 : t | 0;
|
|
3046
3046
|
}
|
|
3047
3047
|
class s0 {
|
|
@@ -5002,7 +5002,7 @@ function S5() {
|
|
|
5002
5002
|
SelectionDirection: H1,
|
|
5003
5003
|
MarkerSeverity: B1,
|
|
5004
5004
|
MarkerTag: q1,
|
|
5005
|
-
Uri:
|
|
5005
|
+
Uri: Kr,
|
|
5006
5006
|
Token: w5
|
|
5007
5007
|
};
|
|
5008
5008
|
}
|
|
@@ -5554,7 +5554,7 @@ class jm {
|
|
|
5554
5554
|
return "allNonBasicAscii";
|
|
5555
5555
|
const e = /* @__PURE__ */ new Set();
|
|
5556
5556
|
if (this.options.invisibleCharacters)
|
|
5557
|
-
for (const r of
|
|
5557
|
+
for (const r of Qn.codePoints)
|
|
5558
5558
|
Wm(String.fromCodePoint(r)) || e.add(r);
|
|
5559
5559
|
if (this.options.ambiguousCharacters)
|
|
5560
5560
|
for (const r of this.ambiguousCharacters.getConfusableCodePoints())
|
|
@@ -5573,12 +5573,12 @@ class jm {
|
|
|
5573
5573
|
if (r)
|
|
5574
5574
|
for (const u of r) {
|
|
5575
5575
|
const l = u.codePointAt(0), c = P6(u);
|
|
5576
|
-
s = s || c, !c && !this.ambiguousCharacters.isAmbiguous(l) && !
|
|
5576
|
+
s = s || c, !c && !this.ambiguousCharacters.isAmbiguous(l) && !Qn.isInvisibleCharacter(l) && (i = !0);
|
|
5577
5577
|
}
|
|
5578
5578
|
return (
|
|
5579
5579
|
/* Don't allow mixing weird looking characters with ASCII */
|
|
5580
5580
|
!s && /* Is there an obviously weird looking character? */
|
|
5581
|
-
i ? 0 : this.options.invisibleCharacters && !Wm(e) &&
|
|
5581
|
+
i ? 0 : this.options.invisibleCharacters && !Wm(e) && Qn.isInvisibleCharacter(n) ? 2 : this.options.ambiguousCharacters && this.ambiguousCharacters.isAmbiguous(n) ? 3 : 0
|
|
5582
5582
|
);
|
|
5583
5583
|
}
|
|
5584
5584
|
}
|
|
@@ -5705,7 +5705,7 @@ class Ne {
|
|
|
5705
5705
|
e(r);
|
|
5706
5706
|
}
|
|
5707
5707
|
}
|
|
5708
|
-
function
|
|
5708
|
+
function Us(t, e) {
|
|
5709
5709
|
const r = Ai(t, e);
|
|
5710
5710
|
return r === -1 ? void 0 : t[r];
|
|
5711
5711
|
}
|
|
@@ -5763,9 +5763,9 @@ class be {
|
|
|
5763
5763
|
static joinMany(e) {
|
|
5764
5764
|
if (e.length === 0)
|
|
5765
5765
|
return [];
|
|
5766
|
-
let r = new
|
|
5766
|
+
let r = new en(e[0].slice());
|
|
5767
5767
|
for (let n = 1; n < e.length; n++)
|
|
5768
|
-
r = r.getUnion(new
|
|
5768
|
+
r = r.getUnion(new en(e[n].slice()));
|
|
5769
5769
|
return r.ranges;
|
|
5770
5770
|
}
|
|
5771
5771
|
static join(e) {
|
|
@@ -5880,7 +5880,7 @@ class be {
|
|
|
5880
5880
|
return new Ne(this.startLineNumber - 1, this.endLineNumberExclusive - 1);
|
|
5881
5881
|
}
|
|
5882
5882
|
}
|
|
5883
|
-
class
|
|
5883
|
+
class en {
|
|
5884
5884
|
constructor(e = []) {
|
|
5885
5885
|
this._normalizedRanges = e;
|
|
5886
5886
|
}
|
|
@@ -5902,11 +5902,11 @@ class Kr {
|
|
|
5902
5902
|
}
|
|
5903
5903
|
}
|
|
5904
5904
|
contains(e) {
|
|
5905
|
-
const r =
|
|
5905
|
+
const r = Us(this._normalizedRanges, (n) => n.startLineNumber <= e);
|
|
5906
5906
|
return !!r && r.endLineNumberExclusive > e;
|
|
5907
5907
|
}
|
|
5908
5908
|
intersects(e) {
|
|
5909
|
-
const r =
|
|
5909
|
+
const r = Us(this._normalizedRanges, (n) => n.startLineNumber < e.endLineNumberExclusive);
|
|
5910
5910
|
return !!r && r.endLineNumberExclusive > e.startLineNumber;
|
|
5911
5911
|
}
|
|
5912
5912
|
getUnion(e) {
|
|
@@ -5924,7 +5924,7 @@ class Kr {
|
|
|
5924
5924
|
} else n < this._normalizedRanges.length ? (u = this._normalizedRanges[n], n++) : (u = e._normalizedRanges[s], s++);
|
|
5925
5925
|
i === null ? i = u : i.endLineNumberExclusive >= u.startLineNumber ? i = new be(i.startLineNumber, Math.max(i.endLineNumberExclusive, u.endLineNumberExclusive)) : (r.push(i), i = u);
|
|
5926
5926
|
}
|
|
5927
|
-
return i !== null && r.push(i), new
|
|
5927
|
+
return i !== null && r.push(i), new en(r);
|
|
5928
5928
|
}
|
|
5929
5929
|
/**
|
|
5930
5930
|
* Subtracts all ranges in this set from `range` and returns the result.
|
|
@@ -5932,14 +5932,14 @@ class Kr {
|
|
|
5932
5932
|
subtractFrom(e) {
|
|
5933
5933
|
const r = Y1(this._normalizedRanges, (u) => u.endLineNumberExclusive >= e.startLineNumber), n = Ai(this._normalizedRanges, (u) => u.startLineNumber <= e.endLineNumberExclusive) + 1;
|
|
5934
5934
|
if (r === n)
|
|
5935
|
-
return new
|
|
5935
|
+
return new en([e]);
|
|
5936
5936
|
const s = [];
|
|
5937
5937
|
let i = e.startLineNumber;
|
|
5938
5938
|
for (let u = r; u < n; u++) {
|
|
5939
5939
|
const l = this._normalizedRanges[u];
|
|
5940
5940
|
l.startLineNumber > i && s.push(new be(i, l.startLineNumber)), i = l.endLineNumberExclusive;
|
|
5941
5941
|
}
|
|
5942
|
-
return i < e.endLineNumberExclusive && s.push(new be(i, e.endLineNumberExclusive)), new
|
|
5942
|
+
return i < e.endLineNumberExclusive && s.push(new be(i, e.endLineNumberExclusive)), new en(s);
|
|
5943
5943
|
}
|
|
5944
5944
|
toString() {
|
|
5945
5945
|
return this._normalizedRanges.map((e) => e.toString()).join(", ");
|
|
@@ -5951,28 +5951,28 @@ class Kr {
|
|
|
5951
5951
|
const i = this._normalizedRanges[n], u = e._normalizedRanges[s], l = i.intersect(u);
|
|
5952
5952
|
l && !l.isEmpty && r.push(l), i.endLineNumberExclusive < u.endLineNumberExclusive ? n++ : s++;
|
|
5953
5953
|
}
|
|
5954
|
-
return new
|
|
5954
|
+
return new en(r);
|
|
5955
5955
|
}
|
|
5956
5956
|
getWithDelta(e) {
|
|
5957
|
-
return new
|
|
5957
|
+
return new en(this._normalizedRanges.map((r) => r.delta(e)));
|
|
5958
5958
|
}
|
|
5959
5959
|
}
|
|
5960
|
-
class
|
|
5960
|
+
class Es {
|
|
5961
5961
|
static {
|
|
5962
|
-
this.zero = new
|
|
5962
|
+
this.zero = new Es(0, 0);
|
|
5963
5963
|
}
|
|
5964
5964
|
static betweenPositions(e, r) {
|
|
5965
|
-
return e.lineNumber === r.lineNumber ? new
|
|
5965
|
+
return e.lineNumber === r.lineNumber ? new Es(0, r.column - e.column) : new Es(r.lineNumber - e.lineNumber, r.column - 1);
|
|
5966
5966
|
}
|
|
5967
5967
|
static ofRange(e) {
|
|
5968
|
-
return
|
|
5968
|
+
return Es.betweenPositions(e.getStartPosition(), e.getEndPosition());
|
|
5969
5969
|
}
|
|
5970
5970
|
static ofText(e) {
|
|
5971
5971
|
let r = 0, n = 0;
|
|
5972
5972
|
for (const s of e)
|
|
5973
5973
|
s === `
|
|
5974
5974
|
` ? (r++, n = 0) : n++;
|
|
5975
|
-
return new
|
|
5975
|
+
return new Es(r, n);
|
|
5976
5976
|
}
|
|
5977
5977
|
constructor(e, r) {
|
|
5978
5978
|
this.lineCount = e, this.columnCount = r;
|
|
@@ -6040,13 +6040,13 @@ class xr {
|
|
|
6040
6040
|
toRangeMapping() {
|
|
6041
6041
|
const e = this.original.toInclusiveRange(), r = this.modified.toInclusiveRange();
|
|
6042
6042
|
if (e && r)
|
|
6043
|
-
return new
|
|
6043
|
+
return new zr(e, r);
|
|
6044
6044
|
if (this.original.startLineNumber === 1 || this.modified.startLineNumber === 1) {
|
|
6045
6045
|
if (!(this.modified.startLineNumber === 1 && this.original.startLineNumber === 1))
|
|
6046
6046
|
throw new dr("not a valid diff");
|
|
6047
|
-
return new
|
|
6047
|
+
return new zr(new Ee(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new Ee(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1));
|
|
6048
6048
|
} else
|
|
6049
|
-
return new
|
|
6049
|
+
return new zr(new Ee(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), new Ee(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER, this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER));
|
|
6050
6050
|
}
|
|
6051
6051
|
/**
|
|
6052
6052
|
* This method assumes that the LineRangeMapping describes a valid diff!
|
|
@@ -6055,15 +6055,15 @@ class xr {
|
|
|
6055
6055
|
*/
|
|
6056
6056
|
toRangeMapping2(e, r) {
|
|
6057
6057
|
if (Gm(this.original.endLineNumberExclusive, e) && Gm(this.modified.endLineNumberExclusive, r))
|
|
6058
|
-
return new
|
|
6058
|
+
return new zr(new Ee(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new Ee(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1));
|
|
6059
6059
|
if (!this.original.isEmpty && !this.modified.isEmpty)
|
|
6060
|
-
return new
|
|
6060
|
+
return new zr(Ee.fromPositions(new it(this.original.startLineNumber, 1), ps(new it(this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), e)), Ee.fromPositions(new it(this.modified.startLineNumber, 1), ps(new it(this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), r)));
|
|
6061
6061
|
if (this.original.startLineNumber > 1 && this.modified.startLineNumber > 1)
|
|
6062
|
-
return new
|
|
6062
|
+
return new zr(Ee.fromPositions(ps(new it(this.original.startLineNumber - 1, Number.MAX_SAFE_INTEGER), e), ps(new it(this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), e)), Ee.fromPositions(ps(new it(this.modified.startLineNumber - 1, Number.MAX_SAFE_INTEGER), r), ps(new it(this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), r)));
|
|
6063
6063
|
throw new dr();
|
|
6064
6064
|
}
|
|
6065
6065
|
}
|
|
6066
|
-
function
|
|
6066
|
+
function ps(t, e) {
|
|
6067
6067
|
if (t.lineNumber < 1)
|
|
6068
6068
|
return new it(1, 1);
|
|
6069
6069
|
if (t.lineNumber > e.length)
|
|
@@ -6089,7 +6089,7 @@ class cn extends xr {
|
|
|
6089
6089
|
return new cn(this.original, this.modified, [this.toRangeMapping()]);
|
|
6090
6090
|
}
|
|
6091
6091
|
}
|
|
6092
|
-
class
|
|
6092
|
+
class zr {
|
|
6093
6093
|
static assertSorted(e) {
|
|
6094
6094
|
for (let r = 1; r < e.length; r++) {
|
|
6095
6095
|
const n = e[r - 1], s = e[r];
|
|
@@ -6104,7 +6104,7 @@ class Ur {
|
|
|
6104
6104
|
return `{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`;
|
|
6105
6105
|
}
|
|
6106
6106
|
flip() {
|
|
6107
|
-
return new
|
|
6107
|
+
return new zr(this.modifiedRange, this.originalRange);
|
|
6108
6108
|
}
|
|
6109
6109
|
/**
|
|
6110
6110
|
* Creates a single text edit that describes the change from the original to the modified text.
|
|
@@ -6130,7 +6130,7 @@ class W5 {
|
|
|
6130
6130
|
c.originalEndLineNumber === 0 ? m = new be(c.originalStartLineNumber + 1, c.originalStartLineNumber + 1) : m = new be(c.originalStartLineNumber, c.originalEndLineNumber + 1);
|
|
6131
6131
|
let _;
|
|
6132
6132
|
c.modifiedEndLineNumber === 0 ? _ = new be(c.modifiedStartLineNumber + 1, c.modifiedStartLineNumber + 1) : _ = new be(c.modifiedStartLineNumber, c.modifiedEndLineNumber + 1);
|
|
6133
|
-
let y = new cn(m, _, c.charChanges?.map((v) => new
|
|
6133
|
+
let y = new cn(m, _, c.charChanges?.map((v) => new zr(new Ee(v.originalStartLineNumber, v.originalStartColumn, v.originalEndLineNumber, v.originalEndColumn), new Ee(v.modifiedStartLineNumber, v.modifiedStartColumn, v.modifiedEndLineNumber, v.modifiedEndColumn))));
|
|
6134
6134
|
l && (l.modified.endLineNumberExclusive === y.modified.startLineNumber || l.original.endLineNumberExclusive === y.original.startLineNumber) && (y = new cn(l.original.join(y.original), l.modified.join(y.modified), l.innerChanges && y.innerChanges ? l.innerChanges.concat(y.innerChanges) : void 0), u.pop()), u.push(y), l = y;
|
|
6135
6135
|
}
|
|
6136
6136
|
return xa(() => o_(u, (c, m) => m.original.startLineNumber - c.original.endLineNumberExclusive === m.modified.startLineNumber - c.modified.endLineNumberExclusive && // There has to be an unchanged line in between (otherwise both diffs should have been joined)
|
|
@@ -6201,13 +6201,13 @@ class G5 {
|
|
|
6201
6201
|
return e === -1 ? this.getStartColumn(e + 1) : (this._assertIndex(e, this._columns), this._charCodes[e] === 10 ? 1 : this._columns[e] + 1);
|
|
6202
6202
|
}
|
|
6203
6203
|
}
|
|
6204
|
-
class
|
|
6204
|
+
class Is {
|
|
6205
6205
|
constructor(e, r, n, s, i, u, l, c) {
|
|
6206
6206
|
this.originalStartLineNumber = e, this.originalStartColumn = r, this.originalEndLineNumber = n, this.originalEndColumn = s, this.modifiedStartLineNumber = i, this.modifiedStartColumn = u, this.modifiedEndLineNumber = l, this.modifiedEndColumn = c;
|
|
6207
6207
|
}
|
|
6208
6208
|
static createFromDiffChange(e, r, n) {
|
|
6209
6209
|
const s = r.getStartLineNumber(e.originalStart), i = r.getStartColumn(e.originalStart), u = r.getEndLineNumber(e.originalStart + e.originalLength - 1), l = r.getEndColumn(e.originalStart + e.originalLength - 1), c = n.getStartLineNumber(e.modifiedStart), m = n.getStartColumn(e.modifiedStart), _ = n.getEndLineNumber(e.modifiedStart + e.modifiedLength - 1), y = n.getEndColumn(e.modifiedStart + e.modifiedLength - 1);
|
|
6210
|
-
return new
|
|
6210
|
+
return new Is(s, i, u, l, c, m, _, y);
|
|
6211
6211
|
}
|
|
6212
6212
|
}
|
|
6213
6213
|
function B5(t) {
|
|
@@ -6233,7 +6233,7 @@ class Si {
|
|
|
6233
6233
|
let L = c_(S, T, i, !0).changes;
|
|
6234
6234
|
l && (L = B5(L)), v = [];
|
|
6235
6235
|
for (let D = 0, z = L.length; D < z; D++)
|
|
6236
|
-
v.push(
|
|
6236
|
+
v.push(Is.createFromDiffChange(L[D], S, T));
|
|
6237
6237
|
}
|
|
6238
6238
|
}
|
|
6239
6239
|
return new Si(c, m, _, y, v);
|
|
@@ -6321,14 +6321,14 @@ class q5 {
|
|
|
6321
6321
|
if (this._mergeTrimWhitespaceCharChange(e, r, n, s, i, u, l))
|
|
6322
6322
|
return;
|
|
6323
6323
|
let c;
|
|
6324
|
-
this.shouldComputeCharChanges && (c = [new
|
|
6324
|
+
this.shouldComputeCharChanges && (c = [new Is(r, n, r, s, i, u, i, l)]), e.push(new Si(r, r, i, i, c));
|
|
6325
6325
|
}
|
|
6326
6326
|
_mergeTrimWhitespaceCharChange(e, r, n, s, i, u, l) {
|
|
6327
6327
|
const c = e.length;
|
|
6328
6328
|
if (c === 0)
|
|
6329
6329
|
return !1;
|
|
6330
6330
|
const m = e[c - 1];
|
|
6331
|
-
return m.originalEndLineNumber === 0 || m.modifiedEndLineNumber === 0 ? !1 : m.originalEndLineNumber === r && m.modifiedEndLineNumber === i ? (this.shouldComputeCharChanges && m.charChanges && m.charChanges.push(new
|
|
6331
|
+
return m.originalEndLineNumber === 0 || m.modifiedEndLineNumber === 0 ? !1 : m.originalEndLineNumber === r && m.modifiedEndLineNumber === i ? (this.shouldComputeCharChanges && m.charChanges && m.charChanges.push(new Is(r, n, r, s, i, u, i, l)), !0) : m.originalEndLineNumber + 1 === r && m.modifiedEndLineNumber + 1 === i ? (m.originalEndLineNumber = r, m.modifiedEndLineNumber = i, this.shouldComputeCharChanges && m.charChanges && m.charChanges.push(new Is(r, n, r, s, i, u, i, l)), !0) : !1;
|
|
6332
6332
|
}
|
|
6333
6333
|
}
|
|
6334
6334
|
function Z1(t, e) {
|
|
@@ -6441,7 +6441,7 @@ class Ke {
|
|
|
6441
6441
|
static invert(e, r) {
|
|
6442
6442
|
const n = [];
|
|
6443
6443
|
return Z5(e, (s, i) => {
|
|
6444
|
-
n.push(Ke.fromOffsetPairs(s ? s.getEndExclusives() :
|
|
6444
|
+
n.push(Ke.fromOffsetPairs(s ? s.getEndExclusives() : Wr.zero, i ? i.getStarts() : new Wr(r, (s ? s.seq2Range.endExclusive - s.seq1Range.endExclusive : 0) + r)));
|
|
6445
6445
|
}), n;
|
|
6446
6446
|
}
|
|
6447
6447
|
static fromOffsetPairs(e, r) {
|
|
@@ -6482,18 +6482,18 @@ class Ke {
|
|
|
6482
6482
|
return new Ke(r, n);
|
|
6483
6483
|
}
|
|
6484
6484
|
getStarts() {
|
|
6485
|
-
return new
|
|
6485
|
+
return new Wr(this.seq1Range.start, this.seq2Range.start);
|
|
6486
6486
|
}
|
|
6487
6487
|
getEndExclusives() {
|
|
6488
|
-
return new
|
|
6488
|
+
return new Wr(this.seq1Range.endExclusive, this.seq2Range.endExclusive);
|
|
6489
6489
|
}
|
|
6490
6490
|
}
|
|
6491
|
-
class
|
|
6491
|
+
class Wr {
|
|
6492
6492
|
static {
|
|
6493
|
-
this.zero = new
|
|
6493
|
+
this.zero = new Wr(0, 0);
|
|
6494
6494
|
}
|
|
6495
6495
|
static {
|
|
6496
|
-
this.max = new
|
|
6496
|
+
this.max = new Wr(Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER);
|
|
6497
6497
|
}
|
|
6498
6498
|
constructor(e, r) {
|
|
6499
6499
|
this.offset1 = e, this.offset2 = r;
|
|
@@ -6502,7 +6502,7 @@ class jr {
|
|
|
6502
6502
|
return `${this.offset1} <-> ${this.offset2}`;
|
|
6503
6503
|
}
|
|
6504
6504
|
delta(e) {
|
|
6505
|
-
return e === 0 ? this : new
|
|
6505
|
+
return e === 0 ? this : new Wr(this.offset1 + e, this.offset2 + e);
|
|
6506
6506
|
}
|
|
6507
6507
|
equals(e) {
|
|
6508
6508
|
return this.offset1 === e.offset1 && this.offset2 === e.offset2;
|
|
@@ -6760,7 +6760,7 @@ class Ta {
|
|
|
6760
6760
|
return this.elements[e] === this.elements[r];
|
|
6761
6761
|
}
|
|
6762
6762
|
extendToFullLines(e) {
|
|
6763
|
-
const r =
|
|
6763
|
+
const r = Us(this.firstElementOffsetByLineIdx, (s) => s <= e.start) ?? 0, n = z5(this.firstElementOffsetByLineIdx, (s) => e.endExclusive <= s) ?? this.elements.length;
|
|
6764
6764
|
return new Ne(r, n);
|
|
6765
6765
|
}
|
|
6766
6766
|
}
|
|
@@ -6844,7 +6844,7 @@ function a8(t, e, r, n, s, i) {
|
|
|
6844
6844
|
return [];
|
|
6845
6845
|
}
|
|
6846
6846
|
c.sort(Q5(Jo((v) => v.modifiedLineRange.length, Qo)));
|
|
6847
|
-
const m = new
|
|
6847
|
+
const m = new en(), _ = new en();
|
|
6848
6848
|
for (const v of c) {
|
|
6849
6849
|
const S = v.modifiedLineRange.startLineNumber - v.originalLineRange.startLineNumber, T = m.subtractFrom(v.modifiedLineRange), L = _.subtractFrom(v.originalLineRange).getWithDelta(S), D = T.getIntersection(L);
|
|
6850
6850
|
for (const z of D.ranges) {
|
|
@@ -6857,7 +6857,7 @@ function a8(t, e, r, n, s, i) {
|
|
|
6857
6857
|
u.sort(Jo((v) => v.original.startLineNumber, Qo));
|
|
6858
6858
|
const y = new Qa(t);
|
|
6859
6859
|
for (let v = 0; v < u.length; v++) {
|
|
6860
|
-
const S = u[v], T = y.findLastMonotonous((B) => B.original.startLineNumber <= S.original.startLineNumber), L =
|
|
6860
|
+
const S = u[v], T = y.findLastMonotonous((B) => B.original.startLineNumber <= S.original.startLineNumber), L = Us(t, (B) => B.modified.startLineNumber <= S.modified.startLineNumber), D = Math.max(S.original.startLineNumber - T.original.startLineNumber, S.modified.startLineNumber - L.modified.startLineNumber), z = y.findLastMonotonous((B) => B.original.startLineNumber < S.original.endLineNumberExclusive), W = Us(t, (B) => B.modified.startLineNumber < S.modified.endLineNumberExclusive), j = Math.max(z.original.endLineNumberExclusive - S.original.endLineNumberExclusive, W.modified.endLineNumberExclusive - S.modified.endLineNumberExclusive);
|
|
6861
6861
|
let U;
|
|
6862
6862
|
for (U = 0; U < D; U++) {
|
|
6863
6863
|
const B = S.original.startLineNumber - U - 1, Z = S.modified.startLineNumber - U - 1;
|
|
@@ -6914,7 +6914,7 @@ function u8(t) {
|
|
|
6914
6914
|
function l8(t, e) {
|
|
6915
6915
|
const r = new Qa(t);
|
|
6916
6916
|
return e = e.filter((n) => {
|
|
6917
|
-
const s = r.findLastMonotonous((l) => l.original.startLineNumber < n.original.endLineNumberExclusive) || new xr(new be(1, 1), new be(1, 1)), i =
|
|
6917
|
+
const s = r.findLastMonotonous((l) => l.original.startLineNumber < n.original.endLineNumberExclusive) || new xr(new be(1, 1), new be(1, 1)), i = Us(t, (l) => l.modified.startLineNumber < n.modified.endLineNumberExclusive);
|
|
6918
6918
|
return s !== i;
|
|
6919
6919
|
}), e;
|
|
6920
6920
|
}
|
|
@@ -7002,7 +7002,7 @@ function f8(t, e, r) {
|
|
|
7002
7002
|
}
|
|
7003
7003
|
function h8(t, e, r) {
|
|
7004
7004
|
const n = Ke.invert(r, t.length), s = [];
|
|
7005
|
-
let i = new
|
|
7005
|
+
let i = new Wr(0, 0);
|
|
7006
7006
|
function u(c, m) {
|
|
7007
7007
|
if (c.offset1 < i.offset1 || c.offset2 < i.offset2)
|
|
7008
7008
|
return;
|
|
@@ -7102,7 +7102,7 @@ function p8(t, e, r) {
|
|
|
7102
7102
|
v(T) && (y = y.deltaStart(-T.length));
|
|
7103
7103
|
const L = t.getText(new Ne(m.seq1Range.endExclusive, S.endExclusive));
|
|
7104
7104
|
v(L) && (y = y.deltaEnd(L.length));
|
|
7105
|
-
const D = Ke.fromOffsetPairs(c ? c.getEndExclusives() :
|
|
7105
|
+
const D = Ke.fromOffsetPairs(c ? c.getEndExclusives() : Wr.zero, _ ? _.getStarts() : Wr.max), z = y.intersect(D);
|
|
7106
7106
|
u.length > 0 && z.getStarts().equals(u[u.length - 1].getEndExclusives()) ? u[u.length - 1] = u[u.length - 1].join(z) : u.push(z);
|
|
7107
7107
|
}), u;
|
|
7108
7108
|
}
|
|
@@ -7144,7 +7144,7 @@ class g8 {
|
|
|
7144
7144
|
if (e.length === 1 && e[0].length === 0 || r.length === 1 && r[0].length === 0)
|
|
7145
7145
|
return new Xo([
|
|
7146
7146
|
new cn(new be(1, e.length + 1), new be(1, r.length + 1), [
|
|
7147
|
-
new
|
|
7147
|
+
new zr(new Ee(1, 1, e.length, e[e.length - 1].length + 1), new Ee(1, 1, r.length, r[r.length - 1].length + 1))
|
|
7148
7148
|
])
|
|
7149
7149
|
], [], !1);
|
|
7150
7150
|
const s = n.maxComputationTimeMs === 0 ? $i.instance : new K5(n.maxComputationTimeMs), i = !n.ignoreTrimWhitespace, u = /* @__PURE__ */ new Map();
|
|
@@ -7212,7 +7212,7 @@ class g8 {
|
|
|
7212
7212
|
const l = y8(n).toRangeMapping2(e, r), c = new Ta(e, l.originalRange, i), m = new Ta(r, l.modifiedRange, i), _ = c.length + m.length < 500 ? this.dynamicProgrammingDiffing.compute(c, m, s) : this.myersDiffingAlgorithm.compute(c, m, s);
|
|
7213
7213
|
let y = _.diffs;
|
|
7214
7214
|
return y = Jm(c, m, y), y = h8(c, m, y), y = f8(c, m, y), y = p8(c, m, y), {
|
|
7215
|
-
mappings: y.map((S) => new
|
|
7215
|
+
mappings: y.map((S) => new zr(c.translateRange(S.seq1Range), m.translateRange(S.seq2Range))),
|
|
7216
7216
|
hitTimeout: _.hitTimeout
|
|
7217
7217
|
};
|
|
7218
7218
|
}
|
|
@@ -7305,7 +7305,7 @@ class Sr {
|
|
|
7305
7305
|
return new xt(Math.round(u * 255), Math.round(l * 255), Math.round(c * 255), i);
|
|
7306
7306
|
}
|
|
7307
7307
|
}
|
|
7308
|
-
class
|
|
7308
|
+
class Ms {
|
|
7309
7309
|
constructor(e, r, n, s) {
|
|
7310
7310
|
this._hsvaBrand = void 0, this.h = Math.max(Math.min(360, e), 0) | 0, this.s = Rn(Math.max(Math.min(1, r), 0), 3), this.v = Rn(Math.max(Math.min(1, n), 0), 3), this.a = Rn(Math.max(Math.min(1, s), 0), 3);
|
|
7311
7311
|
}
|
|
@@ -7316,7 +7316,7 @@ class Os {
|
|
|
7316
7316
|
static fromRGBA(e) {
|
|
7317
7317
|
const r = e.r / 255, n = e.g / 255, s = e.b / 255, i = Math.max(r, n, s), u = Math.min(r, n, s), l = i - u, c = i === 0 ? 0 : l / i;
|
|
7318
7318
|
let m;
|
|
7319
|
-
return l === 0 ? m = 0 : i === r ? m = ((n - s) / l % 6 + 6) % 6 : i === n ? m = (s - r) / l + 2 : m = (r - n) / l + 4, new
|
|
7319
|
+
return l === 0 ? m = 0 : i === r ? m = ((n - s) / l % 6 + 6) % 6 : i === n ? m = (s - r) / l + 2 : m = (r - n) / l + 4, new Ms(Math.round(m * 60), c, i, e.a);
|
|
7320
7320
|
}
|
|
7321
7321
|
// from http://www.rapidtables.com/convert/color/hsv-to-rgb.htm
|
|
7322
7322
|
static toRGBA(e) {
|
|
@@ -7336,7 +7336,7 @@ let Pa = class dt {
|
|
|
7336
7336
|
return this._hsla ? this._hsla : Sr.fromRGBA(this.rgba);
|
|
7337
7337
|
}
|
|
7338
7338
|
get hsva() {
|
|
7339
|
-
return this._hsva ? this._hsva :
|
|
7339
|
+
return this._hsva ? this._hsva : Ms.fromRGBA(this.rgba);
|
|
7340
7340
|
}
|
|
7341
7341
|
constructor(e) {
|
|
7342
7342
|
if (e)
|
|
@@ -7344,14 +7344,14 @@ let Pa = class dt {
|
|
|
7344
7344
|
this.rgba = e;
|
|
7345
7345
|
else if (e instanceof Sr)
|
|
7346
7346
|
this._hsla = e, this.rgba = Sr.toRGBA(e);
|
|
7347
|
-
else if (e instanceof
|
|
7348
|
-
this._hsva = e, this.rgba =
|
|
7347
|
+
else if (e instanceof Ms)
|
|
7348
|
+
this._hsva = e, this.rgba = Ms.toRGBA(e);
|
|
7349
7349
|
else
|
|
7350
7350
|
throw new Error("Invalid color ctor argument");
|
|
7351
7351
|
else throw new Error("Color needs a value");
|
|
7352
7352
|
}
|
|
7353
7353
|
equals(e) {
|
|
7354
|
-
return !!e && xt.equals(this.rgba, e.rgba) && Sr.equals(this.hsla, e.hsla) &&
|
|
7354
|
+
return !!e && xt.equals(this.rgba, e.rgba) && Sr.equals(this.hsla, e.hsla) && Ms.equals(this.hsva, e.hsva);
|
|
7355
7355
|
}
|
|
7356
7356
|
/**
|
|
7357
7357
|
* http://www.w3.org/TR/WCAG20/#relativeluminancedef
|
|
@@ -7859,15 +7859,15 @@ class P8 {
|
|
|
7859
7859
|
this.values = e, this.prefixSum = new Uint32Array(e.length), this.prefixSumValidIndex = new Int32Array(1), this.prefixSumValidIndex[0] = -1;
|
|
7860
7860
|
}
|
|
7861
7861
|
insertValues(e, r) {
|
|
7862
|
-
e =
|
|
7862
|
+
e = ms(e);
|
|
7863
7863
|
const n = this.values, s = this.prefixSum, i = r.length;
|
|
7864
7864
|
return i === 0 ? !1 : (this.values = new Uint32Array(n.length + i), this.values.set(n.subarray(0, e), 0), this.values.set(n.subarray(e), e + i), this.values.set(r, e), e - 1 < this.prefixSumValidIndex[0] && (this.prefixSumValidIndex[0] = e - 1), this.prefixSum = new Uint32Array(this.values.length), this.prefixSumValidIndex[0] >= 0 && this.prefixSum.set(s.subarray(0, this.prefixSumValidIndex[0] + 1)), !0);
|
|
7865
7865
|
}
|
|
7866
7866
|
setValue(e, r) {
|
|
7867
|
-
return e =
|
|
7867
|
+
return e = ms(e), r = ms(r), this.values[e] === r ? !1 : (this.values[e] = r, e - 1 < this.prefixSumValidIndex[0] && (this.prefixSumValidIndex[0] = e - 1), !0);
|
|
7868
7868
|
}
|
|
7869
7869
|
removeValues(e, r) {
|
|
7870
|
-
e =
|
|
7870
|
+
e = ms(e), r = ms(r);
|
|
7871
7871
|
const n = this.values, s = this.prefixSum;
|
|
7872
7872
|
if (e >= n.length)
|
|
7873
7873
|
return !1;
|
|
@@ -7882,7 +7882,7 @@ class P8 {
|
|
|
7882
7882
|
* @returns `SUM(0 <= j <= index, values[j])`.
|
|
7883
7883
|
*/
|
|
7884
7884
|
getPrefixSum(e) {
|
|
7885
|
-
return e < 0 ? 0 : (e =
|
|
7885
|
+
return e < 0 ? 0 : (e = ms(e), this._getPrefixSum(e));
|
|
7886
7886
|
}
|
|
7887
7887
|
_getPrefixSum(e) {
|
|
7888
7888
|
if (e <= this.prefixSumValidIndex[0])
|
|
@@ -7981,7 +7981,7 @@ class M8 {
|
|
|
7981
7981
|
return Object.keys(this._models).forEach((r) => e.push(this._models[r])), e;
|
|
7982
7982
|
}
|
|
7983
7983
|
$acceptNewModel(e) {
|
|
7984
|
-
this._models[e.url] = new O8(
|
|
7984
|
+
this._models[e.url] = new O8(Kr.parse(e.url), e.lines, e.EOL, e.versionId);
|
|
7985
7985
|
}
|
|
7986
7986
|
$acceptModelChanged(e, r) {
|
|
7987
7987
|
if (!this._models[e])
|
|
@@ -8507,7 +8507,7 @@ var Aa;
|
|
|
8507
8507
|
}
|
|
8508
8508
|
t.is = e;
|
|
8509
8509
|
})(Aa || (Aa = {}));
|
|
8510
|
-
var
|
|
8510
|
+
var Vr;
|
|
8511
8511
|
(function(t) {
|
|
8512
8512
|
function e(n, s) {
|
|
8513
8513
|
return n === Number.MAX_VALUE && (n = Aa.MAX_VALUE), s === Number.MAX_VALUE && (s = Aa.MAX_VALUE), { line: n, character: s };
|
|
@@ -8518,20 +8518,20 @@ var zr;
|
|
|
8518
8518
|
return O.objectLiteral(s) && O.uinteger(s.line) && O.uinteger(s.character);
|
|
8519
8519
|
}
|
|
8520
8520
|
t.is = r;
|
|
8521
|
-
})(
|
|
8521
|
+
})(Vr || (Vr = {}));
|
|
8522
8522
|
var lt;
|
|
8523
8523
|
(function(t) {
|
|
8524
8524
|
function e(n, s, i, u) {
|
|
8525
8525
|
if (O.uinteger(n) && O.uinteger(s) && O.uinteger(i) && O.uinteger(u))
|
|
8526
|
-
return { start:
|
|
8527
|
-
if (
|
|
8526
|
+
return { start: Vr.create(n, s), end: Vr.create(i, u) };
|
|
8527
|
+
if (Vr.is(n) && Vr.is(s))
|
|
8528
8528
|
return { start: n, end: s };
|
|
8529
8529
|
throw new Error(`Range#create called with invalid arguments[${n}, ${s}, ${i}, ${u}]`);
|
|
8530
8530
|
}
|
|
8531
8531
|
t.create = e;
|
|
8532
8532
|
function r(n) {
|
|
8533
8533
|
let s = n;
|
|
8534
|
-
return O.objectLiteral(s) &&
|
|
8534
|
+
return O.objectLiteral(s) && Vr.is(s.start) && Vr.is(s.end);
|
|
8535
8535
|
}
|
|
8536
8536
|
t.is = r;
|
|
8537
8537
|
})(lt || (lt = {}));
|
|
@@ -8603,7 +8603,7 @@ var mp;
|
|
|
8603
8603
|
t.create = e;
|
|
8604
8604
|
function r(n) {
|
|
8605
8605
|
const s = n;
|
|
8606
|
-
return O.objectLiteral(s) && O.string(s.label) && (O.undefined(s.textEdit) ||
|
|
8606
|
+
return O.objectLiteral(s) && O.string(s.label) && (O.undefined(s.textEdit) || Vs.is(s)) && (O.undefined(s.additionalTextEdits) || O.typedArray(s.additionalTextEdits, Vs.is));
|
|
8607
8607
|
}
|
|
8608
8608
|
t.is = r;
|
|
8609
8609
|
})(mp || (mp = {}));
|
|
@@ -8672,7 +8672,7 @@ var Ma;
|
|
|
8672
8672
|
}
|
|
8673
8673
|
t.is = r;
|
|
8674
8674
|
})(Ma || (Ma = {}));
|
|
8675
|
-
var
|
|
8675
|
+
var zs;
|
|
8676
8676
|
(function(t) {
|
|
8677
8677
|
function e(n, s, ...i) {
|
|
8678
8678
|
let u = { title: n, command: s };
|
|
@@ -8684,8 +8684,8 @@ var Vs;
|
|
|
8684
8684
|
return O.defined(s) && O.string(s.title) && O.string(s.command);
|
|
8685
8685
|
}
|
|
8686
8686
|
t.is = r;
|
|
8687
|
-
})(
|
|
8688
|
-
var
|
|
8687
|
+
})(zs || (zs = {}));
|
|
8688
|
+
var Vs;
|
|
8689
8689
|
(function(t) {
|
|
8690
8690
|
function e(i, u) {
|
|
8691
8691
|
return { range: i, newText: u };
|
|
@@ -8704,7 +8704,7 @@ var js;
|
|
|
8704
8704
|
return O.objectLiteral(u) && O.string(u.newText) && lt.is(u.range);
|
|
8705
8705
|
}
|
|
8706
8706
|
t.is = s;
|
|
8707
|
-
})(
|
|
8707
|
+
})(Vs || (Vs = {}));
|
|
8708
8708
|
var oh;
|
|
8709
8709
|
(function(t) {
|
|
8710
8710
|
function e(n, s, i) {
|
|
@@ -8718,14 +8718,14 @@ var oh;
|
|
|
8718
8718
|
}
|
|
8719
8719
|
t.is = r;
|
|
8720
8720
|
})(oh || (oh = {}));
|
|
8721
|
-
var
|
|
8721
|
+
var js;
|
|
8722
8722
|
(function(t) {
|
|
8723
8723
|
function e(r) {
|
|
8724
8724
|
const n = r;
|
|
8725
8725
|
return O.string(n);
|
|
8726
8726
|
}
|
|
8727
8727
|
t.is = e;
|
|
8728
|
-
})(
|
|
8728
|
+
})(js || (js = {}));
|
|
8729
8729
|
var wp;
|
|
8730
8730
|
(function(t) {
|
|
8731
8731
|
function e(i, u, l) {
|
|
@@ -8742,7 +8742,7 @@ var wp;
|
|
|
8742
8742
|
t.del = n;
|
|
8743
8743
|
function s(i) {
|
|
8744
8744
|
const u = i;
|
|
8745
|
-
return
|
|
8745
|
+
return Vs.is(u) && (oh.is(u.annotationId) || js.is(u.annotationId));
|
|
8746
8746
|
}
|
|
8747
8747
|
t.is = s;
|
|
8748
8748
|
})(wp || (wp = {}));
|
|
@@ -8770,7 +8770,7 @@ var uh;
|
|
|
8770
8770
|
t.create = e;
|
|
8771
8771
|
function r(n) {
|
|
8772
8772
|
let s = n;
|
|
8773
|
-
return s && s.kind === "create" && O.string(s.uri) && (s.options === void 0 || (s.options.overwrite === void 0 || O.boolean(s.options.overwrite)) && (s.options.ignoreIfExists === void 0 || O.boolean(s.options.ignoreIfExists))) && (s.annotationId === void 0 ||
|
|
8773
|
+
return s && s.kind === "create" && O.string(s.uri) && (s.options === void 0 || (s.options.overwrite === void 0 || O.boolean(s.options.overwrite)) && (s.options.ignoreIfExists === void 0 || O.boolean(s.options.ignoreIfExists))) && (s.annotationId === void 0 || js.is(s.annotationId));
|
|
8774
8774
|
}
|
|
8775
8775
|
t.is = r;
|
|
8776
8776
|
})(uh || (uh = {}));
|
|
@@ -8787,7 +8787,7 @@ var lh;
|
|
|
8787
8787
|
t.create = e;
|
|
8788
8788
|
function r(n) {
|
|
8789
8789
|
let s = n;
|
|
8790
|
-
return s && s.kind === "rename" && O.string(s.oldUri) && O.string(s.newUri) && (s.options === void 0 || (s.options.overwrite === void 0 || O.boolean(s.options.overwrite)) && (s.options.ignoreIfExists === void 0 || O.boolean(s.options.ignoreIfExists))) && (s.annotationId === void 0 ||
|
|
8790
|
+
return s && s.kind === "rename" && O.string(s.oldUri) && O.string(s.newUri) && (s.options === void 0 || (s.options.overwrite === void 0 || O.boolean(s.options.overwrite)) && (s.options.ignoreIfExists === void 0 || O.boolean(s.options.ignoreIfExists))) && (s.annotationId === void 0 || js.is(s.annotationId));
|
|
8791
8791
|
}
|
|
8792
8792
|
t.is = r;
|
|
8793
8793
|
})(lh || (lh = {}));
|
|
@@ -8803,7 +8803,7 @@ var ch;
|
|
|
8803
8803
|
t.create = e;
|
|
8804
8804
|
function r(n) {
|
|
8805
8805
|
let s = n;
|
|
8806
|
-
return s && s.kind === "delete" && O.string(s.uri) && (s.options === void 0 || (s.options.recursive === void 0 || O.boolean(s.options.recursive)) && (s.options.ignoreIfNotExists === void 0 || O.boolean(s.options.ignoreIfNotExists))) && (s.annotationId === void 0 ||
|
|
8806
|
+
return s && s.kind === "delete" && O.string(s.uri) && (s.options === void 0 || (s.options.recursive === void 0 || O.boolean(s.options.recursive)) && (s.options.ignoreIfNotExists === void 0 || O.boolean(s.options.ignoreIfNotExists))) && (s.annotationId === void 0 || js.is(s.annotationId));
|
|
8807
8807
|
}
|
|
8808
8808
|
t.is = r;
|
|
8809
8809
|
})(ch || (ch = {}));
|
|
@@ -9048,12 +9048,12 @@ var Vp;
|
|
|
9048
9048
|
(function(t) {
|
|
9049
9049
|
function e(n, s, i) {
|
|
9050
9050
|
let u = { title: n }, l = !0;
|
|
9051
|
-
return typeof s == "string" ? (l = !1, u.kind = s) :
|
|
9051
|
+
return typeof s == "string" ? (l = !1, u.kind = s) : zs.is(s) ? u.command = s : u.edit = s, l && i !== void 0 && (u.kind = i), u;
|
|
9052
9052
|
}
|
|
9053
9053
|
t.create = e;
|
|
9054
9054
|
function r(n) {
|
|
9055
9055
|
let s = n;
|
|
9056
|
-
return s && O.string(s.title) && (s.diagnostics === void 0 || O.typedArray(s.diagnostics, Ma.is)) && (s.kind === void 0 || O.string(s.kind)) && (s.edit !== void 0 || s.command !== void 0) && (s.command === void 0 ||
|
|
9056
|
+
return s && O.string(s.title) && (s.diagnostics === void 0 || O.typedArray(s.diagnostics, Ma.is)) && (s.kind === void 0 || O.string(s.kind)) && (s.edit !== void 0 || s.command !== void 0) && (s.command === void 0 || zs.is(s.command)) && (s.isPreferred === void 0 || O.boolean(s.isPreferred)) && (s.edit === void 0 || fh.is(s.edit));
|
|
9057
9057
|
}
|
|
9058
9058
|
t.is = r;
|
|
9059
9059
|
})(Vp || (Vp = {}));
|
|
@@ -9066,7 +9066,7 @@ var jp;
|
|
|
9066
9066
|
t.create = e;
|
|
9067
9067
|
function r(n) {
|
|
9068
9068
|
let s = n;
|
|
9069
|
-
return O.defined(s) && lt.is(s.range) && (O.undefined(s.command) ||
|
|
9069
|
+
return O.defined(s) && lt.is(s.range) && (O.undefined(s.command) || zs.is(s.command));
|
|
9070
9070
|
}
|
|
9071
9071
|
t.is = r;
|
|
9072
9072
|
})(jp || (jp = {}));
|
|
@@ -9186,7 +9186,7 @@ var gh;
|
|
|
9186
9186
|
t.create = e;
|
|
9187
9187
|
function r(n) {
|
|
9188
9188
|
const s = n;
|
|
9189
|
-
return O.objectLiteral(s) && (s.tooltip === void 0 || O.string(s.tooltip) || Mi.is(s.tooltip)) && (s.location === void 0 || La.is(s.location)) && (s.command === void 0 ||
|
|
9189
|
+
return O.objectLiteral(s) && (s.tooltip === void 0 || O.string(s.tooltip) || Mi.is(s.tooltip)) && (s.location === void 0 || La.is(s.location)) && (s.command === void 0 || zs.is(s.command));
|
|
9190
9190
|
}
|
|
9191
9191
|
t.is = r;
|
|
9192
9192
|
})(gh || (gh = {}));
|
|
@@ -9199,7 +9199,7 @@ var Kp;
|
|
|
9199
9199
|
t.create = e;
|
|
9200
9200
|
function r(n) {
|
|
9201
9201
|
const s = n;
|
|
9202
|
-
return O.objectLiteral(s) &&
|
|
9202
|
+
return O.objectLiteral(s) && Vr.is(s.position) && (O.string(s.label) || O.typedArray(s.label, gh.is)) && (s.kind === void 0 || ph.is(s.kind)) && s.textEdits === void 0 || O.typedArray(s.textEdits, Vs.is) && (s.tooltip === void 0 || O.string(s.tooltip) || Mi.is(s.tooltip)) && (s.paddingLeft === void 0 || O.boolean(s.paddingLeft)) && (s.paddingRight === void 0 || O.boolean(s.paddingRight));
|
|
9203
9203
|
}
|
|
9204
9204
|
t.is = r;
|
|
9205
9205
|
})(Kp || (Kp = {}));
|
|
@@ -9333,13 +9333,13 @@ class I8 {
|
|
|
9333
9333
|
e = Math.max(Math.min(e, this._content.length), 0);
|
|
9334
9334
|
let r = this.getLineOffsets(), n = 0, s = r.length;
|
|
9335
9335
|
if (s === 0)
|
|
9336
|
-
return
|
|
9336
|
+
return Vr.create(0, e);
|
|
9337
9337
|
for (; n < s; ) {
|
|
9338
9338
|
let u = Math.floor((n + s) / 2);
|
|
9339
9339
|
r[u] > e ? s = u : n = u + 1;
|
|
9340
9340
|
}
|
|
9341
9341
|
let i = n - 1;
|
|
9342
|
-
return
|
|
9342
|
+
return Vr.create(i, e - r[i]);
|
|
9343
9343
|
}
|
|
9344
9344
|
offsetAt(e) {
|
|
9345
9345
|
let r = this.getLineOffsets();
|
|
@@ -9946,7 +9946,7 @@ const K8 = (t) => {
|
|
|
9946
9946
|
}, hg = (t, e) => {
|
|
9947
9947
|
const r = Q8(Ni, e) === "," ? ", " : " | ";
|
|
9948
9948
|
return t.map((n) => `"${n.toLowerCase()}"`).sort().join(r);
|
|
9949
|
-
},
|
|
9949
|
+
}, Jr = (t) => (
|
|
9950
9950
|
/*
|
|
9951
9951
|
When we display our validation markers for type suggestions, we want
|
|
9952
9952
|
to let users know when we are referring to a type when we use double quotes.
|
|
@@ -9955,7 +9955,7 @@ const K8 = (t) => {
|
|
|
9955
9955
|
e.g. 'Type "string"' instead of 'Type string'
|
|
9956
9956
|
*/
|
|
9957
9957
|
`"${t}"`
|
|
9958
|
-
),
|
|
9958
|
+
), gs = (t) => {
|
|
9959
9959
|
switch (t.type) {
|
|
9960
9960
|
case "interval-qualifier":
|
|
9961
9961
|
case "interval":
|
|
@@ -9973,26 +9973,26 @@ const K8 = (t) => {
|
|
|
9973
9973
|
case "current-user":
|
|
9974
9974
|
return "CURRENT_USER";
|
|
9975
9975
|
case "current-time":
|
|
9976
|
-
return
|
|
9976
|
+
return Jr(t.mode);
|
|
9977
9977
|
case "interval-period":
|
|
9978
|
-
return
|
|
9978
|
+
return Jr(t.period);
|
|
9979
9979
|
case "null":
|
|
9980
|
-
return
|
|
9980
|
+
return Jr("null");
|
|
9981
9981
|
case "column-reference":
|
|
9982
|
-
return
|
|
9982
|
+
return Jr(t.column);
|
|
9983
9983
|
case "number":
|
|
9984
9984
|
return t.value;
|
|
9985
9985
|
case "function":
|
|
9986
|
-
return
|
|
9986
|
+
return Jr(`${t.name}()`);
|
|
9987
9987
|
case "data-type":
|
|
9988
|
-
return
|
|
9988
|
+
return Jr(t.type);
|
|
9989
9989
|
case "boolean":
|
|
9990
9990
|
case "date":
|
|
9991
9991
|
case "parameter":
|
|
9992
9992
|
case "time":
|
|
9993
9993
|
case "timestamp":
|
|
9994
9994
|
case "string":
|
|
9995
|
-
return
|
|
9995
|
+
return Jr(String(t.value));
|
|
9996
9996
|
}
|
|
9997
9997
|
}, Ut = (t, e, r, n) => {
|
|
9998
9998
|
if (n) {
|
|
@@ -10011,13 +10011,13 @@ const K8 = (t) => {
|
|
|
10011
10011
|
(u) => u.message === t && u.startColumn === s.startColumn && u.startLineNumber === s.startLineNumber && u.endColumn === s.endColumn && u.endLineNumber === s.endLineNumber
|
|
10012
10012
|
) || r.push({ message: t, severity: lg.Error, ...s });
|
|
10013
10013
|
}
|
|
10014
|
-
},
|
|
10014
|
+
}, Gn = (t, e, r, n) => {
|
|
10015
10015
|
const s = hn(t, n);
|
|
10016
10016
|
let i = s.toUpperCase() === e;
|
|
10017
10017
|
if (e === "NUMBER" && (i = ka(s)), !i) {
|
|
10018
10018
|
const u = rr(Yt.TypeNotAssignable, {
|
|
10019
|
-
providedType:
|
|
10020
|
-
expectedType:
|
|
10019
|
+
providedType: Jr(s),
|
|
10020
|
+
expectedType: Jr(e.toLowerCase())
|
|
10021
10021
|
});
|
|
10022
10022
|
Ut(u, t.location, r, !0);
|
|
10023
10023
|
}
|
|
@@ -10275,24 +10275,24 @@ class h7 {
|
|
|
10275
10275
|
// logical operators
|
|
10276
10276
|
case "AND":
|
|
10277
10277
|
case "OR":
|
|
10278
|
-
|
|
10278
|
+
Gn(n, Tn.BOOLEAN, this.markers, this._fields), Gn(s, Tn.BOOLEAN, this.markers, this._fields);
|
|
10279
10279
|
break;
|
|
10280
10280
|
// null comparison operators
|
|
10281
10281
|
case "IS":
|
|
10282
10282
|
case "ISNOT":
|
|
10283
|
-
|
|
10283
|
+
Gn(s, Tn.NULL, this.markers, this._fields);
|
|
10284
10284
|
break;
|
|
10285
10285
|
// set comparison operators
|
|
10286
10286
|
case "IN":
|
|
10287
10287
|
case "NOT IN":
|
|
10288
10288
|
case "BETWEEN":
|
|
10289
10289
|
case "NOTBETWEEN":
|
|
10290
|
-
|
|
10290
|
+
Gn(s, Tn.EXPRESSION_LIST, this.markers, this._fields);
|
|
10291
10291
|
break;
|
|
10292
10292
|
// string comparison operators
|
|
10293
10293
|
case "LIKE":
|
|
10294
10294
|
case "NOT LIKE":
|
|
10295
|
-
|
|
10295
|
+
Gn(s, Tn.STRING, this.markers, this._fields);
|
|
10296
10296
|
break;
|
|
10297
10297
|
// Comparison operators
|
|
10298
10298
|
case "<>":
|
|
@@ -10303,7 +10303,7 @@ class h7 {
|
|
|
10303
10303
|
case "=": {
|
|
10304
10304
|
if (!cg.includes(u)) {
|
|
10305
10305
|
const c = rr(Yt.TypeNotAssignable, {
|
|
10306
|
-
providedType:
|
|
10306
|
+
providedType: Jr(u),
|
|
10307
10307
|
expectedType: hg(cg, Ni.COMMA)
|
|
10308
10308
|
});
|
|
10309
10309
|
Ut(c, s.location, this.markers, !0);
|
|
@@ -10311,9 +10311,9 @@ class h7 {
|
|
|
10311
10311
|
const l = Ro(i) && Ro(u);
|
|
10312
10312
|
if (i !== u && !l) {
|
|
10313
10313
|
const c = rr(Yt.MismatchedTypes, {
|
|
10314
|
-
leftValue:
|
|
10314
|
+
leftValue: gs(n),
|
|
10315
10315
|
providedType: i,
|
|
10316
|
-
rightValue:
|
|
10316
|
+
rightValue: gs(s),
|
|
10317
10317
|
expectedType: u
|
|
10318
10318
|
});
|
|
10319
10319
|
Ut(c, e.location, this.markers, !0);
|
|
@@ -10327,18 +10327,18 @@ class h7 {
|
|
|
10327
10327
|
case "/":
|
|
10328
10328
|
if (!Ro(i) || !Ro(u)) {
|
|
10329
10329
|
const l = rr(Yt.MismatchedTypes, {
|
|
10330
|
-
leftValue:
|
|
10330
|
+
leftValue: gs(n),
|
|
10331
10331
|
providedType: i,
|
|
10332
|
-
rightValue:
|
|
10332
|
+
rightValue: gs(s),
|
|
10333
10333
|
expectedType: u
|
|
10334
10334
|
});
|
|
10335
10335
|
Ut(l, e.location, this.markers, !0);
|
|
10336
10336
|
}
|
|
10337
10337
|
if (i !== u && !fg(n, s, this._fields) && !t7(n, s, this._fields)) {
|
|
10338
10338
|
const l = rr(Yt.MismatchedTypes, {
|
|
10339
|
-
leftValue:
|
|
10339
|
+
leftValue: gs(n),
|
|
10340
10340
|
providedType: i,
|
|
10341
|
-
rightValue:
|
|
10341
|
+
rightValue: gs(s),
|
|
10342
10342
|
expectedType: u
|
|
10343
10343
|
});
|
|
10344
10344
|
Ut(l, e.location, this.markers, !0);
|
|
@@ -10350,7 +10350,7 @@ class h7 {
|
|
|
10350
10350
|
break;
|
|
10351
10351
|
// string concatenation
|
|
10352
10352
|
case "||":
|
|
10353
|
-
|
|
10353
|
+
Gn(n, Tn.STRING, this.markers, this._fields), Gn(s, Tn.STRING, this.markers, this._fields);
|
|
10354
10354
|
break;
|
|
10355
10355
|
}
|
|
10356
10356
|
return;
|
|
@@ -10998,13 +10998,13 @@ class p7 {
|
|
|
10998
10998
|
return null;
|
|
10999
10999
|
}
|
|
11000
11000
|
}
|
|
11001
|
-
const nr = globalThis,
|
|
11001
|
+
const nr = globalThis, Yn = { ...nr.esriConfig?.has };
|
|
11002
11002
|
function $(t) {
|
|
11003
|
-
return typeof
|
|
11003
|
+
return typeof Yn[t] == "function" ? Yn[t] = Yn[t](nr) : Yn[t];
|
|
11004
11004
|
}
|
|
11005
11005
|
$.add = (t, e, r, n) => {
|
|
11006
|
-
(n ||
|
|
11007
|
-
}, $.cache =
|
|
11006
|
+
(n || Yn[t] === void 0) && (Yn[t] = e), r && $(t);
|
|
11007
|
+
}, $.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), (() => {
|
|
11008
11008
|
$.add("host-webworker", nr.WorkerGlobalScope !== void 0 && self instanceof nr.WorkerGlobalScope);
|
|
11009
11009
|
const t = typeof window < "u" && typeof location < "u" && typeof document < "u" && window.location === location && window.document === document;
|
|
11010
11010
|
if ($.add("host-browser", t), $.add("host-node", !(typeof nr.process != "object" || !nr.process.versions?.node || !nr.process.versions.v8)), $.add("dom", t), $("host-browser")) {
|
|
@@ -11350,50 +11350,50 @@ function U7(t) {
|
|
|
11350
11350
|
function z7(t) {
|
|
11351
11351
|
return t.toLowerCase().replaceAll(/[\s-]+/g, "");
|
|
11352
11352
|
}
|
|
11353
|
-
class
|
|
11353
|
+
class os extends Error {
|
|
11354
11354
|
}
|
|
11355
|
-
class V7 extends
|
|
11355
|
+
class V7 extends os {
|
|
11356
11356
|
constructor(e) {
|
|
11357
11357
|
super(`Invalid DateTime: ${e.toMessage()}`);
|
|
11358
11358
|
}
|
|
11359
11359
|
}
|
|
11360
|
-
class j7 extends
|
|
11360
|
+
class j7 extends os {
|
|
11361
11361
|
constructor(e) {
|
|
11362
11362
|
super(`Invalid Interval: ${e.toMessage()}`);
|
|
11363
11363
|
}
|
|
11364
11364
|
}
|
|
11365
|
-
class W7 extends
|
|
11365
|
+
class W7 extends os {
|
|
11366
11366
|
constructor(e) {
|
|
11367
11367
|
super(`Invalid Duration: ${e.toMessage()}`);
|
|
11368
11368
|
}
|
|
11369
11369
|
}
|
|
11370
|
-
class
|
|
11370
|
+
class Os extends os {
|
|
11371
11371
|
}
|
|
11372
|
-
class M_ extends
|
|
11372
|
+
class M_ extends os {
|
|
11373
11373
|
constructor(e) {
|
|
11374
11374
|
super(`Invalid unit ${e}`);
|
|
11375
11375
|
}
|
|
11376
11376
|
}
|
|
11377
|
-
class jt extends
|
|
11377
|
+
class jt extends os {
|
|
11378
11378
|
}
|
|
11379
|
-
class wn extends
|
|
11379
|
+
class wn extends os {
|
|
11380
11380
|
constructor() {
|
|
11381
11381
|
super("Zone is an abstract class");
|
|
11382
11382
|
}
|
|
11383
11383
|
}
|
|
11384
|
-
const Q = "numeric",
|
|
11384
|
+
const Q = "numeric", Br = "short", mr = "long", Da = {
|
|
11385
11385
|
year: Q,
|
|
11386
11386
|
month: Q,
|
|
11387
11387
|
day: Q
|
|
11388
11388
|
}, O_ = {
|
|
11389
11389
|
year: Q,
|
|
11390
|
-
month:
|
|
11390
|
+
month: Br,
|
|
11391
11391
|
day: Q
|
|
11392
11392
|
}, G7 = {
|
|
11393
11393
|
year: Q,
|
|
11394
|
-
month:
|
|
11394
|
+
month: Br,
|
|
11395
11395
|
day: Q,
|
|
11396
|
-
weekday:
|
|
11396
|
+
weekday: Br
|
|
11397
11397
|
}, C_ = {
|
|
11398
11398
|
year: Q,
|
|
11399
11399
|
month: mr,
|
|
@@ -11414,7 +11414,7 @@ const Q = "numeric", Gr = "short", mr = "long", Da = {
|
|
|
11414
11414
|
hour: Q,
|
|
11415
11415
|
minute: Q,
|
|
11416
11416
|
second: Q,
|
|
11417
|
-
timeZoneName:
|
|
11417
|
+
timeZoneName: Br
|
|
11418
11418
|
}, $_ = {
|
|
11419
11419
|
hour: Q,
|
|
11420
11420
|
minute: Q,
|
|
@@ -11434,7 +11434,7 @@ const Q = "numeric", Gr = "short", mr = "long", Da = {
|
|
|
11434
11434
|
minute: Q,
|
|
11435
11435
|
second: Q,
|
|
11436
11436
|
hourCycle: "h23",
|
|
11437
|
-
timeZoneName:
|
|
11437
|
+
timeZoneName: Br
|
|
11438
11438
|
}, V_ = {
|
|
11439
11439
|
hour: Q,
|
|
11440
11440
|
minute: Q,
|
|
@@ -11456,22 +11456,22 @@ const Q = "numeric", Gr = "short", mr = "long", Da = {
|
|
|
11456
11456
|
second: Q
|
|
11457
11457
|
}, G_ = {
|
|
11458
11458
|
year: Q,
|
|
11459
|
-
month:
|
|
11459
|
+
month: Br,
|
|
11460
11460
|
day: Q,
|
|
11461
11461
|
hour: Q,
|
|
11462
11462
|
minute: Q
|
|
11463
11463
|
}, B_ = {
|
|
11464
11464
|
year: Q,
|
|
11465
|
-
month:
|
|
11465
|
+
month: Br,
|
|
11466
11466
|
day: Q,
|
|
11467
11467
|
hour: Q,
|
|
11468
11468
|
minute: Q,
|
|
11469
11469
|
second: Q
|
|
11470
11470
|
}, B7 = {
|
|
11471
11471
|
year: Q,
|
|
11472
|
-
month:
|
|
11472
|
+
month: Br,
|
|
11473
11473
|
day: Q,
|
|
11474
|
-
weekday:
|
|
11474
|
+
weekday: Br,
|
|
11475
11475
|
hour: Q,
|
|
11476
11476
|
minute: Q
|
|
11477
11477
|
}, q_ = {
|
|
@@ -11480,7 +11480,7 @@ const Q = "numeric", Gr = "short", mr = "long", Da = {
|
|
|
11480
11480
|
day: Q,
|
|
11481
11481
|
hour: Q,
|
|
11482
11482
|
minute: Q,
|
|
11483
|
-
timeZoneName:
|
|
11483
|
+
timeZoneName: Br
|
|
11484
11484
|
}, H_ = {
|
|
11485
11485
|
year: Q,
|
|
11486
11486
|
month: mr,
|
|
@@ -11488,7 +11488,7 @@ const Q = "numeric", Gr = "short", mr = "long", Da = {
|
|
|
11488
11488
|
hour: Q,
|
|
11489
11489
|
minute: Q,
|
|
11490
11490
|
second: Q,
|
|
11491
|
-
timeZoneName:
|
|
11491
|
+
timeZoneName: Br
|
|
11492
11492
|
}, Y_ = {
|
|
11493
11493
|
year: Q,
|
|
11494
11494
|
month: mr,
|
|
@@ -11670,14 +11670,14 @@ function Z7(t, e) {
|
|
|
11670
11670
|
return n;
|
|
11671
11671
|
}
|
|
11672
11672
|
const s1 = /* @__PURE__ */ new Map();
|
|
11673
|
-
class
|
|
11673
|
+
class qr extends Un {
|
|
11674
11674
|
/**
|
|
11675
11675
|
* @param {string} name - Zone name
|
|
11676
11676
|
* @return {IANAZone}
|
|
11677
11677
|
*/
|
|
11678
11678
|
static create(e) {
|
|
11679
11679
|
let r = s1.get(e);
|
|
11680
|
-
return r === void 0 && s1.set(e, r = new
|
|
11680
|
+
return r === void 0 && s1.set(e, r = new qr(e)), r;
|
|
11681
11681
|
}
|
|
11682
11682
|
/**
|
|
11683
11683
|
* Reset local caches. Should only be necessary in testing scenarios.
|
|
@@ -11715,7 +11715,7 @@ class Br extends Un {
|
|
|
11715
11715
|
}
|
|
11716
11716
|
}
|
|
11717
11717
|
constructor(e) {
|
|
11718
|
-
super(), this.zoneName = e, this.valid =
|
|
11718
|
+
super(), this.zoneName = e, this.valid = qr.isValidZone(e);
|
|
11719
11719
|
}
|
|
11720
11720
|
/**
|
|
11721
11721
|
* The type of zone. `iana` for all instances of `IANAZone`.
|
|
@@ -11922,7 +11922,7 @@ class aw {
|
|
|
11922
11922
|
this.dt = e;
|
|
11923
11923
|
else if (e.zone.type === "fixed") {
|
|
11924
11924
|
const u = -1 * (e.offset / 60), l = u >= 0 ? `Etc/GMT+${u}` : `Etc/GMT${u}`;
|
|
11925
|
-
e.offset !== 0 &&
|
|
11925
|
+
e.offset !== 0 && qr.create(l).valid ? (s = l, this.dt = e) : (s = "UTC", this.dt = e.offset === 0 ? e : e.setZone("UTC").plus({ minutes: e.offset }), this.originalZone = e.zone);
|
|
11926
11926
|
} else e.zone.type === "system" ? this.dt = e : e.zone.type === "iana" ? (this.dt = e, s = e.zone.name) : (s = "UTC", this.dt = e.setZone("UTC").plus({ minutes: e.offset }), this.originalZone = e.zone);
|
|
11927
11927
|
const i = { ...this.opts };
|
|
11928
11928
|
i.timeZone = i.timeZone || s, this.dtf = vh(r, i);
|
|
@@ -12258,7 +12258,7 @@ function Ln(t, e) {
|
|
|
12258
12258
|
return t;
|
|
12259
12259
|
if (pw(t)) {
|
|
12260
12260
|
const r = t.toLowerCase();
|
|
12261
|
-
return r === "default" ? e : r === "local" || r === "system" ? eu.instance : r === "utc" || r === "gmt" ? Pt.utcInstance : Pt.parseSpecifier(r) ||
|
|
12261
|
+
return r === "default" ? e : r === "local" || r === "system" ? eu.instance : r === "utc" || r === "gmt" ? Pt.utcInstance : Pt.parseSpecifier(r) || qr.create(t);
|
|
12262
12262
|
} else return In(t) ? Pt.instance(t) : typeof t == "object" && "offset" in t && typeof t.offset == "function" ? t : new lw(t);
|
|
12263
12263
|
}
|
|
12264
12264
|
const c0 = {
|
|
@@ -12326,7 +12326,7 @@ const Th = /* @__PURE__ */ new Map();
|
|
|
12326
12326
|
function hw() {
|
|
12327
12327
|
Th.clear();
|
|
12328
12328
|
}
|
|
12329
|
-
function
|
|
12329
|
+
function Rr({ numberingSystem: t }, e = "") {
|
|
12330
12330
|
const r = t || "latn";
|
|
12331
12331
|
let n = Th.get(r);
|
|
12332
12332
|
n === void 0 && (n = /* @__PURE__ */ new Map(), Th.set(r, n));
|
|
@@ -12470,10 +12470,10 @@ class st {
|
|
|
12470
12470
|
* @return {void}
|
|
12471
12471
|
*/
|
|
12472
12472
|
static resetCaches() {
|
|
12473
|
-
Ie.resetCache(),
|
|
12473
|
+
Ie.resetCache(), qr.resetCache(), H.resetCache(), hw();
|
|
12474
12474
|
}
|
|
12475
12475
|
}
|
|
12476
|
-
class
|
|
12476
|
+
class Gr {
|
|
12477
12477
|
constructor(e, r) {
|
|
12478
12478
|
this.reason = e, this.explanation = r;
|
|
12479
12479
|
}
|
|
@@ -12483,7 +12483,7 @@ class Wr {
|
|
|
12483
12483
|
}
|
|
12484
12484
|
const Q_ = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], K_ = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];
|
|
12485
12485
|
function Tr(t, e) {
|
|
12486
|
-
return new
|
|
12486
|
+
return new Gr(
|
|
12487
12487
|
"unit out of range",
|
|
12488
12488
|
`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`
|
|
12489
12489
|
);
|
|
@@ -12510,9 +12510,9 @@ function $a(t, e = 4, r = 1) {
|
|
|
12510
12510
|
return c < 1 ? (m = n - 1, c = Oi(m, e, r)) : c > Oi(n, e, r) ? (m = n + 1, c = 1) : m = n, { weekYear: m, weekNumber: c, weekday: l, ...su(t) };
|
|
12511
12511
|
}
|
|
12512
12512
|
function Tg(t, e = 4, r = 1) {
|
|
12513
|
-
const { weekYear: n, weekNumber: s, weekday: i } = t, u = h0(f0(n, 1, e), r), l =
|
|
12513
|
+
const { weekYear: n, weekNumber: s, weekday: i } = t, u = h0(f0(n, 1, e), r), l = ks(n);
|
|
12514
12514
|
let c = s * 7 + i - u - 7 + e, m;
|
|
12515
|
-
c < 1 ? (m = n - 1, c +=
|
|
12515
|
+
c < 1 ? (m = n - 1, c += ks(m)) : c > l ? (m = n + 1, c -= ks(n)) : m = n;
|
|
12516
12516
|
const { month: _, day: y } = ty(m, c);
|
|
12517
12517
|
return { year: m, month: _, day: y, ...su(t) };
|
|
12518
12518
|
}
|
|
@@ -12527,7 +12527,7 @@ function Pg(t) {
|
|
|
12527
12527
|
function Ag(t, e) {
|
|
12528
12528
|
if (!ge(t.localWeekday) || !ge(t.localWeekNumber) || !ge(t.localWeekYear)) {
|
|
12529
12529
|
if (!ge(t.weekday) || !ge(t.weekNumber) || !ge(t.weekYear))
|
|
12530
|
-
throw new
|
|
12530
|
+
throw new Os(
|
|
12531
12531
|
"Cannot mix locale-based week fields with ISO-based week fields"
|
|
12532
12532
|
);
|
|
12533
12533
|
return ge(t.localWeekday) || (t.weekday = t.localWeekday), ge(t.localWeekNumber) || (t.weekNumber = t.localWeekNumber), ge(t.localWeekYear) || (t.weekYear = t.localWeekYear), delete t.localWeekday, delete t.localWeekNumber, delete t.localWeekYear, {
|
|
@@ -12546,7 +12546,7 @@ function dw(t, e = 4, r = 1) {
|
|
|
12546
12546
|
return n ? s ? i ? !1 : Tr("weekday", t.weekday) : Tr("week", t.weekNumber) : Tr("weekYear", t.weekYear);
|
|
12547
12547
|
}
|
|
12548
12548
|
function mw(t) {
|
|
12549
|
-
const e = tu(t.year), r = Pr(t.ordinal, 1,
|
|
12549
|
+
const e = tu(t.year), r = Pr(t.ordinal, 1, ks(t.year));
|
|
12550
12550
|
return e ? r ? !1 : Tr("ordinal", t.ordinal) : Tr("year", t.year);
|
|
12551
12551
|
}
|
|
12552
12552
|
function ry(t) {
|
|
@@ -12599,7 +12599,7 @@ function Lg(t, e, r) {
|
|
|
12599
12599
|
function yw(t, e) {
|
|
12600
12600
|
return e.reduce((r, n) => (r[n] = t[n], r), {});
|
|
12601
12601
|
}
|
|
12602
|
-
function
|
|
12602
|
+
function Ws(t, e) {
|
|
12603
12603
|
return Object.prototype.hasOwnProperty.call(t, e);
|
|
12604
12604
|
}
|
|
12605
12605
|
function Ph(t) {
|
|
@@ -12630,7 +12630,7 @@ function Pn(t) {
|
|
|
12630
12630
|
if (!(ge(t) || t === null || t === ""))
|
|
12631
12631
|
return parseInt(t, 10);
|
|
12632
12632
|
}
|
|
12633
|
-
function
|
|
12633
|
+
function Bn(t) {
|
|
12634
12634
|
if (!(ge(t) || t === null || t === ""))
|
|
12635
12635
|
return parseFloat(t);
|
|
12636
12636
|
}
|
|
@@ -12660,7 +12660,7 @@ function m0(t, e, r = "round") {
|
|
|
12660
12660
|
function Ui(t) {
|
|
12661
12661
|
return t % 4 === 0 && (t % 100 !== 0 || t % 400 === 0);
|
|
12662
12662
|
}
|
|
12663
|
-
function
|
|
12663
|
+
function ks(t) {
|
|
12664
12664
|
return Ui(t) ? 366 : 365;
|
|
12665
12665
|
}
|
|
12666
12666
|
function Fa(t, e) {
|
|
@@ -12684,7 +12684,7 @@ function Mg(t, e, r) {
|
|
|
12684
12684
|
}
|
|
12685
12685
|
function Oi(t, e = 4, r = 1) {
|
|
12686
12686
|
const n = Mg(t, e, r), s = Mg(t + 1, e, r);
|
|
12687
|
-
return (
|
|
12687
|
+
return (ks(t) - n + s) / 7;
|
|
12688
12688
|
}
|
|
12689
12689
|
function Ah(t) {
|
|
12690
12690
|
return t > 99 ? t : t > st.twoDigitCutoffYear ? 1900 + t : 2e3 + t;
|
|
@@ -12717,7 +12717,7 @@ function ay(t) {
|
|
|
12717
12717
|
function Ua(t, e) {
|
|
12718
12718
|
const r = {};
|
|
12719
12719
|
for (const n in t)
|
|
12720
|
-
if (
|
|
12720
|
+
if (Ws(t, n)) {
|
|
12721
12721
|
const s = t[n];
|
|
12722
12722
|
if (s == null) continue;
|
|
12723
12723
|
r[e(n)] = ay(s);
|
|
@@ -13125,11 +13125,11 @@ class Wt {
|
|
|
13125
13125
|
}
|
|
13126
13126
|
}
|
|
13127
13127
|
const py = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
|
|
13128
|
-
function
|
|
13128
|
+
function Ys(...t) {
|
|
13129
13129
|
const e = t.reduce((r, n) => r + n.source, "");
|
|
13130
13130
|
return RegExp(`^${e}$`);
|
|
13131
13131
|
}
|
|
13132
|
-
function
|
|
13132
|
+
function Zs(...t) {
|
|
13133
13133
|
return (e) => t.reduce(
|
|
13134
13134
|
([r, n, s], i) => {
|
|
13135
13135
|
const [u, l, c] = i(e, s);
|
|
@@ -13138,7 +13138,7 @@ function Xs(...t) {
|
|
|
13138
13138
|
[{}, null, 1]
|
|
13139
13139
|
).slice(0, 2);
|
|
13140
13140
|
}
|
|
13141
|
-
function
|
|
13141
|
+
function Xs(t, ...e) {
|
|
13142
13142
|
if (t == null)
|
|
13143
13143
|
return [null, null];
|
|
13144
13144
|
for (const [r, n] of e) {
|
|
@@ -13160,22 +13160,22 @@ function gy(...t) {
|
|
|
13160
13160
|
const _y = /(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/, Cw = `(?:${_y.source}?(?:\\[(${py.source})\\])?)?`, p0 = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, yy = RegExp(`${p0.source}${Cw}`), g0 = RegExp(`(?:[Tt]${yy.source})?`), Rw = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, Iw = /(\d{4})-?W(\d\d)(?:-?(\d))?/, kw = /(\d{4})-?(\d{3})/, Dw = gy("weekYear", "weekNumber", "weekDay"), $w = gy("year", "ordinal"), Fw = /(\d{4})-(\d\d)-(\d\d)/, by = RegExp(
|
|
13161
13161
|
`${p0.source} ?(?:${_y.source}|(${py.source}))?`
|
|
13162
13162
|
), Uw = RegExp(`(?: ${by.source})?`);
|
|
13163
|
-
function
|
|
13163
|
+
function Ds(t, e, r) {
|
|
13164
13164
|
const n = t[e];
|
|
13165
13165
|
return ge(n) ? r : Pn(n);
|
|
13166
13166
|
}
|
|
13167
13167
|
function zw(t, e) {
|
|
13168
13168
|
return [{
|
|
13169
|
-
year:
|
|
13170
|
-
month:
|
|
13171
|
-
day:
|
|
13169
|
+
year: Ds(t, e),
|
|
13170
|
+
month: Ds(t, e + 1, 1),
|
|
13171
|
+
day: Ds(t, e + 2, 1)
|
|
13172
13172
|
}, null, e + 3];
|
|
13173
13173
|
}
|
|
13174
|
-
function
|
|
13174
|
+
function Js(t, e) {
|
|
13175
13175
|
return [{
|
|
13176
|
-
hours:
|
|
13177
|
-
minutes:
|
|
13178
|
-
seconds:
|
|
13176
|
+
hours: Ds(t, e, 0),
|
|
13177
|
+
minutes: Ds(t, e + 1, 0),
|
|
13178
|
+
seconds: Ds(t, e + 2, 0),
|
|
13179
13179
|
milliseconds: d0(t[e + 3])
|
|
13180
13180
|
}, null, e + 4];
|
|
13181
13181
|
}
|
|
@@ -13184,7 +13184,7 @@ function zi(t, e) {
|
|
|
13184
13184
|
return [{}, s, e + 3];
|
|
13185
13185
|
}
|
|
13186
13186
|
function Vi(t, e) {
|
|
13187
|
-
const r = t[e] ?
|
|
13187
|
+
const r = t[e] ? qr.create(t[e]) : null;
|
|
13188
13188
|
return [{}, r, e + 1];
|
|
13189
13189
|
}
|
|
13190
13190
|
const Vw = RegExp(`^T?${p0.source}$`), jw = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
|
|
@@ -13192,13 +13192,13 @@ function Ww(t) {
|
|
|
13192
13192
|
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;
|
|
13193
13193
|
return [
|
|
13194
13194
|
{
|
|
13195
|
-
years: v(
|
|
13196
|
-
months: v(
|
|
13197
|
-
weeks: v(
|
|
13198
|
-
days: v(
|
|
13199
|
-
hours: v(
|
|
13200
|
-
minutes: v(
|
|
13201
|
-
seconds: v(
|
|
13195
|
+
years: v(Bn(r)),
|
|
13196
|
+
months: v(Bn(n)),
|
|
13197
|
+
weeks: v(Bn(s)),
|
|
13198
|
+
days: v(Bn(i)),
|
|
13199
|
+
hours: v(Bn(u)),
|
|
13200
|
+
minutes: v(Bn(l)),
|
|
13201
|
+
seconds: v(Bn(c), c === "-0"),
|
|
13202
13202
|
milliseconds: v(d0(m), y)
|
|
13203
13203
|
}
|
|
13204
13204
|
];
|
|
@@ -13255,28 +13255,28 @@ function Jw(t) {
|
|
|
13255
13255
|
const [, e, r, n, s, i, u, l] = t;
|
|
13256
13256
|
return [_0(e, l, r, n, s, i, u), Pt.utcInstance];
|
|
13257
13257
|
}
|
|
13258
|
-
const Qw =
|
|
13258
|
+
const Qw = Ys(Rw, g0), Kw = Ys(Iw, g0), e4 = Ys(kw, g0), t4 = Ys(yy), wy = Zs(
|
|
13259
13259
|
zw,
|
|
13260
|
-
|
|
13260
|
+
Js,
|
|
13261
13261
|
zi,
|
|
13262
13262
|
Vi
|
|
13263
|
-
), r4 =
|
|
13263
|
+
), r4 = Zs(
|
|
13264
13264
|
Dw,
|
|
13265
|
-
|
|
13265
|
+
Js,
|
|
13266
13266
|
zi,
|
|
13267
13267
|
Vi
|
|
13268
|
-
), n4 =
|
|
13268
|
+
), n4 = Zs(
|
|
13269
13269
|
$w,
|
|
13270
|
-
|
|
13270
|
+
Js,
|
|
13271
13271
|
zi,
|
|
13272
13272
|
Vi
|
|
13273
|
-
), s4 =
|
|
13274
|
-
|
|
13273
|
+
), s4 = Zs(
|
|
13274
|
+
Js,
|
|
13275
13275
|
zi,
|
|
13276
13276
|
Vi
|
|
13277
13277
|
);
|
|
13278
13278
|
function i4(t) {
|
|
13279
|
-
return
|
|
13279
|
+
return Xs(
|
|
13280
13280
|
t,
|
|
13281
13281
|
[Qw, wy],
|
|
13282
13282
|
[Kw, r4],
|
|
@@ -13285,10 +13285,10 @@ function i4(t) {
|
|
|
13285
13285
|
);
|
|
13286
13286
|
}
|
|
13287
13287
|
function o4(t) {
|
|
13288
|
-
return
|
|
13288
|
+
return Xs(Hw(t), [Bw, qw]);
|
|
13289
13289
|
}
|
|
13290
13290
|
function a4(t) {
|
|
13291
|
-
return
|
|
13291
|
+
return Xs(
|
|
13292
13292
|
t,
|
|
13293
13293
|
[Yw, Cg],
|
|
13294
13294
|
[Zw, Cg],
|
|
@@ -13296,19 +13296,19 @@ function a4(t) {
|
|
|
13296
13296
|
);
|
|
13297
13297
|
}
|
|
13298
13298
|
function u4(t) {
|
|
13299
|
-
return
|
|
13299
|
+
return Xs(t, [jw, Ww]);
|
|
13300
13300
|
}
|
|
13301
|
-
const l4 =
|
|
13301
|
+
const l4 = Zs(Js);
|
|
13302
13302
|
function c4(t) {
|
|
13303
|
-
return
|
|
13303
|
+
return Xs(t, [Vw, l4]);
|
|
13304
13304
|
}
|
|
13305
|
-
const f4 =
|
|
13306
|
-
|
|
13305
|
+
const f4 = Ys(Fw, Uw), h4 = Ys(by), d4 = Zs(
|
|
13306
|
+
Js,
|
|
13307
13307
|
zi,
|
|
13308
13308
|
Vi
|
|
13309
13309
|
);
|
|
13310
13310
|
function m4(t) {
|
|
13311
|
-
return
|
|
13311
|
+
return Xs(
|
|
13312
13312
|
t,
|
|
13313
13313
|
[f4, wy],
|
|
13314
13314
|
[h4, d4]
|
|
@@ -13360,7 +13360,7 @@ const Rg = "Invalid Duration", vy = {
|
|
|
13360
13360
|
milliseconds: 720 * 60 * 60 * 1e3
|
|
13361
13361
|
},
|
|
13362
13362
|
...vy
|
|
13363
|
-
}, wr = 146097 / 400,
|
|
13363
|
+
}, wr = 146097 / 400, _s = 146097 / 4800, g4 = {
|
|
13364
13364
|
years: {
|
|
13365
13365
|
quarters: 4,
|
|
13366
13366
|
months: 12,
|
|
@@ -13381,15 +13381,15 @@ const Rg = "Invalid Duration", vy = {
|
|
|
13381
13381
|
milliseconds: wr * 24 * 60 * 60 * 1e3 / 4
|
|
13382
13382
|
},
|
|
13383
13383
|
months: {
|
|
13384
|
-
weeks:
|
|
13385
|
-
days:
|
|
13386
|
-
hours:
|
|
13387
|
-
minutes:
|
|
13388
|
-
seconds:
|
|
13389
|
-
milliseconds:
|
|
13384
|
+
weeks: _s / 7,
|
|
13385
|
+
days: _s,
|
|
13386
|
+
hours: _s * 24,
|
|
13387
|
+
minutes: _s * 24 * 60,
|
|
13388
|
+
seconds: _s * 24 * 60 * 60,
|
|
13389
|
+
milliseconds: _s * 24 * 60 * 60 * 1e3
|
|
13390
13390
|
},
|
|
13391
13391
|
...vy
|
|
13392
|
-
},
|
|
13392
|
+
}, Zn = [
|
|
13393
13393
|
"years",
|
|
13394
13394
|
"quarters",
|
|
13395
13395
|
"months",
|
|
@@ -13399,7 +13399,7 @@ const Rg = "Invalid Duration", vy = {
|
|
|
13399
13399
|
"minutes",
|
|
13400
13400
|
"seconds",
|
|
13401
13401
|
"milliseconds"
|
|
13402
|
-
], _4 =
|
|
13402
|
+
], _4 = Zn.slice(0).reverse();
|
|
13403
13403
|
function sn(t, e, r = !1) {
|
|
13404
13404
|
const n = {
|
|
13405
13405
|
values: r ? e.values : { ...t.values, ...e.values || {} },
|
|
@@ -13417,7 +13417,7 @@ function Sy(t, e) {
|
|
|
13417
13417
|
}
|
|
13418
13418
|
function Ig(t, e) {
|
|
13419
13419
|
const r = Sy(t, e) < 0 ? -1 : 1;
|
|
13420
|
-
|
|
13420
|
+
Zn.reduceRight((n, s) => {
|
|
13421
13421
|
if (ge(e[s]))
|
|
13422
13422
|
return n;
|
|
13423
13423
|
if (n) {
|
|
@@ -13425,7 +13425,7 @@ function Ig(t, e) {
|
|
|
13425
13425
|
e[s] += l * r, e[n] -= l * u * r;
|
|
13426
13426
|
}
|
|
13427
13427
|
return s;
|
|
13428
|
-
}, null),
|
|
13428
|
+
}, null), Zn.reduce((n, s) => {
|
|
13429
13429
|
if (ge(e[s]))
|
|
13430
13430
|
return n;
|
|
13431
13431
|
if (n) {
|
|
@@ -13562,7 +13562,7 @@ class Ae {
|
|
|
13562
13562
|
static invalid(e, r = null) {
|
|
13563
13563
|
if (!e)
|
|
13564
13564
|
throw new jt("need to specify a reason the Duration is invalid");
|
|
13565
|
-
const n = e instanceof
|
|
13565
|
+
const n = e instanceof Gr ? e : new Gr(e, r);
|
|
13566
13566
|
if (st.throwOnInvalid)
|
|
13567
13567
|
throw new W7(n);
|
|
13568
13568
|
return new Ae({ invalid: n });
|
|
@@ -13668,7 +13668,7 @@ class Ae {
|
|
|
13668
13668
|
*/
|
|
13669
13669
|
toHuman(e = {}) {
|
|
13670
13670
|
if (!this.isValid) return Rg;
|
|
13671
|
-
const r = e.showZeros !== !1, n =
|
|
13671
|
+
const r = e.showZeros !== !1, n = Zn.map((s) => {
|
|
13672
13672
|
const i = this.values[s];
|
|
13673
13673
|
return ge(i) || i === 0 && !r ? null : this.loc.numberFormatter({ style: "unit", unitDisplay: "long", ...e, unit: s.slice(0, -1) }).format(i);
|
|
13674
13674
|
}).filter((s) => s);
|
|
@@ -13768,8 +13768,8 @@ class Ae {
|
|
|
13768
13768
|
plus(e) {
|
|
13769
13769
|
if (!this.isValid) return this;
|
|
13770
13770
|
const r = Ae.fromDurationLike(e), n = {};
|
|
13771
|
-
for (const s of
|
|
13772
|
-
(
|
|
13771
|
+
for (const s of Zn)
|
|
13772
|
+
(Ws(r.values, s) || Ws(this.values, s)) && (n[s] = r.get(s) + this.get(s));
|
|
13773
13773
|
return sn(this, { values: n }, !0);
|
|
13774
13774
|
}
|
|
13775
13775
|
/**
|
|
@@ -13881,7 +13881,7 @@ class Ae {
|
|
|
13881
13881
|
e = e.map((u) => Ae.normalizeUnit(u));
|
|
13882
13882
|
const r = {}, n = {}, s = this.toObject();
|
|
13883
13883
|
let i;
|
|
13884
|
-
for (const u of
|
|
13884
|
+
for (const u of Zn)
|
|
13885
13885
|
if (e.indexOf(u) >= 0) {
|
|
13886
13886
|
i = u;
|
|
13887
13887
|
let l = 0;
|
|
@@ -14031,13 +14031,13 @@ class Ae {
|
|
|
14031
14031
|
function r(n, s) {
|
|
14032
14032
|
return n === void 0 || n === 0 ? s === void 0 || s === 0 : n === s;
|
|
14033
14033
|
}
|
|
14034
|
-
for (const n of
|
|
14034
|
+
for (const n of Zn)
|
|
14035
14035
|
if (!r(this.values[n], e.values[n]))
|
|
14036
14036
|
return !1;
|
|
14037
14037
|
return !0;
|
|
14038
14038
|
}
|
|
14039
14039
|
}
|
|
14040
|
-
const
|
|
14040
|
+
const ys = "Invalid Interval";
|
|
14041
14041
|
function y4(t, e) {
|
|
14042
14042
|
return !t || !t.isValid ? rt.invalid("missing or invalid start") : !e || !e.isValid ? rt.invalid("missing or invalid end") : e < t ? rt.invalid(
|
|
14043
14043
|
"end before start",
|
|
@@ -14060,7 +14060,7 @@ class rt {
|
|
|
14060
14060
|
static invalid(e, r = null) {
|
|
14061
14061
|
if (!e)
|
|
14062
14062
|
throw new jt("need to specify a reason the Interval is invalid");
|
|
14063
|
-
const n = e instanceof
|
|
14063
|
+
const n = e instanceof Gr ? e : new Gr(e, r);
|
|
14064
14064
|
if (st.throwOnInvalid)
|
|
14065
14065
|
throw new j7(n);
|
|
14066
14066
|
return new rt({ invalid: n });
|
|
@@ -14406,7 +14406,7 @@ class rt {
|
|
|
14406
14406
|
* @return {string}
|
|
14407
14407
|
*/
|
|
14408
14408
|
toString() {
|
|
14409
|
-
return this.isValid ? `[${this.s.toISO()} – ${this.e.toISO()})` :
|
|
14409
|
+
return this.isValid ? `[${this.s.toISO()} – ${this.e.toISO()})` : ys;
|
|
14410
14410
|
}
|
|
14411
14411
|
/**
|
|
14412
14412
|
* Returns a string representation of this Interval appropriate for the REPL.
|
|
@@ -14434,7 +14434,7 @@ class rt {
|
|
|
14434
14434
|
* @return {string}
|
|
14435
14435
|
*/
|
|
14436
14436
|
toLocaleString(e = Da, r = {}) {
|
|
14437
|
-
return this.isValid ? Wt.create(this.s.loc.clone(r), e).formatInterval(this) :
|
|
14437
|
+
return this.isValid ? Wt.create(this.s.loc.clone(r), e).formatInterval(this) : ys;
|
|
14438
14438
|
}
|
|
14439
14439
|
/**
|
|
14440
14440
|
* Returns an ISO 8601-compliant string representation of this Interval.
|
|
@@ -14443,7 +14443,7 @@ class rt {
|
|
|
14443
14443
|
* @return {string}
|
|
14444
14444
|
*/
|
|
14445
14445
|
toISO(e) {
|
|
14446
|
-
return this.isValid ? `${this.s.toISO(e)}/${this.e.toISO(e)}` :
|
|
14446
|
+
return this.isValid ? `${this.s.toISO(e)}/${this.e.toISO(e)}` : ys;
|
|
14447
14447
|
}
|
|
14448
14448
|
/**
|
|
14449
14449
|
* Returns an ISO 8601-compliant string representation of date of this Interval.
|
|
@@ -14452,7 +14452,7 @@ class rt {
|
|
|
14452
14452
|
* @return {string}
|
|
14453
14453
|
*/
|
|
14454
14454
|
toISODate() {
|
|
14455
|
-
return this.isValid ? `${this.s.toISODate()}/${this.e.toISODate()}` :
|
|
14455
|
+
return this.isValid ? `${this.s.toISODate()}/${this.e.toISODate()}` : ys;
|
|
14456
14456
|
}
|
|
14457
14457
|
/**
|
|
14458
14458
|
* Returns an ISO 8601-compliant string representation of time of this Interval.
|
|
@@ -14462,7 +14462,7 @@ class rt {
|
|
|
14462
14462
|
* @return {string}
|
|
14463
14463
|
*/
|
|
14464
14464
|
toISOTime(e) {
|
|
14465
|
-
return this.isValid ? `${this.s.toISOTime(e)}/${this.e.toISOTime(e)}` :
|
|
14465
|
+
return this.isValid ? `${this.s.toISOTime(e)}/${this.e.toISOTime(e)}` : ys;
|
|
14466
14466
|
}
|
|
14467
14467
|
/**
|
|
14468
14468
|
* Returns a string representation of this Interval formatted according to the specified format
|
|
@@ -14476,7 +14476,7 @@ class rt {
|
|
|
14476
14476
|
* @return {string}
|
|
14477
14477
|
*/
|
|
14478
14478
|
toFormat(e, { separator: r = " – " } = {}) {
|
|
14479
|
-
return this.isValid ? `${this.s.toFormat(e)}${r}${this.e.toFormat(e)}` :
|
|
14479
|
+
return this.isValid ? `${this.s.toFormat(e)}${r}${this.e.toFormat(e)}` : ys;
|
|
14480
14480
|
}
|
|
14481
14481
|
/**
|
|
14482
14482
|
* Return a Duration representing the time spanned by this interval.
|
|
@@ -14520,7 +14520,7 @@ class ko {
|
|
|
14520
14520
|
* @return {boolean}
|
|
14521
14521
|
*/
|
|
14522
14522
|
static isValidIANAZone(e) {
|
|
14523
|
-
return
|
|
14523
|
+
return qr.isValidZone(e);
|
|
14524
14524
|
}
|
|
14525
14525
|
/**
|
|
14526
14526
|
* Converts the input into a {@link Zone} instance.
|
|
@@ -14718,7 +14718,7 @@ function N4(t) {
|
|
|
14718
14718
|
function $g(t) {
|
|
14719
14719
|
return t.replace(/\./g, "").replace(Ey, " ").toLowerCase();
|
|
14720
14720
|
}
|
|
14721
|
-
function
|
|
14721
|
+
function Ir(t, e) {
|
|
14722
14722
|
return t === null ? null : {
|
|
14723
14723
|
regex: RegExp(t.map(N4).join("|")),
|
|
14724
14724
|
deser: ([r]) => t.findIndex((n) => $g(r) === $g(n)) + e
|
|
@@ -14734,15 +14734,15 @@ function E4(t) {
|
|
|
14734
14734
|
return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
|
|
14735
14735
|
}
|
|
14736
14736
|
function x4(t, e) {
|
|
14737
|
-
const r =
|
|
14737
|
+
const r = Rr(e), n = Rr(e, "{2}"), s = Rr(e, "{3}"), i = Rr(e, "{4}"), u = Rr(e, "{6}"), l = Rr(e, "{1,2}"), c = Rr(e, "{1,3}"), m = Rr(e, "{1,6}"), _ = Rr(e, "{1,9}"), y = Rr(e, "{2,4}"), v = Rr(e, "{4,6}"), S = (D) => ({ regex: RegExp(E4(D.val)), deser: ([z]) => z, literal: !0 }), L = ((D) => {
|
|
14738
14738
|
if (t.literal)
|
|
14739
14739
|
return S(D);
|
|
14740
14740
|
switch (D.val) {
|
|
14741
14741
|
// era
|
|
14742
14742
|
case "G":
|
|
14743
|
-
return
|
|
14743
|
+
return Ir(e.eras("short"), 0);
|
|
14744
14744
|
case "GG":
|
|
14745
|
-
return
|
|
14745
|
+
return Ir(e.eras("long"), 0);
|
|
14746
14746
|
// years
|
|
14747
14747
|
case "y":
|
|
14748
14748
|
return Ce(m);
|
|
@@ -14760,17 +14760,17 @@ function x4(t, e) {
|
|
|
14760
14760
|
case "MM":
|
|
14761
14761
|
return Ce(n);
|
|
14762
14762
|
case "MMM":
|
|
14763
|
-
return
|
|
14763
|
+
return Ir(e.months("short", !0), 1);
|
|
14764
14764
|
case "MMMM":
|
|
14765
|
-
return
|
|
14765
|
+
return Ir(e.months("long", !0), 1);
|
|
14766
14766
|
case "L":
|
|
14767
14767
|
return Ce(l);
|
|
14768
14768
|
case "LL":
|
|
14769
14769
|
return Ce(n);
|
|
14770
14770
|
case "LLL":
|
|
14771
|
-
return
|
|
14771
|
+
return Ir(e.months("short", !1), 1);
|
|
14772
14772
|
case "LLLL":
|
|
14773
|
-
return
|
|
14773
|
+
return Ir(e.months("long", !1), 1);
|
|
14774
14774
|
// dates
|
|
14775
14775
|
case "d":
|
|
14776
14776
|
return Ce(l);
|
|
@@ -14814,7 +14814,7 @@ function x4(t, e) {
|
|
|
14814
14814
|
return Ce(r);
|
|
14815
14815
|
// meridiem
|
|
14816
14816
|
case "a":
|
|
14817
|
-
return
|
|
14817
|
+
return Ir(e.meridiems(), 0);
|
|
14818
14818
|
// weekYear (k)
|
|
14819
14819
|
case "kkkk":
|
|
14820
14820
|
return Ce(i);
|
|
@@ -14830,13 +14830,13 @@ function x4(t, e) {
|
|
|
14830
14830
|
case "c":
|
|
14831
14831
|
return Ce(r);
|
|
14832
14832
|
case "EEE":
|
|
14833
|
-
return
|
|
14833
|
+
return Ir(e.weekdays("short", !1), 1);
|
|
14834
14834
|
case "EEEE":
|
|
14835
|
-
return
|
|
14835
|
+
return Ir(e.weekdays("long", !1), 1);
|
|
14836
14836
|
case "ccc":
|
|
14837
|
-
return
|
|
14837
|
+
return Ir(e.weekdays("short", !0), 1);
|
|
14838
14838
|
case "cccc":
|
|
14839
|
-
return
|
|
14839
|
+
return Ir(e.weekdays("long", !0), 1);
|
|
14840
14840
|
// offset/zone
|
|
14841
14841
|
case "Z":
|
|
14842
14842
|
case "ZZ":
|
|
@@ -14929,7 +14929,7 @@ function L4(t, e, r) {
|
|
|
14929
14929
|
const s = {};
|
|
14930
14930
|
let i = 1;
|
|
14931
14931
|
for (const u in r)
|
|
14932
|
-
if (
|
|
14932
|
+
if (Ws(r, u)) {
|
|
14933
14933
|
const l = r[u], c = l.groups ? l.groups + 1 : 1;
|
|
14934
14934
|
!l.literal && l.token && (s[l.token.val[0]] = l.deser(n.slice(i, i + c))), i += c;
|
|
14935
14935
|
}
|
|
@@ -14972,7 +14972,7 @@ function M4(t) {
|
|
|
14972
14972
|
}
|
|
14973
14973
|
};
|
|
14974
14974
|
let r = null, n;
|
|
14975
|
-
return ge(t.z) || (r =
|
|
14975
|
+
return ge(t.z) || (r = qr.create(t.z)), ge(t.Z) || (r || (r = new Pt(t.Z)), n = t.Z), ge(t.q) || (t.M = (t.q - 1) * 3 + 1), ge(t.h) || (t.h < 12 && t.a === 1 ? t.h += 12 : t.h === 12 && t.a === 0 && (t.h = 0)), t.G === 0 && t.y && (t.y = -t.y), ge(t.u) || (t.S = d0(t.u)), [Object.keys(t).reduce((i, u) => {
|
|
14976
14976
|
const l = e(u);
|
|
14977
14977
|
return l && (i[l] = t[u]), i;
|
|
14978
14978
|
}, {}), r, n];
|
|
@@ -15000,8 +15000,8 @@ class Ty {
|
|
|
15000
15000
|
explainFromTokens(e) {
|
|
15001
15001
|
if (this.isValid) {
|
|
15002
15002
|
const [r, n] = L4(e, this.regex, this.handlers), [s, i, u] = n ? M4(n) : [null, null, void 0];
|
|
15003
|
-
if (
|
|
15004
|
-
throw new
|
|
15003
|
+
if (Ws(n, "a") && Ws(n, "H"))
|
|
15004
|
+
throw new Os(
|
|
15005
15005
|
"Can't include meridiem when specifying 24-hour format"
|
|
15006
15006
|
);
|
|
15007
15007
|
return {
|
|
@@ -15039,7 +15039,7 @@ function Ay(t, e) {
|
|
|
15039
15039
|
}
|
|
15040
15040
|
const u1 = "Invalid DateTime", Ug = 864e13;
|
|
15041
15041
|
function yi(t) {
|
|
15042
|
-
return new
|
|
15042
|
+
return new Gr("unsupported zone", `the zone "${t.name}" is not supported`);
|
|
15043
15043
|
}
|
|
15044
15044
|
function l1(t) {
|
|
15045
15045
|
return t.weekData === null && (t.weekData = $a(t.c)), t.weekData;
|
|
@@ -15051,7 +15051,7 @@ function c1(t) {
|
|
|
15051
15051
|
t.loc.getStartOfWeek()
|
|
15052
15052
|
)), t.localWeekData;
|
|
15053
15053
|
}
|
|
15054
|
-
function
|
|
15054
|
+
function qn(t, e) {
|
|
15055
15055
|
const r = {
|
|
15056
15056
|
ts: t.ts,
|
|
15057
15057
|
zone: t.zone,
|
|
@@ -15107,7 +15107,7 @@ function zg(t, e) {
|
|
|
15107
15107
|
let [c, m] = Ly(l, r, t.zone);
|
|
15108
15108
|
return u !== 0 && (c += u, m = t.zone.offset(c)), { ts: c, o: m };
|
|
15109
15109
|
}
|
|
15110
|
-
function
|
|
15110
|
+
function bs(t, e, r, n, s, i) {
|
|
15111
15111
|
const { setZone: u, zone: l } = r;
|
|
15112
15112
|
if (t && Object.keys(t).length !== 0 || e) {
|
|
15113
15113
|
const c = e || l, m = H.fromObject(t, {
|
|
@@ -15118,7 +15118,7 @@ function ws(t, e, r, n, s, i) {
|
|
|
15118
15118
|
return u ? m : m.setZone(l);
|
|
15119
15119
|
} else
|
|
15120
15120
|
return H.invalid(
|
|
15121
|
-
new
|
|
15121
|
+
new Gr("unparsable", `the input "${s}" can't be parsed as ${n}`)
|
|
15122
15122
|
);
|
|
15123
15123
|
}
|
|
15124
15124
|
function Fo(t, e, r = !0) {
|
|
@@ -15281,7 +15281,7 @@ class H {
|
|
|
15281
15281
|
*/
|
|
15282
15282
|
constructor(e) {
|
|
15283
15283
|
const r = e.zone || st.defaultZone;
|
|
15284
|
-
let n = e.invalid || (Number.isNaN(e.ts) ? new
|
|
15284
|
+
let n = e.invalid || (Number.isNaN(e.ts) ? new Gr("invalid input") : null) || (r.isValid ? null : yi(r));
|
|
15285
15285
|
this.ts = ge(e.ts) ? st.now() : e.ts;
|
|
15286
15286
|
let s = null, i = null;
|
|
15287
15287
|
if (!n)
|
|
@@ -15289,7 +15289,7 @@ class H {
|
|
|
15289
15289
|
[s, i] = [e.old.c, e.old.o];
|
|
15290
15290
|
else {
|
|
15291
15291
|
const l = In(e.o) && !e.old ? e.o : r.offset(this.ts);
|
|
15292
|
-
s = $o(this.ts, l), n = Number.isNaN(s.year) ? new
|
|
15292
|
+
s = $o(this.ts, l), n = Number.isNaN(s.year) ? new Gr("invalid input") : null, s = n ? null : s, i = n ? null : l;
|
|
15293
15293
|
}
|
|
15294
15294
|
this._zone = r, this.loc = e.loc || Ie.create(), this.invalid = n, this.weekData = null, this.localWeekData = null, this.c = s, this.o = i, this.isLuxonDateTime = !0;
|
|
15295
15295
|
}
|
|
@@ -15458,11 +15458,11 @@ class H {
|
|
|
15458
15458
|
return H.invalid(yi(n));
|
|
15459
15459
|
const s = Ie.fromObject(r), i = Ua(e, jg), { minDaysInFirstWeek: u, startOfWeek: l } = Ag(i, s), c = st.now(), m = ge(r.specificOffset) ? n.offset(c) : r.specificOffset, _ = !ge(i.ordinal), y = !ge(i.year), v = !ge(i.month) || !ge(i.day), S = y || v, T = i.weekYear || i.weekNumber;
|
|
15460
15460
|
if ((S || _) && T)
|
|
15461
|
-
throw new
|
|
15461
|
+
throw new Os(
|
|
15462
15462
|
"Can't mix weekYear/weekNumber units with year/month/day or ordinals"
|
|
15463
15463
|
);
|
|
15464
15464
|
if (v && _)
|
|
15465
|
-
throw new
|
|
15465
|
+
throw new Os("Can't mix ordinal dates with month/day");
|
|
15466
15466
|
const L = T || i.weekday && !S;
|
|
15467
15467
|
let D, z, W = $o(c, m);
|
|
15468
15468
|
L ? (D = D4, z = I4, W = $a(W, u, l)) : _ ? (D = $4, z = k4, W = o1(W)) : (D = ra, z = My);
|
|
@@ -15504,7 +15504,7 @@ class H {
|
|
|
15504
15504
|
*/
|
|
15505
15505
|
static fromISO(e, r = {}) {
|
|
15506
15506
|
const [n, s] = i4(e);
|
|
15507
|
-
return
|
|
15507
|
+
return bs(n, s, r, "ISO 8601", e);
|
|
15508
15508
|
}
|
|
15509
15509
|
/**
|
|
15510
15510
|
* Create a DateTime from an RFC 2822 string
|
|
@@ -15523,7 +15523,7 @@ class H {
|
|
|
15523
15523
|
*/
|
|
15524
15524
|
static fromRFC2822(e, r = {}) {
|
|
15525
15525
|
const [n, s] = o4(e);
|
|
15526
|
-
return
|
|
15526
|
+
return bs(n, s, r, "RFC 2822", e);
|
|
15527
15527
|
}
|
|
15528
15528
|
/**
|
|
15529
15529
|
* Create a DateTime from an HTTP header date
|
|
@@ -15543,7 +15543,7 @@ class H {
|
|
|
15543
15543
|
*/
|
|
15544
15544
|
static fromHTTP(e, r = {}) {
|
|
15545
15545
|
const [n, s] = a4(e);
|
|
15546
|
-
return
|
|
15546
|
+
return bs(n, s, r, "HTTP", r);
|
|
15547
15547
|
}
|
|
15548
15548
|
/**
|
|
15549
15549
|
* Create a DateTime from an input string and format string.
|
|
@@ -15567,7 +15567,7 @@ class H {
|
|
|
15567
15567
|
numberingSystem: i,
|
|
15568
15568
|
defaultToEN: !0
|
|
15569
15569
|
}), [l, c, m, _] = R4(u, e, r);
|
|
15570
|
-
return _ ? H.invalid(_) :
|
|
15570
|
+
return _ ? H.invalid(_) : bs(l, c, n, `format ${r}`, e, m);
|
|
15571
15571
|
}
|
|
15572
15572
|
/**
|
|
15573
15573
|
* @deprecated use fromFormat instead
|
|
@@ -15598,7 +15598,7 @@ class H {
|
|
|
15598
15598
|
*/
|
|
15599
15599
|
static fromSQL(e, r = {}) {
|
|
15600
15600
|
const [n, s] = m4(e);
|
|
15601
|
-
return
|
|
15601
|
+
return bs(n, s, r, "SQL", e);
|
|
15602
15602
|
}
|
|
15603
15603
|
/**
|
|
15604
15604
|
* Create an invalid DateTime.
|
|
@@ -15609,7 +15609,7 @@ class H {
|
|
|
15609
15609
|
static invalid(e, r = null) {
|
|
15610
15610
|
if (!e)
|
|
15611
15611
|
throw new jt("need to specify a reason the DateTime is invalid");
|
|
15612
|
-
const n = e instanceof
|
|
15612
|
+
const n = e instanceof Gr ? e : new Gr(e, r);
|
|
15613
15613
|
if (st.throwOnInvalid)
|
|
15614
15614
|
throw new V7(n);
|
|
15615
15615
|
return new H({ invalid: n });
|
|
@@ -15945,7 +15945,7 @@ class H {
|
|
|
15945
15945
|
if (u === l)
|
|
15946
15946
|
return [this];
|
|
15947
15947
|
const c = n - u * r, m = n - l * r, _ = $o(c, u), y = $o(m, l);
|
|
15948
|
-
return _.hour === y.hour && _.minute === y.minute && _.second === y.second && _.millisecond === y.millisecond ? [
|
|
15948
|
+
return _.hour === y.hour && _.minute === y.minute && _.second === y.second && _.millisecond === y.millisecond ? [qn(this, { ts: c }), qn(this, { ts: m })] : [this];
|
|
15949
15949
|
}
|
|
15950
15950
|
/**
|
|
15951
15951
|
* Returns true if this DateTime is in a leap year, false otherwise
|
|
@@ -15972,7 +15972,7 @@ class H {
|
|
|
15972
15972
|
* @type {number}
|
|
15973
15973
|
*/
|
|
15974
15974
|
get daysInYear() {
|
|
15975
|
-
return this.isValid ?
|
|
15975
|
+
return this.isValid ? ks(this.year) : NaN;
|
|
15976
15976
|
}
|
|
15977
15977
|
/**
|
|
15978
15978
|
* Returns the number of weeks in this DateTime's year
|
|
@@ -16049,7 +16049,7 @@ class H {
|
|
|
16049
16049
|
const i = e.offset(this.ts), u = this.toObject();
|
|
16050
16050
|
[s] = ta(u, i, e);
|
|
16051
16051
|
}
|
|
16052
|
-
return
|
|
16052
|
+
return qn(this, { ts: s, zone: e });
|
|
16053
16053
|
} else
|
|
16054
16054
|
return H.invalid(yi(e));
|
|
16055
16055
|
}
|
|
@@ -16061,7 +16061,7 @@ class H {
|
|
|
16061
16061
|
*/
|
|
16062
16062
|
reconfigure({ locale: e, numberingSystem: r, outputCalendar: n } = {}) {
|
|
16063
16063
|
const s = this.loc.clone({ locale: e, numberingSystem: r, outputCalendar: n });
|
|
16064
|
-
return
|
|
16064
|
+
return qn(this, { loc: s });
|
|
16065
16065
|
}
|
|
16066
16066
|
/**
|
|
16067
16067
|
* "Set" the locale. Returns a newly-constructed DateTime.
|
|
@@ -16089,11 +16089,11 @@ class H {
|
|
|
16089
16089
|
if (!this.isValid) return this;
|
|
16090
16090
|
const r = Ua(e, jg), { minDaysInFirstWeek: n, startOfWeek: s } = Ag(r, this.loc), i = !ge(r.weekYear) || !ge(r.weekNumber) || !ge(r.weekday), u = !ge(r.ordinal), l = !ge(r.year), c = !ge(r.month) || !ge(r.day), m = l || c, _ = r.weekYear || r.weekNumber;
|
|
16091
16091
|
if ((m || u) && _)
|
|
16092
|
-
throw new
|
|
16092
|
+
throw new Os(
|
|
16093
16093
|
"Can't mix weekYear/weekNumber units with year/month/day or ordinals"
|
|
16094
16094
|
);
|
|
16095
16095
|
if (c && u)
|
|
16096
|
-
throw new
|
|
16096
|
+
throw new Os("Can't mix ordinal dates with month/day");
|
|
16097
16097
|
let y;
|
|
16098
16098
|
i ? y = Tg(
|
|
16099
16099
|
{ ...$a(this.c, n, s), ...r },
|
|
@@ -16101,7 +16101,7 @@ class H {
|
|
|
16101
16101
|
s
|
|
16102
16102
|
) : ge(r.ordinal) ? (y = { ...this.toObject(), ...r }, ge(r.day) && (y.day = Math.min(Fa(y.year, y.month), y.day))) : y = Pg({ ...o1(this.c), ...r });
|
|
16103
16103
|
const [v, S] = ta(y, this.o, this.zone);
|
|
16104
|
-
return
|
|
16104
|
+
return qn(this, { ts: v, o: S });
|
|
16105
16105
|
}
|
|
16106
16106
|
/**
|
|
16107
16107
|
* Add a period of time to this DateTime and return the resulting DateTime
|
|
@@ -16119,7 +16119,7 @@ class H {
|
|
|
16119
16119
|
plus(e) {
|
|
16120
16120
|
if (!this.isValid) return this;
|
|
16121
16121
|
const r = Ae.fromDurationLike(e);
|
|
16122
|
-
return
|
|
16122
|
+
return qn(this, zg(this, r));
|
|
16123
16123
|
}
|
|
16124
16124
|
/**
|
|
16125
16125
|
* Subtract a period of time to this DateTime and return the resulting DateTime
|
|
@@ -16130,7 +16130,7 @@ class H {
|
|
|
16130
16130
|
minus(e) {
|
|
16131
16131
|
if (!this.isValid) return this;
|
|
16132
16132
|
const r = Ae.fromDurationLike(e).negate();
|
|
16133
|
-
return
|
|
16133
|
+
return qn(this, zg(this, r));
|
|
16134
16134
|
}
|
|
16135
16135
|
/**
|
|
16136
16136
|
* "Set" this DateTime to the beginning of a unit of time.
|
|
@@ -16686,7 +16686,7 @@ class H {
|
|
|
16686
16686
|
`fromFormatParser called with a locale of ${u}, but the format parser was created for ${r.locale}`
|
|
16687
16687
|
);
|
|
16688
16688
|
const { result: l, zone: c, specificOffset: m, invalidReason: _ } = r.explainFromTokens(e);
|
|
16689
|
-
return _ ? H.invalid(_) :
|
|
16689
|
+
return _ ? H.invalid(_) : bs(
|
|
16690
16690
|
l,
|
|
16691
16691
|
c,
|
|
16692
16692
|
n,
|
|
@@ -16864,14 +16864,14 @@ function di(t) {
|
|
|
16864
16864
|
}
|
|
16865
16865
|
let Er = class {
|
|
16866
16866
|
static {
|
|
16867
|
-
this.instance = new
|
|
16867
|
+
this.instance = new qr("Etc/UTC");
|
|
16868
16868
|
}
|
|
16869
16869
|
};
|
|
16870
|
-
function
|
|
16870
|
+
function xs(t) {
|
|
16871
16871
|
return t instanceof Un ? t === Er.instance : t?.toString().toLowerCase() === "unknown";
|
|
16872
16872
|
}
|
|
16873
16873
|
function h1(t) {
|
|
16874
|
-
return
|
|
16874
|
+
return xs(t) ? Er.instance : t;
|
|
16875
16875
|
}
|
|
16876
16876
|
const U4 = { TimeZoneNotRecognized: "Timezone identifier has not been recognized." };
|
|
16877
16877
|
let z4 = class Oy extends Error {
|
|
@@ -16879,10 +16879,10 @@ let z4 = class Oy extends Error {
|
|
|
16879
16879
|
super(Ka(U4[e], r)), this.declaredRootClass = "esri.arcade.arcadedate.dateerror", Error.captureStackTrace && Error.captureStackTrace(this, Oy);
|
|
16880
16880
|
}
|
|
16881
16881
|
};
|
|
16882
|
-
function
|
|
16882
|
+
function ws(t, e, r) {
|
|
16883
16883
|
return t < e ? t - e : t > r ? t - r : 0;
|
|
16884
16884
|
}
|
|
16885
|
-
function
|
|
16885
|
+
function vs(t, e, r) {
|
|
16886
16886
|
return t < e ? e : t > r ? r : t;
|
|
16887
16887
|
}
|
|
16888
16888
|
let qg = class ut {
|
|
@@ -16892,21 +16892,21 @@ let qg = class ut {
|
|
|
16892
16892
|
static fromParts(e = 0, r = 1, n = 1, s = 0, i = 0, u = 0, l = 0, c) {
|
|
16893
16893
|
if (isNaN(e) || isNaN(r) || isNaN(n) || isNaN(s) || isNaN(i) || isNaN(u) || isNaN(l)) return null;
|
|
16894
16894
|
const m = H.local(e, r).daysInMonth;
|
|
16895
|
-
let _ = H.fromObject({ day:
|
|
16896
|
-
return _ = _.plus({ months:
|
|
16895
|
+
let _ = H.fromObject({ day: vs(n, 1, m), year: e, month: vs(r, 1, 12), hour: vs(s, 0, 23), minute: vs(i, 0, 59), second: vs(u, 0, 59), millisecond: vs(l, 0, 999) }, { zone: Qr(c) });
|
|
16896
|
+
return _ = _.plus({ months: ws(r, 1, 12), days: ws(n, 1, m), hours: ws(s, 0, 23), minutes: ws(i, 0, 59), seconds: ws(u, 0, 59), milliseconds: ws(l, 0, 999) }), new ut(_);
|
|
16897
16897
|
}
|
|
16898
16898
|
static get systemTimeZoneCanonicalName() {
|
|
16899
16899
|
return Intl.DateTimeFormat().resolvedOptions().timeZone ?? "system";
|
|
16900
16900
|
}
|
|
16901
16901
|
static arcadeDateAndZoneToArcadeDate(e, r) {
|
|
16902
|
-
const n =
|
|
16902
|
+
const n = Qr(r);
|
|
16903
16903
|
return e.isUnknownTimeZone || n === Er.instance ? ut.fromParts(e.year, e.monthJS + 1, e.day, e.hour, e.minute, e.second, e.millisecond, n) : new ut(e._date.setZone(n));
|
|
16904
16904
|
}
|
|
16905
16905
|
static dateJSToArcadeDate(e) {
|
|
16906
16906
|
return new ut(H.fromJSDate(e, { zone: "system" }));
|
|
16907
16907
|
}
|
|
16908
16908
|
static dateJSAndZoneToArcadeDate(e, r = "system") {
|
|
16909
|
-
const n =
|
|
16909
|
+
const n = Qr(r);
|
|
16910
16910
|
return new ut(H.fromJSDate(e, { zone: n }));
|
|
16911
16911
|
}
|
|
16912
16912
|
static unknownEpochToArcadeDate(e) {
|
|
@@ -16916,7 +16916,7 @@ let qg = class ut {
|
|
|
16916
16916
|
return new ut(H.fromMillis(e.getTime(), { zone: Er.instance }));
|
|
16917
16917
|
}
|
|
16918
16918
|
static epochToArcadeDate(e, r = "system") {
|
|
16919
|
-
const n =
|
|
16919
|
+
const n = Qr(r);
|
|
16920
16920
|
return new ut(H.fromMillis(e, { zone: n }));
|
|
16921
16921
|
}
|
|
16922
16922
|
static dateTimeToArcadeDate(e) {
|
|
@@ -16926,15 +16926,15 @@ let qg = class ut {
|
|
|
16926
16926
|
return new ut(this._date);
|
|
16927
16927
|
}
|
|
16928
16928
|
changeTimeZone(e) {
|
|
16929
|
-
const r =
|
|
16929
|
+
const r = Qr(e);
|
|
16930
16930
|
return ut.dateTimeToArcadeDate(this._date.setZone(r));
|
|
16931
16931
|
}
|
|
16932
16932
|
static dateTimeAndZoneToArcadeDate(e, r) {
|
|
16933
|
-
const n =
|
|
16933
|
+
const n = Qr(r);
|
|
16934
16934
|
return e.zone === Er.instance || n === Er.instance ? ut.fromParts(e.year, e.month, e.day, e.hour, e.minute, e.second, e.millisecond, n) : new ut(e.setZone(n));
|
|
16935
16935
|
}
|
|
16936
16936
|
static nowToArcadeDate(e) {
|
|
16937
|
-
const r =
|
|
16937
|
+
const r = Qr(e);
|
|
16938
16938
|
return new ut(H.fromJSDate(/* @__PURE__ */ new Date(), { zone: r }));
|
|
16939
16939
|
}
|
|
16940
16940
|
static nowUTCToArcadeDate() {
|
|
@@ -17055,7 +17055,7 @@ let qg = class ut {
|
|
|
17055
17055
|
return new ut(r);
|
|
17056
17056
|
}
|
|
17057
17057
|
};
|
|
17058
|
-
function
|
|
17058
|
+
function Qr(t, e = !0) {
|
|
17059
17059
|
if (t instanceof Un) return t;
|
|
17060
17060
|
switch (z7(t)) {
|
|
17061
17061
|
case "system":
|
|
@@ -17069,7 +17069,7 @@ function Jr(t, e = !0) {
|
|
|
17069
17069
|
const n = Pt.parseSpecifier("UTC" + (t.startsWith("+") || t.startsWith("-") ? "" : "+") + t);
|
|
17070
17070
|
if (n) return n;
|
|
17071
17071
|
}
|
|
17072
|
-
const r =
|
|
17072
|
+
const r = qr.create(t);
|
|
17073
17073
|
if (!r.isValid) {
|
|
17074
17074
|
if (e) throw new z4("TimeZoneNotRecognized");
|
|
17075
17075
|
return null;
|
|
@@ -17078,7 +17078,7 @@ function Jr(t, e = !0) {
|
|
|
17078
17078
|
}
|
|
17079
17079
|
const V4 = { remove: () => {
|
|
17080
17080
|
} };
|
|
17081
|
-
function
|
|
17081
|
+
function Qs(t) {
|
|
17082
17082
|
return t ? { remove() {
|
|
17083
17083
|
t && (t(), t = void 0);
|
|
17084
17084
|
} } : V4;
|
|
@@ -17087,7 +17087,7 @@ function j4(t) {
|
|
|
17087
17087
|
t.forEach((e) => e?.remove());
|
|
17088
17088
|
}
|
|
17089
17089
|
function W4(t) {
|
|
17090
|
-
return
|
|
17090
|
+
return Qs(() => j4(t));
|
|
17091
17091
|
}
|
|
17092
17092
|
let xi;
|
|
17093
17093
|
const G4 = globalThis.esriConfig?.locale, Mh = globalThis.document?.documentElement;
|
|
@@ -17190,10 +17190,10 @@ let Ar = class ar {
|
|
|
17190
17190
|
return new ar(this._year, this._month, this._day);
|
|
17191
17191
|
}
|
|
17192
17192
|
toDateTime(e) {
|
|
17193
|
-
return H.fromObject({ day: this.day, month: this.month, year: this.year }, { zone:
|
|
17193
|
+
return H.fromObject({ day: this.day, month: this.month, year: this.year }, { zone: Qr(e) });
|
|
17194
17194
|
}
|
|
17195
17195
|
toDateTimeLuxon(e) {
|
|
17196
|
-
return H.fromObject({ day: this.day, month: this.month, year: this.year }, { zone:
|
|
17196
|
+
return H.fromObject({ day: this.day, month: this.month, year: this.year }, { zone: Qr(e) });
|
|
17197
17197
|
}
|
|
17198
17198
|
toString() {
|
|
17199
17199
|
return `${this.year.toString().padStart(4, "0")}-${this.month.toString().padStart(2, "0")}-${this.day.toString().padStart(2, "0")}`;
|
|
@@ -17302,7 +17302,7 @@ let Ar = class ar {
|
|
|
17302
17302
|
return null;
|
|
17303
17303
|
}
|
|
17304
17304
|
static fromNow(e = "system") {
|
|
17305
|
-
const r = H.fromJSDate(/* @__PURE__ */ new Date()).setZone(
|
|
17305
|
+
const r = H.fromJSDate(/* @__PURE__ */ new Date()).setZone(Qr(e));
|
|
17306
17306
|
return new ar(r.year, r.month, r.day);
|
|
17307
17307
|
}
|
|
17308
17308
|
};
|
|
@@ -17316,7 +17316,7 @@ function Xg(t) {
|
|
|
17316
17316
|
return Number.isNaN(t) || t === 0 ? t : Math.trunc(t);
|
|
17317
17317
|
}
|
|
17318
17318
|
const Jg = "esri.core.sql.SqlTimeStampOffset";
|
|
17319
|
-
let
|
|
17319
|
+
let Hr = class Ts {
|
|
17320
17320
|
constructor(e) {
|
|
17321
17321
|
this._timeStampOffset = e, this.declaredRootClass = Jg, this._date = null;
|
|
17322
17322
|
}
|
|
@@ -17357,13 +17357,13 @@ let qr = class Ps {
|
|
|
17357
17357
|
return this.toDateTime().year;
|
|
17358
17358
|
}
|
|
17359
17359
|
startOfDay() {
|
|
17360
|
-
return
|
|
17360
|
+
return Ts.fromDateTime(this.toDateTime().startOf("day"));
|
|
17361
17361
|
}
|
|
17362
17362
|
static fromJSDate(e) {
|
|
17363
|
-
return new
|
|
17363
|
+
return new Ts(H.fromJSDate(e).toISO({ includeOffset: !0 }));
|
|
17364
17364
|
}
|
|
17365
17365
|
static fromDateTime(e) {
|
|
17366
|
-
return new
|
|
17366
|
+
return new Ts(e.toISO({ includeOffset: !0 }));
|
|
17367
17367
|
}
|
|
17368
17368
|
static fromParts(e, r, n = 0, s = 0, i = 0, u = 0, l = 0, c = !1, m = 0, _ = 0) {
|
|
17369
17369
|
const y = `${e.toString().padStart(4, "0")}-${r.toString().padStart(2, "0")}-${n.toString().padStart(2, "0")}`;
|
|
@@ -17372,7 +17372,7 @@ let qr = class Ps {
|
|
|
17372
17372
|
let S = `${s.toString().padStart(2, "0")}:${i.toString().padStart(2, "0")}:${v + u.toString()}`;
|
|
17373
17373
|
l !== 0 && (S += "." + l.toString().padStart(3, "0"));
|
|
17374
17374
|
const T = `${c ? "-" : "+"}${m.toString().padStart(2, "0")}:${_.toString().padStart(2, "0")}`;
|
|
17375
|
-
return new
|
|
17375
|
+
return new Ts(y + "T" + S + T);
|
|
17376
17376
|
}
|
|
17377
17377
|
toStorageFormat() {
|
|
17378
17378
|
return this._timeStampOffset;
|
|
@@ -17389,7 +17389,7 @@ let qr = class Ps {
|
|
|
17389
17389
|
}
|
|
17390
17390
|
addMilliseconds(e) {
|
|
17391
17391
|
const r = this.toDateTime().plus(e);
|
|
17392
|
-
return
|
|
17392
|
+
return Ts.fromDateTime(r);
|
|
17393
17393
|
}
|
|
17394
17394
|
};
|
|
17395
17395
|
function se(t, e, r, n) {
|
|
@@ -17401,7 +17401,7 @@ function se(t, e, r, n) {
|
|
|
17401
17401
|
const fr = { 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 } };
|
|
17402
17402
|
if (globalThis.esriConfig && (D7(fr, globalThis.esriConfig, !0), delete fr.has), !fr.assetsPath) {
|
|
17403
17403
|
{
|
|
17404
|
-
const t = "5.0.0-next.
|
|
17404
|
+
const t = "5.0.0-next.92";
|
|
17405
17405
|
fr.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${t}/assets`;
|
|
17406
17406
|
}
|
|
17407
17407
|
fr.defaultAssetsPath = fr.assetsPath;
|
|
@@ -17510,11 +17510,11 @@ function X4(t, e, r) {
|
|
|
17510
17510
|
const s = r();
|
|
17511
17511
|
return t.set(e, s), s;
|
|
17512
17512
|
}
|
|
17513
|
-
const
|
|
17513
|
+
const Kn = () => Jt.getLogger("esri.core.accessorSupport.ensureTypes");
|
|
17514
17514
|
function J4(t) {
|
|
17515
17515
|
if (t == null) return t;
|
|
17516
17516
|
const e = new Date(t);
|
|
17517
|
-
return isNaN(e.getTime()) ? (
|
|
17517
|
+
return isNaN(e.getTime()) ? (Kn().error("Accessor#set", `Invalid date value: '${t}', falling back to current date`), /* @__PURE__ */ new Date()) : e;
|
|
17518
17518
|
}
|
|
17519
17519
|
function Q4(t) {
|
|
17520
17520
|
return t == null ? t : !!t;
|
|
@@ -17555,7 +17555,7 @@ function nv(t, e) {
|
|
|
17555
17555
|
return r ? n ? r === n ? e : r.prototype.isPrototypeOf(n.prototype) ? new t(e) : (Oh(t, e), e) : new t(e) : e;
|
|
17556
17556
|
}
|
|
17557
17557
|
function Oh(t, e) {
|
|
17558
|
-
return !!Dy(e) && (
|
|
17558
|
+
return !!Dy(e) && (Kn().error("Accessor#set", "Assigning an instance of '" + (e.declaredClass || "unknown") + "' which is not a subclass of '" + iu(t) + "'"), !0);
|
|
17559
17559
|
}
|
|
17560
17560
|
function sv(t, e) {
|
|
17561
17561
|
return e == null ? e : $y(t) ? nv(t, e) : za(t, e) ? Oh(t, e) ? e : new t(e) : e;
|
|
@@ -17568,7 +17568,7 @@ function ov(t) {
|
|
|
17568
17568
|
switch (t) {
|
|
17569
17569
|
case Number:
|
|
17570
17570
|
return (e) => ky(e);
|
|
17571
|
-
case
|
|
17571
|
+
case Xn:
|
|
17572
17572
|
return ev;
|
|
17573
17573
|
case Boolean:
|
|
17574
17574
|
return Q4;
|
|
@@ -17621,7 +17621,7 @@ function Ch(t, e) {
|
|
|
17621
17621
|
return (l, c) => {
|
|
17622
17622
|
if (l == null) return l;
|
|
17623
17623
|
const m = typeof l, _ = m === "string" || m === "number";
|
|
17624
|
-
return _ && (r.has(l) || s.some((y) => m === "string" && y === String || m === "number" && y === Number)) || m === "object" && s.some((y) => !za(y, l)) ? l : (_ && n.length ? (i || (i = n.map((y) => typeof y == "string" ? `'${y}'` : `${y}`).join(", ")),
|
|
17624
|
+
return _ && (r.has(l) || s.some((y) => m === "string" && y === String || m === "number" && y === Number)) || m === "object" && s.some((y) => !za(y, l)) ? l : (_ && n.length ? (i || (i = n.map((y) => typeof y == "string" ? `'${y}'` : `${y}`).join(", ")), Kn().error("Accessor#set", `'${l}' is not a valid value for this property, only the following values are valid: ${i}`)) : typeof l == "object" && s.length ? (u || (u = s.map((y) => iu(y)).join(", ")), Kn().error("Accessor#set", `'${l}' is not a valid value for this property, value must be one of ${u}`)) : Kn().error("Accessor#set", `'${l}' is not a valid value for this property`), c && (c.valid = !1), null);
|
|
17625
17625
|
};
|
|
17626
17626
|
}
|
|
17627
17627
|
function Rh(t, e) {
|
|
@@ -17635,7 +17635,7 @@ function Rh(t, e) {
|
|
|
17635
17635
|
return (c) => {
|
|
17636
17636
|
if (t.base && !za(t.base, c) || c == null) return c;
|
|
17637
17637
|
const m = l(c) || t.defaultKeyValue, _ = r[m];
|
|
17638
|
-
if (!_) return
|
|
17638
|
+
if (!_) return Kn().error("Accessor#set", `Invalid property value, value needs to be one of ${i()}, or a plain object that can autocast (having .type = ${u()})`), null;
|
|
17639
17639
|
if (!za(t.typeMap[m], c)) return c;
|
|
17640
17640
|
if (typeof t.key == "string" && !Dy(c)) {
|
|
17641
17641
|
const y = {};
|
|
@@ -17645,7 +17645,7 @@ function Rh(t, e) {
|
|
|
17645
17645
|
return _(c);
|
|
17646
17646
|
};
|
|
17647
17647
|
}
|
|
17648
|
-
let
|
|
17648
|
+
let Xn = class {
|
|
17649
17649
|
}, y0 = class {
|
|
17650
17650
|
};
|
|
17651
17651
|
function lv(t) {
|
|
@@ -17672,7 +17672,7 @@ function zy(t) {
|
|
|
17672
17672
|
}
|
|
17673
17673
|
function cv(t) {
|
|
17674
17674
|
let e = null;
|
|
17675
|
-
return (r, n) => kh(r, t) ? r : (e == null && (e = Ih(t)),
|
|
17675
|
+
return (r, n) => kh(r, t) ? r : (e == null && (e = Ih(t)), Kn().error("Accessor#set", `Invalid property value, value needs to be of type ${e}`), n && (n.valid = !1), null);
|
|
17676
17676
|
}
|
|
17677
17677
|
function Ih(t) {
|
|
17678
17678
|
switch (t.type) {
|
|
@@ -17684,7 +17684,7 @@ function Ih(t) {
|
|
|
17684
17684
|
return "string";
|
|
17685
17685
|
case Boolean:
|
|
17686
17686
|
return "boolean";
|
|
17687
|
-
case
|
|
17687
|
+
case Xn:
|
|
17688
17688
|
return "integer";
|
|
17689
17689
|
case Date:
|
|
17690
17690
|
return "date";
|
|
@@ -17708,7 +17708,7 @@ function kh(t, e) {
|
|
|
17708
17708
|
case "native":
|
|
17709
17709
|
switch (e.value) {
|
|
17710
17710
|
case Number:
|
|
17711
|
-
case
|
|
17711
|
+
case Xn:
|
|
17712
17712
|
return typeof t == "number";
|
|
17713
17713
|
case Boolean:
|
|
17714
17714
|
return typeof t == "boolean";
|
|
@@ -17792,13 +17792,13 @@ function Gy(t, e, r) {
|
|
|
17792
17792
|
function Wi(t, e, r = 0) {
|
|
17793
17793
|
return typeof e != "string" || e.includes(".") ? Gy(t, Vy(e), r) : Wy(e, t);
|
|
17794
17794
|
}
|
|
17795
|
-
function
|
|
17795
|
+
function Gs(t, e) {
|
|
17796
17796
|
return Wi(t, e);
|
|
17797
17797
|
}
|
|
17798
17798
|
function t2(t, e) {
|
|
17799
17799
|
return Wi(e, t) !== void 0;
|
|
17800
17800
|
}
|
|
17801
|
-
function
|
|
17801
|
+
function Ks(t) {
|
|
17802
17802
|
let e = t.constructor.__accessorMetadata__;
|
|
17803
17803
|
const r = Object.prototype.hasOwnProperty.call(t.constructor, "__accessorMetadata__");
|
|
17804
17804
|
if (e) {
|
|
@@ -17811,7 +17811,7 @@ function ei(t) {
|
|
|
17811
17811
|
return t.constructor.__accessorMetadata__;
|
|
17812
17812
|
}
|
|
17813
17813
|
function ou(t, e) {
|
|
17814
|
-
const r =
|
|
17814
|
+
const r = Ks(t);
|
|
17815
17815
|
let n = r[e];
|
|
17816
17816
|
return n || (n = r[e] = {}), n;
|
|
17817
17817
|
}
|
|
@@ -17854,7 +17854,7 @@ function Wa(t, e, r) {
|
|
|
17854
17854
|
else {
|
|
17855
17855
|
if (e.includes(".")) {
|
|
17856
17856
|
const s = e.split("."), i = s.splice(-1, 1)[0];
|
|
17857
|
-
return void Wa(
|
|
17857
|
+
return void Wa(Gs(t, s), i, r);
|
|
17858
17858
|
}
|
|
17859
17859
|
const n = t.__accessor__;
|
|
17860
17860
|
n != null && gv(e, n), t[e] = r;
|
|
@@ -17879,10 +17879,10 @@ function He(t = {}) {
|
|
|
17879
17879
|
const c = typeof i == "string" ? i : i.source, m = typeof i == "string" ? null : i.overridable === !0;
|
|
17880
17880
|
let _;
|
|
17881
17881
|
s.dependsOn = [c], s.get = function() {
|
|
17882
|
-
let y =
|
|
17882
|
+
let y = Gs(this, c);
|
|
17883
17883
|
if (typeof y == "function") {
|
|
17884
17884
|
_ || (_ = c.split(".").slice(0, -1).join("."));
|
|
17885
|
-
const v =
|
|
17885
|
+
const v = Gs(this, _);
|
|
17886
17886
|
v && (y = y.bind(v));
|
|
17887
17887
|
}
|
|
17888
17888
|
return y;
|
|
@@ -17960,17 +17960,17 @@ let au = class {
|
|
|
17960
17960
|
this._handles.pop().remove();
|
|
17961
17961
|
}
|
|
17962
17962
|
};
|
|
17963
|
-
const Ga = new au(),
|
|
17964
|
-
let
|
|
17963
|
+
const Ga = new au(), Jn = [];
|
|
17964
|
+
let es = Ga;
|
|
17965
17965
|
function uu(t) {
|
|
17966
|
-
|
|
17966
|
+
es.onAccessed(t);
|
|
17967
17967
|
}
|
|
17968
17968
|
let ia = !1, Ti = !1;
|
|
17969
|
-
function
|
|
17969
|
+
function Bs(t, e, r) {
|
|
17970
17970
|
if (ia) return b0(t, e, r);
|
|
17971
17971
|
let n = null;
|
|
17972
17972
|
if (Ti) {
|
|
17973
|
-
|
|
17973
|
+
es = t, Jn.push(t);
|
|
17974
17974
|
try {
|
|
17975
17975
|
n = e.call(r);
|
|
17976
17976
|
} catch (s) {
|
|
@@ -17979,7 +17979,7 @@ function qs(t, e, r) {
|
|
|
17979
17979
|
Dh();
|
|
17980
17980
|
}
|
|
17981
17981
|
} else {
|
|
17982
|
-
|
|
17982
|
+
es = t, Jn.push(t);
|
|
17983
17983
|
try {
|
|
17984
17984
|
n = e.call(r);
|
|
17985
17985
|
} finally {
|
|
@@ -17989,11 +17989,11 @@ function qs(t, e, r) {
|
|
|
17989
17989
|
return n;
|
|
17990
17990
|
}
|
|
17991
17991
|
function Tv(t, e) {
|
|
17992
|
-
return
|
|
17992
|
+
return Bs(Ga, t, e);
|
|
17993
17993
|
}
|
|
17994
17994
|
function b0(t, e, r) {
|
|
17995
17995
|
const n = ia;
|
|
17996
|
-
ia = !0,
|
|
17996
|
+
ia = !0, es = t, Jn.push(t);
|
|
17997
17997
|
let s = null;
|
|
17998
17998
|
try {
|
|
17999
17999
|
s = e.call(r);
|
|
@@ -18003,14 +18003,14 @@ function b0(t, e, r) {
|
|
|
18003
18003
|
return Dh(), ia = n, s;
|
|
18004
18004
|
}
|
|
18005
18005
|
function Dh() {
|
|
18006
|
-
const t =
|
|
18006
|
+
const t = Jn.length;
|
|
18007
18007
|
if (t > 1) {
|
|
18008
|
-
const e =
|
|
18009
|
-
|
|
18008
|
+
const e = Jn.pop();
|
|
18009
|
+
es = Jn[t - 2], e.onTrackingEnd();
|
|
18010
18010
|
} else if (t === 1) {
|
|
18011
|
-
const e =
|
|
18012
|
-
|
|
18013
|
-
} else
|
|
18011
|
+
const e = Jn.pop();
|
|
18012
|
+
es = Ga, e.onTrackingEnd();
|
|
18013
|
+
} else es = Ga;
|
|
18014
18014
|
}
|
|
18015
18015
|
function Yy(t, e) {
|
|
18016
18016
|
if (e.flags & Ye.DepTrackingInitialized) return;
|
|
@@ -18176,13 +18176,13 @@ function Dv(t) {
|
|
|
18176
18176
|
};
|
|
18177
18177
|
}
|
|
18178
18178
|
function $v(t, e, r) {
|
|
18179
|
-
const n = Object.values(e)[0], s =
|
|
18179
|
+
const n = Object.values(e)[0], s = Ks(n.prototype)[t], i = Ba(s, r), u = i?.read?.source;
|
|
18180
18180
|
return u && typeof u == "string" ? u : t;
|
|
18181
18181
|
}
|
|
18182
18182
|
function Fv(t) {
|
|
18183
18183
|
const e = {};
|
|
18184
18184
|
for (const r in t.typeMap) {
|
|
18185
|
-
const n = t.typeMap[r], s =
|
|
18185
|
+
const n = t.typeMap[r], s = Ks(n.prototype);
|
|
18186
18186
|
if (typeof t.key == "function") continue;
|
|
18187
18187
|
const i = s[t.key];
|
|
18188
18188
|
if (!i) continue;
|
|
@@ -18319,7 +18319,7 @@ function lu(t) {
|
|
|
18319
18319
|
}
|
|
18320
18320
|
}
|
|
18321
18321
|
};
|
|
18322
|
-
i.__accessorMetadata__ =
|
|
18322
|
+
i.__accessorMetadata__ = Ks(e.prototype), i.prototype.declaredClass = t;
|
|
18323
18323
|
const u = (t || "AccessorSubclass").split(".").slice(-1)[0];
|
|
18324
18324
|
return Object.defineProperty(i.prototype, Symbol.toStringTag, { value: u, configurable: !0, writable: !0, enumerable: !1 }), i;
|
|
18325
18325
|
};
|
|
@@ -18361,7 +18361,7 @@ function Xv(t, e) {
|
|
|
18361
18361
|
};
|
|
18362
18362
|
}
|
|
18363
18363
|
function Jv(t) {
|
|
18364
|
-
const e = t.prototype, r =
|
|
18364
|
+
const e = t.prototype, r = Ks(e), n = {};
|
|
18365
18365
|
for (const s of Object.getOwnPropertyNames(r)) {
|
|
18366
18366
|
const i = r[s];
|
|
18367
18367
|
Yv(i), n[s] = { enumerable: !0, configurable: !0, get: Zv(s, i), set: Xv(s, i) };
|
|
@@ -18622,7 +18622,7 @@ let x0 = class zh {
|
|
|
18622
18622
|
}
|
|
18623
18623
|
}
|
|
18624
18624
|
};
|
|
18625
|
-
const lS =
|
|
18625
|
+
const lS = Qs();
|
|
18626
18626
|
let m2 = class extends uS {
|
|
18627
18627
|
constructor(e, r) {
|
|
18628
18628
|
super(), this.propertyName = e, this.metadata = r, this.trackingTarget = new au(this), this.flags = 0, this.flags = Ye.Dirty | (r.nonNullable ? Ye.NonNullable : 0) | (r.hasOwnProperty("value") ? Ye.HasDefaultValue : 0) | (r.get === void 0 ? Ye.DepTrackingInitialized : 0) | (r.dependsOn === void 0 ? Ye.AutoTracked : 0);
|
|
@@ -18637,7 +18637,7 @@ let m2 = class extends uS {
|
|
|
18637
18637
|
let l;
|
|
18638
18638
|
this.flags |= Ye.Computing;
|
|
18639
18639
|
const { host: c } = e;
|
|
18640
|
-
i & Ye.AutoTracked ? l =
|
|
18640
|
+
i & Ye.AutoTracked ? l = Bs(this.trackingTarget, r, c) : (Zy(c, this), l = r.call(c)), this.flags |= Ye.DepTrackingInitialized, n.set(s, l, 1);
|
|
18641
18641
|
const m = n.get(s);
|
|
18642
18642
|
return m === u ? this.flags &= -2 : Tv(this.commit, this), this.flags &= -5, m;
|
|
18643
18643
|
}
|
|
@@ -18742,7 +18742,7 @@ let fS = class i3 {
|
|
|
18742
18742
|
this._values.forEach(e);
|
|
18743
18743
|
}
|
|
18744
18744
|
};
|
|
18745
|
-
function
|
|
18745
|
+
function Ss(t, e, r) {
|
|
18746
18746
|
return t !== void 0;
|
|
18747
18747
|
}
|
|
18748
18748
|
function p2(t, e, r, n) {
|
|
@@ -18772,7 +18772,7 @@ let hS = class {
|
|
|
18772
18772
|
}
|
|
18773
18773
|
get(e) {
|
|
18774
18774
|
const r = this.propertiesByName.get(e);
|
|
18775
|
-
if (!
|
|
18775
|
+
if (!Ss(r)) return;
|
|
18776
18776
|
const n = r.metadata.get;
|
|
18777
18777
|
if (n) return r.getComputed(this, n);
|
|
18778
18778
|
this.mutable && uu(r);
|
|
@@ -18795,16 +18795,16 @@ let hS = class {
|
|
|
18795
18795
|
}
|
|
18796
18796
|
internalGet(e) {
|
|
18797
18797
|
const r = this.propertiesByName.get(e);
|
|
18798
|
-
if (
|
|
18798
|
+
if (Ss(r)) return this.store.has(e) ? this.store.get(e) : r.metadata.value;
|
|
18799
18799
|
}
|
|
18800
18800
|
internalSet(e, r) {
|
|
18801
18801
|
const n = this.propertiesByName.get(e);
|
|
18802
|
-
|
|
18802
|
+
Ss(n) && this._internalSet(n, r);
|
|
18803
18803
|
}
|
|
18804
18804
|
getDependsInfo(e, r, n) {
|
|
18805
18805
|
const s = this.propertiesByName.get(r);
|
|
18806
|
-
if (!
|
|
18807
|
-
const i = new au(), u =
|
|
18806
|
+
if (!Ss(s)) return "";
|
|
18807
|
+
const i = new au(), u = Bs(i, () => s.metadata.get?.call(e));
|
|
18808
18808
|
let l = `${n}${e.declaredClass.split(".").pop()}.${r}: ${u}
|
|
18809
18809
|
`;
|
|
18810
18810
|
const c = i.accessed ?? /* @__PURE__ */ new Set();
|
|
@@ -18817,7 +18817,7 @@ let hS = class {
|
|
|
18817
18817
|
}
|
|
18818
18818
|
setAtOrigin(e, r, n) {
|
|
18819
18819
|
const s = this.propertiesByName.get(e);
|
|
18820
|
-
if (
|
|
18820
|
+
if (Ss(s)) return this._setAtOrigin(s, r, n);
|
|
18821
18821
|
}
|
|
18822
18822
|
isOverridden(e) {
|
|
18823
18823
|
const r = this.propertiesByName.get(e);
|
|
@@ -18825,7 +18825,7 @@ let hS = class {
|
|
|
18825
18825
|
}
|
|
18826
18826
|
clearOrigin(e, r) {
|
|
18827
18827
|
const n = this.store, s = this.propertiesByName.get(e);
|
|
18828
|
-
if (!
|
|
18828
|
+
if (!Ss(s)) return;
|
|
18829
18829
|
const i = n.isAtOrigin(e, r) && !(s.flags & Ye.Overridden);
|
|
18830
18830
|
n.delete(e, r), i && s.notifyChange();
|
|
18831
18831
|
}
|
|
@@ -19036,12 +19036,12 @@ function TS(t, e) {
|
|
|
19036
19036
|
if (!r || s) return;
|
|
19037
19037
|
if (y1) return void AS(i);
|
|
19038
19038
|
const l = n;
|
|
19039
|
-
r.clear(), y1 = !0, s = !0, n =
|
|
19039
|
+
r.clear(), y1 = !0, s = !0, n = Bs(r, t), s = !1, y1 = !1, e(n, l), LS();
|
|
19040
19040
|
}
|
|
19041
19041
|
function u() {
|
|
19042
19042
|
r && (r.destroy(), r = null, n = null);
|
|
19043
19043
|
}
|
|
19044
|
-
return s = !0, n =
|
|
19044
|
+
return s = !0, n = Bs(r, t), s = !1, Qs(u);
|
|
19045
19045
|
}
|
|
19046
19046
|
function PS(t, e) {
|
|
19047
19047
|
let r = new u3(s), n = null;
|
|
@@ -19052,9 +19052,9 @@ function PS(t, e) {
|
|
|
19052
19052
|
r && (r.destroy(), r = null), n = null;
|
|
19053
19053
|
}
|
|
19054
19054
|
function u() {
|
|
19055
|
-
return r ? (r.clear(), n =
|
|
19055
|
+
return r ? (r.clear(), n = Bs(r, t), n) : null;
|
|
19056
19056
|
}
|
|
19057
|
-
return u(),
|
|
19057
|
+
return u(), Qs(i);
|
|
19058
19058
|
}
|
|
19059
19059
|
function AS(t) {
|
|
19060
19060
|
Ha.includes(t) || Ha.unshift(t);
|
|
@@ -19128,7 +19128,7 @@ function DS(t, e, r) {
|
|
|
19128
19128
|
let l, c, m = PS(() => Wi(s, i), (_, y) => {
|
|
19129
19129
|
s.__accessor__?.lifecycle === sr.DESTROYED || l && l.uid !== c ? n.remove() : (l || (l = l3.acquireUntracked(_, u, y, s, i), c = l.uid), _2(l));
|
|
19130
19130
|
});
|
|
19131
|
-
return
|
|
19131
|
+
return Qs(() => {
|
|
19132
19132
|
m.remove(), l && (l.uid !== c || l.removed || (l.removed = !0, _2(l)), l = null), n = m = null;
|
|
19133
19133
|
});
|
|
19134
19134
|
});
|
|
@@ -19144,7 +19144,7 @@ function $S(t, e, r) {
|
|
|
19144
19144
|
return n;
|
|
19145
19145
|
}
|
|
19146
19146
|
function FS(t, e, r, n = !1) {
|
|
19147
|
-
return t.__accessor__ && t.__accessor__.lifecycle !== sr.DESTROYED ? n ? $S(t, e, r) : DS(t, e, r) :
|
|
19147
|
+
return t.__accessor__ && t.__accessor__.lifecycle !== sr.DESTROYED ? n ? $S(t, e, r) : DS(t, e, r) : Qs();
|
|
19148
19148
|
}
|
|
19149
19149
|
var y2, b2;
|
|
19150
19150
|
function US(t) {
|
|
@@ -19166,7 +19166,7 @@ function US(t) {
|
|
|
19166
19166
|
}
|
|
19167
19167
|
}
|
|
19168
19168
|
const vn = Symbol("Accessor-Handles"), b1 = Symbol("Accessor-Initialized");
|
|
19169
|
-
let
|
|
19169
|
+
let Cs = class aa {
|
|
19170
19170
|
static {
|
|
19171
19171
|
y2 = vn, b2 = b1;
|
|
19172
19172
|
}
|
|
@@ -19180,7 +19180,7 @@ let Rs = class aa {
|
|
|
19180
19180
|
super(...c), this.inherited = null, s && s.apply(this, c);
|
|
19181
19181
|
}
|
|
19182
19182
|
}
|
|
19183
|
-
|
|
19183
|
+
Ks(u.prototype);
|
|
19184
19184
|
for (const l in e) {
|
|
19185
19185
|
const c = e[l];
|
|
19186
19186
|
u.prototype[l] = typeof c == "function" ? function(...m) {
|
|
@@ -19242,7 +19242,7 @@ let Rs = class aa {
|
|
|
19242
19242
|
return this.__accessor__?.lifecycle === sr.DESTROYING || !1;
|
|
19243
19243
|
}
|
|
19244
19244
|
commitProperty(e) {
|
|
19245
|
-
|
|
19245
|
+
Gs(this, e);
|
|
19246
19246
|
}
|
|
19247
19247
|
hasOwnProperty(e) {
|
|
19248
19248
|
return this.__accessor__ ? this.__accessor__.has(e) : Object.prototype.hasOwnProperty.call(this, e);
|
|
@@ -19405,7 +19405,7 @@ function ZS(t, e, r, n, s) {
|
|
|
19405
19405
|
}
|
|
19406
19406
|
function XS(t, e, r, n, s, i) {
|
|
19407
19407
|
if (!n?.write) return !1;
|
|
19408
|
-
const u =
|
|
19408
|
+
const u = Gs(t, r);
|
|
19409
19409
|
if (!s && n.write.overridePolicy) {
|
|
19410
19410
|
const l = n.write.overridePolicy.call(t, u, r, i ?? void 0);
|
|
19411
19411
|
l !== void 0 && (s = l);
|
|
@@ -19436,7 +19436,7 @@ function QS(t, e, r) {
|
|
|
19436
19436
|
for (const i in s) {
|
|
19437
19437
|
const u = Ov(s[i], r);
|
|
19438
19438
|
if (!XS(t, n, i, u, void 0, r)) continue;
|
|
19439
|
-
const l =
|
|
19439
|
+
const l = Gs(t, i), c = ZS(t, u, u.write && typeof u.write.target == "string" ? u.write.target : i, l, r);
|
|
19440
19440
|
Object.keys(c).length > 0 && (e = sa(e, c), r?.resources?.pendingOperations?.length && r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(() => sa(e, c, () => "replace-arrays"))), r?.writtenProperties && r.writtenProperties.push({ target: t, propName: i, oldOrigin: cS(n.store.originOf(i)), newOrigin: r.origin }));
|
|
19441
19441
|
}
|
|
19442
19442
|
return e;
|
|
@@ -19470,7 +19470,7 @@ function eN(t, e) {
|
|
|
19470
19470
|
const r = new this();
|
|
19471
19471
|
return r.read(t, e), r;
|
|
19472
19472
|
}
|
|
19473
|
-
const h3 = KS(
|
|
19473
|
+
const h3 = KS(Cs);
|
|
19474
19474
|
let T0 = class {
|
|
19475
19475
|
constructor(e, r, n, s, i, u) {
|
|
19476
19476
|
this.semiMajorAxis = e, this.flattening = r, this.outerAtmosphereRimWidth = n, this.atmosphereHeight = s, this.scaleHeight = i;
|
|
@@ -19519,10 +19519,10 @@ function hN(t, e, r = !1) {
|
|
|
19519
19519
|
return !(!r && n.scheme !== s.scheme) && n.host != null && s.host != null && n.host.toLowerCase() === s.host.toLowerCase() && n.port === s.port;
|
|
19520
19520
|
}
|
|
19521
19521
|
function fu(t, e = b3, r) {
|
|
19522
|
-
return
|
|
19522
|
+
return ei(t) ? r?.preserveProtocolRelative ? t : ir.scheme === "http" && ir.authority === dN(t).slice(2) ? `http:${t}` : `https:${t}` : E3(t) ? t : S3(t.startsWith("/") ? bN(e) : e, t);
|
|
19523
19523
|
}
|
|
19524
19524
|
function v3(t, e = b3, r) {
|
|
19525
|
-
if (t == null ||
|
|
19525
|
+
if (t == null || !$s(t)) return t;
|
|
19526
19526
|
const n = ua(t), s = n.toLowerCase(), i = ua(e).toLowerCase().replace(/\/+$/, ""), u = r ? ua(r).toLowerCase().replace(/\/+$/, "") : null;
|
|
19527
19527
|
if (u && !i.startsWith(u)) return t;
|
|
19528
19528
|
const l = (y, v, S) => (S = y.indexOf(v, S)) === -1 ? y.length : S;
|
|
@@ -19542,7 +19542,7 @@ function S3(...t) {
|
|
|
19542
19542
|
const e = t.filter(S7);
|
|
19543
19543
|
if (!e?.length) return;
|
|
19544
19544
|
const r = [];
|
|
19545
|
-
if (
|
|
19545
|
+
if ($s(e[0])) {
|
|
19546
19546
|
const s = e[0], i = s.indexOf("//");
|
|
19547
19547
|
i !== -1 && (r.push(s.slice(0, i + 1)), gN(e[0]) && (r[0] += "/"), e[0] = s.slice(i + 2));
|
|
19548
19548
|
} else e[0].startsWith("/") && r.push("");
|
|
@@ -19556,7 +19556,7 @@ function S3(...t) {
|
|
|
19556
19556
|
function dN(t, e = !1) {
|
|
19557
19557
|
if (t == null || mN(t) || N3(t)) return null;
|
|
19558
19558
|
let r = t.indexOf("://");
|
|
19559
|
-
if (r === -1 &&
|
|
19559
|
+
if (r === -1 && ei(t)) r = 2;
|
|
19560
19560
|
else {
|
|
19561
19561
|
if (r === -1) return null;
|
|
19562
19562
|
r += 3;
|
|
@@ -19564,8 +19564,8 @@ function dN(t, e = !1) {
|
|
|
19564
19564
|
const n = t.indexOf("/", r);
|
|
19565
19565
|
return n !== -1 && (t = t.slice(0, n)), e && (t = x3(t, !0)), t;
|
|
19566
19566
|
}
|
|
19567
|
-
function
|
|
19568
|
-
return
|
|
19567
|
+
function $s(t) {
|
|
19568
|
+
return ei(t) || E3(t);
|
|
19569
19569
|
}
|
|
19570
19570
|
function mN(t) {
|
|
19571
19571
|
return t != null && t.startsWith("blob:");
|
|
@@ -19573,20 +19573,20 @@ function mN(t) {
|
|
|
19573
19573
|
function N3(t) {
|
|
19574
19574
|
return t != null && t.startsWith("data:");
|
|
19575
19575
|
}
|
|
19576
|
-
function
|
|
19576
|
+
function ei(t) {
|
|
19577
19577
|
return t != null && t.startsWith("/") && t[1] === "/";
|
|
19578
19578
|
}
|
|
19579
19579
|
function E3(t) {
|
|
19580
19580
|
return t != null && g3.test(t);
|
|
19581
19581
|
}
|
|
19582
19582
|
function pN(t) {
|
|
19583
|
-
return t != null && _3.test(t) || ir.scheme === "http" &&
|
|
19583
|
+
return t != null && _3.test(t) || ir.scheme === "http" && ei(t);
|
|
19584
19584
|
}
|
|
19585
19585
|
function gN(t) {
|
|
19586
19586
|
return t != null && tN.test(t);
|
|
19587
19587
|
}
|
|
19588
19588
|
function _N(t) {
|
|
19589
|
-
return
|
|
19589
|
+
return ei(t) ? `https:${t}` : t.replace(_3, "https:");
|
|
19590
19590
|
}
|
|
19591
19591
|
function yN() {
|
|
19592
19592
|
return ir.scheme === "http";
|
|
@@ -19595,7 +19595,7 @@ function w2() {
|
|
|
19595
19595
|
return ir.scheme === "https";
|
|
19596
19596
|
}
|
|
19597
19597
|
function x3(t, e = !1) {
|
|
19598
|
-
return
|
|
19598
|
+
return ei(t) ? t.slice(2) : (t = t.replace(g3, ""), e && t.length > 1 && t.startsWith("/") && t[1] === "/" && (t = t.slice(2)), t);
|
|
19599
19599
|
}
|
|
19600
19600
|
function bN(t) {
|
|
19601
19601
|
const e = t.indexOf("//"), r = t.indexOf("/", e + 2);
|
|
@@ -19626,7 +19626,7 @@ function NN(t) {
|
|
|
19626
19626
|
return yN() && n === ir.authority && !nN.test(t) || (w2() && n === ir.authority || e && e.some((s) => n === s || n.endsWith(`.${s}`)) || w2() && !fN(t)) && (t = _N(t)), t;
|
|
19627
19627
|
}
|
|
19628
19628
|
function Gh(t, e, r) {
|
|
19629
|
-
if (!(e && r && t &&
|
|
19629
|
+
if (!(e && r && t && $s(t))) return t;
|
|
19630
19630
|
const n = t.indexOf("//"), s = t.indexOf("/", n + 2), i = t.indexOf(":", n + 2), u = Math.min(s < 0 ? t.length : s, i < 0 ? t.length : i);
|
|
19631
19631
|
return t.slice(n + 2, u).toLowerCase() !== e.toLowerCase() ? t : `${t.slice(0, n + 2)}${r}${t.slice(u)}`;
|
|
19632
19632
|
}
|
|
@@ -19651,7 +19651,7 @@ function T3(t, e) {
|
|
|
19651
19651
|
}
|
|
19652
19652
|
function P3(t, e, r = 0) {
|
|
19653
19653
|
if ((t = t && hu.test(t) ? M3(t) : t) == null) return t;
|
|
19654
|
-
|
|
19654
|
+
!$s(t) && e?.blockedRelativeUrls && e.blockedRelativeUrls.push(t);
|
|
19655
19655
|
let n = fu(t);
|
|
19656
19656
|
if (e) {
|
|
19657
19657
|
const s = e.verifyItemRelativeUrls?.rootPath || e.url?.path;
|
|
@@ -19660,7 +19660,7 @@ function P3(t, e, r = 0) {
|
|
|
19660
19660
|
n = v3(u, i, i), n != null && n !== u && n !== t && e.verifyItemRelativeUrls && e.verifyItemRelativeUrls.writtenUrls.push(n);
|
|
19661
19661
|
}
|
|
19662
19662
|
}
|
|
19663
|
-
return n = A3(n, e?.portal),
|
|
19663
|
+
return n = A3(n, e?.portal), $s(n) && (n = ua(n)), e?.resources && e?.portalItem && !$s(n) && !N3(n) && r === 0 && e.resources.toKeep.push({ resource: e.portalItem.resourceFromPath(n), compress: !1 }), n;
|
|
19664
19664
|
}
|
|
19665
19665
|
function xN(t, e, r) {
|
|
19666
19666
|
return T3(t, r);
|
|
@@ -19725,7 +19725,7 @@ function IN() {
|
|
|
19725
19725
|
}
|
|
19726
19726
|
const la = { geogToProj(t, e, r) {
|
|
19727
19727
|
E.ensureCache.prepare();
|
|
19728
|
-
const n =
|
|
19728
|
+
const n = ts(r), s = r === n, i = E.ensureFloat64(n), u = E._pe_geog_to_proj(E.getPointer(t), e, i);
|
|
19729
19729
|
return u && Fn(r, e, i, s), u;
|
|
19730
19730
|
}, projGeog(t, e, r, n) {
|
|
19731
19731
|
switch (n) {
|
|
@@ -19737,7 +19737,7 @@ const la = { geogToProj(t, e, r) {
|
|
|
19737
19737
|
return 0;
|
|
19738
19738
|
}, projToGeog: (t, e, r) => la.projToGeogCenter(t, e, r, 0), projToGeogCenter(t, e, r, n) {
|
|
19739
19739
|
E.ensureCache.prepare();
|
|
19740
|
-
const s =
|
|
19740
|
+
const s = ts(r), i = r === s, u = E.ensureFloat64(s), l = E._pe_proj_to_geog_center(E.getPointer(t), e, u, n);
|
|
19741
19741
|
return l && Fn(r, e, u, i), l;
|
|
19742
19742
|
} };
|
|
19743
19743
|
let Ge = class Pe {
|
|
@@ -19761,9 +19761,9 @@ const N2 = {}, E2 = {}, v1 = (t) => {
|
|
|
19761
19761
|
e & Ge.PE_TYPE_UNIT && (t = E.castObject(t, E.PeUnit));
|
|
19762
19762
|
}
|
|
19763
19763
|
return t;
|
|
19764
|
-
},
|
|
19764
|
+
}, Ps = { initialize() {
|
|
19765
19765
|
E.PeFactory.prototype.initialize(null);
|
|
19766
|
-
}, coordsys: (t) =>
|
|
19766
|
+
}, coordsys: (t) => Ps.factoryByType(Ge.PE_TYPE_COORDSYS, t), factoryByType(t, e) {
|
|
19767
19767
|
let r = null, n = N2[t];
|
|
19768
19768
|
if (n || (n = {}, N2[t] = n), n.hasOwnProperty(String(e)) && (r = n[e], E.compare(r, E.NULL) && (r = null)), !r) {
|
|
19769
19769
|
const s = E.PeFactory.prototype.factoryByType(t, e);
|
|
@@ -19787,7 +19787,7 @@ const N2 = {}, E2 = {}, v1 = (t) => {
|
|
|
19787
19787
|
E.compare(i, E.NULL) || (n = v1(i), s[e] = n);
|
|
19788
19788
|
}
|
|
19789
19789
|
return n;
|
|
19790
|
-
}, geogcs: (t) =>
|
|
19790
|
+
}, geogcs: (t) => Ps.factoryByType(Ge.PE_TYPE_GEOGCS, t), geogtran: (t) => Ps.factoryByType(Ge.PE_TYPE_GEOGTRAN, t), getCode: (t) => E.PeFactory.prototype.getCode(t), projcs: (t) => Ps.factoryByType(Ge.PE_TYPE_PROJCS, t), unit: (t) => Ps.factoryByType(Ge.PE_TYPE_UNIT, t) };
|
|
19791
19791
|
let x2, C3 = null;
|
|
19792
19792
|
const P0 = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
19793
19793
|
P0.PE_GTLIST_OPTS_COMMON = E.PeGTlistExtended.prototype.PE_GTLIST_OPTS_COMMON, x2 = E._pe_getPeGTlistExtendedEntrySize();
|
|
@@ -19806,20 +19806,20 @@ const P0 = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
|
19806
19806
|
return u;
|
|
19807
19807
|
} }, kN = { destroy(t) {
|
|
19808
19808
|
if (t?.length) {
|
|
19809
|
-
for (const e of t)
|
|
19810
|
-
|
|
19809
|
+
for (const e of t) $r(e), e.getEntries().forEach((r) => {
|
|
19810
|
+
$r(r);
|
|
19811
19811
|
const n = r.getGeogtran();
|
|
19812
|
-
|
|
19813
|
-
|
|
19812
|
+
$r(n), n.getParameters().forEach($r), [n.getGeogcs1(), n.getGeogcs2()].forEach((s) => {
|
|
19813
|
+
$r(s);
|
|
19814
19814
|
const i = s.getDatum();
|
|
19815
|
-
|
|
19815
|
+
$r(i), $r(i.getSpheroid()), $r(s.getPrimem()), $r(s.getUnit());
|
|
19816
19816
|
});
|
|
19817
19817
|
});
|
|
19818
19818
|
E.PeGTlistExtendedEntry.prototype.Delete(t[0]);
|
|
19819
19819
|
}
|
|
19820
19820
|
} }, DN = { geogToGeog(t, e, r, n, s) {
|
|
19821
19821
|
E.ensureCache.prepare();
|
|
19822
|
-
const i =
|
|
19822
|
+
const i = ts(r), u = r === i, l = E.ensureFloat64(i);
|
|
19823
19823
|
let c = 0;
|
|
19824
19824
|
n && (c = E.ensureFloat64(n));
|
|
19825
19825
|
const m = E._pe_geog_to_geog(E.getPointer(t), e, l, c, s);
|
|
@@ -19846,7 +19846,7 @@ const P0 = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
|
19846
19846
|
}
|
|
19847
19847
|
let c = 0;
|
|
19848
19848
|
e && (c = E.getPointer(e));
|
|
19849
|
-
const m =
|
|
19849
|
+
const m = ts(n), _ = E.ensureFloat64(m), y = du(r, l), v = u(c, r, _, s, E.ensureInt32(y));
|
|
19850
19850
|
if (v) for (let S = 0; S < r; S++) i[S] = E.UTF8ToString(y[S]);
|
|
19851
19851
|
return v;
|
|
19852
19852
|
}, N1 = (t, e, r, n, s) => {
|
|
@@ -19866,15 +19866,15 @@ const P0 = { PE_GTLIST_OPTS_COMMON: 0, init() {
|
|
|
19866
19866
|
const l = n.map((y) => E.ensureString(y)), c = E.ensureInt32(l), m = E.ensureFloat64(new Array(2 * r)), _ = i(u, r, c, m);
|
|
19867
19867
|
return _ && Fn(s, r, m), _;
|
|
19868
19868
|
}, UN = { geogToDms: (t, e, r, n, s) => S1("dms", t, e, r, n, s), dmsToGeog: (t, e, r, n) => N1("dms", t, e, r, n), geogToDdm: (t, e, r, n, s) => S1("ddm", t, e, r, n, s), ddmToGeog: (t, e, r, n) => N1("ddm", t, e, r, n), geogToDd: (t, e, r, n, s) => S1("dd", t, e, r, n, s), ddToGeog: (t, e, r, n) => N1("dd", t, e, r, n) };
|
|
19869
|
-
let R3 = class
|
|
19869
|
+
let R3 = class As {
|
|
19870
19870
|
static init() {
|
|
19871
|
-
|
|
19871
|
+
As.PE_MGRS_STYLE_NEW = E.PeNotationMgrs.prototype.PE_MGRS_STYLE_NEW, As.PE_MGRS_STYLE_OLD = E.PeNotationMgrs.prototype.PE_MGRS_STYLE_OLD, As.PE_MGRS_STYLE_AUTO = E.PeNotationMgrs.prototype.PE_MGRS_STYLE_AUTO, As.PE_MGRS_180_ZONE_1_PLUS = E.PeNotationMgrs.prototype.PE_MGRS_180_ZONE_1_PLUS, As.PE_MGRS_ADD_SPACES = E.PeNotationMgrs.prototype.PE_MGRS_ADD_SPACES;
|
|
19872
19872
|
}
|
|
19873
19873
|
static geogToMgrsExtended(e, r, n, s, i, u, l) {
|
|
19874
19874
|
E.ensureCache.prepare();
|
|
19875
19875
|
let c = 0;
|
|
19876
19876
|
e && (c = E.getPointer(e));
|
|
19877
|
-
const m =
|
|
19877
|
+
const m = ts(n), _ = E.ensureFloat64(m), y = du(r, Ge.PE_MGRS_MAX), v = E.ensureInt32(y), S = E._pe_geog_to_mgrs_extended(c, r, _, s, i, u, v);
|
|
19878
19878
|
if (S) for (let T = 0; T < r; T++) l[T] = E.UTF8ToString(y[T]);
|
|
19879
19879
|
return S;
|
|
19880
19880
|
}
|
|
@@ -19890,7 +19890,7 @@ const zN = { geogToUsng(t, e, r, n, s, i, u) {
|
|
|
19890
19890
|
E.ensureCache.prepare();
|
|
19891
19891
|
let l = 0;
|
|
19892
19892
|
t && (l = E.getPointer(t));
|
|
19893
|
-
const c =
|
|
19893
|
+
const c = ts(r), m = E.ensureFloat64(c), _ = du(e, Ge.PE_MGRS_MAX), y = E.ensureInt32(_), v = E._pe_geog_to_usng(l, e, m, n, s, i, y);
|
|
19894
19894
|
if (v) for (let S = 0; S < e; S++) u[S] = E.UTF8ToString(_[S]);
|
|
19895
19895
|
return v;
|
|
19896
19896
|
}, usngToGeog(t, e, r, n) {
|
|
@@ -19908,7 +19908,7 @@ let I3 = class ca {
|
|
|
19908
19908
|
E.ensureCache.prepare();
|
|
19909
19909
|
let u = 0;
|
|
19910
19910
|
e && (u = E.getPointer(e));
|
|
19911
|
-
const l =
|
|
19911
|
+
const l = ts(n), c = E.ensureFloat64(l), m = du(r, Ge.PE_UTM_MAX), _ = E.ensureInt32(m), y = E._pe_geog_to_utm(u, r, c, s, _);
|
|
19912
19912
|
if (y) for (let v = 0; v < r; v++) i[v] = E.UTF8ToString(m[v]);
|
|
19913
19913
|
return y;
|
|
19914
19914
|
}
|
|
@@ -20008,16 +20008,16 @@ function D3(t) {
|
|
|
20008
20008
|
const u = E.getPointer(this), l = E.ensureInt8(new Array(Ge.PE_BUFFER_MAX));
|
|
20009
20009
|
return E.UTF8ToString(E._pe_object_to_string_ext(u, i, l));
|
|
20010
20010
|
}, E.PeGeogcs.prototype.destroy = function() {
|
|
20011
|
-
this.Delete(),
|
|
20011
|
+
this.Delete(), $r(this), this.ptr = 0;
|
|
20012
20012
|
}, E.PeGeogcs.prototype[Symbol.dispose] = function() {
|
|
20013
20013
|
this.destroy();
|
|
20014
20014
|
}, E.PeProjcs.prototype.destroy = function() {
|
|
20015
|
-
this.Delete(),
|
|
20015
|
+
this.Delete(), $r(this), this.ptr = 0;
|
|
20016
20016
|
}, E.PeProjcs.prototype[Symbol.dispose] = function() {
|
|
20017
20017
|
this.destroy();
|
|
20018
20018
|
};
|
|
20019
20019
|
}
|
|
20020
|
-
function
|
|
20020
|
+
function $r(t) {
|
|
20021
20021
|
if (!t) return;
|
|
20022
20022
|
const e = E.getClass(t);
|
|
20023
20023
|
if (!e) return;
|
|
@@ -20031,7 +20031,7 @@ function du(t, e) {
|
|
|
20031
20031
|
for (let s = 0; s < t; s++) r.push(E.ensureInt8(n));
|
|
20032
20032
|
return r;
|
|
20033
20033
|
}
|
|
20034
|
-
function
|
|
20034
|
+
function ts(t) {
|
|
20035
20035
|
return ArrayBuffer.isView(t) ? t : Array.isArray(t[0]) ? t.flat() : t;
|
|
20036
20036
|
}
|
|
20037
20037
|
function Fn(t, e, r, n = !1) {
|
|
@@ -20043,7 +20043,7 @@ function Fn(t, e, r, n = !1) {
|
|
|
20043
20043
|
}
|
|
20044
20044
|
Object.freeze(Object.defineProperty({ __proto__: null, PeCSTransformations: la, PeDefs: Ge, get PeDouble() {
|
|
20045
20045
|
return O3;
|
|
20046
|
-
}, PeFactory:
|
|
20046
|
+
}, PeFactory: Ps, get PeGCSExtent() {
|
|
20047
20047
|
return C3;
|
|
20048
20048
|
}, PeGTTransformations: DN, PeGTlistExtended: P0, PeGTlistExtendedEntry: kN, PeLineType: $N, PeMath: FN, PeNotationDms: UN, PeNotationMgrs: R3, PeNotationUsng: zN, PeNotationUtm: I3, PePCSInfo: k3, PeVersion: VN, _init: D3, get _pe() {
|
|
20049
20049
|
return E;
|
|
@@ -20467,7 +20467,7 @@ function A0(t, e) {
|
|
|
20467
20467
|
if (t == null || e == null) return !1;
|
|
20468
20468
|
const r = t.wkid, n = e.wkid;
|
|
20469
20469
|
if (r != null || n != null) {
|
|
20470
|
-
if (r === n ||
|
|
20470
|
+
if (r === n || qs(t) && qs(e)) return !0;
|
|
20471
20471
|
const u = t.latestWkid;
|
|
20472
20472
|
if (u != null && n === u) return !0;
|
|
20473
20473
|
const l = e.latestWkid;
|
|
@@ -20490,7 +20490,7 @@ function U3(t) {
|
|
|
20490
20490
|
function Yh(t) {
|
|
20491
20491
|
return t?.wkid === 4326;
|
|
20492
20492
|
}
|
|
20493
|
-
function
|
|
20493
|
+
function qs(t) {
|
|
20494
20494
|
const e = t?.wkid;
|
|
20495
20495
|
return e != null && e >= 2e3 && $3.includes(e);
|
|
20496
20496
|
}
|
|
@@ -20526,7 +20526,7 @@ L0($n);
|
|
|
20526
20526
|
L0(d3);
|
|
20527
20527
|
L0(m3);
|
|
20528
20528
|
`${$n.radius}`;
|
|
20529
|
-
const XN = $n.radius * Math.PI / 200, j3 = /(?:LENGTH)?UNIT\[([^\]]+)]]$/i,
|
|
20529
|
+
const XN = $n.radius * Math.PI / 200, j3 = /(?:LENGTH)?UNIT\[([^\]]+)]]$/i, Hs = w, W3 = /UNIT\[([^\]]+)]/i, JN = /* @__PURE__ */ new Set([4305, 4807, 4810, 4811, 4812, 4816, 4819, 4821, 4901, 4902, 37225, 104025, 104026, 104139, 104140]), QN = cu()({ 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" }), kr = (t) => t * t, on = (t) => t * t * t, T2 = { 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: kr(1e-3) }, "square-centimeters": { inBaseUnits: kr(0.01) }, "square-decimeters": { inBaseUnits: kr(0.1) }, "square-meters": { inBaseUnits: 1 }, "square-kilometers": { inBaseUnits: kr(1e3) }, "square-inches": { inBaseUnits: kr(0.0254) }, "square-feet": { inBaseUnits: kr(0.3048) }, "square-yards": { inBaseUnits: kr(0.9144) }, "square-miles": { inBaseUnits: kr(1609.344) }, "square-nautical-miles": { inBaseUnits: kr(1852) }, "square-us-feet": { inBaseUnits: kr(1200 / 3937) }, acres: { inBaseUnits: 15625e-7 * kr(1609.344) }, ares: { inBaseUnits: 100 }, hectares: { inBaseUnits: 1e4 } } }, volume: { baseUnit: "liters", units: { liters: { inBaseUnits: 1 }, "cubic-millimeters": { inBaseUnits: 1e3 * on(1e-3) }, "cubic-centimeters": { inBaseUnits: 1e3 * on(0.01) }, "cubic-decimeters": { inBaseUnits: 1e3 * on(0.1) }, "cubic-meters": { inBaseUnits: 1e3 }, "cubic-kilometers": { inBaseUnits: 1e3 * on(1e3) }, "cubic-inches": { inBaseUnits: 1e3 * on(0.0254) }, "cubic-feet": { inBaseUnits: 1e3 * on(0.3048) }, "cubic-yards": { inBaseUnits: 1e3 * on(0.9144) }, "cubic-miles": { inBaseUnits: 1e3 * on(1609.344) }, "cubic-us-feet": { inBaseUnits: 1e3 * on(1200 / 3937) } } }, angle: { baseUnit: "radians", units: { radians: { inBaseUnits: 1 }, degrees: { inBaseUnits: Math.PI / 180 } } } };
|
|
20530
20530
|
(() => {
|
|
20531
20531
|
const t = {};
|
|
20532
20532
|
for (const e in T2) for (const r in T2[e].units) t[r] = e;
|
|
@@ -20544,7 +20544,7 @@ function eE(t, e = !1) {
|
|
|
20544
20544
|
if (r) {
|
|
20545
20545
|
if (BN(r)) return d3.metersPerDegree;
|
|
20546
20546
|
if (qN(r)) return m3.metersPerDegree;
|
|
20547
|
-
s =
|
|
20547
|
+
s = Hs.values[Hs[r]], !s && e && JN.has(r) && (s = XN);
|
|
20548
20548
|
} else n && (H3(n) ? s = P2(j3.exec(n), s) : q3(n) && (s = P2(W3.exec(n), s)));
|
|
20549
20549
|
return s;
|
|
20550
20550
|
}
|
|
@@ -20557,7 +20557,7 @@ function B3(t) {
|
|
|
20557
20557
|
function tE(t) {
|
|
20558
20558
|
const e = t?.wkid ?? null, r = t?.wkt2 ?? t?.wkt ?? null;
|
|
20559
20559
|
let n = null;
|
|
20560
|
-
if (e) n =
|
|
20560
|
+
if (e) n = Hs.units[Hs[e]];
|
|
20561
20561
|
else if (r) {
|
|
20562
20562
|
const s = H3(r) ? j3 : q3(r) ? W3 : null;
|
|
20563
20563
|
if (s) {
|
|
@@ -20579,9 +20579,9 @@ function nE(t) {
|
|
|
20579
20579
|
if (!r || !G3(r)) {
|
|
20580
20580
|
const n = B3(t);
|
|
20581
20581
|
r = null;
|
|
20582
|
-
const s =
|
|
20582
|
+
const s = Hs.values;
|
|
20583
20583
|
for (let i = 0; i < s.length; ++i) if (Math.abs(n - s[i]) < rE) {
|
|
20584
|
-
r =
|
|
20584
|
+
r = Hs.units[i];
|
|
20585
20585
|
break;
|
|
20586
20586
|
}
|
|
20587
20587
|
}
|
|
@@ -20591,10 +20591,10 @@ const sE = { esriAcres: "acres", esriAres: "ares", esriHectares: "hectares", esr
|
|
|
20591
20591
|
cu()(sE);
|
|
20592
20592
|
cu()(iE);
|
|
20593
20593
|
cu()(oE);
|
|
20594
|
-
var
|
|
20594
|
+
var Zr;
|
|
20595
20595
|
let pe = class extends h3 {
|
|
20596
20596
|
static {
|
|
20597
|
-
|
|
20597
|
+
Zr = this;
|
|
20598
20598
|
}
|
|
20599
20599
|
static {
|
|
20600
20600
|
this.GCS_NAD_1927 = null;
|
|
@@ -20611,10 +20611,10 @@ let pe = class extends h3 {
|
|
|
20611
20611
|
static fromJSON(e) {
|
|
20612
20612
|
if (!e) return null;
|
|
20613
20613
|
if (!aE.some((n) => e[n] != null)) {
|
|
20614
|
-
if (e?.wkid === 102100) return
|
|
20615
|
-
if (e?.wkid === 4326) return
|
|
20614
|
+
if (e?.wkid === 102100) return Zr.WebMercator;
|
|
20615
|
+
if (e?.wkid === 4326) return Zr.WGS84;
|
|
20616
20616
|
}
|
|
20617
|
-
const r = new
|
|
20617
|
+
const r = new Zr();
|
|
20618
20618
|
return r.read(e), r;
|
|
20619
20619
|
}
|
|
20620
20620
|
constructor(e) {
|
|
@@ -20627,7 +20627,7 @@ let pe = class extends h3 {
|
|
|
20627
20627
|
return Yh(this);
|
|
20628
20628
|
}
|
|
20629
20629
|
get isWebMercator() {
|
|
20630
|
-
return
|
|
20630
|
+
return qs(this);
|
|
20631
20631
|
}
|
|
20632
20632
|
get isGeographic() {
|
|
20633
20633
|
return U3(this);
|
|
@@ -20645,9 +20645,9 @@ let pe = class extends h3 {
|
|
|
20645
20645
|
this.wkid || (r.wkt = e);
|
|
20646
20646
|
}
|
|
20647
20647
|
clone() {
|
|
20648
|
-
if (this ===
|
|
20649
|
-
if (this ===
|
|
20650
|
-
const e = new
|
|
20648
|
+
if (this === Zr.WGS84) return new Zr(z3);
|
|
20649
|
+
if (this === Zr.WebMercator) return new Zr(V3);
|
|
20650
|
+
const e = new Zr();
|
|
20651
20651
|
return this.wkid != null ? (e.wkid = this.wkid, this.latestWkid != null && (e.latestWkid = this.latestWkid), this.vcsWkid != null && (e.vcsWkid = this.vcsWkid), this.latestVcsWkid != null && (e.latestVcsWkid = this.latestVcsWkid)) : (this.wkt != null && (e.wkt = this.wkt), this.wkt2 != null && (e.wkt2 = this.wkt2)), this.imageCoordinateSystem && (e.imageCoordinateSystem = gr(this.imageCoordinateSystem)), this.falseM != null && (e.falseM = this.falseM), this.falseX != null && (e.falseX = this.falseX), this.falseY != null && (e.falseY = this.falseY), this.falseZ != null && (e.falseZ = this.falseZ), this.mTolerance != null && (e.mTolerance = this.mTolerance), this.mUnits != null && (e.mUnits = this.mUnits), this.xyTolerance != null && (e.xyTolerance = this.xyTolerance), this.xyUnits != null && (e.xyUnits = this.xyUnits), this.zTolerance != null && (e.zTolerance = this.zTolerance), this.zUnits != null && (e.zUnits = this.zUnits), e;
|
|
20652
20652
|
}
|
|
20653
20653
|
equals(e) {
|
|
@@ -20663,13 +20663,13 @@ let pe = class extends h3 {
|
|
|
20663
20663
|
return this.write(void 0, e);
|
|
20664
20664
|
}
|
|
20665
20665
|
};
|
|
20666
|
-
se([He({ readOnly: !0 })], pe.prototype, "isWGS84", null), se([He({ readOnly: !0 })], pe.prototype, "isWebMercator", null), se([He({ readOnly: !0 })], pe.prototype, "isGeographic", null), se([He({ readOnly: !0 })], pe.prototype, "isWrappable", null), se([He({ type:
|
|
20666
|
+
se([He({ readOnly: !0 })], pe.prototype, "isWGS84", null), se([He({ readOnly: !0 })], pe.prototype, "isWebMercator", null), se([He({ readOnly: !0 })], pe.prototype, "isGeographic", null), se([He({ readOnly: !0 })], pe.prototype, "isWrappable", null), se([He({ type: Xn, json: { write: !0 } })], pe.prototype, "latestWkid", void 0), se([He({ readOnly: !0 })], pe.prototype, "metersPerUnit", null), se([He({ readOnly: !0 })], pe.prototype, "unit", null), se([He({ type: Xn, json: { write: !0, origins: { "web-scene": { write: { overridePolicy() {
|
|
20667
20667
|
return { isRequired: this.wkt == null };
|
|
20668
20668
|
} } } } } })], pe.prototype, "wkid", void 0), se([He({ type: String, json: { origins: { "web-scene": { write: { overridePolicy() {
|
|
20669
20669
|
return { isRequired: this.wkid == null };
|
|
20670
|
-
} } } } } })], pe.prototype, "wkt", void 0), se([Uh("wkt"), Uh("web-scene", "wkt")], pe.prototype, "writeWkt", null), se([He({ type: String, json: { write: !1 } })], pe.prototype, "wkt2", void 0), se([He({ type:
|
|
20670
|
+
} } } } } })], pe.prototype, "wkt", void 0), se([Uh("wkt"), Uh("web-scene", "wkt")], pe.prototype, "writeWkt", null), se([He({ type: String, json: { write: !1 } })], pe.prototype, "wkt2", void 0), se([He({ type: Xn, json: { write: !0 } })], pe.prototype, "vcsWkid", void 0), se([He({ type: Xn, json: { write: !0 } })], pe.prototype, "latestVcsWkid", void 0), se([He({ type: Number, json: { write: !0 } })], pe.prototype, "falseM", void 0), se([He({ type: Number, json: { write: !0 } })], pe.prototype, "falseX", void 0), se([He({ type: Number, json: { write: !0 } })], pe.prototype, "falseY", void 0), se([He({ type: Number, json: { write: !0 } })], pe.prototype, "falseZ", void 0), se([He({ type: Number, json: { write: !0 } })], pe.prototype, "mTolerance", void 0), se([He({ type: Number, json: { write: !0 } })], pe.prototype, "mUnits", void 0), se([He({ type: Number, json: { write: !0 } })], pe.prototype, "xyTolerance", void 0), se([He({ type: Number, json: { write: !0 } })], pe.prototype, "xyUnits", void 0), se([He({ type: Number, json: { write: !0 } })], pe.prototype, "zTolerance", void 0), se([He({ type: Number, json: { write: !0 } })], pe.prototype, "zUnits", void 0), se([He()], pe.prototype, "imageCoordinateSystem", void 0), pe = Zr = se([lu("esri.geometry.SpatialReference")], pe), pe.prototype.toJSON.isDefaultToJSON = !0, pe.GCS_NAD_1927 = Cs.freeze(new pe({ wkid: 4267, wkt: 'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]' })), pe.WGS84 = Cs.freeze(new pe(z3)), pe.WebMercator = Cs.freeze(new pe(V3)), pe.PlateCarree = Cs.freeze(new pe(ZN));
|
|
20671
20671
|
const aE = ["falseM", "falseX", "falseY", "falseZ", "mTolerance", "mUnits", "xyTolerance", "xyUnits", "zTolerance", "zUnits"];
|
|
20672
|
-
let
|
|
20672
|
+
let Fr = class extends h3 {
|
|
20673
20673
|
constructor(...e) {
|
|
20674
20674
|
super(...e), this.type = null, this.hasM = !1, this.hasZ = !1, this.spatialReference = pe.WGS84;
|
|
20675
20675
|
}
|
|
@@ -20700,7 +20700,7 @@ let $r = class extends h3 {
|
|
|
20700
20700
|
this.cache[e] = r;
|
|
20701
20701
|
}
|
|
20702
20702
|
};
|
|
20703
|
-
se([Re()],
|
|
20703
|
+
se([Re()], Fr.prototype, "type", void 0), se([Re({ readOnly: !0 })], Fr.prototype, "cache", null), se([Re({ readOnly: !0 })], Fr.prototype, "extent", null), se([Re({ type: Boolean, json: { write: { overridePolicy: (t) => ({ enabled: t }) } } })], Fr.prototype, "hasM", void 0), se([Re({ type: Boolean, json: { write: { overridePolicy: (t) => ({ enabled: t }) } } })], Fr.prototype, "hasZ", void 0), se([Re({ type: pe, json: { write: !0 }, value: pe.WGS84 })], Fr.prototype, "spatialReference", void 0), se([n3("spatialReference")], Fr.prototype, "readSpatialReference", null), Fr = se([N0("esri.geometry.Geometry")], Fr);
|
|
20704
20704
|
function Za(t) {
|
|
20705
20705
|
if (t && typeof t == "object" && "type" in t && t.type === "mesh") throw new Gi("internal:mesh", "Mesh geometries are not supported for this operation");
|
|
20706
20706
|
}
|
|
@@ -20737,7 +20737,7 @@ function Y3(t, e, r, n, s) {
|
|
|
20737
20737
|
}
|
|
20738
20738
|
function T1(t, e) {
|
|
20739
20739
|
const r = t && (M2(t) ? t : t.spatialReference), n = e && (M2(e) ? e : e.spatialReference);
|
|
20740
|
-
return !(t && "type" in t && t.type === "mesh" || e && "type" in e && e.type === "mesh" || !r || !n) && (!!A0(n, r) ||
|
|
20740
|
+
return !(t && "type" in t && t.type === "mesh" || e && "type" in e && e.type === "mesh" || !r || !n) && (!!A0(n, r) || qs(n) && Yh(r) || qs(r) && Yh(n));
|
|
20741
20741
|
}
|
|
20742
20742
|
function wi(t, e, r = [0, 0]) {
|
|
20743
20743
|
e > 89.99999 ? e = 89.99999 : e < -89.99999 && (e = -89.99999);
|
|
@@ -20771,7 +20771,7 @@ function hE(t) {
|
|
|
20771
20771
|
}
|
|
20772
20772
|
function Z3({ x: t, y: e, spatialReference: r }, n = [0, 0]) {
|
|
20773
20773
|
if (r) {
|
|
20774
|
-
if (
|
|
20774
|
+
if (qs(r)) return M0(t, e, n);
|
|
20775
20775
|
if (U3(r)) return n[0] = t, n[1] = e, n;
|
|
20776
20776
|
}
|
|
20777
20777
|
return null;
|
|
@@ -20782,11 +20782,11 @@ const A1 = [0, 0];
|
|
|
20782
20782
|
function O2(t) {
|
|
20783
20783
|
return t && (t.declaredClass === "esri.geometry.SpatialReference" || t.wkid != null);
|
|
20784
20784
|
}
|
|
20785
|
-
let Ht = ha = class extends
|
|
20785
|
+
let Ht = ha = class extends Fr {
|
|
20786
20786
|
static copy(t, e) {
|
|
20787
20787
|
e._set("x", t._get("x")), e._set("y", t._get("y")), e._set("z", t._get("z")), e._set("m", t._get("m"));
|
|
20788
20788
|
const r = t._get("spatialReference");
|
|
20789
|
-
e._set("spatialReference",
|
|
20789
|
+
e._set("spatialReference", Cs.isFrozen(r) ? r : r.clone());
|
|
20790
20790
|
}
|
|
20791
20791
|
constructor(...t) {
|
|
20792
20792
|
super(...t), this.x = 0, this.y = 0, this.z = void 0, this.m = void 0, this.type = "point";
|
|
@@ -20948,12 +20948,12 @@ function bE(t, e) {
|
|
|
20948
20948
|
for (const i of r) if (s(t, i)) return !0;
|
|
20949
20949
|
return !1;
|
|
20950
20950
|
}
|
|
20951
|
-
const
|
|
20951
|
+
const rs = [0, 0], ns = [0, 0], ss = [0, 0], is = [0, 0], wE = [rs, ns, ss, is], Q3 = [[ss, rs], [rs, ns], [ns, is], [is, ss]];
|
|
20952
20952
|
function vE(t, e) {
|
|
20953
20953
|
return SE(t, e.rings);
|
|
20954
20954
|
}
|
|
20955
20955
|
function SE(t, e) {
|
|
20956
|
-
|
|
20956
|
+
rs[0] = t.xmin, rs[1] = t.ymax, ns[0] = t.xmax, ns[1] = t.ymax, ss[0] = t.xmin, ss[1] = t.ymin, is[0] = t.xmax, is[1] = t.ymin;
|
|
20957
20957
|
for (const r of wE) if (pE(e, r)) return !0;
|
|
20958
20958
|
for (const r of e) {
|
|
20959
20959
|
if (!r.length) continue;
|
|
@@ -20968,7 +20968,7 @@ function SE(t, e) {
|
|
|
20968
20968
|
return !1;
|
|
20969
20969
|
}
|
|
20970
20970
|
function NE(t, e) {
|
|
20971
|
-
|
|
20971
|
+
rs[0] = t.xmin, rs[1] = t.ymax, ns[0] = t.xmax, ns[1] = t.ymax, ss[0] = t.xmin, ss[1] = t.ymin, is[0] = t.xmax, is[1] = t.ymin;
|
|
20972
20972
|
const r = e.paths;
|
|
20973
20973
|
for (const n of r) {
|
|
20974
20974
|
if (!r.length) continue;
|
|
@@ -21013,14 +21013,14 @@ function xE(t) {
|
|
|
21013
21013
|
return NE;
|
|
21014
21014
|
}
|
|
21015
21015
|
}
|
|
21016
|
-
var
|
|
21016
|
+
var Dr;
|
|
21017
21017
|
function TE(t) {
|
|
21018
21018
|
return t && (t.declaredClass === "esri.geometry.SpatialReference" || t.wkid != null);
|
|
21019
21019
|
}
|
|
21020
21020
|
function Sn(t, e, r) {
|
|
21021
21021
|
return e == null ? r : r == null ? e : t(e, r);
|
|
21022
21022
|
}
|
|
21023
|
-
let St =
|
|
21023
|
+
let St = Dr = class extends Fr {
|
|
21024
21024
|
constructor(...t) {
|
|
21025
21025
|
super(...t), this.type = "extent", this.xmin = 0, this.ymin = 0, this.mmin = void 0, this.zmin = void 0, this.xmax = 0, this.ymax = 0, this.mmax = void 0, this.zmax = void 0;
|
|
21026
21026
|
}
|
|
@@ -21028,7 +21028,7 @@ let St = kr = class extends $r {
|
|
|
21028
21028
|
return TE(t) ? { spatialReference: t, xmin: 0, ymin: 0, xmax: 0, ymax: 0 } : typeof t == "object" ? (t.spatialReference = t.spatialReference == null ? pe.WGS84 : t.spatialReference, t) : { xmin: t, ymin: e, xmax: r, ymax: n, spatialReference: s ?? pe.WGS84 };
|
|
21029
21029
|
}
|
|
21030
21030
|
static fromPoint(t) {
|
|
21031
|
-
return new
|
|
21031
|
+
return new Dr({ xmin: t.x, ymin: t.y, zmin: t.z, xmax: t.x, ymax: t.y, zmax: t.z, spatialReference: t.spatialReference });
|
|
21032
21032
|
}
|
|
21033
21033
|
get cache() {
|
|
21034
21034
|
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"), {};
|
|
@@ -21057,7 +21057,7 @@ let St = kr = class extends $r {
|
|
|
21057
21057
|
return t.z != null && this.hasZ ? this.offset(t.x - e.x, t.y - e.y, t.z - e.z) : this.offset(t.x - e.x, t.y - e.y);
|
|
21058
21058
|
}
|
|
21059
21059
|
clone() {
|
|
21060
|
-
const t = new
|
|
21060
|
+
const t = new Dr();
|
|
21061
21061
|
return t.xmin = this.xmin, t.ymin = this.ymin, t.xmax = this.xmax, t.ymax = this.ymax, t.spatialReference = this.spatialReference, this.zmin != null && (t.zmin = this.zmin, t.zmax = this.zmax), this.mmin != null && (t.mmin = this.mmin, t.mmax = this.mmax), t;
|
|
21062
21062
|
}
|
|
21063
21063
|
contains(t) {
|
|
@@ -21161,11 +21161,11 @@ let St = kr = class extends $r {
|
|
|
21161
21161
|
_ = L1(this.xmax, t);
|
|
21162
21162
|
const L = _.x, D = _.frameId, z = S === L && l > 0;
|
|
21163
21163
|
if (l > 2 * v) {
|
|
21164
|
-
const W = new
|
|
21164
|
+
const W = new Dr(c < m ? S : L, s, v, i, u), j = new Dr(y, s, c < m ? L : S, i, u), U = new Dr(0, s, v, i, u), F = new Dr(y, s, 0, i, u), B = [], Z = [];
|
|
21165
21165
|
W.contains(U) && B.push(T), W.contains(F) && Z.push(T), j.contains(U) && B.push(D), j.contains(F) && Z.push(D);
|
|
21166
21166
|
for (let ee = T + 1; ee < D; ee++) B.push(ee), Z.push(ee);
|
|
21167
21167
|
e.push({ extent: W, frameIds: [T] }, { extent: j, frameIds: [D] }, { extent: U, frameIds: B }, { extent: F, frameIds: Z });
|
|
21168
|
-
} else S > L || z ? e.push({ extent: new
|
|
21168
|
+
} else S > L || z ? e.push({ extent: new Dr(S, s, v, i, u), frameIds: [T] }, { extent: new Dr(y, s, L, i, u), frameIds: [D] }) : e.push({ extent: new Dr(S, s, L, i, u), frameIds: [T] });
|
|
21169
21169
|
this.cache._parts = e;
|
|
21170
21170
|
}
|
|
21171
21171
|
const r = this.hasZ, n = this.hasM;
|
|
@@ -21190,7 +21190,7 @@ se([Re({ readOnly: !0 })], St.prototype, "cache", null), se([Re({ readOnly: !0 }
|
|
|
21190
21190
|
return { enabled: this.hasM };
|
|
21191
21191
|
} } } })], St.prototype, "mmax", void 0), se([Re({ type: Number, json: { origins: { "web-scene": { write: !1 } }, write: { overridePolicy() {
|
|
21192
21192
|
return { enabled: this.hasZ };
|
|
21193
|
-
} } } })], St.prototype, "zmax", void 0), St =
|
|
21193
|
+
} } } })], St.prototype, "zmax", void 0), St = Dr = se([N0("esri.geometry.Extent")], St), St.prototype.toJSON.isDefaultToJSON = !0;
|
|
21194
21194
|
function Go(t) {
|
|
21195
21195
|
return typeof t == "number" && isFinite(t) && Math.floor(t) === t;
|
|
21196
21196
|
}
|
|
@@ -21220,7 +21220,7 @@ function R2(t) {
|
|
|
21220
21220
|
return r;
|
|
21221
21221
|
}
|
|
21222
21222
|
const I2 = "esri.core.sql.timeonly";
|
|
21223
|
-
let pr = class
|
|
21223
|
+
let pr = class Xr {
|
|
21224
21224
|
constructor(e, r, n, s) {
|
|
21225
21225
|
this._hour = e, this._minute = r, this._second = n, this._millisecond = s, this.declaredRootClass = I2;
|
|
21226
21226
|
}
|
|
@@ -21240,10 +21240,10 @@ let pr = class Zr {
|
|
|
21240
21240
|
return this._millisecond;
|
|
21241
21241
|
}
|
|
21242
21242
|
equals(e) {
|
|
21243
|
-
return
|
|
21243
|
+
return Xr.isTimeOnly(e) && e.hour === this.hour && e.minute === this.minute && e.second === this.second && e.millisecond === this.millisecond;
|
|
21244
21244
|
}
|
|
21245
21245
|
clone() {
|
|
21246
|
-
return new
|
|
21246
|
+
return new Xr(this.hour, this.minute, this.second, this.millisecond);
|
|
21247
21247
|
}
|
|
21248
21248
|
isValid() {
|
|
21249
21249
|
return Go(this.hour) && Go(this.minute) && Go(this.second) && Go(this.millisecond) && this.hour >= 0 && this.hour < 24 && this.minute >= 0 && this.minute < 60 && this.second >= 0 && this.second < 60 && this.millisecond >= 0 && this.millisecond < 1e3;
|
|
@@ -21267,24 +21267,24 @@ let pr = class Zr {
|
|
|
21267
21267
|
return this.millisecond + 1e3 * this.second + 1e3 * this.minute * 60 + 60 * this.hour * 60 * 1e3;
|
|
21268
21268
|
}
|
|
21269
21269
|
static fromParts(e, r, n, s) {
|
|
21270
|
-
const i = new
|
|
21270
|
+
const i = new Xr(e, r, n, s);
|
|
21271
21271
|
return i.isValid() ? i : null;
|
|
21272
21272
|
}
|
|
21273
21273
|
static fromReader(e) {
|
|
21274
21274
|
if (!e) return null;
|
|
21275
21275
|
const r = e.split(":");
|
|
21276
|
-
return r.length !== 3 ? null : new
|
|
21276
|
+
return r.length !== 3 ? null : new Xr(parseInt(r[0], 10), parseInt(r[1], 10), parseInt(r[2], 10), 0);
|
|
21277
21277
|
}
|
|
21278
21278
|
static fromMilliseconds(e) {
|
|
21279
21279
|
if (e > 864e5 || e < 0) return null;
|
|
21280
21280
|
const r = Math.floor(e / 1e3 % 60), n = Math.floor(e / 6e4 % 60), s = Math.floor(e / 36e5 % 24), i = Math.floor(e % 1e3);
|
|
21281
|
-
return new
|
|
21281
|
+
return new Xr(s, n, r, i);
|
|
21282
21282
|
}
|
|
21283
21283
|
static fromDateJS(e) {
|
|
21284
|
-
return new
|
|
21284
|
+
return new Xr(e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds());
|
|
21285
21285
|
}
|
|
21286
21286
|
static fromDateTime(e) {
|
|
21287
|
-
return new
|
|
21287
|
+
return new Xr(e.hour, e.minute, e.second, e.millisecond);
|
|
21288
21288
|
}
|
|
21289
21289
|
static fromSqlTimeStampOffset(e) {
|
|
21290
21290
|
return this.fromDateTime(e.toDateTime());
|
|
@@ -21295,7 +21295,7 @@ let pr = class Zr {
|
|
|
21295
21295
|
r ? (r = R2(r)) && n.push(r) : r !== null && r !== "" || (n.push("HH:mm:ss"), n.push("HH:mm:ss.SSS"), n.push("hh:mm:ss a"), n.push("hh:mm:ss.SSS a"), n.push("HH:mm"), n.push("hh:mm a"), n.push("H:mm"), n.push("h:mm a"), n.push("H:mm:ss"), n.push("h:mm:ss a"), n.push("H:mm:ss.SSS"), n.push("h:mm:ss.SSS a"));
|
|
21296
21296
|
for (const s of n) {
|
|
21297
21297
|
const i = H.fromFormat(e, s);
|
|
21298
|
-
if (i.isValid) return new
|
|
21298
|
+
if (i.isValid) return new Xr(i.hour, i.minute, i.second, i.millisecond);
|
|
21299
21299
|
}
|
|
21300
21300
|
return null;
|
|
21301
21301
|
}
|
|
@@ -21309,7 +21309,7 @@ let pr = class Zr {
|
|
|
21309
21309
|
case "minutes":
|
|
21310
21310
|
case "seconds":
|
|
21311
21311
|
case "milliseconds":
|
|
21312
|
-
return
|
|
21312
|
+
return Xr.fromDateTime(this.toUTCDateTime().plus({ [e]: r }));
|
|
21313
21313
|
}
|
|
21314
21314
|
return null;
|
|
21315
21315
|
}
|
|
@@ -21380,7 +21380,7 @@ function D2(t, e) {
|
|
|
21380
21380
|
let r = null, n = null;
|
|
21381
21381
|
for (const s of t) {
|
|
21382
21382
|
let i = s;
|
|
21383
|
-
i = Ar.isDateOnly(s) || pr.isTimeOnly(s) ? s.toNumber() : H.isDateTime(s) ? s.toMillis() :
|
|
21383
|
+
i = Ar.isDateOnly(s) || pr.isTimeOnly(s) ? s.toNumber() : H.isDateTime(s) ? s.toMillis() : Hr.isTimestampOffset(s) ? s.toMilliseconds() : s, (r === null || e === "max" && n !== null && i !== null && n <= i || e === "min" && n !== null && i !== null && n >= i) && (r = s, n = i);
|
|
21384
21384
|
}
|
|
21385
21385
|
return r;
|
|
21386
21386
|
}
|
|
@@ -21536,7 +21536,7 @@ function et(t) {
|
|
|
21536
21536
|
return pr.isTimeOnly(t);
|
|
21537
21537
|
}
|
|
21538
21538
|
function Je(t) {
|
|
21539
|
-
return
|
|
21539
|
+
return Hr.isTimestampOffset(t);
|
|
21540
21540
|
}
|
|
21541
21541
|
function pu(t) {
|
|
21542
21542
|
let e = ME.exec(t);
|
|
@@ -21565,12 +21565,12 @@ function Bi(t, e, r = !1) {
|
|
|
21565
21565
|
return y;
|
|
21566
21566
|
}
|
|
21567
21567
|
if (n = IE.exec(t), n !== null) {
|
|
21568
|
-
const [, s, i, u, l, c, m, _, y, v, S] = n, T =
|
|
21568
|
+
const [, s, i, u, l, c, m, _, y, v, S] = n, T = Hr.fromParts(parseInt(s, 10), parseInt(i, 10), parseInt(u, 10), parseInt(l, 10), parseInt(c, 10), parseInt(m, 10), _ ? parseInt(_.replace(".", ""), 10) : 0, y === "-", parseInt(v, 10), parseInt(S, 10));
|
|
21569
21569
|
if (T.isValid === !1) throw new R("InvalidTimeStamp");
|
|
21570
21570
|
return T;
|
|
21571
21571
|
}
|
|
21572
21572
|
if (n = kE.exec(t), n !== null) {
|
|
21573
|
-
const [, s, i, u, l, c, m, _, y] = n, v =
|
|
21573
|
+
const [, s, i, u, l, c, m, _, y] = n, v = Hr.fromParts(parseInt(s, 10), parseInt(i, 10), parseInt(u, 10), parseInt(l, 10), parseInt(c, 10), 0, 0, m === "-", parseInt(_, 10), parseInt(y, 10));
|
|
21574
21574
|
if (v.isValid === !1) throw new R("InvalidTimeStamp");
|
|
21575
21575
|
return v;
|
|
21576
21576
|
}
|
|
@@ -21636,7 +21636,7 @@ function qo(t) {
|
|
|
21636
21636
|
function hr(t, e, r) {
|
|
21637
21637
|
if (t == null || e == null) return null;
|
|
21638
21638
|
if (Xt(t)) {
|
|
21639
|
-
if (Xt(e)) return
|
|
21639
|
+
if (Xt(e)) return jr(t, e, r);
|
|
21640
21640
|
if (Tt(e)) return HE(t, e, r);
|
|
21641
21641
|
if (Xh(e)) throw new R("InvalidOperator");
|
|
21642
21642
|
if (Xe(e)) throw new R("InvalidOperator");
|
|
@@ -21649,11 +21649,11 @@ function hr(t, e, r) {
|
|
|
21649
21649
|
if (Je(e)) throw new R("InvalidOperator");
|
|
21650
21650
|
} else if (Ze(t)) {
|
|
21651
21651
|
if (C1(e)) {
|
|
21652
|
-
if (
|
|
21653
|
-
if (H.isDateTime(e) && !
|
|
21654
|
-
} else if (H.isDateTime(e) &&
|
|
21652
|
+
if (xs(t.zone)) {
|
|
21653
|
+
if (H.isDateTime(e) && !xs(e.zone) || Hr.isTimestampOffset(e)) return pi(t, e, r);
|
|
21654
|
+
} else if (H.isDateTime(e) && xs(e.zone) && (!xs(t.zone) || Hr.isTimestampOffset(t)))
|
|
21655
21655
|
return pi(t, e, r);
|
|
21656
|
-
return
|
|
21656
|
+
return jr(qo(t), qo(e), r);
|
|
21657
21657
|
}
|
|
21658
21658
|
if (Tt(e)) throw new R("InvalidOperator");
|
|
21659
21659
|
if (Xe(e)) return XE(t, e, r);
|
|
@@ -21663,17 +21663,17 @@ function hr(t, e, r) {
|
|
|
21663
21663
|
if (Je(e)) return KE(t, e, r);
|
|
21664
21664
|
if (Ze(e)) return QE(t, e, r);
|
|
21665
21665
|
if (Tt(e)) throw new R("InvalidOperator");
|
|
21666
|
-
if (Xe(e)) return
|
|
21666
|
+
if (Xe(e)) return jr(t.toNumber(), e.toNumber(), r);
|
|
21667
21667
|
if (et(e)) throw new R("InvalidOperator");
|
|
21668
21668
|
if (Xt(e)) throw new R("InvalidOperator");
|
|
21669
21669
|
} else if (et(t)) {
|
|
21670
|
-
if (et(e)) return
|
|
21670
|
+
if (et(e)) return jr(t.toNumber(), e.toNumber(), r);
|
|
21671
21671
|
if (Tt(e)) throw new R("InvalidOperator");
|
|
21672
21672
|
if (Xt(e)) throw new R("InvalidOperator");
|
|
21673
21673
|
if (Xe(e)) throw new R("InvalidOperator");
|
|
21674
21674
|
if (C1(e)) throw new R("InvalidOperator");
|
|
21675
21675
|
} else if (Je(t)) {
|
|
21676
|
-
if (C1(e)) return H.isDateTime(e) &&
|
|
21676
|
+
if (C1(e)) return H.isDateTime(e) && xs(e.zone) ? pi(t, e, r) : jr(qo(t), qo(e), r);
|
|
21677
21677
|
if (Tt(e)) throw new R("InvalidOperator");
|
|
21678
21678
|
if (Xe(e)) return JE(t, e, r);
|
|
21679
21679
|
if (et(e)) throw new R("InvalidOperator");
|
|
@@ -21694,7 +21694,7 @@ function hr(t, e, r) {
|
|
|
21694
21694
|
return t <= e;
|
|
21695
21695
|
}
|
|
21696
21696
|
}
|
|
21697
|
-
function
|
|
21697
|
+
function jr(t, e, r) {
|
|
21698
21698
|
switch (r) {
|
|
21699
21699
|
case "<>":
|
|
21700
21700
|
return t !== e;
|
|
@@ -21712,7 +21712,7 @@ function Vr(t, e, r) {
|
|
|
21712
21712
|
}
|
|
21713
21713
|
function HE(t, e, r) {
|
|
21714
21714
|
const n = parseFloat(e);
|
|
21715
|
-
if (!isNaN(n)) return
|
|
21715
|
+
if (!isNaN(n)) return jr(t, n, r);
|
|
21716
21716
|
const s = t.toString();
|
|
21717
21717
|
switch (r) {
|
|
21718
21718
|
case "<>":
|
|
@@ -21731,7 +21731,7 @@ function HE(t, e, r) {
|
|
|
21731
21731
|
}
|
|
21732
21732
|
function YE(t, e, r) {
|
|
21733
21733
|
const n = parseFloat(t);
|
|
21734
|
-
if (!isNaN(n)) return
|
|
21734
|
+
if (!isNaN(n)) return jr(n, e, r);
|
|
21735
21735
|
const s = e.toString();
|
|
21736
21736
|
switch (r) {
|
|
21737
21737
|
case "<>":
|
|
@@ -21766,22 +21766,22 @@ function ZE(t, e, r) {
|
|
|
21766
21766
|
}
|
|
21767
21767
|
function XE(t, e, r) {
|
|
21768
21768
|
const n = e.toDateTimeLuxon(t.zone);
|
|
21769
|
-
return
|
|
21769
|
+
return jr((t = t.startOf("day")).toMillis(), n.toMillis(), r);
|
|
21770
21770
|
}
|
|
21771
21771
|
function JE(t, e, r) {
|
|
21772
21772
|
const n = e.toDateTimeLuxon(t.toDateTime().zone);
|
|
21773
|
-
return
|
|
21773
|
+
return jr((t = t.startOfDay()).toMilliseconds(), n.toMillis(), r);
|
|
21774
21774
|
}
|
|
21775
21775
|
function QE(t, e, r) {
|
|
21776
21776
|
const n = t.toDateTimeLuxon(e.zone);
|
|
21777
|
-
return e = e.startOf("day"),
|
|
21777
|
+
return e = e.startOf("day"), jr(n.toMillis(), e.toMillis(), r);
|
|
21778
21778
|
}
|
|
21779
21779
|
function KE(t, e, r) {
|
|
21780
21780
|
const n = t.toDateTimeLuxon(e.toDateTime().zone);
|
|
21781
|
-
return e = e.startOfDay(),
|
|
21781
|
+
return e = e.startOfDay(), jr(n.toMillis(), e.toMilliseconds(), r);
|
|
21782
21782
|
}
|
|
21783
21783
|
function pi(t, e, r) {
|
|
21784
|
-
|
|
21784
|
+
Hr.isTimestampOffset(t) && (t = t.toDateTime()), Hr.isTimestampOffset(e) && (e = e.toDateTime());
|
|
21785
21785
|
const n = U2(t), s = U2(e);
|
|
21786
21786
|
switch (r) {
|
|
21787
21787
|
case "<>":
|
|
@@ -22426,7 +22426,7 @@ let I1 = class extends SyntaxError {
|
|
|
22426
22426
|
function Qx(t, e) {
|
|
22427
22427
|
const r = {}, n = (e = e !== void 0 ? e : {}).grammarSource, s = { start: z0 };
|
|
22428
22428
|
let i = z0;
|
|
22429
|
-
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", ke = "not", ve = "and", ce = "or", K = "between", Y = "from", re = "for", te = "substring", ue = "extract", _e = "trim", xe = "position", tt = "timestamp", ct = "date",
|
|
22429
|
+
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", ke = "not", ve = "and", ce = "or", K = "between", Y = "from", re = "for", te = "substring", ue = "extract", _e = "trim", xe = "position", tt = "timestamp", ct = "date", Yr = "time", mn = "leading", rn = "trailing", as = "both", nn = "cast", Ct = "as", ti = "integer", gu = "int", _u = "smallint", yu = "float", bu = "real", wu = "varchar", vu = "to", Su = "interval", Nu = "year", Eu = "timezone_hour", xu = "timezone_minute", Tu = "month", Pu = "day", Au = "hour", Lu = "minute", Mu = "second", qi = "dow", zn = "doy", Ou = "week", Cu = "case", Ru = "end", Hi = "when", Iu = "then", ku = "else", ri = ",", Du = "(", Vn = ")", Yi = "`", Zi = /^[<-=]/, us = /^[+\-]/, $u = /^[*\/]/, Fu = /^[A-Za-z_\x80-\uFFFF]/, Uu = /^[A-Za-z0-9_]/, Xi = /^[A-Za-z0-9_.\x80-\uFFFF]/, zu = /^["]/, Ji = /^[^']/, Vu = /^[0-9]/, ju = /^[eE]/, Wu = /^[ \t\n\r]/, A = /^[^`]/, Gu = ne("!", !1), Bu = ne("=", !1), qu = ne(">=", !1), Hu = ne(">", !1), Yu = ne("<=", !1), Zu = ne("<>", !1), Xu = yr([["<", "="]], !1, !1, !1), Ju = ne("!=", !1), ls = yr(["+", "-"], !1, !1, !1), Qu = ne("||", !1), Ku = yr(["*", "/"], !1, !1, !1), el = yr([["A", "Z"], ["a", "z"], "_", ["", ""]], !1, !1, !1), tl = yr([["A", "Z"], ["a", "z"], ["0", "9"], "_"], !1, !1, !1), Qi = yr([["A", "Z"], ["a", "z"], ["0", "9"], "_", ".", ["", ""]], !1, !1, !1), rl = yr(['"'], !1, !1, !1), nl = ne("@", !1), Ki = ne("'", !1), sl = ne("N'", !1), eo = ne("''", !1), to = yr(["'"], !0, !1, !1), il = ne(".", !1), ol = yr([["0", "9"]], !1, !1, !1), al = yr(["e", "E"], !1, !1, !1), ul = ne("NULL", !0), ll = ne("TRUE", !0), cl = ne("FALSE", !0), fl = ne("IN", !0), hl = ne("IS", !0), dl = ne("LIKE", !0), ml = ne("ESCAPE", !0), pl = ne("NOT", !0), gl = ne("AND", !0), _l = ne("OR", !0), yl = ne("BETWEEN", !0), bl = ne("FROM", !0), wl = ne("FOR", !0), vl = ne("SUBSTRING", !0), Sl = ne("EXTRACT", !0), Nl = ne("TRIM", !0), El = ne("POSITION", !0), xl = ne("TIMESTAMP", !0), Tl = ne("DATE", !0), Pl = ne("TIME", !0), Al = ne("LEADING", !0), Ll = ne("TRAILING", !0), Ml = ne("BOTH", !0), Ol = ne("CAST", !0), Cl = ne("AS", !0), Rl = ne("INTEGER", !0), Il = ne("INT", !0), kl = ne("SMALLINT", !0), Dl = ne("FLOAT", !0), $l = ne("REAL", !0), Fl = ne("VARCHAR", !0), Ul = ne("TO", !0), zl = ne("INTERVAL", !0), Vl = ne("YEAR", !0), jl = ne("TIMEZONE_HOUR", !0), Wl = ne("TIMEZONE_MINUTE", !0), Gl = ne("MONTH", !0), Bl = ne("DAY", !0), ql = ne("HOUR", !0), Hl = ne("MINUTE", !0), Yl = ne("SECOND", !0), Zl = ne("DOW", !0), Xl = ne("DOY", !0), Jl = ne("WEEK", !0), Ql = ne("CASE", !0), Kl = ne("END", !0), ec = ne("WHEN", !0), tc = ne("THEN", !0), rc = ne("ELSE", !0), nc = ne(",", !1), sc = ne("(", !1), ic = ne(")", !1), oc = yr([" ", " ", `
|
|
22430
22430
|
`, "\r"], !1, !1, !1), ro = ne("`", !1), no = yr(["`"], !0, !1, !1);
|
|
22431
22431
|
function D0(a) {
|
|
22432
22432
|
return a;
|
|
@@ -22704,7 +22704,7 @@ function Qx(t, e) {
|
|
|
22704
22704
|
function he(a, f) {
|
|
22705
22705
|
return { type: "case-expression", location: J(), format: "simple", operand: a, clauses: f, else: null, elseLocation: null };
|
|
22706
22706
|
}
|
|
22707
|
-
function
|
|
22707
|
+
function ni(a, f, d) {
|
|
22708
22708
|
return { type: "case-expression", location: J(), format: "simple", operand: a, clauses: f, else: d.value, elseLocation: d.location };
|
|
22709
22709
|
}
|
|
22710
22710
|
function Qt(a) {
|
|
@@ -22897,8 +22897,8 @@ function Qx(t, e) {
|
|
|
22897
22897
|
return a.join("");
|
|
22898
22898
|
}
|
|
22899
22899
|
let h = 0 | e.peg$currPos, M = h;
|
|
22900
|
-
const
|
|
22901
|
-
let
|
|
22900
|
+
const cs = [{ line: 1, column: 1 }];
|
|
22901
|
+
let si, Or = h, _o = e.peg$maxFailExpected || [], P = 0 | e.peg$silentFails;
|
|
22902
22902
|
if (e.startRule) {
|
|
22903
22903
|
if (!(e.startRule in s)) throw new Error(`Can't start parsing from rule "` + e.startRule + '".');
|
|
22904
22904
|
i = s[e.startRule];
|
|
@@ -22923,12 +22923,12 @@ function Qx(t, e) {
|
|
|
22923
22923
|
return { type: "end" };
|
|
22924
22924
|
}
|
|
22925
22925
|
function U0(a) {
|
|
22926
|
-
let f, d =
|
|
22926
|
+
let f, d = cs[a];
|
|
22927
22927
|
if (d) return d;
|
|
22928
|
-
if (a >=
|
|
22929
|
-
else for (f = a; !
|
|
22930
|
-
for (d =
|
|
22931
|
-
return
|
|
22928
|
+
if (a >= cs.length) f = cs.length - 1;
|
|
22929
|
+
else for (f = a; !cs[--f]; ) ;
|
|
22930
|
+
for (d = cs[f], d = { line: d.line, column: d.column }; f < a; ) t.charCodeAt(f) === 10 ? (d.line++, d.column = 1) : d.column++, f++;
|
|
22931
|
+
return cs[a] = d, d;
|
|
22932
22932
|
}
|
|
22933
22933
|
function yo(a, f, d) {
|
|
22934
22934
|
const b = U0(a), x = U0(f);
|
|
@@ -22977,7 +22977,7 @@ function Qx(t, e) {
|
|
|
22977
22977
|
}
|
|
22978
22978
|
function C9() {
|
|
22979
22979
|
let a, f, d, b;
|
|
22980
|
-
return a = h, f =
|
|
22980
|
+
return a = h, f = Cr(), f !== r ? (d = h, C(), b = R9(), b !== r ? d = b : (h = d, d = r), d === r && (d = null), M = a, a = fc(f, d)) : (h = a, a = r), a;
|
|
22981
22981
|
}
|
|
22982
22982
|
function R9() {
|
|
22983
22983
|
let a;
|
|
@@ -22985,7 +22985,7 @@ function Qx(t, e) {
|
|
|
22985
22985
|
}
|
|
22986
22986
|
function I9() {
|
|
22987
22987
|
let a, f, d, b, x;
|
|
22988
|
-
if (a = h, f = [], d = h, C(), b = j0(), b !== r ? (C(), x =
|
|
22988
|
+
if (a = h, f = [], d = h, C(), b = j0(), b !== r ? (C(), x = Cr(), x !== r ? (M = d, d = oo(b, x)) : (h = d, d = r)) : (h = d, d = r), d !== r) for (; d !== r; ) f.push(d), d = h, C(), b = j0(), b !== r ? (C(), x = Cr(), x !== r ? (M = d, d = oo(b, x)) : (h = d, d = r)) : (h = d, d = r);
|
|
22989
22989
|
else f = r;
|
|
22990
22990
|
return f !== r && (M = a, f = hc(f)), a = f, a;
|
|
22991
22991
|
}
|
|
@@ -22995,11 +22995,11 @@ function Qx(t, e) {
|
|
|
22995
22995
|
}
|
|
22996
22996
|
function k9() {
|
|
22997
22997
|
let a, f, d, b;
|
|
22998
|
-
return a = h, f = sd(), f !== r ? (C(), d = ai(), d !== r ? (C(), b =
|
|
22998
|
+
return a = h, f = sd(), f !== r ? (C(), d = ai(), d !== r ? (C(), b = Cr(), b !== r ? (M = a, a = dc(f, b)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = sd(), f !== r ? (C(), d = Cr(), d !== r ? (M = a, a = mc(f, d)) : (h = a, a = r)) : (h = a, a = r)), a;
|
|
22999
22999
|
}
|
|
23000
23000
|
function D9() {
|
|
23001
23001
|
let a, f, d, b, x, V, le, Se;
|
|
23002
|
-
return a = h, f = ai(), f !== r ? (C(), d = ad(), d !== r ? (b = C(), x = h, V =
|
|
23002
|
+
return a = h, f = ai(), f !== r ? (C(), d = ad(), d !== r ? (b = C(), x = h, V = Cr(), V !== r ? (C(), le = To(), le !== r ? (C(), Se = Cr(), Se !== r ? (M = x, x = pc(d, V, Se)) : (h = x, x = r)) : (h = x, x = r)) : (h = x, x = r), x !== r ? (M = a, a = gc(d, x)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = ad(), f !== r ? (C(), d = h, b = Cr(), b !== r ? (x = C(), V = To(), V !== r ? (C(), le = Cr(), le !== r ? (M = d, d = _c(f, b, le)) : (h = d, d = r)) : (h = d, d = r)) : (h = d, d = r), d !== r ? (M = a, a = yc(f, d)) : (h = a, a = r)) : (h = a, a = r)), a;
|
|
23003
23003
|
}
|
|
23004
23004
|
function W0() {
|
|
23005
23005
|
let a, f, d, b, x;
|
|
@@ -23011,13 +23011,13 @@ function Qx(t, e) {
|
|
|
23011
23011
|
}
|
|
23012
23012
|
function $9() {
|
|
23013
23013
|
let a, f, d, b, x;
|
|
23014
|
-
return a = h, f = W0(), f !== r ? (C(), d =
|
|
23014
|
+
return a = h, f = W0(), f !== r ? (C(), d = Cr(), d !== r ? (C(), b = _b(), b !== r ? (C(), x = Wf(), x !== r ? (M = a, a = vc(f, d, x)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = W0(), f !== r ? (C(), d = Cr(), d !== r ? (M = a, a = Sc(f, d)) : (h = a, a = r)) : (h = a, a = r)), a;
|
|
23015
23015
|
}
|
|
23016
23016
|
function F9() {
|
|
23017
23017
|
let a, f, d;
|
|
23018
23018
|
return a = h, f = G0(), f !== r ? (C(), d = V0(), d !== r ? (M = a, a = Nc(f, d)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = G0(), f !== r ? (C(), d = jf(), d !== r ? (M = a, a = Ec(f, d)) : (h = a, a = r)) : (h = a, a = r)), a;
|
|
23019
23019
|
}
|
|
23020
|
-
function
|
|
23020
|
+
function Cr() {
|
|
23021
23021
|
let a, f, d, b, x, V;
|
|
23022
23022
|
if (a = h, f = Uf(), f !== r) {
|
|
23023
23023
|
for (d = [], b = h, C(), x = B0(), x !== r ? (C(), V = Uf(), V !== r ? (M = b, b = ao(f, x, V)) : (h = b, b = r)) : (h = b, b = r); b !== r; ) d.push(b), b = h, C(), x = B0(), x !== r ? (C(), V = Uf(), V !== r ? (M = b, b = ao(f, x, V)) : (h = b, b = r)) : (h = b, b = r);
|
|
@@ -23027,7 +23027,7 @@ function Qx(t, e) {
|
|
|
23027
23027
|
}
|
|
23028
23028
|
function B0() {
|
|
23029
23029
|
let a;
|
|
23030
|
-
return a = t.charAt(h),
|
|
23030
|
+
return a = t.charAt(h), us.test(a) ? h++ : (a = r, P === 0 && q(ls)), a === r && (t.substr(h, 2) === S ? (a = S, h += 2) : (a = r, P === 0 && q(Qu))), a;
|
|
23031
23031
|
}
|
|
23032
23032
|
function Uf() {
|
|
23033
23033
|
let a, f, d, b, x, V;
|
|
@@ -23124,7 +23124,7 @@ function Qx(t, e) {
|
|
|
23124
23124
|
}
|
|
23125
23125
|
function X0() {
|
|
23126
23126
|
let a, f, d, b, x;
|
|
23127
|
-
return a = h, f = Pb(), f === r && (f = Ab()), f !== r && (M = a, f = Gc()), a = f, a === r && (a = h, f = Lb(), f !== r && (M = a, f = Bc()), a = f, a === r && (a = h, f = Mb(), f !== r && (M = a, f = qc()), a = f, a === r && (a = h, f = Ob(), f !== r && (M = a, f = Hc()), a = f, a === r && (a = h, f = cd(), f !== r && (M = a, f = Yc()), a = f, a === r && (a = h, f = ld(), f !== r && (M = a, f = Zc()), a = f, a === r && (a = h, f = fd(), f !== r && (M = a, f = Xc()), a = f, a === r && (a = h, f = Cb(), f !== r ? (C(), d = wt(), d !== r ? (C(), b =
|
|
23127
|
+
return a = h, f = Pb(), f === r && (f = Ab()), f !== r && (M = a, f = Gc()), a = f, a === r && (a = h, f = Lb(), f !== r && (M = a, f = Bc()), a = f, a === r && (a = h, f = Mb(), f !== r && (M = a, f = qc()), a = f, a === r && (a = h, f = Ob(), f !== r && (M = a, f = Hc()), a = f, a === r && (a = h, f = cd(), f !== r && (M = a, f = Yc()), a = f, a === r && (a = h, f = ld(), f !== r && (M = a, f = Zc()), a = f, a === r && (a = h, f = fd(), f !== r && (M = a, f = Xc()), a = f, a === r && (a = h, f = Cb(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = jn(), b !== r ? (C(), x = vt(), x !== r ? (M = a, a = Jc(b)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)))))))), a;
|
|
23128
23128
|
}
|
|
23129
23129
|
function Z9() {
|
|
23130
23130
|
let a, f, d, b, x, V, le, Se, _n;
|
|
@@ -23144,7 +23144,7 @@ function Qx(t, e) {
|
|
|
23144
23144
|
}
|
|
23145
23145
|
function Q0() {
|
|
23146
23146
|
let a, f;
|
|
23147
|
-
return a = h, f = dd(), f === r && (f = md(), f === r && (f = pd(), f === r && (f = gd(), f === r && (f = _d(), f === r && (f =
|
|
23147
|
+
return a = h, f = dd(), f === r && (f = md(), f === r && (f = pd(), f === r && (f = gd(), f === r && (f = _d(), f === r && (f = Wn(), f === r && (f = Ib(), f === r && (f = kb(), f === r && (f = Db(), f === r && (f = $b(), f === r && (f = Fb())))))))))), f !== r && (M = a, f = af(f)), a = f, a;
|
|
23148
23148
|
}
|
|
23149
23149
|
function Q9() {
|
|
23150
23150
|
let a;
|
|
@@ -23152,15 +23152,15 @@ function Qx(t, e) {
|
|
|
23152
23152
|
}
|
|
23153
23153
|
function K9() {
|
|
23154
23154
|
let a, f, d;
|
|
23155
|
-
return a = h, f = ld(), f !== r ? (C(), d =
|
|
23155
|
+
return a = h, f = ld(), f !== r ? (C(), d = oi(), d !== r ? (M = a, a = uf(d)) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23156
23156
|
}
|
|
23157
23157
|
function eb() {
|
|
23158
23158
|
let a, f, d;
|
|
23159
|
-
return a = h, f = fd(), f !== r ? (C(), d =
|
|
23159
|
+
return a = h, f = fd(), f !== r ? (C(), d = oi(), d !== r ? (M = a, a = lf(d)) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23160
23160
|
}
|
|
23161
23161
|
function tb() {
|
|
23162
23162
|
let a, f, d, b, x;
|
|
23163
|
-
return a = h, f = hd(), f !== r ? (C(), d = t.charAt(h),
|
|
23163
|
+
return a = h, f = hd(), f !== r ? (C(), d = t.charAt(h), us.test(d) ? h++ : (d = r, P === 0 && q(ls)), d !== r ? (C(), b = oi(), b !== r ? (C(), x = K0(), x !== r ? (M = a, a = cf(d, b, x)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r), a === r && (a = h, f = hd(), f !== r ? (C(), d = oi(), d !== r ? (C(), b = K0(), b !== r ? (M = a, a = ff(d, b)) : (h = a, a = r)) : (h = a, a = r)) : (h = a, a = r)), a;
|
|
23164
23164
|
}
|
|
23165
23165
|
function K0() {
|
|
23166
23166
|
let a, f, d, b;
|
|
@@ -23168,31 +23168,31 @@ function Qx(t, e) {
|
|
|
23168
23168
|
}
|
|
23169
23169
|
function rb() {
|
|
23170
23170
|
let a, f, d, b, x;
|
|
23171
|
-
return a = h, f =
|
|
23171
|
+
return a = h, f = ii(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = So(), b !== r ? (C(), x = vt(), x !== r ? (M = a, a = df(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 = mf(f)), a = f), a;
|
|
23172
23172
|
}
|
|
23173
23173
|
function nb() {
|
|
23174
23174
|
let a, f, d, b, x, V, le;
|
|
23175
|
-
return a = h, f =
|
|
23175
|
+
return a = h, f = ii(), f !== r && (M = a, f = pf(f)), a = f, a === r && (a = h, f = Wn(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = So(), b !== r ? (C(), x = gn(), x !== r ? (C(), V = vo(), V !== r ? (C(), le = vt(), le !== r ? (M = a, a = gf(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 = So(), b !== r ? (C(), x = vt(), x !== r ? (M = a, a = _f(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 = yf()), a = f))), a;
|
|
23176
23176
|
}
|
|
23177
23177
|
function sb() {
|
|
23178
23178
|
let a, f, d, b, x, V, le;
|
|
23179
|
-
return a = h, f =
|
|
23179
|
+
return a = h, f = ii(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = vo(), b !== r ? (C(), x = vt(), x !== r ? (M = a, a = bf(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 = wf(f)), a = f, a === r && (a = h, f = Wn(), f !== r ? (C(), d = wt(), d !== r ? (C(), b = So(), b !== r ? (C(), x = gn(), x !== r ? (C(), V = vo(), V !== r ? (C(), le = vt(), le !== r ? (M = a, a = vf(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 = Sf(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 = Nf()), a = f)))), a;
|
|
23180
23180
|
}
|
|
23181
|
-
function
|
|
23181
|
+
function ii() {
|
|
23182
23182
|
let a, f;
|
|
23183
23183
|
return a = h, f = pd(), f !== r && (M = a, f = Ef()), a = f, a === r && (a = h, f = gd(), f !== r && (M = a, f = xf()), a = f, a === r && (a = h, f = _d(), f !== r && (M = a, f = Tf()), a = f, a === r && (a = h, f = md(), f !== r && (M = a, f = Pf()), a = f, a === r && (a = h, f = dd(), f !== r && (M = a, f = lo()), a = f)))), a;
|
|
23184
23184
|
}
|
|
23185
23185
|
function vo() {
|
|
23186
23186
|
let a, f;
|
|
23187
|
-
return a = h, f =
|
|
23187
|
+
return a = h, f = jn(), f !== r && (M = a, f = De(f)), a = f, a;
|
|
23188
23188
|
}
|
|
23189
23189
|
function So() {
|
|
23190
23190
|
let a, f;
|
|
23191
|
-
return a = h, f =
|
|
23191
|
+
return a = h, f = jn(), f !== r && (M = a, f = pn(f)), a = f, a;
|
|
23192
23192
|
}
|
|
23193
23193
|
function ib() {
|
|
23194
23194
|
let a, f, d;
|
|
23195
|
-
return a = h, f = cd(), f !== r ? (C(), d =
|
|
23195
|
+
return a = h, f = cd(), f !== r ? (C(), d = oi(), d !== r ? (M = a, a = Qe(d)) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23196
23196
|
}
|
|
23197
23197
|
function ob() {
|
|
23198
23198
|
let a, f;
|
|
@@ -23202,7 +23202,7 @@ function Qx(t, e) {
|
|
|
23202
23202
|
let a, f;
|
|
23203
23203
|
return a = h, f = pb(), f !== r && (M = a, f = Lf()), a = f, a === r && (a = h, f = gb(), f !== r && (M = a, f = Mf()), a = f), a;
|
|
23204
23204
|
}
|
|
23205
|
-
function
|
|
23205
|
+
function oi() {
|
|
23206
23206
|
let a;
|
|
23207
23207
|
return a = Wf(), a === r && (a = jf()), a;
|
|
23208
23208
|
}
|
|
@@ -23227,7 +23227,7 @@ function Qx(t, e) {
|
|
|
23227
23227
|
else h = a, a = r;
|
|
23228
23228
|
if (a === r) if (a = h, f = Po(), f !== r) if (C(), d = Fe(), d !== r) {
|
|
23229
23229
|
for (C(), b = [], x = h, V = Eo(), V !== r ? (le = C(), x = V) : (h = x, x = r); x !== r; ) b.push(x), x = h, V = Eo(), V !== r ? (le = C(), x = V) : (h = x, x = r);
|
|
23230
|
-
x = ed(), x !== r ? (V = C(), le = Ao(), le !== r ? (M = a, a =
|
|
23230
|
+
x = ed(), x !== r ? (V = C(), le = Ao(), le !== r ? (M = a, a = ni(d, b, x)) : (h = a, a = r)) : (h = a, a = r);
|
|
23231
23231
|
} else h = a, a = r;
|
|
23232
23232
|
else h = a, a = r;
|
|
23233
23233
|
return a;
|
|
@@ -23266,17 +23266,17 @@ function Qx(t, e) {
|
|
|
23266
23266
|
}
|
|
23267
23267
|
function xo() {
|
|
23268
23268
|
let a, f, d;
|
|
23269
|
-
return a =
|
|
23269
|
+
return a = jn(), a === r && (a = h, f = t.charAt(h), us.test(f) ? h++ : (f = r, P === 0 && q(ls)), f !== r ? (d = jn(), d !== r ? (M = a, a = Lt(f, d)) : (h = a, a = r)) : (h = a, a = r)), a;
|
|
23270
23270
|
}
|
|
23271
23271
|
function td() {
|
|
23272
23272
|
let a, f, d;
|
|
23273
|
-
return a = h, t.charCodeAt(h) === 46 ? (f = W, h++) : (f = r, P === 0 && q(il)), f !== r ? (d =
|
|
23273
|
+
return a = h, t.charCodeAt(h) === 46 ? (f = W, h++) : (f = r, P === 0 && q(il)), f !== r ? (d = jn(), d === r && (d = null), M = a, a = I(d)) : (h = a, a = r), a;
|
|
23274
23274
|
}
|
|
23275
23275
|
function rd() {
|
|
23276
23276
|
let a, f, d;
|
|
23277
|
-
return a = h, f = db(), f !== r ? (d =
|
|
23277
|
+
return a = h, f = db(), f !== r ? (d = jn(), d !== r ? (M = a, a = _t(f, d)) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23278
23278
|
}
|
|
23279
|
-
function
|
|
23279
|
+
function jn() {
|
|
23280
23280
|
let a, f, d;
|
|
23281
23281
|
if (a = h, f = [], d = nd(), d !== r) for (; d !== r; ) f.push(d), d = nd();
|
|
23282
23282
|
else f = r;
|
|
@@ -23288,7 +23288,7 @@ function Qx(t, e) {
|
|
|
23288
23288
|
}
|
|
23289
23289
|
function db() {
|
|
23290
23290
|
let a, f, d;
|
|
23291
|
-
return a = h, f = t.charAt(h), ju.test(f) ? h++ : (f = r, P === 0 && q(al)), f !== r ? (d = t.charAt(h),
|
|
23291
|
+
return a = h, f = t.charAt(h), ju.test(f) ? h++ : (f = r, P === 0 && q(al)), f !== r ? (d = t.charAt(h), us.test(d) ? h++ : (d = r, P === 0 && q(ls)), d === r && (d = null), M = a, a = ft(f, d)) : (h = a, a = r), a;
|
|
23292
23292
|
}
|
|
23293
23293
|
function mb() {
|
|
23294
23294
|
let a, f, d, b;
|
|
@@ -23368,7 +23368,7 @@ function Qx(t, e) {
|
|
|
23368
23368
|
}
|
|
23369
23369
|
function fd() {
|
|
23370
23370
|
let a, f, d, b;
|
|
23371
|
-
return a = h, f = t.substr(h, 4), f.toLowerCase() ===
|
|
23371
|
+
return a = h, f = t.substr(h, 4), f.toLowerCase() === Yr ? h += 4 : (f = r, P === 0 && q(Pl)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a = Mr()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23372
23372
|
}
|
|
23373
23373
|
function Sb() {
|
|
23374
23374
|
let a, f, d, b;
|
|
@@ -23376,15 +23376,15 @@ function Qx(t, e) {
|
|
|
23376
23376
|
}
|
|
23377
23377
|
function Nb() {
|
|
23378
23378
|
let a, f, d, b;
|
|
23379
|
-
return a = h, f = t.substr(h, 8), f.toLowerCase() ===
|
|
23379
|
+
return a = h, f = t.substr(h, 8), f.toLowerCase() === rn ? h += 8 : (f = r, P === 0 && q(Ll)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a = N()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23380
23380
|
}
|
|
23381
23381
|
function Eb() {
|
|
23382
23382
|
let a, f, d, b;
|
|
23383
|
-
return a = h, f = t.substr(h, 4), f.toLowerCase() ===
|
|
23383
|
+
return a = h, f = t.substr(h, 4), f.toLowerCase() === as ? h += 4 : (f = r, P === 0 && q(Ml)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a = k()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23384
23384
|
}
|
|
23385
23385
|
function xb() {
|
|
23386
23386
|
let a, f, d, b;
|
|
23387
|
-
return a = h, f = t.substr(h, 4), f.toLowerCase() ===
|
|
23387
|
+
return a = h, f = t.substr(h, 4), f.toLowerCase() === nn ? h += 4 : (f = r, P === 0 && q(Ol)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a = G()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23388
23388
|
}
|
|
23389
23389
|
function Tb() {
|
|
23390
23390
|
let a, f, d, b;
|
|
@@ -23392,7 +23392,7 @@ function Qx(t, e) {
|
|
|
23392
23392
|
}
|
|
23393
23393
|
function Pb() {
|
|
23394
23394
|
let a, f, d, b;
|
|
23395
|
-
return a = h, f = t.substr(h, 7), f.toLowerCase() ===
|
|
23395
|
+
return a = h, f = t.substr(h, 7), f.toLowerCase() === ti ? h += 7 : (f = r, P === 0 && q(Rl)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (M = a, a = ie()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23396
23396
|
}
|
|
23397
23397
|
function Ab() {
|
|
23398
23398
|
let a, f, d, b;
|
|
@@ -23450,7 +23450,7 @@ function Qx(t, e) {
|
|
|
23450
23450
|
let a, f, d, b;
|
|
23451
23451
|
return a = h, f = t.substr(h, 6), f.toLowerCase() === Lu ? h += 6 : (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 = _9()) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23452
23452
|
}
|
|
23453
|
-
function
|
|
23453
|
+
function Wn() {
|
|
23454
23454
|
let a, f, d, b;
|
|
23455
23455
|
return a = h, f = t.substr(h, 6), f.toLowerCase() === Mu ? h += 6 : (f = r, P === 0 && q(Yl)), 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;
|
|
23456
23456
|
}
|
|
@@ -23488,7 +23488,7 @@ function Qx(t, e) {
|
|
|
23488
23488
|
}
|
|
23489
23489
|
function gn() {
|
|
23490
23490
|
let a;
|
|
23491
|
-
return t.charCodeAt(h) === 44 ? (a =
|
|
23491
|
+
return t.charCodeAt(h) === 44 ? (a = ri, h++) : (a = r, P === 0 && q(nc)), a;
|
|
23492
23492
|
}
|
|
23493
23493
|
function wt() {
|
|
23494
23494
|
let a;
|
|
@@ -23540,12 +23540,12 @@ function Qx(t, e) {
|
|
|
23540
23540
|
function Gb(a) {
|
|
23541
23541
|
/^(\d{4})-(\d{1,2})-(\d{1,2})$|^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2}):(\d{1,2})(\.[0-9]+)?$|^(\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})$|^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2})?[ ]{0,1}(\+|\-)(\d{1,2}):(\d{1,2})$|^(\d{4})-(\d{1,2})-(\d{1,2}) (\d{1,2}):(\d{1,2})$/.test(a) !== !0 && $f("Date literal is invalid");
|
|
23542
23542
|
}
|
|
23543
|
-
|
|
23544
|
-
const qf =
|
|
23543
|
+
si = i();
|
|
23544
|
+
const qf = si !== r && h === t.length;
|
|
23545
23545
|
function Sd() {
|
|
23546
|
-
throw
|
|
23546
|
+
throw si !== r && h < t.length && q(L9()), O9(_o, Or < t.length ? A9(Or) : null, Or < t.length ? yo(Or, Or + 1) : yo(Or, Or));
|
|
23547
23547
|
}
|
|
23548
|
-
return e.peg$library ? { peg$result:
|
|
23548
|
+
return e.peg$library ? { peg$result: si, peg$currPos: h, peg$FAILED: r, peg$maxFailExpected: _o, peg$maxFailPos: Or, peg$success: qf, peg$throw: qf ? void 0 : Sd } : qf ? si : void Sd();
|
|
23549
23549
|
}
|
|
23550
23550
|
class Kx {
|
|
23551
23551
|
static parse(e) {
|
|
@@ -23671,7 +23671,7 @@ function Jh({ type: t, period: e, precision: r, secondary: n }) {
|
|
|
23671
23671
|
function nT({ type: t, size: e, withtimezone: r }) {
|
|
23672
23672
|
return JSON.stringify({ type: t, size: e, withtimezone: r });
|
|
23673
23673
|
}
|
|
23674
|
-
const z2 = "feature", V2 = "lookups", j2 = "attributeAdapter", W2 = "fieldsIndex",
|
|
23674
|
+
const z2 = "feature", V2 = "lookups", j2 = "attributeAdapter", W2 = "fieldsIndex", Ns = "timeZone", G2 = "currentUser";
|
|
23675
23675
|
class sT {
|
|
23676
23676
|
constructor(e) {
|
|
23677
23677
|
this._parseTree = e, this._staticData = /* @__PURE__ */ Object.create(null), this._nextStaticDataId = 0, this._tempVars = /* @__PURE__ */ new Set(), this._nextTempVarId = 0;
|
|
@@ -23681,7 +23681,7 @@ class sT {
|
|
|
23681
23681
|
${this._tempVars.size > 0 ? `var ${Array.from(this._tempVars).join(", ")};` : ""}
|
|
23682
23682
|
return this.convertInterval(${e});
|
|
23683
23683
|
`;
|
|
23684
|
-
return new Function(z2, V2, j2, W2,
|
|
23684
|
+
return new Function(z2, V2, j2, W2, Ns, G2, r).bind(new tT(this._staticData));
|
|
23685
23685
|
}
|
|
23686
23686
|
_storeStaticData(e) {
|
|
23687
23687
|
const r = "static$" + this._nextStaticDataId++;
|
|
@@ -23768,7 +23768,7 @@ class sT {
|
|
|
23768
23768
|
case "+":
|
|
23769
23769
|
case "/":
|
|
23770
23770
|
case "||":
|
|
23771
|
-
return Ue("calculate", Nt(e.operator), this._compileNode(e.left), this._compileNode(e.right),
|
|
23771
|
+
return Ue("calculate", Nt(e.operator), this._compileNode(e.left), this._compileNode(e.right), Ns);
|
|
23772
23772
|
default:
|
|
23773
23773
|
throw new R("UnsupportedOperator", { operator: e.operator });
|
|
23774
23774
|
}
|
|
@@ -23796,7 +23796,7 @@ class sT {
|
|
|
23796
23796
|
return Ue("evaluateTimestamp", Nt(e.value), Nt("unknown"));
|
|
23797
23797
|
}
|
|
23798
23798
|
case "current-time":
|
|
23799
|
-
return e.mode === "date" ? Ue("currentDate",
|
|
23799
|
+
return e.mode === "date" ? Ue("currentDate", Ns) : e.mode === "time" ? Ue("currentTime", Ns) : Ue("currentTimestamp", Ns);
|
|
23800
23800
|
case "current-user":
|
|
23801
23801
|
return G2;
|
|
23802
23802
|
case "column-reference":
|
|
@@ -23804,7 +23804,7 @@ class sT {
|
|
|
23804
23804
|
case "data-type":
|
|
23805
23805
|
return nT(e.value);
|
|
23806
23806
|
case "function":
|
|
23807
|
-
return Ue("evaluateFunction", Nt(e.name), this._compileNode(e.args),
|
|
23807
|
+
return Ue("evaluateFunction", Nt(e.name), this._compileNode(e.args), Ns);
|
|
23808
23808
|
}
|
|
23809
23809
|
throw new R("UnsupportedSyntax", { node: e.type });
|
|
23810
23810
|
}
|
|
@@ -23828,8 +23828,8 @@ class k0 {
|
|
|
23828
23828
|
case "time-only":
|
|
23829
23829
|
return Nr(e) ? pr.fromDateJS(e).toStorageString() : Ze(e) ? pr.fromDateTime(e).toStorageString() : Je(e) ? pr.fromSqlTimeStampOffset(e).toStorageString() : et(e) ? e.toStorageString() : e;
|
|
23830
23830
|
case "timestamp-offset":
|
|
23831
|
-
if (Nr(e)) return
|
|
23832
|
-
if (Ze(e)) return
|
|
23831
|
+
if (Nr(e)) return Hr.fromJSDate(e).toStorageFormat();
|
|
23832
|
+
if (Ze(e)) return Hr.fromDateTime(e).toStorageFormat();
|
|
23833
23833
|
if (Je(e)) return e.toStorageFormat();
|
|
23834
23834
|
}
|
|
23835
23835
|
return e;
|
|
@@ -24097,7 +24097,7 @@ function d9(t, e, r, n) {
|
|
|
24097
24097
|
return pr.fromReader(s);
|
|
24098
24098
|
case "esriFieldTypeTimestampOffset":
|
|
24099
24099
|
case "timestamp-offset":
|
|
24100
|
-
return new
|
|
24100
|
+
return new Hr(s);
|
|
24101
24101
|
}
|
|
24102
24102
|
return s;
|
|
24103
24103
|
}
|
|
@@ -24201,7 +24201,7 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
24201
24201
|
function ct() {
|
|
24202
24202
|
return { a: Wu };
|
|
24203
24203
|
}
|
|
24204
|
-
async function
|
|
24204
|
+
async function Yr() {
|
|
24205
24205
|
function p(G, X) {
|
|
24206
24206
|
return A = G.exports, y = A.s, ee(), Y(), A;
|
|
24207
24207
|
}
|
|
@@ -24220,7 +24220,7 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
24220
24220
|
var mn = (p) => {
|
|
24221
24221
|
for (; p.length > 0; ) p.shift()(s);
|
|
24222
24222
|
};
|
|
24223
|
-
function
|
|
24223
|
+
function rn(p, N = "i8") {
|
|
24224
24224
|
switch (N.endsWith("*") && (N = "*"), N) {
|
|
24225
24225
|
case "i1":
|
|
24226
24226
|
case "i8":
|
|
@@ -24241,9 +24241,9 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
24241
24241
|
re(`invalid type for getValue: ${N}`);
|
|
24242
24242
|
}
|
|
24243
24243
|
}
|
|
24244
|
-
var
|
|
24244
|
+
var as = typeof TextDecoder < "u" ? new TextDecoder() : void 0, nn = (p, N = 0, k = NaN) => {
|
|
24245
24245
|
for (var G = N + k, X = N; p[X] && !(X >= G); ) ++X;
|
|
24246
|
-
if (X - N > 16 && p.buffer &&
|
|
24246
|
+
if (X - N > 16 && p.buffer && as) return as.decode(p.subarray(N, X));
|
|
24247
24247
|
for (var ie = ""; N < X; ) {
|
|
24248
24248
|
var me = p[N++];
|
|
24249
24249
|
if (128 & me) {
|
|
@@ -24259,8 +24259,8 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
24259
24259
|
} else ie += String.fromCharCode(me);
|
|
24260
24260
|
}
|
|
24261
24261
|
return ie;
|
|
24262
|
-
}, Ct = (p, N) => p ?
|
|
24263
|
-
function
|
|
24262
|
+
}, Ct = (p, N) => p ? nn(S, p, N) : "";
|
|
24263
|
+
function ti(p, N, k) {
|
|
24264
24264
|
return 0;
|
|
24265
24265
|
}
|
|
24266
24266
|
var gu = (p, N, k) => {
|
|
@@ -24328,10 +24328,10 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
24328
24328
|
if (Iu(ie)) return !0;
|
|
24329
24329
|
}
|
|
24330
24330
|
return !1;
|
|
24331
|
-
},
|
|
24331
|
+
}, ri = {}, Du = () => u, Vn = () => {
|
|
24332
24332
|
if (!Vn.strings) {
|
|
24333
24333
|
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", _: Du() };
|
|
24334
|
-
for (var N in
|
|
24334
|
+
for (var N in ri) ri[N] === void 0 ? delete p[N] : p[N] = ri[N];
|
|
24335
24335
|
var k = [];
|
|
24336
24336
|
for (var N in p) k.push(`${N}=${p[N]}`);
|
|
24337
24337
|
Vn.strings = k;
|
|
@@ -24350,7 +24350,7 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
24350
24350
|
G <= 127 ? N++ : G <= 2047 ? N += 2 : G >= 55296 && G <= 57343 ? (N += 4, ++k) : N += 3;
|
|
24351
24351
|
}
|
|
24352
24352
|
return N;
|
|
24353
|
-
},
|
|
24353
|
+
}, us = (p, N) => {
|
|
24354
24354
|
var k = Vn();
|
|
24355
24355
|
D[p >> 2] = k.length;
|
|
24356
24356
|
var G = 0;
|
|
@@ -24362,7 +24362,7 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
24362
24362
|
}
|
|
24363
24363
|
var Xi = [null, [], []], zu = (p, N) => {
|
|
24364
24364
|
var k = Xi[p];
|
|
24365
|
-
N === 0 || N === 10 ? ((p === 1 ? U : F)(
|
|
24365
|
+
N === 0 || N === 10 ? ((p === 1 ? U : F)(nn(k)), k.length = 0) : k.push(N);
|
|
24366
24366
|
}, Ji = (p, N, k, G) => {
|
|
24367
24367
|
for (var X = 0, ie = 0; ie < k; ie++) {
|
|
24368
24368
|
var me = D[N >> 2], oe = D[N + 4 >> 2];
|
|
@@ -24375,10 +24375,10 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
24375
24375
|
var G = Zi(p) + 1, X = new Array(G);
|
|
24376
24376
|
return qi(p, X, 0, X.length), X;
|
|
24377
24377
|
}, ju = [];
|
|
24378
|
-
s.getValue =
|
|
24379
|
-
var Wu = { c:
|
|
24378
|
+
s.getValue = rn, s.UTF8ToString = Ct;
|
|
24379
|
+
var Wu = { c: ti, o: gu, i: _u, d: yu, m: bu, l: wu, n: vu, j: Su, p: Mu, q: Ou, r: Cu, k: ku, f: Yi, g: us, a: $u, h: Fu, e: Uu, b: Ji }, A = await Yr();
|
|
24380
24380
|
A.t, s._webidl_free = A.u, s._webidl_malloc = A.v;
|
|
24381
|
-
var Gu = s._emscripten_bind_PeObject_getCode_0 = A.w, Bu = s._emscripten_bind_PeObject_getName_1 = A.x, qu = s._emscripten_bind_PeObject_getType_0 = A.y, Hu = s._emscripten_bind_PeCoordsys_isEqual_1 = A.z, Yu = s._emscripten_bind_PeCoordsys_getCode_0 = A.A, Zu = s._emscripten_bind_PeCoordsys_getName_1 = A.B, Xu = s._emscripten_bind_PeCoordsys_getType_0 = A.C, Ju = s._emscripten_bind_PeUnit_getUnitFactor_0 = A.D,
|
|
24381
|
+
var Gu = s._emscripten_bind_PeObject_getCode_0 = A.w, Bu = s._emscripten_bind_PeObject_getName_1 = A.x, qu = s._emscripten_bind_PeObject_getType_0 = A.y, Hu = s._emscripten_bind_PeCoordsys_isEqual_1 = A.z, Yu = s._emscripten_bind_PeCoordsys_getCode_0 = A.A, Zu = s._emscripten_bind_PeCoordsys_getName_1 = A.B, Xu = s._emscripten_bind_PeCoordsys_getType_0 = A.C, Ju = s._emscripten_bind_PeUnit_getUnitFactor_0 = A.D, ls = s._emscripten_bind_PeUnit_getCode_0 = A.E, Qu = s._emscripten_bind_PeUnit_getName_1 = A.F, Ku = s._emscripten_bind_PeUnit_getType_0 = A.G, el = s._emscripten_bind_VoidPtr___destroy___0 = A.H, tl = s._emscripten_bind_PeAngunit_getCode_0 = A.I, Qi = s._emscripten_bind_PeAngunit_getName_1 = A.J, rl = s._emscripten_bind_PeAngunit_getType_0 = A.K, nl = s._emscripten_bind_PeAngunit_getUnitFactor_0 = A.L, Ki = s._emscripten_bind_PeDatum_getSpheroid_0 = A.M, sl = s._emscripten_bind_PeDatum_getCode_0 = A.N, eo = s._emscripten_bind_PeDatum_getName_1 = A.O, to = s._emscripten_bind_PeDatum_getType_0 = A.P, il = s._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0 = A.Q, ol = s._emscripten_bind_PeDefs_get_PE_NAME_MAX_0 = A.R, al = s._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0 = A.S, ul = s._emscripten_bind_PeDefs_get_PE_USNG_MAX_0 = A.T, ll = s._emscripten_bind_PeDefs_get_PE_DD_MAX_0 = A.U, cl = s._emscripten_bind_PeDefs_get_PE_DMS_MAX_0 = A.V, fl = s._emscripten_bind_PeDefs_get_PE_DDM_MAX_0 = A.W, hl = s._emscripten_bind_PeDefs_get_PE_UTM_MAX_0 = A.X, dl = s._emscripten_bind_PeDefs_get_PE_PARM_MAX_0 = A.Y, ml = s._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0 = A.Z, pl = s._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0 = A._, gl = s._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0 = A.$, _l = s._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0 = A.aa, yl = s._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0 = A.ba, bl = s._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0 = A.ca, wl = s._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0 = A.da, vl = s._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0 = A.ea, Sl = s._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0 = A.fa, Nl = s._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0 = A.ga, El = s._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0 = A.ha, xl = s._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0 = A.ia, Tl = s._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0 = A.ja, Pl = s._emscripten_bind_PeDefs_get_PE_PARM_X0_0 = A.ka, Al = s._emscripten_bind_PeDefs_get_PE_PARM_ND_0 = A.la, Ll = s._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0 = A.ma, Ml = s._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0 = A.na, Ol = s._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0 = A.oa, Cl = s._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0 = A.pa, Rl = s._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0 = A.qa, Il = s._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0 = A.ra, kl = s._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0 = A.sa, Dl = s._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0 = A.ta, $l = s._emscripten_bind_PeDouble_PeDouble_1 = A.ua, Fl = s._emscripten_bind_PeDouble_get_val_0 = A.va, Ul = s._emscripten_bind_PeDouble_set_val_1 = A.wa, zl = s._emscripten_bind_PeDouble___destroy___0 = A.xa, Vl = s._emscripten_bind_PeFactory_initialize_1 = A.ya, jl = s._emscripten_bind_PeFactory_factoryByType_2 = A.za, Wl = s._emscripten_bind_PeFactory_fromString_2 = A.Aa, Gl = s._emscripten_bind_PeFactory_getCode_1 = A.Ba, Bl = s._emscripten_bind_PeGCSExtent_PeGCSExtent_6 = A.Ca, ql = s._emscripten_bind_PeGCSExtent_getLLon_0 = A.Da, Hl = s._emscripten_bind_PeGCSExtent_getSLat_0 = A.Ea, Yl = s._emscripten_bind_PeGCSExtent_getRLon_0 = A.Fa, Zl = s._emscripten_bind_PeGCSExtent_getNLat_0 = A.Ga, Xl = s._emscripten_bind_PeGCSExtent___destroy___0 = A.Ha, Jl = s._emscripten_bind_PeGeogcs_Delete_0 = A.Ia, Ql = s._emscripten_bind_PeGeogcs_cloneAlterUnits_1 = A.Ja, Kl = s._emscripten_bind_PeGeogcs_getDatum_0 = A.Ka, ec = s._emscripten_bind_PeGeogcs_getPrimem_0 = A.La, tc = s._emscripten_bind_PeGeogcs_getUnit_0 = A.Ma, rc = s._emscripten_bind_PeGeogcs_isEqual_1 = A.Na, nc = s._emscripten_bind_PeGeogcs_getCode_0 = A.Oa, sc = s._emscripten_bind_PeGeogcs_getName_1 = A.Pa, ic = s._emscripten_bind_PeGeogcs_getType_0 = A.Qa, oc = s._emscripten_bind_PeGeogtran_isEqual_1 = A.Ra, ro = s._emscripten_bind_PeGeogtran_getGeogcs1_0 = A.Sa, no = s._emscripten_bind_PeGeogtran_getGeogcs2_0 = A.Ta, D0 = s._emscripten_bind_PeGeogtran_getParameters_0 = A.Ua, ac = s._emscripten_bind_PeGeogtran_loadConstants_0 = A.Va, so = s._emscripten_bind_PeGeogtran_getCode_0 = A.Wa, uc = s._emscripten_bind_PeGeogtran_getName_1 = A.Xa, io = s._emscripten_bind_PeGeogtran_getType_0 = A.Ya, lc = s._emscripten_bind_PeGTlistExtended_getGTlist_6 = A.Za, cc = s._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0 = A._a, fc = s._emscripten_bind_PeGTlistExtendedEntry_getEntries_0 = A.$a, oo = s._emscripten_bind_PeGTlistExtendedEntry_getSteps_0 = A.ab, hc = s._emscripten_bind_PeGTlistExtendedEntry_Delete_1 = A.bb, dc = s._emscripten_bind_PeGTlistExtendedGTs_getDirection_0 = A.cb, mc = s._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0 = A.db, pc = s._emscripten_bind_PeHorizon_getNump_0 = A.eb, gc = s._emscripten_bind_PeHorizon_getKind_0 = A.fb, _c = s._emscripten_bind_PeHorizon_getInclusive_0 = A.gb, yc = s._emscripten_bind_PeHorizon_getSize_0 = A.hb, bc = s._emscripten_bind_PeHorizon_getCoord_0 = A.ib, wc = s._emscripten_bind_PeInteger_PeInteger_1 = A.jb, vc = s._emscripten_bind_PeInteger_get_val_0 = A.kb, Sc = s._emscripten_bind_PeInteger_set_val_1 = A.lb, Nc = s._emscripten_bind_PeInteger___destroy___0 = A.mb, Ec = s._emscripten_bind_PeLineType_geodetic_distance_10 = A.nb, ao = s._emscripten_bind_PeLineType_geodetic_coordinate_9 = A.ob, xc = s._emscripten_bind_PeLineType_geodesic_coordinate_8 = A.pb, uo = s._emscripten_bind_PeLineType_great_elliptic_distance_9 = A.qb, Tc = s._emscripten_bind_PeMath_phi_to_eta_2 = A.rb, Pc = s._emscripten_bind_PeMath_eta_to_phi_2 = A.sb, Ac = s._emscripten_bind_PeMath_phi_to_phig_2 = A.tb, Lc = s._emscripten_bind_PeMath_q_3 = A.ub, $0 = s._emscripten_bind_PeMath_q90_2 = A.vb, Mc = s._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0 = A.wb, Oc = s._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0 = A.xb, F0 = s._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0 = A.yb, Cc = s._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0 = A.zb, Rc = s._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0 = A.Ab, Ic = s._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0 = A.Bb, kc = s._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0 = A.Cb, Dc = s._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0 = A.Db, $c = s._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0 = A.Eb, Fc = s._emscripten_bind_PeParameter_getValue_0 = A.Fb, Uc = s._emscripten_bind_PeParameter_getCode_0 = A.Gb, zc = s._emscripten_bind_PeParameter_getName_1 = A.Hb, Vc = s._emscripten_bind_PeParameter_getType_0 = A.Ib, jc = s._emscripten_bind_PePCSInfo_getCentralMeridian_0 = A.Jb, Wc = s._emscripten_bind_PePCSInfo_getDomainMinx_0 = A.Kb, Gc = s._emscripten_bind_PePCSInfo_getDomainMiny_0 = A.Lb, Bc = s._emscripten_bind_PePCSInfo_getDomainMaxx_0 = A.Mb, qc = s._emscripten_bind_PePCSInfo_getDomainMaxy_0 = A.Nb, Hc = s._emscripten_bind_PePCSInfo_getNorthPoleLocation_0 = A.Ob, Yc = s._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0 = A.Pb, Zc = s._emscripten_bind_PePCSInfo_getSouthPoleLocation_0 = A.Qb, Xc = s._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0 = A.Rb, Jc = s._emscripten_bind_PePCSInfo_isDensificationNeeded_0 = A.Sb, Qc = s._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0 = A.Tb, Kc = s._emscripten_bind_PePCSInfo_isPannableRectangle_0 = A.Ub, ef = s._emscripten_bind_PePCSInfo_generate_2 = A.Vb, tf = s._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0 = A.Wb, rf = s._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0 = A.Xb, nf = s._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0 = A.Yb, sf = s._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0 = A.Zb, of = s._emscripten_bind_PePrimem_getLongitude_0 = A._b, af = s._emscripten_bind_PePrimem_getCode_0 = A.$b, uf = s._emscripten_bind_PePrimem_getName_1 = A.ac, lf = s._emscripten_bind_PePrimem_getType_0 = A.bc, cf = s._emscripten_bind_PeProjcs_Delete_0 = A.cc, ff = s._emscripten_bind_PeProjcs_getGeogcs_0 = A.dc, hf = s._emscripten_bind_PeProjcs_getProjection_0 = A.ec, df = s._emscripten_bind_PeProjcs_getParameters_0 = A.fc, mf = s._emscripten_bind_PeProjcs_getUnit_0 = A.gc, pf = s._emscripten_bind_PeProjcs_loadConstants_0 = A.hc, gf = s._emscripten_bind_PeProjcs_horizonGcsGenerate_0 = A.ic, _f = s._emscripten_bind_PeProjcs_horizonPcsGenerate_0 = A.jc, yf = s._emscripten_bind_PeProjcs_isEqual_1 = A.kc, bf = s._emscripten_bind_PeProjcs_getCode_0 = A.lc, wf = s._emscripten_bind_PeProjcs_getName_1 = A.mc, vf = s._emscripten_bind_PeProjcs_getType_0 = A.nc, Sf = s._emscripten_bind_PeSpheroid_getAxis_0 = A.oc, Nf = s._emscripten_bind_PeSpheroid_getFlattening_0 = A.pc, Ef = s._emscripten_bind_PeSpheroid_getCode_0 = A.qc, xf = s._emscripten_bind_PeSpheroid_getName_1 = A.rc, Tf = s._emscripten_bind_PeSpheroid_getType_0 = A.sc, Pf = s._emscripten_bind_PeVersion_version_string_0 = A.tc;
|
|
24382
24382
|
function lo() {
|
|
24383
24383
|
function p() {
|
|
24384
24384
|
s.calledRun = !0, B || (ye(), e(s));
|
|
@@ -24425,7 +24425,7 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
24425
24425
|
k /= N.BYTES_PER_ELEMENT;
|
|
24426
24426
|
for (var G = 0; G < p.length; G++) N[k + G] = p[G];
|
|
24427
24427
|
} };
|
|
24428
|
-
function
|
|
24428
|
+
function ni(p) {
|
|
24429
24429
|
if (typeof p == "string") {
|
|
24430
24430
|
var N = Vu(p), k = he.alloc(N, v);
|
|
24431
24431
|
return he.copy(N, v, k), k;
|
|
@@ -24574,7 +24574,7 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
24574
24574
|
return Ju(p);
|
|
24575
24575
|
}, gt.prototype.getCode = gt.prototype.getCode = function() {
|
|
24576
24576
|
var p = this.ptr;
|
|
24577
|
-
return
|
|
24577
|
+
return ls(p);
|
|
24578
24578
|
}, gt.prototype.getName = gt.prototype.getName = function(p) {
|
|
24579
24579
|
var N = this.ptr;
|
|
24580
24580
|
return he.prepare(), typeof p == "object" && (p = Qt(p)), Ct(Qu(N, p));
|
|
@@ -24714,11 +24714,11 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
24714
24714
|
var p = this.ptr;
|
|
24715
24715
|
zl(p);
|
|
24716
24716
|
}, Rt.prototype = Object.create(De.prototype), Rt.prototype.constructor = Rt, Rt.prototype.__class__ = Rt, Rt.__cache__ = {}, s.PeFactory = Rt, Rt.prototype.initialize = Rt.prototype.initialize = function(p) {
|
|
24717
|
-
he.prepare(), p = p && typeof p == "object" ? p.ptr :
|
|
24717
|
+
he.prepare(), p = p && typeof p == "object" ? p.ptr : ni(p), Vl(p);
|
|
24718
24718
|
}, Rt.prototype.factoryByType = Rt.prototype.factoryByType = function(p, N) {
|
|
24719
24719
|
return p && typeof p == "object" && (p = p.ptr), N && typeof N == "object" && (N = N.ptr), Qe(jl(p, N), Be);
|
|
24720
24720
|
}, Rt.prototype.fromString = Rt.prototype.fromString = function(p, N) {
|
|
24721
|
-
return he.prepare(), p && typeof p == "object" && (p = p.ptr), N = N && typeof N == "object" ? N.ptr :
|
|
24721
|
+
return he.prepare(), p && typeof p == "object" && (p = p.ptr), N = N && typeof N == "object" ? N.ptr : ni(N), Qe(Wl(p, N), Be);
|
|
24722
24722
|
}, Rt.prototype.getCode = Rt.prototype.getCode = function(p) {
|
|
24723
24723
|
return p && typeof p == "object" && (p = p.ptr), Gl(p);
|
|
24724
24724
|
}, ft.prototype = Object.create(De.prototype), ft.prototype.constructor = ft, ft.prototype.__class__ = ft, ft.__cache__ = {}, s.PeGCSExtent = ft, ft.prototype.getLLon = ft.prototype.getLLon = function() {
|
|
@@ -25003,7 +25003,7 @@ var uT = /* @__PURE__ */ Object.freeze({
|
|
|
25003
25003
|
}, Mr.prototype = Object.create(De.prototype), Mr.prototype.constructor = Mr, Mr.prototype.__class__ = Mr, Mr.__cache__ = {}, s.PeVersion = Mr, Mr.prototype.version_string = Mr.prototype.version_string = function() {
|
|
25004
25004
|
var p = this.ptr;
|
|
25005
25005
|
return Ct(Pf(p));
|
|
25006
|
-
}, s.ensureCache = he, s.ensureString =
|
|
25006
|
+
}, s.ensureCache = he, s.ensureString = ni, s.ensureInt8 = Qt, s.ensureInt16 = Cf, s.ensureInt32 = Rf, s.ensureFloat32 = If, s.ensureFloat64 = kf, i;
|
|
25007
25007
|
}, cT = /* @__PURE__ */ Object.freeze({
|
|
25008
25008
|
__proto__: null,
|
|
25009
25009
|
default: lT
|