{"version":3,"sources":["webpack:///./node_modules/@arcgis/core/AggregateGraphic.js","webpack:///./node_modules/@arcgis/core/layers/effects/FeatureEffectView.js","webpack:///./node_modules/@arcgis/core/rest/support/AggregateFeatureSet.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/support/FeatureCommandQueue.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/support/FeatureLayerProxy.js","webpack:///./node_modules/@arcgis/core/views/2d/tiling/TileManager.js","webpack:///./node_modules/@arcgis/core/views/layers/FeatureLayerView.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/FeatureLayerView2D.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/features/tileRenderers.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/features/createSymbolSchema.js","webpack:///./node_modules/@arcgis/core/symbols/cim/ExpandedCIM.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/support/webStyleUtils.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/support/cimSymbolUtils.js","webpack:///./node_modules/@arcgis/core/views/2d/arcade/callExpressionWithFeature.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/graphics/graphicsUtils.js","webpack:///./node_modules/@arcgis/core/views/layers/LayerView.js","webpack:///./node_modules/@arcgis/core/core/floatRGBA.js","webpack:///./node_modules/@arcgis/core/views/layers/support/ClipArea.js","webpack:///./node_modules/@arcgis/core/views/layers/support/ClipRect.js","webpack:///./node_modules/@arcgis/core/views/layers/support/Geometry.js","webpack:///./node_modules/@arcgis/core/views/layers/support/Path.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/LayerView2D.js","webpack:///./node_modules/@arcgis/core/views/2d/engine/webgl/visualVariablesUtils.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/support/util.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/features/support/rendererUtils.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/features/support/pixelBuffering.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/features/schemaUtils.js","webpack:///./node_modules/@arcgis/core/views/2d/engine/webgl/util/vvFlagUtils.js","webpack:///./node_modules/@arcgis/core/views/layers/RefreshableLayerView.js","webpack:///./node_modules/@arcgis/core/views/layers/support/popupUtils.js"],"names":["p","r","constructor","super","arguments","this","isAggregate","getEffectivePopupTemplate","e","popupTemplate","sourceLayer","featureReduction","popupEnabled","getObjectId","attributes","aggregateId","t","type","Boolean","prototype","o","s","_filter","duration","has","_excludedEffectView","c","_includedEffectView","effects","_get","_transitionTo","i","featureEffect","filter","hasEffects","_set","scale","transitioning","transitionStep","endTransitions","f","includedEffect","excludedEffect","canTransitionTo","effect","value","m","features","readFeatures","fromJSON","spatialReference","a","length","geometry","aggregateGeometries","push","json","write","some","globalId","d","error","map","objectId","Set","values","add","n","delete","_hasGlobalIds","normalizeCtorArgs","_queueProcessor","concurrency","process","destroy","clear","last","finally","notifyChange","popLast","_mergeEdits","addedFeatures","deletedFeatures","updatedFeatures","edits","addOrModified","removed","u","l","Array","from","readOnly","_startupResolver","isReady","initialize","_controller","AbortController","addResolvingPromise","_startWorker","signal","abort","_connection","close","client","tileRenderer","closed","when","isArray","source","transferList","service","config","tileInfo","toJSON","tiles","invoke","resolve","promise","query","params","name","pauseStream","resumeStream","strategy","constructOnly","_tiles","Map","buffer","acquireTile","releaseTile","tileInfoView","forEach","_releaseTile","tileKeys","update","getTileCoverage","state","spans","lodInfo","level","h","row","colFrom","colTo","getId","normalizeCol","getWorldForColumn","_getOrAcquireTile","visible","key","_addPlaceholders","id","pool","release","hasMissingTiles","size","added","set","get","_getTile","_addPlaceholderChildren","Math","abs","_addPlaceholderParent","_addPlaceholderChild","hasData","contains","getParentKey","patchCount","_","O","getLogger","A","_updatingRequiredFieldsPromise","timeExtent","layer","requiredFields","view","handles","elevationInfo","featureExpressionInfo","displayField","timeInfo","renderer","labelingInfo","floorInfo","_handleRequiredFieldsChange","floors","sublayers","fieldsIndex","outFields","y","_override","highlight","Error","createQuery","returnGeometry","outSpatialReference","R","v","where","intersection","clone","createAggregateQuery","queryFeatures","queryObjectIds","queryFeatureCount","queryExtent","validateFetchPopupFeatures","fetchClientPopupFeatures","_loadArcadeModules","content","j","_updateRequiredFields","then","objectIdField","orderBy","collectRequiredFields","F","g","w","E","b","startField","endField","floorField","infoFor3D","globalIdField","x","subtypeField","Promise","all","sort","clientGraphics","q","createPopupQuery","arcadeUtils","hasGeometryOperations","I","objectIds","keys","geometryType","P","returnZ","returnM","canResume","isEmpty","Number","J","M","L","z","U","N","_pipelineIsUpdating","_commandsQueue","_doEdit","_doRefresh","dataChanged","_doUpdate","_visibilityOverrides","_highlightIds","_updateHighlight","async","_proxy","setHighlight","_uploadsLocked","_needsClusterSizeUpdate","featureEffectView","_lastDefinitionExpression","_updateClusterSizeTask","remove","_initProxy","_initServiceOptions","on","valueRanges","isTable","capabilities","operations","supportsQuery","_createClientOptions","_createServiceOptions","_serviceOptions","orderByFields","items","suspended","labelsVisible","availableFields","definitionExpression","gdbVersion","historicMoment","getTime","JSON","stringify","customParameters","apiKey","geometryDefinition","clips","reduce","subtypeCode","sublayerHash","filterHash","effectHash","streamFilter","clipsHash","isCollection","toArray","_addHighlight","_removeHighlight","hasHighlight","hitTest","aggregates","getFeatures","_createGraphicHit","queryStatistics","querySummaryStatistics","_cleanUpQuery","queryAggregateSummaryStatistics","_cleanUpAggregateQuery","queryUniqueValues","queryAggregateUniqueValues","queryClassBreaks","queryAggregateClassBreaks","queryHistogram","queryAggregateHistogram","queryFeaturesJSON","S","_setLayersForFeature","queryVisibleFeatures","queryAggregates","queryAggregateIds","queryAggregateCount","queryAggregateJSON","count","extent","H","setVisibility","_update","_tileStrategy","updateTiles","requestUpdate","attach","timeline","record","title","k","_acquireTile","featuresTilingScheme","renderingConfigHash","_edit","detach","stop","container","removeAllChildren","uninstall","_tileRendererHash","moveStart","viewChange","moveEnd","isUpdating","updating","console","log","setUpdating","emitEvent","emit","event","editingInfo","lastEditDate","refreshInterval","supportsPagination","supportsEditing","mode","featureCount","fullExtent","width","height","declaredClass","warn","fields","Q","getSource","openPorts","parsedUrl","dynamicDataSource","datesInUnknownTimezone","_detectQueryMode","valueExpression","field","timeReferenceUnknownClient","maxRecordCount","tileMaxRecordCount","_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","queryMode","refresh","_effectiveRenderer","_createUpdateClusterSizeTask","_aggregateValueRanges","_updateClusterEffectiveRendererSizeVariable","dynamicClusterSize","visualVariables","indexOf","authoringInfo","isAutoGenerated","didInject","aggregateFields","T","V","once","default","layerView","install","_injectOverrides","_addFloorFilterClause","hiddenIds","viewAllLevelIds","replace","join","RegExp","trim","C","devicePixelRatio","window","filters","supportsTextureFloat","maxTextureSize","lockGPUUploads","unlockGPUUploads","forceAttributeTextureUpload","pixelBuffer","token","catch","graphic","mapPoint","B","color","placement","style","FILL","outline","symbologyType","materialKey","hash","LINE","isOutline","layers","MARKER","angle","maxVVSize","DEFAULT","marker","lineWidth","TEXT","LABEL","labelPlacement","rendererKey","vvFlags","data","fill","line","text","minScale","maxScale","_createHash","scaleInfo","templateHash","styleName","portal","getDefault","url","baseUrl","origin","find","symbolName","cim","materialHash","mosaicHash","dashTemplate","path","fontName","animatedSymbolProperties","referencesGeometry","repurposeFeature","evaluate","$feature","transform","hasZ","hasM","valid","glyphMosaicItems","font","xOffset","xoffset","yOffset","yoffset","hAlign","horizontalAlignment","vAlign","verticalAlignment","maxLineWidth","max","min","lineHeight","decoration","isCIM","bounds","halfWidth","halfHeight","xmin","ymin","xmax","ymax","rings","EventedMixin","parent","getSuspendInfo","legendEnabled","updatingHandles","_overrideIfSome","loaded","ready","suspendInfo","viewNotReady","layerNotLoaded","layerInvisible","floor","Uint8ClampedArray","commitVersionProperties","left","right","top","bottom","commitProperty","String","base","typeMap","polygon","types","read","ofType","rect","lastUpdateId","moving","updateRequested","visibleAtCurrentScale","spatialReferenceLocked","spatialReferenceSupported","reject","fadeTransitionEnabled","opacity","blendMode","scaleRange","effectiveScaleRange","isVisibleAtScale","whenLayerView","processAttach","processDetach","supportsSpatialReference","isResolved","processUpdate","isFulfilled","spatialReferenceNotSupported","outsideScaleRange","minDataValue","maxDataValue","minSize","maxSize","SIZE_MINMAX_VALUE","expression","stops","SIZE_SCALE_STOPS","levels","SIZE_FIELD_STOPS","valueUnit","SIZE_UNIT_VALUE","NONE","esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline","esriGeometryPolygon","esriGeometryMultiPatch","bandCount","attributeTable","colormap","pixelType","rasterInfo","pop","label","splice","supportsTextureHalfFloat","supportsColorBufferFloat","supportsColorBufferFloatBlend","supportsColorBufferHalfFloat","errorOnce","warnOnce","hasVisualVariables","getVisualVariablesForType","clusterMaxSize","target","transformationType","metrics","COLOR","OPACITY","ROTATION","DOT_DENSITY","HEATMAP","PIE_CHART","getSymbols","backgroundFillSymbol","OUTLINE_FILL_SIMPLE","OUTLINE_FILL","SIMPLE","debug","indexCount","renderers","mapping","classes","storage","matcher","aggregateMatcher","labels","sortKey","$","attributeMapping","radius","fieldOffset","resultType","rendererOverride","symbol","onStatisticField","onStatisticExpression","statisticType","fieldIndex","context","inField","inFieldIndex","order","D","input","fixedBinLevel","clusterRadius","clusterPixelBuffer","ceil","processors","fieldName","feature","returnType","labelExpression","labelExpressionInfo","index","getStorageSpec","binding","normalizationField","valueRepresentation","vvMapping","G","K","use","normalizationType","classBreakInfos","minValue","maxValue","defaultSymbol","intervals","normalizationTotal","isMaxInclusive","uniqueValueInfos","field2","field3","fieldDelimiter","W","fieldMap","scaleExpression","symbolOptions","X","Z","markerSymbol","fillSymbol","Y","doRefresh","getRequiredFields","lastEditInfoEnabled","typeIdField","relationships","keyField","defaultPopupTemplateEnabled","defaultPopupT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E,YAAExF,IAAIA,EAAEusB,6BAA6B/mB,YAAEhF,EAAEgsB,sBAAsBhsB,EAAEgsB,qBAAqB","file":"21.a6296062216f257e6516.js","sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"./chunks/tslib.es6.js\";import r from\"./Graphic.js\";import{property as t}from\"./core/accessorSupport/decorators/property.js\";import\"./core/arrayUtils.js\";import\"./core/accessorSupport/ensureType.js\";import{subclass as o}from\"./core/accessorSupport/decorators/subclass.js\";let p=class extends r{constructor(){super(...arguments),this.isAggregate=!0}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const r=this.sourceLayer&&this.sourceLayer.featureReduction;return r&&\"popupTemplate\"in r&&r.popupEnabled?r.popupTemplate:null}getObjectId(){return this.attributes.aggregateId}};e([t({type:Boolean})],p.prototype,\"isAggregate\",void 0),p=e([o(\"esri.AggregateGraphic\")],p);const s=p;export{s as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../chunks/tslib.es6.js\";import t from\"../../core/Accessor.js\";import has from\"../../core/has.js\";import{unwrap as i}from\"../../core/maybe.js\";import{property as s}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/arrayUtils.js\";import\"../../core/accessorSupport/ensureType.js\";import{subclass as f}from\"../../core/accessorSupport/decorators/subclass.js\";import{EffectView as c}from\"./EffectView.js\";let r=class extends t{constructor(e){super(e),this._filter=null,this.duration=has(\"mapview-transitions-duration\"),this._excludedEffectView=new c(e),this._includedEffectView=new c(e)}get excludedEffects(){return this._excludedEffectView.effects}set featureEffect(e){this._get(\"featureEffect\")!==e&&this._transitionTo(e)}get filter(){return this._filter||i(this.featureEffect)?.filter||null}get hasEffects(){return this._excludedEffectView.hasEffects||this._includedEffectView.hasEffects}get includedEffects(){return this._includedEffectView.effects}set scale(e){this._set(\"scale\",e),this._excludedEffectView.scale=e,this._includedEffectView.scale=e}get transitioning(){return this._excludedEffectView.transitioning||this._includedEffectView.transitioning}transitionStep(e,t){this._set(\"scale\",t),this.transitioning?(this._includedEffectView.transitionStep(e,t),this._excludedEffectView.transitionStep(e,t),this.transitioning||(this._filter=null)):(this._excludedEffectView.scale=t,this._includedEffectView.scale=t)}endTransitions(){this._includedEffectView.endTransitions(),this._excludedEffectView.endTransitions(),this._filter=null}_transitionTo(e){const t=this._get(\"featureEffect\"),s=i(e),f=i(s?.includedEffect),c=i(s?.excludedEffect),r=this._includedEffectView.canTransitionTo(f)&&this._excludedEffectView.canTransitionTo(c);this._includedEffectView.effect=f,this._excludedEffectView.effect=c,this._set(\"featureEffect\",s),this._filter=s?.filter||t?.filter||null,r||this.endTransitions()}};e([s()],r.prototype,\"_filter\",void 0),e([s()],r.prototype,\"_excludedEffectView\",void 0),e([s()],r.prototype,\"_includedEffectView\",void 0),e([s()],r.prototype,\"duration\",void 0),e([s()],r.prototype,\"excludedEffects\",null),e([s()],r.prototype,\"featureEffect\",null),e([s()],r.prototype,\"filter\",null),e([s()],r.prototype,\"hasEffects\",null),e([s()],r.prototype,\"includedEffects\",null),e([s({value:0})],r.prototype,\"scale\",null),e([s()],r.prototype,\"transitioning\",null),r=e([f(\"esri.layers.effects.FeatureEffectView\")],r);const o=r;export{o as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../chunks/tslib.es6.js\";import r from\"../../AggregateGraphic.js\";import\"../../geometry.js\";import{isSome as t}from\"../../core/maybe.js\";import{property as o}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/arrayUtils.js\";import\"../../core/accessorSupport/ensureType.js\";import{reader as s}from\"../../core/accessorSupport/decorators/reader.js\";import{subclass as a}from\"../../core/accessorSupport/decorators/subclass.js\";import p from\"./FeatureSet.js\";import c from\"../../geometry/SpatialReference.js\";let m=class extends p{constructor(){super(...arguments),this.features=[]}readFeatures(e,o){const s=c.fromJSON(o.spatialReference),a=[];for(let p=0;pe.globalId))}function d(e){return e.filter((e=>!e.error)).map((e=>e.objectId??e.globalId))}function i(e,r){const s=new Set(e);for(const t of r.values())s.add(t);return s}function n(e,r){const s=new Set(e);for(const t of r.values())s.delete(t);return s}let c=class extends r{constructor(e){super(e),this._hasGlobalIds=!1}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 r=this._queueProcessor,s=r.last();switch(e.type){case\"update\":case\"refresh\":if(s?.type===e.type)return;r.push(e).finally((()=>this.notifyChange(\"updating\")));break;case\"edit\":{const t=\"processed-edit\"===s?.type?s:null;t&&r.popLast();const o=this._mergeEdits(t,e);for(const e of o)r.push(e).finally((()=>this.notifyChange(\"updating\")));break}}this.notifyChange(\"updating\")}_mergeEdits(e,r){const{addedFeatures:s,deletedFeatures:t,updatedFeatures:o}=r.edits;if(this._hasGlobalIds=this._hasGlobalIds||a(s)||a(o)||a(t),this._hasGlobalIds){return[e,{type:\"processed-edit\",edits:{addOrModified:[...s,...o],removed:t}}]}const c=new Set(d(e?.edits.addOrModified??[])),u=new Set(d(e?.edits.removed??[])),p=new Set([...d(s),...d(o)]),l=new Set(d(t));return[{type:\"processed-edit\",edits:{addOrModified:Array.from(i(n(c,l),p)).map((e=>({objectId:e}))),removed:Array.from(i(n(u,p),l)).map((e=>({objectId:e})))}}]}};e([s({readOnly:!0})],c.prototype,\"updating\",null),c=e([t(\"esri.views.2d.layers.support.FeatureCommandQueue\")],c);const u=c;export{u as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/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/arrayUtils.js\";import\"../../../../core/accessorSupport/ensureType.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}))}pauseStream(){return s(this._connection.invoke(\"controller.pauseStream\"))}resumeStream(){return s(this._connection.invoke(\"controller.resumeStream\"))}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.25/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);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.25/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/arrayUtils.js\";import\"../../core/accessorSupport/ensureType.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,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}),\"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){if(e.get(\"expressionInfos.length\")||Array.isArray(e.content)&&e.content.some((e=>\"expression\"===e.type)))return j()}_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(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.25/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,unwrap as u,isNone as h}from\"../../../core/maybe.js\";import{debounce as d,isAbortError as p}from\"../../../core/promiseUtils.js\";import{watch as c,whenOnce as y,syncAndInitial as g,initial as f}from\"../../../core/reactiveUtils.js\";import{property as m}from\"../../../core/accessorSupport/decorators/property.js\";import\"../../../core/accessorSupport/ensureType.js\";import{subclass as _}from\"../../../core/accessorSupport/decorators/subclass.js\";import v from\"../../../layers/effects/FeatureEffectView.js\";import b from\"../../../layers/support/FeatureFilter.js\";import R from\"../../../rest/support/AggregateFeatureSet.js\";import S from\"../../../rest/support/FeatureSet.js\";import w from\"../../../rest/support/Query.js\";import{MAX_FILTERS as x}from\"../engine/webgl/definitions.js\";import{LayerView2DMixin as U}from\"./LayerView2D.js\";import{createSchema as C}from\"./features/schemaUtils.js\";import{createOrReuseTileRenderer as F}from\"./features/tileRenderers.js\";import{isRendererSupported as q}from\"./features/support/rendererUtils.js\";import{findSizeVV as I,createClusterCountSizeVariable as O,injectDynamicLevelDependentSizeVisualVariable as E,isClusterCompatibleRenderer as T,createClusterRenderer as V}from\"./support/clusterUtils.js\";import j from\"./support/FeatureCommandQueue.js\";import A from\"./support/FeatureLayerProxy.js\";import{toJSONGeometryType as Q}from\"./support/util.js\";import{TileManager as k}from\"../tiling/TileManager.js\";import L from\"../../layers/FeatureLayerView.js\";import N from\"../../layers/LayerView.js\";import z from\"../../layers/RefreshableLayerView.js\";import{getWebGLCapabilities as P}from\"../../webgl/capabilities.js\";import H from\"../../../geometry/Extent.js\";function J(e){return e&&\"openPorts\"in e}let M=class extends(L(z(U(N)))){constructor(){super(...arguments),this._pipelineIsUpdating=!0,this._commandsQueue=new j({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=d((async()=>this._proxy.setHighlight(Array.from(this._highlightIds.keys())))),this._uploadsLocked=!1,this._needsClusterSizeUpdate=!1,this.featureEffectView=new v,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.handles.add([this.on(\"valueRangesChanged\",(e=>{this._set(\"_aggregateValueRanges\",e.valueRanges)})),c((()=>this.featureEffect),(e=>{this.featureEffectView.featureEffect=e}),g)]),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});const t=\"feature\"===e.type||\"subtype-group\"===e.type,r=\"capabilities\"in e&&e.capabilities.operations.supportsQuery;if(t&&!r)throw new s(\"featurelayerview:query-not-supported\",\"layer view requires a layer with query capability\",{layer:e});this._proxy&&this._proxy.destroy();const i=this._createClientOptions();return this._set(\"_proxy\",new A({client:i})),this._proxy.when()}async _initServiceOptions(){return this._set(\"_serviceOptions\",await this._createServiceOptions()),this._serviceOptions}get orderByFields(){return\"stream\"!==this._serviceOptions.type&&this._serviceOptions.orderByFields}get labelsVisible(){const e=\"subtype-group\"===this.layer.type?this.layer.sublayers.items:[this.layer];return!this.suspended&&e.some((e=>e.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,p=\"stream\"===t.type?`${JSON.stringify(t.geometryDefinition)}${t.definitionExpression}`:null,c=JSON.stringify(this.clips),y=\"featureReduction\"in t?t.featureReduction?.toJSON():null,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:p,gdbVersion:n,definitionExpression:i,historicMoment:o,availableFields:e,renderer:a,labelingInfo:s,timeExtent:u,floors:r,clipsHash:c,featureReduction:y,customParameters:h,apiKey:d})}highlight(e){let t;return 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()))),t=t?.filter((e=>null!=e)),t&&t.length?(this._addHighlight(t),{remove:()=>this._removeHighlight(t)}):{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=S.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=S.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=R.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:H.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.handles.add(c((()=>this.renderingConfigHash),(()=>this._update()),f),\"attach\"),\"stream\"!==this.layer.type&&this.handles.add(this.layer.on(\"edits\",(e=>this._edit(e))),\"attach\")}detach(){this._commandsQueue.clear(),this._proxy?.stop(),this.container.removeAllChildren(),this.handles.remove(\"attach\"),this.tileRenderer&&(this.tileRenderer.uninstall(this.container),this.tileRenderer=null),this._tileStrategy&&(this._tileStrategy.destroy(),this._tileStrategy=null),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,r=\"editingInfo\"in this.layer&&this.layer.editingInfo?.lastEditDate,i=!!this.layer.refreshInterval,s=!r&&i;if(t&&(\"feature\"===this.layer.type||\"subtype-group\"===this.layer.type)&&\"point\"===this.layer.geometryType&&this.layer.capabilities.query.supportsPagination&&!this.layer.capabilities.operations.supportsEditing&&!s&&has(\"featurelayer-snapshot-enabled\"))try{const e=await this.layer.queryFeatureCount();if(e<=has(\"featurelayer-snapshot-point-min-threshold\"))return{mode:\"snapshot\",featureCount:e};const t=has(\"featurelayer-snapshot-point-max-threshold\"),r=has(\"featurelayer-snapshot-point-coverage\"),i=this.view.extent,s=u(this.layer.fullExtent),a=s?.clone().intersection(i),n=l(a)?a.width*a.height:0,o=s?.width*s?.height,h=0===o?0:n/o;if(e<=t&&h>=r)return{mode:\"snapshot\",featureCount:e}}catch(a){n.getLogger(this.declaredClass).warn(\"mapview-feature-layer\",\"Encountered an error when querying for featureCount\",{error:a})}return{mode:\"on-demand\"}}async _createServiceOptions(){const e=this.layer;if(\"stream\"===e.type)return null;const{capabilities:t,objectIdField:r}=e,i=e.fields.map((e=>e.toJSON())),s=l(e.fullExtent)&&e.fullExtent.toJSON(),n=Q(e.geometryType),o=e.timeInfo&&e.timeInfo.toJSON()||null,u=e.spatialReference?e.spatialReference.toJSON():null,h=\"feature\"===e.type?e.globalIdField:null;let d;\"ogc-feature\"===e.type?d=e.source.getSource():J(e.source)?d=await e.source.openPorts():e.parsedUrl&&(d=a(e.parsedUrl),\"dynamicDataSource\"in e&&e.dynamicDataSource&&(d.query={layer:JSON.stringify({source:e.dynamicDataSource})}));const p=\"datesInUnknownTimezone\"in this.layer&&this.layer.datesInUnknownTimezone,c=(\"subtypeField\"in this.layer&&this.layer.subtypeField)??null,{mode:y,featureCount:g}=await this._detectQueryMode(d);let f=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&&(f=e)}return{type:y,timeReferenceUnknownClient:p,subtypeField:c,featureCount:g,globalIdField:h,maxRecordCount:t.query.maxRecordCount,tileMaxRecordCount:t.query.tileMaxRecordCount,capabilities:t,fields:i,fullExtent:s,geometryType:n,objectIdField:r,source:d,timeInfo:o,spatialReference:u,orderByFields:f}}async _createMemoryServiceOptions(e){const t=await e.openPorts();return{...this._createServiceOptions(),type:\"memory\",source:t}}_cleanUpQuery(e){const t=w.from(e)||this.createQuery();return t.outSpatialReference||(t.outSpatialReference=this.view.spatialReference),t}_cleanUpAggregateQuery(e){const t=w.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;await this._updateRequiredFields();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&&J(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){p(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){p(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(r){p(r),0}this._unlockGPUUploads();const t=this.layer;t&&\"featureReduction\"in t&&t.featureReduction&&this._updateClusterSizeVariable()}_updateClusterSizeVariable(){this._needsClusterSizeUpdate&&(this.tileRenderer.onConfigUpdate(this._effectiveRenderer),this._needsClusterSizeUpdate=!1)}_createUpdateClusterSizeTask(e,t){return c((()=>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=I(e.visualVariables);if(l(i)&&\"cluster_count\"===i.field){const s=e.visualVariables.indexOf(i);e.visualVariables[s]=O(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=\"featureReduction\"in e?e.featureReduction:null;if(l(this._updateClusterSizeTask)&&(this._updateClusterSizeTask.remove(),this._updateClusterSizeTask=null),r&&\"renderer\"in r&&r.renderer&&!r.renderer.authoringInfo?.isAutoGenerated){const e=r.fields;if(\"cluster\"===r.type){const{renderer:t,didInject:i}=E(r.renderer,r,this._aggregateValueRanges);return i&&(o(this._updateClusterSizeTask,(e=>e.remove())),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(t)){const e=r,i=[],s=V(i,t,e,this._aggregateValueRanges,!0);return o(this._updateClusterSizeTask,(e=>e.remove())),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 F(e,{layerView:this,tileInfoView:this.view.featuresTilingScheme,layer:this.layer});return this.tileRenderer&&(this._tileStrategy.clear(),this.tileRenderer.uninstall(this.container),this.tileRenderer.destroy(),this.tileRenderer=null),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;i=this._addFloorFilterClause(t)}if(!this._visibilityOverrides.size&&!r&&!s)return l(e)?e.toJSON():null;(e=l(e)&&e.clone()||new b).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,a=new Array(x),n=this._injectOverrides(t);a[0]=n,a[1]=l(r)?r.toJSON():null;const o=C(e);if(h(o))return null;const u=P(\"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)||q(e.renderer)}_onceTilesUpdated(){return this.requestUpdate(),y((()=>!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:e.timeExtent,definitionExpression:e.definitionExpression,featureReduction:\"featureReduction\"in e?e.featureReduction:null,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,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},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=>{p(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=>{p(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([m()],M.prototype,\"_serviceOptions\",void 0),e([m()],M.prototype,\"_proxy\",void 0),e([m()],M.prototype,\"_pipelineIsUpdating\",void 0),e([m()],M.prototype,\"_effectiveRenderer\",void 0),e([m()],M.prototype,\"_aggregateValueRanges\",void 0),e([m()],M.prototype,\"_commandsQueue\",void 0),e([m()],M.prototype,\"featureEffectView\",void 0),e([m()],M.prototype,\"labelsVisible\",null),e([m({readOnly:!0})],M.prototype,\"queryMode\",null),e([m()],M.prototype,\"renderingConfigHash\",null),e([m()],M.prototype,\"tileRenderer\",void 0),e([m()],M.prototype,\"updating\",void 0),M=e([_(\"esri.views.2d.layers.FeatureLayerView2D\")],M);const B=M;export{B as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/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.25/esri/copyright.txt for details.\n*/\nimport{WGLGeometryType as e,WGLSymbologyType as a}from\"../../engine/webgl/enums.js\";import{createMaterialKey as t,isOutlineFillSymbology as r,hydrateMaterialKey as n}from\"../../engine/webgl/materialKey/MaterialKey.js\";function l(e){if(\"line-marker\"===e.type){return{type:\"line-marker\",color:e.color?.toJSON(),placement:e.placement,style:e.style}}return e.constructor.fromJSON(e.toJSON()).toJSON()}function s(e){return n(e)}function o(e,a,t=!1){if(!e)return null;switch(e.type){case\"simple-fill\":case\"picture-fill\":return c(e,a,t);case\"simple-marker\":case\"picture-marker\":return h(e,a,t);case\"simple-line\":return m(e,a,t);case\"text\":return y(e,a,t);case\"label\":return i(e,a,t);case\"cim\":return{type:\"cim\",rendererKey:a.vvFlags,data:e.data,maxVVSize:a.maxVVSize};case\"CIMSymbolReference\":return{type:\"cim\",rendererKey:a.vvFlags,data:e,maxVVSize:a.maxVVSize};case\"web-style\":return{...l(e),type:\"web-style\",hash:e.hash(),rendererKey:a.vvFlags,maxVVSize:a.maxVVSize};default:throw new Error(`symbol not supported ${e.type}`)}}function i(a,r,n){const l=a.toJSON(),o=t(e.LABEL,{...r,placement:l.labelPlacement});return{materialKey:n?s(o):o,hash:a.hash(),...l,labelPlacement:l.labelPlacement}}function c(a,n,o){const i=t(e.FILL,n),c=o?s(i):i,m=a.clone(),h=m.outline,y=r(n.symbologyType);y||(m.outline=null);const u={materialKey:c,hash:m.hash(),...l(m)};if(y)return u;const p=[];if(p.push(u),h){const a=t(e.LINE,{...n,isOutline:!0}),r={materialKey:o?s(a):a,hash:h.hash(),...l(h)};p.push(r)}return{type:\"composite-symbol\",layers:p,hash:p.reduce(((e,a)=>a.hash+e),\"\")}}function m(n,o,i){const c=r(o.symbologyType)?a.DEFAULT:o.symbologyType,m=t(e.LINE,{...o,symbologyType:c}),h=i?s(m):m,y=n.clone(),u=y.marker;y.marker=null;const p=[];if(p.push({materialKey:h,hash:y.hash(),...l(y)}),u){const a=t(e.MARKER,o),r=i?s(a):a;u.color=u.color??y.color,p.push({materialKey:r,hash:u.hash(),lineWidth:y.width,...l(u)})}return{type:\"composite-symbol\",layers:p,hash:p.reduce(((e,a)=>a.hash+e),\"\")}}function h(a,r,n){const o=t(e.MARKER,r),i=n?s(o):o,c=l(a);return{materialKey:i,hash:a.hash(),...c,angle:a.angle,maxVVSize:r.maxVVSize}}function y(a,r,n){const o=t(e.TEXT,r),i=n?s(o):o,c=l(a);return{materialKey:i,hash:a.hash(),...c,angle:a.angle,maxVVSize:r.maxVVSize}}export{o as createSymbolSchema};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport{WGLGeometryType as e,WGLSymbologyType as t}from\"../../views/2d/engine/webgl/enums.js\";import{createMaterialKey as a}from\"../../views/2d/engine/webgl/materialKey/MaterialKey.js\";const s={marker:e.MARKER,fill:e.FILL,line:e.LINE,text:e.TEXT};class l{constructor(e,l,n,r){const c={minScale:l?.minScale,maxScale:l?.maxScale},m=i(c);this.layers=e,this.data=l,this.hash=this._createHash()+m,this.rendererKey=n;const o={isOutline:!1,placement:null,symbologyType:t.DEFAULT,vvFlags:n};for(const t of e){const e=s[t.type];o.isOutline=\"line\"===t.type&&t.isOutline,t.materialKey=a(e,o),t.maxVVSize=r,t.scaleInfo=c,t.templateHash+=m}}get type(){return\"expanded-cim\"}_createHash(){let e=\"\";for(const t of this.layers)e+=t.templateHash;return e}}function i(e){return e.minScale||e.maxScale?e.minScale+\"-\"+e.maxScale:\"\"}export{l as ExpandedCIM};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport{isDevEnvironment as t,adjustStaticAGOUrl as r}from\"../../../../core/devEnvironmentUtils.js\";import e from\"../../../../core/Error.js\";import{isSome as o}from\"../../../../core/maybe.js\";import{throwIfAborted as n}from\"../../../../core/promiseUtils.js\";import{urlToObject as s}from\"../../../../core/urlUtils.js\";import m from\"../../../../portal/Portal.js\";import{f as l}from\"../../../../chunks/persistableUrlUtils.js\";import{fetchStyle as a,Style2DUrlTemplate as i,requestJSON as c,makeCIMSymbolRef as y,symbolUrlFromStyleItem as f}from\"../../../../symbols/support/styleUtils.js\";async function u(t,r,o){if(!t.name)throw new e(\"style-symbol-reference-name-missing\",\"Missing name in style symbol reference\");if(t.styleName&&\"Esri2DPointSymbolsStyle\"===t.styleName)return p(t,o);try{return b(await a(t,r,o),t.name,r,o)}catch(s){return n(s),null}}async function p(t,r){const e=i.replace(/\\{SymbolName\\}/gi,t.name);try{const t=await c(e,r);return y(t.data)}catch(o){return n(o),null}}async function b(a,i,u,p){const b=a.data,d={portal:u&&o(u.portal)?u.portal:m.getDefault(),url:s(a.baseUrl),origin:\"portal-item\"},j=b.items.find((t=>t.name===i));if(!j){throw new e(\"symbolstyleutils:symbol-name-not-found\",`The symbol name '${i}' could not be found`,{symbolName:i})}let h=l(f(j,\"cimRef\"),d);t()&&(h=r(h));try{const t=await c(h,p);return y(t.data)}catch(w){return n(w),null}}export{u as fetchCIMSymbolReference};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport{analyzeCIMSymbol as e}from\"../../../../symbols/cim/cimAnalyzer.js\";import{ExpandedCIM as t}from\"../../../../symbols/cim/ExpandedCIM.js\";import{fetchCIMSymbolReference as a}from\"./webStyleUtils.js\";const r=async(e,t,a,r)=>Promise.all(e.map((e=>n(e,t,a,r)))),l=async(a,r,l)=>new t(await e(a.data,r,l),a.data,a.rendererKey,a.maxVVSize),n=async(e,t,r,n)=>{if(!e)return null;if(\"cim\"===e.type)return l(e,t,r);if(\"web-style\"===e.type){const i={type:\"cim\",data:await a(e,null,n),rendererKey:e.rendererKey,maxVVSize:e.maxVVSize};return l(i,t,r)}return e};function i(e){if(!e)return null;const{type:t,cim:a,url:r,materialHash:l}=e,n={cim:a,type:t,mosaicHash:l,url:r,size:null,dashTemplate:null,path:null,text:null,fontName:null,animatedSymbolProperties:null};switch(t){case\"marker\":n.size=e.size,n.path=e.path,n.animatedSymbolProperties=e.animatedSymbolProperties;break;case\"line\":n.dashTemplate=e.dashTemplate;break;case\"text\":n.text=e.text,n.fontName=e.fontName}return n}export{i as cimLayerToRasterizationInfo,n as expandSymbol,r as expandSymbols};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport e from\"../../../core/Error.js\";import r from\"../../../core/Logger.js\";import{isNone as t}from\"../../../core/maybe.js\";import{unquantizeMultipoint as o,unquantizePolyline as n,unquantizePolygon as a,unquantizePoint as s}from\"../../../geometry/support/quantizationUtils.js\";function i(e,o,n,a,s){if(t(e))return null;const i=e.referencesGeometry()&&s?c(o,a,s):o,u=e.repurposeFeature(i);try{return e.evaluate({...n,$feature:u})}catch(m){return r.getLogger(\"esri.views.2d.support.arcadeOnDemand\").warn(\"Feature arcade evaluation failed:\",m),null}}const u=new Map;function c(e,r,t){const{transform:o,hasZ:n,hasM:a}=t;u.has(r)||u.set(r,m(r));const s=u.get(r)(e.geometry,o,n,a);return{...e,geometry:s}}function m(t){const i={};switch(t){case\"esriGeometryPoint\":return(e,r,t,o)=>s(r,i,e,t,o);case\"esriGeometryPolygon\":return(e,r,t,o)=>a(r,i,e,t,o);case\"esriGeometryPolyline\":return(e,r,t,o)=>n(r,i,e,t,o);case\"esriGeometryMultipoint\":return(e,r,t,n)=>o(r,i,e,t,n);default:return r.getLogger(\"esri.views.2d.support.arcadeOnDemand\").error(new e(\"mapview-arcade\",`Unable to handle geometryType: ${t}`)),e=>e}}export{i as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport{bidiText as e}from\"../../../../core/BidiText.js\";import{unwrap as t}from\"../../../../core/maybe.js\";import{pt2px as n}from\"../../../../core/screenUtils.js\";import i from\"../../../../geometry/Polygon.js\";import{create as r}from\"../../../../geometry/support/aaBoundingRect.js\";import{getInfo as o}from\"../../../../geometry/support/spatialReferenceUtils.js\";import{getXAnchorDirection as s,getYAnchorDirection as l}from\"../../engine/webgl/alignmentUtils.js\";import{GLYPH_SIZE as m,MAGIC_LABEL_LINE_HEIGHT as a}from\"../../engine/webgl/definitions.js\";import{shapeGlyphs as f}from\"../../engine/webgl/mesh/templates/shapingUtils.js\";const c=512,g=50;function p(e,t){const n=o(t);if(!n)return null;const[i,s]=n.valid;return e[2]>s?[r([e[0],e[1],s,e[3]]),r([i,e[1],i+e[2]-s,e[3]])]:e[0]{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.25/esri/copyright.txt for details.\n*/\nimport{clamp as t}from\"./mathUtils.js\";function o(o,r,e=0){const i=t(o,0,f);for(let t=0;t<4;t++)r[e+t]=Math.floor(256*l(i*n[t]))}function r(t,o=0){let r=0;for(let n=0;n<4;n++)r+=t[o+n]*e[n];return r}const n=[1,256,65536,16777216],e=[1/256,1/65536,1/16777216,1/4294967296],f=r(new Uint8ClampedArray([255,255,255,255]));function l(t){return t-Math.floor(t)}export{o as packFloatRGBA,r as unpackFloatRGBA};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/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/arrayUtils.js\";import\"../../../core/accessorSupport/ensureType.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.25/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/arrayUtils.js\";import\"../../../core/accessorSupport/ensureType.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.25/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/arrayUtils.js\";import\"../../../core/accessorSupport/ensureType.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.25/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/arrayUtils.js\";import\"../../../core/accessorSupport/ensureType.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.25/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/arrayUtils.js\";import\"../../../core/accessorSupport/ensureType.js\";import{subclass as p}from\"../../../core/accessorSupport/decorators/subclass.js\";import{Container as c}from\"../engine/Container.js\";import h from\"../../layers/support/ClipRect.js\";import l from\"../../layers/support/Geometry.js\";import d from\"../../layers/support/Path.js\";const u=t.ofType({key:\"type\",base:null,typeMap:{rect:h,path:d,geometry:l}}),y=t=>{let h=class extends t{constructor(){super(...arguments),this.attached=!1,this.clips=new u,this.lastUpdateId=-1,this.moving=!1,this.updateRequested=!1,this.visibleAtCurrentScale=!1}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 c),this.container.fadeTransitionEnabled=!0,this.container.visible=!1,this.container.endTransitions(),this.handles.add([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),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=e&&this.isVisibleAtScale(e);t!==this.visibleAtCurrentScale&&this._set(\"visibleAtCurrentScale\",t)}),a)]),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.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}};return e([n()],h.prototype,\"attached\",void 0),e([n({type:u,set(e){const t=s(e,this._get(\"clips\"),u);this._set(\"clips\",t)}})],h.prototype,\"clips\",void 0),e([n()],h.prototype,\"container\",void 0),e([n()],h.prototype,\"moving\",void 0),e([n({readOnly:!0})],h.prototype,\"spatialReferenceSupported\",null),e([n({readOnly:!0})],h.prototype,\"updateParameters\",void 0),e([n()],h.prototype,\"updateRequested\",void 0),e([n()],h.prototype,\"updating\",null),e([n()],h.prototype,\"view\",void 0),e([n({readOnly:!0})],h.prototype,\"visibleAtCurrentScale\",void 0),h=e([p(\"esri.views.2d.layers.LayerView2D\")],h),h};export{y as LayerView2DMixin};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport e from\"../../../../core/Error.js\";import s from\"../../../../core/Logger.js\";import{WGLVVFlag as i}from\"./enums.js\";import{isNumber as r}from\"./Utils.js\";function l(l){return r(l.minDataValue)&&r(l.maxDataValue)&&null!=l.minSize&&null!=l.maxSize?i.SIZE_MINMAX_VALUE:(l.expression&&\"view.scale\"===l.expression||l.valueExpression&&\"$view.scale\"===l.valueExpression)&&Array.isArray(l.stops)?i.SIZE_SCALE_STOPS:(null!=l.field||l.expression&&\"view.scale\"!==l.expression||l.valueExpression&&\"$view.scale\"!==l.valueExpression)&&(Array.isArray(l.stops)||\"levels\"in l&&l.levels)?i.SIZE_FIELD_STOPS:(null!=l.field||l.expression&&\"view.scale\"!==l.expression||l.valueExpression&&\"$view.scale\"!==l.valueExpression)&&null!=l.valueUnit?i.SIZE_UNIT_VALUE:(s.getLogger(\"esri.views.2d.engine.webgl\").error(new e(\"mapview-bad-type\",\"Found invalid size VisualVariable\",l)),i.NONE)}export{l as getTypeOfSizeVisualVariable};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport{JSONMap as t}from\"../../../../core/jsonMap.js\";const o=new t({esriGeometryPoint:\"point\",esriGeometryMultipoint:\"multipoint\",esriGeometryPolyline:\"polyline\",esriGeometryPolygon:\"polygon\",esriGeometryMultiPatch:\"multipatch\",mesh:\"mesh\"});function e(t){return o.toJSON(t)}function n(t,o,e){const n=[],r=[];let l=0,i=0;for(const s of t){const t=i;let u=s[0][0],c=s[0][1];n[i++]=u,n[i++]=c;let p=0;for(let o=1;o0?(t-l>0&&(e(l,t,n,r),l=t),r.length=0):p<0&&t-l>0?r.push(.5*(t-l)):i=t}i-l>0&&e(l,i,n,r)}function r(t){const{bandCount:o,attributeTable:e,colormap:n,pixelType:r}=t.rasterInfo;return 1===o&&(null!=e||null!=n||\"u8\"===r||\"s8\"===r)}export{n as analyzeRings,r as canUseMajorityInterpolationOnDataSource,e as toJSONGeometryType};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport e from\"../../../../../core/Error.js\";import has from\"../../../../../core/has.js\";import r from\"../../../../../core/Logger.js\";import{toPt as t}from\"../../../../../core/screenUtils.js\";import{getWebGLCapabilities as o}from\"../../../../webgl/capabilities.js\";const s=8,l=s-2,a=r.getLogger(\"esri.views.2d.layers.features.support.rendererUtils\"),n=e=>{if(!(\"visualVariables\"in e)||!e.visualVariables||!e.visualVariables.length)return e;const r=e.clone(),t=r.visualVariables.map((e=>u(e)?p(e):e));return r.visualVariables=t,r};function i(e){return e.map((e=>u(e)?p(e.clone()):e))}function u(e){return(\"size\"===e.type||\"color\"===e.type||\"opacity\"===e.type)&&null!=e.stops}function p(e){return e.stops=m(e.type,e.stops),e}function c(e,r,t){return(1-t)*e+t*r}function f(e,r){const[o,...s]=r,a=s.pop(),n=s[0].value,i=s[s.length-1].value,u=(i-n)/l,p=[];for(let l=n;l=s[o].value;)o++;const a=s[o],n=r[o-1],i=l-n.value,u=a.value===n.value?1:i/(a.value-n.value);if(\"color\"===e){const e=s[o],t=r[o-1],a=e.color.clone();a.r=c(t.color.r,a.r,u),a.g=c(t.color.g,a.g,u),a.b=c(t.color.b,a.b,u),a.a=c(t.color.a,a.a,u),p.push({value:l,color:a,label:e.label})}else if(\"size\"===e){const e=s[o],a=r[o-1],n=t(e.size),i=c(t(a.size),n,u);p.push({value:l,size:i,label:e.label})}else{const e=s[o],t=c(r[o-1].opacity,e.opacity,u);p.push({value:l,opacity:t,label:e.label})}}return[o,...p,a]}function b(e){const[r,...t]=e,o=t.pop();for(;t.length>l;){let e=0,r=0;for(let o=1;or&&(r=a,e=o)}t.splice(e,1)}return[r,...t,o]}function m(e,r){return r.length<=s?r:(a.warn(`Found ${r.length} Visual Variable stops, but MapView only supports ${s}. Displayed stops will be simplified.`),r.length>2*s?f(e,r):b(r))}function g(){if(has(\"heatmap-force-raster\"))return\"raster\";const{supportsTextureFloat:e,supportsTextureHalfFloat:r,supportsColorBufferFloat:t,supportsColorBufferFloatBlend:s,supportsColorBufferHalfFloat:l}=o(\"2d\");return e&&t&&s||r&&l?\"symbol\":has(\"heatmap-allow-raster-fallback\")?\"raster\":\"none\"}function h(r){if(!r)return!0;switch(r.type){case\"dot-density\":if(!o(\"2d\").supportsTextureFloat)return a.error(new e(\"webgl-missing-extension\",\"Missing WebGL extension OES_Texture_Float which is required for DotDensity\")),!1;break;case\"heatmap\":{const r=g();if(\"none\"===r||\"raster\"===r&&!has(\"heatmap-force-raster\")){const t=o(\"2d\"),s=[\"supportsTextureFloat\",\"supportsTextureHalfFloat\",\"supportsColorBufferFloat\",\"supportsColorBufferFloatBlend\",\"supportsColorBufferHalfFloat\"].filter((e=>!t[e])).join(\", \");if(\"none\"===r)return a.errorOnce(new e(\"webgl-missing-extension\",`Missing WebGL${t.type} requirements for Heatmap: ${s}`)),!1;\"raster\"===r&&a.warnOnce(`Missing WebGL${t.type} requirements for accelerated Heatmap: ${s}. Feature support may be limited.`)}break}}return!0}export{g as getSupportedHeatmapRenderer,h as isRendererSupported,n as simplifyVVRenderer,i as simplifyVisualVariables};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport{pt2px as t}from\"../../../../../core/screenUtils.js\";import{CIMSymbolHelper as e}from\"../../../../../symbols/cim/CIMSymbolHelper.js\";import r from\"../../../../../symbols/cim/Rect.js\";import{AVERAGE_GLYPH_MOSAIC_ITEM as i}from\"../../../engine/webgl/definitions.js\";import{getTextSymbolSize as n}from\"../../graphics/graphicsUtils.js\";import{expandSymbol as s}from\"../../support/cimSymbolUtils.js\";const a={\"simple-marker\":1,\"picture-marker\":1,text:0,\"simple-line\":0,\"simple-fill\":0,\"picture-fill\":0,cim:1,\"web-style\":1},o=.707;function m(t,e){if(!(\"visualVariables\"in t))return 0;if(!t.hasVisualVariables(\"size\"))return 0;const r=t.getVisualVariablesForType(\"size\");if(!r[0])return 0;const i=r[0];if(e&&\"cluster_count\"===i.field&&\"cluster\"===e.type)return e.clusterMaxSize;if(\"outline\"===i.target)return 0;if(\"stops\"===i.transformationType)return i.stops.map((t=>t.size)).reduce(g,0);if(\"clamped-linear\"===i.transformationType){let t=-1/0,e=-1/0;return t=\"number\"==typeof i.maxSize?i.maxSize:i.maxSize.stops.map((t=>t.size)).reduce(g,0),e=\"number\"==typeof i.minSize?i.minSize:i.minSize.stops.map((t=>t.size)).reduce(g,0),Math.max(t,e)}return\"real-world-size\"===i.transformationType?30:void 0}function u(t){return t.type in a}async function c(e,r,i,n,s,a){if(!e||a&&\"cluster\"===a.type)return 0;if(\"heatmap\"===e.type)return Math.round(t(e.radius));if(\"dot-density\"===e.type)return 0;if(\"dictionary\"===e.type)return\"esriGeometryPoint\"===r||\"esriGeometryMultipoint\"===r?100:200;const o=e.getSymbols(),u=m(e),c=[];for(const t of o)c.push(x(t,u,i,r,n,s));const l=await Promise.all(c);return t(l.reduce(g,0))}const l=[0,0,0,0];function p(t,e){return t??e}function f(t,e){return null==t.outline?e:p(t.outline.width,e)}const y={sdf:!0,code:99,metrics:i.metrics,rect:new r(0,0,24,24),page:0,textureBinding:2};function h(t){const e=t.text&&t.text.length;if(!e)return{glyphMosaicItems:[y]};const r=[];for(let i=0;iO(s,e,t)));const l=r(e.subtypeCode)?`${e.subtypeField} = ${e.subtypeCode}`:null,a=o(e.definitionExpression,l);return{source:{definitionExpression:a,fields:e.fields.map((e=>e.toJSON())),gdbVersion:e.gdbVersion,historicMoment:e.historicMoment?.getTime(),outFields:e.availableFields,pixelBuffer:e.pixelBuffer,spatialReference:e.spatialReference.toJSON(),timeExtent:e.timeExtent?.toJSON(),customParameters:e.customParameters},attributes:{fields:{},indexCount:0},processors:i,tileRenderer:n,targets:s}}catch(i){if(i.fieldName===S)return T.error(i),null;throw i}}function O(t,r,i){switch(i.target){case\"feature\":return void M(t,N(r),i);case\"aggregate\":{if(!(\"featureReduction\"in r))return;const n=r.featureReduction;switch(n.type){case\"selection\":throw new e(S,\"Mapview does not support `selection` reduction type\",n);case\"binning\":return M(t,N(r),i),void L(t,n,r.fields.map((e=>e.toJSON())),i);case\"cluster\":return M(t,N(r),i),void R(t,n,r.fields.map((e=>e.toJSON())),i)}}}}function z(e,t){for(const r in t){const i=t[r];if(i.target!==e.name)continue;const n=e.attributes[r];n?(n.context.mesh=n.context.mesh||i.context.mesh,n.context.storage=n.context.storage||i.context.storage):e.attributes[r]=i}return e}function N(e){return[i(e.filter)?.toJSON()??null,i(i(e.featureEffect)?.filter)?.toJSON()??null]}function M(e,t,r){return e.feature||(e.feature={name:\"feature\",input:\"source\",filters:t,attributes:{}}),z(e.feature,r.attributes.fields),e}function j(t,r){const{onStatisticExpression:i,onStatisticField:n,statisticType:s}=t;switch(s){case\"min\":case\"max\":case\"avg\":case\"avg_angle\":case\"sum\":case\"count\":return\"esriFieldTypeDouble\";case\"mode\":{if(i){const{returnType:r}=i;return r?\"string\"===r?\"esriFieldTypeString\":\"esriFieldTypeDouble\":(T.error(new e(S,\"Unable to infer type of aggregateField with onStatisticExpression. ReturnType is not defined\",t)),\"esriFieldTypeString\")}const s=r.find((e=>e.name===n));return s?s.type:(T.error(new e(S,\"Unable to infer type of aggregateField with onStatisticExpression. ReturnType is not defined\",t)),\"esriFieldTypeString\")}}}function L(e,t,r,i){return e.aggregate||(e.aggregate={name:\"aggregate\",type:\"bin\",filters:null,input:\"feature\",params:{fixedBinLevel:t.fixedBinLevel,fields:(t.fields??[]).map((e=>({...e.toJSON(),type:j(e,r)})))},attributes:{}}),z(e.aggregate,i.attributes.fields),e}function R(e,t,r,i){return e.aggregate||(e.aggregate={name:\"aggregate\",type:\"cluster\",input:\"feature\",filters:null,attributes:{},params:{clusterRadius:l(t.clusterRadius/2),clusterPixelBuffer:64*Math.ceil(l(t.clusterMaxSize)/64),fields:(t.fields??[])?.map((e=>({...e.toJSON(),type:j(e,r)})))}}),z(e.aggregate,i.attributes.fields),e}function U(e,t){return t.field?B(e,{...t,type:\"field\",field:t.field}):t.valueExpression?B(e,{...t,type:\"expression\",valueExpression:t.valueExpression}):{field:null,fieldIndex:null}}function B(e,t){switch(t.type){case\"expression\":{const r=E(t.valueExpression);if(!e.fields[r]){const i=e.indexCount++;e.fields[r]={...t,name:r,fieldIndex:i}}return{fieldIndex:e.fields[r].fieldIndex}}case\"label-expression\":{const r=E(JSON.stringify(t.label));if(!e.fields[r]){const i=e.indexCount++;e.fields[r]={...t,name:r,fieldIndex:i}}return{fieldIndex:e.fields[r].fieldIndex}}case\"field\":{const r=t.field;return\"aggregate\"===t.target&&e.fields[r]||(e.fields[r]={...t,name:r}),{field:r}}case\"statistic\":return e.fields[t.name]={...t},{field:t.name}}}function D(e,t=!1){const r=new Array;let i=0;return r.push(A(e,i++,t)),r}function P(e,t,r,i,n,s=!1){const l=B(e,{type:\"label-expression\",target:r,context:{mesh:!0},resultType:\"string\",label:{labelExpression:t.labelExpression,labelExpressionInfo:t.labelExpressionInfo?{expression:t.labelExpressionInfo.expression}:null,symbol:!!t.symbol,where:t.where}}),{fieldIndex:o}=l;return{...y(t,n,s),fieldIndex:o,target:r,index:i}}function k(t,r,i){const n=\"featureReduction\"in r&&r.featureReduction;if(!n)return{fields:[],labels:[],matcher:null,rendererOverride:null};const s=\"aggregate\",l=[];let o=null,a=v(r.geometryType),d=[],f=null;if(n)switch(n.type){case\"selection\":return T.error(new e(S,\"Mapview does not support `selection` reduction type\",n)),{fields:[],labels:[],matcher:null,rendererOverride:null};case\"cluster\":case\"binning\":if(l.push(...n.fields??[]),\"cluster\"===n.type?a=\"esriGeometryPoint\":\"binning\"===n.type&&(a=\"esriGeometryPolygon\"),n.renderer&&!n.renderer.authoringInfo?.isAutoGenerated){if(\"cluster\"===n.type){const{renderer:e}=x(n.renderer,n,null);f=e}else f=n.renderer;const e=w(n.renderer,n);o=$(null,s,n.renderer,e,i),d=n&&n.labelsVisible&&n.labelingInfo||[]}else if(\"cluster\"===n.type){if(f=h(l,r.renderer,n,null,!0),n.symbol){const e=w(f,n);o={type:\"simple\",symbol:y(n.symbol,e,i),symbologyType:e.symbologyType}}d=n&&n.labelsVisible&&n.labelingInfo||[]}}_(t,l);return{labels:u(d,\"binning\"===n.type?\"esriGeometryPolygon\":a),matcher:o,fields:l,rendererOverride:f}}function A(t,i,n=!1){const s={indexCount:0,fields:{}},l=\"featureReduction\"in t&&t.featureReduction,o=l?\"aggregate\":\"feature\";if(\"sublayers\"in t){const i={type:\"subtype\",subtypeField:t.subtypeField,renderers:{},symbologyType:d.DEFAULT},l={type:\"subtype\",mapping:{},target:\"feature\"},a={type:\"subtype\",classes:{}},u={type:\"symbol\",target:\"feature\",aggregateFields:[],attributes:s,storage:l,mesh:{matcher:i,aggregateMatcher:null,labels:a,sortKey:null}},f=new Set;let p=0;for(const{renderer:c,subtypeCode:y,labelingInfo:m,labelsVisible:g}of t.sublayers){const t={symbologyType:d.DEFAULT,vvFlags:0,maxVVSize:0},u=$(s,o,c,t,n),b=q(s,o,c),x=g&&m;if(\"visualVariables\"in c&&c.visualVariables&&c.visualVariables.length)throw new e(S,\"Visual variables are currently not supported for subtype layers\");if(\"dictionary\"===u.type)throw new e(S,\"Dictionary renderer is not supported in subtype layers\");if(\"subtype\"===u.type)throw new e(S,\"Nested subtype renderers is not supported\");if(r(b)&&\"subtype\"===b.type)throw new e(S,\"Nested subtype storage is not supported\");if(r(b)&&r(b.attributeMapping))throw new e(S,\"Non-visual-variable attributes are not supported in subtype layers\");if(\"heatmap\"===u.type)throw new e(S,\"Heatmaps are not supported in subtype layers\");if(\"pie-chart\"===u.type)throw new e(S,\"Pie-charts are not supported in subtype layers\");if(f.has(y))throw new e(S,\"Subtype codes for sublayers must be unique\");f.add(y),i.renderers[y]=u,l.mapping[y]=b,x&&(a.classes[y]=x.map((e=>P(s,e,\"feature\",p++,t,n))))}return u}if(\"heatmap\"===t.renderer.type&&\"raster\"===g()){const{radius:e,fieldOffset:r,field:i}=t.renderer;return{type:\"heatmap\",aggregateFields:[],attributes:s,target:o,storage:null,mesh:{radius:e,fieldOffset:r,field:U(s,{target:o,field:i,resultType:\"numeric\"}).field}}}const a=k(s,t,n),f=v(t.geometryType),p=a.rendererOverride??t.renderer,c=w(p,l),y=$(s,o,p,c,n),m=q(s,o,p),b=J(s,t.orderBy,l),x=t.labelsVisible&&t.labelingInfo||[],h=u(x,f);let T=0;const E=[...h.map((e=>P(s,e,\"feature\",T++,c,n))),...a.labels.map((e=>P(s,e,\"aggregate\",T++,c,n)))];return{type:\"symbol\",target:o,attributes:s,aggregateFields:a.fields,storage:m,mesh:{matcher:y,labels:{type:\"simple\",classes:E},aggregateMatcher:a.matcher,sortKey:b}}}function C(e){return\"heatmap\"===e.renderer?.type&&\"raster\"===g()?{type:\"heatmap\"}:{type:\"symbol\"}}function J(t,i,s){if(r(s)||n(i)||!i.length)return null;i.length>1&&T.warn(`Layer rendering currently only supports ordering by 1 orderByInfo, but found ${i.length}. All but the first will be discarded`);const l=i[0],o=\"ascending\"===l.order?\"asc\":\"desc\";if(l.field)return{field:l.field,order:o};if(l.valueExpression){return{fieldIndex:B(t,{type:\"expression\",target:\"feature\",valueExpression:l.valueExpression,resultType:\"numeric\"}).fieldIndex,order:o}}return T.error(new e(S,\"Expected to find a field or valueExpression for OrderByInfo\",l)),null}function _(e,t){const r={mesh:!0,storage:!0};for(const i of t){const{name:t,onStatisticField:n,onStatisticExpression:s,statisticType:l}=i;let o=null,a=null;const u=\"numeric\",d=\"feature\";if(s){a=B(e,{type:\"expression\",target:d,valueExpression:s.expression,resultType:u}).fieldIndex}else{o=B(e,{type:\"field\",target:d,field:n,resultType:u}).field}B(e,{type:\"statistic\",target:\"aggregate\",name:t,context:r,inField:o,inFieldIndex:a,statisticType:l})}}function q(e,t,r){let i;switch(r.type){case\"simple\":case\"class-breaks\":case\"unique-value\":case\"dictionary\":i={visualVariables:!0,attributes:null};break;default:i=p(r).getStorageSpec(r)}return G(e,t,i,r)}function G(e,t,i,s){if(n(i))return null;const{visualVariables:l,attributes:o}=i;let a=null;l&&\"visualVariables\"in s&&(a=H(e,t,s.visualVariables));const u=r(a)?4:0;let d=null;return r(o)&&(d=o.map(((r,i)=>{const{field:n,fieldIndex:s}=U(e,{valueExpression:r.valueExpression,field:r.field,resultType:\"numeric\",target:t});return{binding:i+u,field:n,fieldIndex:s}}))),{type:\"simple\",target:t,attributeMapping:d,vvMapping:a}}function H(e,t,r){if(!r||!r.length)return[];const i={storage:!0},n=\"numeric\";return b(r).map((r=>{const s=f(r.type),{field:l,fieldIndex:o}=U(e,{target:t,valueExpression:r.valueExpression,field:r.field,context:i,resultType:n});switch(r.type){case\"size\":return\"$view.scale\"===r.valueExpression?null:{type:\"size\",binding:s,field:l,fieldIndex:o,normalizationField:U(e,{target:t,field:r.normalizationField,context:i,resultType:n}).field,valueRepresentation:r.valueRepresentation??null};case\"color\":return{type:\"color\",binding:s,field:l,fieldIndex:o,normalizationField:U(e,{target:t,field:r.normalizationField,context:i,resultType:n}).field};case\"opacity\":return{type:\"opacity\",binding:s,field:l,fieldIndex:o,normalizationField:U(e,{target:t,field:r.normalizationField,context:i,resultType:n}).field};case\"rotation\":return{type:\"rotation\",binding:s,field:l,fieldIndex:o}}})).filter((e=>e))}function $(e,t,r,i,n=!1){const l=s(e,{indexCount:0,fields:{}});switch(r.type){case\"simple\":case\"dot-density\":return K(l,r,i,n);case\"class-breaks\":return Q(l,t,r,i,n);case\"unique-value\":return W(l,t,r,i,n);case\"dictionary\":return X(l,r,i,n);case\"heatmap\":return Z(l,r,i,n);case\"pie-chart\":return Y(l,r,i,n)}}function K(e,t,r,i=!1){const n=t.getSymbols(),s=n.length?n[0]:null;return{type:\"simple\",symbol:y(s,r,i),symbologyType:r.symbologyType}}function Y(e,t,r,i=!1){const n=t.getSymbols(),s=n[0],l=n.length>1?n[1]:null;return{type:\"pie-chart\",markerSymbol:y(s,r,i),fillSymbol:y(l,r,i),symbologyType:r.symbologyType}}function Q(e,t,r,i,n=!1){const s={mesh:!0,use:\"renderer.field\"},l=r.backgroundFillSymbol,{field:o,fieldIndex:a}=U(e,{target:t,field:r.field,valueExpression:r.valueExpression,resultType:\"numeric\",context:s}),u=r.normalizationType,d=\"log\"===u?\"esriNormalizeByLog\":\"percent-of-total\"===u?\"esriNormalizeByPercentOfTotal\":\"field\"===u?\"esriNormalizeByField\":null,f=r.classBreakInfos.map((e=>({symbol:y(e.symbol,i,n),min:e.minValue,max:e.maxValue}))).sort(((e,t)=>e.min-t.min));return{type:\"interval\",attributes:e.fields,field:o,fieldIndex:a,backgroundFillSymbol:y(l,i,n),defaultSymbol:y(r.defaultSymbol,i,n),intervals:f,normalizationField:r.normalizationField,normalizationTotal:r.normalizationTotal,normalizationType:d,isMaxInclusive:r.isMaxInclusive,symbologyType:i.symbologyType}}function W(t,r,i,n,s=!1){const l=[],o=i.backgroundFillSymbol,a={target:r,context:{mesh:!0},resultType:\"string\"};if(i.field&&\"string\"!=typeof i.field)throw new e(S,\"Expected renderer.field to be a string\",i);const{field:u,fieldIndex:d}=U(t,{...a,field:i.field,valueExpression:i.valueExpression});for(const e of i.uniqueValueInfos)l.push({value:\"\"+e.value,symbol:y(e.symbol,n,s)});return{type:\"map\",attributes:t.fields,field:u,fieldIndex:d,field2:U(t,{...a,field:i.field2}).field,field3:U(t,{...a,field:i.field3}).field,fieldDelimiter:i.fieldDelimiter,backgroundFillSymbol:y(o,n),defaultSymbol:y(i.defaultSymbol,n),map:l,symbologyType:n.symbologyType}}function X(e,t,r,i=!1){return{type:\"dictionary\",config:t.config,fieldMap:t.fieldMap,scaleExpression:t.scaleExpression,url:t.url,symbolOptions:r,symbologyType:r.symbologyType}}function Z(e,t,r,i=!1){const n=t.getSymbols(),s=n.length?n[0]:null;return{type:\"heatmap\",symbol:y(s,r,i),symbologyType:r.symbologyType}}export{_ as addAggregateFields,$ as createMatcherSchema,U as createRendererAttributeSchema,F as createSchema,w as createSymbolSchemaOptions};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/esri/copyright.txt for details.\n*/\nimport{WGLVVFlag as t}from\"../enums.js\";import{getTypeOfSizeVisualVariable as o}from\"../visualVariablesUtils.js\";function e(e){if(!e)return t.NONE;let r=0;for(const i of e)if(\"size\"===i.type){const t=o(i);r|=t,\"outline\"===i.target&&(r|=t<<4)}else\"color\"===i.type?r|=t.COLOR:\"opacity\"===i.type?r|=t.OPACITY:\"rotation\"===i.type&&(r|=t.ROTATION);return r}export{e as getVVFlags};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.25/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/arrayUtils.js\";import\"../../core/accessorSupport/ensureType.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.25/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"],"sourceRoot":""}