(self.webpackChunkRemoteClient = self.webpackChunkRemoteClient || []).push([
  [3741],
  {
    3741: (e, t, r) => {
      'use strict';
      r.r(t), r.d(t, { default: () => H });
      var i = r(29768),
        s = r(86748),
        o = (r(55306), r(71206), r(51979), r(60698), r(65684), r(86758), r(95310), r(20208)),
        a = r(82058),
        n = r(60991),
        l = r(92143),
        p = r(76506),
        d = r(54179),
        y = r(50406),
        u = r(32101),
        c = r(617),
        h = r(34250),
        f = r(86656),
        g = (r(91306), r(97714)),
        b = r(17533),
        m = r(41617),
        v = r(21781),
        I = r(75025),
        _ = r(89440),
        w = r(62162),
        L = r(58912),
        F = r(98412),
        C = r(45272),
        S = r(43022),
        j = r(13322),
        E = r(34558),
        O = r(47346),
        T = r(1709),
        P = r(14249),
        x = r(69003),
        A = r(77807),
        D = r(68653),
        R = r(2180),
        Z = r(74673),
        U = r(68714),
        N = r(31292),
        Q = r(78893),
        q = r(34394);
      r(15324),
        r(91055),
        r(76996),
        r(21972),
        r(23639),
        r(27794),
        r(6906),
        r(31450),
        r(71552),
        r(40642),
        r(81172),
        r(22723),
        r(86787),
        r(2906),
        r(29107),
        r(30574),
        r(2157),
        r(26341),
        r(25977),
        r(7471),
        r(54414),
        r(57251),
        r(59465),
        r(1648),
        r(8925),
        r(33921),
        r(3482),
        r(45154),
        r(16769),
        r(55531),
        r(30582),
        r(593),
        r(85699),
        r(63136),
        r(96055),
        r(47776),
        r(18033),
        r(6331),
        r(62048),
        r(4292),
        r(75626),
        r(72652),
        r(29641),
        r(30493),
        r(70821),
        r(82673),
        r(34229),
        r(37029),
        r(9801),
        r(53523),
        r(42911),
        r(46826),
        r(45433),
        r(60217),
        r(74569),
        r(21801),
        r(73796),
        r(60947),
        r(91597),
        r(35132),
        r(89623),
        r(84069),
        r(44567),
        r(98380),
        r(92896),
        r(22781),
        r(32422),
        r(96467),
        r(63571),
        r(30776),
        r(48027),
        r(54174),
        r(82426),
        r(63130),
        r(25696),
        r(66396),
        r(42775),
        r(95834),
        r(57150),
        r(76726),
        r(20444),
        r(76393),
        r(78548),
        r(2497),
        r(49906),
        r(46527),
        r(48649),
        r(9960),
        r(3101),
        r(5853),
        r(39141),
        r(38742),
        r(48243),
        r(34635),
        r(10401),
        r(49900),
        r(66284),
        r(73173),
        r(88762),
        r(22739),
        r(20543),
        r(67477),
        r(78533),
        r(74653),
        r(91091),
        r(58943),
        r(70737),
        r(8487),
        r(17817),
        r(90814),
        r(15459),
        r(61847),
        r(16796),
        r(16955),
        r(22401),
        r(77894),
        r(55187),
        r(8586),
        r(44509),
        r(69814),
        r(11305),
        r(62259),
        r(44790),
        r(5909),
        r(60669),
        r(48208),
        r(51589),
        r(74071),
        r(51723),
        r(23243),
        r(51669),
        r(6090),
        r(3977),
        r(36741),
        r(11253),
        r(90319),
        r(38822),
        r(74057),
        r(23761),
        r(48190),
        r(85557),
        r(53785),
        r(95587),
        r(94070),
        r(16218),
        r(9075),
        r(67541),
        r(12158),
        r(74864),
        r(63683),
        r(94479),
        r(45702),
        r(51127),
        r(89241),
        r(91700),
        r(32037),
        r(90811),
        r(93939),
        r(238),
        r(71831),
        r(49500),
        r(50161),
        r(21132),
        r(41864),
        r(56420),
        r(74742),
        r(28239),
        r(29027),
        r(83805),
        r(46857),
        r(10279),
        r(3754),
        r(93314),
        r(35197),
        r(47842),
        r(17298),
        r(9506),
        r(82933),
        r(10691),
        r(38949),
        r(71777),
        r(27371),
        r(78648),
        r(87558),
        r(13063),
        r(17153),
        r(35962),
        r(9252),
        r(67350),
        r(11471),
        r(83748),
        r(28376),
        r(62554),
        r(48687),
        r(65514),
        r(46987),
        r(37453),
        r(55823),
        r(92847),
        r(87258),
        r(97546),
        r(54732),
        r(11118),
        r(8547),
        r(16647),
        r(19902),
        r(59765),
        r(77361),
        r(14460),
        r(50203),
        r(30439),
        r(6941),
        r(83290),
        r(46495),
        r(78303),
        r(17055),
        r(14327),
        r(69218),
        r(34446),
        r(46646),
        r(39210),
        r(90549),
        r(27207);
      let k = class extends Z.a {
        constructor() {
          super(...arguments),
            (this.name = null),
            (this.field = null),
            (this.currentRangeExtent = null),
            (this.fullRangeExtent = null),
            (this.type = 'rangeInfo');
        }
      };
      (0, i._)(
        [(0, h.Cb)({ type: String, json: { read: !0, write: !0 } })],
        k.prototype,
        'name',
        void 0,
      ),
        (0, i._)(
          [(0, h.Cb)({ type: String, json: { read: !0, write: !0 } })],
          k.prototype,
          'field',
          void 0,
        ),
        (0, i._)(
          [(0, h.Cb)({ type: [Number], json: { read: !0, write: !0 } })],
          k.prototype,
          'currentRangeExtent',
          void 0,
        ),
        (0, i._)(
          [(0, h.Cb)({ type: [Number], json: { read: !0, write: !0 } })],
          k.prototype,
          'fullRangeExtent',
          void 0,
        ),
        (0, i._)(
          [(0, h.Cb)({ type: ['rangeInfo'], readOnly: !0, json: { read: !1, write: !0 } })],
          k.prototype,
          'type',
          void 0,
        ),
        (k = (0, i._)([(0, b.j)('esri.layers.support.RangeInfo')], k));
      var G = k;
      const V = ['3DObject', 'Point'],
        K = l.L.getLogger('esri.layers.SceneLayer'),
        M = (0, O.d)();
      let $ = class extends (0, F.S)(
        (0, I.A)((0, _.O)((0, w.P)((0, L.S)((0, d.M)((0, v.A)(m.Z)))))),
      ) {
        constructor(...e) {
          super(...e),
            (this.featureReduction = null),
            (this.rangeInfos = null),
            (this.operationalLayerType = 'ArcGISSceneServiceLayer'),
            (this.type = 'scene'),
            (this.fields = null),
            (this.floorInfo = null),
            (this.outFields = null),
            (this.nodePages = null),
            (this.materialDefinitions = null),
            (this.textureSetDefinitions = null),
            (this.geometryDefinitions = null),
            (this.serviceUpdateTimeStamp = null),
            (this.definitionExpression = null),
            (this.path = null),
            (this.labelsVisible = !0),
            (this.labelingInfo = null),
            (this.legendEnabled = !0),
            (this.cachedDrawingInfo = { color: !1 }),
            (this.popupEnabled = !0),
            (this.popupTemplate = null),
            (this.objectIdField = null),
            (this.globalIdField = null),
            (this._fieldUsageInfo = {}),
            (this.screenSizePerspectiveEnabled = !0);
        }
        normalizeCtorArgs(e, t) {
          return 'string' == typeof e ? { url: e, ...t } : e;
        }
        getField(e) {
          return this.fieldsIndex.get(e);
        }
        getFieldDomain(e, t) {
          var r, i, s, o;
          const a =
            null == (r = this.getFeatureType(null == t ? void 0 : t.feature)) ||
            null == (i = r.domains)
              ? void 0
              : i[e];
          return a && 'inherited' !== a.type
            ? a
            : null != (s = null == (o = this.getField(e)) ? void 0 : o.domain)
            ? s
            : null;
        }
        getFeatureType(e) {
          return e && (0, p.i)(this.associatedLayer)
            ? this.associatedLayer.getFeatureType(e)
            : null;
        }
        get types() {
          return (0, p.i)(this.associatedLayer) ? this.associatedLayer.types : [];
        }
        get typeIdField() {
          return (0, p.i)(this.associatedLayer) ? this.associatedLayer.typeIdField : null;
        }
        get formTemplate() {
          return (0, p.i)(this.associatedLayer) ? this.associatedLayer.formTemplate : null;
        }
        get fieldsIndex() {
          return new T.Z(this.fields);
        }
        readNodePages(e, t, r) {
          return (
            'Point' === t.layerType && (e = t.pointNodePages),
            null == e || 'object' != typeof e ? null : x.I.fromJSON(e, r)
          );
        }
        set elevationInfo(e) {
          this._set('elevationInfo', e), this.loaded && this._validateElevationInfo();
        }
        get geometryType() {
          return W[this.profile] || 'mesh';
        }
        set renderer(e) {
          (0, P.YN)(e, this.fieldsIndex), this._set('renderer', e);
        }
        readCachedDrawingInfo(e) {
          return (
            (null != e && 'object' == typeof e) || (e = {}), null == e.color && (e.color = !1), e
          );
        }
        get capabilities() {
          const e =
              (0, p.i)(this.associatedLayer) && this.associatedLayer.capabilities
                ? this.associatedLayer.capabilities
                : C.z,
            {
              query: t,
              editing: {
                supportsGlobalId: r,
                supportsRollbackOnFailure: i,
                supportsUploadWithItemId: s,
                supportsReturnServiceEditsInSourceSpatialReference: o,
              },
              data: { supportsZ: a, supportsM: n, isVersioned: l, supportsAttachment: d },
              operations: {
                supportsEditing: y,
                supportsUpdate: u,
                supportsQuery: c,
                supportsQueryAttachments: h,
              },
            } = e,
            f = e.operations.supportsChangeTracking;
          return {
            query: t,
            editing: {
              supportsGlobalId: r,
              supportsReturnServiceEditsInSourceSpatialReference: o,
              supportsRollbackOnFailure: i,
              supportsGeometryUpdate: !1,
              supportsUploadWithItemId: s,
            },
            data: { supportsAttachment: d, supportsZ: a, supportsM: n, isVersioned: l },
            operations: {
              supportsQuery: c,
              supportsQueryAttachments: h,
              supportsEditing: y && f,
              supportsAdd: !1,
              supportsDelete: !1,
              supportsUpdate: u && f,
            },
          };
        }
        get editingEnabled() {
          return this._isOverridden('editingEnabled')
            ? this._get('editingEnabled')
            : this.userHasEditingPrivileges;
        }
        set editingEnabled(e) {
          null != e ? this._override('editingEnabled', e) : this._clearOverride('editingEnabled');
        }
        get defaultPopupTemplate() {
          return (0, p.i)(this.associatedLayer) || this.attributeStorageInfo
            ? this.createPopupTemplate()
            : null;
        }
        readObjectIdField(e, t) {
          return (
            !e &&
              t.fields &&
              t.fields.some((t) => ('esriFieldTypeOID' === t.type && (e = t.name), !!e)),
            e || void 0
          );
        }
        readGlobalIdField(e, t) {
          return (
            !e &&
              t.fields &&
              t.fields.some((t) => ('esriFieldTypeGlobalID' === t.type && (e = t.name), !!e)),
            e || void 0
          );
        }
        get displayField() {
          return (0, p.i)(this.associatedLayer) ? this.associatedLayer.displayField : null;
        }
        readProfile(e, t) {
          const r = t.store.profile;
          return null != r && z[r]
            ? z[r]
            : (K.error('Unknown or missing profile', { profile: r, layer: this }), 'mesh-pyramids');
        }
        load(e) {
          const t = (0, p.i)(e) ? e.signal : null,
            r = this.loadFromPortal({ supportedTypes: ['Scene Service'] }, e)
              .catch(y.r9)
              .then(() => this._fetchService(t))
              .then(() =>
                Promise.all([
                  this._fetchIndexAndUpdateExtent(this.nodePages, t),
                  this._setAssociatedFeatureLayer(t),
                ]),
              )
              .then(() => this._validateElevationInfo())
              .then(() => this._applyAssociatedLayerOverrides())
              .then(() => this._populateFieldUsageInfo())
              .then(() => (0, U.l)(this, { origin: 'service' }, t))
              .then(() => (0, P.YN)(this.renderer, this.fieldsIndex))
              .then(() => this.finishLoadEditablePortalLayer(e));
          return this.addResolvingPromise(r), Promise.resolve(this);
        }
        createQuery() {
          const e = new N.Z();
          return (
            'mesh' !== this.geometryType && ((e.returnGeometry = !0), (e.returnZ = !0)),
            (e.where = this.definitionExpression || '1=1'),
            (e.sqlFormat = 'standard'),
            e
          );
        }
        queryExtent(e, t) {
          return this._getAssociatedLayerForQuery().then((r) =>
            r.queryExtent(e || this.createQuery(), t),
          );
        }
        queryFeatureCount(e, t) {
          return this._getAssociatedLayerForQuery().then((r) =>
            r.queryFeatureCount(e || this.createQuery(), t),
          );
        }
        queryFeatures(e, t) {
          return this._getAssociatedLayerForQuery()
            .then((r) => r.queryFeatures(e || this.createQuery(), t))
            .then((e) => {
              if (null != e && e.features)
                for (const t of e.features) (t.layer = this), (t.sourceLayer = this);
              return e;
            });
        }
        queryObjectIds(e, t) {
          return this._getAssociatedLayerForQuery().then((r) =>
            r.queryObjectIds(e || this.createQuery(), t),
          );
        }
        queryAttachments(e, t) {
          return this._getAssociatedLayerForQuery().then((r) => r.queryAttachments(e, t));
        }
        getFieldUsageInfo(e) {
          const t = {
            supportsLabelingInfo: !1,
            supportsRenderer: !1,
            supportsPopupTemplate: !1,
            supportsLayerQuery: !1,
          };
          return this.loaded
            ? this._fieldUsageInfo[e] || t
            : (K.error('#getFieldUsageInfo()', 'Unavailable until layer is loaded'), t);
        }
        createPopupTemplate(e) {
          return (0, Q.eZ)(this, e);
        }
        _getAssociatedLayerForQuery() {
          const e = this.associatedLayer;
          return (0, p.i)(e) && e.loaded ? Promise.resolve(e) : this._loadAssociatedLayerForQuery();
        }
        async _loadAssociatedLayerForQuery() {
          if ((await this.load(), (0, p.b)(this.associatedLayer)))
            throw new n.Z(
              'scenelayer:query-not-available',
              'SceneLayer queries are not available without an associated feature layer',
              { layer: this },
            );
          try {
            await this.associatedLayer.load();
          } catch (e) {
            throw new n.Z(
              'scenelayer:query-not-available',
              'SceneLayer associated feature layer could not be loaded',
              { layer: this, error: e },
            );
          }
          return this.associatedLayer;
        }
        hasCachedStatistics(e) {
          return null != this.statisticsInfo && this.statisticsInfo.some((t) => t.name === e);
        }
        async queryCachedStatistics(e, t) {
          if ((await this.load(t), !this.statisticsInfo))
            throw new n.Z(
              'scenelayer:no-cached-statistics',
              'Cached statistics are not available for this layer',
            );
          const r = this.fieldsIndex.get(e);
          if (!r)
            throw new n.Z(
              'scenelayer:field-unexisting',
              `Field '${e}' does not exist on the layer`,
            );
          for (const e of this.statisticsInfo)
            if (e.name === r.name) {
              const r = (0, u.v_)(this.parsedUrl.path, e.href);
              return (0, a.default)(r, {
                query: { f: 'json', token: this.apiKey },
                responseType: 'json',
                signal: t ? t.signal : null,
              }).then((e) => e.data);
            }
          throw new n.Z(
            'scenelayer:no-cached-statistics',
            'Cached statistics for this attribute are not available',
          );
        }
        async saveAs(e, t) {
          return this._debouncedSaveOperations(
            1,
            { ...t, getTypeKeywords: () => this._getTypeKeywords(), portalItemLayerType: 'scene' },
            e,
          );
        }
        async save() {
          const e = {
            getTypeKeywords: () => this._getTypeKeywords(),
            portalItemLayerType: 'scene',
          };
          return this._debouncedSaveOperations(0, e);
        }
        async applyEdits(e, t) {
          const i = await r.e(9231).then(r.bind(r, 89231));
          if ((await this.load(), (0, p.b)(this.associatedLayer)))
            throw new n.Z(`${this.type}-layer:not-editable`, 'Service is not editable');
          return (
            await this.associatedLayer.load(), i.applyEdits(this, this.associatedLayer.source, e, t)
          );
        }
        on(e, t) {
          return super.on(e, t);
        }
        validateLayer(e) {
          if (e.layerType && -1 === V.indexOf(e.layerType))
            throw new n.Z(
              'scenelayer:layer-type-not-supported',
              'SceneLayer does not support this layer type',
              { layerType: e.layerType },
            );
          if (isNaN(this.version.major) || isNaN(this.version.minor))
            throw new n.Z(
              'layer:service-version-not-supported',
              'Service version is not supported.',
              { serviceVersion: this.version.versionString, supportedVersions: '1.x' },
            );
          if (this.version.major > 1)
            throw new n.Z('layer:service-version-too-new', 'Service version is too new.', {
              serviceVersion: this.version.versionString,
              supportedVersions: '1.x',
            });
          !(function (e, t) {
            let r = !1,
              i = !1;
            if (null == e) (r = !0), (i = !0);
            else {
              const s = t && t.isGeographic;
              switch (e) {
                case 'east-north-up':
                case 'earth-centered':
                  (r = !0), (i = s);
                  break;
                case 'vertex-reference-frame':
                  (r = !0), (i = !s);
                  break;
                default:
                  r = !1;
              }
            }
            if (!r)
              throw new n.Z(
                'scenelayer:unsupported-normal-reference-frame',
                'Normal reference frame is invalid.',
              );
            if (!i)
              throw new n.Z(
                'scenelayer:incompatible-normal-reference-frame',
                'Normal reference frame is incompatible with layer spatial reference.',
              );
          })(this.normalReferenceFrame, this.spatialReference);
        }
        _getTypeKeywords() {
          const e = [];
          if ('points' === this.profile) e.push('Point');
          else {
            if ('mesh-pyramids' !== this.profile)
              throw new n.Z(
                'scenelayer:unknown-profile',
                'SceneLayer:save() encountered an unknown SceneLayer profile: ' + this.profile,
              );
            e.push('3DObject');
          }
          return e;
        }
        _populateFieldUsageInfo() {
          if (((this._fieldUsageInfo = {}), this.fields))
            for (const e of this.fields) {
              const t = !(
                  !this.attributeStorageInfo ||
                  !this.attributeStorageInfo.some((t) => t.name === e.name)
                ),
                r = !!(
                  (0, p.i)(this.associatedLayer) &&
                  this.associatedLayer.fields &&
                  this.associatedLayer.fields.some((t) => t && e.name === t.name)
                ),
                i = {
                  supportsLabelingInfo: t,
                  supportsRenderer: t,
                  supportsPopupTemplate: t || r,
                  supportsLayerQuery: r,
                };
              this._fieldUsageInfo[e.name] = i;
            }
        }
        _applyAssociatedLayerOverrides() {
          this._applyAssociatedLayerFieldsOverrides(), this._applyAssociatedLayerPopupOverrides();
        }
        _applyAssociatedLayerFieldsOverrides() {
          if ((0, p.b)(this.associatedLayer) || !this.associatedLayer.fields) return;
          let e = null;
          for (const t of this.associatedLayer.fields) {
            const r = this.getField(t.name);
            r
              ? (!r.domain && t.domain && (r.domain = t.domain.clone()),
                (r.editable = t.editable),
                (r.nullable = t.nullable),
                (r.length = t.length))
              : (e || (e = this.fields ? this.fields.slice() : []), e.push(t.clone()));
          }
          e && this._set('fields', e);
        }
        _applyAssociatedLayerPopupOverrides() {
          if ((0, p.b)(this.associatedLayer)) return;
          const e = ['popupTemplate', 'popupEnabled'],
            t = (0, f.g)(this);
          for (let r = 0; r < e.length; r++) {
            const i = e[r],
              s = this.originIdOf(i),
              o = this.associatedLayer.originIdOf(i);
            s < o && (2 === o || 3 === o) && t.setAtOrigin(i, this.associatedLayer[i], o);
          }
        }
        async _setAssociatedFeatureLayer(e) {
          if (-1 === ['mesh-pyramids', 'points'].indexOf(this.profile)) return;
          const t = new E.F(this.parsedUrl, this.portalItem, this.apiKey, e);
          try {
            this.associatedLayer = await t.fetch();
          } catch (e) {
            (0, y.D_)(e) || this._logWarningOnPopupEnabled();
          }
        }
        _logWarningOnPopupEnabled() {
          (0, c.tH)(
            this,
            ['popupTemplate', 'popupEnabled'],
            () => this.popupEnabled && null != this.popupTemplate,
          ).then(() => () => {
            const e = `this SceneLayer: ${this.title}`;
            null == this.attributeStorageInfo
              ? K.warn(
                  `Associated FeatureLayer could not be loaded and no binary attributes found. Popups will not work on ${e}`,
                )
              : K.info(
                  `Associated FeatureLayer could not be loaded. Falling back to binary attributes for Popups on ${e}`,
                );
          });
        }
        _validateElevationInfo() {
          const e = this.elevationInfo;
          e &&
            ('mesh-pyramids' === this.profile &&
              'absolute-height' !== e.mode &&
              K.warn(
                '.elevationInfo=',
                'Mesh scene layers only support absolute-height elevation mode',
              ),
            e.featureExpressionInfo &&
              '0' !== e.featureExpressionInfo.expression &&
              K.warn('.elevationInfo=', 'Scene layers do not support featureExpressionInfo'));
        }
      };
      (0, i._)(
        [
          (0, h.Cb)({
            types: { key: 'type', base: j.F, typeMap: { selection: j.Z } },
            json: {
              origins: {
                'web-scene': { name: 'layerDefinition.featureReduction', write: !0 },
                'portal-item': { name: 'layerDefinition.featureReduction', write: !0 },
              },
            },
          }),
        ],
        $.prototype,
        'featureReduction',
        void 0,
      ),
        (0, i._)(
          [
            (0, h.Cb)({
              type: [G],
              json: {
                read: !1,
                origins: {
                  'web-scene': { name: 'layerDefinition.rangeInfos', write: !0 },
                  'portal-item': { name: 'layerDefinition.rangeInfos', write: !0 },
                },
              },
            }),
          ],
          $.prototype,
          'rangeInfos',
          void 0,
        ),
        (0, i._)([(0, h.Cb)({ json: { read: !1 } })], $.prototype, 'associatedLayer', void 0),
        (0, i._)([(0, h.Cb)({ type: ['show', 'hide'] })], $.prototype, 'listMode', void 0),
        (0, i._)(
          [(0, h.Cb)({ type: ['ArcGISSceneServiceLayer'] })],
          $.prototype,
          'operationalLayerType',
          void 0,
        ),
        (0, i._)([(0, h.Cb)({ json: { read: !1 }, readOnly: !0 })], $.prototype, 'type', void 0),
        (0, i._)(
          [
            (0, h.Cb)({
              ...M.fields,
              readOnly: !0,
              json: { read: !1, origins: { service: { read: !0 } } },
            }),
          ],
          $.prototype,
          'fields',
          void 0,
        ),
        (0, i._)([(0, h.Cb)()], $.prototype, 'types', null),
        (0, i._)([(0, h.Cb)()], $.prototype, 'typeIdField', null),
        (0, i._)([(0, h.Cb)()], $.prototype, 'formTemplate', null),
        (0, i._)([(0, h.Cb)({ readOnly: !0 })], $.prototype, 'fieldsIndex', null),
        (0, i._)(
          [
            (0, h.Cb)({
              type: R.Z,
              json: {
                read: { source: 'layerDefinition.floorInfo' },
                write: { target: 'layerDefinition.floorInfo' },
              },
            }),
          ],
          $.prototype,
          'floorInfo',
          void 0,
        ),
        (0, i._)([(0, h.Cb)(M.outFields)], $.prototype, 'outFields', void 0),
        (0, i._)(
          [(0, h.Cb)({ type: x.I, readOnly: !0, json: { read: !1 } })],
          $.prototype,
          'nodePages',
          void 0,
        ),
        (0, i._)(
          [(0, g.r)('service', 'nodePages', ['nodePages', 'pointNodePages'])],
          $.prototype,
          'readNodePages',
          null,
        ),
        (0, i._)(
          [(0, h.Cb)({ type: [x.a], readOnly: !0 })],
          $.prototype,
          'materialDefinitions',
          void 0,
        ),
        (0, i._)(
          [(0, h.Cb)({ type: [x.b], readOnly: !0 })],
          $.prototype,
          'textureSetDefinitions',
          void 0,
        ),
        (0, i._)(
          [(0, h.Cb)({ type: [x.c], readOnly: !0 })],
          $.prototype,
          'geometryDefinitions',
          void 0,
        ),
        (0, i._)([(0, h.Cb)({ readOnly: !0 })], $.prototype, 'serviceUpdateTimeStamp', void 0),
        (0, i._)([(0, h.Cb)({ readOnly: !0 })], $.prototype, 'attributeStorageInfo', void 0),
        (0, i._)([(0, h.Cb)({ readOnly: !0 })], $.prototype, 'statisticsInfo', void 0),
        (0, i._)(
          [
            (0, h.Cb)({
              type: String,
              json: {
                origins: { service: { read: !1, write: !1 } },
                name: 'layerDefinition.definitionExpression',
                write: { enabled: !0, allowNull: !0 },
              },
            }),
          ],
          $.prototype,
          'definitionExpression',
          void 0,
        ),
        (0, i._)(
          [
            (0, h.Cb)({
              type: String,
              json: { origins: { 'web-scene': { read: !0, write: !0 } }, read: !1 },
            }),
          ],
          $.prototype,
          'path',
          void 0,
        ),
        (0, i._)([(0, h.Cb)(S.e)], $.prototype, 'elevationInfo', null),
        (0, i._)([(0, h.Cb)({ type: String })], $.prototype, 'geometryType', null),
        (0, i._)([(0, h.Cb)(S.l)], $.prototype, 'labelsVisible', void 0),
        (0, i._)(
          [
            (0, h.Cb)({
              type: [A.Z],
              json: {
                origins: {
                  service: { name: 'drawingInfo.labelingInfo', read: { reader: D.r }, write: !1 },
                },
                name: 'layerDefinition.drawingInfo.labelingInfo',
                read: { reader: D.r },
                write: !0,
              },
            }),
          ],
          $.prototype,
          'labelingInfo',
          void 0,
        ),
        (0, i._)([(0, h.Cb)(S.b)], $.prototype, 'legendEnabled', void 0),
        (0, i._)(
          [
            (0, h.Cb)({
              type: Number,
              json: {
                origins: {
                  'web-document': {
                    default: 1,
                    write: {
                      enabled: !0,
                      target: {
                        opacity: { type: Number },
                        'layerDefinition.drawingInfo.transparency': { type: Number },
                      },
                    },
                    read: {
                      source: ['opacity', 'layerDefinition.drawingInfo.transparency'],
                      reader(e, t) {
                        var r, i;
                        if ('number' == typeof e && e >= 0 && e <= 1) return e;
                        const s =
                          null == (r = t.layerDefinition) || null == (i = r.drawingInfo)
                            ? void 0
                            : i.transparency;
                        return void 0 !== s ? (0, q.t)(s) : void 0;
                      },
                    },
                  },
                  'portal-item': { write: !0 },
                  service: { read: !1 },
                },
              },
            }),
          ],
          $.prototype,
          'opacity',
          void 0,
        ),
        (0, i._)(
          [
            (0, h.Cb)({
              types: o.w,
              json: {
                origins: { service: { read: { source: 'drawingInfo.renderer' } } },
                name: 'layerDefinition.drawingInfo.renderer',
                write: !0,
              },
              value: null,
            }),
          ],
          $.prototype,
          'renderer',
          null,
        ),
        (0, i._)([(0, h.Cb)({ json: { read: !1 } })], $.prototype, 'cachedDrawingInfo', void 0),
        (0, i._)(
          [(0, g.r)('service', 'cachedDrawingInfo')],
          $.prototype,
          'readCachedDrawingInfo',
          null,
        ),
        (0, i._)(
          [(0, h.Cb)({ readOnly: !0, json: { read: !1 } })],
          $.prototype,
          'capabilities',
          null,
        ),
        (0, i._)(
          [(0, h.Cb)({ type: Boolean, json: { read: !1 } })],
          $.prototype,
          'editingEnabled',
          null,
        ),
        (0, i._)([(0, h.Cb)(S.p)], $.prototype, 'popupEnabled', void 0),
        (0, i._)(
          [(0, h.Cb)({ type: s.Z, json: { name: 'popupInfo', write: !0 } })],
          $.prototype,
          'popupTemplate',
          void 0,
        ),
        (0, i._)(
          [(0, h.Cb)({ readOnly: !0, json: { read: !1 } })],
          $.prototype,
          'defaultPopupTemplate',
          null,
        ),
        (0, i._)(
          [(0, h.Cb)({ type: String, json: { read: !1 } })],
          $.prototype,
          'objectIdField',
          void 0,
        ),
        (0, i._)(
          [(0, g.r)('service', 'objectIdField', ['objectIdField', 'fields'])],
          $.prototype,
          'readObjectIdField',
          null,
        ),
        (0, i._)(
          [(0, h.Cb)({ type: String, json: { read: !1 } })],
          $.prototype,
          'globalIdField',
          void 0,
        ),
        (0, i._)(
          [(0, g.r)('service', 'globalIdField', ['globalIdField', 'fields'])],
          $.prototype,
          'readGlobalIdField',
          null,
        ),
        (0, i._)(
          [(0, h.Cb)({ readOnly: !0, type: String, json: { read: !1 } })],
          $.prototype,
          'displayField',
          null,
        ),
        (0, i._)([(0, h.Cb)({ type: String, json: { read: !1 } })], $.prototype, 'profile', void 0),
        (0, i._)(
          [(0, g.r)('service', 'profile', ['store.profile'])],
          $.prototype,
          'readProfile',
          null,
        ),
        (0, i._)(
          [
            (0, h.Cb)({
              readOnly: !0,
              type: String,
              json: {
                origins: { service: { read: { source: 'store.normalReferenceFrame' } } },
                read: !1,
              },
            }),
          ],
          $.prototype,
          'normalReferenceFrame',
          void 0,
        ),
        (0, i._)([(0, h.Cb)(S.d)], $.prototype, 'screenSizePerspectiveEnabled', void 0),
        ($ = (0, i._)([(0, b.j)('esri.layers.SceneLayer')], $));
      const z = {
          'mesh-pyramids': 'mesh-pyramids',
          meshpyramids: 'mesh-pyramids',
          'features-meshes': 'mesh-pyramids',
          points: 'points',
          'features-points': 'points',
          lines: 'lines',
          'features-lines': 'lines',
          polygons: 'polygons',
          'features-polygons': 'polygons',
        },
        W = { 'mesh-pyramids': 'mesh', points: 'point', lines: 'polyline', polygons: 'polygon' },
        H = $;
    },
  },
]);
