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AAEhE,KAAKL,GAAGqE,GAAGxF,GAAGsB,EAAEuM,aAAapJ,IAAIzE,KAAKwF,EAAE8U,SAASta,IAAIwF,EAAEhE,KAAKxB,GAAGwF,GAAGzF,GAAGuB,EAAEuM,aAAapJ,IAAI1E,KAAKyF,EAAE8U,SAASva,IAAIyF,EAAEhE,KAAKzB,GAAGsB,GAAGA,EAAEoJ,SAASvK,IAAI,MAAM4hB,SAAS9f,GAAG9B,EAAEsF,GAAGxD,GAAGV,EAAEuM,aAAapJ,IAAIzC,KAAKwD,EAAE8U,SAAStY,IAAIwD,EAAEhE,KAAKQ,EAApD,IAA0DwD,CAAE,UAASnF,EAAEH,EAAE8B,GAAG,OAAO9B,EAAE2D,cAAc3D,EAAE2D,eAAcvC,EAAAA,EAAAA,IAAEU,IAAIA,EAAE+f,8BAA6BzgB,EAAAA,EAAAA,IAAEpB,EAAE8hB,sBAAsB9hB,EAAE8hB,qBAAqB,IAAK,C","sources":["../node_modules/@arcgis/core/geometry/support/quantizationUtils.js","../node_modules/@arcgis/core/AggregateGraphic.js","../node_modules/@arcgis/core/layers/effects/FeatureEffectView.js","../node_modules/@arcgis/core/rest/support/AggregateFeatureSet.js","../node_modules/@arcgis/core/views/2d/layers/support/FeatureCommandQueue.js","../node_modules/@arcgis/core/views/2d/layers/support/FeatureLayerProxy.js","../node_modules/@arcgis/core/views/2d/tiling/TileManager.js","../node_modules/@arcgis/core/views/layers/FeatureLayerView.js","../node_modules/@arcgis/core/views/2d/layers/FeatureLayerView2D.js","../node_modules/@arcgis/core/views/2d/layers/features/tileRenderers.js","../node_modules/@arcgis/core/views/layers/support/ClipArea.js","../node_modules/@arcgis/core/views/layers/support/ClipRect.js","../node_modules/@arcgis/core/views/layers/support/Geometry.js","../node_modules/@arcgis/core/views/layers/support/Path.js","../node_modules/@arcgis/core/views/2d/layers/LayerView2D.js","../node_modules/@arcgis/core/views/layers/LayerView.js","../node_modules/@arcgis/core/views/layers/RefreshableLayerView.js","../node_modules/@arcgis/core/views/layers/support/popupUtils.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{isSome as n,isNone as t}from\"../../core/maybe.js\";import{isPoint as e,isPolyline as r,isPolygon as u,isMultipoint as i,isExtent as o}from\"./jsonUtils.js\";function l(n){return n&&\"upperLeft\"===n.originPosition}const a=(n,t,e)=>[t,e],m=(n,t,e)=>[t,e,n[2]],c=(n,t,e)=>[t,e,n[2],n[3]];function s(t){if(!t)return null;return{originPosition:\"upper-left\"===t.originPosition?\"upperLeft\":\"lower-left\"===t.originPosition?\"lowerLeft\":t.originPosition,scale:t.tolerance?[t.tolerance,t.tolerance]:[1,1],translate:n(t.extent)?[t.extent.xmin,t.extent.ymax]:[0,0]}}function f(t,e){if(t===e||null==t&&null==e)return!0;if(null==t||null==e)return!1;let r,u,i,o,a,m;return l(t)?(r=t.translate[0],u=t.translate[1],i=t.scale[0]):(r=n(t.extent)?t.extent.xmin:0,u=n(t.extent)?t.extent.ymax:0,i=t.tolerance),l(e)?(o=e.translate[0],a=e.translate[1],m=e.scale[0]):(o=n(e.extent)?e.extent.xmin:0,a=n(e.extent)?e.extent.ymax:0,m=e.tolerance),r===o&&u===a&&i===m}function x({scale:n,translate:t},e){return Math.round((e-t[0])/n[0])}function h({scale:n,translate:t},e){return Math.round((t[1]-e)/n[1])}function I(n,t,e){const r=[];let u,i,o,l;for(let a=0;a0?(o=x(n,m[0]),l=h(n,m[1]),o===u&&l===i||(r.push(t(m,o-u,l-i)),u=o,i=l)):(u=x(n,m[0]),i=h(n,m[1]),r.push(t(m,u,i)))}return r.length>0?r:null}function g(n,t,e){return t[0]=x(n,e[0]),t[3]=h(n,e[1]),t[2]=x(n,e[2]),t[1]=h(n,e[3]),t}function p(n,t,e,r){return I(n,e?r?c:m:r?m:a,t)}function N(n,t,e,r){const u=[],i=e?r?c:m:r?m:a;for(let o=0;o=3&&u.push(e)}return u.length?u:null}function y(n,t,e,r){const u=[],i=e?r?c:m:r?m:a;for(let o=0;o=2&&u.push(e)}return u.length?u:null}function z({scale:n,translate:t},e){return e*n[0]+t[0]}function T({scale:n,translate:t},e){return t[1]-e*n[1]}function M(n,t,e){const r=new Array(e.length);if(!e.length)return r;const[u,i]=n.scale;let o=z(n,e[0][0]),l=T(n,e[0][1]);r[0]=t(e[0],o,l);for(let a=1;a0&&(l=Math.max(l,r)),t<0?o=Math.min(o,u):t>0&&(a=Math.max(a,u))}return n[0]=i,n[1]=o,n[2]=l,n[3]=a,n}function _(n,t){if(!t.length)return null;n[0]=n[1]=Number.POSITIVE_INFINITY,n[2]=n[3]=Number.NEGATIVE_INFINITY;for(let e=0;ee.globalId))}function n(e){return e.filter((e=>!e.error)).map((e=>e.objectId??e.globalId)).filter((e=>null!=e))}function d(e,t){const s=new Set(e);for(const r of t.values())s.add(r);return s}function a(e,t){const s=new Set(e);for(const r of t.values())s.delete(r);return s}let c=class extends t{constructor(e){super(e),this._hasGlobalIds=!1,this._notifyUpdating=()=>{this.notifyChange(\"updating\")}}normalizeCtorArgs(e){return this._queueProcessor=new o({concurrency:1,process:e.process}),{}}destroy(){this.clear()}get updating(){return this._queueProcessor.length>0}clear(){this._queueProcessor.clear()}push(e){const t=this._queueProcessor,s=t.last();switch(e.type){case\"update\":case\"refresh\":if(s?.type===e.type)return;t.push(e).then(this._notifyUpdating,this._notifyUpdating);break;case\"edit\":{const r=\"processed-edit\"===s?.type?s:null;r&&t.popLast();const o=this._mergeEdits(r,e);for(const e of o)e&&t.push(e).then(this._notifyUpdating,this._notifyUpdating);break}}this.notifyChange(\"updating\")}_mergeEdits(e,t){const{addedFeatures:s,deletedFeatures:r,updatedFeatures:o}=t.edits;if(this._hasGlobalIds=this._hasGlobalIds||i(s)||i(o)||i(r),this._hasGlobalIds){return[e,{type:\"processed-edit\",edits:{addOrModified:[...s,...o],removed:r}}]}const c=new Set(n(e?.edits.addOrModified??[])),p=new Set(n(e?.edits.removed??[])),u=new Set([...n(s),...n(o)]),l=new Set(n(r));return[{type:\"processed-edit\",edits:{addOrModified:Array.from(d(a(c,l),u)).map((e=>({objectId:e}))),removed:Array.from(d(a(p,u),l)).map((e=>({objectId:e})))}}]}};e([s({readOnly:!0})],c.prototype,\"updating\",null),e([s()],c.prototype,\"process\",void 0),c=e([r(\"esri.views.2d.layers.support.FeatureCommandQueue\")],c);const p=c;export{p as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../../../chunks/tslib.es6.js\";import{EsriPromise as t}from\"../../../../core/Promise.js\";import{createResolver as r,ignoreAbortErrors as s,throwIfNotAbortError as o}from\"../../../../core/promiseUtils.js\";import{open as i}from\"../../../../core/workers/workers.js\";import{property as n}from\"../../../../core/accessorSupport/decorators/property.js\";import\"../../../../core/accessorSupport/ensureType.js\";import\"../../../../core/arrayUtils.js\";import{subclass as a}from\"../../../../core/accessorSupport/decorators/subclass.js\";function c(e){return Array.isArray(e)}let u=class extends t{constructor(e){super(e),this._startupResolver=r(),this.isReady=!1}initialize(){this._controller=new AbortController,this.addResolvingPromise(this._startWorker(this._controller.signal))}destroy(){this._controller.abort(),this._connection&&this._connection.close()}set tileRenderer(e){this.client.tileRenderer=e}get closed(){return this._connection.closed}async startup(e,t,r,s){await this.when();const o=this._controller.signal,i=c(r.source)?{transferList:r.source,signal:o}:void 0,n={service:r,config:t,tileInfo:e.tileInfo.toJSON(),tiles:s};await this._connection.invoke(\"startup\",n,i),this._startupResolver.resolve(),this._set(\"isReady\",!0)}async updateTiles(e){return await this._startupResolver.promise,s(this._connection.invoke(\"updateTiles\",e))}async update(e){const t={config:e};return await this._startupResolver.promise,this._connection.invoke(\"update\",t)}async applyUpdate(e){return await this._startupResolver.promise,this._connection.invoke(\"applyUpdate\",e)}async setHighlight(e){return await this._startupResolver.promise,s(this._connection.invoke(\"controller.setHighlight\",e))}async stop(){if(await this._startupResolver.promise,!this.closed)return s(this._connection.invoke(\"stop\"))}async refresh(e){return await this._startupResolver.promise,s(this._connection.invoke(\"controller.refresh\",e))}async querySummaryStatistics(e,t,r){return await this._startupResolver.promise,this._connection.invoke(\"controller.querySummaryStatistics\",{query:e.toJSON(),params:t},r)}async queryAggregateSummaryStatistics(e,t,r){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryAggregateSummaryStatistics\",{query:e.toJSON(),params:t},r)}async queryUniqueValues(e,t,r){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryUniqueValues\",{query:e.toJSON(),params:t},r)}async queryAggregateUniqueValues(e,t,r){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryAggregateUniqueValues\",{query:e.toJSON(),params:t},r)}async queryClassBreaks(e,t,r){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryClassBreaks\",{query:e.toJSON(),params:t},r)}async queryAggregateClassBreaks(e,t,r){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryAggregateClassBreaks\",{query:e.toJSON(),params:t},r)}async queryHistogram(e,t,r){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryHistogram\",{query:e.toJSON(),params:t},r)}async queryAggregateHistogram(e,t,r){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryAggregateHistogram\",{query:e.toJSON(),params:t},r)}async queryFeatures(e,t){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryFeatures\",e?.toJSON(),t)}async queryVisibleFeatures(e,t){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryVisibleFeatures\",e?.toJSON(),t)}async queryObjectIds(e,t){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryObjectIds\",e?.toJSON(),t)}async queryFeatureCount(e,t){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryFeatureCount\",e?.toJSON(),t)}async queryExtent(e,t){return this._connection.invoke(\"controller.queryExtent\",e.toJSON(),t)}async queryLatestObservations(e,t){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryLatestObservations\",e.toJSON(),t)}async queryStatistics(e){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryStatistics\",e)}async queryAggregates(e,t){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryAggregates\",e?.toJSON(),t)}async queryAggregateCount(e,t){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryAggregateCount\",e?.toJSON(),t)}async queryAggregateIds(e,t){return await this._startupResolver.promise,this._connection.invoke(\"controller.queryAggregateIds\",e?.toJSON(),t)}async getObjectId(e){return await this._startupResolver.promise,this._connection.invoke(\"controller.getObjectId\",e)}async getDisplayId(e){return await this._startupResolver.promise,this._connection.invoke(\"controller.getDisplayId\",e)}async getFeatures(e){return await this._startupResolver.promise,this._connection.invoke(\"controller.getFeatures\",e)}async getAggregates(){return await this._startupResolver.promise,this._connection.invoke(\"controller.getAggregates\")}async getAggregateValueRanges(){return await this._startupResolver.promise,this._connection.invoke(\"controller.getAggregateValueRanges\")}async mapValidDisplayIds(e){return await this._startupResolver.promise,this._connection.invoke(\"controller.mapValidDisplayIds\",e)}async onEdits(e){return await this._startupResolver.promise,s(this._connection.invoke(\"controller.onEdits\",e))}async enableEvent(e,t){return await this._startupResolver.promise,s(this._connection.invoke(\"controller.enableEvent\",{name:e,value:t}))}async pauseStream(){return await this._startupResolver.promise,s(this._connection.invoke(\"controller.pauseStream\"))}async resumeStream(){return await this._startupResolver.promise,s(this._connection.invoke(\"controller.resumeStream\"))}async sendMessageToSocket(e){return await this._startupResolver.promise,s(this._connection.invoke(\"controller.sendMessageToSocket\",e))}async sendMessageToClient(e){return await this._startupResolver.promise,s(this._connection.invoke(\"controller.sendMessageToClient\",e))}async updateCustomParameters(e){return await this._startupResolver.promise,s(this._connection.invoke(\"controller.updateCustomParameters\",e))}async _startWorker(e){try{this._connection=await i(\"Pipeline\",{client:this.client,strategy:\"dedicated\",signal:e})}catch(t){o(t)}}};e([n()],u.prototype,\"isReady\",void 0),e([n({constructOnly:!0})],u.prototype,\"client\",void 0),e([n()],u.prototype,\"tileRenderer\",null),u=e([a(\"esri.views.2d.layers.support.FeatureLayerProxy\")],u);const l=u;export{l as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{isSome as e}from\"../../../core/maybe.js\";import i from\"./TileCoverage.js\";import t from\"./TileKey.js\";const s=1e-6;class l{constructor(e){this._tiles=new Map,this.buffer=0,this.acquireTile=e.acquireTile,this.releaseTile=e.releaseTile,this.tileInfoView=e.tileInfoView,this.buffer=e.buffer}destroy(){}clear(){this._tiles.forEach((e=>this._releaseTile(e)))}tileKeys(){const e=[];return this._tiles.forEach(((i,t)=>e.push(t))),e}update(e){const s=this.tileInfoView.getTileCoverage(e.state,this.buffer,\"closest\"),{spans:l,lodInfo:r}=s,{level:a}=r,o=[],d=[],h=new Set,n=new Set;for(const{row:i,colFrom:c,colTo:f}of l)for(let e=c;e<=f;e++){const s=t.getId(a,i,r.normalizeCol(e),r.getWorldForColumn(e)),l=this._getOrAcquireTile(o,s);h.add(s),l.isReady?l.visible=!0:n.add(l.key)}n.forEach((e=>this._addPlaceholders(h,e))),this._tiles.forEach((e=>{h.has(e.key.id)||(d.push(e.key.id),this._releaseTile(e))})),i.pool.release(s);return{hasMissingTiles:n.size>0,added:o,removed:d}}_getOrAcquireTile(e,i){if(!this._tiles.has(i)){const s=this.acquireTile(new t(i));e.push(i),this._tiles.set(i,s),s.visible=!1}return this._tiles.get(i)}_getTile(e){return this._tiles.get(e)}_releaseTile(e){this._tiles.delete(e.key.id),this.releaseTile(e)}_addPlaceholders(e,i){const t=this._addPlaceholderChildren(e,i);if(!(Math.abs(1-t){t+=this._addPlaceholderChild(e,s,i)})),t}_addPlaceholderChild(e,i,t){if(i.key.level<=t.level||!i.hasData||!t.contains(i.key))return 0;i.visible=!0,e.add(i.key.id);return 1/(1<<2*(i.key.level-t.level))}_addPlaceholderParent(i,t){let s=t.getParentKey(),l=0,r=null;for(;e(s);){if(i.has(s.id))return!0;const e=this._getTile(s.id);if(e?.isReady){for(const e of i){const i=this._getTile(e);i&&s.contains(i.key)&&(i.visible=!1)}return e.visible=!0,i.add(e.key.id),!0}e?.hasData&&e.patchCount>l&&(l=e.patchCount,r=e),s=s.getParentKey()}return!!r&&(r.visible=!0,i.add(r.key.id),!0)}}export{l as TileManager};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../chunks/tslib.es6.js\";import t from\"../../core/Error.js\";import r from\"../../core/Logger.js\";import{isSome as i,isNone as s}from\"../../core/maybe.js\";import{eachAlways as o}from\"../../core/promiseUtils.js\";import{watch as n,syncAndInitial as a,on as l}from\"../../core/reactiveUtils.js\";import{property as u}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/accessorSupport/ensureType.js\";import\"../../core/arrayUtils.js\";import{subclass as p}from\"../../core/accessorSupport/decorators/subclass.js\";import{combinedViewLayerTimeExtentProperty as d}from\"../../layers/support/commonProperties.js\";import f from\"../../layers/support/FeatureEffect.js\";import c from\"../../layers/support/FeatureFilter.js\";import{fixFields as m,unpackFieldNames as y,collectLabelingFields as h,collectElevationFields as F,collectFilterFields as g,collectFeatureReductionFields as w,collectOrderByInfos as E,collectFields as b,collectField as x,featureHasFields as I}from\"../../layers/support/fieldUtils.js\";import{getFloorFilterClause as v}from\"../../layers/support/floorFilterUtils.js\";import R from\"../../rest/support/Query.js\";import{loadArcade as j}from\"../../support/arcadeOnDemand.js\";import{getFetchPopupTemplate as q,getRequiredFields as P}from\"./support/popupUtils.js\";const _=\"esri.views.layers.FeatureLayerView\",O=r.getLogger(_),A=r=>{let A=class extends r{constructor(...e){super(...e),this._updatingRequiredFieldsPromise=null,this.filter=null,this.timeExtent=null,this.layer=null,this.requiredFields=[],this.view=null}initialize(){this.handles.add([n((()=>{const e=this.layer;return[e?.elevationInfo?.featureExpressionInfo,e&&\"displayField\"in e?e.displayField:null,e&&\"timeInfo\"in e&&e.timeInfo,e&&\"renderer\"in e&&e.renderer,e&&\"labelingInfo\"in e&&e.labelingInfo,e&&\"floorInfo\"in e&&e.floorInfo,this.filter,this.featureEffect,this.timeExtent]}),(()=>this._handleRequiredFieldsChange()),a),l((()=>this.view?.floors),\"change\",(()=>this._handleRequiredFieldsChange())),l((()=>{const e=this.layer;return e&&\"sublayers\"in e?e.sublayers:null}),\"change\",(()=>this._handleRequiredFieldsChange()))])}get availableFields(){const{layer:e,layer:{fieldsIndex:t},requiredFields:r}=this;return\"outFields\"in e&&e.outFields?m(t,[...y(t,e.outFields),...r]):m(t,r)}get featureEffect(){return this.layer&&\"featureEffect\"in this.layer?this.layer.featureEffect:null}set featureEffect(e){this._override(\"featureEffect\",e)}get maximumNumberOfFeatures(){return 0}set maximumNumberOfFeatures(e){O.error(\"#maximumNumberOfFeatures=\",\"Setting maximum number of features is not supported\")}get maximumNumberOfFeaturesExceeded(){return!1}highlight(e){throw new Error(\"missing implementation\")}createQuery(){const e={outFields:[\"*\"],returnGeometry:!0,outSpatialReference:this.view.spatialReference},t=i(this.filter)?this.filter.createQuery(e):new R(e);if(\"feature\"===this.layer.type){const e=v(this);i(e)&&(t.where=t.where?`(${t.where}) AND (${e})`:e)}return i(this.timeExtent)&&(t.timeExtent=i(t.timeExtent)?t.timeExtent.intersection(this.timeExtent):this.timeExtent.clone()),t}createAggregateQuery(){const e={outFields:[\"*\"],returnGeometry:!0,outSpatialReference:this.view.spatialReference};return new R(e)}queryFeatures(e,t){throw new Error(\"missing implementation\")}queryObjectIds(e,t){throw new Error(\"missing implementation\")}queryFeatureCount(e,t){throw new Error(\"missing implementation\")}queryExtent(e,t){throw new Error(\"missing implementation\")}async fetchPopupFeatures(e,t){const r=this.validateFetchPopupFeatures(t);if(r)throw r;return this.fetchClientPopupFeatures(t)}_loadArcadeModules(e){return e.get(\"expressionInfos.length\")||Array.isArray(e.content)&&e.content.some((e=>\"expression\"===e.type))?j():Promise.resolve()}_handleRequiredFieldsChange(){const e=this._updateRequiredFields();this._set(\"_updatingRequiredFieldsPromise\",e),e.then((()=>{this._updatingRequiredFieldsPromise===e&&this._set(\"_updatingRequiredFieldsPromise\",null)}))}async _updateRequiredFields(){if(!this.layer||!this.view)return;const e=\"3d\"===this.view.type,{layer:t,layer:{fieldsIndex:r,objectIdField:s}}=this,n=\"renderer\"in t&&t.renderer,a=\"orderBy\"in t&&t.orderBy,l=\"featureReduction\"in t?t.featureReduction:null,u=new Set,p=await o([n?n.collectRequiredFields(u,r):null,h(u,t),e?F(u,t):null,i(this.filter)?g(u,t,this.filter):null,i(this.featureEffect)?g(u,t,this.featureEffect.filter):null,l?w(u,t,l):null,a?E(u,t,a):null]);if(\"timeInfo\"in t&&t.timeInfo&&this.timeExtent&&b(u,t.fieldsIndex,[t.timeInfo.startField,t.timeInfo.endField]),\"feature\"===t.type&&(t.floorInfo&&b(u,t.fieldsIndex,[t.floorInfo.floorField]),e&&i(t.infoFor3D)&&(null==t.globalIdField&&O.error(\"globalIdField missing on 3DObjectFeatureLayer\"),b(u,t.fieldsIndex,[t.globalIdField]))),\"subtype-group\"===t.type){x(u,r,t.subtypeField);const e=t.sublayers.map((e=>Promise.all([e.renderer?.collectRequiredFields(u,r),h(u,e)])));await o(e)}for(const i of p)i.error&&O.error(i.error);x(u,r,s),e&&\"displayField\"in t&&t.displayField&&x(u,r,t.displayField);const d=Array.from(u).sort();this._set(\"requiredFields\",d)}validateFetchPopupFeatures(e){if(s(e))return null;for(const r of e.clientGraphics??[]){const i=r.layer;if(\"popupEnabled\"in i&&!i.popupEnabled)return new t(\"featurelayerview:fetchPopupFeatures\",\"Popups are disabled\",{layer:i});if(r.isAggregate){const e=\"featureReduction\"in i?i.featureReduction:null;if(!(e&&\"popupTemplate\"in e&&e.popupEnabled&&e.popupTemplate))return new t(\"featurelayerview:fetchPopupFeatures\",\"Popups are disabled\",{layer:i})}else if(\"popupTemplate\"in i){if(!q(i,e))return new t(\"featurelayerview:fetchPopupFeatures\",\"Layer does not define a popup template\",{layer:i})}}}async fetchClientPopupFeatures(e){const t=i(e)?e.clientGraphics:null;if(!t||0===t.length)return[];const r=new Array(t.length),o=new Map,n=await this.createPopupQuery(e);for(let i=0;ie.layer)):[this.layer];for(const i of n){if(!(\"popupEnabled\"in i))continue;const t=q(i,e);if(s(t))continue;const n=await this._loadArcadeModules(t),a=n&&n.arcadeUtils.hasGeometryOperations(t);o=!(\"point\"!==this.layer.geometryType&&!a);const l=await P(this.layer,t);for(const e of l)r.add(e)}if(t.returnGeometry=o,t.returnZ=o,t.returnM=o,t.outFields=Array.from(r),t.outSpatialReference=this.view.spatialReference,\"feature\"===this.layer.type){const e=v(this);i(e)&&(t.where=t.where?`(${t.where}) AND (${e})`:e)}return t}canResume(){return!!super.canResume()&&(!i(this.timeExtent)||!this.timeExtent.isEmpty)}};return e([u()],A.prototype,\"_updatingRequiredFieldsPromise\",void 0),e([u({readOnly:!0})],A.prototype,\"availableFields\",null),e([u({type:f})],A.prototype,\"featureEffect\",null),e([u({type:c})],A.prototype,\"filter\",void 0),e([u(d)],A.prototype,\"timeExtent\",void 0),e([u()],A.prototype,\"layer\",void 0),e([u({type:Number})],A.prototype,\"maximumNumberOfFeatures\",null),e([u({readOnly:!0,type:Boolean})],A.prototype,\"maximumNumberOfFeaturesExceeded\",null),e([u({readOnly:!0})],A.prototype,\"requiredFields\",void 0),e([u()],A.prototype,\"suspended\",void 0),e([u()],A.prototype,\"view\",void 0),A=e([p(_)],A),A};export{A as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../../chunks/tslib.es6.js\";import t from\"../../../AggregateGraphic.js\";import\"../../../geometry.js\";import r from\"../../../Graphic.js\";import i from\"../../../core/Collection.js\";import s from\"../../../core/Error.js\";import has from\"../../../core/has.js\";import{clone as a}from\"../../../core/lang.js\";import n from\"../../../core/Logger.js\";import{applySome as o,isSome as l,destroyMaybe as u,unwrap as h,removeMaybe as d,isNone as c}from\"../../../core/maybe.js\";import{debounce as p,isAbortError as y}from\"../../../core/promiseUtils.js\";import{watch as g,whenOnce as f,syncAndInitial as m,initial as _}from\"../../../core/reactiveUtils.js\";import{property as v}from\"../../../core/accessorSupport/decorators/property.js\";import\"../../../core/accessorSupport/ensureType.js\";import{subclass as b}from\"../../../core/accessorSupport/decorators/subclass.js\";import R from\"../../../layers/effects/FeatureEffectView.js\";import S from\"../../../layers/support/FeatureFilter.js\";import{getEffectiveLayerCapabilities as x}from\"../../../layers/support/layerUtils.js\";import w from\"../../../rest/support/AggregateFeatureSet.js\";import U from\"../../../rest/support/FeatureSet.js\";import F from\"../../../rest/support/Query.js\";import{MAX_FILTERS as C}from\"../engine/webgl/definitions.js\";import{LayerView2DMixin as q}from\"./LayerView2D.js\";import{createSchema as I}from\"./features/schemaUtils.js\";import{createOrReuseTileRenderer as O}from\"./features/tileRenderers.js\";import{isRendererSupported as E}from\"./features/support/rendererUtils.js\";import{findSizeVV as T,createClusterCountSizeVariable as V,injectDynamicLevelDependentSizeVisualVariable as j,isClusterCompatibleRenderer as A,createClusterRenderer as N}from\"./support/clusterUtils.js\";import Q from\"./support/FeatureCommandQueue.js\";import H from\"./support/FeatureLayerProxy.js\";import{toJSONGeometryType as L}from\"./support/util.js\";import{TileManager as k}from\"../tiling/TileManager.js\";import P from\"../../layers/FeatureLayerView.js\";import J from\"../../layers/LayerView.js\";import z from\"../../layers/RefreshableLayerView.js\";import{getWebGLCapabilities as M}from\"../../webgl/capabilities.js\";import B from\"../../../geometry/Extent.js\";function $(e){return e&&\"openPorts\"in e}let G=class extends(P(z(q(J)))){constructor(){super(...arguments),this._pipelineIsUpdating=!0,this._commandsQueue=new Q({process:e=>{switch(e.type){case\"processed-edit\":return this._doEdit(e);case\"refresh\":return this._doRefresh(e.dataChanged);case\"update\":return this._doUpdate()}}}),this._visibilityOverrides=new Set,this._highlightIds=new Map,this._updateHighlight=p((async()=>this._proxy.setHighlight(Array.from(this._highlightIds.keys())))),this._uploadsLocked=!1,this._needsClusterSizeUpdate=!1,this.featureEffectView=new R,this._lastDefinitionExpression=null}destroy(){o(this._updateClusterSizeTask,(e=>e.remove())),this._proxy?.destroy(),this._commandsQueue.destroy()}initialize(){this.addResolvingPromise(Promise.all([this._initProxy(),this._initServiceOptions()])),this.addHandles([this.on(\"valueRangesChanged\",(e=>{this._set(\"_aggregateValueRanges\",e.valueRanges)})),g((()=>this.featureEffect),(e=>{this.featureEffectView.featureEffect=e}),m)],\"constructor\"),this.featureEffectView.endTransitions()}async _initProxy(){const e=this.layer;if(\"isTable\"in e&&e.isTable)throw new s(\"featurelayerview:table-not-supported\",\"table feature layer can't be displayed\",{layer:this.layer});if((\"feature\"===e.type||\"subtype-group\"===e.type)&&!x(e)?.operations.supportsQuery)throw new s(\"featurelayerview:query-not-supported\",\"layer view requires a layer with query capability\",{layer:e});this._proxy&&this._proxy.destroy();const t=this._createClientOptions();return this._set(\"_proxy\",new H({client:t})),this._proxy.when()}async _initServiceOptions(){return this._set(\"_serviceOptions\",await this._createServiceOptions()),this._serviceOptions}get _effectiveFeatureReduction(){if(!(\"featureReduction\"in this.layer))return null;const e=this.layer.featureReduction;return e&&(!(\"maxScale\"in e)||!e.maxScale||e.maxScalee.labelingInfo&&e.labelsVisible))}get queryMode(){return this._serviceOptions?.type}get renderingConfigHash(){if(!this.layer)return null;const e=this.availableFields,t=this.layer,r=this.view.floors,{definitionExpression:i}=t,s=\"subtype-group\"!==this.layer.type&&this.layer.labelsVisible&&this.layer.labelingInfo,a=\"renderer\"in t&&t.renderer,n=\"gdbVersion\"in t?t.gdbVersion:void 0,o=\"historicMoment\"in t?t.historicMoment?.getTime():void 0,{timeExtent:u}=this,h=\"customParameters\"in t?JSON.stringify(t.customParameters):void 0,d=\"apiKey\"in t?t.apiKey:void 0,c=\"stream\"===t.type?`${JSON.stringify(t.geometryDefinition)}${t.definitionExpression}`:null,p=JSON.stringify(this.clips),y=this._effectiveFeatureReduction?.toJSON(),g=\"orderBy\"in this.layer&&JSON.stringify(this.layer.orderBy),f=\"sublayers\"in this.layer&&this.layer.sublayers.items.reduce(((e,t)=>e+`${t.visible?1:0}.${JSON.stringify(t.renderer)}.${t.labelsVisible}\\n.${JSON.stringify(t.labelingInfo)}`),\"\"),m=\"subtypeCode\"in this.layer&&this.layer.subtypeCode;return JSON.stringify({orderBy:g,sublayerHash:f,subtypeCode:m,filterHash:l(this.filter)&&this.filter.toJSON(),effectHash:l(this.featureEffect)&&this.featureEffect.toJSON(),streamFilter:c,gdbVersion:n,definitionExpression:i,historicMoment:o,availableFields:e,renderer:a,labelingInfo:s,timeExtent:u,floors:r,clipsHash:p,featureReduction:y,customParameters:h,apiKey:d})}highlight(e){let t;e instanceof r?t=[e.getObjectId()]:\"number\"==typeof e||\"string\"==typeof e?t=[e]:i.isCollection(e)&&e.length>0?t=e.map((e=>e?.getObjectId())).toArray():Array.isArray(e)&&e.length>0&&(t=\"number\"==typeof e[0]||\"string\"==typeof e[0]?e:e.map((e=>e?.getObjectId())));const s=t?.filter(l);return s&&s.length?(this._addHighlight(s),{remove:()=>this._removeHighlight(s)}):{remove:()=>{}}}hasHighlight(){return!!this._highlightIds.size}async hitTest(e,i){if(!this.tileRenderer)return null;const s=await this.tileRenderer.hitTest(i);if(0===s.length)return null;const{features:a,aggregates:n}=await this._proxy.getFeatures(s);return[...n.map((r=>this._createGraphicHit(e,t.fromJSON(r)))),...a.map((t=>this._createGraphicHit(e,r.fromJSON(t))))]}queryStatistics(){return this._proxy.queryStatistics()}async querySummaryStatistics(e,t,r){const i={...t,scale:this.view.scale};return this._proxy.querySummaryStatistics(this._cleanUpQuery(e),i,r)}async queryAggregateSummaryStatistics(e,t,r){const i={...t,scale:this.view.scale};return this._proxy.queryAggregateSummaryStatistics(this._cleanUpAggregateQuery(e),i,r)}async queryUniqueValues(e,t,r){const i={...t,scale:this.view.scale};return this._proxy.queryUniqueValues(this._cleanUpQuery(e),i,r)}async queryAggregateUniqueValues(e,t,r){const i={...t,scale:this.view.scale};return this._proxy.queryAggregateUniqueValues(this._cleanUpAggregateQuery(e),i,r)}async queryClassBreaks(e,t,r){const i={...t,scale:this.view.scale};return this._proxy.queryClassBreaks(this._cleanUpQuery(e),i,r)}async queryAggregateClassBreaks(e,t,r){const i={...t,scale:this.view.scale};return this._proxy.queryAggregateClassBreaks(this._cleanUpAggregateQuery(e),i,r)}async queryHistogram(e,t,r){const i={...t,scale:this.view.scale};return this._proxy.queryHistogram(this._cleanUpQuery(e),i,r)}async queryAggregateHistogram(e,t,r){const i={...t,scale:this.view.scale};return this._proxy.queryAggregateHistogram(this._cleanUpAggregateQuery(e),i,r)}queryFeatures(e,t){return this.queryFeaturesJSON(e,t).then((e=>{const t=U.fromJSON(e);return t.features.forEach((e=>this._setLayersForFeature(e))),t}))}queryVisibleFeatures(e,t){return this._proxy.queryVisibleFeatures(this._cleanUpQuery(e),t).then((e=>{const t=U.fromJSON(e);return t.features.forEach((e=>this._setLayersForFeature(e))),t}))}async queryAggregates(e,t){const r=await this._proxy.queryAggregates(this._cleanUpAggregateQuery(e),t),i=w.fromJSON(r);return i.features.forEach((e=>this._setLayersForFeature(e))),i}queryAggregateIds(e,t){return this._proxy.queryAggregateIds(this._cleanUpAggregateQuery(e),t)}queryAggregateCount(e,t){return this._proxy.queryAggregateCount(this._cleanUpAggregateQuery(e),t)}queryAggregateJSON(e,t){return this._proxy.queryAggregates(this._cleanUpAggregateQuery(e),t)}queryFeaturesJSON(e,t){return this._proxy.queryFeatures(this._cleanUpQuery(e),t)}queryObjectIds(e,t){return this._proxy.queryObjectIds(this._cleanUpQuery(e),t)}queryFeatureCount(e,t){return this._proxy.queryFeatureCount(this._cleanUpQuery(e),t)}queryExtent(e,t){return this._proxy.queryExtent(this._cleanUpQuery(e),t).then((e=>({count:e.count,extent:B.fromJSON(e.extent)})))}setVisibility(e,t){t?this._visibilityOverrides.delete(e):this._visibilityOverrides.add(e),this._update()}update(e){if(!this._tileStrategy||!this.tileRenderer)return;const{hasMissingTiles:t,added:r,removed:i}=this._tileStrategy.update(e);(r.length||i.length)&&this._proxy.updateTiles({added:r,removed:i}),t&&this.requestUpdate(),this.notifyChange(\"updating\")}attach(){this.view.timeline.record(`${this.layer.title} (FeatureLayer) Attach`),this._tileStrategy=new k({acquireTile:e=>this._acquireTile(e),releaseTile:e=>this._releaseTile(e),tileInfoView:this.view.featuresTilingScheme,buffer:0}),this.addAttachHandles(g((()=>this.renderingConfigHash),(()=>this._update()),_)),\"stream\"!==this.layer.type&&this.addAttachHandles(this.layer.on(\"edits\",(e=>this._edit(e))))}detach(){this._commandsQueue.clear(),this._proxy?.stop(),this.container.removeAllChildren(),this.tileRenderer?.uninstall(this.container),this.tileRenderer=null,this._tileStrategy=u(this._tileStrategy),this._tileRendererHash=null}moveStart(){this.requestUpdate()}viewChange(){this.requestUpdate()}moveEnd(){this.requestUpdate()}isUpdating(){const e=\"renderer\"in this.layer&&null!=this.layer.renderer,t=this._commandsQueue.updating,r=null!=this._updatingRequiredFieldsPromise,i=!this._proxy||!this._proxy.isReady,s=this._pipelineIsUpdating,a=null==this.tileRenderer||this.tileRenderer?.updating,n=e&&(t||r||i||s||a);return has(\"esri-2d-log-updating\")&&console.log(`Updating FLV2D: ${n}\\n -> hasRenderer ${e}\\n -> hasPendingCommand ${t}\\n -> updatingRequiredFields ${r}\\n -> updatingProxy ${i}\\n -> updatingPipeline ${s}\\n -> updatingTileRenderer ${a}\\n`),n}_createClientOptions(){return{setUpdating:e=>{this._set(\"_pipelineIsUpdating\",e)},emitEvent:e=>{this.emit(e.name,e.event)}}}async _detectQueryMode(e){const t=\"path\"in e,{layer:r}=this,i=\"editingInfo\"in r&&r.editingInfo?.lastEditDate,s=\"refreshInterval\"in r&&!!r.refreshInterval,a=!i&&s,o=x(r);if(t&&(\"feature\"===r.type||\"subtype-group\"===r.type)&&\"point\"===r.geometryType&&o?.query.supportsPagination&&!o?.operations.supportsEditing&&!a&&has(\"featurelayer-snapshot-enabled\"))try{const e=await r.queryFeatureCount();if(e<=has(\"featurelayer-snapshot-point-min-threshold\"))return{mode:\"snapshot\",featureCount:e};const t=has(\"featurelayer-snapshot-point-max-threshold\"),i=has(\"featurelayer-snapshot-point-coverage\"),s=this.view.extent,a=h(r.fullExtent),n=a?.clone().intersection(s),o=l(n)?n.width*n.height:0,u=a?.width*a?.height;if(e<=t&&(0===u?0:o/u)>=i)return{mode:\"snapshot\",featureCount:e}}catch(u){n.getLogger(this.declaredClass).warn(\"mapview-feature-layer\",\"Encountered an error when querying for featureCount\",{error:u})}return{mode:\"on-demand\"}}async _createServiceOptions(){const e=this.layer;if(\"stream\"===e.type)return null;const t=x(e),{capabilities:r,objectIdField:i}=e,s=e.fields.map((e=>e.toJSON())),n=l(e.fullExtent)?e.fullExtent.toJSON():null,o=L(e.geometryType),u=\"timeInfo\"in e&&e.timeInfo&&e.timeInfo.toJSON()||null,h=e.spatialReference?e.spatialReference.toJSON():null,d=\"feature\"===e.type?e.globalIdField:null;let c;\"ogc-feature\"===e.type?c=e.source.getSource():$(e.source)?c=await e.source.openPorts():e.parsedUrl&&(c=a(e.parsedUrl),\"dynamicDataSource\"in e&&e.dynamicDataSource&&(c.query={layer:JSON.stringify({source:e.dynamicDataSource})}));const p=\"datesInUnknownTimezone\"in this.layer&&this.layer.datesInUnknownTimezone,y=(\"subtypeField\"in this.layer?this.layer.subtypeField:null)??null,{mode:g,featureCount:f}=await this._detectQueryMode(c);let m=this.layer.objectIdField;if(\"feature\"===this.layer.type&&l(this.layer.orderBy)&&this.layer.orderBy.length){const e=!this.layer.orderBy[0].valueExpression&&this.layer.orderBy[0].field;e&&(m=e)}return{type:g,timeReferenceUnknownClient:p,subtypeField:y,featureCount:f,globalIdField:d,maxRecordCount:r.query.maxRecordCount,tileMaxRecordCount:r.query.tileMaxRecordCount,capabilities:r,effectiveCapabilities:t,fields:s,fullExtent:n,geometryType:o,objectIdField:i,source:c,timeInfo:u,spatialReference:h,orderByFields:m,datesInUnknownTimezone:p,dateFieldsTimeReference:(\"dateFieldsTimeReference\"in this.layer?this.layer.dateFieldsTimeReference?.toJSON():null)||null,preferredTimeReference:(\"preferredTimeReference\"in this.layer?this.layer.preferredTimeReference?.toJSON():null)||null,editFieldsInfo:\"editFieldsInfo\"in this.layer?this.layer.editFieldsInfo?.toJSON():null}}async _createMemoryServiceOptions(e){const t=await e.openPorts();return{...this._createServiceOptions(),type:\"memory\",source:t}}_cleanUpQuery(e){const t=F.from(e)||this.createQuery();return t.outSpatialReference||(t.outSpatialReference=this.view.spatialReference),t}_cleanUpAggregateQuery(e){const t=F.from(e)||this.createAggregateQuery();return t.outSpatialReference||(t.outSpatialReference=this.view.spatialReference),t}async _update(){return this._commandsQueue.push({type:\"update\"})}async _edit(e){if(this.suspended)return void this._clearTiles();return this._validateEdit(e)?this._commandsQueue.push({type:\"edit\",edits:e}):void 0}async doRefresh(e){if(this.attached&&this._tileStrategy.tileKeys().length)return this.suspended&&e?void this._clearTiles():this._commandsQueue.push({type:\"refresh\",dataChanged:e})}_clearTiles(){this._tileStrategy.tileKeys().length&&(this._proxy.updateTiles({added:[],removed:this._tileStrategy.tileKeys()}),this._tileStrategy.clear(),this.requestUpdate(),this._commandsQueue.clear(),this._update())}_validateEdit(e){const t=\"globalIdField\"in this.layer&&this.layer.globalIdField,r=e.deletedFeatures.some((e=>-1===e.objectId||!e.objectId)),i=t&&this.availableFields.includes(t);return r&&!i?(n.getLogger(this.declaredClass).error(new s(\"mapview-apply-edits\",`Editing the specified service requires the layer's globalIdField, ${t} to be included the layer's outFields for updates to be reflected on the map`)),null):e}async _doUpdate(){try{if(this.destroyed||!this._hasRequiredSupport(this.layer)||!this._tileStrategy)return;const{featureEffectView:t,filter:r}=this;if(await this._updateRequiredFields(),this.destroyed)return;const{renderer:i}=this._getEffectiveRenderer();this._set(\"_effectiveRenderer\",i);const s=this._createSchemaConfig(),a=this._createConfiguration(s,r,t.filter),o=this._lastDefinitionExpression!==a.schema.source.definitionExpression;this._lastDefinitionExpression=a.schema.source.definitionExpression;const l=a.schema.tileRenderer,u=this._createTileRendererHash(l);if(\"snapshot\"===this._serviceOptions.type&&(a.schema.source.initialFeatureCount=this._serviceOptions.featureCount),u!==this._tileRendererHash){await this._initTileRenderer(l,i);const e=this.layer,t=\"stream\"===e.type?await this._initServiceOptions():this._serviceOptions;this.tileRenderer.onConfigUpdate(i),\"stream\"!==e.type&&$(e.source)&&(t.source=await e.source.openPorts());const r={added:this._tileStrategy.tileKeys(),removed:[]};await this._proxy.startup(this.view.featuresTilingScheme,a,t,r),this.hasHighlight()&&await this._proxy.setHighlight(Array.from(this._highlightIds.keys())),await this._onceTilesUpdated(),this.tileRenderer.onConfigUpdate(i)}else{\"snapshot\"===this._serviceOptions.type&&o&&(a.schema.source.changedFeatureCount=await this.layer.queryFeatureCount());const t=await this._proxy.update(a);(t.mesh||t.targets?.aggregate)&&this._lockGPUUploads();try{await this._proxy.applyUpdate(t)}catch(e){y(e)||n.getLogger(this.declaredClass).error(e)}(t.mesh||t.targets?.aggregate)&&this._unlockGPUUploads(),this.tileRenderer.onConfigUpdate(i),this._updateClusterSizeVariable(),this._forceAttributeTextureUpload()}this._tileRendererHash=u,this.tileRenderer.invalidateLabels(),this.requestUpdate()}catch(e){}}async _doEdit(e){try{await this._proxy.onEdits(e)}catch(t){y(t),0}}async _doRefresh(e){this._lockGPUUploads();try{let t;e&&\"snapshot\"===this.queryMode&&\"queryFeatureCount\"in this.layer&&(t=await this.layer.queryFeatureCount()),await this._proxy.refresh({dataChanged:e,featureCount:t})}catch(t){y(t),0}this._unlockGPUUploads(),this._effectiveFeatureReduction&&this._updateClusterSizeVariable()}_updateClusterSizeVariable(){this._needsClusterSizeUpdate&&(this.tileRenderer.onConfigUpdate(this._effectiveRenderer),this._needsClusterSizeUpdate=!1)}_createUpdateClusterSizeTask(e,t){return g((()=>this._aggregateValueRanges),(r=>{this._updateClusterEffectiveRendererSizeVariable(e,t,r),this._needsClusterSizeUpdate=!0,this._uploadsLocked||this._updateClusterSizeVariable()}))}async _updateClusterEffectiveRendererSizeVariable(e,t,r){if(e.dynamicClusterSize&&\"visualVariables\"in e&&e.visualVariables){const i=T(e.visualVariables);if(l(i)&&\"cluster_count\"===i.field){const s=e.visualVariables.indexOf(i);e.visualVariables[s]=V(t,r);const a=e.clone();a.dynamicClusterSize=!0,this._set(\"_effectiveRenderer\",a)}}}_getEffectiveRenderer(){const e=this.layer,t=\"renderer\"in e?e.renderer:null,r=this._effectiveFeatureReduction;if(this._updateClusterSizeTask=d(this._updateClusterSizeTask),r&&\"renderer\"in r&&r.renderer&&!r.renderer.authoringInfo?.isAutoGenerated){const e=r.fields;if(\"cluster\"===r.type){const{renderer:t,didInject:i}=j(r.renderer,r,this._aggregateValueRanges);return i&&(this._updateClusterSizeTask=this._createUpdateClusterSizeTask(t,r)),{renderer:t,aggregateFields:e,featureReduction:r}}return{renderer:r.renderer,aggregateFields:e,featureReduction:r}}if(r&&\"cluster\"===r.type&&t&&A(t)){const e=r,i=[],s=N(i,t,e,this._aggregateValueRanges,!0);return this._updateClusterSizeTask=this._createUpdateClusterSizeTask(s,e),{renderer:s,aggregateFields:i,featureReduction:r}}return{renderer:t,aggregateFields:[],featureReduction:null}}_acquireTile(e){const t=this.tileRenderer.acquireTile(e);return t.once(\"attach\",(()=>{this.requestUpdate()})),t}_releaseTile(e){this.tileRenderer.releaseTile(e)}async _initTileRenderer(e,t){const r=await O(e,{layerView:this,tileInfoView:this.view.featuresTilingScheme,layer:this.layer});return this.tileRenderer&&(this._tileStrategy.clear(),this.tileRenderer.uninstall(this.container),this.tileRenderer=u(this.tileRenderer)),this.destroyed?null:(this._proxy.tileRenderer=r,this._set(\"tileRenderer\",r),this.tileRenderer.install(this.container),this.tileRenderer.onConfigUpdate(t),this.requestUpdate(),this.tileRenderer)}_createTileRendererHash(e){return`${e.type}`}get hasFilter(){const e=!!(\"floorInfo\"in this.layer&&this.layer.floorInfo&&this.view.floors&&this.view.floors.length);return!!this.filter||e||!!this._visibilityOverrides.size||!!this.timeExtent}_injectOverrides(e){const t=l(e)?e.timeExtent:null,r=l(this.timeExtent)&&l(t)?this.timeExtent.intersection(t):this.timeExtent||t;let i=null;const s=\"floorInfo\"in this.layer&&this.layer.floorInfo;if(s){const t=l(e)?e.where:null;i=this._addFloorFilterClause(t)}if(!this._visibilityOverrides.size&&!r&&!s)return l(e)?e.toJSON():null;(e=l(e)&&e.clone()||new S).timeExtent=r,i&&(e.where=i);const a=e.toJSON();return a.hiddenIds=Array.from(this._visibilityOverrides),a}_addFloorFilterClause(e){const t=this.layer;let r=e||\"\";if(\"floorInfo\"in t&&t.floorInfo){let e=this.view.floors;if(!e||!e.length)return r;t.floorInfo.viewAllLevelIds?.length&&(e=t.floorInfo.viewAllLevelIds);const i=e.filter((e=>\"\"!==e)).map((e=>\"'\"+e+\"'\"));i.push(\"''\");const s=t.floorInfo.floorField;let a=\"(\"+s+\" IN ({ids}) OR \"+s+\" IS NULL)\";if(a=a.replace(\"{ids}\",i.join(\", \")),l(r)&&r.includes(s)){let e=new RegExp(\"AND \\\\(\"+s+\".*NULL\\\\)\",\"g\");r=r.replace(e,\"\"),e=new RegExp(\"\\\\(\"+s+\".*NULL\\\\)\",\"g\"),r=r.replace(e,\"\"),r=r.replace(/\\s+/g,\" \").trim()}r=\"\"!==r?\"(\"+r+\") AND \"+a:a}return\"\"!==r?r:null}_createConfiguration(e,t,r){const i=\"feature\"===this.layer.type&&this.layer.historicMoment?this.layer.historicMoment.getTime():void 0,s=\"feature\"===this.layer.type?this.layer.gdbVersion??void 0:void 0,a=new Array(C),n=this._injectOverrides(t);a[0]=n,a[1]=l(r)?r.toJSON():null;const o=I(e);if(c(o))return null;const u=M(\"2d\");return{availableFields:this.availableFields,gdbVersion:s,historicMoment:i,devicePixelRatio:window.devicePixelRatio||1,filters:a,schema:o,supportsTextureFloat:u.supportsTextureFloat,maxTextureSize:u.maxTextureSize}}_hasRequiredSupport(e){return!(\"renderer\"in e)||E(e.renderer)}_onceTilesUpdated(){return this.requestUpdate(),f((()=>!this._pipelineIsUpdating))}_lockGPUUploads(){this.tileRenderer&&(this._uploadsLocked=!0,this.tileRenderer.lockGPUUploads())}_unlockGPUUploads(){this.tileRenderer&&(this._uploadsLocked=!1,this.tileRenderer.unlockGPUUploads())}_forceAttributeTextureUpload(){this.tileRenderer&&this.tileRenderer.forceAttributeTextureUpload()}_createSchemaConfig(){const e=this.layer;return{renderer:\"renderer\"in e?e.renderer:null,spatialReference:e.spatialReference,timeExtent:\"timeExtent\"in e?e.timeExtent:null,definitionExpression:e.definitionExpression,featureReduction:this._effectiveFeatureReduction,fields:e.fields,geometryType:e.geometryType,historicMoment:\"historicMoment\"in e?e.historicMoment:null,labelsVisible:\"labelsVisible\"in e&&e.labelsVisible,labelingInfo:\"labelingInfo\"in e?e.labelingInfo:null,availableFields:this.availableFields,featureEffect:this.featureEffect,filter:this.filter,gdbVersion:\"gdbVersion\"in e?e.gdbVersion:null,pixelBuffer:0,orderBy:\"orderBy\"in e&&e.orderBy?e.orderBy:null,customParameters:{...\"customParameters\"in e?e.customParameters:void 0,token:\"apiKey\"in e?e.apiKey??void 0:void 0},subtypeCode:\"subtypeCode\"in e?e.subtypeCode:void 0,subtypeField:\"subtypeField\"in e?e.subtypeField:void 0}}_addHighlight(e){for(const t of e)if(this._highlightIds.has(t)){const e=this._highlightIds.get(t);this._highlightIds.set(t,e+1)}else this._highlightIds.set(t,1);this._updateHighlight().catch((e=>{y(e)||n.getLogger(this.declaredClass).error(e)}))}_removeHighlight(e){for(const t of e)if(this._highlightIds.has(t)){const e=this._highlightIds.get(t)-1;0===e?this._highlightIds.delete(t):this._highlightIds.set(t,e)}this._updateHighlight().catch((e=>{y(e)||n.getLogger(this.declaredClass).error(e)}))}_setLayersForFeature(e){const t=this.layer;e.layer=t,e.sourceLayer=t}_createGraphicHit(e,t){return this._setLayersForFeature(t),l(t.geometry)&&(t.geometry.spatialReference=this.view.spatialReference),{type:\"graphic\",graphic:t,layer:this.layer,mapPoint:e}}};e([v()],G.prototype,\"_serviceOptions\",void 0),e([v()],G.prototype,\"_proxy\",void 0),e([v()],G.prototype,\"_pipelineIsUpdating\",void 0),e([v()],G.prototype,\"_effectiveRenderer\",void 0),e([v()],G.prototype,\"_effectiveFeatureReduction\",null),e([v()],G.prototype,\"_aggregateValueRanges\",void 0),e([v()],G.prototype,\"_commandsQueue\",void 0),e([v()],G.prototype,\"featureEffectView\",void 0),e([v()],G.prototype,\"labelsVisible\",null),e([v({readOnly:!0})],G.prototype,\"queryMode\",null),e([v()],G.prototype,\"renderingConfigHash\",null),e([v()],G.prototype,\"tileRenderer\",void 0),e([v()],G.prototype,\"updating\",void 0),G=e([b(\"esri.views.2d.layers.FeatureLayerView2D\")],G);const D=G;export{D as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nasync function e(e,r){if(!e)return null;switch(e.type){case\"symbol\":return new((await import(\"./tileRenderers/SymbolTileRenderer.js\")).default)(r);case\"heatmap\":return new((await import(\"./tileRenderers/HeatmapTileRenderer.js\")).default)(r)}}export{e as createOrReuseTileRenderer};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../../../chunks/tslib.es6.js\";import{JSONSupport as s}from\"../../../core/JSONSupport.js\";import{property as o}from\"../../../core/accessorSupport/decorators/property.js\";import\"../../../core/accessorSupport/ensureType.js\";import\"../../../core/arrayUtils.js\";import{subclass as e}from\"../../../core/accessorSupport/decorators/subclass.js\";let t=class extends s{get version(){return this.commitVersionProperties(),(this._get(\"version\")||0)+1}};r([o({readOnly:!0})],t.prototype,\"version\",null),t=r([e(\"esri.views.layers.support.ClipArea\")],t);const p=t;export{p as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{_ as t}from\"../../../chunks/tslib.es6.js\";import{property as o}from\"../../../core/accessorSupport/decorators/property.js\";import\"../../../core/accessorSupport/ensureType.js\";import\"../../../core/arrayUtils.js\";import{subclass as r}from\"../../../core/accessorSupport/decorators/subclass.js\";import e from\"./ClipArea.js\";var s;let i=s=class extends e{constructor(t){super(t),this.type=\"rect\",this.left=null,this.right=null,this.top=null,this.bottom=null}clone(){return new s({left:this.left,right:this.right,top:this.top,bottom:this.bottom})}commitVersionProperties(){this.commitProperty(\"left\"),this.commitProperty(\"right\"),this.commitProperty(\"top\"),this.commitProperty(\"bottom\")}};t([o({type:[Number,String],json:{write:!0}})],i.prototype,\"left\",void 0),t([o({type:[Number,String],json:{write:!0}})],i.prototype,\"right\",void 0),t([o({type:[Number,String],json:{write:!0}})],i.prototype,\"top\",void 0),t([o({type:[Number,String],json:{write:!0}})],i.prototype,\"bottom\",void 0),i=s=t([r(\"esri.views.layers.support.ClipRect\")],i);const p=i;export{p as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../../../chunks/tslib.es6.js\";import\"../../../geometry.js\";import{property as e}from\"../../../core/accessorSupport/decorators/property.js\";import\"../../../core/accessorSupport/ensureType.js\";import\"../../../core/arrayUtils.js\";import{subclass as o}from\"../../../core/accessorSupport/decorators/subclass.js\";import t from\"../../../geometry/Geometry.js\";import{fromJSON as s}from\"../../../geometry/support/jsonUtils.js\";import p from\"./ClipArea.js\";import m from\"../../../geometry/Extent.js\";import i from\"../../../geometry/Polygon.js\";var y;const c={base:t,key:\"type\",typeMap:{extent:m,polygon:i}};let n=y=class extends p{constructor(r){super(r),this.type=\"geometry\",this.geometry=null}clone(){return new y({geometry:this.geometry?.clone()??null})}commitVersionProperties(){this.commitProperty(\"geometry\")}};r([e({types:c,json:{read:s,write:!0}})],n.prototype,\"geometry\",void 0),n=y=r([o(\"esri.views.layers.support.Geometry\")],n);const a=n;export{a as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../../../chunks/tslib.es6.js\";import{property as s}from\"../../../core/accessorSupport/decorators/property.js\";import\"../../../core/accessorSupport/ensureType.js\";import\"../../../core/arrayUtils.js\";import{subclass as o}from\"../../../core/accessorSupport/decorators/subclass.js\";import t from\"./ClipArea.js\";let e=class extends t{constructor(r){super(r),this.type=\"path\",this.path=[]}commitVersionProperties(){this.commitProperty(\"path\")}};r([s({type:[[[Number]]],json:{write:!0}})],e.prototype,\"path\",void 0),e=r([o(\"esri.views.layers.support.Path\")],e);const p=e;export{p as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../../chunks/tslib.es6.js\";import t from\"../../../core/Collection.js\";import{referenceSetter as s}from\"../../../core/collectionUtils.js\";import i from\"../../../core/Error.js\";import{watch as r,syncAndInitial as a,on as o}from\"../../../core/reactiveUtils.js\";import{property as n}from\"../../../core/accessorSupport/decorators/property.js\";import\"../../../core/accessorSupport/ensureType.js\";import\"../../../core/arrayUtils.js\";import{subclass as p}from\"../../../core/accessorSupport/decorators/subclass.js\";import{Container as h}from\"../engine/Container.js\";import c from\"../support/HighlightOptions.js\";import l from\"../../layers/support/ClipRect.js\";import d from\"../../layers/support/Geometry.js\";import u from\"../../layers/support/Path.js\";const y=t.ofType({key:\"type\",base:null,typeMap:{rect:l,path:u,geometry:d}}),f=t=>{let l=class extends t{constructor(){super(...arguments),this.attached=!1,this.clips=new y,this.lastUpdateId=-1,this.moving=!1,this.updateRequested=!1,this.visibleAtCurrentScale=!1,this.highlightOptions=null}initialize(){const e=this.view?.spatialReferenceLocked??!0,t=this.view?.spatialReference;t&&e&&!this.spatialReferenceSupported?this.addResolvingPromise(Promise.reject(new i(\"layerview:spatial-reference-incompatible\",\"The spatial reference of this layer does not meet the requirements of the view\",{layer:this.layer}))):(this.container||(this.container=new h),this.container.fadeTransitionEnabled=!0,this.container.visible=!1,this.container.endTransitions(),this.addHandles([r((()=>this.suspended),(e=>{this.container&&(this.container.visible=!e),this.view&&!e&&this.updateRequested&&this.view.requestUpdate()}),a),r((()=>this.layer?.opacity??1),(e=>{this.container&&(this.container.opacity=e)}),a),r((()=>this.layer&&\"blendMode\"in this.layer?this.layer.blendMode:\"normal\"),(e=>{this.container&&(this.container.blendMode=e)}),a),r((()=>this.layer&&\"effect\"in this.layer?this.layer.effect:null),(e=>{this.container&&(this.container.effect=e)}),a),r((()=>this.highlightOptions),(e=>this.container.highlightOptions=e),a),o((()=>this.clips),\"change\",(()=>{this.container&&(this.container.clips=this.clips)}),a),r((()=>({scale:this.view?.scale,scaleRange:this.layer&&\"effectiveScaleRange\"in this.layer?this.layer.effectiveScaleRange:null})),(({scale:e})=>{const t=null!=e&&this.isVisibleAtScale(e);t!==this.visibleAtCurrentScale&&this._set(\"visibleAtCurrentScale\",t)}),a)],\"constructor\"),this.view?.whenLayerView?this.view.whenLayerView(this.layer).then((e=>{e===this&&this.processAttach()}),(()=>{})):this.when().then((()=>{this.processAttach()}),(()=>{})))}destroy(){this.processDetach(),this.updateRequested=!1}get spatialReferenceSupported(){const e=this.view?.spatialReference;return null==e||this.supportsSpatialReference(e)}get updating(){return this.spatialReferenceSupported&&(!this.attached||!this.suspended&&(this.updateRequested||this.isUpdating())||!!this.updatingHandles?.updating)}processAttach(){this.isResolved()&&!this.attached&&!this.destroyed&&this.spatialReferenceSupported&&(this.attach(),this.attached=!0,this.requestUpdate())}processDetach(){this.attached&&(this.attached=!1,this.removeHandles(\"attach\"),this.detach(),this.updateRequested=!1)}isVisibleAtScale(e){const t=this.layer&&\"effectiveScaleRange\"in this.layer?this.layer.effectiveScaleRange:null;if(!t)return!0;const{minScale:s,maxScale:i}=t;return(0===s||e<=s)&&(0===i||e>=i)}requestUpdate(){this.destroyed||this.updateRequested||(this.updateRequested=!0,this.suspended||this.view.requestUpdate())}processUpdate(e){!this.isFulfilled()||this.isResolved()?(this._set(\"updateParameters\",e),this.updateRequested&&!this.suspended&&(this.updateRequested=!1,this.update(e))):this.updateRequested=!1}hitTest(e,t){return Promise.resolve(null)}supportsSpatialReference(e){return!0}canResume(){return!!this.spatialReferenceSupported&&(!!super.canResume()&&this.visibleAtCurrentScale)}getSuspendInfo(){const e=super.getSuspendInfo(),t=!this.spatialReferenceSupported,s=this.visibleAtCurrentScale;return t&&(e.spatialReferenceNotSupported=t),s&&(e.outsideScaleRange=s),e}addAttachHandles(e){this.addHandles(e,\"attach\")}};return e([n()],l.prototype,\"attached\",void 0),e([n({type:y,set(e){const t=s(e,this._get(\"clips\"),y);this._set(\"clips\",t)}})],l.prototype,\"clips\",void 0),e([n()],l.prototype,\"container\",void 0),e([n()],l.prototype,\"moving\",void 0),e([n({readOnly:!0})],l.prototype,\"spatialReferenceSupported\",null),e([n({readOnly:!0})],l.prototype,\"updateParameters\",void 0),e([n()],l.prototype,\"updateRequested\",void 0),e([n()],l.prototype,\"updating\",null),e([n()],l.prototype,\"view\",void 0),e([n({readOnly:!0})],l.prototype,\"visibleAtCurrentScale\",void 0),e([n({type:c})],l.prototype,\"highlightOptions\",void 0),l=e([p(\"esri.views.2d.layers.LayerView2D\")],l),l};export{f as LayerView2DMixin};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../chunks/tslib.es6.js\";import t from\"../../core/Accessor.js\";import r from\"../../core/Evented.js\";import{HandleOwnerMixin as s}from\"../../core/HandleOwner.js\";import{IdentifiableMixin as i}from\"../../core/Identifiable.js\";import o from\"../../core/Logger.js\";import{unwrapOr as n}from\"../../core/maybe.js\";import{EsriPromiseMixin as l}from\"../../core/Promise.js\";import{property as a}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/accessorSupport/ensureType.js\";import\"../../core/arrayUtils.js\";import{subclass as p}from\"../../core/accessorSupport/decorators/subclass.js\";let d=class extends(s(i(l(r.EventedMixin(t))))){constructor(e){super(e),this.layer=null,this.parent=null}initialize(){this.when().catch((e=>{if(\"layerview:create-error\"!==e.name){const t=this.layer&&this.layer.id||\"no id\",r=this.layer&&this.layer.title||\"no title\";o.getLogger(this.declaredClass).error(\"#resolve()\",`Failed to resolve layer view (layer title: '${r}', id: '${t}')`,e)}}))}get fullOpacity(){return n(this.get(\"layer.opacity\"),1)*n(this.get(\"parent.fullOpacity\"),1)}get suspended(){return!this.canResume()}get suspendInfo(){return this.getSuspendInfo()}get legendEnabled(){return!this.suspended&&!0===this.layer?.legendEnabled}get updating(){return!(!this.updatingHandles?.updating&&!this.isUpdating())}get updatingProgress(){return this.updating?0:1}get visible(){return!0===this.layer?.visible}set visible(e){this._overrideIfSome(\"visible\",e)}canResume(){return this.visible&&this.layer?.loaded&&!this.parent?.suspended&&this.view?.ready||!1}getSuspendInfo(){const e=this.parent&&this.parent.suspended?this.parent.suspendInfo:{},t=this;return t.view&&t.view.ready||(e.viewNotReady=!0),this.layer&&this.layer.loaded||(e.layerNotLoaded=!0),this.visible||(e.layerInvisible=!0),e}isUpdating(){return!1}};e([a()],d.prototype,\"fullOpacity\",null),e([a()],d.prototype,\"layer\",void 0),e([a()],d.prototype,\"parent\",void 0),e([a({readOnly:!0})],d.prototype,\"suspended\",null),e([a({readOnly:!0})],d.prototype,\"suspendInfo\",null),e([a({readOnly:!0})],d.prototype,\"legendEnabled\",null),e([a({type:Boolean,readOnly:!0})],d.prototype,\"updating\",null),e([a({readOnly:!0})],d.prototype,\"updatingProgress\",null),e([a()],d.prototype,\"visible\",null),e([a()],d.prototype,\"view\",void 0),d=e([p(\"esri.views.layers.LayerView\")],d);const u=d;export{u as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../../chunks/tslib.es6.js\";import e from\"../../core/Logger.js\";import{isAbortError as s}from\"../../core/promiseUtils.js\";import{on as o}from\"../../core/reactiveUtils.js\";import{property as t}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/accessorSupport/ensureType.js\";import\"../../core/arrayUtils.js\";import{subclass as a}from\"../../core/accessorSupport/decorators/subclass.js\";const i=i=>{let c=class extends i{initialize(){this.handles.add(o((()=>this.layer),\"refresh\",(r=>{this.doRefresh(r.dataChanged).catch((r=>{s(r)||e.getLogger(this.declaredClass).error(r)}))})),\"RefreshableLayerView\")}};return r([t()],c.prototype,\"layer\",void 0),c=r([a(\"esri.layers.mixins.RefreshableLayerView\")],c),c};export{i as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.26/esri/copyright.txt for details.\n*/\nimport{isNone as e,isSome as l}from\"../../../core/maybe.js\";import{getFeatureEditFields as p,fixFields as t}from\"../../../layers/support/fieldUtils.js\";async function d(l,d=l.popupTemplate){if(e(d))return[];const s=await d.getRequiredFields(l.fieldsIndex),{lastEditInfoEnabled:i}=d,{objectIdField:n,typeIdField:u,globalIdField:a,relationships:o}=l;if(s.includes(\"*\"))return[\"*\"];const r=i?await p(l):[],f=t(l.fieldsIndex,[...s,...r]);return u&&f.push(u),f&&n&&l.fieldsIndex?.has(n)&&!f.includes(n)&&f.push(n),f&&a&&l.fieldsIndex?.has(a)&&!f.includes(a)&&f.push(a),o&&o.forEach((e=>{const{keyField:p}=e;f&&p&&l.fieldsIndex?.has(p)&&!f.includes(p)&&f.push(p)})),f}function s(e,p){return e.popupTemplate?e.popupTemplate:l(p)&&p.defaultPopupTemplateEnabled&&l(e.defaultPopupTemplate)?e.defaultPopupTemplate:null}export{s as getFetchPopupTemplate,d as getRequiredFields};\n"],"names":["a","n","t","e","m","c","s","originPosition","scale","tolerance","translate","extent","xmin","ymax","x","Math","round","h","I","r","u","i","o","l","length","push","z","T","M","Array","E","L","points","p","O","y","S","N","rings","d","paths","U","ymin","xmax","zmin","zmax","mmin","mmax","G","q","b","v","B","V","C","F","constructor","super","arguments","this","isAggregate","getEffectivePopupTemplate","popupTemplate","sourceLayer","featureReduction","popupEnabled","getObjectId","attributes","aggregateId","type","Boolean","prototype","_filter","duration","has","_excludedEffectView","_includedEffectView","excludedEffects","effects","featureEffect","_get","_transitionTo","filter","hasEffects","includedEffects","_set","transitioning","transitionStep","endTransitions","f","includedEffect","excludedEffect","canTransitionTo","effect","value","features","readFeatures","spatialReference","geometry","aggregateGeometries","json","write","some","globalId","error","map","objectId","Set","values","add","delete","_hasGlobalIds","_notifyUpdating","notifyChange","normalizeCtorArgs","_queueProcessor","concurrency","process","destroy","clear","updating","last","then","popLast","_mergeEdits","addedFeatures","deletedFeatures","updatedFeatures","edits","addOrModified","removed","from","readOnly","_startupResolver","isReady","initialize","_controller","AbortController","addResolvingPromise","_startWorker","signal","abort","_connection","close","tileRenderer","client","closed","when","isArray","source","transferList","service","config","tileInfo","toJSON","tiles","invoke","resolve","promise","query","params","name","strategy","constructOnly","_tiles","Map","buffer","acquireTile","releaseTile","tileInfoView","forEach","_releaseTile","tileKeys","update","getTileCoverage","state","spans","lodInfo","level","row","colFrom","colTo","normalizeCol","getWorldForColumn","_getOrAcquireTile","visible","key","_addPlaceholders","id","hasMissingTiles","size","added","set","get","_getTile","_addPlaceholderChildren","abs","_addPlaceholderParent","_addPlaceholderChild","hasData","contains","getParentKey","patchCount","_","A","_updatingRequiredFieldsPromise","timeExtent","layer","requiredFields","view","handles","elevationInfo","featureExpressionInfo","displayField","timeInfo","renderer","labelingInfo","floorInfo","_handleRequiredFieldsChange","floors","sublayers","availableFields","fieldsIndex","outFields","_override","maximumNumberOfFeatures","maximumNumberOfFeaturesExceeded","highlight","Error","createQuery","returnGeometry","outSpatialReference","R","where","intersection","clone","createAggregateQuery","queryFeatures","queryObjectIds","queryFeatureCount","queryExtent","validateFetchPopupFeatures","fetchClientPopupFeatures","_loadArcadeModules","content","j","Promise","_updateRequiredFields","objectIdField","orderBy","collectRequiredFields","g","w","startField","endField","floorField","infoFor3D","globalIdField","subtypeField","all","sort","clientGraphics","createPopupQuery","arcadeUtils","hasGeometryOperations","graphic","index","objectIds","keys","geometryType","P","returnZ","returnM","canResume","isEmpty","Number","$","J","_pipelineIsUpdating","_commandsQueue","Q","_doEdit","_doRefresh","dataChanged","_doUpdate","_visibilityOverrides","_highlightIds","_updateHighlight","async","_proxy","setHighlight","_uploadsLocked","_needsClusterSizeUpdate","featureEffectView","_lastDefinitionExpression","_updateClusterSizeTask","remove","_initProxy","_initServiceOptions","addHandles","on","valueRanges","isTable","operations","supportsQuery","_createClientOptions","H","_createServiceOptions","_serviceOptions","_effectiveFeatureReduction","maxScale","orderByFields","labelsVisible","items","suspended","queryMode","renderingConfigHash","definitionExpression","gdbVersion","historicMoment","getTime","JSON","stringify","customParameters","apiKey","geometryDefinition","clips","reduce","subtypeCode","sublayerHash","filterHash","effectHash","streamFilter","clipsHash","toArray","_addHighlight","_removeHighlight","hasHighlight","hitTest","aggregates","getFeatures","_createGraphicHit","queryStatistics","querySummaryStatistics","_cleanUpQuery","queryAggregateSummaryStatistics","_cleanUpAggregateQuery","queryUniqueValues","queryAggregateUniqueValues","queryClassBreaks","queryAggregateClassBreaks","queryHistogram","queryAggregateHistogram","queryFeaturesJSON","_setLayersForFeature","queryVisibleFeatures","queryAggregates","queryAggregateIds","queryAggregateCount","queryAggregateJSON","count","setVisibility","_update","_tileStrategy","updateTiles","requestUpdate","attach","timeline","record","title","k","_acquireTile","featuresTilingScheme","addAttachHandles","_edit","detach","stop","container","removeAllChildren","uninstall","_tileRendererHash","moveStart","viewChange","moveEnd","isUpdating","console","log","setUpdating","emitEvent","emit","event","editingInfo","lastEditDate","refreshInterval","supportsPagination","supportsEditing","mode","featureCount","fullExtent","width","height","declaredClass","warn","capabilities","fields","getSource","openPorts","parsedUrl","dynamicDataSource","datesInUnknownTimezone","_detectQueryMode","valueExpression","field","timeReferenceUnknownClient","maxRecordCount","tileMaxRecordCount","effectiveCapabilities","dateFieldsTimeReference","preferredTimeReference","editFieldsInfo","_validateEdit","_clearTiles","attached","includes","destroyed","_hasRequiredSupport","_getEffectiveRenderer","_createSchemaConfig","_createConfiguration","schema","_createTileRendererHash","initialFeatureCount","_initTileRenderer","onConfigUpdate","startup","_onceTilesUpdated","changedFeatureCount","mesh","targets","aggregate","_lockGPUUploads","applyUpdate","_unlockGPUUploads","_updateClusterSizeVariable","_forceAttributeTextureUpload","invalidateLabels","onEdits","refresh","_effectiveRenderer","_createUpdateClusterSizeTask","_aggregateValueRanges","_updateClusterEffectiveRendererSizeVariable","dynamicClusterSize","visualVariables","indexOf","authoringInfo","isAutoGenerated","didInject","aggregateFields","once","default","layerView","install","hasFilter","_injectOverrides","_addFloorFilterClause","hiddenIds","viewAllLevelIds","replace","join","RegExp","trim","devicePixelRatio","window","filters","supportsTextureFloat","maxTextureSize","lockGPUUploads","unlockGPUUploads","forceAttributeTextureUpload","pixelBuffer","token","catch","mapPoint","D","version","commitVersionProperties","left","right","top","bottom","commitProperty","String","base","typeMap","polygon","types","read","path","rect","lastUpdateId","moving","updateRequested","visibleAtCurrentScale","highlightOptions","spatialReferenceLocked","spatialReferenceSupported","reject","fadeTransitionEnabled","opacity","blendMode","scaleRange","effectiveScaleRange","isVisibleAtScale","whenLayerView","processAttach","processDetach","supportsSpatialReference","updatingHandles","isResolved","removeHandles","minScale","processUpdate","isFulfilled","getSuspendInfo","spatialReferenceNotSupported","outsideScaleRange","parent","fullOpacity","suspendInfo","legendEnabled","updatingProgress","_overrideIfSome","loaded","ready","viewNotReady","layerNotLoaded","layerInvisible","doRefresh","getRequiredFields","lastEditInfoEnabled","typeIdField","relationships","keyField","defaultPopupTemplateEnabled","defaultPopupTemplate"],"sourceRoot":""}