@arcgis/core 5.0.0-next.129 → 5.0.0-next.130

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 (181) hide show
  1. package/assets/components/assets/carousel/t9n/messages.ar.json +1 -1
  2. package/assets/components/assets/carousel/t9n/messages.bg.json +1 -1
  3. package/assets/components/assets/carousel/t9n/messages.bs.json +1 -1
  4. package/assets/components/assets/carousel/t9n/messages.ca.json +1 -1
  5. package/assets/components/assets/carousel/t9n/messages.cs.json +1 -1
  6. package/assets/components/assets/carousel/t9n/messages.da.json +1 -1
  7. package/assets/components/assets/carousel/t9n/messages.de.json +1 -1
  8. package/assets/components/assets/carousel/t9n/messages.el.json +1 -1
  9. package/assets/components/assets/carousel/t9n/messages.es.json +1 -1
  10. package/assets/components/assets/carousel/t9n/messages.et.json +1 -1
  11. package/assets/components/assets/carousel/t9n/messages.fi.json +1 -1
  12. package/assets/components/assets/carousel/t9n/messages.fr.json +1 -1
  13. package/assets/components/assets/carousel/t9n/messages.he.json +1 -1
  14. package/assets/components/assets/carousel/t9n/messages.hr.json +1 -1
  15. package/assets/components/assets/carousel/t9n/messages.hu.json +1 -1
  16. package/assets/components/assets/carousel/t9n/messages.id.json +1 -1
  17. package/assets/components/assets/carousel/t9n/messages.it.json +1 -1
  18. package/assets/components/assets/carousel/t9n/messages.ja.json +1 -1
  19. package/assets/components/assets/carousel/t9n/messages.ko.json +1 -1
  20. package/assets/components/assets/carousel/t9n/messages.lt.json +1 -1
  21. package/assets/components/assets/carousel/t9n/messages.lv.json +1 -1
  22. package/assets/components/assets/carousel/t9n/messages.nl.json +1 -1
  23. package/assets/components/assets/carousel/t9n/messages.no.json +1 -1
  24. package/assets/components/assets/carousel/t9n/messages.pl.json +1 -1
  25. package/assets/components/assets/carousel/t9n/messages.pt-BR.json +1 -1
  26. package/assets/components/assets/carousel/t9n/messages.pt-PT.json +1 -1
  27. package/assets/components/assets/carousel/t9n/messages.ro.json +1 -1
  28. package/assets/components/assets/carousel/t9n/messages.ru.json +1 -1
  29. package/assets/components/assets/carousel/t9n/messages.sk.json +1 -1
  30. package/assets/components/assets/carousel/t9n/messages.sl.json +1 -1
  31. package/assets/components/assets/carousel/t9n/messages.sr.json +1 -1
  32. package/assets/components/assets/carousel/t9n/messages.sv.json +1 -1
  33. package/assets/components/assets/carousel/t9n/messages.th.json +1 -1
  34. package/assets/components/assets/carousel/t9n/messages.tr.json +1 -1
  35. package/assets/components/assets/carousel/t9n/messages.uk.json +1 -1
  36. package/assets/components/assets/carousel/t9n/messages.vi.json +1 -1
  37. package/assets/components/assets/carousel/t9n/messages.zh-CN.json +1 -1
  38. package/assets/components/assets/carousel/t9n/messages.zh-HK.json +1 -1
  39. package/assets/components/assets/carousel/t9n/messages.zh-TW.json +1 -1
  40. package/assets/esri/core/workers/RemoteClient.js +1 -1
  41. package/assets/esri/core/workers/chunks/13246d76b7b4a88190b7.js +1 -0
  42. package/assets/esri/core/workers/chunks/{bc2dcbdc414d157ab727.js → 1c653937ae592a3c4d1a.js} +1 -1
  43. package/assets/esri/core/workers/chunks/298d7ab4ef027aa80322.js +2 -0
  44. package/assets/esri/core/workers/chunks/{e97b29b026a734bbcff8.js → 37e816869816683dce81.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{bcfa9f2e54f6777d0855.js → 3a65ef151a594bef66eb.js} +16 -16
  46. package/assets/esri/core/workers/chunks/{8cade3af17a8bb6d4e37.js → 428d28373d154fbf2567.js} +1 -1
  47. package/assets/esri/core/workers/chunks/{415957a42e45eb21aa84.js → 43afb1ea1da338807d09.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{6f337c3ccd84d90a35e5.js → 4631b24b37dbdc0c2c05.js} +1 -1
  49. package/assets/esri/core/workers/chunks/510b75afe19324d26665.js +2 -0
  50. package/assets/esri/core/workers/chunks/{e2e03622936d2b35afc0.js → 5419eb0efaade6b27c0a.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{ec63c0fa21cd3c872633.js → 54794b18edc584fd7515.js} +1 -1
  52. package/assets/esri/core/workers/chunks/5746140c33cb206ad4b8.js +1 -0
  53. package/assets/esri/core/workers/chunks/{6c85396c90941a042c33.js → 5b3a67cce57e49c68e60.js} +1 -1
  54. package/assets/esri/core/workers/chunks/6b56c8ba978ec6edd6b8.js +1 -0
  55. package/assets/esri/core/workers/chunks/70263c2182dc43046742.js +1 -0
  56. package/assets/esri/core/workers/chunks/8fb2981151d20c4de88d.js +1 -0
  57. package/assets/esri/core/workers/chunks/90401fa13412e93bae38.js +2 -0
  58. package/assets/esri/core/workers/chunks/{cb5f4820277f3fc7ff2f.js → 995b215b164650e54788.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{e52793690dff1a199647.js → a4c190dd57458860ee12.js} +1 -1
  60. package/assets/esri/core/workers/chunks/b916f7acf129d9546a99.js +1 -0
  61. package/assets/esri/core/workers/chunks/c80a2a95bb6fe10b5efd.js +1 -0
  62. package/assets/esri/core/workers/chunks/{77fc225259f1c5800095.js → e2661d39c48376163adf.js} +1 -1
  63. package/assets/esri/core/workers/chunks/e7bee85f28d7ec03825a.js +1 -0
  64. package/assets/esri/core/workers/chunks/e8f3594b90cef4b598bc.js +2 -0
  65. package/assets/esri/core/workers/chunks/ec3c3fbcd3a00f24bee7.js +2 -0
  66. package/config.d.ts +94 -34
  67. package/config.js +1 -1
  68. package/geometry/support/curves/curveUtils.js +1 -1
  69. package/identity/IdentityManager.d.ts +11 -7
  70. package/identity/IdentityManagerBase.d.ts +13 -9
  71. package/kernel.js +1 -1
  72. package/layers/support/EditingCapabilities.js +1 -1
  73. package/layers/support/SubtypeSublayer.js +1 -1
  74. package/package.json +4 -4
  75. package/renderers/support/DictionaryControlString.js +1 -1
  76. package/renderers/support/DictionaryLoader.js +1 -1
  77. package/rest/query/operations/pbfFlatFeatureSet.js +1 -1
  78. package/smartMapping/raster/renderers/classBreaks.d.ts +1 -1
  79. package/smartMapping/raster/renderers/flow.d.ts +2 -1
  80. package/smartMapping/renderers/color.d.ts +19 -3
  81. package/smartMapping/renderers/dotDensity.d.ts +6 -1
  82. package/smartMapping/renderers/heatmap.d.ts +4 -1
  83. package/smartMapping/renderers/location.d.ts +2 -2
  84. package/smartMapping/renderers/opacity.d.ts +2 -2
  85. package/smartMapping/renderers/pieChart.d.ts +2 -2
  86. package/smartMapping/renderers/predominance.d.ts +2 -2
  87. package/smartMapping/renderers/relationship.d.ts +2 -2
  88. package/smartMapping/renderers/size.d.ts +7 -6
  89. package/smartMapping/renderers/support/rendererUtils.d.ts +2 -2
  90. package/smartMapping/renderers/type.d.ts +4 -3
  91. package/smartMapping/renderers/univariateColorSize.d.ts +2 -2
  92. package/smartMapping/statistics/support/ageUtils.d.ts +3 -2
  93. package/smartMapping/statistics/types.d.ts +8 -7
  94. package/smartMapping/support/adapters/types.d.ts +6 -0
  95. package/smartMapping/symbology/color.d.ts +1 -1
  96. package/smartMapping/symbology/support/colorRamps.d.ts +2 -2
  97. package/smartMapping/symbology/support/colorRamps.js +1 -1
  98. package/support/revision.js +1 -1
  99. package/symbols/cim/CIMSymbolHelper.js +1 -1
  100. package/symbols/cim/animationUtils.js +1 -1
  101. package/symbols/cim/cimAnalyzer.js +1 -1
  102. package/symbols/cim/effects/EffectDashes.js +1 -1
  103. package/symbols/cim/effects/EffectDonut.js +1 -1
  104. package/symbols/cim/effects/EffectOffset.js +1 -1
  105. package/symbols/cim/effects/EffectWave.js +1 -1
  106. package/symbols/cim/placements/PlacementAlongLineSameSize.js +1 -1
  107. package/symbols/cim/placements/PlacementAtExtremities.js +1 -1
  108. package/symbols/cim/placements/PlacementOnLine.js +1 -1
  109. package/symbols/cim/types.d.ts +220 -117
  110. package/symbols/support/OccludedVisibility.d.ts +1 -1
  111. package/symbols/support/OccludedVisibility.js +1 -1
  112. package/symbols/support/Symbol3DEmissive.d.ts +33 -17
  113. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  114. package/views/2d/interactive/SnappingVisualizer2D.js +1 -1
  115. package/views/2d/layers/features/schema/processor/symbols/utils.js +1 -1
  116. package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
  117. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  118. package/views/3d/layers/graphics/GraphicStateTracking.js +1 -1
  119. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  120. package/views/3d/layers/graphics/Graphics3DObject3DGraphicLayer.js +1 -1
  121. package/views/3d/layers/graphics/GraphicsDeconflictor.js +1 -1
  122. package/views/View.d.ts +8 -0
  123. package/views/draw/DrawTool.js +1 -1
  124. package/views/draw/plugins/PolygonPlugin.js +1 -1
  125. package/views/draw/support/InteractiveHandle.js +1 -1
  126. package/views/draw/support/managers/InteractiveHandleManager.js +1 -1
  127. package/views/draw/support/managers/TooltipManager.js +1 -1
  128. package/views/draw/support/types.d.ts +8 -1
  129. package/views/interactive/sketch/constraints.js +1 -1
  130. package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
  131. package/views/interactive/snapping/SnappingVisualizer.js +1 -1
  132. package/views/interactive/snapping/candidates/EdgeSnappingCandidate.js +1 -1
  133. package/views/interactive/snapping/featureSources/queryEngineUtils.js +1 -1
  134. package/views/interactive/snapping/hints/CurveSnappingHint.js +2 -0
  135. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  136. package/views/interactive/tooltip/infos/DynamicTooltipInfo.js +1 -1
  137. package/webscene/Glow.d.ts +19 -14
  138. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  139. package/widgets/Editor/CreateFeaturesWorkflowData.js +1 -1
  140. package/widgets/Editor/EditorViewModel.d.ts +15 -4
  141. package/widgets/Editor/EditorViewModel.js +1 -1
  142. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  143. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  144. package/widgets/Editor/UpdateFeatureWorkflowData.js +1 -1
  145. package/widgets/Editor/UpdateFeaturesWorkflow.js +1 -1
  146. package/widgets/Editor/UpdateFeaturesWorkflowData.js +1 -1
  147. package/widgets/Editor/UpdateRecordWorkflowData.js +1 -1
  148. package/widgets/Editor/UpdateWorkflow.js +1 -1
  149. package/widgets/Editor/Workflow.js +1 -1
  150. package/widgets/Editor/components/Notices.js +1 -1
  151. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  152. package/widgets/Editor/support/EditorItem.js +1 -1
  153. package/widgets/Editor/support/SketchController.js +1 -1
  154. package/widgets/Editor/workflowUtils.js +1 -1
  155. package/widgets/Editor.d.ts +17 -5
  156. package/widgets/Editor.js +1 -1
  157. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +17 -5
  158. package/widgets/FeatureTable.d.ts +16 -4
  159. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.d.ts +9 -1
  160. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  161. package/widgets/OrientedImageryViewer.d.ts +9 -1
  162. package/widgets/OrientedImageryViewer.js +1 -1
  163. package/widgets/Sketch/support/PluginManager.js +1 -1
  164. package/assets/esri/core/workers/chunks/112227b862b935123ddf.js +0 -2
  165. package/assets/esri/core/workers/chunks/1cfa8d404d42b9eccf78.js +0 -1
  166. package/assets/esri/core/workers/chunks/2e50b7651f8c037bb3b0.js +0 -1
  167. package/assets/esri/core/workers/chunks/3d3b1ce112be6ea31d93.js +0 -1
  168. package/assets/esri/core/workers/chunks/53e348f5585fa8c53fe8.js +0 -2
  169. package/assets/esri/core/workers/chunks/72c31f3313dfe87dd1aa.js +0 -1
  170. package/assets/esri/core/workers/chunks/79c69ae86a1f4a56f7c7.js +0 -1
  171. package/assets/esri/core/workers/chunks/8eb535b43e1220cf0d75.js +0 -1
  172. package/assets/esri/core/workers/chunks/b397a9f87082705301a4.js +0 -2
  173. package/assets/esri/core/workers/chunks/baad696d84ab78b3d00e.js +0 -2
  174. package/assets/esri/core/workers/chunks/c6e0ada6f2ad74fddfec.js +0 -1
  175. package/assets/esri/core/workers/chunks/d39f5d57f7e35c00ca16.js +0 -1
  176. package/assets/esri/core/workers/chunks/edaae0fc63d16b0f675d.js +0 -2
  177. /package/assets/esri/core/workers/chunks/{53e348f5585fa8c53fe8.js.LICENSE.txt → 298d7ab4ef027aa80322.js.LICENSE.txt} +0 -0
  178. /package/assets/esri/core/workers/chunks/{edaae0fc63d16b0f675d.js.LICENSE.txt → 510b75afe19324d26665.js.LICENSE.txt} +0 -0
  179. /package/assets/esri/core/workers/chunks/{b397a9f87082705301a4.js.LICENSE.txt → 90401fa13412e93bae38.js.LICENSE.txt} +0 -0
  180. /package/assets/esri/core/workers/chunks/{112227b862b935123ddf.js.LICENSE.txt → e8f3594b90cef4b598bc.js.LICENSE.txt} +0 -0
  181. /package/assets/esri/core/workers/chunks/{baad696d84ab78b3d00e.js.LICENSE.txt → ec3c3fbcd3a00f24bee7.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{3904(e,t,o){o.d(t,{A:()=>n});var r=o(5482),s=o(25482),i=o(91429),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)},3955(e,t,o){o.d(t,{A:()=>n});var r=o(5482),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(){super(...arguments),this.type="style"}};(0,r.Cg)([(0,l.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.Pattern3D")],n)},4595(e,t,o){o.d(t,{A:()=>l});var r=o(5482),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e),this.visible=!0}clone(){throw new 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)},4792(e,t,o){o.d(t,{A:()=>c});var r=o(5482),s=o(68197),i=o(25482),l=o(4718),n=o(90629),a=o(91429),p=o(67222);let y=class extends i.o{constructor(e){super(e),this.color=new s.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")??(0,n.PN)(1)}set size(e){this._set("size",e)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],y.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],y.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],y.prototype,"extensionLength",null),(0,r.Cg)([(0,a.MZ)(p.pI)],y.prototype,"size",null),y=(0,r.Cg)([(0,a.$K)("esri.symbols.edges.Edges3D")],y);const c=y},4900(e,t,o){o.d(t,{A:()=>a});var r,s=o(5482),i=o(25482),l=o(91429),n=o(67222);let a=r=class extends i.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,s.Cg)([(0,l.MZ)({...n.pI,json:{write:{isRequired:!0}}})],a.prototype,"screenLength",null),(0,s.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],a.prototype,"minWorldLength",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxWorldLength",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DVerticalOffset")],a)},8887(e,t,o){o.d(t,{Fq:()=>n,M4:()=>a,Nv:()=>p,e:()=>y}),o(51850);var r=o(70328);const s=(0,r.fA)(-.5,-.5,-.5,.5,.5,.5),i=(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 s;case"cylinder":case"cone":case"inverted-cone":return i;case"tetrahedron":return l;default:return}}const a=["butt","square","round"],p=[...a,"none"],y=["miter","bevel","round"]},8893(e,t,o){o.d(t,{A:()=>m});var r,s=o(5482),i=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(4595),y=o(25482),c=o(67222);let u=r=class extends y.o{constructor(e){super(e),this.color=new i.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,s.Cg)([(0,a.MZ)((0,c.EW)({colorRequiredOnWrite:!0}))],u.prototype,"color",void 0),u=r=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3DBorder")],u);const h=u;var d,g=o(93223);let m=d=class extends p.A{constructor(e){super(e),this.type="line",this.color=new i.A([0,0,0,1]),this.border=null}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new d({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,s.Cg)([(0,g.e)({line:"line"})],m.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)((0,c.EW)({colorRequiredOnWrite:!0}))],m.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...c.pI,json:{write:{isRequired:!0}}})],m.prototype,"size",null),(0,s.Cg)([(0,a.MZ)({type:h,json:{write:!0}})],m.prototype,"border",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"visible",null),m=d=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3D")],m)},10224(e,t,o){o.d(t,{A:()=>A});var r,s=o(5482),i=o(4718),l=o(91429),n=o(11831),a=o(3904),p=o(67222),y=o(97515),c=o(27066),u=o(68197),h=o(25482);let d=r=class extends h.o{constructor(e){super(e),this.color=new u.A([0,0,0,1])}get size(){return this._get("size")??0}set size(e){this._set("size",e)}clone(){const e={color:(0,i.o8)(this.color),size:this.size};return new r(e)}};(0,s.Cg)([(0,l.MZ)((0,p.EW)())],d.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)(p.pI)],d.prototype,"size",null),d=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DHalo")],d);var g=o(28975),m=o(69540);let b=class extends((0,m.OU)(h.o)){constructor(e){super(e),this.color=null}};(0,s.Cg)([(0,l.MZ)((0,p.EW)())],b.prototype,"color",void 0),b=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DTextBackground")],b);var w,v=o(5760),f=o(43937),C=o(93223);let A=class extends a.A{static{w=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.text=null,this.type="text",this.verticalAlignment="baseline",this.occludedVisibility=new y.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){const s={...r,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=Number(e),null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new w({enabled:this.enabled,font:(0,i.o8)(this.font),halo:(0,i.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.o8)(this.background),occludedVisibility:(0,i.o8)(this.occludedVisibility)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new w({font:null!=e.font?e.font.clone():new n.A,halo:M(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new g.A({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new b({color:e.backgroundColor.clone()}):null,occludedVisibility:null})}};function M(e,t){return e&&null!=t&&t>0?new d({color:(0,i.o8)(e),size:t}):null}(0,s.Cg)([(0,l.MZ)({type:n.A,json:{write:!0}})],A.prototype,"font",null),(0,s.Cg)([(0,f.K)("font")],A.prototype,"writeFont",null),(0,s.Cg)([(0,l.MZ)({type:d,json:{write:!0}})],A.prototype,"halo",void 0),(0,s.Cg)([(0,l.MZ)({...v.rM,json:{default:"center",write:!0}})],A.prototype,"horizontalAlignment",void 0),(0,s.Cg)([(0,l.MZ)({...v.Tb,json:{default:1,write:!0}})],A.prototype,"lineHeight",void 0),(0,s.Cg)([(0,l.MZ)({type:g.A,json:{write:!0}})],A.prototype,"material",void 0),(0,s.Cg)([(0,l.MZ)({type:b,json:{write:!0}})],A.prototype,"background",void 0),(0,s.Cg)([(0,l.MZ)(p.pI)],A.prototype,"size",null),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"text",void 0),(0,s.Cg)([(0,C.e)({Text:"text"},{readOnly:!0})],A.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({...v.x0,json:{default:"baseline",write:!0}})],A.prototype,"verticalAlignment",void 0),(0,s.Cg)([(0,l.MZ)(c.D)],A.prototype,"occludedVisibility",void 0),A=w=(0,s.Cg)([(0,l.$K)("esri.symbols.TextSymbol3DLayer")],A)},11506(e,t,o){o.d(t,{A:()=>C});var r=o(5482),s=o(90629),i=o(91429),l=o(68197),n=o(69540),a=o(25482),p=o(56507),y=o(83213);let c=class extends((0,n.OU)(a.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}}})],c.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:y.x,json:{default:"begin-end",write:!0}})],c.prototype,"placement",void 0),(0,r.Cg)([(0,i.MZ)({type:y.z,json:{default:"arrow",write:!0}})],c.prototype,"style",void 0),(0,r.Cg)([(0,i.MZ)({type:l.A,json:{type:[p.jz],default:null,write:!0}})],c.prototype,"color",void 0),c=(0,r.Cg)([(0,i.$K)("esri.symbols.LineStyleMarker3D")],c);var u,h=o(3904),d=o(44633),g=o(20603),m=o(33386),b=o(67222),w=o(28975),v=o(8887),f=o(93223);let C=class extends h.A{static{u=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}get size(){return this._get("size")??(0,s.PN)(1)}set size(e){this._set("size",e)}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,imagePattern:null!=this.imagePattern?this.imagePattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new u(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new d.A({style:e.style}):null,imagePattern:null,material:new w.A({color:(e.color||m.ON).clone()}),marker:e.marker?new c({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new u(t)}};(0,r.Cg)([(0,i.MZ)({type:w.A,json:{write:!0}})],C.prototype,"material",void 0),(0,r.Cg)([(0,f.e)({Line:"line"},{readOnly:!0})],C.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:v.e,json:{write:!0,default:"miter"}})],C.prototype,"join",void 0),(0,r.Cg)([(0,i.MZ)({type:v.M4,json:{write:!0,default:"butt"}})],C.prototype,"cap",void 0),(0,r.Cg)([(0,i.MZ)({...b.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(g.v)],C.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)()],C.prototype,"imagePattern",void 0),(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:c,typeMap:{style:c}},json:{write:!0}})],C.prototype,"marker",void 0),C=u=(0,r.Cg)([(0,i.$K)("esri.symbols.LineSymbol3DLayer")],C)},13313(e,t,o){o.d(t,{A:()=>g});var r,s=o(5482),i=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(58185),y=o(10224),c=o(59483),u=o(4900),h=o(93223);const d=i.A.ofType({base:null,key:"type",typeMap:{text:y.A}});let g=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new d}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return(0,c.LH)(this)}hasVisibleVerticalOffset(){return(0,c.Yq)(this)}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail),callout:(0,n.o8)(this.callout),verticalOffset:(0,n.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new i.A([y.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],g.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(c.oG)],g.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],g.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,a.MZ)({type:d})],g.prototype,"symbolLayers",null),(0,s.Cg)([(0,h.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,s.Cg)([(0,a.$K)("esri.symbols.LabelSymbol3D")],g)},16264(e,t,o){o.d(t,{A:()=>l});var r=o(5482),s=o(91429),i=o(3955);let l=class extends i.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,s.MZ)({type:["style"],json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,s.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,s.$K)("esri.symbols.patterns.StylePattern3D")],l)},20603(e,t,o){o.d(t,{r:()=>n,v:()=>a});var r=o(36533),s=o(44633),i=o(3955),l=o(16264);const n={types:{key:"type",base:i.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:s.A}},json:{write:!0}}},26449(e,t,o){o.d(t,{A:()=>y});var r,s=o(5482),i=o(91429),l=o(3904),n=o(51734),a=o(28975),p=o(93223);let y=class extends l.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,s.Cg)([(0,p.e)({Extrude:"extrude"},{readOnly:!0})],y.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],y.prototype,"size",void 0),(0,s.Cg)([(0,i.MZ)({type:a.A,json:{write:!0}})],y.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],y.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)(n.J)],y.prototype,"edges",void 0),y=r=(0,s.Cg)([(0,i.$K)("esri.symbols.ExtrudeSymbol3DLayer")],y)},27066(e,t,o){o.d(t,{D:()=>r});const r={type:o(97515).A,json:{write:!0,default:null}}},27845(e,t,o){o.d(t,{A:()=>M});var r=o(5482),s=o(91429),i=o(3904),l=o(51734),n=o(44633),a=o(16264),p=o(20603),y=o(33386),c=o(28975),u=o(93223);let h=class extends c.A{constructor(e){super(e),this.colorMixMode=null}};(0,r.Cg)([(0,u.e)({multiply:"multiply",replace:"replace",tint:"tint"})],h.prototype,"colorMixMode",void 0),h=(0,r.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DFillMaterial")],h);var d,g=o(68197),m=o(25482),b=o(90629),w=o(67222),v=o(8887);let f=d=class extends m.o{constructor(e){super(e),this.color=new g.A([0,0,0,1]),this.pattern=null,this.patternCap="butt"}get size(){return this._get("size")??(0,b.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new d(e)}};(0,r.Cg)([(0,s.MZ)((0,w.EW)({colorRequiredOnWrite:!0}))],f.prototype,"color",void 0),(0,r.Cg)([(0,s.MZ)({...w.pI,json:{write:{isRequired:!0}}})],f.prototype,"size",null),(0,r.Cg)([(0,s.MZ)(p.v)],f.prototype,"pattern",void 0),(0,r.Cg)([(0,s.MZ)({type:v.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],f.prototype,"patternCap",void 0),f=d=(0,r.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DOutline")],f);const C=f;var A;let M=class extends i.A{static{A=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new A(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new n.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??y.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new A({material:new h({color:(e.color??y.u7).clone()}),pattern:e.style&&"solid"!==e.style?new a.A({style:e.style}):null,outline:o})}};(0,r.Cg)([(0,u.e)({Fill:"fill"},{readOnly:!0})],M.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:h,json:{write:!0}})],M.prototype,"material",void 0),(0,r.Cg)([(0,s.MZ)(p.r)],M.prototype,"pattern",void 0),(0,r.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],M.prototype,"castShadows",void 0),(0,r.Cg)([(0,s.MZ)({type:C,json:{write:!0}})],M.prototype,"outline",void 0),(0,r.Cg)([(0,s.MZ)(l.J)],M.prototype,"edges",void 0),M=A=(0,r.Cg)([(0,s.$K)("esri.symbols.FillSymbol3DLayer")],M)},28975(e,t,o){o.d(t,{A:()=>y});var r=o(5482),s=o(69540),i=o(25482),l=o(91429),n=o(67222),a=o(93223);let p=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.strength=1,this.source="emissive"}};(0,r.Cg)([(0,l.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,l.MZ)({nonNullable:!0,json:{write:{enabled:!0}}})],p.prototype,"source",void 0),p=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DEmissive")],p);let y=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.color=null,this.emissive=null}};(0,r.Cg)([(0,l.MZ)((0,n.EW)())],y.prototype,"color",void 0),(0,r.Cg)([(0,l.MZ)({type:p,json:{write:!0}})],y.prototype,"emissive",void 0),y=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DMaterial")],y)},33386(e,t,o){o.d(t,{ON:()=>s,U9:()=>l,u7:()=>i});var r=o(68197);const s=new r.A("white"),i=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},33910(e,t,o){o.d(t,{dp:()=>R,$y:()=>j,wk:()=>z,Y7:()=>N,wC:()=>L,Ac:()=>k,Bu:()=>_,Es:()=>O,q8:()=>D,em:()=>P,Rv:()=>q,xK:()=>$,On:()=>K});var r,s=o(56507),i=o(90360),l=o(40863),n=o(13313),a=o(97887),p=o(68548),y=o(5482),c=o(4718),u=o(90629),h=o(91429),d=o(65851),g=o(77040),m=o(93223);let b=r=class extends d.A{constructor(...e){super(...e),this.color=null,this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=o&&(s.width=(0,u.cr)(o)),null!=r&&(s.height=(0,u.cr)(r)),s}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(){const e=new r({color:(0,c.o8)(this.color),height:this.height,outline:(0,c.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,c.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),v=o(75981),f=o(65365),C=o(94985),A=o(31593),M=o(53930),S=o(20378),Z=o(68249),x=o(37757);function j(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 O={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":M.A,text:Z.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":x.A,cim:l.A},errorContext:"symbol"},L=(S.A,C.A,l.A,{base:S.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":M.A,"point-3d":v.A,cim:l.A},errorContext:"symbol"}),N={base:S.A,key:"type",typeMap:{"simple-line":A.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},k={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"polygon-3d":f.A,cim:l.A},errorContext:"symbol"},D={base:S.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":M.A,text:Z.A,"web-style":x.A,cim:l.A},errorContext:"symbol"},_=(0,i.C)({types:O}),$={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":M.A,text:Z.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":x.A,cim:l.A},errorContext:"symbol"},P={base:S.A,key:"type",typeMap:{text:Z.A,"label-3d":n.A},errorContext:"symbol"},K=(S.A,n.A,a.A,p.A,v.A,f.A,x.A,{base:S.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":p.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":x.A,cim:l.A},errorContext:"symbol"}),q={base:S.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},R=(0,s.aq)(O)},34723(e,t,o){o.d(t,{A:()=>y});var r,s=o(5482),i=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=c.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s.Cg)([(0,l.MZ)({type:i.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>c.clone(),defaultEquals:e=>e.toCss(!0)===c.toCss(!0)}})],y.prototype,"color",void 0),(0,s.Cg)([(0,p.e)({Water:"water"},{readOnly:!0})],y.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],y.prototype,"waterbodySize",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],y.prototype,"waveDirection",void 0),(0,s.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],y.prototype,"waveStrength",void 0),y=r=(0,s.Cg)([(0,l.$K)("esri.symbols.WaterSymbol3DLayer")],y);const c=new i.A([0,119,190])},36533(e,t,o){o.d(t,{A:()=>n});var r=o(5482),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(e){super(e)}};(0,r.Cg)([(0,l.MZ)({type:["style","image"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.LinePattern3D")],n)},37757(e,t,o){o.d(t,{A:()=>h});var r,s=o(5482),i=o(53966),l=o(74887),n=o(91429),a=o(20655),p=o(97159),y=o(20378),c=o(57212),u=o(93223);let h=r=class extends y.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(){const e=null!=this.portal?this.portal:a.A.getDefault(),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 r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async _fetchSymbol(e){const t=null!=e?e.cache:null,r=t?this._fetchCacheKey:null;if(null!=t){const e=r&&t.get(r);if(e)return e.clone()}const{resolveWebStyleSymbol:s}=await o.e(7883).then(o.bind(o,27883));(0,l.Te)(e);const n=s(this,{portal:this.portal},e);n.catch(e=>{i.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});const a=await n;return null!=t&&t.set(r,a.clone()),a}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],h.prototype,"color",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],h.prototype,"styleName",void 0),(0,s.Cg)([(0,n.MZ)({type:a.A,json:{write:!1}})],h.prototype,"portal",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{read:p.r,write:p.w}})],h.prototype,"styleUrl",void 0),(0,s.Cg)([(0,n.MZ)({type:c.V,json:{read:!1}})],h.prototype,"thumbnail",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,s.Cg)([(0,u.e)({styleSymbolReference:"web-style"},{readOnly:!0})],h.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)()],h.prototype,"_fetchCacheKey",null),h=r=(0,s.Cg)([(0,n.$K)("esri.symbols.WebStyleSymbol")],h)},39065(e,t,o){o.d(t,{A:()=>p});var r,s=o(5482),i=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,s.Cg)([(0,n.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,i.$K)("esri.symbols.edges.SolidEdges3D")],a);const p=a},40863(e,t,o){o.d(t,{A:()=>h});var r,s=o(5482),i=o(4718),l=o(799),n=o(91429),a=o(30524),p=o(20378),y=o(36005),c=o(43937),u=o(93223);let h=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,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map(o=>{const r=o.valueExpressionInfo;return r?(0,a.Dx)(e,t,null,r.expression):null});await Promise.all(r)}}}clone(){return new r({data:(0,i.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],h.prototype,"color",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],h.prototype,"data",void 0),(0,s.Cg)([(0,y.w)("data",["symbol"])],h.prototype,"readData",null),(0,s.Cg)([(0,c.K)("data",{})],h.prototype,"writeData",null),(0,s.Cg)([(0,u.e)({CIMSymbolReference:"cim"},{readOnly:!0})],h.prototype,"type",void 0),h=r=(0,s.Cg)([(0,n.$K)("esri.symbols.CIMSymbol")],h)},44633(e,t,o){o.d(t,{A:()=>p});var r=o(5482),s=o(66552),i=o(91429),l=o(36533),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"],json:{write:{isRequired:!0}}})],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)},51216(e,t,o){o.d(t,{A:()=>f});var r,s=o(5482),i=o(91429),l=o(3904),n=o(66552),a=o(25482),p=o(97159),y=o(93223);const c=(0,n.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends a.o{constructor(e){super(e)}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s.Cg)([(0,i.MZ)({type:String,json:{read:p.r,write:p.w}})],u.prototype,"href",void 0),(0,s.Cg)([(0,y.e)(c)],u.prototype,"primitive",void 0),u=r=(0,s.Cg)([(0,i.$K)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);const h=u;var d,g=o(69622);let m=d=class extends g.A{constructor(e){super(e),this.x=0,this.y=0,this.z=0}clone(){return new d({x:this.x,y:this.y,z:this.z})}};(0,s.Cg)([(0,i.MZ)({type:Number})],m.prototype,"x",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],m.prototype,"y",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],m.prototype,"z",void 0),m=d=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DAnchorPosition3D")],m);const b=m;var w,v=o(28975);let f=class extends l.A{static{w=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 w({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,s.Cg)([(0,i.MZ)({type:v.A,json:{write:!0}})],f.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],f.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:h,json:{write:!0}})],f.prototype,"resource",void 0),(0,s.Cg)([(0,y.e)({Object:"object"},{readOnly:!0})],f.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"width",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"height",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"depth",void 0),(0,s.Cg)([(0,y.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],f.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:b,json:{type:[Number],read:{reader:e=>new b({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,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"heading",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"tilt",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"roll",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],f.prototype,"isPrimitive",null),f=w=(0,s.Cg)([(0,i.$K)("esri.symbols.ObjectSymbol3DLayer")],f)},51734(e,t,o){o.d(t,{J:()=>c});var r,s=o(4792),i=o(5482),l=o(91429),n=o(93223);let a=r=class extends s.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,n.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.edges.SketchEdges3D")],a);const p=a;var y=o(39065);const c={types:{key:"type",base:s.A,typeMap:{solid:y.A,sketch:p}},json:{write:!0}}},57212(e,t,o){o.d(t,{V:()=>n});var r,s=o(5482),i=o(69622),l=o(91429);let n=r=class extends i.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s.Cg)([(0,l.MZ)({type:String})],n.prototype,"url",void 0),n=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Thumbnail")],n)},58185(e,t,o){o.d(t,{A:()=>z});var r=o(5482),s=o(7762),i=o(62885),l=o(53966),n=o(84952),a=o(67076),p=o(91429),y=o(20655),c=o(97159),u=o(26449),h=o(27845),d=o(80138),g=o(11506),m=o(51216),b=o(66525),w=o(20378),v=o(3904),f=o(10224),C=o(34723),A=o(98751),M=o(57212),S=o(36005),Z=o(43937);const x={icon:d.A,object:m.A,line:g.A,path:b.A,fill:h.A,extrude:u.A,text:f.A,water:C.A},j=s.A.ofType({base:v.A,key:"type",typeMap:x,errorContext:"symbol-layer"});let z=class extends w.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||s.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.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,i.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,c.f)(e.styleUrl,o);return new A.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new A.A({portal:o?.portal||y.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.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,c.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.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})}normalizeCtorArgs(e){return e instanceof v.A||e&&x[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,p.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,p.MZ)({type:j,nonNullable:!0,json:{write:!0}}),(0,p.wg)(i.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,p.MZ)({type:A.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,S.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,p.MZ)({type:M.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,p.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,p.$K)("esri.symbols.Symbol3D")],z)},58592(e,t,o){o.d(t,{A:()=>u});var r,s=o(5482),i=o(4718),l=o(90629),n=o(91429),a=o(89420),p=o(77040),y=o(93223),c=o(36005);let u=r=class extends a.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}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(){const 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,i.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s.Cg)([(0,y.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)(p.ku)],u.prototype,"url",void 0),(0,s.Cg)([(0,n.MZ)(p.k7)],u.prototype,"source",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",null),(0,s.Cg)([(0,c.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",null),(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",null),u=r=(0,s.Cg)([(0,n.$K)("esri.symbols.PictureMarkerSymbol")],u)},59483(e,t,o){o.d(t,{LH:()=>l,Yq:()=>i,oG:()=>n});var r=o(4595),s=o(8893);function i(e){if(!e)return!1;const t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!i(e)}const n={types:{key:"type",base:r.A,typeMap:{line:s.A}},json:{write:!0}}},62885(e,t,o){o.d(t,{H:()=>i,V:()=>s});var r=o(7762);function s(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(t.removeAll(),(s=e)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?t.addMany(e):e&&t.add(e)),t;var s}function i(e){return e}},65365(e,t,o){o.d(t,{A:()=>m});var r,s=o(5482),i=o(7762),l=o(4718),n=o(91429),a=o(26449),p=o(27845),y=o(80138),c=o(51216),u=o(58185),h=o(34723),d=o(93223);const g=i.A.ofType({base:null,key:"type",typeMap:{extrude:a.A,fill:p.A,icon:y.A,object:c.A,water:h.A}});let m=r=class extends u.A{constructor(e){super(e),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;return t.read(e),t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],m.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,d.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s.Cg)([(0,n.$K)("esri.symbols.PolygonSymbol3D")],m)},66525(e,t,o){o.d(t,{A:()=>c});var r,s=o(5482),i=o(91429),l=o(3904),n=o(28975),a=o(8887),p=o(93223),y=o(36005);let c=class extends l.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 null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,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,s.Cg)([(0,i.MZ)({type:n.A,json:{write:!0}})],c.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s.Cg)([(0,p.e)({Path:"path"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],c.prototype,"profile",void 0),(0,s.Cg)([(0,i.MZ)({type:a.e,nonNullable:!0,json:{write:!0,default:"miter"}})],c.prototype,"join",void 0),(0,s.Cg)([(0,i.MZ)({type:a.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],c.prototype,"cap",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],c.prototype,"width",void 0),(0,s.Cg)([(0,y.w)("width",["width","size","height"])],c.prototype,"readWidth",null),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],c.prototype,"height",void 0),(0,s.Cg)([(0,y.w)("height",["height","size","width"])],c.prototype,"readHeight",null),(0,s.Cg)([(0,i.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],c.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],c.prototype,"profileRotation",void 0),c=r=(0,s.Cg)([(0,i.$K)("esri.symbols.PathSymbol3DLayer")],c)},67222(e,t,o){o.d(t,{EW:()=>p,pI:()=>y});var r=o(68197),s=o(90629),i=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new r.A([s[0]||0,s[1]||0,s[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const 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}}},68548(e,t,o){o.d(t,{A:()=>h});var r,s=o(5482),i=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(27845),y=o(58185),c=o(93223);const u=i.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let h=r=class extends y.A{constructor(e){super(e),this.type="mesh-3d",this.symbolLayers=new u}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:u})],h.prototype,"symbolLayers",null),(0,s.Cg)([(0,c.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],h.prototype,"type",void 0),h=r=(0,s.Cg)([(0,a.$K)("esri.symbols.MeshSymbol3D")],h)},75981(e,t,o){o.d(t,{A:()=>w});var r,s=o(5482),i=o(68197),l=o(7762),n=o(4718),a=o(91429),p=o(80138),y=o(51216),c=o(58185),u=o(10224),h=o(59483),d=o(8893),g=o(4900),m=o(93223);const b=l.A.ofType({base:null,key:"type",typeMap:{icon:p.A,object:y.A,text:u.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(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([p.A.fromCIMSymbol(e)]),callout:new d.A({size:.5,color:new i.A([0,0,0])}),verticalOffset:new g.A({screenLength:40})}:{symbolLayers:new l.A([p.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([u.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:g.A,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(h.oG)],w.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,m.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,s.Cg)([(0,a.$K)("esri.symbols.PointSymbol3D")],w)},77040(e,t,o){o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),s=o(97159);function i(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const 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,s.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}):i(t.url,o)}},write:{writer(e,t,o,i){!function(e,t,o,i){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,s.w)(o.url,t,"url",i)}else(0,s.w)(e,t,"url",i)}(e,t,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=i(t.url,o)),r}}}}},80138(e,t,o){o.d(t,{A:()=>_});var r,s=o(5482),i=o(4718),l=o(53966),n=o(84952),a=o(91429),p=o(3904),y=o(33386),c=o(66552),u=o(25482),h=o(97159),d=o(36005),g=o(43937),m=o(93223);const b=(0,c.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let w=r=class extends u.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,h.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,h.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.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,s.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],w.prototype,"href",void 0),(0,s.Cg)([(0,d.w)("href")],w.prototype,"readHref",null),(0,s.Cg)([(0,g.K)("href",{href:{type:String},dataURI:{type:String}})],w.prototype,"writeHref",null),(0,s.Cg)([(0,m.e)(b)],w.prototype,"primitive",void 0),w=r=(0,s.Cg)([(0,a.$K)("esri.symbols.support.IconSymbol3DLayerResource")],w);const v=w;var f,C=o(67222),A=o(97515),M=o(27066),S=o(69622);let Z=f=class extends S.A{constructor(e){super(e),this.x=0,this.y=0}clone(){return new f({x:this.x,y:this.y})}equals(e){return e.x===this.x&&e.y===this.y}};(0,s.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"x",void 0),(0,s.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"y",void 0),Z=f=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DAnchorPosition2D")],Z);const x=Z;var j,z=o(68197),O=o(90629);let L=j=class extends u.o{constructor(e){super(e),this.color=new z.A([0,0,0,1])}get size(){return this._get("size")??(0,O.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,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,s.Cg)([(0,a.MZ)((0,C.EW)({colorRequiredOnWrite:!0}))],L.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...C.pI,json:{write:{isRequired:!0}}})],L.prototype,"size",null),L=j=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DIconOutline")],L);const N=L;var k,D=o(28975);let _=class extends p.A{static{k=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 A.A({mode:"adaptive"})}get size(){return this._get("size")??12}set size(e){this._set("size",e)}clone(){return new k({anchor:this.anchor,anchorPosition:(0,i.o8)(this.anchorPosition),enabled:this.enabled,material:(0,i.o8)(this.material),outline:(0,i.o8)(this.outline),resource:(0,i.o8)(this.resource),angle:this.angle,size:this.size,occludedVisibility:(0,i.o8)(this.occludedVisibility)})}static fromSimpleMarkerSymbol(e){const t=e.color||y.ON,o=$(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||y.ON).clone()}:null;return new k({size:e.size,angle:e.angle,resource:{primitive:q(()=>l.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,y.U9)(e.color)?y.ON:e.color,o=$(e);return new k({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 k({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})},occludedVisibility:null})}};function $(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=P(e.xoffset),s=P(e.yoffset);return(r||s)&&t&&o?{x:-r/t,y:s/o}:null}function P(e){return isFinite(e)?e:0}(0,s.Cg)([(0,a.MZ)({type:D.A,json:{write:!0}})],_.prototype,"material",void 0),(0,s.Cg)([(0,a.MZ)({type:v,json:{write:!0}})],_.prototype,"resource",void 0),(0,s.Cg)([(0,m.e)({Icon:"icon"},{readOnly:!0})],_.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({...C.pI,json:{write:{isRequired:!0}}})],_.prototype,"size",null),(0,s.Cg)([(0,m.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"})],_.prototype,"anchor",void 0),(0,s.Cg)([(0,a.MZ)({type:x,json:{type:[Number],read:{reader:e=>new x({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],_.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,a.MZ)({type:N,json:{write:!0}})],_.prototype,"outline",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],_.prototype,"angle",void 0),(0,s.Cg)([(0,a.MZ)(M.D)],_.prototype,"occludedVisibility",void 0),_=k=(0,s.Cg)([(0,a.$K)("esri.symbols.IconSymbol3DLayer")],_);const K={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function q(e,t){return K[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},97515(e,t,o){o.d(t,{A:()=>n});var r=o(5482),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.mode="hidden"}equals(e){return this.mode===e.mode}};(0,r.Cg)([(0,l.MZ)({type:["adaptive","hidden","visible"],json:{write:{isRequired:!0}}})],n.prototype,"mode",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.support.OccludedVisibility")],n)},97887(e,t,o){o.d(t,{A:()=>d});var r,s=o(5482),i=o(7762),l=o(4718),n=o(91429),a=o(11506),p=o(66525),y=o(58185),c=o(93223);const u=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}}),h=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}});let d=r=class extends y.A{constructor(e){super(e),this.symbolLayers=new u,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new i.A([a.A.fromSimpleLineSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:u,json:{type:h}})],d.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,c.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s.Cg)([(0,n.$K)("esri.symbols.LineSymbol3D")],d)},98751(e,t,o){o.d(t,{A:()=>a});var r,s=o(5482),i=o(69622),l=o(91429),n=o(20655);let a=r=class extends i.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,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"name",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleUrl",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleName",void 0),(0,s.Cg)([(0,l.MZ)({type:n.A})],a.prototype,"portal",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.StyleOrigin")],a)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{3904(e,t,o){o.d(t,{A:()=>n});var r=o(5482),s=o(25482),i=o(91429),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)},3955(e,t,o){o.d(t,{A:()=>n});var r=o(5482),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(){super(...arguments),this.type="style"}};(0,r.Cg)([(0,l.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.Pattern3D")],n)},4595(e,t,o){o.d(t,{A:()=>l});var r=o(5482),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e),this.visible=!0}clone(){throw new 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)},4792(e,t,o){o.d(t,{A:()=>c});var r=o(5482),s=o(68197),i=o(25482),l=o(4718),n=o(90629),a=o(91429),p=o(67222);let y=class extends i.o{constructor(e){super(e),this.color=new s.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")??(0,n.PN)(1)}set size(e){this._set("size",e)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],y.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],y.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],y.prototype,"extensionLength",null),(0,r.Cg)([(0,a.MZ)(p.pI)],y.prototype,"size",null),y=(0,r.Cg)([(0,a.$K)("esri.symbols.edges.Edges3D")],y);const c=y},4900(e,t,o){o.d(t,{A:()=>a});var r,s=o(5482),i=o(25482),l=o(91429),n=o(67222);let a=r=class extends i.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,s.Cg)([(0,l.MZ)({...n.pI,json:{write:{isRequired:!0}}})],a.prototype,"screenLength",null),(0,s.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],a.prototype,"minWorldLength",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxWorldLength",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DVerticalOffset")],a)},8887(e,t,o){o.d(t,{Fq:()=>n,M4:()=>a,Nv:()=>p,e:()=>y}),o(51850);var r=o(70328);const s=(0,r.fA)(-.5,-.5,-.5,.5,.5,.5),i=(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 s;case"cylinder":case"cone":case"inverted-cone":return i;case"tetrahedron":return l;default:return}}const a=["butt","square","round"],p=[...a,"none"],y=["miter","bevel","round"]},8893(e,t,o){o.d(t,{A:()=>m});var r,s=o(5482),i=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(4595),y=o(25482),c=o(67222);let u=r=class extends y.o{constructor(e){super(e),this.color=new i.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,s.Cg)([(0,a.MZ)((0,c.EW)({colorRequiredOnWrite:!0}))],u.prototype,"color",void 0),u=r=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3DBorder")],u);const h=u;var d,g=o(93223);let m=d=class extends p.A{constructor(e){super(e),this.type="line",this.color=new i.A([0,0,0,1]),this.border=null}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new d({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,s.Cg)([(0,g.e)({line:"line"})],m.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)((0,c.EW)({colorRequiredOnWrite:!0}))],m.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...c.pI,json:{write:{isRequired:!0}}})],m.prototype,"size",null),(0,s.Cg)([(0,a.MZ)({type:h,json:{write:!0}})],m.prototype,"border",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"visible",null),m=d=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3D")],m)},10224(e,t,o){o.d(t,{A:()=>A});var r,s=o(5482),i=o(4718),l=o(91429),n=o(11831),a=o(3904),p=o(67222),y=o(97515),c=o(27066),u=o(68197),h=o(25482);let d=r=class extends h.o{constructor(e){super(e),this.color=new u.A([0,0,0,1])}get size(){return this._get("size")??0}set size(e){this._set("size",e)}clone(){const e={color:(0,i.o8)(this.color),size:this.size};return new r(e)}};(0,s.Cg)([(0,l.MZ)((0,p.EW)())],d.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)(p.pI)],d.prototype,"size",null),d=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DHalo")],d);var g=o(28975),m=o(69540);let b=class extends((0,m.OU)(h.o)){constructor(e){super(e),this.color=null}};(0,s.Cg)([(0,l.MZ)((0,p.EW)())],b.prototype,"color",void 0),b=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DTextBackground")],b);var w,v=o(5760),f=o(43937),C=o(93223);let A=class extends a.A{static{w=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.text=null,this.type="text",this.verticalAlignment="baseline",this.occludedVisibility=new y.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){const s={...r,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=Number(e),null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new w({enabled:this.enabled,font:(0,i.o8)(this.font),halo:(0,i.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.o8)(this.background),occludedVisibility:(0,i.o8)(this.occludedVisibility)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new w({font:null!=e.font?e.font.clone():new n.A,halo:M(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new g.A({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new b({color:e.backgroundColor.clone()}):null,occludedVisibility:null})}};function M(e,t){return e&&null!=t&&t>0?new d({color:(0,i.o8)(e),size:t}):null}(0,s.Cg)([(0,l.MZ)({type:n.A,json:{write:!0}})],A.prototype,"font",null),(0,s.Cg)([(0,f.K)("font")],A.prototype,"writeFont",null),(0,s.Cg)([(0,l.MZ)({type:d,json:{write:!0}})],A.prototype,"halo",void 0),(0,s.Cg)([(0,l.MZ)({...v.rM,json:{default:"center",write:!0}})],A.prototype,"horizontalAlignment",void 0),(0,s.Cg)([(0,l.MZ)({...v.Tb,json:{default:1,write:!0}})],A.prototype,"lineHeight",void 0),(0,s.Cg)([(0,l.MZ)({type:g.A,json:{write:!0}})],A.prototype,"material",void 0),(0,s.Cg)([(0,l.MZ)({type:b,json:{write:!0}})],A.prototype,"background",void 0),(0,s.Cg)([(0,l.MZ)(p.pI)],A.prototype,"size",null),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"text",void 0),(0,s.Cg)([(0,C.e)({Text:"text"},{readOnly:!0})],A.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({...v.x0,json:{default:"baseline",write:!0}})],A.prototype,"verticalAlignment",void 0),(0,s.Cg)([(0,l.MZ)(c.D)],A.prototype,"occludedVisibility",void 0),A=w=(0,s.Cg)([(0,l.$K)("esri.symbols.TextSymbol3DLayer")],A)},11506(e,t,o){o.d(t,{A:()=>C});var r=o(5482),s=o(90629),i=o(91429),l=o(68197),n=o(69540),a=o(25482),p=o(56507),y=o(83213);let c=class extends((0,n.OU)(a.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}}})],c.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:y.x,json:{default:"begin-end",write:!0}})],c.prototype,"placement",void 0),(0,r.Cg)([(0,i.MZ)({type:y.z,json:{default:"arrow",write:!0}})],c.prototype,"style",void 0),(0,r.Cg)([(0,i.MZ)({type:l.A,json:{type:[p.jz],default:null,write:!0}})],c.prototype,"color",void 0),c=(0,r.Cg)([(0,i.$K)("esri.symbols.LineStyleMarker3D")],c);var u,h=o(3904),d=o(44633),g=o(20603),m=o(33386),b=o(67222),w=o(28975),v=o(8887),f=o(93223);let C=class extends h.A{static{u=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}get size(){return this._get("size")??(0,s.PN)(1)}set size(e){this._set("size",e)}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,imagePattern:null!=this.imagePattern?this.imagePattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new u(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new d.A({style:e.style}):null,imagePattern:null,material:new w.A({color:(e.color||m.ON).clone()}),marker:e.marker?new c({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new u(t)}};(0,r.Cg)([(0,i.MZ)({type:w.A,json:{write:!0}})],C.prototype,"material",void 0),(0,r.Cg)([(0,f.e)({Line:"line"},{readOnly:!0})],C.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:v.e,json:{write:!0,default:"miter"}})],C.prototype,"join",void 0),(0,r.Cg)([(0,i.MZ)({type:v.M4,json:{write:!0,default:"butt"}})],C.prototype,"cap",void 0),(0,r.Cg)([(0,i.MZ)({...b.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(g.v)],C.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)()],C.prototype,"imagePattern",void 0),(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:c,typeMap:{style:c}},json:{write:!0}})],C.prototype,"marker",void 0),C=u=(0,r.Cg)([(0,i.$K)("esri.symbols.LineSymbol3DLayer")],C)},13313(e,t,o){o.d(t,{A:()=>g});var r,s=o(5482),i=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(58185),y=o(10224),c=o(59483),u=o(4900),h=o(93223);const d=i.A.ofType({base:null,key:"type",typeMap:{text:y.A}});let g=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new d}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return(0,c.LH)(this)}hasVisibleVerticalOffset(){return(0,c.Yq)(this)}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail),callout:(0,n.o8)(this.callout),verticalOffset:(0,n.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new i.A([y.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],g.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(c.oG)],g.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],g.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,a.MZ)({type:d})],g.prototype,"symbolLayers",null),(0,s.Cg)([(0,h.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,s.Cg)([(0,a.$K)("esri.symbols.LabelSymbol3D")],g)},16264(e,t,o){o.d(t,{A:()=>l});var r=o(5482),s=o(91429),i=o(3955);let l=class extends i.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,s.MZ)({type:["style"],json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,s.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,s.$K)("esri.symbols.patterns.StylePattern3D")],l)},20603(e,t,o){o.d(t,{r:()=>n,v:()=>a});var r=o(36533),s=o(44633),i=o(3955),l=o(16264);const n={types:{key:"type",base:i.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:s.A}},json:{write:!0}}},26449(e,t,o){o.d(t,{A:()=>y});var r,s=o(5482),i=o(91429),l=o(3904),n=o(51734),a=o(28975),p=o(93223);let y=class extends l.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,s.Cg)([(0,p.e)({Extrude:"extrude"},{readOnly:!0})],y.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],y.prototype,"size",void 0),(0,s.Cg)([(0,i.MZ)({type:a.A,json:{write:!0}})],y.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],y.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)(n.J)],y.prototype,"edges",void 0),y=r=(0,s.Cg)([(0,i.$K)("esri.symbols.ExtrudeSymbol3DLayer")],y)},27066(e,t,o){o.d(t,{D:()=>r});const r={type:o(97515).A,json:{write:!0,default:null}}},27845(e,t,o){o.d(t,{A:()=>M});var r=o(5482),s=o(91429),i=o(3904),l=o(51734),n=o(44633),a=o(16264),p=o(20603),y=o(33386),c=o(28975),u=o(93223);let h=class extends c.A{constructor(e){super(e),this.colorMixMode=null}};(0,r.Cg)([(0,u.e)({multiply:"multiply",replace:"replace",tint:"tint"})],h.prototype,"colorMixMode",void 0),h=(0,r.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DFillMaterial")],h);var d,g=o(68197),m=o(25482),b=o(90629),w=o(67222),v=o(8887);let f=d=class extends m.o{constructor(e){super(e),this.color=new g.A([0,0,0,1]),this.pattern=null,this.patternCap="butt"}get size(){return this._get("size")??(0,b.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new d(e)}};(0,r.Cg)([(0,s.MZ)((0,w.EW)({colorRequiredOnWrite:!0}))],f.prototype,"color",void 0),(0,r.Cg)([(0,s.MZ)({...w.pI,json:{write:{isRequired:!0}}})],f.prototype,"size",null),(0,r.Cg)([(0,s.MZ)(p.v)],f.prototype,"pattern",void 0),(0,r.Cg)([(0,s.MZ)({type:v.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],f.prototype,"patternCap",void 0),f=d=(0,r.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DOutline")],f);const C=f;var A;let M=class extends i.A{static{A=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new A(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new n.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??y.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new A({material:new h({color:(e.color??y.u7).clone()}),pattern:e.style&&"solid"!==e.style?new a.A({style:e.style}):null,outline:o})}};(0,r.Cg)([(0,u.e)({Fill:"fill"},{readOnly:!0})],M.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:h,json:{write:!0}})],M.prototype,"material",void 0),(0,r.Cg)([(0,s.MZ)(p.r)],M.prototype,"pattern",void 0),(0,r.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],M.prototype,"castShadows",void 0),(0,r.Cg)([(0,s.MZ)({type:C,json:{write:!0}})],M.prototype,"outline",void 0),(0,r.Cg)([(0,s.MZ)(l.J)],M.prototype,"edges",void 0),M=A=(0,r.Cg)([(0,s.$K)("esri.symbols.FillSymbol3DLayer")],M)},28975(e,t,o){o.d(t,{A:()=>y});var r=o(5482),s=o(69540),i=o(25482),l=o(91429),n=o(67222),a=o(93223);let p=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.strength=1,this.source="emissive"}};(0,r.Cg)([(0,l.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,l.MZ)({nonNullable:!0,json:{write:{enabled:!0}}})],p.prototype,"source",void 0),p=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DEmissive")],p);let y=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.color=null,this.emissive=null}};(0,r.Cg)([(0,l.MZ)((0,n.EW)())],y.prototype,"color",void 0),(0,r.Cg)([(0,l.MZ)({type:p,json:{write:!0}})],y.prototype,"emissive",void 0),y=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DMaterial")],y)},33386(e,t,o){o.d(t,{ON:()=>s,U9:()=>l,u7:()=>i});var r=o(68197);const s=new r.A("white"),i=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},33910(e,t,o){o.d(t,{dp:()=>R,$y:()=>j,wk:()=>z,Y7:()=>N,wC:()=>L,Ac:()=>k,Bu:()=>_,Es:()=>O,q8:()=>D,em:()=>P,Rv:()=>q,xK:()=>$,On:()=>K});var r,s=o(56507),i=o(90360),l=o(40863),n=o(13313),a=o(97887),p=o(68548),y=o(5482),c=o(4718),u=o(90629),h=o(91429),d=o(65851),g=o(77040),m=o(93223);let b=r=class extends d.A{constructor(...e){super(...e),this.color=null,this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=o&&(s.width=(0,u.cr)(o)),null!=r&&(s.height=(0,u.cr)(r)),s}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(){const e=new r({color:(0,c.o8)(this.color),height:this.height,outline:(0,c.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,c.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),v=o(75981),f=o(65365),C=o(94985),A=o(31593),M=o(53930),S=o(20378),Z=o(68249),x=o(37757);function j(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 O={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":M.A,text:Z.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":x.A,cim:l.A},errorContext:"symbol"},L=(S.A,C.A,l.A,{base:S.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":M.A,"point-3d":v.A,cim:l.A},errorContext:"symbol"}),N={base:S.A,key:"type",typeMap:{"simple-line":A.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},k={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"polygon-3d":f.A,cim:l.A},errorContext:"symbol"},D={base:S.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":M.A,text:Z.A,"web-style":x.A,cim:l.A},errorContext:"symbol"},_=(0,i.C)({types:O}),$={base:S.A,key:"type",typeMap:{"simple-fill":C.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":M.A,text:Z.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":x.A,cim:l.A},errorContext:"symbol"},P={base:S.A,key:"type",typeMap:{text:Z.A,"label-3d":n.A},errorContext:"symbol"},K=(S.A,n.A,a.A,p.A,v.A,f.A,x.A,{base:S.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":p.A,"point-3d":v.A,"polygon-3d":f.A,"web-style":x.A,cim:l.A},errorContext:"symbol"}),q={base:S.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},R=(0,s.aq)(O)},34723(e,t,o){o.d(t,{A:()=>y});var r,s=o(5482),i=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=c.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s.Cg)([(0,l.MZ)({type:i.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>c.clone(),defaultEquals:e=>e.toCss(!0)===c.toCss(!0)}})],y.prototype,"color",void 0),(0,s.Cg)([(0,p.e)({Water:"water"},{readOnly:!0})],y.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],y.prototype,"waterbodySize",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],y.prototype,"waveDirection",void 0),(0,s.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],y.prototype,"waveStrength",void 0),y=r=(0,s.Cg)([(0,l.$K)("esri.symbols.WaterSymbol3DLayer")],y);const c=new i.A([0,119,190])},36533(e,t,o){o.d(t,{A:()=>n});var r=o(5482),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(e){super(e)}};(0,r.Cg)([(0,l.MZ)({type:["style","image"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.LinePattern3D")],n)},37757(e,t,o){o.d(t,{A:()=>h});var r,s=o(5482),i=o(53966),l=o(74887),n=o(91429),a=o(20655),p=o(97159),y=o(20378),c=o(57212),u=o(93223);let h=r=class extends y.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(){const e=null!=this.portal?this.portal:a.A.getDefault(),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 r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async _fetchSymbol(e){const t=null!=e?e.cache:null,r=t?this._fetchCacheKey:null;if(null!=t){const e=r&&t.get(r);if(e)return e.clone()}const{resolveWebStyleSymbol:s}=await o.e(7883).then(o.bind(o,27883));(0,l.Te)(e);const n=s(this,{portal:this.portal},e);n.catch(e=>{i.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});const a=await n;return null!=t&&t.set(r,a.clone()),a}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],h.prototype,"color",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],h.prototype,"styleName",void 0),(0,s.Cg)([(0,n.MZ)({type:a.A,json:{write:!1}})],h.prototype,"portal",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{read:p.r,write:p.w}})],h.prototype,"styleUrl",void 0),(0,s.Cg)([(0,n.MZ)({type:c.V,json:{read:!1}})],h.prototype,"thumbnail",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,s.Cg)([(0,u.e)({styleSymbolReference:"web-style"},{readOnly:!0})],h.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)()],h.prototype,"_fetchCacheKey",null),h=r=(0,s.Cg)([(0,n.$K)("esri.symbols.WebStyleSymbol")],h)},39065(e,t,o){o.d(t,{A:()=>p});var r,s=o(5482),i=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,s.Cg)([(0,n.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,i.$K)("esri.symbols.edges.SolidEdges3D")],a);const p=a},40863(e,t,o){o.d(t,{A:()=>h});var r,s=o(5482),i=o(4718),l=o(799),n=o(91429),a=o(30524),p=o(20378),y=o(36005),c=o(43937),u=o(93223);let h=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,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map(o=>{const r=o.valueExpressionInfo;return r?(0,a.Dx)(e,t,null,r.expression):null});await Promise.all(r)}}}clone(){return new r({data:(0,i.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],h.prototype,"color",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],h.prototype,"data",void 0),(0,s.Cg)([(0,y.w)("data",["symbol"])],h.prototype,"readData",null),(0,s.Cg)([(0,c.K)("data",{})],h.prototype,"writeData",null),(0,s.Cg)([(0,u.e)({CIMSymbolReference:"cim"},{readOnly:!0})],h.prototype,"type",void 0),h=r=(0,s.Cg)([(0,n.$K)("esri.symbols.CIMSymbol")],h)},44633(e,t,o){o.d(t,{A:()=>p});var r=o(5482),s=o(66552),i=o(91429),l=o(36533),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"],json:{write:{isRequired:!0}}})],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)},51216(e,t,o){o.d(t,{A:()=>f});var r,s=o(5482),i=o(91429),l=o(3904),n=o(66552),a=o(25482),p=o(97159),y=o(93223);const c=(0,n.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends a.o{constructor(e){super(e)}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s.Cg)([(0,i.MZ)({type:String,json:{read:p.r,write:p.w}})],u.prototype,"href",void 0),(0,s.Cg)([(0,y.e)(c)],u.prototype,"primitive",void 0),u=r=(0,s.Cg)([(0,i.$K)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);const h=u;var d,g=o(69622);let m=d=class extends g.A{constructor(e){super(e),this.x=0,this.y=0,this.z=0}clone(){return new d({x:this.x,y:this.y,z:this.z})}};(0,s.Cg)([(0,i.MZ)({type:Number})],m.prototype,"x",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],m.prototype,"y",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],m.prototype,"z",void 0),m=d=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DAnchorPosition3D")],m);const b=m;var w,v=o(28975);let f=class extends l.A{static{w=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 w({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,s.Cg)([(0,i.MZ)({type:v.A,json:{write:!0}})],f.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],f.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:h,json:{write:!0}})],f.prototype,"resource",void 0),(0,s.Cg)([(0,y.e)({Object:"object"},{readOnly:!0})],f.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"width",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"height",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"depth",void 0),(0,s.Cg)([(0,y.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],f.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:b,json:{type:[Number],read:{reader:e=>new b({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,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"heading",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"tilt",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"roll",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],f.prototype,"isPrimitive",null),f=w=(0,s.Cg)([(0,i.$K)("esri.symbols.ObjectSymbol3DLayer")],f)},51734(e,t,o){o.d(t,{J:()=>c});var r,s=o(4792),i=o(5482),l=o(91429),n=o(93223);let a=r=class extends s.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,n.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.edges.SketchEdges3D")],a);const p=a;var y=o(39065);const c={types:{key:"type",base:s.A,typeMap:{solid:y.A,sketch:p}},json:{write:!0}}},57212(e,t,o){o.d(t,{V:()=>n});var r,s=o(5482),i=o(69622),l=o(91429);let n=r=class extends i.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s.Cg)([(0,l.MZ)({type:String})],n.prototype,"url",void 0),n=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Thumbnail")],n)},58185(e,t,o){o.d(t,{A:()=>z});var r=o(5482),s=o(7762),i=o(62885),l=o(53966),n=o(84952),a=o(67076),p=o(91429),y=o(20655),c=o(97159),u=o(26449),h=o(27845),d=o(80138),g=o(11506),m=o(51216),b=o(66525),w=o(20378),v=o(3904),f=o(10224),C=o(34723),A=o(98751),M=o(57212),S=o(36005),Z=o(43937);const x={icon:d.A,object:m.A,line:g.A,path:b.A,fill:h.A,extrude:u.A,text:f.A,water:C.A},j=s.A.ofType({base:v.A,key:"type",typeMap:x,errorContext:"symbol-layer"});let z=class extends w.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||s.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.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,i.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,c.f)(e.styleUrl,o);return new A.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new A.A({portal:o?.portal||y.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.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,c.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.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})}normalizeCtorArgs(e){return e instanceof v.A||e&&x[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,p.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,p.MZ)({type:j,nonNullable:!0,json:{write:!0}}),(0,p.wg)(i.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,p.MZ)({type:A.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,S.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,p.MZ)({type:M.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,p.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,p.$K)("esri.symbols.Symbol3D")],z)},58592(e,t,o){o.d(t,{A:()=>u});var r,s=o(5482),i=o(4718),l=o(90629),n=o(91429),a=o(89420),p=o(77040),y=o(93223),c=o(36005);let u=r=class extends a.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}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(){const 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,i.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s.Cg)([(0,y.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)(p.ku)],u.prototype,"url",void 0),(0,s.Cg)([(0,n.MZ)(p.k7)],u.prototype,"source",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",null),(0,s.Cg)([(0,c.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",null),(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",null),u=r=(0,s.Cg)([(0,n.$K)("esri.symbols.PictureMarkerSymbol")],u)},59483(e,t,o){o.d(t,{LH:()=>l,Yq:()=>i,oG:()=>n});var r=o(4595),s=o(8893);function i(e){if(!e)return!1;const t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!i(e)}const n={types:{key:"type",base:r.A,typeMap:{line:s.A}},json:{write:!0}}},62885(e,t,o){o.d(t,{H:()=>i,V:()=>s});var r=o(7762);function s(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(t.removeAll(),(s=e)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?t.addMany(e):e&&t.add(e)),t;var s}function i(e){return e}},65365(e,t,o){o.d(t,{A:()=>m});var r,s=o(5482),i=o(7762),l=o(4718),n=o(91429),a=o(26449),p=o(27845),y=o(80138),c=o(51216),u=o(58185),h=o(34723),d=o(93223);const g=i.A.ofType({base:null,key:"type",typeMap:{extrude:a.A,fill:p.A,icon:y.A,object:c.A,water:h.A}});let m=r=class extends u.A{constructor(e){super(e),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;return t.read(e),t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],m.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,d.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s.Cg)([(0,n.$K)("esri.symbols.PolygonSymbol3D")],m)},66525(e,t,o){o.d(t,{A:()=>c});var r,s=o(5482),i=o(91429),l=o(3904),n=o(28975),a=o(8887),p=o(93223),y=o(36005);let c=class extends l.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 null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,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,s.Cg)([(0,i.MZ)({type:n.A,json:{write:!0}})],c.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s.Cg)([(0,p.e)({Path:"path"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],c.prototype,"profile",void 0),(0,s.Cg)([(0,i.MZ)({type:a.e,nonNullable:!0,json:{write:!0,default:"miter"}})],c.prototype,"join",void 0),(0,s.Cg)([(0,i.MZ)({type:a.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],c.prototype,"cap",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],c.prototype,"width",void 0),(0,s.Cg)([(0,y.w)("width",["width","size","height"])],c.prototype,"readWidth",null),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],c.prototype,"height",void 0),(0,s.Cg)([(0,y.w)("height",["height","size","width"])],c.prototype,"readHeight",null),(0,s.Cg)([(0,i.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],c.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],c.prototype,"profileRotation",void 0),c=r=(0,s.Cg)([(0,i.$K)("esri.symbols.PathSymbol3DLayer")],c)},67222(e,t,o){o.d(t,{EW:()=>p,pI:()=>y});var r=o(68197),s=o(90629),i=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new r.A([s[0]||0,s[1]||0,s[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const 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}}},68548(e,t,o){o.d(t,{A:()=>h});var r,s=o(5482),i=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(27845),y=o(58185),c=o(93223);const u=i.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let h=r=class extends y.A{constructor(e){super(e),this.type="mesh-3d",this.symbolLayers=new u}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:u})],h.prototype,"symbolLayers",null),(0,s.Cg)([(0,c.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],h.prototype,"type",void 0),h=r=(0,s.Cg)([(0,a.$K)("esri.symbols.MeshSymbol3D")],h)},75981(e,t,o){o.d(t,{A:()=>w});var r,s=o(5482),i=o(68197),l=o(7762),n=o(4718),a=o(91429),p=o(80138),y=o(51216),c=o(58185),u=o(10224),h=o(59483),d=o(8893),g=o(4900),m=o(93223);const b=l.A.ofType({base:null,key:"type",typeMap:{icon:p.A,object:y.A,text:u.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(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([p.A.fromCIMSymbol(e)]),callout:new d.A({size:.5,color:new i.A([0,0,0])}),verticalOffset:new g.A({screenLength:40})}:{symbolLayers:new l.A([p.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([u.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:g.A,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(h.oG)],w.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,m.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,s.Cg)([(0,a.$K)("esri.symbols.PointSymbol3D")],w)},77040(e,t,o){o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),s=o(97159);function i(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const 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,s.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}):i(t.url,o)}},write:{writer(e,t,o,i){!function(e,t,o,i){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,s.w)(o.url,t,"url",i)}else(0,s.w)(e,t,"url",i)}(e,t,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=i(t.url,o)),r}}}}},80138(e,t,o){o.d(t,{A:()=>_});var r,s=o(5482),i=o(4718),l=o(53966),n=o(84952),a=o(91429),p=o(3904),y=o(33386),c=o(66552),u=o(25482),h=o(97159),d=o(36005),g=o(43937),m=o(93223);const b=(0,c.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let w=r=class extends u.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,h.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,h.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.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,s.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],w.prototype,"href",void 0),(0,s.Cg)([(0,d.w)("href")],w.prototype,"readHref",null),(0,s.Cg)([(0,g.K)("href",{href:{type:String},dataURI:{type:String}})],w.prototype,"writeHref",null),(0,s.Cg)([(0,m.e)(b)],w.prototype,"primitive",void 0),w=r=(0,s.Cg)([(0,a.$K)("esri.symbols.support.IconSymbol3DLayerResource")],w);const v=w;var f,C=o(67222),A=o(97515),M=o(27066),S=o(69622);let Z=f=class extends S.A{constructor(e){super(e),this.x=0,this.y=0}clone(){return new f({x:this.x,y:this.y})}equals(e){return e.x===this.x&&e.y===this.y}};(0,s.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"x",void 0),(0,s.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"y",void 0),Z=f=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DAnchorPosition2D")],Z);const x=Z;var j,z=o(68197),O=o(90629);let L=j=class extends u.o{constructor(e){super(e),this.color=new z.A([0,0,0,1])}get size(){return this._get("size")??(0,O.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,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,s.Cg)([(0,a.MZ)((0,C.EW)({colorRequiredOnWrite:!0}))],L.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...C.pI,json:{write:{isRequired:!0}}})],L.prototype,"size",null),L=j=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DIconOutline")],L);const N=L;var k,D=o(28975);let _=class extends p.A{static{k=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 A.A({mode:"adaptive"})}get size(){return this._get("size")??12}set size(e){this._set("size",e)}clone(){return new k({anchor:this.anchor,anchorPosition:(0,i.o8)(this.anchorPosition),enabled:this.enabled,material:(0,i.o8)(this.material),outline:(0,i.o8)(this.outline),resource:(0,i.o8)(this.resource),angle:this.angle,size:this.size,occludedVisibility:(0,i.o8)(this.occludedVisibility)})}static fromSimpleMarkerSymbol(e){const t=e.color||y.ON,o=$(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||y.ON).clone()}:null;return new k({size:e.size,angle:e.angle,resource:{primitive:q(()=>l.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,y.U9)(e.color)?y.ON:e.color,o=$(e);return new k({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 k({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})},occludedVisibility:null})}};function $(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=P(e.xoffset),s=P(e.yoffset);return(r||s)&&t&&o?{x:-r/t,y:s/o}:null}function P(e){return isFinite(e)?e:0}(0,s.Cg)([(0,a.MZ)({type:D.A,json:{write:!0}})],_.prototype,"material",void 0),(0,s.Cg)([(0,a.MZ)({type:v,json:{write:!0}})],_.prototype,"resource",void 0),(0,s.Cg)([(0,m.e)({Icon:"icon"},{readOnly:!0})],_.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({...C.pI,json:{write:{isRequired:!0}}})],_.prototype,"size",null),(0,s.Cg)([(0,m.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"})],_.prototype,"anchor",void 0),(0,s.Cg)([(0,a.MZ)({type:x,json:{type:[Number],read:{reader:e=>new x({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],_.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,a.MZ)({type:N,json:{write:!0}})],_.prototype,"outline",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],_.prototype,"angle",void 0),(0,s.Cg)([(0,a.MZ)(M.D)],_.prototype,"occludedVisibility",void 0),_=k=(0,s.Cg)([(0,a.$K)("esri.symbols.IconSymbol3DLayer")],_);const K={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function q(e,t){return K[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},97515(e,t,o){o.d(t,{A:()=>n});var r=o(5482),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.mode="adaptive"}equals(e){return this.mode===e.mode}};(0,r.Cg)([(0,l.MZ)({type:["adaptive","hidden","visible"],json:{write:{isRequired:!0}}})],n.prototype,"mode",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.support.OccludedVisibility")],n)},97887(e,t,o){o.d(t,{A:()=>d});var r,s=o(5482),i=o(7762),l=o(4718),n=o(91429),a=o(11506),p=o(66525),y=o(58185),c=o(93223);const u=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}}),h=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}});let d=r=class extends y.A{constructor(e){super(e),this.symbolLayers=new u,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new i.A([a.A.fromSimpleLineSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:u,json:{type:h}})],d.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,c.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s.Cg)([(0,n.$K)("esri.symbols.LineSymbol3D")],d)},98751(e,t,o){o.d(t,{A:()=>a});var r,s=o(5482),i=o(69622),l=o(91429),n=o(20655);let a=r=class extends i.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,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"name",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleUrl",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleName",void 0),(0,s.Cg)([(0,l.MZ)({type:n.A})],a.prototype,"portal",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.StyleOrigin")],a)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1214],{41214(e,t,i){i.d(t,{Hg:()=>pe,XJ:()=>ye});var s=i(53966),r=i(86162),o=i(5482),n=i(11254),l=i(4718),a=i(91429),u=i(30524),p=i(92438),y=i(63988),h=i(66344),c=i(60408),d=i(68197);class g{static parse(e,t,i){const s=[],r=[],o=e.split(";");for(let e=0;e<o.length;e++){const n=o[e];if(n){if(n.includes("po:")){const e=n.slice(3).split("|");if(3===e.length){const[t,i,s]=e,o=f(t,i,s);o&&r.push(o)}continue}if(n.includes("|")){for(const e of n.split("|"))if(t.has(e)){s.push(e);break}}else if(t.has(n))s.push(n);else if(0===e){s.length=0,s.push(b(i));break}}}return new g(s,r)}constructor(e,t){this.partNames=e,this.overrides=t}}function m(e,t){if("DashTemplate"===e)return t.split(" ").map(e=>Number(e));if("Color"===e){const e=new d.A(t).toRgba();return[e[0],e[1],e[2],255*e[3]]}return Number(t)}function f(e,t,i){return{type:"CIMPrimitiveOverride",primitiveName:e,propertyName:t,value:m(t,i),defaultValue:null}}function b(e){switch(e){case"esriGeometryPolyline":return"Invalid_L";case"esriGeometryPolygon":return"Invalid_A";default:return"Invalid_P"}}var v=i(73681),w=i(55674),C=i(40863),x=i(93397);const S={type:"CIMSimpleLineCallout",lineSymbol:{type:"CIMLineSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,width:.5,color:[0,0,0,255]}]}};class M{constructor(e,t,i,s){this.url=e,this.fieldMap=i,this.dictionaryInfo=s,this._symbolPartCache=new h.q(100),this._evaluator=(async()=>v.n.from(await s,t,i))()}async getSymbolAsync(e,t,i=!0){const s=await this._evaluator,r=t?.fields??(0,w.lL)(e.attributes),o=s.createDictionaryFieldsIndex(r),n=s.evaluate(e,t?.scale??0,o,t?.spatialReference);if(null==n)return null;const l=(0,c.$B)(e.geometry),a=g.parse(n,s.itemNames,l),u="esriGeometryPoint"===l&&!e.geometry?.hasZ;return await this._cimPartsToCIMSymbol(e,a.partNames,a.overrides,u,t,i,o)}async getSymbolForControlString(e,t,i){const s=await this._evaluator,r=g.parse(e,s.itemNames,t),o="esriGeometryPoint"===t&&!i,n=_(await Promise.all(r.partNames.map(e=>this._getSymbolPart(e))),r.overrides,o);return new C.A({data:n})}async _cimPartsToCIMSymbol(e,t,s,r,o,n,a){const u=t.map(e=>this._getSymbolPart(e,o));let p=await Promise.all(u);if(n&&this.fieldMap&&p.length>0){const{OverrideHelper:t}=await i.e(3937).then(i.bind(i,73937));p=(0,l.o8)(p);for(const i of p)t.applyDictionaryTextOverrides(i,e,this.fieldMap,a,(0,x.bs)(i))}const y=_(p,s,r);return new C.A({data:y})}async _fetchSymbolPart(e,t){const i=await this.dictionaryInfo,s=(this.url+"/"+i.cimRefTemplateUrl).replaceAll(/\{itemName\}/gi,e),{data:r}=await(0,n.A)(s,{responseType:"json",query:{f:"json"},...t});return r}async _getSymbolPart(e,t){let i=this._symbolPartCache.get(e);return i||(i=this._fetchSymbolPart(e,t),this._symbolPartCache.put(e,i)),i}}function _(e,t,i){if(!e||0===e.length)return null;const s={...e[0]};if(e.length>1){s.effects=null,s.symbolLayers=[];for(const t of e){const e=t;if(null!=e.effects)for(const t of e.symbolLayers)null==t.effects?t.effects=e.effects:t.effects.unshift(...e.effects);s.symbolLayers.unshift(...e.symbolLayers)}}return i&&(s.callout=S),{type:"CIMSymbolReference",symbol:s,primitiveOverrides:t}}var A,I=i(43937);let Z=A=class extends((0,y.h)(p.A)){constructor(e){super(e),this.config=null,this.fieldMap=null,this.scaleExpression=null,this.scaleExpressionTitle=null,this.url=null,this._styleName=null,this._styleVersion=null,this._styleSymbolFields=null,this._styleTextFields=null,this._styleConfigProperties=null,this._styleUISchema=null,this.type="dictionary"}get _loader(){const e=this.getDictionaryInfo();return e.then(e=>{this._styleName=e.dictionary_name,this._styleVersion=e.dictionary_version,this._styleConfigProperties=e.authoringInfo.configuration,this._styleSymbolFields=e.authoringInfo.symbol,this._styleTextFields=e.authoringInfo.text,this._styleUISchema=e.dictionary_ui_schema?JSON.parse(e.dictionary_ui_schema):null}),new M(this.url,this.config,this.fieldMap??{},e)}writeData(e,t){e&&(t.scalingExpressionInfo={expression:e,returnType:"number"})}get styleName(){return this._styleName}get styleVersion(){return this._styleVersion}get styleSymbolFields(){return this._styleSymbolFields}get styleTextFields(){return this._styleTextFields}get styleConfigProperties(){return this._styleConfigProperties}get styleUISchema(){return this._styleUISchema}writeVisualVariables(e,t,i,s){s?.origin||super.writeVisualVariables(e,t,i,s)}clone(){return new A({config:(0,l.o8)(this.config),scaleExpression:this.scaleExpression,scaleExpressionTitle:this.scaleExpressionTitle,fieldMap:(0,l.o8)(this.fieldMap),url:(0,l.o8)(this.url),visualVariables:(0,l.o8)(this.visualVariables)})}async getSymbolAsync(e,t,i=!0){return this._loader.getSymbolAsync(e,t,i)}async getSymbolForControlString(e,t,i){return this._loader.getSymbolForControlString(e,t,i)}getDictionaryInfo(){return this._dictionaryInfoPromise||(this._dictionaryInfoPromise=this._fetchDictionaryInfo()),this._dictionaryInfoPromise}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t),this.scaleExpression&&await(0,u.Dx)(e,t,null,this.scaleExpression);for(const i in this.fieldMap){const s=this.fieldMap[i];t.has(s)&&e.add(s)}}get arcadeRequired(){return!0}getSymbol(){return null}get symbols(){return[]}getAttributeHash(){return this.visualVariables?.reduce((e,t)=>e+t.getAttributeHash(),"")??""}getMeshHash(){return`${this.url}-${JSON.stringify(this.fieldMap)}`}async _fetchDictionaryInfo(){const{data:e}=await(0,n.A)(this.url+"/resources/styles/dictionary-info.json",{responseType:"json",query:{f:"json"}});return e}};(0,o.Cg)([(0,a.MZ)({type:M})],Z.prototype,"_loader",null),(0,o.Cg)([(0,a.MZ)({type:Object,json:{read:{source:"configuration"},write:{target:"configuration"}}})],Z.prototype,"config",void 0),(0,o.Cg)([(0,a.MZ)({type:Object,json:{write:!0}})],Z.prototype,"fieldMap",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"scalingExpressionInfo.expression"},write:!0}})],Z.prototype,"scaleExpression",void 0),(0,o.Cg)([(0,I.K)("scaleExpression")],Z.prototype,"writeData",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"scalingExpressionInfo.title"},write:{target:"scalingExpressionInfo.title",overridePolicy(e){return{enabled:!!e&&!!this.scaleExpression}}}}})],Z.prototype,"scaleExpressionTitle",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Z.prototype,"url",void 0),(0,o.Cg)([(0,a.MZ)({type:String})],Z.prototype,"styleName",null),(0,o.Cg)([(0,a.MZ)({type:String})],Z.prototype,"styleVersion",null),(0,o.Cg)([(0,a.MZ)({type:[String]})],Z.prototype,"styleSymbolFields",null),(0,o.Cg)([(0,a.MZ)({type:[String]})],Z.prototype,"styleTextFields",null),(0,o.Cg)([(0,a.MZ)({type:[Object]})],Z.prototype,"styleConfigProperties",null),(0,o.Cg)([(0,a.MZ)({type:Object})],Z.prototype,"styleUISchema",null),(0,o.Cg)([(0,I.K)("visualVariables")],Z.prototype,"writeVisualVariables",null),Z=A=(0,o.Cg)([(0,a.$K)("esri.renderers.DictionaryRenderer")],Z);var j,D=i(25482),E=i(56507);let P=j=class extends D.o{constructor(e){super(e),this.color=null,this.field=null,this.label=null,this.valueExpression=null,this.valueExpressionTitle=null}castField(e){return null==e?e:"function"==typeof e?(s.A.getLogger(this).error(".field: field must be a string value"),null):(0,E.GX)(e)}getAttributeHash(){return`${this.field}-${this.valueExpression}`}clone(){return new j({color:this.color?.clone(),field:this.field,label:this.label,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,o.Cg)([(0,a.MZ)({type:d.A,json:{type:[Number],write:!0}})],P.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],P.prototype,"field",void 0),(0,o.Cg)([(0,a.wg)("field")],P.prototype,"castField",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],P.prototype,"label",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],P.prototype,"valueExpression",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],P.prototype,"valueExpressionTitle",void 0),P=j=(0,o.Cg)([(0,a.$K)("esri.renderers.support.AttributeColorInfo")],P);const V=P;var N;let T=N=class extends D.o{constructor(e){super(e),this.unit=null}clone(){return new N({unit:this.unit})}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"unit",void 0),T=N=(0,o.Cg)([(0,a.$K)("esri.renderers.support.DotDensityLegendOptions")],T);const O=T;var R,F=i(94985),k=i(31593),$=i(93223);let q=R=class extends((0,y.h)(p.A)){constructor(e){super(e),this.attributes=null,this.backgroundColor=new d.A([0,0,0,0]),this.dotBlendingEnabled=!0,this.dotShape="square",this.dotSize=1,this.legendOptions=null,this.outline=new k.A,this.dotValue=null,this.referenceScale=null,this.seed=1,this.type="dot-density"}calculateDotValue(e){if(null==this.referenceScale)return this.dotValue;const t=e/this.referenceScale*this.dotValue;return t<1?1:t}getSymbol(){return new F.A({outline:this.outline})}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol()]}getAttributeHash(){return this.attributes?.reduce((e,t)=>e+t.getAttributeHash(),"")??""}getMeshHash(){return JSON.stringify(this.outline)}get visualVariables(){return super.visualVariables}set visualVariables(e){super.visualVariables=e}clone(){return new R({attributes:(0,l.o8)(this.attributes),backgroundColor:(0,l.o8)(this.backgroundColor),dotBlendingEnabled:(0,l.o8)(this.dotBlendingEnabled),dotShape:(0,l.o8)(this.dotShape),dotSize:(0,l.o8)(this.dotSize),dotValue:(0,l.o8)(this.dotValue),legendOptions:(0,l.o8)(this.legendOptions),outline:(0,l.o8)(this.outline),referenceScale:(0,l.o8)(this.referenceScale),seed:(0,l.o8)(this.seed),visualVariables:(0,l.o8)(this.visualVariables),authoringInfo:(0,l.o8)(this.authoringInfo)})}getControllerHash(){const e=this.attributes?.map(e=>e.field||e.valueExpression||"");return`${e}-${this.outline&&JSON.stringify(this.outline.toJSON())||""}`}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const i of this.attributes??[])i.valueExpression&&await(0,u.Dx)(e,t,null,i.valueExpression),i.field&&e.add(i.field)}};(0,o.Cg)([(0,a.MZ)({type:[V],json:{write:!0}})],q.prototype,"attributes",void 0),(0,o.Cg)([(0,a.MZ)({type:d.A,json:{write:!0}})],q.prototype,"backgroundColor",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],q.prototype,"dotBlendingEnabled",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!1}})],q.prototype,"dotShape",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],q.prototype,"dotSize",void 0),(0,o.Cg)([(0,a.MZ)({type:O,json:{write:!0}})],q.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:k.A,json:{default:null,write:!0}})],q.prototype,"outline",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],q.prototype,"dotValue",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],q.prototype,"referenceScale",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],q.prototype,"seed",void 0),(0,o.Cg)([(0,$.e)({dotDensity:"dot-density"})],q.prototype,"type",void 0),q=R=(0,o.Cg)([(0,a.$K)("esri.renderers.DotDensityRenderer")],q);var L,H=i(90629),z=i(30943);let K=L=class extends D.o{constructor(e){super(e),this.color=null,this.ratio=null}clone(){return new L({color:this.color&&this.color.clone(),ratio:this.ratio})}};(0,o.Cg)([(0,a.MZ)({type:d.A,json:{type:[E.jz],default:null,write:{isRequired:!0}}})],K.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:{isRequired:!0}}})],K.prototype,"ratio",void 0),K=L=(0,o.Cg)([(0,a.$K)("esri.renderers.support.HeatmapColorStop")],K);var U=i(69540);let B=class extends((0,U.OU)(D.o)){constructor(e){super(e),this.minLabel=null,this.maxLabel=null,this.title=null}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],B.prototype,"minLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],B.prototype,"maxLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],B.prototype,"title",void 0),B=(0,o.Cg)([(0,a.$K)("esri.renderers.support.HeatmapLegendOptions")],B);const J=B;var G,X=i(61760),Q=i(53930);function W(e){if(null!=e){const{maxDensity:t,minDensity:i,radius:s}=e;if(null!=t||null!=i||null!=s){const{blurRadius:t,maxPixelIntensity:i,minPixelIntensity:s,...r}=e;return r}}return e}let Y=G=class extends p.A{constructor(e){super(e),this.authoringInfo=null,this.colorStops=[new K({ratio:0,color:new d.A("rgba(255, 140, 0, 0)")}),new K({ratio:.75,color:new d.A("rgba(255, 140, 0, 1)")}),new K({ratio:.9,color:new d.A("rgba(255, 0, 0, 1)")})],this.field=null,this.legendOptions=null,this.maxDensity=.04,this.minDensity=0,this.referenceScale=0,this.type="heatmap",this.valueExpression=null,this.valueExpressionTitle=null}normalizeCtorArgs(e){return W(e)}get blurRadius(){return(0,X.PU)(this.radius)}set blurRadius(e){const t=this.maxPixelIntensity,i=this.minPixelIntensity;this._set("radius",(0,X.zp)(e)),this._set("maxDensity",t*this._pixelIntensityToDensity),this._set("minDensity",i*this._pixelIntensityToDensity)}get maxPixelIntensity(){return this.maxDensity/this._pixelIntensityToDensity}set maxPixelIntensity(e){this._set("maxDensity",e*this._pixelIntensityToDensity)}get minPixelIntensity(){return this.minDensity/this._pixelIntensityToDensity}set minPixelIntensity(e){this._set("minDensity",e*this._pixelIntensityToDensity)}get radius(){return this._get("radius")??18}set radius(e){this._set("radius",e)}get _pixelIntensityToDensity(){return 24/(X.ex**2*this.blurRadius**4)}read(e,t){e=W(e),super.read(e,t)}getSymbol(){return new Q.A}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol()]}async collectRequiredFields(e,t){const i=this.field,s=this.valueExpression;i&&"string"==typeof i&&(0,u.rq)(e,t,i),s&&"string"==typeof s&&await(0,u.Dx)(e,t,null,s)}getAttributeHash(){return""}getMeshHash(){return`${JSON.stringify(this.colorStops)}.${this.blurRadius}.${this.field}`}clone(){return new G({authoringInfo:this.authoringInfo&&this.authoringInfo.clone(),colorStops:(0,l.o8)(this.colorStops),field:this.field,legendOptions:(0,l.o8)(this.legendOptions),maxDensity:this.maxDensity,minDensity:this.minDensity,radius:this.radius,referenceScale:this.referenceScale,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,o.Cg)([(0,a.MZ)({type:z.A,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],Y.prototype,"authoringInfo",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Y.prototype,"blurRadius",null),(0,o.Cg)([(0,a.MZ)({type:[K],json:{write:{isRequired:!0}}})],Y.prototype,"colorStops",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Y.prototype,"field",void 0),(0,o.Cg)([(0,a.MZ)({type:J,json:{write:!0}})],Y.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Y.prototype,"maxDensity",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Y.prototype,"maxPixelIntensity",null),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Y.prototype,"minDensity",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Y.prototype,"minPixelIntensity",null),(0,o.Cg)([(0,a.MZ)({type:Number,cast:H.cr,json:{write:!0}})],Y.prototype,"radius",null),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0},json:{default:0,write:!0}})],Y.prototype,"referenceScale",void 0),(0,o.Cg)([(0,$.e)({heatmap:"heatmap"})],Y.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-document":{write:!1},"portal-item":{write:!1}}}})],Y.prototype,"valueExpression",void 0),(0,o.Cg)([(0,a.MZ)({type:String})],Y.prototype,"valueExpressionTitle",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],Y.prototype,"_pixelIntensityToDensity",null),Y=G=(0,o.Cg)([(0,a.$K)("esri.renderers.HeatmapRenderer")],Y);var ee=i(4576),te=i(49849);let ie=class extends((0,U.OU)(D.o)){constructor(e){super(e),this.color=new d.A([0,0,0,0]),this.label=null,this.threshold=0}};(0,o.Cg)([(0,a.MZ)({type:d.A,json:{write:!0}})],ie.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],ie.prototype,"label",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],ie.prototype,"threshold",void 0),ie=(0,o.Cg)([(0,a.$K)("esri.renderers.support.OthersCategory")],ie);var se=i(20061),re=i(62724),oe=i(48940);const ne={base:i(2795).A,key:"type",typeMap:{size:oe.A,opacity:re.A}};let le=class extends((0,y.h)((0,U.OU)(p.A))){constructor(e){super(e),this.attributes=null,this.backgroundFillSymbol=null,this.defaultColor=new d.A([0,0,0,0]),this.defaultLabel=null,this.holePercentage=0,this.othersCategory=new ie,this.legendOptions=null,this.outline=null,this.type="pie-chart",this.visualVariables=null}get size(){return this._get("size")??12}set size(e){this._set("size",e)}getSymbol(){return new Q.A({size:this.size?this.size/2+(this.outline?.width||0):0})}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol(),this.backgroundFillSymbol].filter(ee.Ru)}getAttributeHash(){return this.visualVariables?.reduce((e,t)=>e+t.getAttributeHash(),"")??""}getMeshHash(){return this.symbols.reduce((e,t)=>e+JSON.stringify(t),"")}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const i of this.attributes)i.valueExpression&&await(0,u.Dx)(e,t,null,i.valueExpression),i.field&&e.add(i.field)}};(0,o.Cg)([(0,a.MZ)({type:[V],json:{write:!0}})],le.prototype,"attributes",void 0),(0,o.Cg)([(0,a.MZ)(te.As)],le.prototype,"backgroundFillSymbol",void 0),(0,o.Cg)([(0,a.MZ)({type:d.A,json:{write:!0}})],le.prototype,"defaultColor",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],le.prototype,"defaultLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],le.prototype,"holePercentage",void 0),(0,o.Cg)([(0,a.MZ)({type:ie,json:{write:!0}})],le.prototype,"othersCategory",void 0),(0,o.Cg)([(0,a.MZ)({type:se.A,json:{write:!0}})],le.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:k.A,json:{default:null,write:!0}})],le.prototype,"outline",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,cast:H.cr,json:{write:!0}})],le.prototype,"size",null),(0,o.Cg)([(0,$.e)({pieChart:"pie-chart"})],le.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({types:[ne]})],le.prototype,"visualVariables",void 0),le=(0,o.Cg)([(0,a.$K)("esri.renderers.PieChartRenderer")],le);var ae=i(96576),ue=i(93618);const pe={key:"type",base:p.A,typeMap:{heatmap:Y,simple:ae.A,"unique-value":ue.A,"class-breaks":r.A,"dot-density":q,dictionary:Z,"pie-chart":le},errorContext:"renderer"},ye={key:"type",base:p.A,typeMap:{simple:ae.A,"unique-value":ue.A,"class-breaks":r.A,heatmap:Y},errorContext:"renderer",validate:function(e){switch(e.type){case"simple":return function(e){if(e.symbol)return e;s.A.getLogger("esri.renderers.support.types").error("Removed invalid 'simple' renderer without a symbol from web scene.")}(e);case"unique-value":return function(e){const t=e.uniqueValueInfos,i=t?.filter(({symbol:e,label:t},i)=>(e||s.A.getLogger("esri.renderers.support.types").error(`Removed invalid unique value info ([${i}] ${t}) without a symbol from web scene.`),!!e));return i?.length!==t?.length&&(e.uniqueValueInfos=i),e}(e);case"class-breaks":return function(e){const t=e.classBreakInfos,i=t?.filter(({symbol:e,label:t},i)=>(e||s.A.getLogger("esri.renderers.support.types").error(`Removed invalid class break info ([${i}] ${t}) without a symbol from web scene.`),!!e));return i?.length!==t?.length&&(e.classBreakInfos=i),e}(e);case"heatmap":return e}}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7617],{27617(t,n,e){e.d(n,{a:()=>W,b:()=>P,c:()=>R,d:()=>x,g:()=>b,h:()=>S,i:()=>k,j:()=>C,k:()=>L,n:()=>O,p:()=>M,q:()=>N,r:()=>B,s:()=>F,t:()=>D,u:()=>w,z:()=>q}),e(50917);var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),o="undefined"==typeof Element,i=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!o&&Element.prototype.getRootNode?function(t){var n;return null==t||null===(n=t.getRootNode)||void 0===n?void 0:n.call(t)}:function(t){return null==t?void 0:t.ownerDocument},a=function t(n,e){var r;void 0===e&&(e=!0);var o=null==n||null===(r=n.getAttribute)||void 0===r?void 0:r.call(n,"inert");return""===o||"true"===o||e&&n&&t(n.parentNode)},l=function(t,n,e){if(a(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(r));return n&&i.call(t,r)&&o.unshift(t),o.filter(e)},c=function t(n,e,o){for(var u=[],l=Array.from(n);l.length;){var c=l.shift();if(!a(c,!1))if("SLOT"===c.tagName){var d=c.assignedElements(),f=t(d.length?d:c.children,!0,o);o.flatten?u.push.apply(u,f):u.push({scopeParent:c,candidates:f})}else{i.call(c,r)&&o.filter(c)&&(e||!n.includes(c))&&u.push(c);var s=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),p=!a(s,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(s&&p){var h=t(!0===s?c.children:s.children,!0,o);o.flatten?u.push.apply(u,h):u.push({scopeParent:c,candidates:h})}else l.unshift.apply(l,c.children)}}return u},d=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},f=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var n,e=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"contenteditable");return""===e||"true"===e}(t))&&!d(t)?0:t.tabIndex},s=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},p=function(t){return"INPUT"===t.tagName},h=function(t){var n=t.getBoundingClientRect(),e=n.width,r=n.height;return 0===e&&0===r},m=function(t,n){return!(n.disabled||a(n)||function(t){return p(t)&&"hidden"===t.type}(n)||function(t,n){var e=n.displayCheck,r=n.getShadowRoot;if("hidden"===getComputedStyle(t).visibility)return!0;var o=i.call(t,"details>summary:first-of-type")?t.parentElement:t;if(i.call(o,"details:not([open]) *"))return!0;if(e&&"full"!==e&&"legacy-full"!==e){if("non-zero-area"===e)return h(t)}else{if("function"==typeof r){for(var a=t;t;){var l=t.parentElement,c=u(t);if(l&&!l.shadowRoot&&!0===r(l))return h(t);t=t.assignedSlot?t.assignedSlot:l||c===t.ownerDocument?l:c.host}t=a}if(function(t){var n,e,r,o,i=t&&u(t),a=null===(n=i)||void 0===n?void 0:n.host,l=!1;if(i&&i!==t)for(l=!!(null!==(e=a)&&void 0!==e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(a)||null!=t&&null!==(o=t.ownerDocument)&&void 0!==o&&o.contains(t));!l&&a;){var c,d,f;l=!(null===(d=a=null===(c=i=u(a))||void 0===c?void 0:c.host)||void 0===d||null===(f=d.ownerDocument)||void 0===f||!f.contains(a))}return l}(t))return!t.getClientRects().length;if("legacy-full"!==e)return!0}return!1}(n,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(t){return"SUMMARY"===t.tagName})}(n)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if("FIELDSET"===n.tagName&&n.disabled){for(var e=0;e<n.children.length;e++){var r=n.children.item(e);if("LEGEND"===r.tagName)return!!i.call(n,"fieldset[disabled] *")||!r.contains(t)}return!0}n=n.parentElement}return!1}(n))},g=function(t,n){return!(function(t){return function(t){return p(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var n,e=t.form||u(t),r=function(t){return e.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)n=r(window.CSS.escape(t.name));else try{n=r(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var o=function(t,n){for(var e=0;e<t.length;e++)if(t[e].checked&&t[e].form===n)return t[e]}(n,t.form);return!o||o===t}(t)}(n)||f(n)<0||!m(t,n))},v=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},y=function t(n){var e=[],r=[];return n.forEach(function(n,o){var i=!!n.scopeParent,u=i?n.scopeParent:n,a=function(t,n){var e=f(t);return e<0&&n&&!d(t)?0:e}(u,i),l=i?t(n.candidates):u;0===a?i?e.push.apply(e,l):e.push(u):r.push({documentOrder:o,tabIndex:a,item:n,isScope:i,content:l})}),r.sort(s).reduce(function(t,n){return n.isScope?t.push.apply(t,n.content):t.push(n.content),t},[]).concat(e)};const w={getShadowRoot:!0};function b(t){const n=R(t,"[dir]");return n?n.getAttribute("dir"):"ltr"}function S(t){return t.getRootNode()}function E(t){return t.host||null}function N(t,{selector:n,id:e}){if(!t)return null;t.assignedSlot&&(t=t.assignedSlot);const r=S(t);return(e?"getElementById"in r?r.getElementById(e):null:n?r.querySelector(n):null)||N(E(r),{selector:n,id:e})}function R(t,n){return t?t.closest(n)||R(E(S(t)),n):null}async function C(t,n=!1,e="tabbable",r,o){if(t)return function(t){return"function"==typeof t?.setFocus}(t)&&r!==t?t.setFocus(o):("tabbable"===e?A:I)(t,n,o)}function T(t,n){var e,r,o;if(t)return(e=t,r={...w,includeContainer:n},o=(r=r||{}).getShadowRoot?c([e],r.includeContainer,{filter:g.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:v}):l(e,r.includeContainer,g.bind(null,r)),y(o))[0]??t}function A(t,n,e){T(t,n)?.focus(e)}function I(t,n,e){(function(t,n){var e,r;if(t)return(e=t,r={...w,includeContainer:n},(r=r||{}).getShadowRoot?c([e],r.includeContainer,{filter:m.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):l(e,r.includeContainer,m.bind(null,r)))[0]??t})(t,n)?.focus(e)}function x(t,n,e){return"string"==typeof n&&""!==n?n:""===n||!0===n?t[e]:void 0}function D(t){return Boolean(t).toString()}function O(t){return F(t)||function(t){return!!function(t){return function(t){return t.currentTarget.assignedNodes({flatten:!0})}(t).filter(t=>t.nodeType===Node.TEXT_NODE).map(t=>t.textContent).join("").trim()}(t)}(t)}function k(t){for(const n of t.childNodes)if(n.nodeType===Node.TEXT_NODE&&""!==n.textContent?.trim()||n.nodeType===Node.ELEMENT_NODE)return!0;return!1}function F(t){return!!P(t).length}function P(t,n){return function(t,n){const e=t.assignedElements({flatten:!0});return n?function(t,n){return t.filter(t=>t.matches(n))}(e,n):e}(t.currentTarget,n)}function L(t){return!(!t.isPrimary||0!==t.button)}function q(t){return 0===t.detail}function B(t,n){if(t.parentNode!==n.parentNode)return!1;const e=Array.from(t.parentNode.children);return e.indexOf(t)<e.indexOf(n)}async function M(t,n){return async function(t,n,e){let r=U(t,e,n);if(r||(await async function(){await new Promise(t=>requestAnimationFrame(()=>t()))}(),r=U(t,e,n)),r)try{await r.finished}catch{}}(t,n,"transition")}function U(t,n,e){const r="transition"===n?"transitionProperty":"animationName";return t.getAnimations().find(t=>t[r]===e)}function W(t){return t.endsWith("px")?parseFloat(t):t.endsWith("vw")?j(parseFloat(t),window.innerWidth):t.endsWith("vh")?j(parseFloat(t),window.innerHeight):0}function j(t,n){return t*n/100}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4387],{14387(e,t,n){n.r(t),n.d(t,{Label:()=>r});var l=n(50917),a=n(34857),i=n(32293),c=n(53660),s=n(91071);const o=a.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=block]) .container,:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class r extends i.WF{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=(0,c.c)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{},{reflect:!0}],for:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=o}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(s.l))}willUpdate(e){e.has("for")&&(0,s.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(s.b))}labelClickHandler(e){"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return a.qy`<div class=${(0,i.CP)("container")}><slot></slot></div>`}}(0,l.c)("calcite-label",r)},91071(e,t,n){n.d(t,{a:()=>y,b:()=>c,c:()=>u,d:()=>m,g:()=>g,l:()=>i});var l=n(27617);const a="calciteInternalLabelClick",i="calciteInternalLabelConnected",c="calciteInternalLabelDisconnected",s="calcite-label",o=new WeakMap,r=new WeakMap,d=new WeakMap,b=new WeakMap,h=new Set;function u(e){if(!e)return;const t=(e=>{const{id:t}=e,n=t&&(0,l.q)(e,{selector:`${s}[for="${t}"]`});if(n)return n;const a=(0,l.c)(e,s);return!a||function(e,t){let n;const l="custom-element-ancestor-check",a=l=>{l.stopImmediatePropagation();const a=l.composedPath();n=a.slice(a.indexOf(t),a.indexOf(e))};return e.addEventListener(l,a,{once:!0}),t.dispatchEvent(new CustomEvent(l,{composed:!0,bubbles:!0})),e.removeEventListener(l,a),n.filter(n=>n!==t&&n!==e).filter(e=>e.tagName?.includes("-")).length>0}(a,e)?null:a})(e.el);if(r.has(t)&&t===e.labelEl||!t&&h.has(e))return;const n=E.bind(e);if(t){e.labelEl=t;const l=o.get(t)||[];l.push(e),o.set(t,l.sort(f)),r.has(e.labelEl)||(r.set(e.labelEl,p),e.labelEl.addEventListener(a,p)),h.delete(e),document.removeEventListener(i,d.get(e)),b.set(e,n),document.addEventListener(c,n)}else h.has(e)||(n(),document.removeEventListener(c,b.get(e)))}function m(e){if(!e)return;if(h.delete(e),document.removeEventListener(i,d.get(e)),document.removeEventListener(c,b.get(e)),d.delete(e),b.delete(e),!e.labelEl)return;const t=o.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(a,r.get(e.labelEl)),r.delete(e.labelEl)),o.set(e.labelEl,t.filter(t=>t!==e).sort(f)),e.labelEl=null}function f(e,t){return(0,l.r)(e.el,t.el)?-1:1}function g(e){return e.label||e.labelEl?.textContent?.trim()||""}function p(e){const t=e.detail.sourceEvent.target,n=o.get(this),l=n.find(e=>e.el===t);if(n.includes(l))return;const a=n[0];a.disabled||a.onLabelClick(e)}function v(){h.has(this)&&u(this)}function E(){h.add(this);const e=d.get(this)||v.bind(this);d.set(this,e),document.addEventListener(i,e)}async function y(e){if(await e.componentOnReady(),o.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame(()=>{for(const e of h)if(e.el===t){u(e);break}})}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 90401fa13412e93bae38.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3620],{4256(e,t,i){i.d(t,{C:()=>a,I:()=>r,i:()=>o});const a={button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",indicatorText:"indicator-text",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible",indicatorWithIcon:"indicator-with-icon",indicatorWithoutIcon:"indicator-without-icon"},n="calcite-action",r={button:e=>`${n}-${e}-button`,indicator:e=>`${n}-${e}-indicator`};function o(e){return"CALCITE-ACTION"===e?.tagName}},20107(e,t,i){i(76572),i(7659);var a=i(50917),n=i(34857),r=i(56590),o=i(11758),c=i(32293),l=i(38568),s=i(75206),d=i(53250),h=i(9223),u=i(5918),v=i(32491),p=i(3032),b=i(4256);const g=n.AH`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-action-font-size: var(--calcite-font-size--2);--calcite-internal-action-height: var(--calcite-size-sm);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-font-size: var(--calcite-font-size--1);--calcite-internal-action-height: var(--calcite-size-md);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-font-size: var(--calcite-font-size-0);--calcite-internal-action-height: var(--calcite-size-lg);--calcite-internal-action-line-height: 1.25rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm-plus)}:host{display:flex;cursor:pointer;background-color:transparent;--calcite-internal-action-text-color: var(--calcite-color-text-3);border-radius:var(--calcite-action-corner-radius, var(--calcite-action-corner-radius-start-start, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-start-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-start, var(--calcite-corner-radius-xs)))}.interaction-container{border-radius:inherit}:host([width=full]){flex:1 0 auto}:host([width=full]) .button{justify-content:center}:host([width=full]) .button .text-container--visible{flex:none}:host([drag-handle]){cursor:move;--calcite-internal-action-text-color: var(--calcite-color-border-input);--calcite-internal-action-padding-inline: var(--calcite-spacing-xxs)}.button{position:relative;margin:0;display:flex;inline-size:auto;align-items:center;justify-content:flex-start;border-style:none;outline-color:transparent;background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1));border-radius:inherit;color:var(--calcite-action-text-color, var(--calcite-internal-action-text-color));cursor:inherit;flex:1 0 auto;font-family:inherit;font-size:var(--calcite-internal-action-font-size);font-weight:var(--calcite-font-weight-normal);line-height:var(--calcite-internal-action-line-height);min-block-size:var(--calcite-internal-action-height);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-internal-action-spacing));padding-inline:var(--calcite-internal-action-padding-inline, var(--calcite-internal-action-spacing));text-align:start}.button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}.button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}.button--text-visible{gap:var(--calcite-internal-action-spacing);inline-size:100%}.icon-container{pointer-events:none;margin:0;display:flex;align-items:center;justify-content:center}.text-container{margin:0;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;transition-property:opacity;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:inline-size}.text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([active]) .button{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-3));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}:host([active]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-3))}:host([active]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}:host([loading]) calcite-loader[inline]{margin-inline-end:0px}:host([appearance=transparent]):host([active]) .button{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([appearance=transparent]) .button{transition-property:box-shadow;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);background-color:var(--calcite-action-background-color, var(--calcite-color-transparent))}:host([appearance=transparent]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-transparent-hover))}:host([appearance=transparent]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([selection-appearance=highlight]):host([active]) .button{background-color:var(--calcite-color-surface-highlight);color:var(--calcite-color-text-highlight)}:host([active-descendant]) .button{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.indicator-with-icon{position:relative}.indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}.indicator-without-icon{margin-inline:.25rem;inline-size:1rem;position:relative}.indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}:host([scale=s]) .indicator-with-icon{position:relative}:host([scale=s]) .indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.125rem;inset-inline-end:-.125rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([scale=s]) .indicator-without-icon{position:relative}:host([scale=s]) .indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.175rem;inset-inline-end:-.175rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}.indicator-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;class m extends c.WF{constructor(){super(...arguments),this.guid=(0,l.g)(),this.buttonRef=(0,o._)(),this.buttonId=b.I.button(this.guid),this.mutationObserver=(0,s.c)("mutation",()=>this.requestUpdate()),this.messages=(0,h.u)({blocking:!0}),this.focusSetter=(0,u.u)()(this),this.indicatorRef=(0,o._)(),this.interactiveContainer=(0,p.u)(this),this.active=!1,this.activeDescendant=!1,this.appearance="transparent",this.compact=!1,this.disabled=!1,this.dragHandle=!1,this.iconFlipRtl=!1,this.indicator=!1,this.loading=!1,this.scale="m",this.width="auto",this.textEnabled=!1,this.type="button"}static{this.properties={aria:[0,{},{attribute:!1}],active:[7,{},{reflect:!0,type:Boolean}],activeDescendant:[7,{},{reflect:!0,type:Boolean}],alignment:[3,{},{reflect:!0}],appearance:[3,{},{reflect:!0}],compact:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],dragHandle:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],icon:[3,{type:String},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],indicator:[7,{},{reflect:!0,type:Boolean}],label:1,loading:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}],text:1,textEnabled:[7,{},{reflect:!0,type:Boolean}],type:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.styles=g}async setFocus(e){return this.focusSetter(()=>this.buttonRef.value,e)}connectedCallback(){super.connectedCallback(),this.formEl=(0,v.f)(this),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){super.disconnectedCallback(),this.formEl=null,this.mutationObserver?.disconnect()}handleClick(){const{type:e}=this;"submit"===e?(0,v.s)(this):"reset"===e&&(0,v.r)(this)}renderTextContainer(){const{text:e,textEnabled:t}=this,i={[b.C.textContainer]:!0,[b.C.textContainerVisible]:t};return e?(0,r.D)("text-container",n.qy`<div class=${(0,c.CP)(i)}>${e}</div>`):null}renderIndicatorText(){const{indicator:e,messages:t,buttonId:i}=this;return n.qy`<div aria-labelledby=${i??c.s6} aria-live=polite class=${(0,c.CP)(b.C.indicatorText)} role=region ${(0,o.K)(this.indicatorRef)}>${e?t.indicator:null}</div>`}renderIconContainer(){const{loading:e,icon:t,scale:i,el:a,iconFlipRtl:o,indicator:l}=this,s="l"===i?"l":"m",h=e?n.qy`<calcite-loader inline .label=${this.messages.loading} .scale=${s}></calcite-loader>`:null,u=t?n.qy`<calcite-icon class=${(0,c.CP)({[b.C.indicatorWithIcon]:l})} .flipRtl=${o} .icon=${t} .scale=${(0,d.g)(this.scale)}></calcite-icon>`:null,v=h||u,p=v||a.children?.length,g=n.qy`<div class=${(0,c.CP)({[b.C.slotContainer]:!0,[b.C.slotContainerHidden]:e})}><slot></slot></div>`;return p?(0,r.D)("icon-container",n.qy`<div aria-hidden=true class=${(0,c.CP)(b.C.iconContainer)}>${v}${g}</div>`):null}renderButton(){const{compact:e,disabled:t,icon:i,loading:a,textEnabled:l,label:s,text:d,indicator:h,indicatorRef:u,buttonId:v,messages:p}=this,g=s||d||"",m=h?p.indicatorLabel.replace("{label}",g):g,f={[b.C.button]:!0,[b.C.buttonTextVisible]:l,[b.C.buttonCompact]:e},x=n.qy`${this.renderIconContainer()}${this.renderTextContainer()}${!i&&h&&(0,r.D)("indicator-no-icon",n.qy`<div class=${(0,c.CP)(b.C.indicatorWithoutIcon)}></div>`)||""}`,z=h&&u.value?[u.value]:[],y=[...this.aria?.controlsElements??[],...z];return this.dragHandle?n.qy`<span .ariaBusy=${a} .ariaControlsElements=${y} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabel=${m} .ariaLabelledByElements=${this.aria?.labelledByElements} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${(0,c.CP)(f)} id=${v??c.s6} role=button tabindex=${(this.disabled?null:0)??c.s6} ${(0,o.K)(this.buttonRef)}>${x}</span>`:n.qy`<button .ariaBusy=${a} .ariaChecked=${this.aria?.checked} .ariaControlsElements=${y} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabel=${m} .ariaLabelledByElements=${this.aria?.labelledByElements} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${(0,c.CP)(f)} .disabled=${t} id=${v??c.s6} @click=${this.handleClick} .role=${this.aria?.role} ${(0,o.K)(this.buttonRef)}>${x}</button>`}render(){return this.interactiveContainer({disabled:this.disabled,children:n.qy`${this.renderButton()}${this.renderIndicatorText()}`})}}(0,a.c)("calcite-action",m)},31910(e,t,i){i.d(t,{t:()=>r});var a=i(27617);function n(e){return e[e.openProp||"open"]}async function r(e){await e.updateComplete,n(e)?e.onBeforeOpen():e.onBeforeClose(),await e.updateComplete;const t=function(e){return!!e.transitionRef}(e)?e.transitionRef.value:e.transitionEl;t&&await(0,a.p)(t,e.transitionProp),n(e)?e.onOpen():e.onClose()}},38568(e,t,i){i.d(t,{g:()=>a});const a=()=>[2,1,1,1,3].map(e=>{let t="";for(let i=0;i<e;i++)t+=(65536*(1+Math.random())|0).toString(16).substring(1);return t}).join("-")},56590(e,t,i){i.d(t,{D:()=>o});var a=i(95862),n=i(57106),r=i(27654);const o=(0,n.u$)(class extends n.WL{constructor(){super(...arguments),this.key=a.s6}render(e,t){return this.key=e,t}update(e,[t,i]){return t!==this.key&&((0,r.mY)(e),this.key=t),i}})},76572(e,t,i){var a=i(50917),n=i(34857),r=i(32293),o=i(38568),c=i(9223);const l="ring--progress",s="ring",d="ring--track",h=n.AH`:host{position:relative;margin-inline:auto;display:flex;align-items:center;justify-content:center;opacity:1;flex-direction:column;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke-width:var(--calcite-internal-stroke-width);fill:none;transform:scale(1);padding-block:var(--calcite-loader-spacing, 4rem)}:host([scale=s]){--calcite-internal-stroke-width: 3;--calcite-internal-text-offset: var(--calcite-spacing-xxs);--calcite-internal-loader-font-size: var(--calcite-font-size--3);--calcite-internal-loader-size: 2rem;--calcite-internal-loader-size-inline: .75rem;--calcite-internal-loader-value-line-height: .625rem}:host([scale=m]){--calcite-internal-stroke-width: 6;--calcite-internal-text-offset: var(--calcite-spacing-sm);--calcite-internal-loader-font-size: var(--calcite-font-size-relative-md);--calcite-internal-loader-size: 4rem;--calcite-internal-loader-size-inline: 1rem;--calcite-internal-loader-value-line-height: 1.375rem}:host([scale=l]){--calcite-internal-stroke-width: 8;--calcite-internal-text-offset: var(--calcite-spacing-md);--calcite-internal-loader-font-size: var(--calcite-font-size-relative-xl);--calcite-internal-loader-size: 6rem;--calcite-internal-loader-size-inline: 1.5rem;--calcite-internal-loader-value-line-height: 1.71875rem}.text{display:block;text-align:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);margin-block-start:var(--calcite-loader-text-spacing, var(--calcite-internal-text-offset));font-weight:var(--calcite-loader-text-weight, var(--calcite-font-weight-normal));color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.percentage{display:block;text-align:center;font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));line-height:var(--calcite-internal-loader-value-line-height);align-self:center;color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.rings{position:relative;display:flex;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring--track{stroke:var(--calcite-loader-track-color, var(--calcite-color-transparent-press))}.ring--progress{stroke:var(--calcite-loader-progress-color, var(--calcite-color-brand));transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([type=indeterminate]) .ring--progress{animation:loader-clockwise calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) linear infinite}:host([inline]){--calcite-internal-stroke-width: 2;position:relative;margin:0;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));min-block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));vertical-align:calc(var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline))) * -1 * .2)}:host([inline]) .rings{inset-block-start:0px;margin:0;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring{inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring--progress{stroke:var(--calcite-loader-progress-color-inline, currentColor)}:host([complete]){opacity:0;transform:scale(.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1s,transform var(--calcite-internal-animation-timing-medium) linear 1s}:host([complete]) .rings{opacity:0;transform:scale(.75);transform-origin:center;transition:opacity calc(.18s * var(--calcite-internal-duration-factor)) linear .8s,transform calc(.18s * var(--calcite-internal-duration-factor)) linear .8s}:host([complete]) .percentage{color:var(--calcite-color-brand);transform:scale(1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear,transform var(--calcite-internal-animation-timing-medium) linear}@keyframes loader-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}`;class u extends r.WF{constructor(){super(...arguments),this.messages=(0,c.u)({name:null}),this.complete=!1,this.inline=!1,this.scale="m",this.text="",this.type="indeterminate",this.value=0}static{this.properties={complete:[7,{},{reflect:!0,type:Boolean}],inline:[7,{},{reflect:!0,type:Boolean}],label:1,scale:[3,{},{reflect:!0}],text:1,type:[3,{},{reflect:!0}],value:[9,{},{type:Number}]}}static{this.styles=h}connectedCallback(){super.connectedCallback(),this.updateFormatter()}load(){requestAnimationFrame(()=>this.valueChangeHandler())}willUpdate(e){e.has("value")&&(this.hasUpdated||0!==this.value)&&this.valueChangeHandler(),(e.has("type")&&(this.hasUpdated||"indeterminate"!==this.type)||e.has("messages"))&&this.updateFormatter()}valueChangeHandler(){this.complete=this.type.startsWith("determinate")&&100===this.value}formatValue(){return"determinate-value"!==this.type?`${this.value}`:this.formatter.format(this.value/100)}getSize(e){return{s:32,m:64,l:96}[e]}getInlineSize(e){return{s:12,m:16,l:24}[e]}updateFormatter(){"determinate-value"===this.type&&this.formatter?.resolvedOptions().locale!==this.messages._lang&&(this.formatter=new Intl.NumberFormat(this.messages._lang,{style:"percent"}))}render(){const{el:e,inline:t,label:i,text:a,type:c,value:l}=this,s=e.id||(0,o.g)(),d="indeterminate"!==c,h=Math.floor(l);return this.el.ariaLabel=i,this.el.ariaValueMax=d?"100":void 0,this.el.ariaValueMin=d?"0":void 0,this.el.ariaValueNow=d?h.toString():void 0,(0,r.Bq)(this.el,"id",s),this.el.role="progressbar",n.qy`<div class=${(0,r.CP)("rings")}>${this.renderRing("track")}${this.renderRing("progress")}${!t&&d&&n.qy`<div class=${(0,r.CP)("percentage")}>${this.formatValue()}</div>`||""}</div>${!t&&a&&n.qy`<div class=${(0,r.CP)("text")}>${a}</div>`||""}`}renderRing(e){const{inline:t,scale:i,value:a}=this,o=t?this.getInlineSize(i):this.getSize(i),c=.45*o;let h;if("progress"===e){const e=2*c*Math.PI,t=(this.type.startsWith("determinate")?a:24)/100*e;h={"stroke-dasharray":`${t} ${e-t}`}}return n.qy`<svg aria-hidden=true class=${(0,r.CP)({[s]:!0,[d]:"track"===e,[l]:"progress"===e})} style=${(0,r.zl)(h)} viewBox=${`0 0 ${o} ${o}`}>${n.JW`<circle cx=${o/2} cy=${o/2} r=${c??n.s6} />`}</svg>`}}(0,a.c)("calcite-loader",u)}}]);