@agrotools1/at-components 0.2.3 → 0.2.5

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 (910) hide show
  1. package/dist/AGraphicContainer-d82e96aa.js +109 -0
  2. package/dist/APIKeyMixin-2ee64e59.js +19 -0
  3. package/dist/Analysis-449f84c5.js +31 -0
  4. package/dist/ArcGISCachedService-a838709f.js +47 -0
  5. package/dist/ArcGISService-7e5e8710.js +25 -0
  6. package/dist/AreaMeasurement2D-971dad40.js +405 -0
  7. package/dist/AreaMeasurement3D-48bc0242.js +488 -0
  8. package/dist/AttachmentInfo-ad88d558.js +34 -0
  9. package/dist/AttachmentQuery-c86dac15.js +18 -0
  10. package/dist/AttributeStore-3851ad0b.js +1707 -0
  11. package/dist/BaseDynamicLayerView2D-02baa49a.js +63 -0
  12. package/dist/BingMapsLayer-67c70069.js +112 -0
  13. package/dist/Bitmap-d455f554.js +128 -0
  14. package/dist/BitmapContainer-c78799ad.js +23 -0
  15. package/dist/BlendLayer-246e4998.js +13 -0
  16. package/dist/BoundsStore-b18f4e4e.js +63 -0
  17. package/dist/BufferObject-22d914df.js +100 -0
  18. package/dist/BufferView-5272765e.js +683 -0
  19. package/dist/BuildingSceneLayer-f08d5129.js +535 -0
  20. package/dist/Button-335b8469.js +36 -0
  21. package/dist/CSVLayer-40c0bd0e.js +208 -0
  22. package/dist/CSVSourceWorker-b8df4580.js +367 -0
  23. package/dist/CardWithInsights/CardWithInsights.d.ts +2 -1
  24. package/dist/CatalogDynamicGroupLayerView2D-3abd5c54.js +66 -0
  25. package/dist/CatalogFootprintLayerView2D-22c795e4.js +76 -0
  26. package/dist/CatalogLayer-74d18466.js +262 -0
  27. package/dist/CatalogLayerView2D-ffee45d8.js +52 -0
  28. package/dist/ClassBreaksDefinition-5a577d31.js +18 -0
  29. package/dist/ColorMaterial.glsl-bc384e65.js +64 -0
  30. package/dist/ColorSet-570396b9.js +45 -0
  31. package/dist/ColorStop-5009138a.js +29 -0
  32. package/dist/Container-f931e682.js +521 -0
  33. package/dist/CustomParametersMixin-9e8adcf6.js +12 -0
  34. package/dist/DefaultMaterial.glsl-092e1a97.js +42 -0
  35. package/dist/DefaultMaterial_COLOR_GAMMA-43e030be.js +653 -0
  36. package/dist/DefaultTheme-59d78c72.js +130 -0
  37. package/dist/DeleteForwardEditsParameters-8b5196fa.js +18 -0
  38. package/dist/DimensionLayer-6fc6ab12.js +129 -0
  39. package/dist/DirectLineMeasurement3D-6823c93d.js +449 -0
  40. package/dist/DistanceMeasurement2D-a6cf62b6.js +303 -0
  41. package/dist/DoubleArray-bb8ff0fb.js +25 -0
  42. package/dist/Dropdown/Filter/test.mocks.d.ts +6 -0
  43. package/dist/Dropdown/List/test.mocks.d.ts +6 -0
  44. package/dist/EdgeProcessingWorker-c5511714.js +63 -0
  45. package/dist/EditBusLayer-513ca203.js +107 -0
  46. package/dist/ElevationInfo-234040e3.js +56 -0
  47. package/dist/ElevationLayer-599949a0.js +129 -0
  48. package/dist/ElevationQuery-aaa7fb05.js +598 -0
  49. package/dist/ElevationSamplerWorker-07be3a80.js +62 -0
  50. package/dist/ExportImageParameters-b28e28df.js +66 -0
  51. package/dist/ExportStrategy-d6fd38ed.js +93 -0
  52. package/dist/ExportWMSImageParameters-be4cc5df.js +33 -0
  53. package/dist/External-55b35c8d.js +110 -0
  54. package/dist/Faq/Faq.d.ts +1 -1
  55. package/dist/Faq/index.d.ts +1 -1
  56. package/dist/FeatureCollectionSnappingSource-fce9fa91.js +130 -0
  57. package/dist/FeatureCommandQueue-4e426066.js +1244 -0
  58. package/dist/FeatureEffect-0a86f0ba.js +39 -0
  59. package/dist/FeatureEffectLayer-13705792.js +13 -0
  60. package/dist/FeatureFilter-1635b86a.js +27 -0
  61. package/dist/FeatureLayer-d2f8e7c0.js +693 -0
  62. package/dist/FeatureLayerBase-40e10dd6.js +148 -0
  63. package/dist/FeatureLayerSource-ebd2bea5.js +444 -0
  64. package/dist/FeatureLayerView2D-23240236.js +1967 -0
  65. package/dist/FeaturePipelineWorker-8d07a1dd.js +3633 -0
  66. package/dist/FeatureReductionLayer-55609d4e.js +225 -0
  67. package/dist/FeatureReductionSelection-2f351ee7.js +22 -0
  68. package/dist/FeatureServiceSnappingSource-513edf0d.js +481 -0
  69. package/dist/FeatureServiceSnappingSourceWorker-d6deecd4.js +747 -0
  70. package/dist/FeatureSet-ffd45984.js +188 -0
  71. package/dist/FeatureStore-9fd6c0f8.js +131 -0
  72. package/dist/FeatureTemplate-e4854302.js +12 -0
  73. package/dist/FeatureType-b4ef51c2.js +25 -0
  74. package/dist/FieldsIndex-91fb234a.js +109 -0
  75. package/dist/FormTemplate-67f4d44e.js +350 -0
  76. package/dist/GeoJSONLayer-e3495648.js +236 -0
  77. package/dist/GeoJSONSourceWorker-b0ee6d8e.js +247 -0
  78. package/dist/GeoRSSLayer-afac8cf1.js +73 -0
  79. package/dist/GeoRSSLayerView2D-b03f6564.js +140 -0
  80. package/dist/GeometryUtils-058e30f4.js +403 -0
  81. package/dist/GraphicContainer-d0803f7a.js +26 -0
  82. package/dist/GraphicManipulator-797ae6c6.js +1499 -0
  83. package/dist/GraphicsLayer-a30f80da.js +38 -0
  84. package/dist/GraphicsLayerView2D-0c92e0f2.js +114 -0
  85. package/dist/GraphicsSnappingSource-e928ab8c.js +273 -0
  86. package/dist/GraphicsView2D-963eb026.js +620 -0
  87. package/dist/GroupLayer-7f131ab8.js +147 -0
  88. package/dist/GroupLayerView2D-5fcc27fc.js +98 -0
  89. package/dist/HUDMaterial.glsl-3b450c01.js +65 -0
  90. package/dist/HighlightCounter-fda615cd.js +41 -0
  91. package/dist/HighlightGraphicContainer-8cfde780.js +18 -0
  92. package/dist/I3SBinaryReader-a4021fad.js +310 -0
  93. package/dist/I3SLayerDefinitions-f004f8b6.js +55 -0
  94. package/dist/I3SUtil-040e44af.js +59 -0
  95. package/dist/IdentityManager-012e74ca.js +899 -0
  96. package/dist/ImageHistogramParameters-f7c4c804.js +905 -0
  97. package/dist/ImageryLayer-c3f0176f.js +1799 -0
  98. package/dist/ImageryLayerView2D-5a14beb5.js +352 -0
  99. package/dist/ImageryTileLayer-a93e8471.js +2157 -0
  100. package/dist/ImageryTileLayerView2D-3e9fea94.js +1110 -0
  101. package/dist/Indices-f0dca4b5.js +67 -0
  102. package/dist/Input/index.d.ts +4547 -3
  103. package/dist/IntegratedMesh3DTilesLayer-7e70c76e.js +112 -0
  104. package/dist/IntegratedMeshLayer-2283f8d9.js +141 -0
  105. package/dist/InteractiveAnalysisViewModel-f0a0c72a.js +7397 -0
  106. package/dist/InterleavedLayout-9490090b.js +163 -0
  107. package/dist/KMLLayer-06b7037f.js +162 -0
  108. package/dist/KMLLayerView2D-59f96ec9.js +253 -0
  109. package/dist/KnowledgeGraphLayerView2D-6c8c4aae.js +43 -0
  110. package/dist/LRUCache-fc532e9b.js +32 -0
  111. package/dist/LabelClass-eae6271b.js +135 -0
  112. package/dist/LabelMetric-ee740bd1.js +400 -0
  113. package/dist/LaserlinePath.glsl-f58264f5.js +64 -0
  114. package/dist/Laserlines.glsl-14ab8523.js +65 -0
  115. package/dist/LayerFloorInfo-6ac1a57d.js +15 -0
  116. package/dist/LayerView-e41297e4.js +206 -0
  117. package/dist/LercWorker-22ed35b2.js +157 -0
  118. package/dist/LineOfSightLayer-6bf67bb7.js +147 -0
  119. package/dist/LinkChartLayer-e9a861f0.js +1027 -0
  120. package/dist/Lyr3DWorker-29f7a041.js +82 -0
  121. package/dist/MagnifierPrograms-1584f9b5.js +806 -0
  122. package/dist/MapImageLayer-b89cf158.js +169 -0
  123. package/dist/MapImageLayerView2D-e3f4a4cc.js +146 -0
  124. package/dist/MapNotesLayer-966f3446.js +283 -0
  125. package/dist/MapNotesLayerView2D-4aedef2a.js +161 -0
  126. package/dist/MapServiceLayerViewHelper-4f262166.js +288 -0
  127. package/dist/MeasurementWidgetContent-82971f95.js +2642 -0
  128. package/dist/MediaLayer-697a7c14.js +523 -0
  129. package/dist/MediaLayerView2D-64897044.js +332 -0
  130. package/dist/MemCache-0861cc28.js +227 -0
  131. package/dist/MemorySourceWorker-e1c531ac.js +222 -0
  132. package/dist/Mesh-44c8f6ba.js +980 -0
  133. package/dist/MeshLocalVertexSpace-6fe3a662.js +19 -0
  134. package/dist/MultiOriginJSONSupport-248453ac.js +158 -0
  135. package/dist/Notifications/index.d.ts +1 -0
  136. package/dist/OGCFeatureLayer-2daa0551.js +211 -0
  137. package/dist/OGCFeatureLayerView2D-7cebf7e0.js +82 -0
  138. package/dist/ObjectStack-424092a9.js +21 -0
  139. package/dist/Octree-21d216f2.js +495 -0
  140. package/dist/OpenStreetMapLayer-ade6fa9d.js +30 -0
  141. package/dist/OperationalLayer-097ad3e0.js +44 -0
  142. package/dist/OrderByInfo-e9ed942d.js +16 -0
  143. package/dist/OrderedLayer-fef2b56e.js +26 -0
  144. package/dist/OrientedImageryLayer-424a6234.js +216 -0
  145. package/dist/OverlayCompositing.glsl-1954a291.js +65 -0
  146. package/dist/OverrideHelper-f8aace2c.js +242 -0
  147. package/dist/PBFDecoderWorker-15cd639d.js +213 -0
  148. package/dist/PointCloudLayer-c820d269.js +197 -0
  149. package/dist/PointCloudUniqueValueRenderer-e7d37f08.js +115 -0
  150. package/dist/PointCloudWorker-3e28270d.js +212 -0
  151. package/dist/PooledRBush-e4cbf810.js +272 -0
  152. package/dist/Popup-2c03dbc0.js +3990 -0
  153. package/dist/PortalLayer-09e5a300.js +126 -0
  154. package/dist/Program-ed5a5aa3.js +694 -0
  155. package/dist/ProgramTemplate-976cfde1.js +35 -0
  156. package/dist/QueryEngine-8915348b.js +896 -0
  157. package/dist/QueryTask-f386d91d.js +119 -0
  158. package/dist/RasterSymbolizer-6177c6ec.js +3024 -0
  159. package/dist/RasterVFDisplayObject-6411b56f.js +581 -0
  160. package/dist/RasterWorker-f825daf0.js +78 -0
  161. package/dist/RawBlockCache-0d61962b.js +185 -0
  162. package/dist/RealisticTree.glsl-c9fd0d3c.js +42 -0
  163. package/dist/RefreshableLayer-0945a308.js +80 -0
  164. package/dist/RefreshableLayerView-4956f17c.js +16 -0
  165. package/dist/Relationship-9a82bd43.js +64 -0
  166. package/dist/RelationshipQuery-68ad49a7.js +22 -0
  167. package/dist/RenderingContext-49610ad9.js +889 -0
  168. package/dist/RibbonLine.glsl-6314f72e.js +65 -0
  169. package/dist/RouteLayer-ff5c8f33.js +786 -0
  170. package/dist/RouteLayerView2D-2cc60ad2.js +195 -0
  171. package/dist/SDFHelper-b08be611.js +140 -0
  172. package/dist/SSAO.glsl-0e92c4e5.js +43 -0
  173. package/dist/SSAOBlur.glsl-a2bb2587.js +42 -0
  174. package/dist/ScaleRangeLayer-ab226dbd.js +21 -0
  175. package/dist/SceneLayer-884ec175.js +542 -0
  176. package/dist/SceneLayerSnappingSource-aa2944b9.js +218 -0
  177. package/dist/SceneLayerSnappingSourceWorker-5616c206.js +112 -0
  178. package/dist/SceneLayerWorker-9745b8b5.js +164 -0
  179. package/dist/SceneService-da855dda.js +215 -0
  180. package/dist/Scheduler-b3c40220.js +373 -0
  181. package/dist/Search/index.d.ts +1 -0
  182. package/dist/Search/test.mocks.d.ts +3 -0
  183. package/dist/Search/utils.d.ts +3 -0
  184. package/dist/Select/index.d.ts +3 -3
  185. package/dist/ShadedColorMaterial.glsl-f953e894.js +64 -0
  186. package/dist/SnappingOperation-be595c42.js +48 -0
  187. package/dist/SourceLayerData-ec8ab72c.js +116 -0
  188. package/dist/SpatialFilter-7d64232d.js +1701 -0
  189. package/dist/Stop-c022e866.js +281 -0
  190. package/dist/StreamLayer-d603abd8.js +188 -0
  191. package/dist/StreamLayerView2D-6d6618cf.js +164 -0
  192. package/dist/StyleRepository-2f08de17.js +2212 -0
  193. package/dist/SublayersOwner-cc0e4f54.js +545 -0
  194. package/dist/SubtypeGroupLayer-bacf048d.js +514 -0
  195. package/dist/SubtypeGroupLayerView2D-b3ed2c1a.js +84 -0
  196. package/dist/TechniqueInstance-397b7dc2.js +233 -0
  197. package/dist/TemporalLayer-7844bd88.js +23 -0
  198. package/dist/Texture-b1727861.js +501 -0
  199. package/dist/TextureOnly.glsl-ffd4a7df.js +65 -0
  200. package/dist/Theme-12cb681b.js +3426 -0
  201. package/dist/Tick-25d07d27.js +723 -0
  202. package/dist/TileContainer-ab77d7a6.js +31 -0
  203. package/dist/TileInfoTilemapCache-3e97ab02.js +38 -0
  204. package/dist/TileLayer-03cfc8ab.js +194 -0
  205. package/dist/TileLayerView2D-3cfd6a21.js +187 -0
  206. package/dist/TilemapCache-36e3c4b7.js +189 -0
  207. package/dist/TimeInfo-cea2517f.js +42 -0
  208. package/dist/TimeOnly-5a143001.js +706 -0
  209. package/dist/Tooltip-2b4711cb.js +138 -0
  210. package/dist/TopFeaturesQuery-285284f1.js +32 -0
  211. package/dist/TurboLine-708823a3.js +565 -0
  212. package/dist/UniqueValueRenderer-3d92c0b9.js +1039 -0
  213. package/dist/UnknownLayer-d3dbe7c9.js +30 -0
  214. package/dist/UnknownTimeZone-ed4def19.js +15 -0
  215. package/dist/UnsupportedLayer-40bbb9f5.js +31 -0
  216. package/dist/UpdateTracking2D-23c8ff3f.js +8566 -0
  217. package/dist/Upload/index.d.ts +1 -1
  218. package/dist/Util-2ba07f64.js +57 -0
  219. package/dist/VectorTileLayer-ba191a02.js +544 -0
  220. package/dist/VectorTileLayerView2D-bd3971cd.js +2108 -0
  221. package/dist/Version-d45bee25.js +33 -0
  222. package/dist/VertexArrayObject-08a9d938.js +73 -0
  223. package/dist/VertexColor.glsl-cfafd4c9.js +2683 -0
  224. package/dist/VertexSnappingCandidate-cbae227c.js +13 -0
  225. package/dist/VideoLayerView2D-ec66c226.js +124 -0
  226. package/dist/VoxelLayer-888a65f9.js +631 -0
  227. package/dist/WFSLayer-786bdecd.js +221 -0
  228. package/dist/WFSSourceWorker-a212500b.js +157 -0
  229. package/dist/WGLContainer-f05c906a.js +5426 -0
  230. package/dist/WMSLayer-b2c46060.js +536 -0
  231. package/dist/WMSLayerView2D-a90672e9.js +117 -0
  232. package/dist/WMTSLayer-860b1a45.js +531 -0
  233. package/dist/WMTSLayerView2D-c492825d.js +142 -0
  234. package/dist/WebTileLayer-e178eb17.js +110 -0
  235. package/dist/WhereClause-ad3cc5ae.js +2766 -0
  236. package/dist/WorkerHandle-ef6ad49b.js +47 -0
  237. package/dist/WorkerTileHandler-c2b98dae.js +1539 -0
  238. package/dist/action-46ccf03a.js +198 -0
  239. package/dist/action-group-9785519d.js +145 -0
  240. package/dist/action-menu-f423306a.js +1759 -0
  241. package/dist/agrotools-theme.css +2 -2
  242. package/dist/agrotools-theme.css.map +1 -1
  243. package/dist/apng-66c828d8.js +392 -0
  244. package/dist/arcade-af30f385.js +229 -0
  245. package/dist/arcadeAsyncRuntime-fdce05e3.js +943 -0
  246. package/dist/arcadeUtils-2b5a1e68.js +8741 -0
  247. package/dist/arcgis-knowledge-client-core-192a1ac0.js +1218 -0
  248. package/dist/arcgis-knowledge-client-core-simd-4fb6c777.js +1218 -0
  249. package/dist/arcgisLayers-f43f9183.js +152 -0
  250. package/dist/associatedFeatureServiceUtils-15949591.js +92 -0
  251. package/dist/axisAngleDegrees-de05cd64.js +49 -0
  252. package/dist/basis_transcoder-6f118404.js +1248 -0
  253. package/dist/calcite-action-bar-9722a11e.js +303 -0
  254. package/dist/calcite-action-f5829479.js +22 -0
  255. package/dist/calcite-action-group-3e77994f.js +28 -0
  256. package/dist/calcite-button-8979d383.js +228 -0
  257. package/dist/calcite-flow-b50ce308.js +128 -0
  258. package/dist/calcite-flow-item-57549b16.js +499 -0
  259. package/dist/calcite-icon-fb43725c.js +16 -0
  260. package/dist/calcite-input-fcc054c7.js +24 -0
  261. package/dist/calcite-label-10d65c11.js +79 -0
  262. package/dist/calcite-list-2847bddc.js +2135 -0
  263. package/dist/calcite-list-item-53cde043.js +576 -0
  264. package/dist/calcite-list-item-group-256eb990.js +71 -0
  265. package/dist/calcite-loader-022a5436.js +14 -0
  266. package/dist/calcite-modal-5b1a23d9.js +333 -0
  267. package/dist/calcite-notice-17009704.js +181 -0
  268. package/dist/calcite-option-c7d00181.js +94 -0
  269. package/dist/calcite-scrim-1dced2db.js +18 -0
  270. package/dist/calcite-select-a96a55a3.js +231 -0
  271. package/dist/capabilities-3f86754a.js +50 -0
  272. package/dist/chartCommon-af8c14ae.js +256 -0
  273. package/dist/chartUtilsAm5-418cf95f.js +2954 -0
  274. package/dist/clientSideDefaults-2aad569c.js +39 -0
  275. package/dist/colorRamps-0fae1fde.js +38 -0
  276. package/dist/colorUtils-6d5e716b.js +164 -0
  277. package/dist/commonProperties-d1f695a2.js +60 -0
  278. package/dist/computeTranslationToOriginAndRotation-cba163ab.js +60 -0
  279. package/dist/conditionalSlot-14f35023.js +27 -0
  280. package/dist/createConnection-f3b9e606.js +299 -0
  281. package/dist/dataUtils-65604399.js +1421 -0
  282. package/dist/deduplicate-16f30199.js +89 -0
  283. package/dist/defaults-b7c93d2a.js +31 -0
  284. package/dist/deleteForwardEdits-f31f885d.js +13 -0
  285. package/dist/diffUtils-54c1c039.js +90 -0
  286. package/dist/drapedUtils-166cd4c2.js +75 -0
  287. package/dist/earcut-ffaa9a50.js +292 -0
  288. package/dist/edgeProcessing-1a2c4169.js +252 -0
  289. package/dist/editingSupport-ffa6f639.js +203 -0
  290. package/dist/editsZScale-2840378a.js +37 -0
  291. package/dist/elevationInfoUtils-c1caf596.js +126 -0
  292. package/dist/executeForIds-b9c9164b.js +14 -0
  293. package/dist/executeForTopCount-8a73aea7.js +17 -0
  294. package/dist/executeForTopExtents-a3d0b42e.js +17 -0
  295. package/dist/executeForTopIds-f14d5790.js +17 -0
  296. package/dist/executeQueryJSON-6cd89bed.js +15 -0
  297. package/dist/executeQueryPBF-e1d32cfc.js +152 -0
  298. package/dist/executeRelationshipQuery-5cadcb20.js +53 -0
  299. package/dist/executeTopFeaturesQuery-32dda453.js +18 -0
  300. package/dist/featureConversionUtils-a5f0b9b2.js +479 -0
  301. package/dist/featureLayerUtils-828813e8.js +250 -0
  302. package/dist/featureLayerUtils-9e9f97c1.js +142 -0
  303. package/dist/featureSetUtils-2f86a02f.js +2530 -0
  304. package/dist/featuresetbase-bb981400.js +707 -0
  305. package/dist/featuresetgeom-0185b49f.js +99 -0
  306. package/dist/featuresetstats-3d689b79.js +81 -0
  307. package/dist/featuresetstring-83733fad.js +95 -0
  308. package/dist/fetchService-25e9ba70.js +33 -0
  309. package/dist/fieldProperties-cd5649d9.js +33 -0
  310. package/dist/floatRGBA-005cc596.js +20 -0
  311. package/dist/form-41e8f739.js +138 -0
  312. package/dist/geohashUtils-776cae3b.js +85 -0
  313. package/dist/geojson-7ef69d00.js +208 -0
  314. package/dist/geomasync-43a66474.js +567 -0
  315. package/dist/geometryEngine-e18a460d.js +192 -0
  316. package/dist/geometryEngineAsync-ae21d4e2.js +217 -0
  317. package/dist/geometryEngineBase-d653892b.js +18463 -0
  318. package/dist/geometryEngineJSON-031f6196.js +46 -0
  319. package/dist/geometryEngineJSON-9aeb41cd.js +171 -0
  320. package/dist/geometryEngineWorker-1c2f96e6.js +11 -0
  321. package/dist/geometryServiceUtils-50afe031.js +28 -0
  322. package/dist/georeference-cf051555.js +291 -0
  323. package/dist/gif-3fe5f761.js +323 -0
  324. package/dist/gltfexport-3ec498d6.js +705 -0
  325. package/dist/groupLayerUtils-5b8e1f89.js +39 -0
  326. package/dist/heatmapUtils-b512588d.js +45 -0
  327. package/dist/highlightReasons-b0f772b2.js +19 -0
  328. package/dist/hydrated-36edecd6.js +40 -0
  329. package/dist/i3s-239f062a.js +809 -0
  330. package/dist/icon-5e93376e.js +127 -0
  331. package/dist/imageBitmapUtils-142daeaf.js +23 -0
  332. package/dist/imageUtils-27ed5e73.js +89 -0
  333. package/dist/imageUtils-901282e9.js +69 -0
  334. package/dist/imageryUtils-b1dd3a54.js +43 -0
  335. package/dist/index-6ebf29c1.js +43667 -0
  336. package/dist/index.d.ts +4 -0
  337. package/dist/index.js +17 -13
  338. package/dist/input-message-20d19cfb.js +92 -0
  339. package/dist/input2-8da11a51.js +575 -0
  340. package/dist/interactive-bcb1b82d.js +80 -0
  341. package/dist/jsonContext-45fce1e1.js +15 -0
  342. package/dist/jsonUtils-09f69988.js +86 -0
  343. package/dist/jsonUtils-1f447d0c.js +476 -0
  344. package/dist/jsonUtils-db906457.js +59 -0
  345. package/dist/kmlUtils-6412718d.js +112 -0
  346. package/dist/knowledgeGraphService-80890106.js +739 -0
  347. package/dist/knowledgegraph-475723f0.js +149 -0
  348. package/dist/labelUtils-85708580.js +61 -0
  349. package/dist/labelingInfo-62fc9d21.js +46 -0
  350. package/dist/layersCreator-a94b60fe.js +151 -0
  351. package/dist/layersLoader-39c74edb.js +197 -0
  352. package/dist/lazyLayerLoader-7922c10d.js +10 -0
  353. package/dist/lclayout-6ac84378.js +773 -0
  354. package/dist/lengthUtils-6a89d855.js +5 -0
  355. package/dist/lerc-wasm-b8b3cd2c.js +325 -0
  356. package/dist/libtess-61451fa0.js +269 -0
  357. package/dist/libtess-asm-fef1a4ca.js +3673 -0
  358. package/dist/lineSegment-f45db35c.js +76 -0
  359. package/dist/loadGLTFMesh-2f9cee21.js +181 -0
  360. package/dist/loadable-c29cb205.js +24 -0
  361. package/dist/loader-d9b4787f.js +79 -0
  362. package/dist/lyr3DWorker-33babc2c.js +2108 -0
  363. package/dist/mapViewDeps-f5b886c8.js +3052 -0
  364. package/dist/mediaLayerUtils-5a2c2fe8.js +35 -0
  365. package/dist/meshFeatureSet-2312bbe6.js +126 -0
  366. package/dist/meshVertexSpaceUtils-c9b69510.js +58 -0
  367. package/dist/multidimensionalUtils-e85f5a78.js +290 -0
  368. package/dist/normalizeUtilsSync-555b1847.js +181 -0
  369. package/dist/number-72e1a662.js +128 -0
  370. package/dist/objectResourceUtils-abe804cf.js +1455 -0
  371. package/dist/observers-f3bd3593.js +30 -0
  372. package/dist/ogcFeatureUtils-7097c17e.js +206 -0
  373. package/dist/openCloseComponent-67a2c20c.js +37 -0
  374. package/dist/orientedBoundingBox-4ae2c366.js +447 -0
  375. package/dist/parser-7a76caf9.js +488 -0
  376. package/dist/pbf-0b9b579c.js +215 -0
  377. package/dist/pbfQueryUtils-baba23c7.js +422 -0
  378. package/dist/pe-wasm-d080c07b.js +887 -0
  379. package/dist/persistable-82932da9.js +89 -0
  380. package/dist/perspectiveUtils-1b383b17.js +42 -0
  381. package/dist/pieChart-eca78f7c.js +555 -0
  382. package/dist/plane-84e27261.js +160 -0
  383. package/dist/popupUtils-b72d32fb.js +22 -0
  384. package/dist/popupUtils-cde1d105.js +50 -0
  385. package/dist/portalItemUtils-28314a3f.js +57 -0
  386. package/dist/portalLayers-eeaa6e57.js +312 -0
  387. package/dist/portalUtils-457f542e.js +7 -0
  388. package/dist/programUtils-0c20a48e.js +59 -0
  389. package/dist/project-1b5431dd.js +21 -0
  390. package/dist/projectPointToVector-1f1d1dc7.js +14 -0
  391. package/dist/projectVectorToVector-b7e757a1.js +13 -0
  392. package/dist/quantityUtils-b64583f9.js +33 -0
  393. package/dist/quantizationUtils-9e478e23.js +68 -0
  394. package/dist/quat-5502b70d.js +104 -0
  395. package/dist/query-b2397453.js +89 -0
  396. package/dist/queryAttachments-4361fd2f.js +39 -0
  397. package/dist/queryEngineUtils-f24bc98c.js +21 -0
  398. package/dist/queryTopFeatures-e06aa562.js +50 -0
  399. package/dist/queryZScale-b18ec359.js +12 -0
  400. package/dist/rasterProjectionHelper-935c256c.js +577 -0
  401. package/dist/rasterUtils-efad8a20.js +122 -0
  402. package/dist/rasterizingUtils-80de9b14.js +46 -0
  403. package/dist/request-cae502b7.js +46 -0
  404. package/dist/requestImageUtils-caebcf1e.js +8 -0
  405. package/dist/resourceExtension-7d14f4fc.js +17 -0
  406. package/dist/resourceUtils-8d97f5bf.js +42 -0
  407. package/dist/resourceUtils-be991ca4.js +69 -0
  408. package/dist/resourceUtils-fa1a565f.js +62 -0
  409. package/dist/saveAPIKeyUtils-9f0454db.js +8 -0
  410. package/dist/saveUtils-22a6caa6.js +24 -0
  411. package/dist/scaleUtils-ba5596ad.js +23 -0
  412. package/dist/scrim-5b1b6156.js +114 -0
  413. package/dist/serviceCapabilitiesUtils-3a47b26b.js +64 -0
  414. package/dist/sourceUtils-ded5acd6.js +71 -0
  415. package/dist/sphere-418b76df.js +199 -0
  416. package/dist/statsWorker-a082453a.js +37 -0
  417. package/dist/streamLayerUtils-22aa35f2.js +31 -0
  418. package/dist/style.css +1 -1
  419. package/dist/styleUtils-aa4777b6.js +75 -0
  420. package/dist/styleUtils-e5f7ddb7.js +14 -0
  421. package/dist/sublayerUtils-7c5ebfea.js +37 -0
  422. package/dist/substitute-da3c695d.js +52 -0
  423. package/dist/symbolColorUtils-5d3e355f.js +8 -0
  424. package/dist/symbolLayerUtils-47cdd4d1.js +31 -0
  425. package/dist/symbologySnappingCandidates-6ebf1df0.js +221 -0
  426. package/dist/t9n-c80e56d9.js +349 -0
  427. package/dist/testSVGPremultipliedAlpha-b9ff88ef.js +94 -0
  428. package/dist/timeSupport-8d2432f7.js +410 -0
  429. package/dist/triangle-07f96fb9.js +98 -0
  430. package/dist/unitConversionUtils-c1bfd22b.js +17 -0
  431. package/dist/unitFormatUtils-e75be0c3.js +40 -0
  432. package/dist/uploadAssetErrors-3493bdb9.js +70 -0
  433. package/dist/uploadAssets-24fe5279.js +330 -0
  434. package/dist/utils-17d83806.js +2746 -0
  435. package/dist/utils-717efd4b.js +73 -0
  436. package/dist/utils-74e8e651.js +433 -0
  437. package/dist/utils-7c8f1d3f.js +232 -0
  438. package/dist/utils-94cbe432.js +79 -0
  439. package/dist/utils-a76b92ed.js +34 -0
  440. package/dist/utils-e73651cf.js +419 -0
  441. package/dist/utils-f46de72c.js +91 -0
  442. package/dist/utils3-eb04cacb.js +75 -0
  443. package/dist/vec3-61daf837.js +81 -0
  444. package/dist/vec42-27060a00.js +125 -0
  445. package/dist/versionUtils-c9c03a5d.js +161 -0
  446. package/dist/visualVariableUtils-bc9bfef1.js +267 -0
  447. package/dist/webStyleSymbolUtils-0990caa8.js +48 -0
  448. package/dist/webglDeps-812387f7.js +23 -0
  449. package/dist/wfsUtils-fdccd660.js +343 -0
  450. package/dist/workerHelper-d8d5f17b.js +11 -0
  451. package/dist/xyChart-94c1ef04.js +3335 -0
  452. package/package.json +1 -1
  453. package/dist/AGraphicContainer-98a4c8a4.js +0 -109
  454. package/dist/APIKeyMixin-9511e0a5.js +0 -19
  455. package/dist/Accordion/Accordion.d.ts +0 -49
  456. package/dist/Analysis-4b1d1fb5.js +0 -31
  457. package/dist/ArcGISCachedService-93e2cb27.js +0 -47
  458. package/dist/ArcGISService-3f8d89c1.js +0 -25
  459. package/dist/AreaMeasurement2D-e0bb230c.js +0 -405
  460. package/dist/AreaMeasurement3D-a9959ecf.js +0 -488
  461. package/dist/AttachmentInfo-601c56e2.js +0 -34
  462. package/dist/AttachmentQuery-3504d550.js +0 -18
  463. package/dist/AttributeStore-b90878e3.js +0 -1707
  464. package/dist/Avatar/Avatar.d.ts +0 -66
  465. package/dist/BaseDynamicLayerView2D-b2faf028.js +0 -63
  466. package/dist/BingMapsLayer-5d79fe2b.js +0 -112
  467. package/dist/Bitmap-f775c851.js +0 -128
  468. package/dist/BitmapContainer-af5942b8.js +0 -23
  469. package/dist/BlendLayer-a792edf6.js +0 -13
  470. package/dist/BoundsStore-789624df.js +0 -63
  471. package/dist/BufferObject-cbd0168e.js +0 -100
  472. package/dist/BufferView-004ad517.js +0 -683
  473. package/dist/BuildingSceneLayer-25bc760b.js +0 -535
  474. package/dist/Button/Button.d.ts +0 -82
  475. package/dist/Button-70963624.js +0 -36
  476. package/dist/CSVLayer-fd3b6750.js +0 -208
  477. package/dist/CSVSourceWorker-eb24cd85.js +0 -367
  478. package/dist/CatalogDynamicGroupLayerView2D-dfc700a4.js +0 -66
  479. package/dist/CatalogFootprintLayerView2D-6eb16597.js +0 -76
  480. package/dist/CatalogLayer-1cc632fe.js +0 -262
  481. package/dist/CatalogLayerView2D-d143aa34.js +0 -52
  482. package/dist/Checkbox/Checkbox.d.ts +0 -87
  483. package/dist/ClassBreaksDefinition-07ba0c64.js +0 -18
  484. package/dist/ColorMaterial.glsl-e7801766.js +0 -64
  485. package/dist/ColorSet-df5696b5.js +0 -45
  486. package/dist/ColorStop-7187f368.js +0 -29
  487. package/dist/Container-ac97765a.js +0 -521
  488. package/dist/CustomParametersMixin-b3432b3e.js +0 -12
  489. package/dist/DataTable/Column/Column.d.ts +0 -36
  490. package/dist/DataTable/Counters/Counters.d.ts +0 -41
  491. package/dist/DataTable/DataTable.d.ts +0 -113
  492. package/dist/DefaultMaterial.glsl-3cc4efe7.js +0 -42
  493. package/dist/DefaultMaterial_COLOR_GAMMA-337c63aa.js +0 -653
  494. package/dist/DefaultTheme-12dffc66.js +0 -130
  495. package/dist/DeleteForwardEditsParameters-ae76d898.js +0 -18
  496. package/dist/DimensionLayer-9eb47c76.js +0 -129
  497. package/dist/DirectLineMeasurement3D-e9903136.js +0 -449
  498. package/dist/DistanceMeasurement2D-a4853462.js +0 -303
  499. package/dist/DoubleArray-5076283e.js +0 -25
  500. package/dist/EdgeProcessingWorker-c1783ddd.js +0 -63
  501. package/dist/EditBusLayer-e812f4c9.js +0 -107
  502. package/dist/ElevationInfo-fad03d5e.js +0 -56
  503. package/dist/ElevationLayer-397792d5.js +0 -129
  504. package/dist/ElevationQuery-beceb62f.js +0 -598
  505. package/dist/ElevationSamplerWorker-0048a204.js +0 -62
  506. package/dist/ExportImageParameters-c6c4bc61.js +0 -66
  507. package/dist/ExportStrategy-908f5b8d.js +0 -93
  508. package/dist/ExportWMSImageParameters-34da6b46.js +0 -33
  509. package/dist/External-14daf0c1.js +0 -110
  510. package/dist/FeatureCollectionSnappingSource-f97a1829.js +0 -130
  511. package/dist/FeatureCommandQueue-d4817eac.js +0 -1244
  512. package/dist/FeatureEffect-08976bbd.js +0 -39
  513. package/dist/FeatureEffectLayer-05c258f4.js +0 -13
  514. package/dist/FeatureFilter-8c5e44b1.js +0 -27
  515. package/dist/FeatureLayer-d3659466.js +0 -693
  516. package/dist/FeatureLayerBase-9b63f732.js +0 -148
  517. package/dist/FeatureLayerSource-960f1c01.js +0 -444
  518. package/dist/FeatureLayerView2D-7503e1ed.js +0 -1967
  519. package/dist/FeaturePipelineWorker-d4301d2a.js +0 -3633
  520. package/dist/FeatureReductionLayer-e6cf73ac.js +0 -225
  521. package/dist/FeatureReductionSelection-d90249a7.js +0 -22
  522. package/dist/FeatureServiceSnappingSource-9e49ca72.js +0 -481
  523. package/dist/FeatureServiceSnappingSourceWorker-39b093b3.js +0 -747
  524. package/dist/FeatureSet-d79f0e48.js +0 -188
  525. package/dist/FeatureStore-eb4b87c0.js +0 -131
  526. package/dist/FeatureTemplate-edb1b782.js +0 -12
  527. package/dist/FeatureType-bba29adb.js +0 -25
  528. package/dist/FieldsIndex-75cca4d0.js +0 -109
  529. package/dist/FormTemplate-22911c47.js +0 -350
  530. package/dist/GeoJSONLayer-b33c96b8.js +0 -236
  531. package/dist/GeoJSONSourceWorker-b04ff552.js +0 -247
  532. package/dist/GeoRSSLayer-6e5fcd0e.js +0 -73
  533. package/dist/GeoRSSLayerView2D-21b6b12e.js +0 -140
  534. package/dist/GeometryUtils-fa897cbd.js +0 -403
  535. package/dist/GraphicContainer-1fd6bfce.js +0 -26
  536. package/dist/GraphicManipulator-f3b7dc9b.js +0 -1499
  537. package/dist/GraphicsLayer-e0686779.js +0 -38
  538. package/dist/GraphicsLayerView2D-a7eba2fe.js +0 -114
  539. package/dist/GraphicsSnappingSource-594f402a.js +0 -273
  540. package/dist/GraphicsView2D-347562b8.js +0 -620
  541. package/dist/GroupLayer-7ae0a916.js +0 -147
  542. package/dist/GroupLayerView2D-ffcde606.js +0 -98
  543. package/dist/HUDMaterial.glsl-b0a3e0ce.js +0 -65
  544. package/dist/HighlightCounter-e18f0179.js +0 -41
  545. package/dist/HighlightGraphicContainer-fd774cea.js +0 -18
  546. package/dist/I3SBinaryReader-190e99de.js +0 -310
  547. package/dist/I3SLayerDefinitions-6ddaca60.js +0 -55
  548. package/dist/I3SUtil-44b83dc0.js +0 -59
  549. package/dist/IdentityManager-fbe91c13.js +0 -899
  550. package/dist/ImageHistogramParameters-d64fd9c8.js +0 -905
  551. package/dist/ImageryLayer-67878a78.js +0 -1799
  552. package/dist/ImageryLayerView2D-ae45faba.js +0 -352
  553. package/dist/ImageryTileLayer-9dca8b93.js +0 -2157
  554. package/dist/ImageryTileLayerView2D-977f66aa.js +0 -1110
  555. package/dist/Indices-e6dc3b15.js +0 -67
  556. package/dist/Input/Input.core.d.ts +0 -159
  557. package/dist/IntegratedMesh3DTilesLayer-8811e7bf.js +0 -112
  558. package/dist/IntegratedMeshLayer-9162c0b5.js +0 -141
  559. package/dist/InteractiveAnalysisViewModel-b046fcb9.js +0 -7397
  560. package/dist/InterleavedLayout-32973c8a.js +0 -163
  561. package/dist/KMLLayer-80f81df7.js +0 -162
  562. package/dist/KMLLayerView2D-b6ba3b80.js +0 -253
  563. package/dist/KnowledgeGraphLayerView2D-ae91bd81.js +0 -43
  564. package/dist/LRUCache-27e8c401.js +0 -32
  565. package/dist/LabelClass-d9a476d6.js +0 -135
  566. package/dist/LabelMetric-e2728bbf.js +0 -400
  567. package/dist/LaserlinePath.glsl-60d00e61.js +0 -64
  568. package/dist/Laserlines.glsl-499a6cbf.js +0 -65
  569. package/dist/LayerFloorInfo-d05cf9dd.js +0 -15
  570. package/dist/LayerView-036988a9.js +0 -206
  571. package/dist/Legend/Legend.d.ts +0 -73
  572. package/dist/LercWorker-b1b4bb47.js +0 -157
  573. package/dist/LineOfSightLayer-9a9a60b7.js +0 -147
  574. package/dist/LinkChartLayer-d61803bb.js +0 -1027
  575. package/dist/Lyr3DWorker-87be14e0.js +0 -82
  576. package/dist/MagnifierPrograms-da7a27ab.js +0 -806
  577. package/dist/Map/Map.d.ts +0 -26
  578. package/dist/MapImageLayer-f07adf1a.js +0 -169
  579. package/dist/MapImageLayerView2D-d1b140c3.js +0 -146
  580. package/dist/MapNotesLayer-c662d147.js +0 -283
  581. package/dist/MapNotesLayerView2D-bf9ac698.js +0 -161
  582. package/dist/MapServiceLayerViewHelper-fb724de9.js +0 -288
  583. package/dist/MeasurementWidgetContent-e4888ef2.js +0 -2642
  584. package/dist/MediaLayer-36d873a3.js +0 -523
  585. package/dist/MediaLayerView2D-e58b8ec0.js +0 -332
  586. package/dist/MemCache-a9232ec2.js +0 -227
  587. package/dist/MemorySourceWorker-20ff27d6.js +0 -222
  588. package/dist/Mesh-3839826a.js +0 -980
  589. package/dist/MeshLocalVertexSpace-00151564.js +0 -19
  590. package/dist/Modal/Modal.d.ts +0 -106
  591. package/dist/MultiOriginJSONSupport-bb258670.js +0 -158
  592. package/dist/OGCFeatureLayer-2a8b7ecc.js +0 -211
  593. package/dist/OGCFeatureLayerView2D-185f9649.js +0 -82
  594. package/dist/ObjectStack-10d91171.js +0 -21
  595. package/dist/Octree-78797046.js +0 -495
  596. package/dist/OpenStreetMapLayer-b0a17790.js +0 -30
  597. package/dist/OperationalLayer-55af27d6.js +0 -44
  598. package/dist/OrderByInfo-22e3c805.js +0 -16
  599. package/dist/OrderedLayer-1403a591.js +0 -26
  600. package/dist/OrientedImageryLayer-8ec8d7d1.js +0 -216
  601. package/dist/OverlayCompositing.glsl-ba3bd81d.js +0 -65
  602. package/dist/OverrideHelper-82325a2c.js +0 -242
  603. package/dist/PBFDecoderWorker-f6517afc.js +0 -213
  604. package/dist/Paginator/Paginator.d.ts +0 -43
  605. package/dist/PointCloudLayer-cff43a10.js +0 -197
  606. package/dist/PointCloudUniqueValueRenderer-f337a895.js +0 -115
  607. package/dist/PointCloudWorker-cdb28dc1.js +0 -212
  608. package/dist/PooledRBush-ee4e60af.js +0 -272
  609. package/dist/Popup-c7f55588.js +0 -3990
  610. package/dist/PortalLayer-07b3c53e.js +0 -126
  611. package/dist/Program-ba2f18b2.js +0 -694
  612. package/dist/ProgramTemplate-eee4f097.js +0 -35
  613. package/dist/ProgressBar/ProgressBar.d.ts +0 -73
  614. package/dist/QueryEngine-10c97624.js +0 -896
  615. package/dist/QueryTask-115430b6.js +0 -119
  616. package/dist/RadioButton/RadioButton.d.ts +0 -87
  617. package/dist/RasterSymbolizer-fbf433fe.js +0 -3024
  618. package/dist/RasterVFDisplayObject-20b0dd86.js +0 -581
  619. package/dist/RasterWorker-44c37e20.js +0 -78
  620. package/dist/RawBlockCache-25203dbd.js +0 -185
  621. package/dist/RealisticTree.glsl-bc07c4dc.js +0 -42
  622. package/dist/RefreshableLayer-9550b85a.js +0 -80
  623. package/dist/RefreshableLayerView-601f7038.js +0 -16
  624. package/dist/Relationship-c662830e.js +0 -64
  625. package/dist/RelationshipQuery-765f068e.js +0 -22
  626. package/dist/RenderingContext-3db74548.js +0 -889
  627. package/dist/RibbonLine.glsl-c6a715b7.js +0 -65
  628. package/dist/RouteLayer-3f5411f3.js +0 -786
  629. package/dist/RouteLayerView2D-a5fd4cbf.js +0 -195
  630. package/dist/SDFHelper-a34e90ee.js +0 -140
  631. package/dist/SSAO.glsl-5491a708.js +0 -43
  632. package/dist/SSAOBlur.glsl-f3068b8e.js +0 -42
  633. package/dist/ScaleRangeLayer-7ddf00b4.js +0 -21
  634. package/dist/SceneLayer-c594bfc3.js +0 -542
  635. package/dist/SceneLayerSnappingSource-a0504ac7.js +0 -218
  636. package/dist/SceneLayerSnappingSourceWorker-a04d6692.js +0 -112
  637. package/dist/SceneLayerWorker-1865768e.js +0 -164
  638. package/dist/SceneService-fb9f0142.js +0 -215
  639. package/dist/Scheduler-eacc84bb.js +0 -373
  640. package/dist/Select/Item/Item.d.ts +0 -104
  641. package/dist/Select/Multiple/Select.multiple.d.ts +0 -90
  642. package/dist/Select/Select.core.d.ts +0 -78
  643. package/dist/Select/Single/Select.single.d.ts +0 -66
  644. package/dist/ShadedColorMaterial.glsl-db97956b.js +0 -64
  645. package/dist/SnappingOperation-9622a00d.js +0 -48
  646. package/dist/SourceLayerData-7016f1a5.js +0 -116
  647. package/dist/SpatialFilter-d20d4f50.js +0 -1701
  648. package/dist/Stop-68022e32.js +0 -281
  649. package/dist/StreamLayer-7c837e3d.js +0 -188
  650. package/dist/StreamLayerView2D-586f5a6a.js +0 -164
  651. package/dist/StyleRepository-fba75e70.js +0 -2212
  652. package/dist/SublayersOwner-3dc574cd.js +0 -545
  653. package/dist/SubtypeGroupLayer-1f9c5398.js +0 -514
  654. package/dist/SubtypeGroupLayerView2D-0f108d9d.js +0 -84
  655. package/dist/Tabs/Tab/Tab.d.ts +0 -69
  656. package/dist/Tabs/Tabs.d.ts +0 -50
  657. package/dist/TechniqueInstance-0481dbff.js +0 -233
  658. package/dist/TemporalLayer-8116b4a4.js +0 -23
  659. package/dist/Texture-22a8cca5.js +0 -501
  660. package/dist/TextureOnly.glsl-458f8148.js +0 -65
  661. package/dist/Theme-f05b8eb0.js +0 -3426
  662. package/dist/Tick-aef93b48.js +0 -723
  663. package/dist/TileContainer-0bf0ea1b.js +0 -31
  664. package/dist/TileInfoTilemapCache-d78858c0.js +0 -38
  665. package/dist/TileLayer-0edee064.js +0 -194
  666. package/dist/TileLayerView2D-78d5801b.js +0 -187
  667. package/dist/TilemapCache-79699d61.js +0 -189
  668. package/dist/TimeInfo-40c96ade.js +0 -42
  669. package/dist/TimeOnly-9ee66ca6.js +0 -706
  670. package/dist/Tipograph/Paragraph/Paragraph.d.ts +0 -25
  671. package/dist/Tipograph/Title/Title.d.ts +0 -25
  672. package/dist/Toggle/Toggle.d.ts +0 -45
  673. package/dist/Tooltip-e7498dc9.js +0 -138
  674. package/dist/TopFeaturesQuery-ad224e01.js +0 -32
  675. package/dist/TurboLine-6ab04aef.js +0 -565
  676. package/dist/UniqueValueRenderer-eaa5f8a6.js +0 -1039
  677. package/dist/UnknownLayer-e280ddd4.js +0 -30
  678. package/dist/UnknownTimeZone-220952b5.js +0 -15
  679. package/dist/UnsupportedLayer-447f7676.js +0 -31
  680. package/dist/UpdateTracking2D-e9adad8f.js +0 -8566
  681. package/dist/Upload/Upload.d.ts +0 -129
  682. package/dist/Util-002f5109.js +0 -57
  683. package/dist/VectorTileLayer-3210be81.js +0 -544
  684. package/dist/VectorTileLayerView2D-6a51e3b8.js +0 -2108
  685. package/dist/Version-3de8cbca.js +0 -33
  686. package/dist/VertexArrayObject-07998745.js +0 -73
  687. package/dist/VertexColor.glsl-e415cf02.js +0 -2683
  688. package/dist/VertexSnappingCandidate-b676241f.js +0 -13
  689. package/dist/VideoLayerView2D-f659dd0d.js +0 -124
  690. package/dist/VoxelLayer-003f82ff.js +0 -631
  691. package/dist/WFSLayer-3da6c5f7.js +0 -221
  692. package/dist/WFSSourceWorker-9a11693a.js +0 -157
  693. package/dist/WGLContainer-3d159b63.js +0 -5426
  694. package/dist/WMSLayer-fc0632f8.js +0 -536
  695. package/dist/WMSLayerView2D-54e80e1b.js +0 -117
  696. package/dist/WMTSLayer-9324b12b.js +0 -531
  697. package/dist/WMTSLayerView2D-3ef936db.js +0 -142
  698. package/dist/WebTileLayer-45c563ff.js +0 -110
  699. package/dist/WhereClause-7a28b740.js +0 -2766
  700. package/dist/WorkerHandle-0d54a6c7.js +0 -47
  701. package/dist/WorkerTileHandler-786c2b24.js +0 -1539
  702. package/dist/action-163397e3.js +0 -198
  703. package/dist/action-group-4859fb97.js +0 -145
  704. package/dist/action-menu-2d70b2fc.js +0 -1759
  705. package/dist/apng-9b71d52c.js +0 -392
  706. package/dist/arcade-fa309282.js +0 -229
  707. package/dist/arcadeAsyncRuntime-738498fd.js +0 -943
  708. package/dist/arcadeUtils-f71d80fa.js +0 -8741
  709. package/dist/arcgis-knowledge-client-core-6056bcea.js +0 -1218
  710. package/dist/arcgis-knowledge-client-core-simd-9bc1f83e.js +0 -1218
  711. package/dist/arcgisLayers-b2b878bd.js +0 -152
  712. package/dist/associatedFeatureServiceUtils-df5b5187.js +0 -92
  713. package/dist/axisAngleDegrees-32643b7c.js +0 -49
  714. package/dist/basis_transcoder-3187cc92.js +0 -1248
  715. package/dist/calcite-action-bar-5a87c23c.js +0 -303
  716. package/dist/calcite-action-ee2ca847.js +0 -22
  717. package/dist/calcite-action-group-19aa86ee.js +0 -28
  718. package/dist/calcite-button-8e9175c0.js +0 -228
  719. package/dist/calcite-flow-57d26d2d.js +0 -128
  720. package/dist/calcite-flow-item-4a3e3fc0.js +0 -499
  721. package/dist/calcite-icon-d99e280a.js +0 -16
  722. package/dist/calcite-input-28b20785.js +0 -24
  723. package/dist/calcite-label-4f30e08d.js +0 -79
  724. package/dist/calcite-list-0cee7628.js +0 -2135
  725. package/dist/calcite-list-item-0a19efa8.js +0 -576
  726. package/dist/calcite-list-item-group-0706662f.js +0 -71
  727. package/dist/calcite-loader-865045b1.js +0 -14
  728. package/dist/calcite-modal-3e4da6fd.js +0 -333
  729. package/dist/calcite-notice-50b74ab7.js +0 -181
  730. package/dist/calcite-option-713c1d40.js +0 -94
  731. package/dist/calcite-scrim-809fbd0b.js +0 -18
  732. package/dist/calcite-select-28d8edfc.js +0 -231
  733. package/dist/capabilities-c8f838be.js +0 -50
  734. package/dist/chartCommon-13718cda.js +0 -256
  735. package/dist/chartUtilsAm5-6be145fb.js +0 -2954
  736. package/dist/clientSideDefaults-5c1f97c9.js +0 -39
  737. package/dist/colorRamps-8792655e.js +0 -38
  738. package/dist/colorUtils-54f4b662.js +0 -164
  739. package/dist/commonProperties-f9559903.js +0 -60
  740. package/dist/computeTranslationToOriginAndRotation-4876cb93.js +0 -60
  741. package/dist/conditionalSlot-87175989.js +0 -27
  742. package/dist/createConnection-f974a00a.js +0 -299
  743. package/dist/dataUtils-7c276b73.js +0 -1421
  744. package/dist/deduplicate-59fb9cac.js +0 -89
  745. package/dist/defaults-2bfa4a36.js +0 -31
  746. package/dist/deleteForwardEdits-f653b513.js +0 -13
  747. package/dist/diffUtils-e71a6152.js +0 -90
  748. package/dist/drapedUtils-b42fcbc6.js +0 -75
  749. package/dist/earcut-6fa1a128.js +0 -292
  750. package/dist/edgeProcessing-2ff1f201.js +0 -252
  751. package/dist/editingSupport-68545668.js +0 -203
  752. package/dist/editsZScale-c7cdd215.js +0 -37
  753. package/dist/elevationInfoUtils-5456a079.js +0 -126
  754. package/dist/executeForIds-4ab75c0d.js +0 -14
  755. package/dist/executeForTopCount-7e095ec1.js +0 -17
  756. package/dist/executeForTopExtents-19daf9d0.js +0 -17
  757. package/dist/executeForTopIds-1ba3a4af.js +0 -17
  758. package/dist/executeQueryJSON-46168866.js +0 -15
  759. package/dist/executeQueryPBF-d8623daf.js +0 -152
  760. package/dist/executeRelationshipQuery-011dfb45.js +0 -53
  761. package/dist/executeTopFeaturesQuery-02166801.js +0 -18
  762. package/dist/featureConversionUtils-650d7601.js +0 -479
  763. package/dist/featureLayerUtils-64e09283.js +0 -142
  764. package/dist/featureLayerUtils-b07f9c11.js +0 -250
  765. package/dist/featureSetUtils-9d37d6f8.js +0 -2530
  766. package/dist/featuresetbase-62aeb079.js +0 -707
  767. package/dist/featuresetgeom-51f9fc4e.js +0 -99
  768. package/dist/featuresetstats-4db32894.js +0 -81
  769. package/dist/featuresetstring-990c3287.js +0 -95
  770. package/dist/fetchService-5198dd4a.js +0 -33
  771. package/dist/fieldProperties-edfa24cb.js +0 -33
  772. package/dist/floatRGBA-516d7961.js +0 -20
  773. package/dist/form-99719d52.js +0 -138
  774. package/dist/geohashUtils-2bc76440.js +0 -85
  775. package/dist/geojson-603231df.js +0 -208
  776. package/dist/geomasync-e9063b4c.js +0 -567
  777. package/dist/geometryEngine-d3bb2fd6.js +0 -192
  778. package/dist/geometryEngineAsync-55aa6170.js +0 -217
  779. package/dist/geometryEngineBase-527e8b63.js +0 -18463
  780. package/dist/geometryEngineJSON-28087174.js +0 -46
  781. package/dist/geometryEngineJSON-d54949f9.js +0 -171
  782. package/dist/geometryEngineWorker-dc2c7127.js +0 -11
  783. package/dist/geometryServiceUtils-6a3e1e93.js +0 -28
  784. package/dist/georeference-ed8b2c30.js +0 -291
  785. package/dist/gif-204e82dd.js +0 -323
  786. package/dist/gltfexport-b2566542.js +0 -705
  787. package/dist/groupLayerUtils-ea9e6359.js +0 -39
  788. package/dist/heatmapUtils-56758920.js +0 -45
  789. package/dist/highlightReasons-de432106.js +0 -19
  790. package/dist/hydrated-0e1c7565.js +0 -40
  791. package/dist/i3s-bb0b5b67.js +0 -809
  792. package/dist/icon-c6e3bd23.js +0 -127
  793. package/dist/imageBitmapUtils-881d8c64.js +0 -23
  794. package/dist/imageUtils-57eeedc5.js +0 -69
  795. package/dist/imageUtils-ef69c578.js +0 -89
  796. package/dist/imageryUtils-23f51cb1.js +0 -43
  797. package/dist/index-01c737ed.js +0 -42563
  798. package/dist/input-message-673a9baa.js +0 -92
  799. package/dist/input2-bbf6454e.js +0 -575
  800. package/dist/interactive-aeb2cb9f.js +0 -80
  801. package/dist/jsonContext-2dc288b1.js +0 -15
  802. package/dist/jsonUtils-1abd4bfc.js +0 -59
  803. package/dist/jsonUtils-913fa1bd.js +0 -86
  804. package/dist/jsonUtils-f6a5e63b.js +0 -476
  805. package/dist/kmlUtils-7c2744fe.js +0 -112
  806. package/dist/knowledgeGraphService-6a349e04.js +0 -739
  807. package/dist/knowledgegraph-c91b0bb2.js +0 -149
  808. package/dist/labelUtils-a3634e8f.js +0 -61
  809. package/dist/labelingInfo-568c9210.js +0 -46
  810. package/dist/layersCreator-4a5366ea.js +0 -151
  811. package/dist/layersLoader-b87d4857.js +0 -197
  812. package/dist/lazyLayerLoader-8817000c.js +0 -10
  813. package/dist/lclayout-64c67b4e.js +0 -773
  814. package/dist/lengthUtils-695e744c.js +0 -5
  815. package/dist/lerc-wasm-13192bf3.js +0 -325
  816. package/dist/libtess-asm-4883179d.js +0 -3673
  817. package/dist/libtess-fc70d1ce.js +0 -269
  818. package/dist/lineSegment-3aa941f5.js +0 -76
  819. package/dist/loadGLTFMesh-db6645f5.js +0 -181
  820. package/dist/loadable-266f324b.js +0 -24
  821. package/dist/loader-d1ce1bc1.js +0 -79
  822. package/dist/lyr3DWorker-dd48e619.js +0 -2108
  823. package/dist/mapViewDeps-226d9da3.js +0 -3052
  824. package/dist/mediaLayerUtils-ae485c27.js +0 -35
  825. package/dist/meshFeatureSet-8a2ad011.js +0 -126
  826. package/dist/meshVertexSpaceUtils-6efe3dcc.js +0 -58
  827. package/dist/multidimensionalUtils-508a3f3f.js +0 -290
  828. package/dist/normalizeUtilsSync-1dae280b.js +0 -181
  829. package/dist/number-5aa3a81b.js +0 -128
  830. package/dist/objectResourceUtils-642ab03e.js +0 -1455
  831. package/dist/observers-f646a6a4.js +0 -30
  832. package/dist/ogcFeatureUtils-46ac1c44.js +0 -206
  833. package/dist/openCloseComponent-47eb52c6.js +0 -37
  834. package/dist/orientedBoundingBox-554ccdc6.js +0 -447
  835. package/dist/parser-0701286c.js +0 -488
  836. package/dist/pbf-5dd791f5.js +0 -215
  837. package/dist/pbfQueryUtils-a6ca7e23.js +0 -422
  838. package/dist/pe-wasm-6c16b121.js +0 -887
  839. package/dist/persistable-9eb0e8df.js +0 -89
  840. package/dist/perspectiveUtils-b194621d.js +0 -42
  841. package/dist/pieChart-b97433d0.js +0 -555
  842. package/dist/plane-3398eec1.js +0 -160
  843. package/dist/popupUtils-c444b896.js +0 -22
  844. package/dist/popupUtils-d871563b.js +0 -50
  845. package/dist/portalItemUtils-4c4caad0.js +0 -57
  846. package/dist/portalLayers-cb07742f.js +0 -312
  847. package/dist/portalUtils-effd590f.js +0 -7
  848. package/dist/programUtils-65af7b7c.js +0 -59
  849. package/dist/project-ee9c2947.js +0 -21
  850. package/dist/projectPointToVector-7dc831a9.js +0 -14
  851. package/dist/projectVectorToVector-5163db7a.js +0 -13
  852. package/dist/quantityUtils-5cd4cf90.js +0 -33
  853. package/dist/quantizationUtils-0a8f74c6.js +0 -68
  854. package/dist/quat-a508aed3.js +0 -104
  855. package/dist/query-b6e1fd14.js +0 -89
  856. package/dist/queryAttachments-7b39ebdc.js +0 -39
  857. package/dist/queryEngineUtils-cb8e309e.js +0 -21
  858. package/dist/queryTopFeatures-2e0e3941.js +0 -50
  859. package/dist/queryZScale-c5733d0a.js +0 -12
  860. package/dist/rasterProjectionHelper-213afa27.js +0 -577
  861. package/dist/rasterUtils-f2e44e8b.js +0 -122
  862. package/dist/rasterizingUtils-25cc0190.js +0 -46
  863. package/dist/request-e0c679b3.js +0 -46
  864. package/dist/requestImageUtils-37d79281.js +0 -8
  865. package/dist/resourceExtension-5f3f1c80.js +0 -17
  866. package/dist/resourceUtils-0d68cbc2.js +0 -69
  867. package/dist/resourceUtils-374db840.js +0 -62
  868. package/dist/resourceUtils-43ce192b.js +0 -42
  869. package/dist/saveAPIKeyUtils-1a3d4a8a.js +0 -8
  870. package/dist/saveUtils-43fdc547.js +0 -24
  871. package/dist/scaleUtils-bdf8b6cb.js +0 -23
  872. package/dist/scrim-44eb4dc0.js +0 -114
  873. package/dist/serviceCapabilitiesUtils-823612b8.js +0 -64
  874. package/dist/sourceUtils-01d115c6.js +0 -71
  875. package/dist/sphere-908cd9aa.js +0 -199
  876. package/dist/statsWorker-49f9befe.js +0 -37
  877. package/dist/streamLayerUtils-29324e05.js +0 -31
  878. package/dist/styleUtils-82e8da52.js +0 -75
  879. package/dist/styleUtils-8541d60d.js +0 -14
  880. package/dist/sublayerUtils-eaac2486.js +0 -37
  881. package/dist/substitute-1f578d70.js +0 -52
  882. package/dist/symbolColorUtils-18fd6b3d.js +0 -8
  883. package/dist/symbolLayerUtils-4c58b291.js +0 -31
  884. package/dist/symbologySnappingCandidates-14d94b6b.js +0 -221
  885. package/dist/t9n-c1c2b6c8.js +0 -349
  886. package/dist/testSVGPremultipliedAlpha-159dac90.js +0 -94
  887. package/dist/timeSupport-3f529cdb.js +0 -410
  888. package/dist/triangle-8a3a2ba8.js +0 -98
  889. package/dist/unitConversionUtils-f0ebaf75.js +0 -17
  890. package/dist/unitFormatUtils-555e2d94.js +0 -40
  891. package/dist/uploadAssetErrors-d1389781.js +0 -70
  892. package/dist/uploadAssets-5e85f09d.js +0 -330
  893. package/dist/utils-3a10b10c.js +0 -34
  894. package/dist/utils-505c54e9.js +0 -91
  895. package/dist/utils-5432e258.js +0 -433
  896. package/dist/utils-7a88ec6a.js +0 -419
  897. package/dist/utils-7fa9cdf9.js +0 -2746
  898. package/dist/utils-d252c575.js +0 -73
  899. package/dist/utils-f07e00b3.js +0 -232
  900. package/dist/utils-fda10b4b.js +0 -79
  901. package/dist/utils3-c34ab97c.js +0 -75
  902. package/dist/vec3-f79c600d.js +0 -81
  903. package/dist/vec42-36edeb73.js +0 -125
  904. package/dist/versionUtils-6935648b.js +0 -161
  905. package/dist/visualVariableUtils-c425461a.js +0 -267
  906. package/dist/webStyleSymbolUtils-4f42a29f.js +0 -48
  907. package/dist/webglDeps-5f18210d.js +0 -23
  908. package/dist/wfsUtils-6f7f1e3e.js +0 -343
  909. package/dist/workerHelper-9dc9a790.js +0 -11
  910. package/dist/xyChart-e5648fee.js +0 -3335
@@ -1,1707 +0,0 @@
1
- import { s as de, t as H, o as le, M as fe, d as _e } from "./LabelMetric-e2728bbf.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-e9adad8f.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-01c737ed.js";
4
- import { p as Pe } from "./labelUtils-a3634e8f.js";
5
- import { Z as X } from "./FieldsIndex-75cca4d0.js";
6
- import { m as M, n as J, a as q } from "./TimeOnly-9ee66ca6.js";
7
- import { b as Ge, v as je, t as ke, n as Ne } from "./timeSupport-3f529cdb.js";
8
- import { r as O, p as K } from "./featureConversionUtils-650d7601.js";
9
- import { e as C, t as We } from "./OptimizedGeometry-3b808152.js";
10
- import { m as Le } from "./diffUtils-e71a6152.js";
11
- import { l as V } from "./highlightReasons-de432106.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
- };