@agrotools1/at-components 0.3.2-5 → 0.3.2

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 (889) hide show
  1. package/dist/AGraphicContainer-232b465f.js +109 -0
  2. package/dist/APIKeyMixin-6c797b4c.js +19 -0
  3. package/dist/Analysis-fb0fc04a.js +31 -0
  4. package/dist/ArcGISCachedService-e0930844.js +47 -0
  5. package/dist/ArcGISService-81baed4d.js +25 -0
  6. package/dist/AreaMeasurement2D-1dbe17c7.js +405 -0
  7. package/dist/AreaMeasurement3D-3b80654b.js +488 -0
  8. package/dist/AttachmentInfo-e02ca554.js +34 -0
  9. package/dist/AttachmentQuery-1667a134.js +18 -0
  10. package/dist/AttributeStore-2f8bce1a.js +1707 -0
  11. package/dist/BaseDynamicLayerView2D-6ed632c7.js +63 -0
  12. package/dist/BingMapsLayer-1b540400.js +112 -0
  13. package/dist/Bitmap-625c3ae1.js +128 -0
  14. package/dist/BitmapContainer-ac2e261c.js +23 -0
  15. package/dist/BlendLayer-38d68343.js +13 -0
  16. package/dist/BoundsStore-f1942e67.js +63 -0
  17. package/dist/BufferObject-faafd842.js +100 -0
  18. package/dist/BufferView-c2f86567.js +683 -0
  19. package/dist/BuildingSceneLayer-95da2010.js +535 -0
  20. package/dist/Button-312c8286.js +36 -0
  21. package/dist/CSVLayer-68bdf977.js +208 -0
  22. package/dist/CSVSourceWorker-df47e4b9.js +367 -0
  23. package/dist/CatalogDynamicGroupLayerView2D-5ff99579.js +66 -0
  24. package/dist/CatalogFootprintLayerView2D-9f09a894.js +76 -0
  25. package/dist/CatalogLayer-6b5e756d.js +262 -0
  26. package/dist/CatalogLayerView2D-4f9ea89a.js +52 -0
  27. package/dist/ClassBreaksDefinition-d32b0ea5.js +18 -0
  28. package/dist/ColorMaterial.glsl-5fa4dda6.js +64 -0
  29. package/dist/ColorSet-59641c11.js +45 -0
  30. package/dist/ColorStop-d5b563ab.js +29 -0
  31. package/dist/Container-879e59ef.js +521 -0
  32. package/dist/CustomParametersMixin-c281d5e7.js +12 -0
  33. package/dist/DefaultMaterial.glsl-6cc65bf3.js +42 -0
  34. package/dist/DefaultMaterial_COLOR_GAMMA-14d3794c.js +653 -0
  35. package/dist/DefaultTheme-6f3c03ba.js +130 -0
  36. package/dist/DeleteForwardEditsParameters-127d0833.js +18 -0
  37. package/dist/DimensionLayer-031be560.js +129 -0
  38. package/dist/DirectLineMeasurement3D-342dea70.js +449 -0
  39. package/dist/DistanceMeasurement2D-a628b12a.js +303 -0
  40. package/dist/DoubleArray-61325dbc.js +25 -0
  41. package/dist/Dropdown/Checklist/Dropdown.Checklist.d.ts +10 -59
  42. package/dist/Dropdown/Checklist/draggable.d.ts +4 -5
  43. package/dist/Dropdown/Dropdown.core.d.ts +13 -0
  44. package/dist/Dropdown/Filter/test.mocks.d.ts +2 -2
  45. package/dist/Dropdown/List/Dropdown.List.d.ts +21 -6
  46. package/dist/Dropdown/List/test.mocks.d.ts +1 -1
  47. package/dist/EdgeProcessingWorker-9baa9f38.js +63 -0
  48. package/dist/EditBusLayer-b7db2f6c.js +107 -0
  49. package/dist/ElevationInfo-016cc1c4.js +56 -0
  50. package/dist/ElevationLayer-ae7cbbb9.js +129 -0
  51. package/dist/ElevationQuery-96db182d.js +598 -0
  52. package/dist/ElevationSamplerWorker-ab27b576.js +62 -0
  53. package/dist/ExportImageParameters-d1792a7e.js +66 -0
  54. package/dist/ExportStrategy-a42be397.js +93 -0
  55. package/dist/ExportWMSImageParameters-853db12a.js +33 -0
  56. package/dist/External-a5c4899d.js +110 -0
  57. package/dist/FeatureCollectionSnappingSource-40da43c0.js +130 -0
  58. package/dist/FeatureCommandQueue-68735fa7.js +1244 -0
  59. package/dist/FeatureEffect-20b68d20.js +39 -0
  60. package/dist/FeatureEffectLayer-65d674f5.js +13 -0
  61. package/dist/FeatureFilter-0babb1a1.js +27 -0
  62. package/dist/FeatureLayer-bb266fef.js +693 -0
  63. package/dist/FeatureLayerBase-583207e8.js +148 -0
  64. package/dist/FeatureLayerSource-daea2938.js +444 -0
  65. package/dist/FeatureLayerView2D-a93360fa.js +1967 -0
  66. package/dist/FeaturePipelineWorker-f8bb9d01.js +3633 -0
  67. package/dist/FeatureReductionLayer-b540e503.js +225 -0
  68. package/dist/FeatureReductionSelection-75ac9c66.js +22 -0
  69. package/dist/FeatureServiceSnappingSource-8d342703.js +481 -0
  70. package/dist/FeatureServiceSnappingSourceWorker-97c5a3e7.js +747 -0
  71. package/dist/FeatureSet-769d2f68.js +188 -0
  72. package/dist/FeatureStore-cfee3322.js +131 -0
  73. package/dist/FeatureTemplate-1be6448a.js +12 -0
  74. package/dist/FeatureType-69365546.js +25 -0
  75. package/dist/FieldsIndex-fd635f39.js +109 -0
  76. package/dist/FormTemplate-8a69784e.js +350 -0
  77. package/dist/GeoJSONLayer-288dc230.js +236 -0
  78. package/dist/GeoJSONSourceWorker-2a406166.js +247 -0
  79. package/dist/GeoRSSLayer-b6cf0b9a.js +73 -0
  80. package/dist/GeoRSSLayerView2D-a2d897cc.js +140 -0
  81. package/dist/GeometryUtils-42ae242b.js +403 -0
  82. package/dist/GraphicContainer-f39e4cce.js +26 -0
  83. package/dist/GraphicManipulator-d94e3db2.js +1499 -0
  84. package/dist/GraphicsLayer-06f54c2b.js +38 -0
  85. package/dist/GraphicsLayerView2D-6b0c439f.js +114 -0
  86. package/dist/GraphicsSnappingSource-cdbd5c58.js +273 -0
  87. package/dist/GraphicsView2D-5c69cd54.js +620 -0
  88. package/dist/GroupLayer-d90d1469.js +147 -0
  89. package/dist/GroupLayerView2D-47ee20d3.js +98 -0
  90. package/dist/HUDMaterial.glsl-1f7c8dc7.js +65 -0
  91. package/dist/HighlightCounter-82aefa16.js +41 -0
  92. package/dist/HighlightGraphicContainer-5887470a.js +18 -0
  93. package/dist/I3SBinaryReader-bc4c80ba.js +310 -0
  94. package/dist/I3SLayerDefinitions-dcda247e.js +55 -0
  95. package/dist/I3SUtil-f0366135.js +59 -0
  96. package/dist/IdentityManager-488a6f1a.js +899 -0
  97. package/dist/ImageHistogramParameters-4dc64f39.js +905 -0
  98. package/dist/ImageryLayer-b486249a.js +1799 -0
  99. package/dist/ImageryLayerView2D-f1c342ad.js +352 -0
  100. package/dist/ImageryTileLayer-12ada40b.js +2157 -0
  101. package/dist/ImageryTileLayerView2D-f35352b1.js +1110 -0
  102. package/dist/Indices-d59209a8.js +67 -0
  103. package/dist/IntegratedMesh3DTilesLayer-be58f806.js +112 -0
  104. package/dist/IntegratedMeshLayer-7b709481.js +141 -0
  105. package/dist/InteractiveAnalysisViewModel-cc8c864a.js +7397 -0
  106. package/dist/InterleavedLayout-31a7340e.js +163 -0
  107. package/dist/KMLLayer-599771d7.js +162 -0
  108. package/dist/KMLLayerView2D-017f9a86.js +253 -0
  109. package/dist/KnowledgeGraphLayerView2D-2578f250.js +43 -0
  110. package/dist/LRUCache-d9e4b57a.js +32 -0
  111. package/dist/LabelClass-909af0e5.js +135 -0
  112. package/dist/LabelMetric-a3f892e4.js +400 -0
  113. package/dist/LaserlinePath.glsl-763a0501.js +64 -0
  114. package/dist/Laserlines.glsl-75db5218.js +65 -0
  115. package/dist/LayerFloorInfo-8abaffaa.js +15 -0
  116. package/dist/LayerView-2a8c8edc.js +206 -0
  117. package/dist/LercWorker-06fcacbd.js +157 -0
  118. package/dist/LineOfSightLayer-019d46c8.js +147 -0
  119. package/dist/LinkChartLayer-332a03e2.js +1027 -0
  120. package/dist/Lyr3DWorker-5d6064e5.js +82 -0
  121. package/dist/MagnifierPrograms-4170fe79.js +806 -0
  122. package/dist/MapImageLayer-d86788de.js +169 -0
  123. package/dist/MapImageLayerView2D-0b2dddf2.js +146 -0
  124. package/dist/MapNotesLayer-07a5011d.js +283 -0
  125. package/dist/MapNotesLayerView2D-37f2c3b3.js +161 -0
  126. package/dist/MapServiceLayerViewHelper-f4014bfb.js +288 -0
  127. package/dist/MeasurementWidgetContent-31e1b266.js +2642 -0
  128. package/dist/MediaLayer-cd8e19fe.js +523 -0
  129. package/dist/MediaLayerView2D-bd3bc699.js +332 -0
  130. package/dist/MemCache-6249a3f0.js +227 -0
  131. package/dist/MemorySourceWorker-074a99da.js +222 -0
  132. package/dist/Mesh-17dfbf3e.js +980 -0
  133. package/dist/MeshLocalVertexSpace-a0c9365a.js +19 -0
  134. package/dist/MultiOriginJSONSupport-677c0e5f.js +158 -0
  135. package/dist/OGCFeatureLayer-1db569c4.js +211 -0
  136. package/dist/OGCFeatureLayerView2D-3dacad79.js +82 -0
  137. package/dist/ObjectStack-5e8cdae7.js +21 -0
  138. package/dist/Octree-0cab1591.js +495 -0
  139. package/dist/OpenStreetMapLayer-4b9e6867.js +30 -0
  140. package/dist/OperationalLayer-96cb1405.js +44 -0
  141. package/dist/OrderByInfo-4cb60db9.js +16 -0
  142. package/dist/OrderedLayer-cbff4a31.js +26 -0
  143. package/dist/OrientedImageryLayer-301c702b.js +216 -0
  144. package/dist/OverlayCompositing.glsl-cdda5153.js +65 -0
  145. package/dist/OverrideHelper-f9ba3c94.js +242 -0
  146. package/dist/PBFDecoderWorker-eac75de9.js +213 -0
  147. package/dist/PointCloudLayer-ce8e5fd6.js +197 -0
  148. package/dist/PointCloudUniqueValueRenderer-ca506fdf.js +115 -0
  149. package/dist/PointCloudWorker-49b24336.js +212 -0
  150. package/dist/PooledRBush-af918d48.js +272 -0
  151. package/dist/Popup-e996c502.js +3990 -0
  152. package/dist/PortalLayer-60c1c36d.js +126 -0
  153. package/dist/Program-5b5c8288.js +694 -0
  154. package/dist/ProgramTemplate-62d54e1b.js +35 -0
  155. package/dist/QueryEngine-1b2a6d7d.js +896 -0
  156. package/dist/QueryTask-07de3621.js +119 -0
  157. package/dist/RasterSymbolizer-c6f76134.js +3024 -0
  158. package/dist/RasterVFDisplayObject-573f0530.js +581 -0
  159. package/dist/RasterWorker-f428c6b4.js +78 -0
  160. package/dist/RawBlockCache-0803fdd7.js +185 -0
  161. package/dist/RealisticTree.glsl-abb5883e.js +42 -0
  162. package/dist/RefreshableLayer-0d1a28eb.js +80 -0
  163. package/dist/RefreshableLayerView-19c8ff47.js +16 -0
  164. package/dist/Relationship-35bb85fc.js +64 -0
  165. package/dist/RelationshipQuery-1cb86efa.js +22 -0
  166. package/dist/RenderingContext-34f41421.js +889 -0
  167. package/dist/RibbonLine.glsl-88da820b.js +65 -0
  168. package/dist/RouteLayer-b6a064d9.js +786 -0
  169. package/dist/RouteLayerView2D-b14b84ae.js +195 -0
  170. package/dist/SDFHelper-49b28369.js +140 -0
  171. package/dist/SSAO.glsl-b5eba45c.js +43 -0
  172. package/dist/SSAOBlur.glsl-7377bef6.js +42 -0
  173. package/dist/ScaleRangeLayer-d06647e5.js +21 -0
  174. package/dist/SceneLayer-34617ffa.js +542 -0
  175. package/dist/SceneLayerSnappingSource-2115fd1b.js +218 -0
  176. package/dist/SceneLayerSnappingSourceWorker-5051ed2a.js +112 -0
  177. package/dist/SceneLayerWorker-416bda11.js +164 -0
  178. package/dist/SceneService-337f7bcd.js +215 -0
  179. package/dist/Scheduler-b0e8df04.js +373 -0
  180. package/dist/Search/Search.d.ts +1 -1
  181. package/dist/Search/test.mocks.d.ts +1 -1
  182. package/dist/Search/utils.d.ts +1 -1
  183. package/dist/Select/Select.core.d.ts +1 -1
  184. package/dist/Select/Single/Select.single.d.ts +0 -1
  185. package/dist/Select/index.d.ts +0 -1
  186. package/dist/ShadedColorMaterial.glsl-8dd39e79.js +64 -0
  187. package/dist/SnappingOperation-726320a3.js +48 -0
  188. package/dist/SourceLayerData-b2da5f90.js +116 -0
  189. package/dist/SpatialFilter-0839066d.js +1701 -0
  190. package/dist/Stop-16e18837.js +281 -0
  191. package/dist/StreamLayer-a2c5ad69.js +188 -0
  192. package/dist/StreamLayerView2D-b1cb419c.js +164 -0
  193. package/dist/StyleRepository-55975dc1.js +2212 -0
  194. package/dist/SublayersOwner-dfd52113.js +545 -0
  195. package/dist/SubtypeGroupLayer-19990fdc.js +514 -0
  196. package/dist/SubtypeGroupLayerView2D-039eecec.js +84 -0
  197. package/dist/TableConfig/TableConfig.d.ts +6 -14
  198. package/dist/TableConfig/test/mocks.d.ts +1 -1
  199. package/dist/TechniqueInstance-f272ce92.js +233 -0
  200. package/dist/TemporalLayer-960c7904.js +23 -0
  201. package/dist/Texture-08e8abdd.js +501 -0
  202. package/dist/TextureOnly.glsl-adbd8e1e.js +65 -0
  203. package/dist/Theme-a0c472c9.js +3426 -0
  204. package/dist/Tick-ad80492f.js +723 -0
  205. package/dist/TileContainer-6b12d8e1.js +31 -0
  206. package/dist/TileInfoTilemapCache-b78dac78.js +38 -0
  207. package/dist/TileLayer-4db1b607.js +194 -0
  208. package/dist/TileLayerView2D-1f2d0b4c.js +187 -0
  209. package/dist/TilemapCache-671945d2.js +189 -0
  210. package/dist/TimeInfo-48493242.js +42 -0
  211. package/dist/TimeOnly-40ea9bb9.js +706 -0
  212. package/dist/Toggle/Toggle.d.ts +0 -9
  213. package/dist/Tooltip-9ecc3c9d.js +138 -0
  214. package/dist/TopFeaturesQuery-c0fd4e83.js +32 -0
  215. package/dist/TurboLine-cb0c9eaa.js +565 -0
  216. package/dist/UniqueValueRenderer-e4a27dfc.js +1039 -0
  217. package/dist/UnknownLayer-c3ba50b7.js +30 -0
  218. package/dist/UnknownTimeZone-832b690f.js +15 -0
  219. package/dist/UnsupportedLayer-0a89352f.js +31 -0
  220. package/dist/UpdateTracking2D-881e1d79.js +8566 -0
  221. package/dist/Util-b8d78341.js +57 -0
  222. package/dist/VectorTileLayer-43223ebe.js +544 -0
  223. package/dist/VectorTileLayerView2D-3d5f0721.js +2108 -0
  224. package/dist/Version-014efc62.js +33 -0
  225. package/dist/VertexArrayObject-4c6a6897.js +73 -0
  226. package/dist/VertexColor.glsl-e1468339.js +2683 -0
  227. package/dist/VertexSnappingCandidate-b3a3d14d.js +13 -0
  228. package/dist/VideoLayerView2D-f24c6919.js +124 -0
  229. package/dist/VoxelLayer-5ab46878.js +631 -0
  230. package/dist/WFSLayer-e8a081ca.js +221 -0
  231. package/dist/WFSSourceWorker-55c872f8.js +157 -0
  232. package/dist/WGLContainer-f4c4a8dc.js +5426 -0
  233. package/dist/WMSLayer-e9d5e4a6.js +536 -0
  234. package/dist/WMSLayerView2D-56144a1d.js +117 -0
  235. package/dist/WMTSLayer-c571ae0f.js +531 -0
  236. package/dist/WMTSLayerView2D-81b561e0.js +142 -0
  237. package/dist/WebTileLayer-cd295f56.js +110 -0
  238. package/dist/WhereClause-8bc4aa58.js +2766 -0
  239. package/dist/WorkerHandle-f8e580f2.js +47 -0
  240. package/dist/WorkerTileHandler-0f73a7f2.js +1539 -0
  241. package/dist/action-53058ddb.js +198 -0
  242. package/dist/action-group-ff2ef7e7.js +145 -0
  243. package/dist/action-menu-fefff035.js +1759 -0
  244. package/dist/apng-ac31a3d2.js +392 -0
  245. package/dist/arcade-ce9e8356.js +229 -0
  246. package/dist/arcadeAsyncRuntime-068150f3.js +943 -0
  247. package/dist/arcadeUtils-38c2028a.js +8741 -0
  248. package/dist/arcgis-knowledge-client-core-418d2890.js +1218 -0
  249. package/dist/arcgis-knowledge-client-core-simd-bf207cbd.js +1218 -0
  250. package/dist/arcgisLayers-f9b73e96.js +152 -0
  251. package/dist/associatedFeatureServiceUtils-f1895302.js +92 -0
  252. package/dist/axisAngleDegrees-abd6e971.js +49 -0
  253. package/dist/basis_transcoder-ba9d02db.js +1248 -0
  254. package/dist/calcite-action-07342a33.js +22 -0
  255. package/dist/calcite-action-bar-b8b194bf.js +303 -0
  256. package/dist/calcite-action-group-f93a5b76.js +28 -0
  257. package/dist/calcite-button-13172f9c.js +228 -0
  258. package/dist/calcite-flow-959098df.js +128 -0
  259. package/dist/calcite-flow-item-9141ea0e.js +499 -0
  260. package/dist/calcite-icon-1f1f741d.js +16 -0
  261. package/dist/calcite-input-99b0c89d.js +24 -0
  262. package/dist/calcite-label-5daa57c6.js +79 -0
  263. package/dist/calcite-list-543efc4b.js +2135 -0
  264. package/dist/calcite-list-item-a148ac57.js +576 -0
  265. package/dist/calcite-list-item-group-4da974f3.js +71 -0
  266. package/dist/calcite-loader-8b29a4cd.js +14 -0
  267. package/dist/calcite-modal-b64d2a9b.js +333 -0
  268. package/dist/calcite-notice-1527bc00.js +181 -0
  269. package/dist/calcite-option-5ea94a2a.js +94 -0
  270. package/dist/calcite-scrim-35fd270f.js +18 -0
  271. package/dist/calcite-select-a936a6d4.js +231 -0
  272. package/dist/capabilities-eb05cd14.js +50 -0
  273. package/dist/chartCommon-af447b81.js +256 -0
  274. package/dist/chartUtilsAm5-21243f3e.js +2954 -0
  275. package/dist/clientSideDefaults-0197b13d.js +39 -0
  276. package/dist/colorRamps-100595ab.js +38 -0
  277. package/dist/colorUtils-1a8cc2f8.js +164 -0
  278. package/dist/commonProperties-7d8f6b56.js +60 -0
  279. package/dist/computeTranslationToOriginAndRotation-466bc2c5.js +60 -0
  280. package/dist/conditionalSlot-55a86124.js +27 -0
  281. package/dist/createConnection-37afc89c.js +299 -0
  282. package/dist/dataUtils-efd5edf8.js +1421 -0
  283. package/dist/deduplicate-be0453c1.js +89 -0
  284. package/dist/defaults-3495cefd.js +31 -0
  285. package/dist/deleteForwardEdits-8ffa4b4e.js +13 -0
  286. package/dist/diffUtils-cccaeaa2.js +90 -0
  287. package/dist/drapedUtils-dfe3325a.js +75 -0
  288. package/dist/earcut-1a1bdd2c.js +292 -0
  289. package/dist/edgeProcessing-b0f5f4f0.js +252 -0
  290. package/dist/editingSupport-93603f8d.js +203 -0
  291. package/dist/editsZScale-8a2a7226.js +37 -0
  292. package/dist/elevationInfoUtils-96b1ac38.js +126 -0
  293. package/dist/executeForIds-48f5ccd3.js +14 -0
  294. package/dist/executeForTopCount-6ba38c5f.js +17 -0
  295. package/dist/executeForTopExtents-570aeb4a.js +17 -0
  296. package/dist/executeForTopIds-066c5e05.js +17 -0
  297. package/dist/executeQueryJSON-f5d65f6d.js +15 -0
  298. package/dist/executeQueryPBF-4ff20838.js +152 -0
  299. package/dist/executeRelationshipQuery-60c2686f.js +53 -0
  300. package/dist/executeTopFeaturesQuery-029eb564.js +18 -0
  301. package/dist/featureConversionUtils-8635d4bd.js +479 -0
  302. package/dist/featureLayerUtils-883379f8.js +250 -0
  303. package/dist/featureLayerUtils-89be3008.js +142 -0
  304. package/dist/featureSetUtils-3ba52dc3.js +2530 -0
  305. package/dist/featuresetbase-360521bb.js +707 -0
  306. package/dist/featuresetgeom-1c40fbf0.js +99 -0
  307. package/dist/featuresetstats-8b7ee0fc.js +81 -0
  308. package/dist/featuresetstring-502232ab.js +95 -0
  309. package/dist/fetchService-81224f29.js +33 -0
  310. package/dist/fieldProperties-1d23cc31.js +33 -0
  311. package/dist/floatRGBA-8dd8f77f.js +20 -0
  312. package/dist/form-81637afc.js +138 -0
  313. package/dist/geohashUtils-7a5a8250.js +85 -0
  314. package/dist/geojson-b271f3fc.js +208 -0
  315. package/dist/geomasync-4182a04e.js +567 -0
  316. package/dist/geometryEngine-170fd2fc.js +192 -0
  317. package/dist/geometryEngineAsync-ff5386c8.js +217 -0
  318. package/dist/geometryEngineBase-292b6d6f.js +18463 -0
  319. package/dist/geometryEngineJSON-15d3dac3.js +46 -0
  320. package/dist/geometryEngineJSON-c8044348.js +171 -0
  321. package/dist/geometryEngineWorker-19511bd8.js +11 -0
  322. package/dist/geometryServiceUtils-a348e7af.js +28 -0
  323. package/dist/georeference-72e12165.js +291 -0
  324. package/dist/gif-48b9a7df.js +323 -0
  325. package/dist/gltfexport-45261c80.js +705 -0
  326. package/dist/groupLayerUtils-f400995e.js +39 -0
  327. package/dist/heatmapUtils-81245e4b.js +45 -0
  328. package/dist/highlightReasons-23d6c956.js +19 -0
  329. package/dist/hydrated-e88a116e.js +40 -0
  330. package/dist/i3s-8b6deab9.js +809 -0
  331. package/dist/icon-422742c4.js +127 -0
  332. package/dist/imageBitmapUtils-12016538.js +23 -0
  333. package/dist/imageUtils-b38618d9.js +89 -0
  334. package/dist/imageUtils-c550215a.js +69 -0
  335. package/dist/imageryUtils-ac0e6068.js +43 -0
  336. package/dist/index-a450f76b.js +45553 -0
  337. package/dist/index.js +1 -1
  338. package/dist/input-message-c606a089.js +92 -0
  339. package/dist/input2-8de5385e.js +575 -0
  340. package/dist/interactive-1bfa32d8.js +80 -0
  341. package/dist/jsonContext-70d89bc5.js +15 -0
  342. package/dist/jsonUtils-599f89fd.js +86 -0
  343. package/dist/jsonUtils-59cbda09.js +476 -0
  344. package/dist/jsonUtils-dbeb4b10.js +59 -0
  345. package/dist/kmlUtils-acfd0be5.js +112 -0
  346. package/dist/knowledgeGraphService-d0de6015.js +739 -0
  347. package/dist/knowledgegraph-1d25377f.js +149 -0
  348. package/dist/labelUtils-17e6e19c.js +61 -0
  349. package/dist/labelingInfo-7583b96a.js +46 -0
  350. package/dist/layersCreator-a7588c85.js +151 -0
  351. package/dist/layersLoader-503fa253.js +197 -0
  352. package/dist/lazyLayerLoader-14780aaf.js +10 -0
  353. package/dist/lclayout-b5aeb13b.js +773 -0
  354. package/dist/lengthUtils-15c44621.js +5 -0
  355. package/dist/lerc-wasm-57456401.js +325 -0
  356. package/dist/libtess-asm-08a80cbf.js +3673 -0
  357. package/dist/libtess-bcb513a0.js +269 -0
  358. package/dist/lineSegment-53f5f3d5.js +76 -0
  359. package/dist/loadGLTFMesh-561cd76a.js +181 -0
  360. package/dist/loadable-11e952cf.js +24 -0
  361. package/dist/loader-aafdf7c3.js +79 -0
  362. package/dist/lyr3DWorker-1876a7b0.js +2108 -0
  363. package/dist/mapViewDeps-c8de4ef9.js +3052 -0
  364. package/dist/mediaLayerUtils-236fdb9c.js +35 -0
  365. package/dist/meshFeatureSet-cf240f51.js +126 -0
  366. package/dist/meshVertexSpaceUtils-3647b869.js +58 -0
  367. package/dist/multidimensionalUtils-611e5cda.js +290 -0
  368. package/dist/normalizeUtilsSync-90304e5d.js +181 -0
  369. package/dist/number-d1e69c5f.js +128 -0
  370. package/dist/objectResourceUtils-237c5dab.js +1455 -0
  371. package/dist/observers-7ebedc04.js +30 -0
  372. package/dist/ogcFeatureUtils-f14754d3.js +206 -0
  373. package/dist/openCloseComponent-f7f72e31.js +37 -0
  374. package/dist/orientedBoundingBox-75e679bc.js +447 -0
  375. package/dist/parser-54b64f9a.js +488 -0
  376. package/dist/pbf-4b5a905e.js +215 -0
  377. package/dist/pbfQueryUtils-780daa49.js +422 -0
  378. package/dist/pe-wasm-7eeff6bc.js +887 -0
  379. package/dist/persistable-2afd8b64.js +89 -0
  380. package/dist/perspectiveUtils-78d50b08.js +42 -0
  381. package/dist/pieChart-f5575f34.js +555 -0
  382. package/dist/plane-ee1849b4.js +160 -0
  383. package/dist/popupUtils-5d826c7a.js +50 -0
  384. package/dist/popupUtils-8f261298.js +22 -0
  385. package/dist/portalItemUtils-07c1c29f.js +57 -0
  386. package/dist/portalLayers-199d1cb1.js +312 -0
  387. package/dist/portalUtils-f3c544f6.js +7 -0
  388. package/dist/programUtils-cd0377dc.js +59 -0
  389. package/dist/project-6d7a2904.js +21 -0
  390. package/dist/projectPointToVector-5800baf2.js +14 -0
  391. package/dist/projectVectorToVector-fdcb00cb.js +13 -0
  392. package/dist/quantityUtils-ab7a657b.js +33 -0
  393. package/dist/quantizationUtils-dde8a0c2.js +68 -0
  394. package/dist/quat-48b188ff.js +104 -0
  395. package/dist/query-581e35c7.js +89 -0
  396. package/dist/queryAttachments-191977a0.js +39 -0
  397. package/dist/queryEngineUtils-15b0748f.js +21 -0
  398. package/dist/queryTopFeatures-e6b8517a.js +50 -0
  399. package/dist/queryZScale-b9c83898.js +12 -0
  400. package/dist/rasterProjectionHelper-9e69c84d.js +577 -0
  401. package/dist/rasterUtils-76d2db45.js +122 -0
  402. package/dist/rasterizingUtils-730137a6.js +46 -0
  403. package/dist/request-3c238dd9.js +46 -0
  404. package/dist/requestImageUtils-6a0b710a.js +8 -0
  405. package/dist/resourceExtension-8e2ef6d4.js +17 -0
  406. package/dist/resourceUtils-49ebeb9f.js +42 -0
  407. package/dist/resourceUtils-b3c85655.js +62 -0
  408. package/dist/resourceUtils-b45c0ef9.js +69 -0
  409. package/dist/saveAPIKeyUtils-1146065e.js +8 -0
  410. package/dist/saveUtils-196e791e.js +24 -0
  411. package/dist/scaleUtils-7e908168.js +23 -0
  412. package/dist/scrim-56f6fa37.js +114 -0
  413. package/dist/serviceCapabilitiesUtils-266d7001.js +64 -0
  414. package/dist/sourceUtils-0d21eace.js +71 -0
  415. package/dist/sphere-8103ac36.js +199 -0
  416. package/dist/statsWorker-04df4d99.js +37 -0
  417. package/dist/streamLayerUtils-6b66a73a.js +31 -0
  418. package/dist/style.css +1 -1
  419. package/dist/styleUtils-31e64784.js +75 -0
  420. package/dist/styleUtils-3951c967.js +14 -0
  421. package/dist/sublayerUtils-d60d357a.js +37 -0
  422. package/dist/substitute-77b7b80a.js +52 -0
  423. package/dist/symbolColorUtils-d97fe12d.js +8 -0
  424. package/dist/symbolLayerUtils-5f73a9b9.js +31 -0
  425. package/dist/symbologySnappingCandidates-bd284687.js +221 -0
  426. package/dist/t9n-2012740c.js +349 -0
  427. package/dist/testSVGPremultipliedAlpha-bb386a75.js +94 -0
  428. package/dist/timeSupport-2eb266be.js +410 -0
  429. package/dist/triangle-cac8dd7a.js +98 -0
  430. package/dist/unitConversionUtils-ad9151e0.js +17 -0
  431. package/dist/unitFormatUtils-3096fcbf.js +40 -0
  432. package/dist/uploadAssetErrors-b8ec890d.js +70 -0
  433. package/dist/uploadAssets-42d5e368.js +330 -0
  434. package/dist/utils-0ec1deff.js +232 -0
  435. package/dist/utils-25ac5b7c.js +73 -0
  436. package/dist/utils-3fc8cef0.js +79 -0
  437. package/dist/utils-59c058ba.js +2746 -0
  438. package/dist/utils-5a4ac69c.js +419 -0
  439. package/dist/utils-93ae7d8a.js +34 -0
  440. package/dist/utils-bba64d46.js +91 -0
  441. package/dist/utils-ce8900dc.js +433 -0
  442. package/dist/utils3-72b32be5.js +75 -0
  443. package/dist/vec3-0abe1464.js +81 -0
  444. package/dist/vec42-1641eab7.js +125 -0
  445. package/dist/versionUtils-6a805b25.js +161 -0
  446. package/dist/visualVariableUtils-7ae62b11.js +267 -0
  447. package/dist/webStyleSymbolUtils-038dca4c.js +48 -0
  448. package/dist/webglDeps-c2957fe0.js +23 -0
  449. package/dist/wfsUtils-a332128b.js +343 -0
  450. package/dist/workerHelper-2a48e790.js +11 -0
  451. package/dist/xyChart-131284db.js +3335 -0
  452. package/package.json +1 -1
  453. package/dist/AGraphicContainer-0a4e0426.js +0 -109
  454. package/dist/APIKeyMixin-83e85532.js +0 -19
  455. package/dist/Analysis-c4011253.js +0 -31
  456. package/dist/ArcGISCachedService-1c6af1c1.js +0 -47
  457. package/dist/ArcGISService-1d880889.js +0 -25
  458. package/dist/AreaMeasurement2D-86006a71.js +0 -405
  459. package/dist/AreaMeasurement3D-1825243c.js +0 -488
  460. package/dist/AttachmentInfo-fa04c641.js +0 -34
  461. package/dist/AttachmentQuery-1450c2f7.js +0 -18
  462. package/dist/AttributeStore-02f947ea.js +0 -1707
  463. package/dist/BaseDynamicLayerView2D-eb11c757.js +0 -63
  464. package/dist/BingMapsLayer-7ad7d511.js +0 -112
  465. package/dist/Bitmap-14a020d8.js +0 -128
  466. package/dist/BitmapContainer-cc71fd24.js +0 -23
  467. package/dist/BlendLayer-e2f97659.js +0 -13
  468. package/dist/BoundsStore-8612892f.js +0 -63
  469. package/dist/BufferObject-bd932c2c.js +0 -100
  470. package/dist/BufferView-97ed14c7.js +0 -683
  471. package/dist/BuildingSceneLayer-3f5380c8.js +0 -535
  472. package/dist/Button-15031955.js +0 -36
  473. package/dist/CSVLayer-a76db6f4.js +0 -208
  474. package/dist/CSVSourceWorker-afe160ed.js +0 -367
  475. package/dist/CatalogDynamicGroupLayerView2D-be946494.js +0 -66
  476. package/dist/CatalogFootprintLayerView2D-14763204.js +0 -76
  477. package/dist/CatalogLayer-7d6228dd.js +0 -262
  478. package/dist/CatalogLayerView2D-13e32a42.js +0 -52
  479. package/dist/ClassBreaksDefinition-7040a7fc.js +0 -18
  480. package/dist/ColorMaterial.glsl-e56765f1.js +0 -64
  481. package/dist/ColorSet-4ff0a7b7.js +0 -45
  482. package/dist/ColorStop-1e154045.js +0 -29
  483. package/dist/Container-6e3b610b.js +0 -521
  484. package/dist/CustomParametersMixin-c01280c0.js +0 -12
  485. package/dist/DefaultMaterial.glsl-e7e23b90.js +0 -42
  486. package/dist/DefaultMaterial_COLOR_GAMMA-7fd21704.js +0 -653
  487. package/dist/DefaultTheme-3c5b433f.js +0 -130
  488. package/dist/DeleteForwardEditsParameters-7073c5e5.js +0 -18
  489. package/dist/DimensionLayer-f921dd3d.js +0 -129
  490. package/dist/DirectLineMeasurement3D-61d14af2.js +0 -449
  491. package/dist/DistanceMeasurement2D-b023b35c.js +0 -303
  492. package/dist/DoubleArray-1186b8b8.js +0 -25
  493. package/dist/Dropdown/Dropdown.types.d.ts +0 -16
  494. package/dist/Dropdown/Filter/Filter.types.d.ts +0 -17
  495. package/dist/Dropdown/List/List.types.d.ts +0 -11
  496. package/dist/EdgeProcessingWorker-cb6277ad.js +0 -63
  497. package/dist/EditBusLayer-9d740f8f.js +0 -107
  498. package/dist/ElevationInfo-581ff99d.js +0 -56
  499. package/dist/ElevationLayer-42b57d9b.js +0 -129
  500. package/dist/ElevationQuery-f6d0cf9f.js +0 -598
  501. package/dist/ElevationSamplerWorker-50d805bb.js +0 -62
  502. package/dist/ExportImageParameters-5b047f92.js +0 -66
  503. package/dist/ExportStrategy-b6c54d77.js +0 -93
  504. package/dist/ExportWMSImageParameters-ff5a3ac8.js +0 -33
  505. package/dist/External-695a389a.js +0 -110
  506. package/dist/FeatureCollectionSnappingSource-fdaed9e0.js +0 -130
  507. package/dist/FeatureCommandQueue-c2bd1a39.js +0 -1244
  508. package/dist/FeatureEffect-9ea1b3da.js +0 -39
  509. package/dist/FeatureEffectLayer-0fa169c4.js +0 -13
  510. package/dist/FeatureFilter-638c4cae.js +0 -27
  511. package/dist/FeatureLayer-2a419d3e.js +0 -693
  512. package/dist/FeatureLayerBase-7331e738.js +0 -148
  513. package/dist/FeatureLayerSource-733186fb.js +0 -444
  514. package/dist/FeatureLayerView2D-bc4994b6.js +0 -1967
  515. package/dist/FeaturePipelineWorker-5f68488c.js +0 -3633
  516. package/dist/FeatureReductionLayer-0c152478.js +0 -225
  517. package/dist/FeatureReductionSelection-f952512d.js +0 -22
  518. package/dist/FeatureServiceSnappingSource-4c02d5a3.js +0 -481
  519. package/dist/FeatureServiceSnappingSourceWorker-c2a1dc50.js +0 -747
  520. package/dist/FeatureSet-2c6b8e00.js +0 -188
  521. package/dist/FeatureStore-a26846c0.js +0 -131
  522. package/dist/FeatureTemplate-1b6b7e2d.js +0 -12
  523. package/dist/FeatureType-9e1f1a7d.js +0 -25
  524. package/dist/FieldsIndex-91711836.js +0 -109
  525. package/dist/FormTemplate-ae0cfb6e.js +0 -350
  526. package/dist/GeoJSONLayer-b2070c34.js +0 -236
  527. package/dist/GeoJSONSourceWorker-aecb5f9b.js +0 -247
  528. package/dist/GeoRSSLayer-3743b41f.js +0 -73
  529. package/dist/GeoRSSLayerView2D-098c24bc.js +0 -140
  530. package/dist/GeometryUtils-036c7f22.js +0 -403
  531. package/dist/GraphicContainer-ece3945e.js +0 -26
  532. package/dist/GraphicManipulator-bc92899f.js +0 -1499
  533. package/dist/GraphicsLayer-764f0324.js +0 -38
  534. package/dist/GraphicsLayerView2D-36908d0c.js +0 -114
  535. package/dist/GraphicsSnappingSource-2bb681c0.js +0 -273
  536. package/dist/GraphicsView2D-e9cf5cd6.js +0 -620
  537. package/dist/GroupLayer-5ea5b71b.js +0 -147
  538. package/dist/GroupLayerView2D-22ec9eaa.js +0 -98
  539. package/dist/HUDMaterial.glsl-80ab7d22.js +0 -65
  540. package/dist/HighlightCounter-36842e52.js +0 -41
  541. package/dist/HighlightGraphicContainer-10cb9671.js +0 -18
  542. package/dist/I3SBinaryReader-9dbdc661.js +0 -310
  543. package/dist/I3SLayerDefinitions-b56e2c87.js +0 -55
  544. package/dist/I3SUtil-5461dc89.js +0 -59
  545. package/dist/IdentityManager-bb063156.js +0 -899
  546. package/dist/ImageHistogramParameters-1f8e5179.js +0 -905
  547. package/dist/ImageryLayer-a807d3b3.js +0 -1799
  548. package/dist/ImageryLayerView2D-358a3267.js +0 -352
  549. package/dist/ImageryTileLayer-0f67f262.js +0 -2157
  550. package/dist/ImageryTileLayerView2D-2bc2bb67.js +0 -1110
  551. package/dist/Indices-0c5304f2.js +0 -67
  552. package/dist/IntegratedMesh3DTilesLayer-be69dca8.js +0 -112
  553. package/dist/IntegratedMeshLayer-3c070523.js +0 -141
  554. package/dist/InteractiveAnalysisViewModel-3005a4a6.js +0 -7397
  555. package/dist/InterleavedLayout-d37b99a2.js +0 -163
  556. package/dist/KMLLayer-2011c3c6.js +0 -162
  557. package/dist/KMLLayerView2D-5d17145f.js +0 -253
  558. package/dist/KnowledgeGraphLayerView2D-7172b91b.js +0 -43
  559. package/dist/LRUCache-39211cf9.js +0 -32
  560. package/dist/LabelClass-d1080628.js +0 -135
  561. package/dist/LabelMetric-ab56c6b3.js +0 -400
  562. package/dist/LaserlinePath.glsl-df8f92cc.js +0 -64
  563. package/dist/Laserlines.glsl-f7d93e3f.js +0 -65
  564. package/dist/LayerFloorInfo-3edeb9a2.js +0 -15
  565. package/dist/LayerView-1c58c8c6.js +0 -206
  566. package/dist/LercWorker-c7a2aca1.js +0 -157
  567. package/dist/LineOfSightLayer-3028e21f.js +0 -147
  568. package/dist/LinkChartLayer-988ae660.js +0 -1027
  569. package/dist/Lyr3DWorker-4c8c758f.js +0 -82
  570. package/dist/MagnifierPrograms-123961a3.js +0 -806
  571. package/dist/MapImageLayer-9241ad63.js +0 -169
  572. package/dist/MapImageLayerView2D-726e5c66.js +0 -146
  573. package/dist/MapNotesLayer-2d2db99b.js +0 -283
  574. package/dist/MapNotesLayerView2D-41f5790c.js +0 -161
  575. package/dist/MapServiceLayerViewHelper-8f5228ec.js +0 -288
  576. package/dist/MeasurementWidgetContent-504fd868.js +0 -2642
  577. package/dist/MediaLayer-e71ce661.js +0 -523
  578. package/dist/MediaLayerView2D-33c67404.js +0 -332
  579. package/dist/MemCache-413327b3.js +0 -227
  580. package/dist/MemorySourceWorker-b0e70dd0.js +0 -222
  581. package/dist/Mesh-98c4e050.js +0 -980
  582. package/dist/MeshLocalVertexSpace-7a7e4d4e.js +0 -19
  583. package/dist/MultiOriginJSONSupport-2fca3cc5.js +0 -158
  584. package/dist/OGCFeatureLayer-451fbd45.js +0 -211
  585. package/dist/OGCFeatureLayerView2D-d23b08d2.js +0 -82
  586. package/dist/ObjectStack-742b2ff3.js +0 -21
  587. package/dist/Octree-a3c8e90e.js +0 -495
  588. package/dist/OpenStreetMapLayer-9bb91f97.js +0 -30
  589. package/dist/OperationalLayer-fbfada66.js +0 -44
  590. package/dist/OrderByInfo-335eb561.js +0 -16
  591. package/dist/OrderedLayer-29b4ac64.js +0 -26
  592. package/dist/OrientedImageryLayer-aa2498e2.js +0 -216
  593. package/dist/OverlayCompositing.glsl-4b1e83c2.js +0 -65
  594. package/dist/OverrideHelper-74cc3959.js +0 -242
  595. package/dist/PBFDecoderWorker-fd40e0f9.js +0 -213
  596. package/dist/PointCloudLayer-64cdbbb2.js +0 -197
  597. package/dist/PointCloudUniqueValueRenderer-db9b3a98.js +0 -115
  598. package/dist/PointCloudWorker-a5eb5224.js +0 -212
  599. package/dist/PooledRBush-be6fe17a.js +0 -272
  600. package/dist/Popup-db250fe6.js +0 -3990
  601. package/dist/PortalLayer-a6ce110e.js +0 -126
  602. package/dist/Program-ecabc523.js +0 -694
  603. package/dist/ProgramTemplate-e5ce3b0f.js +0 -35
  604. package/dist/QueryEngine-87b2546b.js +0 -896
  605. package/dist/QueryTask-36400ec7.js +0 -119
  606. package/dist/RasterSymbolizer-cfd47847.js +0 -3024
  607. package/dist/RasterVFDisplayObject-d4c967ea.js +0 -581
  608. package/dist/RasterWorker-068ae23a.js +0 -78
  609. package/dist/RawBlockCache-9e8d4c35.js +0 -185
  610. package/dist/RealisticTree.glsl-adab8e44.js +0 -42
  611. package/dist/RefreshableLayer-eec34ca2.js +0 -80
  612. package/dist/RefreshableLayerView-ee06f08c.js +0 -16
  613. package/dist/Relationship-a7eb5489.js +0 -64
  614. package/dist/RelationshipQuery-4551bb04.js +0 -22
  615. package/dist/RenderingContext-9e8fac0d.js +0 -889
  616. package/dist/RibbonLine.glsl-5990bf5f.js +0 -65
  617. package/dist/RouteLayer-858bc482.js +0 -786
  618. package/dist/RouteLayerView2D-a70d519f.js +0 -195
  619. package/dist/SDFHelper-efca0a53.js +0 -140
  620. package/dist/SSAO.glsl-7670c1fc.js +0 -43
  621. package/dist/SSAOBlur.glsl-3523d6af.js +0 -42
  622. package/dist/ScaleRangeLayer-7f440b85.js +0 -21
  623. package/dist/SceneLayer-999bd23f.js +0 -542
  624. package/dist/SceneLayerSnappingSource-9420aaed.js +0 -218
  625. package/dist/SceneLayerSnappingSourceWorker-be67e552.js +0 -112
  626. package/dist/SceneLayerWorker-201939c2.js +0 -164
  627. package/dist/SceneService-318eff2f.js +0 -215
  628. package/dist/Scheduler-279ea0c3.js +0 -373
  629. package/dist/ShadedColorMaterial.glsl-bd2979d8.js +0 -64
  630. package/dist/SnappingOperation-5100da71.js +0 -48
  631. package/dist/SourceLayerData-50c2b980.js +0 -116
  632. package/dist/SpatialFilter-b6c6b2fc.js +0 -1701
  633. package/dist/Stop-196981da.js +0 -281
  634. package/dist/StreamLayer-37b818b8.js +0 -188
  635. package/dist/StreamLayerView2D-7f0f45bc.js +0 -164
  636. package/dist/StyleRepository-4e8fa398.js +0 -2212
  637. package/dist/SublayersOwner-90d10612.js +0 -545
  638. package/dist/SubtypeGroupLayer-959cabf8.js +0 -514
  639. package/dist/SubtypeGroupLayerView2D-95e63b42.js +0 -84
  640. package/dist/TechniqueInstance-bd190c26.js +0 -233
  641. package/dist/TemporalLayer-aacda167.js +0 -23
  642. package/dist/Texture-3618be49.js +0 -501
  643. package/dist/TextureOnly.glsl-fcca7034.js +0 -65
  644. package/dist/Theme-85608a9a.js +0 -3426
  645. package/dist/Tick-79e96104.js +0 -723
  646. package/dist/TileContainer-f1e7edd8.js +0 -31
  647. package/dist/TileInfoTilemapCache-2f882821.js +0 -38
  648. package/dist/TileLayer-db13a237.js +0 -194
  649. package/dist/TileLayerView2D-15af6be4.js +0 -187
  650. package/dist/TilemapCache-fc4b2c6c.js +0 -189
  651. package/dist/TimeInfo-39a9d4e1.js +0 -42
  652. package/dist/TimeOnly-b759457a.js +0 -706
  653. package/dist/Tooltip-0ba72b27.js +0 -138
  654. package/dist/TopFeaturesQuery-a11ecc39.js +0 -32
  655. package/dist/TurboLine-5e62d290.js +0 -565
  656. package/dist/UniqueValueRenderer-bf2f3234.js +0 -1039
  657. package/dist/UnknownLayer-2cf71578.js +0 -30
  658. package/dist/UnknownTimeZone-aabdcf56.js +0 -15
  659. package/dist/UnsupportedLayer-36650e4a.js +0 -31
  660. package/dist/UpdateTracking2D-b6d16b0c.js +0 -8566
  661. package/dist/Util-8f54c96b.js +0 -57
  662. package/dist/VectorTileLayer-ddcca4ec.js +0 -544
  663. package/dist/VectorTileLayerView2D-8176946a.js +0 -2108
  664. package/dist/Version-9eb299cd.js +0 -33
  665. package/dist/VertexArrayObject-d1a4262b.js +0 -73
  666. package/dist/VertexColor.glsl-fd9f70e0.js +0 -2683
  667. package/dist/VertexSnappingCandidate-70513010.js +0 -13
  668. package/dist/VideoLayerView2D-e08e1d57.js +0 -124
  669. package/dist/VoxelLayer-959702aa.js +0 -631
  670. package/dist/WFSLayer-4a41b206.js +0 -221
  671. package/dist/WFSSourceWorker-53d88982.js +0 -157
  672. package/dist/WGLContainer-e9e8616e.js +0 -5426
  673. package/dist/WMSLayer-8e44f55c.js +0 -536
  674. package/dist/WMSLayerView2D-415a1793.js +0 -117
  675. package/dist/WMTSLayer-804f4bed.js +0 -531
  676. package/dist/WMTSLayerView2D-96186a90.js +0 -142
  677. package/dist/WebTileLayer-7391ea01.js +0 -110
  678. package/dist/WhereClause-1816217e.js +0 -2766
  679. package/dist/WorkerHandle-25f67c67.js +0 -47
  680. package/dist/WorkerTileHandler-a7e508bc.js +0 -1539
  681. package/dist/action-3ce81e45.js +0 -198
  682. package/dist/action-group-f2d26c2b.js +0 -145
  683. package/dist/action-menu-015d91ab.js +0 -1759
  684. package/dist/apng-e5532475.js +0 -392
  685. package/dist/arcade-dbe2ca4a.js +0 -229
  686. package/dist/arcadeAsyncRuntime-78b83b41.js +0 -943
  687. package/dist/arcadeUtils-cb1066a6.js +0 -8741
  688. package/dist/arcgis-knowledge-client-core-7379d99e.js +0 -1218
  689. package/dist/arcgis-knowledge-client-core-simd-ea8b4d20.js +0 -1218
  690. package/dist/arcgisLayers-cd3494fd.js +0 -152
  691. package/dist/associatedFeatureServiceUtils-da8d377d.js +0 -92
  692. package/dist/axisAngleDegrees-19922758.js +0 -49
  693. package/dist/basis_transcoder-bf0490cc.js +0 -1248
  694. package/dist/calcite-action-0db4f61c.js +0 -22
  695. package/dist/calcite-action-bar-1b4c89cb.js +0 -303
  696. package/dist/calcite-action-group-3c8a934c.js +0 -28
  697. package/dist/calcite-button-1079a10c.js +0 -228
  698. package/dist/calcite-flow-c1e71a12.js +0 -128
  699. package/dist/calcite-flow-item-1097b48f.js +0 -499
  700. package/dist/calcite-icon-c88b4a67.js +0 -16
  701. package/dist/calcite-input-8c33ee84.js +0 -24
  702. package/dist/calcite-label-7fbfbe36.js +0 -79
  703. package/dist/calcite-list-93af4ae2.js +0 -2135
  704. package/dist/calcite-list-item-f0a6cda3.js +0 -576
  705. package/dist/calcite-list-item-group-107a313e.js +0 -71
  706. package/dist/calcite-loader-5194bf83.js +0 -14
  707. package/dist/calcite-modal-486280cc.js +0 -333
  708. package/dist/calcite-notice-a81274a8.js +0 -181
  709. package/dist/calcite-option-0020a955.js +0 -94
  710. package/dist/calcite-scrim-27d65e7f.js +0 -18
  711. package/dist/calcite-select-05f25c2a.js +0 -231
  712. package/dist/capabilities-238bde7d.js +0 -50
  713. package/dist/chartCommon-7eda170a.js +0 -256
  714. package/dist/chartUtilsAm5-fd8aeac2.js +0 -2954
  715. package/dist/clientSideDefaults-b91506af.js +0 -39
  716. package/dist/colorRamps-6027ea73.js +0 -38
  717. package/dist/colorUtils-3dd4b884.js +0 -164
  718. package/dist/commonProperties-bf4d305f.js +0 -60
  719. package/dist/computeTranslationToOriginAndRotation-ca5a9439.js +0 -60
  720. package/dist/conditionalSlot-80a4c6ff.js +0 -27
  721. package/dist/createConnection-70dd787a.js +0 -299
  722. package/dist/dataUtils-b632d3a2.js +0 -1421
  723. package/dist/deduplicate-e13aa9e2.js +0 -89
  724. package/dist/defaults-40a1a995.js +0 -31
  725. package/dist/deleteForwardEdits-b0182a08.js +0 -13
  726. package/dist/diffUtils-5f43e52a.js +0 -90
  727. package/dist/drapedUtils-416e5304.js +0 -75
  728. package/dist/earcut-235aa57d.js +0 -292
  729. package/dist/edgeProcessing-43d45a32.js +0 -252
  730. package/dist/editingSupport-7706f838.js +0 -203
  731. package/dist/editsZScale-49d8a8cd.js +0 -37
  732. package/dist/elevationInfoUtils-3fbfcf1f.js +0 -126
  733. package/dist/executeForIds-419ba6a3.js +0 -14
  734. package/dist/executeForTopCount-8a8ba5c7.js +0 -17
  735. package/dist/executeForTopExtents-9f24d5d0.js +0 -17
  736. package/dist/executeForTopIds-0bfdb55f.js +0 -17
  737. package/dist/executeQueryJSON-2a2e9e1b.js +0 -15
  738. package/dist/executeQueryPBF-f10de9ec.js +0 -152
  739. package/dist/executeRelationshipQuery-0680cb30.js +0 -53
  740. package/dist/executeTopFeaturesQuery-c553d696.js +0 -18
  741. package/dist/featureConversionUtils-83783887.js +0 -479
  742. package/dist/featureLayerUtils-545d260a.js +0 -250
  743. package/dist/featureLayerUtils-b18e6016.js +0 -142
  744. package/dist/featureSetUtils-0c7ba073.js +0 -2530
  745. package/dist/featuresetbase-aadfabb3.js +0 -707
  746. package/dist/featuresetgeom-a405018e.js +0 -99
  747. package/dist/featuresetstats-f6602402.js +0 -81
  748. package/dist/featuresetstring-834ea865.js +0 -95
  749. package/dist/fetchService-dac740ef.js +0 -33
  750. package/dist/fieldProperties-b024e721.js +0 -33
  751. package/dist/floatRGBA-46ee3e38.js +0 -20
  752. package/dist/form-0b2f0ac9.js +0 -138
  753. package/dist/geohashUtils-418d1ca6.js +0 -85
  754. package/dist/geojson-96d3353d.js +0 -208
  755. package/dist/geomasync-ff5b3734.js +0 -567
  756. package/dist/geometryEngine-8fcb3d59.js +0 -192
  757. package/dist/geometryEngineAsync-212f4b0f.js +0 -217
  758. package/dist/geometryEngineBase-4c2ff8b9.js +0 -18463
  759. package/dist/geometryEngineJSON-131b461e.js +0 -171
  760. package/dist/geometryEngineJSON-b43cf67f.js +0 -46
  761. package/dist/geometryEngineWorker-707ca480.js +0 -11
  762. package/dist/geometryServiceUtils-af23d0b5.js +0 -28
  763. package/dist/georeference-02bc532d.js +0 -291
  764. package/dist/gif-b072aa1c.js +0 -323
  765. package/dist/gltfexport-3362ea71.js +0 -705
  766. package/dist/groupLayerUtils-81545911.js +0 -39
  767. package/dist/heatmapUtils-b25824e4.js +0 -45
  768. package/dist/highlightReasons-5b8b2665.js +0 -19
  769. package/dist/hydrated-b0c62926.js +0 -40
  770. package/dist/i3s-32edc725.js +0 -809
  771. package/dist/icon-453c7f62.js +0 -127
  772. package/dist/imageBitmapUtils-51497e26.js +0 -23
  773. package/dist/imageUtils-1d1da6e6.js +0 -89
  774. package/dist/imageUtils-8c40eba6.js +0 -69
  775. package/dist/imageryUtils-0c00fbf3.js +0 -43
  776. package/dist/index-3b4c2147.js +0 -45568
  777. package/dist/input-message-32600f49.js +0 -92
  778. package/dist/input2-1c0831ed.js +0 -575
  779. package/dist/interactive-5824e097.js +0 -80
  780. package/dist/jsonContext-ec21ce85.js +0 -15
  781. package/dist/jsonUtils-012feb40.js +0 -476
  782. package/dist/jsonUtils-3979baa3.js +0 -59
  783. package/dist/jsonUtils-3eb7c689.js +0 -86
  784. package/dist/kmlUtils-4c198ea5.js +0 -112
  785. package/dist/knowledgeGraphService-a159d815.js +0 -739
  786. package/dist/knowledgegraph-eb0d44d4.js +0 -149
  787. package/dist/labelUtils-01b646c7.js +0 -61
  788. package/dist/labelingInfo-148dcd26.js +0 -46
  789. package/dist/layersCreator-4e94f616.js +0 -151
  790. package/dist/layersLoader-f4e3ab33.js +0 -197
  791. package/dist/lazyLayerLoader-eb51910e.js +0 -10
  792. package/dist/lclayout-4d303c41.js +0 -773
  793. package/dist/lengthUtils-6abaf27a.js +0 -5
  794. package/dist/lerc-wasm-0ae912df.js +0 -325
  795. package/dist/libtess-asm-91c97dcd.js +0 -3673
  796. package/dist/libtess-cba14731.js +0 -269
  797. package/dist/lineSegment-8f04aab4.js +0 -76
  798. package/dist/loadGLTFMesh-71542570.js +0 -181
  799. package/dist/loadable-e7c40a8a.js +0 -24
  800. package/dist/loader-6272e4b3.js +0 -79
  801. package/dist/lyr3DWorker-9ee4ee8b.js +0 -2108
  802. package/dist/mapViewDeps-b17a2e04.js +0 -3052
  803. package/dist/mediaLayerUtils-f0ccfd82.js +0 -35
  804. package/dist/meshFeatureSet-304dfa08.js +0 -126
  805. package/dist/meshVertexSpaceUtils-e7f774fa.js +0 -58
  806. package/dist/multidimensionalUtils-642f26da.js +0 -290
  807. package/dist/normalizeUtilsSync-b5f617e6.js +0 -181
  808. package/dist/number-3af512e3.js +0 -128
  809. package/dist/objectResourceUtils-d45057aa.js +0 -1455
  810. package/dist/observers-700e505d.js +0 -30
  811. package/dist/ogcFeatureUtils-440ed0bf.js +0 -206
  812. package/dist/openCloseComponent-1501c620.js +0 -37
  813. package/dist/orientedBoundingBox-80988e7f.js +0 -447
  814. package/dist/parser-6e351b85.js +0 -488
  815. package/dist/pbf-a85c52b3.js +0 -215
  816. package/dist/pbfQueryUtils-5f25f81f.js +0 -422
  817. package/dist/pe-wasm-e588110b.js +0 -887
  818. package/dist/persistable-ad01d0ca.js +0 -89
  819. package/dist/perspectiveUtils-ab58ddbb.js +0 -42
  820. package/dist/pieChart-d3793e8b.js +0 -555
  821. package/dist/plane-e103e8ed.js +0 -160
  822. package/dist/popupUtils-5f7c3e79.js +0 -50
  823. package/dist/popupUtils-b95ab60a.js +0 -22
  824. package/dist/portalItemUtils-3d59513a.js +0 -57
  825. package/dist/portalLayers-16b2f807.js +0 -312
  826. package/dist/portalUtils-3789afb0.js +0 -7
  827. package/dist/programUtils-c8d96b39.js +0 -59
  828. package/dist/project-7eaa59a4.js +0 -21
  829. package/dist/projectPointToVector-19151d97.js +0 -14
  830. package/dist/projectVectorToVector-d552535c.js +0 -13
  831. package/dist/quantityUtils-258bfdb4.js +0 -33
  832. package/dist/quantizationUtils-752e4d24.js +0 -68
  833. package/dist/quat-6dc51256.js +0 -104
  834. package/dist/query-da893693.js +0 -89
  835. package/dist/queryAttachments-df86b71d.js +0 -39
  836. package/dist/queryEngineUtils-ffc50ce5.js +0 -21
  837. package/dist/queryTopFeatures-5a58a12d.js +0 -50
  838. package/dist/queryZScale-39ffaf30.js +0 -12
  839. package/dist/rasterProjectionHelper-d13bc46d.js +0 -577
  840. package/dist/rasterUtils-22b15453.js +0 -122
  841. package/dist/rasterizingUtils-3388ddbf.js +0 -46
  842. package/dist/request-82a2415a.js +0 -46
  843. package/dist/requestImageUtils-2fca27f8.js +0 -8
  844. package/dist/resourceExtension-672d03cc.js +0 -17
  845. package/dist/resourceUtils-95b9964a.js +0 -42
  846. package/dist/resourceUtils-b1e50d5e.js +0 -69
  847. package/dist/resourceUtils-e8831103.js +0 -62
  848. package/dist/saveAPIKeyUtils-ee9b0447.js +0 -8
  849. package/dist/saveUtils-1323ad64.js +0 -24
  850. package/dist/scaleUtils-1a70f716.js +0 -23
  851. package/dist/scrim-c0a641cd.js +0 -114
  852. package/dist/serviceCapabilitiesUtils-33d4e1c0.js +0 -64
  853. package/dist/sourceUtils-e8c5db4e.js +0 -71
  854. package/dist/sphere-75cef429.js +0 -199
  855. package/dist/statsWorker-1f1bc582.js +0 -37
  856. package/dist/streamLayerUtils-c85a0eed.js +0 -31
  857. package/dist/styleUtils-05bc85a5.js +0 -75
  858. package/dist/styleUtils-7bd8d0a7.js +0 -14
  859. package/dist/sublayerUtils-feb77591.js +0 -37
  860. package/dist/substitute-c31da60c.js +0 -52
  861. package/dist/symbolColorUtils-3c385668.js +0 -8
  862. package/dist/symbolLayerUtils-2d2753b7.js +0 -31
  863. package/dist/symbologySnappingCandidates-00eeca39.js +0 -221
  864. package/dist/t9n-55800455.js +0 -349
  865. package/dist/testSVGPremultipliedAlpha-ec1f73c4.js +0 -94
  866. package/dist/timeSupport-a7623294.js +0 -410
  867. package/dist/triangle-c799f11b.js +0 -98
  868. package/dist/unitConversionUtils-05050e6d.js +0 -17
  869. package/dist/unitFormatUtils-2a84c371.js +0 -40
  870. package/dist/uploadAssetErrors-601b044e.js +0 -70
  871. package/dist/uploadAssets-5a835c8a.js +0 -330
  872. package/dist/utils-2dc379da.js +0 -79
  873. package/dist/utils-34b1ea70.js +0 -2746
  874. package/dist/utils-45c14202.js +0 -232
  875. package/dist/utils-484969fb.js +0 -91
  876. package/dist/utils-5aaff624.js +0 -433
  877. package/dist/utils-a94dc35d.js +0 -419
  878. package/dist/utils-e68cfebf.js +0 -34
  879. package/dist/utils-fc14cc83.js +0 -73
  880. package/dist/utils3-5745e839.js +0 -75
  881. package/dist/vec3-12b9e1d8.js +0 -81
  882. package/dist/vec42-a1569d60.js +0 -125
  883. package/dist/versionUtils-c4f3617a.js +0 -161
  884. package/dist/visualVariableUtils-bcb95edc.js +0 -267
  885. package/dist/webStyleSymbolUtils-9db5b81c.js +0 -48
  886. package/dist/webglDeps-05e0410a.js +0 -23
  887. package/dist/wfsUtils-7caaa2cc.js +0 -343
  888. package/dist/workerHelper-86e37deb.js +0 -11
  889. package/dist/xyChart-0673158d.js +0 -3335
