(self.webpackChunkRemoteClient = self.webpackChunkRemoteClient || []).push([
  [629],
  {
    629: (e, t, r) => {
      'use strict';
      r.r(t), r.d(t, { default: () => w });
      var s = r(48190),
        i = r(42788),
        n = r(60947),
        a = (r(76506), r(53326)),
        o = r(92482),
        l = (r(71435), r(22781), r(97546));
      class u {
        constructor(e, t, r) {
          (this.uid = e),
            (this.geometry = t),
            (this.attributes = r),
            (this.visible = !0),
            (this.objectId = null),
            (this.centroid = null);
        }
      }
      class c {
        constructor() {
          (this.exceededTransferLimit = !1),
            (this.features = []),
            (this.fields = []),
            (this.hasM = !1),
            (this.hasZ = !1),
            (this.geometryType = null),
            (this.objectIdFieldName = null),
            (this.globalIdFieldName = null),
            (this.geometryProperties = null),
            (this.geohashFieldName = null),
            (this.spatialReference = null),
            (this.transform = null);
        }
      }
      (0, a.c)(), (0, o.a)();
      var d = r(40267),
        h = r(92847),
        p = r(76733);
      function y(e, t) {
        return t;
      }
      function f(e, t, r, s) {
        switch (r) {
          case 0:
            return _(e, t + s, 0);
          case 1:
            return 'lowerLeft' === e.originPosition
              ? _(e, t + s, 1)
              : (function ({ translate: e, scale: t }, r, s) {
                  return e[s] - r * t[s];
                })(e, t + s, 1);
        }
      }
      function g(e, t, r, s) {
        switch (r) {
          case 2:
            return _(e, t, 2);
          default:
            return f(e, t, r, s);
        }
      }
      function m(e, t, r, s) {
        switch (r) {
          case 2:
            return _(e, t, 3);
          default:
            return f(e, t, r, s);
        }
      }
      function b(e, t, r, s) {
        switch (r) {
          case 3:
            return _(e, t, 3);
          default:
            return g(e, t, r, s);
        }
      }
      function _({ translate: e, scale: t }, r, s) {
        return e[s] + r * t[s];
      }
      r(74673),
        r(21972),
        r(23639),
        r(92143),
        r(31450),
        r(71552),
        r(40642),
        r(34250),
        r(91306),
        r(86656),
        r(22723),
        r(91055),
        r(17533),
        r(81172),
        r(27794),
        r(6906),
        r(50406),
        r(60991),
        r(26341),
        r(2906),
        r(21801),
        r(73796),
        r(97714),
        r(91597),
        r(86787),
        r(35132),
        r(89623),
        r(32422),
        r(84069),
        r(44567),
        r(98380),
        r(92896),
        r(57251),
        r(59465),
        r(9801),
        r(53523),
        r(42911),
        r(46826),
        r(45433),
        r(54732),
        r(53785),
        r(95587),
        r(11385);
      class k {
        constructor(e) {
          (this.options = e),
            (this.geometryTypes = ['point', 'multipoint', 'polyline', 'polygon']),
            (this.previousCoordinate = [0, 0]),
            (this.transform = null),
            (this.applyTransform = y),
            (this.lengths = []),
            (this.currentLengthIndex = 0),
            (this.toAddInCurrentPath = 0),
            (this.vertexDimension = 0),
            (this.coordinateBuffer = null),
            (this.coordinateBufferPtr = 0),
            (this.AttributesConstructor = function () {});
        }
        createFeatureResult() {
          return new c();
        }
        finishFeatureResult(e) {
          if (
            (this.options.applyTransform && (e.transform = null),
            (this.AttributesConstructor = function () {}),
            (this.coordinateBuffer = null),
            (this.lengths.length = 0),
            !e.hasZ)
          )
            return;
          const t = (0, h.g)(
            e.geometryType,
            this.options.sourceSpatialReference,
            e.spatialReference,
          );
          if (t) for (const r of e.features) t(r.geometry);
        }
        createSpatialReference() {
          return new n.Z();
        }
        addField(e, t) {
          e.fields.push(l.Z.fromJSON(t));
          const r = e.fields.map((e) => e.name);
          this.AttributesConstructor = function () {
            for (const e of r) this[e] = null;
          };
        }
        addFeature(e, t) {
          const r = this.options.maxStringAttributeLength
            ? this.options.maxStringAttributeLength
            : 0;
          if (r > 0)
            for (const e in t.attributes) {
              const s = t.attributes[e];
              'string' == typeof s && s.length > r && (t.attributes[e] = '');
            }
          e.features.push(t);
        }
        addQueryGeometry(e, t) {
          const { queryGeometry: r, queryGeometryType: s } = t,
            i = (0, d.u)(r.clone(), r, !1, !1, this.transform),
            n = (0, d.c)(i, s, !1, !1);
          let a = null;
          switch (s) {
            case 'esriGeometryPoint':
              a = 'point';
              break;
            case 'esriGeometryPolygon':
              a = 'polygon';
              break;
            case 'esriGeometryPolyline':
              a = 'polyline';
              break;
            case 'esriGeometryMultipoint':
              a = 'multipoint';
          }
          (n.type = a), (e.queryGeometryType = s), (e.queryGeometry = n);
        }
        prepareFeatures(e) {
          switch (
            ((this.transform = e.transform),
            this.options.applyTransform &&
              e.transform &&
              (this.applyTransform = this.deriveApplyTransform(e)),
            (this.vertexDimension = 2),
            e.hasZ && this.vertexDimension++,
            e.hasM && this.vertexDimension++,
            e.geometryType)
          ) {
            case 'point':
              (this.addCoordinate = (e, t, r) => this.addCoordinatePoint(e, t, r)),
                (this.createGeometry = (e) => this.createPointGeometry(e));
              break;
            case 'polygon':
              (this.addCoordinate = (e, t, r) => this.addCoordinatePolygon(e, t, r)),
                (this.createGeometry = (e) => this.createPolygonGeometry(e));
              break;
            case 'polyline':
              (this.addCoordinate = (e, t, r) => this.addCoordinatePolyline(e, t, r)),
                (this.createGeometry = (e) => this.createPolylineGeometry(e));
              break;
            case 'multipoint':
              (this.addCoordinate = (e, t, r) => this.addCoordinateMultipoint(e, t, r)),
                (this.createGeometry = (e) => this.createMultipointGeometry(e));
              break;
            case 'mesh':
            case 'extent':
              break;
            default:
              (0, s.n)(e.geometryType);
          }
        }
        createFeature() {
          return (
            (this.lengths.length = 0),
            (this.currentLengthIndex = 0),
            (this.previousCoordinate[0] = 0),
            (this.previousCoordinate[1] = 0),
            new u((0, i.g)(), null, new this.AttributesConstructor())
          );
        }
        allocateCoordinates() {
          const e = this.lengths.reduce((e, t) => e + t, 0);
          (this.coordinateBuffer = new Float64Array(e * this.vertexDimension)),
            (this.coordinateBufferPtr = 0);
        }
        addLength(e, t, r) {
          0 === this.lengths.length && (this.toAddInCurrentPath = t), this.lengths.push(t);
        }
        createPointGeometry(e) {
          const t = {
            type: 'point',
            x: 0,
            y: 0,
            spatialReference: e.spatialReference,
            hasZ: !!e.hasZ,
            hasM: !!e.hasM,
          };
          return t.hasZ && (t.z = 0), t.hasM && (t.m = 0), t;
        }
        addCoordinatePoint(e, t, r) {
          switch (((t = this.applyTransform(this.transform, t, r, 0)), r)) {
            case 0:
              e.x = t;
              break;
            case 1:
              e.y = t;
              break;
            case 2:
              e.hasZ ? (e.z = t) : (e.m = t);
              break;
            case 3:
              e.m = t;
          }
        }
        transformPathLikeValue(e, t) {
          let r = 0;
          return (
            t <= 1 && ((r = this.previousCoordinate[t]), (this.previousCoordinate[t] += e)),
            this.applyTransform(this.transform, e, t, r)
          );
        }
        addCoordinatePolyline(e, t, r) {
          this.dehydratedAddPointsCoordinate(e.paths, t, r);
        }
        addCoordinatePolygon(e, t, r) {
          this.dehydratedAddPointsCoordinate(e.rings, t, r);
        }
        addCoordinateMultipoint(e, t, r) {
          0 === r && e.points.push([]);
          const s = this.transformPathLikeValue(t, r);
          e.points[e.points.length - 1].push(s);
        }
        createPolygonGeometry(e) {
          return {
            type: 'polygon',
            rings: [[]],
            spatialReference: e.spatialReference,
            hasZ: !!e.hasZ,
            hasM: !!e.hasM,
          };
        }
        createPolylineGeometry(e) {
          return {
            type: 'polyline',
            paths: [[]],
            spatialReference: e.spatialReference,
            hasZ: !!e.hasZ,
            hasM: !!e.hasM,
          };
        }
        createMultipointGeometry(e) {
          return {
            type: 'multipoint',
            points: [],
            spatialReference: e.spatialReference,
            hasZ: !!e.hasZ,
            hasM: !!e.hasM,
          };
        }
        dehydratedAddPointsCoordinate(e, t, r) {
          0 === r &&
            0 == this.toAddInCurrentPath-- &&
            (e.push([]),
            (this.toAddInCurrentPath = this.lengths[++this.currentLengthIndex] - 1),
            (this.previousCoordinate[0] = 0),
            (this.previousCoordinate[1] = 0));
          const s = this.transformPathLikeValue(t, r),
            i = e[e.length - 1];
          0 === r &&
            i.push(
              new Float64Array(
                this.coordinateBuffer.buffer,
                this.coordinateBufferPtr * Float64Array.BYTES_PER_ELEMENT,
                this.vertexDimension,
              ),
            ),
            (this.coordinateBuffer[this.coordinateBufferPtr++] = s);
        }
        deriveApplyTransform(e) {
          const { hasZ: t, hasM: r } = e;
          return t && r ? b : t ? g : r ? m : f;
        }
      }
      class T {
        _parseFeatureQuery(e) {
          const t = (0, p.p)(e.buffer, new k(e.options)),
            r = {
              ...t,
              spatialReference: t.spatialReference.toJSON(),
              fields: t.fields ? t.fields.map((e) => e.toJSON()) : void 0,
            };
          return Promise.resolve(r);
        }
      }
      const w = function () {
        return new T();
      };
    },
    48190: (e, t, r) => {
      'use strict';
      function s(e) {}
      r.d(t, { n: () => s }), r(76506);
    },
    9801: (e, t, r) => {
      'use strict';
      r.d(t, { D: () => s, f: () => d, t: () => c, v: () => u }), r(76506);
      var s,
        i,
        n = r(53523),
        a = r(42911),
        o = r(46826),
        l = r(45433);
      function u(e, t) {
        switch (e.type) {
          case 'range': {
            const r = 'range' in e ? e.range[0] : e.minValue,
              i = 'range' in e ? e.range[1] : e.maxValue;
            if (+t < r || +t > i) return s.VALUE_OUT_OF_RANGE;
            break;
          }
          case 'coded-value':
          case 'codedValue':
            if (null == e.codedValues || e.codedValues.every((e) => null == e || e.code !== t))
              return s.INVALID_CODED_VALUE;
        }
        return null;
      }
      ((i = s || (s = {})).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: a.Z,
        typeMap: { range: l.Z, 'coded-value': n.Z, inherited: o.Z },
      };
      function d(e) {
        if (!e || !e.type) return null;
        switch (e.type) {
          case 'range':
            return l.Z.fromJSON(e);
          case 'codedValue':
            return n.Z.fromJSON(e);
          case 'inherited':
            return o.Z.fromJSON(e);
        }
        return null;
      }
    },
    59465: (e, t, r) => {
      'use strict';
      r.d(t, { e: () => n });
      var s = r(57251),
        i = r(34250);
      function n(e, t = {}) {
        var r;
        const n = e instanceof s.J ? e : new s.J(e, t),
          a = {
            type: null == (r = null == t ? void 0 : t.ignoreUnknown) || r ? n.apiValues : String,
            readOnly: null == t ? void 0 : t.readOnly,
            json: {
              type: n.jsonValues,
              read: (null == t || !t.readOnly) && { reader: n.read },
              write: { writer: n.write },
            },
          };
        return (
          void 0 !== (null == t ? void 0 : t.default) && (a.json.default = t.default),
          void 0 !== (null == t ? void 0 : t.name) && (a.json.name = t.name),
          (0, i.Cb)(a)
        );
      }
    },
    54732: (e, t, r) => {
      'use strict';
      r.d(t, { k: () => s });
      const s = new (r(57251).J)({
        esriFieldTypeSmallInteger: 'small-integer',
        esriFieldTypeInteger: 'integer',
        esriFieldTypeSingle: 'single',
        esriFieldTypeDouble: 'double',
        esriFieldTypeLong: 'long',
        esriFieldTypeString: 'string',
        esriFieldTypeDate: 'date',
        esriFieldTypeOID: 'oid',
        esriFieldTypeGeometry: 'geometry',
        esriFieldTypeBlob: 'blob',
        esriFieldTypeRaster: 'raster',
        esriFieldTypeGUID: 'guid',
        esriFieldTypeGlobalID: 'global-id',
        esriFieldTypeXML: 'xml',
      });
    },
    11385: (e, t, r) => {
      'use strict';
      r.d(t, { P: () => o });
      var s = r(76506),
        i = r(91055);
      const n = (0, s.h)('esri-text-decoder') ? new TextDecoder('utf-8') : null,
        a = (0, s.h)('safari') || (0, s.h)('ios') ? 6 : (0, s.h)('ff') ? 12 : 32;
      class o {
        constructor(e, t, r = 0, s = e ? e.byteLength : 0) {
          (this._tag = 0), (this._dataType = 99), this.init(e, t, r, s);
        }
        init(e, t, r, s) {
          (this._data = e), (this._dataView = t), (this._pos = r), (this._end = s);
        }
        clone() {
          return new o(this._data, this._dataView, this._pos, this._end);
        }
        pos() {
          return this._pos;
        }
        move(e) {
          this._pos = e;
        }
        nextTag(e) {
          for (;;) {
            if (this._pos === this._end) return !1;
            const t = this._decodeVarint();
            if (((this._tag = t >> 3), (this._dataType = 7 & t), !e || e === this._tag)) break;
            this.skip();
          }
          return !0;
        }
        next() {
          if (this._pos === this._end) return !1;
          const e = this._decodeVarint();
          return (this._tag = e >> 3), (this._dataType = 7 & e), !0;
        }
        empty() {
          return this._pos >= this._end;
        }
        tag() {
          return this._tag;
        }
        getInt32() {
          return this._decodeVarint();
        }
        getInt64() {
          return this._decodeVarint();
        }
        getUInt32() {
          let e = 4294967295;
          return (
            (e = (127 & this._data[this._pos]) >>> 0),
            this._data[this._pos++] < 128
              ? e
              : ((e = (e | ((127 & this._data[this._pos]) << 7)) >>> 0),
                this._data[this._pos++] < 128
                  ? e
                  : ((e = (e | ((127 & this._data[this._pos]) << 14)) >>> 0),
                    this._data[this._pos++] < 128
                      ? e
                      : ((e = (e | ((127 & this._data[this._pos]) << 21)) >>> 0),
                        this._data[this._pos++] < 128
                          ? e
                          : ((e = (e | ((15 & this._data[this._pos]) << 28)) >>> 0),
                            this._data[this._pos++] < 128 ? e : void 0))))
          );
        }
        getUInt64() {
          return this._decodeVarint();
        }
        getSInt32() {
          const e = this.getUInt32();
          return ((e >>> 1) ^ -(1 & e)) | 0;
        }
        getSInt64() {
          return this._decodeSVarint();
        }
        getBool() {
          const e = 0 !== this._data[this._pos];
          return this._skip(1), e;
        }
        getEnum() {
          return this._decodeVarint();
        }
        getFixed64() {
          const e = this._dataView,
            t = this._pos,
            r = e.getUint32(t, !0) + 4294967296 * e.getUint32(t + 4, !0);
          return this._skip(8), r;
        }
        getSFixed64() {
          const e = this._dataView,
            t = this._pos,
            r = e.getUint32(t, !0) + 4294967296 * e.getInt32(t + 4, !0);
          return this._skip(8), r;
        }
        getDouble() {
          const e = this._dataView.getFloat64(this._pos, !0);
          return this._skip(8), e;
        }
        getFixed32() {
          const e = this._dataView.getUint32(this._pos, !0);
          return this._skip(4), e;
        }
        getSFixed32() {
          const e = this._dataView.getInt32(this._pos, !0);
          return this._skip(4), e;
        }
        getFloat() {
          const e = this._dataView.getFloat32(this._pos, !0);
          return this._skip(4), e;
        }
        getString() {
          const e = this._getLength(),
            t = this._pos,
            r = this._toString(this._data, t, t + e);
          return this._skip(e), r;
        }
        getBytes() {
          const e = this._getLength(),
            t = this._pos,
            r = this._toBytes(this._data, t, t + e);
          return this._skip(e), r;
        }
        getLength() {
          return this._getLengthUnsafe();
        }
        processMessageWithArgs(e, t, r, s) {
          const i = this.getMessage(),
            n = e(i, t, r, s);
          return i.release(), n;
        }
        processMessage(e) {
          const t = this.getMessage(),
            r = e(t);
          return t.release(), r;
        }
        getMessage() {
          const e = this._getLength(),
            t = o.pool.acquire();
          return t.init(this._data, this._dataView, this._pos, this._pos + e), this._skip(e), t;
        }
        release() {
          o.pool.release(this);
        }
        dataType() {
          return this._dataType;
        }
        skip() {
          switch (this._dataType) {
            case 0:
              this._decodeVarint();
              break;
            case 1:
              this._skip(8);
              break;
            case 2:
              this._skip(this._getLength());
              break;
            case 5:
              this._skip(4);
              break;
            default:
              throw new Error('Invalid data type!');
          }
        }
        skipLen(e) {
          this._skip(e);
        }
        _skip(e) {
          if (this._pos + e > this._end) throw new Error('Attempt to skip past the end of buffer!');
          this._pos += e;
        }
        _decodeVarint() {
          const e = this._data;
          let t,
            r = this._pos,
            s = 0;
          if (this._end - r >= 10)
            do {
              if (((t = e[r++]), (s |= 127 & t), 0 == (128 & t))) break;
              if (((t = e[r++]), (s |= (127 & t) << 7), 0 == (128 & t))) break;
              if (((t = e[r++]), (s |= (127 & t) << 14), 0 == (128 & t))) break;
              if (((t = e[r++]), (s |= (127 & t) << 21), 0 == (128 & t))) break;
              if (((t = e[r++]), (s += 268435456 * (127 & t)), 0 == (128 & t))) break;
              if (((t = e[r++]), (s += 34359738368 * (127 & t)), 0 == (128 & t))) break;
              if (((t = e[r++]), (s += 4398046511104 * (127 & t)), 0 == (128 & t))) break;
              if (((t = e[r++]), (s += 562949953421312 * (127 & t)), 0 == (128 & t))) break;
              if (((t = e[r++]), (s += 72057594037927940 * (127 & t)), 0 == (128 & t))) break;
              if (((t = e[r++]), (s += 0x8000000000000000 * (127 & t)), 0 == (128 & t))) break;
              throw new Error('Varint too long!');
            } while (0);
          else {
            let i = 1;
            for (; r !== this._end && ((t = e[r]), 0 != (128 & t)); )
              ++r, (s += (127 & t) * i), (i *= 128);
            if (r === this._end) throw new Error('Varint overrun!');
            ++r, (s += t * i);
          }
          return (this._pos = r), s;
        }
        _decodeSVarint() {
          const e = this._decodeVarint();
          return e % 2 ? -(e + 1) / 2 : e / 2;
        }
        _getLength() {
          if (2 !== this._dataType) throw new Error('Not a delimited data type!');
          return this._decodeVarint();
        }
        _getLengthUnsafe() {
          return this.getUInt32();
        }
        _toString(e, t, r) {
          if ((r = Math.min(this._end, r)) - t > a && n) {
            const s = e.subarray(t, r);
            return n.decode(s);
          }
          let s = '',
            i = '';
          for (let n = t; n < r; ++n) {
            const t = e[n];
            128 & t
              ? (i += '%' + t.toString(16))
              : ((s += decodeURIComponent(i) + String.fromCharCode(t)), (i = ''));
          }
          return i.length && (s += decodeURIComponent(i)), s;
        }
        _toBytes(e, t, r) {
          return (r = Math.min(this._end, r)), new Uint8Array(e.buffer, t, r - t);
        }
      }
      o.pool = new i.O(o, null, (e) => {
        (e._data = null), (e._dataView = null);
      });
    },
    76733: (e, t, r) => {
      'use strict';
      r.d(t, { O: () => d, a: () => U, b: () => f, p: () => V });
      var s = r(60991),
        i = r(76506),
        n = r(11385),
        a = r(85674),
        o = r(53785),
        l = r(60947),
        u = r(9006);
      const c = [
        'esriGeometryPoint',
        'esriGeometryMultipoint',
        'esriGeometryPolyline',
        'esriGeometryPolygon',
      ];
      class d {
        constructor(e) {
          (this.options = e),
            (this.geometryTypes = c),
            (this._coordinatePtr = 0),
            (this._vertexDimension = 0);
        }
        createFeatureResult() {
          return new u.O();
        }
        prepareFeatures(e) {
          (this._vertexDimension = 2),
            e.hasZ && this._vertexDimension++,
            e.hasM && this._vertexDimension++;
        }
        finishFeatureResult(e) {
          if (
            !e ||
            !e.features ||
            !e.hasZ ||
            !this.options.sourceSpatialReference ||
            !e.spatialReference ||
            (0, l.e)(e.spatialReference, this.options.sourceSpatialReference) ||
            e.spatialReference.vcsWkid
          )
            return;
          const t = (0, o.d)(this.options.sourceSpatialReference) / (0, o.d)(e.spatialReference);
          if (1 !== t)
            for (const r of e.features) {
              if (!r.geometry || !r.geometry.coords) continue;
              const e = r.geometry.coords;
              for (let r = 2; r < e.length; r += 3) e[r] *= t;
            }
        }
        addFeature(e, t) {
          e.features.push(t);
        }
        createFeature() {
          return new a.O();
        }
        createSpatialReference() {
          return { wkid: 0 };
        }
        createGeometry() {
          return new a.a();
        }
        addField(e, t) {
          e.fields.push(t);
        }
        allocateCoordinates(e) {
          (e.coords.length = e.lengths.reduce((e, t) => e + t, 0) * this._vertexDimension),
            (this._coordinatePtr = 0);
        }
        addCoordinate(e, t) {
          e.coords[this._coordinatePtr++] = t;
        }
        addCoordinatePoint(e, t) {
          e.coords.push(t);
        }
        addLength(e, t) {
          e.lengths.push(t);
        }
        addQueryGeometry(e, t) {
          (e.queryGeometry = t.queryGeometry), (e.queryGeometryType = t.queryGeometryType);
        }
        createPointGeometry() {
          return new a.a();
        }
      }
      const h = [
          'esriFieldTypeSmallInteger',
          'esriFieldTypeInteger',
          'esriFieldTypeSingle',
          'esriFieldTypeDouble',
          'esriFieldTypeString',
          'esriFieldTypeDate',
          'esriFieldTypeOID',
          'esriFieldTypeGeometry',
          'esriFieldTypeBlob',
          'esriFieldTypeRaster',
          'esriFieldTypeGUID',
          'esriFieldTypeGlobalID',
          'esriFieldTypeXML',
        ],
        p = [
          'sqlTypeBigInt',
          'sqlTypeBinary',
          'sqlTypeBit',
          'sqlTypeChar',
          'sqlTypeDate',
          'sqlTypeDecimal',
          'sqlTypeDouble',
          'sqlTypeFloat',
          'sqlTypeGeometry',
          'sqlTypeGUID',
          'sqlTypeInteger',
          'sqlTypeLongNVarchar',
          'sqlTypeLongVarbinary',
          'sqlTypeLongVarchar',
          'sqlTypeNChar',
          'sqlTypeNVarchar',
          'sqlTypeOther',
          'sqlTypeReal',
          'sqlTypeSmallInt',
          'sqlTypeSqlXml',
          'sqlTypeTime',
          'sqlTypeTimestamp',
          'sqlTypeTimestamp2',
          'sqlTypeTinyInt',
          'sqlTypeVarbinary',
          'sqlTypeVarchar',
        ],
        y = ['upperLeft', 'lowerLeft'];
      function f(e) {
        return e >= h.length ? null : h[e];
      }
      function g(e) {
        return e >= y.length ? null : y[e];
      }
      function m(e, t) {
        return t >= e.geometryTypes.length ? null : e.geometryTypes[t];
      }
      function b(e, t, r) {
        const s = t.createPointGeometry(r);
        for (; e.next(); )
          switch (e.tag()) {
            case 3: {
              const r = e.getUInt32(),
                i = e.pos() + r;
              let n = 0;
              for (; e.pos() < i; ) t.addCoordinatePoint(s, e.getSInt64(), n++);
              break;
            }
            case 1:
            case 2:
            default:
              e.skip();
          }
        return s;
      }
      function _(e, t, r) {
        const s = t.createGeometry(r),
          i = 2 + (r.hasZ ? 1 : 0) + (r.hasM ? 1 : 0);
        for (; e.next(); )
          switch (e.tag()) {
            case 2: {
              const r = e.getUInt32(),
                i = e.pos() + r;
              let n = 0;
              for (; e.pos() < i; ) t.addLength(s, e.getUInt32(), n++);
              break;
            }
            case 3: {
              const r = e.getUInt32(),
                n = e.pos() + r;
              let a = 0;
              for (t.allocateCoordinates(s); e.pos() < n; )
                t.addCoordinate(s, e.getSInt64(), a), a++, a === i && (a = 0);
              break;
            }
            case 1:
            default:
              e.skip();
          }
        return s;
      }
      function k(e) {
        const t = new a.a();
        let r = 'esriGeometryPoint';
        for (; e.next(); )
          switch (e.tag()) {
            case 2: {
              const r = e.getUInt32(),
                s = e.pos() + r;
              for (; e.pos() < s; ) t.lengths.push(e.getUInt32());
              break;
            }
            case 3: {
              const r = e.getUInt32(),
                s = e.pos() + r;
              for (; e.pos() < s; ) t.coords.push(e.getSInt64());
              break;
            }
            case 1:
              r = c[e.getEnum()];
              break;
            default:
              e.skip();
          }
        return { queryGeometry: t, queryGeometryType: r };
      }
      function T(e) {
        for (; e.next(); )
          switch (e.tag()) {
            case 1:
              return e.getString();
            case 2:
              return e.getFloat();
            case 3:
              return e.getDouble();
            case 4:
              return e.getSInt32();
            case 5:
              return e.getUInt32();
            case 6:
              return e.getInt64();
            case 7:
              return e.getUInt64();
            case 8:
              return e.getSInt64();
            case 9:
              return e.getBool();
            default:
              return e.skip(), null;
          }
        return null;
      }
      function w(e) {
        const t = { type: f(0) };
        for (; e.next(); )
          switch (e.tag()) {
            case 1:
              t.name = e.getString();
              break;
            case 2:
              t.type = f(e.getEnum());
              break;
            case 3:
              t.alias = e.getString();
              break;
            case 4:
              t.sqlType = (r = e.getEnum()) >= p.length ? null : p[r];
              break;
            case 5:
              e.skip();
              break;
            case 6:
              t.defaultValue = e.getString();
              break;
            default:
              e.skip();
          }
        var r;
        return t;
      }
      function v(e) {
        const t = {};
        for (; e.next(); )
          switch (e.tag()) {
            case 1:
              t.name = e.getString();
              break;
            case 2:
              t.isSystemMaintained = e.getBool();
              break;
            default:
              e.skip();
          }
        return t;
      }
      function S(e, t, r, s) {
        const i = t.createFeature(r);
        let n = 0;
        for (; e.next(); )
          switch (e.tag()) {
            case 1: {
              const t = s[n++].name;
              i.attributes[t] = e.processMessage(T);
              break;
            }
            case 2:
              i.geometry = e.processMessageWithArgs(_, t, r);
              break;
            case 4:
              i.centroid = e.processMessageWithArgs(b, t, r);
              break;
            default:
              e.skip();
          }
        return i;
      }
      function G(e) {
        const t = [1, 1, 1, 1];
        for (; e.next(); )
          switch (e.tag()) {
            case 1:
              t[0] = e.getDouble();
              break;
            case 2:
              t[1] = e.getDouble();
              break;
            case 4:
              t[2] = e.getDouble();
              break;
            case 3:
              t[3] = e.getDouble();
              break;
            default:
              e.skip();
          }
        return t;
      }
      function I(e) {
        const t = [0, 0, 0, 0];
        for (; e.next(); )
          switch (e.tag()) {
            case 1:
              t[0] = e.getDouble();
              break;
            case 2:
              t[1] = e.getDouble();
              break;
            case 4:
              t[2] = e.getDouble();
              break;
            case 3:
              t[3] = e.getDouble();
              break;
            default:
              e.skip();
          }
        return t;
      }
      function U(e) {
        const t = { originPosition: g(0) };
        for (; e.next(); )
          switch (e.tag()) {
            case 1:
              t.originPosition = g(e.getEnum());
              break;
            case 2:
              t.scale = e.processMessage(G);
              break;
            case 3:
              t.translate = e.processMessage(I);
              break;
            default:
              e.skip();
          }
        return t;
      }
      function P(e) {
        const t = {};
        for (; e.next(); )
          switch (e.tag()) {
            case 1:
              t.shapeAreaFieldName = e.getString();
              break;
            case 2:
              t.shapeLengthFieldName = e.getString();
              break;
            case 3:
              t.units = e.getString();
              break;
            default:
              e.skip();
          }
        return t;
      }
      function q(e, t) {
        const r = t.createSpatialReference();
        for (; e.next(); )
          switch (e.tag()) {
            case 1:
              r.wkid = e.getUInt32();
              break;
            case 5:
              r.wkt = e.getString();
              break;
            case 2:
              r.latestWkid = e.getUInt32();
              break;
            case 3:
              r.vcsWkid = e.getUInt32();
              break;
            case 4:
              r.latestVcsWkid = e.getUInt32();
              break;
            default:
              e.skip();
          }
        return r;
      }
      function C(e, t) {
        const r = t.createFeatureResult();
        r.geometryType = m(t, 0);
        let s = !1;
        for (; e.next(); )
          switch (e.tag()) {
            case 1:
              r.objectIdFieldName = e.getString();
              break;
            case 3:
              r.globalIdFieldName = e.getString();
              break;
            case 4:
              r.geohashFieldName = e.getString();
              break;
            case 5:
              r.geometryProperties = e.processMessage(P);
              break;
            case 7:
              r.geometryType = m(t, e.getEnum());
              break;
            case 8:
              r.spatialReference = e.processMessageWithArgs(q, t);
              break;
            case 10:
              r.hasZ = e.getBool();
              break;
            case 11:
              r.hasM = e.getBool();
              break;
            case 12:
              r.transform = e.processMessage(U);
              break;
            case 9: {
              const t = e.getBool();
              r.exceededTransferLimit = t;
              break;
            }
            case 13:
              t.addField(r, e.processMessage(w));
              break;
            case 15:
              s || (t.prepareFeatures(r), (s = !0)),
                t.addFeature(r, e.processMessageWithArgs(S, t, r, r.fields));
              break;
            case 2:
              r.uniqueIdField = e.processMessage(v);
              break;
            case 6:
            default:
              e.skip();
          }
        return t.finishFeatureResult(r), r;
      }
      function F(e, t) {
        const r = {};
        let s = null;
        for (; e.next(); )
          switch (e.tag()) {
            case 4:
              s = e.processMessageWithArgs(k);
              break;
            case 1:
              r.featureResult = e.processMessageWithArgs(C, t);
              break;
            case 2:
            case 3:
            default:
              e.skip();
          }
        return (0, i.i)(s) && r.featureResult && t.addQueryGeometry(r, s), r;
      }
      function V(e, t) {
        const r = (function (e, t) {
            try {
              const r = 2,
                s = new n.P(new Uint8Array(e), new DataView(e)),
                i = {};
              for (; s.next(); )
                switch (s.tag()) {
                  case r:
                    i.queryResult = s.processMessageWithArgs(F, t);
                    break;
                  default:
                    s.skip();
                }
              return i;
            } catch (e) {
              throw new s.Z('query:parsing-pbf', 'Error while parsing FeatureSet PBF payload', {
                error: e,
              });
            }
          })(e, t),
          i = r.queryResult.featureResult,
          a = r.queryResult.queryGeometry,
          o = r.queryResult.queryGeometryType;
        if (i && i.features && i.features.length && i.objectIdFieldName) {
          const e = i.objectIdFieldName;
          for (const t of i.features) t.attributes && (t.objectId = t.attributes[e]);
        }
        return i && ((i.queryGeometry = a), (i.queryGeometryType = o)), i;
      }
    },
    95587: (e, t, r) => {
      'use strict';
      r.d(t, {
        S: () => a,
        W: () => u,
        a: () => o,
        b: () => l,
        c: () => d,
        d: () => c,
        e: () => p,
        g: () => h,
      });
      var s = r(60947),
        i = r(89623);
      function n(e) {
        return new s.Z({
          wkt: `GEOCCS["Spherical geocentric",\n    DATUM["Not specified",\n      SPHEROID["Sphere",${e.radius},0]],\n    PRIMEM["Greenwich",0.0,\n      AUTHORITY["EPSG","8901"]],\n    UNIT["m",1.0],\n    AXIS["Geocentric X",OTHER],\n    AXIS["Geocentric Y",EAST],\n    AXIS["Geocentric Z",NORTH]\n  ]`,
        });
      }
      const a = n(i.e),
        o = n(i.m),
        l = n(i.a),
        u = new s.Z({
          wkt: `GEOCCS["WGS 84",\n  DATUM["WGS_1984",\n    SPHEROID["WGS 84",${i.e.radius},298.257223563,\n      AUTHORITY["EPSG","7030"]],\n    AUTHORITY["EPSG","6326"]],\n  PRIMEM["Greenwich",0,\n    AUTHORITY["EPSG","8901"]],\n  UNIT["m",1.0,\n    AUTHORITY["EPSG","9001"]],\n  AXIS["Geocentric X",OTHER],\n  AXIS["Geocentric Y",OTHER],\n  AXIS["Geocentric Z",NORTH],\n  AUTHORITY["EPSG","4978"]\n]`,
        });
      function c(e) {
        return e && e === i.m ? o : e && e === i.a ? l : a;
      }
      function d(e) {
        return e && ((0, s.f)(e) || e === o) ? o : e && ((0, s.h)(e) || e === l) ? l : a;
      }
      function h(e) {
        return e && ((0, s.f)(e) || e === o) ? i.m : e && ((0, s.h)(e) || e === l) ? i.a : i.e;
      }
      function p(e) {
        return (0, s.c)(e) ? i.m : (0, s.d)(e) ? i.a : i.e;
      }
    },
    22781: (e, t, r) => {
      'use strict';
      r.d(t, { f: () => i, t: () => n });
      var s = r(57251);
      const i = (0, s.s)()({
          esriGeometryPoint: 'point',
          esriGeometryMultipoint: 'multipoint',
          esriGeometryPolyline: 'polyline',
          esriGeometryPolygon: 'polygon',
        }),
        n = (0, s.s)()({
          esriGeometryPoint: 'point',
          esriGeometryMultipoint: 'multipoint',
          esriGeometryPolyline: 'polyline',
          esriGeometryPolygon: 'polygon',
          esriGeometryEnvelope: 'extent',
          mesh: 'mesh',
        });
    },
    42788: (e, t, r) => {
      'use strict';
      r.d(t, { g: () => i });
      let s = 0;
      function i() {
        return ++s;
      }
    },
    53785: (e, t, r) => {
      'use strict';
      r.d(t, {
        a: () => G,
        b: () => I,
        c: () => k,
        d: () => v,
        e: () => C,
        f: () => F,
        g: () => S,
        i: () => o,
        l: () => T,
        u: () => w,
        z: () => U,
      }),
        r(76506);
      var s = r(57251),
        i = r(95587),
        n = r(60947),
        a = r(89623);
      const o = 39.37,
        l = (a.e.radius * Math.PI) / 200,
        u = /UNIT\[([^\]]+)\]\]$/i,
        c = n.o,
        d = /UNIT\[([^\]]+)\]/i,
        h = new Set([
          4261,
          4305,
          4807,
          4810,
          4811,
          4812,
          4816,
          4819,
          4821,
          4901,
          4902,
          37225,
          104139,
          104140,
        ]),
        p = (0, s.s)()({
          meter: 'meters',
          foot: 'feet',
          foot_us: 'us-feet',
          foot_clarke: 'clarke-feet',
          yard_clarke: 'clarke-yards',
          link_clarke: 'clarke-links',
          yard_sears: 'sears-yards',
          foot_sears: 'sears-feet',
          chain_sears: 'sears-chains',
          chain_benoit_1895_b: 'benoit-1895-b-chains',
          yard_indian: 'indian-yards',
          yard_indian_1937: 'indian-1937-yards',
          foot_gold_coast: 'gold-coast-feet',
          chain_sears_1922_truncated: 'sears-1922-truncated-chains',
          '50_kilometers': '50-kilometers',
          '150_kilometers': '150-kilometers',
        }),
        y = (e) => e * e,
        f = (e) => e * e * e,
        g = {
          length: {
            baseUnit: 'meters',
            units: {
              millimeters: { inBaseUnits: 0.001 },
              centimeters: { inBaseUnits: 0.01 },
              decimeters: { inBaseUnits: 0.1 },
              meters: { inBaseUnits: 1 },
              kilometers: { inBaseUnits: 1e3 },
              inches: { inBaseUnits: 0.0254 },
              feet: { inBaseUnits: 0.3048 },
              yards: { inBaseUnits: 0.9144 },
              miles: { inBaseUnits: 1609.344 },
              'nautical-miles': { inBaseUnits: 1852 },
              'us-feet': { inBaseUnits: 1200 / 3937 },
            },
          },
          area: {
            baseUnit: 'square-meters',
            units: {
              'square-millimeters': { inBaseUnits: y(0.001) },
              'square-centimeters': { inBaseUnits: y(0.01) },
              'square-decimeters': { inBaseUnits: y(0.1) },
              'square-meters': { inBaseUnits: 1 },
              'square-kilometers': { inBaseUnits: y(1e3) },
              'square-inches': { inBaseUnits: y(0.0254) },
              'square-feet': { inBaseUnits: y(0.3048) },
              'square-yards': { inBaseUnits: y(0.9144) },
              'square-miles': { inBaseUnits: y(1609.344) },
              'square-us-feet': { inBaseUnits: y(1200 / 3937) },
              acres: { inBaseUnits: 0.0015625 * y(1609.344) },
              ares: { inBaseUnits: 100 },
              hectares: { inBaseUnits: 1e4 },
            },
          },
          volume: {
            baseUnit: 'liters',
            units: {
              liters: { inBaseUnits: 1 },
              'cubic-millimeters': { inBaseUnits: 1e3 * f(0.001) },
              'cubic-centimeters': { inBaseUnits: 1e3 * f(0.01) },
              'cubic-decimeters': { inBaseUnits: 1e3 * f(0.1) },
              'cubic-meters': { inBaseUnits: 1e3 },
              'cubic-kilometers': { inBaseUnits: 1e3 * f(1e3) },
              'cubic-inches': { inBaseUnits: 1e3 * f(0.0254) },
              'cubic-feet': { inBaseUnits: 1e3 * f(0.3048) },
              'cubic-yards': { inBaseUnits: 1e3 * f(0.9144) },
              'cubic-miles': { inBaseUnits: 1e3 * f(1609.344) },
            },
          },
          angle: {
            baseUnit: 'radians',
            units: { radians: { inBaseUnits: 1 }, degrees: { inBaseUnits: Math.PI / 180 } },
          },
        },
        m = (function () {
          const e = {};
          for (const t in g) for (const r in g[t].units) e[r] = t;
          return e;
        })();
      function b(e) {
        const t = m[e];
        if (t) return t;
        throw new Error('unknown measure');
      }
      function _(e, t = null) {
        return (t = t || b(e)), g[t].baseUnit === e;
      }
      function k(e, t, r) {
        if (t === r) return e;
        const s = b(t);
        if (s !== b(r)) throw new Error('incompatible units');
        const i = _(t, s)
          ? e
          : (function (e, t, r) {
              return e * g[r].units[t].inBaseUnits;
            })(e, t, s);
        return _(r, s)
          ? i
          : (function (e, t, r) {
              return e / g[r].units[t].inBaseUnits;
            })(i, r, s);
      }
      function T(e, t, r) {
        return k(e, t, 'meters') / ((r * Math.PI) / 180);
      }
      function w(e) {
        return p.fromJSON(e.toLowerCase()) || null;
      }
      function v(e) {
        if (e && 'object' == typeof e && !(0, n.b)(e)) return 1;
        const t = G(e);
        return t > 1e5 ? 1 : t;
      }
      function S(e) {
        return G(e) >= (e instanceof n.Z ? (0, i.g)(e).metersPerDegree : 1e5) ? 'meters' : U(e);
      }
      function G(e, t = a.e.metersPerDegree) {
        return I(e, !0) || t;
      }
      function I(e, t = !1) {
        let r,
          s,
          i = null;
        if (
          (null != e &&
            ('object' == typeof e
              ? ((r = e.wkid), (s = e.wkt))
              : 'number' == typeof e
              ? (r = e)
              : 'string' == typeof e && (s = e)),
          r)
        ) {
          if ((0, n.c)(r)) return a.m.metersPerDegree;
          if ((0, n.d)(r)) return a.a.metersPerDegree;
          (i = c.values[c[r]]), !i && t && h.has(r) && (i = l);
        } else if (s)
          if (-1 !== s.search(/^PROJCS/i)) {
            const e = u.exec(s);
            e && e[1] && (i = parseFloat(e[1].split(',')[1]));
          } else if (-1 !== s.search(/^GEOCCS/i)) {
            const e = d.exec(s);
            e && e[1] && (i = parseFloat(e[1].split(',')[1]));
          }
        return i;
      }
      function U(e) {
        let t,
          r,
          s = null;
        if (
          (null != e &&
            ('object' == typeof e
              ? ((t = e.wkid), (r = e.wkt))
              : 'number' == typeof e
              ? (t = e)
              : 'string' == typeof e && (r = e)),
          t)
        )
          s = c.units[c[t]];
        else if (r && -1 !== r.search(/^PROJCS/i)) {
          let e = u.exec(r);
          e && e[1] && ((e = /[\\"\\']{1}([^\\"\\']+)/.exec(e[1])), (s = e && e[1]));
        }
        return s ? w(s) : null;
      }
      const P = {
          esriAcres: 'acres',
          esriAres: 'ares',
          esriHectares: 'hectares',
          esriSquareCentimeters: 'square-centimeters',
          esriSquareDecimeters: 'square-decimeters',
          esriSquareFeet: 'square-feet',
          esriSquareInches: 'square-inches',
          esriSquareKilometers: 'square-kilometers',
          esriSquareMeters: 'square-meters',
          esriSquareMiles: 'square-miles',
          esriSquareMillimeters: 'square-millimeters',
          esriSquareUsFeet: 'square-us-feet',
          esriSquareYards: 'square-yards',
        },
        q = {
          esriCentimeters: 'centimeters',
          esriDecimeters: 'decimeters',
          esriFeet: 'feet',
          esriInches: 'inches',
          esriKilometers: 'kilometers',
          esriMeters: 'meters',
          esriMiles: 'miles',
          esriMillimeters: 'millimeters',
          esriNauticalMiles: 'nautical-miles',
          esriYards: 'yards',
        },
        C = (0, s.s)()(P),
        F = (0, s.s)()(q);
      (0, s.s)()({ ...P, ...q });
    },
    92847: (e, t, r) => {
      'use strict';
      r.d(t, { g: () => a, u: () => l });
      var s = r(76506),
        i = r(53785),
        n = r(60947);
      function a(e, t, r) {
        if ((0, s.b)(t) || (0, s.b)(r) || r.vcsWkid || (0, n.e)(t, r)) return null;
        const a = (0, i.d)(t) / (0, i.d)(r);
        if (1 === a) return null;
        switch (e) {
          case 'point':
          case 'esriGeometryPoint':
            return (e) => {
              return (r = a), void ((t = e) && null != t.z && (t.z *= r));
              var t, r;
            };
          case 'polyline':
          case 'esriGeometryPolyline':
            return (e) =>
              (function (e, t) {
                if (e) for (const r of e.paths) for (const e of r) e.length > 2 && (e[2] *= t);
              })(e, a);
          case 'polygon':
          case 'esriGeometryPolygon':
            return (e) =>
              (function (e, t) {
                if (e) for (const r of e.rings) for (const e of r) e.length > 2 && (e[2] *= t);
              })(e, a);
          case 'multipoint':
          case 'esriGeometryMultipoint':
            return (e) =>
              (function (e, t) {
                if (e) for (const r of e.points) r.length > 2 && (r[2] *= t);
              })(e, a);
          default:
            return null;
        }
      }
      function o(e, t, r) {
        if (null == e.hasM || e.hasZ)
          for (const e of t) for (const t of e) t.length > 2 && (t[2] *= r);
      }
      function l(e, t, r) {
        if ((!e && !t) || !r) return;
        const s = (0, i.d)(r);
        u(e, r, s), u(t, r, s);
      }
      function u(e, t, r) {
        if (e) for (const s of e) c(s.geometry, t, r);
      }
      function c(e, t, r) {
        if (!e || !e.spatialReference || (0, n.e)(e.spatialReference, t)) return;
        const s = (0, i.d)(e.spatialReference) / r;
        if (1 !== s)
          if ('x' in e) null != e.z && (e.z *= s);
          else if ('rings' in e) o(e, e.rings, s);
          else if ('paths' in e) o(e, e.paths, s);
          else if ('points' in e && (null == e.hasM || e.hasZ))
            for (const t of e.points) t.length > 2 && (t[2] *= s);
      }
    },
    32422: (e, t, r) => {
      'use strict';
      r.d(t, {
        im: () => y,
        q9: () => m,
        Ji: () => f,
        YX: () => u,
        aW: () => c,
        wp: () => d,
        oU: () => p,
        l9: () => h,
      });
      var s = r(21801),
        i = r(73796),
        n = r(84069),
        a = r(91597),
        o = r(44567),
        l = r(92896);
      function u(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 h(e) {
        return void 0 !== e.paths;
      }
      function p(e) {
        return void 0 !== e.rings;
      }
      function y(e) {
        return e
          ? e instanceof i.Z
            ? e
            : d(e)
            ? a.Z.fromJSON(e)
            : h(e)
            ? l.Z.fromJSON(e)
            : p(e)
            ? o.Z.fromJSON(e)
            : c(e)
            ? n.Z.fromJSON(e)
            : u(e)
            ? s.Z.fromJSON(e)
            : null
          : null;
      }
      function f(e) {
        return e
          ? d(e)
            ? 'esriGeometryPoint'
            : h(e)
            ? 'esriGeometryPolyline'
            : p(e)
            ? 'esriGeometryPolygon'
            : u(e)
            ? 'esriGeometryEnvelope'
            : c(e)
            ? 'esriGeometryMultipoint'
            : null
          : null;
      }
      r(76506),
        r(40642),
        r(71552),
        r(34250),
        r(92143),
        r(31450),
        r(91306),
        r(86656),
        r(22723),
        r(17533),
        r(81172),
        r(60947),
        r(74673),
        r(21972),
        r(23639),
        r(91055),
        r(27794),
        r(6906),
        r(50406),
        r(60991),
        r(26341),
        r(2906),
        r(35132),
        r(89623),
        r(97714),
        r(86787),
        r(98380);
      const g = {
        esriGeometryPoint: a.Z,
        esriGeometryPolyline: l.Z,
        esriGeometryPolygon: o.Z,
        esriGeometryEnvelope: s.Z,
        esriGeometryMultipoint: n.Z,
      };
      function m(e) {
        return (e && g[e]) || null;
      }
    },
    53523: (e, t, r) => {
      'use strict';
      r.d(t, { Z: () => f });
      var s,
        i = r(29768),
        n = r(76506),
        a = r(34250),
        o = (r(91306), r(92143), r(59465)),
        l = r(17533),
        u = r(74673),
        c = r(42911);
      r(86656),
        r(22723),
        r(31450),
        r(71552),
        r(40642),
        r(57251),
        r(81172),
        r(21972),
        r(23639),
        r(91055),
        r(27794),
        r(6906),
        r(50406),
        r(60991),
        r(26341);
      let d = (s = class extends u.a {
        constructor(e) {
          super(e), (this.name = null), (this.code = null);
        }
        clone() {
          return new s({ name: this.name, code: this.code });
        }
      });
      (0, i._)([(0, a.Cb)({ type: String, json: { write: !0 } })], d.prototype, 'name', void 0),
        (0, i._)(
          [(0, a.Cb)({ type: [String, Number], json: { write: !0 } })],
          d.prototype,
          'code',
          void 0,
        ),
        (d = s = (0, i._)([(0, l.j)('esri.layers.support.CodedValue')], d));
      var h,
        p = d;
      let y = (h = class extends c.Z {
        constructor(e) {
          super(e), (this.codedValues = null), (this.type = 'coded-value');
        }
        getName(e) {
          let t = null;
          if (this.codedValues) {
            const r = String(e);
            this.codedValues.some((e) => (String(e.code) === r && (t = e.name), !!t));
          }
          return t;
        }
        clone() {
          return new h({ codedValues: (0, n.d9)(this.codedValues), name: this.name });
        }
      });
      (0, i._)([(0, a.Cb)({ type: [p], json: { write: !0 } })], y.prototype, 'codedValues', void 0),
        (0, i._)([(0, o.e)({ codedValue: 'coded-value' })], y.prototype, 'type', void 0),
        (y = h = (0, i._)([(0, l.j)('esri.layers.support.CodedValueDomain')], y));
      const f = y;
    },
    42911: (e, t, r) => {
      'use strict';
      r.d(t, { Z: () => d });
      var s = r(29768),
        i = r(57251),
        n = r(74673),
        a = r(34250),
        o = (r(76506), r(91306), r(92143), r(59465)),
        l = r(17533);
      r(71552),
        r(21972),
        r(23639),
        r(86656),
        r(22723),
        r(91055),
        r(27794),
        r(6906),
        r(50406),
        r(60991),
        r(81172),
        r(31450),
        r(40642),
        r(26341);
      const u = new i.J({ inherited: 'inherited', codedValue: 'coded-value', range: 'range' });
      let c = class extends n.a {
        constructor(e) {
          super(e), (this.name = null), (this.type = null);
        }
      };
      (0, s._)([(0, a.Cb)({ type: String, json: { write: !0 } })], c.prototype, 'name', void 0),
        (0, s._)([(0, o.e)(u)], c.prototype, 'type', void 0),
        (c = (0, s._)([(0, l.j)('esri.layers.support.Domain')], c));
      const d = c;
    },
    97546: (e, t, r) => {
      'use strict';
      r.d(t, { Z: () => g });
      var s,
        i = r(29768),
        n = r(57251),
        a = r(74673),
        o = r(34250),
        l = (r(76506), r(91306)),
        u = (r(92143), r(59465)),
        c = r(97714),
        d = r(17533),
        h = r(9801),
        p = r(54732);
      r(71552),
        r(21972),
        r(23639),
        r(86656),
        r(22723),
        r(91055),
        r(27794),
        r(6906),
        r(50406),
        r(60991),
        r(81172),
        r(31450),
        r(40642),
        r(26341),
        r(53523),
        r(42911),
        r(46826),
        r(45433);
      const y = new n.J({
        binary: 'binary',
        coordinate: 'coordinate',
        countOrAmount: 'count-or-amount',
        dateAndTime: 'date-and-time',
        description: 'description',
        locationOrPlaceName: 'location-or-place-name',
        measurement: 'measurement',
        nameOrTitle: 'name-or-title',
        none: 'none',
        orderedOrRanked: 'ordered-or-ranked',
        percentageOrRatio: 'percentage-or-ratio',
        typeOrCategory: 'type-or-category',
        uniqueIdentifier: 'unique-identifier',
      });
      let f = (s = class extends a.a {
        constructor(e) {
          super(e),
            (this.alias = null),
            (this.defaultValue = void 0),
            (this.description = null),
            (this.domain = null),
            (this.editable = !0),
            (this.length = -1),
            (this.name = null),
            (this.nullable = !0),
            (this.type = null),
            (this.valueType = null);
        }
        readDescription(e, { description: t }) {
          let r;
          try {
            r = JSON.parse(t);
          } catch (e) {}
          return r ? r.value : null;
        }
        readValueType(e, { description: t }) {
          let r;
          try {
            r = JSON.parse(t);
          } catch (e) {}
          return r ? y.fromJSON(r.fieldValueType) : null;
        }
        clone() {
          return new s({
            alias: this.alias,
            defaultValue: this.defaultValue,
            description: this.description,
            domain: (this.domain && this.domain.clone()) || null,
            editable: this.editable,
            length: this.length,
            name: this.name,
            nullable: this.nullable,
            type: this.type,
            valueType: this.valueType,
          });
        }
      });
      (0, i._)([(0, o.Cb)({ type: String, json: { write: !0 } })], f.prototype, 'alias', void 0),
        (0, i._)(
          [(0, o.Cb)({ type: [String, Number], json: { write: { allowNull: !0 } } })],
          f.prototype,
          'defaultValue',
          void 0,
        ),
        (0, i._)([(0, o.Cb)()], f.prototype, 'description', void 0),
        (0, i._)([(0, c.r)('description')], f.prototype, 'readDescription', null),
        (0, i._)(
          [(0, o.Cb)({ types: h.t, json: { read: { reader: h.f }, write: !0 } })],
          f.prototype,
          'domain',
          void 0,
        ),
        (0, i._)(
          [(0, o.Cb)({ type: Boolean, json: { write: !0 } })],
          f.prototype,
          'editable',
          void 0,
        ),
        (0, i._)([(0, o.Cb)({ type: l.I, json: { write: !0 } })], f.prototype, 'length', void 0),
        (0, i._)([(0, o.Cb)({ type: String, json: { write: !0 } })], f.prototype, 'name', void 0),
        (0, i._)(
          [(0, o.Cb)({ type: Boolean, json: { write: !0 } })],
          f.prototype,
          'nullable',
          void 0,
        ),
        (0, i._)([(0, u.e)(p.k)], f.prototype, 'type', void 0),
        (0, i._)([(0, o.Cb)()], f.prototype, 'valueType', void 0),
        (0, i._)([(0, c.r)('valueType', ['description'])], f.prototype, 'readValueType', null),
        (f = s = (0, i._)([(0, d.j)('esri.layers.support.Field')], f));
      const g = f;
    },
    46826: (e, t, r) => {
      'use strict';
      r.d(t, { Z: () => u });
      var s,
        i = r(29768),
        n = (r(34250), r(76506), r(91306), r(92143), r(59465)),
        a = r(17533),
        o = r(42911);
      r(86656),
        r(22723),
        r(31450),
        r(71552),
        r(40642),
        r(57251),
        r(81172),
        r(74673),
        r(21972),
        r(23639),
        r(91055),
        r(27794),
        r(6906),
        r(50406),
        r(60991),
        r(26341);
      let l = (s = class extends o.Z {
        constructor(e) {
          super(e), (this.type = 'inherited');
        }
        clone() {
          return new s();
        }
      });
      (0, i._)([(0, n.e)({ inherited: 'inherited' })], l.prototype, 'type', void 0),
        (l = s = (0, i._)([(0, a.j)('esri.layers.support.InheritedDomain')], l));
      const u = l;
    },
    45433: (e, t, r) => {
      'use strict';
      r.d(t, { Z: () => c });
      var s,
        i = r(29768),
        n = r(34250),
        a = (r(76506), r(91306), r(92143), r(59465)),
        o = r(17533),
        l = r(42911);
      r(86656),
        r(22723),
        r(31450),
        r(71552),
        r(40642),
        r(57251),
        r(81172),
        r(74673),
        r(21972),
        r(23639),
        r(91055),
        r(27794),
        r(6906),
        r(50406),
        r(60991),
        r(26341);
      let u = (s = class extends l.Z {
        constructor(e) {
          super(e), (this.maxValue = null), (this.minValue = null), (this.type = 'range');
        }
        clone() {
          return new s({ maxValue: this.maxValue, minValue: this.minValue, name: this.name });
        }
      });
      (0, i._)(
        [
          (0, n.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, r) {
                  t[r] = [this.minValue || 0, e];
                },
              },
            },
          }),
        ],
        u.prototype,
        'maxValue',
        void 0,
      ),
        (0, i._)(
          [
            (0, n.Cb)({
              type: Number,
              json: {
                type: [Number],
                read: { source: 'range', reader: (e, t) => t.range && t.range[0] },
                write: {
                  target: 'range',
                  writer(e, t, r) {
                    t[r] = [e, this.maxValue || 0];
                  },
                },
              },
            }),
          ],
          u.prototype,
          'minValue',
          void 0,
        ),
        (0, i._)([(0, a.e)({ range: 'range' })], u.prototype, 'type', void 0),
        (u = s = (0, i._)([(0, o.j)('esri.layers.support.RangeDomain')], u));
      const c = u;
    },
  },
]);
