(self.webpackChunkRemoteClient = self.webpackChunkRemoteClient || []).push([
  [2654],
  {
    60217: (e, t, n) => {
      'use strict';
      n.d(t, { A: () => c, a: () => u, b: () => s, c: () => l, l: () => o }), n(74569);
      var r = n(76506),
        i = n(60947);
      let a;
      async function o() {
        return (
          a ||
            (a = (async () => {
              const e = await n
                .e(1886)
                .then(n.bind(n, 1886))
                .then(function (e) {
                  return e.aq;
                });
              return (
                await e.arcade.load(),
                {
                  arcade: e.arcade,
                  arcadeUtils: e,
                  Dictionary: e.Dictionary,
                  Feature: e.arcadeFeature,
                }
              );
            })()),
          a
        );
      }
      const s = (e, t, n) => c.create(e, t, n, null, ['$feature']),
        u = (e, t, n) => c.create(e, t, n, null, ['$feature', '$view']),
        l = (e, t, n, r) => c.create(e, t, n, r, ['$feature', '$view']);
      class c {
        constructor(e, t, n, r, i, a, o, s) {
          (this.script = e), (this.evaluate = i);
          const u = Array.isArray(o) ? o : o.fields;
          (this.fields = u),
            (this._syntaxTree = r),
            (this._arcade = t),
            (this._arcadeDictionary = n),
            (this._arcadeFeature = a),
            (this._spatialReference = s),
            (this._referencesGeometry = t.scriptTouchesGeometry(this._syntaxTree)),
            (this._referencesScale = this._arcade.referencesMember(this._syntaxTree, 'scale'));
        }
        static async create(e, t, n, a, s, u) {
          const { arcade: l, Feature: d, Dictionary: f } = await o(),
            m = i.Z.fromJSON(t),
            p = l.parseScript(e, u),
            y = s.reduce((e, t) => ({ ...e, [t]: null }), {});
          let h = null;
          (0, r.i)(a) && ((h = new f(a)), (h.immutable = !0), (y.$config = null));
          const g = l.scriptUsesGeometryEngine(p) && l.enableGeometrySupport(),
            v = l.scriptUsesFeatureSet(p) && l.enableFeatureSetSupport(),
            b = l.scriptIsAsync(p) && l.enableAsyncSupport(),
            M = { vars: y, spatialReference: m, useAsync: !!b },
            _ = new f();
          (_.immutable = !1), _.setField('scale', 0);
          const F = l.compileScript(p, M);
          return (
            await Promise.all([g, v, b]),
            new c(
              e,
              l,
              f,
              p,
              (e) => (
                '$view' in e && e.$view && (_.setField('scale', e.$view.scale), (e.$view = _)),
                h && (e.$config = h),
                F({ vars: e, spatialReference: m })
              ),
              new d(),
              n,
              m,
            )
          );
        }
        repurposeFeature(e) {
          return (
            e.geometry &&
              !e.geometry.spatialReference &&
              (e.geometry.spatialReference = this._spatialReference),
            this._arcadeFeature.repurposeFromGraphicLikeObject(e.geometry, e.attributes, {
              fields: this.fields,
            }),
            this._arcadeFeature
          );
        }
        repurposeAdapter(e) {
          return (
            this._arcadeFeature.repurposeFromAdapter(e, { fields: this.fields }),
            this._arcadeFeature
          );
        }
        createDictionary() {
          return new this._arcadeDictionary();
        }
        referencesMember(e) {
          return this._arcade.referencesMember(this._syntaxTree, e);
        }
        referencesFunction(e) {
          return this._arcade.referencesFunction(this._syntaxTree, e);
        }
        referencesGeometry() {
          return this._referencesGeometry;
        }
        referencesScale() {
          return this._referencesScale;
        }
        extractFieldLiterals(e) {
          return this._arcade.extractFieldLiterals(this._syntaxTree, e);
        }
      }
    },
    9801: (e, t, n) => {
      'use strict';
      n.d(t, { D: () => r, f: () => d, t: () => c, v: () => l }), n(76506);
      var r,
        i,
        a = n(53523),
        o = n(42911),
        s = n(46826),
        u = n(45433);
      function l(e, t) {
        switch (e.type) {
          case 'range': {
            const n = 'range' in e ? e.range[0] : e.minValue,
              i = 'range' in e ? e.range[1] : e.maxValue;
            if (+t < n || +t > i) return r.VALUE_OUT_OF_RANGE;
            break;
          }
          case 'coded-value':
          case 'codedValue':
            if (null == e.codedValues || e.codedValues.every((e) => null == e || e.code !== t))
              return r.INVALID_CODED_VALUE;
        }
        return null;
      }
      ((i = r || (r = {})).VALUE_OUT_OF_RANGE = 'domain-validation-error::value-out-of-range'),
        (i.INVALID_CODED_VALUE = 'domain-validation-error::invalid-coded-value');
      const c = {
        key: 'type',
        base: o.Z,
        typeMap: { range: u.Z, 'coded-value': a.Z, inherited: s.Z },
      };
      function d(e) {
        if (!e || !e.type) return null;
        switch (e.type) {
          case 'range':
            return u.Z.fromJSON(e);
          case 'codedValue':
            return a.Z.fromJSON(e);
          case 'inherited':
            return s.Z.fromJSON(e);
        }
        return null;
      }
    },
    59465: (e, t, n) => {
      'use strict';
      n.d(t, { e: () => a });
      var r = n(57251),
        i = n(34250);
      function a(e, t = {}) {
        var n;
        const a = e instanceof r.J ? e : new r.J(e, t),
          o = {
            type: null == (n = null == t ? void 0 : t.ignoreUnknown) || n ? a.apiValues : String,
            readOnly: null == t ? void 0 : t.readOnly,
            json: {
              type: a.jsonValues,
              read: (null == t || !t.readOnly) && { reader: a.read },
              write: { writer: a.write },
            },
          };
        return (
          void 0 !== (null == t ? void 0 : t.default) && (o.json.default = t.default),
          void 0 !== (null == t ? void 0 : t.name) && (o.json.name = t.name),
          (0, i.Cb)(o)
        );
      }
    },
    82426: (e, t, n) => {
      'use strict';
      function r() {
        return [0, 0, 0];
      }
      function i(e) {
        return [e[0], e[1], e[2]];
      }
      function a(e, t, n) {
        return [e, t, n];
      }
      function o(e) {
        const t = [0, 0, 0],
          n = Math.min(3, e.length);
        for (let r = 0; r < n; ++r) t[r] = e[r];
        return t;
      }
      function s(e, t) {
        return new Float64Array(e, t, 3);
      }
      n.d(t, {
        A: () => F,
        B: () => K,
        C: () => T,
        D: () => Z,
        E: () => c,
        G: () => R,
        H: () => Y,
        I: () => j,
        O: () => l,
        R: () => d,
        S: () => Q,
        T: () => o,
        Z: () => u,
        a: () => x,
        a4: () => v,
        a6: () => z,
        aa: () => k,
        b: () => r,
        c: () => J,
        d: () => N,
        e: () => p,
        f: () => b,
        g: () => y,
        h: () => w,
        i: () => H,
        j: () => m,
        k: () => X,
        l: () => f,
        m: () => W,
        n: () => V,
        o: () => _,
        p: () => a,
        r: () => B,
        s: () => h,
        t: () => I,
        u: () => i,
        w: () => M,
        x: () => S,
        y: () => s,
        z: () => G,
      });
      const u = [0, 0, 0],
        l = a(1, 1, 1),
        c = 1e-6,
        d = Math.random;
      function f(e) {
        const t = e[0],
          n = e[1],
          r = e[2];
        return Math.sqrt(t * t + n * n + r * r);
      }
      function m(e, t) {
        return (e[0] = t[0]), (e[1] = t[1]), (e[2] = t[2]), e;
      }
      function p(e, t, n, r) {
        return (e[0] = t), (e[1] = n), (e[2] = r), e;
      }
      function y(e, t, n) {
        return (e[0] = t[0] + n[0]), (e[1] = t[1] + n[1]), (e[2] = t[2] + n[2]), e;
      }
      function h(e, t, n) {
        return (e[0] = t[0] - n[0]), (e[1] = t[1] - n[1]), (e[2] = t[2] - n[2]), e;
      }
      function g(e, t, n) {
        return (e[0] = t[0] * n[0]), (e[1] = t[1] * n[1]), (e[2] = t[2] * n[2]), e;
      }
      function v(e, t, n) {
        return (e[0] = t[0] / n[0]), (e[1] = t[1] / n[1]), (e[2] = t[2] / n[2]), e;
      }
      function b(e, t, n) {
        return (e[0] = t[0] * n), (e[1] = t[1] * n), (e[2] = t[2] * n), e;
      }
      function M(e, t) {
        const n = t[0] - e[0],
          r = t[1] - e[1],
          i = t[2] - e[2];
        return Math.sqrt(n * n + r * r + i * i);
      }
      function _(e, t) {
        const n = t[0] - e[0],
          r = t[1] - e[1],
          i = t[2] - e[2];
        return n * n + r * r + i * i;
      }
      function F(e) {
        const t = e[0],
          n = e[1],
          r = e[2];
        return t * t + n * n + r * r;
      }
      function V(e, t) {
        const n = t[0],
          r = t[1],
          i = t[2];
        let a = n * n + r * r + i * i;
        return (
          a > 0 &&
            ((a = 1 / Math.sqrt(a)), (e[0] = t[0] * a), (e[1] = t[1] * a), (e[2] = t[2] * a)),
          e
        );
      }
      function N(e, t) {
        return e[0] * t[0] + e[1] * t[1] + e[2] * t[2];
      }
      function x(e, t, n) {
        const r = t[0],
          i = t[1],
          a = t[2],
          o = n[0],
          s = n[1],
          u = n[2];
        return (e[0] = i * u - a * s), (e[1] = a * o - r * u), (e[2] = r * s - i * o), e;
      }
      function w(e, t, n, r) {
        const i = t[0],
          a = t[1],
          o = t[2];
        return (
          (e[0] = i + r * (n[0] - i)), (e[1] = a + r * (n[1] - a)), (e[2] = o + r * (n[2] - o)), e
        );
      }
      function I(e, t, n) {
        const r = t[0],
          i = t[1],
          a = t[2];
        return (
          (e[0] = n[0] * r + n[4] * i + n[8] * a + n[12]),
          (e[1] = n[1] * r + n[5] * i + n[9] * a + n[13]),
          (e[2] = n[2] * r + n[6] * i + n[10] * a + n[14]),
          e
        );
      }
      function S(e, t, n) {
        const r = t[0],
          i = t[1],
          a = t[2];
        return (
          (e[0] = r * n[0] + i * n[3] + a * n[6]),
          (e[1] = r * n[1] + i * n[4] + a * n[7]),
          (e[2] = r * n[2] + i * n[5] + a * n[8]),
          e
        );
      }
      function T(e, t, n) {
        const r = n[0],
          i = n[1],
          a = n[2],
          o = n[3],
          s = t[0],
          u = t[1],
          l = t[2];
        let c = i * l - a * u,
          d = a * s - r * l,
          f = r * u - i * s,
          m = i * f - a * d,
          p = a * c - r * f,
          y = r * d - i * c;
        const h = 2 * o;
        return (
          (c *= h),
          (d *= h),
          (f *= h),
          (m *= 2),
          (p *= 2),
          (y *= 2),
          (e[0] = s + c + m),
          (e[1] = u + d + p),
          (e[2] = l + f + y),
          e
        );
      }
      Math.PI, Math.PI;
      const A = [0, 0, 0],
        O = [0, 0, 0];
      function G(e, t) {
        return e[0] === t[0] && e[1] === t[1] && e[2] === t[2];
      }
      function Z(e, t, n) {
        const r = n[0] - t[0],
          i = n[1] - t[1],
          a = n[2] - t[2];
        let o = r * r + i * i + a * a;
        return o > 0
          ? ((o = 1 / Math.sqrt(o)), (e[0] = r * o), (e[1] = i * o), (e[2] = a * o), e)
          : ((e[0] = 0), (e[1] = 0), (e[2] = 0), e);
      }
      const D = h,
        E = g,
        P = v,
        $ = M,
        L = _,
        U = f,
        C = F;
      Object.freeze({
        __proto__: null,
        length: f,
        copy: m,
        set: p,
        add: y,
        subtract: h,
        multiply: g,
        divide: v,
        ceil: function (e, t) {
          return (e[0] = Math.ceil(t[0])), (e[1] = Math.ceil(t[1])), (e[2] = Math.ceil(t[2])), e;
        },
        floor: function (e, t) {
          return (e[0] = Math.floor(t[0])), (e[1] = Math.floor(t[1])), (e[2] = Math.floor(t[2])), e;
        },
        min: function (e, t, n) {
          return (
            (e[0] = Math.min(t[0], n[0])),
            (e[1] = Math.min(t[1], n[1])),
            (e[2] = Math.min(t[2], n[2])),
            e
          );
        },
        max: function (e, t, n) {
          return (
            (e[0] = Math.max(t[0], n[0])),
            (e[1] = Math.max(t[1], n[1])),
            (e[2] = Math.max(t[2], n[2])),
            e
          );
        },
        round: function (e, t) {
          return (e[0] = Math.round(t[0])), (e[1] = Math.round(t[1])), (e[2] = Math.round(t[2])), e;
        },
        scale: b,
        scaleAndAdd: function (e, t, n, r) {
          return (e[0] = t[0] + n[0] * r), (e[1] = t[1] + n[1] * r), (e[2] = t[2] + n[2] * r), e;
        },
        distance: M,
        squaredDistance: _,
        squaredLength: F,
        negate: function (e, t) {
          return (e[0] = -t[0]), (e[1] = -t[1]), (e[2] = -t[2]), e;
        },
        inverse: function (e, t) {
          return (e[0] = 1 / t[0]), (e[1] = 1 / t[1]), (e[2] = 1 / t[2]), e;
        },
        normalize: V,
        dot: N,
        cross: x,
        lerp: w,
        hermite: function (e, t, n, r, i, a) {
          const o = a * a,
            s = o * (2 * a - 3) + 1,
            u = o * (a - 2) + a,
            l = o * (a - 1),
            c = o * (3 - 2 * a);
          return (
            (e[0] = t[0] * s + n[0] * u + r[0] * l + i[0] * c),
            (e[1] = t[1] * s + n[1] * u + r[1] * l + i[1] * c),
            (e[2] = t[2] * s + n[2] * u + r[2] * l + i[2] * c),
            e
          );
        },
        bezier: function (e, t, n, r, i, a) {
          const o = 1 - a,
            s = o * o,
            u = a * a,
            l = s * o,
            c = 3 * a * s,
            d = 3 * u * o,
            f = u * a;
          return (
            (e[0] = t[0] * l + n[0] * c + r[0] * d + i[0] * f),
            (e[1] = t[1] * l + n[1] * c + r[1] * d + i[1] * f),
            (e[2] = t[2] * l + n[2] * c + r[2] * d + i[2] * f),
            e
          );
        },
        random: function (e, t) {
          t = t || 1;
          const n = 2 * d() * Math.PI,
            r = 2 * d() - 1,
            i = Math.sqrt(1 - r * r) * t;
          return (e[0] = Math.cos(n) * i), (e[1] = Math.sin(n) * i), (e[2] = r * t), e;
        },
        transformMat4: I,
        transformMat3: S,
        transformQuat: T,
        rotateX: function (e, t, n, r) {
          const i = [],
            a = [];
          return (
            (i[0] = t[0] - n[0]),
            (i[1] = t[1] - n[1]),
            (i[2] = t[2] - n[2]),
            (a[0] = i[0]),
            (a[1] = i[1] * Math.cos(r) - i[2] * Math.sin(r)),
            (a[2] = i[1] * Math.sin(r) + i[2] * Math.cos(r)),
            (e[0] = a[0] + n[0]),
            (e[1] = a[1] + n[1]),
            (e[2] = a[2] + n[2]),
            e
          );
        },
        rotateY: function (e, t, n, r) {
          const i = [],
            a = [];
          return (
            (i[0] = t[0] - n[0]),
            (i[1] = t[1] - n[1]),
            (i[2] = t[2] - n[2]),
            (a[0] = i[2] * Math.sin(r) + i[0] * Math.cos(r)),
            (a[1] = i[1]),
            (a[2] = i[2] * Math.cos(r) - i[0] * Math.sin(r)),
            (e[0] = a[0] + n[0]),
            (e[1] = a[1] + n[1]),
            (e[2] = a[2] + n[2]),
            e
          );
        },
        rotateZ: function (e, t, n, r) {
          const i = [],
            a = [];
          return (
            (i[0] = t[0] - n[0]),
            (i[1] = t[1] - n[1]),
            (i[2] = t[2] - n[2]),
            (a[0] = i[0] * Math.cos(r) - i[1] * Math.sin(r)),
            (a[1] = i[0] * Math.sin(r) + i[1] * Math.cos(r)),
            (a[2] = i[2]),
            (e[0] = a[0] + n[0]),
            (e[1] = a[1] + n[1]),
            (e[2] = a[2] + n[2]),
            e
          );
        },
        angle: function (e, t) {
          m(A, e), m(O, t), V(A, A), V(O, O);
          const n = N(A, O);
          return n > 1 ? 0 : n < -1 ? Math.PI : Math.acos(n);
        },
        str: function (e) {
          return 'vec3(' + e[0] + ', ' + e[1] + ', ' + e[2] + ')';
        },
        exactEquals: G,
        equals: function (e, t) {
          const n = e[0],
            r = e[1],
            i = e[2],
            a = t[0],
            o = t[1],
            s = t[2];
          return (
            Math.abs(n - a) <= 1e-6 * Math.max(1, Math.abs(n), Math.abs(a)) &&
            Math.abs(r - o) <= 1e-6 * Math.max(1, Math.abs(r), Math.abs(o)) &&
            Math.abs(i - s) <= 1e-6 * Math.max(1, Math.abs(i), Math.abs(s))
          );
        },
        direction: Z,
        sub: D,
        mul: E,
        div: P,
        dist: $,
        sqrDist: L,
        len: U,
        sqrLen: C,
      });
      const q = new Float32Array(1),
        j =
          Number.isFinite ||
          function (e) {
            return 'number' == typeof e && window.isFinite(e);
          },
        k =
          Number.isNaN ||
          function (e) {
            return e != e;
          };
      function R(e) {
        --e;
        for (let t = 1; t < 32; t <<= 1) e |= e >> t;
        return e + 1;
      }
      function J(e, t, n) {
        return Math.min(Math.max(e, t), n);
      }
      function z(e) {
        return 0 == (e & (e - 1));
      }
      Math.sign;
      const Y =
        Math.log2 ||
        function (e) {
          return Math.log(e) / Math.LN2;
        };
      function Q(e, t, n) {
        return e + (t - e) * n;
      }
      function X(e) {
        return (e * Math.PI) / 180;
      }
      function B(e) {
        return (180 * e) / Math.PI;
      }
      function H(e) {
        return Math.acos(J(e, -1, 1));
      }
      function W(e) {
        return Math.asin(J(e, -1, 1));
      }
      function K(e, t) {
        const n = f(e);
        return p(t, n, W(e[2] / n), Math.atan2(e[1] / n, e[0] / n)), t;
      }
      !(function (e) {
        (q[0] = e), q[0];
      })(34028234663852886e22);
    },
    22781: (e, t, n) => {
      'use strict';
      n.d(t, { f: () => i, t: () => a });
      var r = n(57251);
      const i = (0, r.s)()({
          esriGeometryPoint: 'point',
          esriGeometryMultipoint: 'multipoint',
          esriGeometryPolyline: 'polyline',
          esriGeometryPolygon: 'polygon',
        }),
        a = (0, r.s)()({
          esriGeometryPoint: 'point',
          esriGeometryMultipoint: 'multipoint',
          esriGeometryPolyline: 'polyline',
          esriGeometryPolygon: 'polygon',
          esriGeometryEnvelope: 'extent',
          mesh: 'mesh',
        });
    },
    19124: (e, t, n) => {
      'use strict';
      function r(e) {
        const t = null != e.normalizationField || null != e.normalizationType,
          n = null != e.minValue || null != e.maxValue,
          r = !!e.sqlExpression && e.supportsSQLExpression;
        return !t && !n && !r;
      }
      function i(e) {
        const { values: t, supportsNullCount: n } = e,
          r = t.filter((e) => null != e).length,
          i = { count: r };
        return n && (i.nullcount = t.length - r), i;
      }
      function a(e) {
        const { values: t, useSampleStdDev: n, supportsNullCount: r } = e;
        let i = Number.POSITIVE_INFINITY,
          a = Number.NEGATIVE_INFINITY,
          o = null,
          s = null,
          u = null,
          l = null,
          c = 0;
        const d = null == e.minValue ? -1 / 0 : e.minValue,
          f = null == e.maxValue ? 1 / 0 : e.maxValue;
        for (const e of t)
          Number.isFinite(e)
            ? e >= d && e <= f && ((o += e), (i = Math.min(i, e)), (a = Math.max(a, e)), c++)
            : 'string' == typeof e && c++;
        if (c && null != o) {
          s = o / c;
          let e = 0;
          for (const n of t) Number.isFinite(n) && n >= d && n <= f && (e += (n - s) ** 2);
          (l = n ? (c > 1 ? e / (c - 1) : 0) : c > 0 ? e / c : 0), (u = Math.sqrt(l));
        } else (i = null), (a = null);
        const m = { avg: s, count: c, max: a, min: i, stddev: u, sum: o, variance: l };
        return r && (m.nullcount = t.length - c), m;
      }
      function o(e, t) {
        return t
          ? (['avg', 'stddev', 'variance'].forEach((t) => {
              null != e[t] && (e[t] = Math.ceil(e[t]));
            }),
            e)
          : e;
      }
      function s(e, t, n, r) {
        let i = null;
        switch (t) {
          case 'log':
            0 !== e && (i = Math.log(e) * Math.LOG10E);
            break;
          case 'percent-of-total':
            Number.isFinite(r) && 0 !== r && (i = (e / r) * 100);
            break;
          case 'field':
            Number.isFinite(n) && 0 !== n && (i = e / n);
            break;
          case 'natural-log':
            e > 0 && (i = Math.log(e));
            break;
          case 'square-root':
            e > 0 && (i = e ** 0.5);
        }
        return i;
      }
      n.d(t, { d: () => i, e: () => a, f: () => s, i: () => r, p: () => o }),
        n(60991),
        n(76506),
        n(14249);
    },
    74569: (e, t, n) => {
      'use strict';
      n.d(t, { qM: () => c });
      var r = n(91306),
        i = n(21801),
        a = n(73796),
        o = n(84069),
        s = n(91597),
        u = n(44567),
        l = n(92896);
      n(60947),
        n(22781),
        n(32422),
        n(76506),
        n(92143),
        n(31450),
        n(71552),
        n(40642),
        n(34250),
        n(86656),
        n(22723),
        n(17533),
        n(81172),
        n(35132),
        n(89623),
        n(74673),
        n(21972),
        n(23639),
        n(91055),
        n(27794),
        n(6906),
        n(50406),
        n(60991),
        n(26341),
        n(2906),
        n(97714),
        n(86787),
        n(98380),
        n(57251);
      const c = {
        base: a.Z,
        key: 'type',
        typeMap: { extent: i.Z, multipoint: o.Z, point: s.Z, polyline: l.Z, polygon: u.Z },
      };
      (0, r.a)(c);
    },
    32422: (e, t, n) => {
      'use strict';
      n.d(t, {
        im: () => p,
        q9: () => g,
        Ji: () => y,
        YX: () => l,
        aW: () => c,
        wp: () => d,
        oU: () => m,
        l9: () => f,
      });
      var r = n(21801),
        i = n(73796),
        a = n(84069),
        o = n(91597),
        s = n(44567),
        u = n(92896);
      function l(e) {
        return void 0 !== e.xmin && void 0 !== e.ymin && void 0 !== e.xmax && void 0 !== e.ymax;
      }
      function c(e) {
        return void 0 !== e.points;
      }
      function d(e) {
        return void 0 !== e.x && void 0 !== e.y;
      }
      function f(e) {
        return void 0 !== e.paths;
      }
      function m(e) {
        return void 0 !== e.rings;
      }
      function p(e) {
        return e
          ? e instanceof i.Z
            ? e
            : d(e)
            ? o.Z.fromJSON(e)
            : f(e)
            ? u.Z.fromJSON(e)
            : m(e)
            ? s.Z.fromJSON(e)
            : c(e)
            ? a.Z.fromJSON(e)
            : l(e)
            ? r.Z.fromJSON(e)
            : null
          : null;
      }
      function y(e) {
        return e
          ? d(e)
            ? 'esriGeometryPoint'
            : f(e)
            ? 'esriGeometryPolyline'
            : m(e)
            ? 'esriGeometryPolygon'
            : l(e)
            ? 'esriGeometryEnvelope'
            : c(e)
            ? 'esriGeometryMultipoint'
            : null
          : null;
      }
      n(76506),
        n(40642),
        n(71552),
        n(34250),
        n(92143),
        n(31450),
        n(91306),
        n(86656),
        n(22723),
        n(17533),
        n(81172),
        n(60947),
        n(74673),
        n(21972),
        n(23639),
        n(91055),
        n(27794),
        n(6906),
        n(50406),
        n(60991),
        n(26341),
        n(2906),
        n(35132),
        n(89623),
        n(97714),
        n(86787),
        n(98380);
      const h = {
        esriGeometryPoint: o.Z,
        esriGeometryPolyline: u.Z,
        esriGeometryPolygon: s.Z,
        esriGeometryEnvelope: r.Z,
        esriGeometryMultipoint: a.Z,
      };
      function g(e) {
        return (e && h[e]) || null;
      }
    },
    53523: (e, t, n) => {
      'use strict';
      n.d(t, { Z: () => y });
      var r,
        i = n(29768),
        a = n(76506),
        o = n(34250),
        s = (n(91306), n(92143), n(59465)),
        u = n(17533),
        l = n(74673),
        c = n(42911);
      n(86656),
        n(22723),
        n(31450),
        n(71552),
        n(40642),
        n(57251),
        n(81172),
        n(21972),
        n(23639),
        n(91055),
        n(27794),
        n(6906),
        n(50406),
        n(60991),
        n(26341);
      let d = (r = class extends l.a {
        constructor(e) {
          super(e), (this.name = null), (this.code = null);
        }
        clone() {
          return new r({ name: this.name, code: this.code });
        }
      });
      (0, i._)([(0, o.Cb)({ type: String, json: { write: !0 } })], d.prototype, 'name', void 0),
        (0, i._)(
          [(0, o.Cb)({ type: [String, Number], json: { write: !0 } })],
          d.prototype,
          'code',
          void 0,
        ),
        (d = r = (0, i._)([(0, u.j)('esri.layers.support.CodedValue')], d));
      var f,
        m = d;
      let p = (f = class extends c.Z {
        constructor(e) {
          super(e), (this.codedValues = null), (this.type = 'coded-value');
        }
        getName(e) {
          let t = null;
          if (this.codedValues) {
            const n = String(e);
            this.codedValues.some((e) => (String(e.code) === n && (t = e.name), !!t));
          }
          return t;
        }
        clone() {
          return new f({ codedValues: (0, a.d9)(this.codedValues), name: this.name });
        }
      });
      (0, i._)([(0, o.Cb)({ type: [m], json: { write: !0 } })], p.prototype, 'codedValues', void 0),
        (0, i._)([(0, s.e)({ codedValue: 'coded-value' })], p.prototype, 'type', void 0),
        (p = f = (0, i._)([(0, u.j)('esri.layers.support.CodedValueDomain')], p));
      const y = p;
    },
    42911: (e, t, n) => {
      'use strict';
      n.d(t, { Z: () => d });
      var r = n(29768),
        i = n(57251),
        a = n(74673),
        o = n(34250),
        s = (n(76506), n(91306), n(92143), n(59465)),
        u = n(17533);
      n(71552),
        n(21972),
        n(23639),
        n(86656),
        n(22723),
        n(91055),
        n(27794),
        n(6906),
        n(50406),
        n(60991),
        n(81172),
        n(31450),
        n(40642),
        n(26341);
      const l = new i.J({ inherited: 'inherited', codedValue: 'coded-value', range: 'range' });
      let c = class extends a.a {
        constructor(e) {
          super(e), (this.name = null), (this.type = null);
        }
      };
      (0, r._)([(0, o.Cb)({ type: String, json: { write: !0 } })], c.prototype, 'name', void 0),
        (0, r._)([(0, s.e)(l)], c.prototype, 'type', void 0),
        (c = (0, r._)([(0, u.j)('esri.layers.support.Domain')], c));
      const d = c;
    },
    46826: (e, t, n) => {
      'use strict';
      n.d(t, { Z: () => l });
      var r,
        i = n(29768),
        a = (n(34250), n(76506), n(91306), n(92143), n(59465)),
        o = n(17533),
        s = n(42911);
      n(86656),
        n(22723),
        n(31450),
        n(71552),
        n(40642),
        n(57251),
        n(81172),
        n(74673),
        n(21972),
        n(23639),
        n(91055),
        n(27794),
        n(6906),
        n(50406),
        n(60991),
        n(26341);
      let u = (r = class extends s.Z {
        constructor(e) {
          super(e), (this.type = 'inherited');
        }
        clone() {
          return new r();
        }
      });
      (0, i._)([(0, a.e)({ inherited: 'inherited' })], u.prototype, 'type', void 0),
        (u = r = (0, i._)([(0, o.j)('esri.layers.support.InheritedDomain')], u));
      const l = u;
    },
    45433: (e, t, n) => {
      'use strict';
      n.d(t, { Z: () => c });
      var r,
        i = n(29768),
        a = n(34250),
        o = (n(76506), n(91306), n(92143), n(59465)),
        s = n(17533),
        u = n(42911);
      n(86656),
        n(22723),
        n(31450),
        n(71552),
        n(40642),
        n(57251),
        n(81172),
        n(74673),
        n(21972),
        n(23639),
        n(91055),
        n(27794),
        n(6906),
        n(50406),
        n(60991),
        n(26341);
      let l = (r = class extends u.Z {
        constructor(e) {
          super(e), (this.maxValue = null), (this.minValue = null), (this.type = 'range');
        }
        clone() {
          return new r({ maxValue: this.maxValue, minValue: this.minValue, name: this.name });
        }
      });
      (0, i._)(
        [
          (0, a.Cb)({
            type: Number,
            json: {
              type: [Number],
              read: { source: 'range', reader: (e, t) => t.range && t.range[1] },
              write: {
                enabled: !1,
                overridePolicy() {
                  return { enabled: null != this.maxValue && null == this.minValue };
                },
                target: 'range',
                writer(e, t, n) {
                  t[n] = [this.minValue || 0, e];
                },
              },
            },
          }),
        ],
        l.prototype,
        'maxValue',
        void 0,
      ),
        (0, i._)(
          [
            (0, a.Cb)({
              type: Number,
              json: {
                type: [Number],
                read: { source: 'range', reader: (e, t) => t.range && t.range[0] },
                write: {
                  target: 'range',
                  writer(e, t, n) {
                    t[n] = [e, this.maxValue || 0];
                  },
                },
              },
            }),
          ],
          l.prototype,
          'minValue',
          void 0,
        ),
        (0, i._)([(0, o.e)({ range: 'range' })], l.prototype, 'type', void 0),
        (l = r = (0, i._)([(0, s.j)('esri.layers.support.RangeDomain')], l));
      const c = l;
    },
    14249: (e, t, n) => {
      'use strict';
      n.d(t, {
        io: () => y,
        AB: () => p,
        gd: () => m,
        Q0: () => f,
        YN: () => u,
        UF: () => c,
        O5: () => h,
        os: () => v,
        H7: () => S,
        qN: () => T,
        Pz: () => G,
        Qc: () => Z,
        vP: () => U,
      }),
        n(60991),
        n(76506);
      var r = n(71552),
        i = n(9801),
        a = n(60217);
      n(92143),
        n(31450),
        n(40642),
        n(81172),
        n(53523),
        n(34250),
        n(91306),
        n(86656),
        n(22723),
        n(59465),
        n(57251),
        n(17533),
        n(74673),
        n(21972),
        n(23639),
        n(91055),
        n(27794),
        n(6906),
        n(50406),
        n(26341),
        n(42911),
        n(46826),
        n(45433),
        n(74569),
        n(21801),
        n(73796),
        n(97714),
        n(60947),
        n(2906),
        n(91597),
        n(86787),
        n(35132),
        n(89623),
        n(84069),
        n(44567),
        n(98380),
        n(92896),
        n(22781),
        n(32422);
      const o = [
          'field',
          'field2',
          'field3',
          'normalizationField',
          'rotationInfo.field',
          'proportionalSymbolInfo.field',
          'proportionalSymbolInfo.normalizationField',
          'colorInfo.field',
          'colorInfo.normalizationField',
        ],
        s = ['field', 'normalizationField'];
      function u(e, t) {
        if (null != e && null != t)
          for (const n of Array.isArray(e) ? e : [e])
            if ((l(o, n, t), 'visualVariables' in n && n.visualVariables))
              for (const e of n.visualVariables) l(s, e, t);
      }
      function l(e, t, n) {
        if (e)
          for (const i of e) {
            const e = (0, r.g)(i, t),
              a = e && 'function' != typeof e && n.get(e);
            a && (0, r.s)(i, a.name, t);
          }
      }
      function c(e, t) {
        if (null != e && null != t && t.fields.length)
          if ('startField' in e) {
            const n = t.get(e.startField),
              r = t.get(e.endField);
            (e.startField = (n && n.name) || null), (e.endField = (r && r.name) || null);
          } else {
            const n = t.get(e.startTimeField),
              r = t.get(e.endTimeField);
            (e.startTimeField = (n && n.name) || null), (e.endTimeField = (r && r.name) || null);
          }
      }
      const d = new Set();
      function f(e, t) {
        return e && t ? (d.clear(), m(d, e, t), Array.from(d).sort()) : [];
      }
      function m(e, t, n) {
        var r;
        if (n)
          if (null != t && null != (r = t.fields) && r.length)
            if (n.includes('*')) for (const { name: n } of t.fields) e.add(n);
            else for (const r of n) p(e, t, r);
          else {
            if (n.includes('*')) return e.clear(), void e.add('*');
            for (const t of n) e.add(t);
          }
      }
      function p(e, t, n) {
        if ('string' == typeof n)
          if (t) {
            const r = t.get(n);
            r && e.add(r.name);
          } else e.add(n);
      }
      async function y(e, t, n) {
        if (!n) return;
        const { arcadeUtils: r } = await (0, a.l)(),
          i = r.extractFieldNames(n);
        for (const n of i) p(e, t, n);
      }
      function h({ displayField: e, fields: t }) {
        return (
          e ||
          (t && t.length
            ? g(t, 'name-or-title') ||
              g(t, 'unique-identifier') ||
              g(t, 'type-or-category') ||
              (function (e) {
                for (const t of e) {
                  if (!t || !t.name) continue;
                  const e = t.name.toLowerCase();
                  if (e.indexOf('name') > -1 || e.indexOf('title') > -1) return t.name;
                }
                return null;
              })(t)
            : null)
        );
      }
      function g(e, t) {
        for (const n of e) if (n && n.valueType && n.valueType === t) return n.name;
        return null;
      }
      function v(e) {
        const t = e.defaultValue;
        return void 0 !== t && w(e, t) ? t : e.nullable ? null : void 0;
      }
      function b(e) {
        return 'number' == typeof e && !isNaN(e) && isFinite(e);
      }
      function M(e) {
        return null === e || b(e);
      }
      const _ =
        'isInteger' in Number
          ? Number.isInteger
          : (e) => 'number' == typeof e && isFinite(e) && Math.floor(e) === e;
      function F(e) {
        return null === e || _(e);
      }
      function V(e) {
        return null != e && 'string' == typeof e;
      }
      function N(e) {
        return null === e || V(e);
      }
      function x() {
        return !0;
      }
      function w(e, t) {
        let n;
        switch (e.type) {
          case 'date':
          case 'integer':
          case 'long':
          case 'small-integer':
          case 'esriFieldTypeDate':
          case 'esriFieldTypeInteger':
          case 'esriFieldTypeLong':
          case 'esriFieldTypeSmallInteger':
            n = e.nullable ? F : _;
            break;
          case 'double':
          case 'single':
          case 'esriFieldTypeSingle':
          case 'esriFieldTypeDouble':
            n = e.nullable ? M : b;
            break;
          case 'string':
          case 'esriFieldTypeString':
            n = e.nullable ? N : V;
            break;
          default:
            n = x;
        }
        return 1 === arguments.length ? n : n(t);
      }
      const I = new Set([
        'integer',
        'small-integer',
        'single',
        'double',
        'esriFieldTypeInteger',
        'esriFieldTypeSmallInteger',
        'esriFieldTypeSingle',
        'esriFieldTypeDouble',
      ]);
      function S(e) {
        return null != e && I.has(e.type);
      }
      function T(e) {
        return null != e && ('string' === e.type || 'esriFieldTypeString' === e.type);
      }
      var A, O;
      function G(e) {
        return null == e || ('number' == typeof e && isNaN(e)) ? null : e;
      }
      function Z(e, t) {
        return e.nullable && null === t
          ? null
          : S(e) &&
            !(function (e, t) {
              const n = 'string' == typeof e ? D(e) : e;
              return (
                !!n && (n.isInteger ? _(t) && t >= n.min && t <= n.max : t >= n.min && t <= n.max)
              );
            })(e.type, Number(t))
          ? A.OUT_OF_RANGE
          : w(e, t)
          ? e.domain
            ? (0, i.v)(e.domain, t)
            : null
          : O.INVALID_TYPE;
      }
      function D(e) {
        switch (e) {
          case 'esriFieldTypeSmallInteger':
          case 'small-integer':
            return E;
          case 'esriFieldTypeInteger':
          case 'integer':
            return P;
          case 'esriFieldTypeSingle':
          case 'single':
            return $;
          case 'esriFieldTypeDouble':
          case 'double':
            return L;
        }
      }
      ((A || (A = {})).OUT_OF_RANGE = 'numeric-range-validation-error::out-of-range'),
        (function (e) {
          e.INVALID_TYPE = 'type-validation-error::invalid-type';
        })(O || (O = {}));
      const E = { min: -32768, max: 32767, isInteger: !0 },
        P = { min: -2147483648, max: 2147483647, isInteger: !0 },
        $ = { min: -34e37, max: 12e37, isInteger: !1 },
        L = { min: -Number.MAX_VALUE, max: Number.MAX_VALUE, isInteger: !1 };
      function U(e, t, n) {
        switch (e) {
          case i.D.INVALID_CODED_VALUE:
            return `Value ${n} is not in the coded domain - field: ${
              t.name
            }, domain: ${JSON.stringify(t.domain)}`;
          case i.D.VALUE_OUT_OF_RANGE:
            return `Value ${n} is out of the range of valid values - field: ${
              t.name
            }, domain: ${JSON.stringify(t.domain)}`;
          case O.INVALID_TYPE:
            return `Value ${n} is not a valid value for the field type - field: ${t.name}, type: ${t.type}, nullable: ${t.nullable}`;
          case A.OUT_OF_RANGE: {
            const { min: e, max: r } = D(t.type);
            return `Value ${n} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${r}`;
          }
        }
      }
    },
  },
]);