@@ -0,0 +1,1707 @@
1
+ import { s as de, t as H, o as le, M as fe, d as _e } from "./LabelMetric-a3f892e4.js";
2
+ import { a as pe, n as me, b as m, c as ye, l as ge, s as be, k as xe, f as I } from "./UpdateTracking2D-881e1d79.js";
3
+ import { gY as W, B as A, bz as Ie, W as w, s as S, eG as we, jM as Se, X as Te, bV as ve, bZ as Ee, Y as Ae, u as Me, eT as Ce, an as k, aG as ze, by as Fe, aK as $e, bR as De, aO as b, ap as Be, c7 as Re, jN as Oe, a1 as Ve } from "./index-a450f76b.js";
4
+ import { p as Pe } from "./labelUtils-17e6e19c.js";
5
+ import { Z as X } from "./FieldsIndex-fd635f39.js";
6
+ import { m as M, n as J, a as q } from "./TimeOnly-40ea9bb9.js";
7
+ import { b as Ge, v as je, t as ke, n as Ne } from "./timeSupport-2eb266be.js";
8
+ import { r as O, p as K } from "./featureConversionUtils-8635d4bd.js";
9
+ import { e as C, t as We } from "./OptimizedGeometry-3b808152.js";
10
+ import { m as Le } from "./diffUtils-cccaeaa2.js";
11
+ import { l as V } from "./highlightReasons-23d6c956.js";
12
+ import { b as Ue, M as P } from "./definitions-a00a3a6c.js";
13
+ import { U as z } from "./enums-2c166c09.js";
14
+ const Ye = 1.25;
15
+ let D = class {
16
+ get length() {
17
+ return this._pos;
18
+ }
19
+ constructor(e, t) {
20
+ this._pos = 0;
21
+ const r = t ? this._roundToNearest(t, e.BYTES_PER_ELEMENT) : 40;
22
+ this._array = new ArrayBuffer(r), this._buffer = new e(this._array), this._ctor = e, this._i16View = new Int16Array(this._array);
23
+ }
24
+ _roundToNearest(e, t) {
25
+ const r = Math.round(e);
26
+ return t === 1 ? r : r + (t - r % t);
27
+ }
28
+ _ensureSize(e) {
29
+ if (this._pos + e >= this._buffer.length) {
30
+ const t = this._roundToNearest((this._array.byteLength + e * this._buffer.BYTES_PER_ELEMENT) * Ye, this._buffer.BYTES_PER_ELEMENT), r = new ArrayBuffer(t), s = new this._ctor(r);
31
+ s.set(this._buffer, 0), this._array = r, this._buffer = s, this._i16View = new Int16Array(this._array);
32
+ }
33
+ }
34
+ ensureSize(e) {
35
+ this._ensureSize(e);
36
+ }
37
+ writeF32(e) {
38
+ this._ensureSize(1);
39
+ const t = this._pos;
40
+ return new Float32Array(this._array, 4 * this._pos, 1)[0] = e, this._pos++, t;
41
+ }
42
+ push(e) {
43
+ this._ensureSize(1);
44
+ const t = this._pos;
45
+ return this._buffer[this._pos++] = e, t;
46
+ }
47
+ writeFixed(e) {
48
+ this._buffer[this._pos++] = e;
49
+ }
50
+ setValue(e, t) {
51
+ this._buffer[e] = t;
52
+ }
53
+ i1616Add(e, t, r) {
54
+ this._i16View[2 * e] += t, this._i16View[2 * e + 1] += r;
55
+ }
56
+ getValue(e) {
57
+ return this._buffer[e];
58
+ }
59
+ getValueF32(e) {
60
+ return new Float32Array(this._array, 4 * e, 1)[0];
61
+ }
62
+ incr(e) {
63
+ if (this._buffer.length < e)
64
+ throw new Error("Increment index overflows the target buffer");
65
+ this._buffer[e]++;
66
+ }
67
+ decr(e) {
68
+ this._buffer[e]--;
69
+ }
70
+ writeRegion(e) {
71
+ this._ensureSize(e.length);
72
+ const t = this._pos;
73
+ return this._buffer.set(e, this._pos), this._pos += e.length, t;
74
+ }
75
+ writeManyFrom(e, t, r) {
76
+ this._ensureSize(r - t);
77
+ for (let s = t; s !== r; s++)
78
+ this.writeFixed(e._buffer[s]);
79
+ }
80
+ buffer() {
81
+ const e = this._array.slice(0, 4 * this._pos);
82
+ return this.destroy(), e;
83
+ }
84
+ toArray() {
85
+ return [...this._buffer];
86
+ }
87
+ seek(e) {
88
+ this._pos = e;
89
+ }
90
+ destroy() {
91
+ this._array = null, this._buffer = null;
92
+ }
93
+ };
94
+ const Ze = 6, He = 4;
95
+ let Xe = class {
96
+ constructor(e, t, r, s = 0) {
97
+ const i = Ze * s * Uint32Array.BYTES_PER_ELEMENT, n = He * s * r, o = r / 4, h = t.attributes.find((d) => d.name === "pos" || d.name === "position");
98
+ if (!h)
99
+ throw new Error("InternalError: Unable to find position attribute");
100
+ this.layout = { ...t, position: h }, this._indices = new D(Uint32Array, i), this._vertices = new D(Uint32Array, n), this._metrics = new D(Uint32Array, 0), this._metricCountOffset = this._metrics.push(0), this._strideInt = o, this._instanceId = e;
101
+ }
102
+ serialize(e) {
103
+ const t = this._indices.buffer(), r = this._vertices.buffer(), s = this._metrics.length ? this._metrics.buffer() : null;
104
+ return e.push(t, r), { instanceId: this._instanceId, layout: this.layout, indices: t, vertices: r, metrics: s };
105
+ }
106
+ get strideInt() {
107
+ return this._strideInt;
108
+ }
109
+ get vertexCount() {
110
+ return this._vertices.length / this._strideInt;
111
+ }
112
+ get indexCount() {
113
+ return this._indices.length;
114
+ }
115
+ get indexWriter() {
116
+ return this._indices;
117
+ }
118
+ get vertexWriter() {
119
+ return this._vertices;
120
+ }
121
+ get metricWriter() {
122
+ return this._metrics;
123
+ }
124
+ vertexEnsureSize(e) {
125
+ this._vertices.ensureSize(e);
126
+ }
127
+ indexEnsureSize(e) {
128
+ this._indices.ensureSize(e);
129
+ }
130
+ writeIndex(e) {
131
+ this._indices.push(e);
132
+ }
133
+ writeVertex(e) {
134
+ this._vertices.push(e);
135
+ }
136
+ writeVertexRegion(e) {
137
+ this._vertices.writeRegion(e);
138
+ }
139
+ writeVertexF32(e) {
140
+ this._vertices.writeF32(e);
141
+ }
142
+ writeMetric(e) {
143
+ this._metrics.incr(this._metricCountOffset), e.serialize(this._metrics);
144
+ }
145
+ }, Zt = class {
146
+ constructor(e, t = 0) {
147
+ this._id = e, this._sizeHint = t, this._entityRecordCountOffset = 0, this._entityCountOffset = 0, this._entityIdIndex = 0, this._entitySortKeyIndex = 0, this._instanceIdToVertexData = /* @__PURE__ */ new Map(), this._recordIndexStart = 0, this._recordIndexCount = 0, this._recordVertexStart = 0, this._recordVertexCount = 0, this._current = { metric: null, writer: null, start: 0, sortKey: 0, instanceId: 0, layoutHash: 0, indexStart: 0, vertexStart: 0, textureKey: 0, metricBoxLenPointer: 0 }, this._entities = new D(Uint32Array, this._sizeHint * de.byteSizeHint), this._entityCountOffset = this._entities.push(0);
148
+ }
149
+ get id() {
150
+ return this._id;
151
+ }
152
+ serialize() {
153
+ const e = new Array(), t = [], r = this._entities.buffer();
154
+ for (const s of this._instanceIdToVertexData.values())
155
+ t.push(s.serialize(e));
156
+ return { message: { data: t, entities: r }, transferList: e };
157
+ }
158
+ vertexCount() {
159
+ var e;
160
+ return ((e = this._current.writer) == null ? void 0 : e.vertexCount) ?? 0;
161
+ }
162
+ indexCount() {
163
+ var e;
164
+ return ((e = this._current.writer) == null ? void 0 : e.indexCount) ?? 0;
165
+ }
166
+ vertexEnsureSize(e) {
167
+ this._current.writer.vertexEnsureSize(e);
168
+ }
169
+ indexEnsureSize(e) {
170
+ this._current.writer.indexEnsureSize(e);
171
+ }
172
+ vertexWrite(e) {
173
+ this._current.writer.writeVertex(e);
174
+ }
175
+ vertexWriteRegion(e) {
176
+ this._current.writer.writeVertexRegion(e);
177
+ }
178
+ vertexWriteF32(e) {
179
+ this._current.writer.writeVertexF32(e);
180
+ }
181
+ recordBounds(e, t, r, s) {
182
+ }
183
+ indexWrite(e) {
184
+ this._current.writer.writeIndex(e);
185
+ }
186
+ metricStart(e) {
187
+ this._current.metric = e;
188
+ }
189
+ metricEnd() {
190
+ const e = this._current.writer;
191
+ this._current.metric.bounds.length && e.writeMetric(this._current.metric);
192
+ }
193
+ metricBoxWrite(e) {
194
+ this._current.metric.bounds.push(e);
195
+ }
196
+ entityStart(e, t = e) {
197
+ this._entityIdIndex = this._entities.push(e), this._entitySortKeyIndex = this._entities.writeF32(t), this._entityRecordCountOffset = this._entities.push(0);
198
+ }
199
+ entityRecordCount() {
200
+ return this._entities.getValue(this._entityRecordCountOffset);
201
+ }
202
+ entityEnd() {
203
+ this.entityRecordCount() === 0 ? this._entities.seek(this._entityIdIndex) : this._entities.incr(this._entityCountOffset);
204
+ }
205
+ recordCount() {
206
+ return this._entities.getValue(this._entityRecordCountOffset);
207
+ }
208
+ recordStart(e, t, r = 0) {
209
+ this._current.writer = this._getVertexWriter(e, t), this._current.indexStart = this._current.writer.indexCount, this._current.vertexStart = this._current.writer.vertexCount, this._current.instanceId = e, this._current.layoutHash = t.hash, this._current.textureKey = r;
210
+ }
211
+ recordEnd(e = 0) {
212
+ const t = this._current.vertexStart, r = this._current.writer.vertexCount - t;
213
+ if (!r)
214
+ return !1;
215
+ const s = this._current.indexStart, i = this._current.writer.indexCount - s;
216
+ return this._recordIndexStart = s, this._recordIndexCount = i, this._recordVertexStart = t, this._recordVertexCount = r, this._entities.incr(this._entityRecordCountOffset), H.write(this._entities, this._current.instanceId, this._current.textureKey, s, i, t, r, e), !0;
217
+ }
218
+ copyLast(e, t) {
219
+ const r = this._recordVertexStart + this._recordVertexCount;
220
+ this._entities.incr(this._entityRecordCountOffset), H.write(this._entities, this._current.instanceId, this._current.textureKey, this._recordIndexStart + this._recordIndexCount, this._recordIndexCount, r, this._recordVertexCount, 0);
221
+ const s = this._current.writer.indexWriter, i = this._current.writer.vertexWriter, n = this._recordIndexStart + this._recordIndexCount, o = this._recordVertexCount;
222
+ for (let p = this._recordIndexStart; p !== n; p++) {
223
+ const _ = s.getValue(p);
224
+ s.push(_ + o);
225
+ }
226
+ const h = this._current.writer.layout.stride / Uint32Array.BYTES_PER_ELEMENT, d = this._recordVertexStart * h, u = (this._recordVertexStart + this._recordVertexCount) * h;
227
+ for (let p = d; p !== u; p++) {
228
+ const _ = i.getValue(p);
229
+ i.push(_);
230
+ }
231
+ const c = this._current.writer.layout.position, l = c.packPrecisionFactor ?? 1, y = c.offset / Uint32Array.BYTES_PER_ELEMENT, f = e * l, g = t * l;
232
+ for (let p = r * h; p <= i.length; p += h)
233
+ i.i1616Add(p + y, f, g);
234
+ this.recordEnd();
235
+ }
236
+ copyLastFrom(e, t, r) {
237
+ const s = e._entities.getValue(e._entityIdIndex);
238
+ if (s !== this._entities.getValue(this._entityIdIndex)) {
239
+ const _ = e._entities.getValueF32(e._entitySortKeyIndex);
240
+ this.entityStart(s, _);
241
+ }
242
+ this.recordStart(e._current.instanceId, e._current.writer.layout, e._current.textureKey);
243
+ const i = this._current.writer.layout.stride / Uint32Array.BYTES_PER_ELEMENT, n = this._current.vertexStart, o = e._current.vertexStart - n, h = this._current.writer.indexWriter, d = this._current.writer.vertexWriter, u = e._current.writer.indexWriter, c = e._current.writer.vertexWriter;
244
+ for (let _ = e._current.indexStart; _ !== u.length; _++) {
245
+ const T = u.getValue(_);
246
+ h.push(T - o);
247
+ }
248
+ for (let _ = e._current.vertexStart * i; _ !== c.length; _++) {
249
+ const T = c.getValue(_);
250
+ d.push(T);
251
+ }
252
+ const l = this._current.writer.layout.position, y = l.packPrecisionFactor ?? 1, f = l.offset / Uint32Array.BYTES_PER_ELEMENT, g = t * y, p = r * y;
253
+ for (let _ = n * i; _ <= d.length; _ += i)
254
+ d.i1616Add(_ + f, g, p);
255
+ this.recordEnd();
256
+ }
257
+ _getVertexWriter(e, t) {
258
+ const { stride: r } = t, s = this._instanceIdToVertexData;
259
+ return s.has(e) || s.set(e, new Xe(e, t, r, this._sizeHint)), s.get(e);
260
+ }
261
+ };
262
+ function Je(a, e) {
263
+ let t;
264
+ if (typeof a == "string")
265
+ t = W(a + `-seed(${e})`);
266
+ else {
267
+ let r = 12;
268
+ t = a ^ e;
269
+ do
270
+ t = 107 * (t >> 8 ^ t) + r | 0;
271
+ while (--r != 0);
272
+ }
273
+ return (1 + t / (1 << 31)) / 2;
274
+ }
275
+ function qe(a) {
276
+ return Math.floor(Je(a, Ke) * Qe);
277
+ }
278
+ const Ke = 53290320, Qe = 10;
279
+ let E = class {
280
+ destroy() {
281
+ }
282
+ }, et = class extends E {
283
+ constructor(e) {
284
+ super(), this._value = e;
285
+ }
286
+ resize(e) {
287
+ }
288
+ read(e, t) {
289
+ return this._value;
290
+ }
291
+ readWithDefault(e, t, r) {
292
+ return this._value;
293
+ }
294
+ referencesScale() {
295
+ return !1;
296
+ }
297
+ referencesGeometry() {
298
+ return !1;
299
+ }
300
+ };
301
+ const tt = () => S.getLogger("esri.views.2d.engine.webgl.shaderGraph.techniques.mesh.MeshWriterInputEvaluator");
302
+ async function F(a, e, t = !1) {
303
+ const { defaultValue: r, valueExpressionInfo: s, value: i } = e;
304
+ if (s) {
305
+ const { expression: n } = s, o = await a.createComputedField({ expression: n }, t);
306
+ return o ? { ...e, computed: o, defaultValue: r } : null;
307
+ }
308
+ return { ...e, computed: new et(i), defaultValue: r };
309
+ }
310
+ async function Q(a, e) {
311
+ const { defaultValue: t, valueExpressionInfo: r } = e, { expression: s } = r, i = await a.createComputedField({ expression: s });
312
+ return i ? { ...e, computed: i, defaultValue: t } : null;
313
+ }
314
+ const ie = (a) => typeof a != "boolean" && typeof a != "number" && "valueExpressionInfo" in a, rt = (a) => a.some((e) => {
315
+ for (const t in e) {
316
+ const r = e[t];
317
+ if (ie(r))
318
+ return !0;
319
+ }
320
+ return !1;
321
+ });
322
+ let st = class ne {
323
+ static async create(e, t, r) {
324
+ const s = {}, i = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map();
325
+ for (const u in r.params) {
326
+ const c = r.params[u];
327
+ if (c != null && typeof c == "object")
328
+ if (Array.isArray(c)) {
329
+ if (typeof c[0] == "object")
330
+ throw new Error(`InternalError: Cannot handle ${u}. Nested array params are not supported`);
331
+ s[u] = c;
332
+ } else if ("valueExpressionInfo" in c) {
333
+ if (c.value) {
334
+ s[u] = c.value;
335
+ continue;
336
+ }
337
+ const l = await Q(e, c);
338
+ if (!l) {
339
+ s[u] = c.defaultValue;
340
+ continue;
341
+ }
342
+ i.set(u, l), s[u] = null;
343
+ } else
344
+ switch (c.type) {
345
+ case "cim-effect-infos":
346
+ if (c.effectInfos.some((l) => l.overrides.length)) {
347
+ n.set(u, { effects: await Promise.all(c.effectInfos.map(async (l) => {
348
+ const y = l.overrides.map((f) => F(e, f));
349
+ return { effect: l.effect, compiledOverrides: (await Promise.all(y)).filter(A) };
350
+ })) });
351
+ break;
352
+ }
353
+ s[u] = c.effectInfos.map((l) => l.effect);
354
+ break;
355
+ case "cim-marker-placement-info":
356
+ c.overrides.length && o.set(u, { placementInfo: c, compiledOverrides: (await Promise.all(c.overrides.map((l) => F(e, l)))).filter(A) }), s[u] = c.placement;
357
+ break;
358
+ case "text-rasterization-param": {
359
+ if (c.overrides.length) {
360
+ const y = c.overrides.map((f) => F(e, f, c.useLegacyLabelEvaluationRules));
361
+ h.set(u, { compiledOverrides: (await Promise.all(y)).filter(A), rasterizationParam: c, objectIdToResourceId: /* @__PURE__ */ new Map() });
362
+ continue;
363
+ }
364
+ const l = { type: "cim-rasterization-info", resource: c.resource };
365
+ s[u] = await t.fetchResourceImmediate(l) ?? null;
366
+ break;
367
+ }
368
+ case "sprite-rasterization-param": {
369
+ if (c.overrides.length) {
370
+ const y = c.overrides.map((f) => F(e, f));
371
+ h.set(u, { compiledOverrides: (await Promise.all(y)).filter(A), rasterizationParam: c, objectIdToResourceId: /* @__PURE__ */ new Map() });
372
+ continue;
373
+ }
374
+ if (c.resource.type === "animated") {
375
+ h.set(u, { compiledOverrides: [], rasterizationParam: c, objectIdToResourceId: /* @__PURE__ */ new Map() });
376
+ continue;
377
+ }
378
+ const l = { type: "cim-rasterization-info", resource: c.resource };
379
+ s[u] = await t.fetchResourceImmediate(l) ?? null;
380
+ break;
381
+ }
382
+ case "cim-marker-transform-param": {
383
+ const { params: l } = c;
384
+ if (rt(l)) {
385
+ const y = { compiledMarkerInfos: [] };
386
+ await Promise.all(l.map(async (f) => {
387
+ const g = { props: {} };
388
+ for (const p in f)
389
+ if (ie(f[p])) {
390
+ const _ = await Q(e, f[p]);
391
+ g.compiledExpressionMap || (g.compiledExpressionMap = /* @__PURE__ */ new Map());
392
+ const T = g.compiledExpressionMap;
393
+ _ && T.set(p, _);
394
+ } else
395
+ g.props[p] = f[p];
396
+ y.compiledMarkerInfos.push(g);
397
+ })), d.set(u, y);
398
+ } else
399
+ s[u] = { type: "cim-marker-transform-info", infos: l };
400
+ break;
401
+ }
402
+ default:
403
+ s[u] = c;
404
+ }
405
+ else
406
+ s[u] = c;
407
+ }
408
+ return new ne(r, s, i, n, o, h, d);
409
+ }
410
+ constructor(e, t, r, s, i, n, o) {
411
+ this.inputMeshParams = e, this._resolvedMeshParams = t, this._dynamicProperties = r, this._dynamicEffectProperties = s, this._dynamicPlacementProperties = i, this._dynamicAsyncProperties = n, this._dynamicTransformProperties = o, this.evaluator = (h) => h;
412
+ }
413
+ get hasDynamicProperties() {
414
+ return !!(this._dynamicProperties.size || this._dynamicAsyncProperties.size || this._dynamicEffectProperties.size || this._dynamicTransformProperties.size || this._dynamicPlacementProperties.size);
415
+ }
416
+ get evaluatedMeshParams() {
417
+ return this._evaluatedMeshParams || (this._evaluatedMeshParams = this.evaluator(this._resolvedMeshParams)), this._evaluatedMeshParams;
418
+ }
419
+ enqueueRequest(e, t, r) {
420
+ for (const s of this._dynamicAsyncProperties.values()) {
421
+ const i = Ie(s.rasterizationParam.resource);
422
+ s.rasterizationParam.resource.type === "animated" && s.rasterizationParam.resource.randomizeStartTime && (i.primitiveName = "__RESERVED__PRIMITIVE__NAME__", i.startGroup = qe(t.getObjectId() || 0));
423
+ for (const { primitiveName: o, propertyName: h, computed: d, defaultValue: u, valueExpressionInfo: c } of s.compiledOverrides)
424
+ try {
425
+ const l = s.rasterizationParam.resource.type === "animated" ? i.primitiveName : o;
426
+ le(i, l, h, d, t, r, u);
427
+ } catch (l) {
428
+ tt().errorOnce(new w("invalid-arcade-expression", `Encountered an error when evaluating the arcade expression '${c == null ? void 0 : c.expression}' (primitive: '${o}', property: '${h}')`, l));
429
+ }
430
+ const n = e.enqueueRequest({ type: "cim-rasterization-info", resource: i });
431
+ s.objectIdToResourceId.set(t.getObjectId(), n);
432
+ }
433
+ }
434
+ evaluateMeshParams(e, t, r) {
435
+ for (const [s, i] of this._dynamicProperties.entries())
436
+ this._resolvedMeshParams[s] = i.computed.readWithDefault(t, r, i.defaultValue);
437
+ for (const [s, i] of this._dynamicPlacementProperties.entries())
438
+ for (const { computed: n, defaultValue: o, propertyName: h } of i.compiledOverrides) {
439
+ const d = n.readWithDefault(t, r, o);
440
+ i.placementInfo.placement[h] = d, this._resolvedMeshParams[s] = i.placementInfo.placement;
441
+ }
442
+ for (const [s, i] of this._dynamicEffectProperties.entries())
443
+ for (const n of i.effects) {
444
+ for (const { computed: o, defaultValue: h, propertyName: d } of n.compiledOverrides) {
445
+ const u = o.readWithDefault(t, r, h);
446
+ n.effect[d] = u;
447
+ }
448
+ this._resolvedMeshParams[s] = i.effects.map((o) => o.effect);
449
+ }
450
+ for (const [s, i] of this._dynamicTransformProperties.entries()) {
451
+ const n = { type: "cim-marker-transform-info", infos: [] };
452
+ for (const o of i.compiledMarkerInfos) {
453
+ const h = { ...o.props };
454
+ if (o.compiledExpressionMap)
455
+ for (const [d, u] of o.compiledExpressionMap) {
456
+ const c = u.computed.readWithDefault(t, r, u.defaultValue);
457
+ h[d] = typeof c == "number" || typeof c == "boolean" ? c : u.defaultValue;
458
+ }
459
+ n.infos.push(h);
460
+ }
461
+ this._resolvedMeshParams[s] = n;
462
+ }
463
+ for (const [s, i] of this._dynamicAsyncProperties.entries()) {
464
+ const n = i.objectIdToResourceId.get(t.getObjectId());
465
+ if (n == null)
466
+ continue;
467
+ const o = e.getResource(n);
468
+ this._resolvedMeshParams[s] = o;
469
+ }
470
+ return this._evaluatedMeshParams = this.evaluator(this._resolvedMeshParams), this.evaluatedMeshParams;
471
+ }
472
+ };
473
+ async function it(a, e, t, r, s, i, n) {
474
+ const o = pe[t], h = await st.create(a, e, s), d = new o.constructor(r, h, i, n);
475
+ return await d.loadDependencies(), d;
476
+ }
477
+ async function qt(a, e, t, r) {
478
+ return Promise.all(t.map((s) => it(a, e, s.meshWriterName, me(s.id), s.options, r, s.optionalAttributes)));
479
+ }
480
+ let nt = class {
481
+ }, Qt = class extends nt {
482
+ constructor(e) {
483
+ super(), this._fetcher = e, this._controller = new AbortController(), this._pendingIds = /* @__PURE__ */ new Set(), this._pendingRequests = [], this._resourceIdToResource = /* @__PURE__ */ new Map();
484
+ }
485
+ destory() {
486
+ this._controller.abort();
487
+ }
488
+ get _abortOptions() {
489
+ return { signal: this._controller.signal };
490
+ }
491
+ enqueueRequest(e) {
492
+ const t = fe(e.resource), r = W(JSON.stringify(t));
493
+ return this._pendingIds.has(r) || (this._pendingIds.add(r), this._pendingRequests.push({ ...e, resourceId: r })), r;
494
+ }
495
+ async fetchEnqueuedResources() {
496
+ const e = this._pendingRequests;
497
+ this._pendingIds.clear(), this._pendingRequests = [];
498
+ const t = await this._fetcher.fetch(e, this._abortOptions);
499
+ for (let r = 0; r < t.length; r++) {
500
+ const s = e[r].resourceId;
501
+ this._resourceIdToResource.set(s, t[r]);
502
+ }
503
+ }
504
+ async fetchResourceImmediate(e) {
505
+ const t = await this._fetcher.fetch([e], this._abortOptions);
506
+ if (t.length !== 1)
507
+ throw new Error("FeaturePipelineResourceProxy: failed to fetch resources");
508
+ return t[0];
509
+ }
510
+ async fetchDictionaryResourceImmediate(e) {
511
+ const t = await this._fetcher.fetchDictionary([e], this._abortOptions);
512
+ if (t.length !== 1)
513
+ throw new Error("FeaturePipelineResourceProxy: failed to fetch dictionary resources");
514
+ return t[0];
515
+ }
516
+ getResource(e) {
517
+ return this._resourceIdToResource.get(e);
518
+ }
519
+ }, at = class extends E {
520
+ constructor(e) {
521
+ super(), this._field = e;
522
+ }
523
+ resize(e) {
524
+ throw new Error("Method not implemented.");
525
+ }
526
+ read(e, t) {
527
+ return e.readAttribute(this._field);
528
+ }
529
+ readWithDefault(e, t) {
530
+ return e.readAttribute(this._field);
531
+ }
532
+ referencesScale() {
533
+ return !1;
534
+ }
535
+ referencesGeometry() {
536
+ return !1;
537
+ }
538
+ };
539
+ function ee(a, e, t) {
540
+ var s;
541
+ if (a == null)
542
+ return null;
543
+ const r = e.readArcadeFeature();
544
+ e.contextTimeZone = (s = t.$view) == null ? void 0 : s.timeZone;
545
+ try {
546
+ return a.evaluate({ ...t, $feature: r }, a.services);
547
+ } catch (i) {
548
+ return S.getLogger("esri.views.2d.support.arcadeOnDemand").warn("Feature arcade evaluation failed:", i), null;
549
+ }
550
+ }
551
+ function ae(a) {
552
+ return a == null || a === 1 / 0 || a === -1 / 0 || typeof a == "number" && isNaN(a);
553
+ }
554
+ function te(a, e, t, r) {
555
+ var n;
556
+ if (a == null)
557
+ return r ?? null;
558
+ const s = e.readArcadeFeature();
559
+ e.contextTimeZone = (n = t.$view) == null ? void 0 : n.timeZone;
560
+ const i = a.evaluate({ ...t, $feature: s }, a.services);
561
+ return ae(i) ? r ?? null : i;
562
+ }
563
+ let ot = class oe extends E {
564
+ static async create(e, t) {
565
+ const r = await we(e, t.spatialReference, t.fields), s = W(e);
566
+ return new oe(r, s);
567
+ }
568
+ constructor(e, t) {
569
+ super(), this._compiled = e, this._cacheKey = t;
570
+ }
571
+ resize(e) {
572
+ }
573
+ read(e, t) {
574
+ return this.referencesScale() || t.$view.timeZone !== "system" ? ee(this._compiled, e, t) : this._readCached(e, t);
575
+ }
576
+ readWithDefault(e, t, r) {
577
+ return this.referencesScale() || t.$view.timeZone !== "system" ? te(this._compiled, e, t, r) : this._readWithDefaultCached(e, t, r);
578
+ }
579
+ referencesScale() {
580
+ var e;
581
+ return ((e = this._compiled) == null ? void 0 : e.referencesScale()) ?? !1;
582
+ }
583
+ referencesGeometry() {
584
+ var e;
585
+ return ((e = this._compiled) == null ? void 0 : e.referencesGeometry()) ?? !1;
586
+ }
587
+ _readCached(e, t) {
588
+ if (e.setCache(this._cacheKey), e.hasCachedValue())
589
+ return e.getCachedValue();
590
+ const r = ee(this._compiled, e, t);
591
+ return e.setCachedValue(r), r;
592
+ }
593
+ _readWithDefaultCached(e, t, r) {
594
+ if (e.setCache(this._cacheKey), e.hasCachedValue())
595
+ return e.getCachedValue();
596
+ const s = te(this._compiled, e, t, r);
597
+ return e.setCachedValue(s), s;
598
+ }
599
+ };
600
+ function ht(a, e) {
601
+ if (a == null)
602
+ return "";
603
+ const t = e.domain;
604
+ if (t) {
605
+ if (t.type === "codedValue" || t.type === "coded-value") {
606
+ const s = a;
607
+ for (const i of t.codedValues)
608
+ if (i.code === s)
609
+ return i.name;
610
+ } else if (t.type === "range") {
611
+ const { max: s, min: i } = Se(e), n = +a;
612
+ if (i != null && s != null && i <= n && n <= s)
613
+ return t.name;
614
+ }
615
+ }
616
+ let r = a;
617
+ return Te(e) ? r = ve(r, Ee("short-date")) : Ae(e) && (r = Me(+r)), r || "";
618
+ }
619
+ let ct = class he extends E {
620
+ static async create(e, t) {
621
+ const r = Pe(e);
622
+ return new he((s) => r.replaceAll(/{[^}]*}/g, (i) => {
623
+ const n = i.slice(1, -1), o = s.metadata.fieldsIndex.get(n);
624
+ if (o == null)
625
+ return i;
626
+ const h = s.readAttribute(n);
627
+ return h == null ? "" : ht(h, o);
628
+ }));
629
+ }
630
+ constructor(e) {
631
+ super(), this._evaluator = e;
632
+ }
633
+ resize(e) {
634
+ }
635
+ read(e, t) {
636
+ return this._evaluator(e);
637
+ }
638
+ readWithDefault(e, t, r) {
639
+ const s = this._evaluator(e);
640
+ return ae(s) ? r : s;
641
+ }
642
+ referencesScale() {
643
+ return !1;
644
+ }
645
+ referencesGeometry() {
646
+ return !1;
647
+ }
648
+ };
649
+ class ut extends E {
650
+ constructor(e, t) {
651
+ super(), this._field = e, this._normalizationInfo = t;
652
+ }
653
+ resize(e) {
654
+ throw new Error("Method not implemented.");
655
+ }
656
+ read(e, t) {
657
+ return this._readNormalized(e);
658
+ }
659
+ readWithDefault(e, t) {
660
+ return this._readNormalized(e);
661
+ }
662
+ referencesScale() {
663
+ return !1;
664
+ }
665
+ referencesGeometry() {
666
+ return !1;
667
+ }
668
+ _readNormalized(e) {
669
+ const t = e.readAttribute(this._field);
670
+ if (t == null)
671
+ return null;
672
+ const { normalizationField: r, normalizationTotal: s, normalizationType: i } = this._normalizationInfo, n = e.readAttribute(r);
673
+ switch (i ?? "esriNormalizeByField") {
674
+ case "esriNormalizeByField":
675
+ return n ? n ? t / n : void 0 : null;
676
+ case "esriNormalizeByLog":
677
+ return Math.log(t) * Math.LOG10E;
678
+ case "esriNormalizeByPercentOfTotal":
679
+ return s ? t / s * 100 : null;
680
+ }
681
+ }
682
+ }
683
+ let L = class B {
684
+ static fromBuffer(e, t) {
685
+ return new B(e, t);
686
+ }
687
+ static create(e, t = 4294967295) {
688
+ const r = new Uint32Array(Math.ceil(e / 32));
689
+ return new B(r, t);
690
+ }
691
+ constructor(e, t) {
692
+ this._mask = 0, this._buf = e, this._mask = t;
693
+ }
694
+ _getIndex(e) {
695
+ return Math.floor(e / 32);
696
+ }
697
+ has(e) {
698
+ const t = this._mask & e;
699
+ return !!(this._buf[this._getIndex(t)] & 1 << t % 32);
700
+ }
701
+ hasRange(e, t) {
702
+ let r = e, s = t;
703
+ for (; r % 32 && r !== s; ) {
704
+ if (this.has(r))
705
+ return !0;
706
+ r++;
707
+ }
708
+ for (; s % 32 && r !== s; ) {
709
+ if (this.has(r))
710
+ return !0;
711
+ s--;
712
+ }
713
+ if (r === s)
714
+ return !1;
715
+ for (let i = r / 32; i !== s / 32; i++)
716
+ if (this._buf[i])
717
+ return !0;
718
+ return !1;
719
+ }
720
+ set(e) {
721
+ const t = this._mask & e, r = this._getIndex(t), s = 1 << t % 32;
722
+ this._buf[r] |= s;
723
+ }
724
+ setRange(e, t) {
725
+ let r = e, s = t;
726
+ for (; r % 32 && r !== s; )
727
+ this.set(r++);
728
+ for (; s % 32 && r !== s; )
729
+ this.set(s--);
730
+ if (r !== s)
731
+ for (let i = r / 32; i !== s / 32; i++)
732
+ this._buf[i] = 4294967295;
733
+ }
734
+ unset(e) {
735
+ const t = this._mask & e, r = this._getIndex(t), s = 1 << t % 32;
736
+ this._buf[r] &= 4294967295 ^ s;
737
+ }
738
+ resize(e) {
739
+ const t = this._buf, r = new Uint32Array(Math.ceil(e / 32));
740
+ r.set(t), this._buf = r;
741
+ }
742
+ or(e) {
743
+ for (let t = 0; t < this._buf.length; t++)
744
+ this._buf[t] |= e._buf[t];
745
+ return this;
746
+ }
747
+ and(e) {
748
+ for (let t = 0; t < this._buf.length; t++)
749
+ this._buf[t] &= e._buf[t];
750
+ return this;
751
+ }
752
+ xor(e) {
753
+ for (let t = 0; t < this._buf.length; t++)
754
+ this._buf[t] ^= e._buf[t];
755
+ return this;
756
+ }
757
+ ior(e) {
758
+ for (let t = 0; t < this._buf.length; t++)
759
+ this._buf[t] |= ~e._buf[t];
760
+ return this;
761
+ }
762
+ iand(e) {
763
+ for (let t = 0; t < this._buf.length; t++)
764
+ this._buf[t] &= ~e._buf[t];
765
+ return this;
766
+ }
767
+ ixor(e) {
768
+ for (let t = 0; t < this._buf.length; t++)
769
+ this._buf[t] ^= ~e._buf[t];
770
+ return this;
771
+ }
772
+ any() {
773
+ for (let e = 0; e < this._buf.length; e++)
774
+ if (this._buf[e])
775
+ return !0;
776
+ return !1;
777
+ }
778
+ copy(e) {
779
+ for (let t = 0; t < this._buf.length; t++)
780
+ this._buf[t] = e._buf[t];
781
+ return this;
782
+ }
783
+ clone() {
784
+ return new B(this._buf.slice(), this._mask);
785
+ }
786
+ clear() {
787
+ for (let e = 0; e < this._buf.length; e++)
788
+ this._buf[e] = 0;
789
+ return this;
790
+ }
791
+ forEachSet(e) {
792
+ for (let t = 0; t < this._buf.length; t++) {
793
+ let r = this._buf[t], s = 32 * t;
794
+ if (r)
795
+ for (; r; )
796
+ 1 & r && e(s), r >>>= 1, s++;
797
+ }
798
+ }
799
+ countSet() {
800
+ let e = 0;
801
+ return this.forEachSet((t) => {
802
+ e++;
803
+ }), e;
804
+ }
805
+ };
806
+ const G = () => S.getLogger("esri.views.2d.layers.features.support.whereUtils"), dt = { getAttribute: (a, e) => a.readAttribute(e) };
807
+ async function ce(a, e) {
808
+ try {
809
+ const t = await Ce(a, e);
810
+ if (!t.isStandardized) {
811
+ const r = new w("mapview - bad input", "Unable to apply filter's definition expression, as expression is not standardized.", t);
812
+ G().error(r);
813
+ }
814
+ return (r) => {
815
+ const s = r.readArcadeFeature();
816
+ try {
817
+ return t.testFeature(s, dt);
818
+ } catch {
819
+ return G().warn("mapview-bad-where-clause", "Encountered an error when evaluating where clause", a), !0;
820
+ }
821
+ };
822
+ } catch {
823
+ return G().warn("mapview-bad-where-clause", "Encountered an error when evaluating where clause", a), (r) => !0;
824
+ }
825
+ }
826
+ const re = () => S.getLogger("esri.views.2d.layers.features.support.ComputedAttributeStorage"), x = 4294967295;
827
+ function $(a, e, t) {
828
+ if (!(a.length > e))
829
+ for (; a.length <= e; )
830
+ a.push(t);
831
+ }
832
+ let rr = class {
833
+ constructor(e) {
834
+ this._numerics = [], this._strings = [], this._allocatedSize = 256, this._bitsets = [], this._instanceIds = [], this._bounds = [], this._dirtyBitset = this.getBitset(this.createBitset()), this.compilationOptions = e;
835
+ }
836
+ createBitset() {
837
+ const e = this._bitsets.length;
838
+ return this._bitsets.push(L.create(this._allocatedSize, m)), e + 1;
839
+ }
840
+ async createComputedField(e, t = !1) {
841
+ if (e.expression)
842
+ try {
843
+ if (!this.compilationOptions)
844
+ throw new Error("InternalError: Compilation options not defined");
845
+ return t ? ct.create(e.expression, this.compilationOptions) : await ot.create(e.expression, this.compilationOptions);
846
+ } catch (s) {
847
+ const i = new w("featurelayer", "Failed to compile arcade expression", { error: s, expression: e.expression });
848
+ return re().error(i), null;
849
+ }
850
+ if (e.normalizationType || e.normalizationField)
851
+ return new ut(e.field, e);
852
+ if (e.field)
853
+ return new at(e.field);
854
+ const r = new w("featurelayer", "Unable to create computed field. No expression or field found", { info: e });
855
+ return re().error(r), null;
856
+ }
857
+ async createWhereClause(e) {
858
+ return e ? ce(e, this.compilationOptions.fields) : null;
859
+ }
860
+ getBitset(e) {
861
+ return this._bitsets[e - 1];
862
+ }
863
+ getComputedNumeric(e, t) {
864
+ return this.getComputedNumericAtIndex(e & m, 0);
865
+ }
866
+ setComputedNumeric(e, t, r) {
867
+ return this.setComputedNumericAtIndex(e & m, r, 0);
868
+ }
869
+ getComputedString(e, t) {
870
+ return this.getComputedStringAtIndex(e & m, 0);
871
+ }
872
+ setComputedString(e, t, r) {
873
+ return this.setComputedStringAtIndex(e & m, 0, r);
874
+ }
875
+ getComputedNumericAtIndex(e, t) {
876
+ const r = e & m;
877
+ return this._ensureNumeric(t, r), this._numerics[t][r];
878
+ }
879
+ setComputedNumericAtIndex(e, t, r) {
880
+ const s = e & m;
881
+ this._ensureNumeric(t, s), this._numerics[t][s] = r;
882
+ }
883
+ getPackedChunkId(e) {
884
+ const t = e & m;
885
+ return this._ensureInstanceId(t), this._instanceIds[t];
886
+ }
887
+ setPackedChunkId(e, t) {
888
+ const r = e & m;
889
+ this._ensureInstanceId(r), this._instanceIds[r] = t;
890
+ }
891
+ getComputedStringAtIndex(e, t) {
892
+ const r = e & m;
893
+ return this._ensureString(t, r), this._strings[t][r];
894
+ }
895
+ setComputedStringAtIndex(e, t, r) {
896
+ const s = e & m;
897
+ this._ensureString(t, s), this._strings[t][s] = r;
898
+ }
899
+ getXMin(e) {
900
+ return this._bounds[4 * (e & m)];
901
+ }
902
+ getYMin(e) {
903
+ return this._bounds[4 * (e & m) + 1];
904
+ }
905
+ getXMax(e) {
906
+ return this._bounds[4 * (e & m) + 2];
907
+ }
908
+ getYMax(e) {
909
+ return this._bounds[4 * (e & m) + 3];
910
+ }
911
+ setBounds(e, t, r = !1) {
912
+ const s = e & m;
913
+ if (!r && !this._dirtyBitset.has(e))
914
+ return this._bounds[4 * s] !== x;
915
+ this._dirtyBitset.unset(e);
916
+ const i = t.readGeometryWorldSpace();
917
+ if ($(this._bounds, 4 * s + 4, 0), !i || !i.coords.length)
918
+ return this._bounds[4 * s] = x, this._bounds[4 * s + 1] = x, this._bounds[4 * s + 2] = x, this._bounds[4 * s + 3] = x, !1;
919
+ let n = 1 / 0, o = 1 / 0, h = -1 / 0, d = -1 / 0;
920
+ return i.forEachVertex((u, c) => {
921
+ n = Math.min(n, u), o = Math.min(o, c), h = Math.max(h, u), d = Math.max(d, c);
922
+ }), this._bounds[4 * s] = n, this._bounds[4 * s + 1] = o, this._bounds[4 * s + 2] = h, this._bounds[4 * s + 3] = d, !0;
923
+ }
924
+ getBounds(e, t) {
925
+ const r = this.getXMin(t), s = this.getYMin(t), i = this.getXMax(t), n = this.getYMax(t);
926
+ return k(e, r, s, i, n), r !== x;
927
+ }
928
+ _ensureNumeric(e, t) {
929
+ this._numerics[e] || (this._numerics[e] = []), $(this._numerics[e], t, 0);
930
+ }
931
+ _ensureInstanceId(e) {
932
+ $(this._instanceIds, e, 0);
933
+ }
934
+ _ensureString(e, t) {
935
+ this._strings[e] || (this._strings[e] = []), $(this._strings[e], t, null);
936
+ }
937
+ }, N = class {
938
+ getObjectId(e) {
939
+ return e.getObjectId();
940
+ }
941
+ getAttributes(e) {
942
+ return e.readAttributes();
943
+ }
944
+ getAttribute(e, t) {
945
+ return e.readAttribute(t);
946
+ }
947
+ getAttributeAsTimestamp(e, t) {
948
+ return e.readAttributeAsTimestamp(t);
949
+ }
950
+ cloneWithGeometry(e, t) {
951
+ return e;
952
+ }
953
+ getGeometry(e) {
954
+ return e.readGeometryWorldSpace();
955
+ }
956
+ getCentroid(e, t) {
957
+ return e.readCentroidForDisplay();
958
+ }
959
+ };
960
+ N.Shared = new N();
961
+ const v = 1, lt = 2;
962
+ class U {
963
+ constructor(e) {
964
+ this._geometryBounds = ze(), this._idToVisibility = /* @__PURE__ */ new Map(), this._serviceInfo = e;
965
+ }
966
+ static async create(e) {
967
+ const t = new U(e);
968
+ return await t.update(e.filterJSON, e.spatialReference), t;
969
+ }
970
+ get hash() {
971
+ return this._hash;
972
+ }
973
+ check(e) {
974
+ return this._applyFilter(e);
975
+ }
976
+ clear() {
977
+ const e = this._resetAllHiddenIds();
978
+ return this.update(), { show: e, hide: [] };
979
+ }
980
+ invalidate() {
981
+ this._idToVisibility.forEach((e, t) => {
982
+ this._idToVisibility.set(t, 0);
983
+ });
984
+ }
985
+ setKnownIds(e) {
986
+ for (const t of e)
987
+ this._idToVisibility.set(t, v);
988
+ }
989
+ setTrue(e) {
990
+ const t = [], r = [], s = new Set(e);
991
+ return this._idToVisibility.forEach((i, n) => {
992
+ const o = !!(this._idToVisibility.get(n) & v), h = s.has(n);
993
+ !o && h ? t.push(n) : o && !h && r.push(n), this._idToVisibility.set(n, h ? v | lt : 0);
994
+ }), { show: t, hide: r };
995
+ }
996
+ createQuery() {
997
+ const { geometry: e, spatialRel: t, where: r, timeExtent: s, objectIds: i } = this;
998
+ return Fe.fromJSON({ geometry: e, spatialRel: t, where: r, timeExtent: s, objectIds: i });
999
+ }
1000
+ async update(e, t) {
1001
+ this._hash = JSON.stringify(e);
1002
+ const r = await Ge(e, null, t);
1003
+ await Promise.all([this._setGeometryFilter(r), this._setIdFilter(r), this._setAttributeFilter(r), this._setTimeFilter(r)]);
1004
+ }
1005
+ async _setAttributeFilter(e) {
1006
+ if (!(e != null && e.where))
1007
+ return this._clause = null, void (this.where = null);
1008
+ this._clause = await ce(e.where, this._serviceInfo.fieldsIndex), this.where = e.where;
1009
+ }
1010
+ _setIdFilter(e) {
1011
+ this._idsToShow = (e == null ? void 0 : e.objectIds) && new Set(e.objectIds), this._idsToHide = (e == null ? void 0 : e.hiddenIds) && new Set(e.hiddenIds), this.objectIds = e == null ? void 0 : e.objectIds;
1012
+ }
1013
+ async _setGeometryFilter(e) {
1014
+ if (!(e != null && e.geometry))
1015
+ return this._spatialQueryOperator = null, this.geometry = null, void (this.spatialRel = null);
1016
+ const t = e.geometry, r = e.spatialRel || "esriSpatialRelIntersects", s = await je(r, t, this._serviceInfo.geometryType, this._serviceInfo.hasZ, this._serviceInfo.hasM);
1017
+ $e(this._geometryBounds, t), this._spatialQueryOperator = s, this.geometry = t, this.spatialRel = r;
1018
+ }
1019
+ _setTimeFilter(e) {
1020
+ if (this.timeExtent = this._timeOperator = null, e == null ? void 0 : e.timeExtent)
1021
+ if (this._serviceInfo.timeInfo)
1022
+ this.timeExtent = e.timeExtent, this._timeOperator = ke(this._serviceInfo.timeInfo, e.timeExtent, N.Shared);
1023
+ else {
1024
+ const t = new w("feature-layer-view:time-filter-not-available", "Unable to apply time filter, as layer doesn't have time metadata.", e.timeExtent);
1025
+ S.getLogger("esri.views.2d.layers.features.controllers.FeatureFilter").error(t);
1026
+ }
1027
+ }
1028
+ _applyFilter(e) {
1029
+ return this._filterByGeometry(e) && this._filterById(e) && this._filterByTime(e) && this._filterByExpression(e);
1030
+ }
1031
+ _filterByExpression(e) {
1032
+ return !this.where || this._clause(e);
1033
+ }
1034
+ _filterById(e) {
1035
+ var t, r;
1036
+ return (!((t = this._idsToHide) != null && t.size) || !this._idsToHide.has(e.getObjectId())) && (!((r = this._idsToShow) != null && r.size) || this._idsToShow.has(e.getObjectId()));
1037
+ }
1038
+ _filterByGeometry(e) {
1039
+ if (!this.geometry)
1040
+ return !0;
1041
+ const t = e.readGeometryWorldSpace();
1042
+ return !!t && this._spatialQueryOperator(t);
1043
+ }
1044
+ _filterByTime(e) {
1045
+ return this._timeOperator == null || this._timeOperator(e);
1046
+ }
1047
+ _resetAllHiddenIds() {
1048
+ const e = [];
1049
+ return this._idToVisibility.forEach((t, r) => {
1050
+ t & v || (this._idToVisibility.set(r, v), e.push(r));
1051
+ }), e;
1052
+ }
1053
+ }
1054
+ class ft {
1055
+ constructor(e) {
1056
+ this._options = e, this._fieldsIndex = "fieldsIndex" in e ? X.fromJSON(e.fieldsIndex) : new X(e.fields), e.spatialReference && (this._spatialReference = De.fromJSON(e.spatialReference)), this._arcadeSchema = { fields: this.fieldsIndex.fields, fieldsIndex: this.fieldsIndex, geometryType: this.geometryType, objectIdField: this.objectIdField, globalIdField: this._options.globalIdField, spatialReference: this._spatialReference, timeInfo: this._options.timeInfo, typeIdField: this._options.typeIdField ?? void 0, types: this._options.types ?? void 0, subtypeField: this._options.subtypeField, subtypes: this._options.subtypes ?? void 0 };
1057
+ }
1058
+ get fieldsIndex() {
1059
+ return this._fieldsIndex;
1060
+ }
1061
+ get geometryType() {
1062
+ return this._options.geometryType;
1063
+ }
1064
+ get timeInfo() {
1065
+ return this._options.timeInfo;
1066
+ }
1067
+ get objectIdField() {
1068
+ return this._options.objectIdField;
1069
+ }
1070
+ get globalIdField() {
1071
+ return this._options.globalIdField;
1072
+ }
1073
+ get arcadeSchema() {
1074
+ return this._arcadeSchema;
1075
+ }
1076
+ get spatialReference() {
1077
+ return this._spatialReference;
1078
+ }
1079
+ get timeReferenceUnknownClient() {
1080
+ return this._options.timeReferenceUnknownClient;
1081
+ }
1082
+ }
1083
+ let nr = class ue extends ft {
1084
+ static create(e) {
1085
+ return new ue({ fields: [], objectIdField: "uid", geometryType: null, spatialReference: e, globalIdField: null, subtypeField: null, subtypes: null, timeInfo: null, typeIdField: null, types: null, timeReferenceUnknownClient: null });
1086
+ }
1087
+ };
1088
+ class _t {
1089
+ constructor(e) {
1090
+ this._valid = L.create(e), this._data = new Array(e);
1091
+ }
1092
+ has(e) {
1093
+ return this._valid.has(e);
1094
+ }
1095
+ set(e, t) {
1096
+ this._valid.set(e), this._data[e] = t;
1097
+ }
1098
+ get(e) {
1099
+ return this._data[e];
1100
+ }
1101
+ }
1102
+ const R = b("featurelayer-simplify-thresholds") ?? [0.5, 0.5, 0.5, 0.5], pt = R[0], mt = R[1], yt = R[2], gt = R[3], Y = b("featurelayer-simplify-payload-size-factors") ?? [1, 2, 4], bt = Y[0], xt = Y[1], It = Y[2], wt = b("featurelayer-simplify-mobile-factor") ?? 2, St = b("esri-mobile"), se = 4294967295;
1103
+ function Tt(a, e, t) {
1104
+ if (!(a.length > e))
1105
+ for (; a.length <= e; )
1106
+ a.push(t);
1107
+ }
1108
+ class ar {
1109
+ constructor(e) {
1110
+ this.metadata = e, this.type = "FeatureSetReader", this._deleted = null, this._joined = [], this._objectIdToIndex = null, this._boundsBuffer = [], this._caches = /* @__PURE__ */ new Map(), this.arcadeDeclaredClass = "esri.arcade.Feature", this._contextTimeZone = null;
1111
+ }
1112
+ get isEmpty() {
1113
+ return this._deleted != null && this._deleted.countSet() === this.getSize();
1114
+ }
1115
+ getAreaSimplificationThreshold(e, t) {
1116
+ let r = 1;
1117
+ const s = St ? wt : 1;
1118
+ t > 4e6 ? r = It * s : t > 1e6 ? r = xt * s : t > 5e5 ? r = bt * s : t > 1e5 && (r = s);
1119
+ let i = 0;
1120
+ return e > 4e3 ? i = gt * r : e > 2e3 ? i = yt * r : e > 100 ? i = mt : e > 15 && (i = pt), i;
1121
+ }
1122
+ parseTimestampOffset(e) {
1123
+ return e;
1124
+ }
1125
+ getBounds(e) {
1126
+ if (Tt(this._boundsBuffer, 4 * this.getIndex() + 4, 0), this.getBoundsXMin() === se)
1127
+ return !1;
1128
+ if (this.getBoundsXMin() === 0) {
1129
+ const n = this.readGeometryWorldSpace();
1130
+ if (!n)
1131
+ return this.setBoundsXMin(se), !1;
1132
+ let o = 1 / 0, h = 1 / 0, d = -1 / 0, u = -1 / 0;
1133
+ return n.forEachVertex((c, l) => {
1134
+ o = Math.min(o, c), h = Math.min(h, l), d = Math.max(d, c), u = Math.max(u, l);
1135
+ }), this.setBoundsXMin(o), this.setBoundsYMin(h), this.setBoundsXMax(d), this.setBoundsYMax(u), k(e, o, h, d, u), !0;
1136
+ }
1137
+ const t = this.getBoundsXMin(), r = this.getBoundsYMin(), s = this.getBoundsXMax(), i = this.getBoundsYMax();
1138
+ return k(e, t, r, s, i), !0;
1139
+ }
1140
+ getBoundsXMin() {
1141
+ return this._boundsBuffer[4 * this.getIndex()];
1142
+ }
1143
+ setBoundsXMin(e) {
1144
+ this._boundsBuffer[4 * this.getIndex()] = e;
1145
+ }
1146
+ getBoundsYMin() {
1147
+ return this._boundsBuffer[4 * this.getIndex() + 1];
1148
+ }
1149
+ setBoundsYMin(e) {
1150
+ this._boundsBuffer[4 * this.getIndex() + 1] = e;
1151
+ }
1152
+ getBoundsXMax() {
1153
+ return this._boundsBuffer[4 * this.getIndex() + 2];
1154
+ }
1155
+ setBoundsXMax(e) {
1156
+ this._boundsBuffer[4 * this.getIndex() + 2] = e;
1157
+ }
1158
+ getBoundsYMax() {
1159
+ return this._boundsBuffer[4 * this.getIndex() + 3];
1160
+ }
1161
+ setBoundsYMax(e) {
1162
+ this._boundsBuffer[4 * this.getIndex() + 3] = e;
1163
+ }
1164
+ readAttributeAsTimestamp(e) {
1165
+ const t = this.readAttribute(e);
1166
+ return typeof t == "string" ? new Date(t).getTime() : typeof t == "number" || t == null ? t : null;
1167
+ }
1168
+ readAttribute(e, t = !1) {
1169
+ const r = this._readAttribute(e, t);
1170
+ if (r !== void 0)
1171
+ return r;
1172
+ for (const s of this._joined) {
1173
+ s.setIndex(this.getIndex());
1174
+ const i = s._readAttribute(e, t);
1175
+ if (i !== void 0)
1176
+ return i;
1177
+ }
1178
+ }
1179
+ readAttributes() {
1180
+ const e = this._readAttributes();
1181
+ for (const t of this._joined) {
1182
+ t.setIndex(this.getIndex());
1183
+ const r = t._readAttributes();
1184
+ for (const s of Object.keys(r))
1185
+ e[s] = r[s];
1186
+ }
1187
+ return e;
1188
+ }
1189
+ joinAttributes(e) {
1190
+ this._joined.push(e);
1191
+ }
1192
+ removeIds(e) {
1193
+ if (this._objectIdToIndex == null) {
1194
+ const r = /* @__PURE__ */ new Map(), s = this.getCursor();
1195
+ for (; s.next(); ) {
1196
+ const i = s.getObjectId();
1197
+ Be(i), r.set(i, s.getIndex());
1198
+ }
1199
+ this._objectIdToIndex = r;
1200
+ }
1201
+ const t = this._objectIdToIndex;
1202
+ for (const r of e.values())
1203
+ t.has(r) && this._removeAtIndex(t.get(r));
1204
+ }
1205
+ readOptimizedFeatureWorldSpace() {
1206
+ const e = this.readGeometryWorldSpace(), t = this.readAttributes(), r = this.readCentroidWorldSpace(), s = new We(e, t, r);
1207
+ return s.objectId = this.getObjectId(), s.displayId = this.getDisplayId(), s;
1208
+ }
1209
+ readLegacyFeatureForDisplay() {
1210
+ const e = this.readCentroidForDisplay();
1211
+ return { attributes: this.readAttributes(), geometry: this.readLegacyGeometryForDisplay(), centroid: (e && { x: e.coords[0], y: e.coords[1] }) ?? null };
1212
+ }
1213
+ readLegacyFeatureWorldSpace() {
1214
+ const e = this.readCentroidWorldSpace();
1215
+ return { attributes: this.readAttributes(), geometry: this._readLegacyGeometryWorldSpace(), centroid: (e && { x: e.coords[0], y: e.coords[1] }) ?? null };
1216
+ }
1217
+ readLegacyGeometryForDisplay() {
1218
+ const e = this.readGeometryForDisplay();
1219
+ return O(e, this.geometryType, !1, !1);
1220
+ }
1221
+ readXForDisplay() {
1222
+ return this._readX();
1223
+ }
1224
+ readYForDisplay() {
1225
+ return this._readY();
1226
+ }
1227
+ readXWorldSpace() {
1228
+ const e = this._readX(), t = this.getInTransform();
1229
+ return t == null ? e : e * t.scale[0] + t.translate[0];
1230
+ }
1231
+ readYWorldSpace() {
1232
+ const e = this._readY(), t = this.getInTransform();
1233
+ return t == null ? e : t.translate[1] - e * t.scale[1];
1234
+ }
1235
+ readGeometryForDisplay() {
1236
+ const e = this._readGeometryDeltaDecoded(!0);
1237
+ if (!e) {
1238
+ const t = this._createGeometryFromServerCentroid();
1239
+ return t ? t.deltaDecode() : null;
1240
+ }
1241
+ return e;
1242
+ }
1243
+ readGeometryWorldSpace() {
1244
+ let e = this._readGeometry();
1245
+ if (e || (e = this._createGeometryFromServerCentroid()), !e)
1246
+ return null;
1247
+ const t = e.clone(), r = this.getInTransform();
1248
+ return r != null && K(t, t, this.hasZ, this.hasM, r), t;
1249
+ }
1250
+ readCentroidForDisplay() {
1251
+ const e = this.readGeometryForDisplay();
1252
+ return e ? this._computeDisplayCentroid(e) : this._readServerCentroid();
1253
+ }
1254
+ readCentroidWorldSpace() {
1255
+ const e = this.readGeometryForDisplay(), t = e ? this._computeDisplayCentroid(e) : this._readServerCentroid();
1256
+ if (!t)
1257
+ return null;
1258
+ const r = t.clone(), s = this.getInTransform();
1259
+ return s != null && K(r, r, this.hasZ, this.hasM, s), r;
1260
+ }
1261
+ setCache(e) {
1262
+ let t = this._caches.get(e);
1263
+ t == null && (t = new _t(this.getSize()), this._caches.set(e, t)), this._activeCache = t;
1264
+ }
1265
+ setCachedValue(e) {
1266
+ this._activeCache.set(this.getIndex(), e);
1267
+ }
1268
+ hasCachedValue() {
1269
+ return this._activeCache.has(this.getIndex());
1270
+ }
1271
+ getCachedValue() {
1272
+ return this._activeCache.get(this.getIndex());
1273
+ }
1274
+ _readGeometryDeltaDecoded(e) {
1275
+ const t = this._readGeometry(e);
1276
+ return this.geometryType !== "esriGeometryPoint" && t && this.getInTransform() ? t.deltaDecode() : t;
1277
+ }
1278
+ get contextTimeZone() {
1279
+ return this._contextTimeZone;
1280
+ }
1281
+ set contextTimeZone(e) {
1282
+ this._contextTimeZone = e;
1283
+ }
1284
+ readArcadeFeature() {
1285
+ return this;
1286
+ }
1287
+ hasField(e) {
1288
+ return this.fields.has(e) || this._joined.some((t) => t.hasField(e));
1289
+ }
1290
+ geometry() {
1291
+ const e = this.readGeometryWorldSpace(), t = O(e, this.geometryType, this.hasZ, this.hasM), r = Re(t);
1292
+ if (r) {
1293
+ if (!this.metadata.spatialReference)
1294
+ throw new Error("InternalError: Expected spatial reference to be defined");
1295
+ r.spatialReference = this.metadata.spatialReference;
1296
+ }
1297
+ return r;
1298
+ }
1299
+ autocastArcadeDate(e, t) {
1300
+ return t && t instanceof Date ? this.isUnknownDateTimeField(e) ? M.unknownDateJSToArcadeDate(t) : M.dateJSAndZoneToArcadeDate(t, this.contextTimeZone ?? Oe) : t;
1301
+ }
1302
+ isUnknownDateTimeField(e) {
1303
+ return this.metadata.fieldsIndex.getTimeZone(e) === Ve;
1304
+ }
1305
+ field(e) {
1306
+ let t = this.fields.get(e);
1307
+ if (t)
1308
+ switch (t.type) {
1309
+ case "date-only":
1310
+ case "esriFieldTypeDateOnly":
1311
+ return q.fromReader(this.readAttribute(e, !1));
1312
+ case "time-only":
1313
+ case "esriFieldTypeTimeOnly":
1314
+ return J.fromReader(this.readAttribute(e, !1));
1315
+ case "esriFieldTypeTimestampOffset":
1316
+ case "timestamp-offset":
1317
+ return M.fromReaderAsTimeStampOffset(this.readAttribute(e, !1));
1318
+ case "date":
1319
+ case "esriFieldTypeDate":
1320
+ return this.autocastArcadeDate(e, this.readAttribute(e, !0));
1321
+ default:
1322
+ return this.readAttribute(e, !1);
1323
+ }
1324
+ for (const r of this._joined)
1325
+ if (r.setIndex(this.getIndex()), t = r.fields.get(e), t)
1326
+ switch (t.type) {
1327
+ case "date-only":
1328
+ case "esriFieldTypeDateOnly":
1329
+ return q.fromReader(r._readAttribute(e, !1));
1330
+ case "time-only":
1331
+ case "esriFieldTypeTimeOnly":
1332
+ return J.fromReader(r._readAttribute(e, !1));
1333
+ case "esriFieldTypeTimestampOffset":
1334
+ case "timestamp-offset":
1335
+ return M.fromReaderAsTimeStampOffset(r._readAttribute(e, !1));
1336
+ case "date":
1337
+ case "esriFieldTypeDate":
1338
+ return this.autocastArcadeDate(e, r._readAttribute(e, !0));
1339
+ default:
1340
+ return this.readAttribute(e, !1);
1341
+ }
1342
+ throw new Error(`Field ${e} does not exist`);
1343
+ }
1344
+ setField(e, t) {
1345
+ throw new Error("Unable to update feature attribute values, feature is readonly");
1346
+ }
1347
+ keys() {
1348
+ return this.fields.fields.map((e) => e.name);
1349
+ }
1350
+ castToText(e = !1) {
1351
+ if (!e)
1352
+ return JSON.stringify(this.readLegacyFeatureForDisplay());
1353
+ const t = this.readLegacyFeatureForDisplay();
1354
+ if (!t)
1355
+ return JSON.stringify(null);
1356
+ const r = { geometry: t.geometry, attributes: { ...t.attributes ?? {} } };
1357
+ for (const s in r.attributes) {
1358
+ const i = r.attributes[s];
1359
+ i instanceof Date && (r.attributes[s] = i.getTime());
1360
+ }
1361
+ return JSON.stringify(r);
1362
+ }
1363
+ gdbVersion() {
1364
+ return null;
1365
+ }
1366
+ fullSchema() {
1367
+ return this.metadata.arcadeSchema;
1368
+ }
1369
+ castAsJson(e = null) {
1370
+ var t;
1371
+ return { attributes: this._readAttributes(), geometry: (e == null ? void 0 : e.keepGeometryType) === !0 ? this.geometry() : ((t = this.geometry()) == null ? void 0 : t.toJSON()) ?? null };
1372
+ }
1373
+ castAsJsonAsync(e = null, t = null) {
1374
+ return Promise.resolve(this.castAsJson(t));
1375
+ }
1376
+ _getExists() {
1377
+ return this._deleted == null || !this._deleted.has(this.getIndex());
1378
+ }
1379
+ _computeDisplayCentroid(e) {
1380
+ if (this.getInTransform() == null)
1381
+ return Ne(new C(), e, this.hasM, this.hasZ);
1382
+ const t = ye.fromOptimized(e, this.geometryType);
1383
+ t.yFactor *= -1;
1384
+ const r = ge(t);
1385
+ return r ? (r[1] *= -1, new C([], r)) : null;
1386
+ }
1387
+ copyInto(e) {
1388
+ e._joined = this._joined, e._deleted = this._deleted, e._objectIdToIndex = this._objectIdToIndex, e._boundsBuffer = this._boundsBuffer, e._activeCache = this._activeCache, e._caches = this._caches, e._contextTimeZone = this._contextTimeZone;
1389
+ }
1390
+ _readLegacyGeometryWorldSpace() {
1391
+ const e = this.readGeometryWorldSpace();
1392
+ return O(e, this.geometryType, !1, !1);
1393
+ }
1394
+ _createGeometryFromServerCentroid() {
1395
+ const e = this._readServerCentroid();
1396
+ if (!e)
1397
+ return null;
1398
+ const [t, r] = e.coords;
1399
+ return this._createQuantizedExtrudedGeometry(t, r);
1400
+ }
1401
+ _createQuantizedExtrudedGeometry(e, t) {
1402
+ return this.geometryType === "esriGeometryPolyline" ? this._createQuantizedExtrudedLine(e, t) : this._createQuantizedExtrudedQuad(e, t);
1403
+ }
1404
+ _createQuantizedExtrudedQuad(e, t) {
1405
+ return new C([5], [e - 1, t, 1, -1, 1, 1, -1, 1, -1, -1]);
1406
+ }
1407
+ _createQuantizedExtrudedLine(e, t) {
1408
+ return new C([2], [e - 1, t + 1, 1, -1]);
1409
+ }
1410
+ _removeAtIndex(e) {
1411
+ this._deleted == null && (this._deleted = L.create(this.getSize())), this._deleted.set(e);
1412
+ }
1413
+ }
1414
+ const vt = (a, e) => a && ((...t) => e.warn("DEBUG:", ...t)) || (() => null), Et = !1;
1415
+ class At {
1416
+ constructor(e) {
1417
+ this.data = e, this._referenceCount = 0;
1418
+ }
1419
+ increment() {
1420
+ this._referenceCount += 1;
1421
+ }
1422
+ decrement() {
1423
+ this._referenceCount -= 1;
1424
+ }
1425
+ empty() {
1426
+ return this._referenceCount === 0;
1427
+ }
1428
+ }
1429
+ class Mt {
1430
+ constructor() {
1431
+ this._freeIdsGenerationA = [], this._freeIdsGenerationB = [], this._idCounter = 1, this._freeIds = this._freeIdsGenerationA, this._objectIdToDisplayId = /* @__PURE__ */ new Map();
1432
+ }
1433
+ createIdForObjectId(e) {
1434
+ let t = this._objectIdToDisplayId.get(e);
1435
+ return t ? t.increment() : (t = new At(be(this._getFreeId(), !1)), t.increment(), this._objectIdToDisplayId.set(e, t)), t.data;
1436
+ }
1437
+ releaseIdForObjectId(e) {
1438
+ const t = this._objectIdToDisplayId.get(e);
1439
+ t && (t.decrement(), t.empty() && (this._objectIdToDisplayId.delete(e), this._freeIds.push(t.data)));
1440
+ }
1441
+ releaseAll() {
1442
+ for (const e of this._objectIdToDisplayId.values())
1443
+ this._freeIds.push(e.data);
1444
+ this._objectIdToDisplayId.clear();
1445
+ }
1446
+ incrementGeneration() {
1447
+ this._freeIds = this._freeIds === this._freeIdsGenerationA ? this._freeIdsGenerationB : this._freeIdsGenerationA;
1448
+ }
1449
+ _getFreeId() {
1450
+ return this._freeIds.length ? this._freeIds.pop() : this._idCounter++;
1451
+ }
1452
+ }
1453
+ function Ct(a, e) {
1454
+ if (!a || !e)
1455
+ return a;
1456
+ switch (e) {
1457
+ case "radius":
1458
+ case "distance":
1459
+ return 2 * a;
1460
+ case "diameter":
1461
+ case "width":
1462
+ return a;
1463
+ case "area":
1464
+ return Math.sqrt(a);
1465
+ }
1466
+ return a;
1467
+ }
1468
+ const Z = () => S.getLogger("esri.views.layers.2d.features.support.AttributeStore"), j = vt(Et, Z()), zt = { sharedArrayBuffer: b("esri-shared-array-buffer"), atomics: b("esri-atomics") };
1469
+ class Ft {
1470
+ constructor(e, t, r) {
1471
+ this.size = 0, this.texelSize = 4, this.dirtyStart = 0, this.dirtyEnd = 0;
1472
+ const { pixelType: s, layout: i, textureOnly: n } = t;
1473
+ this.textureOnly = n || !1, this.pixelType = s, this.layout = i, this._resetRange(), this.size = e, this.isLocal = r, n || (this.data = this._initData(s, e));
1474
+ }
1475
+ get buffer() {
1476
+ var e;
1477
+ return (e = this.data) == null ? void 0 : e.buffer;
1478
+ }
1479
+ unsetComponentAllTexels(e, t) {
1480
+ const r = this.data;
1481
+ for (let s = 0; s < this.size * this.size; s++)
1482
+ r[s * this.texelSize + e] &= ~t;
1483
+ this.dirtyStart = 0, this.dirtyEnd = this.size * this.size - 1;
1484
+ }
1485
+ setComponentAllTexels(e, t) {
1486
+ const r = this.data;
1487
+ for (let s = 0; s < this.size * this.size; s++)
1488
+ r[s * this.texelSize + e] |= 255 & t;
1489
+ this.dirtyStart = 0, this.dirtyEnd = this.size * this.size - 1;
1490
+ }
1491
+ setComponent(e, t, r) {
1492
+ const s = this.data;
1493
+ for (const i of r)
1494
+ s[i * this.texelSize + e] |= t, this.dirtyStart = Math.min(this.dirtyStart, i), this.dirtyEnd = Math.max(this.dirtyEnd, i);
1495
+ }
1496
+ setComponentTexel(e, t, r) {
1497
+ this.data[r * this.texelSize + e] |= t, this.dirtyStart = Math.min(this.dirtyStart, r), this.dirtyEnd = Math.max(this.dirtyEnd, r);
1498
+ }
1499
+ unsetComponentTexel(e, t, r) {
1500
+ this.data[r * this.texelSize + e] &= ~t, this.dirtyStart = Math.min(this.dirtyStart, r), this.dirtyEnd = Math.max(this.dirtyEnd, r);
1501
+ }
1502
+ getData(e, t) {
1503
+ const r = I(e);
1504
+ return this.data[r * this.texelSize + t];
1505
+ }
1506
+ setData(e, t, r) {
1507
+ const s = I(e), i = 1 << t;
1508
+ this.layout & i ? this.data != null && (this.data[s * this.texelSize + t] = r, this.dirtyStart = Math.min(this.dirtyStart, s), this.dirtyEnd = Math.max(this.dirtyEnd, s)) : Z().error("mapview-attributes-store", "Tried to set a value for a texel's readonly component");
1509
+ }
1510
+ expand(e) {
1511
+ if (this.size = e, !this.textureOnly) {
1512
+ const t = this._initData(this.pixelType, e), r = this.data;
1513
+ t.set(r), this.data = t;
1514
+ }
1515
+ }
1516
+ toMessage() {
1517
+ const e = this.dirtyStart, t = this.dirtyEnd, r = this.texelSize;
1518
+ if (e > t)
1519
+ return null;
1520
+ this._resetRange();
1521
+ const s = !this.isLocal, i = this.pixelType, n = this.layout, o = this.data;
1522
+ return { start: e, end: t, data: s && o.slice(e * r, (t + 1) * r) || null, pixelType: i, layout: n };
1523
+ }
1524
+ _initData(e, t) {
1525
+ const r = ArrayBuffer, s = _e(e), i = new s(new r(t * t * 4 * s.BYTES_PER_ELEMENT));
1526
+ for (let n = 0; n < i.length; n += 4)
1527
+ i[n + 1] = 255;
1528
+ return i;
1529
+ }
1530
+ _resetRange() {
1531
+ this.dirtyStart = 2147483647, this.dirtyEnd = 0;
1532
+ }
1533
+ }
1534
+ class or {
1535
+ constructor(e) {
1536
+ this._client = e, this._filters = [], this._blocks = new Array(), this._attributeComputeInfo = null, this._abortController = new AbortController(), this._size = Ue, this._idsToHighlight = /* @__PURE__ */ new Map(), this._referencesScale = !1, this._referencesGeometry = !1, this._initialized = !1, this.version = 0, this._idGenerator = new Mt(), this._epoch = 1;
1537
+ }
1538
+ destroy() {
1539
+ this._abortController.abort();
1540
+ }
1541
+ _initialize() {
1542
+ if (this._blockDescriptors != null)
1543
+ return;
1544
+ const e = z.FLOAT;
1545
+ j(`Creating AttributeStore ${zt.sharedArrayBuffer ? "with" : "without"} shared memory`), this._blockDescriptors = [{ pixelType: z.UNSIGNED_BYTE, layout: 1 }, { pixelType: z.UNSIGNED_BYTE, layout: 15, textureOnly: !0 }, { pixelType: z.UNSIGNED_BYTE, layout: 15, textureOnly: !0 }, { pixelType: e, layout: 15 }, { pixelType: e, layout: 15 }, { pixelType: e, layout: 15 }, { pixelType: e, layout: 15 }], this._blocks = this._blockDescriptors.map(() => null);
1546
+ }
1547
+ get referencesScale() {
1548
+ return this._referencesScale;
1549
+ }
1550
+ get referencesGeometry() {
1551
+ return this._referencesGeometry;
1552
+ }
1553
+ get _signal() {
1554
+ return this._abortController.signal;
1555
+ }
1556
+ get hasHighlight() {
1557
+ return this._idsToHighlight.size > 0;
1558
+ }
1559
+ createDisplayIdForObjectId(e) {
1560
+ return this._idGenerator.createIdForObjectId(e);
1561
+ }
1562
+ releaseDisplayIdForObjectId(e) {
1563
+ return this._idGenerator.releaseIdForObjectId(e);
1564
+ }
1565
+ incrementDisplayIdGeneration() {
1566
+ this._idGenerator.incrementGeneration();
1567
+ }
1568
+ releaseAllIds() {
1569
+ this._idGenerator.releaseAll();
1570
+ }
1571
+ async update(e, t, r, s, i = 0) {
1572
+ const n = Le(this._schema, e);
1573
+ if (this.version = i, n && (b("esri-2d-update-debug") && console.debug(`Version[${i}] AttributeStore.update`, { changed: n }), this._schema = e, this._attributeComputeInfo = null, this._initialize(), e != null))
1574
+ if (r && (this._filters = await Promise.all(e.filters.map((o) => o ? U.create({ geometryType: r.geometryType, hasM: !1, hasZ: !1, timeInfo: r.timeInfo, fieldsIndex: r.fieldsIndex, spatialReference: s ?? r.spatialReference, filterJSON: o }) : null))), e.type !== "subtype")
1575
+ this._attributeComputeInfo = { isSubtype: !1, map: /* @__PURE__ */ new Map() }, await Promise.all(e.bindings.map(async (o) => {
1576
+ const h = await this._bind(t, o);
1577
+ this._referencesGeometry = this._referencesGeometry || ((h == null ? void 0 : h.referencesGeometry()) ?? !1), this._referencesScale = this._referencesScale || ((h == null ? void 0 : h.referencesScale()) ?? !1);
1578
+ }));
1579
+ else {
1580
+ this._attributeComputeInfo = { isSubtype: !0, subtypeField: e.subtypeField, map: /* @__PURE__ */ new Map() }, this._referencesScale = !1, this._referencesGeometry = !1;
1581
+ for (const o in e.bindings) {
1582
+ const h = e.bindings[o];
1583
+ await Promise.all(h.map(async (d) => {
1584
+ const u = await this._bind(t, d, parseInt(o, 10));
1585
+ this._referencesGeometry = this._referencesGeometry || ((u == null ? void 0 : u.referencesGeometry()) ?? !1), this._referencesScale = this._referencesScale || ((u == null ? void 0 : u.referencesScale()) ?? !1);
1586
+ }));
1587
+ }
1588
+ }
1589
+ }
1590
+ setHighlight(e, t) {
1591
+ const r = this._getBlock(0);
1592
+ r.unsetComponentAllTexels(0, (1 << V.length) - 1);
1593
+ for (const { displayId: s, highlightFlags: i } of e) {
1594
+ if (s == null)
1595
+ continue;
1596
+ const n = I(s);
1597
+ r.setComponent(0, i, [n]);
1598
+ }
1599
+ this._idsToHighlight.clear();
1600
+ for (const { objectId: s, highlightFlags: i } of e)
1601
+ this._idsToHighlight.set(s, i);
1602
+ for (const { objectId: s, highlightFlags: i } of t)
1603
+ this._idsToHighlight.set(s, i);
1604
+ }
1605
+ setData(e, t, r, s) {
1606
+ const i = I(e);
1607
+ this._ensureSizeForTexel(i), this._getBlock(t).setData(e, r, s);
1608
+ }
1609
+ getData(e, t, r) {
1610
+ return this._getBlock(t).getData(e, r);
1611
+ }
1612
+ getHighlightFlags(e) {
1613
+ return this._idsToHighlight.get(e) || 0;
1614
+ }
1615
+ unsetAttributeData(e) {
1616
+ const t = I(e);
1617
+ this._getBlock(0).setData(t, 0, 0);
1618
+ }
1619
+ setAttributeData(e, t, r) {
1620
+ const s = I(e);
1621
+ this._ensureSizeForTexel(s), this._getBlock(0).setData(s, 0, this.getFilterFlags(t));
1622
+ const i = this._attributeComputeInfo, n = 1, o = 4;
1623
+ let h = null;
1624
+ i && (h = i.isSubtype ? i.map.get(t.readAttribute(i.subtypeField)) : i.map, h != null && h.size && h.forEach((d, u) => {
1625
+ var g;
1626
+ const c = u * n % o, l = Math.floor(u * n / o), y = this._getBlock(l + P.VV);
1627
+ let f = (g = d.field) == null ? void 0 : g.read(t, r);
1628
+ d.valueRepresentation && (f = Ct(f, d.valueRepresentation)), (f === null || isNaN(f) || f === 1 / 0 || f === -1 / 0) && (f = xe), y.setData(s, c, f);
1629
+ }));
1630
+ }
1631
+ get epoch() {
1632
+ return this._epoch;
1633
+ }
1634
+ async sendUpdates() {
1635
+ const e = this._blocks.map((r) => r != null ? r.toMessage() : null), t = this._getInitArgs();
1636
+ b("esri-2d-log-updating") && console.log("AttributeStore: _doSendUpdate.start"), await this._client.update({ initArgs: t, blockData: e, version: this.version, sendUpdateEpoch: this._epoch }, this._signal), this._epoch += 1, b("esri-2d-log-updating") && console.log("AttributeStore: _doSendUpdate.end");
1637
+ }
1638
+ _ensureSizeForTexel(e) {
1639
+ for (; e >= this._size * this._size; )
1640
+ if (this._expand())
1641
+ return;
1642
+ }
1643
+ async _bind(e, t, r) {
1644
+ const s = await e.createComputedField(t), { valueRepresentation: i } = t, n = this._attributeComputeInfo;
1645
+ if (n.isSubtype) {
1646
+ const o = n.map.get(r) ?? /* @__PURE__ */ new Map();
1647
+ o.set(t.binding, { field: s, valueRepresentation: i }), n.map.set(r, o);
1648
+ } else
1649
+ n.map.set(t.binding, { field: s, valueRepresentation: i });
1650
+ return s;
1651
+ }
1652
+ _getInitArgs() {
1653
+ return this._initialized ? null : (this._initialized = !0, this._getBlock(P.Animation), this._getBlock(P.GPGPU), { blockSize: this._size, blockDescriptors: this._blocks.map((e) => e != null ? { textureOnly: e.textureOnly, buffer: e.buffer, pixelType: e.pixelType } : null) });
1654
+ }
1655
+ _getBlock(e) {
1656
+ const t = this._blocks[e];
1657
+ if (t != null)
1658
+ return t;
1659
+ j(`Initializing AttributeBlock at index ${e}`);
1660
+ const r = new Ft(this._size, this._blockDescriptors[e], this._client.isLocal);
1661
+ return this._blocks[e] = r, this._initialized = !1, r;
1662
+ }
1663
+ _expand() {
1664
+ if (this._size < this._schema.capabilities.maxTextureSize) {
1665
+ const e = this._size <<= 1;
1666
+ j("Expanding block size to", e, this._blocks);
1667
+ for (const t of this._blocks)
1668
+ t == null || t.expand(e);
1669
+ return this._initialized = !1, this._size = e, 0;
1670
+ }
1671
+ return Z().error(new w("mapview-limitations", "Maximum number of onscreen features exceeded.")), -1;
1672
+ }
1673
+ isVisible(e) {
1674
+ return !!(this._getBlock(0).getData(e, 0) & 1 << V.length);
1675
+ }
1676
+ getFilterFlags(e) {
1677
+ let t = 0;
1678
+ for (let s = 0; s < this._filters.length; s++) {
1679
+ const i = !!(1 << s), n = this._filters[s];
1680
+ t |= (!i || n == null || n.check(e) ? 1 : 0) << s;
1681
+ }
1682
+ let r = 0;
1683
+ if (this._idsToHighlight.size) {
1684
+ const s = e.getObjectId();
1685
+ r = this.getHighlightFlags(s);
1686
+ }
1687
+ return t << V.length | r;
1688
+ }
1689
+ }
1690
+ export {
1691
+ ar as M,
1692
+ Qt as a,
1693
+ or as b,
1694
+ it as c,
1695
+ U as d,
1696
+ Je as e,
1697
+ ft as f,
1698
+ ae as g,
1699
+ _t as h,
1700
+ qt as i,
1701
+ N as j,
1702
+ Zt as n,
1703
+ rr as p,
1704
+ et as r,
1705
+ nr as s,
1706
+ L as t
1707
+ };