@arcgis/core 5.0.0-next.30 → 5.0.0-next.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/Basemap.js +1 -1
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/{406d270ae2b3cf9e1f1b.js → 05e55118dc0023d500fc.js} +1 -1
  4. package/assets/esri/core/workers/chunks/{93fe46be3c7fe34b5361.js → 1432e789aa4cba627337.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{6e9d731cb20307b83ab0.js → 1e55f152b60145f33b61.js} +1 -1
  6. package/assets/esri/core/workers/chunks/444026d1938c1078ca97.js +1 -0
  7. package/assets/esri/core/workers/chunks/{a425ffec91d07bbfeb80.js → 565358ea8d1bdc4d1ebc.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{d769c1b18e2710e0388b.js → a6324f5f560ffadc6e5d.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{a091623bbfb3d771c8d8.js → d8db2c51b2fb42f37b2a.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{984bb0943d07c86b7e77.js → ded3ef385d5a3a2ec8ca.js} +1 -1
  11. package/config.js +1 -1
  12. package/core/Message.js +1 -1
  13. package/geometry/Circle.js +1 -1
  14. package/geometry/Extent.js +1 -1
  15. package/geometry/geodesicUtils.js +5 -0
  16. package/geometry/support/geodesicUtils.js +1 -1
  17. package/interfaces.d.ts +427 -187
  18. package/kernel.js +1 -1
  19. package/layers/graphics/OptimizedGeometry.js +1 -1
  20. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  21. package/layers/knowledgeGraph/SessionMemoryStorage.js +1 -1
  22. package/layers/support/BuildingFilterBlock.js +1 -1
  23. package/package.json +2 -2
  24. package/rest/support/QueryMixin.js +1 -1
  25. package/support/revision.js +1 -1
  26. package/views/2d/analysis/AreaMeasurement/AreaMeasurementController.js +1 -1
  27. package/views/2d/analysis/DistanceMeasurement/DistanceMeasurementController.js +1 -1
  28. package/views/2d/grid/gridUtils.js +1 -1
  29. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  30. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  31. package/views/2d/layers/MediaLayerView2D.js +1 -1
  32. package/views/2d/layers/OGCFeatureLayerView2D.js +1 -1
  33. package/views/2d/layers/StreamLayerView2D.js +1 -1
  34. package/views/3d/GroundView3D.js +1 -1
  35. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  36. package/views/3d/environment/SceneViewEnvironment.js +1 -1
  37. package/views/3d/interactive/editingTools/reshape/edgeOffsetUtils.js +1 -1
  38. package/views/3d/layers/DimensionLayerView3D.js +1 -1
  39. package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
  40. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  41. package/views/3d/layers/I3SMeshView3D.js +1 -1
  42. package/views/3d/layers/ImageryLayerView3D.js +1 -1
  43. package/views/3d/layers/LineOfSightLayerView3D.js +1 -1
  44. package/views/3d/layers/MediaLayerView3D.js +1 -1
  45. package/views/3d/layers/OGCFeatureLayerView3D.js +1 -1
  46. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  47. package/views/3d/layers/StreamLayerView3D.js +1 -1
  48. package/views/3d/layers/ViewshedLayerView3D.js +1 -1
  49. package/views/3d/layers/graphics/Graphics3DElevationAlignment.js +1 -1
  50. package/views/3d/layers/i3s/I3SOverrides.js +1 -1
  51. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  52. package/views/3d/layers/i3s/LayerElevationProvider.js +1 -1
  53. package/views/SceneView.js +1 -1
  54. package/views/analysis/ElevationProfile/elevationProfileGeometryUtils.js +1 -1
  55. package/views/interactive/sketch/constraintUtils.js +1 -1
  56. package/views/interactive/sketch/constraints.js +1 -1
  57. package/views/layers/DimensionLayerView.js +1 -1
  58. package/views/layers/DimensionLayerViewMixin.js +5 -0
  59. package/views/layers/FeatureLayerView.js +1 -1
  60. package/views/layers/FeatureLayerViewMixin.d.ts +2 -2
  61. package/views/layers/FeatureLayerViewMixin.js +5 -0
  62. package/views/layers/ImageryLayerView.js +1 -1
  63. package/views/layers/ImageryLayerViewMixin.js +5 -0
  64. package/views/layers/LineOfSightLayerView.js +1 -1
  65. package/views/layers/LineOfSightLayerViewMixin.js +5 -0
  66. package/views/layers/MediaLayerView.js +1 -1
  67. package/views/layers/MediaLayerViewMixin.js +5 -0
  68. package/views/layers/OGCFeatureLayerView.js +1 -1
  69. package/views/layers/PointCloudLayerView.js +1 -1
  70. package/views/layers/StreamLayerView.js +1 -1
  71. package/views/layers/ViewshedLayerView.js +1 -1
  72. package/views/layers/ViewshedLayerViewMixin.js +5 -0
  73. package/views/support/LayerLayerViewInfo.js +1 -1
  74. package/views/support/PromiseQueue.js +1 -1
  75. package/views/support/angularMeasurementUtils.js +1 -1
  76. package/views/support/drapedUtils.js +1 -1
  77. package/views/support/geodesicAreaMeasurementUtils.js +1 -1
  78. package/views/support/geodesicLengthMeasurementUtils.js +1 -1
  79. package/views/support/geodesicMeasurementUtils.js +1 -1
  80. package/webscene/Environment.js +1 -1
  81. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  82. package/widgets/Attribution.js +1 -1
  83. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  84. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  85. package/widgets/ElevationProfile/support/geometryUtils.js +1 -1
  86. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  87. package/widgets/Popup.js +1 -1
  88. package/widgets/ScaleBar/ScaleBarViewModel.js +1 -1
  89. package/widgets/Sketch/support/ResponsiveToolbar/ResponsiveToolbar.js +1 -1
  90. package/widgets/support/forms/expressions/FormExpressionArcadeExecutor.js +1 -1
  91. package/assets/esri/core/workers/chunks/b66e41d626a7d1b81d48.js +0 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1956],{7562:(e,t,r)=>{r.d(t,{A:()=>d});var o,i=r(31635),s=r(66552),n=r(25482),a=r(4718),l=r(91429),p=r(43937);const u=new s.J({count:"count",sum:"sum",min:"min",max:"max",avg:"avg",stddev:"stddev",var:"var",exceedslimit:"exceedslimit",percentile_cont:"percentile-continuous",percentile_disc:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate"});let d=o=class extends n.o{constructor(e){super(e),this.maxPointCount=void 0,this.maxRecordCount=void 0,this.maxVertexCount=void 0,this.onStatisticField=null,this.outStatisticFieldName=null,this.statisticType=null,this.statisticParameters=null}writeStatisticParameters(e,t){"percentile-continuous"!==this.statisticType&&"percentile-discrete"!==this.statisticType||(t.statisticParameters=(0,a.o8)(e))}clone(){return new o({maxPointCount:this.maxPointCount,maxRecordCount:this.maxRecordCount,maxVertexCount:this.maxVertexCount,onStatisticField:this.onStatisticField,outStatisticFieldName:this.outStatisticFieldName,statisticType:this.statisticType,statisticParameters:(0,a.o8)(this.statisticParameters)})}};(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxPointCount",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxRecordCount",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxVertexCount",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"onStatisticField",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"outStatisticFieldName",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{read:{source:"statisticType",reader:u.read},write:{target:"statisticType",writer:u.write}}})],d.prototype,"statisticType",void 0),(0,i.Cg)([(0,l.MZ)({type:Object})],d.prototype,"statisticParameters",void 0),(0,i.Cg)([(0,p.K)("statisticParameters")],d.prototype,"writeStatisticParameters",null),d=o=(0,i.Cg)([(0,l.$K)("esri.rest.support.StatisticDefinition")],d)},27348:(e,t,r)=>{r.d(t,{A:()=>d});var o,i=r(31635),s=r(66552),n=r(25482),a=r(4718),l=r(91429),p=r(5443);const u=new s.J({upperLeft:"upper-left",lowerLeft:"lower-left"});let d=o=class extends n.o{constructor(e){super(e),this.extent=null,this.mode="view",this.originPosition="upper-left",this.tolerance=1}clone(){return new o((0,a.o8)({extent:this.extent,mode:this.mode,originPosition:this.originPosition,tolerance:this.tolerance}))}};(0,i.Cg)([(0,l.MZ)({type:p.A,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"extent",void 0),(0,i.Cg)([(0,l.MZ)({type:["view","edit"],json:{write:!0}})],d.prototype,"mode",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{read:u.read,write:u.write}})],d.prototype,"originPosition",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"tolerance",void 0),d=o=(0,i.Cg)([(0,l.$K)("esri.rest.support.QuantizationParameters")],d)},27733:(e,t,r)=>{r.d(t,{L:()=>P});var o,i=r(31635),s=r(66552),n=r(25482),a=r(91429),l=r(56507),p=r(90360),u=r(20437),d=r(49053),c=r(16930),y=r(50498),g=r(93223);let h=o=class extends n.o{constructor(e){super(e),this.type="query-table"}clone(){const{workspaceId:e,query:t,oidFields:r,spatialReference:i,geometryType:s}=this,n={workspaceId:e,query:t,oidFields:r,spatialReference:i?.clone()??void 0,geometryType:s};return new o(n)}};var m;(0,i.Cg)([(0,g.e)({queryTable:"query-table"}),(0,a.MZ)({json:{write:{isRequired:!0}}})],h.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"workspaceId",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"query",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"oidFields",void 0),(0,i.Cg)([(0,a.MZ)({type:c.A,json:{write:!0}})],h.prototype,"spatialReference",void 0),(0,i.Cg)([(0,g.e)(y.gy)],h.prototype,"geometryType",void 0),h=o=(0,i.Cg)([(0,a.$K)("esri.layers.support.source.QueryTableDataSource")],h);let C=m=class extends n.o{constructor(e){super(e),this.type="raster"}clone(){const{workspaceId:e,dataSourceName:t}=this;return new m({workspaceId:e,dataSourceName:t})}};var v;(0,i.Cg)([(0,g.e)({raster:"raster"}),(0,a.MZ)({json:{write:{isRequired:!0}}})],C.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],C.prototype,"dataSourceName",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],C.prototype,"workspaceId",void 0),C=m=(0,i.Cg)([(0,a.$K)("esri.layers.support.source.RasterDataSource")],C);let w=v=class extends n.o{constructor(e){super(e),this.type="table"}clone(){const{workspaceId:e,gdbVersion:t,dataSourceName:r}=this;return new v({workspaceId:e,gdbVersion:t,dataSourceName:r})}};(0,i.Cg)([(0,g.e)({table:"table"}),(0,a.MZ)({json:{write:{isRequired:!0}}})],w.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],w.prototype,"workspaceId",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],w.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],w.prototype,"dataSourceName",void 0),w=v=(0,i.Cg)([(0,a.$K)("esri.layers.support.source.TableDataSource")],w);var S,M,j=r(36005);const f=(0,s.O)()({esriLeftInnerJoin:"left-inner-join",esriLeftOuterJoin:"left-outer-join"});let b=S=class extends n.o{constructor(e){super(e),this.type="join-table"}readLeftTableSource(e,t,r){return T()(e,t,r)}castLeftTableSource(e){return(0,l.aq)(x(),e)}readRightTableSource(e,t,r){return T()(e,t,r)}castRightTableSource(e){return(0,l.aq)(x(),e)}clone(){const{leftTableKey:e,rightTableKey:t,leftTableSource:r,rightTableSource:o,joinType:i}=this,s={leftTableKey:e,rightTableKey:t,leftTableSource:r?.clone()??void 0,rightTableSource:o?.clone()??void 0,joinType:i};return new S(s)}};(0,i.Cg)([(0,g.e)({joinTable:"join-table"}),(0,a.MZ)({json:{write:{isRequired:!0}}})],b.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],b.prototype,"leftTableKey",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],b.prototype,"rightTableKey",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"leftTableSource",void 0),(0,i.Cg)([(0,j.w)("leftTableSource")],b.prototype,"readLeftTableSource",null),(0,i.Cg)([(0,a.wg)("leftTableSource")],b.prototype,"castLeftTableSource",null),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"rightTableSource",void 0),(0,i.Cg)([(0,j.w)("rightTableSource")],b.prototype,"readRightTableSource",null),(0,i.Cg)([(0,a.wg)("rightTableSource")],b.prototype,"castRightTableSource",null),(0,i.Cg)([(0,g.e)(f)],b.prototype,"joinType",void 0),b=S=(0,i.Cg)([(0,a.$K)("esri.layers.support.source.JoinTableDataSource")],b);let Z=null;function T(){return Z||(Z=(0,p.C)({types:x()})),Z}let R=null;function x(){return R||(R={key:"type",base:null,typeMap:{"data-layer":P,"map-layer":d.f}}),R}const F={key:"type",base:null,typeMap:{"join-table":b,"query-table":h,raster:C,table:w}};let P=class extends n.o{static{M=this}constructor(e){super(e),this.type="data-layer"}clone(){const{fields:e,dataSource:t}=this;return new M({fields:e,dataSource:t})}};(0,i.Cg)([(0,g.e)({dataLayer:"data-layer"}),(0,a.MZ)({json:{write:{isRequired:!0}}})],P.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:[u.A],json:{write:!0}})],P.prototype,"fields",void 0),(0,i.Cg)([(0,a.MZ)({types:F,json:{write:!0}})],P.prototype,"dataSource",void 0),P=M=(0,i.Cg)([(0,a.$K)("esri.layers.support.source.DataLayerSource")],P),P.from=(0,l.dp)(P)},49053:(e,t,r)=>{r.d(t,{f:()=>p});var o,i=r(31635),s=r(25482),n=r(91429),a=r(56507),l=r(93223);let p=o=class extends s.o{constructor(e){super(e),this.type="map-layer"}clone(){const{mapLayerId:e,gdbVersion:t}=this;return new o({mapLayerId:e,gdbVersion:t})}};(0,i.Cg)([(0,l.e)({mapLayer:"map-layer"}),(0,n.MZ)({json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)({type:a.jz,json:{write:{isRequired:!0}}})],p.prototype,"mapLayerId",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"gdbVersion",void 0),p=o=(0,i.Cg)([(0,n.$K)("esri.layers.support.source.MapLayerSource")],p)},58174:(e,t,r)=>{r.d(t,{x:()=>o});const o=new(r(66552).J)({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"})},61956:(e,t,r)=>{r.d(t,{A:()=>T});var o=r(31635),i=r(66552),s=r(25482),n=r(4718),a=r(91429),l=r(56507),p=r(86738),u=r(16930),d=r(65864),c=r(50498),y=r(27733),g=r(69540);let h=class extends((0,g.OU)(s.o)){constructor(e){super(e),this.onFields=null,this.operator=null,this.searchTerm=null,this.searchType=null}};(0,o.Cg)([(0,a.MZ)({type:[String],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.onFields&&this.onFields.length>0}}}}})],h.prototype,"onFields",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"operator",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"searchTerm",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"searchType",void 0),h=(0,o.Cg)([(0,a.$K)("esri.rest.support.FullTextSearch")],h);const m=h;var C,v=r(27348),w=r(77696),S=r(58174),M=r(7562),j=r(79677),f=r(43937),b=r(93223);const Z=new i.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let T=class extends((0,w.y)(s.o)){static{C=this}static from(e){return(0,l.PZ)(C,e)}constructor(e){super(e),this.aggregateIds=null,this.cacheHint=void 0,this.compactGeometryEnabled=!1,this.datumTransformation=null,this.defaultSpatialReferenceEnabled=!1,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.fullText=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.returnTrueCurves=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.where=null}castDatumTransformation(e){return"number"==typeof e||"object"==typeof e?e:null}writeHistoricMoment(e,t){t.historicMoment=e&&e.getTime()}writeParameterValues(e,t){if(e){const r={};for(const t in e){const o=e[t];Array.isArray(o)?r[t]=o.map(e=>e instanceof Date?e.getTime():e):o instanceof Date?r[t]=o.getTime():r[t]=o}t.parameterValues=r}}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10,t.where="1=1"}writeWhere(e,t){t.where=e||"1=1"}clone(){return new C((0,n.o8)({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,compactGeometryEnabled:this.compactGeometryEnabled,datumTransformation:this.datumTransformation,defaultSpatialReferenceEnabled:this.defaultSpatialReferenceEnabled,distance:this.distance,fullText:this.fullText,formatOf3DObjects:this.formatOf3DObjects,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:null!=this.historicMoment?new Date(this.historicMoment):null,maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,returnTrueCurves:this.returnTrueCurves,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,where:this.where}))}static{this.MAX_MAX_RECORD_COUNT_FACTOR=5}};(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],T.prototype,"aggregateIds",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],T.prototype,"cacheHint",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"compactGeometryEnabled",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],T.prototype,"datumTransformation",void 0),(0,o.Cg)([(0,a.wg)("datumTransformation")],T.prototype,"castDatumTransformation",null),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"defaultSpatialReferenceEnabled",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],T.prototype,"distance",void 0),(0,o.Cg)([(0,a.MZ)({type:y.L,json:{write:!0}})],T.prototype,"dynamicDataSource",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"formatOf3DObjects",void 0),(0,o.Cg)([(0,a.MZ)({type:[m],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.fullText&&this.fullText.length>0}}}}})],T.prototype,"fullText",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"gdbVersion",void 0),(0,o.Cg)([(0,a.MZ)({types:c.yR,json:{read:d.rS,write:!0}})],T.prototype,"geometry",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],T.prototype,"geometryPrecision",void 0),(0,o.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],T.prototype,"groupByFieldsForStatistics",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"having",void 0),(0,o.Cg)([(0,a.MZ)({type:Date})],T.prototype,"historicMoment",void 0),(0,o.Cg)([(0,f.K)("historicMoment")],T.prototype,"writeHistoricMoment",null),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],T.prototype,"maxAllowableOffset",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,cast:e=>e<1?1:e>T.MAX_MAX_RECORD_COUNT_FACTOR?T.MAX_MAX_RECORD_COUNT_FACTOR:e,json:{write:{overridePolicy:e=>({enabled:e>1})}}})],T.prototype,"maxRecordCountFactor",void 0),(0,o.Cg)([(0,a.MZ)({type:["xyFootprint"],json:{write:!0}})],T.prototype,"multipatchOption",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],T.prototype,"num",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],T.prototype,"objectIds",void 0),(0,o.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],T.prototype,"orderByFields",void 0),(0,o.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],T.prototype,"outFields",void 0),(0,o.Cg)([(0,a.MZ)({type:u.A,json:{name:"outSR",write:!0}})],T.prototype,"outSpatialReference",void 0),(0,o.Cg)([(0,a.MZ)({type:[M.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],T.prototype,"outStatistics",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],T.prototype,"parameterValues",void 0),(0,o.Cg)([(0,f.K)("parameterValues")],T.prototype,"writeParameterValues",null),(0,o.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],T.prototype,"pixelSize",void 0),(0,o.Cg)([(0,a.MZ)({type:v.A,json:{write:!0}})],T.prototype,"quantizationParameters",void 0),(0,o.Cg)([(0,a.MZ)({type:[Object],json:{write:!0}})],T.prototype,"rangeValues",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],T.prototype,"relationParameter",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"resultType",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnCentroid",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnDistinctValues",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!0,write:!0}})],T.prototype,"returnExceededLimitFeatures",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],T.prototype,"returnGeometry",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnQueryGeometry",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnM",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],T.prototype,"returnZ",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],T.prototype,"returnTrueCurves",void 0),(0,o.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],T.prototype,"sourceSpatialReference",void 0),(0,o.Cg)([(0,b.e)(S.x,{ignoreUnknown:!1,name:"spatialRel"})],T.prototype,"spatialRelationship",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],T.prototype,"start",void 0),(0,o.Cg)([(0,f.K)("start"),(0,f.K)("num")],T.prototype,"writeStart",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"sqlFormat",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"text",void 0),(0,o.Cg)([(0,a.MZ)({type:j.A,json:{write:!0}})],T.prototype,"timeExtent",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"timeReferenceUnknownClient",void 0),(0,o.Cg)([(0,b.e)(Z,{ignoreUnknown:!1}),(0,a.MZ)({json:{write:{overridePolicy(e){return{enabled:!!e&&null!=this.distance}}}}})],T.prototype,"units",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:{overridePolicy(e){return{enabled:null!=e||null!=this.start&&this.start>0}}}}})],T.prototype,"where",void 0),(0,o.Cg)([(0,f.K)("where")],T.prototype,"writeWhere",null),T=C=(0,o.Cg)([(0,a.$K)("esri.rest.support.Query")],T)},77696:(e,t,r)=>{r.d(t,{y:()=>n});var o=r(31635),i=r(91429),s=r(79677);const n=e=>{const t=e;let r=class extends t{};return(0,o.Cg)([(0,i.MZ)({type:s.A,json:{write:!0}})],r.prototype,"timeExtent",void 0),r=(0,o.Cg)([(0,i.$K)("esri.rest.support.QueryMixin")],r),r}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1956],{7562:(e,t,r)=>{r.d(t,{A:()=>d});var o,i=r(31635),s=r(66552),n=r(25482),a=r(4718),l=r(91429),p=r(43937);const u=new s.J({count:"count",sum:"sum",min:"min",max:"max",avg:"avg",stddev:"stddev",var:"var",exceedslimit:"exceedslimit",percentile_cont:"percentile-continuous",percentile_disc:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate"});let d=o=class extends n.o{constructor(e){super(e),this.maxPointCount=void 0,this.maxRecordCount=void 0,this.maxVertexCount=void 0,this.onStatisticField=null,this.outStatisticFieldName=null,this.statisticType=null,this.statisticParameters=null}writeStatisticParameters(e,t){"percentile-continuous"!==this.statisticType&&"percentile-discrete"!==this.statisticType||(t.statisticParameters=(0,a.o8)(e))}clone(){return new o({maxPointCount:this.maxPointCount,maxRecordCount:this.maxRecordCount,maxVertexCount:this.maxVertexCount,onStatisticField:this.onStatisticField,outStatisticFieldName:this.outStatisticFieldName,statisticType:this.statisticType,statisticParameters:(0,a.o8)(this.statisticParameters)})}};(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxPointCount",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxRecordCount",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxVertexCount",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"onStatisticField",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"outStatisticFieldName",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{read:{source:"statisticType",reader:u.read},write:{target:"statisticType",writer:u.write}}})],d.prototype,"statisticType",void 0),(0,i.Cg)([(0,l.MZ)({type:Object})],d.prototype,"statisticParameters",void 0),(0,i.Cg)([(0,p.K)("statisticParameters")],d.prototype,"writeStatisticParameters",null),d=o=(0,i.Cg)([(0,l.$K)("esri.rest.support.StatisticDefinition")],d)},27348:(e,t,r)=>{r.d(t,{A:()=>d});var o,i=r(31635),s=r(66552),n=r(25482),a=r(4718),l=r(91429),p=r(5443);const u=new s.J({upperLeft:"upper-left",lowerLeft:"lower-left"});let d=o=class extends n.o{constructor(e){super(e),this.extent=null,this.mode="view",this.originPosition="upper-left",this.tolerance=1}clone(){return new o((0,a.o8)({extent:this.extent,mode:this.mode,originPosition:this.originPosition,tolerance:this.tolerance}))}};(0,i.Cg)([(0,l.MZ)({type:p.A,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"extent",void 0),(0,i.Cg)([(0,l.MZ)({type:["view","edit"],json:{write:!0}})],d.prototype,"mode",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{read:u.read,write:u.write}})],d.prototype,"originPosition",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"tolerance",void 0),d=o=(0,i.Cg)([(0,l.$K)("esri.rest.support.QuantizationParameters")],d)},27733:(e,t,r)=>{r.d(t,{L:()=>P});var o,i=r(31635),s=r(66552),n=r(25482),a=r(91429),l=r(56507),p=r(90360),u=r(20437),d=r(49053),c=r(16930),y=r(50498),g=r(93223);let h=o=class extends n.o{constructor(e){super(e),this.type="query-table"}clone(){const{workspaceId:e,query:t,oidFields:r,spatialReference:i,geometryType:s}=this,n={workspaceId:e,query:t,oidFields:r,spatialReference:i?.clone()??void 0,geometryType:s};return new o(n)}};var m;(0,i.Cg)([(0,g.e)({queryTable:"query-table"}),(0,a.MZ)({json:{write:{isRequired:!0}}})],h.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"workspaceId",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"query",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"oidFields",void 0),(0,i.Cg)([(0,a.MZ)({type:c.A,json:{write:!0}})],h.prototype,"spatialReference",void 0),(0,i.Cg)([(0,g.e)(y.gy)],h.prototype,"geometryType",void 0),h=o=(0,i.Cg)([(0,a.$K)("esri.layers.support.source.QueryTableDataSource")],h);let C=m=class extends n.o{constructor(e){super(e),this.type="raster"}clone(){const{workspaceId:e,dataSourceName:t}=this;return new m({workspaceId:e,dataSourceName:t})}};var v;(0,i.Cg)([(0,g.e)({raster:"raster"}),(0,a.MZ)({json:{write:{isRequired:!0}}})],C.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],C.prototype,"dataSourceName",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],C.prototype,"workspaceId",void 0),C=m=(0,i.Cg)([(0,a.$K)("esri.layers.support.source.RasterDataSource")],C);let w=v=class extends n.o{constructor(e){super(e),this.type="table"}clone(){const{workspaceId:e,gdbVersion:t,dataSourceName:r}=this;return new v({workspaceId:e,gdbVersion:t,dataSourceName:r})}};(0,i.Cg)([(0,g.e)({table:"table"}),(0,a.MZ)({json:{write:{isRequired:!0}}})],w.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],w.prototype,"workspaceId",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],w.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],w.prototype,"dataSourceName",void 0),w=v=(0,i.Cg)([(0,a.$K)("esri.layers.support.source.TableDataSource")],w);var S,M,j=r(36005);const f=(0,s.O)()({esriLeftInnerJoin:"left-inner-join",esriLeftOuterJoin:"left-outer-join"});let b=S=class extends n.o{constructor(e){super(e),this.type="join-table"}readLeftTableSource(e,t,r){return R()(e,t,r)}castLeftTableSource(e){return(0,l.aq)(x(),e)}readRightTableSource(e,t,r){return R()(e,t,r)}castRightTableSource(e){return(0,l.aq)(x(),e)}clone(){const{leftTableKey:e,rightTableKey:t,leftTableSource:r,rightTableSource:o,joinType:i}=this,s={leftTableKey:e,rightTableKey:t,leftTableSource:r?.clone()??void 0,rightTableSource:o?.clone()??void 0,joinType:i};return new S(s)}};(0,i.Cg)([(0,g.e)({joinTable:"join-table"}),(0,a.MZ)({json:{write:{isRequired:!0}}})],b.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],b.prototype,"leftTableKey",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],b.prototype,"rightTableKey",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"leftTableSource",void 0),(0,i.Cg)([(0,j.w)("leftTableSource")],b.prototype,"readLeftTableSource",null),(0,i.Cg)([(0,a.wg)("leftTableSource")],b.prototype,"castLeftTableSource",null),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],b.prototype,"rightTableSource",void 0),(0,i.Cg)([(0,j.w)("rightTableSource")],b.prototype,"readRightTableSource",null),(0,i.Cg)([(0,a.wg)("rightTableSource")],b.prototype,"castRightTableSource",null),(0,i.Cg)([(0,g.e)(f)],b.prototype,"joinType",void 0),b=S=(0,i.Cg)([(0,a.$K)("esri.layers.support.source.JoinTableDataSource")],b);let Z=null;function R(){return Z||(Z=(0,p.C)({types:x()})),Z}let T=null;function x(){return T||(T={key:"type",base:null,typeMap:{"data-layer":P,"map-layer":d.f}}),T}const F={key:"type",base:null,typeMap:{"join-table":b,"query-table":h,raster:C,table:w}};let P=class extends n.o{static{M=this}constructor(e){super(e),this.type="data-layer"}clone(){const{fields:e,dataSource:t}=this;return new M({fields:e,dataSource:t})}};(0,i.Cg)([(0,g.e)({dataLayer:"data-layer"}),(0,a.MZ)({json:{write:{isRequired:!0}}})],P.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:[u.A],json:{write:!0}})],P.prototype,"fields",void 0),(0,i.Cg)([(0,a.MZ)({types:F,json:{write:!0}})],P.prototype,"dataSource",void 0),P=M=(0,i.Cg)([(0,a.$K)("esri.layers.support.source.DataLayerSource")],P),P.from=(0,l.dp)(P)},49053:(e,t,r)=>{r.d(t,{f:()=>p});var o,i=r(31635),s=r(25482),n=r(91429),a=r(56507),l=r(93223);let p=o=class extends s.o{constructor(e){super(e),this.type="map-layer"}clone(){const{mapLayerId:e,gdbVersion:t}=this;return new o({mapLayerId:e,gdbVersion:t})}};(0,i.Cg)([(0,l.e)({mapLayer:"map-layer"}),(0,n.MZ)({json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)({type:a.jz,json:{write:{isRequired:!0}}})],p.prototype,"mapLayerId",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"gdbVersion",void 0),p=o=(0,i.Cg)([(0,n.$K)("esri.layers.support.source.MapLayerSource")],p)},58174:(e,t,r)=>{r.d(t,{x:()=>o});const o=new(r(66552).J)({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"})},61956:(e,t,r)=>{r.d(t,{A:()=>R});var o=r(31635),i=r(66552),s=r(25482),n=r(4718),a=r(91429),l=r(56507),p=r(86738),u=r(16930),d=r(65864),c=r(50498),y=r(27733),g=r(69540);let h=class extends((0,g.OU)(s.o)){constructor(e){super(e),this.onFields=null,this.operator=null,this.searchTerm=null,this.searchType=null}};(0,o.Cg)([(0,a.MZ)({type:[String],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.onFields&&this.onFields.length>0}}}}})],h.prototype,"onFields",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"operator",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"searchTerm",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"searchType",void 0),h=(0,o.Cg)([(0,a.$K)("esri.rest.support.FullTextSearch")],h);const m=h;var C,v=r(27348),w=r(77696),S=r(58174),M=r(7562),j=r(79677),f=r(43937),b=r(93223);const Z=new i.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let R=class extends((0,w.y)(s.o)){static{C=this}static from(e){return(0,l.PZ)(C,e)}constructor(e){super(e),this.aggregateIds=null,this.cacheHint=void 0,this.compactGeometryEnabled=!1,this.datumTransformation=null,this.defaultSpatialReferenceEnabled=!1,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.fullText=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.returnTrueCurves=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.where=null}castDatumTransformation(e){return"number"==typeof e||"object"==typeof e?e:null}writeHistoricMoment(e,t){t.historicMoment=e&&e.getTime()}writeParameterValues(e,t){if(e){const r={};for(const t in e){const o=e[t];Array.isArray(o)?r[t]=o.map(e=>e instanceof Date?e.getTime():e):o instanceof Date?r[t]=o.getTime():r[t]=o}t.parameterValues=r}}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10,t.where="1=1"}writeWhere(e,t){t.where=e||"1=1"}clone(){return new C((0,n.o8)({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,compactGeometryEnabled:this.compactGeometryEnabled,datumTransformation:this.datumTransformation,defaultSpatialReferenceEnabled:this.defaultSpatialReferenceEnabled,distance:this.distance,fullText:this.fullText,formatOf3DObjects:this.formatOf3DObjects,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:null!=this.historicMoment?new Date(this.historicMoment):null,maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,returnTrueCurves:this.returnTrueCurves,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,where:this.where}))}static{this.MAX_MAX_RECORD_COUNT_FACTOR=5}};(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],R.prototype,"aggregateIds",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"cacheHint",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"compactGeometryEnabled",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],R.prototype,"datumTransformation",void 0),(0,o.Cg)([(0,a.wg)("datumTransformation")],R.prototype,"castDatumTransformation",null),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"defaultSpatialReferenceEnabled",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],R.prototype,"distance",void 0),(0,o.Cg)([(0,a.MZ)({type:y.L,json:{write:!0}})],R.prototype,"dynamicDataSource",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],R.prototype,"formatOf3DObjects",void 0),(0,o.Cg)([(0,a.MZ)({type:[m],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.fullText&&this.fullText.length>0}}}}})],R.prototype,"fullText",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],R.prototype,"gdbVersion",void 0),(0,o.Cg)([(0,a.MZ)({types:c.yR,json:{read:d.rS,write:!0}})],R.prototype,"geometry",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],R.prototype,"geometryPrecision",void 0),(0,o.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],R.prototype,"groupByFieldsForStatistics",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],R.prototype,"having",void 0),(0,o.Cg)([(0,a.MZ)({type:Date})],R.prototype,"historicMoment",void 0),(0,o.Cg)([(0,f.K)("historicMoment")],R.prototype,"writeHistoricMoment",null),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],R.prototype,"maxAllowableOffset",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,cast:e=>e<1?1:e>R.MAX_MAX_RECORD_COUNT_FACTOR?R.MAX_MAX_RECORD_COUNT_FACTOR:e,json:{write:{overridePolicy:e=>({enabled:e>1})}}})],R.prototype,"maxRecordCountFactor",void 0),(0,o.Cg)([(0,a.MZ)({type:["xyFootprint"],json:{write:!0}})],R.prototype,"multipatchOption",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],R.prototype,"num",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],R.prototype,"objectIds",void 0),(0,o.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],R.prototype,"orderByFields",void 0),(0,o.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],R.prototype,"outFields",void 0),(0,o.Cg)([(0,a.MZ)({type:u.A,json:{name:"outSR",write:!0}})],R.prototype,"outSpatialReference",void 0),(0,o.Cg)([(0,a.MZ)({type:[M.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],R.prototype,"outStatistics",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],R.prototype,"parameterValues",void 0),(0,o.Cg)([(0,f.K)("parameterValues")],R.prototype,"writeParameterValues",null),(0,o.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],R.prototype,"pixelSize",void 0),(0,o.Cg)([(0,a.MZ)({type:v.A,json:{write:!0}})],R.prototype,"quantizationParameters",void 0),(0,o.Cg)([(0,a.MZ)({type:[Object],json:{write:!0}})],R.prototype,"rangeValues",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],R.prototype,"relationParameter",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],R.prototype,"resultType",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnCentroid",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnDistinctValues",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!0,write:!0}})],R.prototype,"returnExceededLimitFeatures",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"returnGeometry",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnQueryGeometry",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"returnM",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],R.prototype,"returnZ",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"returnTrueCurves",void 0),(0,o.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],R.prototype,"sourceSpatialReference",void 0),(0,o.Cg)([(0,b.e)(S.x,{ignoreUnknown:!1,name:"spatialRel"})],R.prototype,"spatialRelationship",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],R.prototype,"start",void 0),(0,o.Cg)([(0,f.K)("start"),(0,f.K)("num")],R.prototype,"writeStart",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],R.prototype,"sqlFormat",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],R.prototype,"text",void 0),(0,o.Cg)([(0,a.MZ)({type:j.A,json:{write:!0}})],R.prototype,"timeExtent",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],R.prototype,"timeReferenceUnknownClient",void 0),(0,o.Cg)([(0,b.e)(Z,{ignoreUnknown:!1}),(0,a.MZ)({json:{write:{overridePolicy(e){return{enabled:!!e&&null!=this.distance}}}}})],R.prototype,"units",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:{overridePolicy(e){return{enabled:null!=e||null!=this.start&&this.start>0}}}}})],R.prototype,"where",void 0),(0,o.Cg)([(0,f.K)("where")],R.prototype,"writeWhere",null),R=C=(0,o.Cg)([(0,a.$K)("esri.rest.support.Query")],R)},77696:(e,t,r)=>{r.d(t,{y:()=>p});var o=r(31635),i=r(91429),s=r(16930),n=r(65864),a=r(50498),l=r(79677);const p=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.geometry=null,this.outSpatialReference=null}};return(0,o.Cg)([(0,i.MZ)({types:a.yR,json:{read:n.rS,write:!0}})],r.prototype,"geometry",void 0),(0,o.Cg)([(0,i.MZ)({type:s.A,json:{name:"outSR",write:!0}})],r.prototype,"outSpatialReference",void 0),(0,o.Cg)([(0,i.MZ)({type:l.A,json:{write:!0}})],r.prototype,"timeExtent",void 0),r=(0,o.Cg)([(0,i.$K)("esri.rest.support.QueryMixin")],r),r}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9419],{5443:(t,e,i)=>{i.d(e,{A:()=>y});var n,r=i(31635),s=i(799),a=i(91429),o=i(91075),h=i(86738),m=i(16930),l=i(94078),u=i(12176),c=i(21325),x=i(28735);function f(t,e,i){return null==e?i:null==i?e:t(e,i)}let y=n=class extends o.A{constructor(...t){super(...t),this.type="extent",this.xmin=0,this.ymin=0,this.mmin=void 0,this.zmin=void 0,this.xmax=0,this.ymax=0,this.mmax=void 0,this.zmax=void 0}normalizeCtorArgs(t,e,i,n,r){return function(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}(t)?{spatialReference:t,xmin:0,ymin:0,xmax:0,ymax:0}:"object"==typeof t?(t.spatialReference=null==t.spatialReference?m.A.WGS84:t.spatialReference,t):{xmin:t,ymin:e,xmax:i,ymax:n,spatialReference:r??m.A.WGS84}}static fromPoint(t){return new n({xmin:t.x,ymin:t.y,zmin:t.z,xmax:t.x,ymax:t.y,zmax:t.z,spatialReference:t.spatialReference})}get cache(){return this.commitProperty("xmin"),this.commitProperty("ymin"),this.commitProperty("zmin"),this.commitProperty("mmin"),this.commitProperty("xmax"),this.commitProperty("ymax"),this.commitProperty("zmax"),this.commitProperty("mmax"),this.commitProperty("spatialReference"),{}}get center(){const t=new h.A({x:.5*(this.xmin+this.xmax),y:.5*(this.ymin+this.ymax),spatialReference:this.spatialReference});return this.hasZ&&(t.z=.5*(this.zmin+this.zmax)),this.hasM&&(t.m=.5*(this.mmin+this.mmax)),t}get extent(){return this.clone()}get hasM(){return null!=this.mmin&&null!=this.mmax}get hasZ(){return null!=this.zmin&&null!=this.zmax}get height(){return Math.abs(this.ymax-this.ymin)}get width(){return Math.abs(this.xmax-this.xmin)}centerAt(t){const e=this.center;return null!=t.z&&this.hasZ?this.offset(t.x-e.x,t.y-e.y,t.z-e.z):this.offset(t.x-e.x,t.y-e.y)}clone(){const t=new n;return t.xmin=this.xmin,t.ymin=this.ymin,t.xmax=this.xmax,t.ymax=this.ymax,t.spatialReference=this.spatialReference,null!=this.zmin&&(t.zmin=this.zmin,t.zmax=this.zmax),null!=this.mmin&&(t.mmin=this.mmin,t.mmax=this.mmax),t}contains(t){if(!t)return!1;const e=this.spatialReference,i=t.spatialReference;return e&&i&&!e.equals(i)&&(0,x.y7)(e,i)&&(t=e.isWebMercator?(0,x.Gh)(t):(0,x.ci)(t,!0)),"point"===t.type?(0,l.qz)(this,t):"extent"===t.type&&(0,l.gH)(this,t)}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,i=t.spatialReference;return e&&i&&!e.equals(i)&&(0,x.y7)(e,i)&&(t=e.isWebMercator?(0,x.Gh)(t):(0,x.ci)(t,!0)),this.xmin===t.xmin&&this.ymin===t.ymin&&this.zmin===t.zmin&&this.mmin===t.mmin&&this.xmax===t.xmax&&this.ymax===t.ymax&&this.zmax===t.zmax&&this.mmax===t.mmax}expand(t){const e=.5*(1-t),i=this.width*e,n=this.height*e;if(this.xmin+=i,this.ymin+=n,this.xmax-=i,this.ymax-=n,this.hasZ){const t=(this.zmax-this.zmin)*e;this.zmin+=t,this.zmax-=t}if(this.hasM){const t=(this.mmax-this.mmin)*e;this.mmin+=t,this.mmax-=t}return this}intersects(t){if(null==t)return!1;"mesh"===t.type&&(t=t.extent);const e=this.spatialReference,i=t.spatialReference;return e&&i&&!(0,c.aI)(e,i)&&(0,x.y7)(e,i)&&(t=e.isWebMercator?(0,x.Gh)(t):(0,x.ci)(t,!0)),(0,u.xK)(t.type)(this,t)}normalize(){const t=this._normalize(!1,!0);return Array.isArray(t)?t:[t]}offset(t,e,i){return this.xmin+=t,this.ymin+=e,this.xmax+=t,this.ymax+=e,null!=i&&(this.zmin+=i,this.zmax+=i),this}shiftCentralMeridian(){return this._normalize(!0)}union(t){return this===t||(this.xmin=Math.min(this.xmin,t.xmin),this.ymin=Math.min(this.ymin,t.ymin),this.xmax=Math.max(this.xmax,t.xmax),this.ymax=Math.max(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=f(Math.min,this.zmin,t.zmin),this.zmax=f(Math.max,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=f(Math.min,this.mmin,t.mmin),this.mmax=f(Math.max,this.mmax,t.mmax))),this}intersection(t){return this===t?this:null!=t&&this.intersects(t)?(this.xmin=Math.max(this.xmin,t.xmin),this.ymin=Math.max(this.ymin,t.ymin),this.xmax=Math.min(this.xmax,t.xmax),this.ymax=Math.min(this.ymax,t.ymax),(this.hasZ||t.hasZ)&&(this.zmin=f(Math.max,this.zmin,t.zmin),this.zmax=f(Math.min,this.zmax,t.zmax)),(this.hasM||t.hasM)&&(this.mmin=f(Math.max,this.mmin,t.mmin),this.mmax=f(Math.min,this.mmax,t.mmax)),this):null}toJSON(t){return this.write({},t)}_shiftCM(t=(0,c.Vp)(this.spatialReference)){if(!t||!this.spatialReference)return this;const e=this.spatialReference,i=this._getCM(t);if(i){const n=e.isWebMercator?(0,x.ci)(i):i;this.xmin-=i.x,this.xmax-=i.x,e.isWebMercator||(n.x=p(n.x,t).x),this.spatialReference=new m.A((0,s.HC)((e.isWGS84?t.altTemplate:null)??t.wkTemplate,{Central_Meridian:n.x}))}return this}_getCM(t){let e=null;const[i,n]=t.valid,r=this.xmin,s=this.xmax;return r>=i&&r<=n&&s>=i&&s<=n||(e=this.center),e}_normalize(t,e,i){const n=this.spatialReference;if(!n)return this;const r=i??(0,c.Vp)(n);if(null==r)return this;const s=this._getParts(r).map(t=>t.extent);if(s.length<2)return s[0]||this;if(s.length>2)return t?this._shiftCM(r):this.set({xmin:r.valid[0],xmax:r.valid[1]});if(t)return this._shiftCM(r);if(e)return s;let a=!0,o=!0;return s.forEach(t=>{t.hasZ||(a=!1),t.hasM||(o=!1)}),{rings:s.map(t=>{const e=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(a){const i=(t.zmax-t.zmin)/2;for(let t=0;t<e.length;t++)e[t].push(i)}if(o){const i=(t.mmax-t.mmin)/2;for(let t=0;t<e.length;t++)e[t].push(i)}return e}),hasZ:a,hasM:o,spatialReference:n}}_getParts(t){let e=this.cache._parts;if(!e){e=[];const{ymin:i,ymax:r,spatialReference:s}=this,a=this.width,o=this.xmin,h=this.xmax;let m;t=t||(0,c.Vp)(s);const[l,u]=t.valid;m=p(this.xmin,t);const x=m.x,f=m.frameId;m=p(this.xmax,t);const y=m.x,d=m.frameId,g=x===y&&a>0;if(a>2*u){const t=new n(o<h?x:y,i,u,r,s),a=new n(l,i,o<h?y:x,r,s),m=new n(0,i,u,r,s),c=new n(l,i,0,r,s),p=[],g=[];t.contains(m)&&p.push(f),t.contains(c)&&g.push(f),a.contains(m)&&p.push(d),a.contains(c)&&g.push(d);for(let t=f+1;t<d;t++)p.push(t),g.push(t);e.push({extent:t,frameIds:[f]},{extent:a,frameIds:[d]},{extent:m,frameIds:p},{extent:c,frameIds:g})}else x>y||g?e.push({extent:new n(x,i,u,r,s),frameIds:[f]},{extent:new n(l,i,y,r,s),frameIds:[d]}):e.push({extent:new n(x,i,y,r,s),frameIds:[f]});this.cache._parts=e}const i=this.hasZ,r=this.hasM;if(i||r){const t={};i&&(t.zmin=this.zmin,t.zmax=this.zmax),r&&(t.mmin=this.mmin,t.mmax=this.mmax);for(let i=0;i<e.length;i++)e[i].extent.set(t)}return e}};function p(t,e){const[i,n]=e.valid,r=2*n;let s,a=0;return t>n?(s=Math.ceil(Math.abs(t-n)/r),t-=s*r,a=s):t<i&&(s=Math.ceil(Math.abs(t-i)/r),t+=s*r,a=-s),{x:t,frameId:a}}(0,r.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"center",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],y.prototype,"hasM",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],y.prototype,"hasZ",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"height",null),(0,r.Cg)([(0,a.MZ)({type:m.A,json:{write:!0},value:m.A.WGS84})],y.prototype,"spatialReference",void 0),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"width",null),(0,r.Cg)([(0,a.MZ)({type:Number,json:{type:[Number,String],write:{enabled:!0,allowNull:!0}}})],y.prototype,"xmin",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"ymin",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],y.prototype,"mmin",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],y.prototype,"zmin",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"xmax",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],y.prototype,"ymax",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},read:t=>t??void 0,write:{overridePolicy(){return{enabled:this.hasM}}}}})],y.prototype,"mmax",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],y.prototype,"zmax",void 0),y=n=(0,r.Cg)([(0,a.$K)("esri.geometry.Extent")],y),y.prototype.toJSON.isDefaultToJSON=!0},12176:(t,e,i)=>{i.d(e,{A3:()=>p,Ql:()=>g,fA:()=>x,xB:()=>s,xK:()=>M});var n=i(94078);function r(t,e){return(0,n.qz)(t,e)}function s(t,e){const i=t.hasZ&&e.hasZ;let n,r,s;if(t.xmin<=e.xmin){if(n=e.xmin,t.xmax<n)return!1}else if(n=t.xmin,e.xmax<n)return!1;if(t.ymin<=e.ymin){if(r=e.ymin,t.ymax<r)return!1}else if(r=t.ymin,e.ymax<r)return!1;if(i&&e.hasZ)if(t.zmin<=e.zmin){if(s=e.zmin,t.zmax<s)return!1}else if(s=t.zmin,e.zmax<s)return!1;return!0}function a(t,e){const{points:i,hasZ:r}=e,s=r?n.F8:n.CW;for(const e of i)if(s(t,e))return!0;return!1}const o=[0,0],h=[0,0],m=[0,0],l=[0,0],u=[o,h,m,l],c=[[m,o],[o,h],[h,l],[l,m]];function x(t,e){return function(t,e){o[0]=t.xmin,o[1]=t.ymax,h[0]=t.xmax,h[1]=t.ymax,m[0]=t.xmin,m[1]=t.ymin,l[0]=t.xmax,l[1]=t.ymin;for(const t of u)if((0,n.t1)(e,t))return!0;for(const i of e){if(!i.length)continue;let e=i[0];if((0,n.CW)(t,e))return!0;for(let r=1;r<i.length;r++){const s=i[r];if((0,n.CW)(t,s)||d(e,s,c))return!0;e=s}}return!1}(t,e.rings)}function f(t,e){o[0]=t.xmin,o[1]=t.ymax,h[0]=t.xmax,h[1]=t.ymax,m[0]=t.xmin,m[1]=t.ymin,l[0]=t.xmax,l[1]=t.ymin;const i=e.paths;for(const e of i){if(!i.length)continue;let r=e[0];if((0,n.CW)(t,r))return!0;for(let i=1;i<e.length;i++){const s=e[i];if((0,n.CW)(t,s)||d(r,s,c))return!0;r=s}}return!1}const y=[0,0];function p(t){for(let e=0;e<t.length;e++){const i=t[e];for(let n=0;n<i.length-1;n++){const r=i[n],s=i[n+1];for(let i=e+1;i<t.length;i++)for(let e=0;e<t[i].length-1;e++){const n=t[i][e],a=t[i][e+1];if(g(r,s,n,a,y)&&!(y[0]===r[0]&&y[1]===r[1]||y[0]===n[0]&&y[1]===n[1]||y[0]===s[0]&&y[1]===s[1]||y[0]===a[0]&&y[1]===a[1]))return!0}}const n=i.length;if(!(n<=4))for(let t=0;t<n-3;t++){let e=n-1;0===t&&(e=n-2);const r=i[t],s=i[t+1];for(let n=t+2;n<e;n++){const t=i[n],e=i[n+1];if(g(r,s,t,e,y)&&!(y[0]===r[0]&&y[1]===r[1]||y[0]===t[0]&&y[1]===t[1]||y[0]===s[0]&&y[1]===s[1]||y[0]===e[0]&&y[1]===e[1]))return!0}}}return!1}function d(t,e,i){for(let n=0;n<i.length;n++)if(g(t,e,i[n][0],i[n][1]))return!0;return!1}function g(t,e,i,n,r){const[s,a]=t,[o,h]=e,[m,l]=i,[u,c]=n,x=u-m,f=s-m,y=o-s,p=c-l,d=a-l,g=h-a,M=p*y-x*g;if(0===M)return!1;const z=(x*d-p*f)/M,w=(y*d-g*f)/M;return z>=0&&z<=1&&w>=0&&w<=1&&(r&&(r[0]=s+z*(o-s),r[1]=a+z*(h-a)),!0)}function M(t){switch(t){case"esriGeometryEnvelope":case"extent":return s;case"esriGeometryMultipoint":case"multipoint":return a;case"esriGeometryPoint":case"point":return r;case"esriGeometryMultiPatch":case"multipatch":case"esriGeometryPolygon":case"polygon":return x;case"esriGeometryPolyline":case"polyline":return f}}},19419:(t,e,i)=>{i.d(e,{$9:()=>z,HY:()=>M,IO:()=>u,Ie:()=>C,Rj:()=>g,VL:()=>x,VY:()=>o,Wc:()=>y,aI:()=>R,fA:()=>a,fT:()=>c,gR:()=>w,gX:()=>p,ib:()=>d,nw:()=>l,qv:()=>Z,tK:()=>m,uJ:()=>f,vt:()=>r,w1:()=>h}),i(44208),i(34727);var n=i(5443);function r(t=b){return[t[0],t[1],t[2],t[3]]}function s(t,e){return t!==e&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3]),t}function a(t,e,i,n,s=r()){return s[0]=t,s[1]=e,s[2]=i,s[3]=n,s}function o(t,e=r()){return e[0]=t.xmin,e[1]=t.ymin,e[2]=t.xmax,e[3]=t.ymax,e}function h(t,e,i=new n.A){return i.xmin=t[0],i.ymin=t[1],i.xmax=t[2],i.ymax=t[3],i.spatialReference=e,i}function m(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function l(t,e){e<t[0]&&(t[0]=e),e>t[2]&&(t[2]=e)}function u(t,e){e<t[1]&&(t[1]=e),e>t[3]&&(t[3]=e)}function c(t,e,i){if(null!=e)if("length"in e)v(e)?(i[0]=Math.min(t[0],e[0]),i[1]=Math.min(t[1],e[1]),i[2]=Math.max(t[2],e[2]),i[3]=Math.max(t[3],e[3])):2!==e.length&&3!==e.length||(i[0]=Math.min(t[0],e[0]),i[1]=Math.min(t[1],e[1]),i[2]=Math.max(t[2],e[0]),i[3]=Math.max(t[3],e[1]));else switch(e.type){case"extent":i[0]=Math.min(t[0],e.xmin),i[1]=Math.min(t[1],e.ymin),i[2]=Math.max(t[2],e.xmax),i[3]=Math.max(t[3],e.ymax);break;case"point":i[0]=Math.min(t[0],e.x),i[1]=Math.min(t[1],e.y),i[2]=Math.max(t[2],e.x),i[3]=Math.max(t[3],e.y)}else s(i,t)}function x(t){return null==t||t[0]>=t[2]?0:t[2]-t[0]}function f(t){return null==t||t[1]>=t[3]?0:t[3]-t[1]}function y(t){return x(t)*f(t)}function p(t,e=[0,0]){return e[0]=(t[0]+t[2])/2,e[1]=(t[1]+t[3])/2,e}function d(t){const e=x(t),i=f(t);return Math.sqrt(e*e+i*i)}function g(t,e,i){return e>=t[0]&&i>=t[1]&&e<=t[2]&&i<=t[3]}function M(t,e){return Math.max(e[0],t[0])<=Math.min(e[2],t[2])&&Math.max(e[1],t[1])<=Math.min(e[3],t[3])}function z(t,e,i){return Math.max(e[0],t[0])-i<=Math.min(e[2],t[2])&&Math.max(e[1],t[1])-i<=Math.min(e[3],t[3])}function w(t,e){return e[0]>=t[0]&&e[2]<=t[2]&&e[1]>=t[1]&&e[3]<=t[3]}function C(t){return t?s(t,Z):r(Z)}function v(t){return null!=t&&4===t.length}function R(t,e){return v(t)&&v(e)?t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]:t===e}const Z=[1/0,1/0,-1/0,-1/0],b=[0,0,0,0]},21276:(t,e,i)=>{i.d(e,{H:()=>s,f:()=>r});var n=i(49186);function r(t){if(t&&"object"==typeof t&&"type"in t&&"mesh"===t.type)throw new n.A("internal:mesh","Mesh geometries are not supported for this operation")}function s(t){t.forEach(r)}},28735:(t,e,i)=>{i.d(e,{Cv:()=>d,Gh:()=>z,ci:()=>w,je:()=>g,jg:()=>c,tD:()=>M,y7:()=>p});var n=i(4718),r=i(21276),s=i(16930),a=i(79258),o=i(21325);const h=57.29577951308232,m=.017453292519943;function l(t){return t*h}function u(t){return t*m}function c(t){return Math.PI/2-2*Math.atan(Math.exp(-t/a.$O.radius))}function x(t){return null!=t.wkid||null!=t.wkt}const f=[0,0];function y(t,e,i,n,r){const s=t,a=r;if(a.spatialReference=i,"x"in s&&"x"in a)[a.x,a.y]=e(s.x,s.y,f,n);else if("xmin"in s&&"xmin"in a)[a.xmin,a.ymin]=e(s.xmin,s.ymin,f,n),[a.xmax,a.ymax]=e(s.xmax,s.ymax,f,n);else if("paths"in s&&"paths"in a||"rings"in s&&"rings"in a){const t="paths"in s?s.paths:s.rings,i=[];let r;for(let s=0;s<t.length;s++){const a=t[s];r=[],i.push(r);for(let t=0;t<a.length;t++)r.push(e(a[t][0],a[t][1],[0,0],n)),a[t].length>2&&r[t].push(a[t][2]),a[t].length>3&&r[t].push(a[t][3])}"paths"in a?a.paths=i:a.rings=i}else if("points"in s&&"points"in a){const t=s.points,i=[];for(let r=0;r<t.length;r++)i[r]=e(t[r][0],t[r][1],[0,0],n),t[r].length>2&&i[r].push(t[r][2]),t[r].length>3&&i[r].push(t[r][3]);a.points=i}return r}function p(t,e){const i=t&&(x(t)?t:t.spatialReference),n=e&&(x(e)?e:e.spatialReference);return!(t&&"type"in t&&"mesh"===t.type||e&&"type"in e&&"mesh"===e.type||!i||!n)&&(!!(0,o.aI)(n,i)||(0,o.K8)(n)&&(0,o.oT)(i)||(0,o.K8)(i)&&(0,o.oT)(n))}function d(t,e){if(null==t)return null;const i=t.spatialReference,r=e&&(x(e)?e:e.spatialReference);return p(i,r)?(0,o.aI)(i,r)?(0,n.o8)(t):(0,o.K8)(r)?y(t,g,s.A.WebMercator,!1,(0,n.o8)(t)):(0,o.oT)(r)?y(t,M,s.A.WGS84,!1,(0,n.o8)(t)):null:null}function g(t,e,i=[0,0]){e>89.99999?e=89.99999:e<-89.99999&&(e=-89.99999);const n=u(e);return i[0]=u(t)*a.$O.radius,i[1]=a.$O.halfSemiMajorAxis*Math.log((1+Math.sin(n))/(1-Math.sin(n))),i}function M(t,e,i=[0,0],n=!1){if(t===o.Mc[0])i[0]=-180;else if(t===o.Mc[1])i[0]=180;else{const e=l(t/a.$O.radius);i[0]=n?e:e-360*Math.floor((e+180)/360)}return i[1]=l(Math.PI/2-2*Math.atan(Math.exp(-e/a.$O.radius))),i}function z(t,e=!1,i=(0,n.o8)(t)){return(0,r.f)(t),(0,r.f)(i),y(t,g,s.A.WebMercator,e,i)}function w(t,e=!1,i=(0,n.o8)(t)){return(0,r.f)(t),(0,r.f)(i),y(t,M,s.A.WGS84,e,i)}},86738:(t,e,i)=>{i.d(e,{A:()=>M});var n=i(31635),r=i(69622),s=i(53966),a=i(91429),o=i(56507),h=i(91075),m=i(16930),l=i(21325),u=i(28735);function c({x:t,y:e,spatialReference:i},n=[0,0]){if(i){if((0,l.K8)(i))return(0,u.tD)(t,e,n);if((0,l.EA)(i))return n[0]=t,n[1]=e,n}return null}const x=[0,0];var f,y=i(43937),p=i(36005);const d=[0,0];function g(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}let M=f=class extends h.A{static copy(t,e){e._set("x",t._get("x")),e._set("y",t._get("y")),e._set("z",t._get("z")),e._set("m",t._get("m"));const i=t._get("spatialReference");e._set("spatialReference",r.A.isFrozen(i)?i:i.clone())}constructor(...t){super(...t),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(t,e,i,n,r){let a;if(Array.isArray(t))a=t,r=e,t=a[0],e=a[1],i=a[2],n=a[3];else if(t&&"object"==typeof t){if(a=t,t=null!=a.x?a.x:a.longitude,e=null!=a.y?a.y:a.latitude,i=a.z,n=a.m,(r=a.spatialReference)&&"esri.geometry.SpatialReference"!==r.declaredClass&&(r=new m.A(r)),null!=a.longitude||null!=a.latitude)if(null==a.longitude)s.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==a.latitude)s.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!a.declaredClass&&r?.isWebMercator){const i=(0,u.je)(a.longitude,a.latitude,d);t=i[0],e=i[1]}}else g(i)?(r=i,i=null):g(n)&&(r=n,n=null);const o={x:t,y:e};return null==o.x&&null!=o.y?s.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==o.y&&null!=o.x&&s.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=r&&(o.spatialReference=r),null!=i&&(o.z=i),null!=n&&(o.m=n),o}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(t){t!==(void 0!==this._get("m"))&&(this._set("m",t?0:void 0),this._set("hasM",t))}get hasZ(){return void 0!==this.z}set hasZ(t){t!==(void 0!==this._get("z"))&&(this._set("z",t?0:void 0),this._set("hasZ",t))}get latitude(){return t=this,c(t,x)?.[1]??null;var t}set latitude(t){const{spatialReference:e,x:i}=this;null!=t&&e&&(e.isWebMercator?this._set("y",(0,u.je)(i,t,d)[1]):e.isGeographic&&this._set("y",t),this._set("latitude",t))}get longitude(){return t=this,c(t,x)?.[0]??null;var t}set longitude(t){const{y:e,spatialReference:i}=this;null!=t&&i&&(i.isWebMercator?this._set("x",(0,u.je)(t,e,d)[0]):i.isGeographic&&this._set("x",t),this._set("longitude",t))}writeX(t,e,i){e[i]=isNaN(t)?"NaN":t}readX(t){return"string"==typeof t?NaN:t}clone(){const t=new f;return t.x=this.x,t.y=this.y,t.z=this.z,t.m=this.m,t.spatialReference=this.spatialReference,t}copy(t){return f.copy(t,this),this}equals(t){if(null==t)return!1;const{x:e,y:i,z:n,m:r,spatialReference:s}=this,{z:a,m:o}=t;let{x:h,y:m,spatialReference:l}=t;if(!s.equals(l))if(s.isWebMercator&&l.isWGS84)[h,m]=(0,u.je)(h,m),l=s;else{if(!s.isWGS84||!l.isWebMercator)return!1;[h,m]=(0,u.tD)(h,m),l=s}return e===h&&i===m&&n===a&&r===o&&s.wkid===l.wkid}offset(t,e,i){return this.x+=t,this.y+=e,null!=i&&(this.z=(this.z??0)+i),this}normalize(){if(!this.spatialReference)return this;const t=(0,l.Vp)(this.spatialReference);if(!t)return this;let e=this.x;const[i,n]=t.valid,r=2*n;let s;return e>n?(s=Math.ceil(Math.abs(e-n)/r),e-=s*r):e<i&&(s=Math.ceil(Math.abs(e-i)/r),e+=s*r),this._set("x",e),this}distance(t){return function(t,e){const i=t.x-e.x,n=t.y-e.y,r=null!=t.z&&null!=e.z?t.z-e.z:0;return Math.sqrt(i*i+n*n+r*r)}(this,t)}toArray(){const t=this.hasZ,e=this.hasM;return t&&e?[this.x,this.y,this.z,this.m]:t?[this.x,this.y,this.z]:e?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(t){return this.write({},t)}};(0,n.Cg)([(0,a.MZ)({readOnly:!0})],M.prototype,"cache",null),(0,n.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],M.prototype,"hasM",null),(0,n.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],M.prototype,"hasZ",null),(0,n.Cg)([(0,a.MZ)({type:Number})],M.prototype,"latitude",null),(0,n.Cg)([(0,a.MZ)({type:Number})],M.prototype,"longitude",null),(0,n.Cg)([(0,a.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,a.wg)(t=>isNaN(t)?t:(0,o.GB)(t))],M.prototype,"x",void 0),(0,n.Cg)([(0,y.K)("x")],M.prototype,"writeX",null),(0,n.Cg)([(0,p.w)("x")],M.prototype,"readX",null),(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"y",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],M.prototype,"z",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],M.prototype,"m",void 0),M=f=(0,n.Cg)([(0,a.$K)("esri.geometry.Point")],M),M.prototype.toJSON.isDefaultToJSON=!0},91075:(t,e,i)=>{i.d(e,{A:()=>h});var n=i(31635),r=i(25482),s=i(91429),a=i(16930),o=i(36005);let h=class extends r.o{constructor(...t){super(...t),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=a.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(t,e){if(t instanceof a.A)return t;if(null!=t){const i=new a.A;return i.read(t,e),i}return t}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(t){return this.cache[t]}setCacheValue(t,e){this.cache[t]=e}};(0,n.Cg)([(0,s.MZ)()],h.prototype,"type",void 0),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],h.prototype,"cache",null),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],h.prototype,"extent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],h.prototype,"hasM",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],h.prototype,"hasZ",void 0),(0,n.Cg)([(0,s.MZ)({type:a.A,json:{write:!0},value:a.A.WGS84})],h.prototype,"spatialReference",void 0),(0,n.Cg)([(0,o.w)("spatialReference")],h.prototype,"readSpatialReference",null),h=(0,n.Cg)([(0,s.$K)("esri.geometry.Geometry")],h)},94078:(t,e,i)=>{i.d(e,{CW:()=>o,F8:()=>h,gH:()=>a,m3:()=>l,qz:()=>r,rL:()=>s,t1:()=>u});const n=[0,0];function r(t,e){return null!=e&&m(t,e.x,e.y,e.z)}function s(t,e){if(!e.points?.length)return!1;for(const i of e.points)if(!o(t,i))return!1;return!0}function a(t,e){const{xmin:i,ymin:n,zmin:r,xmax:s,ymax:a,zmax:o}=e;return t.hasZ&&e.hasZ?m(t,i,n,r)&&m(t,i,a,r)&&m(t,s,a,r)&&m(t,s,n,r)&&m(t,i,n,o)&&m(t,i,a,o)&&m(t,s,a,o)&&m(t,s,n,o):m(t,i,n)&&m(t,i,a)&&m(t,s,a)&&m(t,s,n)}function o(t,e){return m(t,e[0],e[1])}function h(t,e){return m(t,e[0],e[1],e[2])}function m(t,e,i,n){return e>=t.xmin&&e<=t.xmax&&i>=t.ymin&&i<=t.ymax&&(null==n||!t.hasZ||n>=t.zmin&&n<=t.zmax)}function l(t,e){return n[1]=e.y,n[0]=e.x,function(t,e){return u(t.rings,e)}(t,n)}function u(t,e){if(!t||t.length<1)return!1;if(function(t){return!Array.isArray(t[0][0])}(t))return c(!1,t,e);let i=!1;for(let n=0,r=t.length;n<r;n++)i=c(i,t[n],e);return i}function c(t,e,i){const[n,r]=i;let s=t,a=0;for(let t=0,i=e.length;t<i;t++){a++,a===i&&(a=0);const[o,h]=e[t],[m,l]=e[a];(h<r&&l>=r||l<r&&h>=r)&&o+(r-h)/(l-h)*(m-o)<n&&(s=!s)}return s}}}]);