@arcgis/coding-components 6.0.0-next.5 → 6.0.0-next.7

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.
@@ -17209,38 +17209,38 @@ function _t(n) {
17209
17209
  const nv = "unknown", rv = "UTC";
17210
17210
  Intl.DateTimeFormat().resolvedOptions().timeZone;
17211
17211
  const st = globalThis, In = { ...st.esriConfig?.has };
17212
- function C(n) {
17212
+ function I(n) {
17213
17213
  return typeof In[n] == "function" ? In[n] = In[n](st) : In[n];
17214
17214
  }
17215
- C.add = (n, e, t, r) => {
17216
- (r || In[n] === void 0) && (In[n] = e), t && C(n);
17217
- }, C.cache = In, C.add("big-integer-warning-enabled", !0), C.add("esri-deprecation-warnings", !0), C.add("esri-tests-disable-screenshots", !1), C.add("esri-tests-use-full-window", !1), C.add("esri-tests-post-to-influx", !0), C.add("esri-cim-animations-enable-status", "enabled"), C.add("esri-cim-animations-spotlight", !1), C.add("esri-cim-animations-freeze-time", !1), (() => {
17218
- C.add("host-webworker", st.WorkerGlobalScope !== void 0 && self instanceof st.WorkerGlobalScope);
17215
+ I.add = (n, e, t, r) => {
17216
+ (r || In[n] === void 0) && (In[n] = e), t && I(n);
17217
+ }, I.cache = In, I.add("big-integer-warning-enabled", !0), I.add("esri-deprecation-warnings", !0), I.add("esri-tests-disable-screenshots", !1), I.add("esri-tests-use-full-window", !1), I.add("esri-tests-post-to-influx", !0), I.add("esri-cim-animations-enable-status", "enabled"), I.add("esri-cim-animations-spotlight", !1), I.add("esri-cim-animations-freeze-time", !1), (() => {
17218
+ I.add("host-webworker", st.WorkerGlobalScope !== void 0 && self instanceof st.WorkerGlobalScope);
17219
17219
  let n = typeof window < "u" && typeof location < "u" && typeof document < "u" && window.location === location && window.document === document;
17220
- if (C.add("host-browser", n), C.add("host-node", !!(typeof st.process == "object" && st.process.versions?.node && st.process.versions.v8)), C.add("dom", n), C("host-browser")) {
17220
+ if (I.add("host-browser", n), I.add("host-node", !!(typeof st.process == "object" && st.process.versions?.node && st.process.versions.v8)), I.add("dom", n), I("host-browser")) {
17221
17221
  let e = navigator, t = e.userAgent, r = e.appVersion, s = parseFloat(r);
17222
- if (C.add("wp", parseFloat(t.split("Windows Phone")[1]) || void 0), C.add("msapp", parseFloat(t.split("MSAppHost/")[1]) || void 0), C.add("khtml", r.includes("Konqueror") ? s : void 0), C.add("edge", parseFloat(t.split("Edge/")[1]) || void 0), C.add("opr", parseFloat(t.split("OPR/")[1]) || void 0), C.add("webkit", !C("wp") && !C("edge") && parseFloat(t.split("WebKit/")[1]) || void 0), C.add("chrome", !C("edge") && !C("opr") && parseFloat(t.split("Chrome/")[1]) || void 0), C.add("android", !C("wp") && parseFloat(t.split("Android ")[1]) || void 0), C.add("safari", r.includes("Safari") && !C("wp") && !C("chrome") && !C("android") && !C("edge") && !C("opr") ? parseFloat(r.split("Version/")[1]) : void 0), C.add("mac", r.includes("Macintosh")), !C("wp") && /(iPhone|iPod|iPad)/.test(t)) {
17222
+ if (I.add("wp", parseFloat(t.split("Windows Phone")[1]) || void 0), I.add("msapp", parseFloat(t.split("MSAppHost/")[1]) || void 0), I.add("khtml", r.includes("Konqueror") ? s : void 0), I.add("edge", parseFloat(t.split("Edge/")[1]) || void 0), I.add("opr", parseFloat(t.split("OPR/")[1]) || void 0), I.add("webkit", !I("wp") && !I("edge") && parseFloat(t.split("WebKit/")[1]) || void 0), I.add("chrome", !I("edge") && !I("opr") && parseFloat(t.split("Chrome/")[1]) || void 0), I.add("android", !I("wp") && parseFloat(t.split("Android ")[1]) || void 0), I.add("safari", r.includes("Safari") && !I("wp") && !I("chrome") && !I("android") && !I("edge") && !I("opr") ? parseFloat(r.split("Version/")[1]) : void 0), I.add("mac", r.includes("Macintosh")), !I("wp") && /(iPhone|iPod|iPad)/.test(t)) {
17223
17223
  let a = RegExp.$1.replace(/P/, "p"), o = /OS ([\d_]+)/.test(t) ? RegExp.$1 : "1", l = parseFloat(o.replace(/_/, ".").replaceAll("_", ""));
17224
- C.add(a, l), C.add("ios", l);
17224
+ I.add(a, l), I.add("ios", l);
17225
17225
  }
17226
- C("webkit") || (t.includes("Gecko") && !C("wp") && !C("khtml") && !C("edge") && C.add("mozilla", s), C("mozilla") && C.add("ff", parseFloat(t.split("Firefox/")[1] || t.split("Minefield/")[1]) || void 0));
17226
+ I("webkit") || (t.includes("Gecko") && !I("wp") && !I("khtml") && !I("edge") && I.add("mozilla", s), I("mozilla") && I.add("ff", parseFloat(t.split("Firefox/")[1] || t.split("Minefield/")[1]) || void 0));
17227
17227
  }
17228
17228
  })(), (() => {
17229
17229
  if (st.navigator) {
17230
17230
  let n = navigator.userAgent, e = /Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(n), t = /iPhone/i.test(n);
17231
- e && C.add("esri-mobile", e), t && C.add("esri-iPhone", t), C.add("esri-geolocation", !!navigator.geolocation);
17231
+ e && I.add("esri-mobile", e), t && I.add("esri-iPhone", t), I.add("esri-geolocation", !!navigator.geolocation);
17232
17232
  }
17233
- C.add("esri-wasm", "WebAssembly" in st), C.add("esri-temporal", "Temporal" in st), C.add("esri-performance-mode-frames-between-render", 20), C.add("esri-force-performance-mode", !1), C.add("esri-shared-array-buffer", () => {
17233
+ I.add("esri-wasm", "WebAssembly" in st), I.add("esri-temporal", "Temporal" in st), I.add("esri-performance-mode-frames-between-render", 20), I.add("esri-force-performance-mode", !1), I.add("esri-shared-array-buffer", () => {
17234
17234
  let n = "SharedArrayBuffer" in st, e = st.crossOriginIsolated === !1;
17235
17235
  return n && !e;
17236
- }), C.add("wasm-simd", () => WebAssembly.validate(new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11]))), C.add("esri-atomics", "Atomics" in st), C.add("esri-workers", "Worker" in st), C.add("web-feat:cache", "caches" in st), C.add("esri-workers-arraybuffer-transfer", !C("safari") || Number(C("safari")) >= 12), C.add("min-workers-pool-size", 2), C.add("max-workers-pool-size", C("esri-mobile") ? 3 : 8), C.add("featurelayer-simplify-thresholds", [0.5, 0.5, 0.5, 0.5]), C.add("featurelayer-simplify-payload-size-factors", [1, 1, 4]), C.add("featurelayer-animation-enabled", !0), C.add("featurelayer-hybrid-tile-enabled", !0), C.add("featurelayer-snapshot-enabled", !0), C.add("featurelayer-snapshot-initial-tolerance", 0), C.add("featurelayer-snapshot-point-min-threshold", 8e4), C.add("featurelayer-snapshot-point-max-threshold", 4e5), C.add("featurelayer-snapshot-multipoint-min-threshold", 2e4), C.add("featurelayer-snapshot-multipoint-max-threshold", 1e5), C.add("featurelayer-snapshot-polygon-min-threshold", 2e3), C.add("featurelayer-snapshot-polygon-max-threshold", 2e3), C.add("featurelayer-snapshot-polyline-min-threshold", 2e3), C.add("featurelayer-snapshot-polyline-max-threshold", 2e3), C.add("featurelayer-snapshot-max-vertex-count", 25e4), C.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled", !0), C.add("featurelayer-snapshot-concurrency", 4), C.add("featurelayer-snapshot-allow-editable", !1), C.add("featurelayer-snapshot-coverage", 0.1), C.add("featurelayer-pixel-buffering-enabled", !0), C.add("featurelayer-query-max-depth", 4), C.add("featurelayer-query-max-page-size", 8e3), C.add("featurelayer-query-pausing-enabled", !1), C.add("featurelayer-query-tile-concurrency", 4), C.add("featurelayer-query-tile-max-features", 6e5), C.add("featurelayer-advanced-symbols", !1), C.add("featurelayer-pbf", !0), C.add("featurelayer-pbf-statistics", !1), C.add("featurelayer-pbf-true-curves", !0), C.add("feature-layers-workers", !0), C.add("feature-polyline-generalization-factor", 1), C.add("featurelayer-relative-time-queries-enabled", !0), C.add("featurelayer-relative-time-queries-bin-window-public", 1), C.add("featurelayer-relative-time-queries-bin-window-private", 60), C.add("parquetlayer-full-query-feature-count", 5e5), C.add("parquetlayer-persistence-enabled", !0), C.add("parquetlayer-cache-enabled", !0), C.add("parquetlayer-legacy-field-overrides-enabled", !1), C.add("sketch-layer-enabled", !1), C.add("mapview-transitions-duration", 200), C.add("mapview-essential-goto-duration", 200), C.add("mapview-srswitch-adjust-rotation-scale-threshold", 24e6), C.add("mapserver-pbf-version-support", 10.81), C.add("mapservice-popup-identify-max-tolerance", 20), C.add("request-queue-concurrency-global", 64), C.add("request-queue-concurrency-hosted", 16), C.add("request-queue-concurrency-non-hosted", 16), C.add("curve-densification-coarse-segments", 128), C.add("curve-densification-max-segments", 2e3), C.add("curve-densification-min-segments", 3), C.add("curve-densification-pixel-deviation", 0.5), C.add("view-readyState-waiting-delay", 1e3), C.add("gradient-depth-bias", 0.01), C.add("gradient-depth-epsilon", 1e-8), C.add("enable-feature:esri-compress-textures", !0), C.add("enable-feature:im-shading", !0), C.add("enable-feature:im-vertex-normals", !0), !C("host-webworker") && C("host-browser") && (C.add("esri-csp-restrictions", () => {
17236
+ }), I.add("wasm-simd", () => WebAssembly.validate(new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11]))), I.add("esri-atomics", "Atomics" in st), I.add("esri-workers", "Worker" in st), I.add("web-feat:cache", "caches" in st), I.add("esri-workers-arraybuffer-transfer", !I("safari") || Number(I("safari")) >= 12), I.add("min-workers-pool-size", 2), I.add("max-workers-pool-size", I("esri-mobile") ? 3 : 8), I.add("featurelayer-simplify-thresholds", [0.5, 0.5, 0.5, 0.5]), I.add("featurelayer-simplify-payload-size-factors", [1, 1, 4]), I.add("featurelayer-animation-enabled", !0), I.add("featurelayer-hybrid-tile-enabled", !0), I.add("featurelayer-snapshot-enabled", !0), I.add("featurelayer-snapshot-initial-tolerance", 0), I.add("featurelayer-snapshot-point-min-threshold", 8e4), I.add("featurelayer-snapshot-point-max-threshold", 4e5), I.add("featurelayer-snapshot-multipoint-min-threshold", 2e4), I.add("featurelayer-snapshot-multipoint-max-threshold", 1e5), I.add("featurelayer-snapshot-polygon-min-threshold", 2e3), I.add("featurelayer-snapshot-polygon-max-threshold", 2e3), I.add("featurelayer-snapshot-polyline-min-threshold", 2e3), I.add("featurelayer-snapshot-polyline-max-threshold", 2e3), I.add("featurelayer-snapshot-max-vertex-count", 25e4), I.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled", !0), I.add("featurelayer-snapshot-concurrency", 4), I.add("featurelayer-snapshot-allow-editable", !1), I.add("featurelayer-snapshot-coverage", 0.1), I.add("featurelayer-pixel-buffering-enabled", !0), I.add("featurelayer-query-max-depth", 4), I.add("featurelayer-query-max-page-size", 8e3), I.add("featurelayer-query-pausing-enabled", !1), I.add("featurelayer-query-tile-concurrency", 4), I.add("featurelayer-query-tile-max-features", 6e5), I.add("featurelayer-snapping-density-sample-interval", 10), I.add("featurelayer-snapping-density-max-vertices-per-feature", 16), I.add("featurelayer-snapping-density-max-distance", 8), I.add("featurelayer-advanced-symbols", !1), I.add("featurelayer-pbf", !0), I.add("featurelayer-pbf-statistics", !1), I.add("featurelayer-pbf-true-curves", !0), I.add("feature-layers-workers", !0), I.add("feature-polyline-generalization-factor", 1), I.add("featurelayer-relative-time-queries-enabled", !0), I.add("featurelayer-relative-time-queries-bin-window-public", 1), I.add("featurelayer-relative-time-queries-bin-window-private", 60), I.add("parquetlayer-full-query-feature-count", 5e5), I.add("parquetlayer-persistence-enabled", !0), I.add("parquetlayer-cache-enabled", !0), I.add("parquetlayer-legacy-field-overrides-enabled", !1), I.add("sketch-layer-enabled", !1), I.add("mapview-transitions-duration", 200), I.add("mapview-essential-goto-duration", 200), I.add("mapview-srswitch-adjust-rotation-scale-threshold", 24e6), I.add("mapserver-pbf-version-support", 10.81), I.add("mapservice-popup-identify-max-tolerance", 20), I.add("request-queue-concurrency-global", 64), I.add("request-queue-concurrency-hosted", 16), I.add("request-queue-concurrency-non-hosted", 16), I.add("curve-densification-coarse-segments", 128), I.add("curve-densification-max-segments", 2e3), I.add("curve-densification-min-segments", 3), I.add("curve-densification-pixel-deviation", 0.5), I.add("view-readyState-waiting-delay", 1e3), I.add("gradient-depth-bias", 0.01), I.add("gradient-depth-epsilon", 1e-8), I.add("enable-feature:esri-compress-textures", !0), I.add("enable-feature:im-shading", !0), I.add("enable-feature:im-vertex-normals", !0), !I("host-webworker") && I("host-browser") && (I.add("esri-csp-restrictions", () => {
17237
17237
  try {
17238
17238
  Function();
17239
17239
  } catch {
17240
17240
  return !0;
17241
17241
  }
17242
17242
  return !1;
17243
- }), C.add("esri-url-encodes-apostrophe", () => {
17243
+ }), I.add("esri-url-encodes-apostrophe", () => {
17244
17244
  let n = window.document.createElement("a");
17245
17245
  return n.href = "?'", n.href.includes("?%27");
17246
17246
  }));
@@ -17273,7 +17273,7 @@ let sv = class extends $t {
17273
17273
  };
17274
17274
  const th = /* @__PURE__ */ new Map();
17275
17275
  function ud(n) {
17276
- if (C("esri-temporal")) {
17276
+ if (I("esri-temporal")) {
17277
17277
  let e = th.get(n);
17278
17278
  return e === void 0 && (e = new sv(n), th.set(n, e)), e;
17279
17279
  }
@@ -18433,7 +18433,7 @@ class Cv {
18433
18433
  return null;
18434
18434
  }
18435
18435
  }
18436
- const kv = !!C("esri-tests-disable-gpu-memory-measurements");
18436
+ const kv = !!I("esri-tests-disable-gpu-memory-measurements");
18437
18437
  let Mv = class {
18438
18438
  get size() {
18439
18439
  return this._size;
@@ -19080,7 +19080,7 @@ let Et = class ht {
19080
19080
  }
19081
19081
  };
19082
19082
  const jv = { InvalidValueForAggregateFunction: "Invalid value used in aggregate function", MissingStatisticParameters: "Statistic does not have 1 or 0 Parameters", InvalidFunctionParameters: "Invalid parameters for call to {function}", UnsupportedIsLhs: "Unsupported left hand expression in is statement", UnsupportedIsRhs: "Unsupported right hand expression in is statement", UnsupportedOperator: "Unsupported operator - {operator}", UnsupportedSyntax: "Unsupported syntax - {node}", UnsupportedSqlFunction: "Sql function not found = {function}", InvalidDataType: "Invalid sql data type", InvalidDate: "Invalid date encountered", InvalidOperator: "Invalid operator encountered", InvalidTime: "Invalid time encountered", IllegalInterval: "Illegal interval", FunctionNotRecognized: "Function not recognized", InvalidTimeStamp: "Invalid timestamp encountered", InvalidParameterCount: "Invalid parameter count for call to {name}", PrimarySecondaryQualifiers: "Primary and Secondary SqlInterval qualifiers not supported", YearMonthIntervals: "Year-Month Intervals not supported", CannotCastValue: "Cannot cast value to the required data type" };
19083
- let I = class wd extends Error {
19083
+ let C = class wd extends Error {
19084
19084
  constructor(e, t) {
19085
19085
  super(md(jv[e], t)), this.declaredRootClass = "esri.arcade.featureset.support.sqlerror", Error.captureStackTrace && Error.captureStackTrace(this, wd);
19086
19086
  }
@@ -19325,8 +19325,8 @@ let wt = class qt {
19325
19325
  };
19326
19326
  function Gv(n, e) {
19327
19327
  let t = bd[n.toLowerCase()];
19328
- if (t == null) throw new I("FunctionNotRecognized");
19329
- if (e.length < t.minParams || e.length > t.maxParams) throw new I("InvalidParameterCount", { name: n.toUpperCase() });
19328
+ if (t == null) throw new C("FunctionNotRecognized");
19329
+ if (e.length < t.minParams || e.length > t.maxParams) throw new C("InvalidParameterCount", { name: n.toUpperCase() });
19330
19330
  return t.evaluate(e);
19331
19331
  }
19332
19332
  function gh(n, e) {
@@ -19340,7 +19340,7 @@ function xd(n) {
19340
19340
  for (let r = 0; r < n.length; r++) {
19341
19341
  let s = n[r];
19342
19342
  if (s !== null) {
19343
- if (!Ro(s)) throw new I("InvalidValueForAggregateFunction");
19343
+ if (!Ro(s)) throw new C("InvalidValueForAggregateFunction");
19344
19344
  t++, e += s;
19345
19345
  }
19346
19346
  }
@@ -19364,7 +19364,7 @@ function Zv(n) {
19364
19364
  for (let t = 0; t < n.length; t++) {
19365
19365
  let r = n[t];
19366
19366
  if (r !== null) {
19367
- if (!Ro(r)) throw new I("InvalidValueForAggregateFunction");
19367
+ if (!Ro(r)) throw new C("InvalidValueForAggregateFunction");
19368
19368
  e += r;
19369
19369
  }
19370
19370
  }
@@ -19381,13 +19381,13 @@ function vd(n) {
19381
19381
  if (e === null) return null;
19382
19382
  let t = 0;
19383
19383
  for (let r of n) {
19384
- if (!Ro(r)) throw new I("InvalidValueForAggregateFunction");
19384
+ if (!Ro(r)) throw new C("InvalidValueForAggregateFunction");
19385
19385
  t += (e - r) ** 2;
19386
19386
  }
19387
19387
  return t / (n.length - 1);
19388
19388
  }
19389
19389
  function Yi(n) {
19390
- if (n.precision !== null || n.secondary !== null) throw new I("PrimarySecondaryQualifiers");
19390
+ if (n.precision !== null || n.secondary !== null) throw new C("PrimarySecondaryQualifiers");
19391
19391
  }
19392
19392
  function _s(n, e) {
19393
19393
  if (e.includes(".")) {
@@ -19412,53 +19412,53 @@ class $e {
19412
19412
  if (a.op = r === "-" ? "-" : "+", t.type === "interval-period") {
19413
19413
  Yi(t);
19414
19414
  let o = RegExp("^[0-9]{1,}$");
19415
- if (t.period === "year" || t.period === "month") throw new I("YearMonthIntervals");
19415
+ if (t.period === "year" || t.period === "month") throw new C("YearMonthIntervals");
19416
19416
  if (t.period === "second")
19417
19417
  if (/^[0-9]{1,}(\.[0-9]{1,}){0,1}$/.test(e)) _s(a, e);
19418
- else throw new I("IllegalInterval");
19418
+ else throw new C("IllegalInterval");
19419
19419
  else if (o.test(e)) a[t.period] = parseFloat(e);
19420
- else throw new I("IllegalInterval");
19420
+ else throw new C("IllegalInterval");
19421
19421
  } else {
19422
- if (Yi(t.start), Yi(t.end), t.start.period === "year" || t.start.period === "month" || t.end.period === "year" || t.end.period === "month") throw new I("YearMonthIntervals");
19422
+ if (Yi(t.start), Yi(t.end), t.start.period === "year" || t.start.period === "month" || t.end.period === "year" || t.end.period === "month") throw new C("YearMonthIntervals");
19423
19423
  switch (t.start.period) {
19424
19424
  case "day":
19425
19425
  switch (t.end.period) {
19426
19426
  case "hour":
19427
19427
  if (s = RegExp("^[0-9]{1,} [0-9]{1,}$"), s.test(e)) a[t.start.period] = parseFloat(e.split(" ")[0]), a[t.end.period] = parseFloat(e.split(" ")[1]);
19428
- else throw new I("IllegalInterval");
19428
+ else throw new C("IllegalInterval");
19429
19429
  break;
19430
19430
  case "minute":
19431
19431
  if (s = RegExp("^[0-9]{1,} [0-9]{1,2}:[0-9]{1,}$"), s.test(e)) {
19432
19432
  a[t.start.period] = parseFloat(e.split(" ")[0]);
19433
19433
  let o = e.split(" ")[1].split(":");
19434
19434
  a.hour = parseFloat(o[0]), a.minute = parseFloat(o[1]);
19435
- } else throw new I("IllegalInterval");
19435
+ } else throw new C("IllegalInterval");
19436
19436
  break;
19437
19437
  case "second":
19438
19438
  if (s = RegExp("^[0-9]{1,} [0-9]{1,2}:[0-9]{1,2}:[0-9]{1,}(\\.[0-9]{1,}){0,1}$"), s.test(e)) {
19439
19439
  a[t.start.period] = parseFloat(e.split(" ")[0]);
19440
19440
  let o = e.split(" ")[1].split(":");
19441
19441
  a.hour = parseFloat(o[0]), a.minute = parseFloat(o[1]), _s(a, o[2]);
19442
- } else throw new I("IllegalInterval");
19442
+ } else throw new C("IllegalInterval");
19443
19443
  break;
19444
19444
  default:
19445
- throw new I("IllegalInterval");
19445
+ throw new C("IllegalInterval");
19446
19446
  }
19447
19447
  break;
19448
19448
  case "hour":
19449
19449
  switch (t.end.period) {
19450
19450
  case "minute":
19451
19451
  if (s = RegExp("^[0-9]{1,}:[0-9]{1,}$"), s.test(e)) a.hour = parseFloat(e.split(":")[0]), a.minute = parseFloat(e.split(":")[1]);
19452
- else throw new I("IllegalInterval");
19452
+ else throw new C("IllegalInterval");
19453
19453
  break;
19454
19454
  case "second":
19455
19455
  if (s = RegExp("^[0-9]{1,}:[0-9]{1,2}:[0-9]{1,}(\\.[0-9]{1,}){0,1}$"), s.test(e)) {
19456
19456
  let o = e.split(":");
19457
19457
  a.hour = parseFloat(o[0]), a.minute = parseFloat(o[1]), _s(a, o[2]);
19458
- } else throw new I("IllegalInterval");
19458
+ } else throw new C("IllegalInterval");
19459
19459
  break;
19460
19460
  default:
19461
- throw new I("IllegalInterval");
19461
+ throw new C("IllegalInterval");
19462
19462
  }
19463
19463
  break;
19464
19464
  case "minute":
@@ -19467,14 +19467,14 @@ class $e {
19467
19467
  if (s = RegExp("^[0-9]{1,}:[0-9]{1,}(\\.[0-9]{1,}){0,1}$"), s.test(e)) {
19468
19468
  let o = e.split(":");
19469
19469
  a.minute = parseFloat(o[0]), _s(a, o[1]);
19470
- } else throw new I("IllegalInterval");
19470
+ } else throw new C("IllegalInterval");
19471
19471
  break;
19472
19472
  default:
19473
- throw new I("IllegalInterval");
19473
+ throw new C("IllegalInterval");
19474
19474
  }
19475
19475
  break;
19476
19476
  default:
19477
- throw new I("IllegalInterval");
19477
+ throw new C("IllegalInterval");
19478
19478
  }
19479
19479
  }
19480
19480
  return a;
@@ -19515,58 +19515,58 @@ function gi(n) {
19515
19515
  if (e !== null) {
19516
19516
  let [, t, r, s] = e, a = wt.fromParts(parseInt(t, 10), parseInt(r, 10), parseInt(s, 10), 0);
19517
19517
  if (a !== null) return a;
19518
- throw new I("InvalidTime");
19518
+ throw new C("InvalidTime");
19519
19519
  }
19520
19520
  if (e = Xv.exec(n), e !== null) {
19521
19521
  let [, t, r] = e, s = wt.fromParts(parseInt(t, 10), parseInt(r, 10), 0, 0);
19522
19522
  if (s !== null) return s;
19523
- throw new I("InvalidTime");
19523
+ throw new C("InvalidTime");
19524
19524
  }
19525
19525
  if (e = Qv.exec(n), e !== null) {
19526
19526
  let [, t, r, s, a] = e, o = wt.fromParts(parseInt(t, 10), parseInt(r, 10), parseInt(s, 10), parseInt(a, 10));
19527
19527
  if (o !== null) return o;
19528
- throw new I("InvalidTime");
19528
+ throw new C("InvalidTime");
19529
19529
  }
19530
- throw new I("InvalidTime");
19530
+ throw new C("InvalidTime");
19531
19531
  }
19532
19532
  function yr(n, e) {
19533
19533
  let t = Kv.exec(n);
19534
19534
  if (t !== null) {
19535
19535
  let [, r, s, a, o, l, d, m] = t, g = V.fromObject({ year: parseInt(r, 10), month: parseInt(s, 10), day: parseInt(a, 10), hour: parseInt(o, 10), minute: parseInt(l, 10), second: parseInt(d, 10), millisecond: m ? parseInt(m.replace(".", ""), 10) : 0 }, { zone: Gi(e) });
19536
- if (g.isValid === !1) throw new I("InvalidTimeStamp");
19536
+ if (g.isValid === !1) throw new C("InvalidTimeStamp");
19537
19537
  return g;
19538
19538
  }
19539
19539
  if (t = e5.exec(n), t !== null) {
19540
19540
  let [, r, s, a, o, l, d, m, g, y, w] = t, b = Gt.fromParts(parseInt(r, 10), parseInt(s, 10), parseInt(a, 10), parseInt(o, 10), parseInt(l, 10), parseInt(d, 10), m ? parseInt(m.replace(".", ""), 10) : 0, g === "-", parseInt(y, 10), parseInt(w, 10));
19541
- if (b.isValid === !1) throw new I("InvalidTimeStamp");
19541
+ if (b.isValid === !1) throw new C("InvalidTimeStamp");
19542
19542
  return b;
19543
19543
  }
19544
19544
  if (t = t5.exec(n), t !== null) {
19545
19545
  let [, r, s, a, o, l, d, m, g] = t, y = Gt.fromParts(parseInt(r, 10), parseInt(s, 10), parseInt(a, 10), parseInt(o, 10), parseInt(l, 10), 0, 0, d === "-", parseInt(m, 10), parseInt(g, 10));
19546
- if (y.isValid === !1) throw new I("InvalidTimeStamp");
19546
+ if (y.isValid === !1) throw new C("InvalidTimeStamp");
19547
19547
  return y;
19548
19548
  }
19549
19549
  if (t = n5.exec(n), t !== null) {
19550
19550
  let [, r, s, a, o, l] = t, d = V.fromObject({ year: parseInt(r, 10), month: parseInt(s, 10), day: parseInt(a, 10), hour: parseInt(o, 10), minute: parseInt(l, 10), second: 0 }, { zone: Gi(e) });
19551
- if (d.isValid === !1) throw new I("InvalidTimeStamp");
19551
+ if (d.isValid === !1) throw new C("InvalidTimeStamp");
19552
19552
  return d;
19553
19553
  }
19554
19554
  if (t = Nd.exec(n), t !== null) {
19555
19555
  let [, r, s, a] = t, o = V.fromObject({ year: parseInt(r, 10), month: parseInt(s, 10), day: parseInt(a, 10), hour: 0, minute: 0, second: 0 }, { zone: Gi(e) });
19556
- if (o.isValid === !1) throw new I("InvalidTimeStamp");
19556
+ if (o.isValid === !1) throw new C("InvalidTimeStamp");
19557
19557
  return o;
19558
19558
  }
19559
- throw new I("InvalidTimeStamp");
19559
+ throw new C("InvalidTimeStamp");
19560
19560
  }
19561
19561
  function Io(n, e) {
19562
19562
  let t = Nd.exec(n);
19563
19563
  if (t === null) try {
19564
19564
  return yr(n, e);
19565
19565
  } catch {
19566
- throw new I("InvalidDate");
19566
+ throw new C("InvalidDate");
19567
19567
  }
19568
19568
  let [, r, s, a] = t, o = Et.fromParts(parseInt(r, 10), parseInt(s, 10), parseInt(a, 10));
19569
- if (o === null) throw new I("InvalidDate");
19569
+ if (o === null) throw new C("InvalidDate");
19570
19570
  return o;
19571
19571
  }
19572
19572
  const wh = new Float32Array(1), si = new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));
@@ -19607,7 +19607,7 @@ function l5(n) {
19607
19607
  case ">=":
19608
19608
  return "<=";
19609
19609
  default:
19610
- throw new I("UnsupportedOperator", { operator: n });
19610
+ throw new C("UnsupportedOperator", { operator: n });
19611
19611
  }
19612
19612
  }
19613
19613
  function Xi(n) {
@@ -19620,18 +19620,18 @@ function Ss(n) {
19620
19620
  if (_e(n)) return n.toMillis();
19621
19621
  if (Le(n)) return n.toNumber();
19622
19622
  if (Se(n)) return n.toMilliseconds();
19623
- throw new I("InvalidDataType");
19623
+ throw new C("InvalidDataType");
19624
19624
  }
19625
19625
  function ft(n, e, t) {
19626
19626
  if (n == null || e == null) return null;
19627
19627
  if (at(n)) {
19628
19628
  if (at(e)) return jt(n, e, t);
19629
19629
  if (Be(e)) return u5(n, e, t);
19630
- if (io(e) || Le(e)) throw new I("InvalidOperator");
19630
+ if (io(e) || Le(e)) throw new C("InvalidOperator");
19631
19631
  } else if (Be(n)) {
19632
19632
  if (at(e)) return c5(n, e, t);
19633
19633
  if (Be(e)) return f5(n, e, t);
19634
- if (_e(e) || Le(e) || Te(e) || Se(e)) throw new I("InvalidOperator");
19634
+ if (_e(e) || Le(e) || Te(e) || Se(e)) throw new C("InvalidOperator");
19635
19635
  } else if (_e(n)) {
19636
19636
  if (Xi(e)) {
19637
19637
  if (Qn(n.zone)) {
@@ -19639,23 +19639,23 @@ function ft(n, e, t) {
19639
19639
  } else if (_e(e) && Qn(e.zone)) return Qi(n, e, t);
19640
19640
  return jt(Ss(n), Ss(e), t);
19641
19641
  }
19642
- if (Be(e)) throw new I("InvalidOperator");
19642
+ if (Be(e)) throw new C("InvalidOperator");
19643
19643
  if (Le(e)) return d5(n, e, t);
19644
- if (Te(e) || at(e)) throw new I("InvalidOperator");
19644
+ if (Te(e) || at(e)) throw new C("InvalidOperator");
19645
19645
  } else if (Le(n)) {
19646
19646
  if (Se(e)) return p5(n, e, t);
19647
19647
  if (_e(e)) return g5(n, e, t);
19648
- if (Be(e)) throw new I("InvalidOperator");
19648
+ if (Be(e)) throw new C("InvalidOperator");
19649
19649
  if (Le(e)) return h5(n, e, t);
19650
- if (Te(e) || at(e)) throw new I("InvalidOperator");
19650
+ if (Te(e) || at(e)) throw new C("InvalidOperator");
19651
19651
  } else if (Te(n)) {
19652
19652
  if (Te(e)) return jt(n.toNumber(), e.toNumber(), t);
19653
- if (Be(e) || at(e) || Le(e) || Xi(e)) throw new I("InvalidOperator");
19653
+ if (Be(e) || at(e) || Le(e) || Xi(e)) throw new C("InvalidOperator");
19654
19654
  } else if (Se(n)) {
19655
19655
  if (Xi(e)) return V.isDateTime(e) && Qn(e.zone) ? Qi(n, e, t) : jt(Ss(n), Ss(e), t);
19656
- if (Be(e)) throw new I("InvalidOperator");
19656
+ if (Be(e)) throw new C("InvalidOperator");
19657
19657
  if (Le(e)) return m5(n, e, t);
19658
- if (Te(e) || at(e)) throw new I("InvalidOperator");
19658
+ if (Te(e) || at(e)) throw new C("InvalidOperator");
19659
19659
  }
19660
19660
  switch (t) {
19661
19661
  case "<>":
@@ -19808,8 +19808,8 @@ function y5(n, e, t, r) {
19808
19808
  }
19809
19809
  function Co(n, e, t) {
19810
19810
  let r = Sd[n.toLowerCase()];
19811
- if (r == null) throw new I("FunctionNotRecognized");
19812
- if (e.length < r.minParams || e.length > r.maxParams) throw new I("InvalidParameterCount", { name: n.toUpperCase() });
19811
+ if (r == null) throw new C("FunctionNotRecognized");
19812
+ if (e.length < r.minParams || e.length > r.maxParams) throw new C("InvalidParameterCount", { name: n.toUpperCase() });
19813
19813
  return r.evaluate(e, t);
19814
19814
  }
19815
19815
  function w5(n, e) {
@@ -19826,30 +19826,30 @@ function b5(n) {
19826
19826
  if (_t(n)) return Et.fromDateJS(n);
19827
19827
  if (_e(n)) return Et.fromParts(n.year, n.month, n.day);
19828
19828
  if (Le(n)) return n;
19829
- if (Te(n) || Se(n) && Et.fromParts(n.year, n.month, n.day) === null) throw new I("CannotCastValue");
19829
+ if (Te(n) || Se(n) && Et.fromParts(n.year, n.month, n.day) === null) throw new C("CannotCastValue");
19830
19830
  if (Be(n)) {
19831
19831
  let e = Et.fromReader(n);
19832
19832
  if (e !== null && e.isValid) return e;
19833
19833
  }
19834
- throw new I("CannotCastValue");
19834
+ throw new C("CannotCastValue");
19835
19835
  }
19836
19836
  function x5(n, e) {
19837
19837
  if (_t(n)) return mi(n, e);
19838
19838
  if (_e(n)) return n;
19839
19839
  if (Le(n)) return n.toDateTimeLuxon("unknown");
19840
- if (Te(n)) throw new I("CannotCastValue");
19840
+ if (Te(n)) throw new C("CannotCastValue");
19841
19841
  if (Se(n)) return n;
19842
19842
  if (Be(n)) return yr(n, "unknown");
19843
- throw new I("CannotCastValue");
19843
+ throw new C("CannotCastValue");
19844
19844
  }
19845
19845
  function v5(n) {
19846
19846
  if (_t(n)) return wt.fromDateJS(n);
19847
19847
  if (_e(n)) return wt.fromDateTime(n);
19848
- if (Le(n)) throw new I("CannotCastValue");
19848
+ if (Le(n)) throw new C("CannotCastValue");
19849
19849
  if (Te(n)) return n;
19850
19850
  if (Se(n)) return wt.fromSqlTimeStampOffset(n);
19851
19851
  if (Be(n)) return gi(n);
19852
- throw new I("CannotCastValue");
19852
+ throw new C("CannotCastValue");
19853
19853
  }
19854
19854
  const Sd = { extract: { minParams: 2, maxParams: 2, evaluate: ([n, e]) => {
19855
19855
  if (e == null) return null;
@@ -19891,9 +19891,9 @@ const Sd = { extract: { minParams: 2, maxParams: 2, evaluate: ([n, e]) => {
19891
19891
  case "YEAR":
19892
19892
  return e.year;
19893
19893
  case "TIMEZONE_HOUR":
19894
- throw new I("InvalidFunctionParameters", { function: "EXTRACT" });
19894
+ throw new C("InvalidFunctionParameters", { function: "EXTRACT" });
19895
19895
  case "TIMEZONE_MINUTE":
19896
- throw new I("InvalidFunctionParameters", { function: "EXTRACT" });
19896
+ throw new C("InvalidFunctionParameters", { function: "EXTRACT" });
19897
19897
  case "DOW":
19898
19898
  return e.weekday;
19899
19899
  case "DOY":
@@ -19909,9 +19909,9 @@ const Sd = { extract: { minParams: 2, maxParams: 2, evaluate: ([n, e]) => {
19909
19909
  case "YEAR":
19910
19910
  return e.year;
19911
19911
  case "TIMEZONE_HOUR":
19912
- throw new I("InvalidFunctionParameters", { function: "EXTRACT" });
19912
+ throw new C("InvalidFunctionParameters", { function: "EXTRACT" });
19913
19913
  case "TIMEZONE_MINUTE":
19914
- throw new I("InvalidFunctionParameters", { function: "EXTRACT" });
19914
+ throw new C("InvalidFunctionParameters", { function: "EXTRACT" });
19915
19915
  case "DOW":
19916
19916
  return e.toDateTime("unknown").weekday;
19917
19917
  case "DOY":
@@ -19951,7 +19951,7 @@ const Sd = { extract: { minParams: 2, maxParams: 2, evaluate: ([n, e]) => {
19951
19951
  case "WEEK":
19952
19952
  return e.toDateTime().weekNumber;
19953
19953
  }
19954
- throw new I("InvalidFunctionParameters", { function: "EXTRACT" });
19954
+ throw new C("InvalidFunctionParameters", { function: "EXTRACT" });
19955
19955
  } }, substring: { minParams: 2, maxParams: 3, evaluate: (n) => {
19956
19956
  if (n.length === 2) {
19957
19957
  let [e, t] = n;
@@ -19973,7 +19973,7 @@ const Sd = { extract: { minParams: 2, maxParams: 2, evaluate: ([n, e]) => {
19973
19973
  case "TRAILING":
19974
19974
  return r.replaceAll(RegExp(`${s}*$`, "g"), "");
19975
19975
  }
19976
- throw new I("InvalidFunctionParameters", { function: "TRIM" });
19976
+ throw new C("InvalidFunctionParameters", { function: "TRIM" });
19977
19977
  } }, abs: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : Math.abs(n[0]) }, ceiling: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : Math.ceil(n[0]) }, floor: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : Math.floor(n[0]) }, log: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : Math.log(n[0]) }, log10: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : Math.log(n[0]) * Math.LOG10E }, sin: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : Math.sin(n[0]) }, cos: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : Math.cos(n[0]) }, tan: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : Math.tan(n[0]) }, asin: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : Math.asin(n[0]) }, acos: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : Math.acos(n[0]) }, atan: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : Math.atan(n[0]) }, sign: { minParams: 1, maxParams: 1, evaluate: (n) => n[0] == null ? null : n[0] > 0 ? 1 : n[0] < 0 ? -1 : 0 }, power: { minParams: 2, maxParams: 2, evaluate: (n) => n[0] == null || n[1] == null ? null : n[0] ** n[1] }, mod: { minParams: 2, maxParams: 2, evaluate: (n) => n[0] == null || n[1] == null ? null : n[0] % n[1] }, round: { minParams: 1, maxParams: 2, evaluate: (n) => {
19978
19978
  let e = n[0], t = n.length === 2 ? 10 ** n[1] : 1;
19979
19979
  return e == null ? null : Math.round(e * t) / t;
@@ -19992,22 +19992,22 @@ const Sd = { extract: { minParams: 2, maxParams: 2, evaluate: ([n, e]) => {
19992
19992
  if (t === null) return null;
19993
19993
  switch (r.type) {
19994
19994
  case "integer": {
19995
- if (!Ki(t)) throw new I("CannotCastValue");
19995
+ if (!Ki(t)) throw new C("CannotCastValue");
19996
19996
  let s = parseInt(t, 10);
19997
- if (isNaN(s)) throw new I("CannotCastValue");
19997
+ if (isNaN(s)) throw new C("CannotCastValue");
19998
19998
  return s;
19999
19999
  }
20000
20000
  case "smallint": {
20001
- if (!Ki(t)) throw new I("CannotCastValue");
20001
+ if (!Ki(t)) throw new C("CannotCastValue");
20002
20002
  let s = parseInt(t, 10);
20003
- if (isNaN(s) || s > 32767 || s < -32767) throw new I("CannotCastValue");
20003
+ if (isNaN(s) || s > 32767 || s < -32767) throw new C("CannotCastValue");
20004
20004
  return s;
20005
20005
  }
20006
20006
  case "float":
20007
20007
  case "real": {
20008
- if (!Ki(t)) throw new I("CannotCastValue");
20008
+ if (!Ki(t)) throw new C("CannotCastValue");
20009
20009
  let s = parseFloat(t);
20010
- if (isNaN(s)) throw new I("CannotCastValue");
20010
+ if (isNaN(s)) throw new C("CannotCastValue");
20011
20011
  return s;
20012
20012
  }
20013
20013
  case "time":
@@ -20018,11 +20018,11 @@ const Sd = { extract: { minParams: 2, maxParams: 2, evaluate: ([n, e]) => {
20018
20018
  return x5(t, e);
20019
20019
  case "varchar": {
20020
20020
  let s = _d(t);
20021
- if (s.length > r.size) throw new I("CannotCastValue");
20021
+ if (s.length > r.size) throw new C("CannotCastValue");
20022
20022
  return s;
20023
20023
  }
20024
20024
  default:
20025
- throw new I("InvalidDataType");
20025
+ throw new C("InvalidDataType");
20026
20026
  }
20027
20027
  } } };
20028
20028
  function Ld(n, e, t, r) {
@@ -20036,7 +20036,7 @@ function Ld(n, e, t, r) {
20036
20036
  if (Se(t)) return U5();
20037
20037
  if (_e(t)) return F5();
20038
20038
  if (Be(t)) return W5(e, t, n);
20039
- throw new I("InvalidOperator");
20039
+ throw new C("InvalidOperator");
20040
20040
  }
20041
20041
  if (Le(e)) {
20042
20042
  if (at(t)) return D5(e, t, n);
@@ -20046,7 +20046,7 @@ function Ld(n, e, t, r) {
20046
20046
  if (Se(t)) return G5(e, t, n);
20047
20047
  if (_e(t)) return j5(e, t, n);
20048
20048
  if (Be(t)) return l7();
20049
- throw new I("InvalidOperator");
20049
+ throw new C("InvalidOperator");
20050
20050
  }
20051
20051
  if (Te(e)) {
20052
20052
  if (at(t)) return O5(e, t, n);
@@ -20056,7 +20056,7 @@ function Ld(n, e, t, r) {
20056
20056
  if (Se(t)) return n7();
20057
20057
  if (_e(t)) return e7();
20058
20058
  if (Be(t)) return u7();
20059
- throw new I("InvalidOperator");
20059
+ throw new C("InvalidOperator");
20060
20060
  }
20061
20061
  if (ln(e)) {
20062
20062
  if (at(t)) return A5(e, t, n);
@@ -20066,7 +20066,7 @@ function Ld(n, e, t, r) {
20066
20066
  if (Se(t)) return E5(e, t, n);
20067
20067
  if (_e(t)) return N5(e, t, n);
20068
20068
  if (Be(t)) return B5();
20069
- throw new I("InvalidOperator");
20069
+ throw new C("InvalidOperator");
20070
20070
  }
20071
20071
  if (_e(e)) {
20072
20072
  if (at(t)) return M5(e, t, n);
@@ -20076,7 +20076,7 @@ function Ld(n, e, t, r) {
20076
20076
  if (Se(t)) return a7(e, t, n);
20077
20077
  if (_e(t)) return s7(e, t, n);
20078
20078
  if (Be(t)) return c7();
20079
- throw new I("InvalidOperator");
20079
+ throw new C("InvalidOperator");
20080
20080
  }
20081
20081
  if (Se(e)) {
20082
20082
  if (at(t)) return P5(e, t, n);
@@ -20086,7 +20086,7 @@ function Ld(n, e, t, r) {
20086
20086
  if (Se(t)) return K5(e, t, n);
20087
20087
  if (_e(t)) return Q5(e, t, n);
20088
20088
  if (Be(t)) return f7();
20089
- throw new I("InvalidOperator");
20089
+ throw new C("InvalidOperator");
20090
20090
  }
20091
20091
  if (Be(e)) {
20092
20092
  if (at(t)) return q5(e, t, n);
@@ -20096,9 +20096,9 @@ function Ld(n, e, t, r) {
20096
20096
  if (Se(t)) return g7();
20097
20097
  if (_e(t)) return m7();
20098
20098
  if (Be(t)) return z5(e, t, n);
20099
- throw new I("InvalidOperator");
20099
+ throw new C("InvalidOperator");
20100
20100
  }
20101
- throw new I("InvalidOperator");
20101
+ throw new C("InvalidOperator");
20102
20102
  }
20103
20103
  function ko(n, e, t) {
20104
20104
  switch (t) {
@@ -20111,7 +20111,7 @@ function ko(n, e, t) {
20111
20111
  case "/":
20112
20112
  return n / e;
20113
20113
  }
20114
- throw new I("InvalidOperator");
20114
+ throw new C("InvalidOperator");
20115
20115
  }
20116
20116
  function N5(n, e, t) {
20117
20117
  switch (t) {
@@ -20120,15 +20120,15 @@ function N5(n, e, t) {
20120
20120
  case "-":
20121
20121
  return n.valueInMilliseconds() - e.toMillis();
20122
20122
  }
20123
- throw new I("InvalidOperator");
20123
+ throw new C("InvalidOperator");
20124
20124
  }
20125
20125
  function _5(n, e, t) {
20126
20126
  if (t === "+") return e.plus("milliseconds", n.valueInMilliseconds());
20127
- throw new I("InvalidOperator");
20127
+ throw new C("InvalidOperator");
20128
20128
  }
20129
20129
  function S5(n, e, t) {
20130
20130
  if (t === "+") return e.plus("milliseconds", n.valueInMilliseconds());
20131
- throw new I("InvalidOperator");
20131
+ throw new C("InvalidOperator");
20132
20132
  }
20133
20133
  function L5(n, e, t) {
20134
20134
  switch (t) {
@@ -20137,11 +20137,11 @@ function L5(n, e, t) {
20137
20137
  case "-":
20138
20138
  return n.plus("milliseconds", -1 * e.valueInMilliseconds());
20139
20139
  }
20140
- throw new I("InvalidOperator");
20140
+ throw new C("InvalidOperator");
20141
20141
  }
20142
20142
  function E5(n, e, t) {
20143
20143
  if (t === "+") return e.addMilliseconds(n.valueInMilliseconds());
20144
- throw new I("InvalidOperator");
20144
+ throw new C("InvalidOperator");
20145
20145
  }
20146
20146
  function T5(n, e, t) {
20147
20147
  switch (t) {
@@ -20154,7 +20154,7 @@ function T5(n, e, t) {
20154
20154
  case "/":
20155
20155
  return $e.createFromMilliseconds(n.valueInMilliseconds() / e.valueInMilliseconds());
20156
20156
  }
20157
- throw new I("InvalidOperator");
20157
+ throw new C("InvalidOperator");
20158
20158
  }
20159
20159
  function A5(n, e, t) {
20160
20160
  switch (t) {
@@ -20167,7 +20167,7 @@ function A5(n, e, t) {
20167
20167
  case "/":
20168
20168
  return $e.createFromMilliseconds(n.valueInMilliseconds() / e);
20169
20169
  }
20170
- throw new I("InvalidOperator");
20170
+ throw new C("InvalidOperator");
20171
20171
  }
20172
20172
  function R5(n, e, t) {
20173
20173
  switch (t) {
@@ -20180,7 +20180,7 @@ function R5(n, e, t) {
20180
20180
  case "/":
20181
20181
  return $e.createFromMilliseconds(n / e.valueInMilliseconds());
20182
20182
  }
20183
- throw new I("InvalidOperator");
20183
+ throw new C("InvalidOperator");
20184
20184
  }
20185
20185
  function I5(n, e, t) {
20186
20186
  switch (t) {
@@ -20189,7 +20189,7 @@ function I5(n, e, t) {
20189
20189
  case "-":
20190
20190
  return n.plus("milliseconds", -1 * e.valueInMilliseconds());
20191
20191
  }
20192
- throw new I("InvalidOperator");
20192
+ throw new C("InvalidOperator");
20193
20193
  }
20194
20194
  function C5(n, e, t) {
20195
20195
  switch (t) {
@@ -20198,7 +20198,7 @@ function C5(n, e, t) {
20198
20198
  case "-":
20199
20199
  return n.minus({ milliseconds: e.valueInMilliseconds() });
20200
20200
  }
20201
- throw new I("InvalidOperator");
20201
+ throw new C("InvalidOperator");
20202
20202
  }
20203
20203
  function k5(n, e, t) {
20204
20204
  switch (t) {
@@ -20207,7 +20207,7 @@ function k5(n, e, t) {
20207
20207
  case "-":
20208
20208
  return n.addMilliseconds(-1 * e.valueInMilliseconds());
20209
20209
  }
20210
- throw new I("InvalidOperator");
20210
+ throw new C("InvalidOperator");
20211
20211
  }
20212
20212
  function M5(n, e, t) {
20213
20213
  let r = e * 1e3 * 24 * 60 * 60;
@@ -20217,7 +20217,7 @@ function M5(n, e, t) {
20217
20217
  case "-":
20218
20218
  return n.minus({ milliseconds: r });
20219
20219
  }
20220
- throw new I("InvalidOperator");
20220
+ throw new C("InvalidOperator");
20221
20221
  }
20222
20222
  function D5(n, e, t) {
20223
20223
  let r = e * 1e3 * 24 * 60 * 60;
@@ -20227,7 +20227,7 @@ function D5(n, e, t) {
20227
20227
  case "-":
20228
20228
  return n.plus("milliseconds", -1 * r);
20229
20229
  }
20230
- throw new I("InvalidOperator");
20230
+ throw new C("InvalidOperator");
20231
20231
  }
20232
20232
  function O5(n, e, t) {
20233
20233
  let r = e * 1e3 * 24 * 60 * 60;
@@ -20237,10 +20237,10 @@ function O5(n, e, t) {
20237
20237
  case "-":
20238
20238
  return n.plus("milliseconds", -1 * r);
20239
20239
  }
20240
- throw new I("InvalidOperator");
20240
+ throw new C("InvalidOperator");
20241
20241
  }
20242
20242
  function F5(n, e, t) {
20243
- throw new I("InvalidOperator");
20243
+ throw new C("InvalidOperator");
20244
20244
  }
20245
20245
  function P5(n, e, t) {
20246
20246
  let r = e * 1e3 * 24 * 60 * 60;
@@ -20250,117 +20250,117 @@ function P5(n, e, t) {
20250
20250
  case "-":
20251
20251
  return n.addMilliseconds(-1 * r);
20252
20252
  }
20253
- throw new I("InvalidOperator");
20253
+ throw new C("InvalidOperator");
20254
20254
  }
20255
20255
  function U5(n, e, t) {
20256
- throw new I("InvalidOperator");
20256
+ throw new C("InvalidOperator");
20257
20257
  }
20258
20258
  function V5(n, e, t) {
20259
- throw new I("InvalidOperator");
20259
+ throw new C("InvalidOperator");
20260
20260
  }
20261
20261
  function $5(n, e, t) {
20262
- throw new I("InvalidOperator");
20262
+ throw new C("InvalidOperator");
20263
20263
  }
20264
20264
  function W5(n, e, t) {
20265
20265
  let r = parseFloat(e);
20266
- if (isNaN(r)) throw new I("InvalidOperator");
20266
+ if (isNaN(r)) throw new C("InvalidOperator");
20267
20267
  return ko(n, r, t);
20268
20268
  }
20269
20269
  function q5(n, e, t) {
20270
20270
  let r = parseFloat(n);
20271
- if (isNaN(r)) throw new I("InvalidOperator");
20271
+ if (isNaN(r)) throw new C("InvalidOperator");
20272
20272
  return ko(r, e, t);
20273
20273
  }
20274
20274
  function z5(n, e, t) {
20275
20275
  if (t === "+") return n + e;
20276
- throw new I("InvalidOperator");
20276
+ throw new C("InvalidOperator");
20277
20277
  }
20278
20278
  function B5(n, e, t) {
20279
- throw new I("InvalidOperator");
20279
+ throw new C("InvalidOperator");
20280
20280
  }
20281
20281
  function H5(n, e, t) {
20282
- throw new I("InvalidOperator");
20282
+ throw new C("InvalidOperator");
20283
20283
  }
20284
20284
  function j5(n, e, t) {
20285
20285
  if (t === "-") return n.toDateTimeLuxon(e.zone).diff(e).as("days");
20286
- throw new I("InvalidOperator");
20286
+ throw new C("InvalidOperator");
20287
20287
  }
20288
20288
  function G5(n, e, t) {
20289
20289
  if (t === "-") return n.toDateTimeLuxon(e.toDateTime().zone).diff(e.toDateTime()).as("days");
20290
- throw new I("InvalidOperator");
20290
+ throw new C("InvalidOperator");
20291
20291
  }
20292
20292
  function Z5(n, e, t) {
20293
20293
  if (t === "-") return n.toDateTimeLuxon("UTC").diff(e.toDateTimeLuxon("UTC")).as("days");
20294
- throw new I("InvalidOperator");
20294
+ throw new C("InvalidOperator");
20295
20295
  }
20296
20296
  function Y5(n, e, t) {
20297
- throw new I("InvalidOperator");
20297
+ throw new C("InvalidOperator");
20298
20298
  }
20299
20299
  function J5(n, e, t) {
20300
- throw new I("InvalidOperator");
20300
+ throw new C("InvalidOperator");
20301
20301
  }
20302
20302
  function X5(n, e, t) {
20303
20303
  if (t === "-") return n.toDateTime().diff(e.toDateTimeLuxon(n.toDateTime().zone)).as("days");
20304
- throw new I("InvalidOperator");
20304
+ throw new C("InvalidOperator");
20305
20305
  }
20306
20306
  function Q5(n, e, t) {
20307
20307
  if (t === "-") return n.toDateTime().diff(e).as("days");
20308
- throw new I("InvalidOperator");
20308
+ throw new C("InvalidOperator");
20309
20309
  }
20310
20310
  function K5(n, e, t) {
20311
20311
  if (t === "-") return n.toDateTime().diff(e.toDateTime()).as("days");
20312
- throw new I("InvalidOperator");
20312
+ throw new C("InvalidOperator");
20313
20313
  }
20314
20314
  function e7(n, e, t) {
20315
- throw new I("InvalidOperator");
20315
+ throw new C("InvalidOperator");
20316
20316
  }
20317
20317
  function t7(n, e, t) {
20318
- throw new I("InvalidOperator");
20318
+ throw new C("InvalidOperator");
20319
20319
  }
20320
20320
  function n7(n, e, t) {
20321
- throw new I("InvalidOperator");
20321
+ throw new C("InvalidOperator");
20322
20322
  }
20323
20323
  function r7(n, e, t) {
20324
- throw new I("InvalidOperator");
20324
+ throw new C("InvalidOperator");
20325
20325
  }
20326
20326
  function s7(n, e, t) {
20327
20327
  if (t === "-") return n.diff(e).as("days");
20328
- throw new I("InvalidOperator");
20328
+ throw new C("InvalidOperator");
20329
20329
  }
20330
20330
  function i7(n, e, t) {
20331
20331
  if (t === "-") return n.diff(e.toDateTimeLuxon(n.zone)).as("days");
20332
- throw new I("InvalidOperator");
20332
+ throw new C("InvalidOperator");
20333
20333
  }
20334
20334
  function a7(n, e, t) {
20335
20335
  if (t === "-") return n.diff(e.toDateTime()).as("days");
20336
- throw new I("InvalidOperator");
20336
+ throw new C("InvalidOperator");
20337
20337
  }
20338
20338
  function o7(n, e, t) {
20339
- throw new I("InvalidOperator");
20339
+ throw new C("InvalidOperator");
20340
20340
  }
20341
20341
  function l7(n, e, t) {
20342
- throw new I("InvalidOperator");
20342
+ throw new C("InvalidOperator");
20343
20343
  }
20344
20344
  function u7(n, e, t) {
20345
- throw new I("InvalidOperator");
20345
+ throw new C("InvalidOperator");
20346
20346
  }
20347
20347
  function c7(n, e, t) {
20348
- throw new I("InvalidOperator");
20348
+ throw new C("InvalidOperator");
20349
20349
  }
20350
20350
  function f7(n, e, t) {
20351
- throw new I("InvalidOperator");
20351
+ throw new C("InvalidOperator");
20352
20352
  }
20353
20353
  function h7(n, e, t) {
20354
- throw new I("InvalidOperator");
20354
+ throw new C("InvalidOperator");
20355
20355
  }
20356
20356
  function d7(n, e, t) {
20357
- throw new I("InvalidOperator");
20357
+ throw new C("InvalidOperator");
20358
20358
  }
20359
20359
  function m7(n, e, t) {
20360
- throw new I("InvalidOperator");
20360
+ throw new C("InvalidOperator");
20361
20361
  }
20362
20362
  function g7(n, e, t) {
20363
- throw new I("InvalidOperator");
20363
+ throw new C("InvalidOperator");
20364
20364
  }
20365
20365
  function* Ar(n) {
20366
20366
  if (n == null) return;
@@ -21765,10 +21765,10 @@ class N7 {
21765
21765
  case "OR":
21766
21766
  return pe("ternaryOr", this._compileNode(e.left), this._compileNode(e.right));
21767
21767
  case "IS":
21768
- if (e.right.type !== "null") throw new I("UnsupportedIsRhs");
21768
+ if (e.right.type !== "null") throw new C("UnsupportedIsRhs");
21769
21769
  return pe("equalsNull", this._compileNode(e.left));
21770
21770
  case "ISNOT":
21771
- if (e.right.type !== "null") throw new I("UnsupportedIsRhs");
21771
+ if (e.right.type !== "null") throw new C("UnsupportedIsRhs");
21772
21772
  return `!${pe("equalsNull", this._compileNode(e.left))}`;
21773
21773
  case "IN":
21774
21774
  return this._compileInExpr(e.left, e.right);
@@ -21800,7 +21800,7 @@ class N7 {
21800
21800
  case "||":
21801
21801
  return pe("calculate", Ae(e.operator), this._compileNode(e.left), this._compileNode(e.right), Gn);
21802
21802
  default:
21803
- throw new I("UnsupportedOperator", { operator: e.operator });
21803
+ throw new C("UnsupportedOperator", { operator: e.operator });
21804
21804
  }
21805
21805
  case "null":
21806
21806
  case "boolean":
@@ -21836,7 +21836,7 @@ class N7 {
21836
21836
  case "function":
21837
21837
  return pe("evaluateFunction", Ae(e.name), this._compileNode(e.args), Gn);
21838
21838
  }
21839
- throw new I("UnsupportedSyntax", { node: e.type });
21839
+ throw new C("UnsupportedSyntax", { node: e.type });
21840
21840
  }
21841
21841
  }
21842
21842
  class Mo {
@@ -21876,7 +21876,7 @@ class Mo {
21876
21876
  }
21877
21877
  tryGetCompiledExecutor() {
21878
21878
  if (this._compiledExecutor != null) return this._compiledExecutor;
21879
- if (C("esri-csp-restrictions")) return null;
21879
+ if (I("esri-csp-restrictions")) return null;
21880
21880
  let e = new N7(this.parseTree, this.fieldsIndex);
21881
21881
  return this._compiledExecutor = e.compile(), this._compiledExecutor;
21882
21882
  }
@@ -21967,10 +21967,10 @@ class Mo {
21967
21967
  case "OR":
21968
21968
  return Ad(this._evaluateNode(e.left, t, r, s, a), this._evaluateNode(e.right, t, r, s, a));
21969
21969
  case "IS":
21970
- if (e.right.type !== "null") throw new I("UnsupportedIsRhs");
21970
+ if (e.right.type !== "null") throw new C("UnsupportedIsRhs");
21971
21971
  return this._evaluateNode(e.left, t, r, s, a) === null;
21972
21972
  case "ISNOT":
21973
- if (e.right.type !== "null") throw new I("UnsupportedIsRhs");
21973
+ if (e.right.type !== "null") throw new C("UnsupportedIsRhs");
21974
21974
  return this._evaluateNode(e.left, t, r, s, a) !== null;
21975
21975
  case "IN": {
21976
21976
  let l = oo(this._evaluateNode(e.right, t, r, s, a));
@@ -22043,7 +22043,7 @@ class Mo {
22043
22043
  return Co(e.name, l, this.timeZone);
22044
22044
  }
22045
22045
  }
22046
- throw new I("UnsupportedSyntax", { node: e.type });
22046
+ throw new C("UnsupportedSyntax", { node: e.type });
22047
22047
  }
22048
22048
  }
22049
22049
  function Ed(n) {