@arcgis/core 6.0.0-next.58 → 6.0.0-next.59

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 (73) hide show
  1. package/Graphic.d.ts +1 -0
  2. package/applications/SceneViewer/sceneViewerUtils.d.ts +74 -0
  3. package/applications/SceneViewer/sceneViewerUtils.js +1 -1
  4. package/arcgisGlobal.d.ts +2 -0
  5. package/assets/esri/core/workers/RemoteClient.js +1 -1
  6. package/assets/esri/core/workers/chunks/{5e4de4ddd3bdc74100e0.js → 75667b1427a7f02f2cda.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{b4018b21a03c0c909d23.js → 75a48b122254deb3ad59.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{690041373d03d02a3044.js → 956810d6f553c2198aae.js} +1 -1
  9. package/assets/esri/core/workers/chunks/a27c2edd7e043643cdd1.js +1 -0
  10. package/assets/esri/core/workers/chunks/bd8ee0205f0a01d6d4d7.js +1 -0
  11. package/assets/esri/core/workers/chunks/{423c7a981b9a06b76cbd.js → d833fc1fe63c9917ae3e.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{32d5aae2e0953420216a.js → dca6abf260c0bfb7c9c0.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{fc8cb947a677aa12348d.js → e38ffdb19132529beda7.js} +1 -1
  14. package/chunks/BlurEmission.glsl.js +6 -6
  15. package/chunks/EmissionComposite.glsl.js +2 -2
  16. package/chunks/Fog.glsl.js +4 -4
  17. package/chunks/RibbonLine.glsl.js +154 -108
  18. package/config.js +1 -1
  19. package/core/urlUtils.js +1 -1
  20. package/interfaces.d.ts +8 -0
  21. package/kernel.js +1 -1
  22. package/layers/graphics/sources/CSVSource.js +1 -1
  23. package/layers/graphics/sources/GeoJSONSource.js +1 -1
  24. package/layers/raster/formats/tiffParser.js +1 -1
  25. package/package.json +2 -2
  26. package/popup/FeatureModel.js +1 -1
  27. package/popup/FeaturesModel.js +1 -1
  28. package/rest/support/AttributeBinsQuery.d.ts +41 -1
  29. package/rest/support/AttributeBinsQuery.js +1 -1
  30. package/rest/support/Query.d.ts +1 -2
  31. package/rest/versionManagement/gdbVersion/post.js +1 -1
  32. package/rest/versionManagement/gdbVersion/reconcile.js +1 -1
  33. package/rest/versionManagement/gdbVersion/serverVersionUtils.js +1 -1
  34. package/rest/versionManagement/gdbVersion/support/PostResult.d.ts +1 -1
  35. package/rest/versionManagement/gdbVersion/support/ReconcileResult.d.ts +1 -1
  36. package/smartMapping/statistics/histogram.js +1 -1
  37. package/smartMapping/statistics/types.d.ts +18 -0
  38. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  39. package/smartMapping/support/adapters/support/histogramUtils.js +1 -1
  40. package/symbols/LineSymbol3DLayer.js +1 -1
  41. package/tables/support/templateUtils.js +1 -1
  42. package/versionManagement/VersionManagementService.d.ts +47 -1
  43. package/versionManagement/VersionManagementService.js +1 -1
  44. package/versionManagement/support/PostJobInfo.d.ts +61 -0
  45. package/versionManagement/support/PostJobInfo.js +2 -0
  46. package/versionManagement/support/ReconcileJobInfo.d.ts +61 -0
  47. package/versionManagement/support/ReconcileJobInfo.js +2 -0
  48. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  49. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  50. package/views/3d/terrain/OverlayRenderer.js +1 -1
  51. package/views/3d/terrain/PatchGeometry.js +1 -1
  52. package/views/3d/terrain/PatchGeometryFactory.js +1 -1
  53. package/views/3d/terrain/TerrainRenderer.js +1 -1
  54. package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +1 -1
  55. package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +21 -12
  56. package/views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js +1 -1
  57. package/views/3d/webgl-engine/effects/fog/Fog.glsl.js +1 -1
  58. package/views/3d/webgl-engine/effects/glow/BlurEmission.glsl.js +1 -1
  59. package/views/3d/webgl-engine/effects/glow/applyEmissiveGlow.glsl.js +20 -15
  60. package/views/3d/webgl-engine/lib/EmissionComposite.glsl.js +1 -1
  61. package/views/3d/webgl-engine/lib/TriangleRangeBVH.js +1 -1
  62. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  63. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  64. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  65. package/views/Attribution.js +2 -2
  66. package/views/DOMContainer.d.ts +3 -2
  67. package/views/DOMContainer.js +1 -1
  68. package/views/SceneView.js +1 -1
  69. package/views/View.d.ts +2 -2
  70. package/views/View.js +1 -1
  71. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  72. package/assets/esri/core/workers/chunks/294097140e349e073b7e.js +0 -1
  73. package/assets/esri/core/workers/chunks/6a202ef9ba9b89e09153.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[3910],{62885(e,t,o){o.d(t,{H:()=>s,V:()=>i});var r=o(7762);function i(e,t,o=r.A){return t||=new o,t===e||t.destroyed||(t.removeAll(),(i=e)&&(Array.isArray(i)||"items"in i&&Array.isArray(i.items))?t.addMany(e):e&&t.add(e)),t;var i}function s(e){return e}},40863(e,t,o){o.d(t,{A:()=>u});var r,i=o(32198),s=o(91429),l=o(4718),n=o(799),a=o(30524),p=o(20378),y=o(36005),h=o(43937),d=o(93223);let u=r=class extends p.A{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e){if("CIMSymbolReference"===this.data?.type){let t=this.data.primitiveOverrides;if(t){let o=t.map(t=>{let o=t.valueExpressionInfo;return o?(0,a.Dx)(e,null,o.expression):null});await Promise.all(o)}}}clone(){return new r({data:(0,l.o8)(this.data)})}hash(){return(0,n.Wm)(JSON.stringify(this.data)).toString()}};(0,i.Cg)([(0,s.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],u.prototype,"data",void 0),(0,i.Cg)([(0,y.w)("data",["symbol"])],u.prototype,"readData",null),(0,i.Cg)([(0,h.K)("data",{})],u.prototype,"writeData",null),(0,i.Cg)([(0,d.e)({CIMSymbolReference:"cim"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,i.Cg)([(0,s.$K)("esri.symbols.CIMSymbol")],u)},26449(e,t,o){o.d(t,{A:()=>y});var r,i=o(32198),s=o(91429),l=o(51734),n=o(28975),a=o(3904),p=o(93223);let y=class extends a.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,i.Cg)([(0,p.e)({Extrude:"extrude"},{readOnly:!0})],y.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],y.prototype,"size",void 0),(0,i.Cg)([(0,s.MZ)({type:n.A,json:{write:!0}})],y.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],y.prototype,"castShadows",void 0),(0,i.Cg)([(0,s.MZ)(l.J)],y.prototype,"edges",void 0),y=r=(0,i.Cg)([(0,s.$K)("esri.symbols.ExtrudeSymbol3DLayer")],y)},65851(e,t,o){o.d(t,{A:()=>n});var r=o(32198),i=o(91429),s=o(31593),l=o(20378);let n=class extends l.A{constructor(e){super(e),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":s.A}},json:{default:null,write:!0}})],n.prototype,"outline",void 0),(0,r.Cg)([(0,i.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.FillSymbol")],n)},27845(e,t,o){o.d(t,{A:()=>A});var r=o(32198),i=o(91429),s=o(51734),l=o(44633),n=o(16264),a=o(64086),p=o(33386),y=o(28975),h=o(93223);let d=class extends y.A{constructor(e){super(e),this.colorMixMode=null}};(0,r.Cg)([(0,h.e)({multiply:"multiply",replace:"replace",tint:"tint"})],d.prototype,"colorMixMode",void 0),d=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DFillMaterial")],d);var u,c=o(68197),g=o(25482),m=o(90629),b=o(67222),w=o(8887);let C=u=class extends g.o{constructor(e){super(e),this.color=new c.A([0,0,0,1]),this.pattern=null,this.patternCap="butt"}get size(){return this._get("size")??m.ps}set size(e){this._set("size",e)}clone(){let e={color:null==this.color?null:this.color.clone(),size:this.size,pattern:null==this.pattern?null:this.pattern.clone(),patternCap:this.patternCap};return new u(e)}};(0,r.Cg)([(0,i.MZ)((0,b.EW)({colorRequiredOnWrite:!0}))],C.prototype,"color",void 0),(0,r.Cg)([(0,i.MZ)({...b.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(a.h6)],C.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({type:w.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],C.prototype,"patternCap",void 0),C=u=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DOutline")],C);const f=C;var v,S=o(3904);let A=class extends S.A{static{v=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){let e={edges:null==this.edges?null:this.edges.clone(),enabled:this.enabled,material:null==this.material?null:this.material.clone(),pattern:null==this.pattern?null:this.pattern.clone(),castShadows:this.castShadows,outline:null==this.outline?null:this.outline.clone()};return new v(e)}static fromSimpleFillSymbol(e){let t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new l.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??p.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new v({material:new d({color:(e.color??p.u7).clone()}),pattern:e.style&&"solid"!==e.style?new n.A({style:e.style}):null,outline:o})}};(0,r.Cg)([(0,h.e)({Fill:"fill"},{readOnly:!0})],A.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:d,json:{write:!0}})],A.prototype,"material",void 0),(0,r.Cg)([(0,i.MZ)(a.rn)],A.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],A.prototype,"castShadows",void 0),(0,r.Cg)([(0,i.MZ)({type:f,json:{write:!0}})],A.prototype,"outline",void 0),(0,r.Cg)([(0,i.MZ)(s.J)],A.prototype,"edges",void 0),A=v=(0,r.Cg)([(0,i.$K)("esri.symbols.FillSymbol3DLayer")],A)},11831(e,t,o){o.d(t,{A:()=>p});var r,i=o(32198),s=o(91429),l=o(25482),n=o(90629),a=o(5760);let p=r=class extends l.o{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(e){this._set("size",e)}castSize(e){return(0,n.cr)(e)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i.Cg)([(0,s.MZ)({type:a.h9,json:{default:"none",write:!0}})],p.prototype,"decoration",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"family",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy:(e,t,o)=>({enabled:!o||!o.textSymbol3D})}}})],p.prototype,"size",null),(0,i.Cg)([(0,s.wg)("size")],p.prototype,"castSize",null),(0,i.Cg)([(0,s.MZ)({type:a._R,json:{default:"normal",write:!0}})],p.prototype,"style",void 0),(0,i.Cg)([(0,s.MZ)({type:a.NM,json:{default:"normal",write:!0}})],p.prototype,"weight",void 0),p=r=(0,i.Cg)([(0,s.$K)("esri.symbols.Font")],p)},80138(e,t,o){o.d(t,{A:()=>D});var r,i=o(32198),s=o(91429),l=o(4718),n=o(53966),a=o(84952),p=o(33386),y=o(66552),h=o(25482),d=o(97159),u=o(36005),c=o(43937),g=o(93223);const m=(0,y.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let b=r=class extends h.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,d.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,a.DB)(e)?t.dataURI=e:(t.href=(0,d.t)(e,r),(0,a.oP)(t.href)&&(t.href=(0,a.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}equals(e){return e.primitive===this.primitive&&e.href===this.href}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],b.prototype,"href",void 0),(0,i.Cg)([(0,u.w)("href")],b.prototype,"readHref",null),(0,i.Cg)([(0,c.K)("href",{href:{type:String},dataURI:{type:String}})],b.prototype,"writeHref",null),(0,i.Cg)([(0,g.e)(m)],b.prototype,"primitive",void 0),b=r=(0,i.Cg)([(0,s.$K)("esri.symbols.support.IconSymbol3DLayerResource")],b);const w=b;var C,f=o(67222),v=o(97515),S=o(27066),A=o(56372);let M=C=class extends A.A{constructor(e){super(e),this.x=0,this.y=0}clone(){return new C({x:this.x,y:this.y})}equals(e){return e.x===this.x&&e.y===this.y}};(0,i.Cg)([(0,s.MZ)({type:Number})],M.prototype,"x",void 0),(0,i.Cg)([(0,s.MZ)({type:Number})],M.prototype,"y",void 0),M=C=(0,i.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DAnchorPosition2D")],M);const Z=M;var j,x=o(68197),z=o(90629);let L=j=class extends h.o{constructor(e){super(e),this.color=new x.A([0,0,0,1])}get size(){return this._get("size")??z.ps}set size(e){this._set("size",e)}clone(){let e={color:null==this.color?null:this.color.clone(),size:this.size};return new j(e)}equals(e){return e.size===this.size&&(null==this.color?null==e.color:this.color.equals(e.color))}};(0,i.Cg)([(0,s.MZ)((0,f.EW)({colorRequiredOnWrite:!0}))],L.prototype,"color",void 0),(0,i.Cg)([(0,s.MZ)({...f.pI,json:{write:{isRequired:!0}}})],L.prototype,"size",null),L=j=(0,i.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DIconOutline")],L);const $=L;var O,k=o(28975),N=o(3904);let D=class extends N.A{static{O=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0,this.occludedVisibility=new v.A({mode:"adaptive"})}get size(){return this._get("size")??12}set size(e){this._set("size",e)}clone(){return new O({anchor:this.anchor,anchorPosition:(0,l.o8)(this.anchorPosition),enabled:this.enabled,material:(0,l.o8)(this.material),outline:(0,l.o8)(this.outline),resource:(0,l.o8)(this.resource),angle:this.angle,size:this.size,occludedVisibility:(0,l.o8)(this.occludedVisibility)})}static fromSimpleMarkerSymbol(e){let t=e.color||p.ON,o=_(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||p.ON).clone()}:null;return new O({size:e.size,angle:e.angle,resource:{primitive:q(()=>n.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromPictureMarkerSymbol(e){let t=!e.color||(0,p.U9)(e.color)?p.ON:e.color,o=_(e);return new O({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromCIMSymbol(e){return new O({resource:{href:(0,a.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})},occludedVisibility:null})}};function _(e){let t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=K(e.xoffset),i=K(e.yoffset);return(r||i)&&t&&o?{x:-r/t,y:i/o}:null}function K(e){return isFinite(e)?e:0}(0,i.Cg)([(0,s.MZ)({type:k.A,json:{write:!0}})],D.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:w,json:{write:!0}})],D.prototype,"resource",void 0),(0,i.Cg)([(0,g.e)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({...f.pI,json:{write:{isRequired:!0}}})],D.prototype,"size",null),(0,i.Cg)([(0,g.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],D.prototype,"anchor",void 0),(0,i.Cg)([(0,s.MZ)({type:Z,json:{type:[Number],read:{reader:e=>new Z({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],D.prototype,"anchorPosition",void 0),(0,i.Cg)([(0,s.MZ)({type:$,json:{write:!0}})],D.prototype,"outline",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0,default:0}})],D.prototype,"angle",void 0),(0,i.Cg)([(0,s.MZ)(S.D)],D.prototype,"occludedVisibility",void 0),D=O=(0,i.Cg)([(0,s.$K)("esri.symbols.IconSymbol3DLayer")],D);const P={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function q(e,t){return P[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},13313(e,t,o){o.d(t,{A:()=>g});var r,i=o(32198),s=o(91429),l=o(7762),n=o(62885),a=o(4718),p=o(59483),y=o(4900),h=o(58185),d=o(80393),u=o(93223);const c=l.A.ofType({base:null,key:"type",typeMap:{text:d.A}});let g=r=class extends h.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new c}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,n.V)(e,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return(0,p.LH)(this)}hasVisibleVerticalOffset(){return(0,p.Yq)(this)}clone(){return new r({styleOrigin:(0,a.o8)(this.styleOrigin),symbolLayers:(0,a.o8)(this.symbolLayers),thumbnail:(0,a.o8)(this.thumbnail),callout:(0,a.o8)(this.callout),verticalOffset:(0,a.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([d.A.fromTextSymbol(e)])})}};(0,i.Cg)([(0,s.MZ)({type:y.A,json:{write:!0}})],g.prototype,"verticalOffset",void 0),(0,i.Cg)([(0,s.MZ)(p.oG)],g.prototype,"callout",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],g.prototype,"styleOrigin",void 0),(0,i.Cg)([(0,s.MZ)({type:c})],g.prototype,"symbolLayers",null),(0,i.Cg)([(0,u.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,i.Cg)([(0,s.$K)("esri.symbols.LabelSymbol3D")],g)},97887(e,t,o){o.d(t,{A:()=>c});var r,i=o(32198),s=o(91429),l=o(7762),n=o(4718),a=o(11506),p=o(66525),y=o(58185),h=o(93223);const d=l.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}}),u=l.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}});let c=r=class extends y.A{constructor(e){super(e),this.symbolLayers=new d,this.worldSized=!1,this.type="line-3d"}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail),worldSized:this.worldSized})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new l.A([a.A.fromSimpleLineSymbol(e)])})}};(0,i.Cg)([(0,s.MZ)({type:d,json:{type:u}})],c.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!1}})],c.prototype,"worldSized",void 0),(0,i.Cg)([(0,h.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,s.$K)("esri.symbols.LineSymbol3D")],c)},11506(e,t,o){o.d(t,{A:()=>v});var r=o(32198),i=o(91429),s=o(90629),l=o(68197),n=o(56507),a=o(69540),p=o(25482),y=o(83213);let h=class extends((0,a.OU)(p.o)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:y.x,json:{default:"begin-end",write:!0}})],h.prototype,"placement",void 0),(0,r.Cg)([(0,i.MZ)({type:y.z,json:{default:"arrow",write:!0}})],h.prototype,"style",void 0),(0,r.Cg)([(0,i.MZ)({type:l.A,json:{type:[n.jz],default:null,write:!0}})],h.prototype,"color",void 0),h=(0,r.Cg)([(0,i.$K)("esri.symbols.LineStyleMarker3D")],h);var d,u=o(44633),c=o(64086),g=o(33386),m=o(67222),b=o(28975),w=o(8887),C=o(3904),f=o(93223);let v=class extends C.A{static{d=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.pattern=null,this.imagePattern=null,this.marker=null,this.castShadows=!0}get size(){return this._get("size")??s.ps}set size(e){this._set("size",e)}clone(){let e={enabled:this.enabled,castShadows:this.castShadows,material:null==this.material?null:this.material.clone(),size:this.size,join:this.join,cap:this.cap,pattern:null==this.pattern?null:this.pattern.clone(),imagePattern:null==this.imagePattern?null:this.imagePattern.clone(),marker:null==this.marker?null:this.marker.clone()};return new d(e)}static fromSimpleLineSymbol(e){let t={enabled:!0,castShadows:!0,size:e.width??s.ps,cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new u.A({style:e.style}):null,imagePattern:null,material:new b.A({color:(e.color||g.ON).clone()}),marker:e.marker?new h({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new d(t)}};(0,r.Cg)([(0,i.MZ)({type:b.A,json:{write:!0}})],v.prototype,"material",void 0),(0,r.Cg)([(0,f.e)({Line:"line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:w.e,json:{write:!0,default:"miter"}})],v.prototype,"join",void 0),(0,r.Cg)([(0,i.MZ)({type:w.M4,json:{write:!0,default:"butt"}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,i.MZ)({...m.pI,json:{write:{isRequired:!0}}})],v.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(c.vc)],v.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)()],v.prototype,"imagePattern",void 0),(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:h,typeMap:{style:h}},json:{write:!0}})],v.prototype,"marker",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0})],v.prototype,"castShadows",void 0),v=d=(0,r.Cg)([(0,i.$K)("esri.symbols.LineSymbol3DLayer")],v)},89420(e,t,o){o.d(t,{A:()=>a});var r=o(32198),i=o(91429),s=o(56507),l=o(90629),n=o(20378);let a=class extends n.A{constructor(e){super(e),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get size(){return this._get("size")??9}set size(e){this._set("size",e)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,r.Cg)([(0,i.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],a.prototype,"angle",void 0),(0,r.Cg)([(0,i.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:Number,cast:l.cr,json:{write:!0}})],a.prototype,"xoffset",null),(0,r.Cg)([(0,i.MZ)({type:Number,cast:l.cr,json:{write:!0}})],a.prototype,"yoffset",null),(0,r.Cg)([(0,i.MZ)({cast:e=>"auto"===e?e:(0,s.GB)((0,l.cr)(e)),json:{write:!0}})],a.prototype,"size",null),a=(0,r.Cg)([(0,i.$K)("esri.symbols.MarkerSymbol")],a)},68548(e,t,o){o.d(t,{A:()=>u});var r,i=o(32198),s=o(91429),l=o(7762),n=o(62885),a=o(4718),p=o(27845),y=o(58185),h=o(93223);const d=l.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let u=r=class extends y.A{constructor(e){super(e),this.type="mesh-3d",this.symbolLayers=new d}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,n.V)(e,this._get("symbolLayers"))}clone(){return new r({styleOrigin:(0,a.o8)(this.styleOrigin),symbolLayers:(0,a.o8)(this.symbolLayers),thumbnail:(0,a.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new l.A([p.A.fromSimpleFillSymbol(e)])})}};(0,i.Cg)([(0,s.MZ)({type:d})],u.prototype,"symbolLayers",null),(0,i.Cg)([(0,h.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,i.Cg)([(0,s.$K)("esri.symbols.MeshSymbol3D")],u)},51216(e,t,o){o.d(t,{A:()=>f});var r,i=o(32198),s=o(91429),l=o(66552),n=o(25482),a=o(97159),p=o(93223);const y=(0,l.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let h=r=class extends n.o{constructor(e){super(e)}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{read:a.r,write:a.w}})],h.prototype,"href",void 0),(0,i.Cg)([(0,p.e)(y)],h.prototype,"primitive",void 0),h=r=(0,i.Cg)([(0,s.$K)("esri.symbols.support.ObjectSymbol3DLayerResource")],h);const d=h;var u,c=o(56372);let g=u=class extends c.A{constructor(e){super(e),this.x=0,this.y=0,this.z=0}clone(){return new u({x:this.x,y:this.y,z:this.z})}};(0,i.Cg)([(0,s.MZ)({type:Number})],g.prototype,"x",void 0),(0,i.Cg)([(0,s.MZ)({type:Number})],g.prototype,"y",void 0),(0,i.Cg)([(0,s.MZ)({type:Number})],g.prototype,"z",void 0),g=u=(0,i.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DAnchorPosition3D")],g);const m=g;var b,w=o(28975),C=o(3904);let f=class extends C.A{static{b=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new b({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,i.Cg)([(0,s.MZ)({type:w.A,json:{write:!0}})],f.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],f.prototype,"castShadows",void 0),(0,i.Cg)([(0,s.MZ)({type:d,json:{write:!0}})],f.prototype,"resource",void 0),(0,i.Cg)([(0,p.e)({Object:"object"},{readOnly:!0})],f.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],f.prototype,"width",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],f.prototype,"height",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],f.prototype,"depth",void 0),(0,i.Cg)([(0,p.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],f.prototype,"anchor",void 0),(0,i.Cg)([(0,s.MZ)({type:m,json:{type:[Number],read:{reader:e=>new m({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],f.prototype,"anchorPosition",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],f.prototype,"heading",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],f.prototype,"tilt",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],f.prototype,"roll",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],f.prototype,"isPrimitive",null),f=b=(0,i.Cg)([(0,s.$K)("esri.symbols.ObjectSymbol3DLayer")],f)},66525(e,t,o){o.d(t,{A:()=>h});var r,i=o(32198),s=o(91429),l=o(28975),n=o(8887),a=o(3904),p=o(93223),y=o(36005);let h=class extends a.A{static{r=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(e,t){return e??(null==t.height&&null!=t.size?t.size:void 0)}readHeight(e,t){return e??(null==t.width&&null!=t.size?t.size:void 0)}clone(){return new r({enabled:this.enabled,material:null==this.material?null:this.material.clone(),castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,i.Cg)([(0,s.MZ)({type:l.A,json:{write:!0}})],h.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,i.Cg)([(0,p.e)({Path:"path"},{readOnly:!0})],h.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],h.prototype,"profile",void 0),(0,i.Cg)([(0,s.MZ)({type:n.e,nonNullable:!0,json:{write:!0,default:"miter"}})],h.prototype,"join",void 0),(0,i.Cg)([(0,s.MZ)({type:n.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],h.prototype,"cap",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],h.prototype,"width",void 0),(0,i.Cg)([(0,y.w)("width",["width","size","height"])],h.prototype,"readWidth",null),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],h.prototype,"height",void 0),(0,i.Cg)([(0,y.w)("height",["height","size","width"])],h.prototype,"readHeight",null),(0,i.Cg)([(0,s.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],h.prototype,"anchor",void 0),(0,i.Cg)([(0,s.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],h.prototype,"profileRotation",void 0),h=r=(0,i.Cg)([(0,s.$K)("esri.symbols.PathSymbol3DLayer")],h)},58592(e,t,o){o.d(t,{A:()=>d});var r,i=o(32198),s=o(91429),l=o(4718),n=o(90629),a=o(89420),p=o(77040),y=o(93223),h=o(36005);let d=r=class extends a.A{constructor(e){super(e),this.color=null,this.type="picture-marker",this.url=null,this.source=null}get height(){return this._get("height")??12}set height(e){this._set("height",e)}readHeight(e,t){return t.size||e}get width(){return this._get("width")??12}set width(e){this._set("width",e)}readWidth(e,t){return t.size||e}get size(){return this._get("size")??null}set size(e){this._set("size",e)}clone(){let e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,l.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,i.Cg)([(0,s.MZ)({json:{write:!1}})],d.prototype,"color",void 0),(0,i.Cg)([(0,y.e)({esriPMS:"picture-marker"},{readOnly:!0})],d.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)(p.ku)],d.prototype,"url",void 0),(0,i.Cg)([(0,s.MZ)(p.k7)],d.prototype,"source",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"height",null),(0,i.Cg)([(0,h.w)("height",["height","size"])],d.prototype,"readHeight",null),(0,i.Cg)([(0,s.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"width",null),(0,i.Cg)([(0,s.MZ)({json:{write:!1}})],d.prototype,"size",null),d=r=(0,i.Cg)([(0,s.$K)("esri.symbols.PictureMarkerSymbol")],d)},75981(e,t,o){o.d(t,{A:()=>w});var r,i=o(32198),s=o(68197),l=o(91429),n=o(7762),a=o(4718),p=o(59483),y=o(8893),h=o(80138),d=o(51216),u=o(4900),c=o(58185),g=o(80393),m=o(93223);const b=n.A.ofType({base:null,key:"type",typeMap:{icon:h.A,object:d.A,text:g.A}});let w=r=class extends c.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new b,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(let e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,p.LH)(this)}hasVisibleVerticalOffset(){return(0,p.Yq)(this)}clone(){return new r({verticalOffset:(0,a.o8)(this.verticalOffset),callout:(0,a.o8)(this.callout),styleOrigin:(0,a.o8)(this.styleOrigin),symbolLayers:(0,a.o8)(this.symbolLayers),thumbnail:(0,a.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new n.A([h.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new n.A([h.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){return"CIMPointSymbol"===e.data?.symbol?.type?e.data.symbol?.callout?new r({symbolLayers:new n.A([h.A.fromCIMSymbol(e)]),callout:new y.A({size:.5,color:new s.A([0,0,0])}),verticalOffset:new u.A({screenLength:40})}):new r({symbolLayers:new n.A([h.A.fromCIMSymbol(e)])}):null}static fromTextSymbol(e){return new r({symbolLayers:new n.A([g.A.fromTextSymbol(e)])})}};(0,i.Cg)([(0,l.MZ)({type:u.A,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,i.Cg)([(0,l.MZ)(p.oG)],w.prototype,"callout",void 0),(0,i.Cg)([(0,l.MZ)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,m.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,i.Cg)([(0,l.$K)("esri.symbols.PointSymbol3D")],w)},65365(e,t,o){o.d(t,{A:()=>m});var r,i=o(32198),s=o(91429),l=o(7762),n=o(4718),a=o(26449),p=o(27845),y=o(80138),h=o(51216),d=o(58185),u=o(34723),c=o(93223);const g=l.A.ofType({base:null,key:"type",typeMap:{extrude:a.A,fill:p.A,icon:y.A,object:h.A,water:u.A}});let m=r=class extends d.A{constructor(e){super(e),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromJSON(e){let t=new r;return t.read(e),t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new l.A([p.A.fromSimpleFillSymbol(e)])})}};(0,i.Cg)([(0,s.MZ)({type:g,json:{write:!0}})],m.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,c.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,i.Cg)([(0,s.$K)("esri.symbols.PolygonSymbol3D")],m)},94985(e,t,o){o.d(t,{A:()=>u});var r,i=o(32198),s=o(68197),l=o(91429),n=o(66552),a=o(4718),p=o(65851),y=o(31593),h=o(93223);const d=new n.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let u=r=class extends p.A{constructor(e){super(e),this.color=new s.A([0,0,0,.25]),this.outline=new y.A,this.type="simple-fill",this.style="solid"}clone(){return new r({color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,i.Cg)([(0,l.MZ)({type:s.A})],u.prototype,"color",void 0),(0,i.Cg)([(0,l.MZ)()],u.prototype,"outline",void 0),(0,i.Cg)([(0,h.e)({esriSFS:"simple-fill"},{readOnly:!0})],u.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({type:d.apiValues,json:{read:d.read,write:d.write}})],u.prototype,"style",void 0),u=r=(0,i.Cg)([(0,l.$K)("esri.symbols.SimpleFillSymbol")],u)},31593(e,t,o){o.d(t,{A:()=>v});var r=o(32198),i=o(91429),s=o(66552),l=o(4718),n=o(90629),a=o(20378),p=o(93223);let y=class extends a.A{constructor(e){super(e),this.type="simple-line"}get width(){return this._get("width")??.75}set width(e){this._set("width",e)}hash(){return`${this.type}.${this.width}`}};(0,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:Number,cast:n.cr,json:{write:!0}})],y.prototype,"width",null),y=(0,r.Cg)([(0,i.$K)("esri.symbols.LineSymbol")],y);var h,d=o(68197),u=o(25482),c=o(83213),g=o(43937),m=o(36005);let b=h=class extends u.o{constructor(e){super(e),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(e,t,o,r){t[o]="web-map"===r?.origin?"arrow":e}set color(e){this._set("color",e)}readColor(e){return null==e?.[0]?e:[e[0],e[1],e[2],e[3]/255]}writeColor(e,t,o,r){"web-map"===r?.origin||(t[o]=e)}clone(){return new h({color:(0,l.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,r.Cg)([(0,i.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],b.prototype,"placement",void 0),(0,r.Cg)([(0,p.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,i.MZ)({json:{origins:{"web-map":{write:!1}}}})],b.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:c.z})],b.prototype,"style",void 0),(0,r.Cg)([(0,g.K)("style")],b.prototype,"writeStyle",null),(0,r.Cg)([(0,i.MZ)({type:d.A,value:null,json:{write:{allowNull:!0}}})],b.prototype,"color",null),(0,r.Cg)([(0,m.w)("color")],b.prototype,"readColor",null),(0,r.Cg)([(0,g.K)("color")],b.prototype,"writeColor",null),b=h=(0,r.Cg)([(0,i.$K)("esri.symbols.LineSymbolMarker")],b);const w=b;var C;const f=new s.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let v=C=class extends y{constructor(e){super(e),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}clone(){return new C({color:(0,l.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:f.apiValues,json:{read:f.read,write:f.write}})],v.prototype,"style",void 0),(0,r.Cg)([(0,i.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,i.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"join",void 0),(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":w}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],v.prototype,"marker",void 0),(0,r.Cg)([(0,i.MZ)({type:Number,json:{read:!1,write:!1}})],v.prototype,"miterLimit",void 0),v=C=(0,r.Cg)([(0,i.$K)("esri.symbols.SimpleLineSymbol")],v)},53930(e,t,o){o.d(t,{A:()=>c});var r,i=o(32198),s=o(68197),l=o(91429),n=o(66552),a=o(4718),p=o(89420),y=o(31593),h=o(43937),d=o(93223);const u=new n.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let c=r=class extends p.A{constructor(e){super(e),this.color=new s.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new y.A}writeColor(e,t){e&&"x"!==this.style&&"cross"!==this.style&&(t.color=e.toJSON()),null===e&&(t.color=null)}get size(){return this._get("size")??12}set size(e){this._set("size",e)}set path(e){this.style="path",this._set("path",e)}clone(){return new r({angle:this.angle,color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,i.Cg)([(0,l.MZ)({type:s.A})],c.prototype,"color",void 0),(0,i.Cg)([(0,h.K)("color")],c.prototype,"writeColor",null),(0,i.Cg)([(0,d.e)({esriSMS:"simple-marker"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)()],c.prototype,"size",null),(0,i.Cg)([(0,l.MZ)({type:u.apiValues,json:{read:u.read,write:u.write}})],c.prototype,"style",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"path",null),(0,i.Cg)([(0,l.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":y.A}},json:{default:null,write:!0}})],c.prototype,"outline",void 0),c=r=(0,i.Cg)([(0,l.$K)("esri.symbols.SimpleMarkerSymbol")],c)},20378(e,t,o){o.d(t,{A:()=>h});var r=o(32198),i=o(68197),s=o(91429),l=o(66552),n=o(25482),a=o(36005);const p=new l.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let y=0,h=class extends n.o{constructor(e){super(e),this.id="sym"+y++,this.type=null,this.color=new i.A([0,0,0,1])}readColor(e){return null==e?.[0]?e:[e[0],e[1],e[2],e[3]/255]}async collectRequiredFields(e){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,r.Cg)([(0,s.MZ)({type:p.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:p.write,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:i.A,json:{write:{allowNull:!0}}})],h.prototype,"color",void 0),(0,r.Cg)([(0,a.w)("color")],h.prototype,"readColor",null),h=(0,r.Cg)([(0,s.$K)("esri.symbols.Symbol")],h)},58185(e,t,o){o.d(t,{A:()=>z});var r=o(32198),i=o(91429),s=o(7762),l=o(62885),n=o(53966),a=o(84952),p=o(67076),y=o(20655),h=o(97159),d=o(26449),u=o(27845),c=o(80138),g=o(11506),m=o(51216),b=o(66525),w=o(98751),C=o(57212),f=o(20378),v=o(3904),S=o(80393),A=o(34723),M=o(36005),Z=o(43937);const j={icon:c.A,object:m.A,line:g.A,path:b.A,fill:u.A,extrude:d.A,text:S.A,water:A.A},x=s.A.ofType({base:v.A,key:"type",typeMap:j,errorContext:"symbol-layer"});let z=class extends f.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;let t=(this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers)?.type||s.A;this._set("symbolLayers",new t)}get color(){return null}set color(e){this.constructed&&n.A.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){let t=(0,h.f)(e.styleUrl,o);return new w.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new w.A({portal:o?.portal||y.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new p.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,h.t)(e.styleUrl,r);(0,a.oP)(o)&&(o=(0,a.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,a.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new p.A("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):t.styleOrigin={styleName:e.styleName,name:e.name})}};(0,r.Cg)([(0,i.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,i.MZ)({type:x,nonNullable:!0,json:{write:!0}}),(0,i.wg)(l.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,i.MZ)({type:w.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,M.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r.Cg)([(0,Z.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r.Cg)([(0,i.MZ)({type:C.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,i.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,i.$K)("esri.symbols.Symbol3D")],z)},3904(e,t,o){o.d(t,{A:()=>n});var r=o(32198),i=o(91429),s=o(25482),l=o(43937);let n=class extends s.o{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],n.prototype,"enabled",void 0),(0,r.Cg)([(0,l.K)("enabled")],n.prototype,"writeEnabled",null),(0,r.Cg)([(0,i.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.Symbol3DLayer")],n)},68249(e,t,o){o.d(t,{A:()=>c});var r,i=o(32198),s=o(68197),l=o(91429),n=o(4718),a=o(90629),p=o(11831),y=o(5760),h=o(20378),d=o(93223),u=o(43937);let c=r=class extends h.A{constructor(e){super(e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new p.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}get haloSize(){return this._get("haloSize")??null}set haloSize(e){this._set("haloSize",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(e){this._set("lineWidth",e)}writeLineWidth(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}castLineWidth(e){return(0,a.cr)(e)}writeLineHeight(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}clone(){return new r({angle:this.angle,backgroundColor:(0,n.o8)(this.backgroundColor),borderLineColor:(0,n.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,n.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,n.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,i.Cg)([(0,l.MZ)({type:s.A,json:{write:!0}})],c.prototype,"backgroundColor",void 0),(0,i.Cg)([(0,l.MZ)({type:s.A,json:{write:!0}})],c.prototype,"borderLineColor",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0},cast:a.cr})],c.prototype,"borderLineSize",void 0),(0,i.Cg)([(0,l.MZ)({type:p.A,json:{write:!0}})],c.prototype,"font",void 0),(0,i.Cg)([(0,l.MZ)({...y.rM,json:{write:!0}})],c.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],c.prototype,"kerning",void 0),(0,i.Cg)([(0,l.MZ)({type:s.A,json:{write:!0}})],c.prototype,"haloColor",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,cast:a.cr,json:{write:!0}})],c.prototype,"haloSize",null),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],c.prototype,"rightToLeft",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],c.prototype,"rotated",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"text",void 0),(0,i.Cg)([(0,d.e)({esriTS:"text"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({...y.x0,json:{write:!0}})],c.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,cast:a.cr,json:{write:!0}})],c.prototype,"xoffset",null),(0,i.Cg)([(0,l.MZ)({type:Number,cast:a.cr,json:{write:!0}})],c.prototype,"yoffset",null),(0,i.Cg)([(0,l.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],c.prototype,"angle",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],c.prototype,"width",void 0),(0,i.Cg)([(0,l.MZ)({type:Number})],c.prototype,"lineWidth",null),(0,i.Cg)([(0,u.K)("lineWidth")],c.prototype,"writeLineWidth",null),(0,i.Cg)([(0,l.wg)("lineWidth")],c.prototype,"castLineWidth",null),(0,i.Cg)([(0,l.MZ)(y.Tb)],c.prototype,"lineHeight",void 0),(0,i.Cg)([(0,u.K)("lineHeight")],c.prototype,"writeLineHeight",null),c=r=(0,i.Cg)([(0,l.$K)("esri.symbols.TextSymbol")],c)},80393(e,t,o){o.d(t,{A:()=>M});var r,i=o(32198),s=o(91429),l=o(4718),n=o(11831),a=o(67222),p=o(97515),y=o(27066),h=o(68197),d=o(25482);let u=r=class extends d.o{constructor(e){super(e),this.color=new h.A([0,0,0,1])}get size(){return this._get("size")??0}set size(e){this._set("size",e)}clone(){let e={color:(0,l.o8)(this.color),size:this.size};return new r(e)}};(0,i.Cg)([(0,s.MZ)((0,a.EW)())],u.prototype,"color",void 0),(0,i.Cg)([(0,s.MZ)(a.pI)],u.prototype,"size",null),u=r=(0,i.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DHalo")],u);var c=o(28975),g=o(69540);let m=class extends((0,g.OU)(d.o)){constructor(e){super(e),this.color=null}};(0,i.Cg)([(0,s.MZ)((0,a.EW)())],m.prototype,"color",void 0),m=(0,i.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DTextBackground")],m);var b=o(90629);let w=class extends((0,g.OU)(d.o)){constructor(e){super(e),this.color=new h.A([0,0,0,1])}get size(){return this._get("size")??b.ps}set size(e){this._set("size",e)}};(0,i.Cg)([(0,s.MZ)({...(0,a.EW)({colorRequiredOnWrite:!0}),json:void 0})],w.prototype,"color",void 0),(0,i.Cg)([(0,s.MZ)({...a.pI,json:void 0})],w.prototype,"size",null),w=(0,i.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DTextBorder")],w);var C,f=o(5760),v=o(3904),S=o(43937),A=o(93223);let M=class extends v.A{static{C=this}constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.border=null,this.text=null,this.type="text",this.verticalAlignment="baseline",this.occludedVisibility=new p.A({mode:"adaptive"})}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,o,r){let i={...r,textSymbol3D:!0};t.font=e.write({},i),delete t.font.size}get size(){return null==this._userSize?null==this.font?.size?9:this.font.size:this._userSize}set size(e){this._userSize=Number(e),null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){let e=new C({enabled:this.enabled,font:(0,l.o8)(this.font),halo:(0,l.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null==this.material?null:this.material.clone(),text:this.text,verticalAlignment:this.verticalAlignment,background:(0,l.o8)(this.background),border:(0,l.o8)(this.border),occludedVisibility:(0,l.o8)(this.occludedVisibility)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new C({font:null==e.font?new n.A:e.font.clone(),halo:Z(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new c.A({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new m({color:e.backgroundColor.clone()}):null,border:j(e.borderLineColor,e.borderLineSize),occludedVisibility:null})}};function Z(e,t){return e&&null!=t&&t>0?new u({color:(0,l.o8)(e),size:t}):null}function j(e,t){return null!=e&&null!=t&&t>0?new w({color:(0,l.o8)(e),size:t}):null}(0,i.Cg)([(0,s.MZ)({type:n.A,json:{write:!0}})],M.prototype,"font",null),(0,i.Cg)([(0,S.K)("font")],M.prototype,"writeFont",null),(0,i.Cg)([(0,s.MZ)({type:u,json:{write:!0}})],M.prototype,"halo",void 0),(0,i.Cg)([(0,s.MZ)({...f.rM,json:{default:"center",write:!0}})],M.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,s.MZ)({...f.Tb,json:{default:1,write:!0}})],M.prototype,"lineHeight",void 0),(0,i.Cg)([(0,s.MZ)({type:c.A,json:{write:!0}})],M.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:m,json:{write:!0}})],M.prototype,"background",void 0),(0,i.Cg)([(0,s.MZ)({type:w,json:{read:!1,write:!1}})],M.prototype,"border",void 0),(0,i.Cg)([(0,s.MZ)(a.pI)],M.prototype,"size",null),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],M.prototype,"text",void 0),(0,i.Cg)([(0,A.e)({Text:"text"},{readOnly:!0})],M.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({...f.x0,json:{default:"baseline",write:!0}})],M.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,s.MZ)(y.D)],M.prototype,"occludedVisibility",void 0),M=C=(0,i.Cg)([(0,s.$K)("esri.symbols.TextSymbol3DLayer")],M)},34723(e,t,o){o.d(t,{A:()=>y});var r,i=o(32198),s=o(68197),l=o(91429),n=o(56507),a=o(3904),p=o(93223);let y=class extends a.A{static{r=this}constructor(e){super(e),this.color=h.clone(),this.castShadows=!0,this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({castShadows:this.castShadows,color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,i.Cg)([(0,l.MZ)({type:s.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>h.clone(),defaultEquals:e=>e.toCss(!0)===h.toCss(!0)}})],y.prototype,"color",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,nonNullable:!0,json:{write:!1,read:!0}})],y.prototype,"castShadows",void 0),(0,i.Cg)([(0,p.e)({Water:"water"},{readOnly:!0})],y.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],y.prototype,"waterbodySize",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],y.prototype,"waveDirection",void 0),(0,i.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],y.prototype,"waveStrength",void 0),y=r=(0,i.Cg)([(0,l.$K)("esri.symbols.WaterSymbol3DLayer")],y);const h=new s.A([0,119,190])},29169(e,t,o){o.d(t,{A:()=>c});var r=o(32198),i=o(91429),s=o(53966),l=o(17676),n=o(20655),a=o(97159),p=o(57212);const y=new(o(66344).q)(500);var h,d=o(20378),u=o(93223);let c=h=class extends d.A{constructor(e){super(e),this.color=null,this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){let e=null==this.portal?n.A.getDefault():this.portal,t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new h({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async _fetchSymbol(e){let t=y,r=`${this._fetchCacheKey}:${e?.acceptedFormats?.join(",")}`,i=t.get(r);if(i)return await Promise.resolve(),(0,l.Te)(e),i.clone();let{resolveWebStyleSymbol:n}=await o.e(7883).then(()=>o(27883));(0,l.Te)(e);let a=n(this,{portal:this.portal},e);a.catch(e=>{s.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});let p=await a;return t.put(r,p.clone()),p}};(0,r.Cg)([(0,i.MZ)({json:{write:!1}})],c.prototype,"color",void 0),(0,r.Cg)([(0,i.MZ)({type:String,json:{write:!0}})],c.prototype,"styleName",void 0),(0,r.Cg)([(0,i.MZ)({type:n.A,json:{write:!1}})],c.prototype,"portal",void 0),(0,r.Cg)([(0,i.MZ)({type:String,json:{read:a.r,write:a.w}})],c.prototype,"styleUrl",void 0),(0,r.Cg)([(0,i.MZ)({type:p.V,json:{read:!1}})],c.prototype,"thumbnail",void 0),(0,r.Cg)([(0,i.MZ)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,u.e)({styleSymbolReference:"web-style"},{readOnly:!0})],c.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)()],c.prototype,"_fetchCacheKey",null),c=h=(0,r.Cg)([(0,i.$K)("esri.symbols.WebStyleSymbol")],c)},4595(e,t,o){o.d(t,{A:()=>l});var r=o(32198),i=o(91429),s=o(25482);let l=class extends s.o{constructor(e){super(e),this.visible=!0}clone(){throw Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"visible",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.callouts.Callout3D")],l)},8893(e,t,o){o.d(t,{A:()=>m});var r,i=o(32198),s=o(68197),l=o(91429),n=o(4718),a=o(90629),p=o(67222),y=o(4595),h=o(25482);let d=r=class extends h.o{constructor(e){super(e),this.color=new s.A("white")}clone(){return new r({color:(0,n.o8)(this.color)})}};(0,i.Cg)([(0,l.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],d.prototype,"color",void 0),d=r=(0,i.Cg)([(0,l.$K)("esri.symbols.callouts.LineCallout3DBorder")],d);const u=d;var c,g=o(93223);let m=c=class extends y.A{constructor(e){super(e),this.type="line",this.color=new s.A([0,0,0,1]),this.border=null}get size(){return this._get("size")??a.ps}set size(e){this._set("size",e)}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new c({color:(0,n.o8)(this.color),size:this.size,border:(0,n.o8)(this.border)})}};(0,i.Cg)([(0,g.e)({line:"line"})],m.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],m.prototype,"color",void 0),(0,i.Cg)([(0,l.MZ)({...p.pI,json:{write:{isRequired:!0}}})],m.prototype,"size",null),(0,i.Cg)([(0,l.MZ)({type:u,json:{write:!0}})],m.prototype,"border",void 0),(0,i.Cg)([(0,l.MZ)({readOnly:!0})],m.prototype,"visible",null),m=c=(0,i.Cg)([(0,l.$K)("esri.symbols.callouts.LineCallout3D")],m)},59483(e,t,o){o.d(t,{LH:()=>l,Yq:()=>s});var r=o(4595),i=o(8893);function s(e){if(!e)return!1;let t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){return!!(e&&e.supportsCallout&&e.supportsCallout()&&e.callout?.visible)&&!!s(e)}const n={types:{key:"type",base:r.A,typeMap:{line:i.A}},json:{write:!0}};o.d(t,["oG",0,n])},4792(e,t,o){var r=o(32198),i=o(68197),s=o(91429),l=o(25482),n=o(4718),a=o(90629),p=o(67222);let y=class extends l.o{constructor(e){super(e),this.color=new i.A([0,0,0,1])}get extensionLength(){return this._get("extensionLength")??0}set extensionLength(e){this._set("extensionLength",e)}get size(){return this._get("size")??a.ps}set size(e){this._set("size",e)}clone(){}cloneProperties(){return{color:(0,n.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,s.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],y.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],y.prototype,"color",void 0),(0,r.Cg)([(0,s.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],y.prototype,"extensionLength",null),(0,r.Cg)([(0,s.MZ)(p.pI)],y.prototype,"size",null),y=(0,r.Cg)([(0,s.$K)("esri.symbols.edges.Edges3D")],y);const h=y;o.d(t,["A",0,h])},39065(e,t,o){var r,i=o(32198),s=o(91429),l=o(4792),n=o(93223);let a=r=class extends l.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,n.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.symbols.edges.SolidEdges3D")],a);const p=a;o.d(t,["A",0,p])},51734(e,t,o){o.d(t,{J:()=>h});var r,i=o(4792),s=o(32198),l=o(91429),n=o(93223);let a=r=class extends i.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,s.Cg)([(0,n.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.edges.SketchEdges3D")],a);const p=a;var y=o(39065);const h={types:{key:"type",base:i.A,typeMap:{solid:y.A,sketch:p}},json:{write:!0}}},36533(e,t,o){o.d(t,{A:()=>n});var r=o(32198),i=o(91429),s=o(69540),l=o(25482);let n=class extends((0,s.OU)(l.o)){constructor(e){super(e)}};(0,r.Cg)([(0,i.MZ)({type:["style","template","image"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.LinePattern3D")],n)},44633(e,t,o){o.d(t,{A:()=>p});var r=o(32198),i=o(91429),s=o(66552),l=o(36533);var n=o(93223);const a=(0,s.O)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let p=class extends l.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,i.MZ)({type:["style"]})],p.prototype,"type",void 0),(0,r.Cg)([(0,n.e)(a),(0,i.MZ)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"],json:{write:{isRequired:!0}}})],p.prototype,"style",void 0),p=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.LineStylePattern3D")],p)},3955(e,t,o){o.d(t,{A:()=>n});var r=o(32198),i=o(91429),s=o(69540),l=o(25482);let n=class extends((0,s.OU)(l.o)){constructor(){super(...arguments),this.type="style"}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.Pattern3D")],n)},16264(e,t,o){o.d(t,{A:()=>l});var r=o(32198),i=o(91429),s=o(3955);let l=class extends s.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],l.prototype,"style",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.StylePattern3D")],l)},64086(e,t,o){o.d(t,{vc:()=>g,h6:()=>m,rn:()=>c});var r=o(36533),i=o(44633),s=o(32198),l=o(91429),n=o(45733);let a=class extends r.A{constructor(e){super(e),this.type="template",this.dashTemplate=[]}get normalizedDashTemplate(){let{dashTemplate:e,hidesLine:t}=(0,n.OI)(this.dashTemplate);return{dashTemplate:e.map(e=>Math.abs(e)),hidesLine:t}}};(0,s.Cg)([(0,l.MZ)({type:["template"]})],a.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({type:[Number],nonNullable:!0,json:{write:{isRequired:!0}}})],a.prototype,"dashTemplate",void 0),(0,s.Cg)([(0,l.MZ)()],a.prototype,"normalizedDashTemplate",null),a=(0,s.Cg)([(0,l.$K)("esri.symbols.patterns.LineTemplatePattern3D")],a);const p=a;var y=o(3955),h=o(16264);const d={key:"type",base:r.A,typeMap:{style:i.A,template:p}},u={key:"type",base:r.A,typeMap:{style:i.A}},c={types:{key:"type",base:y.A,typeMap:{style:h.A}},json:{write:!0}},g={types:d,json:{write:!0}},m={types:u,json:{write:!0}}},97515(e,t,o){o.d(t,{A:()=>n});var r=o(32198),i=o(91429),s=o(69540),l=o(25482);let n=class extends((0,s.OU)(l.o)){constructor(e){super(e),this.mode="adaptive"}equals(e){return this.mode===e.mode}};(0,r.Cg)([(0,i.MZ)({type:["adaptive","hidden","visible"],json:{write:{isRequired:!0}}})],n.prototype,"mode",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.support.OccludedVisibility")],n)},98751(e,t,o){o.d(t,{A:()=>a});var r,i=o(32198),s=o(56372),l=o(91429),n=o(20655);let a=r=class extends s.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleUrl",void 0),(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleName",void 0),(0,i.Cg)([(0,l.MZ)({type:n.A})],a.prototype,"portal",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.StyleOrigin")],a)},28975(e,t,o){o.d(t,{A:()=>y});var r=o(32198),i=o(91429),s=o(69540),l=o(25482),n=o(67222),a=o(93223);let p=class extends((0,s.OU)(l.o)){constructor(e){super(e),this.strength=1,this.source="emissive"}};(0,r.Cg)([(0,i.MZ)({type:Number,nonNullable:!0,range:{min:0},json:{write:!0}})],p.prototype,"strength",void 0),(0,r.Cg)([(0,a.e)({emissive:"emissive",color:"color"}),(0,i.MZ)({nonNullable:!0,json:{write:{enabled:!0}}})],p.prototype,"source",void 0),p=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DEmissive")],p);let y=class extends((0,s.OU)(l.o)){constructor(e){super(e),this.color=null,this.emissive=null}};(0,r.Cg)([(0,i.MZ)((0,n.EW)())],y.prototype,"color",void 0),(0,r.Cg)([(0,i.MZ)({type:p,json:{write:!0}})],y.prototype,"emissive",void 0),y=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DMaterial")],y)},4900(e,t,o){o.d(t,{A:()=>a});var r,i=o(32198),s=o(91429),l=o(25482),n=o(67222);let a=r=class extends l.o{constructor(e){super(e),this.minWorldLength=0,this.maxWorldLength=null}get screenLength(){return this._get("screenLength")??0}set screenLength(e){this._set("screenLength",e)}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,i.Cg)([(0,s.MZ)({...n.pI,json:{write:{isRequired:!0}}})],a.prototype,"screenLength",null),(0,i.Cg)([(0,s.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],a.prototype,"minWorldLength",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxWorldLength",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DVerticalOffset")],a)},57212(e,t,o){o.d(t,{V:()=>n});var r,i=o(32198),s=o(56372),l=o(91429);let n=r=class extends s.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,i.Cg)([(0,l.MZ)({type:String})],n.prototype,"url",void 0),n=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Thumbnail")],n)},33386(e,t,o){o.d(t,{ON:()=>i,U9:()=>l});var r=o(68197);const i=new r.A("white"),s=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}o.d(t,["u7",0,s])},83213(e,t,o){o.d(t,["x",0,["begin","end","begin-end"],"z",0,["arrow","circle","square","diamond","cross","x"]])},67222(e,t,o){o.d(t,{EW:()=>p});var r=o(68197),i=o(56507),s=o(90629),l=o(78553);function n(e,t){let o=null==t.transparency?1:(0,l.D)(t.transparency),i=t.color;return i&&Array.isArray(i)?new r.A([i[0]||0,i[1]||0,i[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);let o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function p(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[i.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[i.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:i.jz}},writer:a}}}}const y={type:Number,cast:s.cr,json:{write:!0}};o.d(t,["pI",0,y])},27066(e,t,o){const r={type:o(97515).A,json:{write:!0,default:null}};o.d(t,["D",0,r])},8887(e,t,o){o.d(t,{Fq:()=>n}),o(51850);var r=o(70328);const i=(0,r.fA)(-.5,-.5,-.5,.5,.5,.5),s=(0,r.fA)(-.5,-.5,0,.5,.5,1),l=(0,r.fA)(-.5,-.5,0,.5,.5,.5);function n(e){switch(e){case"sphere":case"cube":case"diamond":return i;case"cylinder":case"cone":case"inverted-cone":return s;case"tetrahedron":return l;default:return}}const a=["butt","square","round"],p=[...a,"none"];o.d(t,["M4",0,a,"Nv",0,p,"e",0,["miter","bevel","round"]])},5760(e,t,o){var r=o(56507),i=o(34727);const s={type:Number,cast:e=>{let t=(0,r.GB)(e);return 0===t?1:(0,i.qE)(t,.1,4)},nonNullable:!0};o.d(t,["NM",0,["normal","lighter","bold","bolder"],"Tb",0,s,"_R",0,["normal","italic","oblique"],"h9",0,["none","underline","line-through"],"rM",0,{type:["left","right","center"],nonNullable:!0},"x0",0,{type:["baseline","top","middle","bottom"],nonNullable:!0}])},33910(e,t,o){o.d(t,{dp:()=>R,$y:()=>x,wk:()=>z,Y7:()=>O,wC:()=>$,Ac:()=>k,Bu:()=>D,Es:()=>L,q8:()=>N,em:()=>K,Rv:()=>q,xK:()=>_,On:()=>P});var r,i=o(56507),s=o(90360),l=o(40863),n=o(13313),a=o(97887),p=o(68548),y=o(32198),h=o(91429),d=o(4718),u=o(90629),c=o(65851),g=o(77040),m=o(93223);let b=r=class extends c.A{constructor(e){super(e),this.color=null,this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.source=null}get width(){return this._get("width")??12}set width(e){this._set("width",e)}get height(){return this._get("height")??12}set height(e){this._set("height",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}clone(){let e=new r({color:(0,d.o8)(this.color),height:this.height,outline:(0,d.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,d.o8)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,y.Cg)([(0,h.MZ)({json:{write:!1}})],b.prototype,"color",void 0),(0,y.Cg)([(0,m.e)({esriPFS:"picture-fill"},{readOnly:!0})],b.prototype,"type",void 0),(0,y.Cg)([(0,h.MZ)(g.ku)],b.prototype,"url",void 0),(0,y.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],b.prototype,"xscale",void 0),(0,y.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],b.prototype,"yscale",void 0),(0,y.Cg)([(0,h.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"width",null),(0,y.Cg)([(0,h.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"height",null),(0,y.Cg)([(0,h.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"xoffset",null),(0,y.Cg)([(0,h.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"yoffset",null),(0,y.Cg)([(0,h.MZ)(g.k7)],b.prototype,"source",void 0),b=r=(0,y.Cg)([(0,h.$K)("esri.symbols.PictureFillSymbol")],b);var w=o(58592),C=o(75981),f=o(65365),v=o(94985),S=o(31593),A=o(53930),M=o(20378),Z=o(68249),j=o(29169);function x(e){if(!e)return!1;switch(e.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function z(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const L={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":S.A,"simple-marker":A.A,text:Z.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":C.A,"polygon-3d":f.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},$={base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":A.A,"point-3d":C.A,cim:l.A},errorContext:"symbol"},O={base:M.A,key:"type",typeMap:{"simple-line":S.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},k={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"polygon-3d":f.A,cim:l.A},errorContext:"symbol"},N={base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":A.A,text:Z.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},D=(0,s.C)({types:L}),_={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":S.A,"simple-marker":A.A,text:Z.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":C.A,"polygon-3d":f.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},K={base:M.A,key:"type",typeMap:{text:Z.A,"label-3d":n.A,cim:l.A},errorContext:"symbol"},P={base:M.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":p.A,"point-3d":C.A,"polygon-3d":f.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},q={base:M.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},R=(0,i.aq)(L)},77040(e,t,o){var r=o(84952),i=o(97159);function s(e,t){if(!(0,r.oP)(e)){let o=function(e){if(!e)return null;let{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;let r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,i.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):s(t.url,o)}},write:{writer(e,t,o,s){!function(e,t,o,s){if((0,r.DB)(e)){let l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,i.w)(o.url,t,"url",s)}else(0,i.w)(e,t,"url",s)}(e,t,this.source,s)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){let r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=s(t.url,o)),r}}}};o.d(t,["k7",0,n,"ku",0,l])}}]);
@@ -1 +1 @@
1
- "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[3103,6956,7745],{31464(e,t,r){r.d(t,{Cv:()=>m,Nk:()=>d,lK:()=>f});var i=r(4576),n=r(99917),s=r(60408),a=r(21325),o=r(28735);const l=[0,0];function u(e,t){let r=(0,a.K8)(e)?o.je:o.tD;if((0,s.fT)(t)){let e={x:0,y:0};return[e.x,e.y]=r(t.x,t.y,l),null!=t.z&&(e.z=t.z),null!=t.m&&(e.m=t.m),e}if((0,s.ZC)(t)){let e={xmin:0,ymin:0,xmax:0,ymax:0};return[e.xmin,e.ymin]=r(t.xmin,t.ymin,l),[e.xmax,e.ymax]=r(t.xmax,t.ymax,l),t.hasZ&&(e.zmin=t.zmin,e.zmax=t.zmax,e.hasZ=!0),t.hasM&&(e.mmin=t.mmin,e.mmax=t.mmax,e.hasM=!0),e}if((0,s.Bi)(t))return{rings:p(t.rings,r),hasM:t.hasM,hasZ:t.hasZ};if((0,s.Rg)(t))return{paths:p(t.paths,r),hasM:t.hasM,hasZ:t.hasZ};if((0,s.U9)(t))return{points:y(t.points,r),hasM:t.hasM,hasZ:t.hasZ};throw Error()}function p(e,t){return Array.from(e,e=>y(e,t))}function y(e,t){let r=[];for(let i of e){let e=t(i[0],i[1],[0,0]);r.push(e),i.length>2&&e.push(i[2]),i.length>3&&e.push(i[3])}return r}async function d(e,t){if(!e||!t)return;let r=Array.isArray(e)?e.map(e=>null==e.geometry?null:e.geometry.spatialReference).filter(i.Ru):[e];await(0,n.initializeProjection)(r.map(e=>({source:e,dest:t})))}function m(e,t,r,i){if(!e)return null;if(r||(r=t,t=e.spatialReference),!(0,a.fn)(t)||!(0,a.fn)(r)||(0,a.aI)(t,r))return e;if((0,o.y7)(t,r)){let t=u(r,e);return t.spatialReference=r,t}let[s]=(0,n.projectMany)([e],t,r,i);return s}const c=new class{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(e,t,r,i){if(!e?.length||!t||!r||(0,a.aI)(t,r))return e;let n={geometries:e,inSpatialReference:t,outSpatialReference:r,options:i,resolve:Promise.withResolvers()};return this._jobs.push(n),this._timer??=setTimeout(this._process,10),n.resolve.promise}_process(){this._timer=null;let e=this._jobs.shift();if(!e)return;let t,{geometries:r,inSpatialReference:i,outSpatialReference:s,resolve:a,options:l}=e,p=r.filter(e=>null!=e);t=(0,o.y7)(i,s)&&null==l?.extendedParams?p.map(e=>u(s,e)):(0,n.projectMany)(p,i,s,l);let y=0,d=r.map(e=>null==e?null:t[y++]);a.resolve(d),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}};function f(e,t,r,i){return c.push(e,t,r,i)}},58727(e,t,r){r.d(t,{GC:()=>h,T2:()=>v,VY:()=>c,dO:()=>S,iJ:()=>g});var i=r(49186),n=r(66552),s=r(86211),a=r(39829),o=r(99917),l=r(90634),u=r(60408),p=r(65864),y=r(52039),d=r(21325),m=r(31464);const c=new n.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),f=Object.freeze({});async function g(e,t,r){let i=e.bin;return i.onField&&=i.onField.trim(),i.onExpression?.value&&(i.onExpression.value=i.onExpression.value.trim()),i.splitBy&&(i.splitBy.value&&(i.splitBy.value=i.splitBy.value.trim()),i.splitBy.outAlias&&(i.splitBy.outAlias=i.splitBy.outAlias.trim())),i.stackBy&&(i.stackBy.value&&(i.stackBy.value=i.stackBy.value.trim()),i.stackBy.outAlias&&(i.stackBy.outAlias=i.stackBy.outAlias.trim())),"normalizationField"in i.parameters&&i.parameters.normalizationField&&(i.parameters.normalizationField=i.parameters.normalizationField.trim()),e.outStatistics?.length||(e.outStatistics=[{statisticType:"count",onStatisticField:"1",outStatisticFieldName:"frequency"}]),h(e,t,r)}async function h(e,t,r){let{outFields:i,orderByFields:n,groupByFieldsForStatistics:s,outStatistics:a}=e;if(i)for(let e=0;e<i.length;e++)i[e]=i[e].trim();if(n)for(let e=0;e<n.length;e++)n[e]=n[e].trim();if(s)for(let e=0;e<s.length;e++)s[e]=s[e].trim();if(a)for(let e=0;e<a.length;e++)a[e].onStatisticField&&(a[e].onStatisticField=a[e].onStatisticField.trim());return e.geometry&&!e.outSR&&(e.outSR=e.geometry.spatialReference),v(e,t,r)}async function v(e,t,r){if(!e)return null;let{where:i}=e;if(e.where=i=i?.trim(),(!i||/^1 *= *1$/.test(i)||t&&t===i)&&(e.where=null),!e.geometry)return e;let n=await w(e);if(e.distance=0,e.units=null,"esriSpatialRelEnvelopeIntersects"===e.spatialRel){let{spatialReference:t}=e.geometry;n=(0,l.HA)(n),n.spatialReference=t}if(!n)return e;await(0,m.Nk)(n.spatialReference,r);let[s]=await(0,y.el)((0,p.rS)(n));if(null==s)throw f;let c=!1;((0,u.ZC)(s)||(0,u.Bi)(s)||(0,u.Rg)(s))&&(c=!(0,d.aI)(s.spatialReference,r)&&!(0,o.canProjectWithoutEngine)(s.spatialReference,r)),c&&(0,u.ZC)(s)&&(s=a.A.fromExtent(s));let g="quantizationParameters"in e&&e.quantizationParameters?.tolerance||"maxAllowableOffset"in e&&e.maxAllowableOffset||0,h=c&&g?{extendedParams:{densificationStep:8*g}}:void 0,v=s.toJSON(),S=(0,m.Cv)(v,v.spatialReference,r,h);if(!S)throw f;return S.spatialReference=r,e.geometry=S,e}async function w(e){let{distance:t,units:n}=e,a=e.geometry;if(!t||"vertexAttributes"in a)return a;let o=a.spatialReference,l=n?c.fromJSON(n):(0,s.Ij)(o),p=o&&((0,d.EA)(o)||(0,d.K8)(o))?a:await(0,m.Nk)(o,d.KK).then(()=>(0,m.Cv)(a,d.KK)),{geodesicBufferExecute:y,geodesicBufferLoad:f}=await r.e(9159).then(()=>r(49159));await f();let g=y(p,t||1,{unit:l})??void 0;if(!g||!(0,u.Bi)(g)||0===g.rings.length)throw new i.A("unsupported-query:invalid-parameters","Invalid parameters for query by distance");return g}function S(e,t){return null==e?null:"string"==typeof e?t?new Date(`1970-01-01T${e}Z`).getTime():new Date(e).getTime():e instanceof Date?e.getTime():e}r.d(t,["v8",0,f])},33103(e,t,r){r.r(t),r.d(t,{executeAttributeBinsQuery:()=>f});var i=r(37745),n=r(14575),s=r(2272),a=r(39516),o=r(84952),l=r(60408),u=r(52039),p=r(21325),y=r(78888),d=r(10536),m=r(2991);function c(e,t){let r,i,n,s=e.geometry,o=e.toJSON(),u=o;if(null!=s&&(i=s.spatialReference,n=(0,p.YX)(i),u.geometryType=(0,l.$B)(s),u.geometry=JSON.stringify(s),u.inSR=n),o.outSR?(u.outSR=(0,p.YX)(o.outSR),r=e.outSpatialReference):s&&(u.outSR=u.inSR,r=i),u.bin&&=JSON.stringify(u.bin),u.quantizationParameters&&=JSON.stringify(u.quantizationParameters),u.outStatistics&&=JSON.stringify(u.outStatistics),u.outTimeReference&&=JSON.stringify(u.outTimeReference),e.timeExtent){let r=t?.timeInformation;if(r){let t=r.getExpression(e.timeExtent);switch(t?.type){case"time":u.time=t.value;break;case"where":t.value&&(u.where=(0,a.mA)(u.where,t.value))}}else u.time=(0,m.G9)(e.timeExtent);delete o.timeExtent}return e.defaultSpatialReference&&(0,p.aI)(i,r)&&(u.defaultSR=u.inSR,delete u.inSR,delete u.outSR),u}async function f(e,t,r,a){let{data:l}=await async function(e,t,r,i){return null!=t.timeExtent&&t.timeExtent.isEmpty?{data:{features:[]}}:await async function(e,t,r={},i={}){let n="string"==typeof e?(0,o.An)(e):e,[s]=await(0,u.el)([t.geometry],r);null!=s&&((t=t.clone()).geometry=s);let a=(0,d.z)({...n.query,f:"json",...c(t,i)});return(0,y.A)((0,o.fj)(n.path,"queryBins"),{...r,query:{...a,...r.query}})}(e,t,r,i)}((0,s.Dl)(e),n.default.from(t),r,a);return i.default.fromJSON(l)}},37745(e,t,r){r.r(t),r.d(t,{default:()=>d});var i,n=r(32198),s=r(91429),a=r(4718),o=r(52106);let l=class extends o.A{static{i=this}constructor(e){super(e),this.stackedAttributes=null}cloneShallow(){return new i(Object.assign({stackedAttributes:this.stackedAttributes},super.cloneShallow()))}toJSON(){return{...super.toJSON(),stackedAttributes:(0,a.o8)(this.stackedAttributes)}}};(0,n.Cg)([(0,s.MZ)()],l.prototype,"stackedAttributes",void 0),l=i=(0,n.Cg)([(0,s.$K)("esri.AttributeBinsGraphic")],l);var u=r(69540),p=r(22671),y=r(36005);let d=class extends((0,u.OU)(p.A)){constructor(e){super(e),this.features=[]}readFeatures(e,t){return this.readFeaturesWithClass(e,t,l)}};(0,n.Cg)([(0,s.MZ)({type:[l],json:{write:!0}})],d.prototype,"features",void 0),(0,n.Cg)([(0,y.w)("features")],d.prototype,"readFeatures",null),d=(0,n.Cg)([(0,s.$K)("esri.rest.support.AttributeBinsFeatureSet")],d)},14575(e,t,r){r.d(t,{default:()=>R});var i=r(32198),n=r(91429),s=r(56507),a=r(69540),o=r(66552),l=r(25482),u=r(53966),p=r(16930),y=r(65864),d=r(50498),m=r(58727),c=r(79677),f=r(56400),g=r(5834),h=r(41266),v=r(59977),w=r(11440),S=r(60909),C=r(58174),B=r(7562),x=r(93223);const A=new o.J({asc:"ascending",desc:"descending"}),M={base:h.A,key:"type",typeMap:{"auto-interval":g.A,date:v.A,"fixed-boundaries":w.A,"fixed-interval":S.A}};let R=class extends((0,a.OU)(l.o)){constructor(e){super(e),this.binParameters=null,this.binOrder="ascending",this.cacheHint=void 0,this.datumTransformation=null,this.defaultSpatialReference=null,this.distance=void 0,this.geometry=null,this.lowerBoundaryAlias=null,this.outSpatialReference=null,this.outStatistics=null,this.returnDistinctValues=null,this.spatialRelationship="intersects",this.timeExtent=null,this.upperBoundaryAlias=null,this.units=null,this.where="1=1"}set outTimeZone(e){this._set("outTimeZone",e),e&&!(0,f.wr)(e)&&u.A.getLogger(this).warn("#outTimeZone",`the parsed value '${e}' may not be a valid IANA time zone`)}};(0,i.Cg)([(0,n.MZ)({types:M,json:{name:"bin",write:!0}})],R.prototype,"binParameters",void 0),(0,i.Cg)([(0,x.e)(A)],R.prototype,"binOrder",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"cacheHint",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],R.prototype,"datumTransformation",void 0),(0,i.Cg)([(0,n.MZ)({type:p.A,json:{name:"defaultSR",write:!0}})],R.prototype,"defaultSpatialReference",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],R.prototype,"distance",void 0),(0,i.Cg)([(0,n.MZ)({types:d.yR,json:{read:y.rS,write:!0}})],R.prototype,"geometry",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],R.prototype,"lowerBoundaryAlias",void 0),(0,i.Cg)([(0,n.MZ)({type:p.A,json:{name:"outSR",write:!0}})],R.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,n.MZ)({type:[B.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],R.prototype,"outStatistics",void 0),(0,i.Cg)([(0,n.MZ)({value:null,json:{name:"outTimeReference",read:{reader:e=>e.ianaTimeZone},write:{writer:(e,t,r)=>{e&&(t[r]={ianaTimeZone:e})}}}})],R.prototype,"outTimeZone",null),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{name:"returnAggIds",write:{overridePolicy:e=>({enabled:null!=e})}}})],R.prototype,"returnAggregateIds",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"returnDistinctValues",void 0),(0,i.Cg)([(0,x.e)(C.x,{name:"spatialRel"})],R.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,n.MZ)({type:c.A,json:{write:!0}})],R.prototype,"timeExtent",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],R.prototype,"upperBoundaryAlias",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{read:m.VY.read,write:{writer:m.VY.write,overridePolicy(e){return{enabled:null!=e&&!!this.distance}}}}})],R.prototype,"units",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],R.prototype,"where",void 0),R=(0,i.Cg)([(0,n.$K)("esri.rest.support.AttributeBinsQuery")],R),R.from=(0,s.dp)(R)},5834(e,t,r){r.d(t,{A:()=>y});var i=r(32198),n=r(91429),s=r(56507),a=r(93637),o=r(41266),l=r(41366),u=r(93223);function p(e,t,r){(0,a.sM)(r,e instanceof Date?e.getTime():e,t)}let y=class extends((0,l.K)(o.A)){constructor(e){super(e),this.numBins=null,this.end=null,this.start=null,this.type="auto-interval"}};(0,i.Cg)([(0,n.MZ)({type:Number,json:{name:"parameters.numberOfBins",write:!0}})],y.prototype,"numBins",void 0),(0,i.Cg)([(0,n.MZ)({json:{name:"parameters.end",write:{writer:p}}})],y.prototype,"end",void 0),(0,i.Cg)([(0,n.MZ)({json:{name:"parameters.start",write:{writer:p}}})],y.prototype,"start",void 0),(0,i.Cg)([(0,u.e)({autoIntervalBin:"auto-interval"},{readOnly:!0})],y.prototype,"type",void 0),y=(0,i.Cg)([(0,n.$K)("esri.rest.support.AutoIntervalBinParameters")],y),y.from=(0,s.dp)(y)},41266(e,t,r){r.d(t,{A:()=>f});var i=r(32198),n=r(91429),s=r(69540),a=r(66552),o=r(25482),l=r(56507),u=r(93223);const p=new a.J({esriFieldTypeInteger:"integer",esriFieldTypeString:"string"});let y=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.alias=null,this.responseType=null,this.type=null,this.value=null,this.valueType=null}};(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"outAlias",write:!0}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,n.MZ)({type:String})],y.prototype,"responseType",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],y.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],y.prototype,"value",void 0),(0,i.Cg)([(0,u.e)(p)],y.prototype,"valueType",void 0),y=(0,i.Cg)([(0,n.$K)("esri.rest.support.AttributeBinsGrouping")],y);const d=y;y.from=(0,l.dp)(y);const m=new a.J({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeDate:"date",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"}),c=new a.J({naturalLog:"natural-log",squareRoot:"square-root"});let f=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.expression=null,this.expressionValueType=null,this.field=null,this.firstDayOfWeek=null,this.hideUpperBound=null,this.splitBy=null,this.stackBy=null,this.transformation=null}};(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"onExpression.value",write:!0}})],f.prototype,"expression",void 0),(0,i.Cg)([(0,u.e)(m,{name:"onExpression.valueType"})],f.prototype,"expressionValueType",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"onField",write:!0}})],f.prototype,"field",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:!0}})],f.prototype,"firstDayOfWeek",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"hideUpperBound",void 0),(0,i.Cg)([(0,n.MZ)({type:d,json:{write:{overridePolicy(){return{enabled:null!=this.splitBy?.value||null!=this.splitBy?.type}}}}})],f.prototype,"splitBy",void 0),(0,i.Cg)([(0,n.MZ)({type:d,json:{write:{target:{stackBy:{type:d},jsonStyle:{type:String}},writer:(e,t)=>{e&&(t.stackBy=e.toJSON(),null!=e.responseType&&(t.jsonStyle=e.responseType))},overridePolicy(){return{enabled:null!=this.stackBy?.value||null!=this.stackBy?.type}}},read:{source:["stackBy","jsonStyle"],reader:(e,t)=>d.fromJSON({...t.stackBy,responseType:t.jsonStyle})}}})],f.prototype,"stackBy",void 0),(0,i.Cg)([(0,u.e)(c)],f.prototype,"transformation",void 0),f=(0,i.Cg)([(0,n.$K)("esri.rest.support.BinParametersBase")],f)},59977(e,t,r){r.d(t,{A:()=>g});var i=r(32198),n=r(91429),s=r(56507),a=r(93637),o=r(41266),l=r(69540),u=r(25482),p=r(57231),y=r(93223);let d=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.value=null,this.unit=null}};(0,i.Cg)([(0,n.MZ)({type:Number,json:{name:"number",write:!0}})],d.prototype,"value",void 0),(0,i.Cg)([(0,y.e)(p.g)],d.prototype,"unit",void 0),d=(0,i.Cg)([(0,n.$K)("esri.rest.support.DateBinTimeInterval")],d);const m=d;function c(e,t,r){(0,a.sM)(r,"string"==typeof e?e:e?.getTime(),t)}function f(e,t){let r=e.parameters[t];return r?"string"==typeof r?r:new Date(r):null}d.from=(0,s.dp)(d);let g=class extends o.A{constructor(e){super(e),this.end=null,this.interval=null,this.offset=null,this.returnFullIntervalBin=!1,this.start=null,this.snapToData=null,this.type="date"}};(0,i.Cg)([(0,n.MZ)({cast:e=>null==e?null:"string"==typeof e?e:new Date(e),json:{name:"parameters.end",read:{reader:(e,t)=>f(t,"end")},write:{writer:c}}})],g.prototype,"end",void 0),(0,i.Cg)([(0,n.MZ)({type:m,json:{name:"parameters",write:!0}})],g.prototype,"interval",void 0),(0,i.Cg)([(0,n.MZ)({type:m,json:{name:"parameters.offset",write:!0}})],g.prototype,"offset",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{name:"parameters.returnFullIntervalBin",write:!0}})],g.prototype,"returnFullIntervalBin",void 0),(0,i.Cg)([(0,n.MZ)({cast:e=>null==e?null:"string"==typeof e?e:new Date(e),json:{name:"parameters.start",read:{reader:(e,t)=>f(t,"start")},write:{writer:c}}})],g.prototype,"start",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"parameters.snapToData",write:!0}})],g.prototype,"snapToData",void 0),(0,i.Cg)([(0,y.e)({dateBin:"date"},{readOnly:!0})],g.prototype,"type",void 0),g=(0,i.Cg)([(0,n.$K)("esri.rest.support.DateBinParameters")],g),g.from=(0,s.dp)(g)},57231(e,t,r){const i=(0,r(66552).O)()({year:"years",quarter:"quarters",month:"months",week:"weeks",day:"days",hour:"hours",minute:"minutes",second:"seconds"});r.d(t,["g",0,i])},11440(e,t,r){r.d(t,{A:()=>u});var i=r(32198),n=r(91429),s=r(56507),a=r(93637),o=r(41266),l=r(93223);let u=class extends o.A{constructor(e){super(e),this.boundaries=[],this.type="fixed-boundaries"}};(0,i.Cg)([(0,n.MZ)({json:{name:"parameters.boundaries",write:{writer:function(e,t,r){(0,a.sM)(r,e&&function(e){return e[0]instanceof Date}(e)?e.map(e=>e.getTime()):e,t)}}}})],u.prototype,"boundaries",void 0),(0,i.Cg)([(0,l.e)({fixedBoundariesBin:"fixed-boundaries"},{readOnly:!0})],u.prototype,"type",void 0),u=(0,i.Cg)([(0,n.$K)("esri.rest.support.FixedBoundariesBinParameters")],u),u.from=(0,s.dp)(u)},60909(e,t,r){r.d(t,{A:()=>y});var i=r(32198),n=r(91429),s=r(56507),a=r(93637),o=r(41266),l=r(41366),u=r(93223);function p(e,t,r){(0,a.sM)(r,e instanceof Date?e.getTime():e,t)}let y=class extends((0,l.K)(o.A)){constructor(e){super(e),this.end=null,this.interval=null,this.start=null,this.type="fixed-interval"}};(0,i.Cg)([(0,n.MZ)({json:{name:"parameters.end",write:{writer:p}}})],y.prototype,"end",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{name:"parameters.interval",write:!0}})],y.prototype,"interval",void 0),(0,i.Cg)([(0,n.MZ)({json:{name:"parameters.start",write:{writer:p}}})],y.prototype,"start",void 0),(0,i.Cg)([(0,u.e)({fixedIntervalBin:"fixed-interval"},{readOnly:!0})],y.prototype,"type",void 0),y=(0,i.Cg)([(0,n.$K)("esri.rest.support.FixedIntervalBinParameters")],y),y.from=(0,s.dp)(y)}}]);
1
+ "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[3103,6956,7745],{31464(e,t,r){r.d(t,{Cv:()=>m,Nk:()=>d,lK:()=>f});var i=r(4576),n=r(99917),s=r(60408),a=r(21325),o=r(28735);const l=[0,0];function u(e,t){let r=(0,a.K8)(e)?o.je:o.tD;if((0,s.fT)(t)){let e={x:0,y:0};return[e.x,e.y]=r(t.x,t.y,l),null!=t.z&&(e.z=t.z),null!=t.m&&(e.m=t.m),e}if((0,s.ZC)(t)){let e={xmin:0,ymin:0,xmax:0,ymax:0};return[e.xmin,e.ymin]=r(t.xmin,t.ymin,l),[e.xmax,e.ymax]=r(t.xmax,t.ymax,l),t.hasZ&&(e.zmin=t.zmin,e.zmax=t.zmax,e.hasZ=!0),t.hasM&&(e.mmin=t.mmin,e.mmax=t.mmax,e.hasM=!0),e}if((0,s.Bi)(t))return{rings:p(t.rings,r),hasM:t.hasM,hasZ:t.hasZ};if((0,s.Rg)(t))return{paths:p(t.paths,r),hasM:t.hasM,hasZ:t.hasZ};if((0,s.U9)(t))return{points:y(t.points,r),hasM:t.hasM,hasZ:t.hasZ};throw Error()}function p(e,t){return Array.from(e,e=>y(e,t))}function y(e,t){let r=[];for(let i of e){let e=t(i[0],i[1],[0,0]);r.push(e),i.length>2&&e.push(i[2]),i.length>3&&e.push(i[3])}return r}async function d(e,t){if(!e||!t)return;let r=Array.isArray(e)?e.map(e=>null==e.geometry?null:e.geometry.spatialReference).filter(i.Ru):[e];await(0,n.initializeProjection)(r.map(e=>({source:e,dest:t})))}function m(e,t,r,i){if(!e)return null;if(r||(r=t,t=e.spatialReference),!(0,a.fn)(t)||!(0,a.fn)(r)||(0,a.aI)(t,r))return e;if((0,o.y7)(t,r)){let t=u(r,e);return t.spatialReference=r,t}let[s]=(0,n.projectMany)([e],t,r,i);return s}const c=new class{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(e,t,r,i){if(!e?.length||!t||!r||(0,a.aI)(t,r))return e;let n={geometries:e,inSpatialReference:t,outSpatialReference:r,options:i,resolve:Promise.withResolvers()};return this._jobs.push(n),this._timer??=setTimeout(this._process,10),n.resolve.promise}_process(){this._timer=null;let e=this._jobs.shift();if(!e)return;let t,{geometries:r,inSpatialReference:i,outSpatialReference:s,resolve:a,options:l}=e,p=r.filter(e=>null!=e);t=(0,o.y7)(i,s)&&null==l?.extendedParams?p.map(e=>u(s,e)):(0,n.projectMany)(p,i,s,l);let y=0,d=r.map(e=>null==e?null:t[y++]);a.resolve(d),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}};function f(e,t,r,i){return c.push(e,t,r,i)}},58727(e,t,r){r.d(t,{GC:()=>h,T2:()=>v,VY:()=>c,dO:()=>S,iJ:()=>g});var i=r(49186),n=r(66552),s=r(86211),a=r(39829),o=r(99917),l=r(90634),u=r(60408),p=r(65864),y=r(52039),d=r(21325),m=r(31464);const c=new n.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),f=Object.freeze({});async function g(e,t,r){let i=e.bin;return i.onField&&=i.onField.trim(),i.onExpression?.value&&(i.onExpression.value=i.onExpression.value.trim()),i.splitBy&&(i.splitBy.value&&(i.splitBy.value=i.splitBy.value.trim()),i.splitBy.outAlias&&(i.splitBy.outAlias=i.splitBy.outAlias.trim())),i.stackBy&&(i.stackBy.value&&(i.stackBy.value=i.stackBy.value.trim()),i.stackBy.outAlias&&(i.stackBy.outAlias=i.stackBy.outAlias.trim())),"normalizationField"in i.parameters&&i.parameters.normalizationField&&(i.parameters.normalizationField=i.parameters.normalizationField.trim()),e.outStatistics?.length||(e.outStatistics=[{statisticType:"count",onStatisticField:"1",outStatisticFieldName:"frequency"}]),h(e,t,r)}async function h(e,t,r){let{outFields:i,orderByFields:n,groupByFieldsForStatistics:s,outStatistics:a}=e;if(i)for(let e=0;e<i.length;e++)i[e]=i[e].trim();if(n)for(let e=0;e<n.length;e++)n[e]=n[e].trim();if(s)for(let e=0;e<s.length;e++)s[e]=s[e].trim();if(a)for(let e=0;e<a.length;e++)a[e].onStatisticField&&(a[e].onStatisticField=a[e].onStatisticField.trim());return e.geometry&&!e.outSR&&(e.outSR=e.geometry.spatialReference),v(e,t,r)}async function v(e,t,r){if(!e)return null;let{where:i}=e;if(e.where=i=i?.trim(),(!i||/^1 *= *1$/.test(i)||t&&t===i)&&(e.where=null),!e.geometry)return e;let n=await w(e);if(e.distance=0,e.units=null,"esriSpatialRelEnvelopeIntersects"===e.spatialRel){let{spatialReference:t}=e.geometry;n=(0,l.HA)(n),n.spatialReference=t}if(!n)return e;await(0,m.Nk)(n.spatialReference,r);let[s]=await(0,y.el)((0,p.rS)(n));if(null==s)throw f;let c=!1;((0,u.ZC)(s)||(0,u.Bi)(s)||(0,u.Rg)(s))&&(c=!(0,d.aI)(s.spatialReference,r)&&!(0,o.canProjectWithoutEngine)(s.spatialReference,r)),c&&(0,u.ZC)(s)&&(s=a.A.fromExtent(s));let g="quantizationParameters"in e&&e.quantizationParameters?.tolerance||"maxAllowableOffset"in e&&e.maxAllowableOffset||0,h=c&&g?{extendedParams:{densificationStep:8*g}}:void 0,v=s.toJSON(),S=(0,m.Cv)(v,v.spatialReference,r,h);if(!S)throw f;return S.spatialReference=r,e.geometry=S,e}async function w(e){let{distance:t,units:n}=e,a=e.geometry;if(!t||"vertexAttributes"in a)return a;let o=a.spatialReference,l=n?c.fromJSON(n):(0,s.Ij)(o),p=o&&((0,d.EA)(o)||(0,d.K8)(o))?a:await(0,m.Nk)(o,d.KK).then(()=>(0,m.Cv)(a,d.KK)),{geodesicBufferExecute:y,geodesicBufferLoad:f}=await r.e(9159).then(()=>r(49159));await f();let g=y(p,t||1,{unit:l})??void 0;if(!g||!(0,u.Bi)(g)||0===g.rings.length)throw new i.A("unsupported-query:invalid-parameters","Invalid parameters for query by distance");return g}function S(e,t){return null==e?null:"string"==typeof e?t?new Date(`1970-01-01T${e}Z`).getTime():new Date(e).getTime():e instanceof Date?e.getTime():e}r.d(t,["v8",0,f])},33103(e,t,r){r.r(t),r.d(t,{executeAttributeBinsQuery:()=>f});var i=r(37745),n=r(14575),s=r(2272),a=r(39516),o=r(84952),l=r(60408),u=r(52039),p=r(21325),y=r(78888),d=r(10536),m=r(2991);function c(e,t){let r,i,n,s=e.geometry,o=e.toJSON(),u=o;if(null!=s&&(i=s.spatialReference,n=(0,p.YX)(i),u.geometryType=(0,l.$B)(s),u.geometry=JSON.stringify(s),u.inSR=n),o.outSR?(u.outSR=(0,p.YX)(o.outSR),r=e.outSpatialReference):s&&(u.outSR=u.inSR,r=i),u.bin&&=JSON.stringify(u.bin),u.quantizationParameters&&=JSON.stringify(u.quantizationParameters),u.outStatistics&&=JSON.stringify(u.outStatistics),u.outTimeReference&&=JSON.stringify(u.outTimeReference),e.timeExtent){let r=t?.timeInformation;if(r){let t=r.getExpression(e.timeExtent);switch(t?.type){case"time":u.time=t.value;break;case"where":t.value&&(u.where=(0,a.mA)(u.where,t.value))}}else u.time=(0,m.G9)(e.timeExtent);delete o.timeExtent}return e.defaultSpatialReference&&(0,p.aI)(i,r)&&(u.defaultSR=u.inSR,delete u.inSR,delete u.outSR),u}async function f(e,t,r,a){let{data:l}=await async function(e,t,r,i){return null!=t.timeExtent&&t.timeExtent.isEmpty?{data:{features:[]}}:await async function(e,t,r={},i={}){let n="string"==typeof e?(0,o.An)(e):e,[s]=await(0,u.el)([t.geometry],r);null!=s&&((t=t.clone()).geometry=s);let a=(0,d.z)({...n.query,f:"json",...c(t,i)});return(0,y.A)((0,o.fj)(n.path,"queryBins"),{...r,query:{...a,...r.query}})}(e,t,r,i)}((0,s.Dl)(e),n.default.from(t),r,a);return i.default.fromJSON(l)}},37745(e,t,r){r.r(t),r.d(t,{default:()=>d});var i,n=r(32198),s=r(91429),a=r(4718),o=r(52106);let l=class extends o.A{static{i=this}constructor(e){super(e),this.stackedAttributes=null}cloneShallow(){return new i(Object.assign({stackedAttributes:this.stackedAttributes},super.cloneShallow()))}toJSON(){return{...super.toJSON(),stackedAttributes:(0,a.o8)(this.stackedAttributes)}}};(0,n.Cg)([(0,s.MZ)()],l.prototype,"stackedAttributes",void 0),l=i=(0,n.Cg)([(0,s.$K)("esri.AttributeBinsGraphic")],l);var u=r(69540),p=r(22671),y=r(36005);let d=class extends((0,u.OU)(p.A)){constructor(e){super(e),this.features=[]}readFeatures(e,t){return this.readFeaturesWithClass(e,t,l)}};(0,n.Cg)([(0,s.MZ)({type:[l],json:{write:!0}})],d.prototype,"features",void 0),(0,n.Cg)([(0,y.w)("features")],d.prototype,"readFeatures",null),d=(0,n.Cg)([(0,s.$K)("esri.rest.support.AttributeBinsFeatureSet")],d)},14575(e,t,r){r.d(t,{default:()=>R});var i=r(32198),n=r(91429),s=r(56507),a=r(69540),o=r(66552),l=r(25482),u=r(53966),p=r(16930),y=r(65864),d=r(50498),m=r(58727),c=r(79677),f=r(56400),g=r(5834),h=r(41266),v=r(59977),w=r(11440),S=r(60909),C=r(58174),B=r(7562),x=r(93223);const A=new o.J({asc:"ascending",desc:"descending"}),M={base:h.A,key:"type",typeMap:{"auto-interval":g.A,date:v.A,"fixed-boundaries":w.A,"fixed-interval":S.A}};let R=class extends((0,a.OU)(l.o)){constructor(e){super(e),this.binParameters=null,this.binOrder="ascending",this.cacheHint=void 0,this.datumTransformation=null,this.defaultSpatialReference=null,this.distance=void 0,this.geometry=null,this.lowerBoundaryAlias=null,this.outSpatialReference=null,this.outStatistics=null,this.returnDistinctValues=null,this.spatialRelationship="intersects",this.timeExtent=null,this.upperBoundaryAlias=null,this.units=null,this.where="1=1"}set outTimeZone(e){this._set("outTimeZone",e),e&&!(0,f.wr)(e)&&u.A.getLogger(this).warn("#outTimeZone",`the parsed value '${e}' may not be a valid IANA time zone`)}};(0,i.Cg)([(0,n.MZ)({types:M,json:{name:"bin",write:!0}})],R.prototype,"binParameters",void 0),(0,i.Cg)([(0,x.e)(A)],R.prototype,"binOrder",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"cacheHint",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],R.prototype,"datumTransformation",void 0),(0,i.Cg)([(0,n.MZ)({type:p.A,json:{name:"defaultSR",write:!0}})],R.prototype,"defaultSpatialReference",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],R.prototype,"distance",void 0),(0,i.Cg)([(0,n.MZ)({types:d.yR,json:{read:y.rS,write:!0}})],R.prototype,"geometry",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],R.prototype,"lowerBoundaryAlias",void 0),(0,i.Cg)([(0,n.MZ)({type:p.A,json:{name:"outSR",write:!0}})],R.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,n.MZ)({type:[B.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],R.prototype,"outStatistics",void 0),(0,i.Cg)([(0,n.MZ)({value:null,json:{name:"outTimeReference",read:{reader:e=>e.ianaTimeZone},write:{writer:(e,t,r)=>{e&&(t[r]={ianaTimeZone:e})}}}})],R.prototype,"outTimeZone",null),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{name:"returnAggIds",write:{overridePolicy:e=>({enabled:null!=e})}}})],R.prototype,"returnStatisticsAggregatedIds",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"returnDistinctValues",void 0),(0,i.Cg)([(0,x.e)(C.x,{name:"spatialRel"})],R.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,n.MZ)({type:c.A,json:{write:!0}})],R.prototype,"timeExtent",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],R.prototype,"upperBoundaryAlias",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{read:m.VY.read,write:{writer:m.VY.write,overridePolicy(e){return{enabled:null!=e&&!!this.distance}}}}})],R.prototype,"units",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],R.prototype,"where",void 0),R=(0,i.Cg)([(0,n.$K)("esri.rest.support.AttributeBinsQuery")],R),R.from=(0,s.dp)(R)},5834(e,t,r){r.d(t,{A:()=>y});var i=r(32198),n=r(91429),s=r(56507),a=r(93637),o=r(41266),l=r(41366),u=r(93223);function p(e,t,r){(0,a.sM)(r,e instanceof Date?e.getTime():e,t)}let y=class extends((0,l.K)(o.A)){constructor(e){super(e),this.numBins=null,this.end=null,this.start=null,this.type="auto-interval"}};(0,i.Cg)([(0,n.MZ)({type:Number,json:{name:"parameters.numberOfBins",write:!0}})],y.prototype,"numBins",void 0),(0,i.Cg)([(0,n.MZ)({json:{name:"parameters.end",write:{writer:p}}})],y.prototype,"end",void 0),(0,i.Cg)([(0,n.MZ)({json:{name:"parameters.start",write:{writer:p}}})],y.prototype,"start",void 0),(0,i.Cg)([(0,u.e)({autoIntervalBin:"auto-interval"},{readOnly:!0})],y.prototype,"type",void 0),y=(0,i.Cg)([(0,n.$K)("esri.rest.support.AutoIntervalBinParameters")],y),y.from=(0,s.dp)(y)},41266(e,t,r){r.d(t,{A:()=>f});var i=r(32198),n=r(91429),s=r(69540),a=r(66552),o=r(25482),l=r(56507),u=r(93223);const p=new a.J({esriFieldTypeInteger:"integer",esriFieldTypeString:"string"});let y=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.alias=null,this.responseType=null,this.type=null,this.value=null,this.valueType=null}};(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"outAlias",write:!0}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,n.MZ)({type:String})],y.prototype,"responseType",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],y.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],y.prototype,"value",void 0),(0,i.Cg)([(0,u.e)(p)],y.prototype,"valueType",void 0),y=(0,i.Cg)([(0,n.$K)("esri.rest.support.AttributeBinsGrouping")],y);const d=y;y.from=(0,l.dp)(y);const m=new a.J({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeDate:"date",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"}),c=new a.J({naturalLog:"natural-log",squareRoot:"square-root"});let f=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.expression=null,this.expressionValueType=null,this.field=null,this.firstDayOfWeek=null,this.hideUpperBound=null,this.splitBy=null,this.stackBy=null,this.transformation=null}};(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"onExpression.value",write:!0}})],f.prototype,"expression",void 0),(0,i.Cg)([(0,u.e)(m,{name:"onExpression.valueType"})],f.prototype,"expressionValueType",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"onField",write:!0}})],f.prototype,"field",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:!0}})],f.prototype,"firstDayOfWeek",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"hideUpperBound",void 0),(0,i.Cg)([(0,n.MZ)({type:d,json:{write:{overridePolicy(){return{enabled:null!=this.splitBy?.value||null!=this.splitBy?.type}}}}})],f.prototype,"splitBy",void 0),(0,i.Cg)([(0,n.MZ)({type:d,json:{write:{target:{stackBy:{type:d},jsonStyle:{type:String}},writer:(e,t)=>{e&&(t.stackBy=e.toJSON(),null!=e.responseType&&(t.jsonStyle=e.responseType))},overridePolicy(){return{enabled:null!=this.stackBy?.value||null!=this.stackBy?.type}}},read:{source:["stackBy","jsonStyle"],reader:(e,t)=>d.fromJSON({...t.stackBy,responseType:t.jsonStyle})}}})],f.prototype,"stackBy",void 0),(0,i.Cg)([(0,u.e)(c)],f.prototype,"transformation",void 0),f=(0,i.Cg)([(0,n.$K)("esri.rest.support.BinParametersBase")],f)},59977(e,t,r){r.d(t,{A:()=>g});var i=r(32198),n=r(91429),s=r(56507),a=r(93637),o=r(41266),l=r(69540),u=r(25482),p=r(57231),y=r(93223);let d=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.value=null,this.unit=null}};(0,i.Cg)([(0,n.MZ)({type:Number,json:{name:"number",write:!0}})],d.prototype,"value",void 0),(0,i.Cg)([(0,y.e)(p.g)],d.prototype,"unit",void 0),d=(0,i.Cg)([(0,n.$K)("esri.rest.support.DateBinTimeInterval")],d);const m=d;function c(e,t,r){(0,a.sM)(r,"string"==typeof e?e:e?.getTime(),t)}function f(e,t){let r=e.parameters[t];return r?"string"==typeof r?r:new Date(r):null}d.from=(0,s.dp)(d);let g=class extends o.A{constructor(e){super(e),this.end=null,this.interval=null,this.offset=null,this.returnFullIntervalBin=!1,this.start=null,this.snapToData=null,this.type="date"}};(0,i.Cg)([(0,n.MZ)({cast:e=>null==e?null:"string"==typeof e?e:new Date(e),json:{name:"parameters.end",read:{reader:(e,t)=>f(t,"end")},write:{writer:c}}})],g.prototype,"end",void 0),(0,i.Cg)([(0,n.MZ)({type:m,json:{name:"parameters",write:!0}})],g.prototype,"interval",void 0),(0,i.Cg)([(0,n.MZ)({type:m,json:{name:"parameters.offset",write:!0}})],g.prototype,"offset",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{name:"parameters.returnFullIntervalBin",write:!0}})],g.prototype,"returnFullIntervalBin",void 0),(0,i.Cg)([(0,n.MZ)({cast:e=>null==e?null:"string"==typeof e?e:new Date(e),json:{name:"parameters.start",read:{reader:(e,t)=>f(t,"start")},write:{writer:c}}})],g.prototype,"start",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"parameters.snapToData",write:!0}})],g.prototype,"snapToData",void 0),(0,i.Cg)([(0,y.e)({dateBin:"date"},{readOnly:!0})],g.prototype,"type",void 0),g=(0,i.Cg)([(0,n.$K)("esri.rest.support.DateBinParameters")],g),g.from=(0,s.dp)(g)},57231(e,t,r){const i=(0,r(66552).O)()({year:"years",quarter:"quarters",month:"months",week:"weeks",day:"days",hour:"hours",minute:"minutes",second:"seconds"});r.d(t,["g",0,i])},11440(e,t,r){r.d(t,{A:()=>u});var i=r(32198),n=r(91429),s=r(56507),a=r(93637),o=r(41266),l=r(93223);let u=class extends o.A{constructor(e){super(e),this.boundaries=[],this.type="fixed-boundaries"}};(0,i.Cg)([(0,n.MZ)({json:{name:"parameters.boundaries",write:{writer:function(e,t,r){(0,a.sM)(r,e&&function(e){return e[0]instanceof Date}(e)?e.map(e=>e.getTime()):e,t)}}}})],u.prototype,"boundaries",void 0),(0,i.Cg)([(0,l.e)({fixedBoundariesBin:"fixed-boundaries"},{readOnly:!0})],u.prototype,"type",void 0),u=(0,i.Cg)([(0,n.$K)("esri.rest.support.FixedBoundariesBinParameters")],u),u.from=(0,s.dp)(u)},60909(e,t,r){r.d(t,{A:()=>y});var i=r(32198),n=r(91429),s=r(56507),a=r(93637),o=r(41266),l=r(41366),u=r(93223);function p(e,t,r){(0,a.sM)(r,e instanceof Date?e.getTime():e,t)}let y=class extends((0,l.K)(o.A)){constructor(e){super(e),this.end=null,this.interval=null,this.start=null,this.type="fixed-interval"}};(0,i.Cg)([(0,n.MZ)({json:{name:"parameters.end",write:{writer:p}}})],y.prototype,"end",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{name:"parameters.interval",write:!0}})],y.prototype,"interval",void 0),(0,i.Cg)([(0,n.MZ)({json:{name:"parameters.start",write:{writer:p}}})],y.prototype,"start",void 0),(0,i.Cg)([(0,u.e)({fixedIntervalBin:"fixed-interval"},{readOnly:!0})],y.prototype,"type",void 0),y=(0,i.Cg)([(0,n.$K)("esri.rest.support.FixedIntervalBinParameters")],y),y.from=(0,s.dp)(y)}}]);