(self.webpackChunkRemoteClient = self.webpackChunkRemoteClient || []).push([
  [3958],
  {
    59765: (e, t, i) => {
      'use strict';
      i.d(t, { Z: () => d, t: () => u });
      var r = i(29768),
        s = i(74673),
        n = i(35197),
        o = i(34250),
        a = (i(76506), i(91306), i(92143), i(17533)),
        l = i(57251);
      i(21972),
        i(23639),
        i(86656),
        i(22723),
        i(91055),
        i(27794),
        i(6906),
        i(50406),
        i(60991),
        i(81172),
        i(71552),
        i(31450),
        i(40642),
        i(26341);
      const u = (0, l.s)()({
        esriTimeUnitsMilliseconds: 'milliseconds',
        esriTimeUnitsSeconds: 'seconds',
        esriTimeUnitsMinutes: 'minutes',
        esriTimeUnitsHours: 'hours',
        esriTimeUnitsDays: 'days',
        esriTimeUnitsWeeks: 'weeks',
        esriTimeUnitsMonths: 'months',
        esriTimeUnitsYears: 'years',
        esriTimeUnitsDecades: 'decades',
        esriTimeUnitsCenturies: 'centuries',
        esriTimeUnitsUnknown: void 0,
      });
      var p;
      let c = (p = class extends s.a {
        constructor(e) {
          super(e), (this.value = 0), (this.unit = 'milliseconds');
        }
        toMilliseconds() {
          return (0, n.c)(this.value, this.unit, 'milliseconds');
        }
        clone() {
          return new p({ value: this.value, unit: this.unit });
        }
      });
      (0, r._)(
        [(0, o.Cb)({ type: Number, json: { write: !0 }, nonNullable: !0 })],
        c.prototype,
        'value',
        void 0,
      ),
        (0, r._)(
          [
            (0, o.Cb)({
              type: u.apiValues,
              json: { type: u.jsonValues, read: u.read, write: u.write },
              nonNullable: !0,
            }),
          ],
          c.prototype,
          'unit',
          void 0,
        ),
        (c = p = (0, r._)([(0, a.j)('esri.TimeInterval')], c));
      const d = c;
    },
    21781: (e, t, i) => {
      'use strict';
      i.d(t, { A: () => o });
      var r = i(29768),
        s = i(34250),
        n = (i(76506), i(91306), i(92143), i(17533));
      const o = (e) => {
        let t = class extends e {
          get apiKey() {
            var e;
            return this._isOverridden('apiKey')
              ? this._get('apiKey')
              : 'portalItem' in this
              ? null == (e = this.portalItem)
                ? void 0
                : e.apiKey
              : null;
          }
          set apiKey(e) {
            null != e
              ? this._override('apiKey', e)
              : (this._clearOverride('apiKey'), this.clear('apiKey', 'user'));
          }
        };
        return (
          (0, r._)([(0, s.Cb)({ type: String })], t.prototype, 'apiKey', null),
          (t = (0, r._)([(0, n.j)('esri.layers.mixins.APIKeyMixin')], t)),
          t
        );
      };
    },
    8547: (e, t, i) => {
      'use strict';
      i.d(t, { C: () => o });
      var r = i(29768),
        s = i(34250),
        n = (i(76506), i(91306), i(92143), i(17533));
      const o = (e) => {
        let t = class extends e {
          constructor() {
            super(...arguments), (this.customParameters = null);
          }
        };
        return (
          (0, r._)(
            [(0, s.Cb)({ type: Object, json: { write: !0 } })],
            t.prototype,
            'customParameters',
            void 0,
          ),
          (t = (0, r._)([(0, n.j)('esri.layers.mixins.CustomParametersMixin')], t)),
          t
        );
      };
    },
    89219: (e, t, i) => {
      'use strict';
      i.d(t, { q: () => r });
      const r = {
        supportsStatistics: !0,
        supportsPercentileStatistics: !0,
        supportsCentroid: !0,
        supportsCacheHint: !1,
        supportsDistance: !0,
        supportsDistinct: !0,
        supportsExtent: !0,
        supportsGeometryProperties: !1,
        supportsHavingClause: !0,
        supportsOrderBy: !0,
        supportsPagination: !0,
        supportsQuantization: !0,
        supportsQuantizationEditMode: !1,
        supportsQueryGeometry: !0,
        supportsResultType: !1,
        supportsSqlExpression: !0,
        supportsMaxRecordCountFactor: !1,
        supportsStandardizedQueriesOnly: !0,
        supportsTopFeaturesQuery: !1,
        supportsQueryByOthers: !0,
        supportsHistoricMoment: !1,
        supportsFormatPBF: !1,
        supportsDisjointSpatialRelationship: !0,
        maxRecordCountFactor: void 0,
        maxRecordCount: void 0,
        standardMaxRecordCount: void 0,
        tileMaxRecordCount: void 0,
      };
    },
    19902: (e, t, i) => {
      'use strict';
      i.d(t, { T: () => c });
      var r = i(29768),
        s = i(93314),
        n = i(59765),
        o = i(34250),
        a = (i(76506), i(91306), i(92143), i(97714)),
        l = i(17533),
        u = i(77361),
        p = i(14249);
      const c = (e) => {
        let t = class extends e {
          constructor() {
            super(...arguments),
              (this.timeExtent = null),
              (this.timeOffset = null),
              (this.useViewTime = !0);
          }
          readOffset(e, t) {
            const i = t.timeInfo.exportOptions;
            if (!i) return null;
            const r = i.timeOffset,
              s = n.t.fromJSON(i.timeOffsetUnits);
            return r && s ? new n.Z({ value: r, unit: s }) : null;
          }
          set timeInfo(e) {
            (0, p.UF)(e, this.fieldsIndex), this._set('timeInfo', e);
          }
        };
        return (
          (0, r._)(
            [(0, o.Cb)({ type: s.Z, json: { write: !1 } })],
            t.prototype,
            'timeExtent',
            void 0,
          ),
          (0, r._)([(0, o.Cb)({ type: n.Z })], t.prototype, 'timeOffset', void 0),
          (0, r._)(
            [(0, a.r)('service', 'timeOffset', ['timeInfo.exportOptions'])],
            t.prototype,
            'readOffset',
            null,
          ),
          (0, r._)(
            [
              (0, o.Cb)({
                value: null,
                type: u.Z,
                json: { write: !0, origins: { 'web-document': { read: !1, write: !1 } } },
              }),
            ],
            t.prototype,
            'timeInfo',
            null,
          ),
          (0, r._)(
            [
              (0, o.Cb)({
                type: Boolean,
                json: {
                  read: { source: 'timeAnimation' },
                  write: { target: 'timeAnimation' },
                  origins: { 'web-scene': { read: !1, write: !1 } },
                },
              }),
            ],
            t.prototype,
            'useViewTime',
            void 0,
          ),
          (t = (0, r._)([(0, l.j)('esri.layers.mixins.TemporalLayer')], t)),
          t
        );
      };
    },
    48190: (e, t, i) => {
      'use strict';
      function r(e) {}
      i.d(t, { n: () => r }), i(76506);
    },
    47346: (e, t, i) => {
      'use strict';
      i.d(t, { d: () => l });
      var r = i(92143),
        s = i(97546),
        n = i(1709),
        o = i(14249);
      const a = r.L.getLogger('esri.layers.support.fieldProperties');
      function l() {
        return {
          fields: { type: [s.Z], value: null },
          fieldsIndex: {
            readOnly: !0,
            get() {
              return new n.Z(this.fields || []);
            },
          },
          outFields: {
            type: [String],
            json: { read: !1 },
            set: function (e) {
              (this._userOutFields = e), this.notifyChange('outFields');
            },
            get: function () {
              const e = this._userOutFields;
              if (!e || !e.length) return null;
              if (e.includes('*')) return ['*'];
              if (!this.fields) return e;
              for (const t of e)
                this.fieldsIndex.has(t) ||
                  a.error(
                    'field-attributes-layer:invalid-field',
                    `Invalid field ${t} found in outFields`,
                    { layer: this, outFields: e },
                  );
              return (0, o.Q0)(this.fieldsIndex, e);
            },
          },
        };
      }
    },
    68653: (e, t, i) => {
      'use strict';
      i.d(t, { r: () => n });
      var r = i(77807);
      const s = /\[([^\[\]]+)\]/gi;
      function n(e, t, i) {
        return e
          ? e.map((e) => {
              const n = new r.Z();
              if ((n.read(e, i), n.labelExpression)) {
                const e =
                  t.fields || (t.layerDefinition && t.layerDefinition.fields) || this.fields;
                n.labelExpression = n.labelExpression.replace(
                  s,
                  (t, i) =>
                    `[${(function (e, t) {
                      if (!t) return e;
                      const i = e.toLowerCase();
                      for (let e = 0; e < t.length; e++) {
                        const r = t[e].name;
                        if (r.toLowerCase() === i) return r;
                      }
                      return e;
                    })(i, e)}]`,
                );
              }
              return n;
            })
          : null;
      }
    },
    85557: (e, t, i) => {
      'use strict';
      i.d(t, { m: () => n });
      var r = i(53785),
        s = i(89623);
      const n = {
        inches: (0, r.c)(1, 'meters', 'inches'),
        feet: (0, r.c)(1, 'meters', 'feet'),
        'us-feet': (0, r.c)(1, 'meters', 'us-feet'),
        yards: (0, r.c)(1, 'meters', 'yards'),
        miles: (0, r.c)(1, 'meters', 'miles'),
        'nautical-miles': (0, r.c)(1, 'meters', 'nautical-miles'),
        millimeters: (0, r.c)(1, 'meters', 'millimeters'),
        centimeters: (0, r.c)(1, 'meters', 'centimeters'),
        decimeters: (0, r.c)(1, 'meters', 'decimeters'),
        meters: (0, r.c)(1, 'meters', 'meters'),
        kilometers: (0, r.c)(1, 'meters', 'kilometers'),
        'decimal-degrees': 1 / (0, r.l)(1, 'meters', s.e.radius),
      };
    },
    52228: (e, t, i) => {
      'use strict';
      function r(e) {
        return e && 'esri.renderers.visualVariables.SizeVariable' === e.declaredClass;
      }
      function s(e) {
        return null != e && !isNaN(e) && isFinite(e);
      }
      function n(e) {
        return e.valueExpression
          ? 'expression'
          : e.field && 'string' == typeof e.field
          ? 'field'
          : 'unknown';
      }
      function o(e, t) {
        const i = t || n(e),
          r = e.valueUnit || 'unknown';
        return 'unknown' === i
          ? 'constant'
          : e.stops
          ? 'stops'
          : null != e.minSize &&
            null != e.maxSize &&
            null != e.minDataValue &&
            null != e.maxDataValue
          ? 'clamped-linear'
          : 'unknown' === r
          ? null != e.minSize && null != e.minDataValue
            ? e.minSize && e.minDataValue
              ? 'proportional'
              : 'additive'
            : 'identity'
          : 'real-world-size';
      }
      i.d(t, { a: () => o, b: () => s, g: () => n, i: () => r });
    },
    74057: (e, t, i) => {
      'use strict';
      i.d(t, {
        PR: () => C,
        Lq: () => m,
        Km: () => f,
        cM: () => h,
        ap: () => v,
        V3: () => w,
        B3: () => y,
      });
      var r = i(48027),
        s = i(23761),
        n = i(48190),
        o = i(92143),
        a = i(76506),
        l = i(85557),
        u = i(52228);
      i(54174),
        i(82426),
        i(91306),
        i(31450),
        i(71552),
        i(40642),
        i(74569),
        i(21801),
        i(34250),
        i(86656),
        i(22723),
        i(17533),
        i(81172),
        i(73796),
        i(74673),
        i(21972),
        i(23639),
        i(91055),
        i(27794),
        i(6906),
        i(50406),
        i(60991),
        i(26341),
        i(97714),
        i(60947),
        i(2906),
        i(91597),
        i(86787),
        i(35132),
        i(89623),
        i(84069),
        i(44567),
        i(98380),
        i(92896),
        i(22781),
        i(57251),
        i(32422),
        i(86748),
        i(15324),
        i(76996),
        i(14249),
        i(9801),
        i(53523),
        i(59465),
        i(42911),
        i(46826),
        i(45433),
        i(60217),
        i(29107),
        i(30574),
        i(2157),
        i(25977),
        i(7471),
        i(54414),
        i(1648),
        i(8925),
        i(33921),
        i(3482),
        i(45154),
        i(16769),
        i(55531),
        i(30582),
        i(593),
        i(85699),
        i(63136),
        i(96055),
        i(47776),
        i(18033),
        i(6331),
        i(62048),
        i(4292),
        i(75626),
        i(72652),
        i(29641),
        i(30493),
        i(70821),
        i(82673),
        i(34229),
        i(37029),
        i(96467),
        i(63571),
        i(30776),
        i(63130),
        i(25696),
        i(66396),
        i(42775),
        i(95834),
        i(34394),
        i(57150),
        i(76726),
        i(20444),
        i(76393),
        i(78548),
        i(2497),
        i(49906),
        i(46527),
        i(48649),
        i(9960),
        i(3101),
        i(5853),
        i(39141),
        i(32101),
        i(38742),
        i(48243),
        i(34635),
        i(10401),
        i(49900),
        i(66284),
        i(82058),
        i(88762),
        i(73173),
        i(22739),
        i(20543),
        i(67477),
        i(78533),
        i(74653),
        i(91091),
        i(58943),
        i(70737),
        i(8487),
        i(17817),
        i(90814),
        i(15459),
        i(61847),
        i(16796),
        i(16955),
        i(22401),
        i(77894),
        i(55187),
        i(8586),
        i(44509),
        i(69814),
        i(11305),
        i(62259),
        i(44790),
        i(5909),
        i(60669),
        i(48208),
        i(51589),
        i(53785),
        i(95587);
      const p = o.L.getLogger('esri.renderers.visualVariables.support.visualVariableUtils'),
        c = new s.Z(),
        d = Math.PI,
        y = /^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;
      function m(e, t, i) {
        const s =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'color' === e.type)[0]
            : e;
        if (!s) return;
        if ('esri.renderers.visualVariables.ColorVariable' !== s.declaredClass)
          return void p.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable',
          );
        const n = 'number' == typeof t,
          o = n ? null : t,
          l = o && o.attributes;
        let u = n ? t : null;
        const c = s.field,
          { ipData: d, hasExpression: y } = s.cache;
        let m = s.cache.compiledFunc;
        if (!c && !y) {
          const e = s.stops;
          return e && e[0] && e[0].color;
        }
        if ('number' != typeof u)
          if (y) {
            if (!(0, a.i)(i) || !(0, a.i)(i.arcade))
              return void p.error('Use of arcade expressions requires an arcade context');
            const e = {
                viewingMode: i.viewingMode,
                scale: i.scale,
                spatialReference: i.spatialReference,
              },
              t = i.arcade.arcadeUtils,
              r = t.getViewInfo(e),
              n = t.createExecContext(o, r);
            if (!m) {
              const e = t.createSyntaxTree(s.valueExpression);
              (m = t.createFunction(e)), (s.cache.compiledFunc = m);
            }
            u = t.executeFunction(m, n);
          } else l && (u = l[c]);
        const f = s.normalizationField,
          h = l ? parseFloat(l[f]) : void 0;
        if (null != u && (!f || n || (!isNaN(h) && 0 !== h))) {
          isNaN(h) || n || (u /= h);
          const e = x(u, d);
          if (e) {
            const t = e[0],
              n = e[1],
              o =
                t === n
                  ? s.stops[t].color
                  : r.Z.blendColors(
                      s.stops[t].color,
                      s.stops[n].color,
                      e[2],
                      (0, a.i)(i) ? i.color : void 0,
                    );
            return new r.Z(o);
          }
        }
      }
      function f(e, t, i) {
        const r =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'opacity' === e.type)[0]
            : e;
        if (!r) return;
        if ('esri.renderers.visualVariables.OpacityVariable' !== r.declaredClass)
          return void p.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable',
          );
        const s = 'number' == typeof t,
          n = s ? null : t,
          o = n && n.attributes;
        let l = s ? t : null;
        const u = r.field,
          { ipData: c, hasExpression: d } = r.cache;
        let y = r.cache.compiledFunc;
        if (!u && !d) {
          const e = r.stops;
          return e && e[0] && e[0].opacity;
        }
        if ('number' != typeof l)
          if (d) {
            if ((0, a.b)(i) || (0, a.b)(i.arcade))
              return void p.error('Use of arcade expressions requires an arcade context');
            const e = {
                viewingMode: i.viewingMode,
                scale: i.scale,
                spatialReference: i.spatialReference,
              },
              t = i.arcade.arcadeUtils,
              s = t.getViewInfo(e),
              o = t.createExecContext(n, s);
            if (!y) {
              const e = t.createSyntaxTree(r.valueExpression);
              (y = t.createFunction(e)), (r.cache.compiledFunc = y);
            }
            l = t.executeFunction(y, o);
          } else o && (l = o[u]);
        const m = r.normalizationField,
          f = o ? parseFloat(o[m]) : void 0;
        if (null != l && (!m || s || (!isNaN(f) && 0 !== f))) {
          isNaN(f) || s || (l /= f);
          const e = x(l, c);
          if (e) {
            const t = e[0],
              i = e[1];
            if (t === i) return r.stops[t].opacity;
            {
              const s = r.stops[t].opacity;
              return s + (r.stops[i].opacity - s) * e[2];
            }
          }
        }
      }
      function h(e, t, i) {
        const r =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'rotation' === e.type)[0]
            : e;
        if (!r) return;
        if ('esri.renderers.visualVariables.RotationVariable' !== r.declaredClass)
          return void p.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable',
          );
        const s = r.axis || 'heading',
          n = 'heading' === s && 'arithmetic' === r.rotationType ? 90 : 0,
          o = 'heading' === s && 'arithmetic' === r.rotationType ? -1 : 1,
          l = 'number' == typeof t ? null : t,
          u = l && l.attributes,
          c = r.field,
          { hasExpression: d } = r.cache;
        let y = r.cache.compiledFunc,
          m = 0;
        if (!c && !d) return m;
        if (d) {
          if ((0, a.b)(i) || (0, a.b)(i.arcade))
            return void p.error('Use of arcade expressions requires an arcade context');
          const e = {
              viewingMode: i.viewingMode,
              scale: i.scale,
              spatialReference: i.spatialReference,
            },
            t = i.arcade.arcadeUtils,
            s = t.getViewInfo(e),
            n = t.createExecContext(l, s);
          if (!y) {
            const e = t.createSyntaxTree(r.valueExpression);
            (y = t.createFunction(e)), (r.cache.compiledFunc = y);
          }
          m = t.executeFunction(y, n);
        } else u && (m = u[c] || 0);
        return (m = 'number' != typeof m || isNaN(m) ? null : n + o * m), m;
      }
      function v(e, t, i) {
        const r =
          'visualVariables' in e && e.visualVariables
            ? e.visualVariables.filter((e) => 'size' === e.type)[0]
            : e;
        if (!r) return;
        if ('esri.renderers.visualVariables.SizeVariable' !== r.declaredClass)
          return void p.warn(
            'The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable',
          );
        const s = (function (e, t, i, r, s) {
          switch (t.transformationType) {
            case 'additive':
              return (function (e, t, i, r) {
                return e + (b(t.minSize, i, r) || t.minDataValue);
              })(e, t, i, r);
            case 'constant':
              return (function (e, t, i) {
                const r = e.stops;
                let s = r && r.length && r[0].size;
                return null == s && (s = e.minSize), b(s, t, i);
              })(t, i, r);
            case 'clamped-linear':
              return (function (e, t, i, r) {
                const s = (e - t.minDataValue) / (t.maxDataValue - t.minDataValue),
                  n = b(t.minSize, i, r),
                  o = b(t.maxSize, i, r),
                  l = (0, a.i)(r) ? r.shape : void 0;
                if (e <= t.minDataValue) return n;
                if (e >= t.maxDataValue) return o;
                if ('area' === t.scaleBy && l) {
                  const e = 'circle' === l,
                    t = e ? d * (n / 2) ** 2 : n * n,
                    i = t + s * ((e ? d * (o / 2) ** 2 : o * o) - t);
                  return e ? 2 * Math.sqrt(i / d) : Math.sqrt(i);
                }
                return n + s * (o - n);
              })(e, t, i, r);
            case 'proportional':
              return (function (e, t, i, r) {
                const s = (0, a.i)(r) ? r.shape : void 0,
                  n = e / t.minDataValue,
                  o = b(t.minSize, i, r),
                  l = b(t.maxSize, i, r);
                let u = null;
                return (
                  (u =
                    'circle' === s
                      ? 2 * Math.sqrt(n * (o / 2) ** 2)
                      : 'square' === s || 'diamond' === s || 'image' === s
                      ? Math.sqrt(n * o ** 2)
                      : n * o),
                  g(u, o, l)
                );
              })(e, t, i, r);
            case 'stops':
              return (function (e, t, i, r, s) {
                const [n, o, a] = x(e, s);
                if (n === o) return b(t.stops[n].size, i, r);
                {
                  const e = b(t.stops[n].size, i, r);
                  return e + (b(t.stops[o].size, i, r) - e) * a;
                }
              })(e, t, i, r, s);
            case 'real-world-size':
              return (function (e, t, i, r) {
                const s = ((0, a.i)(r) && r.resolution ? r.resolution : 1) * l.m[t.valueUnit],
                  n = b(t.minSize, i, r),
                  o = b(t.maxSize, i, r),
                  { valueRepresentation: u } = t;
                let p = null;
                return (
                  (p =
                    'area' === u
                      ? (2 * Math.sqrt(e / d)) / s
                      : 'radius' === u || 'distance' === u
                      ? (2 * e) / s
                      : e / s),
                  g(p, n, o)
                );
              })(e, t, i, r);
            case 'identity':
              return e;
            case 'unknown':
              return null;
          }
        })(
          (function (e, t, i) {
            const r = 'number' == typeof t,
              s = r ? null : t,
              n = s && s.attributes;
            let o = r ? t : null;
            const { isScaleDriven: l } = e.cache;
            let c = e.cache.compiledFunc;
            if (l) {
              const t = (0, a.i)(i) ? i.scale : void 0,
                r = (0, a.i)(i) ? i.view : void 0;
              o =
                null == t || '3d' === r
                  ? (function (e) {
                      let t = null,
                        i = null;
                      const r = e.stops;
                      return (
                        r
                          ? ((t = r[0].value), (i = r[r.length - 1].value))
                          : ((t = e.minDataValue || 0), (i = e.maxDataValue || 0)),
                        (t + i) / 2
                      );
                    })(e)
                  : t;
            } else if (!r)
              switch (e.inputValueType) {
                case 'expression': {
                  if ((0, a.b)(i) || (0, a.b)(i.arcade))
                    return void p.error('Use of arcade expressions requires an arcade context');
                  const t = {
                      viewingMode: i.viewingMode,
                      scale: i.scale,
                      spatialReference: i.spatialReference,
                    },
                    r = i.arcade.arcadeUtils,
                    n = r.getViewInfo(t),
                    l = r.createExecContext(s, n);
                  if (!c) {
                    const t = r.createSyntaxTree(e.valueExpression);
                    (c = r.createFunction(t)), (e.cache.compiledFunc = c);
                  }
                  o = r.executeFunction(c, l);
                  break;
                }
                case 'field':
                  n && (o = n[e.field]);
                  break;
                case 'unknown':
                  o = null;
              }
            if (!(0, u.b)(o)) return null;
            if (r || !e.normalizationField) return o;
            const d = n ? parseFloat(n[e.normalizationField]) : null;
            return (0, u.b)(d) && 0 !== d ? o / d : null;
          })(r, t, i),
          r,
          t,
          i,
          r.cache.ipData,
        );
        return null == s || isNaN(s) ? 0 : s;
      }
      function b(e, t, i) {
        return null == e ? null : (0, u.i)(e) ? v(e, t, i) : (0, u.b)(e) ? e : null;
      }
      function g(e, t, i) {
        return (0, u.b)(i) && e > i ? i : (0, u.b)(t) && e < t ? t : e;
      }
      function w(e, t, i) {
        const { isScaleDriven: r } = e.cache;
        if (!((r && '3d' === i) || t)) return null;
        const s = { scale: t, view: i };
        let n = b(e.minSize, c, s),
          o = b(e.maxSize, c, s);
        if (null != n || null != o) {
          if (n > o) {
            const e = o;
            (o = n), (n = e);
          }
          return { minSize: n, maxSize: o };
        }
      }
      function x(e, t) {
        if (!t) return;
        let i = 0,
          r = t.length - 1;
        return (
          t.some((t, s) => (e < t ? ((r = s), !0) : ((i = s), !1))),
          [i, r, (e - t[i]) / (t[r] - t[i])]
        );
      }
      function C(e, t, i) {
        const r = ['proportional', 'proportional', 'proportional'];
        for (const s of e) {
          const e = s.useSymbolValue ? 'symbol-value' : v(s, t, i);
          switch (s.axis) {
            case 'width':
              r[0] = e;
              break;
            case 'depth':
              r[1] = e;
              break;
            case 'height':
              r[2] = e;
              break;
            case 'width-and-depth':
              (r[0] = e), (r[1] = e);
              break;
            case 'all':
            case void 0:
            case null:
              (r[0] = e), (r[1] = e), (r[2] = e);
              break;
            default:
              (0, n.n)(s.axis);
          }
        }
        return r;
      }
    },
    63958: (e, t, i) => {
      'use strict';
      i.r(t), i.d(t, { default: () => L });
      var r = i(29768),
        s = (i(74569), i(86748)),
        n = (i(55306), i(71206), i(51979), i(60698), i(65684), i(86758), i(95310), i(20208)),
        o = i(54179),
        a = i(34250),
        l = i(76506),
        u = (i(91306), i(92143), i(17533)),
        p = i(22781),
        c = i(41617),
        d = i(60991),
        y = i(22739),
        m = i(60947),
        f = i(51637),
        h = i(21781),
        v = i(11118),
        b = i(8547),
        g = i(89440),
        w = i(62162),
        x = i(16647),
        C = i(58912),
        S = i(19902),
        _ = i(43022),
        T = i(13322),
        F = i(14460),
        I = i(78303),
        D = i(97546),
        E = i(47346),
        j = i(14249),
        V = i(77807),
        O = i(68653),
        R = i(31292),
        z = i(78893),
        Z = i(47842),
        N = i(21801);
      i(73796),
        i(74673),
        i(21972),
        i(23639),
        i(86656),
        i(22723),
        i(91055),
        i(27794),
        i(6906),
        i(50406),
        i(81172),
        i(71552),
        i(31450),
        i(40642),
        i(26341),
        i(97714),
        i(2906),
        i(84069),
        i(91597),
        i(86787),
        i(35132),
        i(89623),
        i(44567),
        i(98380),
        i(92896),
        i(32422),
        i(57251),
        i(15324),
        i(76996),
        i(29107),
        i(30574),
        i(2157),
        i(25977),
        i(7471),
        i(54414),
        i(59465),
        i(1648),
        i(8925),
        i(33921),
        i(3482),
        i(45154),
        i(16769),
        i(55531),
        i(30582),
        i(593),
        i(85699),
        i(63136),
        i(96055),
        i(47776),
        i(18033),
        i(6331),
        i(62048),
        i(4292),
        i(75626),
        i(72652),
        i(29641),
        i(30493),
        i(70821),
        i(82673),
        i(34229),
        i(37029),
        i(9801),
        i(53523),
        i(42911),
        i(46826),
        i(45433),
        i(60217),
        i(96467),
        i(63571),
        i(30776),
        i(48027),
        i(54174),
        i(82426),
        i(63130),
        i(25696),
        i(66396),
        i(42775),
        i(95834),
        i(34394),
        i(57150),
        i(76726),
        i(20444),
        i(76393),
        i(78548),
        i(2497),
        i(49906),
        i(46527),
        i(48649),
        i(9960),
        i(3101),
        i(5853),
        i(39141),
        i(32101),
        i(38742),
        i(48243),
        i(34635),
        i(10401),
        i(49900),
        i(66284),
        i(82058),
        i(88762),
        i(73173),
        i(67477),
        i(78533),
        i(74653),
        i(91091),
        i(58943),
        i(20543),
        i(70737),
        i(8487),
        i(17817),
        i(90814),
        i(15459),
        i(61847),
        i(16796),
        i(16955),
        i(22401),
        i(77894),
        i(55187),
        i(8586),
        i(44509),
        i(69814),
        i(11305),
        i(62259),
        i(44790),
        i(5909),
        i(60669),
        i(48208),
        i(51589),
        i(74071),
        i(51723),
        i(23243),
        i(51669),
        i(6090),
        i(3977),
        i(36741),
        i(11253),
        i(90319),
        i(38822),
        i(74057),
        i(23761),
        i(48190),
        i(85557),
        i(53785),
        i(95587),
        i(94070),
        i(16218),
        i(9075),
        i(67541),
        i(12158),
        i(74864),
        i(63683),
        i(94479),
        i(45702),
        i(51127),
        i(89241),
        i(91700),
        i(32037),
        i(90811),
        i(93939),
        i(238),
        i(71831),
        i(49500),
        i(50161),
        i(40267),
        i(90995),
        i(4571),
        i(89219),
        i(6941),
        i(54732),
        i(87258),
        i(41864),
        i(56420),
        i(74742),
        i(28239),
        i(93314),
        i(35197),
        i(59765),
        i(77361),
        i(17298),
        i(50203),
        i(30439),
        i(46495),
        i(69218),
        i(27207);
      const M = 'http://www.opengis.net/def/crs/OGC/1.3/CRS84';
      let P = class extends y.L {
        constructor() {
          super(...arguments), (this.featureDefinition = null), (this.type = 'ogc-feature');
        }
        load(e) {
          return this.addResolvingPromise(this._loadOGCServices(this.layer, e)), this.when();
        }
        getFeatureDefinition() {
          const {
            featureDefinition: {
              collection: e,
              layerDefinition: t,
              spatialReference: i,
              supportedCrs: r,
            },
            layer: { apiKey: s, capabilities: n, customParameters: o },
          } = this;
          return {
            capabilities: n,
            collection: e,
            layerDefinition: t,
            queryParameters: { apiKey: s, customParameters: o },
            spatialReference: i,
            supportedCrs: r,
          };
        }
        queryExtent(e, t = {}) {
          return null;
        }
        queryFeatureCount(e, t = {}) {
          return null;
        }
        queryFeatures(e, t = {}) {
          const i = this.getFeatureDefinition();
          return this.load(t).then(() => (0, f.q)(i, e, t));
        }
        queryFeaturesJSON(e, t = {}) {
          const i = this.getFeatureDefinition();
          return this.load(t).then(() => (0, f.a)(i, e, t));
        }
        queryObjectIds(e, t = {}) {
          return null;
        }
        supportsSpatialReference(e) {
          return (
            !(!e.isWGS84 && !e.isWebMercator) ||
            this.featureDefinition.supportedCrs.some((t) => {
              const i = (0, f.g)(t);
              return !(0, l.b)(i) && (0, m.e)(i, e);
            })
          );
        }
        _conformsToType(e, t) {
          var i;
          const r = new RegExp(`^${t}$`, 'i');
          return null != (i = e.conformsTo.some((e) => r.test(e))) && i;
        }
        _getCapabilities(e, t) {
          var i, r, s, n, o, a, u;
          const p = (0, l.i)(t) ? (null == (i = t.components) ? void 0 : i.parameters) : null;
          return {
            attachment: null,
            data: { isVersioned: !1, supportsAttachment: !1, supportsM: !1, supportsZ: e },
            metadata: { supportsAdvancedFieldProperties: !1 },
            operations: {
              supportsCalculate: !1,
              supportsTruncate: !1,
              supportsValidateSql: !1,
              supportsAdd: !1,
              supportsDelete: !1,
              supportsEditing: !1,
              supportsChangeTracking: !1,
              supportsQuery: !1,
              supportsQueryAttachments: !1,
              supportsResizeAttachments: !1,
              supportsSync: !1,
              supportsUpdate: !1,
              supportsExceedsLimitStatistics: !1,
            },
            query: {
              maxRecordCount:
                null !=
                (r =
                  null !=
                  (s =
                    null == p || null == (n = p.limit) || null == (o = n.schema)
                      ? void 0
                      : o.maximum)
                    ? s
                    : null == p || null == (a = p.limitFeatures) || null == (u = a.schema)
                    ? void 0
                    : u.maximum)
                  ? r
                  : 5e3,
              maxRecordCountFactor: void 0,
              standardMaxRecordCount: void 0,
              supportsCacheHint: !1,
              supportsCentroid: !1,
              supportsDisjointSpatialRelationship: !1,
              supportsDistance: !1,
              supportsDistinct: !1,
              supportsExtent: !1,
              supportsFormatPBF: !1,
              supportsGeometryProperties: !1,
              supportsHavingClause: !1,
              supportsHistoricMoment: !1,
              supportsMaxRecordCountFactor: !1,
              supportsOrderBy: !1,
              supportsPagination: !1,
              supportsPercentileStatistics: !1,
              supportsQuantization: !1,
              supportsQuantizationEditMode: !1,
              supportsQueryByOthers: !1,
              supportsQueryGeometry: !1,
              supportsResultType: !1,
              supportsStandardizedQueriesOnly: !1,
              supportsTopFeaturesQuery: !1,
              supportsStatistics: !1,
              supportsSqlExpression: !1,
              tileMaxRecordCount: void 0,
            },
            queryRelated: { supportsCount: !1, supportsOrderBy: !1, supportsPagination: !1 },
            editing: {
              supportsDeleteByAnonymous: !1,
              supportsDeleteByOthers: !1,
              supportsGeometryUpdate: !1,
              supportsGlobalId: !1,
              supportsReturnServiceEditsInSourceSpatialReference: !1,
              supportsRollbackOnFailure: !1,
              supportsUpdateByAnonymous: !1,
              supportsUpdateByOthers: !1,
              supportsUploadWithItemId: !1,
              supportsUpdateWithoutM: !1,
            },
          };
        }
        _getExtent(e) {
          var t;
          const i = null == (t = e.extent) ? void 0 : t.spatial;
          if (!i) return null;
          const r = i.bbox[0],
            s = 4 === r.length,
            n = r[0],
            o = r[1],
            a = s ? void 0 : r[2];
          return {
            xmin: n,
            ymin: o,
            xmax: s ? r[2] : r[3],
            ymax: s ? r[3] : r[4],
            zmin: a,
            zmax: s ? void 0 : r[5],
            spatialReference: m.Z.WGS84.toJSON(),
          };
        }
        _getSpatialReference(e) {
          var t;
          const i = null != (t = e.storageCrs) ? t : M,
            r = (0, f.g)(i);
          return (0, l.b)(r) ? m.Z.WGS84 : r;
        }
        _getSupportedSpatialReferences(e, t) {
          var i;
          const r = '#/crs',
            s = null != (i = e.crs) ? i : [M],
            n = s.includes(r) ? s.filter((e) => e !== r).concat(t.crs) : s,
            o = /^http:\/\/www\.opengis.net\/def\/crs\/epsg\/.*\/3785$/i;
          return n.filter((e) => !o.test(e));
        }
        async _loadOGCServices(e, t) {
          const i = (0, l.i)(t) ? t.signal : null,
            {
              apiKey: r,
              collectionId: s,
              customParameters: n,
              fields: o,
              geometryType: a,
              hasZ: u,
              objectIdField: c,
              timeInfo: y,
              url: m,
            } = e,
            h = {
              fields: null == o ? void 0 : o.map((e) => e.toJSON()),
              geometryType: p.t.toJSON(a),
              hasZ: u,
              objectIdField: c,
              timeInfo: null == y ? void 0 : y.toJSON(),
            },
            v = { apiKey: r, customParameters: n, signal: i },
            b = await (0, f.b)(m, v),
            [g, w] = await Promise.all([(0, f.c)(b, v), (0, f.d)(b, v)]);
          if (
            !this._conformsToType(
              g,
              'http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/geojson',
            )
          )
            throw new d.Z(
              'ogc-feature-layer:no-geojson-support',
              'Server does not support geojson',
            );
          const x = w.collections.find((e) => e.id === s);
          if (!x)
            throw new d.Z(
              'ogc-feature-layer:collection-not-found',
              'Server does not contain the named collection',
            );
          const C = this._conformsToType(
              g,
              'http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30',
            )
              ? await (0, f.e)(b, v)
              : null,
            S = await (0, f.f)(x, h, v),
            _ = this._getCapabilities(S.hasZ, C),
            T = this._getExtent(x),
            F = this._getSpatialReference(x).toJSON(),
            I = this._getSupportedSpatialReferences(x, w);
          (S.extent = T),
            (this.featureDefinition = {
              capabilities: _,
              collection: x,
              layerDefinition: S,
              queryParameters: {},
              spatialReference: F,
              supportedCrs: I,
            });
        }
      };
      (0, r._)([(0, a.Cb)()], P.prototype, 'featureDefinition', void 0),
        (0, r._)([(0, a.Cb)({ constructOnly: !0 })], P.prototype, 'layer', void 0),
        (0, r._)([(0, a.Cb)()], P.prototype, 'type', void 0),
        (P = (0, r._)([(0, u.j)('esri.layers.graphics.sources.OGCFeatureSource')], P));
      var U = P;
      const k = (0, E.d)();
      let q = class extends (0, h.A)(
        (0, b.C)((0, v.B)((0, S.T)((0, C.S)((0, g.O)((0, w.P)((0, x.R)((0, o.M)(c.Z)))))))),
      ) {
        constructor(e) {
          super(e),
            (this.collectionId = null),
            (this.copyright = null),
            (this.definitionExpression = null),
            (this.description = null),
            (this.displayField = null),
            (this.elevationInfo = null),
            (this.featureReduction = null),
            (this.fields = null),
            (this.fieldsIndex = null),
            (this.fullExtent = null),
            (this.geometryType = null),
            (this.hasZ = void 0),
            (this.labelingInfo = null),
            (this.labelsVisible = !0),
            (this.legendEnabled = !0),
            (this.objectIdField = null),
            (this.operationalLayerType = 'OGCFeatureLayer'),
            (this.popupEnabled = !0),
            (this.popupTemplate = null),
            (this.screenSizePerspectiveEnabled = !0),
            (this.source = new U({ layer: this })),
            (this.spatialReference = null),
            (this.title = null),
            (this.type = 'ogc-feature'),
            (this.typeIdField = null),
            (this.types = null),
            (this.url = null);
        }
        destroy() {
          var e;
          null == (e = this.source) || e.destroy();
        }
        load(e) {
          return (
            this.addResolvingPromise(
              this.loadFromPortal({ supportedTypes: ['OGCFeatureServer'] }, e).then(() =>
                this._fetchService(e),
              ),
            ),
            this.when()
          );
        }
        get defaultPopupTemplate() {
          return this.createPopupTemplate();
        }
        set renderer(e) {
          (0, j.YN)(e, this.fieldsIndex), this._set('renderer', e);
        }
        on(e, t) {
          return super.on(e, t);
        }
        createPopupTemplate(e) {
          return (0, z.eZ)(this, e);
        }
        createQuery() {
          return new R.Z();
        }
        getField(e) {
          return this.fieldsIndex.get(e);
        }
        getFieldDomain(e, t) {
          var i;
          let r,
            s = !1;
          const n = null == t || null == (i = t.feature) ? void 0 : i.attributes,
            o = this.typeIdField && (null == n ? void 0 : n[this.typeIdField]);
          return (
            null != o &&
              this.types &&
              (s = this.types.some((t) => {
                var i, s;
                return (
                  t.id == o &&
                  ((r = null == (i = t.domains) ? void 0 : i[e]),
                  'inherited' === (null == (s = r) ? void 0 : s.type) &&
                    (r = this._getLayerDomain(e)),
                  !0)
                );
              })),
            s || r || (r = this._getLayerDomain(e)),
            r
          );
        }
        queryFeatures(e, t) {
          return this.load()
            .then(() => this.source.queryFeatures(R.Z.from(e) || this.createQuery(), t))
            .then((e) => {
              var t;
              return (
                null == e ||
                  null == (t = e.features) ||
                  t.forEach((e) => {
                    e.layer = e.sourceLayer = this;
                  }),
                e
              );
            });
        }
        async _fetchService(e) {
          await this.source.load(e),
            this.read(this.source.featureDefinition, { origin: 'service' }),
            (0, j.YN)(this.renderer, this.fieldsIndex),
            (0, j.UF)(this.timeInfo, this.fieldsIndex);
        }
        _getLayerDomain(e) {
          if (!this.fields) return null;
          for (const t of this.fields) if (t.name === e && t.domain) return t.domain;
          return null;
        }
      };
      (0, r._)(
        [(0, a.Cb)({ readOnly: !0, json: { origins: { service: { read: !0 } } } })],
        q.prototype,
        'capabilities',
        void 0,
      ),
        (0, r._)(
          [(0, a.Cb)({ type: String, json: { write: !0 } })],
          q.prototype,
          'collectionId',
          void 0,
        ),
        (0, r._)([(0, a.Cb)({ type: String })], q.prototype, 'copyright', void 0),
        (0, r._)([(0, a.Cb)({ readOnly: !0 })], q.prototype, 'defaultPopupTemplate', null),
        (0, r._)([(0, a.Cb)({ type: String })], q.prototype, 'definitionExpression', void 0),
        (0, r._)(
          [
            (0, a.Cb)({
              readOnly: !0,
              type: String,
              json: { origins: { service: { read: { source: 'collection.description' } } } },
            }),
          ],
          q.prototype,
          'description',
          void 0,
        ),
        (0, r._)([(0, a.Cb)({ type: String })], q.prototype, 'displayField', void 0),
        (0, r._)([(0, a.Cb)({ type: Z.E })], q.prototype, 'elevationInfo', void 0),
        (0, r._)(
          [
            (0, a.Cb)({
              types: { key: 'type', base: T.F, typeMap: { selection: T.Z, cluster: F.Z } },
            }),
          ],
          q.prototype,
          'featureReduction',
          void 0,
        ),
        (0, r._)(
          [
            (0, a.Cb)({
              type: [D.Z],
              json: { origins: { service: { read: { source: 'layerDefinition.fields' } } } },
            }),
          ],
          q.prototype,
          'fields',
          void 0,
        ),
        (0, r._)([(0, a.Cb)(k.fieldsIndex)], q.prototype, 'fieldsIndex', void 0),
        (0, r._)(
          [
            (0, a.Cb)({
              readOnly: !0,
              type: N.Z,
              json: { origins: { service: { read: { source: 'layerDefinition.extent' } } } },
            }),
          ],
          q.prototype,
          'fullExtent',
          void 0,
        ),
        (0, r._)(
          [
            (0, a.Cb)({
              type: p.f.apiValues,
              json: {
                origins: {
                  service: { read: { source: 'layerDefinition.geometryType', reader: p.f.read } },
                },
              },
            }),
          ],
          q.prototype,
          'geometryType',
          void 0,
        ),
        (0, r._)(
          [
            (0, a.Cb)({
              type: Boolean,
              json: { origins: { service: { read: { source: 'layerDefinition.hasZ' } } } },
            }),
          ],
          q.prototype,
          'hasZ',
          void 0,
        ),
        (0, r._)(
          [
            (0, a.Cb)({
              type: [V.Z],
              json: {
                origins: {
                  'web-map': {
                    read: { source: 'layerDefinition.drawingInfo.labelingInfo', reader: O.r },
                    write: { target: 'layerDefinition.drawingInfo.labelingInfo' },
                  },
                },
              },
            }),
          ],
          q.prototype,
          'labelingInfo',
          void 0,
        ),
        (0, r._)([(0, a.Cb)(_.l)], q.prototype, 'labelsVisible', void 0),
        (0, r._)([(0, a.Cb)(_.b)], q.prototype, 'legendEnabled', void 0),
        (0, r._)(
          [
            (0, a.Cb)({
              type: String,
              json: { origins: { service: { read: { source: 'layerDefinition.objectIdField' } } } },
            }),
          ],
          q.prototype,
          'objectIdField',
          void 0,
        ),
        (0, r._)(
          [(0, a.Cb)({ type: ['OGCFeatureLayer'] })],
          q.prototype,
          'operationalLayerType',
          void 0,
        ),
        (0, r._)([(0, a.Cb)(_.p)], q.prototype, 'popupEnabled', void 0),
        (0, r._)(
          [
            (0, a.Cb)({
              type: s.Z,
              json: { read: { source: 'popupInfo' }, write: { target: 'popupInfo' } },
            }),
          ],
          q.prototype,
          'popupTemplate',
          void 0,
        ),
        (0, r._)(
          [
            (0, a.Cb)({
              types: n.r,
              json: {
                origins: {
                  service: { read: { source: 'layerDefinition.drawingInfo.renderer' }, write: !1 },
                },
                read: { source: 'layerDefinition.drawingInfo.renderer' },
                write: { target: 'layerDefinition.drawingInfo.renderer' },
              },
            }),
          ],
          q.prototype,
          'renderer',
          null,
        ),
        (0, r._)(
          [(0, a.Cb)({ type: Boolean })],
          q.prototype,
          'screenSizePerspectiveEnabled',
          void 0,
        ),
        (0, r._)([(0, a.Cb)({ readOnly: !0 })], q.prototype, 'source', void 0),
        (0, r._)(
          [(0, a.Cb)({ readOnly: !0, type: m.Z, json: { origins: { service: { read: !0 } } } })],
          q.prototype,
          'spatialReference',
          void 0,
        ),
        (0, r._)(
          [
            (0, a.Cb)({
              type: String,
              json: {
                origins: {
                  service: { read: { source: 'collection.title' } },
                  'web-map': { write: { ignoreOrigin: !0 } },
                },
              },
            }),
          ],
          q.prototype,
          'title',
          void 0,
        ),
        (0, r._)([(0, a.Cb)({ readOnly: !0, json: { read: !1 } })], q.prototype, 'type', void 0),
        (0, r._)([(0, a.Cb)({ type: String, readOnly: !0 })], q.prototype, 'typeIdField', void 0),
        (0, r._)([(0, a.Cb)({ type: [I.Z] })], q.prototype, 'types', void 0),
        (0, r._)([(0, a.Cb)({ type: String, json: { write: !0 } })], q.prototype, 'url', void 0),
        (q = (0, r._)([(0, u.j)('esri.layers.OGCFeatureLayer')], q));
      const L = q;
    },
    14460: (e, t, i) => {
      'use strict';
      i.d(t, { Z: () => x });
      var r,
        s = i(29768),
        n = i(86748),
        o = i(96467),
        a = i(74673),
        l = i(76506),
        u = i(99403),
        p = i(34250),
        c = (i(91306), i(92143), i(17533)),
        d = i(43022),
        y = i(77807);
      i(15324),
        i(91055),
        i(76996),
        i(21972),
        i(23639),
        i(86656),
        i(22723),
        i(27794),
        i(6906),
        i(50406),
        i(60991),
        i(81172),
        i(71552),
        i(31450),
        i(40642),
        i(86787),
        i(97714),
        i(2906),
        i(14249),
        i(9801),
        i(53523),
        i(59465),
        i(57251),
        i(42911),
        i(26341),
        i(46826),
        i(45433),
        i(60217),
        i(74569),
        i(21801),
        i(73796),
        i(60947),
        i(91597),
        i(35132),
        i(89623),
        i(84069),
        i(44567),
        i(98380),
        i(92896),
        i(22781),
        i(32422),
        i(29107),
        i(30574),
        i(2157),
        i(25977),
        i(7471),
        i(54414),
        i(1648),
        i(8925),
        i(33921),
        i(3482),
        i(45154),
        i(16769),
        i(55531),
        i(30582),
        i(593),
        i(85699),
        i(63136),
        i(96055),
        i(47776),
        i(18033),
        i(6331),
        i(62048),
        i(4292),
        i(75626),
        i(72652),
        i(29641),
        i(30493),
        i(70821),
        i(82673),
        i(34229),
        i(37029),
        i(63571),
        i(30776),
        i(48027),
        i(54174),
        i(82426),
        i(63130),
        i(25696),
        i(66396),
        i(42775),
        i(95834),
        i(34394),
        i(57150),
        i(76726),
        i(20444),
        i(76393),
        i(78548),
        i(2497),
        i(49906),
        i(46527),
        i(48649),
        i(9960),
        i(3101),
        i(5853),
        i(39141),
        i(32101),
        i(38742),
        i(48243),
        i(34635),
        i(10401),
        i(49900),
        i(66284),
        i(82058),
        i(88762),
        i(73173),
        i(22739),
        i(20543),
        i(67477),
        i(78533),
        i(74653),
        i(91091),
        i(58943),
        i(70737),
        i(8487),
        i(17817),
        i(90814),
        i(15459),
        i(61847),
        i(16796),
        i(16955),
        i(22401),
        i(77894),
        i(55187),
        i(8586),
        i(44509),
        i(69814),
        i(11305),
        i(62259),
        i(44790),
        i(5909),
        i(60669),
        i(48208),
        i(51589),
        i(93314),
        i(35197),
        i(47842),
        i(17298),
        i(85557),
        i(53785),
        i(95587),
        i(50203),
        i(30439),
        i(6941),
        i(16218),
        i(9075);
      let m = (r = class extends a.a {
        constructor() {
          super(...arguments),
            (this.statisticType = null),
            (this.onStatisticField = null),
            (this.onStatisticValueExpression = null);
        }
        clone() {
          return new r({
            statisticType: this.statisticType,
            onStatisticField: this.onStatisticField,
            onStatisticValueExpression: this.onStatisticValueExpression,
          });
        }
      });
      (0, s._)(
        [(0, p.Cb)({ type: String, json: { write: !0 } })],
        m.prototype,
        'statisticType',
        void 0,
      ),
        (0, s._)(
          [(0, p.Cb)({ type: String, json: { write: !0 } })],
          m.prototype,
          'onStatisticField',
          void 0,
        ),
        (0, s._)(
          [(0, p.Cb)({ type: String, json: { write: !0 } })],
          m.prototype,
          'onStatisticValueExpression',
          void 0,
        ),
        (m = r = (0, s._)([(0, c.j)('esri.layers.support.OutStatistic')], m));
      var f,
        h = m;
      let v = (f = class extends a.a {
        constructor() {
          super(...arguments), (this.name = null);
        }
        clone() {
          return new f({ name: this.name, outStatistic: this.outStatistic.clone() });
        }
      });
      (0, s._)([(0, p.Cb)({ type: String, json: { write: !0 } })], v.prototype, 'name', void 0),
        (0, s._)(
          [(0, p.Cb)({ type: h, json: { write: !0 } })],
          v.prototype,
          'outStatistic',
          void 0,
        ),
        (v = f = (0, s._)([(0, c.j)('esri.layers.support.AggregateField')], v));
      var b,
        g = v;
      let w = (b = class extends a.a {
        constructor(e) {
          super(e),
            (this.type = 'cluster'),
            (this.clusterRadius = (0, u.t)('80px')),
            (this.clusterMinSize = (0, u.t)('12px')),
            (this.clusterMaxSize = (0, u.t)('50px')),
            (this.popupEnabled = !0),
            (this.popupTemplate = null),
            (this.symbol = null),
            (this.labelingInfo = null),
            (this.labelsVisible = !0),
            (this.fields = null);
        }
        clone() {
          return new b({
            clusterRadius: this.clusterRadius,
            clusterMinSize: this.clusterMinSize,
            clusterMaxSize: this.clusterMaxSize,
            labelingInfo: (0, l.d9)(this.labelingInfo),
            labelsVisible: this.labelsVisible,
            fields: (0, l.d9)(this.fields),
            popupEnabled: this.popupEnabled,
            popupTemplate: (0, l.d9)(this.popupTemplate),
          });
        }
      });
      (0, s._)(
        [(0, p.Cb)({ type: ['cluster'], readOnly: !0, json: { write: !0 } })],
        w.prototype,
        'type',
        void 0,
      ),
        (0, s._)(
          [
            (0, p.Cb)({
              type: Number,
              cast: (e) => ('auto' === e ? e : (0, u.t)(e)),
              json: { write: !0 },
            }),
          ],
          w.prototype,
          'clusterRadius',
          void 0,
        ),
        (0, s._)(
          [(0, p.Cb)({ type: Number, cast: u.t, json: { write: !0 } })],
          w.prototype,
          'clusterMinSize',
          void 0,
        ),
        (0, s._)(
          [(0, p.Cb)({ type: Number, cast: u.t, json: { write: !0 } })],
          w.prototype,
          'clusterMaxSize',
          void 0,
        ),
        (0, s._)([(0, p.Cb)(d.p)], w.prototype, 'popupEnabled', void 0),
        (0, s._)(
          [
            (0, p.Cb)({
              type: n.Z,
              json: { read: { source: 'popupInfo' }, write: { target: 'popupInfo' } },
            }),
          ],
          w.prototype,
          'popupTemplate',
          void 0,
        ),
        (0, s._)([(0, p.Cb)({ types: o.AH })], w.prototype, 'symbol', void 0),
        (0, s._)(
          [
            (0, p.Cb)({
              type: [y.Z],
              json: {
                read: { source: 'drawingInfo.labelingInfo' },
                write: { target: 'drawingInfo.labelingInfo' },
              },
            }),
          ],
          w.prototype,
          'labelingInfo',
          void 0,
        ),
        (0, s._)([(0, p.Cb)(d.l)], w.prototype, 'labelsVisible', void 0),
        (0, s._)([(0, p.Cb)({ type: [g], json: { write: !0 } })], w.prototype, 'fields', void 0),
        (w = b = (0, s._)([(0, c.j)('esri.layers.support.FeatureReductionCluster')], w));
      const x = w;
    },
    13322: (e, t, i) => {
      'use strict';
      i.d(t, { Z: () => c, F: () => u });
      var r = i(29768),
        s = i(34250),
        n = (i(76506), i(91306), i(92143), i(17533)),
        o = i(74673);
      i(86656),
        i(22723),
        i(31450),
        i(71552),
        i(40642),
        i(81172),
        i(21972),
        i(23639),
        i(91055),
        i(27794),
        i(6906),
        i(50406),
        i(60991),
        i(26341);
      let a = class extends o.a {
        constructor() {
          super(...arguments), (this.type = null);
        }
      };
      (0, r._)(
        [
          (0, s.Cb)({
            type: ['selection', 'cluster'],
            readOnly: !0,
            json: { read: !1, write: !0 },
          }),
        ],
        a.prototype,
        'type',
        void 0,
      ),
        (a = (0, r._)([(0, n.j)('esri.layers.support.FeatureReduction')], a));
      var l,
        u = a;
      let p = (l = class extends u {
        constructor(e) {
          super(e), (this.type = 'selection');
        }
        clone() {
          return new l();
        }
      });
      (0, r._)([(0, s.Cb)({ type: ['selection'] })], p.prototype, 'type', void 0),
        (p = l = (0, r._)([(0, n.j)('esri.layers.support.FeatureReductionSelection')], p));
      const c = p;
    },
    46495: (e, t, i) => {
      'use strict';
      i.d(t, { Z: () => d });
      var r = i(29768),
        s = i(57251),
        n = i(74673),
        o = i(76506),
        a = i(34250),
        l = (i(91306), i(92143), i(17533)),
        u = i(2906);
      i(71552),
        i(21972),
        i(23639),
        i(86656),
        i(22723),
        i(91055),
        i(27794),
        i(6906),
        i(50406),
        i(60991),
        i(81172),
        i(31450),
        i(40642),
        i(26341);
      const p = new s.J({
        esriFeatureEditToolAutoCompletePolygon: 'auto-complete-polygon',
        esriFeatureEditToolCircle: 'circle',
        esriFeatureEditToolEllipse: 'ellipse',
        esriFeatureEditToolFreehand: 'freehand',
        esriFeatureEditToolLine: 'line',
        esriFeatureEditToolNone: 'none',
        esriFeatureEditToolPoint: 'point',
        esriFeatureEditToolPolygon: 'polygon',
        esriFeatureEditToolRectangle: 'rectangle',
        esriFeatureEditToolArrow: 'arrow',
        esriFeatureEditToolTriangle: 'triangle',
        esriFeatureEditToolLeftArrow: 'left-arrow',
        esriFeatureEditToolRightArrow: 'right-arrow',
        esriFeatureEditToolUpArrow: 'up-arrow',
        esriFeatureEditToolDownArrow: 'down-arrow',
      });
      let c = class extends n.a {
        constructor(e) {
          super(e),
            (this.name = null),
            (this.description = null),
            (this.drawingTool = null),
            (this.prototype = null),
            (this.thumbnail = null);
        }
        writeDrawingTool(e, t) {
          t.drawingTool = p.toJSON(e);
        }
        writePrototype(e, t) {
          t.prototype = (0, o.yd)((0, o.d9)(e), !0);
        }
        writeThumbnail(e, t) {
          t.thumbnail = (0, o.yd)((0, o.d9)(e));
        }
      };
      (0, r._)([(0, a.Cb)({ json: { write: !0 } })], c.prototype, 'name', void 0),
        (0, r._)([(0, a.Cb)({ json: { write: !0 } })], c.prototype, 'description', void 0),
        (0, r._)(
          [(0, a.Cb)({ json: { read: p.read, write: p.write } })],
          c.prototype,
          'drawingTool',
          void 0,
        ),
        (0, r._)([(0, u.w)('drawingTool')], c.prototype, 'writeDrawingTool', null),
        (0, r._)([(0, a.Cb)({ json: { write: !0 } })], c.prototype, 'prototype', void 0),
        (0, r._)([(0, u.w)('prototype')], c.prototype, 'writePrototype', null),
        (0, r._)([(0, a.Cb)({ json: { write: !0 } })], c.prototype, 'thumbnail', void 0),
        (0, r._)([(0, u.w)('thumbnail')], c.prototype, 'writeThumbnail', null),
        (c = (0, r._)([(0, l.j)('esri.layers.support.FeatureTemplate')], c));
      const d = c;
    },
    78303: (e, t, i) => {
      'use strict';
      i.d(t, { Z: () => f });
      var r = i(29768),
        s = i(74673),
        n = i(76506),
        o = i(34250),
        a = (i(91306), i(92143), i(97714)),
        l = i(17533),
        u = i(2906),
        p = (i(9801), i(46495)),
        c = i(46826),
        d = i(53523),
        y = i(45433);
      i(21972),
        i(23639),
        i(86656),
        i(22723),
        i(91055),
        i(27794),
        i(6906),
        i(50406),
        i(60991),
        i(81172),
        i(71552),
        i(31450),
        i(40642),
        i(26341),
        i(42911),
        i(57251),
        i(59465);
      let m = class extends s.a {
        constructor(e) {
          super(e),
            (this.id = null),
            (this.name = null),
            (this.domains = null),
            (this.templates = null);
        }
        readDomains(e) {
          const t = {};
          for (const i in e)
            if (e.hasOwnProperty(i)) {
              const r = e[i];
              switch (r.type) {
                case 'range':
                  t[i] = y.Z.fromJSON(r);
                  break;
                case 'codedValue':
                  t[i] = d.Z.fromJSON(r);
                  break;
                case 'inherited':
                  t[i] = c.Z.fromJSON(r);
              }
            }
          return t;
        }
        writeDomains(e, t) {
          const i = {};
          for (const t in e) e.hasOwnProperty(t) && (i[t] = e[t] && e[t].toJSON());
          (0, n.yd)(i), (t.domains = i);
        }
        readTemplates(e) {
          return e && e.map((e) => new p.Z(e));
        }
        writeTemplates(e, t) {
          t.templates = e && e.map((e) => e.toJSON());
        }
      };
      (0, r._)([(0, o.Cb)({ json: { write: !0 } })], m.prototype, 'id', void 0),
        (0, r._)([(0, o.Cb)({ json: { write: !0 } })], m.prototype, 'name', void 0),
        (0, r._)([(0, o.Cb)({ json: { write: !0 } })], m.prototype, 'domains', void 0),
        (0, r._)([(0, a.r)('domains')], m.prototype, 'readDomains', null),
        (0, r._)([(0, u.w)('domains')], m.prototype, 'writeDomains', null),
        (0, r._)([(0, o.Cb)({ json: { write: !0 } })], m.prototype, 'templates', void 0),
        (0, r._)([(0, a.r)('templates')], m.prototype, 'readTemplates', null),
        (0, r._)([(0, u.w)('templates')], m.prototype, 'writeTemplates', null),
        (m = (0, r._)([(0, l.j)('esri.layers.support.FeatureType')], m));
      const f = m;
    },
    77361: (e, t, i) => {
      'use strict';
      i.d(t, { Z: () => v });
      var r,
        s = i(29768),
        n = i(93314),
        o = i(59765),
        a = i(74673),
        l = i(76506),
        u = i(34250),
        p = (i(91306), i(92143), i(97714)),
        c = i(17533),
        d = i(2906);
      i(35197),
        i(21972),
        i(23639),
        i(86656),
        i(22723),
        i(91055),
        i(27794),
        i(6906),
        i(50406),
        i(60991),
        i(81172),
        i(71552),
        i(31450),
        i(40642),
        i(26341),
        i(57251);
      let y = (r = class extends a.a {
        constructor(e) {
          super(e), (this.respectsDaylightSaving = !1), (this.timezone = null);
        }
        readRespectsDaylightSaving(e, t) {
          return void 0 !== t.respectsDaylightSaving
            ? t.respectsDaylightSaving
            : void 0 !== t.respectDaylightSaving && t.respectDaylightSaving;
        }
        clone() {
          const { respectsDaylightSaving: e, timezone: t } = this;
          return new r({ respectsDaylightSaving: e, timezone: t });
        }
      });
      (0, s._)(
        [(0, u.Cb)({ type: Boolean, json: { write: !0 } })],
        y.prototype,
        'respectsDaylightSaving',
        void 0,
      ),
        (0, s._)(
          [(0, p.r)('respectsDaylightSaving', ['respectsDaylightSaving', 'respectDaylightSaving'])],
          y.prototype,
          'readRespectsDaylightSaving',
          null,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              type: String,
              json: { read: { source: 'timeZone' }, write: { target: 'timeZone' } },
            }),
          ],
          y.prototype,
          'timezone',
          void 0,
        ),
        (y = r = (0, s._)([(0, c.j)('esri.layers.support.TimeReference')], y));
      var m,
        f = y;
      let h = (m = class extends a.a {
        constructor(e) {
          super(e),
            (this.cumulative = !1),
            (this.endField = null),
            (this.fullTimeExtent = null),
            (this.hasLiveData = !1),
            (this.interval = null),
            (this.startField = null),
            (this.timeReference = null),
            (this.trackIdField = null),
            (this.useTime = !0);
        }
        readFullTimeExtent(e, t) {
          if (!t.timeExtent || !Array.isArray(t.timeExtent) || 2 !== t.timeExtent.length)
            return null;
          const i = new Date(t.timeExtent[0]),
            r = new Date(t.timeExtent[1]);
          return new n.Z({ start: i, end: r });
        }
        writeFullTimeExtent(e, t) {
          e && (0, l.i)(e.start) && (0, l.i)(e.end)
            ? (t.timeExtent = [e.start.getTime(), e.end.getTime()])
            : (t.timeExtent = null);
        }
        readInterval(e, t) {
          return t.timeInterval && t.timeIntervalUnits
            ? new o.Z({ value: t.timeInterval, unit: o.t.fromJSON(t.timeIntervalUnits) })
            : t.defaultTimeInterval && t.defaultTimeIntervalUnits
            ? new o.Z({
                value: t.defaultTimeInterval,
                unit: o.t.fromJSON(t.defaultTimeIntervalUnits),
              })
            : null;
        }
        writeInterval(e, t) {
          if (e) {
            const i = e.toJSON();
            (t.timeInterval = i.value), (t.timeIntervalUnits = i.unit);
          } else (t.timeInterval = null), (t.timeIntervalUnits = null);
        }
        clone() {
          const {
            cumulative: e,
            endField: t,
            hasLiveData: i,
            interval: r,
            startField: s,
            timeReference: n,
            fullTimeExtent: o,
            trackIdField: a,
            useTime: u,
          } = this;
          return new m({
            cumulative: e,
            endField: t,
            hasLiveData: i,
            interval: r,
            startField: s,
            timeReference: (0, l.d9)(n),
            fullTimeExtent: (0, l.d9)(o),
            trackIdField: a,
            useTime: u,
          });
        }
      });
      (0, s._)(
        [
          (0, u.Cb)({
            type: Boolean,
            json: {
              read: { source: 'exportOptions.timeDataCumulative' },
              write: { target: 'exportOptions.timeDataCumulative' },
            },
          }),
        ],
        h.prototype,
        'cumulative',
        void 0,
      ),
        (0, s._)(
          [
            (0, u.Cb)({
              type: String,
              json: {
                read: { source: 'endTimeField' },
                write: { target: 'endTimeField', allowNull: !0 },
              },
            }),
          ],
          h.prototype,
          'endField',
          void 0,
        ),
        (0, s._)(
          [(0, u.Cb)({ type: n.Z, json: { write: { enabled: !0, allowNull: !0 } } })],
          h.prototype,
          'fullTimeExtent',
          void 0,
        ),
        (0, s._)(
          [(0, p.r)('fullTimeExtent', ['timeExtent'])],
          h.prototype,
          'readFullTimeExtent',
          null,
        ),
        (0, s._)([(0, d.w)('fullTimeExtent')], h.prototype, 'writeFullTimeExtent', null),
        (0, s._)(
          [(0, u.Cb)({ type: Boolean, json: { write: !0 } })],
          h.prototype,
          'hasLiveData',
          void 0,
        ),
        (0, s._)(
          [(0, u.Cb)({ type: o.Z, json: { write: { enabled: !0, allowNull: !0 } } })],
          h.prototype,
          'interval',
          void 0,
        ),
        (0, s._)(
          [
            (0, p.r)('interval', [
              'timeInterval',
              'timeIntervalUnits',
              'defaultTimeInterval',
              'defaultTimeIntervalUnits',
            ]),
          ],
          h.prototype,
          'readInterval',
          null,
        ),
        (0, s._)([(0, d.w)('interval')], h.prototype, 'writeInterval', null),
        (0, s._)(
          [
            (0, u.Cb)({
              type: String,
              json: {
                read: { source: 'startTimeField' },
                write: { target: 'startTimeField', allowNull: !0 },
              },
            }),
          ],
          h.prototype,
          'startField',
          void 0,
        ),
        (0, s._)(
          [(0, u.Cb)({ type: f, json: { write: { enabled: !0, allowNull: !0 } } })],
          h.prototype,
          'timeReference',
          void 0,
        ),
        (0, s._)(
          [(0, u.Cb)({ type: String, json: { write: { enabled: !0, allowNull: !0 } } })],
          h.prototype,
          'trackIdField',
          void 0,
        ),
        (0, s._)(
          [
            (0, u.Cb)({
              type: Boolean,
              json: {
                read: { source: 'exportOptions.useTime' },
                write: { target: 'exportOptions.useTime' },
              },
            }),
          ],
          h.prototype,
          'useTime',
          void 0,
        ),
        (h = m = (0, s._)([(0, c.j)('esri.layers.support.TimeInfo')], h));
      const v = h;
    },
  },
]);
