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

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 (629) hide show
  1. package/WebLinkChart.d.ts +0 -12
  2. package/WebLinkChart.js +1 -1
  3. package/applications/Components/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  4. package/applications/WebEditor/sketchUtils.js +1 -1
  5. package/arcade/arcadeCompiler.js +5 -5
  6. package/arcade/containerUtils.js +1 -1
  7. package/arcade/featureset/actions/Adapted.js +1 -1
  8. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  9. package/arcade/featureset/sources/FeatureLayerMemory.js +1 -1
  10. package/arcade/featureset/support/shared.js +1 -1
  11. package/arcade/featureset/support/sqlUtils.js +1 -1
  12. package/assets/esri/core/workers/RemoteClient.js +1 -1
  13. package/assets/esri/core/workers/chunks/075e6c60e741482e673f.js +1 -0
  14. package/assets/esri/core/workers/chunks/076c2098570ee885d117.js +1 -0
  15. package/assets/esri/core/workers/chunks/091ce6b3de590e1d9ff6.js +1 -0
  16. package/assets/esri/core/workers/chunks/099dec4103f6e7556eb0.js +1 -0
  17. package/assets/esri/core/workers/chunks/{77267e0807cbbc00496d.js → 0be55d9bab7c3510a7f2.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{da69e8cd52aa77aa4c2c.js → 0fc1facd26c9ef96e081.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{f97dc99afe3375fc8e16.js → 1179a3574c580f7ce390.js} +1 -1
  20. package/assets/esri/core/workers/chunks/129140104be2620c0382.js +1 -0
  21. package/assets/esri/core/workers/chunks/1295fcf866e7347b2d53.js +1 -0
  22. package/assets/esri/core/workers/chunks/16219f0c56d6f6213c24.js +1 -0
  23. package/assets/esri/core/workers/chunks/185b317eec95f3370970.js +1 -0
  24. package/assets/esri/core/workers/chunks/1bdef2e142e78341fec0.js +1 -0
  25. package/assets/esri/core/workers/chunks/1ce0bf4ff14af8a68a5c.js +1 -0
  26. package/assets/esri/core/workers/chunks/1f1515313baeecc095a2.js +1 -0
  27. package/assets/esri/core/workers/chunks/1f710c91a82f6fd3d0f6.js +1 -0
  28. package/assets/esri/core/workers/chunks/{1894c39dabc78e7a5af8.js → 1fad7a7211bb8c9b58e3.js} +1 -1
  29. package/assets/esri/core/workers/chunks/24374aaa6fb3e12960d1.js +1 -0
  30. package/assets/esri/core/workers/chunks/24aa7b81814b4e519b01.js +1 -0
  31. package/assets/esri/core/workers/chunks/294097140e349e073b7e.js +1 -0
  32. package/assets/esri/core/workers/chunks/{c8c79d21dfce5695a089.js → 2b69fdf51b6f0b2abb75.js} +1 -1
  33. package/assets/esri/core/workers/chunks/2ba9b3b4d49eb2740a42.js +1 -0
  34. package/assets/esri/core/workers/chunks/2eb3297014f063fb4bc9.js +1 -0
  35. package/assets/esri/core/workers/chunks/2eb3cec44ce7587980a4.js +1 -0
  36. package/assets/esri/core/workers/chunks/2ee3cd6b2e5274932d31.js +1 -0
  37. package/assets/esri/core/workers/chunks/31df02c6f5b04a143ae6.js +1 -0
  38. package/assets/esri/core/workers/chunks/32d5aae2e0953420216a.js +1 -0
  39. package/assets/esri/core/workers/chunks/3a1510650ce8de7edec8.js +1 -0
  40. package/assets/esri/core/workers/chunks/3b0933cea2a902a26bb7.js +1 -0
  41. package/assets/esri/core/workers/chunks/3d96676b94e8ecb6a4d1.js +1 -0
  42. package/assets/esri/core/workers/chunks/3edfd8ecf000b00a4a92.js +1 -0
  43. package/assets/esri/core/workers/chunks/{f053cbfe671bd14c7d5b.js → 419d8116d8e7faccfed5.js} +1 -1
  44. package/assets/esri/core/workers/chunks/41d57b45cc2361305af3.js +1 -0
  45. package/assets/esri/core/workers/chunks/42ee1f8732e644371ea9.js +1 -0
  46. package/assets/esri/core/workers/chunks/4309f3e72c6332e01d75.js +1 -0
  47. package/assets/esri/core/workers/chunks/44ca7a56fb28227fdcbf.js +1 -0
  48. package/assets/esri/core/workers/chunks/4537f0866e903d2e9bb9.js +1 -0
  49. package/assets/esri/core/workers/chunks/49f61832e0d3b24e1608.js +1 -0
  50. package/assets/esri/core/workers/chunks/4a45505fb9a40b503672.js +29 -0
  51. package/assets/esri/core/workers/chunks/4b456c1f26d70392f7d4.js +1 -0
  52. package/assets/esri/core/workers/chunks/{28fae7da8cc4ae7a83e4.js → 4c510b1caffeec80dc6b.js} +1 -1
  53. package/assets/esri/core/workers/chunks/4ce5c9b658ba79a0b668.js +1 -0
  54. package/assets/esri/core/workers/chunks/{41694ee8990e799da225.js → 4d8f23b2e6721fb5b289.js} +1 -1
  55. package/assets/esri/core/workers/chunks/4fb8708666a614df583d.js +1 -0
  56. package/assets/esri/core/workers/chunks/4feec96a312dcc137911.js +1 -0
  57. package/assets/esri/core/workers/chunks/52ad9306fd40d488376d.js +1 -0
  58. package/assets/esri/core/workers/chunks/5375bdf46b602b19fa86.js +1 -0
  59. package/assets/esri/core/workers/chunks/549a8e7313f75ea3f85b.js +1 -0
  60. package/assets/esri/core/workers/chunks/55f97942c58455f47975.js +1 -0
  61. package/assets/esri/core/workers/chunks/566d72534d694c318e30.js +1 -0
  62. package/assets/esri/core/workers/chunks/5ce00674305e5716d27b.js +1 -0
  63. package/assets/esri/core/workers/chunks/5e032d209df500fad321.js +1 -0
  64. package/assets/esri/core/workers/chunks/{be0133fa63c5d6545a7f.js → 5e4de4ddd3bdc74100e0.js} +33 -32
  65. package/assets/esri/core/workers/chunks/5ea8cdc28a81744913cd.js +1 -0
  66. package/assets/esri/core/workers/chunks/61565d4674cf77cbf1dd.js +1 -0
  67. package/assets/esri/core/workers/chunks/{d296c9561f6a6aeff973.js → 68b8dff748f1ef588653.js} +1 -1
  68. package/assets/esri/core/workers/chunks/690041373d03d02a3044.js +1 -0
  69. package/assets/esri/core/workers/chunks/{6d99e7e1aa007a6f1039.js → 69316db52d7bed746879.js} +1 -1
  70. package/assets/esri/core/workers/chunks/69384a9703abee1903c5.js +1 -0
  71. package/assets/esri/core/workers/chunks/6992a7728451c5a7b673.js +1 -0
  72. package/assets/esri/core/workers/chunks/69e5efe1acbdaddee90d.js +1 -0
  73. package/assets/esri/core/workers/chunks/6b2e09e43f449020d5ad.js +1 -0
  74. package/assets/esri/core/workers/chunks/6b5f8bf8b3480910666d.js +1 -0
  75. package/assets/esri/core/workers/chunks/70fe8b90f174ec64db2e.js +1 -0
  76. package/assets/esri/core/workers/chunks/720356fc6d5e18008471.js +1 -0
  77. package/assets/esri/core/workers/chunks/{3869ea1be105eaad4a38.js → 7328aca34c95fd0fc752.js} +1 -1
  78. package/assets/esri/core/workers/chunks/789567124c4a15235952.js +1 -0
  79. package/assets/esri/core/workers/chunks/{a24dc5350af001db417a.js → 7affab0d0692bdb76036.js} +1 -1
  80. package/assets/esri/core/workers/chunks/{b6e628b5d2643af4c19b.js → 7b4063f45b45ad8a7289.js} +1 -1
  81. package/assets/esri/core/workers/chunks/7c22d3669087f38c92b9.js +1 -0
  82. package/assets/esri/core/workers/chunks/7cb7bdc30f970eb9ff7f.js +1 -0
  83. package/assets/esri/core/workers/chunks/7d71cf65bbc1b3308856.js +1 -0
  84. package/assets/esri/core/workers/chunks/81cdb9705f7eee9e792f.js +1 -0
  85. package/assets/esri/core/workers/chunks/821003fe1be30d5d29aa.js +1 -0
  86. package/assets/esri/core/workers/chunks/822b9c1e172c835b9624.js +1 -0
  87. package/assets/esri/core/workers/chunks/{a7dfca326883384d2751.js → 823228f1fa6ba4e8bff2.js} +1 -1
  88. package/assets/esri/core/workers/chunks/84021d57822f374217ef.js +1 -0
  89. package/assets/esri/core/workers/chunks/847ec6b337cfb2e4a15b.js +1 -0
  90. package/assets/esri/core/workers/chunks/84f41ddd7366bfbf5b25.js +1 -0
  91. package/assets/esri/core/workers/chunks/{c6e7c95391a54978402b.js → 893363ee500fc1288781.js} +1 -1
  92. package/assets/esri/core/workers/chunks/8b0cdbbf5c81283eae13.js +1 -0
  93. package/assets/esri/core/workers/chunks/{7850e306d7cd12653b23.js → 90de2f93b0ba1eb337fd.js} +1 -1
  94. package/assets/esri/core/workers/chunks/91b0035e3eae9e452fbc.js +1 -0
  95. package/assets/esri/core/workers/chunks/93262d3616ac0cc4b532.js +1 -0
  96. package/assets/esri/core/workers/chunks/9748a0db6451336d51ef.js +1 -0
  97. package/assets/esri/core/workers/chunks/{69a09c6acb5ae03c67f6.js → 985ce51da8ae4984a4db.js} +1 -1
  98. package/assets/esri/core/workers/chunks/9bbff9230298b1bac46a.js +1 -0
  99. package/assets/esri/core/workers/chunks/9cae59db5b9cb37baea9.js +1 -0
  100. package/assets/esri/core/workers/chunks/{ed2626a895ca1d4a7216.js → 9dbb9e74754392b066a8.js} +1 -1
  101. package/assets/esri/core/workers/chunks/9dd3863b9d7c1a5ea20a.js +1 -0
  102. package/assets/esri/core/workers/chunks/9e62cfcb4e0188d51294.js +1 -0
  103. package/assets/esri/core/workers/chunks/a2a3edec2ee31273d609.js +1 -0
  104. package/assets/esri/core/workers/chunks/{d0e8d0f8b4e4cc13e837.js → a301aa62a03d3618eba9.js} +1 -1
  105. package/assets/esri/core/workers/chunks/a39d595fc11afedc1875.js +1 -0
  106. package/assets/esri/core/workers/chunks/a57b506c538e2186909d.js +1 -0
  107. package/assets/esri/core/workers/chunks/a722114f01e66a608cec.js +1 -0
  108. package/assets/esri/core/workers/chunks/{5bda285f6ecf725676b3.js → a7b4821fd3080cf2756f.js} +1 -1
  109. package/assets/esri/core/workers/chunks/a8d91c2654c5012400b4.js +1 -0
  110. package/assets/esri/core/workers/chunks/aa70d98e6bcbd06a8461.js +1 -0
  111. package/assets/esri/core/workers/chunks/add538f52c7bcfd154da.js +1 -0
  112. package/assets/esri/core/workers/chunks/ae0b0a562f0ab57e1883.js +1 -0
  113. package/assets/esri/core/workers/chunks/b2c3652c8ce9597dcf89.js +1 -0
  114. package/assets/esri/core/workers/chunks/b725d944ecd5da02fd9e.js +1 -0
  115. package/assets/esri/core/workers/chunks/b7fbbbeabaa5bfcdeabc.js +1 -0
  116. package/assets/esri/core/workers/chunks/{70ead4c231cba4084cf4.js → b856ef3a949ca06a4af5.js} +1 -1
  117. package/assets/esri/core/workers/chunks/{ae2cd50c2b938b39417b.js → b8b4f68305a4f654fa75.js} +1 -1
  118. package/assets/esri/core/workers/chunks/{97107e64407fa6825620.js → ba324fd300b6e6a584ae.js} +1 -1
  119. package/assets/esri/core/workers/chunks/bc40b96080346b91e507.js +1 -0
  120. package/assets/esri/core/workers/chunks/c5ca8245113576b35acc.js +1 -0
  121. package/assets/esri/core/workers/chunks/{c7a0c4ca37ebd1d98cf1.js → c629a676b707138e7a1c.js} +1 -1
  122. package/assets/esri/core/workers/chunks/c8a1aa90ec6d455ff82d.js +1 -0
  123. package/assets/esri/core/workers/chunks/c8dd8b67100177109619.js +1 -0
  124. package/assets/esri/core/workers/chunks/c8eb8744f1ed9d1897dc.js +1 -0
  125. package/assets/esri/core/workers/chunks/ccc89208aad7206aabd9.js +1 -0
  126. package/assets/esri/core/workers/chunks/cebd6732fe573f79849c.js +1 -0
  127. package/assets/esri/core/workers/chunks/{c5ddf8b347c31fe772a3.js → d45769f8a02abe5d2917.js} +1 -1
  128. package/assets/esri/core/workers/chunks/d4b62e78bb27272a5f83.js +1 -0
  129. package/assets/esri/core/workers/chunks/d52b2a591e5e6abaa133.js +1 -0
  130. package/assets/esri/core/workers/chunks/{0978e12dd6a1cbc50b80.js → d572b125bed40a4d02b1.js} +1 -1
  131. package/assets/esri/core/workers/chunks/d65206fea850b1fc0712.js +1 -0
  132. package/assets/esri/core/workers/chunks/d6a42c936ead00ab7ad4.js +1 -0
  133. package/assets/esri/core/workers/chunks/d77887edc10d5be39ac9.js +1 -0
  134. package/assets/esri/core/workers/chunks/d7b9c16fe73f50a41099.js +1 -0
  135. package/assets/esri/core/workers/chunks/{7b6fd287e7043ad50f4e.js → d9bf0be2323e9df55834.js} +1 -1
  136. package/assets/esri/core/workers/chunks/dab98890d77a6b0b2741.js +1 -0
  137. package/assets/esri/core/workers/chunks/e2ac387e154d68fd10ca.js +1 -0
  138. package/assets/esri/core/workers/chunks/e39259ff441fb67cd3e4.js +1 -0
  139. package/assets/esri/core/workers/chunks/e3c152eeaa1c95f0f2d2.js +1 -0
  140. package/assets/esri/core/workers/chunks/e4ae0fad312467f218df.js +1 -0
  141. package/assets/esri/core/workers/chunks/e50cc686db878d0a9399.js +1 -0
  142. package/assets/esri/core/workers/chunks/e7cd5eeb15d3783f803d.js +1 -0
  143. package/assets/esri/core/workers/chunks/e8042584e422044ca1d1.js +1 -0
  144. package/assets/esri/core/workers/chunks/e89640667b71c1bb4ee3.js +1 -0
  145. package/assets/esri/core/workers/chunks/e9649aa2d0fdd28d91ac.js +1 -0
  146. package/assets/esri/core/workers/chunks/ee31801144602ce816d3.js +1 -0
  147. package/assets/esri/core/workers/chunks/eff8a1a880e0eb1a6814.js +1 -0
  148. package/assets/esri/core/workers/chunks/f2b7c61462f530d812c4.js +1 -0
  149. package/assets/esri/core/workers/chunks/f56404d401dfbce29473.js +1 -0
  150. package/assets/esri/core/workers/chunks/f87416f2aa791cd1bebe.js +1 -0
  151. package/assets/esri/core/workers/chunks/{f3744b12a5d0d8ca8621.js → fa65aafac2b99478c32a.js} +1 -1
  152. package/assets/esri/core/workers/chunks/fb14a0c8d2edf868838c.js +1 -0
  153. package/assets/esri/core/workers/chunks/fb8a24aa04bd2fa43241.js +1 -0
  154. package/assets/esri/core/workers/chunks/fbb27d2cef962f725180.js +1 -0
  155. package/assets/esri/core/workers/chunks/{3c6e7dcb79d13e8aecc5.js → fc965ace82bef4c6111b.js} +1 -1
  156. package/assets/esri/core/workers/chunks/{5954f02c3901b28d8e73.js → fd9382e5207b6da74b91.js} +1 -1
  157. package/assets/esri/core/workers/chunks/fdb370546be4ad552959.js +1 -0
  158. package/assets/esri/core/workers/chunks/fefac70ebe29dff54b4c.js +1 -0
  159. package/chunks/BlurEmission.glsl.js +4 -17
  160. package/chunks/Bufferer-CclWhXVb.js +1 -1
  161. package/chunks/ColorMaterial.glsl.js +1 -1
  162. package/chunks/Component.glsl.js +1 -1
  163. package/chunks/EmissionComposite.glsl.js +2 -2
  164. package/chunks/Envelope.js +1 -1
  165. package/chunks/Envelope2D.js +1 -1
  166. package/chunks/Fog.glsl.js +3 -3
  167. package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
  168. package/chunks/ImageMaterial.glsl.js +1 -1
  169. package/chunks/LineMarker.glsl.js +2 -2
  170. package/chunks/MultiPathImpl.js +1 -1
  171. package/chunks/OperatorGeodesicBuffer.js +1 -1
  172. package/chunks/OperatorGeodeticArea.js +1 -1
  173. package/chunks/OperatorShapePreservingProject.js +1 -1
  174. package/chunks/Point2D.js +1 -1
  175. package/chunks/RealisticAtmosphere.glsl.js +7 -9
  176. package/chunks/RealisticAtmosphereCompositing.glsl.js +6 -10
  177. package/chunks/RibbonLine.glsl.js +2 -2
  178. package/chunks/Terrain.glsl.js +27 -27
  179. package/chunks/UPCPointRenderer.glsl.js +100 -0
  180. package/chunks/UnitFactory.js +1 -1
  181. package/chunks/Water.glsl.js +24 -24
  182. package/chunks/arcade.js +1 -1
  183. package/chunks/arcgis-knowledge-client-core-simd.js +4 -4
  184. package/chunks/arcgis-knowledge-client-core.js +4 -4
  185. package/chunks/array.js +1 -1
  186. package/chunks/basis_encoder.js +3 -3
  187. package/chunks/basis_transcoder.js +2 -2
  188. package/chunks/draco_mesh_decoder.js +2 -2
  189. package/chunks/dxt_encoder.js +3 -3
  190. package/chunks/i3s.js +2 -2
  191. package/chunks/languageUtils.js +1 -1
  192. package/chunks/lclayout.js +3 -3
  193. package/chunks/lerc-wasm.js +1 -1
  194. package/chunks/lyr3DWorker.js +2 -2
  195. package/chunks/pe.js +1 -1
  196. package/chunks/projector.js +1 -1
  197. package/chunks/qb3-wasm.js +1 -1
  198. package/chunks/vxlLayer.js +2 -2
  199. package/colorUtils.js +1 -1
  200. package/config.js +1 -1
  201. package/core/AsyncUpdate.js +1 -1
  202. package/core/Clonable.js +1 -1
  203. package/core/Identifiable.js +1 -1
  204. package/core/Loadable.js +1 -1
  205. package/core/MultiOriginJSONSupport.js +1 -1
  206. package/core/NumericIdentifiable.js +1 -1
  207. package/core/Promise.js +1 -1
  208. package/core/ReadOnlyMultiOriginJSONSupport.js +1 -1
  209. package/core/accessorSupport/metadata.js +1 -1
  210. package/core/accessorSupport/trackingUtils.js +1 -1
  211. package/core/asyncUtils.js +1 -1
  212. package/core/handleUtils.js +1 -1
  213. package/core/mapCollectionUtils.js +1 -1
  214. package/core/reactiveUtils.js +1 -1
  215. package/core/sql/SqlTimestampOffset.js +1 -1
  216. package/core/sql/WhereClause.js +1 -1
  217. package/core/sql/WhereGrammar.js +1 -1
  218. package/core/sql/writeUtils.js +1 -1
  219. package/core/sql.js +1 -1
  220. package/core/urlUtils.js +1 -1
  221. package/core/workers/workers.js +1 -1
  222. package/geohash/GeohashCell.js +1 -1
  223. package/geohash/GeohashTree.js +1 -1
  224. package/geometry/coordinateConversion/CoordinateConversionModel.d.ts +11 -56
  225. package/geometry/coordinateConversion/support/Conversion.d.ts +5 -17
  226. package/geometry/coordinateConversion/support/Format.d.ts +6 -30
  227. package/geometry/coordinateConversion/types.d.ts +15 -15
  228. package/geometry/operators/reshapeOperator.js +1 -1
  229. package/geometry/support/MeshMaterial.js +1 -1
  230. package/geometry/support/MeshMaterialMetallicRoughness.js +1 -1
  231. package/geometry/support/meshUtils/elevationSampler.js +1 -1
  232. package/graphic/AggregateGraphicOrigin.js +1 -1
  233. package/graphic/AnnotationFeatureGraphicOrigin.js +1 -1
  234. package/graphic/BuildingGraphicOrigin.js +1 -1
  235. package/graphic/CSVGraphicOrigin.js +1 -1
  236. package/graphic/CatalogGraphicOrigin.js +1 -1
  237. package/graphic/DimensionFeatureGraphicOrigin.js +1 -1
  238. package/graphic/FeatureGraphicOrigin.js +1 -1
  239. package/graphic/GeoJSONGraphicOrigin.js +1 -1
  240. package/graphic/GeoRSSGraphicOrigin.js +1 -1
  241. package/graphic/ImageryGraphicOrigin.js +1 -1
  242. package/graphic/ImageryTileGraphicOrigin.js +1 -1
  243. package/graphic/KMLGraphicOrigin.js +1 -1
  244. package/graphic/KnowledgeGraphGraphicOrigin.js +1 -1
  245. package/graphic/LinkChartGraphicOrigin.js +1 -1
  246. package/graphic/MapImageGraphicOrigin.js +1 -1
  247. package/graphic/MapNotesGraphicOrigin.js +1 -1
  248. package/graphic/OGCFeatureGraphicOrigin.js +1 -1
  249. package/graphic/OrientedImageryGraphicOrigin.js +1 -1
  250. package/graphic/ParquetGraphicOrigin.js +1 -1
  251. package/graphic/PointCloudGraphicOrigin.js +1 -1
  252. package/graphic/SceneGraphicOrigin.js +1 -1
  253. package/graphic/SketchGraphicOrigin.js +1 -1
  254. package/graphic/StreamGraphicOrigin.js +1 -1
  255. package/graphic/SubtypeGroupGraphicOrigin.js +1 -1
  256. package/graphic/TileGraphicOrigin.js +1 -1
  257. package/graphic/TrackGraphicOrigin.js +1 -1
  258. package/graphic/VectorTileGraphicOrigin.js +1 -1
  259. package/graphic/VoxelGraphicOrigin.js +1 -1
  260. package/graphic/WCSGraphicOrigin.js +1 -1
  261. package/graphic/WFSGraphicOrigin.js +1 -1
  262. package/graphic/getLayerViewLayer.js +2 -0
  263. package/identity/IdentityManagerBase.js +1 -1
  264. package/kernel.js +1 -1
  265. package/layers/ElevationLayer.js +1 -1
  266. package/layers/LinkChartLayer.d.ts +1 -1
  267. package/layers/LinkChartLayer.js +1 -1
  268. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  269. package/layers/PointCloudLayer.js +3 -3
  270. package/layers/VectorTileLayer.d.ts +17 -10
  271. package/layers/VoxelWasmPerSceneView.js +1 -1
  272. package/layers/WMTSLayer.js +1 -1
  273. package/layers/knowledgeGraph/KnowledgeGraphSublayerBase.js +1 -1
  274. package/layers/mixins/APIKeyMixin.js +1 -1
  275. package/layers/mixins/ArcGISCachedService.js +1 -1
  276. package/layers/mixins/ArcGISImageService.js +1 -1
  277. package/layers/mixins/ArcGISMapService.js +1 -1
  278. package/layers/mixins/ArcGISService.js +1 -1
  279. package/layers/mixins/BlendLayer.js +1 -1
  280. package/layers/mixins/CustomParametersMixin.js +1 -1
  281. package/layers/mixins/DataElementMixin.js +1 -1
  282. package/layers/mixins/DataSeriesLayer.js +1 -1
  283. package/layers/mixins/DisplayFilteredLayer.js +1 -1
  284. package/layers/mixins/EditBusLayer.js +1 -1
  285. package/layers/mixins/FeatureEffectLayer.js +1 -1
  286. package/layers/mixins/FeatureLayerBase.js +1 -1
  287. package/layers/mixins/FeatureReductionLayer.js +1 -1
  288. package/layers/mixins/HeightModelInfoMixin.js +1 -1
  289. package/layers/mixins/OperationalLayer.js +1 -1
  290. package/layers/mixins/OrderedLayer.js +1 -1
  291. package/layers/mixins/PortalLayer.js +1 -1
  292. package/layers/mixins/PublishableLayer.js +1 -1
  293. package/layers/mixins/RasterJobHandlerMixin.js +1 -1
  294. package/layers/mixins/RasterPresetRendererMixin.js +1 -1
  295. package/layers/mixins/RefreshableLayer.js +1 -1
  296. package/layers/mixins/ReloadableLayer.js +1 -1
  297. package/layers/mixins/ScaleRangeLayer.js +1 -1
  298. package/layers/mixins/SceneService.js +1 -1
  299. package/layers/mixins/SublayersOwner.js +1 -1
  300. package/layers/mixins/TemporalLayer.js +1 -1
  301. package/layers/mixins/TrackableLayer.js +1 -1
  302. package/layers/orientedImagery/transformations/utils.js +1 -1
  303. package/layers/raster/datasets/TIFFRaster.js +1 -1
  304. package/layers/raster/datasets/pixelReader.js +1 -1
  305. package/layers/raster/datasets/xmlUtilities.js +1 -1
  306. package/layers/raster/formats/Lerc.js +1 -1
  307. package/layers/raster/formats/Qb3.js +1 -1
  308. package/layers/raster/formats/TiffDecoder.js +1 -1
  309. package/layers/raster/formats/blosc.js +1 -1
  310. package/layers/raster/formats/tiffParser.js +1 -1
  311. package/layers/raster/formats/tiffSpatialReferenceUtils.js +2 -0
  312. package/layers/raster/formats/tiffTag.js +1 -1
  313. package/layers/raster/functions/colormaps.js +1 -1
  314. package/layers/support/TitleCreator.js +1 -1
  315. package/layers/support/WMTSSublayer.js +1 -1
  316. package/layers/support/geospatialPDFUtils.js +1 -1
  317. package/layers/support/imageUtils.js +1 -1
  318. package/layers/support/labelUtils.js +1 -1
  319. package/layers/support/tiles3DUtils.js +1 -1
  320. package/layers/video/VideoController.js +14 -14
  321. package/legend/ActiveLayerInfo.js +1 -1
  322. package/legend/support/sizeRampUtils.js +1 -1
  323. package/libs/basisu/BasisUEncoder.js +1 -1
  324. package/libs/basisu/BasisUTranscoder.js +1 -1
  325. package/libs/dracoMeshDecoder/dracoMeshDecoder.js +1 -1
  326. package/libs/dxtEncoder/DXTEncoder.js +1 -1
  327. package/libs/i3s/I3SModule.js +1 -1
  328. package/libs/librust-parquet/loadParquetModule.js +1 -1
  329. package/libs/librust-text/loadTextModule.js +1 -1
  330. package/libs/linkchartlayout/LinkChartLayout.js +1 -1
  331. package/libs/maquette-advanced-projector/projector.js +1 -1
  332. package/package.json +2 -2
  333. package/popup/FeaturesModel.d.ts +6 -0
  334. package/popup/FeaturesModel.js +1 -1
  335. package/portal/PortalUser.js +1 -1
  336. package/renderers/mixins/VisualVariablesMixin.js +1 -1
  337. package/renderers/visualVariables/VisualVariableFactory.js +1 -1
  338. package/rest/identify.js +1 -1
  339. package/rest/knowledgeGraph/wasmInterface/knowledgeWasmAccess.js +1 -1
  340. package/rest/layerSources/utils.js +1 -1
  341. package/rest/networks/validateNetworkTopology.js +1 -1
  342. package/rest/support/CameraInfoMixin.js +1 -1
  343. package/rest/support/NormalizationBinParametersMixin.js +1 -1
  344. package/rest/support/generateRendererUtils.js +1 -1
  345. package/smartMapping/raster/renderers/vectorField.js +1 -1
  346. package/smartMapping/renderers/type.js +1 -1
  347. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  348. package/smartMapping/support/adapters/FeatureLayerBinningAdapter.js +1 -1
  349. package/smartMapping/symbology/color.js +1 -1
  350. package/smartMapping/symbology/support/Theme.js +1 -1
  351. package/support/BasemapStyle.js +1 -1
  352. package/support/LayersMixin.js +1 -1
  353. package/support/TablesMixin.js +1 -1
  354. package/support/actions/ActionBase.d.ts +14 -2
  355. package/support/actions/ActionBase.js +1 -1
  356. package/support/actions/ActionButton.js +1 -1
  357. package/support/actions/ActionToggle.js +1 -1
  358. package/support/loadArcade.js +1 -1
  359. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  360. package/views/2d/engine/flow/utils.js +1 -1
  361. package/views/2d/engine/vectorTiles/TextShaping.js +1 -1
  362. package/views/2d/engine/vectorTiles/TileHandler3D.js +1 -1
  363. package/views/2d/engine/vectorTiles/buckets/SymbolBucket.js +1 -1
  364. package/views/2d/engine/vectorTiles/shaders/VTLMaterial.js +1 -1
  365. package/views/2d/engine/webgl/GlyphWorker.js +1 -1
  366. package/views/2d/engine/webgl/cpuMapped/CpuMeshData.js +1 -1
  367. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
  368. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/bitmapUtils.js +1 -1
  369. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/surface.js +1 -1
  370. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/utils.js +1 -1
  371. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  372. package/views/2d/layerViewModuleImportUtils.js +1 -1
  373. package/views/2d/layers/BitmapTileLayerView2D.js +1 -1
  374. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  375. package/views/2d/layers/LayerView2D.js +1 -1
  376. package/views/2d/layers/MapImageLayerView2D.js +1 -1
  377. package/views/2d/layers/TileLayerView2D.js +1 -1
  378. package/views/2d/layers/features/FeatureContainer.js +1 -1
  379. package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +1 -1
  380. package/views/2d/layers/features/support/AttributeStore.js +1 -1
  381. package/views/2d/layers/features/support/DisplayIdGenerator.js +1 -1
  382. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  383. package/views/2d/layers/support/visualVariableSimpleUtils.js +1 -1
  384. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  385. package/views/3d/layerViewModuleImportUtils.js +1 -1
  386. package/views/3d/layers/BuildingSublayerView3D.js +1 -1
  387. package/views/3d/layers/DynamicLayerView3D.js +1 -1
  388. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  389. package/views/3d/layers/FeatureLikeLayerViewBase3D.js +1 -1
  390. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  391. package/views/3d/layers/I3SMeshView3D.js +1 -1
  392. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  393. package/views/3d/layers/LayerView3D.js +1 -1
  394. package/views/3d/layers/Lyr3DWorker.js +1 -1
  395. package/views/3d/layers/PointCloudIntersector.js +2 -0
  396. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  397. package/views/3d/layers/SceneLayerWorker.js +1 -1
  398. package/views/3d/layers/TiledLayerView3D.js +1 -1
  399. package/views/3d/layers/UPCPointRenderer.js +2 -0
  400. package/views/3d/layers/UPCPointRendererNode.js +2 -0
  401. package/views/3d/layers/UpdatablePointCloudLayerView3D.js +2 -0
  402. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  403. package/views/3d/layers/i3s/PointCloudHighlights.js +1 -1
  404. package/views/3d/layers/i3s/PointCloudNodeHighlights.js +2 -0
  405. package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
  406. package/views/3d/layers/i3s/PointCloudRendererNode.js +1 -1
  407. package/views/3d/layers/support/DefinitionExpressionSceneLayerView.js +1 -1
  408. package/views/3d/layers/support/GraphicsProcessorLayerView3D.js +1 -1
  409. package/views/3d/layers/support/PopupSceneLayerView.js +1 -1
  410. package/views/3d/layers/support/TemporalSceneLayerView.js +1 -1
  411. package/views/3d/layers/support/Tiles3DLayerViewRegistration.js +1 -1
  412. package/views/3d/state/utils/groundNavigationUtils.js +1 -1
  413. package/views/3d/support/QualityProfile.js +1 -1
  414. package/views/3d/support/QualitySettings.js +1 -1
  415. package/views/3d/support/cameraUtils.js +1 -1
  416. package/views/3d/support/engineContent/sdfPrimitives.js +1 -1
  417. package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
  418. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  419. package/views/3d/terrain/TerrainRenderer.js +1 -1
  420. package/views/3d/webgl/RenderNode.js +1 -1
  421. package/views/3d/webgl-engine/collections/Component/DepthRange.js +1 -1
  422. package/views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js +9 -9
  423. package/views/3d/webgl-engine/collections/Component/RenderSubmitSystem.js +1 -1
  424. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  425. package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +19 -19
  426. package/views/3d/webgl-engine/core/shaderLibrary/outputEmission.glsl.js +5 -0
  427. package/views/3d/webgl-engine/core/shaderLibrary/{util/CloudsParallaxShading.glsl.js → renderClouds.glsl.js} +5 -4
  428. package/views/3d/webgl-engine/core/shaderLibrary/shading/evaluateSceneLightingFragment.glsl.js +2 -2
  429. package/views/3d/webgl-engine/core/shaderLibrary/shading/forwardLocalUp.glsl.js +1 -5
  430. package/views/3d/webgl-engine/core/shaderLibrary/shading/readShadow.glsl.js +7 -7
  431. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +1 -1
  432. package/views/3d/webgl-engine/core/shaderLibrary/terrain/blendLayers.glsl.js +9 -9
  433. package/views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js +1 -1
  434. package/views/3d/webgl-engine/core/shaderModules/glsl.js +1 -1
  435. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
  436. package/views/3d/webgl-engine/effects/RenderNodes.js +1 -1
  437. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  438. package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphere.glsl.js +1 -1
  439. package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphere.js +1 -1
  440. package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphereCompositing.glsl.js +1 -1
  441. package/views/3d/webgl-engine/effects/atmosphere/RealisticAtmosphereConfiguration.js +1 -1
  442. package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
  443. package/views/3d/webgl-engine/effects/glow/applyEmissiveGlow.glsl.js +30 -53
  444. package/views/3d/webgl-engine/lib/EmissionComposite.glsl.js +1 -1
  445. package/views/3d/webgl-engine/lib/EmissionComposite.js +1 -1
  446. package/views/3d/webgl-engine/lib/GaussianSplatShadows.js +1 -1
  447. package/views/3d/webgl-engine/lib/PathGeometry.js +1 -1
  448. package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
  449. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  450. package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
  451. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  452. package/views/3d/webgl-engine/materials/HUDMaterialBaseInstance.js +1 -1
  453. package/views/3d/webgl-engine/materials/LineCalloutMaterialBaseInstance.js +1 -1
  454. package/views/3d/webgl-engine/materials/Water.glsl.js +1 -1
  455. package/views/3d/webgl-engine/materials/getWaterColor.glsl.js +15 -15
  456. package/views/3d/webgl-engine/materials/renderers/BufferCache.js +1 -1
  457. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +12 -14
  458. package/views/3d/webgl-engine/shaders/Terrain.glsl.js +1 -1
  459. package/views/3d/webgl-engine/shaders/TerrainTechniqueConfiguration.js +1 -1
  460. package/views/3d/webgl-engine/shaders/UPCPointRenderer.glsl.js +2 -0
  461. package/views/3d/webgl-engine/shaders/UPCPointRendererTechnique.js +2 -0
  462. package/views/3d/webgl-engine/shaders/UPCPointRendererTechniqueConfiguration.js +2 -0
  463. package/views/BreakpointsOwner.js +1 -1
  464. package/views/DOMContainer.js +1 -1
  465. package/views/PopupView.js +1 -1
  466. package/views/View.d.ts +27 -1
  467. package/views/View.js +1 -1
  468. package/views/Viewport2DBaseMixin.js +1 -1
  469. package/views/Viewport2DMixin.js +1 -1
  470. package/views/animation/pointToPoint/Animation.js +1 -1
  471. package/views/interactive/Tooltip.d.ts +1 -1
  472. package/views/interactive/Tooltip.js +1 -1
  473. package/views/interactive/tooltip/components/TooltipEditableField.js +1 -1
  474. package/views/interactive/tooltip/content/TooltipContent.js +1 -1
  475. package/views/interactive/tooltip/infos/DynamicTooltipInfo.js +1 -1
  476. package/views/interactive/tooltip/infos/TooltipInfoWithCoordinates.js +1 -1
  477. package/views/layers/MapImageLayerView.js +1 -1
  478. package/views/layers/PointCloudLayerView.js +1 -1
  479. package/views/layers/RefreshableLayerView.js +1 -1
  480. package/views/layers/WMSLayerView.js +1 -1
  481. package/views/overlay/ViewOverlay.js +1 -1
  482. package/views/support/flow/utils.js +1 -1
  483. package/views/support/screenshotUtils.js +1 -1
  484. package/views/types.d.ts +15 -0
  485. package/views/webgl/AllocationTracer.js +1 -1
  486. package/views/webgl/InstanceCounter.js +1 -1
  487. package/views/webgl/RenderingContext.js +1 -1
  488. package/views/webgl/ShaderBuilder.js +23 -23
  489. package/views/webgl/ShaderTranspiler.js +1 -1
  490. package/views/webgl/capabilities/DisjointTimerQuery.js +1 -1
  491. package/views/webgl/capabilities.js +1 -1
  492. package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +1 -1
  493. package/widgets/CoordinateConversion/support/Conversion.d.ts +1 -0
  494. package/widgets/CoordinateConversion/support/Format.d.ts +1 -0
  495. package/widgets/Editor/EditorViewModel.js +1 -1
  496. package/widgets/Editor/workflowUtils.js +1 -1
  497. package/widgets/Feature/support/FeatureContentMixin.js +1 -1
  498. package/widgets/FeatureTable/support/EditableColumnTemplateMixin.js +1 -1
  499. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  500. package/widgets/Legend/support/sizeRampUtils.js +1 -1
  501. package/widgets/OrientedImageryViewer/adapters/sketch/DataCaptureAdapter.js +1 -1
  502. package/widgets/OrientedImageryViewer/mixins/DrawHandlerMixin.js +1 -1
  503. package/widgets/OrientedImageryViewer/mixins/ImageMeasurementMixin.js +1 -1
  504. package/widgets/OrientedImageryViewer/mixins/SketchHandlerMixin.js +1 -1
  505. package/widgets/OrientedImageryViewer/mixins/TriangulatedImageMeasurementMixin.js +1 -1
  506. package/widgets/OrientedImageryViewer/mixins/TriangulatedSketchHandlerMixin.js +1 -1
  507. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  508. package/widgets/Sketch/support/ResponsiveToolbar/ToolbarGroupBase.js +1 -1
  509. package/widgets/smartMapping/support/utils.js +1 -1
  510. package/widgets/support/AnalysisViewModelMixin.js +1 -1
  511. package/widgets/support/AnchorElementViewModel.js +1 -1
  512. package/widgets/support/GoTo.js +1 -1
  513. package/widgets/support/InteractiveToolViewModelMixin.js +1 -1
  514. package/assets/esri/core/workers/chunks/0329fa3aa3403f1c243b.js +0 -1
  515. package/assets/esri/core/workers/chunks/04f09e1afda92cbe09f5.js +0 -1
  516. package/assets/esri/core/workers/chunks/0a97b1974367382cfdf5.js +0 -1
  517. package/assets/esri/core/workers/chunks/0b74d353f80974ff6fea.js +0 -1
  518. package/assets/esri/core/workers/chunks/0e100855bb3832a68e4b.js +0 -1
  519. package/assets/esri/core/workers/chunks/0ede8ba757fd0976d485.js +0 -1
  520. package/assets/esri/core/workers/chunks/0f39576806866cff777d.js +0 -1
  521. package/assets/esri/core/workers/chunks/0fea695721a818955abf.js +0 -1
  522. package/assets/esri/core/workers/chunks/10499abb7678e95d9f05.js +0 -1
  523. package/assets/esri/core/workers/chunks/110f78d5e78732750097.js +0 -1
  524. package/assets/esri/core/workers/chunks/1507297550c3cd1268e2.js +0 -1
  525. package/assets/esri/core/workers/chunks/21aa29039a95debd7f44.js +0 -1
  526. package/assets/esri/core/workers/chunks/29b74a3ff03d3c8b65dc.js +0 -1
  527. package/assets/esri/core/workers/chunks/2a84c9a81ec2bed3d4e5.js +0 -1
  528. package/assets/esri/core/workers/chunks/2ad6db80a508285a3e5d.js +0 -1
  529. package/assets/esri/core/workers/chunks/2b87d5b8931305b11ff6.js +0 -1
  530. package/assets/esri/core/workers/chunks/2f07dc632e51fddb2d48.js +0 -1
  531. package/assets/esri/core/workers/chunks/2f9adf0b809ce8797ebf.js +0 -1
  532. package/assets/esri/core/workers/chunks/3169d639ab54bf508e2c.js +0 -1
  533. package/assets/esri/core/workers/chunks/3354f1fa90f8ce4c8fde.js +0 -1
  534. package/assets/esri/core/workers/chunks/3809a8b3f31bb811d964.js +0 -1
  535. package/assets/esri/core/workers/chunks/38bba952c38af5a150e7.js +0 -1
  536. package/assets/esri/core/workers/chunks/3982409149571a827390.js +0 -1
  537. package/assets/esri/core/workers/chunks/3aea09191b737dc1de70.js +0 -1
  538. package/assets/esri/core/workers/chunks/3b11e4d2e69b7aea1d65.js +0 -1
  539. package/assets/esri/core/workers/chunks/3c1651e9e8d2e83d22df.js +0 -1
  540. package/assets/esri/core/workers/chunks/3df6631895d0a7109e00.js +0 -1
  541. package/assets/esri/core/workers/chunks/3e8d70039800f2395d66.js +0 -1
  542. package/assets/esri/core/workers/chunks/3f8d66d8447036f122ae.js +0 -1
  543. package/assets/esri/core/workers/chunks/420c6a14107a77ddad36.js +0 -1
  544. package/assets/esri/core/workers/chunks/421b8244d01736d82e7a.js +0 -1
  545. package/assets/esri/core/workers/chunks/457bd1bd37c67b61efe8.js +0 -1
  546. package/assets/esri/core/workers/chunks/48b60ff59afbae865de1.js +0 -1
  547. package/assets/esri/core/workers/chunks/4953314fd9afd52b6eec.js +0 -1
  548. package/assets/esri/core/workers/chunks/4cf8bddc3e0619e34424.js +0 -1
  549. package/assets/esri/core/workers/chunks/4d0bb5e4a1d789cc0d75.js +0 -1
  550. package/assets/esri/core/workers/chunks/4d8539674fc2e4fea03c.js +0 -1
  551. package/assets/esri/core/workers/chunks/5060be52a380fc4920f8.js +0 -1
  552. package/assets/esri/core/workers/chunks/5082cdc3e91e1c6d1070.js +0 -1
  553. package/assets/esri/core/workers/chunks/52ded087d19a93e29d93.js +0 -1
  554. package/assets/esri/core/workers/chunks/53bbb9aa6e4e4a0a8121.js +0 -1
  555. package/assets/esri/core/workers/chunks/54d3cb7d95d948998591.js +0 -1
  556. package/assets/esri/core/workers/chunks/560ebf5524ade7d1f85b.js +0 -1
  557. package/assets/esri/core/workers/chunks/5d75fcaded78f76efd3e.js +0 -1
  558. package/assets/esri/core/workers/chunks/5f7505ada0991cfbdd84.js +0 -1
  559. package/assets/esri/core/workers/chunks/601d668e70c5d72fe58c.js +0 -1
  560. package/assets/esri/core/workers/chunks/6737b2a4a70bbdafaf67.js +0 -1
  561. package/assets/esri/core/workers/chunks/6a339a47e765b9937dd7.js +0 -1
  562. package/assets/esri/core/workers/chunks/6c21964eb7c25c8b1e9a.js +0 -1
  563. package/assets/esri/core/workers/chunks/6fd10891506925560443.js +0 -29
  564. package/assets/esri/core/workers/chunks/71a05edd6f7f3197e621.js +0 -1
  565. package/assets/esri/core/workers/chunks/72b7e7b518c88b7569dd.js +0 -1
  566. package/assets/esri/core/workers/chunks/73918ca7fdf41272d941.js +0 -1
  567. package/assets/esri/core/workers/chunks/75274ac3ddf7c45f47d7.js +0 -1
  568. package/assets/esri/core/workers/chunks/7673217a688d739141e2.js +0 -1
  569. package/assets/esri/core/workers/chunks/76869c14dd7ffaae7eff.js +0 -1
  570. package/assets/esri/core/workers/chunks/7b156905d168bf973518.js +0 -1
  571. package/assets/esri/core/workers/chunks/7baa49055bc31618b56e.js +0 -1
  572. package/assets/esri/core/workers/chunks/7bd5a074d9f4ba137649.js +0 -1
  573. package/assets/esri/core/workers/chunks/7c13d7754fc914a87817.js +0 -1
  574. package/assets/esri/core/workers/chunks/7dc2e714234b2cee8701.js +0 -1
  575. package/assets/esri/core/workers/chunks/80d1267606383ae537f2.js +0 -1
  576. package/assets/esri/core/workers/chunks/835e0315661003caa71f.js +0 -1
  577. package/assets/esri/core/workers/chunks/8570e3df90fb76a8741a.js +0 -1
  578. package/assets/esri/core/workers/chunks/86578c191d76062157ec.js +0 -1
  579. package/assets/esri/core/workers/chunks/87d6e99d83db9a8cda7c.js +0 -1
  580. package/assets/esri/core/workers/chunks/8c9934d30655dd2c48da.js +0 -1
  581. package/assets/esri/core/workers/chunks/9117c9b720c9ba6e7a6e.js +0 -1
  582. package/assets/esri/core/workers/chunks/939fb9a8c301ace07186.js +0 -1
  583. package/assets/esri/core/workers/chunks/94a38c9b3d086b37242f.js +0 -1
  584. package/assets/esri/core/workers/chunks/98e1751f888975532afc.js +0 -1
  585. package/assets/esri/core/workers/chunks/9d61f10f2bef15b5811d.js +0 -1
  586. package/assets/esri/core/workers/chunks/9dcf5be203f8b1e47d9d.js +0 -1
  587. package/assets/esri/core/workers/chunks/9e372af03d62fa5ad10e.js +0 -1
  588. package/assets/esri/core/workers/chunks/9eb00bb8dab995c2dcb3.js +0 -1
  589. package/assets/esri/core/workers/chunks/9ed81757937fe08363ed.js +0 -1
  590. package/assets/esri/core/workers/chunks/9fe07947cf4ec44014e8.js +0 -1
  591. package/assets/esri/core/workers/chunks/a1d265614d038eb603f7.js +0 -1
  592. package/assets/esri/core/workers/chunks/a3d02885d6962b49eee4.js +0 -1
  593. package/assets/esri/core/workers/chunks/a66d6298236d59a615db.js +0 -1
  594. package/assets/esri/core/workers/chunks/a710c7a0584d9e45a469.js +0 -1
  595. package/assets/esri/core/workers/chunks/ab784764ddf9d7f693a1.js +0 -1
  596. package/assets/esri/core/workers/chunks/ace210d313ce53f3ae10.js +0 -1
  597. package/assets/esri/core/workers/chunks/b7426e5f290573cb9689.js +0 -1
  598. package/assets/esri/core/workers/chunks/b88e1084097a93a89f61.js +0 -1
  599. package/assets/esri/core/workers/chunks/baa5aa0670b23db86b50.js +0 -1
  600. package/assets/esri/core/workers/chunks/c0867890a84b4c98e0ba.js +0 -1
  601. package/assets/esri/core/workers/chunks/c1a551c4aa77f123d091.js +0 -1
  602. package/assets/esri/core/workers/chunks/c58f859dec9d6675dbd6.js +0 -1
  603. package/assets/esri/core/workers/chunks/c7425fb5e804f0f9d4dd.js +0 -1
  604. package/assets/esri/core/workers/chunks/c85184baccb4004bf42b.js +0 -1
  605. package/assets/esri/core/workers/chunks/ccf4b5fdcdace533bcb7.js +0 -1
  606. package/assets/esri/core/workers/chunks/d5bb6f479c0cdfc21d8a.js +0 -1
  607. package/assets/esri/core/workers/chunks/d689e7c685dd9a444d19.js +0 -1
  608. package/assets/esri/core/workers/chunks/d8b84d21144a58b6b911.js +0 -1
  609. package/assets/esri/core/workers/chunks/d8ffb1502def5c85740b.js +0 -1
  610. package/assets/esri/core/workers/chunks/db96d1d9f6d1a4d7fd2a.js +0 -1
  611. package/assets/esri/core/workers/chunks/de35baceeb815e6befd5.js +0 -1
  612. package/assets/esri/core/workers/chunks/e0341def2d81e679a200.js +0 -1
  613. package/assets/esri/core/workers/chunks/e164198dbb87ee202ba1.js +0 -1
  614. package/assets/esri/core/workers/chunks/e4eb6fdf5115bed48856.js +0 -1
  615. package/assets/esri/core/workers/chunks/e566102c7ed7a8ebf89e.js +0 -1
  616. package/assets/esri/core/workers/chunks/e59271f8b142a7602b7a.js +0 -1
  617. package/assets/esri/core/workers/chunks/eef3fa804e456beac4c1.js +0 -1
  618. package/assets/esri/core/workers/chunks/f319b59228b64e7f9008.js +0 -1
  619. package/assets/esri/core/workers/chunks/f42adcea81390fb21c66.js +0 -1
  620. package/assets/esri/core/workers/chunks/f4fcf87da4495584223d.js +0 -1
  621. package/assets/esri/core/workers/chunks/f52d081bbde5c95265cf.js +0 -1
  622. package/assets/esri/core/workers/chunks/f7ab4bf14ec8e986ef7c.js +0 -1
  623. package/assets/esri/core/workers/chunks/f92c92c0fd1b5b33ca21.js +0 -1
  624. package/assets/esri/core/workers/chunks/f989588dfdbb69056491.js +0 -1
  625. package/assets/esri/core/workers/chunks/fbd5f3b81cd9f061824d.js +0 -1
  626. package/assets/esri/core/workers/chunks/fc5b920f9756e11c2f88.js +0 -1
  627. package/assets/esri/core/workers/chunks/fdcc5fe4630a4ccf58de.js +0 -1
  628. package/assets/esri/core/workers/chunks/ff0a0819bba5e8264c47.js +0 -1
  629. package/assets/esri/core/workers/chunks/ff225735eba7f9130e19.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[9279],{52106(e,t,r){r.d(t,{A:()=>S});var i,o,l=r(32198),n=r(91429),s=r(69540),a=r(51447),p=r(25482),u=r(53966),y=r(36708),d=r(12195),c=r(24326),g=r(65864),h=r(50498),f=r(55156),m=r(60950),b=r(54339),v=r(40124),w=r(94128),C=r(33910);const M=Symbol("meshGeometryHandles");function x(e){if(null==e)return null;let t={};for(let r in e){let i=e[r];i&&(t[r]=i.toJSON())}return 0===Object.keys(t).length?null:t}let S=class extends((0,s.OU)(p.o)){static{i=w.Z}static{o=this}constructor(e){super(e),this[i]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperties(this,{uid:{value:(0,c.c)(),configurable:!0},_lastMeshTransform:{value:{},configurable:!0,writable:!0,enumerable:!1}}),arguments.length>1&&(0,a.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}set aggregateGeometries(e){let t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){let t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){let t=this._get("geometry");t!==e&&(this._set("geometry",e),this._watchMeshGeometryChanges(),this._notifyLayer("geometry",t,e))}set popupTemplate(e){let t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){let t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){let t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new o({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;let t=(0,m.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;let r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(let t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){let r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){let e=(0,f.I)(this.origin);if(e)return(0,b.r)(this,e);let t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){let e=(0,f.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);let t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){let e={aggregateGeometries:x(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,d.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){let{geometry:t}=this;if("mesh"===t?.type){let r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;let o={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(o.action=i),"attributes"===e&&(o.attributeName=i),this.layer.graphicChanged(o)}_watchMeshGeometryChanges(){this.removeHandles(M);let e=this.geometry;"mesh"===e?.type&&this.addHandles([(0,y.z7)(()=>e.vertexSpace.origin?{localMatrix:e.transform?.localMatrix,origin:e.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{(this._lastMeshTransform.localMatrix!==e||this._lastMeshTransform.origin!==t)&&(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,y.z7)(()=>({vertexAttributes:e.vertexAttributes}),()=>{e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",e,e)},{equals:(e,t)=>e===t,sync:!0})],M)}};(0,l.Cg)([(0,n.MZ)({value:null,json:{read:function(e){if(!e)return null;let t={};for(let r in e){let i=(0,g.rS)(e[r]);i&&(t[r]=i)}return 0===Object.keys(t).length?null:t}}})],S.prototype,"aggregateGeometries",null),(0,l.Cg)([(0,n.MZ)({value:null})],S.prototype,"attributes",null),(0,l.Cg)([(0,n.MZ)({value:null,types:h.yR,json:{read:g.rS}})],S.prototype,"geometry",null),(0,l.Cg)([(0,n.MZ)()],S.prototype,"distance",void 0),(0,l.Cg)([(0,n.MZ)({type:Boolean})],S.prototype,"isAggregate",void 0),(0,l.Cg)([(0,n.MZ)({clonable:!1})],S.prototype,"layer",void 0),(0,l.Cg)([(0,n.MZ)({clonable:"reference"})],S.prototype,"origin",void 0),(0,l.Cg)([(0,n.MZ)({type:v.A,value:null})],S.prototype,"popupTemplate",null),(0,l.Cg)([(0,n.MZ)({clonable:"reference"})],S.prototype,"sourceLayer",void 0),(0,l.Cg)([(0,n.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],S.prototype,"statisticsAggregatedIds",void 0),(0,l.Cg)([(0,n.MZ)({value:null,types:C.Es})],S.prototype,"symbol",null),(0,l.Cg)([(0,n.MZ)({clonable:!1,json:{read:!1,write:!1}})],S.prototype,"_version",void 0),(0,l.Cg)([(0,n.MZ)({type:Boolean,value:!0})],S.prototype,"visible",null),S=o=(0,l.Cg)([(0,n.$K)("esri.Graphic")],S)},4902(e,t,r){var i=r(32198),o=r(64108);let l=0;const n=e=>{let t=e,r=class extends t{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+l++})}};return r=(0,i.Cg)([(0,o.$K)("esri.core.Identifiable")],r),r};n(class{}),r.d(t,["s",0,n])},55156(e,t,r){r.d(t,{I:()=>o});const i=Symbol("idFieldsProviderSymbol");function o(e){return(t=e)&&i in t?e[i]:void 0;var t}r.d(t,["e",0,i])},4146(e,t,r){r.d(t,{A:()=>b});var i=r(32198),o=r(91429),l=r(49186),n=r(65529),s=r(4902),a=r(92474),p=r(53966),u=r(17676),y=r(84952),d=r(5443),c=r(16930),g=r(78888),h=r(79677),f=r(92602);let m=0,b=class extends((0,n.Zt)((0,s.s)(a.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new d.A({xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:c.A.WGS84}),this.id=Date.now().toString(16)+"-layer-"+m++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=c.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){let t="string"==typeof e?{url:e}:e;return(await Promise.all([r.e(812),r.e(7982)]).then(()=>r(27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){let t="portalItem"in e?e:{portalItem:e},{fromItem:i}=await Promise.all([r.e(9917),r.e(812),r.e(5613)]).then(()=>r(45613));try{return await i(t)}catch(e){let r=t?.portalItem,i=r?.id||"unset",o=r?.portal?.url||f.A.portalUrl;throw p.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+o+"', id: '"+i+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,u.zf)(e)||p.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){let{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){let{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,y.An)(this.url)}createLayerView(e,t){return Promise.reject(new l.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){let e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,g.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new l.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,i.Cg)([(0,o.MZ)({type:String})],b.prototype,"attributionDataUrl",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],b.prototype,"effectiveVisible",null),(0,i.Cg)([(0,o.MZ)({type:d.A})],b.prototype,"fullExtent",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],b.prototype,"hasAttributionData",null),(0,i.Cg)([(0,o.MZ)({type:String,clonable:!1})],b.prototype,"id",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,nonNullable:!0})],b.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,o.MZ)({type:["show","hide","hide-children"]})],b.prototype,"listMode",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],b.prototype,"opacity",void 0),(0,i.Cg)([(0,o.MZ)({clonable:!1})],b.prototype,"parent",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],b.prototype,"parsedUrl",null),(0,i.Cg)([(0,o.MZ)({type:Boolean,readOnly:!0})],b.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean})],b.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean})],b.prototype,"attributionVisible",void 0),(0,i.Cg)([(0,o.MZ)({type:c.A})],b.prototype,"spatialReference",void 0),(0,i.Cg)([(0,o.MZ)({type:String})],b.prototype,"title",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],b.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)()],b.prototype,"url",void 0),(0,i.Cg)([(0,o.MZ)({type:h.A})],b.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,nonNullable:!0})],b.prototype,"visible",void 0),b=(0,i.Cg)([(0,o.$K)("esri.layers.Layer")],b)},52136(e,t,r){var i=r(32198),o=r(91429);r.d(t,["p",0,e=>{let t=e,r=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null==e?(this._clearOverride("apiKey"),this.clear("apiKey","user")):this._override("apiKey",e)}};return(0,i.Cg)([(0,o.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.APIKeyMixin")],r),r}])},32756(e,t,r){r.d(t,{Rr:()=>s});var i=r(32198),o=r(91429),l=r(93637),n=r(91880);function s(e,t,r){if(!e)return null;let i=e.find(e=>!!e.field);if(!i)return null;let o=new n.A;return o.read(i,r),[o]}const a={type:[n.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:s},write:{writer:function(e,t,r,i){let o=e.find(e=>!!e.field);o&&(0,l.sM)(r,[o.toJSON()],t)}}}};r.d(t,["fY",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,o.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.OrderedLayer")],r),r},"ne",0,a])},28032(e,t,r){r.d(t,{A:()=>a});var i=r(32198),o=r(91429),l=r(69540),n=r(25482),s=r(56400);let a=class extends((0,l.OU)(n.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,i.Cg)([(0,o.MZ)()],a.prototype,"creatorField",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"creationDateField",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"editorField",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"editDateField",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"realm",void 0),(0,i.Cg)([(0,o.MZ)((0,s.P6)("dateFieldsTimeReference",!0))],a.prototype,"timeZone",void 0),a=(0,i.Cg)([(0,o.$K)("esri.layers.support.EditFieldsInfo")],a)},29005(e,t,r){r.d(t,{A:()=>p});var i=r(32198),o=r(91429),l=r(69540),n=r(66552),s=r(25482);const a=new n.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let p=class extends((0,l.OU)(s.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],p.prototype,"description",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:a.read,write:a.write}})],p.prototype,"drawingTool",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],p.prototype,"prototype",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],p.prototype,"thumbnail",void 0),p=(0,i.Cg)([(0,o.$K)("esri.layers.support.FeatureTemplate")],p)},33143(e,t,r){r.d(t,{A:()=>y});var i=r(32198),o=r(91429),l=r(69540),n=r(25482),s=r(8631),a=r(29005),p=r(36005),u=r(43937);let y=class extends((0,l.OU)(n.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){let t={};for(let r of Object.keys(e))t[r]=(0,s.r)(e[r]);return t}writeDomains(e,t){let r={};for(let t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],y.prototype,"id",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],y.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],y.prototype,"domains",void 0),(0,i.Cg)([(0,p.w)("domains")],y.prototype,"readDomains",null),(0,i.Cg)([(0,u.K)("domains")],y.prototype,"writeDomains",null),(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:!0}})],y.prototype,"templates",void 0),y=(0,i.Cg)([(0,o.$K)("esri.layers.support.FeatureType")],y)},46499(e,t,r){var i,o,l=r(32198),n=r(91429),s=r(90360),a=(r(44208),r(66552)),p=r(25482),u=r(4718),y=r(90629),d=r(59868),c=r(73838),g=r(33910),h=r(73913),f=r(32730),m=r(77548),b=r(36005),v=r(43937);const w=new a.J({esriServerPointLabelPlacementAboveCenter:"above-center",esriServerPointLabelPlacementAboveLeft:"above-left",esriServerPointLabelPlacementAboveRight:"above-right",esriServerPointLabelPlacementBelowCenter:"below-center",esriServerPointLabelPlacementBelowLeft:"below-left",esriServerPointLabelPlacementBelowRight:"below-right",esriServerPointLabelPlacementCenterCenter:"center-center",esriServerPointLabelPlacementCenterLeft:"center-left",esriServerPointLabelPlacementCenterRight:"center-right",esriServerLinePlacementAboveAfter:"above-after",esriServerLinePlacementAboveAlong:"above-along",esriServerLinePlacementAboveBefore:"above-before",esriServerLinePlacementAboveStart:"above-start",esriServerLinePlacementAboveEnd:"above-end",esriServerLinePlacementBelowAfter:"below-after",esriServerLinePlacementBelowAlong:"below-along",esriServerLinePlacementBelowBefore:"below-before",esriServerLinePlacementBelowStart:"below-start",esriServerLinePlacementBelowEnd:"below-end",esriServerLinePlacementCenterAfter:"center-after",esriServerLinePlacementCenterAlong:"center-along",esriServerLinePlacementCenterBefore:"center-before",esriServerLinePlacementCenterStart:"center-start",esriServerLinePlacementCenterEnd:"center-end",esriServerPolygonPlacementAlwaysHorizontal:"always-horizontal"},{ignoreUnknown:!0});function C(e,t,r){return{enabled:!(0,m.TU)(r?.layer)}}function M(e){return!e||"service"!==e.origin&&"map-image"!==e.layer?.type}function x(e){return!!function(e){return"map-image"===e?.type}(e)&&!!e.capabilities?.exportMap?.supportsArcadeExpressionForLabeling}let S=class extends p.o{static{i=f.vK}static{o=this}static evaluateWhere(e,t){let r=(e,t,r)=>{switch(t){case"=":return e==r;case"<>":return e!=r;case">":return e>r;case">=":return e>=r;case"<":return e<r;case"<=":return e<=r}return!1};try{if(null==e)return!0;let i=e.split(" ");if(3===i.length)return r(t[i[0]],i[1],i[2]);if(7===i.length){let e=r(t[i[0]],i[1],i[2]),o=i[3],l=r(t[i[4]],i[5],i[6]);switch(o){case"AND":return e&&l;case"OR":return e||l}}return!1}catch{}}constructor(e){super(e),this[i]=!0,this.type="label",this.name=null,this.allowOverrun=!1,this.deconflictionStrategy="static",this.labelExpression=null,this.labelExpressionInfo=null,this.labelPlacement=null,this.offsetDistance=0,this.labelPosition="curved",this.maxScale=0,this.minScale=0,this.repeatLabel=!0,this.symbol=d.Hk,this.useCodedValues=void 0,this.where=null}readLabelExpression(e,t){let r=t.labelExpressionInfo;if(!r||!r.value&&!r.expression)return e}writeLabelExpression(e,t,r){if(this.labelExpressionInfo)if(null!=this.labelExpressionInfo.value)e=(0,f.D3)(this.labelExpressionInfo.value);else if(null!=this.labelExpressionInfo.expression){let t=(0,f.tH)(this.labelExpressionInfo.expression);t&&(e="["+t+"]")}null!=e&&(t[r]=e)}writeLabelExpressionInfo(e,t,r,i){if(null==e&&null!=this.labelExpression&&M(i))e=new h.A({expression:this.getLabelExpressionArcade()});else if(!e)return;let o=e.toJSON(i);o.expression&&(t[r]=o)}writeMaxScale(e,t){(e||this.minScale)&&(t.maxScale=e)}writeMinScale(e,t){(e||this.maxScale)&&(t.minScale=e)}get repeatLabelDistance(){return this._get("repeatLabelDistance")}set repeatLabelDistance(e){this._set("repeatLabelDistance",e)}getLabelExpression(){return(0,f.XJ)(this)}getLabelExpressionArcade(){return(0,f.BI)(this)}getLabelExpressionSingleField(){return(0,f.rU)(this)}hash(){return JSON.stringify(this)}clone(){return new o({allowOverrun:this.allowOverrun,deconflictionStrategy:this.deconflictionStrategy,labelExpression:this.labelExpression,labelExpressionInfo:(0,u.o8)(this.labelExpressionInfo),labelPosition:this.labelPosition,labelPlacement:this.labelPlacement,offsetDistance:this.offsetDistance,maxScale:this.maxScale,minScale:this.minScale,name:this.name,repeatLabel:this.repeatLabel,repeatLabelDistance:this.repeatLabelDistance,symbol:(0,u.o8)(this.symbol),where:this.where,useCodedValues:this.useCodedValues})}};(0,l.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],S.prototype,"name",void 0),(0,l.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1},"portal-item":{default:!1,write:{overridePolicy:C}}}}})],S.prototype,"allowOverrun",void 0),(0,l.Cg)([(0,n.MZ)({type:String,json:{write:!0,default:"static",origins:{"web-scene":{write:!1},"portal-item":{default:"static",write:{overridePolicy:C}}}}})],S.prototype,"deconflictionStrategy",void 0),(0,l.Cg)([(0,n.MZ)({type:String,json:{write:{overridePolicy(e,t,r){return this.labelExpressionInfo&&"service"===r?.origin&&x(r.layer)?{enabled:!1}:{allowNull:!0}}}}})],S.prototype,"labelExpression",void 0),(0,l.Cg)([(0,b.w)("labelExpression")],S.prototype,"readLabelExpression",null),(0,l.Cg)([(0,v.K)("labelExpression")],S.prototype,"writeLabelExpression",null),(0,l.Cg)([(0,n.MZ)({type:h.A,json:{write:{overridePolicy:(e,t,r)=>function(e){return M(e)||x(e?.layer)}(r)?{allowNull:!0}:{enabled:!1}}}})],S.prototype,"labelExpressionInfo",void 0),(0,l.Cg)([(0,v.K)("labelExpressionInfo")],S.prototype,"writeLabelExpressionInfo",null),(0,l.Cg)([(0,n.MZ)({type:w.apiValues,json:{type:w.jsonValues,read:w.read,write:w.write}})],S.prototype,"labelPlacement",void 0),(0,l.Cg)([(0,n.MZ)({type:Number,json:{read:!0,write:!0,default:0,origins:{"web-scene":{write:!1}}}})],S.prototype,"offsetDistance",void 0),(0,l.Cg)([(0,n.MZ)({type:["curved","parallel"],json:{write:!0,origins:{"web-map":{write:!1},"web-scene":{write:!1},"portal-item":{write:!1}}}})],S.prototype,"labelPosition",void 0),(0,l.Cg)([(0,n.MZ)({type:Number})],S.prototype,"maxScale",void 0),(0,l.Cg)([(0,v.K)("maxScale")],S.prototype,"writeMaxScale",null),(0,l.Cg)([(0,n.MZ)({type:Number})],S.prototype,"minScale",void 0),(0,l.Cg)([(0,v.K)("minScale")],S.prototype,"writeMinScale",null),(0,l.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:C}}}}})],S.prototype,"repeatLabel",void 0),(0,l.Cg)([(0,n.MZ)({type:Number,cast:y.cr,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:C}}}}})],S.prototype,"repeatLabelDistance",null),(0,l.Cg)([(0,n.MZ)({types:g.em,json:{types:g.em,origins:{"portal-item":{types:g.em,read:{reader:(0,s.C)({types:g.em})},default:null},"web-scene":{types:g.Rv,read:{reader:(0,s.C)({types:g.Rv})},write:c.oO,default:null}},write:c.oO,default:null}})],S.prototype,"symbol",void 0),(0,l.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],S.prototype,"useCodedValues",void 0),(0,l.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],S.prototype,"where",void 0),S=o=(0,l.Cg)([(0,n.$K)("esri.layers.support.LabelClass")],S);const A=S;r.d(t,["A",0,A])},73913(e,t,r){var i,o=r(32198),l=r(91429),n=r(25482),s=r(32730),a=r(36005),p=r(43937);let u=class extends n.o{static{i=this}constructor(e){super(e),this.name=null,this.expression=null,this.title=null,this.value=null}readExpression(e,t){return t.value?(0,s.mX)(t.value):e}writeExpression(e,t,r){null!=this.value&&(e=(0,s.mX)(this.value)),null!=e&&(t[r]=e)}clone(){return new i({name:this.name,expression:this.expression,title:this.title,value:this.value})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"name",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:{writerEnsuresNonNull:!0}}})],u.prototype,"expression",void 0),(0,o.Cg)([(0,a.w)("expression",["expression","value"])],u.prototype,"readExpression",null),(0,o.Cg)([(0,p.K)("expression")],u.prototype,"writeExpression",null),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"title",void 0),(0,o.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],u.prototype,"value",void 0),u=i=(0,o.Cg)([(0,l.$K)("esri.layers.support.LabelExpressionInfo")],u);const y=u;r.d(t,["A",0,y])},37352(e,t,r){r.d(t,{A:()=>a});var i,o=r(32198),l=r(91429),n=r(7762),s=r(25482);let a=i=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new n.A}clone(){return new i({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,o.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,o.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=i=(0,o.Cg)([(0,l.$K)("esri.layers.support.LayerFloorInfo")],a)},91880(e,t,r){r.d(t,{A:()=>p});var i,o=r(32198),l=r(91429),n=r(66552),s=r(25482);const a=new n.J({asc:"ascending",desc:"descending"});let p=class extends s.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),(0,o.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],p.prototype,"order",void 0),p=i=(0,o.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],p)},45067(e,t,r){r.d(t,{A:()=>u});var i=r(32198),o=r(91429),l=r(69540),n=r(66552),s=r(25482);const a=new n.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),p=new n.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let u=class extends((0,l.OU)(s.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,i.Cg)([(0,o.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"cardinality",void 0),(0,i.Cg)([(0,o.MZ)({json:{name:"catalogID"}})],u.prototype,"catalogId",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"composite",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"id",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyField",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyFieldInRelationshipTable",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"relatedTableId",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!0,write:!0}})],u.prototype,"relationshipTableId",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:p.read,write:p.write}})],u.prototype,"role",void 0),u=(0,i.Cg)([(0,o.$K)("esri.layers.support.Relationship")],u)},39383(e,t,r){r.d(t,{w:()=>a,z:()=>y});var i=r(49186),o=r(53966),l=r(46499);const n=()=>o.A.getLogger("esri.layers.support.labelingInfo"),s=/\[([^[\]]+)\]/gi;function a(e,t,r){return e?e.map(e=>{let i=new l.A;if(i.read(e,r),i.labelExpression){let e=t.fields||t.layerDefinition?.fields||this.fields;i.labelExpression=i.labelExpression.replaceAll(s,(t,r)=>`[${function(e,t){if(!t)return e;let r=e.toLowerCase();for(let e=0;e<t.length;e++){let i=t[e].name;if(i.toLowerCase()===r)return i}return e}(r,e)}]`)}return i}):null}const p=["above-right","above-center","above-left","center-center","center-left","center-right","below-center","below-left","below-right"],u={esriGeometryPoint:p,esriGeometryMultiPatch:["always-horizontal"],esriGeometryPolygon:["always-horizontal"],esriGeometryPolyline:["center-along","above-along","below-along"],esriGeometryMultipoint:p,esriGeometryEnvelope:null};function y(e,t){let r=[];for(let o of e){let e=o.labelPlacement,l=u[t];if(!o.symbol)return n().warn("No ILabelClass symbol specified."),[];if(!l)return n().error(new i.A("labeling:unsupported-geometry-type",`Unable to create labels for layer, geometry type '${t}' is not supported`)),[];if(l.includes(e))r.push(o);else{let i=l[0];e&&n().warn(`Found invalid label placement type ${e} for ${t}. Defaulting to ${i}`);let s=o.clone();s.labelPlacement=i,r.push(s)}}return r}},77548(e,t,r){r.d(t,{Gh:()=>j,tk:()=>Z,BR:()=>A,p2:()=>x,qd:()=>L,wI:()=>S,G$:()=>E,$x:()=>P,Ov:()=>v,cM:()=>d,UC:()=>c,Qz:()=>g,OP:()=>T,TU:()=>b,F2:()=>h,XX:()=>m,Qi:()=>w,jy:()=>C});var i=r(7762),o=(r(84952),r(70333)),l=r(78888),n=(r(16215),r(36563)),s=r(36708),a=r(4146);const p=new WeakMap;function u(e){return!e.destroyed&&(p.has(e)||e.addHandles([(0,s.wB)(()=>{let{parent:t}=e;return!!(t&&t instanceof a.A)&&("catalog-dynamic-group"===t.type||u(t))},t=>p.set(e,t),s.pc),(0,n.hA)(()=>p.delete(e))]),p.get(e))}function y(e,t){return"object"==typeof e&&!!e&&"type"in e&&e.type===t}function d(e){return y(e,"knowledge-graph")&&"layers"in e}function c(e){return y(e,"knowledge-graph-sublayer")}function g(e){return y(e,"link-chart")&&"layers"in e}function h(e){return y(e,"subtype-group")&&"sublayers"in e}function f(e){let t=e.parent;return function(e){return"group"===e?.type}(t)&&t.tables.includes(e)}const m={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function b(e){let t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function v(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function w(e){return"object"==typeof e&&!!e&&"featureReduction"in e}function C(e){return function(e){return y(e,"catalog-footprint")}(e)||function(e){return y(e,"feature")}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)||function(e){return y(e,"oriented-imagery")}(e)||function(e){return"subtype-sublayer"===e?.type}(e)}function M(e){let t=e?.type;return"binning"===t||"cluster"===t}function x(e,t){if(!C(e))return;let r=t?.graphic,i="featureReduction"in e?e.featureReduction:null;if(r){if(r.isAggregate){let e=r.origin;return e&&"featureReductionProvider"in e&&i?M(i)?i:null:void 0}return e}return t?.checkFeatureReduction&&i?M(i)?i:null:e}async function S(e,t){let r=o.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;let i=e.toLowerCase().indexOf("/rest/services");if(-1===i)return null;let n=`${e.slice(0,i)}/rest/info`,s=null==t?null:t.signal,{data:a}=await(0,l.A)(n,{query:{f:"json"},responseType:"json",signal:s});return a?.owningSystemUrl||null}function A(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"annotation-feature":case"catalog":case"catalog-footprint":case"csv":case"dimension-feature":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"parquet":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function Z(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function L(e){let t=new i.A;for(let r of e.allLayers.concat(e.allTables))u(r)||f(r)||"annotation-feature"===r.type||"dimension-feature"===r.type||("charts"in r&&t.push(r),"subtype-group"===r.type&&t.push(...r.sublayers));return t}function P(e,t){return null}function E(e){return null}function T(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function j(e,t){if(!t||!T(e))return;let r=(e.url,null);r&&(e.url=r)}},22671(e,t,r){r.d(t,{A:()=>b});var i,o=r(32198),l=r(91429),n=r(66552),s=r(25482),a=r(4718),p=r(16930),u=r(60408),y=r(65864),d=r(50498),c=r(52106),g=r(20437),h=r(36005),f=r(43937);const m=new n.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let b=i=class extends s.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,c.A)}writeGeometryType(e,t,r,i){if(e)return void m.write(e,t,r,i);let{features:o}=this;if(o)for(let e of o)if(null!=e?.geometry)return void m.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;let r=!!e.spatialReference,i=(0,y.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=p.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());let{features:r}=this;if(r)for(let e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){let t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){let i=t.features[r];i.geometry&&=(e?.[r])?.toJSON()||i.geometry}return t}quantize(e){let{scale:[t,r],translate:[i,o]}=e,l=this.features,n=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((o-e)/r));for(let e=0,t=l.length;e<t;e++)n?.(l[e].geometry)||(l.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){let{geometryType:e,features:t,transform:r}=this;if(!r)return this;let{translate:[i,o],scale:[l,n]}=r,s=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){let{translate:[,,e],scale:[,,t]}=r;s=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){let{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}let p=this._getHydrationFunction(e,e=>e*l+i,e=>o-e*n,s,a);for(let{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){let i=p.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){let l=e[t],n=r.fromJSON(l),s=l.geometry?.spatialReference;null!=n.geometry&&!s&&(n.geometry.spatialReference=i);let a=l.aggregateGeometries,p=n.aggregateGeometries;if(a&&null!=p)for(let e in p){let t=p[e],r=a[e]?.spatialReference;null!=t&&!r&&(t.spatialReference=i)}o.push(n)}return o}_quantizePoints(e,t,r){let i,o,l=[];for(let n=0,s=e.length;n<s;n++){let s=e[n];if(n>0){let e=t(s[0]),n=r(s[1]);(e!==i||n!==o)&&(l.push([e-i,n-o]),i=e,o=n)}else i=t(s[0]),o=r(s[1]),l.push([i,o])}return l.length>0?l:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{let i=(0,u.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,l=i.length;e<l;e++){let l=i[e],n=this._quantizePoints(l,t,r);n&&o.push(n)}return o.length>0?((0,u.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{let i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,o){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{let l,n,s=(0,u.Bi)(e)?e.rings:e.paths;for(let e=0,i=s.length;e<i;e++){let i=s[e];for(let e=0,o=i.length;e<o;e++){let o=i[e];e>0?(l+=o[0],n+=o[1]):(l=o[0],n=o[1]),o[0]=t(l),o[1]=r(n)}}if(i&&o)for(let e=0,t=s.length;e<t;e++){let t=s[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2]),r[3]=o(r[3])}}else if(i)for(let e=0,t=s.length;e<t;e++){let t=s[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2])}}else if(o)for(let e=0,t=s.length;e<t;e++){let t=s[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=o(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{let l,n,s=e.points;for(let e=0,i=s.length;e<i;e++){let i=s[e];e>0?(l+=i[0],n+=i[1]):(l=i[0],n=i[1]),i[0]=t(l),i[1]=r(n)}if(i&&o)for(let e=0,t=s.length;e<t;e++){let t=s[e];t[2]=i(t[2]),t[3]=o(t[3])}else if(i)for(let e=0,t=s.length;e<t;e++){let t=s[e];t[2]=i(t[2])}else if(o)for(let e=0,t=s.length;e<t;e++){let t=s[e];t[2]=o(t[2])}}:null}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],b.prototype,"displayFieldName",void 0),(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"exceededTransferLimit",void 0),(0,o.Cg)([(0,l.MZ)({type:[c.A],json:{write:!0}})],b.prototype,"features",void 0),(0,o.Cg)([(0,h.w)("features")],b.prototype,"readFeatures",null),(0,o.Cg)([(0,l.MZ)({type:[g.A],json:{write:!0}})],b.prototype,"fields",void 0),(0,o.Cg)([(0,l.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],b.prototype,"geometryType",void 0),(0,o.Cg)([(0,f.K)("geometryType")],b.prototype,"writeGeometryType",null),(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasM",void 0),(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasZ",void 0),(0,o.Cg)([(0,l.MZ)({types:d.yR,json:{write:!0}})],b.prototype,"queryGeometry",void 0),(0,o.Cg)([(0,h.w)("queryGeometry")],b.prototype,"readQueryGeometry",null),(0,o.Cg)([(0,l.MZ)({type:p.A,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,o.Cg)([(0,f.K)("spatialReference")],b.prototype,"writeSpatialReference",null),(0,o.Cg)([(0,l.MZ)({json:{write:!0}})],b.prototype,"transform",void 0),b=i=(0,o.Cg)([(0,l.$K)("esri.rest.support.FeatureSet")],b),b.prototype.toJSON.isDefaultToJSON=!0},16215(e,t,r){r.d(t,{S:()=>o});const i=Symbol("BasemapInstance");function o(e){return"object"==typeof e&&!!e&&i in e}r.d(t,["Y",0,i])}}]);
@@ -1 +0,0 @@
1
- "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[7552],{65615(e,t,r){r.d(t,{A:()=>V});var i=r(32198),o=r(91429),s=r(56507),n=r(69540),a=r(25482),l=r(20437),p=r(10107),u=r(79901),d=r(64108),c=r(93223),y=r(36005),g=r(66552),h=r(90360),m=r(93849);let C=null,v=null;function w(){return v||=(0,h.C)({types:M()}),v}let S=null;function M(){return S||={key:"type",base:null,typeMap:{"data-layer":C,"map-layer":m.A}},S}var j;const f=(0,g.O)()({esriLeftInnerJoin:"left-inner-join",esriLeftOuterJoin:"left-outer-join"});let b=j=class extends a.o{constructor(e){super(e),this.type="join-table"}readLeftTableSource(e,t,r){return w()(e,t,r)}castLeftTableSource(e){return(0,s.aq)(M(),e)}readRightTableSource(e,t,r){return w()(e,t,r)}castRightTableSource(e){return(0,s.aq)(M(),e)}clone(){let{leftTableKey:e,rightTableKey:t,leftTableSource:r,rightTableSource:i,joinType:o}=this,s={leftTableKey:e,rightTableKey:t,leftTableSource:r?.clone()??void 0,rightTableSource:i?.clone()??void 0,joinType:o};return new j(s)}};(0,i.Cg)([(0,c.e)({joinTable:"join-table"}),(0,p.MZ)({json:{write:{isRequired:!0}}})],b.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],b.prototype,"leftTableKey",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],b.prototype,"rightTableKey",void 0),(0,i.Cg)([(0,p.MZ)({json:{write:!0}})],b.prototype,"leftTableSource",void 0),(0,i.Cg)([(0,y.w)("leftTableSource")],b.prototype,"readLeftTableSource",null),(0,i.Cg)([(0,u.w)("leftTableSource")],b.prototype,"castLeftTableSource",null),(0,i.Cg)([(0,p.MZ)({json:{write:!0}})],b.prototype,"rightTableSource",void 0),(0,i.Cg)([(0,y.w)("rightTableSource")],b.prototype,"readRightTableSource",null),(0,i.Cg)([(0,u.w)("rightTableSource")],b.prototype,"castRightTableSource",null),(0,i.Cg)([(0,c.e)(f)],b.prototype,"joinType",void 0),b=j=(0,i.Cg)([(0,d.$K)("esri.rest.layerSources.JoinTableDataSource")],b);const Z=b;var R,x=r(16930),T=r(50498);let F=R=class extends a.o{constructor(e){super(e),this.type="query-table"}clone(){let{workspaceId:e,query:t,oidFields:r,spatialReference:i,geometryType:o}=this,s={workspaceId:e,query:t,oidFields:r,spatialReference:i?.clone()??void 0,geometryType:o};return new R(s)}};(0,i.Cg)([(0,c.e)({queryTable:"query-table"}),(0,o.MZ)({json:{write:{isRequired:!0}}})],F.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],F.prototype,"workspaceId",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],F.prototype,"query",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],F.prototype,"oidFields",void 0),(0,i.Cg)([(0,o.MZ)({type:x.A,json:{write:!0}})],F.prototype,"spatialReference",void 0),(0,i.Cg)([(0,c.e)(T.gy)],F.prototype,"geometryType",void 0),F=R=(0,i.Cg)([(0,o.$K)("esri.rest.layerSources.QueryTableDataSource")],F);const P=F;var A;let D=A=class extends a.o{constructor(e){super(e),this.type="raster"}clone(){let{workspaceId:e,dataSourceName:t}=this;return new A({workspaceId:e,dataSourceName:t})}};(0,i.Cg)([(0,c.e)({raster:"raster"}),(0,o.MZ)({json:{write:{isRequired:!0}}})],D.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],D.prototype,"dataSourceName",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],D.prototype,"workspaceId",void 0),D=A=(0,i.Cg)([(0,o.$K)("esri.rest.layerSources.RasterDataSource")],D);const O=D;var k;let I=k=class extends a.o{constructor(e){super(e),this.type="table"}clone(){let{workspaceId:e,gdbVersion:t,dataSourceName:r}=this;return new k({workspaceId:e,gdbVersion:t,dataSourceName:r})}};(0,i.Cg)([(0,c.e)({table:"table"}),(0,o.MZ)({json:{write:{isRequired:!0}}})],I.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],I.prototype,"workspaceId",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],I.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],I.prototype,"dataSourceName",void 0),I=k=(0,i.Cg)([(0,o.$K)("esri.rest.layerSources.TableDataSource")],I);const N={key:"type",base:null,typeMap:{"join-table":Z,"query-table":P,raster:O,table:I}};let U=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.type="data-layer"}toLayerSourceJSON(){return{source:this.toJSON()}}};(0,i.Cg)([(0,c.e)({dataLayer:"data-layer"}),(0,o.MZ)({json:{write:{isRequired:!0}}})],U.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)({type:[l.A],json:{write:!0}})],U.prototype,"fields",void 0),(0,i.Cg)([(0,o.MZ)({types:N,json:{write:!0}})],U.prototype,"dataSource",void 0),U=(0,i.Cg)([(0,o.$K)("esri.rest.layerSources.DynamicDataLayer")],U);const V=U;U.from=(0,s.dp)(U),S=null,v=null,C=U},93849(e,t,r){r.d(t,{A:()=>p});var i,o=r(32198),s=r(91429),n=r(56507),a=r(25482),l=r(93223);let p=i=class extends a.o{constructor(e){super(e),this.type="map-layer"}clone(){let{mapLayerId:e,gdbVersion:t}=this;return new i({mapLayerId:e,gdbVersion:t})}};(0,o.Cg)([(0,l.e)({mapLayer:"map-layer"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,o.Cg)([(0,s.MZ)({type:n.jz,json:{write:{isRequired:!0}}})],p.prototype,"mapLayerId",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"gdbVersion",void 0),p=i=(0,o.Cg)([(0,s.$K)("esri.rest.layerSources.DynamicMapLayer")],p)},29308(e,t,r){var i=r(32198),o=r(91429),s=r(56507),n=r(69540),a=r(25482),l=r(93223);let p=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.type="workspace-layer"}toLayerSourceJSON(){let{definitionExpression:e,...t}=this.toJSON();return{definitionExpression:e,source:t}}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],p.prototype,"definitionExpression",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],p.prototype,"layerId",void 0),(0,i.Cg)([(0,l.e)({workspaceLayer:"workspace-layer"}),(0,o.MZ)({json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],p.prototype,"workspaceId",void 0),p=(0,i.Cg)([(0,o.$K)("esri.rest.layerSources.DynamicWorkspaceLayer")],p);const u=p;p.from=(0,s.dp)(p),r.d(t,["A",0,u])},99614(e,t,r){var i=r(65615),o=r(29308);const s={key:"type",base:null,typeMap:{"data-layer":i.A,"workspace-layer":o.A}};r.d(t,["e",0,s])},27348(e,t,r){r.d(t,{A:()=>d});var i,o=r(32198),s=r(91429),n=r(66552),a=r(25482),l=r(4718),p=r(5443);const u=new n.J({upperLeft:"upper-left",lowerLeft:"lower-left"});let d=i=class extends a.o{constructor(e){super(e),this.extent=null,this.mode="view",this.originPosition="upper-left",this.tolerance=1}clone(){return new i((0,l.o8)({extent:this.extent,mode:this.mode,originPosition:this.originPosition,tolerance:this.tolerance}))}};(0,o.Cg)([(0,s.MZ)({type:p.A,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"extent",void 0),(0,o.Cg)([(0,s.MZ)({type:["view","edit"],json:{write:!0}})],d.prototype,"mode",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{read:u.read,write:u.write}})],d.prototype,"originPosition",void 0),(0,o.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"tolerance",void 0),d=i=(0,o.Cg)([(0,s.$K)("esri.rest.support.QuantizationParameters")],d)},97552(e,t,r){r.d(t,{A:()=>F});var i=r(32198),o=r(91429),s=r(56507),n=r(66552),a=r(25482),l=r(4718),p=r(86738),u=r(16930),d=r(65864),c=r(50498),y=r(79677),g=r(99614),h=r(69540);let m=class extends((0,h.OU)(a.o)){constructor(e){super(e),this.onFields=null,this.operator=null,this.searchTerm=null,this.searchType=null}};(0,i.Cg)([(0,o.MZ)({type:[String],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.onFields&&this.onFields.length>0}}}}})],m.prototype,"onFields",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],m.prototype,"operator",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],m.prototype,"searchTerm",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],m.prototype,"searchType",void 0),m=(0,i.Cg)([(0,o.$K)("esri.rest.support.FullTextSearch")],m);const C=m;var v=r(93223);const w=new n.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),S=new n.J({ASC:"ascending",DESC:"descending"});let M=class extends((0,h.OU)(a.o)){constructor(e){super(e),this.returnDistance=null,this.referenceGeometry=null,this.order=null,this.outDistanceUnit=null}};(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],M.prototype,"returnDistance",void 0),(0,i.Cg)([(0,o.MZ)({types:c.yR,json:{name:"refGeometry",read:d.rS,write:!0}})],M.prototype,"referenceGeometry",void 0),(0,i.Cg)([(0,v.e)(S,{ignoreUnknown:!1})],M.prototype,"order",void 0),(0,i.Cg)([(0,v.e)(w,{ignoreUnknown:!1})],M.prototype,"outDistanceUnit",void 0),M=(0,i.Cg)([(0,o.$K)("esri.rest.support.OutDistance")],M);const j=M;var f,b=r(27348),Z=r(58174),R=r(7562),x=r(43937);const T=new n.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let F=class extends a.o{static{f=this}static from(e){return(0,s.PZ)(f,e)}constructor(e){super(e),this.aggregateIds=null,this.cacheHint=void 0,this.datumTransformation=null,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.fullText=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnStatisticsAggregatedIds=!1,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnExceededLimitGeometries=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.returnTrueCurves=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.outDistance=null,this.where=null}castDatumTransformation(e){return"number"==typeof e||"object"==typeof e?e:null}writeHistoricMoment(e,t){t.historicMoment=e&&e.getTime()}writeParameterValues(e,t){if(e){let r={};for(let t in e){let i=e[t];r[t]=Array.isArray(i)?i.map(e=>e instanceof Date?e.getTime():e):i instanceof Date?i.getTime():i}t.parameterValues=r}}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10,t.where="1=1"}writeWhere(e,t){t.where=e||"1=1"}clone(){return new f((0,l.o8)({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,datumTransformation:this.datumTransformation,distance:this.distance,fullText:this.fullText,formatOf3DObjects:this.formatOf3DObjects,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:null==this.historicMoment?null:new Date(this.historicMoment),maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnStatisticsAggregatedIds:this.returnStatisticsAggregatedIds,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnExceededLimitGeometries:this.returnExceededLimitGeometries,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,returnTrueCurves:this.returnTrueCurves,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,outDistance:this.outDistance,where:this.where}))}static{this.MAX_MAX_RECORD_COUNT_FACTOR=5}};(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],F.prototype,"aggregateIds",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"cacheHint",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],F.prototype,"datumTransformation",void 0),(0,i.Cg)([(0,o.wg)("datumTransformation")],F.prototype,"castDatumTransformation",null),(0,i.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],F.prototype,"distance",void 0),(0,i.Cg)([(0,o.MZ)({types:g.e,json:{write:!0}})],F.prototype,"dynamicDataSource",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],F.prototype,"formatOf3DObjects",void 0),(0,i.Cg)([(0,o.MZ)({type:[C],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.fullText&&this.fullText.length>0}}}}})],F.prototype,"fullText",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],F.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,o.MZ)({types:c.yR,json:{read:d.rS,write:!0}})],F.prototype,"geometry",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],F.prototype,"geometryPrecision",void 0),(0,i.Cg)([(0,o.MZ)({type:[String],json:{write:!0}})],F.prototype,"groupByFieldsForStatistics",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],F.prototype,"having",void 0),(0,i.Cg)([(0,o.MZ)({type:Date})],F.prototype,"historicMoment",void 0),(0,i.Cg)([(0,x.K)("historicMoment")],F.prototype,"writeHistoricMoment",null),(0,i.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],F.prototype,"maxAllowableOffset",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,cast:e=>e<1?1:e>f.MAX_MAX_RECORD_COUNT_FACTOR?f.MAX_MAX_RECORD_COUNT_FACTOR:e,json:{write:{overridePolicy:e=>({enabled:e>1})}}})],F.prototype,"maxRecordCountFactor",void 0),(0,i.Cg)([(0,o.MZ)({type:["xyFootprint"],json:{write:!0}})],F.prototype,"multipatchOption",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],F.prototype,"num",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],F.prototype,"objectIds",void 0),(0,i.Cg)([(0,o.MZ)({type:[String],json:{write:!0}})],F.prototype,"orderByFields",void 0),(0,i.Cg)([(0,o.MZ)({type:[String],json:{write:!0}})],F.prototype,"outFields",void 0),(0,i.Cg)([(0,o.MZ)({type:u.A,json:{name:"outSR",write:!0}})],F.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,o.MZ)({type:[R.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],F.prototype,"outStatistics",void 0),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],F.prototype,"parameterValues",void 0),(0,i.Cg)([(0,x.K)("parameterValues")],F.prototype,"writeParameterValues",null),(0,i.Cg)([(0,o.MZ)({type:p.A,json:{write:!0}})],F.prototype,"pixelSize",void 0),(0,i.Cg)([(0,o.MZ)({type:b.A,json:{write:!0}})],F.prototype,"quantizationParameters",void 0),(0,i.Cg)([(0,o.MZ)({type:[Object],json:{write:!0}})],F.prototype,"rangeValues",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],F.prototype,"relationParameter",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],F.prototype,"resultType",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{name:"returnAggIds",write:{overridePolicy(e){return{enabled:e&&!!this.groupByFieldsForStatistics?.length&&!!this.outStatistics?.length}}}}})],F.prototype,"returnStatisticsAggregatedIds",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnCentroid",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnDistinctValues",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{default:!0,write:!0}})],F.prototype,"returnExceededLimitFeatures",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{default:!0,write:!0}})],F.prototype,"returnExceededLimitGeometries",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"returnGeometry",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnQueryGeometry",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnM",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],F.prototype,"returnZ",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"returnTrueCurves",void 0),(0,i.Cg)([(0,o.MZ)({type:u.A,json:{write:!0}})],F.prototype,"sourceSpatialReference",void 0),(0,i.Cg)([(0,v.e)(Z.x,{ignoreUnknown:!1,name:"spatialRel"})],F.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],F.prototype,"start",void 0),(0,i.Cg)([(0,x.K)("start"),(0,x.K)("num")],F.prototype,"writeStart",null),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],F.prototype,"sqlFormat",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],F.prototype,"text",void 0),(0,i.Cg)([(0,o.MZ)({type:y.A,json:{write:!0}})],F.prototype,"timeExtent",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"timeReferenceUnknownClient",void 0),(0,i.Cg)([(0,v.e)(T,{ignoreUnknown:!1}),(0,o.MZ)({json:{write:{overridePolicy(e){return{enabled:!!e&&!!this.distance}}}}})],F.prototype,"units",void 0),(0,i.Cg)([(0,o.MZ)({type:j,json:{write:!0}})],F.prototype,"outDistance",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{overridePolicy(e){return{enabled:null!=e||null!=this.start&&this.start>0}}}}})],F.prototype,"where",void 0),(0,i.Cg)([(0,x.K)("where")],F.prototype,"writeWhere",null),F=f=(0,i.Cg)([(0,o.$K)("esri.rest.support.Query")],F)},7562(e,t,r){r.d(t,{A:()=>d});var i,o=r(32198),s=r(91429),n=r(66552),a=r(25482),l=r(4718),p=r(43937);const u=new n.J({count:"count",sum:"sum",min:"min",max:"max",avg:"avg",stddev:"stddev",var:"var",exceedslimit:"exceedslimit",percentile_cont:"percentile-continuous",percentile_disc:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate"});let d=i=class extends a.o{constructor(e){super(e),this.maxPointCount=void 0,this.maxRecordCount=void 0,this.maxVertexCount=void 0,this.onStatisticField=null,this.outStatisticFieldName=null,this.statisticType=null,this.statisticParameters=null}writeStatisticParameters(e,t){("percentile-continuous"===this.statisticType||"percentile-discrete"===this.statisticType)&&(t.statisticParameters=(0,l.o8)(e))}clone(){return new i({maxPointCount:this.maxPointCount,maxRecordCount:this.maxRecordCount,maxVertexCount:this.maxVertexCount,onStatisticField:this.onStatisticField,outStatisticFieldName:this.outStatisticFieldName,statisticType:this.statisticType,statisticParameters:(0,l.o8)(this.statisticParameters)})}};(0,o.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxPointCount",void 0),(0,o.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxRecordCount",void 0),(0,o.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxVertexCount",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],d.prototype,"onStatisticField",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],d.prototype,"outStatisticFieldName",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{read:{source:"statisticType",reader:u.read},write:{target:"statisticType",writer:u.write}}})],d.prototype,"statisticType",void 0),(0,o.Cg)([(0,s.MZ)({type:Object})],d.prototype,"statisticParameters",void 0),(0,o.Cg)([(0,p.K)("statisticParameters")],d.prototype,"writeStatisticParameters",null),d=i=(0,o.Cg)([(0,s.$K)("esri.rest.support.StatisticDefinition")],d)},58174(e,t,r){const i=new(r(66552).J)({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"});r.d(t,["x",0,i])}}]);
@@ -1 +0,0 @@
1
- "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[1560,4935],{52106(e,t,r){r.d(t,{A:()=>M});var i,o,s=r(32198),n=r(91429),l=r(69540),a=r(51447),p=r(25482),u=r(53966),d=r(36708),c=r(12195),y=r(24326),h=r(65864),g=r(50498),f=r(55156),m=r(60950),v=r(54339),b=r(40124),w=r(94128),S=r(33910);const C=Symbol("meshGeometryHandles");function x(e){if(null==e)return null;let t={};for(let r in e){let i=e[r];i&&(t[r]=i.toJSON())}return 0===Object.keys(t).length?null:t}let M=class extends((0,l.OU)(p.o)){static{i=w.Z}static{o=this}constructor(e){super(e),this[i]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperties(this,{uid:{value:(0,y.c)(),configurable:!0},_lastMeshTransform:{value:{},configurable:!0,writable:!0,enumerable:!1}}),arguments.length>1&&(0,a.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}set aggregateGeometries(e){let t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){let t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){let t=this._get("geometry");t!==e&&(this._set("geometry",e),this._watchMeshGeometryChanges(),this._notifyLayer("geometry",t,e))}set popupTemplate(e){let t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){let t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){let t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new o({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;let t=(0,m.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;let r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(let t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){let r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){let e=(0,f.I)(this.origin);if(e)return(0,v.r)(this,e);let t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){let e=(0,f.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);let t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){let e={aggregateGeometries:x(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,c.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){let{geometry:t}=this;if("mesh"===t?.type){let r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;let o={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(o.action=i),"attributes"===e&&(o.attributeName=i),this.layer.graphicChanged(o)}_watchMeshGeometryChanges(){this.removeHandles(C);let e=this.geometry;"mesh"===e?.type&&this.addHandles([(0,d.z7)(()=>e.vertexSpace.origin?{localMatrix:e.transform?.localMatrix,origin:e.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{(this._lastMeshTransform.localMatrix!==e||this._lastMeshTransform.origin!==t)&&(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,d.z7)(()=>({vertexAttributes:e.vertexAttributes}),()=>{e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",e,e)},{equals:(e,t)=>e===t,sync:!0})],C)}};(0,s.Cg)([(0,n.MZ)({value:null,json:{read:function(e){if(!e)return null;let t={};for(let r in e){let i=(0,h.rS)(e[r]);i&&(t[r]=i)}return 0===Object.keys(t).length?null:t}}})],M.prototype,"aggregateGeometries",null),(0,s.Cg)([(0,n.MZ)({value:null})],M.prototype,"attributes",null),(0,s.Cg)([(0,n.MZ)({value:null,types:g.yR,json:{read:h.rS}})],M.prototype,"geometry",null),(0,s.Cg)([(0,n.MZ)()],M.prototype,"distance",void 0),(0,s.Cg)([(0,n.MZ)({type:Boolean})],M.prototype,"isAggregate",void 0),(0,s.Cg)([(0,n.MZ)({clonable:!1})],M.prototype,"layer",void 0),(0,s.Cg)([(0,n.MZ)({clonable:"reference"})],M.prototype,"origin",void 0),(0,s.Cg)([(0,n.MZ)({type:b.A,value:null})],M.prototype,"popupTemplate",null),(0,s.Cg)([(0,n.MZ)({clonable:"reference"})],M.prototype,"sourceLayer",void 0),(0,s.Cg)([(0,n.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],M.prototype,"statisticsAggregatedIds",void 0),(0,s.Cg)([(0,n.MZ)({value:null,types:S.Es})],M.prototype,"symbol",null),(0,s.Cg)([(0,n.MZ)({clonable:!1,json:{read:!1,write:!1}})],M.prototype,"_version",void 0),(0,s.Cg)([(0,n.MZ)({type:Boolean,value:!0})],M.prototype,"visible",null),M=o=(0,s.Cg)([(0,n.$K)("esri.Graphic")],M)},46140(e,t,r){r.d(t,{A:()=>o});var i=r(49186);class o{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){let t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new i.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new o(this.major,this.minor,this._context)}static parse(e,t=""){let[r,s]=e.split(".",2),n=/^\s*\d+\s*$/;if(!r?.match||!n.test(r)){let r=t&&t+":";throw new i.A(r+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e})}if(!s?.match||!n.test(s)){let r=t&&t+":";throw new i.A(r+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e})}return new o(parseInt(r,10),parseInt(s,10),t)}}},6797(e,t,r){r.d(t,{Ui:()=>c});var i=r(56372),o=r(7762),s=r(88620);const n=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof i.A}function a(e){return e instanceof o.A?Object.keys(e.items):l(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function p(e,t){return e instanceof o.A?e.items[t]:e[t]}function u(e){return e?e.declaredClass:null}function d(e,t){let r=e.diff;if(r&&"function"==typeof r)return r(e,t);let i=a(e),o=a(t);if(0===i.length&&0===o.length)return;if(!i.length||!o.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};let s=o.filter(e=>!i.includes(e)),c=i.filter(e=>!o.includes(e)),y=i.filter(r=>o.includes(r)&&p(e,r)!==p(t,r)).concat(s,c).sort(),h=u(e);if(h&&n.has(h)&&y.length)return{type:"complete",oldValue:e,newValue:t};let g,f=l(e)&&l(t);for(let i of y){let o,s=p(e,i),n=p(t,i);if((f||"function"!=typeof s&&"function"!=typeof n)&&s!==n&&(null!=s||null!=n)){if(r&&r[i]&&"function"==typeof r[i])o=r[i]?.(s,n);else if(s instanceof Date&&n instanceof Date){if(s.getTime()===n.getTime())continue;o={type:"complete",oldValue:s,newValue:n}}else o="object"==typeof s&&"object"==typeof n&&u(s)===u(n)?d(s,n):{type:"complete",oldValue:s,newValue:n};null!=o&&(null==g?g={type:"partial",diff:{[i]:o}}:g.diff[i]=o)}}return g}function c(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&u(e)!==u(t)?{type:"complete",oldValue:e,newValue:t}:d(e,t)}},83027(e,t,r){const i=r(29953).ho;r.d(t,["h",0,i])},55156(e,t,r){r.d(t,{I:()=>o});const i=Symbol("idFieldsProviderSymbol");function o(e){return(t=e)&&i in t?e[i]:void 0;var t}r.d(t,["e",0,i])},68695(e,t,r){r.r(t),r.d(t,{default:()=>te});var i=r(32198),o=r(91429),s=r(89317),n=r(49186),l=r(25728),a=r(17676),p=r(84952),u=r(16930),d=r(41910),c=r(55156),y=r(60950),h=r(89808),g=r(99959);const f=Symbol("isCSVGraphicOrigin");var m;class v extends g.A{get[(m=f,y.ym)](){return this.layer}get[c.e](){return this.layer}get[h.Q](){return this.layer}get[d.e7](){return this.layer}constructor(e){super(),this[m]=!0,this.type="csv",this.layer=e}get id(){return this.layer.id}}var b=r(40124),w=r(41214),S=r(97552),C=r(30291),x=r(56400),M=r(92474),I=r(83027),A=r(5443),P=r(22671),F=r(59288);let O=class extends M.x_{constructor(e){super(e),this.type="csv",this.refresh=(0,a.sg)(async e=>{await this.load();let{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return t&&(this.sourceJSON.extent=t),r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}})}load(e){let t=null==e?null:e.signal;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}async openPorts(){return await this.load(),this._connection.openPorts()}async queryFeatures(e,t={}){await this.load(t);let r=(0,F.$)(e,this.layer.timeInfo,this.sourceJSON.timeInfo,this.layer.fieldsIndex),i=await this._connection.invoke("queryFeatures",r.toJSON(),t);return P.A.fromJSON(i)}async queryFeaturesJSON(e,t={}){await this.load(t);let r=(0,F.$)(e,this.layer.timeInfo,this.sourceJSON.timeInfo,this.layer.fieldsIndex);return this._connection.invoke("queryFeatures",r.toJSON(),t)}async queryFeatureCount(e,t={}){await this.load(t);let r=(0,F.$)(e,this.layer.timeInfo,this.sourceJSON.timeInfo,this.layer.fieldsIndex);return this._connection.invoke("queryFeatureCount",r.toJSON(),t)}async queryObjectIds(e,t={}){await this.load(t);let r=(0,F.$)(e,this.layer.timeInfo,this.sourceJSON.timeInfo,this.layer.fieldsIndex);return this._connection.invoke("queryObjectIds",r.toJSON(),t)}async queryExtent(e,t={}){await this.load(t);let r=(0,F.$)(e,this.layer.timeInfo,this.sourceJSON.timeInfo,this.layer.fieldsIndex),i=await this._connection.invoke("queryExtent",r.toJSON(),t);return{count:i.count,extent:A.A.fromJSON(i.extent)}}async querySnapping(e,t={}){return await this.load(t),this._connection.invoke("querySnapping",e,t)}async queryAttributeBins(e,t={}){await this.load();let r=(0,F.$)(e,this.layer.timeInfo,this.sourceJSON.timeInfo,this.layer.fieldsIndex);return this._connection.invoke("queryAttributeBins",r.toJSON(),t)}async _startWorker(e){this._connection=await(0,I.h)("CSVSourceWorker",{strategy:"dedicated",signal:e,registryTarget:this});let{url:t,delimiter:r,fields:i,latitudeField:o,longitudeField:s,spatialReference:n,timeInfo:l}=this.loadOptions,a=await this._connection.invoke("load",{url:t,customParameters:this.customParameters,parsingOptions:{delimiter:r,fields:i?.map(e=>e.toJSON()),latitudeField:o,longitudeField:s,spatialReference:n?.toJSON(),timeInfo:l?.toJSON()}},{signal:e});this.locationInfo=a.locationInfo,this.sourceJSON=a.layerDefinition,this.delimiter=a.delimiter}};(0,i.Cg)([(0,o.MZ)()],O.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)()],O.prototype,"loadOptions",void 0),(0,i.Cg)([(0,o.MZ)()],O.prototype,"customParameters",void 0),(0,i.Cg)([(0,o.MZ)({constructOnly:!0})],O.prototype,"layer",void 0),(0,i.Cg)([(0,o.MZ)()],O.prototype,"locationInfo",void 0),(0,i.Cg)([(0,o.MZ)()],O.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,o.MZ)()],O.prototype,"delimiter",void 0),O=(0,i.Cg)([(0,o.$K)("esri.layers.graphics.sources.CSVSource")],O);var T=r(64714),Z=r(4146),L=r(63074),j=r(69208),E=r(6455),_=r(87718),N=r(56658),R=r(34287),D=r(32756),$=r(8303),q=r(54310),z=r(25036),G=r(82935),J=r(63396),B=r(10873),k=r(15426),U=r(20437),V=r(17036),H=r(30524),Q=r(46499),K=r(39383),W=r(37352),Y=r(36005);const X=(0,V.p)();let ee=class extends((0,D.fY)((0,E.FJ)((0,j.d)((0,N.J)((0,_.F)((0,L.dM)((0,G.e)((0,J.d)((0,z.j)((0,q.J)((0,R.q)((0,$.A)((0,l.M)(Z.A)))))))))))))){constructor(e){super(e),this.attributeTableTemplate=null,this.capabilities=(0,T.f)(!1,!1),this.copyright=null,this.definitionExpression=null,this.delimiter=null,this.displayField=null,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.floorInfo=null,this.fullExtent=null,this.geometryType="point",this.graphicOrigin=new v(this),this.labelingInfo=null,this.labelsVisible=!0,this.latitudeField=null,this.legendEnabled=!0,this.locationType="coordinates",this.longitudeField=null,this.maxScale=0,this.minScale=0,this.objectIdField=null,this.opacity=1,this.operationalLayerType="CSV",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new O({layer:this}),this.spatialReference=u.A.WGS84,this.timeInfo=null,this.type="csv"}load(e){let t=this.loadFromPortal({supportedTypes:["CSV"],supportsData:!1},e).catch(a.QP).then(()=>(this.source.loadOptions={delimiter:this.delimiter,fields:this.fields,latitudeField:this.latitudeField??void 0,longitudeField:this.longitudeField??void 0,spatialReference:this.spatialReference??void 0,timeInfo:this.timeInfo??void 0,url:this.url},this.source.customParameters=this.customParameters??void 0,this.source.load(e))).then(()=>{this.read({layerDefinition:this.source.sourceJSON,locationInfo:this.source.locationInfo,columnDelimiter:this.source.delimiter},{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl}),(0,H.yp)(this.renderer,this.fieldsIndex),(0,H.sv)(this.timeInfo,this.fieldsIndex)});return this.addResolvingPromise(t),Promise.resolve(this)}destroy(){this.source?.destroy()}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")||0)+1}get defaultPopupTemplate(){return this.createPopupTemplate()}get isTable(){return this.loaded&&null==this.geometryType}readWebMapLabelsVisible(e,t){return t.showLabels??!!t.layerDefinition?.drawingInfo?.labelingInfo}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}set renderer(e){(0,H.yp)(e,this.fieldsIndex),this._set("renderer",e)}set url(e){if(!e)return void this._set("url",e);let t=(0,p.An)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}createPopupTemplate(e){return(0,C.tn)(this,e)}createQuery(){let e=new S.A,t=this.capabilities?.data;e.returnGeometry=!0,t?.supportsZ&&(e.returnZ=!0),e.outFields=["*"],e.where=this.definitionExpression||"1=1";let{timeOffset:r,timeExtent:i}=this;return e.timeExtent=r&&i?i.offset(-r.value,r.unit):i??null,e}getFieldDomain(e,t){return this.getField(e)?.domain}getField(e){return this.fieldsIndex.get(e)}async queryAttributeBins(e,t){let{source:i,capabilities:o}=await this.load();if(!i.queryAttributeBins)throw new n.A("CSVLayer","Layer source does not support queryAttributeBins capability");(0,k.ZJ)(e,o,"CSVLayer");let{default:s}=await r.e(4575).then(()=>r(14575)),l=await i.queryAttributeBins(s.from(e),t),a=this.graphicOrigin;if(l.features)for(let e of l.features)e.layer=e.sourceLayer=this,e.origin=a;return l}queryFeatures(e,t){return this.load().then(()=>this.source.queryFeatures(S.A.from(e)||this.createQuery())).then(e=>{let t=this.graphicOrigin;if(e.features)for(let r of e.features)r.layer=r.sourceLayer=this,r.origin=t;return e})}async queryObjectIds(e,t){return await this.load(),this.source.queryObjectIds(S.A.from(e)||this.createQuery())}queryFeatureCount(e,t){return this.load().then(()=>this.source.queryFeatureCount(S.A.from(e)||this.createQuery()))}queryExtent(e,t){return this.load().then(()=>this.source.queryExtent(S.A.from(e)||this.createQuery()))}read(e,t){super.read(e,t),"service"===t?.origin&&(["objectIdField","fields","timeInfo","dateFieldsTimeZone","latitudeField","longitudeField"].forEach(e=>this.revertToOrigin(e,"service")),this.spatialReference||this.revertToOrigin("spatialReference","service"))}async hasDataChanged(){try{let{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}};(0,i.Cg)([(0,o.MZ)(B.zQ)],ee.prototype,"attributeTableTemplate",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!1,write:!1}})],ee.prototype,"capabilities",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{origins:{service:{read:{source:"copyrightText"}}}}})],ee.prototype,"copyright",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],ee.prototype,"createQueryVersion",null),(0,i.Cg)([(0,o.MZ)({json:{name:"layerDefinition.dateFieldsTimeReference",read:{reader:x.ZS}}})],ee.prototype,"dateFieldsTimeZone",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],ee.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],ee.prototype,"definitionExpression",void 0),(0,i.Cg)([(0,o.MZ)({type:[","," ",";","|","\t"],json:{name:"columnDelimiter",write:{ignoreOrigin:!0}}})],ee.prototype,"delimiter",void 0),(0,i.Cg)([(0,o.MZ)({type:String})],ee.prototype,"displayField",void 0),(0,i.Cg)([(0,o.MZ)(B.Yj)],ee.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,o.MZ)({type:[U.A],json:{name:"layerDefinition.fields",write:{ignoreOrigin:!0}}})],ee.prototype,"fields",void 0),(0,i.Cg)([(0,o.MZ)(X.fieldsIndex)],ee.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,o.MZ)({type:W.A,json:{name:"layerDefinition.floorInfo",write:{layerContainerTypes:s.K}}})],ee.prototype,"floorInfo",void 0),(0,i.Cg)([(0,o.MZ)({json:{origins:{service:{name:"layerDefinition.extent"}}}})],ee.prototype,"fullExtent",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],ee.prototype,"geometryType",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],ee.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],ee.prototype,"isTable",null),(0,i.Cg)([(0,o.MZ)({type:[Q.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:K.w},write:!0}})],ee.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,o.MZ)(B.kF)],ee.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,Y.w)("web-map","labelsVisible",["layerDefinition.drawingInfo.labelingInfo","showLabels"])],ee.prototype,"readWebMapLabelsVisible",null),(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"locationInfo.latitudeFieldName",write:{ignoreOrigin:!0}}})],ee.prototype,"latitudeField",void 0),(0,i.Cg)([(0,o.MZ)(B.fV)],ee.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,o.MZ)({type:["show","hide"]})],ee.prototype,"listMode",void 0),(0,i.Cg)([(0,o.MZ)({type:["coordinates"],json:{name:"locationInfo.locationType",write:{ignoreOrigin:!0,isRequired:!0}}})],ee.prototype,"locationType",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"locationInfo.longitudeFieldName",write:{ignoreOrigin:!0}}})],ee.prototype,"longitudeField",void 0),(0,i.Cg)([(0,o.MZ)(B.hG)],ee.prototype,"maxScale",void 0),(0,i.Cg)([(0,o.MZ)(B.hn)],ee.prototype,"minScale",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"layerDefinition.objectIdField",origins:{"web-map":{write:{target:"layerDefinition.objectIdField",ignoreOrigin:!0}}}}})],ee.prototype,"objectIdField",void 0),(0,i.Cg)([(0,o.MZ)(B.Ih)],ee.prototype,"opacity",void 0),(0,i.Cg)([(0,o.MZ)({type:["CSV"]})],ee.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,o.MZ)()],ee.prototype,"outFields",void 0),(0,i.Cg)([(0,o.MZ)(B.M6)],ee.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,o.MZ)({type:b.A,json:{name:"popupInfo",write:!0}})],ee.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,o.MZ)({types:w.Hg,json:{name:"layerDefinition.drawingInfo.renderer",origins:{"web-scene":{types:w.XJ,name:"layerDefinition.drawingInfo.renderer",write:!0}},write:{ignoreOrigin:!0,layerContainerTypes:s.K}}})],ee.prototype,"renderer",null),(0,i.Cg)([(0,o.MZ)(B.PY)],ee.prototype,"screenSizePerspectiveEnabled",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],ee.prototype,"source",void 0),(0,i.Cg)([(0,o.MZ)({type:u.A,json:{origins:{service:{name:"layerDefinition.extent.spatialReference"}}}})],ee.prototype,"spatialReference",void 0),(0,i.Cg)([(0,o.MZ)((0,B.U$)({name:"layerDefinition.timeInfo",alwaysWriteNonItemOrigin:!0}))],ee.prototype,"timeInfo",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{origins:{service:{name:"layerDefinition.name"},"web-document":{name:"title",write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}}}}})],ee.prototype,"title",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!1},value:"csv",readOnly:!0})],ee.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)(B.OZ)],ee.prototype,"url",null),ee=(0,i.Cg)([(0,o.$K)("esri.layers.CSVLayer")],ee);const te=ee},99352(e,t,r){r.d(t,["F",0,{supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!0,supportedSpatialAggregationStatistics:{envelope:!0,centroid:!0,convexHull:!0},supportsStatisticsAggregatedIds:!0,supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsOutDistance:!1,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsReturnExceededLimitGeometries:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsFormatPBFWithCurves:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,relativeTimeBinWindow:0,standardMaxRecordCount:void 0,standardMaxRecordCountNoGeometry:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},"P",0,{supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}])},54339(e,t,r){function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{let r=[];for(let i of t.fieldNames)r.push(e.attributes[i]??null);return JSON.stringify(r)}}}function o(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];let r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>i,r:()=>o})},64714(e,t,r){r.d(t,{F0:()=>l,Vx:()=>u,e2:()=>c,f:()=>g});var i=r(44208),o=r(4718),s=r(93470),n=r(99352);function l(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?s.Cb:"esriGeometryPolyline"===e?s.yM:s.WR}}}const a=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let p=1;function u(e,t){if((0,i.A)("esri-csp-restrictions"))return()=>t?{[t]:null,...e}:{...e};try{let r="";t&&(r+=`this${d(t)} = null;`);for(let t in e)r+=`this${d(t)} = ${JSON.stringify(e[t])};`;let i=Function(`\n return class AttributesClass$${p++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new i}catch{return()=>t?{[t]:null,...e}:{...e}}}function d(e){return a.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,o.o8)(e)}}]}const y={...n.F,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!1,supportsDistance:!1,supportsExtent:!1,supportsQuantization:!1,supportsQueryGeometry:!1,supportsDisjointSpatialRelationship:!1},h={...n.P,supportedStatistics:{...n.P.supportedStatistics,envelope:!1,centroid:!1,convexHull:!1}};function g(e,t,r=!1){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:r?y:n.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:r?h:n.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},59288(e,t,r){r.d(t,{$:()=>n});var i=r(2991),o=r(96184),s=r(36003);function n(e,t,r,n){if(!e.timeExtent||!t&&!r)return e;let l=e.clone();if(t&&r){if(!(0,s.L)(t,o.A.fromJSON(r))){let r=(0,i.RZ)(e.timeExtent,t,n,e.where);r&&(l.where=r,l.timeExtent=void 0)}return l}return!t&&r?(l.timeExtent=void 0,l):(t&&!r&&(l.where=(0,i.RZ)(e.timeExtent,t,n,e.where),l.timeExtent=void 0),l)}},69208(e,t,r){var i=r(32198),o=r(91429);r.d(t,["d",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,i.Cg)([(0,o.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}])},32756(e,t,r){r.d(t,{Rr:()=>l});var i=r(32198),o=r(91429),s=r(93637),n=r(91880);function l(e,t,r){if(!e)return null;let i=e.find(e=>!!e.field);if(!i)return null;let o=new n.A;return o.read(i,r),[o]}const a={type:[n.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){let o=e.find(e=>!!e.field);o&&(0,s.sM)(r,[o.toJSON()],t)}}}};r.d(t,["fY",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,o.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.OrderedLayer")],r),r},"ne",0,a])},8303(e,t,r){var i=r(32198),o=r(92602),s=r(91429),n=r(60999),l=r(49186),a=r(36563),p=r(53966),u=r(97768),d=r(17676),c=r(84952),y=r(70333),h=r(20655),g=r(80812),f=r(41318),m=r(10407),v=r(78888),b=r(26121),w=r(77548),S=r(36005),C=r(43937);const x={credential:null,user:null};r.d(t,["A",0,e=>{let t=e,M=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,u.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{let{load:i}=await r.e(1204).then(()=>r(41204));return(0,d.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,d.zf)(e)||p.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e,t){if(!this.loaded||!this.portalItem?.id)return!1;let i=t?.signal?null:new AbortController;try{let{reload:o}=await r.e(1204).then(()=>r(41204));return i&&this.addHandles((0,a.rE)(i),"reloadFromPortal"),await o({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t?.signal?t:{signal:i.signal})}catch(e){throw(0,d.zf)(e)||p.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{i&&this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,d.QP)(e),!0)))}async setUserPrivileges(e,t){if(!o.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{let{features:{edit:r,fullEdit:i},content:{updateItem:o}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",o)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);let i,o,s=!y.id?.findCredential(this.url),n=e===r.id;if(n&&r.portal.user)return this._getUserPrivileges(r,s);if(n)i=r.portal.url;else try{i=await(0,w.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!i||!(0,c.b8)(i,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{let e=null==t?null:t.signal;o=await(y.id?.getCredential(`${i}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}if(!o)return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}};try{if(n?await r.reload():(r=new g.default({id:e,portal:{url:i}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,s)}catch(e){(0,d.QP)(e)}return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}}}_getUserPrivileges(e,t){let r=(0,m.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){let t=this.url?y.id?.findCredential(this.url):null;if(!t)return!0;let r=x.credential===t?x.user:await this._fetchEditingUser(e);return x.credential=t,x.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){let t=this.portalItem?.portal?.user;if(t)return t;let r=y.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;let i=`${r.owningSystemUrl}/sharing/rest`,o=h.A.getDefault();if(o&&o.loaded&&(0,c.S8)(o.restUrl)===(0,c.S8)(i))return o.user;let s=`${i}/community/self`,l=null==e?null:e.signal,a=await(0,n.Ke)((0,v.A)(s,{authMode:"no-prompt",query:{f:"json"},signal:l}));return a.ok?f.A.fromJSON(a.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){return(0,b.wN)(this.portalItem,t)?(t?.messages?.push(new l.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i.Cg)([(0,s.MZ)({type:g.default})],M.prototype,"portalItem",null),(0,i.Cg)([(0,S.w)("web-document","portalItem",["itemId"])],M.prototype,"readPortalItem",null),(0,i.Cg)([(0,C.K)("web-document","portalItem",{itemId:{type:String}})],M.prototype,"writePortalItem",null),(0,i.Cg)([(0,s.MZ)({clonable:!1})],M.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasUpdateItemPrivileges",void 0),M=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.PortalLayer")],M),M}])},82935(e,t,r){var i=r(32198),o=r(91429),s=r(73133),n=r(79677),l=r(10184),a=r(30524),p=r(96184),u=r(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation"}}};r.d(t,["B",0,d,"e",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){let r=t.timeInfo.exportOptions;if(!r)return null;let i=r.timeOffset,o=s.j.fromJSON(r.timeOffsetUnits);return i&&o?new l.A({value:i,unit:o}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,a.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i.Cg)([(0,o.MZ)({type:n.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,i.Cg)([(0,o.MZ)({type:l.A})],r.prototype,"timeOffset",void 0),(0,i.Cg)([(0,u.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,i.Cg)([(0,o.MZ)({value:null,type:p.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,i.Cg)([(0,o.MZ)(d)],r.prototype,"useViewTime",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.TemporalLayer")],r),r}])},63396(e,t,r){r.d(t,{d:()=>x});var i=r(32198),o=r(91429),s=r(41910),n=r(60950),l=r(99959);class a extends l.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[n.ym](){return this.trackInfoProvider.trackInfo}get[s.e7](){return this.trackInfoProvider}}var p=r(69540),u=r(25482),d=r(93637),c=r(40124),y=r(96576),h=r(59868),g=r(10184),f=r(50820),m=r(10873),v=r(41214),b=r(46499);let w=class extends((0,p.OU)(u.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,i.Cg)([(0,o.MZ)({type:[b.A],json:{write:!0}})],w.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,o.MZ)(m.kF)],w.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,o.MZ)({types:v.Hg,json:{write:!0}})],w.prototype,"renderer",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],w.prototype,"visible",void 0),w=(0,i.Cg)([(0,o.$K)("esri.layers.support.TrackPartInfo")],w);var S=r(43937);let C=class extends((0,p.OU)(u.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new w({renderer:new y.A({symbol:h.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new w({renderer:new y.A({symbol:h.UK.clone()})}),this.trackLines=new w({renderer:new y.A({symbol:h.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,r){let i=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,d.sM)(r,i,t)}};(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],C.prototype,"enabled",void 0),(0,i.Cg)([(0,o.MZ)({type:[f.A],json:{write:!0}})],C.prototype,"fields",void 0),(0,i.Cg)([(0,S.K)("fields")],C.prototype,"writeFields",null),(0,i.Cg)([(0,o.MZ)({type:w,json:{write:!0}})],C.prototype,"latestObservations",void 0),(0,i.Cg)([(0,o.MZ)({type:g.A,json:{write:!0}})],C.prototype,"maxDisplayDuration",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],C.prototype,"maxDisplayObservationsPerTrack",void 0),(0,i.Cg)([(0,o.MZ)(m.M6)],C.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,o.MZ)({type:c.A,json:{name:"popupInfo",write:!0}})],C.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,o.MZ)({type:w,json:{write:!0}})],C.prototype,"previousObservations",void 0),(0,i.Cg)([(0,o.MZ)({type:w,json:{write:!0}})],C.prototype,"trackLines",void 0),(0,i.Cg)([(0,o.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],C.prototype,"timeField",void 0),C=(0,i.Cg)([(0,o.$K)("esri.layers.support.TrackInfo")],C);const x=e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new a(this),this.trackInfo=null}};return(0,i.Cg)([(0,o.MZ)({readOnly:!0,clonable:!1})],r.prototype,"trackGraphicOrigin",void 0),(0,i.Cg)([(0,o.MZ)({type:C})],r.prototype,"trackInfo",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.TrackableLayer")],r),r}},46499(e,t,r){var i,o,s=r(32198),n=r(91429),l=r(90360),a=(r(44208),r(66552)),p=r(25482),u=r(4718),d=r(90629),c=r(59868),y=r(73838),h=r(33910),g=r(73913),f=r(32730),m=r(77548),v=r(36005),b=r(43937);const w=new a.J({esriServerPointLabelPlacementAboveCenter:"above-center",esriServerPointLabelPlacementAboveLeft:"above-left",esriServerPointLabelPlacementAboveRight:"above-right",esriServerPointLabelPlacementBelowCenter:"below-center",esriServerPointLabelPlacementBelowLeft:"below-left",esriServerPointLabelPlacementBelowRight:"below-right",esriServerPointLabelPlacementCenterCenter:"center-center",esriServerPointLabelPlacementCenterLeft:"center-left",esriServerPointLabelPlacementCenterRight:"center-right",esriServerLinePlacementAboveAfter:"above-after",esriServerLinePlacementAboveAlong:"above-along",esriServerLinePlacementAboveBefore:"above-before",esriServerLinePlacementAboveStart:"above-start",esriServerLinePlacementAboveEnd:"above-end",esriServerLinePlacementBelowAfter:"below-after",esriServerLinePlacementBelowAlong:"below-along",esriServerLinePlacementBelowBefore:"below-before",esriServerLinePlacementBelowStart:"below-start",esriServerLinePlacementBelowEnd:"below-end",esriServerLinePlacementCenterAfter:"center-after",esriServerLinePlacementCenterAlong:"center-along",esriServerLinePlacementCenterBefore:"center-before",esriServerLinePlacementCenterStart:"center-start",esriServerLinePlacementCenterEnd:"center-end",esriServerPolygonPlacementAlwaysHorizontal:"always-horizontal"},{ignoreUnknown:!0});function S(e,t,r){return{enabled:!(0,m.TU)(r?.layer)}}function C(e){return!e||"service"!==e.origin&&"map-image"!==e.layer?.type}function x(e){return!!function(e){return"map-image"===e?.type}(e)&&!!e.capabilities?.exportMap?.supportsArcadeExpressionForLabeling}let M=class extends p.o{static{i=f.vK}static{o=this}static evaluateWhere(e,t){let r=(e,t,r)=>{switch(t){case"=":return e==r;case"<>":return e!=r;case">":return e>r;case">=":return e>=r;case"<":return e<r;case"<=":return e<=r}return!1};try{if(null==e)return!0;let i=e.split(" ");if(3===i.length)return r(t[i[0]],i[1],i[2]);if(7===i.length){let e=r(t[i[0]],i[1],i[2]),o=i[3],s=r(t[i[4]],i[5],i[6]);switch(o){case"AND":return e&&s;case"OR":return e||s}}return!1}catch{}}constructor(e){super(e),this[i]=!0,this.type="label",this.name=null,this.allowOverrun=!1,this.deconflictionStrategy="static",this.labelExpression=null,this.labelExpressionInfo=null,this.labelPlacement=null,this.offsetDistance=0,this.labelPosition="curved",this.maxScale=0,this.minScale=0,this.repeatLabel=!0,this.symbol=c.Hk,this.useCodedValues=void 0,this.where=null}readLabelExpression(e,t){let r=t.labelExpressionInfo;if(!r||!r.value&&!r.expression)return e}writeLabelExpression(e,t,r){if(this.labelExpressionInfo)if(null!=this.labelExpressionInfo.value)e=(0,f.D3)(this.labelExpressionInfo.value);else if(null!=this.labelExpressionInfo.expression){let t=(0,f.tH)(this.labelExpressionInfo.expression);t&&(e="["+t+"]")}null!=e&&(t[r]=e)}writeLabelExpressionInfo(e,t,r,i){if(null==e&&null!=this.labelExpression&&C(i))e=new g.A({expression:this.getLabelExpressionArcade()});else if(!e)return;let o=e.toJSON(i);o.expression&&(t[r]=o)}writeMaxScale(e,t){(e||this.minScale)&&(t.maxScale=e)}writeMinScale(e,t){(e||this.maxScale)&&(t.minScale=e)}get repeatLabelDistance(){return this._get("repeatLabelDistance")}set repeatLabelDistance(e){this._set("repeatLabelDistance",e)}getLabelExpression(){return(0,f.XJ)(this)}getLabelExpressionArcade(){return(0,f.BI)(this)}getLabelExpressionSingleField(){return(0,f.rU)(this)}hash(){return JSON.stringify(this)}clone(){return new o({allowOverrun:this.allowOverrun,deconflictionStrategy:this.deconflictionStrategy,labelExpression:this.labelExpression,labelExpressionInfo:(0,u.o8)(this.labelExpressionInfo),labelPosition:this.labelPosition,labelPlacement:this.labelPlacement,offsetDistance:this.offsetDistance,maxScale:this.maxScale,minScale:this.minScale,name:this.name,repeatLabel:this.repeatLabel,repeatLabelDistance:this.repeatLabelDistance,symbol:(0,u.o8)(this.symbol),where:this.where,useCodedValues:this.useCodedValues})}};(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],M.prototype,"name",void 0),(0,s.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1},"portal-item":{default:!1,write:{overridePolicy:S}}}}})],M.prototype,"allowOverrun",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0,default:"static",origins:{"web-scene":{write:!1},"portal-item":{default:"static",write:{overridePolicy:S}}}}})],M.prototype,"deconflictionStrategy",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:{overridePolicy(e,t,r){return this.labelExpressionInfo&&"service"===r?.origin&&x(r.layer)?{enabled:!1}:{allowNull:!0}}}}})],M.prototype,"labelExpression",void 0),(0,s.Cg)([(0,v.w)("labelExpression")],M.prototype,"readLabelExpression",null),(0,s.Cg)([(0,b.K)("labelExpression")],M.prototype,"writeLabelExpression",null),(0,s.Cg)([(0,n.MZ)({type:g.A,json:{write:{overridePolicy:(e,t,r)=>function(e){return C(e)||x(e?.layer)}(r)?{allowNull:!0}:{enabled:!1}}}})],M.prototype,"labelExpressionInfo",void 0),(0,s.Cg)([(0,b.K)("labelExpressionInfo")],M.prototype,"writeLabelExpressionInfo",null),(0,s.Cg)([(0,n.MZ)({type:w.apiValues,json:{type:w.jsonValues,read:w.read,write:w.write}})],M.prototype,"labelPlacement",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,json:{read:!0,write:!0,default:0,origins:{"web-scene":{write:!1}}}})],M.prototype,"offsetDistance",void 0),(0,s.Cg)([(0,n.MZ)({type:["curved","parallel"],json:{write:!0,origins:{"web-map":{write:!1},"web-scene":{write:!1},"portal-item":{write:!1}}}})],M.prototype,"labelPosition",void 0),(0,s.Cg)([(0,n.MZ)({type:Number})],M.prototype,"maxScale",void 0),(0,s.Cg)([(0,b.K)("maxScale")],M.prototype,"writeMaxScale",null),(0,s.Cg)([(0,n.MZ)({type:Number})],M.prototype,"minScale",void 0),(0,s.Cg)([(0,b.K)("minScale")],M.prototype,"writeMinScale",null),(0,s.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:S}}}}})],M.prototype,"repeatLabel",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,cast:d.cr,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:S}}}}})],M.prototype,"repeatLabelDistance",null),(0,s.Cg)([(0,n.MZ)({types:h.em,json:{types:h.em,origins:{"portal-item":{types:h.em,read:{reader:(0,l.C)({types:h.em})},default:null},"web-scene":{types:h.Rv,read:{reader:(0,l.C)({types:h.Rv})},write:y.oO,default:null}},write:y.oO,default:null}})],M.prototype,"symbol",void 0),(0,s.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],M.prototype,"useCodedValues",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],M.prototype,"where",void 0),M=o=(0,s.Cg)([(0,n.$K)("esri.layers.support.LabelClass")],M);const I=M;r.d(t,["A",0,I])},73913(e,t,r){var i,o=r(32198),s=r(91429),n=r(25482),l=r(32730),a=r(36005),p=r(43937);let u=class extends n.o{static{i=this}constructor(e){super(e),this.name=null,this.expression=null,this.title=null,this.value=null}readExpression(e,t){return t.value?(0,l.mX)(t.value):e}writeExpression(e,t,r){null!=this.value&&(e=(0,l.mX)(this.value)),null!=e&&(t[r]=e)}clone(){return new i({name:this.name,expression:this.expression,title:this.title,value:this.value})}};(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"name",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:{writerEnsuresNonNull:!0}}})],u.prototype,"expression",void 0),(0,o.Cg)([(0,a.w)("expression",["expression","value"])],u.prototype,"readExpression",null),(0,o.Cg)([(0,p.K)("expression")],u.prototype,"writeExpression",null),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"title",void 0),(0,o.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],u.prototype,"value",void 0),u=i=(0,o.Cg)([(0,s.$K)("esri.layers.support.LabelExpressionInfo")],u);const d=u;r.d(t,["A",0,d])},37352(e,t,r){r.d(t,{A:()=>a});var i,o=r(32198),s=r(91429),n=r(7762),l=r(25482);let a=i=class extends l.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new n.A}clone(){return new i({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,o.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,o.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,o.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=i=(0,o.Cg)([(0,s.$K)("esri.layers.support.LayerFloorInfo")],a)},91880(e,t,r){r.d(t,{A:()=>p});var i,o=r(32198),s=r(91429),n=r(66552),l=r(25482);const a=new n.J({asc:"ascending",desc:"descending"});let p=class extends l.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),(0,o.Cg)([(0,s.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],p.prototype,"order",void 0),p=i=(0,o.Cg)([(0,s.$K)("esri.layers.support.OrderByInfo")],p)},41560(e,t,r){r.d(t,{Ch:()=>n,mW:()=>s});var i=r(34727),o=r(39516);function s(e,t){return{...t,filterMode:e.mode}}function n(e,t,r){let s=function(e){if("manual"===p(e))return null;let t=[-1/0,1/0];for(let{minScale:r,maxScale:i}of e.filters)t[0]=Math.max(t[0],u(r)),t[1]=Math.min(t[1],d(i));return t}(e);if(s&&((0,i.gg)(t,s[0])||(0,i.ZH)(r,s[1])))return"";let n=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;let o=u(e.at(0)?.minScale),s=d(e.at(-1)?.maxScale);if((0,i.ZH)(o,t)||(0,i.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){let r=e[t],o=e[t+1];if((0,i.ZH)(u(o.minScale),d(r.maxScale)))return!0}return!1}(n,t,r)?"1=1":n.map(e=>e.where||"1=1").reduce((e,t)=>(0,o.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,r){if("manual"===p(e)){let t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(let i of e.filters)a(i.minScale,i.maxScale,t,r)&&(yield i)}}function a(e,t,r,o){return e=u(e),r=u(r),t=d(t),!(!(0,i.Sp)(r,e)&&(o??r)>e||(0,i.Hx)(t,r)||void 0!==o&&(0,i.Sp)(o,e))}function p(e){return"mode"in e?e.mode:e.filterMode}function u(e){return e||1/0}function d(e){return e||0}},17036(e,t,r){r.d(t,{p:()=>a});var i=r(44208),o=r(53966),s=r(20437),n=r(95466),l=r(30524);function a(){return{fields:{type:[s.A],value:null,set:function(e){if(e&&(0,i.A)("big-integer-warning-enabled")){let t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){let e=t.map(e=>`'${e.name}'`).join(", ");o.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${2**53-1} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return n.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){let e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(let t of e)this.fieldsIndex?.has(t)||o.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e});return(0,l.DB)(this.fieldsIndex,e)}}}}},39383(e,t,r){r.d(t,{w:()=>a,z:()=>d});var i=r(49186),o=r(53966),s=r(46499);const n=()=>o.A.getLogger("esri.layers.support.labelingInfo"),l=/\[([^[\]]+)\]/gi;function a(e,t,r){return e?e.map(e=>{let i=new s.A;if(i.read(e,r),i.labelExpression){let e=t.fields||t.layerDefinition?.fields||this.fields;i.labelExpression=i.labelExpression.replaceAll(l,(t,r)=>`[${function(e,t){if(!t)return e;let r=e.toLowerCase();for(let e=0;e<t.length;e++){let i=t[e].name;if(i.toLowerCase()===r)return i}return e}(r,e)}]`)}return i}):null}const p=["above-right","above-center","above-left","center-center","center-left","center-right","below-center","below-left","below-right"],u={esriGeometryPoint:p,esriGeometryMultiPatch:["always-horizontal"],esriGeometryPolygon:["always-horizontal"],esriGeometryPolyline:["center-along","above-along","below-along"],esriGeometryMultipoint:p,esriGeometryEnvelope:null};function d(e,t){let r=[];for(let o of e){let e=o.labelPlacement,s=u[t];if(!o.symbol)return n().warn("No ILabelClass symbol specified."),[];if(!s)return n().error(new i.A("labeling:unsupported-geometry-type",`Unable to create labels for layer, geometry type '${t}' is not supported`)),[];if(s.includes(e))r.push(o);else{let i=s[0];e&&n().warn(`Found invalid label placement type ${e} for ${t}. Defaulting to ${i}`);let l=o.clone();l.labelPlacement=i,r.push(l)}}return r}},36003(e,t,r){function i(e,t){let r=e.startField===t.startField||!e.startField&&!t.startField,i=e.endField===t.endField||!e.endField&&!t.endField;return r&&i}r.d(t,{L:()=>i})},73681(e,t,r){r.d(t,{n:()=>a});var i=r(49186),o=r(53966),s=r(46140),n=r(95466),l=r(55674);class a{static async from(e,t,r){let n=e.dictionary_version?s.A.parse(e.dictionary_version):null,u=new Set(e.itemsNames),d={};if(t)for(let e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(let t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);let c=new Set(e.authoringInfo.symbol);for(let e of Object.keys(r))c.delete(e);c.size&&o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:c});let y=await(0,l.xR)(e.expression,null,d);if(!y)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");let h=!n||!n.greaterEqual(4,0);h&&o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:n});let g=new p(r,h);return new a(h,u,y,g)}constructor(e,t,r,i){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=i}get itemNames(){return this._itemNames}evaluate(e,t,r,i){try{return this._reader.bind(e,r,i),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new n.A(e);let t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new n.A(t)}}class p extends l.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){let t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);let t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},22671(e,t,r){r.d(t,{A:()=>v});var i,o=r(32198),s=r(91429),n=r(66552),l=r(25482),a=r(4718),p=r(16930),u=r(60408),d=r(65864),c=r(50498),y=r(52106),h=r(20437),g=r(36005),f=r(43937);const m=new n.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,y.A)}writeGeometryType(e,t,r,i){if(e)return void m.write(e,t,r,i);let{features:o}=this;if(o)for(let e of o)if(null!=e?.geometry)return void m.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;let r=!!e.spatialReference,i=(0,d.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=p.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());let{features:r}=this;if(r)for(let e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){let t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){let i=t.features[r];i.geometry&&=(e?.[r])?.toJSON()||i.geometry}return t}quantize(e){let{scale:[t,r],translate:[i,o]}=e,s=this.features,n=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((o-e)/r));for(let e=0,t=s.length;e<t;e++)n?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){let{geometryType:e,features:t,transform:r}=this;if(!r)return this;let{translate:[i,o],scale:[s,n]}=r,l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){let{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){let{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}let p=this._getHydrationFunction(e,e=>e*s+i,e=>o-e*n,l,a);for(let{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){let i=p.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){let s=e[t],n=r.fromJSON(s),l=s.geometry?.spatialReference;null!=n.geometry&&!l&&(n.geometry.spatialReference=i);let a=s.aggregateGeometries,p=n.aggregateGeometries;if(a&&null!=p)for(let e in p){let t=p[e],r=a[e]?.spatialReference;null!=t&&!r&&(t.spatialReference=i)}o.push(n)}return o}_quantizePoints(e,t,r){let i,o,s=[];for(let n=0,l=e.length;n<l;n++){let l=e[n];if(n>0){let e=t(l[0]),n=r(l[1]);(e!==i||n!==o)&&(s.push([e-i,n-o]),i=e,o=n)}else i=t(l[0]),o=r(l[1]),s.push([i,o])}return s.length>0?s:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{let i=(0,u.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,s=i.length;e<s;e++){let s=i[e],n=this._quantizePoints(s,t,r);n&&o.push(n)}return o.length>0?((0,u.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{let i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,o){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{let s,n,l=(0,u.Bi)(e)?e.rings:e.paths;for(let e=0,i=l.length;e<i;e++){let i=l[e];for(let e=0,o=i.length;e<o;e++){let o=i[e];e>0?(s+=o[0],n+=o[1]):(s=o[0],n=o[1]),o[0]=t(s),o[1]=r(n)}}if(i&&o)for(let e=0,t=l.length;e<t;e++){let t=l[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2]),r[3]=o(r[3])}}else if(i)for(let e=0,t=l.length;e<t;e++){let t=l[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=i(r[2])}}else if(o)for(let e=0,t=l.length;e<t;e++){let t=l[e];for(let e=0,r=t.length;e<r;e++){let r=t[e];r[2]=o(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{let s,n,l=e.points;for(let e=0,i=l.length;e<i;e++){let i=l[e];e>0?(s+=i[0],n+=i[1]):(s=i[0],n=i[1]),i[0]=t(s),i[1]=r(n)}if(i&&o)for(let e=0,t=l.length;e<t;e++){let t=l[e];t[2]=i(t[2]),t[3]=o(t[3])}else if(i)for(let e=0,t=l.length;e<t;e++){let t=l[e];t[2]=i(t[2])}else if(o)for(let e=0,t=l.length;e<t;e++){let t=l[e];t[2]=o(t[2])}}:null}};(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,o.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,o.Cg)([(0,s.MZ)({type:[y.A],json:{write:!0}})],v.prototype,"features",void 0),(0,o.Cg)([(0,g.w)("features")],v.prototype,"readFeatures",null),(0,o.Cg)([(0,s.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,o.Cg)([(0,s.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],v.prototype,"geometryType",void 0),(0,o.Cg)([(0,f.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,o.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,o.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,o.Cg)([(0,s.MZ)({types:c.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,o.Cg)([(0,g.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,o.Cg)([(0,s.MZ)({type:p.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,o.Cg)([(0,f.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,o.Cg)([(0,s.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,o.Cg)([(0,s.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},41366(e,t,r){var i=r(32198),o=r(91429),s=r(66552),n=r(53966),l=r(93223);const a=(0,s.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),p="percent-of-total",u="field";r.d(t,["K",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType"),t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&u||r&&p||null,t&&r&&n.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):(e===u||e===p)&&(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,i.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r},"Q",0,a])},2991(e,t,r){r.d(t,{G9:()=>p,RZ:()=>a});var i=r(39516);const o="=",s=">=",n="<=";function l(e,t,r,o){let s=o.get(e)?.type,n=o.getTimeZone(e);return`${(0,i.iA)(e)} ${t} ${(0,i.YG)(r,{type:"date"},{type:s,timeZone:n})}`}function a(e,t,r,a){if(!t||!r)return;let{startField:p,endField:u}=t,{start:d,end:c}=e;if(!d&&!c||!p&&!u)return;let y=p??u,h=u??p;if(y&&h){if(d&&c){if(d.getTime()===c.getTime())return(0,i.mA)(a,l(y,o,d,r));if(!p||!u){let e=l(y,s,d,r),t=l(y,n,c,r);return(0,i.mA)(a,(0,i.mA)(e,t))}let e=l(p,s,d,r),t=l(u,n,c,r);return(0,i.mA)(a,(0,i.mA)(e,t))}if(d)return(0,i.mA)(a,l(y,s,d,r));if(c)return(0,i.mA)(a,l(h,n,c,r))}}function p(e){let{start:t,end:r}=e;if(t||r){if(!t&&r)return`null,${r.getTime()}`;if(!r&&t)return`${t.getTime()},null`;if(r&&t)return t.getTime()===r.getTime()?`${t.getTime()}`:`${t.getTime()},${r.getTime()}`}}},93470(e,t,r){const i=[252,146,31,255],o={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i};r.d(t,["Cb",0,o,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,i,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,s])},26121(e,t,r){r.d(t,{I6:()=>u,ci:()=>p,dL:()=>a,wN:()=>d});var i=r(49186),o=r(84952),s=r(77548),n=r(20655),l=r(59923);async function a(e){let t=[];for(let r of e.allLayers)if("beforeSave"in r&&"function"==typeof r.beforeSave){let e=r.beforeSave();e&&t.push(e)}await Promise.allSettled(t)}function p(e,t,r){let o=(e.messages??[]).filter(({type:e})=>"error"===e).map(({name:e,message:t,details:r})=>new i.A(e,t,r));if(e.blockedRelativeUrls&&(o=o.concat(e.blockedRelativeUrls.map(e=>(0,l.GL)("url",`Relative url '${e}' is not supported`)))),r){let{ignoreUnsupported:e,supplementalUnsupportedErrors:t=[],requiredPropertyChecksDisabled:i}=r;e&&(o=o.filter(({name:e})=>!(l.MG.has(e)||t.includes(e)))),i&&(o=o.filter(e=>"web-document-write:property-required"!==e.name))}if(o.length>0)throw new i.A(t.errorName,"Failed to save due to unsupported or invalid content. See 'details.errors' for more detailed information",{errors:o})}function u(e){return(0,s.qd)(e).some(e=>!!e.charts?.length)}function d(e,t){let r=t?.portal,i=e?.id&&(e.portal||n.A.getDefault());return!!r&&!!i&&!(0,o.ut)(i.restUrl,r.restUrl)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[926,5879],{92474(e,t,r){r.d(t,{WV:()=>h,Zm:()=>c});var s=r(32198),o=r(10107),i=r(64108),l=r(49186),a=r(97768),n=r(61893),u=r(17676),p=r(67076);const d="loaded",h=e=>{let t=e,r=class extends t{constructor(...e){super(...e),this._loadController=null,this.loadError=null,this.loadStatus="not-loaded",this._set("loadWarnings",[]),this.addResolvingPromise(new Promise(e=>{let t=this.load.bind(this);this.load=r=>{let s=new Promise((e,t)=>{let s=(0,u.NY)(r,t);this.destroyed&&t(new l.A("load:instance-destroyed",`Instance of '${this.declaredClass||this.constructor.name}' is already destroyed`,{instance:this})),this.when(e,t).finally(()=>{s&&s.remove()})});if("not-loaded"===this.loadStatus){this._set("loadStatus","loading");let e=this._loadController=new AbortController,r=t({signal:e.signal});(0,u.$X)(r)&&r.catch(()=>{})}return e(),s}})),this.when(()=>{this._set("loadStatus",d),this._loadController=null},e=>{this.destroyed||(this._set("loadStatus","failed"),this._set("loadError",e),this._loadController=null)})}destroy(){this._loadController&&(this._loadController=(0,a.DC)(this._loadController),this._promiseProps.abort()),this._set("loadError",null),this._set("loadWarnings",[])}get loaded(){return this.loadStatus===d}get loadWarnings(){return this._get("loadWarnings")}async load(e){return this}cancelLoad(){return this.isFulfilled()||(this._set("loadError",new l.A("load:cancelled","Cancelled")),this._loadController?.abort(),this._promiseProps.abort()),this}};return(0,s.Cg)([(0,o.MZ)({readOnly:!0})],r.prototype,"loaded",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],r.prototype,"loadError",void 0),(0,s.Cg)([(0,o.MZ)({clonable:!1})],r.prototype,"loadStatus",void 0),(0,s.Cg)([(0,o.MZ)({type:[p.A],readOnly:!0})],r.prototype,"loadWarnings",null),r=(0,s.Cg)([(0,i.$K)("esri.core.Loadable")],r),r},y=h(n.Z);function c(e){return!(!e||!e.load)}r.d(t,["x_",0,y])},61893(e,t,r){var s=r(32198),o=r(56372),i=r(64108),l=r(36563),a=r(17676);class n{constructor(){this._resolver=Promise.withResolvers(),this._status=0,this._resolvingPromises=[],this._resolver.promise.then(()=>{this._status=1,this._cleanUp()},()=>{this._status=2,this._cleanUp()}),this.promise=this._resolver.promise}destroy(){this._cleanUp()}addResolvingPromise(e){this._resolvingPromises.push(e),this._tryResolve()}isResolved(){return 1===this._status}isRejected(){return 2===this._status}isFulfilled(){return 0!==this._status}abort(){this._resolver.reject((0,a.NK)())}_cleanUp(){this._allPromise=null,this._resolvingPromises=null}_tryResolve(){if(this.isFulfilled())return;let e=Promise.withResolvers(),t=[...this._resolvingPromises,e.promise],r=this._allPromise=Promise.all(t);r.then(()=>{this.isFulfilled()||this._allPromise!==r||this._resolver.resolve()},e=>{this.isFulfilled()||this._allPromise!==r||(0,a.zf)(e)||this._resolver.reject(e)}),e.resolve()}}const u=e=>{let t=e,r=class extends t{constructor(...e){super(...e),this._promiseProps=new n,this.addResolvingPromise(Promise.resolve())}destroy(){this._promiseProps.destroy()}isResolved(){return this._promiseProps.isResolved()}isRejected(){return this._promiseProps.isRejected()}isFulfilled(){return this._promiseProps.isFulfilled()}when(e,t){return this._promiseProps.promise.then(()=>this).then(e,t)}catch(e){return this.when(null,e)}addResolvingPromise(e){e&&!this._promiseProps.isFulfilled()&&this._promiseProps.addResolvingPromise("_promiseProps"in e?e.when():e)}addResolvingTask(e){e&&!this._promiseProps.isFulfilled()&&(this.addHandles((0,l.rE)(e)),this._promiseProps.addResolvingPromise(e.promise))}};return r=(0,s.Cg)([(0,i.$K)("esri.core.Promise")],r),r},p=u(o.A);r.d(t,["Z",0,p,"g",0,u])},41910(e,t,r){r.d(t,{WH:()=>o});const s=Symbol("arcadeFeatureSource");function o(e){return null!=(t=e)&&s in t?e[s]:null;var t}r.d(t,["e7",0,s])},5757(e,t,r){r.d(t,{B:()=>o});const s=Symbol("PopupTemplateInstance");function o(e){return"object"==typeof e&&!!e&&s in e}r.d(t,["P",0,s])},20655(e,t,r){r.d(t,{A:()=>A});var s=r(32198),o=r(92602),i=r(91429),l=r(56507),a=r(49186),n=r(25482),u=r(92474),p=r(97768),d=r(17676),h=r(5443),y=r(73444),c=r(70333),m=r(78888),g=r(926);let f;var C=r(96360),v=r(16405),M=r(56372);let Z=class extends M.A{constructor(e){super(e),this.nextQueryParams=null,this.queryParams=null,this.results=null,this.total=null}};(0,s.Cg)([(0,i.MZ)()],Z.prototype,"nextQueryParams",void 0),(0,s.Cg)([(0,i.MZ)()],Z.prototype,"queryParams",void 0),(0,s.Cg)([(0,i.MZ)()],Z.prototype,"results",void 0),(0,s.Cg)([(0,i.MZ)()],Z.prototype,"total",void 0),Z=(0,s.Cg)([(0,i.$K)("esri.portal.PortalQueryResult")],Z);var S,P=r(41318),w=r(36005);let _;const O={PortalGroup:()=>Promise.resolve({default:C.A}),PortalItem:()=>r.e(812).then(()=>r(80812)),PortalUser:()=>Promise.resolve({default:P.A})};let A=class extends((0,n.T)(u.x_)){static{S=this}static{this.AUTH_MODE_ANONYMOUS="anonymous"}static{this.AUTH_MODE_AUTO="auto"}static{this.AUTH_MODE_IMMEDIATE="immediate"}static{this.AUTH_MODE_NO_PROMPT="no-prompt"}constructor(e){super(e),this._esriIdCredentialCreateHandle=null,this.access=null,this.allSSL=!1,this.authMode="auto",this.authorizedCrossOriginDomains=null,this.basemapGalleryGroupQuery=null,this.basemapGalleryGroupQuery3D=null,this.g3DTilesGalleryGroupQuery=null,this.g3dTilesEnabled=null,this.bingKey=null,this.canListApps=!1,this.canListData=!1,this.canListPreProvisionedItems=!1,this.canProvisionDirectPurchase=!1,this.canSearchPublic=!0,this.canShareBingPublic=!1,this.canSharePublic=!1,this.canSignInArcGIS=!1,this.canSignInIDP=!1,this.colorSetsGroupQuery=null,this.commentsEnabled=!1,this.created=null,this.culture=null,this.customBaseUrl=null,this.default3DBasemapQuery=null,this.defaultBasemap=null,this.defaultDevBasemap=null,this.defaultExtent=null,this.defaultVectorBasemap=null,this.description=null,this.devBasemapGalleryGroupQuery=null,this.eueiEnabled=null,this.featuredGroups=null,this.featuredItemsGroupQuery=null,this.galleryTemplatesGroupQuery=null,this.layoutGroupQuery=null,this.livingAtlasGroupQuery=null,this.hasCategorySchema=!1,this.hasClassificationSchema=!1,this.helperServices=null,this.homePageFeaturedContent=null,this.homePageFeaturedContentCount=null,this.httpPort=null,this.httpsPort=null,this.id=null,this.ipCntryCode=null,this.isPortal=!1,this.isReadOnly=!1,this.layerTemplatesGroupQuery=null,this.maxTokenExpirationMinutes=null,this.modified=null,this.name=null,this.portalHostname=null,this.portalMode=null,this.portalProperties=null,this.region=null,this.recycleBinEnabled=!1,this.rotatorPanels=null,this.showHomePageDescription=!1,this.sourceJSON=null,this.supportsHostedServices=!1,this.symbolSetsGroupQuery=null,this.templatesGroupQuery=null,this.units=null,this.url=o.A.portalUrl,this.urlKey=null,this.user=null,this.use3dBasemaps=!0,this.useDefault3dBasemap=!1,this.useStandardizedQuery=!1,this.useVectorBasemaps=!1,this.vectorBasemapGalleryGroupQuery=null}destroy(){b.unregister(this),this.defaultBasemap=(0,p.pR)(this.defaultBasemap),this.defaultDevBasemap=(0,p.pR)(this.defaultDevBasemap),this.defaultVectorBasemap=(0,p.pR)(this.defaultVectorBasemap),this._esriIdCredentialCreateHandle=(0,p.xt)(this._esriIdCredentialCreateHandle)}readAuthorizedCrossOriginDomains(e){if(e)for(let t of e)o.A.request.trustedServers.includes(t)||o.A.request.trustedServers.push(t);return e}readDefaultBasemap(e){return this._readBasemap(e)}readDefaultDevBasemap(e){return this._readBasemap(e)}readDefaultVectorBasemap(e){return this._readBasemap(e)}get extraQuery(){let e=!this.user?.orgId||this.canSearchPublic;return this.id&&!e?`orgid:${this.id}`:null}get hasAPIKey(){return(0,g.Jn)(this.restUrl)}get isOrganization(){return!!this.access}get itemPageUrl(){return this.url?`${this.url}/home/item.html`:null}get loaded(){return super.loaded}get restUrl(){let e=this.url;if(e){let t=e.indexOf("/sharing");e=t>0?e.slice(0,t):this.url.replace(/\/+$/,""),e+="/sharing/rest"}return e}get thumbnailUrl(){let e=this.restUrl,t=this.thumbnail;return e&&t?this._normalizeSSL(e+"/portals/self/resources/"+t):null}readUrlKey(e){return e&&e.toLowerCase()}readUser(e){let t=null;return e&&(t=P.A.fromJSON(e),t.portal=this),t}load(e){let t=Promise.all([r.e(812),r.e(3281),r.e(3116)]).then(()=>r(83116)).then(({default:t})=>{(0,d.Te)(e),_=t}).then(()=>this.sourceJSON?this.sourceJSON:this.fetchSelf(this.authMode,!1,e)).then(e=>{if(!this.hasAPIKey&&c.id){let e=c.id;this.credential=e.findCredential(this.restUrl),this.credential||this.authMode!==S.AUTH_MODE_AUTO&&this.authMode!==S.AUTH_MODE_NO_PROMPT||(this._esriIdCredentialCreateHandle?.remove(),this._esriIdCredentialCreateHandle=e.on("credential-create",function(e){let t=c.id;return()=>{let r=e.deref();r&&t.findCredential(r.restUrl)&&r.signIn().catch(()=>{})}}(new WeakRef(this))),b.register(this,this._esriIdCredentialCreateHandle,this))}this.sourceJSON=e,this.read(e)});return this.addResolvingPromise(t),Promise.resolve(this)}async createElevationLayers(){await this.load();let e=this._getHelperService("defaultElevationLayers"),t=(await Promise.all([r.e(9917),r.e(8278),r.e(9953),r.e(812),r.e(6874),r.e(7548)]).then(()=>r(38732))).default;return e?e.map(e=>new t({id:e.id,url:e.url})):[]}async fetchBasemaps(e,t){let r=await this._fetchBasemaps(e,t);if(!0===t?.include3d&&!1!==this.use3dBasemaps){if(this.g3dTilesEnabled&&this.g3DTilesGalleryGroupQuery){let e=await this._fetchBasemaps3D(this.g3DTilesGalleryGroupQuery,t);r.unshift(...e)}let s=await this._fetchBasemaps3D(e,t);r.unshift(...s)}return r}async fetchDefault3DBasemap(e){if(!this.useDefault3dBasemap||!this.default3DBasemapQuery||"none"===this.default3DBasemapQuery)return null;let t=new v.A;t.query=this.default3DBasemapQuery,t.disableExtraQuery=!0;let r=(await this.queryItems(t,e)).results.find(e=>"Web Scene"===e.type);return r?new _({portalItem:r}):null}fetchCategorySchema(e){return this.hasCategorySchema?this.request(this.restUrl+"/portals/self/categorySchema",e).then(e=>e.categorySchema):(0,d.G4)(e)?Promise.reject((0,d.NK)()):Promise.resolve([])}async fetchClassificationSchema(e){return this.hasClassificationSchema?this.request(this.restUrl+"/portals/self/classification/classificationSchema",e).then(e=>e.classificationSchema):null}fetchFeaturedGroups(e){let t=this.featuredGroups,r=new v.A({num:100,sortField:"title"});return t?.length?(r.query=Array.from(t,e=>`(title:"${e.title}" AND owner:${e.owner})`).join(" OR "),this.queryGroups(r,e).then(e=>e.results)):(0,d.G4)(e)?Promise.reject((0,d.NK)()):Promise.resolve([])}fetchRegions(e){let t=this.user?.culture||this.culture||(0,y.JK)();return this.request(this.restUrl+"/portals/regions",{...e,query:{culture:t}})}fetchSettings(e){let t=this.user?.culture||this.culture||(0,y.JK)();return this.request(this.restUrl+"/portals/self/settings",{...e,query:{culture:t}})}static getDefault(){return(!f||f.destroyed)&&(f=new S),f}queryGroups(e,t){return this.queryPortal("/community/groups",e,"PortalGroup",t)}queryItems(e,t){return this.queryPortal("/search",e,"PortalItem",t)}queryUsers(e,t){return e.sortField||="username",this.queryPortal("/community/users",e,"PortalUser",t)}fetchSelf(e=this.authMode,t=!1,r){let s=this.restUrl+"/portals/self",o={authMode:e,query:{culture:(0,y.JK)().toLowerCase()},withCredentials:!0,...r};return"auto"===o.authMode&&(o.authMode="no-prompt"),t&&(o.query.default=!0),this.request(s,o)}queryPortal(e,t,r,s){let o=(0,l.dp)(v.A,t),i=t=>this.request(this.restUrl+e,{...o.toRequestOptions(this),...s}).then(e=>{let r=o.clone();return r.start=e.nextStart,new Z({nextQueryParams:r,queryParams:o,total:e.total,results:S._resultsToTypedArray(t,{portal:this},e,s)})}).then(e=>Promise.all(e.results.map(t=>"function"==typeof t.when?t.when():e)).then(()=>e,t=>((0,d.QP)(t),e)));return r&&O[r]?O[r]().then(({default:e})=>((0,d.Te)(s),i(e))):i()}signIn(){if(this.hasAPIKey)return this.load().then(()=>{if(!this.user)throw new a.A("portal:not-authenticated","Unable to authenticate user. Portal.user is missing")});if(this.authMode===S.AUTH_MODE_ANONYMOUS||this.authMode===S.AUTH_MODE_NO_PROMPT&&!c.id)return Promise.reject(new a.A("portal:invalid-auth-mode",`Current "authMode"' is "${this.authMode}"`));if("failed"===this.loadStatus)return Promise.reject(this.loadError);let e=e=>Promise.resolve().then(()=>"not-loaded"===this.loadStatus?(e||(this.authMode="immediate"),this.load().then(()=>null)):"loading"===this.loadStatus?this.load().then(()=>this.credential?null:(this.credential=e,this.fetchSelf("immediate"))):this.user&&this.credential===e?null:(this.credential=e,this.fetchSelf("immediate"))).then(e=>{e&&(this.sourceJSON=e,this.read(e))});return c.id?c.id.getCredential(this.restUrl,{prompt:this.authMode!==S.AUTH_MODE_NO_PROMPT}).then(t=>e(t)):e(this.credential)}normalizeUrl(e){let t=this.credential?.token;return this._normalizeSSL(t?e+(e.includes("?")?"&":"?")+"token="+t:e)}requestToTypedArray(e,t,r){return this.request(e,t).then(e=>{let t=S._resultsToTypedArray(r,{portal:this},e);return Promise.all(t.map(t=>"function"==typeof t.when?t.when():e)).then(()=>t,()=>t)})}request(e,t={}){let r={f:"json",...t.query},{authMode:s=(this.authMode===S.AUTH_MODE_ANONYMOUS||this.authMode===S.AUTH_MODE_NO_PROMPT?this.authMode:"auto"),body:o=null,cacheBust:i=!1,method:l="auto",responseType:a="json",signal:n}=t,u={authMode:s,body:o,cacheBust:i,method:l,query:r,responseType:a,timeout:0,signal:n};return t.withCredentials&&(u.withCredentials=!0),(0,m.A)(this._normalizeSSL(e),u).then(e=>e.data)}toJSON(){throw new a.A("internal:not-yet-implemented","Portal.toJSON is not yet implemented")}static fromJSON(e){if(!e)return null;if(e.declaredClass)throw Error("JSON object is already hydrated");return new S({sourceJSON:e})}_getHelperService(e){let t=this.helperServices?.[e];if(!t)throw new a.A("portal:service-not-found",`The \`helperServices\` do not include an entry named "${e}"`);return t}async _fetchBasemaps(e,t){let r=new v.A;r.query=e||((0,g.Dd)()?this.devBasemapGalleryGroupQuery:this.useVectorBasemaps?this.vectorBasemapGalleryGroupQuery:this.basemapGalleryGroupQuery),r.disableExtraQuery=!0;let s=await this.queryGroups(r,t);if(!s.total)return[];let o=s.results[0];r.num=100,r.query='type:"Web Map" -type:"Web Application"',r.sortField=o.sortField||"name",r.sortOrder=o.sortOrder||"desc";let i=await o.queryItems(r,t);return i.total?i.results.filter(e=>"Web Map"===e.type).map(e=>new _({portalItem:e})):[]}async _fetchBasemaps3D(e,t){let r=e||this.basemapGalleryGroupQuery3D;if(!r||(0,g.Dd)())return[];let s=new v.A({query:r,disableExtraQuery:!0}),o=await this.queryGroups(s,t);if(!o.total)return[];let i=o.results[0];s.num=100,s.query='type:"Web Scene"',s.sortField=i.sortField||"name",s.sortOrder=i.sortOrder||"desc";let l=await i.queryItems(s,t);return l.total?l.results.filter(e=>"Web Scene"===e.type).map(e=>new _({portalItem:e})):[]}_normalizeSSL(e){return e.replace(/^http:/i,"https:").replace(":7080",":7443")}_readBasemap(e){if(e){let t=_.fromJSON(e);return t.portalItem={portal:this},t}return null}static _resultsToTypedArray(e,t,r,s){let o;if(r){let i=null==s?null:s.signal;o=r.listings||r.notifications||r.userInvitations||r.tags||r.items||r.groups||r.comments||r.provisions||r.results||r.relatedItems||r,(e||t)&&(o=o.map(r=>{let s=Object.assign(e?e.fromJSON(r):r,t);return"function"==typeof s.load&&s.load(i),s}))}else o=[];return o}};(0,s.Cg)([(0,i.MZ)()],A.prototype,"access",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"allSSL",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"authMode",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"authorizedCrossOriginDomains",void 0),(0,s.Cg)([(0,w.w)("authorizedCrossOriginDomains")],A.prototype,"readAuthorizedCrossOriginDomains",null),(0,s.Cg)([(0,i.MZ)()],A.prototype,"basemapGalleryGroupQuery",void 0),(0,s.Cg)([(0,i.MZ)({json:{name:"3DBasemapGalleryGroupQuery"}})],A.prototype,"basemapGalleryGroupQuery3D",void 0),(0,s.Cg)([(0,i.MZ)({json:{name:"g3DTilesGalleryGroupQuery"}})],A.prototype,"g3DTilesGalleryGroupQuery",void 0),(0,s.Cg)([(0,i.MZ)({json:{name:"g3dTilesEnabled"}})],A.prototype,"g3dTilesEnabled",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"bingKey",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"canListApps",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"canListData",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"canListPreProvisionedItems",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"canProvisionDirectPurchase",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"canSearchPublic",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"canShareBingPublic",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"canSharePublic",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"canSignInArcGIS",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"canSignInIDP",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"colorSetsGroupQuery",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"commentsEnabled",void 0),(0,s.Cg)([(0,i.MZ)({type:Date})],A.prototype,"created",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"credential",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"culture",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"currentVersion",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"customBaseUrl",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"default3DBasemapQuery",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"defaultBasemap",void 0),(0,s.Cg)([(0,w.w)("defaultBasemap")],A.prototype,"readDefaultBasemap",null),(0,s.Cg)([(0,i.MZ)()],A.prototype,"defaultDevBasemap",void 0),(0,s.Cg)([(0,w.w)("defaultDevBasemap")],A.prototype,"readDefaultDevBasemap",null),(0,s.Cg)([(0,i.MZ)({type:h.A})],A.prototype,"defaultExtent",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"defaultVectorBasemap",void 0),(0,s.Cg)([(0,w.w)("defaultVectorBasemap")],A.prototype,"readDefaultVectorBasemap",null),(0,s.Cg)([(0,i.MZ)()],A.prototype,"description",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"devBasemapGalleryGroupQuery",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"eueiEnabled",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],A.prototype,"extraQuery",null),(0,s.Cg)([(0,i.MZ)()],A.prototype,"featuredGroups",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"featuredItemsGroupQuery",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"galleryTemplatesGroupQuery",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"layoutGroupQuery",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"livingAtlasGroupQuery",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],A.prototype,"hasAPIKey",null),(0,s.Cg)([(0,i.MZ)()],A.prototype,"hasCategorySchema",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"hasClassificationSchema",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"helpBase",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"helperServices",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"helpMap",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"homePageFeaturedContent",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"homePageFeaturedContentCount",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"httpPort",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"httpsPort",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"id",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"ipCntryCode",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],A.prototype,"isOrganization",null),(0,s.Cg)([(0,i.MZ)()],A.prototype,"isPortal",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"isReadOnly",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],A.prototype,"itemPageUrl",null),(0,s.Cg)([(0,i.MZ)()],A.prototype,"layerTemplatesGroupQuery",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"maxTokenExpirationMinutes",void 0),(0,s.Cg)([(0,i.MZ)({type:Date})],A.prototype,"modified",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"name",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"portalHostname",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"portalMode",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"portalProperties",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"region",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"recycleBinEnabled",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],A.prototype,"restUrl",null),(0,s.Cg)([(0,i.MZ)()],A.prototype,"rotatorPanels",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"showHomePageDescription",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"sourceJSON",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"staticImagesUrl",void 0),(0,s.Cg)([(0,i.MZ)({json:{name:"2DStylesGroupQuery"}})],A.prototype,"stylesGroupQuery2d",void 0),(0,s.Cg)([(0,i.MZ)({json:{name:"stylesGroupQuery"}})],A.prototype,"stylesGroupQuery3d",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"supportsHostedServices",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"symbolSetsGroupQuery",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"templatesGroupQuery",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"thumbnail",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],A.prototype,"thumbnailUrl",null),(0,s.Cg)([(0,i.MZ)()],A.prototype,"units",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"url",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"urlKey",void 0),(0,s.Cg)([(0,w.w)("urlKey")],A.prototype,"readUrlKey",null),(0,s.Cg)([(0,i.MZ)()],A.prototype,"user",void 0),(0,s.Cg)([(0,w.w)("user")],A.prototype,"readUser",null),(0,s.Cg)([(0,i.MZ)()],A.prototype,"use3dBasemaps",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"useDefault3dBasemap",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"useStandardizedQuery",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"useVectorBasemaps",void 0),(0,s.Cg)([(0,i.MZ)()],A.prototype,"vectorBasemapGalleryGroupQuery",void 0),A=S=(0,s.Cg)([(0,i.$K)("esri.portal.Portal")],A);const b=new FinalizationRegistry(e=>{e.remove()})},96360(e,t,r){r.d(t,{A:()=>p});var s,o=r(32198),i=r(91429),l=r(56507),a=r(49186),n=r(25482),u=r(16405);let p=s=class extends n.o{constructor(e){super(e),this.access=null,this.created=null,this.description=null,this.id=null,this.isInvitationOnly=!1,this.modified=null,this.owner=null,this.portal=null,this.snippet=null,this.sortField=null,this.sortOrder=null,this.sourceJSON=null,this.tags=null,this.title=null}get thumbnailUrl(){let e=this.url,t=this.thumbnail;return e&&t&&this.portal?this.portal?.normalizeUrl(`${e}/info/${t}?f=json`):null}get url(){let e=this.portal?.restUrl;return e?e+"/community/groups/"+this.id:null}fetchCategorySchema(e){return this.portal.request(this.url+"/categorySchema",e).then(t=>{let r=t.categorySchema||[];return r.some(e=>"contentCategorySetsGroupQuery.LivingAtlas"===e.source)?this._fetchCategorySchemaSet("LivingAtlas",e):r})}fetchMembers(e){return this.portal.request(this.url+"/users",e)}getThumbnailUrl(e){let t=this.thumbnailUrl;return t&&e&&(t+=`&w=${e}`),t}toJSON(){throw new a.A("internal:not-yet-implemented","PortalGroup.toJSON is not yet implemented")}static fromJSON(e){if(!e)return null;if(e.declaredClass)throw Error("JSON object is already hydrated");let t=new s({sourceJSON:e});return t.read(e),t}queryItems(e,t){let r=(0,l.dp)(u.A,e),s=this.portal;return parseFloat(s.currentVersion)>5?(r||=new u.A,s.queryPortal(`/content/groups/${this.id}/search`,r,"PortalItem",t)):(r=r?r.clone():new u.A,r.query="group:"+this.id+(r.query?" "+r.query:""),s.queryItems(r,t))}_fetchCategorySchemaSet(e,t){let r=this.portal;return r.fetchSelf(r.authMode,!0,t).then(e=>{let s=e.contentCategorySetsGroupQuery;if(s){let e=new u.A({disableExtraQuery:!0,num:1,query:s});return r.queryGroups(e,t)}throw new a.A("portal-group:fetchCategorySchema","contentCategorySetsGroupQuery value not found")}).then(r=>{if(r.total){let s=r.results[0],o=new u.A({num:1,query:`typekeywords:"${e}"`});return s.queryItems(o,t)}throw new a.A("portal-group:fetchCategorySchema","contentCategorySetsGroupQuery group not found")}).then(e=>e.total?e.results[0].fetchData("json",t).then(e=>{let t=e?.categorySchema;return t?.length?t:[]}):[])}};(0,o.Cg)([(0,i.MZ)()],p.prototype,"access",void 0),(0,o.Cg)([(0,i.MZ)({type:Date})],p.prototype,"created",void 0),(0,o.Cg)([(0,i.MZ)()],p.prototype,"description",void 0),(0,o.Cg)([(0,i.MZ)()],p.prototype,"id",void 0),(0,o.Cg)([(0,i.MZ)()],p.prototype,"isInvitationOnly",void 0),(0,o.Cg)([(0,i.MZ)({type:Date})],p.prototype,"modified",void 0),(0,o.Cg)([(0,i.MZ)()],p.prototype,"owner",void 0),(0,o.Cg)([(0,i.MZ)()],p.prototype,"portal",void 0),(0,o.Cg)([(0,i.MZ)()],p.prototype,"snippet",void 0),(0,o.Cg)([(0,i.MZ)()],p.prototype,"sortField",void 0),(0,o.Cg)([(0,i.MZ)()],p.prototype,"sortOrder",void 0),(0,o.Cg)([(0,i.MZ)()],p.prototype,"sourceJSON",void 0),(0,o.Cg)([(0,i.MZ)()],p.prototype,"tags",void 0),(0,o.Cg)([(0,i.MZ)()],p.prototype,"thumbnail",void 0),(0,o.Cg)([(0,i.MZ)({readOnly:!0})],p.prototype,"thumbnailUrl",null),(0,o.Cg)([(0,i.MZ)()],p.prototype,"title",void 0),(0,o.Cg)([(0,i.MZ)({readOnly:!0})],p.prototype,"url",null),p=s=(0,o.Cg)([(0,i.$K)("esri.portal.PortalGroup")],p)},16405(e,t,r){r.d(t,{A:()=>y});var s,o=r(32198),i=r(56372),l=r(91429),a=r(66552),n=r(4718),u=r(5443),p=r(16930),d=r(28735);const h=new a.J({avgRating:"avg-rating",numRatings:"num-ratings",numComments:"num-comments",numViews:"num-views"});let y=s=class extends i.A{constructor(e){super(e),this.categories=null,this.disableExtraQuery=!1,this.extent=null,this.filter=null,this.num=10,this.query=null,this.sortField=null,this.start=1}get sortOrder(){return this._get("sortOrder")||"asc"}set sortOrder(e){("asc"===e||"desc"===e)&&this._set("sortOrder",e)}clone(){return new s({categories:this.categories?(0,n.o8)(this.categories):null,disableExtraQuery:this.disableExtraQuery,extent:this.extent?this.extent.clone():null,filter:this.filter,num:this.num,query:this.query,sortField:this.sortField,sortOrder:this.sortOrder,start:this.start})}toRequestOptions(e,t){let r=[];this.categories&&(r=this.categories.map(e=>Array.isArray(e)?JSON.stringify(e):e));let s="";if(this.extent){let e=(0,d.y)(this.extent,p.A.WGS84);null!=e&&(s=`${e.xmin},${e.ymin},${e.xmax},${e.ymax}`)}let o=this.query,i=e.extraQuery;!this.disableExtraQuery&&i&&(o=o?"("+o+") AND "+i:i);let l={categories:r,bbox:s,q:o,filter:this.filter,num:this.num,sortField:null,sortOrder:null,start:this.start};return this.sortField&&(l.sortField=this.sortField.split(",").map(e=>h.toJSON(e.trim())).join(","),l.sortOrder=this.sortOrder),{query:{...t,...l}}}};(0,o.Cg)([(0,l.MZ)()],y.prototype,"categories",void 0),(0,o.Cg)([(0,l.MZ)()],y.prototype,"disableExtraQuery",void 0),(0,o.Cg)([(0,l.MZ)({type:u.A})],y.prototype,"extent",void 0),(0,o.Cg)([(0,l.MZ)()],y.prototype,"filter",void 0),(0,o.Cg)([(0,l.MZ)()],y.prototype,"num",void 0),(0,o.Cg)([(0,l.MZ)()],y.prototype,"query",void 0),(0,o.Cg)([(0,l.MZ)()],y.prototype,"sortField",void 0),(0,o.Cg)([(0,l.MZ)()],y.prototype,"sortOrder",null),(0,o.Cg)([(0,l.MZ)()],y.prototype,"start",void 0),y=s=(0,o.Cg)([(0,l.$K)("esri.portal.PortalQueryParams")],y)},41318(e,t,r){r.d(t,{A:()=>p});var s=r(32198),o=r(91429),i=r(49186),l=r(25482);let a=class extends l.o{constructor(e){super(e),this.created=null,this.id=null,this.portal=null,this.title=null,this.username=null}get url(){let e=this.portal?.restUrl;return e?`${e}/content/users/${this.username}/${this.id}`:null}toJSON(){throw new i.A("internal:not-yet-implemented","PortalFolder.toJSON is not yet implemented")}};(0,s.Cg)([(0,o.MZ)({type:Date})],a.prototype,"created",void 0),(0,s.Cg)([(0,o.MZ)()],a.prototype,"id",void 0),(0,s.Cg)([(0,o.MZ)()],a.prototype,"portal",void 0),(0,s.Cg)([(0,o.MZ)()],a.prototype,"title",void 0),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],a.prototype,"url",null),(0,s.Cg)([(0,o.MZ)()],a.prototype,"username",void 0),a=(0,s.Cg)([(0,o.$K)("esri.portal.PortalFolder")],a);var n,u=r(96360);let p=n=class extends l.o{constructor(e){super(e),this.access=null,this.created=null,this.culture=null,this.description=null,this.email=null,this.fullName=null,this.id=null,this.modified=null,this.orgId=null,this.portal=null,this.preferredView=null,this.privileges=null,this.region=null,this.role=null,this.roleId=null,this.sourceJSON=null,this.units=null,this.username=null,this.userLicenseTypeId=null,this.userType=null}get thumbnailUrl(){let e=this.url,t=this.thumbnail;return e&&t?this.portal.normalizeUrl(`${e}/info/${t}?f=json`):null}get userContentUrl(){let e=this.portal?.restUrl;return e?`${e}/content/users/${this.id}`:null}get url(){let e=this.portal?.restUrl;return e?`${e}/community/users/${this.id}`:null}addItem(e){let t=e&&e.item,r=e?.data,s=e?.folder,o={method:"post"};t&&(o.query=t.createPostQuery(),null!=r&&("string"==typeof r?o.query.text=r:"object"==typeof r&&(o.query.text=JSON.stringify(r))));let i=this.userContentUrl;return s&&(i+="/"+("string"==typeof s?s:s.id)),this.portal.request(i+"/addItem",o).then(e=>(t.id=e.id,t.portal=this.portal,t.loaded?t.reload():t.load()))}async deleteItem(e,t=!1){let r=this.userContentUrl;e.ownerFolder&&(r+="/"+e.ownerFolder);let s=t?{permanentDelete:!0}:{};await this.portal.request(r+`/items/${e.id}/delete`,{method:"post",query:s}),e.id=null,e.portal=null}async deleteItems(e,t=!1){e=e.slice();let r=this.userContentUrl+"/deleteItems",s=[],o=e.map(e=>e.id);if(o.length){let l={method:"post",query:{items:o.join(","),permanentDelete:t}},a=await this.portal.request(r,l);for(let t of a.results){let r=e.find(e=>t.itemId===e.id),o=t.success,l=null;o?(r.id=null,r.portal=null):t.error&&(l=new i.A("portal:delete-item-failed",t.error.message,t.error)),s.push({item:r,success:o,error:l})}}return s}fetchFolders(){return this.portal.request(this.userContentUrl??"",{query:{num:1}}).then(e=>{let t;return t=e&&e.folders?e.folders.map(e=>{let t=a.fromJSON(e);return t.portal=this.portal,t}):[],t})}fetchGroups(){return this.portal.request(this.url??"").then(e=>{let t;return t=e&&e.groups?e.groups.map(e=>{let t=u.A.fromJSON(e);return t.portal=this.portal,t}):[],t})}async fetchItems(e){e??={};let t=this.userContentUrl??"";e.folder&&(t+="/"+e.folder.id);let s,{default:o}=await r.e(812).then(()=>r(80812)),i={folders:!1,inRecycleBin:!!e.inRecycleBin||null,foldersContent:!(e.folder||!e.includeSubfolderItems)||null,num:e.num||10,start:e.start||1,sortField:e.sortField||"created",sortOrder:e.sortOrder||"asc"},l=await this.portal.request(t,{query:i});return l?.items?(s=l.items.map(e=>{let t=o.fromJSON(e);return t.portal=this.portal,t}),await Promise.all(s.map(e=>e.load())),{items:s,nextStart:l.nextStart,total:l.total}):{items:[],nextStart:-1,total:0}}fetchTags(){return this.portal.request(this.url+"/tags").then(e=>e.tags)}getThumbnailUrl(e){let t=this.thumbnailUrl;return t&&e&&(t+=`&w=${e}`),t}queryFavorites(e){return this.favGroupId?(this._favGroup||=new u.A({id:this.favGroupId,portal:this.portal}),this._favGroup.queryItems(e)):Promise.reject(new i.A("internal:unknown","Unknown internal error",{internalError:"Unknown favGroupId"}))}async restoreItem(e,t){let r=this.userContentUrl,s=t?{folderID:"string"==typeof t?t:t.id}:null;await this.portal.request(r+`/items/${e.id}/restore`,{method:"post",query:s})}toJSON(){throw new i.A("internal:not-yet-implemented","PortalUser.toJSON is not yet implemented")}static fromJSON(e){if(!e)return null;if(e.declaredClass)throw Error("JSON object is already hydrated");let t=new n({sourceJSON:e});return t.read(e),t}};(0,s.Cg)([(0,o.MZ)()],p.prototype,"access",void 0),(0,s.Cg)([(0,o.MZ)({type:Date})],p.prototype,"created",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"culture",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"description",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"email",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"favGroupId",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"fullName",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"id",void 0),(0,s.Cg)([(0,o.MZ)({type:Date})],p.prototype,"modified",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"orgId",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"portal",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"preferredView",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"privileges",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"region",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"role",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"roleId",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"sourceJSON",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"thumbnail",void 0),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"thumbnailUrl",null),(0,s.Cg)([(0,o.MZ)()],p.prototype,"units",void 0),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"userContentUrl",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"url",null),(0,s.Cg)([(0,o.MZ)()],p.prototype,"username",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"userLicenseTypeId",void 0),(0,s.Cg)([(0,o.MZ)()],p.prototype,"userType",void 0),p=n=(0,s.Cg)([(0,o.$K)("esri.portal.PortalUser")],p)},98205(e,t,r){r.d(t,{KZ:()=>a,eh:()=>l,gf:()=>i,of:()=>o});const s=Symbol("SizeVariableInstance");function o(e){return"object"==typeof e&&!!e&&s in e}function i(e){return null!=e&&!isNaN(e)&&isFinite(e)}function l(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function a(e,t){let r=t||l(e),s=e.valueUnit||"unknown";return"unknown"===r?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===s?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}r.d(t,["uY",0,s])},926(e,t,r){r.d(t,{Dd:()=>h,Jn:()=>y,Qc:()=>c,getApiKey:()=>p,getSessionToken:()=>d});var s=r(92602),o=r(84952),i=r(78888);const l=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),n=new Map;let u=null;function p(e){if(!c(e))return null;let t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),r=s.A.apiKeys;if(Array.isArray(r.scopes))for(let e of r.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return r.basemapStyles&&l.test(e)?r.basemapStyles:s.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?s.A.apiKey:null}async function d(e){if(!s.A.sessions?.basemap?.enabled||!l.test(e))return null;let t=p(e);if(!t)return null;u&&await u;let r,{styleFamily:o="arcgis",autoRefresh:a,duration:d=43200}=s.A.sessions.basemap,h=`${t}:${o}`,y=n.get(h);if(y&&(!a||y.endTime>Date.now()))return y.sessionToken;u=(0,i.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:d,styleFamily:o,token:t}});try{r=(await u).data,r.endTime-=5e3,n.set(h,r)}finally{u=null}return r.sessionToken}function h(){return null!=s.A.apiKey||null!=s.A.apiKeys.basemapStyles}function y(e,t){return t?c(e):null!=p(e)}function c(e){let t=(0,o.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},94128(e,t,r){r.d(t,{D:()=>o});const s=Symbol("GraphicInstance");function o(e){return"object"==typeof e&&!!e&&s in e}r.d(t,["Z",0,s])}}]);
@@ -1 +0,0 @@
1
- "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[5902],{95902(e,t,n){n.r(t),n.d(t,{TextureCompressionWorkerOutput:()=>T,compress:()=>S,compressRGBADataToKTX2:()=>I,createTextureDataKTX2:()=>o,destroy:()=>u,initializeBasisEncoder:()=>G,initializeDXTEncoder:()=>C});var r=n(2741);let l,a;var _=n(63907);let i,R,s=null,E=null;class T{constructor(e,t){this.internalFormat=e,this.compressedTexture=t}}function u(){s=null,i=null,E=null,R=null,l=null,a=null}async function S(e){let t,n=e.data instanceof ImageBitmap?e.data:null;t=e.data instanceof ImageBitmap?function(e){let t=new OffscreenCanvas(e.width,e.height),n=t.getContext("2d",{willReadFrequently:!0});return n.drawImage(e,0,0),n.getImageData(0,0,t.width,t.height).data}(e.data):function(e,t,n,r,l){let a=new Uint8ClampedArray(e).subarray(0,t*n*r);if(!l)return a;let _=new Uint8ClampedArray(a.length),i=t*r;for(let e=0;e<n;e++){let t=e*i,r=(n-e-1)*i;_.set(a.subarray(t,t+i),r)}return _}(e.data,e.width,e.height,e.components,e.needsFlip);try{let n=e.preMultiplyAlpha&&!e.isOpaque;if(e.hasS3TC){E||await C();let r=E?.encode(t,e.width,e.height,n);if(r){let e=function(e){let t,n,r=new Int32Array(e.buffer,e.byteOffset,31);switch(r[21]){case N:t=8,n=_.CQ.COMPRESSED_RGB_S3TC_DXT1_EXT;break;case c:t=16,n=_.CQ.COMPRESSED_RGBA_S3TC_DXT3_EXT;break;case f:t=16,n=_.CQ.COMPRESSED_RGBA_S3TC_DXT5_EXT;break;default:return null}let l=1,a=r[4],i=r[3];(3&a||3&i)&&(a=a+3&-4,i=i+3&-4);let R=a,s=i;131072&r[2]&&(l=Math.max(1,r[7]));let E,T,u=e.byteOffset+r[1]+4,S=[];for(let n=0;n<l;++n)T=(a+3>>2)*(i+3>>2)*t,E=new Uint8Array(e.buffer,u,T),S.push(E),u+=T,a=Math.max(1,a>>1),i=Math.max(1,i>>1);return{textureData:{type:"compressed",levels:S},internalFormat:n,width:R,height:s}}(r),t=[r.buffer];return{result:new T(e?.internalFormat??null,e?.textureData??null),transferList:t}}return{result:new T(null,null)}}if(e.hasETC){if(s||await G(),n&&!E&&await C(),n){let n=new Uint8ClampedArray(t.length);E?.premultiply(new Uint8Array(t),e.width,e.height,n),t=n}let r=I(t,e.width,e.height,e.hasMipmap,void 0,void 0,!1,!1,e.isOpaque),l=r?o(r):null,a=l?.compressedTexture?.levels.map(e=>e.buffer)||[];return{result:new T(l?.internalFormat??null,l?.compressedTexture??null),transferList:a}}return{result:new T(null,null)}}finally{n?.close()}}async function G(){s||(s=await(i??=(l??=(async()=>{let e=await(await n.e(2372).then(()=>n(62372))).default({locateFile:e=>(0,r.s)(`esri/libs/basisu/${e}`)});return e.initializeBasis(),e})(),l)),i=null)}async function C(){E||(E=await(R??=(a??=(async()=>await(await n.e(8714).then(()=>n(98714))).default({locateFile:e=>(0,r.s)(`esri/libs/dxtEncoder/${e}`)}))(),a)),R=null)}function I(e,t,n,r,l=255,a=0,_=!1,i=!1,R=!1){if(!s)return null;let E=new s.BasisEncoder;E.setPerceptual(!i),E.setCheckForAlpha(!R),E.setForceAlpha(!1),E.setRenormalize(i),E.setMipGen(r),E.setMipSRGB(!i),E.setCreateKTX2File(!0),E.setKTX2AndBasisSRGBTransferFunc(!i),E.setQualityLevel(l),E.setETC1SCompressionLevel(a);let T=new Uint8Array(e.byteLength);try{E.setSliceSourceImage(0,new Uint8Array(e),t,n,_);let r=E.encode(T);if(!r)return null;let l=new Uint8Array(T.buffer,0,r),a=new s.KTX2File(new Uint8Array(l));try{if(!a.isValid())return null}finally{a.close(),a.delete()}return l}finally{E.delete()}}function o(e){if(!s)return new T(null,null);let t=new s.KTX2File(new Uint8Array(e));try{if(!t.startTranscoding())return new T(null,null);let[e,n]=t.getHasAlpha()?[1,_.CQ.COMPRESSED_RGBA8_ETC2_EAC]:[0,_.CQ.COMPRESSED_RGB8_ETC2],r=t.getLevels(),l=[];for(let n=0;n<r;n++){let r=new Uint8Array(t.getImageTranscodedSizeInBytes(n,0,0,e));if(!t.transcodeImage(r,n,0,0,e,0,-1,-1))return new T(null,null);l.push(r)}return{internalFormat:n,compressedTexture:{type:"compressed",levels:l}}}finally{t.close(),t.delete()}}function A(e){return e.charCodeAt(0)+(e.charCodeAt(1)<<8)+(e.charCodeAt(2)<<16)+(e.charCodeAt(3)<<24)}const N=A("DXT1"),c=A("DXT3"),f=A("DXT5")},63907(e,t,n){const r={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},l={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},a=Object.values(l),_={FLOAT:r.FLOAT,UNSIGNED_BYTE:r.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:r.BYTE,UNSIGNED_SHORT:r.UNSIGNED_SHORT,SHORT:r.SHORT,UNSIGNED_INT:r.UNSIGNED_INT,INT:r.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};n.d(t,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,l,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,a,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,_,"pe",0,r,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);
@@ -1 +0,0 @@
1
- "use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[9616],{69540(e,t,i){var n=i(32198),r=i(56372),s=i(64108),o=i(88620),a=(i(44208),i(4718)),l=(i(53966),i(97768));const u=Symbol("ClonableMixin"),h=e=>{var t;let i=e,r=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){let t=(0,o.oY)(this);(0,l.Lw)(t,"unable to clone instance of non-accessor class");let i=t.metadata,n=t.store,r={},s=new Map;for(let t in i){let o=i[t],l=n?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==l&&0!==l&&5!==l&&4!==l)continue;let h=this[t],d=null;if("function"==typeof u)d=u(h,e);else if("reference"===u)d=h;else if(d=(0,a.TU)(h,e),null!=h&&null==d)continue;0===l?s.set(t,d):r[t]=d}let u=new(Object.getPrototypeOf(this).constructor)(r);if(s.size){let e=(0,o.oY)(u)?.store;if(e)for(let[t,i]of s)e.set(t,i,0)}return u}};return r=(0,n.Cg)([(0,s.$K)("esri.core.Clonable")],r),r},d=h(r.A);i.d(t,["OU",0,h,"Pw",0,d])},65529(e,t,i){var n=i(56372),r=i(36563);const s=e=>{let t=e;return class extends t{constructor(){super(...arguments),this._listenersMap=null}clearEvents(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clearEvents()}emit(e,t){let i=this._listenersMap?.get(e);if(!i)return!1;let n=!1;for(let e of i.slice()){let i="deref"in e?e.deref():e;i?i?.call(this,t):n=!0}return n&&(i=i.filter(e=>!("deref"in e)||null!=e.deref()),this._listenersMap.set(e,i)),i.length>0}on(e,t){if(Array.isArray(e)){let i=e.map(e=>this.on(e,t));return(0,r.vE)(i)}if(e.includes(","))throw TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;let i=this._listenersMap.get(e)||[];return i.push(t),this._listenersMap.set(e,i),(0,r.hA)(()=>{let i=this._listenersMap?.get(e),n=i?.indexOf(t)??-1;n>=0&&i.splice(n,1)})}once(e,t){let i=this.on(e,e=>{i.remove(),("deref"in t?t.deref():t)?.call(null,e)});return i}hasEventListener(e){let t=this._listenersMap?.get(e);return null!=t&&t.length>0}}},o=s(class{}),a=o,l=s(n.A);i.d(t,["Zt",0,s,"a$",0,o,"bk",0,a,"nJ",0,l])},66344(e,t,i){i.d(t,{q:()=>a});const n=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){return this._db.get(e.id+t)?.size??0}put(e,t,i,r,o){t=e.id+t;let a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==i&&this._notifyRemove(t,a.entry,a.size,0)),r>this._maxSize)return void this._notifyRemove(t,i,r,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return n||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,i,0,0);let l=1+Math.max(o,-4)- -3;this._db.set(t,new s(i,r,l)),this._size+=r,e.size+=r,this._checkSize()}updateSize(e,t){t=e.id+t;let i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let n=i.entry.usedMemory;for(;n>this._maxSize;){let e=this._notifyRemove(t,i.entry,n,1);if(!(null!=e&&e>0))return void this._db.delete(t);n=e}i.size=n,this._size+=n,e.size+=n,this._checkSize()}pop(e,t){t=e.id+t;let i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;let i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){let i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){let e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=[];this._db.forEach((e,n)=>{let r=e.lifetime;i[r]=(i[r]||0)+e.size,this._clients.forEach(i=>{let{id:r,name:s}=i;if(n.startsWith(r)){let i=t[s]||0;t[s]=i+e.size}})});let n={};this._clients.forEach(e=>{let i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){let r=t[i]||0;t[i]=r,n[i]=Math.round(100*e.hitRate)+"%"}else n[i]="0%"});let r=Object.keys(t);r.sort((e,i)=>t[i]-t[e]),r.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+n[i]);for(let t=i.length-1;t>=0;--t){let n=i[t];n&&(e["Priority "+(t+-3-1)]=Math.round(n/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){let t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(let[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,n){let r=(0,this._clients.get(e.split(o)[0])?.removeFunc)?.(t,n,i);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){let i=t??this;if(i.size<=e)return;let n=t?.id,r=!0;for(;r;){r=!1;for(let[s,a]of this._db)if(0===a.lifetime&&(!n||s.startsWith(n))){let n=t??this._clients.get(s.split(o)[0]);if(this._purgeItem(s,a,n),i.size<=.9*e)return;r||=this._db.has(s)}}for(let[r,s]of this._db)if(!n||r.startsWith(n)){let n=t??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,s,n),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);let n=this._notifyRemove(e,t.entry,t.size,1);null!=n&&n>0&&(this._size+=n,i&&(i.size+=n),t.lives=t.lifetime,t.size=n,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class s{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(e,t){this.removeFunc=t,this.id=":",this.name="",this.size=0,this._storage=new r(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},67482(e,t,i){function n(e){return null!==r(e)}function r(e){return function(e){let t=s.exec(e);if(!t?.groups)return null;let i=t.groups,n=+i.year,r=i.month-1,o=+i.day,a=+(i.hours??"0"),l=+(i.minutes??"0"),u=+(i.seconds??"0");if(a>23||l>59||u>59)return null;let h,d=i.ms??"0",c=d?+d.padEnd(3,"0").slice(0,3):0;if(i.isUTC||!i.offsetSign)h=Date.UTC(n,r,o,a,l,u,c);else{let e=+i.offsetHours,t=+i.offsetMinutes;h=6e4*("+"===i.offsetSign?-1:1)*(60*e+t)+Date.UTC(n,r,o,a,l,u,c)}return Number.isNaN(h)?null:h}(e)??function(e){let t=new Date(e),i=t.getTime();return Number.isNaN(i)?null:e.toLowerCase()===t.toUTCString().toLowerCase()?i:null}(e)??function(e){if(!o.test(e))return null;let t=new Date(e);return Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset()}(e)}i.d(t,{C:()=>n,_:()=>r});const s=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,o=/^((\d{1,2}[/-]\d{1,2}[/-]\d{4})|(\d{4}[/-]\d{1,2}[/-]\d{1,2}))( \d{1,2}:\d{1,2}:\d{1,2}( ((AM)|(PM)))?)?$/i},9093(e,t,i){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function r(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}i.d(t,{o8:()=>r,vt:()=>n});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:r,create:n,fromValues:function(e,t,i,n,r,s,o,a,l,u,h,d,c,f,m,p){return[e,t,i,n,r,s,o,a,l,u,h,d,c,f,m,p]}},Symbol.toStringTag,{value:"Module"})),i.d(t,["zK",0,s])},35522(e,t,i){i.d(t,{$A:()=>F,Bw:()=>s,C:()=>o,Cc:()=>w,DI:()=>v,Il:()=>j,Io:()=>_,Ln:()=>g,Om:()=>I,Qr:()=>d,Re:()=>u,S8:()=>S,T9:()=>p,WQ:()=>l,Z0:()=>T,_S:()=>f,aI:()=>D,ei:()=>A,fw:()=>B,gL:()=>z,hG:()=>M,hZ:()=>a,hs:()=>y,jb:()=>q,jk:()=>m,lo:()=>L,lw:()=>h,m3:()=>b,oW:()=>O,t2:()=>E,tn:()=>c,uE:()=>Y,ze:()=>x});var n=i(51850),r=i(34304);function s(e){let t=e[0],i=e[1],n=e[2];return Math.sqrt(t*t+i*i+n*n)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,i,n){return e[0]=t,e[1]=i,e[2]=n,e}function l(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e[2]=t[2]+i[2],e}function u(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e[2]=t[2]-i[2],e}function h(e,t,i){return e[0]=t[0]*i[0],e[1]=t[1]*i[1],e[2]=t[2]*i[2],e}function d(e,t,i){return e[0]=t[0]/i[0],e[1]=t[1]/i[1],e[2]=t[2]/i[2],e}function c(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function f(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function m(e,t,i){return e[0]=Math.min(t[0],i[0]),e[1]=Math.min(t[1],i[1]),e[2]=Math.min(t[2],i[2]),e}function p(e,t,i){return e[0]=Math.max(t[0],i[0]),e[1]=Math.max(t[1],i[1]),e[2]=Math.max(t[2],i[2]),e}function y(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e}function g(e,t,i,n){return e[0]=t[0]+i[0]*n,e[1]=t[1]+i[1]*n,e[2]=t[2]+i[2]*n,e}function _(e,t){let i=t[0]-e[0],n=t[1]-e[1],r=t[2]-e[2];return Math.sqrt(i*i+n*n+r*r)}function M(e,t){let i=t[0]-e[0],n=t[1]-e[1],r=t[2]-e[2];return i*i+n*n+r*r}function b(e){let t=e[0],i=e[1],n=e[2];return t*t+i*i+n*n}function x(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function v(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function S(e,t=e){let i=t[0],n=t[1],r=t[2],s=i*i+n*n+r*r;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function I(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function F(e,t,i){let n=t[0],r=t[1],s=t[2],o=i[0],a=i[1],l=i[2];return e[0]=r*l-s*a,e[1]=s*o-n*l,e[2]=n*a-r*o,e}function w(e,t,i,n){let r=t[0],s=t[1],o=t[2];return e[0]=r+n*(i[0]-r),e[1]=s+n*(i[1]-s),e[2]=o+n*(i[2]-o),e}function T(e,t,i){let n=t[0],r=t[1],s=t[2];return e[0]=i[0]*n+i[4]*r+i[8]*s+i[12],e[1]=i[1]*n+i[5]*r+i[9]*s+i[13],e[2]=i[2]*n+i[6]*r+i[10]*s+i[14],e}function A(e,t,i){let n=t[0],r=t[1],s=t[2];return e[0]=n*i[0]+r*i[3]+s*i[6],e[1]=n*i[1]+r*i[4]+s*i[7],e[2]=n*i[2]+r*i[5]+s*i[8],e}function z(e,t,i){return B(e,t,i[0],i[1],i[2],i[3])}function B(e,t,i,n,r,s){let o=t[0],a=t[1],l=t[2],u=n*l-r*a,h=r*o-i*l,d=i*a-n*o,c=n*d-r*h,f=r*u-i*d,m=i*h-n*u,p=2*s;return e[0]=o+u*p+2*c,e[1]=a+h*p+2*f,e[2]=l+d*p+2*m,e}const R=(0,n.vt)(),C=(0,n.vt)();function E(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function D(e,t){if(e===t)return!0;let i=e[0],n=e[1],s=e[2],o=t[0],a=t[1],l=t[2],u=(0,r.FD)();return Math.abs(i-o)<=u*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(n-a)<=u*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(s-l)<=u*Math.max(1,Math.abs(s),Math.abs(l))}function O(e,t,i){let n=i[0]-t[0],r=i[1]-t[1],s=i[2]-t[2],o=n*n+r*r+s*s;return o>0?(o=1/Math.sqrt(o),e[0]=n*o,e[1]=r*o,e[2]=s*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const q=u,N=h,P=d,Z=_,L=M,j=s,Y=b;Object.freeze(Object.defineProperty({__proto__:null,abs:c,add:l,angle:function(e,t){S(R,e),S(C,t);let i=I(R,C);return i>1?0:i<-1?Math.PI:Math.acos(i)},applyTranslation:function(e,t,i){return e[0]=t[0]+i[12],e[1]=t[1]+i[13],e[2]=t[2]+i[14],e},bezier:function(e,t,i,n,r,s){let o=1-s,a=o*o,l=s*s,u=a*o,h=3*s*a,d=3*l*o,c=l*s;return e[0]=t[0]*u+i[0]*h+n[0]*d+r[0]*c,e[1]=t[1]*u+i[1]*h+n[1]*d+r[1]*c,e[2]=t[2]*u+i[2]*h+n[2]*d+r[2]*c,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,i=1){return e[0]=Math.min(Math.max(e[0],t),i),e[1]=Math.min(Math.max(e[1],t),i),e[2]=Math.min(Math.max(e[2],t),i),e},copy:o,cross:F,crossAndNormalize:function(e,t,i){let n=t[0],r=t[1],s=t[2],o=i[0],a=i[1],l=i[2],u=r*l-s*a,h=s*o-n*l,d=n*a-r*o,c=Math.sqrt(u*u+h*h+d*d);return e[0]=u/c,e[1]=h/c,e[2]=d/c,e},direction:O,dist:Z,distance:_,div:P,divide:d,dot:I,equals:D,exactEquals:E,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,i,n,r,s){let o=s*s,a=o*(2*s-3)+1,l=o*(s-2)+s,u=o*(s-1),h=o*(3-2*s);return e[0]=t[0]*a+i[0]*l+n[0]*u+r[0]*h,e[1]=t[1]*a+i[1]*l+n[1]*u+r[1]*h,e[2]=t[2]*a+i[2]*l+n[2]*u+r[2]*h,e},inverse:v,len:j,length:s,lerp:w,max:p,min:m,mul:N,multiply:h,negate:x,normalize:S,random:function(e,t=1){let i=r.Ov,n=2*i()*Math.PI,s=2*i()-1,o=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(n)*o,e[1]=Math.sin(n)*o,e[2]=s*t,e},rotateX:function(e,t,i,n){let r=[],s=[];return r[0]=t[0]-i[0],r[1]=t[1]-i[1],r[2]=t[2]-i[2],s[0]=r[0],s[1]=r[1]*Math.cos(n)-r[2]*Math.sin(n),s[2]=r[1]*Math.sin(n)+r[2]*Math.cos(n),e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[2],e},rotateY:function(e,t,i,n){let r=[],s=[];return r[0]=t[0]-i[0],r[1]=t[1]-i[1],r[2]=t[2]-i[2],s[0]=r[2]*Math.sin(n)+r[0]*Math.cos(n),s[1]=r[1],s[2]=r[2]*Math.cos(n)-r[0]*Math.sin(n),e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[2],e},rotateZ:function(e,t,i,n){let r=[],s=[];return r[0]=t[0]-i[0],r[1]=t[1]-i[1],r[2]=t[2]-i[2],s[0]=r[0]*Math.cos(n)-r[1]*Math.sin(n),s[1]=r[0]*Math.sin(n)+r[1]*Math.cos(n),s[2]=r[2],e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:y,scaleAndAdd:g,scaleTo:function(e,t){return y(e,e,t/j(e))},set:a,sign:f,sqrDist:L,sqrLen:Y,squaredDistance:M,squaredLength:b,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:q,subtract:u,transformMat3:A,transformMat4:T,transformMat4Z:function(e,t){return t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]},transformQuat:z,transformQuatValues:B},Symbol.toStringTag,{value:"Module"}))},75503(e,t,i){i.d(t,{wq:()=>a});var n=i(4576),r=i(21818),s=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=c,this._compareMinY=f,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),x.prune(),v.prune(),S.prune(),I.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data,n=this._toBBox;if(M(e,i))for(x.clear();i;){for(let r=0,s=i.children.length;r<s;r++){let s=i.children[r],o=i.leaf?n(s):s;M(e,o)&&(i.leaf?t(s):_(e,o)?l(s,t):x.push(s))}i=x.pop()}}collides(e){let t=this._data,i=this._toBBox;if(!M(e,t))return!1;for(x.clear();t;){for(let n=0,r=t.children.length;n<r;n++){let r=t.children[n],s=t.leaf?i(r):r;if(M(e,s)){if(t.leaf||_(e,s))return!0;x.push(r)}}t=x.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,i=e.length;t<i;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){let e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new T([]),this}remove(e){if(!e)return this;let t,i=this._data,s=null,o=0,a=!1,l=this._toBBox(e);for(S.clear(),I.clear();i||S.length>0;){if(i||(i=S.pop(),s=S.data[S.length-1],o=I.pop()??0,a=!0),i.leaf&&(t=(0,n.qh)(i.children,(0,r.z)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),S.push(i),this._condense(S),this;a||i.leaf||!_(i,l)?s?(o++,i=s.children[o],a=!1):i=null:(S.push(i),I.push(o),o=0,s=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,n){let r=i-t+1,s=this._maxEntries;if(r<=s){let n=new T(e.slice(t,i+1));return u(n,this._toBBox),n}n||(n=Math.ceil(Math.log(r)/Math.log(s)),s=Math.ceil(r/s**(n-1)));let o=new A([]);o.height=n;let a=Math.ceil(r/s),l=a*Math.ceil(Math.sqrt(s));b(e,t,i,l,this._compareMinX);for(let r=t;r<=i;r+=l){let t=Math.min(r+l-1,i);b(e,r,t,a,this._compareMinY);for(let i=r;i<=t;i+=a){let r=Math.min(i+a-1,t);o.children.push(this._build(e,i,r,n-1))}}return u(o,this._toBBox),o}_insert(e,t,i){let n=this._toBBox,r=i?e:n(e);S.clear();let s=function(e,t,i,n){for(;n.push(t),!0!==t.leaf&&n.length-1!==i;){let i,n=1/0,r=1/0;for(let s=0,o=t.children.length;s<o;s++){let o=t.children[s],a=m(o),l=y(e,o)-a;l<r?(r=l,n=a<n?a:n,i=o):l===r&&a<n&&(n=a,i=o)}t=i||t.children[0]}return t}(r,this._data,t,S);for(s.children.push(e),d(s,r);t>=0&&S.data[t].children.length>this._maxEntries;)this._split(S,t),t--;!function(e,t,i){for(let n=i;n>=0;n--)d(t.data[n],e)}(r,S,t)}_split(e,t){let i=e.data[t],n=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,n);let s=this._chooseSplitIndex(i,r,n);if(!s)return;let o=i.children.splice(s,i.children.length-s),a=i.leaf?new T(o):new A(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new A([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let n,r,s;n=r=1/0;for(let o=t;o<=i-t;o++){let t=h(e,0,o,this._toBBox),a=h(e,o,i,this._toBBox),l=g(t,a),u=m(t)+m(a);l<n?(n=l,s=o,r=u<r?u:r):l===n&&u<r&&(r=u,s=o)}return s}_chooseSplitAxis(e,t,i){let n=e.leaf?this._compareMinX:c,r=e.leaf?this._compareMinY:f;this._allDistMargin(e,t,i,n)<this._allDistMargin(e,t,i,r)&&e.children.sort(n)}_allDistMargin(e,t,i,n){e.children.sort(n);let r=this._toBBox,s=h(e,0,t,r),o=h(e,i-t,i,r),a=p(s)+p(o);for(let n=t;n<i-t;n++){let t=e.children[n];d(s,e.leaf?r(t):t),a+=p(s)}for(let n=i-t-1;n>=t;n--){let t=e.children[n];d(o,e.leaf?r(t):t),a+=p(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){let i=e.data[t];if(0===i.children.length)if(t>0){let r=e.data[t-1],s=r.children;s.splice((0,n.qh)(s,i,s.length,r.indexHint),1)}else this.clear();else u(i,this._toBBox)}}_initFormat(e){let t=["return a"," - b",";"];this._compareMinX=Function("a","b",t.join(e[0])),this._compareMinY=Function("a","b",t.join(e[1])),this._toBBox=Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let i=e;for(v.clear();i;){if(!0===i.leaf)for(let e of i.children)t((0,r.z)(e));else v.pushArray(i.children);i=v.pop()??null}}function u(e,t){h(e,0,e.children.length,t,e)}function h(e,t,i,n,r){r||=new T([]),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(let s,o=t;o<i;o++)s=e.children[o],d(r,e.leaf?n(s):s);return r}function d(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function c(e,t){return e.minX-t.minX}function f(e,t){return e.minY-t.minY}function m(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function p(e){return e.maxX-e.minX+(e.maxY-e.minY)}function y(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function g(e,t){let i=Math.max(e.minX,t.minX),n=Math.max(e.minY,t.minY),r=Math.min(e.maxX,t.maxX),s=Math.min(e.maxY,t.maxY);return Math.max(0,r-i)*Math.max(0,s-n)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function M(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function b(e,t,i,n,r){let s=[t,i];for(;s.length;){let t=s.pop(),i=s.pop();if(t-i<=n)continue;let a=i+Math.ceil((t-i)/n/2)*n;(0,o.q)(e,a,i,t,r),s.push(i,a,a,t)}}const x=new s.A,v=new s.A,S=new s.A,I=new s.A({deallocator:void 0});class F{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class w extends F{constructor(){super(...arguments),this.height=1,this.indexHint=new n.vW}}class T extends w{constructor(e){super(),this.children=e,this.leaf=!0}}class A extends w{constructor(e){super(),this.children=e,this.leaf=!1}}},69397(e,t,i){i.d(t,{JY:()=>f,Qf:()=>l,Qh:()=>o,lM:()=>s,ro:()=>u,rq:()=>h});var n=i(44208),r=i(34275);function s(e){if(!e)return 0;let t=d;for(let i in e)e.hasOwnProperty(i)&&(t+=a(e[i],!1));return t}function o(e){if(!e)return 0;if(Array.isArray(e))return function(e){let t=c;for(let i of e)t+=a(i);return t}(e);if(ArrayBuffer.isView(e)&&"length"in e&&"number"==typeof e.length&&e.length>0)return e.byteLength+m;let t=d;for(let i in e)e.hasOwnProperty(i)&&(t+=a(e[i]));return t}function a(e,t=!0){switch(typeof e){case"object":return t?o(e):d;case"string":return function(e){return 32+e.length}(e);case"number":return 16;case"boolean":return 4;default:return 8}}function l(...e){return e.reduce((e,t)=>e+u(t),0)}function u(e,t=16){return e?(0,r.iu)(e)?e.byteLength+m:Array.isArray(e)?h(e,t):0:0}function h(e,t){return c+e.length*t}const d=32,c=16,f=(0,n.A)("ios")||!(0,n.A)("chrome")&&!(0,n.A)("opr")?8:4,m=145},36708(e,t,i){i.d(t,{C_:()=>c,OH:()=>p,Vh:()=>y,on:()=>d,pc:()=>g,wB:()=>l,z7:()=>u});var n=i(14012),r=i(37955),s=i(36563),o=i(97768),a=i(17676);function l(e,t,i={}){return h(e,t,i,f)}function u(e,t,i={}){return h(e,t,i,m)}function h(e,t,i={},r){let s=null,a=i.once?(e,i)=>{r(e)&&((0,o.xt)(s),t(e,i))}:(e,i)=>{r(e)&&t(e,i)};if(s=(0,n.Cn)(e,a,i.sync,i.equals),i.initial){let t=e();a(t,t)}return s}function d(e,t,i,n={}){let a=null,u=null,h=null;function d(){a&&u&&(u.remove(),n.onListenerRemove?.(a),a=null,u=null)}function c(e){n.once&&n.once&&(0,o.xt)(h),i(e)}let f=l(e,(e,i)=>{d(),(0,r.wb)(e)&&(a=e,u=(0,r.on)(e,t,c),n.onListenerAdd?.(e))},{sync:n.sync,initial:!0});return h=(0,s.hA)(()=>{f.remove(),d()}),h}function c(e,t){return function(e,t,i){if((0,a.G4)(i))return Promise.reject((0,a.NK)());let n=e();if(t?.(n))return Promise.resolve(n);let r=null;function l(){r=(0,o.xt)(r)}return new Promise((n,o)=>{r=(0,s.vE)([(0,a.u7)(i,()=>{l(),o((0,a.NK)())}),h(e,e=>{l(),n(e)},{sync:!1,once:!0},t??f)])})}(e,m,t)}function f(e){return!0}function m(e){return!!e}i(80559);const p={sync:!0},y={initial:!0},g={sync:!0,initial:!0}},44794(e,t,i){i.d(t,{v:()=>a});var n=i(62788),r=i(95488),s=i(4718);class o{constructor(e,t){this._observable=new r.I,this._value=e,this._equalityFunction=t}get value(){return(0,n.gc)(this._observable),this._value}set value(e){this._equalityFunction(e,this._value)||(this._value=e,this._observable.notify())}mutate(e){e(this._value),this._observable.notify()}}function a(e,t=s.gh){return new o(e,t)}},88930(e,t,i){i.d(t,{S1:()=>a,VW:()=>l,lL:()=>u,rb:()=>h,t:()=>d});var n=i(34747),r=i(97770);i(98623);const s=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/,o={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8,unknown:NaN};function a(e,t,i,s="system"){if("unknown"===i)return e;let o=new n.oh((0,r.wj)(s)),a=n.c9.fromJSDate(e,{zone:o}),l="decades"===i||"centuries"===i?"year":function(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}(i);return"decades"===i&&(t*=10),"centuries"===i&&(t*=100),a.plus({[l]:t}).toJSDate()}function l(e,t,i="milliseconds"){let n=e.getTime(),r=d(t,i,"milliseconds");return new Date(n+r)}function u(e,t,i="system"){let{unit:s}=t,o=Math.max(1,Math.trunc(t.value)),a=new n.oh((0,r.wj)(i)),l=n.c9.fromJSDate(e,{zone:a}),u=e=>e-e%o;switch(s){case"milliseconds":return l.startOf("second").plus({millisecond:u(l.millisecond)}).toJSDate();case"seconds":return l.startOf("minute").plus({second:u(l.second)}).toJSDate();case"minutes":return l.startOf("hour").plus({minute:u(l.minute)}).toJSDate();case"hours":return l.startOf("day").plus({hour:u(l.hour)}).toJSDate();case"days":return l.startOf("month").plus({day:u(l.day-1)}).toJSDate();case"weeks":{let e=l.startOf("year").startOf("week"),t=Math.floor(l.diff(e,"weeks").weeks);return e.plus({week:u(t)}).toJSDate()}case"months":return l.startOf("year").plus({month:u(l.month-1)}).toJSDate();case"years":case"decades":case"centuries":{let e=l.startOf("year"),t=("decades"===s?10:"centuries"===s?100:1)*o,i=e.year-e.year%t;return e.set({year:i}).toJSDate()}case"unknown":return e}}function h(e){let t=s.exec(e);if(!t)return null;let{hh:i,mm:n,ss:r,ms:a}=t.groups;return Number(i)*o.hours+Number(n)*o.minutes+Number(r||0)*o.seconds+Number(a||0)}function d(e,t,i){return 0===e?0:e*o[t]/o[i]}},48526(e,t,i){var n,r=i(32198),s=i(91429),o=i(4576),a=i(4718),l=i(5443),u=i(91075),h=i(86738),d=i(16930),c=i(90634),f=i(47610),m=i(56993),p=i(43937);let y=n=class extends u.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:i,hasZ:n,spatialReference:r}=e;switch(t??=[],t?.at(0)?.length){case 4:n??=!0,i??=!0;break;case 3:n??=!0!==i,i??=!n;break;default:n??=!1,i??=!1}return r??=d.A.WGS84,{...e,hasM:i,hasZ:n,points:t,spatialReference:r}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){let e=(0,c.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,a.o8)(this.points)}clone(){let{points:e,spatialReference:t,hasM:i,hasZ:r}=this;return new n({points:(0,a.o8)(e),spatialReference:t.clone(),hasM:i,hasZ:r})}equals(e){if(this===e)return!0;if(null==e)return!1;let t=this.spatialReference,i=e.spatialReference;return!(null!=t!=(null!=i)||null!=t&&null!=i&&!t.equals(i))&&(0,o.aI)(this.points,e.points,f.v6)}addPoint(e){return(0,m.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;let t=this.points[e],i={x:t[0],y:t[1],spatialReference:this.spatialReference},n=2;return this.hasZ&&(i.z=t[2],n=3),this.hasM&&(i.m=t[n]),new h.A(i)}removePoint(e){if(!this._validateInputs(e))return null;let[t,i,n,r]=this.points.splice(e,1)[0],s=new h.A({x:t,y:i,z:n,m:r,spatialReference:this.spatialReference});return this.notifyChange("points"),s}setPoint(e,t){return this._validateInputs(e)&&((0,m.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points")),this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,r.Cg)([(0,s.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,r.Cg)([(0,s.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,r.Cg)([(0,s.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,r.Cg)([(0,p.K)("points")],y.prototype,"writePoints",null),y=n=(0,r.Cg)([(0,s.$K)("esri.geometry.Multipoint")],y);const g=y;y.prototype.toJSON.isDefaultToJSON=!0,i.d(t,["A",0,g])},82799(e,t,i){var n,r=i(32198),s=i(91429),o=i(4718),a=i(5443),l=i(91075),u=i(86738),h=i(16930),d=i(90634),c=i(56993),f=i(43937);let m=n=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:i,hasZ:n,spatialReference:r}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:n??=!0,i??=!0;break;case 3:n??=!0!==i,i??=!n;break;default:n??=!1,i??=!1}return r??=h.A.WGS84,{...e,hasM:i,hasZ:n,paths:t,spatialReference:r}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,o.o8)(e)}get extent(){let e=(0,d.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,o.o8)(this.paths)}addPath(e){if(!e)return;let t=this.paths,i=t.length;if(function(e){return!Array.isArray(e[0])}(e)){let n=[];for(let t=0,i=e.length;t<i;t++)n[t]=e[t].toArray();t[i]=n}else t[i]=e.slice();return this.notifyChange("paths"),this}clone(){let e=new n;return e.spatialReference=this.spatialReference,e.paths=(0,o.o8)(this.paths),e.curvePaths=(0,o.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;let i=this.paths[e][t],n=this.hasZ,r=this.hasM;return n&&!r?new u.A({x:i[0],y:i[1],z:i[2],spatialReference:this.spatialReference}):r&&!n?new u.A({x:i[0],y:i[1],m:i[2],spatialReference:this.spatialReference}):n&&r?new u.A({x:i[0],y:i[1],z:i[2],m:i[3],spatialReference:this.spatialReference}):new u.A({x:i[0],y:i[1],spatialReference:this.spatialReference})}insertPoint(e,t,i){return this._validateInputs(e,t,!0)&&((0,c.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[e].splice(t,0,i),this.notifyChange("paths")),this}removePath(e){if(!this._validateInputs(e,null))return null;let t=this.paths.splice(e,1)[0],i=this.spatialReference,n=t.map(e=>new u.A({x:e[0],y:e[1],z:e[2],m:e[3],spatialReference:i}));return this.notifyChange("paths"),n}removePoint(e,t){if(!this._validateInputs(e,t))return null;let[i,n,r,s]=this.paths[e].splice(t,1)[0],o=new u.A({x:i,y:n,z:r,m:s,spatialReference:this.spatialReference});return this.notifyChange("paths"),o}setPoint(e,t,i){return this._validateInputs(e,t)&&((0,c.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[e][t]=i,this.notifyChange("paths")),this}_validateInputs(e,t,i=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){let n=this.paths[e];if(i&&(t<0||t>n.length)||!i&&(t<0||t>=n.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,r.Cg)([(0,s.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,r.Cg)([(0,s.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],m.prototype,"curvePaths",void 0),(0,r.Cg)([(0,f.K)("curvePaths")],m.prototype,"writeCurvePaths",null),(0,r.Cg)([(0,s.MZ)({readOnly:!0})],m.prototype,"extent",null),(0,r.Cg)([(0,s.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],m.prototype,"paths",void 0),(0,r.Cg)([(0,f.K)("paths")],m.prototype,"writePaths",null),m=n=(0,r.Cg)([(0,s.$K)("esri.geometry.Polyline")],m);const p=m;m.prototype.toJSON.isDefaultToJSON=!0,i.d(t,["A",0,p])},4197(e,t,i){i.d(t,{Vj:()=>o,cj:()=>s,jh:()=>r});var n=i(9093);function r(e){return e<=1024?Array(e).fill(0):new Float64Array(e)}function s(e){return[...e]}function o(e){let t=(0,n.vt)();for(let i=0;i<16;++i)t[i]=e[i];return t}},70328(e,t,i){i.d(t,{BI:()=>A,C:()=>o,DC:()=>c,Dg:()=>m,Ej:()=>b,Ie:()=>w,Jt:()=>T,Lu:()=>v,Ne:()=>S,RF:()=>d,TF:()=>_,VL:()=>p,aI:()=>B,fA:()=>a,gE:()=>u,gX:()=>M,hZ:()=>F,iT:()=>f,is:()=>z,pg:()=>x,qv:()=>R,uJ:()=>g,vI:()=>I,vY:()=>l,v_:()=>C,vt:()=>s,w1:()=>h,yr:()=>y}),i(35522);var n=i(5443),r=(i(19419),i(4197));function s(e=C){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t){for(let i=0;i<6;i++)e[i]=t[i];return e}function a(e,t,i,n,r,o,a=s()){return a[0]=e,a[1]=t,a[2]=i,a[3]=n,a[4]=r,a[5]=o,a}function l(e,t=s()){return function(e,t,i,n=s()){return F(n,R),function(e,t,i=0,n=t.length/3){let r=e[0],s=e[1],o=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<n;e++)r=Math.min(r,t[i+3*e]),s=Math.min(s,t[i+3*e+1]),o=Math.min(o,t[i+3*e+2]),a=Math.max(a,t[i+3*e]),l=Math.max(l,t[i+3*e+1]),u=Math.max(u,t[i+3*e+2]);e[0]=r,e[1]=s,e[2]=o,e[3]=a,e[4]=l,e[5]=u}(n,e,t,i),n}(e,0,e.length/3,t)}function u(e,t=(0,r.jh)(24)){let[i,n,s,o,a,l]=e;return t[0]=i,t[1]=n,t[2]=s,t[3]=i,t[4]=n,t[5]=l,t[6]=i,t[7]=a,t[8]=s,t[9]=i,t[10]=a,t[11]=l,t[12]=o,t[13]=n,t[14]=s,t[15]=o,t[16]=n,t[17]=l,t[18]=o,t[19]=a,t[20]=s,t[21]=o,t[22]=a,t[23]=l,t}function h(e,t){return isFinite(e[2])||isFinite(e[5])?new n.A({xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}):new n.A({xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function d(e,t,i=e){i[0]=Math.min(e[0],t[0]),i[1]=Math.min(e[1],t[1]),i[2]=Math.min(e[2],t[2]),i[3]=Math.max(e[3],t[3]),i[4]=Math.max(e[4],t[4]),i[5]=Math.max(e[5],t[5])}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function f(e,[t,i,n]){m(e,t,i,n)}function m(e,t,i,n){e[0]=Math.min(e[0],t),e[1]=Math.min(e[1],i),e[2]=Math.min(e[2],n),e[3]=Math.max(e[3],t),e[4]=Math.max(e[4],i),e[5]=Math.max(e[5],n)}function p(e){return e[0]>=e[3]?0:e[3]-e[0]}function y(e){return e[1]>=e[4]?0:e[4]-e[1]}function g(e){return e[2]>=e[5]?0:e[5]-e[2]}function _(e){let t=p(e),i=g(e),n=y(e);return t*t+i*i+n*n}function M(e,t=[0,0,0]){return t[0]=e[0]+p(e)/2,t[1]=e[1]+y(e)/2,t[2]=e[2]+g(e)/2,t}function b(e,t=[0,0,0]){return t[0]=p(e),t[1]=y(e),t[2]=g(e),t}function x(e,t){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function v(e,t){return t[0]=e[3],t[1]=e[4],t[2]=e[5],t}function S(e,t,i=e){return i[0]=t[0],i[1]=t[1],i[2]=t[2],i!==e&&(i[3]=e[3],i[4]=e[4],i[5]=e[5]),i}function I(e,t,i=e){return i[3]=t[0],i[4]=t[1],i[5]=t[2],i!==e&&(i[0]=e[0],i[1]=e[1],i[2]=e[2]),e}function F(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function w(e){return e?F(e,R):s(R)}function T(e,t){return e[0]=t[0],e[1]=t[1],e[2]=-1/0,e[3]=t[2],e[4]=t[3],e[5]=1/0,e}function A(e,t,i,n,r){return e[0]=t,e[1]=i,e[2]=-1/0,e[3]=n,e[4]=r,e[5]=1/0,e}function z(e){return 6===e.length}function B(e,t,i){if(null==e||null==t)return e===t;if(!z(e)||!z(t))return!1;if(i){for(let n=0;n<e.length;n++)if(!i(e[n],t[n]))return!1}else for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}const R=[1/0,1/0,1/0,-1/0,-1/0,-1/0],C=[0,0,0,0,0,0];s()},46329(e,t,i){i.d(t,{y:()=>d});var n=i(49186),r=i(4305),s=i(513),o=i(50954),a=i(52006),l=i(49663),u=i(46068),h=i(59803);function d(e,t,i){if((0,a.Xq)(t))return(0,h.T)(e,t,i);if((0,a.n1)(t)){let s=(0,r.m_)(e,t,i)[0];if(null==s)throw new n.A("closestPointOnCurve:unexpected-error","Failed to find close point on bezier curve");return s}if((0,a.aO)(t)){let n=(0,o.pM)(e,t);return(0,s.fM)(n,i)}if((0,a.DA)(t)){let n=(0,l.io)(e,t);return(0,s.fM)(n,i)}let d=(0,u.SW)(e,t);return(0,u.pb)(d,i)}},60408(e,t,i){function n(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function r(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":n(e)?"esriGeometryEnvelope":r(e)?"esriGeometryMultipoint":null:null}function h(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>h,Rg:()=>o,U9:()=>r,W0:()=>d,ZC:()=>n,fT:()=>s,uW:()=>l})},65864(e,t,i){i.d(t,{rS:()=>h,xD:()=>c});var n=i(5443),r=i(91075),s=i(48526),o=i(86738),a=i(39829),l=i(82799),u=i(60408);function h(e){return null==e?null:e instanceof r.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?s.A.fromJSON(e):(0,u.ZC)(e)?n.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:n.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:a.A};function c(e){return e&&d[e]||null}},97770(e,t,i){i.d(t,{Ey:()=>B,F8:()=>z,J2:()=>F,Yq:()=>T,_m:()=>w,_v:()=>b,iS:()=>A,wj:()=>R});var n=i(34747),r=i(66552),s=i(98623),o=i(73444);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:"UTC"},h={year:"numeric",month:"numeric",day:"numeric"},d={year:"numeric",month:"long",day:"numeric"},c={year:"numeric",month:"short",day:"numeric"},f={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},p={...m,second:"numeric"},y={hourCycle:"h23"},g={...m,...y},_={...p,...y},M={"short-date":h,"short-date-short-time":{...h,...m},"short-date-short-time-24":{...h,...g},"short-date-long-time":{...h,...p},"short-date-long-time-24":{...h,..._},"short-date-le":h,"short-date-le-short-time":{...h,...m},"short-date-le-short-time-24":{...h,...g},"short-date-le-long-time":{...h,...p},"short-date-le-long-time-24":{...h,..._},"long-month-day-year":d,"long-month-day-year-short-time":{...d,...m},"long-month-day-year-short-time-24":{...d,...g},"long-month-day-year-long-time":{...d,...p},"long-month-day-year-long-time-24":{...d,..._},"day-short-month-year":c,"day-short-month-year-short-time":{...c,...m},"day-short-month-year-short-time-24":{...c,...g},"day-short-month-year-long-time":{...c,...p},"day-short-month-year-long-time-24":{...c,..._},"long-date":f,"long-date-short-time":{...f,...m},"long-date-short-time-24":{...f,...g},"long-date-long-time":{...f,...p},"long-date-long-time-24":{...f,..._},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":p},b=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),x={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"};function v(){let e=(0,o.lR)();return(e&&x[e])??(0,o.QC)()}"mart"!==new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)).find(({type:e})=>"month"===e)?.value.toLowerCase()&&(x.bs="sr-Latn-CS");let S=new WeakMap;const I=M["short-date-short-time"];function F(e){return M[e]}function w(e){let{dateStyle:t,timeStyle:i,hour12:n,year:r,month:s}=e,o={};return t?o.dateStyle=t:r&&(o.year=r,o.month=s||void 0),i&&!o.year&&(o.timeStyle=i,o.hour12="auto"===n?void 0:"always"===n),o}function T(e,t=I){return function(e){let t=S.get(e);if(!t){let i=v(),n=R(e.timeZone??"system"),r={...e,timeZone:n};t=new Intl.DateTimeFormat(i,r),S.set(e,t)}return t}(t).format(e)}function A(e,t=I){return T(new Date(e),{...t,...u,...l})}function z(e,t=I){return T(new Date(`1970-01-01T${e}Z`),{...t,...u,...a})}function B(e,t=I){let i=n.c9.fromISO(e,{setZone:!0});if(!i.isValid)return e;if(t.timeZone)return T(i.toJSDate(),t);let r=0===i.offset?"UTC":t.timeZone,s={...t,timeZone:r};return i.toLocaleString(s,{locale:v()})}function R(e){switch(e){case"system":return s.N;case s.L:return"UTC";default:return e}}(0,o.Ml)(()=>{S=new WeakMap})},73444(e,t,i){i.d(t,{JK:()=>l,Ml:()=>y,QC:()=>d,lR:()=>h,oQ:()=>m});var n=i(36563);let r;i(44208);const s=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){let e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return s??e??t??"en"}function l(){return void 0===r&&(r=a()),r}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function h(e=l()){return c(e)?.language}function d(e=l()){let t=c(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function c(e=l()){return u.exec(e)?.groups}const f=[];function m(e){return f.push(e),(0,n.hA)(()=>{f.splice(f.indexOf(e),1)})}new Map;const p=[];function y(e){return p.push(e),(0,n.hA)(()=>p.splice(p.indexOf(e),1))}function g(){let e=a();r!==e&&([...p].forEach(t=>t(e)),r=e,[...f].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",g),o&&new MutationObserver(()=>{g()}).observe(o,{attributeFilter:["lang"]})},6518(e,t,i){i.d(t,{F:()=>a});var n=i(44208),r=i(75503),s=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new r.wq(9,(0,n.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){let e=Array(this._idByBounds.size),t=0;this._idByBounds.forEach((i,n)=>{e[t++]=n}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;let e=(0,s.Ie)();for(let t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){let t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){let t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(e,t,i){i.d(t,{A:()=>f});var n=i(4576),r=i(49186),s=i(65529),o=i(53966),a=i(70328),l=i(19419),u=i(90708),h=i(6518),d=i(37730);const c=(0,a.vt)();class f{constructor(e){this.geometryInfo=e,this._boundsStore=new h.F,this._featuresById=new Map,this._usedMemory=0,this.events=new s.bk,this.featureAdapter=d.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;let[t,i,n,r]=this.fullBounds;return{xmin:t,ymin:i,xmax:n,ymax:r,spatialReference:e}}add(e){this._add(e),this._emitChanged()}addMany(e){for(let t of e)this._add(t);this._emitChanged()}upsertMany(e){let t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(n.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){let t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(let t of e){let e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(let i of e){let e=this._boundsStore.get(i.objectId);e&&t((0,a.Jt)(c,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;let t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new r.A("featurestore:invalid-feature","feature id is missing",{feature:e}));let i,n=this._featuresById.get(t);n?(e.displayId=n.displayId,i=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(n)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),e.geometry?.coords?.length?(i=(0,u.jQ)(i??(0,l.vt)(),e.geometry),null!=i&&this._boundsStore.set(t,i),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0):(this._boundsStore.set(t,null),this._featuresById.set(t,e))}_upsert(e){let t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new r.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;let i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;let{geometry:n,attributes:s}=e;for(let e in s)i.attributes[e]=s[e];return n&&(i.geometry=n,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),n)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);let t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},37730(e,t,i){var n=i(43334);const r={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,i)=>new n.Om(t,e.attributes,null,e.objectId,e.displayId,e.distance,e.vertexCount),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)};i.d(t,["T",0,r])},33032(e,t,i){function n(e,t){let i=0;for(let n of t){let t=n.attributes?.[e];"number"==typeof t&&isFinite(t)&&(i=Math.max(i,t))}return i}i.d(t,{H:()=>n})},29432(e,t,i){i.r(t),i.d(t,{default:()=>v});var n=i(4576),r=i(49186),s=i(60408),o=i(21325),a=(i(98623),i(95466)),l=i(98453),u=i(30524),h=i(83221),d=i(31464),c=i(75752),f=i(90708),m=i(33032),p=i(64714),y=i(82832);const g=o.KK,_={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:o.KK};function M(e){return(0,s.fT)(e)?null!=e.z:!!e.hasZ}function b(e){return(0,s.fT)(e)?null!=e.m:!!e.hasM}function x(e,t){let i,n=[];if("unique-id-composite"===t.type){let r=[];for(let i of t.fieldNames)e.attributes[i]?r.push(e.attributes[i]):n.push(i);i=0===n.length?JSON.stringify(r):null}else i=e.attributes[t.fieldName],i||n.push(t.fieldName);return{objectId:i,missingFields:n}}class v{constructor(){this._uniqueIdInfo=null,this._queryEngine=null,this._nextObjectId=null}destroy(){this._queryEngine?.destroy(),this._queryEngine=this._createDefaultAttributes=null}async load(e){let t=[],{features:i}=e,n=this._inferLayerProperties(i,e.fields),s=e.fields||[],o=null==e.hasM?!!n.hasM:e.hasM,f=null==e.hasZ?!!n.hasZ:e.hasZ,M=!e.spatialReference&&!n.spatialReference,b=M?g:e.spatialReference||n.spatialReference,x=M?_:null,v=e.geometryType||n.geometryType,S=!v,I=e.uniqueIdInfo,F=e.objectIdField??n.objectIdField,w=e.timeInfo,T=new a.A(s);if(!S&&(M&&t.push({name:"feature-layer:spatial-reference-not-found",message:"Spatial reference not provided or found in features. Defaults to WGS84"}),!v))throw new r.A("feature-layer:missing-property","geometryType not set and couldn't be inferred from the provided features");if(I){let e=new Set(s.map(({name:e})=>e));if(!I.fields.every(t=>e.has(t))){let t=I.fields.filter(t=>!e.has(t));throw new r.A("feature-layer:missing-property","UniqueIdFields not set and couldn't be found in the provided fields. Fields: "+t+" are mssing.")}F=null}else if(!F)throw new r.A("feature-layer:missing-property","objectIdField not set and uniqueIdInfo not provided.");if(n.objectIdField&&F!==n.objectIdField&&(t.push({name:"feature-layer:duplicated-oid-field",message:`Provided objectIdField "${F}" doesn't match the field name "${n.objectIdField}", found in the provided fields`}),F=n.objectIdField),F&&!n.objectIdField){let e=T.get(F);e?(F=e.name,e.type="esriFieldTypeOID",e.editable=!1,e.nullable=!1):s.unshift({alias:F,name:F,type:"esriFieldTypeOID",editable:!1,nullable:!1})}for(let e of s){if(e.name??=e.alias,e.alias??=e.name,!e.name)throw new r.A("feature-layer:invalid-field-name","field name is missing",{field:e});if(e.name===F&&(e.type="esriFieldTypeOID"),!l.m.jsonValues.includes(e.type))throw new r.A("feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e});e.length??=(0,u._b)(e)}let A={};for(let e of s)if("esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type){let t=(0,u.lD)(e);void 0!==t&&(A[e.name]=t)}if(w){if(w.startTimeField){let e=T.get(w.startTimeField);e?(w.startTimeField=e.name,e.type="esriFieldTypeDate"):w.startTimeField=null}if(w.endTimeField){let e=T.get(w.endTimeField);e?(w.endTimeField=e.name,e.type="esriFieldTypeDate"):w.endTimeField=null}if(w.trackIdField){let e=T.get(w.trackIdField);e?w.trackIdField=e.name:(w.trackIdField=null,t.push({name:"feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:w}}))}!w.startTimeField&&!w.endTimeField&&(t.push({name:"feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing or invalid",details:{timeInfo:w}}),w=null)}let z=T.dateFields.length?{timeZoneIANA:e.dateFieldsTimeZone??"UTC"}:null;this._createDefaultAttributes=(0,p.Vx)(A,F),this._uniqueIdInfo=e.uniqueIdInfo??void 0;let B={warnings:t,featureErrors:[],layerDefinition:{...S?y.Xn:y.CI,drawingInfo:(0,p.F0)(v),templates:(0,p.e2)(A),extent:x,geometryType:v,objectIdField:F,fields:s,hasZ:f,hasM:o,timeInfo:w,dateFieldsTimeReference:z,uniqueIdInfo:this._uniqueIdInfo??void 0},assignedObjectIds:{}},R=this._uniqueIdInfo?.OIDFieldContainsHashValue?"simple"===this._uniqueIdInfo.type?{type:"unique-id-simple",fieldName:this._uniqueIdInfo.fields[0]}:{type:"unique-id-composite",fieldNames:this._uniqueIdInfo.fields}:{type:"object-id",fieldName:F};if(this._queryEngine=new c.do({fieldsIndex:a.A.fromLayerJSON({fields:s,timeInfo:w,dateFieldsTimeReference:z}),geometryType:v,hasM:o,hasZ:f,featureIdInfo:R,spatialReference:b,featureStore:new h.A({geometryType:v,hasM:o,hasZ:f}),timeInfo:w}),!i?.length)return this._nextObjectId=1,B;if(F){let e=(0,m.H)(F,i);this._nextObjectId=e+1}return await(0,d.Nk)(i,b),this._loadInitialFeatures(B,i)}async applyEdits(e){let{spatialReference:t,geometryType:i}=this._queryEngine;return await Promise.all([(0,y.$1)(t,i),(0,d.Nk)(e.adds,t),(0,d.Nk)(e.updates,t)]),this._applyEdits(e)}queryFeatures(e,t={}){return this._queryEngine.executeQuery(e,t.signal)}queryFeatureCount(e,t={}){return this._queryEngine.executeQueryForCount(e,t.signal)}queryObjectIds(e,t={}){return this._queryEngine.executeQueryForIds(e,t.signal)}queryExtent(e,t={}){return this._queryEngine.executeQueryForExtent(e,t.signal)}querySnapping(e,t={}){return this._queryEngine.executeQueryForSnapping(e,t.signal)}queryAttributeBins(e,t={}){return this._queryEngine.executeAttributeBinsQuery(e,t.signal)}_inferLayerProperties(e,t){let i,n,r=null,o=null,a=null;for(let t of e){let e=t.geometry;if(null!=e&&(r||=(0,s.$B)(e),o||=e.spatialReference,i??=M(e),n??=b(e),r&&o&&null!=i&&null!=n))break}if(t&&t.length){let e=null;t.some(t=>{let i="esriFieldTypeOID"===t.type,n=!t.type&&t.name&&"objectid"===t.name.toLowerCase();return e=t,i||n})&&(a=e.name)}return{geometryType:r,spatialReference:o,objectIdField:a,hasM:n,hasZ:i}}async _loadInitialFeatures(e,t){let{geometryType:i,hasM:n,hasZ:r,spatialReference:o,featureStore:a,fieldsIndex:l,featureIdInfo:u}=this._queryEngine,h=[];for(let n of t){if(null!=n.uid&&(e.assignedObjectIds[n.uid]=-1),n.geometry&&i!==(0,s.$B)(n.geometry)){e.featureErrors.push((0,y.Yx)("Incorrect geometry type."));continue}let t=this._createDefaultAttributes(),r=(0,y.MB)(l,t,n.attributes,!0);r?e.featureErrors.push(r):(this._assignObjectId(t,n.attributes,!0),n.attributes=t,n.uid&&(e.assignedObjectIds[n.uid]=x(n,u).objectId),null!=n.geometry&&(n.geometry=(0,d.Cv)(n.geometry,n.geometry.spatialReference,o)),h.push(n))}a.addMany((0,f.Di)([],h,i,r,n,u));let{fullExtent:c,timeExtent:m}=await this._queryEngine.fetchRecomputedExtents();if(e.layerDefinition.extent=c,m){let{start:t,end:i}=m;e.layerDefinition.timeInfo.timeExtent=[t,i]}return e}async _applyEdits(e){let{adds:t,updates:i,deletes:n}=e,r={addResults:[],deleteResults:[],updateResults:[],uidToObjectId:{}};if(t?.length&&this._applyAddEdits(r,t),i?.length&&this._applyUpdateEdits(r,i),n?.length){for(let e of n)r.deleteResults.push((0,y.bP)(e));this._queryEngine.featureStore.removeManyById(n)}let{fullExtent:s,timeExtent:o}=await this._queryEngine.fetchRecomputedExtents();return{extent:s,timeExtent:o,featureEditResults:r}}_applyAddEdits(e,t){let{addResults:i,updateResults:r}=e,{geometryType:o,hasM:a,hasZ:l,spatialReference:u,featureStore:h,featureIdInfo:c,fieldsIndex:m}=this._queryEngine,p=[],g=new Map;for(let a of t){if(a.geometry&&o!==(0,s.$B)(a.geometry)){i.push((0,y.Yx)("Incorrect geometry type."));continue}let t=this._createDefaultAttributes(),l=(0,y.MB)(m,t,a.attributes);if(l){i.push(l);continue}this._assignObjectId(t,a.attributes),a.attributes=t;let{objectId:f,missingFields:_}=x(a,c);if(f){if(null!=a.uid&&(e.uidToObjectId[a.uid]=f),null!=a.geometry){let e=a.geometry.spatialReference??u;a.geometry=(0,d.Cv)((0,y.CR)(a.geometry,e),e,u)}p.push(a);let t=(0,y.bP)(f);g.has(f)?(0,n.TF)(p,g.get(f)):h.has(f)?r.push(t):i.push(t),g.set(f,a)}else i.push((0,y.Yx)(`Missing unique id field value for fields: ${_.join()}`))}h.addMany((0,f.Di)([],p,o,l,a,c))}_applyUpdateEdits({updateResults:e},t){let{geometryType:i,hasM:n,hasZ:r,spatialReference:o,featureStore:a,fieldsIndex:l,featureIdInfo:u}=this._queryEngine;for(let h of t){let{attributes:t,geometry:c}=h,{objectId:m,missingFields:p}=x(h,u);if(null==m){let t="unique-id-composite"===u.type?p:u.fieldName;e.push((0,y.Yx)(`Identifier fields: ${t} missing`));continue}if(!a.has(m)){e.push((0,y.Yx)(`Feature with object id ${m} missing`));continue}let g=(0,f.oN)(a.getFeature(m),i,r,n);if(null!=c){if(i!==(0,s.$B)(c)){e.push((0,y.Yx)("Incorrect geometry type."));continue}let t=c.spatialReference??o;g.geometry=(0,d.Cv)((0,y.CR)(c,t),t,o)}if(t){let i=(0,y.MB)(l,g.attributes,t);if(i){e.push(i);continue}}a.add((0,f.E2)(g,i,r,n,u)),e.push((0,y.bP)(m))}}_assignObjectId(e,t,i=!1){if("object-id"===this._queryEngine.featureIdInfo.type){let n=this._queryEngine.featureIdInfo.fieldName;e[n]=i&&t&&isFinite(t[n])?t[n]:this._nextObjectId++}}}},64714(e,t,i){i.d(t,{F0:()=>a,Vx:()=>h,e2:()=>c,f:()=>p});var n=i(44208),r=i(4718),s=i(93470),o=i(99352);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?s.Cb:"esriGeometryPolyline"===e?s.yM:s.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function h(e,t){if((0,n.A)("esri-csp-restrictions"))return()=>t?{[t]:null,...e}:{...e};try{let i="";t&&(i+=`this${d(t)} = null;`);for(let t in e)i+=`this${d(t)} = ${JSON.stringify(e[t])};`;let n=Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${i};\n }\n }\n `)();return()=>new n}catch{return()=>t?{[t]:null,...e}:{...e}}}function d(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,r.o8)(e)}}]}const f={...o.F,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!1,supportsDistance:!1,supportsExtent:!1,supportsQuantization:!1,supportsQueryGeometry:!1,supportsDisjointSpatialRelationship:!1},m={...o.P,supportedStatistics:{...o.P.supportedStatistics,envelope:!1,centroid:!1,convexHull:!1}};function p(e,t,i=!1){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:i?f:o.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:i?m:o.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},82832(e,t,i){i.d(t,{$1:()=>_,CI:()=>b,CR:()=>g,MB:()=>m,Xn:()=>x,Yx:()=>h,bP:()=>c});var n=i(67482),r=i(18370),s=i(60408),o=i(21325),a=i(30524);class l{constructor(e){this.description=e,this.code=null}}class u{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new l(e)}}function h(e){return new u(e)}class d{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function c(e){return new d(e)}const f=new Set;function m(e,t,i,n=!1){f.clear();for(let r in i){let s=e.get(r);if(!s)continue;let o=p(s,i[r]);if(f.add(s.name),s&&(n||s.editable)){let e=(0,a.CJ)(s,o);if(e)return h((0,a.uo)(e,s,o));t[s.name]=o}}for(let t of e.requiredFields??[])if(!f.has(t.name))return h(`missing required field "${t.name}"`);return null}function p(e,t){let i=t;return(0,a.WA)(e)&&"string"==typeof t?i=(0,a.XT)(t):(0,a.yM)(e)&&null!=t&&"string"!=typeof t?i=String(t):(0,a.vE)(e)&&"string"==typeof t&&(i=(0,n._)(t)),(0,a.WX)(i)}const y=(0,r.z)(()=>Promise.all([i.e(9187),i.e(8885),i.e(9117),i.e(3299),i.e(3456)]).then(()=>i(3637)));function g(e,t){if(!(0,s.Bi)(e)&&!(0,s.Rg)(e)||!(0,o.fn)(t))return e;let i=y.module;if(null==i)throw TypeError("simplify operator not loaded");return i.simplifyExecute({...e,spatialReference:t})??e}async function _(e,t){(0,o.fn)(e)&&("esriGeometryPolygon"===t||"esriGeometryPolyline"===t)&&await y.getImportPromise()}const M={supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]},b={hasAttachments:!1,capabilities:"query, editing, create, delete, update",useStandardizedQueries:!0,supportsCoordinatesQuantization:!0,supportsReturningQueryGeometry:!0,advancedQueryCapabilities:{supportsQueryAttachments:!1,supportsQueryAttachmentsCountOnly:!1,supportsQueryAttachmentOrderByFields:!1,supportsQueryAttachmentWithTypeWildcard:!1,supportsQueryBins:!0,supportsQueryPivot:!1,supportsSpatialAggregationStatistics:!0,supportedSpatialAggregationStatistics:["EnvelopeAggregate","CentroidAggregate","ConvexHullAggregate"],supportsStatistics:!0,supportsPercentileStatistics:!0,supportsReturningGeometryCentroid:!0,supportsQueryWithDistance:!0,supportsOutDistance:!1,supportsDistinct:!0,supportsReturningQueryExtent:!0,supportsReturningGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQueryWithResultType:!0,supportsSqlExpression:!0,supportsDisjointSpatialRel:!0,supportsQueryWithCacheHint:!0},queryBinsCapabilities:M},x={...b,supportsCoordinatesQuantization:!1,supportsReturningQueryGeometry:!1,advancedQueryCapabilities:{...b.advancedQueryCapabilities,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:[],supportsReturningGeometryCentroid:!1,supportsQueryWithDistance:!1,supportsReturningQueryExtent:!1,supportsDisjointSpatialRel:!1},queryBinsCapabilities:{...M,supportedStatisticTypes:M.supportedStatisticTypes.filter(e=>"EnvelopeAggregate"!==e&&"CentroidAggregate"!==e&&"ConvexHullAggregate"!==e)}}},95466(e,t,i){i.d(t,{A:()=>u});var n=i(49186),r=i(53966),s=i(12195),o=i(98623),a=i(56400),l=i(30524);class u{static fromJSON(e){return new u(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new u(e.fields??[],d(e))}static fromLayerJSON(e){return new u(e.fields??[],d(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;let i=[];for(let e of this.fields){let t=e?.name,n=(0,l.GZ)(t);if(t&&n){let r=(0,l.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(n,e),i.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,l.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,l.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),!(0,l.te)(e)&&!(0,l.Xz)(e)&&(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}i.sort(),this.uid=i.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(let e of this.fields)(0,l.te)(e)||(0,l.Xz)(e)||e.nullable||void 0!==(0,l.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){return(0,l.Vb)({fieldName:e,fieldsMap:this._fieldsMap,normalizedFieldsMap:this._normalizedFieldsMap})}getTimeZone(e){let t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(r.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new n.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),"UTC"):h.has(t.type)?o.L:null:null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,l.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,s.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}const h=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function d(e){let t=new Map;if(!e.fields)return t;let i=!0===e.datesInUnknownTimezone,{timeInfo:n,editFieldsInfo:r}=e,s=(n?"startField"in n?n.startField:n.startTimeField:"")??"",u=(n?"endField"in n?n.endField:n.endTimeField:"")??"",d=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,a.ZS)(e.dateFieldsTimeReference):null,c=r?function(e){return"timeZone"in e}(r)?r.timeZone??d:r.dateFieldsTimeReference?(0,a.ZS)(r.dateFieldsTimeReference):d??"UTC":null,f=n?function(e){return"timeZone"in e}(n)?n.timeZone??d:n.timeReference?(0,a.ZS)(n.timeReference):d:null,m=new Map([[(0,l.NF)(r?.creationDateField??""),c],[(0,l.NF)(r?.editDateField??""),c],[(0,l.NF)(s),f],[(0,l.NF)(u),f]]);for(let{name:n,type:r}of e.fields)if(h.has(r))t.set(n,o.L);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(n,null);else if(i)t.set(n,o.L);else{let e=m.get((0,l.NF)(n??""))??d;t.set(n,e)}return t}},98453(e,t,i){const n=new(i(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});i.d(t,["m",0,n])},93470(e,t,i){const n=[252,146,31,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:n,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:n};i.d(t,["Cb",0,r,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,n,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,s])}}]);