{"version":3,"sources":["webpack:///./node_modules/@arcgis/core/views/layers/OGCFeatureLayerView.js","webpack:///./node_modules/@arcgis/core/views/2d/layers/OGCFeatureLayerView2D.js"],"names":["t","a","layer","e","view","s","this","source","supportsSpatialReference","spatialReference","addResolvingPromise","Promise","reject","fieldsIndex","fields","map","name","prototype","readOnly"],"mappings":"kQAImV,MAAM,EAAEA,IAAI,IAAIC,EAAE,cAAcD,EAAE,aAAa,MAAME,MAAMC,EAAEC,KAAKC,GAAGC,KAAKH,EAAEI,OAAOC,yBAAyBH,EAAEI,mBAAmBH,KAAKI,oBAAoBC,QAAQC,OAAO,IAAI,OAAE,2CAA2C,6GAA6G,CAACV,MAAMC,MAAM,sBAAsB,OAAOG,KAAKJ,MAAMW,YAAYC,OAAOC,IAAKZ,GAAGA,EAAEa,QAAS,OAAO,eAAE,CAAC,kBAAKf,EAAEgB,UAAU,aAAQ,GAAQ,eAAE,CAAC,eAAE,CAACC,UAAS,KAAMjB,EAAEgB,UAAU,kBAAkB,MAAMhB,EAAE,eAAE,CAAC,eAAE,0CAA0CA,GAAGA,GCA7e,IAAI,EAAE,cAAc,EAAE,iBAAM,EAAE,eAAE,CAAC,eAAE,+CAA+C,GAAG,IAAI,EAAE","file":"js/chunk-2d0dace6.aa311339.js","sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.21/esri/copyright.txt for details.\n*/\nimport{_ as e}from\"../../chunks/tslib.es6.js\";import r from\"../../core/Error.js\";import{property as s}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/has.js\";import\"../../core/accessorSupport/ensureType.js\";import\"../../core/Logger.js\";import{subclass as o}from\"../../core/accessorSupport/decorators/subclass.js\";const t=t=>{let a=class extends t{initialize(){const{layer:e,view:s}=this;e.source.supportsSpatialReference(s.spatialReference)||this.addResolvingPromise(Promise.reject(new r(\"layerview:spatial-reference-incompatible\",\"The spatial references supported by this OGC layer are incompatible with the spatial reference of the view\",{layer:e})))}get availableFields(){return this.layer.fieldsIndex.fields.map((e=>e.name))}};return e([s()],a.prototype,\"layer\",void 0),e([s({readOnly:!0})],a.prototype,\"availableFields\",null),a=e([o(\"esri.views.layers.OGCFeatureLayerView\")],a),a};export{t as OGCFeatureLayerView,t as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.21/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../../../chunks/tslib.es6.js\";import\"../../../core/accessorSupport/decorators/property.js\";import\"../../../core/has.js\";import\"../../../core/accessorSupport/ensureType.js\";import\"../../../core/Logger.js\";import{subclass as e}from\"../../../core/accessorSupport/decorators/subclass.js\";import s from\"./FeatureLayerView2D.js\";import{OGCFeatureLayerView as o}from\"../../layers/OGCFeatureLayerView.js\";let t=class extends(o(s)){};t=r([e(\"esri.views.2d.layers.OGCFeatureLayerView2D\")],t);var a=t;export{a as default};\n"],"sourceRoot":""}