@arcgis/core 4.33.0-next.20250513 → 4.33.0-next.20250515

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 (540) hide show
  1. package/Graphic.js +1 -1
  2. package/Map.js +1 -1
  3. package/WebScene.js +1 -1
  4. package/applications/Components/SelectionOperation.js +1 -1
  5. package/arcade/functions/centroid.js +1 -1
  6. package/arcade/functions/featuresetbase.js +1 -1
  7. package/arcade/functions/geomasync.js +1 -1
  8. package/arcade/functions/geometry.js +1 -1
  9. package/arcade/functions/geomsync.js +1 -1
  10. package/arcade/geometry/operators.js +1 -1
  11. package/arcade/geometry/operatorsWorker.js +1 -1
  12. package/arcade/treeAnalysis.js +1 -1
  13. package/assets/components/assets/combobox/t9n/messages.en.json +1 -1
  14. package/assets/components/assets/combobox/t9n/messages.json +1 -1
  15. package/assets/components/assets/icon/calendarHeatChart16.json +1 -0
  16. package/assets/components/assets/icon/calendarHeatChart24.json +1 -0
  17. package/assets/components/assets/icon/calendarHeatChart32.json +1 -0
  18. package/assets/components/assets/icon/matrixHeatChart16.json +1 -0
  19. package/assets/components/assets/icon/matrixHeatChart24.json +1 -0
  20. package/assets/components/assets/icon/matrixHeatChart32.json +1 -0
  21. package/assets/components/assets/icon/progressBarChart16.json +1 -0
  22. package/assets/components/assets/icon/progressBarChart24.json +1 -0
  23. package/assets/components/assets/icon/progressBarChart32.json +1 -0
  24. package/assets/components/assets/icon/spikeDataVisualization16.json +1 -0
  25. package/assets/components/assets/icon/spikeDataVisualization24.json +1 -0
  26. package/assets/components/assets/icon/spikeDataVisualization32.json +1 -0
  27. package/assets/components/assets/icon/spikeDataVisualizationOpen16.json +1 -0
  28. package/assets/components/assets/icon/spikeDataVisualizationOpen24.json +1 -0
  29. package/assets/components/assets/icon/spikeDataVisualizationOpen32.json +1 -0
  30. package/assets/components/assets/icon/spikeDataVisualizationOutlined16F.json +1 -0
  31. package/assets/components/assets/icon/spikeDataVisualizationOutlined24F.json +1 -0
  32. package/assets/components/assets/icon/spikeDataVisualizationOutlined32F.json +1 -0
  33. package/assets/components/assets/icon/spikeDataVisualizationOutlinedColorLocked16.json +1 -0
  34. package/assets/components/assets/icon/spikeDataVisualizationOutlinedColorLocked24.json +1 -0
  35. package/assets/components/assets/icon/spikeDataVisualizationOutlinedColorLocked32.json +1 -0
  36. package/assets/components/assets/icon/spikeDataVisualizationOutlinedOpen16.json +1 -0
  37. package/assets/components/assets/icon/spikeDataVisualizationOutlinedOpen24.json +1 -0
  38. package/assets/components/assets/icon/spikeDataVisualizationOutlinedOpen32.json +1 -0
  39. package/assets/components/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked16.json +1 -0
  40. package/assets/components/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked24.json +1 -0
  41. package/assets/components/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked32.json +1 -0
  42. package/assets/esri/core/workers/RemoteClient.js +1 -1
  43. package/assets/esri/core/workers/chunks/009730713ed9bc7c7388.js +1 -0
  44. package/assets/esri/core/workers/chunks/02853ab923245459b32e.js +1 -0
  45. package/assets/esri/core/workers/chunks/0624ae07d3af8d5f1ac8.js +1 -0
  46. package/assets/esri/core/workers/chunks/0817ddd885ce8b2459cb.js +1 -0
  47. package/assets/esri/core/workers/chunks/{69e8aabe5a1eb2d1e414.js → 0832bd5195b5791dd803.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{4deeeceb784e4390441d.js → 0a4cece5e96fb7e8a57b.js} +1 -1
  49. package/assets/esri/core/workers/chunks/0d23610475c85385fbff.js +1 -0
  50. package/assets/esri/core/workers/chunks/{b4f38fe9cc948a39ad87.js → 0fd6d80393722132e044.js} +2 -2
  51. package/assets/esri/core/workers/chunks/{0766ecb677d667e5fb83.js.LICENSE.txt → 0fd6d80393722132e044.js.LICENSE.txt} +1 -1
  52. package/assets/esri/core/workers/chunks/1051a5a57b2fb843a555.js +1 -0
  53. package/assets/esri/core/workers/chunks/12e99071f6582f6caeaf.js +1 -0
  54. package/assets/esri/core/workers/chunks/133e4bde346828d4510b.js +1 -0
  55. package/assets/esri/core/workers/chunks/1991f0d0f0a12175f849.js +1 -0
  56. package/assets/esri/core/workers/chunks/19a58adc75a34f84b0ef.js +1 -0
  57. package/assets/esri/core/workers/chunks/1d7f2abfccc54659d6f2.js +1 -0
  58. package/assets/esri/core/workers/chunks/{339e7a900e2bba9d3647.js → 1f19bd3ef795c6765384.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{837f886f759fc6f0489d.js → 1f4fd9e3849f4e593375.js} +1 -1
  60. package/assets/esri/core/workers/chunks/1f9c6fbcd4d0eae1e574.js +1 -0
  61. package/assets/esri/core/workers/chunks/234117cc5cb7c6863313.js +1 -0
  62. package/assets/esri/core/workers/chunks/{07695960aa0344dbfbf3.js → 28d9e2ffc3059a55311e.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{1c025beaaac5ec7c04fb.js → 2adf558cd8d8155d07d7.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{47f64a340b5d56bf9e59.js → 2cf82d3645c75d311e99.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{f7ab3511f6627f467796.js → 377a7f0f7d304ff9fe5b.js} +1 -1
  66. package/assets/esri/core/workers/chunks/3b4b4f84d594db8945f9.js +1 -0
  67. package/assets/esri/core/workers/chunks/3bf1cf6c3cba172e2f6d.js +1 -0
  68. package/assets/esri/core/workers/chunks/{b3ca65d6112079fb1d00.js → 3ce5d7ad16e41eea05be.js} +1 -1
  69. package/assets/esri/core/workers/chunks/465f2db4ab8aa9c9f907.js +1 -0
  70. package/assets/esri/core/workers/chunks/{1e13e03aad422f9e871e.js → 47fe2379f2214bf50036.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{3c45603af279ad7fed8c.js → 4954e0cf4a40e45d237f.js} +1 -1
  72. package/assets/esri/core/workers/chunks/4a362a35bcdb8405a53a.js +1 -0
  73. package/assets/esri/core/workers/chunks/4f8ebd9f0758b801835c.js +1 -0
  74. package/assets/esri/core/workers/chunks/5228d39c05d660a135b6.js +1 -0
  75. package/assets/esri/core/workers/chunks/{736cb9f74bf050b70f4c.js → 52a3d0e041717da7697e.js} +1 -1
  76. package/assets/esri/core/workers/chunks/54ea93f416ab52b413c1.js +1 -0
  77. package/assets/esri/core/workers/chunks/554a8bf4626336e68798.js +1 -0
  78. package/assets/esri/core/workers/chunks/55f087bca75c3f2a4515.js +1 -0
  79. package/assets/esri/core/workers/chunks/56569d0c2cf5c5167651.js +1 -0
  80. package/assets/esri/core/workers/chunks/{bbaadce582df7e20397b.js → 56d2a20c1b143697aa19.js} +1 -1
  81. package/assets/esri/core/workers/chunks/57211c35a9646f088d86.js +1 -0
  82. package/assets/esri/core/workers/chunks/58526def64536b6581ab.js +1 -0
  83. package/assets/esri/core/workers/chunks/5890740d5a761b038560.js +1 -0
  84. package/assets/esri/core/workers/chunks/{9a641fb94819574e48f6.js → 5a73d8b7b01758ed4fdd.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{ba3193ea145960a50e87.js → 5c8d52b72a3bea4202ac.js} +1 -1
  86. package/assets/esri/core/workers/chunks/5dbd8d81d94cfda5bb32.js +1 -0
  87. package/assets/esri/core/workers/chunks/5e52c1c076a1502f9fe4.js +1 -0
  88. package/assets/esri/core/workers/chunks/609c7c9b7046b3a7acde.js +1 -0
  89. package/assets/esri/core/workers/chunks/{30f3014c0ac6e2bc14bf.js → 622c0552ca3cd674d46c.js} +1 -1
  90. package/assets/esri/core/workers/chunks/62798f66872dc32e77d6.js +346 -0
  91. package/assets/esri/core/workers/chunks/6409160d226a0bea5ac6.js +1 -0
  92. package/assets/esri/core/workers/chunks/65fd971d0574d69cbc26.js +1 -0
  93. package/assets/esri/core/workers/chunks/6993a59cbb78bc26f029.js +1 -0
  94. package/assets/esri/core/workers/chunks/6b23ca6570357f9fb724.js +1 -0
  95. package/assets/esri/core/workers/chunks/6c37a5bd00d255d1337a.js +1 -0
  96. package/assets/esri/core/workers/chunks/{2b01e3bce78541620a86.js → 6cbe8205a4e0f62da519.js} +1 -1
  97. package/assets/esri/core/workers/chunks/6ce4327f63e6eb92bba8.js +1 -0
  98. package/assets/esri/core/workers/chunks/6f9b8df290b0ce09beae.js +1 -0
  99. package/assets/esri/core/workers/chunks/{fef1a5f8a6fd3502b33b.js → 6fa1a5b7276a037dbd6a.js} +67 -89
  100. package/assets/esri/core/workers/chunks/7c819b3e6d69c526f4b2.js +1 -0
  101. package/assets/esri/core/workers/chunks/7df147da40474b028705.js +1 -0
  102. package/assets/esri/core/workers/chunks/{0766ecb677d667e5fb83.js → 7e1dc8e5e18f18dd21e2.js} +2 -2
  103. package/assets/esri/core/workers/chunks/{b4f38fe9cc948a39ad87.js.LICENSE.txt → 7e1dc8e5e18f18dd21e2.js.LICENSE.txt} +1 -1
  104. package/assets/esri/core/workers/chunks/{e662c86b8bafc5512d3d.js → 847e88e1d6da1e74cdc8.js} +1 -1
  105. package/assets/esri/core/workers/chunks/{6f5ec9bf7cf8a36d8e8b.js → 87eca6de502d18d8b7eb.js} +1 -1
  106. package/assets/esri/core/workers/chunks/{a73c6b4bc5baf440f85a.js → 88b7265270feede80e1d.js} +1 -1
  107. package/assets/esri/core/workers/chunks/{10e6dffa57aa1a626708.js → 8a6aac37b3133de74cce.js} +1 -1
  108. package/assets/esri/core/workers/chunks/8a87c181b85d0b86b9bb.js.LICENSE.txt +1 -1
  109. package/assets/esri/core/workers/chunks/{243dc74ec62891ba1ef7.js → 8e82acd1f730571680f4.js} +1 -1
  110. package/assets/esri/core/workers/chunks/8f1fbfdac04e694f621d.js +1 -0
  111. package/assets/esri/core/workers/chunks/91cd29f53f07bc38fe75.js +1 -0
  112. package/assets/esri/core/workers/chunks/{5583d18032ed8bc17c74.js → 938f1eebc48871be64e9.js} +1 -1
  113. package/assets/esri/core/workers/chunks/97c148adf0347c69a79c.js +1 -0
  114. package/assets/esri/core/workers/chunks/{029a118e6dfb3f544a5c.js → 98ef17d15517368d2383.js} +1 -1
  115. package/assets/esri/core/workers/chunks/9c8224ca29475556e5ea.js +1 -0
  116. package/assets/esri/core/workers/chunks/9d5eac3bd1526e2b33e3.js +1 -0
  117. package/assets/esri/core/workers/chunks/{38f5e6a202ce292edd9f.js → 9eb9c8db2510154c09cc.js} +1 -1
  118. package/assets/esri/core/workers/chunks/a036503087baa1f9fd00.js +1 -0
  119. package/assets/esri/core/workers/chunks/a09b5700c92bb76c3234.js +1 -0
  120. package/assets/esri/core/workers/chunks/a673128da9e6656ead2e.js +1 -0
  121. package/assets/esri/core/workers/chunks/{90ae15ce22a49bd84876.js → ab9614555a15f04396f6.js} +2 -2
  122. package/assets/esri/core/workers/chunks/{90ae15ce22a49bd84876.js.LICENSE.txt → ab9614555a15f04396f6.js.LICENSE.txt} +1 -1
  123. package/assets/esri/core/workers/chunks/ae733c963d61065faa54.js +1 -0
  124. package/assets/esri/core/workers/chunks/b0522dffa5600345c07e.js +1 -0
  125. package/assets/esri/core/workers/chunks/b06cb23048c32940f5de.js +1 -0
  126. package/assets/esri/core/workers/chunks/{079434fe765c53d304f2.js → b1e275607d9754079f60.js} +1 -1
  127. package/assets/esri/core/workers/chunks/{d1f7bfb8daf11ecada9f.js → b4273381dc069f4e1fa2.js} +1 -1
  128. package/assets/esri/core/workers/chunks/{fb2e28e6a87956267d1c.js → b92a34f88569c481ed10.js} +1 -1
  129. package/assets/esri/core/workers/chunks/{352b7dcd1633e0c98194.js → ba940ebdae84b174a7be.js} +1 -1
  130. package/assets/esri/core/workers/chunks/bf9b6b74654d303a6dae.js +1 -0
  131. package/assets/esri/core/workers/chunks/c07c1bb7ae09136dc1f6.js +1 -0
  132. package/assets/esri/core/workers/chunks/c938f5d269ba202d10ef.js +1 -0
  133. package/assets/esri/core/workers/chunks/cbbca011f8b176d4b5db.js +1 -0
  134. package/assets/esri/core/workers/chunks/ce321fd8fc5551e190ec.js +1 -0
  135. package/assets/esri/core/workers/chunks/ce53ddda04e09ba2f860.js +1 -0
  136. package/assets/esri/core/workers/chunks/d166f805990353578494.js +1 -0
  137. package/assets/esri/core/workers/chunks/{b816b608f31954128246.js → d21d9e8b8c8a2e0485d5.js} +1 -1
  138. package/assets/esri/core/workers/chunks/d9a23fb0c6c936d5e8ec.js +1 -0
  139. package/assets/esri/core/workers/chunks/da3c62a851a4332f6dda.js +1 -0
  140. package/assets/esri/core/workers/chunks/db3f710d770adf631b28.js +2 -0
  141. package/assets/esri/core/workers/chunks/{aa82925ffb00babb0543.js.LICENSE.txt → db3f710d770adf631b28.js.LICENSE.txt} +1 -1
  142. package/assets/esri/core/workers/chunks/{6805e7b43d6ecf3ea93c.js → dcf5719f38ad40b92941.js} +1 -1
  143. package/assets/esri/core/workers/chunks/e2cada6644c49b1b6e79.js +1 -0
  144. package/assets/esri/core/workers/chunks/e2fb4bebce3aee406efa.js +1 -0
  145. package/assets/esri/core/workers/chunks/e3638f9d4c0fda238f4b.js +1 -0
  146. package/assets/esri/core/workers/chunks/e85f892ea44d67d53ff0.js +2 -0
  147. package/assets/esri/core/workers/chunks/{3596540ef49e5330ceb2.js.LICENSE.txt → e85f892ea44d67d53ff0.js.LICENSE.txt} +1 -1
  148. package/assets/esri/core/workers/chunks/e89345c7af9d3d4d8452.js +1 -0
  149. package/assets/esri/core/workers/chunks/{a31658f544ac6e1801d6.js → ead5d4e271effc04def3.js} +1 -1
  150. package/assets/esri/core/workers/chunks/ece68a25651ef03fc95d.js +1 -0
  151. package/assets/esri/core/workers/chunks/f218a190015de1444018.js +1 -0
  152. package/assets/esri/core/workers/chunks/f229044615af3142bcb0.js +1 -0
  153. package/assets/esri/core/workers/chunks/f2692f25ef693cf12ce0.js +1 -0
  154. package/assets/esri/core/workers/chunks/f4c6ea630cecf0f260d7.js +2 -0
  155. package/assets/esri/core/workers/chunks/{e0dc8794343c2a949ffb.js.LICENSE.txt → f4c6ea630cecf0f260d7.js.LICENSE.txt} +1 -1
  156. package/assets/esri/core/workers/chunks/f718cb847c4eb1e43ad9.js +1 -0
  157. package/assets/esri/core/workers/chunks/f8fb0c7eaf73709bd855.js +1 -0
  158. package/assets/esri/core/workers/chunks/faa40ef04604c7cce706.js +1 -0
  159. package/assets/esri/core/workers/chunks/{218a66d53f7cf4f285aa.js → fbd2f45d5adce4ca323f.js} +2 -2
  160. package/assets/esri/core/workers/chunks/{218a66d53f7cf4f285aa.js.LICENSE.txt → fbd2f45d5adce4ca323f.js.LICENSE.txt} +1 -1
  161. package/assets/esri/core/workers/chunks/ffaa977cd97a2b7190c5.js +1 -0
  162. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  163. package/assets/esri/themes/base/widgets/_BuildingPhasePicker.scss +17 -10
  164. package/assets/esri/themes/base/widgets/_SelectionList.scss +7 -3
  165. package/assets/esri/themes/base/widgets/_SelectionToolbar.scss +5 -0
  166. package/assets/esri/themes/dark/main.css +1 -1
  167. package/assets/esri/themes/light/main.css +1 -1
  168. package/assets/esri/themes/light/view.css +1 -1
  169. package/chunks/Envelope.js +1 -1
  170. package/chunks/Jpg.js +1 -1
  171. package/chunks/LineSeries.js +1 -1
  172. package/chunks/OperatorCut.js +1 -1
  173. package/chunks/OperatorDefinitions.js +5 -0
  174. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  175. package/chunks/OperatorSimplifyOGC.js +1 -1
  176. package/chunks/ProjectionTransformation.js +1 -1
  177. package/chunks/QuadraticBezier.js +1 -1
  178. package/chunks/ShadowCastAccumulate.glsl.js +7 -5
  179. package/chunks/ShadowCastVisualize.glsl.js +1 -1
  180. package/chunks/ShadowHighlight.glsl.js +8 -7
  181. package/chunks/Transformation2D.js +1 -1
  182. package/chunks/arcade.js +1 -1
  183. package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
  184. package/chunks/arcgis-knowledge-client-core.js +1 -1
  185. package/chunks/basis_encoder.js +1 -1
  186. package/chunks/basis_transcoder.js +1 -1
  187. package/chunks/bundle.js +1 -1
  188. package/chunks/chartUtilsAm5.js +1 -1
  189. package/chunks/dxt_encoder.js +1 -1
  190. package/chunks/geometryEngineBase.js +1 -1
  191. package/chunks/i3s.js +1 -1
  192. package/chunks/lclayout.js +1 -1
  193. package/chunks/libtess-asm.js +1 -1
  194. package/chunks/lyr3DMain.js +1 -1
  195. package/chunks/lyr3DWorker.js +1 -1
  196. package/chunks/vec4.js +1 -1
  197. package/chunks/vxlLayer.js +1 -1
  198. package/core/Accessor.js +1 -1
  199. package/core/accessorSupport/Lifecycle.js +5 -0
  200. package/core/accessorSupport/Properties.js +1 -1
  201. package/core/accessorSupport/decorators/subclass.js +1 -1
  202. package/core/accessorSupport/tracking/Flags.js +1 -1
  203. package/core/accessorSupport/watch.js +1 -1
  204. package/core/arrayUtils.js +1 -1
  205. package/core/image/apng.js +1 -1
  206. package/core/image/gif.js +1 -1
  207. package/core/mapCollectionUtils.js +1 -1
  208. package/core/mathUtils.js +1 -1
  209. package/core/urlUtils.js +1 -1
  210. package/core/workers/Connection.js +1 -1
  211. package/geometry/operators/densifyOperator.d.ts +0 -1
  212. package/geometry/operators/gx/operatorIntegrate.js +1 -1
  213. package/geometry/operators/gx/operatorOffset.js +1 -1
  214. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  215. package/geometry/operators/gx/operatorPolygonSlicer.js +1 -1
  216. package/geometry/operators/gx/operatorSimplifyOGC.js +1 -1
  217. package/geometry/operators/simplifyOGCOperator.js +1 -1
  218. package/geometry/support/meshProperties.js +1 -1
  219. package/geometry/support/normalizeUtilsSync.js +1 -1
  220. package/interfaces.d.ts +463 -2595
  221. package/intl/date.js +1 -1
  222. package/intl/number.js +1 -1
  223. package/layers/BingMapsLayer.js +1 -1
  224. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  225. package/layers/KnowledgeGraphLayer.js +1 -1
  226. package/layers/LinkChartLayer.js +1 -1
  227. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  228. package/layers/VideoLayer.js +1 -1
  229. package/layers/graphics/OptimizedFeatureSet.js +1 -1
  230. package/layers/graphics/controllers/StreamController.js +1 -1
  231. package/layers/graphics/data/FeatureIdInfo.js +5 -0
  232. package/layers/graphics/data/QueryEngine.js +1 -1
  233. package/layers/graphics/data/QueryEngineResult.js +1 -1
  234. package/layers/graphics/data/StreamFeatureManager.js +1 -1
  235. package/layers/graphics/data/createFeatureId.js +5 -0
  236. package/layers/graphics/featureConversionUtils.js +1 -1
  237. package/layers/graphics/sources/WFSSourceWorker.js +1 -1
  238. package/layers/graphics/sources/geojson/GeoJSONSourceWorker.js +1 -1
  239. package/layers/graphics/sources/support/CSVSourceWorker.js +1 -1
  240. package/layers/graphics/sources/support/MemorySourceWorker.js +1 -1
  241. package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
  242. package/layers/ogc/ogcFeatureUtils.js +1 -1
  243. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  244. package/layers/orientedImagery/core/utils.js +1 -1
  245. package/layers/orientedImagery/queries.js +1 -1
  246. package/layers/orientedImagery/transformations/utils.js +1 -1
  247. package/layers/support/LercWorker.js +1 -1
  248. package/layers/support/rasterDatasets/BaseRaster.js +1 -1
  249. package/layers/support/rasterFunctions/pixelUtils.js +1 -1
  250. package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
  251. package/layers/support/rasterFunctions/stretchUtils.js +1 -1
  252. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  253. package/layers/support/wmsUtils.js +1 -1
  254. package/layers/video/VideoController.js +1 -1
  255. package/package.json +1 -1
  256. package/rest/networks/support/Association.js +1 -1
  257. package/rest/networks/support/NetworkElement.js +1 -1
  258. package/rest/networks/support/QueryAssociationsParameters.js +1 -1
  259. package/rest/networks/support/TelecomNetworkElement.js +1 -1
  260. package/rest/networks/support/TraceResult.js +1 -1
  261. package/rest/query/operations/pbfDehydratedFeatureSet.js +1 -1
  262. package/rest/query/operations/pbfJSONFeatureSet.js +1 -1
  263. package/rest/query/operations/queryRelatedRecords.js +1 -1
  264. package/smartMapping/statistics/uniqueValues.js +1 -1
  265. package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
  266. package/smartMapping/support/adapters/support/layerUtils.js +1 -1
  267. package/statistics/utils.js +1 -1
  268. package/support/revision.js +1 -1
  269. package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
  270. package/symbols/cim/effects/EffectRadial.js +1 -1
  271. package/versionManagement/versionAdapters/FeatureLayerVersionAdapter.js +1 -1
  272. package/versionManagement/versionAdapters/NetworkVersionAdapter.js +1 -1
  273. package/versionManagement/versionAdapters/SubTypeGroupLayerVersionAdapter.js +1 -1
  274. package/views/2d/engine/ManagedCanvas.js +1 -1
  275. package/views/2d/engine/Stage.js +1 -1
  276. package/views/2d/engine/vectorTiles/VectorTile.js +1 -1
  277. package/views/2d/engine/webgl/TileContainer.js +1 -1
  278. package/views/2d/engine/webgl/grouping.js +1 -1
  279. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  280. package/views/2d/layers/MediaLayerView2D.js +1 -1
  281. package/views/2d/layers/TileLayerView2D.js +1 -1
  282. package/views/2d/layers/VideoLayerView2D.js +1 -1
  283. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  284. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  285. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  286. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  287. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  288. package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
  289. package/views/2d/layers/features/layerAdapters/ParquetLayerAdapter.js +1 -1
  290. package/views/2d/layers/features/layerAdapters/StreamLayerAdapter.js +1 -1
  291. package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
  292. package/views/2d/layers/features/layerAdapters/featureServiceUtils.js +1 -1
  293. package/views/2d/layers/features/processor/AAggregateStrategy.js +1 -1
  294. package/views/2d/layers/features/processor/BinningStrategy.js +1 -1
  295. package/views/2d/layers/features/processor/ClusterStrategy.js +1 -1
  296. package/views/2d/layers/features/processor/TrackStrategy.js +1 -1
  297. package/views/2d/layers/features/sources/FeatureSource.js +1 -1
  298. package/views/2d/layers/features/sources/FeatureSourceQueryInfo.js +1 -1
  299. package/views/2d/layers/features/sources/strategies/StreamLoadStrategy.js +1 -1
  300. package/views/2d/layers/features/sources/strategies/support/queryAdapters.js +1 -1
  301. package/views/2d/layers/features/support/AttributeStore.js +1 -1
  302. package/views/2d/layers/features/support/FeatureMetadata.js +1 -1
  303. package/views/2d/layers/features/support/FeatureSetReaderJSON.js +1 -1
  304. package/views/2d/layers/features/support/FeatureSetReaderPBF.js +1 -1
  305. package/views/2d/layers/features/support/FeatureSetReaderPBFHeader.js +1 -1
  306. package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
  307. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  308. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  309. package/views/3d/FocusAreasView.js +5 -0
  310. package/views/3d/analysis/AnalysisViewManager3D.js +1 -1
  311. package/views/3d/analysis/DimensionAnalysisView3D.d.ts +4 -0
  312. package/views/3d/analysis/DimensionAnalysisView3D.js +1 -1
  313. package/views/3d/analysis/Viewshed/viewshedToolManipulatorUtils.js +1 -1
  314. package/views/3d/camera/constraintUtils/common.js +1 -1
  315. package/views/3d/interactive/Manipulator3D.js +1 -1
  316. package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
  317. package/views/3d/layers/BuildingSceneLayerView3D.js +1 -1
  318. package/views/3d/layers/DimensionLayerView3D.js +1 -1
  319. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  320. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  321. package/views/3d/layers/GraphicsView3D.js +1 -1
  322. package/views/3d/layers/I3SMeshView3D.js +1 -1
  323. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  324. package/views/3d/layers/LineOfSightLayerView3D.js +1 -1
  325. package/views/3d/layers/Lyr3DWasm.js +1 -1
  326. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  327. package/views/3d/layers/RouteLayerView3D.js +1 -1
  328. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  329. package/views/3d/layers/ViewshedLayerView3D.js +1 -1
  330. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  331. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  332. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  333. package/views/3d/layers/graphics/Graphics3DGraphic.js +1 -1
  334. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  335. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  336. package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
  337. package/views/3d/layers/graphics/Graphics3DWebStyleSymbol.js +1 -1
  338. package/views/3d/layers/graphics/GraphicsDeconflictor.js +1 -1
  339. package/views/3d/layers/graphics/GraphicsProcessor.js +1 -1
  340. package/views/3d/layers/graphics/Labeler.js +1 -1
  341. package/views/3d/layers/graphics/QueryEngine.js +1 -1
  342. package/views/3d/layers/graphics/focusAreaStyle.js +5 -0
  343. package/views/3d/layers/graphics/pipeline/Feature3DPipelineWorker.js +1 -1
  344. package/views/3d/layers/graphics/pipeline/rendering/RenderCommandContext.js +1 -1
  345. package/views/3d/layers/graphics/pipeline/symbolization/IconSymbolLayerRenderer.js +1 -1
  346. package/views/3d/layers/i3s/I3SBinaryReader.js +1 -1
  347. package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
  348. package/views/3d/layers/i3s/I3SNodeLoader.js +1 -1
  349. package/views/3d/layers/i3s/I3SQueryEngine.js +1 -1
  350. package/views/3d/layers/i3s/I3SQueryResultGeometry.js +1 -1
  351. package/views/3d/layers/i3s/PagedNodeIndex.js +1 -1
  352. package/views/3d/layers/i3s/PointCloudWorkerUtil.js +1 -1
  353. package/views/3d/layers/i3s/meshUtils.js +5 -0
  354. package/views/3d/layers/support/FeatureTileFetcher3D.js +1 -1
  355. package/views/3d/layers/support/LayerViewAnalysisViewManager.js +5 -0
  356. package/views/3d/support/hitTest.js +1 -1
  357. package/views/3d/terrain/PatchRenderData.js +1 -1
  358. package/views/3d/terrain/TerrainRenderer.js +1 -1
  359. package/views/3d/terrain/TerrainSurface.js +1 -1
  360. package/views/3d/terrain/TileAgent.js +1 -1
  361. package/views/3d/terrain/TileTexture.js +1 -1
  362. package/views/3d/webgl-engine/collections/Component/IndexRange/ComponentRange.js +1 -1
  363. package/views/3d/webgl-engine/core/FBOCache.js +1 -1
  364. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js +3 -3
  365. package/views/3d/webgl-engine/core/shaderLibrary/shading/ShadowmapFiltering.glsl.js +3 -25
  366. package/views/3d/webgl-engine/core/shaderLibrary/shading/calculateUVZShadow.glsl.js +1 -1
  367. package/views/3d/webgl-engine/core/shaderModules/Texture2DShadowBindUniform.js +5 -0
  368. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  369. package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +3 -3
  370. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  371. package/views/3d/webgl-engine/lib/BoundingInfo.js +1 -1
  372. package/views/3d/webgl-engine/lib/DepthRange.js +1 -1
  373. package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
  374. package/views/3d/webgl-engine/lib/Geometry.js +1 -1
  375. package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
  376. package/views/3d/webgl-engine/lib/Material.js +1 -1
  377. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  378. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  379. package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
  380. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  381. package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
  382. package/views/3d/webgl-engine/lib/intersectorUtilsConversions.js +1 -1
  383. package/views/3d/webgl-engine/lib/lodRendering/InstanceData.js +1 -1
  384. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  385. package/views/3d/webgl-engine/lib/verticalOffsetUtils.js +1 -1
  386. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  387. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  388. package/views/3d/webgl-engine/shaders/ShadowCastAccumulate.glsl.js +1 -1
  389. package/views/3d/webgl-engine/shaders/ShadowHighlight.glsl.js +1 -1
  390. package/views/3d/webgl.js +1 -1
  391. package/views/FocusArea.js +1 -1
  392. package/views/FocusAreas.js +1 -1
  393. package/views/GroundView.js +1 -1
  394. package/views/SceneView.js +1 -1
  395. package/views/VideoView.js +1 -1
  396. package/views/View.js +1 -1
  397. package/views/draw/support/Box.js +1 -1
  398. package/views/draw/support/GraphicMover.js +1 -1
  399. package/views/draw/support/Reshape.js +1 -1
  400. package/views/input/InputManager.js +1 -1
  401. package/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +1 -1
  402. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceSnappingSourceWorker.js +1 -1
  403. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
  404. package/views/layers/BuildingComponentSublayerView.js +1 -1
  405. package/views/layers/BuildingSceneLayerView.js +1 -1
  406. package/views/layers/FeatureLayerView.js +1 -1
  407. package/views/support/LayerViewManager.js +1 -1
  408. package/views/support/TextureCompressionWorker.js +1 -1
  409. package/views/support/TextureCompressionWorkerHandle.js +1 -1
  410. package/views/webgl/RenderingContext.js +1 -1
  411. package/views/webgl/ShaderBuilder.js +1 -1
  412. package/views/webgl/Texture.js +1 -1
  413. package/views/webgl/TextureDescriptor.js +1 -1
  414. package/views/webgl/textureUtils.js +1 -1
  415. package/webscene/Slide.js +1 -1
  416. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  417. package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.js +1 -1
  418. package/widgets/BuildingExplorer/BuildingPhasePicker/BuildingPhasePicker.js +1 -1
  419. package/widgets/CoordinateConversion.js +1 -1
  420. package/widgets/Directions.js +1 -1
  421. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  422. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.js +1 -1
  423. package/widgets/ElevationProfile/support/profileUtils.js +1 -1
  424. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +1 -1
  425. package/widgets/FeatureForm.js +1 -1
  426. package/widgets/FeatureTable/AttachmentsColumn.js +1 -1
  427. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  428. package/widgets/FeatureTable/Grid/Column.js +1 -1
  429. package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
  430. package/widgets/FeatureTable.js +1 -1
  431. package/widgets/LayerList/LayerListItem.js +1 -1
  432. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  433. package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
  434. package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +1 -1
  435. package/widgets/OrientedImageryViewer/components/ImageViewer.js +1 -1
  436. package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
  437. package/widgets/OrientedImageryViewer/components/NavigationUI.js +1 -1
  438. package/widgets/OrientedImageryViewer/components/NavigationUIPanoramicViewModel.js +5 -0
  439. package/widgets/OrientedImageryViewer/components/NavigationUIViewModel.js +1 -1
  440. package/widgets/OrientedImageryViewer/components/imageNavigationUtils.js +1 -1
  441. package/widgets/OrientedImageryViewer/constants.js +1 -1
  442. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  443. package/widgets/OrientedImageryViewer/navigation/NavigationManager.js +5 -0
  444. package/widgets/OrientedImageryViewer/navigation/NavigationManagerPanoramic.js +5 -0
  445. package/widgets/OrientedImageryViewer/navigation/errors.js +5 -0
  446. package/widgets/OrientedImageryViewer/navigation/queries.js +5 -0
  447. package/widgets/OrientedImageryViewer/navigation/utils.js +5 -0
  448. package/widgets/OrientedImageryViewer.js +1 -1
  449. package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
  450. package/widgets/PanoramicViewer.js +1 -1
  451. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  452. package/widgets/Sketch/SketchViewModel.js +1 -1
  453. package/widgets/Sketch.js +1 -1
  454. package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
  455. package/widgets/VideoPlayer/components/SettingsButton.js +1 -1
  456. package/widgets/support/SelectionList.js +1 -1
  457. package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
  458. package/widgets/support/SelectionToolbar.js +1 -1
  459. package/widgets/support/Selector2D/SelectionOperation.js +1 -1
  460. package/widgets/support/SnappingControls.js +1 -1
  461. package/widgets/support/UtilityNetworkAssociations/FeatureUtilityNetworkAssociationsViewModel.js +1 -1
  462. package/widgets/support/UtilityNetworkAssociations/utils/createAssociation.js +1 -1
  463. package/assets/esri/core/workers/chunks/009dbddfc6499e2cee4f.js +0 -1
  464. package/assets/esri/core/workers/chunks/0516bd18334d3af6c555.js +0 -1
  465. package/assets/esri/core/workers/chunks/0d8a635c1f9aeaf7564c.js +0 -1
  466. package/assets/esri/core/workers/chunks/0f57b6a3a85a47ebd9d0.js +0 -346
  467. package/assets/esri/core/workers/chunks/1abd026ed12c863e1d94.js +0 -1
  468. package/assets/esri/core/workers/chunks/1b8cc83aa1179245b2dc.js +0 -1
  469. package/assets/esri/core/workers/chunks/1c6542315390037053a6.js +0 -1
  470. package/assets/esri/core/workers/chunks/201db423e3c6f947b77c.js +0 -1
  471. package/assets/esri/core/workers/chunks/23de8aeed5b82c682cbe.js +0 -1
  472. package/assets/esri/core/workers/chunks/26ebb7816dd8c8cd4f3b.js +0 -1
  473. package/assets/esri/core/workers/chunks/2abce00d812c7f6b542d.js +0 -1
  474. package/assets/esri/core/workers/chunks/2e0af748eba93f3ea6cb.js +0 -1
  475. package/assets/esri/core/workers/chunks/3596540ef49e5330ceb2.js +0 -2
  476. package/assets/esri/core/workers/chunks/3604a77c93cf2927787b.js +0 -1
  477. package/assets/esri/core/workers/chunks/391b1c3e736a62befbaf.js +0 -1
  478. package/assets/esri/core/workers/chunks/40e556a0645af8658658.js +0 -1
  479. package/assets/esri/core/workers/chunks/4402336db7210cd583e0.js +0 -1
  480. package/assets/esri/core/workers/chunks/47cd99ab3ed11a931084.js +0 -1
  481. package/assets/esri/core/workers/chunks/4bd5cbf6e0be2fc7e84d.js +0 -1
  482. package/assets/esri/core/workers/chunks/4c8052e81916579841f4.js +0 -1
  483. package/assets/esri/core/workers/chunks/4c9aa1dafdc0d9537231.js +0 -1
  484. package/assets/esri/core/workers/chunks/4feb774f123da26e9f2a.js +0 -1
  485. package/assets/esri/core/workers/chunks/51b5dfc7085272d26b89.js +0 -1
  486. package/assets/esri/core/workers/chunks/51d9eaeeb781fd1d1162.js +0 -1
  487. package/assets/esri/core/workers/chunks/5228fc7fcdf57f44781e.js +0 -1
  488. package/assets/esri/core/workers/chunks/566c2ce50af225e556ac.js +0 -1
  489. package/assets/esri/core/workers/chunks/5ddf463c85c33428e807.js +0 -1
  490. package/assets/esri/core/workers/chunks/61032b5050464cb48056.js +0 -1
  491. package/assets/esri/core/workers/chunks/63dade3e1cc7f5b76846.js +0 -1
  492. package/assets/esri/core/workers/chunks/6e12900a9f4c3c9941ec.js +0 -1
  493. package/assets/esri/core/workers/chunks/6e5d8a6b29c06a27998c.js +0 -1
  494. package/assets/esri/core/workers/chunks/6f506303017903b9a06f.js +0 -1
  495. package/assets/esri/core/workers/chunks/71e46e866c23372b0b58.js +0 -1
  496. package/assets/esri/core/workers/chunks/75fa861b5757551f8fdc.js +0 -1
  497. package/assets/esri/core/workers/chunks/7c49a8877bd744daa3d5.js +0 -1
  498. package/assets/esri/core/workers/chunks/7ea5bbb52e84be9a608e.js +0 -1
  499. package/assets/esri/core/workers/chunks/83e13baab4b90a88d967.js +0 -1
  500. package/assets/esri/core/workers/chunks/86138c297095af1ac604.js +0 -1
  501. package/assets/esri/core/workers/chunks/8b74b609de4f70e1a75c.js +0 -1
  502. package/assets/esri/core/workers/chunks/8e6301006abdf47cc88d.js +0 -1
  503. package/assets/esri/core/workers/chunks/90f93091fe088875f80f.js +0 -1
  504. package/assets/esri/core/workers/chunks/91a02ee91f61cf841111.js +0 -1
  505. package/assets/esri/core/workers/chunks/93cc26e5636040fdc0b8.js +0 -1
  506. package/assets/esri/core/workers/chunks/9baeb3b5733acdda4e7c.js +0 -1
  507. package/assets/esri/core/workers/chunks/a1d697e2be1e892a666a.js +0 -1
  508. package/assets/esri/core/workers/chunks/a1f27c4f4b5ef3e359f7.js +0 -1
  509. package/assets/esri/core/workers/chunks/a348ff2dd936c6bf9399.js +0 -1
  510. package/assets/esri/core/workers/chunks/a8430e1e2142f1ce9b92.js +0 -1
  511. package/assets/esri/core/workers/chunks/aa82925ffb00babb0543.js +0 -2
  512. package/assets/esri/core/workers/chunks/b64f708f821dd2bb51cd.js +0 -1
  513. package/assets/esri/core/workers/chunks/bf453744067267e84d1b.js +0 -1
  514. package/assets/esri/core/workers/chunks/c1175477dfcdee90a453.js +0 -1
  515. package/assets/esri/core/workers/chunks/c17c269cc30e7e1d0bfb.js +0 -1
  516. package/assets/esri/core/workers/chunks/c3f144ca69995dca34a9.js +0 -1
  517. package/assets/esri/core/workers/chunks/c4e2b75b9135920babc3.js +0 -1
  518. package/assets/esri/core/workers/chunks/cb80b7ddc9acf625d754.js +0 -1
  519. package/assets/esri/core/workers/chunks/d22f91bc16a7641bcbef.js +0 -1
  520. package/assets/esri/core/workers/chunks/d52cf7b795ee52034f9e.js +0 -1
  521. package/assets/esri/core/workers/chunks/d551f70560a2b1ef5696.js +0 -1
  522. package/assets/esri/core/workers/chunks/d971571a957de70d5a8d.js +0 -1
  523. package/assets/esri/core/workers/chunks/d9d9d4f99140e579eabb.js +0 -1
  524. package/assets/esri/core/workers/chunks/dc3a6beb3028009b3c23.js +0 -1
  525. package/assets/esri/core/workers/chunks/e0dc8794343c2a949ffb.js +0 -2
  526. package/assets/esri/core/workers/chunks/e483d2f169e51a361742.js +0 -1
  527. package/assets/esri/core/workers/chunks/e613df03ceb39e29befa.js +0 -1
  528. package/assets/esri/core/workers/chunks/e697dd4508f02dcfe329.js +0 -1
  529. package/assets/esri/core/workers/chunks/e9b1349a2b3a3f300808.js +0 -1
  530. package/assets/esri/core/workers/chunks/eabfab23246d4a052ea3.js +0 -1
  531. package/assets/esri/core/workers/chunks/ec8e8048b3df2c92008d.js +0 -1
  532. package/assets/esri/core/workers/chunks/ed6d0fea159dea638c2f.js +0 -1
  533. package/assets/esri/core/workers/chunks/f5fcba6ca6f43bf1d65d.js +0 -1
  534. package/assets/esri/core/workers/chunks/f92d76b694ff0cdb212c.js +0 -1
  535. package/chunks/NetworkElement.js +0 -5
  536. package/core/accessorSupport/interfaces.js +0 -5
  537. package/views/FocusAreasUtils.js +0 -5
  538. package/views/FocusAreasView.js +0 -5
  539. package/views/analysis/DimensionAnalysisView.d.ts +0 -4
  540. package/views/analysis/DimensionAnalysisView.js +0 -5
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4496],{1193:(t,n,e)=>{e.d(n,{H:()=>p});var r,o=e(90237),i=e(25482),a=e(4718),u=e(53966),l=e(10107),s=e(79901),c=e(40608),f=e(31199);let p=r=class extends i.A{constructor(t){super(t),this.color=null,this.position=new Float64Array(0),this.uv=null,this.normal=null,this.tangent=null}castColor(t){return(0,f.b)(t,Uint8Array,[Uint8ClampedArray],{loggerTag:".color=",stride:4},u.A.getLogger(this))}castPosition(t){return t&&t instanceof Float32Array&&u.A.getLogger(this).warn(".position=","Setting position attribute from a Float32Array may cause precision problems. Consider storing data in a Float64Array or a regular number array"),(0,f.b)(t,Float64Array,[Float32Array],{loggerTag:".position=",stride:3},u.A.getLogger(this))}castUv(t){return(0,f.b)(t,Float32Array,[Float64Array],{loggerTag:".uv=",stride:2},u.A.getLogger(this))}castNormal(t){return(0,f.b)(t,Float32Array,[Float64Array],{loggerTag:".normal=",stride:3},u.A.getLogger(this))}castTangent(t){return(0,f.b)(t,Float32Array,[Float64Array],{loggerTag:".tangent=",stride:4},u.A.getLogger(this))}clone(){const t={position:(0,a.o8)(this.position),uv:(0,a.o8)(this.uv),normal:(0,a.o8)(this.normal),tangent:(0,a.o8)(this.tangent),color:(0,a.o8)(this.color)};return new r(t)}clonePositional(){const t={position:(0,a.o8)(this.position),normal:(0,a.o8)(this.normal),tangent:(0,a.o8)(this.tangent),uv:this.uv,color:this.color};return new r(t)}get usedMemory(){return this.position.byteLength+(this.uv?.byteLength??0)+(this.normal?.byteLength??0)+(this.tangent?.byteLength??0)+(this.color?.byteLength??0)}};(0,o._)([(0,l.MZ)({json:{write:f.B}})],p.prototype,"color",void 0),(0,o._)([(0,s.w)("color")],p.prototype,"castColor",null),(0,o._)([(0,l.MZ)({nonNullable:!0,json:{write:f.B}})],p.prototype,"position",void 0),(0,o._)([(0,s.w)("position")],p.prototype,"castPosition",null),(0,o._)([(0,l.MZ)({json:{write:f.B}})],p.prototype,"uv",void 0),(0,o._)([(0,s.w)("uv")],p.prototype,"castUv",null),(0,o._)([(0,l.MZ)({json:{write:f.B}})],p.prototype,"normal",void 0),(0,o._)([(0,s.w)("normal")],p.prototype,"castNormal",null),(0,o._)([(0,l.MZ)({json:{write:f.B}})],p.prototype,"tangent",void 0),(0,o._)([(0,s.w)("tangent")],p.prototype,"castTangent",null),p=r=(0,o._)([(0,c.$)("esri.geometry.support.MeshVertexAttributes")],p)},22141:(t,n,e)=>{e.d(n,{$5:()=>b,CN:()=>A,JP:()=>m,KM:()=>S,Mv:()=>_,X4:()=>M,gr:()=>v,qs:()=>w,si:()=>T,xA:()=>B});var r=e(34727),o=e(77690),i=e(29242),a=e(58083),u=e(9093),l=e(38954),s=e(51850),c=e(48353),f=e(9762),p=(e(79258),e(21325)),g=e(28735),d=e(13030),h=e(73354),y=e(65686);const m="Projection may be possible after calling projection.load().";function A(t,n,e,r){t.error(`Failed to project from (wkid:${n.wkid}) to (wkid:${e.wkid}).${r?" ":""}${r}`)}function M(t,n,e,r,o,i){return F(C.TO_PCPF,d.xs.fromTypedArray(t),R.NORMAL,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i))?i:null}function T(t,n,e,r,o,i){return F(C.FROM_PCPF,d.xs.fromTypedArray(t),R.NORMAL,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i))?i:null}function v(t,n,e,r){return(0,f.projectBuffer)(t,n,0,e,r,0)?e:null}function b(t,n,e,r){return(0,f.projectBuffer)(t,n,0,e,r,0)?e:null}function w(t,n,e){return(0,o.Ge)(L,e),(0,h.b)(n,t,L),(0,r.or)(L)&&(0,h.n)(n,n),n}function S(t,n,e){return(0,o.z0)(L,e),(0,y.t)(n,t,L),(0,r.or)(L)&&(0,h.n)(n,n,4),n}function B(t,n,e,r,o,i){if(!F(C.TO_PCPF,d.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),R.TANGENT,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let n=3;n<t.length;n+=4)i[n]=t[n];return i}function _(t,n,e,r,o,i){if(!F(C.FROM_PCPF,d.xs.fromTypedArray(t,16),R.TANGENT,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i,16)))return null;for(let n=3;n<t.length;n+=4)i[n]=t[n];return i}var R,C,E;function N(t,n,e,r,i){switch((0,c.l)(r,e,P,r),t===C.FROM_PCPF&&(0,a.B8)(P,P),n){case R.NORMAL:return(0,o.Ge)(i,P);case R.TANGENT:return(0,o.z0)(i,P)}}function F(t,n,e,r,o,i,a,u){if(!n)return;const s=r.count;if(function(t){return t.isWGS84||(0,p.x1)(t)||(0,p.q8)(t)||(0,p.KQ)(t)}(o))for(let r=0;r<s;r++)i.getVec(r,x),n.getVec(r,O),(0,l.o)(O,O,N(t,e,x,a,L)),u.setVec(r,O);else for(let o=0;o<s;o++){i.getVec(o,x),n.getVec(o,O);const s=(0,g.jg)(r.get(o,1));let c=Math.cos(s);e===R.TANGENT!=(t===C.TO_PCPF)&&(c=1/c),N(t,e,x,a,L),t===C.TO_PCPF?(L[0]*=c,L[1]*=c,L[2]*=c,L[3]*=c,L[4]*=c,L[5]*=c):(L[0]*=c,L[3]*=c,L[6]*=c,L[1]*=c,L[4]*=c,L[7]*=c),(0,l.o)(O,O,L),(0,l.n)(O,O),u.setVec(o,O)}return u}(E=R||(R={}))[E.NORMAL=0]="NORMAL",E[E.TANGENT=1]="TANGENT",function(t){t[t.TO_PCPF=0]="TO_PCPF",t[t.FROM_PCPF=1]="FROM_PCPF"}(C||(C={}));const x=(0,s.vt)(),O=(0,s.vt)(),P=(0,u.vt)(),L=(0,i.vt)()},28846:(t,n,e)=>{e.d(n,{convertMeshVertexSpace:()=>l});var r=e(49186),o=e(4718),i=e(74887),a=e(1193),u=e(72258);async function l(t,n,e){await Promise.resolve(),(0,i.Te)(e);const l=(0,u.UR)(t,n,{useEllipsoid:e?.useEllipsoid});if(!l)throw new r.A("meshUtils:convertVertexSpace()","Failed to convert to provided vertex space due to projection errors");const s=t.cloneAndModifyVertexAttributes(new a.H({...l,uv:(0,o.o8)(t.vertexAttributes.uv),color:(0,o.o8)(t.vertexAttributes.color)}),n);return s.transform=null,s}},31199:(t,n,e)=>{function r(t,n,e,r){const{loggerTag:o,stride:i}=n;return t.length%i!=0?(r.error(o,`Invalid array length, expected a multiple of ${i}`),new e([])):t}function o(t,n,e,o,i){if(!t)return t;if(t instanceof n)return r(t,o,n,i);for(const a of e)if(t instanceof a)return r(new n(t),o,n,i);if(Array.isArray(t))return r(new n(t),o,n,i);{const r=e.map((t=>`'${t.name}'`));return i.error(`Failed to set property, expected one of ${r}, but got ${t.constructor.name}`),new n([])}}function i(t,n,e){n[e]=function(t){const n=new Array(t.length);for(let e=0;e<t.length;e++)n[e]=t[e];return n}(t)}e.d(n,{B:()=>i,b:()=>o})},48163:(t,n,e)=>{function r(){return[0,0]}function o(t,n){return[t,n]}function i(){return o(1,1)}function a(){return o(1,0)}function u(){return o(0,1)}e.d(n,{Un:()=>l,fA:()=>o,vt:()=>r});const l=i(),s=a(),c=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_X:s,UNIT_Y:c,ZEROS:[0,0],clone:function(t){return[t[0],t[1]]},create:r,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const e=Math.min(2,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:o,ones:i,unitX:a,unitY:u,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353:(t,n,e)=>{e.d(n,{l:()=>s});var r=e(34727),o=e(58083),i=e(51850);function a(t,n,e){const r=Math.sin(t),o=Math.cos(t),i=Math.sin(n),a=Math.cos(n),u=e;return u[0]=-r,u[4]=-i*o,u[8]=a*o,u[12]=0,u[1]=o,u[5]=-i*r,u[9]=a*r,u[13]=0,u[2]=0,u[6]=a,u[10]=i,u[14]=0,u[3]=0,u[7]=0,u[11]=0,u[15]=1,u}var u=e(37539),l=e(21325);function s(t,n,e,r){const i=(0,u.Tp)(t,r);if(null==i)return!1;const s=i.source.spatialReferenceId,d=i.dest.spatialReferenceId;if(s===d&&!c(d)&&(s!==u.rz.UNKNOWN||(0,l.aI)(t,r)))return(0,o.kN)(e,n),!0;if(c(d)){const t=u.w5[s][u.rz.LON_LAT],r=u.w5[u.rz.LON_LAT][d];return null!=t&&null!=r&&(t(n,0,p,0),r(p,0,g,0),a(f*p[0],f*p[1],e),e[12]=g[0],e[13]=g[1],e[14]=g[2],!0)}const h=c(s);if((d===u.rz.WEB_MERCATOR||d===u.rz.PLATE_CARREE||d===u.rz.WGS84||d===u.rz.CGCS2000)&&(s===u.rz.WGS84||h||s===u.rz.WEB_MERCATOR||s===u.rz.CGCS2000)){const t=u.w5[s][u.rz.LON_LAT],r=u.w5[u.rz.LON_LAT][d];return null!=t&&null!=r&&(t(n,0,p,0),r(p,0,g,0),h?function(t,n,e){a(t,n,e),(0,o.mg)(e,e)}(f*p[0],f*p[1],e):(0,o.D_)(e),e[12]=g[0],e[13]=g[1],e[14]=g[2],!0)}return!1}function c(t){return t===u.rz.SPHERICAL_ECEF||t===u.rz.SPHERICAL_MARS_PCPF||t===u.rz.SPHERICAL_MOON_PCPF||t===u.rz.WGS84_ECEF}const f=(0,r.kU)(1),p=(0,i.vt)(),g=(0,i.vt)()},65686:(t,n,e)=>{e.d(n,{a:()=>i,b:()=>c,l:()=>s,n:()=>u,t:()=>a});var r=e(40876),o=(e(44208),e(53966));function i(t,n,e){a(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function a(t,n,e,r=4,o=r){if(t.length/r!=n.length/o)return;const i=t.length/r,a=e[0],u=e[1],l=e[2],s=e[3],c=e[4],f=e[5],p=e[6],g=e[7],d=e[8];let h=0,y=0;for(let e=0;e<i;e++){const e=n[h],i=n[h+1],m=n[h+2],A=n[h+3];t[y]=a*e+s*i+p*m,t[y+1]=u*e+c*i+g*m,t[y+2]=l*e+f*i+d*m,t[y+3]=A,h+=o,y+=r}}function u(t,n){const e=Math.min(t.count,n.count),r=t.typedBuffer,o=t.typedBufferStride,i=n.typedBuffer,a=n.typedBufferStride;for(let t=0;t<e;t++){const n=t*o,e=t*a,u=i[e],l=i[e+1],s=i[e+2],c=u*u+l*l+s*s;if(c>0){const t=1/Math.sqrt(c);r[n]=t*u,r[n+1]=t*l,r[n+2]=t*s}}}function l(t,n,e,r=4){const o=Math.min(t.length/r,n.count),i=n.typedBuffer,a=n.typedBufferStride;let u=0,l=0;for(let n=0;n<o;n++)t[l]=e*i[u],t[l+1]=e*i[u+1],t[l+2]=e*i[u+2],t[l+3]=e*i[u+3],u+=a,l+=r}function s(t,n,e,r){c(t.typedBuffer,n,e,r,t.typedBufferStride)}function c(t,n,e,o,i=4){const a=Math.min(t.length/i,n.count),u=n.typedBuffer,l=n.typedBufferStride;let s=0,c=0;const f=1/r.Tf;for(let n=0;n<a;n++)t[c]=o*(e*u[s])**f,t[c+1]=o*(e*u[s+1])**f,t[c+2]=o*(e*u[s+2])**f,t[c+3]=o*e*u[s+3],s+=l,c+=i}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:s,normalize:u,scale:l,scaleView:function(t,n,e){l(t.typedBuffer,n,e,t.typedBufferStride)},transformMat3:a,transformMat3View:i,transformMat4:function(t,n,e,r=4,i=r){if(t.length/r!=n.length/i)return void o.A.getLogger("esri.views.3d.support.buffer.math").error("source and destination buffers need to have the same number of elements");const a=t.length/r,u=e[0],l=e[1],s=e[2],c=e[3],f=e[4],p=e[5],g=e[6],d=e[7],h=e[8],y=e[9],m=e[10],A=e[11],M=e[12],T=e[13],v=e[14],b=e[15];let w=0,S=0;for(let e=0;e<a;e++){const e=n[w],o=n[w+1],a=n[w+2],B=n[w+3];t[S]=u*e+f*o+h*a+M*B,t[S+1]=l*e+p*o+y*a+T*B,t[S+2]=s*e+g*o+m*a+v*B,t[S+3]=c*e+d*o+A*a+b*B,w+=i,S+=r}},transformMat4View:function(t,n,e){if(t.count!==n.count)return;const r=t.count,o=e[0],i=e[1],a=e[2],u=e[3],l=e[4],s=e[5],c=e[6],f=e[7],p=e[8],g=e[9],d=e[10],h=e[11],y=e[12],m=e[13],A=e[14],M=e[15],T=t.typedBuffer,v=t.typedBufferStride,b=n.typedBuffer,w=n.typedBufferStride;for(let t=0;t<r;t++){const n=t*v,e=t*w,r=b[e],S=b[e+1],B=b[e+2],_=b[e+3];T[n]=o*r+l*S+p*B+y*_,T[n+1]=i*r+s*S+g*B+m*_,T[n+2]=a*r+c*S+d*B+A*_,T[n+3]=u*r+f*S+h*B+M*_}}},Symbol.toStringTag,{value:"Module"}))},65806:(t,n,e)=>{e.d(n,{g:()=>a});var r=e(51850),o=e(80586),i=e(9762);function a(t,n,e,r){if((0,o.canProjectWithoutEngine)(t.spatialReference,e)){u[0]=t.x,u[1]=t.y;const o=t.z;return u[2]=o??r??0,(0,i.projectBuffer)(u,t.spatialReference,0,n,e,0)}const a=(0,o.tryProjectWithZConversion)(t,e);return!!a&&(n[0]=a?.x,n[1]=a?.y,n[2]=a?.z??r??0,!0)}const u=(0,r.vt)()},72258:(t,n,e)=>{e.d(n,{UR:()=>v,p5:()=>T,xK:()=>R});var r=e(53966),o=e(34727),i=e(83047),a=e(77690),u=e(29242),l=e(58083),s=e(9093),c=e(38954),f=e(51850),p=e(98764),g=e(48353),d=e(65806),h=e(27615),y=e(21325),m=e(73354),A=e(22141);const M=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function T(t,n,{vertexSpace:e,spatialReference:r}){if("georeferenced"===e.type){const o=t;if(!(0,d.g)(n,o,r))return!1;const{origin:i}=e;return(0,c.d)(t,o,i),!0}const o=(0,p.lO)(r),i=t;if(!(0,d.g)(n,i,o))return!1;const{origin:a}=e,u=x;if(!(0,g.l)(r,a,u,o))return!1;const s=(0,l.B8)(x,u);return null!=s&&((0,c.t)(t,i,s),!0)}function v(t,n,e){const{vertexSpace:r,transform:o,vertexAttributes:i}=t,u=(0,h.Hq)(r)?o:null,f=B(t.spatialReference,e,O.SOURCE_AND_TARGET);if((0,h.yJ)(r,n)&&(!u||(0,l.t2)(u.localMatrix,s.zK))&&_(f)){const{position:t,normal:n,tangent:r}=i,o=e?.allowBufferReuse;return{position:o?t:t.slice(),normal:o?n:n?.slice(),tangent:o?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===n.type?function({vertexAttributes:t,spatialReference:n,transform:e},{origin:r},o,i){const a=b(n,i);if(!(0,g.l)(n,r,C,a))return(0,A.CN)(M(),n,a),null;if(e&&(0,l.lw)(C,C,e.localMatrix),!(0,g.l)(n,o,E,a))return(0,A.CN)(M(),a,n),null;(0,l.B8)(E,E);const u=(0,l.lw)(C,E,C);return S(u,n,i,O.SOURCE_AND_TARGET),w(t,u)}(t,t.vertexSpace,n.origin,e):function({spatialReference:t,vertexAttributes:n,transform:e},{origin:r},o,i){const a=b(t,i);if(!(0,g.l)(t,r,C,a))return(0,A.CN)(M(),t,a),null;e&&(0,l.lw)(C,C,e.localMatrix),S(C,t,i,O.SOURCE);const u=new Float64Array(n.position.length),s=function(t,n,e,r,o){(0,m.t)(r,t,n);const i=new Float64Array(t.length);return(0,A.$5)(r,o,i,e)?i:((0,A.CN)(M(),o,e),null)}(n.position,C,t,u,a);if(!s)return null;const f=function(t,n,e,r,o,i){if(null==o)return null;const a=new Float32Array(o.length);return(0,A.qs)(o,a,i),(0,A.si)(a,t,n,e,r,a)?a:((0,A.CN)(M(),r,n),null)}(s,t,u,a,n.normal,C);if(n.normal&&!f)return null;const p=function(t,n,e,r,o,i){if(null==o)return null;const a=new Float32Array(o.length);return(0,A.KM)(o,a,i),(0,A.Mv)(a,t,n,e,r,a)?a:((0,A.CN)(M(),r,n),null)}(s,t,u,a,n.tangent,C);if(n.tangent&&!p)return null;if(o){const t=(0,c.u)(F,o);(0,m.a)(s,s,t)}return{position:s,normal:f,tangent:p}}(t,t.vertexSpace,n.origin,e);case"georeferenced":return"local"===n.type?function({vertexAttributes:t,spatialReference:n,transform:e},{origin:r},o,i){const u=b(n,i);if(!(0,g.l)(n,o,C,u))return(0,A.CN)(M(),n,u),null;const s=1/B(n,i,O.TARGET);(0,l.hs)(C,C,[s,s,s]);const c=(0,l.B8)(E,C),{position:f,normal:p,tangent:d}=function(t,n,e){if(!n)return t;if(!e){const{position:e,normal:r,tangent:o}=t;return{position:(0,m.a)(new Float64Array(e.length),e,n),tangent:o,normal:r}}const r=w(t,e.localMatrix);return(0,m.a)(r.position,r.position,n),r}(t,r,e),h=new Float64Array(f.length),y=function(t,n,e,r,o){const i=(0,A.gr)(t,n,r,o);if(!i)return(0,A.CN)(M(),n,o),null;const a=new Float64Array(i.length);return(0,m.t)(a,i,e),a}(f,n,c,h,u);if(!y)return null;const T=(0,a.Ge)(N,c),v=function(t,n,e,r,o,i,a){if(null==t)return null;const u=a??new Float32Array(t.length);return(0,A.X4)(t,n,e,r,o,u)?((0,m.b)(u,u,i),u):((0,A.CN)(M(),e,o),null)}(p,f,n,h,u,T,p!==t.normal?p:void 0);if(!v&&p)return null;const S=function(t,n,e,r,o,i,a){if(null==t)return null;const u=a??new Float32Array(t.length);return(0,A.xA)(t,n,e,r,o,u)?((0,m.b)(u,u,i,4),u):((0,A.CN)(M(),e,o),null)}(d,f,n,h,u,T,d!==t.tangent?d:void 0);return!S&&d?null:{position:y,normal:v,tangent:S}}(t,t.vertexSpace,n.origin,e):function({vertexAttributes:t,transform:n,spatialReference:e},{origin:r},o,i){const a=B(e,i,O.SOURCE_AND_TARGET),u=r||!_(a)?(0,l.C)(C,n?.localMatrix??s.zK):null;u&&S(u,e,i,O.SOURCE_AND_TARGET);const{position:f,normal:p,tangent:g}=u?w(t,u):t,d=i?.allowBufferReuse,h=d?f:new Float64Array(f.length);let y=f;if(r&&(y=(0,m.a)(h,y,r)),o){const t=(0,c.u)(F,o);y=(0,m.a)(h,y,t)}return{position:y!==t.position||d?y:y.slice(),normal:p!==t.normal||d?p:p?.slice(),tangent:g!==t.tangent||d?g:g?.slice()}}(t,t.vertexSpace,n.origin,e)}}function b(t,n){return n?.useEllipsoid&&(0,y.B3)(t)?p.Y0:(0,p.lO)(t)}function w(t,n){const e=new Float64Array(t.position.length);(0,m.t)(e,t.position,n);const r=t.normal?new Float32Array(t.normal.length):null,o=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,A.qs)(t.normal,r,n),o&&t.tangent&&(0,A.KM)(t.tangent,o,n),{position:e,normal:r,tangent:o}}function S(t,n,e,r){const o=B(n,e,r);_(o)||(0,l.hs)(t,t,[o,o,o])}function B(t,n,e){const r=!!(e&O.SOURCE),o=!!(e&O.TARGET),i=n?.sourceUnit,a=n?.targetUnit;if(!i&&!a)return 1;let u=R(i,t);r||!i||_(u)||(M().warn("source unit conversion not supported"),u=1);let l=1/R(a,t);return o||!a||_(l)||(M().warn("target unit conversion not supported"),l=1),u*l}function _(t){return(0,o.Io)(t,1)}function R(t,n){if(null==t)return 1;const e=(0,i.KX)(n);return 1/(0,i.oU)(e,"meters",t)}const C=(0,s.vt)(),E=(0,s.vt)(),N=(0,u.vt)(),F=(0,f.vt)(),x=(0,s.vt)();var O,P;(P=O||(O={}))[P.NONE=0]="NONE",P[P.SOURCE=1]="SOURCE",P[P.TARGET=2]="TARGET",P[P.SOURCE_AND_TARGET=3]="SOURCE_AND_TARGET"},73354:(t,n,e)=>{e.d(n,{a:()=>f,b:()=>u,c:()=>a,d:()=>o,e:()=>p,f:()=>c,l:()=>s,n:()=>g,t:()=>i});var r=e(40876);function o(t,n,e){i(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function i(t,n,e,r=3,o=r){if(t.length/r!==Math.ceil(n.length/o))return t;const i=t.length/r,a=e[0],u=e[1],l=e[2],s=e[4],c=e[5],f=e[6],p=e[8],g=e[9],d=e[10],h=e[12],y=e[13],m=e[14];let A=0,M=0;for(let e=0;e<i;e++){const e=n[A],i=n[A+1],T=n[A+2];t[M]=a*e+s*i+p*T+h,t[M+1]=u*e+c*i+g*T+y,t[M+2]=l*e+f*i+d*T+m,A+=o,M+=r}return t}function a(t,n,e){u(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function u(t,n,e,r=3,o=r){if(t.length/r!==Math.ceil(n.length/o))return;const i=t.length/r,a=e[0],u=e[1],l=e[2],s=e[3],c=e[4],f=e[5],p=e[6],g=e[7],d=e[8];let h=0,y=0;for(let e=0;e<i;e++){const e=n[h],i=n[h+1],m=n[h+2];t[y]=a*e+s*i+p*m,t[y+1]=u*e+c*i+g*m,t[y+2]=l*e+f*i+d*m,h+=o,y+=r}}function l(t,n,e,r=3,o=r){const i=Math.min(t.length/r,n.length/o);let a=0,u=0;for(let l=0;l<i;l++)t[u]=e*n[a],t[u+1]=e*n[a+1],t[u+2]=e*n[a+2],a+=o,u+=r;return t}function s(t,n,e,r){c(t.typedBuffer,n.typedBuffer,e,r,t.typedBufferStride,n.typedBufferStride)}function c(t,n,e,o,i=3,a=i){const u=Math.min(t.length/i,n.length/a);let l=0,s=0;const c=1/r.Tf;for(let r=0;r<u;r++)t[s]=o*(e*n[l])**c,t[s+1]=o*(e*n[l+1])**c,t[s+2]=o*(e*n[l+2])**c,l+=a,s+=i}function f(t,n,e,r=3,o=r){const i=t.length/r;if(i!==Math.ceil(n.length/o))return t;let a=0,u=0;for(let l=0;l<i;l++)t[u]=n[a]+e[0],t[u+1]=n[a+1]+e[1],t[u+2]=n[a+2]+e[2],a+=o,u+=r;return t}function p(t,n){g(t.typedBuffer,n.typedBuffer,t.typedBufferStride,n.typedBufferStride)}function g(t,n,e=3,r=e){const o=Math.min(t.length/e,n.length/r);let i=0,a=0;for(let u=0;u<o;u++){const o=n[i],u=n[i+1],l=n[i+2],s=o*o+u*u+l*l;if(s>0){const n=1/Math.sqrt(s);t[a]=n*o,t[a+1]=n*u,t[a+2]=n*l}i+=r,a+=e}}e(44208),e(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:s,normalize:g,normalizeView:p,scale:l,scaleView:function(t,n,e){l(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)},shiftRight:function(t,n,e){const r=Math.min(t.count,n.count),o=t.typedBuffer,i=t.typedBufferStride,a=n.typedBuffer,u=n.typedBufferStride;let l=0,s=0;for(let t=0;t<r;t++)o[s]=a[l]>>e,o[s+1]=a[l+1]>>e,o[s+2]=a[l+2]>>e,l+=u,s+=i},transformMat3:u,transformMat3View:a,transformMat4:i,transformMat4View:o,translate:f},Symbol.toStringTag,{value:"Module"}))},77690:(t,n,e)=>{e.d(n,{B8:()=>u,Ge:()=>p,I0:()=>f,KC:()=>l,hZ:()=>i,hs:()=>c,lw:()=>s,mg:()=>a,z0:()=>o});var r=e(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function i(t,n,e,r,o,i,a,u,l,s){return t[0]=n,t[1]=e,t[2]=r,t[3]=o,t[4]=i,t[5]=a,t[6]=u,t[7]=l,t[8]=s,t}function a(t,n){if(t===n){const e=n[1],r=n[2],o=n[5];t[1]=n[3],t[2]=n[6],t[3]=e,t[5]=n[7],t[6]=r,t[7]=o}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function u(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=n[4],u=n[5],l=n[6],s=n[7],c=n[8],f=c*a-u*s,p=-c*i+u*l,g=s*i-a*l;let d=e*f+r*p+o*g;return d?(d=1/d,t[0]=f*d,t[1]=(-c*r+o*s)*d,t[2]=(u*r-o*a)*d,t[3]=p*d,t[4]=(c*e-o*l)*d,t[5]=(-u*e+o*i)*d,t[6]=g*d,t[7]=(-s*e+r*l)*d,t[8]=(a*e-r*i)*d,t):null}function l(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=n[4],u=n[5],l=n[6],s=n[7],c=n[8];return t[0]=a*c-u*s,t[1]=o*s-r*c,t[2]=r*u-o*a,t[3]=u*l-i*c,t[4]=e*c-o*l,t[5]=o*i-e*u,t[6]=i*s-a*l,t[7]=r*l-e*s,t[8]=e*a-r*i,t}function s(t,n,e){const r=n[0],o=n[1],i=n[2],a=n[3],u=n[4],l=n[5],s=n[6],c=n[7],f=n[8],p=e[0],g=e[1],d=e[2],h=e[3],y=e[4],m=e[5],A=e[6],M=e[7],T=e[8];return t[0]=p*r+g*a+d*s,t[1]=p*o+g*u+d*c,t[2]=p*i+g*l+d*f,t[3]=h*r+y*a+m*s,t[4]=h*o+y*u+m*c,t[5]=h*i+y*l+m*f,t[6]=A*r+M*a+T*s,t[7]=A*o+M*u+T*c,t[8]=A*i+M*l+T*f,t}function c(t,n,e){const r=e[0],o=e[1],i=e[2];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t[6]=i*n[6],t[7]=i*n[7],t[8]=i*n[8],t}function f(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=e+e,u=r+r,l=o+o,s=e*a,c=r*a,f=r*u,p=o*a,g=o*u,d=o*l,h=i*a,y=i*u,m=i*l;return t[0]=1-f-d,t[3]=c-m,t[6]=p+y,t[1]=c+m,t[4]=1-s-d,t[7]=g-h,t[2]=p-y,t[5]=g+h,t[8]=1-s-f,t}function p(t,n){const e=n[0],r=n[1],o=n[2],i=n[3],a=n[4],u=n[5],l=n[6],s=n[7],c=n[8],f=n[9],p=n[10],g=n[11],d=n[12],h=n[13],y=n[14],m=n[15],A=e*u-r*a,M=e*l-o*a,T=e*s-i*a,v=r*l-o*u,b=r*s-i*u,w=o*s-i*l,S=c*h-f*d,B=c*y-p*d,_=c*m-g*d,R=f*y-p*h,C=f*m-g*h,E=p*m-g*y;let N=A*E-M*C+T*R+v*_-b*B+w*S;return N?(N=1/N,t[0]=(u*E-l*C+s*R)*N,t[1]=(l*_-a*E-s*B)*N,t[2]=(a*C-u*_+s*S)*N,t[3]=(o*C-r*E-i*R)*N,t[4]=(e*E-o*_+i*B)*N,t[5]=(r*_-e*C-i*S)*N,t[6]=(h*w-y*b+m*v)*N,t[7]=(y*T-d*w-m*M)*N,t[8]=(d*b-h*T+m*A)*N,t):null}function g(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t[4]=n[4]-e[4],t[5]=n[5]-e[5],t[6]=n[6]-e[6],t[7]=n[7]-e[7],t[8]=n[8]-e[8],t}const d=s,h=g;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t[4]=n[4]+e[4],t[5]=n[5]+e[5],t[6]=n[6]+e[6],t[7]=n[7]+e[7],t[8]=n[8]+e[8],t},adjoint:l,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},determinant:function(t){const n=t[0],e=t[1],r=t[2],o=t[3],i=t[4],a=t[5],u=t[6],l=t[7],s=t[8];return n*(s*i-a*l)+e*(-s*o+a*u)+r*(l*o-i*u)},equals:function(t,n){const e=t[0],o=t[1],i=t[2],a=t[3],u=t[4],l=t[5],s=t[6],c=t[7],f=t[8],p=n[0],g=n[1],d=n[2],h=n[3],y=n[4],m=n[5],A=n[6],M=n[7],T=n[8],v=(0,r.FD)();return Math.abs(e-p)<=v*Math.max(1,Math.abs(e),Math.abs(p))&&Math.abs(o-g)<=v*Math.max(1,Math.abs(o),Math.abs(g))&&Math.abs(i-d)<=v*Math.max(1,Math.abs(i),Math.abs(d))&&Math.abs(a-h)<=v*Math.max(1,Math.abs(a),Math.abs(h))&&Math.abs(u-y)<=v*Math.max(1,Math.abs(u),Math.abs(y))&&Math.abs(l-m)<=v*Math.max(1,Math.abs(l),Math.abs(m))&&Math.abs(s-A)<=v*Math.max(1,Math.abs(s),Math.abs(A))&&Math.abs(c-M)<=v*Math.max(1,Math.abs(c),Math.abs(M))&&Math.abs(f-T)<=v*Math.max(1,Math.abs(f),Math.abs(T))},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromMat4:o,fromQuat:f,fromRotation:function(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=e,t[2]=0,t[3]=-e,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:u,isOrthoNormal:function(t){const n=(0,r.FD)(),e=t[0],o=t[1],i=t[2],a=t[3],u=t[4],l=t[5],s=t[6],c=t[7],f=t[8];return Math.abs(1-(e*e+a*a+s*s))<=n&&Math.abs(1-(o*o+u*u+c*c))<=n&&Math.abs(1-(i*i+l*l+f*f))<=n},mul:d,multiply:s,multiplyScalar:function(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*e,t[5]=n[5]*e,t[6]=n[6]*e,t[7]=n[7]*e,t[8]=n[8]*e,t},multiplyScalarAndAdd:function(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t[3]=n[3]+e[3]*r,t[4]=n[4]+e[4]*r,t[5]=n[5]+e[5]*r,t[6]=n[6]+e[6]*r,t[7]=n[7]+e[7]*r,t[8]=n[8]+e[8]*r,t},normalFromMat4:p,normalFromMat4Legacy:function(t,n){const e=n[0],r=n[1],o=n[2],i=n[4],a=n[5],u=n[6],l=n[8],s=n[9],c=n[10],f=c*a-u*s,p=-c*i+u*l,g=s*i-a*l,d=e*f+r*p+o*g;if(!d)return null;const h=1/d;return t[0]=f*h,t[1]=(-c*r+o*s)*h,t[2]=(u*r-o*a)*h,t[3]=p*h,t[4]=(c*e-o*l)*h,t[5]=(-u*e+o*i)*h,t[6]=g*h,t[7]=(-s*e+r*l)*h,t[8]=(a*e-r*i)*h,t},projection:function(t,n,e){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/e,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,n,e){const r=n[0],o=n[1],i=n[2],a=n[3],u=n[4],l=n[5],s=n[6],c=n[7],f=n[8],p=Math.sin(e),g=Math.cos(e);return t[0]=g*r+p*a,t[1]=g*o+p*u,t[2]=g*i+p*l,t[3]=g*a-p*r,t[4]=g*u-p*o,t[5]=g*l-p*i,t[6]=s,t[7]=c,t[8]=f,t},scale:c,scaleByVec2:function(t,n,e){const r=e[0],o=e[1];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=o*n[3],t[4]=o*n[4],t[5]=o*n[5],t},set:i,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:h,subtract:g,translate:function(t,n,e){const r=n[0],o=n[1],i=n[2],a=n[3],u=n[4],l=n[5],s=n[6],c=n[7],f=n[8],p=e[0],g=e[1];return t[0]=r,t[1]=o,t[2]=i,t[3]=a,t[4]=u,t[5]=l,t[6]=p*r+g*a+s,t[7]=p*o+g*u+c,t[8]=p*i+g*l+f,t},transpose:a},Symbol.toStringTag,{value:"Module"}))},98764:(t,n,e)=>{e.d(n,{Y0:()=>s,lO:()=>c});var r=e(73941),o=e(16930),i=e(21325);const a=new o.A(r.fv),u=new o.A(r.FY),l=new o.A(r.LJ),s=new o.A(r.Ro);function c(t){const n=f.get(t);if(n)return n;let e=a;if(t)if(t===u)e=u;else if(t===l)e=l;else{const n=t.wkid,r=t.latestWkid;if(null!=n||null!=r)(0,i.tl)(n)||(0,i.tl)(r)?e=u:((0,i.ZL)(n)||(0,i.ZL)(r))&&(e=l);else{const n=t.wkt2??t.wkt;if(n){const t=n.toUpperCase();t===p?e=u:t===g&&(e=l)}}}return f.set(t,e),e}const f=new Map,p=u.wkt.toUpperCase(),g=l.wkt.toUpperCase()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7036],{4902:(e,t,i)=>{i.d(t,{A:()=>u});var r=i(90237),s=i(40608);let l=0;const n=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+l++})}};return t=(0,r._)([(0,s.$)("esri.core.Identifiable")],t),t};let o=class extends(n(class{})){};var a;o=(0,r._)([(0,s.$)("esri.core.Identifiable")],o),(a=o||(o={})).IdentifiableMixin=n,a.NumericIdentifiableMixin=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:l++})}};return t=(0,r._)([(0,s.$)("esri.core.Identifiable.NumericIdentifiable")],t),t};const u=o},17029:(e,t,i)=>{i.r(t),i.d(t,{default:()=>j});var r,s=i(90237),l=i(78888),n=i(51447),o=i(49186),a=i(66552),u=i(53966),p=i(92071),c=i(10107),d=(i(44208),i(87811),i(40608)),h=i(86738),g=i(16930),y=i(5443),w=i(19419),f=i(4146),m=i(63074),v=i(54310),b=i(25036),M=i(33446),A=i(87045);const _=new(i(72802).U)("0/0/0",0,0,0,void 0);let T=r=class extends((0,m.dM)((0,b.j)((0,v.J)(f.A)))){constructor(){super(...arguments),this.tileInfo=A.A.create({spatialReference:g.A.WebMercator,size:256}),this.type="base-tile",this.fullExtent=new y.A(-20037508.342787,-20037508.34278,20037508.34278,20037508.342787,g.A.WebMercator),this.spatialReference=g.A.WebMercator}addResolvingPromise(e){super.addResolvingPromise(e)}getTileBounds(e,t,i,r){const s=r||(0,w.vt)();return _.level=e,_.row=t,_.col=i,_.extent=s,this.tileInfo.updateTileInfo(_),_.extent=void 0,s}fetchTile(e,t,i,r={}){const{signal:s}=r,n=this.getTileUrl(e,t,i),o={responseType:"image",signal:s,query:{...this.refreshParameters}};return(0,l.A)(n??"",o).then((e=>e.data))}async fetchImageBitmapTile(e,t,i,s={}){const{signal:n}=s;if(this.fetchTile!==r.prototype.fetchTile){const r=await this.fetchTile(e,t,i,s);return(0,M.C)(r,e,t,i,n)}const o=this.getTileUrl(e,t,i)??"",a={responseType:"blob",signal:n,query:{...this.refreshParameters}},{data:u}=await(0,l.A)(o,a);return(0,M.C)(u,e,t,i,n)}getTileUrl(){throw new o.A("basetilelayer:gettileurl-not-implemented","getTileUrl() is not implemented")}};(0,s._)([(0,c.MZ)({type:A.A})],T.prototype,"tileInfo",void 0),(0,s._)([(0,c.MZ)({type:["show","hide"]})],T.prototype,"listMode",void 0),(0,s._)([(0,c.MZ)({readOnly:!0,value:"base-tile"})],T.prototype,"type",void 0),(0,s._)([(0,c.MZ)({nonNullable:!0})],T.prototype,"fullExtent",void 0),(0,s._)([(0,c.MZ)()],T.prototype,"spatialReference",void 0),T=r=(0,s._)([(0,d.$)("esri.layers.BaseTileLayer")],T);var x=i(16131),S=i(91806);const E=new a.J({BingMapsAerial:"aerial",BingMapsRoad:"road",BingMapsHybrid:"hybrid"});(0,n.uW)(u.A.getLogger("esri.layers.BingMapsLayer"),"esri.layers.BingMapsLayer",{version:"4.33",warnOnce:!0});let O=class extends((0,m.dM)((0,x.q)((0,p.P)(T)))){constructor(e){super(e),this.type="bing-maps",this.tileInfo=new A.A({size:[256,256],dpi:96,origin:new h.A({x:-20037508.342787,y:20037508.342787,spatialReference:g.A.WebMercator}),spatialReference:g.A.WebMercator,lods:[new S.A({level:1,resolution:78271.5169639999,scale:295828763.795777}),new S.A({level:2,resolution:39135.7584820001,scale:147914381.897889}),new S.A({level:3,resolution:19567.8792409999,scale:73957190.948944}),new S.A({level:4,resolution:9783.93962049996,scale:36978595.474472}),new S.A({level:5,resolution:4891.96981024998,scale:18489297.737236}),new S.A({level:6,resolution:2445.98490512499,scale:9244648.868618}),new S.A({level:7,resolution:1222.99245256249,scale:4622324.434309}),new S.A({level:8,resolution:611.49622628138,scale:2311162.217155}),new S.A({level:9,resolution:305.748113140558,scale:1155581.108577}),new S.A({level:10,resolution:152.874056570411,scale:577790.554289}),new S.A({level:11,resolution:76.4370282850732,scale:288895.277144}),new S.A({level:12,resolution:38.2185141425366,scale:144447.638572}),new S.A({level:13,resolution:19.1092570712683,scale:72223.819286}),new S.A({level:14,resolution:9.55462853563415,scale:36111.909643}),new S.A({level:15,resolution:4.77731426794937,scale:18055.954822}),new S.A({level:16,resolution:2.38865713397468,scale:9027.977411}),new S.A({level:17,resolution:1.19432856685505,scale:4513.988705}),new S.A({level:18,resolution:.597164283559817,scale:2256.994353}),new S.A({level:19,resolution:.298582141647617,scale:1128.497176}),new S.A({level:20,resolution:.1492910708238085,scale:564.248588})]}),this.key=null,this.style="road",this.culture="en-US",this.region=null,this.portalUrl=null,this.hasAttributionData=!0}get bingMetadata(){return this._get("bingMetadata")}set bingMetadata(e){this._set("bingMetadata",e)}get copyright(){return null!=this.bingMetadata?this.bingMetadata.copyright:null}get operationalLayerType(){return E.toJSON(this.style)}get bingLogo(){return null!=this.bingMetadata?this.bingMetadata.brandLogoUri:null}load(e){return this.key?this.addResolvingPromise(this._getMetadata()):this.portalUrl?this.addResolvingPromise(this._getPortalBingKey().then((()=>this._getMetadata()))):this.addResolvingPromise(Promise.reject(new o.A("bingmapslayer:load","Bing layer must have bing key."))),Promise.resolve(this)}getTileUrl(e,t,i){if(!this.loaded||null==this.bingMetadata)return null;const r=this.bingMetadata.resourceSets[0].resources[0],s=r.imageUrlSubdomains[t%r.imageUrlSubdomains.length],l=this._getQuadKey(e,t,i);return r.imageUrl.replace("{subdomain}",s).replace("{quadkey}",l)}async fetchAttributionData(){return this.load().then((()=>null==this.bingMetadata?null:{contributors:this.bingMetadata.resourceSets[0].resources[0].imageryProviders.map((e=>({attribution:e.attribution,coverageAreas:e.coverageAreas.map((e=>({zoomMin:e.zoomMin,zoomMax:e.zoomMax,score:1,bbox:[e.bbox[0],e.bbox[1],e.bbox[2],e.bbox[3]]})))})))}))}_getMetadata(){const e={road:"roadOnDemand",aerial:"aerial",hybrid:"aerialWithLabelsOnDemand"}[this.style];return(0,l.A)(`https://dev.virtualearth.net/REST/v1/Imagery/Metadata/${e}`,{responseType:"json",query:{include:"ImageryProviders",uriScheme:"https",key:this.key,suppressStatus:!0,output:"json",culture:this.culture,userRegion:this.region}}).then((e=>{const t=e.data;if(200!==t.statusCode)throw new o.A("bingmapslayer:getmetadata",t.statusDescription);if(this.bingMetadata=t,0===this.bingMetadata.resourceSets.length)throw new o.A("bingmapslayer:getmetadata","no bing resourcesets");if(0===this.bingMetadata.resourceSets[0].resources.length)throw new o.A("bingmapslayer:getmetadata","no bing resources")})).catch((e=>{throw new o.A("bingmapslayer:getmetadata",e.message)}))}_getPortalBingKey(){return(0,l.A)(this.portalUrl??"",{responseType:"json",authMode:"no-prompt",query:{f:"json"}}).then((e=>{if(!e.data.bingKey)throw new o.A("bingmapslayer:getportalbingkey","The referenced Portal does not contain a valid bing key");this.key=e.data.bingKey})).catch((e=>{throw new o.A("bingmapslayer:getportalbingkey",e.message)}))}_getQuadKey(e,t,i){let r="";for(let s=e;s>0;s--){let e=0;const l=1<<s-1;i&l&&(e+=1),t&l&&(e+=2),r+=e.toString()}return r}};(0,s._)([(0,c.MZ)({json:{read:!1,write:!1},value:null})],O.prototype,"bingMetadata",null),(0,s._)([(0,c.MZ)({json:{read:!1,write:!1},value:"bing-maps",readOnly:!0})],O.prototype,"type",void 0),(0,s._)([(0,c.MZ)({type:A.A})],O.prototype,"tileInfo",void 0),(0,s._)([(0,c.MZ)({type:String,readOnly:!0,json:{read:!1,write:!1}})],O.prototype,"copyright",null),(0,s._)([(0,c.MZ)({type:String,json:{write:!1,read:!1}})],O.prototype,"key",void 0),(0,s._)([(0,c.MZ)({type:E.apiValues,nonNullable:!0,json:{read:{source:"layerType",reader:E.read}}})],O.prototype,"style",void 0),(0,s._)([(0,c.MZ)({type:["BingMapsAerial","BingMapsHybrid","BingMapsRoad"]})],O.prototype,"operationalLayerType",null),(0,s._)([(0,c.MZ)({type:String,json:{write:!1,read:!1}})],O.prototype,"culture",void 0),(0,s._)([(0,c.MZ)({type:String,json:{write:!1,read:!1}})],O.prototype,"region",void 0),(0,s._)([(0,c.MZ)({type:String,json:{write:!0,read:!0}})],O.prototype,"portalUrl",void 0),(0,s._)([(0,c.MZ)({type:Boolean,json:{write:!1,read:!1}})],O.prototype,"hasAttributionData",void 0),(0,s._)([(0,c.MZ)({type:String,readOnly:!0})],O.prototype,"bingLogo",null),O=(0,s._)([(0,d.$)("esri.layers.BingMapsLayer")],O);const j=O},33446:(e,t,i)=>{i.d(t,{C:()=>n,m:()=>l});var r=i(49186),s=i(74887);async function l(e,t,i){let l;try{l=await createImageBitmap(e)}catch(e){throw new r.A("request:server",`Unable to load ${t}`,{url:t,error:e})}return(0,s.Te)(i),l}async function n(e,t,i,l,n){let o;try{o=await createImageBitmap(e)}catch(e){throw new r.A("request:server",`Unable to load tile ${t}/${i}/${l}`,{error:e,level:t,row:i,col:l})}return(0,s.Te)(n),o}},64272:(e,t,i)=>{i.d(t,{T:()=>d});var r,s=i(90237),l=i(25482),n=i(88930),o=i(10107),a=(i(44208),i(53966),i(87811),i(36005)),u=i(40608),p=i(43937),c=i(98623);let d=class extends l.A{static{r=this}static get allTime(){return h}static get empty(){return g}static fromArray(e){return new r({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(r.allTime)}get isEmpty(){return this.equals(r.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new r({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,i=this.end?.getTime()??this.end,r=e.start?.getTime()??e.start,s=e.end?.getTime()??e.end;return t===r&&i===s}expandTo(e,t=c.qU){if(this.isEmpty||this.isAllTime)return this.clone();let i=this.start;i&&(i=(0,n.lL)(i,e,t));let s=this.end;if(s){const i=(0,n.lL)(s,e,t);s=s.getTime()===i.getTime()?i:(0,n.S1)(i,1,e,t)}return new r({start:i,end:s})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return r.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,i=this.end?.getTime()??1/0,s=e.start?.getTime()??-1/0,l=e.end?.getTime()??1/0;let n,o;return s>=t&&s<=i?n=s:t>=s&&t<=l&&(n=t),i>=s&&i<=l?o=i:l>=t&&l<=i&&(o=l),null==n||null==o||isNaN(n)||isNaN(o)?r.empty:new r({start:n===-1/0?null:new Date(n),end:o===1/0?null:new Date(o)})}offset(e,t,i=c.qU){if(this.isEmpty||this.isAllTime)return this.clone();const s=new r,{start:l,end:o}=this;return null!=l&&(s.start=(0,n.S1)(l,e,t,i)),null!=o&&(s.end=(0,n.S1)(o,e,t,i)),s}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return h.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,i=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new r({start:t,end:i})}};(0,s._)([(0,o.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,s._)([(0,a.w)("end")],d.prototype,"readEnd",null),(0,s._)([(0,p.K)("end")],d.prototype,"writeEnd",null),(0,s._)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,s._)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,s._)([(0,o.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,s._)([(0,a.w)("start")],d.prototype,"readStart",null),(0,s._)([(0,p.K)("start")],d.prototype,"writeStart",null),d=r=(0,s._)([(0,u.$)("esri.time.TimeExtent")],d);const h=new d,g=new d({start:void 0,end:void 0})},69540:(e,t,i)=>{i.d(t,{A:()=>d});var r=i(90237),s=i(69622),l=(i(44208),i(4718)),n=(i(53966),i(97768)),o=i(35666),a=i(88620),u=i(40608);const p=e=>{let t=class extends e{clone(){const e=(0,a.oY)(this);(0,n.Lw)(e,"unable to clone instance of non-accessor class");const t=e.metadata,i=e.store,r={},s=new Map;for(const e in t){const n=t[e],a=i?.originOf(e),u=n.clonable;if(n.readOnly||!1===u||a!==o.Gr.USER&&a!==o.Gr.DEFAULTS&&a!==o.Gr.WEB_MAP&&a!==o.Gr.WEB_SCENE)continue;const p=this[e];let c=null;c="function"==typeof u?u(p):"reference"===u?p:(0,l.TU)(p),null!=p&&null==c||(a===o.Gr.DEFAULTS?s.set(e,c):r[e]=c)}const u=new(0,Object.getPrototypeOf(this).constructor)(r);if(s.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,i]of s)e.set(t,i,o.Gr.DEFAULTS)}return u}};return t=(0,r._)([(0,u.$)("esri.core.Clonable")],t),t};let c=class extends(p(s.A)){};c=(0,r._)([(0,u.$)("esri.core.Clonable")],c),(c||(c={})).ClonableMixin=p;const d=c},72802:(e,t,i)=>{i.d(t,{U:()=>r});class r{constructor(e,t,i,r,s=void 0){this.id=e,this.level=t,this.row=i,this.col=r,this.extent=s}}},78553:(e,t,i)=>{i.d(t,{D:()=>l,p:()=>s});var r=i(56507);function s(e){const t=(0,r.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function l(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}},87045:(e,t,i)=>{i.d(t,{A:()=>M});var r,s=i(90237),l=i(66552),n=i(25482),o=i(83047),a=i(10107),u=i(56507),p=(i(44208),i(87811),i(36005)),c=i(40608),d=i(43937),h=i(86738),g=i(16930),y=i(19419),w=i(21325),f=i(28735),m=i(91806),v=i(72802);const b=new l.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let M=class extends n.A{static{r=this}static create(e={}){const{resolutionFactor:t=1,scales:i,size:s=256,spatialReference:l=g.A.WebMercator,numLODs:n=24}=e;if(!(0,w.fn)(l)){const e=[];if(i)for(let t=0;t<i.length;t++){const r=i[t];e.push(new m.A({level:t,scale:r,resolution:r}))}else{let t=5e-4;for(let i=n-1;i>=0;i--)e.unshift(new m.A({level:i,scale:t,resolution:t})),t*=2}return new r({dpi:96,lods:e,origin:new h.A(0,0,l),size:[s,s],spatialReference:l})}const a=(0,w.Vp)(l),u=e.origin?new h.A({x:e.origin.x,y:e.origin.y,spatialReference:l}):new h.A(a?{x:a.origin[0],y:a.origin[1],spatialReference:l}:{x:0,y:0,spatialReference:l}),p=1/(39.37*(0,o.GA)(l)*96),c=[];if(i)for(let e=0;e<i.length;e++){const t=i[e],r=t*p;c.push(new m.A({level:e,scale:t,resolution:r}))}else{let e=(0,w.EA)(l)?512/s*591657527.5917094:256/s*591657527.591555;const i=Math.ceil(n/t);c.push(new m.A({level:0,scale:e,resolution:e*p}));for(let r=1;r<i;r++){const i=e/2**t,s=i*p;c.push(new m.A({level:r,scale:i,resolution:s})),e=i}}return new r({dpi:96,lods:c,origin:u,size:[s,s],spatialReference:l})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const i=(0,w.Vp)(e);return e.isWrappable&&!!i&&Math.abs(i.origin[0]-t.x)<=i.dx}return!1}readOrigin(e,t){return h.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,i=0;const r=[],s=this._levelToLOD={};e&&(t=-1/0,i=1/0,e.forEach((e=>{r.push(e.scale),t=e.scale>t?e.scale:t,i=e.scale<i?e.scale:i,s[e.level]=e}))),this._set("scales",r),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const i=Math.floor(e),r=i+1;return t[i]/(t[i]/t[r])**(e-i)}scaleToZoom(e){const t=this.scales,i=t.length-1;let r=0;for(;r<i;r++){const i=t[r],s=t[r+1];if(i<=e)return r;if(s===e)return r+1;if(i>e&&s<e)return r+Math.log(i/e)/Math.log(i/s)}return r}tileAt(e,t,i,r){const s=this.lodAt(e);if(!s)return null;let l,n;if("number"==typeof t)l=t,n=i;else if((0,w.aI)(t.spatialReference,this.spatialReference))l=t.x,n=t.y,r=i;else{const e=(0,f.Cv)(t,this.spatialReference);if(null==e)return null;l=e.x,n=e.y,r=i}const o=s.resolution*this.size[0],a=s.resolution*this.size[1];return r||(r=new v.U(null,0,0,0,(0,y.vt)())),r.level=e,r.row=Math.floor((this.origin.y-n)/a+.001),r.col=Math.floor((l-this.origin.x)/o+.001),this.updateTileInfo(r),r}updateTileInfo(e,t=r.ExtrapolateOptions.NONE){let i=this.lodAt(e.level);if(!i&&t===r.ExtrapolateOptions.POWER_OF_TWO){const t=this.lods[this.lods.length-1];t.level<e.level&&(i=t)}if(!i)return;const s=e.level-i.level,l=i.resolution*this.size[0]/2**s,n=i.resolution*this.size[1]/2**s;e.id=`${e.level}/${e.row}/${e.col}`,e.extent||(e.extent=(0,y.vt)()),e.extent[0]=this.origin.x+e.col*l,e.extent[1]=this.origin.y-(e.row+1)*n,e.extent[2]=e.extent[0]+l,e.extent[3]=e.extent[1]+n}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const i=this.lodAt(t.level);if(null==i)return null;const{resolution:r}=i,s=r*this.size[0],l=r*this.size[1];return e[0]=this.origin.x+t.col*s,e[1]=this.origin.y-(t.row+1)*l,e[2]=e[0]+s,e[3]=e[1]+l,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return r.fromJSON(this.write({}))}getCompatibleForVTL(e){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===e)return null;const t=(512===this.size[0]&&256===e?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===e&&0===t)return this;const i=[],s=this.lods.length-t;for(let e=0;e<s;e++){const r=e+t,{scale:s,resolution:l}=r>=0?this.lods[r]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};i.push(new m.A({level:e,scale:s,resolution:l}))}return new r({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:i})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let i=0;i<e.length;i++){const r=e[i];this._upsampleLevels[r.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/r.resolution:0},t=r}}};var A,_;(0,s._)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"compressionQuality",void 0),(0,s._)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"dpi",void 0),(0,s._)([(0,a.MZ)({type:String,json:{read:b.read,write:b.write,origins:{"web-scene":{read:!1,write:!1}}}})],M.prototype,"format",void 0),(0,s._)([(0,a.MZ)({readOnly:!0})],M.prototype,"isWrappable",null),(0,s._)([(0,a.MZ)({type:h.A,json:{write:!0}})],M.prototype,"origin",void 0),(0,s._)([(0,p.w)("origin")],M.prototype,"readOrigin",null),(0,s._)([(0,a.MZ)({type:[m.A],value:null,json:{write:!0}})],M.prototype,"lods",null),(0,s._)([(0,a.MZ)({readOnly:!0})],M.prototype,"scales",void 0),(0,s._)([(0,a.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],M.prototype,"size",void 0),(0,s._)([(0,p.w)("size",["rows","cols"])],M.prototype,"readSize",null),(0,s._)([(0,d.K)("size",{cols:{type:u.jz},rows:{type:u.jz}})],M.prototype,"writeSize",null),(0,s._)([(0,a.MZ)({type:g.A,json:{write:!0}})],M.prototype,"spatialReference",void 0),M=r=(0,s._)([(0,c.$)("esri.layers.support.TileInfo")],M),(_=(A=M||(M={})).ExtrapolateOptions||(A.ExtrapolateOptions={}))[_.NONE=0]="NONE",_[_.POWER_OF_TWO=1]="POWER_OF_TWO"},91806:(e,t,i)=>{i.d(t,{A:()=>u});var r,s=i(90237),l=i(25482),n=i(10107),o=i(56507),a=(i(44208),i(87811),i(40608));let u=class extends l.A{static{r=this}constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new r({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,s._)([(0,n.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"cols",void 0),(0,s._)([(0,n.MZ)({type:o.jz,json:{write:!0}})],u.prototype,"level",void 0),(0,s._)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"levelValue",void 0),(0,s._)([(0,n.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"origin",void 0),(0,s._)([(0,n.MZ)({type:Number,json:{write:!0}})],u.prototype,"resolution",void 0),(0,s._)([(0,n.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"rows",void 0),(0,s._)([(0,n.MZ)({type:Number,json:{write:!0}})],u.prototype,"scale",void 0),u=r=(0,s._)([(0,a.$)("esri.layers.support.LOD")],u)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4341],{28132:(e,t,r)=>{r.d(t,{A:()=>P});var i=r(90237),s=r(69622),n=r(49186),o=r(44208),a=r(74887),l=r(84952),u=r(10107),c=(r(53966),r(87811),r(40608)),d=r(21325),p=r(20557),y=r(27733),h=r(2272),f=r(20615),m=r(5443),b=r(80893),g=r(61956),_=r(78286),w=r(99199),S=r(97768),v=r(62815),I=r(90708);function x(e,t){return t}function A(e,t,r,i){switch(r){case 0:return M(e,t+i,0);case 1:return"lowerLeft"===e.originPosition?M(e,t+i,1):function({translate:e,scale:t},r,i){return e[i]-r*t[i]}(e,t+i,1)}}function F(e,t,r,i){return 2===r?M(e,t,2):A(e,t,r,i)}function T(e,t,r,i){return 2===r?0===t?0:M(e,t,3):A(e,t,r,i)}function E(e,t,r,i){return 3===r?0===t?0:M(e,t,3):F(e,t,r,i)}function M({translate:e,scale:t},r,i){return e[i]+r*t[i]}class O{constructor(e){this._options=e,this.geometryTypes=["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline","esriGeometryPolygon"],this._previousCoordinate=[0,0],this._transform=null,this._applyTransform=x,this._lengths=[],this._currentLengthIndex=0,this._toAddInCurrentPath=0,this._vertexDimension=0,this._mValueOffset=null,this._coordinateBuffer=null,this._coordinateBufferPtr=0,this._attributesConstructor=class{}}createFeatureResult(){return{fields:[],features:[]}}finishFeatureResult(e){if(this._options.applyTransform&&(e.transform=null),this._attributesConstructor=class{},this._coordinateBuffer=null,this._lengths.length=0,!e.hasZ)return;const t=(0,v.N)(e.geometryType,this._options.sourceSpatialReference,e.spatialReference);if(null!=t)for(const r of e.features)t(r.geometry)}createSpatialReference(){return{}}addField(e,t){const r=e.fields;(0,S.Lw)(r),r.push(t);const i=r.map((e=>e.name));this._attributesConstructor=function(){for(const e of i)this[e]=null}}addFeature(e,t){e.features.push(t)}prepareFeatures(e){switch(this._transform=e.transform,this._options.applyTransform&&e.transform&&(this._applyTransform=this._deriveApplyTransform(e)),this._mValueOffset=null,this._vertexDimension=2,e.hasZ&&this._vertexDimension++,e.hasM&&(this._mValueOffset=this._vertexDimension,this._vertexDimension++),e.geometryType){case"esriGeometryPoint":this.addCoordinate=(e,t,r)=>this.addCoordinatePoint(e,t,r),this.createGeometry=e=>this.createPointGeometry(e);break;case"esriGeometryPolygon":this.addCoordinate=(e,t,r)=>this._addCoordinatePolygon(e,t,r),this.createGeometry=e=>this._createPolygonGeometry(e);break;case"esriGeometryPolyline":this.addCoordinate=(e,t,r)=>this._addCoordinatePolyline(e,t,r),this.createGeometry=e=>this._createPolylineGeometry(e);break;case"esriGeometryMultipoint":this.addCoordinate=(e,t,r)=>this._addCoordinateMultipoint(e,t,r),this.createGeometry=e=>this._createMultipointGeometry(e)}}createFeature(){return this._lengths.length=0,this._currentLengthIndex=0,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0,this._coordinateBuffer=null,this._coordinateBufferPtr=0,{attributes:new this._attributesConstructor}}allocateCoordinates(){}addLength(e,t,r){0===this._lengths.length&&(this._toAddInCurrentPath=t),this._lengths.push(t)}addQueryGeometry(e,t){const{queryGeometry:r,queryGeometryType:i}=t,s=this._transform?(0,I.Ch)(r.clone(),r,!1,!1,this._transform):r.clone(),n=(0,I.zv)(s,i,!1,!1);e.queryGeometryType=i,e.queryGeometry={...n}}createPointGeometry(e){const t={x:0,y:0,spatialReference:e.spatialReference};return e.hasZ&&(t.z=0),e.hasM&&(t.m=0),t}addCoordinatePoint(e,t,r){const i=this._transform;switch(t=this._applyTransform(i,t,r,0),r){case 0:e.x=t;break;case 1:e.y=t;break;case 2:"z"in e?e.z=t:e.m=t;break;case 3:e.m=t}}_transformPathLikeValue(e,t){let r=0;t<=1&&(r=this._previousCoordinate[t],this._previousCoordinate[t]+=e);const i=this._transform;return null!==this._mValueOffset&&0===e&&t>0&&!(t%this._mValueOffset)?0:this._applyTransform(i,e,t,r)}_addCoordinatePolyline(e,t,r){this._dehydratedAddPointsCoordinate(e.paths,t,r)}_addCoordinatePolygon(e,t,r){this._dehydratedAddPointsCoordinate(e.rings,t,r)}_addCoordinateMultipoint(e,t,r){0===r&&e.points.push([]);const i=this._transformPathLikeValue(t,r);e.points[e.points.length-1].push(i)}_createPolygonGeometry(e){return{rings:[[]],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_createPolylineGeometry(e){return{paths:[[]],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_createMultipointGeometry(e){return{points:[],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_dehydratedAddPointsCoordinate(e,t,r){0===r&&0==this._toAddInCurrentPath--&&(e.push([]),this._toAddInCurrentPath=this._lengths[++this._currentLengthIndex]-1,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0);const i=this._transformPathLikeValue(t,r),s=e[e.length-1];0===r&&(this._coordinateBufferPtr=0,this._coordinateBuffer=new Array(this._vertexDimension),s.push(this._coordinateBuffer)),this._coordinateBuffer[this._coordinateBufferPtr++]=i}_deriveApplyTransform(e){const{hasZ:t,hasM:r}=e;return t&&r?E:t?F:r?T:A}}var D=r(22671);let P=class extends s.A{constructor(e){super(e),this.dynamicDataSource=null,this.fieldsIndex=null,this.gdbVersion=null,this.infoFor3D=null,this.pbfSupported=!1,this.queryAttachmentsSupported=!1,this.sourceSpatialReference=null,this.uniqueIdFields=null,this.url=null}get parsedUrl(){return(0,l.An)(this.url)}async execute(e,t){const r=await this.executeJSON(e,t);return this.featureSetFromJSON(e,r,t)}async executeJSON(e,t){const r=this._normalizeQuery(e),i=null!=e.outStatistics?.[0],s=(0,o.A)("featurelayer-pbf-statistics"),n=(!i||s)&&!0!==e.returnTrueCurves;let a;if(this.pbfSupported&&n)try{a=await async function(e,t,r,i){const s=(0,h.Dl)(e),n={...r},o=g.A.from(t),a=!o.quantizationParameters,{data:l}=await(0,b.IJ)(s,o,new O({sourceSpatialReference:o.sourceSpatialReference,applyTransform:a}),n,i);return l}(this.url,r,t,{uniqueIdFields:this.uniqueIdFields})}catch(e){if("query:parsing-pbf"!==e.name)throw e;this.pbfSupported=!1}return this.pbfSupported&&n||(a=await(0,w.e)(this.url,r,t,{uniqueIdFields:this.uniqueIdFields})),this._normalizeFields(a.fields),a}async featureSetFromJSON(e,t,i){if(!this._queryIs3DObjectFormat(e)||null==this.infoFor3D||!t.features)return D.A.fromJSON(t);const{meshFeatureSetFromJSON:s}=await(0,a.qr)(Promise.all([r.e(3030),r.e(36),r.e(6112)]).then(r.bind(r,40050)),i);return s(e,this.infoFor3D,t)}executeForCount(e,t){return(0,f.I)(this.url,this._normalizeQuery(e),t)}executeForExtent(e,t){return async function(e,t,r){const i=(0,h.Dl)(e),s=await(0,b.Jf)(i,g.A.from(t),{...r}),n=s.data.extent;return!n||isNaN(n.xmin)||isNaN(n.ymin)||isNaN(n.xmax)||isNaN(n.ymax)?{count:s.data.count,extent:null}:{count:s.data.count,extent:m.A.fromJSON(n)}}(this.url,this._normalizeQuery(e),t)}executeForIds(e,t){return(0,_.V)(this.url,this._normalizeQuery(e),t,{uniqueIdFields:this.uniqueIdFields})}async executeRelationshipQuery(e,t){const[{default:i},{executeRelationshipQuery:s}]=await(0,a.qr)(Promise.all([Promise.resolve().then(r.bind(r,26591)),r.e(5257).then(r.bind(r,15257))]),t);return e=i.from(e),(this.gdbVersion||this.dynamicDataSource)&&((e=e.clone()).gdbVersion=e.gdbVersion||this.gdbVersion,e.dynamicDataSource=e.dynamicDataSource||this.dynamicDataSource),s(this.url,e,t)}async executeRelationshipQueryForCount(e,t){const[{default:i},{executeRelationshipQueryForCount:s}]=await(0,a.qr)(Promise.all([Promise.resolve().then(r.bind(r,26591)),r.e(5257).then(r.bind(r,15257))]),t);return e=i.from(e),(this.gdbVersion||this.dynamicDataSource)&&((e=e.clone()).gdbVersion=e.gdbVersion||this.gdbVersion,e.dynamicDataSource=e.dynamicDataSource||this.dynamicDataSource),s(this.url,e,t)}async executeAttachmentQuery(e,t){const{executeAttachmentQuery:i,fetchAttachments:s,processAttachmentQueryResult:n}=await(0,a.qr)(r.e(9239).then(r.bind(r,9239)),t),o=(0,h.Dl)(this.url);return n(o,await(this.queryAttachmentsSupported?i(o,e,t):s(o,e,t)))}async executeAttributeBinsQuery(e,t){const{executeAttributeBinsQuery:i}=await(0,a.qr)(Promise.all([r.e(4575),r.e(3103)]).then(r.bind(r,33103)),t);return i(this.parsedUrl,e,t)}async executeTopFeaturesQuery(e,t){const{executeTopFeaturesQuery:i}=await(0,a.qr)(r.e(1273).then(r.bind(r,11273)),t);return i(this.parsedUrl,e,this.sourceSpatialReference,t)}async executeForTopIds(e,t){const{executeForTopIds:i}=await(0,a.qr)(r.e(1277).then(r.bind(r,21277)),t);return i(this.parsedUrl,e,t)}async executeForTopExtents(e,t){const{executeForTopExtents:i}=await(0,a.qr)(r.e(8018).then(r.bind(r,8018)),t);return i(this.parsedUrl,e,t)}async executeForTopCount(e,t){const{executeForTopCount:i}=await(0,a.qr)(r.e(980).then(r.bind(r,10980)),t);return i(this.parsedUrl,e,t)}_normalizeQuery(e){let t=g.A.from(e);t.sourceSpatialReference=t.sourceSpatialReference||this.sourceSpatialReference,(this.gdbVersion||this.dynamicDataSource)&&(t=t===e?t.clone():t,t.gdbVersion=e.gdbVersion||this.gdbVersion,t.dynamicDataSource=e.dynamicDataSource?y.L.from(e.dynamicDataSource):this.dynamicDataSource);const{infoFor3D:r}=this;if(null!=r&&this._queryIs3DObjectFormat(e)){if(t=t===e?t.clone():t,t.formatOf3DObjects=(0,p.Hz)(r),!t.formatOf3DObjects)throw new n.A("query:unsupported-3d-query-formats","Could not find any supported 3D object query format. Only supported formats are 3D_glb and 3D_gltf");if(t.outSpatialReference&&!(0,d.aI)(t.outSpatialReference,this.sourceSpatialReference))throw new n.A("query:unsupported-out-spatial-reference","3D object feature services do not support projection of geometries");if(null==t.outFields||!t.outFields.includes("*")){t=t===e?t.clone():t,null==t.outFields&&(t.outFields=[]);const{originX:i,originY:s,originZ:n,translationX:o,translationY:a,translationZ:l,scaleX:u,scaleY:c,scaleZ:d,rotationX:p,rotationY:y,rotationZ:h,rotationDeg:f}=r.transformFieldRoles;t.outFields.push(i,s,n,o,a,l,u,c,d,p,y,h,f)}}return t}_normalizeFields(e){if(null!=this.fieldsIndex&&null!=e)for(const t of e){const e=this.fieldsIndex.get(t.name);e&&Object.assign(t,e.toJSON())}}_queryIs3DObjectFormat(e){return null!=this.infoFor3D&&!0===e.returnGeometry&&"xyFootprint"!==e.multipatchOption&&!e.outStatistics}};(0,i._)([(0,u.MZ)({type:y.L})],P.prototype,"dynamicDataSource",void 0),(0,i._)([(0,u.MZ)()],P.prototype,"fieldsIndex",void 0),(0,i._)([(0,u.MZ)()],P.prototype,"gdbVersion",void 0),(0,i._)([(0,u.MZ)()],P.prototype,"infoFor3D",void 0),(0,i._)([(0,u.MZ)({readOnly:!0})],P.prototype,"parsedUrl",null),(0,i._)([(0,u.MZ)()],P.prototype,"pbfSupported",void 0),(0,i._)([(0,u.MZ)()],P.prototype,"queryAttachmentsSupported",void 0),(0,i._)([(0,u.MZ)()],P.prototype,"sourceSpatialReference",void 0),(0,i._)([(0,u.MZ)()],P.prototype,"uniqueIdFields",void 0),(0,i._)([(0,u.MZ)({type:String})],P.prototype,"url",void 0),P=(0,i._)([(0,c.$)("esri.layers.graphics.sources.support.QueryTask")],P)},32730:(e,t,r)=>{r.d(t,{BI:()=>m,D3:()=>h,XJ:()=>f,lc:()=>y,mX:()=>g,rU:()=>b,tH:()=>I});var i=r(799);const s="__begin__",n="__end__",o=new RegExp(s,"ig"),a=new RegExp(n,"ig"),l=new RegExp("^"+s,"i"),u=new RegExp(n+"$","i"),c='"',d=c+" + ",p=" + "+c;function y(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function f(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=y(e.labelExpression),t.type="conventional"),t}function m(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return g(t.expression);case"arcade":return t.expression}return null}function b(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(_);return t?.[1].trim()||null}(t.expression);case"arcade":return I(t.expression)}return null}function g(e){let t;return e?(t=(0,i.HC)(e,(e=>s+'$feature["'+e+'"]'+n)),t=l.test(t)?t.replace(l,""):c+t,t=u.test(t)?t.replace(u,""):t+c,t=t.replaceAll(o,d).replaceAll(a,p)):t='""',t}const _=/^\s*\{([^}]+)\}\s*$/i,w=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,S=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,v=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function I(e){if(!e)return null;let t=w.exec(e)||S.exec(e);return t?t[1]||t[3]:(t=v.exec(e),t?t[2]:null)}},32756:(e,t,r)=>{r.d(t,{Rr:()=>l,fY:()=>c,ne:()=>u});var i=r(90237),s=r(93637),n=r(10107),o=(r(44208),r(53966),r(87811),r(40608)),a=r(91880);function l(e,t,r){if(!e)return null;const i=e.find((e=>!!e.field));if(!i)return null;const s=new a.A;return s.read(i,r),[s]}const u={type:[a.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){const n=e.find((e=>!!e.field));n&&(0,s.sM)(r,[n.toJSON()],t)}}}},c=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,i._)([(0,n.MZ)(u)],t.prototype,"orderBy",void 0),t=(0,i._)([(0,o.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,r)=>{r.d(t,{A:()=>p});var i=r(90237),s=r(69540),n=r(25482),o=r(10107),a=(r(44208),r(53966),r(87811),r(36005)),l=r(40608),u=r(43937),c=r(80451),d=r(29005);let p=class extends(s.A.ClonableMixin(n.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,c.rS)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i._)([(0,o.MZ)({json:{write:!0}})],p.prototype,"id",void 0),(0,i._)([(0,o.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,i._)([(0,o.MZ)({json:{write:!0}})],p.prototype,"domains",void 0),(0,i._)([(0,a.w)("domains")],p.prototype,"readDomains",null),(0,i._)([(0,u.K)("domains")],p.prototype,"writeDomains",null),(0,i._)([(0,o.MZ)({type:[d.A],json:{write:!0}})],p.prototype,"templates",void 0),p=(0,i._)([(0,l.$)("esri.layers.support.FeatureType")],p)},33446:(e,t,r)=>{r.d(t,{C:()=>o,m:()=>n});var i=r(49186),s=r(74887);async function n(e,t,r){let n;try{n=await createImageBitmap(e)}catch(e){throw new i.A("request:server",`Unable to load ${t}`,{url:t,error:e})}return(0,s.Te)(r),n}async function o(e,t,r,n,o){let a;try{a=await createImageBitmap(e)}catch(e){throw new i.A("request:server",`Unable to load tile ${t}/${r}/${n}`,{error:e,level:t,row:r,col:n})}return(0,s.Te)(o),a}},38961:(e,t,r)=>{r.d(t,{A:()=>u});var i=r(90237),s=r(5503),n=r(36708),o=r(10107),a=r(40608),l=r(80559);let u=class extends s.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,l.fm)((()=>this._refresh()),n.OH))}destroy(){this.getCollections=null}_refresh(){const e=null!=this.getCollections?this.getCollections():null;if(null==e)return void this.removeAll();let t=0;for(const r of e)null!=r&&(t=this._processCollection(t,r));this.splice(t)}_createNewInstance(e){return new s.A(e)}_processCollection(e,t){if(!t)return e;const r=this.itemFilterFunction??(e=>!!e);for(const i of t)if(i){if(r(i)){const t=this.indexOf(i,e);t>=0?t!==e&&this.reorder(i,e):this.add(i,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(i);if(Array.isArray(t))for(const r of t)e=this._processCollection(e,r);else e=this._processCollection(e,t)}}return e}};(0,i._)([(0,o.MZ)()],u.prototype,"getCollections",void 0),(0,i._)([(0,o.MZ)()],u.prototype,"getChildrenFunction",void 0),(0,i._)([(0,o.MZ)()],u.prototype,"itemFilterFunction",void 0),u=(0,i._)([(0,a.$)("esri.core.CollectionFlattener")],u)},39516:(e,t,r)=>{let i;async function s(){return null==i&&(i=Promise.all([r.e(8368),r.e(4123)]).then(r.bind(r,44123)).then((e=>new e.WhereClauseCache(500,500)))),i}async function n(e,t){const r=await s(),i=r.get(e,t);if(null==i)throw r.getError(e,t);return i}function o(e,t){return e||=null,t||=null,"1=1"===e?t??e:"1=1"===t?e??t:e&&t?`(${e}) AND (${t})`:e??t}function a(e,t){return e||=null,t||=null,"1=1"===e||"1=1"===t||e===t?"1=1"===e?e:t:e&&t?`(${e}) OR (${t})`:e??t}r.d(t,{GP:()=>n,IW:()=>a,mA:()=>o})},41366:(e,t,r)=>{r.d(t,{K:()=>p,Q:()=>u});var i=r(90237),s=r(66552),n=r(53966),o=r(10107),a=(r(44208),r(87811),r(93223)),l=r(40608);const u=(0,s.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),c="percent-of-total",d="field",p=e=>{let t=class extends e{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&d||r&&c||null,t&&r&&n.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==d&&e!==c||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i._)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],t.prototype,"normalizationField",void 0),(0,i._)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],t.prototype,"normalizationMaxValue",void 0),(0,i._)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],t.prototype,"normalizationMinValue",void 0),(0,i._)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],t.prototype,"normalizationTotal",void 0),(0,i._)([(0,a.e)(u,{name:"parameters.normalizationType"})],t.prototype,"normalizationType",null),t=(0,i._)([(0,l.$)("esri.rest.support.NormalizationBinParametersMixin")],t),t}},46140:(e,t,r)=>{r.d(t,{R:()=>s});var i=r(49186);let s=class e{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)}validate(e){if(this.major!==e.major){const 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 e(this.major,this.minor,this._context)}static parse(t,r=""){const[s,n]=t.split("."),o=/^\s*\d+\s*$/;if(!s?.match||!o.test(s))throw new i.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!n?.match||!o.test(n))throw new i.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const a=parseInt(s,10),l=parseInt(n,10);return new e(a,l,r)}}},55674:(e,t,r)=>{r.d(t,{Ad:()=>y,Gj:()=>m,QY:()=>p,lL:()=>b,xR:()=>h});var i=r(66131),s=r(49186),n=(r(44208),r(44729)),o=r(15032),a=r(65864),l=r(95466),u=r(43668),c=r(98623);const d=["geometry","scale","timeProperties"];function p(e,t){if(null!=t)for(const r of d)t.hasArcadeDependency(r)&&e.add(r);return e}function y(e,t){return f.create(e,t,null,["$feature","$view"])}function h(e,t,r){return f.create(e,t,r,["$feature","$view","$config"])}class f{static async create(e,t,r,i){const{arcade:n,Dictionary:o}=await(0,u.l)();let a;try{a=n.parseScript(e)}catch(t){throw new s.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=n.scriptUsesGeometryEngine(a);l&&await n.enableGeometrySupport(),await n.loadDependentModules(new Set,a,null,!1,l);const c={vars:i.reduce(((e,t)=>({...e,[t]:null})),{}),spatialReference:t,useAsync:!1},d=n.compileScript(a,c);let p=null;null!=r&&(p=new o(r),p.immutable=!0);const y=new o;return y.immutable=!1,y.setField("scale",0),new f(e,n,a,d,t,y,p,o)}constructor(e,t,r,i,s,n,o,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=i,this._spatialReference=s,this._viewDict=n,this._configDict=o,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new m,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:s,currentEnd:n}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=s?null!=r?i.lY.epochToArcadeDate(s,r):i.lY.unknownEpochToArcadeDate(s):void 0,currentEnd:null!=n?null!=r?i.lY.epochToArcadeDate(n,r):i.lY.unknownEpochToArcadeDate(n):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class m{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const i=t??new l.A(b(e.attributes));this._boundTarget=e,this._boundSchema.fields=i.fields,this._boundSchema.fieldsIndex=i,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===c.L5}field(e,t=!0){const r=this._getField(e);if(r)switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return n.n.fromReader(this._boundTarget.attributes[r.name]);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(this._boundTarget.attributes[r.name]);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return i.lY.fromReaderAsTimeStampOffset(this._boundTarget.attributes[r.name]);case"date":case"esriFieldTypeDate":{const t=this._boundTarget.attributes[r.name];return this.isUnknownDateTimeField(e)?i.lY.unknownEpochToArcadeDate(t):i.lY.epochToArcadeDate(t,this.contextTimeZone??c.qU)}default:return this._boundTarget.attributes[r.name]}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map((e=>e.name))}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function b(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},58501:(e,t,r)=>{r.d(t,{q:()=>s});var i=r(62815);function s(e,t,r){if(!r?.features||!r.hasZ)return;const s=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(null!=s)for(const e of r.features)s(e.geometry)}},60410:(e,t,r)=>{r.d(t,{A:()=>se});var i,s=r(90237),n=r(13874),o=r(78888),a=r(5503),l=r(49186),u=r(44208),c=r(4902),d=r(4718),p=r(92474),y=r(53966),h=r(92071),f=r(39516),m=r(84952),b=r(10107),g=r(79901),_=r(36005),w=r(40608),S=r(43937),v=r(56507),I=r(35666),x=r(88620),A=r(5443),F=r(16930),T=r(50498),E=r(28132),M=r(32756),O=r(15426),D=r(33143),P=r(20437),C=r(95466),L=r(30524),R=r(46499),q=r(39383),Z=r(37352),j=r(91880),V=r(45067),G=r(22453),N=r(27733),B=r(49053),$=r(41214),k=r(2272),z=r(54546),Q=r(61956),J=r(30291),U=r(33910);function K(e){return"esriSMS"===e?.type}function Y(e,t,r){const i=r.minimumWritableOrigin||r.origin;return!!i&&e.originIdOf(t)>=(0,I.aB)(i)}function H(e,t,r){const i=Y(this,t,r);return{ignoreOrigin:!0,allowNull:i,enabled:!!r&&"map-image"===r.layer?.type&&(r.writeSublayerStructure||i)}}function W(e,t,r){return{enabled:!!r&&"tile"===r.layer?.type&&(Y(this,t,r)||this._isOverridden(t))}}function X(e,t,r){return{ignoreOrigin:!0,enabled:r&&r.writeSublayerStructure||!1}}function ee(e,t,r){return{ignoreOrigin:!0,enabled:!!r?.writeSublayerStructure&&this.originIdOf(t)>I.Gr.SERVICE}}function te(e,t,r){return{ignoreOrigin:!0,enabled:!!r&&(r.writeSublayerStructure||Y(this,t,r))}}let re=0;const ie=new Set(["layer","parent","loaded","loadStatus","loadError","loadWarnings"]);let se=class extends((0,h.P)(c.A.IdentifiableMixin(p.A))){static{i=this}constructor(e){super(e),this.capabilities=void 0,this.maxScaleRange={minScale:0,maxScale:0},this.fields=null,this.fullExtent=null,this.geometryType=null,this.globalIdField=null,this.isTable=!1,this.legendEnabled=!0,this.objectIdField=null,this.parent=null,this.popupEnabled=!0,this.popupTemplate=null,this.relationships=null,this.sourceJSON=null,this.spatialReference=null,this.title=null,this.typeIdField=null,this.type="sublayer",this.types=null,this._lastParsedUrl=null}async load(e){return this.addResolvingPromise((async()=>{const{layer:t,url:r}=this;if(!t&&!r)throw new l.A("sublayer:missing-layer","Sublayer can't be loaded without being part of a layer",{sublayer:this});const i=t?await t.fetchSublayerInfo(this,e):(await(0,o.A)(r,{responseType:"json",query:{f:"json"},...e})).data;i&&(this.sourceJSON=i,this.read({layerDefinition:i},{origin:"service",layer:t,url:(0,k.Dl)(r)}))})()),this}readCapabilities(e,t){t=t.layerDefinition||t;const{attachment:r,operations:{supportsQuery:i,supportsQueryAttachments:s},query:{supportsFormatPBF:n,supportsOrderBy:o,supportsPagination:a},data:{supportsAttachment:l},queryRelated:u}=(0,G.S)(t,this.url);return{attachment:{supportsOrderByFields:r?.supportsOrderByFields??!1,supportsResize:r?.supportsResize??!1},exportMap:{supportsModification:!!t.canModifyLayer},operations:{supportsQuery:i,supportsQueryAttachments:s},data:{supportsAttachment:l},query:{supportsFormatPBF:n,supportsOrderBy:o,supportsPagination:a},queryRelated:u}}get defaultPopupTemplate(){return this.createPopupTemplate()}set definitionExpression(e){this._setAndNotifyLayer("definitionExpression",e)}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}readMaxScaleRange(e,t){return{minScale:(t=t.layerDefinition||t).minScale??0,maxScale:t.maxScale??0}}get fieldsIndex(){return new C.A(this.fields||[])}set floorInfo(e){this._setAndNotifyLayer("floorInfo",e)}readGlobalIdFieldFromService(e,t){if((t=t.layerDefinition||t).globalIdField)return t.globalIdField;if(t.fields)for(const e of t.fields)if("esriFieldTypeGlobalID"===e.type)return e.name}get id(){return this._get("id")??re++}set id(e){this._get("id")!==e&&(!1!==this.layer?.capabilities?.exportMap?.supportsDynamicLayers?this._set("id",e):this._logLockedError("id","capability not available 'layer.capabilities.exportMap.supportsDynamicLayers'"))}readIsTable(e,t){return"Table"===t.type}set labelingInfo(e){this._setAndNotifyLayer("labelingInfo",e)}writeLabelingInfo(e,t,r,i){e&&e.length&&(t.layerDefinition={drawingInfo:{labelingInfo:e.map((e=>e.write({},i)))}})}set labelsVisible(e){this._setAndNotifyLayer("labelsVisible",e)}set layer(e){this._set("layer",e),this.sublayers?.forEach((t=>t.layer=e))}set listMode(e){this._set("listMode",e)}set minScale(e){this._setAndNotifyLayer("minScale",e)}readMinScale(e,t){return t.minScale||t.layerDefinition?.minScale||0}set maxScale(e){this._setAndNotifyLayer("maxScale",e)}readMaxScale(e,t){return t.maxScale||t.layerDefinition?.maxScale||0}readObjectIdFieldFromService(e,t){if((t=t.layerDefinition||t).objectIdField)return t.objectIdField;const r=t.fields?.find((e=>"esriFieldTypeOID"===e.type));return r?.name}set opacity(e){this._setAndNotifyLayer("opacity",e)}readOpacity(e,t){const{layerDefinition:r}=t;return 1-.01*(r?.transparency??r?.drawingInfo?.transparency??0)}writeOpacity(e,t,r,i){t.layerDefinition={drawingInfo:{transparency:100-100*e}}}set orderBy(e){this._setAndNotifyLayer("orderBy",e)}writeParent(e,t){this.parent&&this.parent!==this.layer?t.parentLayerId=(0,v.Vr)(this.parent.id):t.parentLayerId=-1}get queryTask(){if(!this.layer)return null;const{capabilities:e,fieldsIndex:t,layer:r,url:i}=this,{spatialReference:s}=r,n="gdbVersion"in r?r.gdbVersion:void 0,o=(0,u.A)("featurelayer-pbf")&&e?.query.supportsFormatPBF;return new E.A({fieldsIndex:t,gdbVersion:n,pbfSupported:o,queryAttachmentsSupported:e?.operations?.supportsQueryAttachments??!1,sourceSpatialReference:s,url:i})}set renderer(e){if((0,L.yp)(e,this.fieldsIndex),e)for(const t of e.symbols)if((0,U.wk)(t)){y.A.getLogger(this).warn("Sublayer renderer should use 2D symbols");break}this._setAndNotifyLayer("renderer",e)}get source(){return this._get("source")||new B.f({mapLayerId:this.id})}set source(e){this._setAndNotifyLayer("source",e)}set sublayers(e){this._handleSublayersChange(e,this._get("sublayers")),this._set("sublayers",e)}castSublayers(e){return(0,v.dp)(a.A.ofType(i),e)}writeSublayers(e,t,r){this.sublayers?.length&&(t[r]=this.sublayers.map((e=>e.id)).toArray().reverse())}readTitle(e,t){return t.layerDefinition?.name??t.name}readTypeIdField(e,t){let r=(t=t.layerDefinition||t).typeIdField;if(r&&t.fields){r=r.toLowerCase();const e=t.fields.find((e=>e.name.toLowerCase()===r));e&&(r=e.name)}return r}get url(){const e=this.layer?.parsedUrl??this._lastParsedUrl,t=this.source;if(!e)return null;if(this._lastParsedUrl=e,"map-layer"===t?.type)return`${e.path}/${t.mapLayerId}`;const r={layer:JSON.stringify({source:this.source})};return`${e.path}/dynamicLayer?${(0,m.x0)(r)}`}set url(e){this._overrideIfSome("url",e)}set visible(e){this._setAndNotifyLayer("visible",e)}writeVisible(e,t,r,i){t[r]=this.getAtOrigin("defaultVisibility","service")||e}clone(){const{store:e}=(0,x.oY)(this),t=new i;return(0,x.oY)(t).store=e.clone(ie),this.commitProperty("url"),t._lastParsedUrl=this._lastParsedUrl,t}createPopupTemplate(e){return(0,J.tn)(this,e)}createQuery(){return new Q.A({returnGeometry:!0,where:this.definitionExpression||"1=1"})}async createFeatureLayer(){if(this.hasOwnProperty("sublayers"))return null;const e=(await Promise.all([r.e(9953),r.e(3029),r.e(8506),r.e(3600),r.e(3186)]).then(r.bind(r,13600))).default,{layer:t,url:i}=this;let s;if(i&&this.originIdOf("url")>I.Gr.SERVICE)s=new e({url:i});else{if(!t?.parsedUrl)throw new l.A("createFeatureLayer:missing-information","Cannot create a FeatureLayer without a url or a parent layer");{const r=t.parsedUrl;s=new e({url:r.path}),r&&this.source&&("map-layer"===this.source.type?s.layerId=this.source.mapLayerId:s.dynamicDataSource=this.source)}}return null!=t?.refreshInterval&&(s.refreshInterval=t.refreshInterval),this.definitionExpression&&(s.definitionExpression=this.definitionExpression),this.floorInfo&&(s.floorInfo=(0,d.o8)(this.floorInfo)),this.originIdOf("labelingInfo")>I.Gr.SERVICE&&(s.labelingInfo=(0,d.o8)(this.labelingInfo)),this.originIdOf("labelsVisible")>I.Gr.DEFAULTS&&(s.labelsVisible=this.labelsVisible),this.originIdOf("legendEnabled")>I.Gr.DEFAULTS&&(s.legendEnabled=this.legendEnabled),this.originIdOf("visible")>I.Gr.DEFAULTS&&(s.visible=this.visible),this.originIdOf("minScale")>I.Gr.DEFAULTS&&(s.minScale=this.minScale),this.originIdOf("maxScale")>I.Gr.DEFAULTS&&(s.maxScale=this.maxScale),this.originIdOf("opacity")>I.Gr.DEFAULTS&&(s.opacity=this.opacity),this.originIdOf("popupTemplate")>I.Gr.DEFAULTS&&(s.popupTemplate=(0,d.o8)(this.popupTemplate)),this.originIdOf("renderer")>I.Gr.SERVICE&&(s.renderer=(0,d.o8)(this.renderer)),"data-layer"===this.source?.type&&(s.dynamicDataSource=this.source.clone()),this.originIdOf("title")>I.Gr.DEFAULTS&&(s.title=this.title),"map-image"===t?.type&&t.originIdOf("customParameters")>I.Gr.DEFAULTS&&(s.customParameters=t.customParameters),"tile"===t?.type&&t.originIdOf("customParameters")>I.Gr.DEFAULTS&&(s.customParameters=t.customParameters),s}getField(e){return this.fieldsIndex.get(e)}getFeatureType(e){return(0,O.xd)(this.types,this.typeIdField,e)}getFieldDomain(e,t){const r=t?.feature,i=this.getFeatureType(r);if(i){const t=i.domains&&i.domains[e];if(t&&"inherited"!==t.type)return t}return this._getLayerDomain(e)}async queryAttachments(e,t){await this.load(),e=z.A.from(e);const r=this.capabilities;if(!r?.data?.supportsAttachment)throw new l.A("queryAttachments:not-supported","this layer doesn't support attachments");const{attachmentTypes:i,objectIds:s,globalIds:n,num:o,size:a,start:u,where:c}=e;if(!r?.operations?.supportsQueryAttachments&&(i?.length>0||n?.length>0||a?.length>0||o||u||c))throw new l.A("queryAttachments:option-not-supported","when 'capabilities.operations.supportsQueryAttachments' is false, only objectIds is supported",e);if(!(s?.length||n?.length||c))throw new l.A("queryAttachments:invalid-query","'objectIds', 'globalIds', or 'where' are required to perform attachment query",e);return!r?.attachment?.supportsOrderByFields&&e.orderByFields?.length&&((e=e.clone()).orderByFields=null),this.queryTask.executeAttachmentQuery(e,t)}async queryFeatureCount(e=this.createQuery(),t){if(await this.load(),!this.capabilities.operations.supportsQuery)throw new l.A("queryFeatureCount:not-supported","this layer doesn't support queries.");if(!this.url)throw new l.A("queryFeatureCount:not-supported","this layer has no url.");const r=this.layer?.apiKey;return await this.queryTask.executeForCount(e,{...t,query:{...this.layer?.customParameters,token:r}})}async queryFeatures(e=this.createQuery(),t){if(await this.load(),!this.capabilities.operations.supportsQuery)throw new l.A("queryFeatures:not-supported","this layer doesn't support queries.");if(!this.url)throw new l.A("queryFeatures:not-supported","this layer has no url.");const r=await this.queryTask.execute(e,{...t,query:{...this.layer?.customParameters,token:this.layer?.apiKey}});if(r?.features)for(const e of r.features)e.sourceLayer=this;return r}async queryObjectIds(e=this.createQuery(),t){if(await this.load(),!this.capabilities.operations.supportsQuery)throw new l.A("queryObjectIds:not-supported","this layer doesn't support queries.");if(!this.url)throw new l.A("queryObjectIds:not-supported","this layer has no url.");const r=this.layer?.apiKey;return await this.queryTask.executeForIds(e,{...t,query:{...this.layer?.customParameters,token:r}})}async queryRelatedFeatures(e,t){if(await this.load(),!this.capabilities.operations.supportsQuery)throw new l.A("queryRelatedFeatures:not-supported","this layer doesn't support queries.");if(!this.url)throw new l.A("queryRelatedFeatures:not-supported","this layer has no url.");const r=this.layer?.apiKey;return await this.queryTask.executeRelationshipQuery(e,{...t,query:{...this.layer?.customParameters,token:r}})}async queryRelatedFeaturesCount(e,t){if(await this.load(),!this.capabilities.operations.supportsQuery)throw new l.A("queryRelatedFeaturesCount:not-supported","this layer doesn't support queries.");if(!this.capabilities.queryRelated.supportsCount)throw new l.A("queryRelatedFeaturesCount:not-supported","this layer doesn't support query related counts.");if(!this.url)throw new l.A("queryRelatedFeaturesCount:not-supported","this layer has no url.");const r=this.layer?.apiKey;return await this.queryTask.executeRelationshipQueryForCount(e,{...t,query:{...this.layer?.customParameters,token:r}})}toExportImageJSON(e){const t={id:this.id,source:this.source?.toJSON()||{mapLayerId:this.id,type:"mapLayer"}},r=(0,f.mA)(e,this.definitionExpression);null!=r&&(t.definitionExpression=r);const i=["renderer","labelingInfo","opacity","labelsVisible"].reduce(((e,t)=>(e[t]=this.originIdOf(t),e)),{}),s=Object.keys(i).some((e=>i[e]>I.Gr.SERVICE));if(s){const e=t.drawingInfo={};if(i.renderer>I.Gr.SERVICE&&(e.renderer=this.renderer?this.renderer.toJSON():null),i.labelsVisible>I.Gr.SERVICE&&(e.showLabels=this.labelsVisible),this.labelsVisible&&i.labelingInfo>I.Gr.SERVICE)if(this.labelingInfo){!this.loaded&&this.labelingInfo?.some((e=>!e.labelPlacement))&&y.A.getLogger(this).warnOnce(`A Sublayer (title: ${this.title}, id: ${this.id}) has an undefined 'labelPlacement' and so labels cannot be displayed. Either define a valid 'labelPlacement' or call Sublayer.load() to use a default value based on geometry type.`,{sublayer:this});let t=this.labelingInfo;null!=this.geometryType&&(t=(0,q.z)(this.labelingInfo,T.gy.toJSON(this.geometryType))),e.showLabels=!0,e.labelingInfo=t.filter((e=>e.labelPlacement)).map((e=>e.toJSON({origin:"service",layer:this.layer})))}else e.showLabels=!1;i.opacity>I.Gr.SERVICE&&(e.transparency=100-100*this.opacity),this._assignDefaultSymbolColors(e.renderer)}return(this.layer?.capabilities?.exportMap?.supportsSublayerOrderBy??!1)&&this.originIdOf("orderBy")>I.Gr.SERVICE&&(t.orderBy=this.orderBy?.map((e=>e.toJSON()))??null),t}_assignDefaultSymbolColors(e){this._forEachSimpleMarkerSymbols(e,(e=>{e.color||"esriSMSX"!==e.style&&"esriSMSCross"!==e.style||(e.outline?.color?e.color=e.outline.color:e.color=[0,0,0,0])}))}_forEachSimpleMarkerSymbols(e,t){if(e){const r=("uniqueValueInfos"in e?e.uniqueValueInfos:"classBreakInfos"in e?e.classBreakInfos:null)??[];for(const e of r)K(e.symbol)&&t(e.symbol);"symbol"in e&&K(e.symbol)&&t(e.symbol),"defaultSymbol"in e&&K(e.defaultSymbol)&&t(e.defaultSymbol)}}_setAndNotifyLayer(e,t){const r=this.layer,i=this._get(e);let s,n;switch(e){case"definitionExpression":case"floorInfo":s="supportsSublayerDefinitionExpression";break;case"minScale":case"maxScale":case"visible":s="supportsSublayerVisibility";break;case"labelingInfo":case"labelsVisible":case"opacity":case"renderer":case"source":s="supportsDynamicLayers",n="supportsModification";break;case"orderBy":s="supportsSublayerOrderBy",n="supportsModification"}const o=(0,x.oY)(this).getDefaultOrigin();if("service"!==o){if(s&&!1===this.layer?.capabilities?.exportMap?.[s])return void this._logLockedError(e,`capability not available 'layer.capabilities.exportMap.${s}'`);if(n&&!1===this.capabilities?.exportMap[n])return void this._logLockedError(e,`capability not available 'capabilities.exportMap.${n}'`)}"source"!==e||"not-loaded"===this.loadStatus?(this._set(e,t),"service"!==o&&i!==t&&r&&r.emit&&r.emit("sublayer-update",{propertyName:e,target:this})):this._logLockedError(e,"'source' can't be changed after calling sublayer.load()")}_handleSublayersChange(e,t){t&&(t.forEach((e=>{e.parent=null,e.layer=null})),this.removeAllHandles()),e&&(e.forEach((e=>{e.parent=this,e.layer=this.layer})),this.addHandles([e.on("after-add",(({item:e})=>{e.parent=this,e.layer=this.layer})),e.on("after-remove",(({item:e})=>{e.parent=null,e.layer=null})),e.on("before-changes",(e=>{(this.layer?.capabilities?.exportMap?.supportsSublayersChanges??1)||(y.A.getLogger(this).error(new l.A("sublayer:sublayers-non-modifiable","Sublayer can't be added, moved, or removed from the layer's sublayers",{sublayer:this,layer:this.layer})),e.preventDefault())}))]))}_logLockedError(e,t){const{layer:r,declaredClass:i}=this;y.A.getLogger(i).error(new l.A("sublayer:locked",`Property '${String(e)}' can't be changed on Sublayer from the layer '${r?.id}'`,{reason:t,sublayer:this,layer:r}))}_getLayerDomain(e){return this.fieldsIndex.get(e)?.domain??null}static{this.test={isMapImageLayerOverridePolicy:e=>e===ee||e===X||e===H,isTileImageLayerOverridePolicy:e=>e===W}}};(0,s._)([(0,b.MZ)({readOnly:!0})],se.prototype,"capabilities",void 0),(0,s._)([(0,_.w)("service","capabilities",["layerDefinition.canModifyLayer","layerDefinition.capabilities"])],se.prototype,"readCapabilities",null),(0,s._)([(0,b.MZ)()],se.prototype,"defaultPopupTemplate",null),(0,s._)([(0,b.MZ)({type:String,value:null,json:{name:"layerDefinition.definitionExpression",write:{allowNull:!0,overridePolicy:H}}})],se.prototype,"definitionExpression",null),(0,s._)([(0,b.MZ)({readOnly:!0})],se.prototype,"effectiveScaleRange",null),(0,s._)([(0,_.w)("service","maxScaleRange",["minScale","maxScale"])],se.prototype,"readMaxScaleRange",null),(0,s._)([(0,b.MZ)({type:[P.A],json:{origins:{service:{read:{source:"layerDefinition.fields"}}}}})],se.prototype,"fields",void 0),(0,s._)([(0,b.MZ)({readOnly:!0})],se.prototype,"fieldsIndex",null),(0,s._)([(0,b.MZ)({type:Z.A,value:null,json:{name:"layerDefinition.floorInfo",read:{source:"layerDefinition.floorInfo"},write:{target:"layerDefinition.floorInfo",overridePolicy:H},origins:{"web-scene":{read:!1,write:!1}}}})],se.prototype,"floorInfo",null),(0,s._)([(0,b.MZ)({type:A.A,json:{read:{source:"layerDefinition.extent"}}})],se.prototype,"fullExtent",void 0),(0,s._)([(0,b.MZ)({type:T.gy.apiValues,json:{origins:{service:{name:"layerDefinition.geometryType",read:{reader:T.gy.read}}}}})],se.prototype,"geometryType",void 0),(0,s._)([(0,b.MZ)({type:String})],se.prototype,"globalIdField",void 0),(0,s._)([(0,_.w)("service","globalIdField",["layerDefinition.globalIdField","layerDefinition.fields"])],se.prototype,"readGlobalIdFieldFromService",null),(0,s._)([(0,b.MZ)({type:v.jz,json:{write:{ignoreOrigin:!0}}})],se.prototype,"id",null),(0,s._)([(0,b.MZ)({readOnly:!0})],se.prototype,"isTable",void 0),(0,s._)([(0,_.w)("service","isTable",["type"])],se.prototype,"readIsTable",null),(0,s._)([(0,b.MZ)({value:null,type:[R.A],json:{read:{source:"layerDefinition.drawingInfo.labelingInfo"},write:{target:"layerDefinition.drawingInfo.labelingInfo",overridePolicy:ee}}})],se.prototype,"labelingInfo",null),(0,s._)([(0,S.K)("labelingInfo")],se.prototype,"writeLabelingInfo",null),(0,s._)([(0,b.MZ)({type:Boolean,value:!0,json:{read:{source:"layerDefinition.drawingInfo.showLabels"},write:{target:"layerDefinition.drawingInfo.showLabels",overridePolicy:X}}})],se.prototype,"labelsVisible",null),(0,s._)([(0,b.MZ)({value:null})],se.prototype,"layer",null),(0,s._)([(0,b.MZ)({type:String,json:{write:{overridePolicy:W}}})],se.prototype,"layerItemId",void 0),(0,s._)([(0,b.MZ)({type:Boolean,value:!0,json:{origins:{service:{read:{enabled:!1}}},read:{source:"showLegend"},write:{target:"showLegend",overridePolicy:te}}})],se.prototype,"legendEnabled",void 0),(0,s._)([(0,b.MZ)({type:["show","hide","hide-children"],value:"show",json:{read:!1,write:!1,origins:{"web-scene":{read:!0,write:!0}}}})],se.prototype,"listMode",null),(0,s._)([(0,b.MZ)({type:Number,value:0,json:{write:{overridePolicy:X}}})],se.prototype,"minScale",null),(0,s._)([(0,_.w)("minScale",["minScale","layerDefinition.minScale"])],se.prototype,"readMinScale",null),(0,s._)([(0,b.MZ)({type:Number,value:0,json:{write:{overridePolicy:X}}})],se.prototype,"maxScale",null),(0,s._)([(0,_.w)("maxScale",["maxScale","layerDefinition.maxScale"])],se.prototype,"readMaxScale",null),(0,s._)([(0,b.MZ)()],se.prototype,"objectIdField",void 0),(0,s._)([(0,_.w)("service","objectIdField",["layerDefinition.objectIdField","layerDefinition.fields"])],se.prototype,"readObjectIdFieldFromService",null),(0,s._)([(0,b.MZ)({type:Number,value:1,json:{write:{target:"layerDefinition.drawingInfo.transparency",overridePolicy:X}}})],se.prototype,"opacity",null),(0,s._)([(0,_.w)("opacity",["layerDefinition.drawingInfo.transparency","layerDefinition.transparency"])],se.prototype,"readOpacity",null),(0,s._)([(0,S.K)("opacity")],se.prototype,"writeOpacity",null),(0,s._)([(0,b.MZ)({value:null,type:[j.A],json:{name:"layerDefinition.orderBy",read:{reader:M.Rr},write:{overridePolicy:H},origins:{"web-scene":{read:!1,write:!1}}}})],se.prototype,"orderBy",null),(0,s._)([(0,b.MZ)({json:{type:v.jz,write:{target:"parentLayerId",writerEnsuresNonNull:!0,overridePolicy:X}}})],se.prototype,"parent",void 0),(0,s._)([(0,S.K)("parent")],se.prototype,"writeParent",null),(0,s._)([(0,b.MZ)({type:Boolean,value:!0,json:{read:{source:"disablePopup",reader:(e,t)=>!t.disablePopup},write:{target:"disablePopup",overridePolicy:te,writer(e,t,r){t[r]=!e}}}})],se.prototype,"popupEnabled",void 0),(0,s._)([(0,b.MZ)({type:n.A,json:{read:{source:"popupInfo"},write:{target:"popupInfo",overridePolicy:te}}})],se.prototype,"popupTemplate",void 0),(0,s._)([(0,b.MZ)({readOnly:!0})],se.prototype,"queryTask",null),(0,s._)([(0,b.MZ)({type:[V.A],readOnly:!0,json:{origins:{service:{read:{source:"layerDefinition.relationships"}}}}})],se.prototype,"relationships",void 0),(0,s._)([(0,b.MZ)({types:$.Hg,value:null,json:{name:"layerDefinition.drawingInfo.renderer",write:{overridePolicy:ee},origins:{"web-scene":{types:$.XJ,name:"layerDefinition.drawingInfo.renderer",write:{overridePolicy:ee}}}}})],se.prototype,"renderer",null),(0,s._)([(0,b.MZ)({types:{key:"type",base:null,typeMap:{"data-layer":N.L,"map-layer":B.f}},cast(e){if(e){if("mapLayerId"in e)return(0,v.PZ)(B.f,e);if("dataSource"in e)return(0,v.PZ)(N.L,e)}return e},json:{name:"layerDefinition.source",write:{overridePolicy:X}}})],se.prototype,"source",null),(0,s._)([(0,b.MZ)()],se.prototype,"sourceJSON",void 0),(0,s._)([(0,b.MZ)({type:F.A,json:{origins:{service:{read:{source:"layerDefinition.extent.spatialReference"}}}}})],se.prototype,"spatialReference",void 0),(0,s._)([(0,b.MZ)({value:null,json:{type:[v.jz],write:{target:"subLayerIds",allowNull:!0,overridePolicy:X}}})],se.prototype,"sublayers",null),(0,s._)([(0,g.w)("sublayers")],se.prototype,"castSublayers",null),(0,s._)([(0,S.K)("sublayers")],se.prototype,"writeSublayers",null),(0,s._)([(0,b.MZ)({type:String,json:{name:"name",write:{overridePolicy:te}}})],se.prototype,"title",void 0),(0,s._)([(0,_.w)("service","title",["name","layerDefinition.name"])],se.prototype,"readTitle",null),(0,s._)([(0,b.MZ)({type:String})],se.prototype,"typeIdField",void 0),(0,s._)([(0,b.MZ)({json:{read:!1},readOnly:!0,value:"sublayer"})],se.prototype,"type",void 0),(0,s._)([(0,_.w)("typeIdField",["layerDefinition.typeIdField"])],se.prototype,"readTypeIdField",null),(0,s._)([(0,b.MZ)({type:[D.A],json:{origins:{service:{read:{source:"layerDefinition.types"}}}}})],se.prototype,"types",void 0),(0,s._)([(0,b.MZ)({type:String,json:{name:"layerUrl",write:{overridePolicy:W}}})],se.prototype,"url",null),(0,s._)([(0,b.MZ)({type:Boolean,value:!0,json:{read:{source:"defaultVisibility"},write:{target:"defaultVisibility",overridePolicy:X}}})],se.prototype,"visible",null),(0,s._)([(0,S.K)("visible")],se.prototype,"writeVisible",null),se=i=(0,s._)([(0,w.$)("esri.layers.support.Sublayer")],se)},63389:(e,t,r)=>{r.d(t,{Sk:()=>n,Zx:()=>s,_X:()=>a});var i=r(35666);function s(e,t,r){const i=t.flatten((({sublayers:e})=>e)).length;return i!==e.length||!!e.some((e=>e.originIdOf("minScale")>r||e.originIdOf("maxScale")>r||e.originIdOf("renderer")>r||e.originIdOf("labelingInfo")>r||e.originIdOf("opacity")>r||e.originIdOf("labelsVisible")>r||e.originIdOf("source")>r))||!o(e,t)}function n(e,t,r){return!!e.some((e=>{const t=e.source,s=!t||"map-layer"===t.type&&t.mapLayerId===e.id&&(null==t.gdbVersion||t.gdbVersion===r);e.commitProperty("renderer"),e.commitProperty("labelingInfo"),e.commitProperty("opacity"),e.commitProperty("labelsVisible"),e.commitProperty("orderBy");const n=e.layer?.capabilities?.exportMap?.supportsSublayerOrderBy??!1;return!s||e.originIdOf("renderer")>i.Gr.SERVICE||e.originIdOf("labelingInfo")>i.Gr.SERVICE||e.originIdOf("opacity")>i.Gr.SERVICE||e.originIdOf("labelsVisible")>i.Gr.SERVICE||n&&e.originIdOf("orderBy")>i.Gr.SERVICE}))||!o(e,t)}function o(e,t){if(!e?.length||null==t)return!0;const r=t.slice().reverse().flatten((({sublayers:e})=>e&&e.toArray().reverse())).map((e=>e.id)).toArray();if(e.length>r.length)return!1;let i=0;const s=r.length;for(const{id:t}of e){for(;i<s&&r[i]!==t;)i++;if(i>=s)return!1}return!0}function a(e){return!!e&&e.some((e=>null!=e.minScale||null!=e.layerDefinition?.minScale))}},73681:(e,t,r)=>{r.d(t,{n:()=>l});var i=r(49186),s=r(53966),n=r(46140),o=r(95466),a=r(55674);class l{static async from(e,t,r){const o=e.dictionary_version?n.R.parse(e.dictionary_version):null,c=new Set(e.itemsNames),d={};if(t)for(const e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);const p=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))p.delete(e);p.size&&s.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:p});const y=await(0,a.xR)(e.expression,null,d);if(!y)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!o||!o.greaterEqual(4,0);h&&s.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const f=new u(r,h);return new l(h,c,y,f)}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){s.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map((e=>({...e,type:"esriFieldTypeString"})));return new o.A(t)}}class u extends a.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t?"":""+this._boundTarget.attributes[t.name]}}},81583:(e,t,r)=>{r.d(t,{L:()=>a,g:()=>o});var i=r(60999),s=r(5503),n=r(92474);async function o(e,t){return await e.load(),a(e,t)}async function a(e,t){const r=[],o=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?o(...t):s.A.isCollection(t)?t.forEach((e=>o(e))):n.A.isLoadable(t)&&r.push(t))};t(o);let a=null;if(await(0,i.Tj)(r,(async e=>{const t=await(0,i.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||a||(a=t)})),a)throw a.error;return e}},91880:(e,t,r)=>{r.d(t,{A:()=>c});var i,s=r(90237),n=r(66552),o=r(25482),a=r(10107),l=(r(44208),r(53966),r(87811),r(40608));const u=new n.J({asc:"ascending",desc:"descending"});let c=class extends o.A{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,s._)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"field",void 0),(0,s._)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],c.prototype,"valueExpression",void 0),(0,s._)([(0,a.MZ)({type:u.apiValues,json:{type:u.jsonValues,read:u.read,write:u.write}})],c.prototype,"order",void 0),c=i=(0,s._)([(0,l.$)("esri.layers.support.OrderByInfo")],c)},91921:(e,t,r)=>{r.d(t,{I:()=>b});var i=r(90237),s=r(5503),n=r(38961),o=r(49186),a=r(53966),l=r(36708),u=r(10107),c=(r(44208),r(87811),r(88620)),d=r(40608),p=r(35666),y=r(60410),h=r(63389);const f=s.A.ofType(y.A);function m(e,t){e&&e.forEach((e=>{t(e),e.sublayers&&e.sublayers.length&&m(e.sublayers,t)}))}const b=e=>{let t=class extends e{constructor(...e){super(...e),this.allSublayers=new n.A({getCollections:()=>[this.sublayers],getChildrenFunction:e=>e.sublayers}),this.sublayersSourceJSON={[p.Gr.SERVICE]:{},[p.Gr.PORTAL_ITEM]:{},[p.Gr.WEB_SCENE]:{},[p.Gr.WEB_MAP]:{},[p.Gr.LINK_CHART]:{}},this.subtables=null,this.addHandles([(0,l.wB)((()=>this.sublayers),((e,t)=>this._handleSublayersChange(e,t)),l.OH),(0,l.wB)((()=>this.subtables),((e,t)=>this._handleSublayersChange(e,t)),l.OH)])}destroy(){this.allSublayers.destroy()}readSublayers(e,t){if(!t||!e)return;const{sublayersSourceJSON:r}=this,i=(0,p.aB)(t.origin);if(i<p.Gr.SERVICE)return;if(r[i]={context:t,visibleLayers:e.visibleLayers||r[i].visibleLayers,layers:e.layers||r[i].layers},i>p.Gr.SERVICE)return;this._set("serviceSublayers",this.createSublayersForOrigin("service").sublayers);const{sublayers:s,origin:n}=this.createSublayersForOrigin("web-document"),o=(0,c.oY)(this);o.setDefaultOrigin(n),this._set("sublayers",new f(s)),o.setDefaultOrigin("user")}findSublayerById(e){return this.allSublayers.find((t=>t.id===e))}createServiceSublayers(){return this.createSublayersForOrigin("service").sublayers}createSublayersForOrigin(e){let t;const r=(0,p.aB)("web-document"===e?"web-map":e);let i=p.Gr.SERVICE,s=this.sublayersSourceJSON[p.Gr.SERVICE].layers,n=this.sublayersSourceJSON[p.Gr.SERVICE].context,o=null;const a=[p.Gr.PORTAL_ITEM,p.Gr.WEB_SCENE,p.Gr.WEB_MAP].filter((e=>e<=r));for(const e of a){const t=this.sublayersSourceJSON[e];(0,h._X)(t.layers)&&(i=e,s=t.layers,n=t.context,t.visibleLayers&&(o={visibleLayers:t.visibleLayers,context:t.context}))}const l=[p.Gr.PORTAL_ITEM,p.Gr.WEB_SCENE,p.Gr.WEB_MAP].filter((e=>e>i&&e<=r));let u=null;for(const e of l){const{layers:r,visibleLayers:i,context:s}=this.sublayersSourceJSON[e];r&&(u={layers:r,context:s},t??=e),i&&(o={visibleLayers:i,context:s})}const c=function(e,t){const r=[],i={};return e?(e.forEach((e=>{const s=new y.A;if(s.read(e,t),i[s.id]=s,null!=e.parentLayerId&&-1!==e.parentLayerId){const t=i[e.parentLayerId];t.sublayers||(t.sublayers=[]),t.sublayers.unshift(s)}else r.unshift(s)})),r):r}(s,n),d=new Map,b=new Set;if(u)for(const e of u.layers)d.set(e.id,e);if(o?.visibleLayers)for(const e of o.visibleLayers)b.add(e);return m(c,(e=>{u&&e.read(d.get(e.id),u.context),o&&e.read({defaultVisibility:b.has(e.id)},o.context)})),{origin:(0,p.OL)(i),originWithPartialOverrides:t?(0,p.OL)(t):null,sublayers:new f({items:c})}}read(e,t){super.read(e,t),this.readSublayers(e,t)}_handleSublayersChange(e,t){t&&(t.forEach((e=>{e.parent=null,e.layer=null})),this.removeHandles("sublayers-owner")),e&&(e.forEach((e=>{e.parent=this,e.layer=this})),this.addHandles([e.on("after-add",(({item:e})=>{e.parent=this,e.layer=this})),e.on("after-remove",(({item:e})=>{e.parent=null,e.layer=null}))],"sublayers-owner"),"tile"===this.type&&this.addHandles(e.on("before-changes",(e=>{a.A.getLogger("esri.layers.TileLayer").error(new o.A("tilelayer:sublayers-non-modifiable","ISublayer can't be added, moved, or removed from the layer's sublayers",{layer:this})),e.preventDefault()})),"sublayers-owner"))}};return(0,i._)([(0,u.MZ)({readOnly:!0})],t.prototype,"allSublayers",void 0),(0,i._)([(0,u.MZ)({readOnly:!0,type:s.A.ofType(y.A)})],t.prototype,"serviceSublayers",void 0),(0,i._)([(0,u.MZ)({value:null,type:f,json:{read:!1,write:{allowNull:!0,ignoreOrigin:!0}}})],t.prototype,"sublayers",void 0),(0,i._)([(0,u.MZ)({readOnly:!0})],t.prototype,"sublayersSourceJSON",void 0),(0,i._)([(0,u.MZ)({type:f,json:{read:{source:"tables"}}})],t.prototype,"subtables",void 0),t=(0,i._)([(0,d.$)("esri.layers.mixins.SublayersOwner")],t),t}},98534:(e,t,r)=>{r.d(t,{V:()=>g});var i=r(90237),s=r(78888),n=r(91869),o=r(74887),a=r(84952),l=r(46140),u=r(10107),c=(r(44208),r(53966),r(87811),r(36005)),d=r(40608),p=r(35666),y=r(5443),h=r(16930),f=r(60694),m=r(10873),b=r(10407);const g=e=>{let t=class extends e{constructor(){super(...arguments),this.capabilities=void 0,this.copyright=null,this.fullExtent=null,this.legendEnabled=!0,this.spatialReference=null,this.version=void 0,this._allLayersAndTablesMap=null}readCapabilities(e,t){const r=t.capabilities&&t.capabilities.split(",").map((e=>e.toLowerCase().trim()));if(!r)return{operations:{supportsExportMap:!1,supportsExportTiles:!1,supportsIdentify:!1,supportsQuery:!1,supportsTileMap:!1},exportMap:null,exportTiles:null};const i=this.type,s="tile"!==i&&!!t.supportsDynamicLayers,n=r.includes("query"),o=r.includes("map"),a=!!t.exportTilesAllowed,u=r.includes("tilemap"),c=r.includes("data"),d="tile"!==i&&(!t.tileInfo||s),p="tile"!==i&&(!t.tileInfo||s),y="tile"!==i,h="tile"!==i&&s&&t.currentVersion>=11.1,f=t.cimVersion?l.R.parse(t.cimVersion):null,m=f?.greaterEqual(1,4)??!1,b=f?.greaterEqual(2,0)??!1;return{operations:{supportsExportMap:o,supportsExportTiles:a,supportsIdentify:n,supportsQuery:c,supportsTileMap:u},exportMap:o?{supportsArcadeExpressionForLabeling:m,supportsCIMSymbols:b,supportsDynamicLayers:s,supportsSublayerOrderBy:h,supportsSublayerDefinitionExpression:p,supportsSublayerVisibility:d,supportsSublayersChanges:y}:null,exportTiles:a?{maxExportTilesCount:+t.maxExportTilesCount}:null}}readVersion(e,t){let r=t.currentVersion;return r||(r=t.hasOwnProperty("capabilities")||t.hasOwnProperty("tables")?10:t.hasOwnProperty("supportedImageFormatTypes")?9.31:9.3),r}async fetchRelatedService(e){const t=this.portalItem;if(!t||!(0,b.bK)(t))return null;this._relatedFeatureServicePromise||(this._relatedFeatureServicePromise=t.fetchRelatedItems({relationshipType:"Service2Service",direction:"reverse"},e).then((e=>e.find((e=>"Feature Service"===e.type))??null),(()=>null)));const r=await this._relatedFeatureServicePromise;return(0,o.Te)(e),r?{itemId:r.id,url:r.url}:null}async fetchSublayerInfo(e,t){const{source:r}=e;if(this?.portalItem&&"tile"===this.type&&"map-layer"===r?.type&&(0,b.bK)(this.portalItem)&&e.originIdOf("url")<p.Gr.SERVICE){const i=await this.fetchRelatedService(t);i&&(e.url=(0,a.fj)(i.url,r.mapLayerId.toString()),e.layerItemId=i.itemId)}const{url:i}=e;let n;if("data-layer"===r.type)n=(await(0,s.A)(i,{responseType:"json",query:{f:"json",...this.customParameters,token:this.apiKey},...t})).data;else if(i&&e.originIdOf("url")>p.Gr.SERVICE)try{const e=await this._fetchAllLayersAndTablesFromService(i),t=(0,f.qg)(i)?.sublayer??r.mapLayerId;n=e.get(t)}catch{}else{let i=e.id;"map-layer"===r?.type&&(i=r.mapLayerId);try{n=(await this.fetchAllLayersAndTables(t)).get(i)}catch{}}return n}async fetchAllLayersAndTables(e){return this._fetchAllLayersAndTablesFromService(this.parsedUrl?.path,e)}async _fetchAllLayersAndTablesFromService(e,t){await this.load(t),this._allLayersAndTablesMap||=new Map;const r=(0,f.qg)(e),i=(0,n.tE)(this._allLayersAndTablesMap,r?.url.path,(()=>(0,s.A)((0,a.fj)(r?.url.path,"/layers"),{responseType:"json",query:{f:"json",...this.customParameters,token:this.apiKey}}).then((e=>{const t=new Map,{layers:r,tables:i}=e.data,s=[...r??[],...i??[]];for(const e of s)t.set(e.id,e);return{result:t}}),(e=>({error:e}))))),l=await i;if((0,o.Te)(t),"result"in l)return l.result;throw l.error}};return(0,i._)([(0,u.MZ)({readOnly:!0})],t.prototype,"capabilities",void 0),(0,i._)([(0,c.w)("service","capabilities",["capabilities","exportTilesAllowed","maxExportTilesCount","supportsDynamicLayers","tileInfo"])],t.prototype,"readCapabilities",null),(0,i._)([(0,u.MZ)({json:{read:{source:"copyrightText"}}})],t.prototype,"copyright",void 0),(0,i._)([(0,u.MZ)({type:y.A})],t.prototype,"fullExtent",void 0),(0,i._)([(0,u.MZ)(m.id)],t.prototype,"id",void 0),(0,i._)([(0,u.MZ)({type:Boolean,json:{origins:{service:{read:{enabled:!1}}},read:{source:"showLegend"},write:{target:"showLegend"}}})],t.prototype,"legendEnabled",void 0),(0,i._)([(0,u.MZ)(m.M6)],t.prototype,"popupEnabled",void 0),(0,i._)([(0,u.MZ)({type:h.A})],t.prototype,"spatialReference",void 0),(0,i._)([(0,u.MZ)({readOnly:!0})],t.prototype,"version",void 0),(0,i._)([(0,c.w)("service","version",["currentVersion","capabilities","tables","supportedImageFormatTypes"])],t.prototype,"readVersion",null),t=(0,i._)([(0,d.$)("esri.layers.mixins.ArcGISMapService")],t),t}}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see e0dc8794343c2a949ffb.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9402],{4643:(t,e,s)=>{s.d(e,{c:()=>n});var i=s(46337);function n(t,e,s){if(i.S$)return;const n=function(t){class e extends window.MutationObserver{constructor(t){super(t),this.observedEntry=[],this.callback=t}observe(t,e){return this.observedEntry.push({target:t,options:e}),super.observe(t,e)}unobserve(t){const e=this.observedEntry.filter((e=>e.target!==t));this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),e.forEach((t=>this.observe(t.target,t.options)))}}return"intersection"===t?window.IntersectionObserver:"mutation"===t?e:window.ResizeObserver}(t);return new n(e,s)}},32239:(t,e,s)=>{var i=s(34088),n=s(46337),o=s(53375),r=s(79e3),c=s(4643),a=s(84137),l=s(33826);const h="flip-rtl",d={},p={},u={s:16,m:24,l:32};function f({icon:t,scale:e}){const s=u[e],i=function(t){const e=!isNaN(Number(t.charAt(0))),s=t.split("-");if(s.length>0){const e=/[a-z]/i;t=s.map(((t,s)=>t.replace(e,(function(t,e){return 0===s&&0===e?t:t.toUpperCase()})))).join("")}return e?`i${t}`:t}(t),n="F"===i.charAt(i.length-1);return`${n?i.substring(0,i.length-1):i}${s}${n?"F":""}`}function b(t){return d[t]}const v=l.AH`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`;class m extends o.WF{constructor(){super(...arguments),this.visible=!1,this.flipRtl=!1,this.icon=null,this.preload=!1,this.scale="m"}static{this.properties={pathData:[16,{},{state:!0}],visible:[16,{},{state:!0}],flipRtl:[7,{},{reflect:!0,type:Boolean}],icon:[3,{},{reflect:!0}],preload:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],textLabel:1}}static{this.styles=v}connectedCallback(){if(super.connectedCallback(),this.preload)return this.visible=!0,void this.loadIconPathData();this.visible||this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}willUpdate(t){(t.has("icon")&&(this.hasUpdated||null!==this.icon)||t.has("scale")&&(this.hasUpdated||"m"!==this.scale))&&this.loadIconPathData()}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async loadIconPathData(){const{icon:t,scale:e,visible:s}=this;if(n.S$||!t||!s)return;const o={icon:t,scale:e},r=b(f(o))||await async function(t){const e=f(t),s=b(e);if(s)return s;p[e]||(p[e]=fetch((0,i.g)(`./assets/icon/${e}.json`)).then((t=>t.json())).catch((()=>(a.l.error(`${t.icon} (${t.scale}) icon failed to load`),""))));const n=await p[e];return d[e]=n,n}(o);t===this.icon&&(this.pathData=r)}waitUntilVisible(t){this.intersectionObserver=(0,c.c)("intersection",(e=>{e.forEach((e=>{e.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,t())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):t()}render(){const{el:t,flipRtl:e,pathData:s,scale:i,textLabel:c}=this,a=(0,r.g)(t),l=u[i],d=!!c,p=[].concat(s||"");return this.el.ariaHidden=(0,r.t)(!d),this.el.ariaLabel=d?c:null,this.el.role=d?"img":null,n.qy`<svg aria-hidden=true class=${(0,o.CP)({[h]:"rtl"===a&&e,svg:!0})} fill=currentColor height=100% viewBox=${`0 0 ${l} ${l}`} width=100% xmlns=http://www.w3.org/2000/svg>${p.map((t=>"string"==typeof t?n.JW`<path d=${t??n.s6} />`:n.JW`<path d=${t.d??n.s6} opacity=${("opacity"in t?t.opacity:1)??n.s6} />`))}</svg>`}}(0,i.c)("calcite-icon",m)},33520:(t,e,s)=>{s.d(e,{aK:()=>d,yr:()=>u,oW:()=>p});var i=s(36574),n=s(46337),o=s(98015);class r extends i.C{constructor(t,e){super(t);const s=this.exports;try{(0,i.s)(this.component);const t=e(this.component,this),n=this.exports!==s;if((0,i.i)(t)){n||this.setProvisionalExports(t);const e=t.then((t=>{this.exports=t,super.catchUpLifecycle()})).catch((t=>{this._ready.reject(t),console.error(t)}));this.onLoad((async()=>await e))}else n&&void 0===t||(this.exports=t),queueMicrotask((()=>super.catchUpLifecycle()))}catch(t){this._ready.reject(t),console.error(t)}}catchUpLifecycle(){}}const c=(a=r,(...t)=>{const e=(0,i.f)(),s=new a(...t),n=s.exports;(0,i.e)(e.at(-1));const o=s.component.manager;o._markExports(s,n),s.watchExports((t=>o._markExports(s,t))),(0,i.u)(s);const r=[s.component,...e].reverse();return(0,i.t)(r,(t=>void 0===t?void 0:function(t,{host:e,key:s,isReactive:n},o){const r=e,c=r[s]!==t.exports,a=r[s]!==o,l=o!==t.exports;if(c&&!a&&l&&(r[s]=t.exports),e===t.component){if(n){const e=t.component.manager;a&&e._markExports(t,r[s]),t.onUpdate((i=>{if(i.has(s)){const i=r[s];i!==t.exports&&e._markExports(t,i)}}))}t.assignedProperty=n?void 0:s}const h=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports((()=>{r[s]!==t.exports&&(h?(0,i.l)((()=>{r[s]=t.exports})):r[s]=t.exports)}))}(s,t,n)),n)});var a;class l extends i.C{constructor(t,e){super(),this._attributes=t,this._callback=e,n.S$||(this._observer=new MutationObserver((s=>{s.forEach((s=>{t.includes(s.attributeName)&&e.call(this.component,this.component.el.getAttribute(s.attributeName),s.oldValue,s.attributeName)}))})))}hostConnected(){this._attributes.forEach((t=>{this.component.el.hasAttribute(t)&&this._callback.call(this.component,null,this.component.el.getAttribute(t),t)})),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}}function h(t,e){if(!e)return t;const s={...t};return Object.entries(e).forEach((([e,i])=>{s[e]="object"==typeof i?h(t[e],i):i??t[e]})),s}const d=t=>e=>c(e,t),p=(t,e)=>new l(t,e),u=t=>(e={})=>c(void 0,((s,i)=>{const n=(0,o.kn)(s.el),r={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},c=s;function a(t){const e=i.exports,s=e._original??e,n=h(s,t);t&&(n._original=s),i.exports=n}return i.onLifecycle((()=>(0,o.hd)(s.el,(()=>t("./assets")),(({t9nLocale:t,t9nStrings:e,lang:n})=>{const o={...e,_lang:n,_t9nLocale:t,_loading:!1};i.exports=o;const r=e.componentLabel;"string"==typeof r&&"label"in s&&null==s.label&&(s.label??=r),a(c.messageOverrides)}),e.name))),"messageOverrides"in c&&i.onUpdate((t=>{t.has("messageOverrides")&&a(c.messageOverrides)})),e.blocking?(i.setProvisionalExports(r,!1),i.ready):r}))},48015:(t,e,s)=>{s.d(e,{_:()=>u,K:()=>v});var i=s(36752),n=s(18504),o=s(7804);const r=(t,e)=>{const s=t._$AN;if(void 0===s)return!1;for(const t of s)t._$AO?.(e,!1),r(t,e);return!0},c=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===s?.size)},a=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),d(e)}};function l(t){void 0!==this._$AN?(c(this),this._$AM=t,a(this)):this._$AM=t}function h(t,e=!1,s=0){const i=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)r(i[t],!1),c(i[t]);else null!=i&&(r(i,!1),c(i));else r(this,t)}const d=t=>{t.type==o.OA.CHILD&&(t._$AP??=h,t._$AQ??=l)};class p extends o.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),a(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(r(this,t),c(this))}setValue(t){if((0,n.Rt)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const u=()=>new f;class f{}const b=new WeakMap,v=(0,o.u$)(class extends p{render(t){return i.s6}update(t,[e]){const s=e!==this.G;return s&&void 0!==this.G&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),i.s6}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.G){const e=this.ht??globalThis;let s=b.get(e);void 0===s&&(s=new WeakMap,b.set(e,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return"function"==typeof this.G?b.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})},75572:(t,e,s)=>{s.d(e,{u:()=>o});var i=s(33520),n=s(34088);const o=(0,i.yr)(n.g)},83623:(t,e,s)=>{function i(t){return"l"===t?"m":"s"}async function n(t){await t.componentOnReady(),await t.updateComplete}s.d(e,{c:()=>n,g:()=>i}),s(84137)},84137:(t,e,s)=>{s.d(e,{l:()=>a});var i=s(34088);const n=new Set,o={trace:0,debug:1,info:2,warn:4,error:8,off:10};function r(t,...e){(function(t){return o[t]>=o[i.l]})(t)&&console[t].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...e)}let c;const a={debug:t=>r("debug",t),info:t=>r("info",t),warn:t=>r("warn",t),error:t=>r("error",t),trace:t=>r("trace",t),deprecated:function(t,{component:e,name:s,suggested:i,removalVersion:o}){const a=`${t}:${"component"===t?"":e}${s}`;if(n.has(a))return;n.add(a);const l=Array.isArray(i);l&&!c&&(c=new Intl.ListFormat("en",{style:"long",type:"disjunction"})),r("warn",`[${s}] ${t} is deprecated and will be removed in ${"future"===o?"a future version":`v${o}`}.${i?` Use ${l?c.format(i.map((t=>`"${t}"`))):`"${i}"`} instead.`:""}`)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4056],{9093:(t,e,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:o,create:r,fromValues:function(t,e,n,r,o,a,i,u,l,s,c,f,d,h,M,C){return[t,e,n,r,o,a,i,u,l,s,c,f,d,h,M,C]}},Symbol.toStringTag,{value:"Module"}))},9762:(t,e,n)=>{n.r(e),n.d(e,{projectBuffer:()=>o});var r=n(37539);function o(t,e,n,o,a,i,u=Math.floor(t.length/3)){const l=(0,r.jd)(e,a);if(null==l)return!1;if(l===r.pO){if(t===o&&n===i)return!0;const e=n+3*u;for(let r=n,a=i;r<e;r++,a++)o[a]=t[r];return!0}const s=n+3*u;for(let e=n,r=i;e<s;e+=3,r+=3)l(t,e,o,r);return!0}},29242:(t,e,n)=>{function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,e,n,r,o,a,i,u,l){return[t,e,n,r,o,a,i,u,l]}n.d(e,{fA:()=>o,vt:()=>r,zK:()=>a});const a=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,fromValues:o},Symbol.toStringTag,{value:"Module"}))},32114:(t,e,n)=>{n.d(e,{Rc:()=>h,J8:()=>M,rq:()=>f,Km:()=>d}),n(44208);var r=n(26390),o=n(29242),a=n(9093),i=n(82534),u=n(48163),l=n(51850),s=n(91829);class c{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,r.d)((()=>this._reset())),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new c(u.vt)}static createVec3f64(){return new c(l.vt)}static createVec4f64(){return new c(s.vt)}static createMat3f64(){return new c(o.vt)}static createMat4f64(){return new c(a.vt)}static createQuatf64(){return new c(i.vt)}get test(){}}c.createVec2f64();const f=c.createVec3f64(),d=c.createVec4f64(),h=(c.createMat3f64(),c.createMat4f64()),M=c.createQuatf64()},34142:(t,e,n)=>{n.r(e),n.d(e,{default:()=>S});var r=n(4576),o=n(34275),a=n(67026),i=n(82534),u=n(38954),l=n(72385),s=n(16930),c=n(9762),f=(n(44208),n(63531)),d=n(69846),h=n(48425),M=n(59418),C=n(37203);function b(t,e,n){return t?.attributeInfo.useElevation?e?function(t,e){const n=new Float64Array(e);for(let r=0;r<e;r++)n[r]=t[3*r+2];return n}(e,n):null:t?.attributeInfo.storageInfo?(0,M.m0)(t.attributeInfo.storageInfo,t.buffer,n,!0):null}function A(t){switch(t){default:case null:case"none":return t=>t;case"low-four-bit":return t=>15&t;case"high-four-bit":return t=>(240&t)>>4;case"absolute-value":return t=>Math.abs(t);case"modulo-ten":return t=>t%10}}function g(t){let e=0;for(const n of t||[])e|=1<<n;return e}var m=n(57005);class p{transform(t){const e=this._transform(t),n=[e.points.buffer,e.rgb.buffer];null!=e.pointIdFilterMap&&n.push(e.pointIdFilterMap.buffer);for(const t of e.attributes)"buffer"in t.values&&(0,o.mw)(t.values.buffer)&&t.values.buffer!==e.rgb.buffer&&n.push(t.values.buffer);return Promise.resolve({result:e,transferList:n})}_transform(t){const e=function(t,e){if(null==t.encoding||""===t.encoding){const n=(0,M.wH)(e,t);if(null==n.vertexAttributes.position)return;const r=(0,M.MA)(e,n.vertexAttributes.position),o=n.header.fields,a=[o.offsetX,o.offsetY,o.offsetZ],i=[o.scaleX,o.scaleY,o.scaleZ],u=r.length/3,l=new Float64Array(3*u);for(let t=0;t<u;t++)l[3*t]=r[3*t]*i[0]+a[0],l[3*t+1]=r[3*t+1]*i[1]+a[1],l[3*t+2]=r[3*t+2]*i[2]+a[2];return l}if("lepcc-xyz"===t.encoding)return(0,C.Me)(e).result}(t.schema,t.geometryBuffer);let n=e.length/3,o=null;const a=new Array,i=b(t.primaryAttributeData,e,n);null!=t.primaryAttributeData&&i&&a.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:i});const u=b(t.modulationAttributeData,e,n);null!=t.modulationAttributeData&&u&&a.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:u});let l=function(t,e,n,r){const{rendererJSON:o,isRGBRenderer:a}=t;let i=null,u=null;if(e&&a)i=e;else if(e&&"pointCloudUniqueValueRenderer"===o?.type){u=h.A.fromJSON(o);const t=u.colorUniqueValueInfos;i=new Uint8Array(3*r);const n=A(u.fieldTransformType);for(let o=0;o<r;o++){const r=(n?n(e[o]):e[o])+"";for(let e=0;e<t.length;e++)if(t[e].values.includes(r)){i[3*o]=t[e].color.r,i[3*o+1]=t[e].color.g,i[3*o+2]=t[e].color.b;break}}}else if(e&&"pointCloudStretchRenderer"===o?.type){u=d.A.fromJSON(o);const t=u.stops;i=new Uint8Array(3*r);const n=A(u.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o],a=t.length-1;if(r<t[0].value)i[3*o]=t[0].color.r,i[3*o+1]=t[0].color.g,i[3*o+2]=t[0].color.b;else if(r>=t[a].value)i[3*o]=t[a].color.r,i[3*o+1]=t[a].color.g,i[3*o+2]=t[a].color.b;else for(let e=1;e<t.length;e++)if(r<t[e].value){const n=(r-t[e-1].value)/(t[e].value-t[e-1].value);i[3*o]=t[e].color.r*n+t[e-1].color.r*(1-n),i[3*o+1]=t[e].color.g*n+t[e-1].color.g*(1-n),i[3*o+2]=t[e].color.b*n+t[e-1].color.b*(1-n);break}}}else if(e&&"pointCloudClassBreaksRenderer"===o?.type){u=f.A.fromJSON(o);const t=u.colorClassBreakInfos;i=new Uint8Array(3*r);const n=A(u.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o];for(let e=0;e<t.length;e++)if(r>=t[e].minValue&&r<=t[e].maxValue){i[3*o]=t[e].color.r,i[3*o+1]=t[e].color.g,i[3*o+2]=t[e].color.b;break}}}else i=new Uint8Array(3*r).fill(255);if(n&&u?.colorModulation){const t=u.colorModulation.minValue,e=u.colorModulation.maxValue,o=.3;for(let a=0;a<r;a++){const r=n[a],u=r>=e?1:r<=t?o:o+(1-o)*(r-t)/(e-t);i[3*a]=u*i[3*a],i[3*a+1]=u*i[3*a+1],i[3*a+2]=u*i[3*a+2]}}return i}(t.rendererInfo,i,u,n);if(t.filterInfo&&t.filterInfo.length>0&&null!=t.filterAttributesData){const i=t.filterAttributesData.filter(r.Ru).map((t=>{const r=b(t,e,n),o={attributeInfo:t.attributeInfo,values:r};return a.push(o),o}));o=new Uint32Array(n),n=function(t,e,n,r,o){const a=t.length/3;let i=0;for(let u=0;u<a;u++){let a=!0;for(let t=0;t<r.length&&a;t++){const{filterJSON:e}=r[t],n=o[t].values[u];switch(e.type){case"pointCloudValueFilter":{const t="exclude"===e.mode;e.values.includes(n)===t&&(a=!1);break}case"pointCloudBitfieldFilter":{const t=g(e.requiredSetBits),r=g(e.requiredClearBits);((n&t)!==t||n&r)&&(a=!1);break}case"pointCloudReturnFilter":{const t=15&n,r=n>>>4&15,o=r>1,i=1===t,u=t===r;let l=!1;for(const t of e.includedReturns)if("last"===t&&u||"firstOfMany"===t&&i&&o||"lastOfMany"===t&&u&&o||"single"===t&&!o){l=!0;break}l||(a=!1);break}}}a&&(n[i]=u,t[3*i]=t[3*u],t[3*i+1]=t[3*u+1],t[3*i+2]=t[3*u+2],e[3*i]=e[3*u],e[3*i+1]=e[3*u+1],e[3*i+2]=e[3*u+2],i++)}return i}(e,l,o,t.filterInfo,i)}for(const r of t.userAttributesData){const t=b(r,e,n);a.push({attributeInfo:r.attributeInfo,values:t})}3*n<l.length&&(l=new Uint8Array(l.buffer.slice(0,3*n))),function(t,e,n){if(0!==n)for(let r=0;r<e;r++)t[3*r+2]+=n}(e,n,t.elevationOffset);const c=E(e,n,m.ab.fromData(t.obbData),s.A.fromJSON(t.inSR),s.A.fromJSON(t.outSR));return{obbData:t.obbData,points:c,rgb:l,attributes:a,pointIdFilterMap:o}}}function E(t,e,n,r,o){if(!(0,c.projectBuffer)(t,r,0,t,o,0,e))throw new Error("Can't reproject");const i=(0,l.o8)(n.center),s=(0,l.vt)(),f=(0,l.vt)(),d=(0,l.o8)(n.halfSize);(0,a.Xr)(y,n.quaternion);const h=new Float32Array(3*e);for(let n=0;n<e;n++){let e=3*n;s[0]=t[e]-i[0],s[1]=t[e+1]-i[1],s[2]=t[e+2]-i[2],(0,u.v)(f,s,y),d[0]=Math.max(d[0],Math.abs(f[0])),d[1]=Math.max(d[1],Math.abs(f[1])),d[2]=Math.max(d[2],Math.abs(f[2])),h[e++]=s[0],h[e++]=s[1],h[e]=s[2]}return n.halfSize=d,h}const y=(0,i.vt)();function S(){return new p}},37203:(t,e,n)=>{n.d(e,{Ax:()=>A,Me:()=>s,mb:()=>M});var r=n(49186);const o=!0,a={identifierOffset:0,identifierLength:10,versionOffset:10,checksumOffset:12,byteCount:16};function i(t,e,n){return{identifier:String.fromCharCode.apply(null,new Uint8Array(t,n+a.identifierOffset,a.identifierLength)),version:e.getUint16(n+a.versionOffset,o),checksum:e.getUint32(n+a.checksumOffset,o)}}const u={sizeLo:0,sizeHi:4,minX:8,minY:16,minZ:24,maxX:32,maxY:40,maxZ:48,errorX:56,errorY:64,errorZ:72,count:80,reserved:84,byteCount:88};function l(t,e){return{sizeLo:t.getUint32(e+u.sizeLo,o),sizeHi:t.getUint32(e+u.sizeHi,o),minX:t.getFloat64(e+u.minX,o),minY:t.getFloat64(e+u.minY,o),minZ:t.getFloat64(e+u.minZ,o),maxX:t.getFloat64(e+u.maxX,o),maxY:t.getFloat64(e+u.maxY,o),maxZ:t.getFloat64(e+u.maxZ,o),errorX:t.getFloat64(e+u.errorX,o),errorY:t.getFloat64(e+u.errorY,o),errorZ:t.getFloat64(e+u.errorZ,o),count:t.getUint32(e+u.count,o),reserved:t.getUint32(e+u.reserved,o)}}function s(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:s}=i(t,e,n);if(n+=a.byteCount,"LEPCC "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(s>1)throw new r.A("lepcc-decode-error","Unknown version");const f=l(e,n);if(n+=u.byteCount,f.sizeHi*2**32+f.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const d=new Float64Array(3*f.count),h=[],M=[],C=[],b=[];if(n=c(t,n,h),n=c(t,n,M),n=c(t,n,C),n=c(t,n,b),n!==t.byteLength)throw new r.A("lepcc-decode-error","Bad length");let A=0,g=0;for(let t=0;t<h.length;t++){g+=h[t];let e=0;for(let n=0;n<M[t];n++){e+=C[A];const t=b[A];d[3*A]=Math.min(f.maxX,f.minX+2*f.errorX*e),d[3*A+1]=Math.min(f.maxY,f.minY+2*f.errorY*g),d[3*A+2]=Math.min(f.maxZ,f.minZ+2*f.errorZ*t),A++}}return{errorX:f.errorX,errorY:f.errorY,errorZ:f.errorZ,result:d}}function c(t,e,n){const r=[];e=f(t,e,r);const o=[];for(let a=0;a<r.length;a++){o.length=0,e=f(t,e,o);for(let t=0;t<o.length;t++)n.push(o[t]+r[a])}return e}function f(t,e,n){const a=new DataView(t,e),i=a.getUint8(0),u=31&i,l=!!(32&i),s=(192&i)>>6;let c=0;if(0===s)c=a.getUint32(1,o),e+=5;else if(1===s)c=a.getUint16(1,o),e+=3;else{if(2!==s)throw new r.A("lepcc-decode-error","Bad count type");c=a.getUint8(1),e+=2}if(l)throw new r.A("lepcc-decode-error","LUT not implemented");const f=Math.ceil(c*u/8),d=new Uint8Array(t,e,f);let h=0,M=0,C=0;const b=-1>>>32-u;for(let t=0;t<c;t++){for(;M<u;)h|=d[C]<<M,M+=8,C+=1;n[t]=h&b,h>>>=u,M-=u,M+u>32&&(h|=d[C-1]>>8-M)}return e+C}const d={sizeLo:0,sizeHi:4,count:8,colorMapCount:12,lookupMethod:14,compressionMethod:15,byteCount:16};function h(t,e){return{sizeLo:t.getUint32(e+d.sizeLo,o),sizeHi:t.getUint32(e+d.sizeHi,o),count:t.getUint32(e+d.count,o),colorMapCount:t.getUint16(e+d.colorMapCount,o),lookupMethod:t.getUint8(e+d.lookupMethod),compressionMethod:t.getUint8(e+d.compressionMethod)}}function M(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:u}=i(t,e,n);if(n+=a.byteCount,"ClusterRGB"!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(u>1)throw new r.A("lepcc-decode-error","Unknown version");const l=h(e,n);if(n+=d.byteCount,l.sizeHi*2**32+l.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");if((2===l.lookupMethod||1===l.lookupMethod)&&0===l.compressionMethod){if(3*l.colorMapCount+l.count+n!==t.byteLength||l.colorMapCount>256)throw new r.A("lepcc-decode-error","Bad count");const e=new Uint8Array(t,n,3*l.colorMapCount),o=new Uint8Array(t,n+3*l.colorMapCount,l.count),a=new Uint8Array(3*l.count);for(let t=0;t<l.count;t++){const n=o[t];a[3*t]=e[3*n],a[3*t+1]=e[3*n+1],a[3*t+2]=e[3*n+2]}return a}if(0===l.lookupMethod&&0===l.compressionMethod){if(3*l.count+n!==t.byteLength||0!==l.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");return new Uint8Array(t,n).slice()}if(l.lookupMethod<=2&&1===l.compressionMethod){if(n+3!==t.byteLength||1!==l.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");const o=e.getUint8(n),a=e.getUint8(n+1),i=e.getUint8(n+2),u=new Uint8Array(3*l.count);for(let t=0;t<l.count;t++)u[3*t]=o,u[3*t+1]=a,u[3*t+2]=i;return u}throw new r.A("lepcc-decode-error","Bad method "+l.lookupMethod+","+l.compressionMethod)}const C={sizeLo:0,sizeHi:4,count:8,scaleFactor:12,bitsPerPoint:14,reserved:15,byteCount:16};function b(t,e){return{sizeLo:t.getUint32(e+C.sizeLo,o),sizeHi:t.getUint32(e+C.sizeHi,o),count:t.getUint32(e+C.count,o),scaleFactor:t.getUint16(e+C.scaleFactor,o),bitsPerPoint:t.getUint8(e+C.bitsPerPoint),reserved:t.getUint8(e+C.reserved)}}function A(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:u}=i(t,e,n);if(n+=a.byteCount,"Intensity "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(u>1)throw new r.A("lepcc-decode-error","Unknown version");const l=b(e,n);if(n+=C.byteCount,l.sizeHi*2**32+l.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const s=new Uint16Array(l.count);if(8===l.bitsPerPoint){if(l.count+n!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const e=new Uint8Array(t,n,l.count);for(let t=0;t<l.count;t++)s[t]=e[t]*l.scaleFactor}else if(16===l.bitsPerPoint){if(2*l.count+n!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const e=new Uint16Array(t,n,l.count);for(let t=0;t<l.count;t++)s[t]=e[t]*l.scaleFactor}else{const e=[];if(f(t,n,e)!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");for(let t=0;t<l.count;t++)s[t]=e[t]*l.scaleFactor}return s}},37539:(t,e,n)=>{n.d(e,{rz:()=>c,pO:()=>A,jd:()=>M,Tp:()=>C,w5:()=>h});var r=n(34727),o=n(83047),a=n(73941),i=n(79258);Math.PI;const u=i.$O.radius,l=i.$O.eccentricitySquared,s={a1:u*l,a2:u*l*u*l,a3:u*l*l/2,a4:u*l*u*l*2.5,a5:u*l+u*l*l/2,a6:1-l};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius;var c,f=n(21325),d=n(19936);!function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.SPHERICAL_ECEF=1]="SPHERICAL_ECEF",t[t.WGS84=2]="WGS84",t[t.WEB_MERCATOR=3]="WEB_MERCATOR",t[t.WGS84_ECEF=4]="WGS84_ECEF",t[t.CGCS2000=5]="CGCS2000",t[t.SPHERICAL_MARS_PCPF=6]="SPHERICAL_MARS_PCPF",t[t.GCSMARS2000=7]="GCSMARS2000",t[t.SPHERICAL_MOON_PCPF=8]="SPHERICAL_MOON_PCPF",t[t.GCSMOON2000=9]="GCSMOON2000",t[t.LON_LAT=10]="LON_LAT",t[t.PLATE_CARREE=11]="PLATE_CARREE"}(c||(c={}));const h={[c.WGS84]:{[c.CGCS2000]:A,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:A,[c.SPHERICAL_ECEF]:O,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:m,[c.PLATE_CARREE]:p,[c.WGS84]:A,[c.WGS84_ECEF]:N},[c.CGCS2000]:{[c.CGCS2000]:A,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:A,[c.SPHERICAL_ECEF]:O,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:m,[c.PLATE_CARREE]:p,[c.WGS84]:A,[c.WGS84_ECEF]:N},[c.GCSMARS2000]:{[c.CGCS2000]:null,[c.GCSMARS2000]:A,[c.GCSMOON2000]:null,[c.LON_LAT]:A,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:_,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.GCSMOON2000]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:A,[c.LON_LAT]:A,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:S,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.WEB_MERCATOR]:{[c.CGCS2000]:g,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:g,[c.SPHERICAL_ECEF]:function(t,e,n,r){const o=t[e]/G,a=T-2*Math.atan(Math.exp(-t[e+1]/G)),i=G+t[e+2],u=Math.cos(a)*i;n[r]=Math.cos(o)*u,n[r+1]=Math.sin(o)*u,n[r+2]=Math.sin(a)*i},[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:A,[c.PLATE_CARREE]:function(t,e,n,r){g(t,e,n,r),p(n,r,n,r)},[c.WGS84]:g,[c.WGS84_ECEF]:function(t,e,n,r){g(t,e,n,r),N(n,r,n,r)}},[c.WGS84_ECEF]:{[c.CGCS2000]:L,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:L,[c.SPHERICAL_ECEF]:function(t,e,n,r){L(t,e,n,r),O(n,r,n,r)},[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:function(t,e,n,r){L(t,e,n,r),m(n,r,n,r)},[c.PLATE_CARREE]:function(t,e,n,r){L(t,e,n,r),p(n,r,n,r)},[c.WGS84]:L,[c.WGS84_ECEF]:A},[c.SPHERICAL_ECEF]:{[c.CGCS2000]:I,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:I,[c.SPHERICAL_ECEF]:A,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:function(t,e,n,r){I(t,e,n,r),m(n,r,n,r)},[c.PLATE_CARREE]:function(t,e,n,r){I(t,e,n,r),p(n,r,n,r)},[c.WGS84]:I,[c.WGS84_ECEF]:function(t,e,n,r){I(t,e,n,r),N(n,r,n,r)}},[c.SPHERICAL_MARS_PCPF]:{[c.CGCS2000]:null,[c.GCSMARS2000]:P,[c.GCSMOON2000]:null,[c.LON_LAT]:P,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:A,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.SPHERICAL_MOON_PCPF]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:R,[c.LON_LAT]:R,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:A,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.UNKNOWN]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:null,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:A,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.LON_LAT]:{[c.CGCS2000]:A,[c.GCSMARS2000]:A,[c.GCSMOON2000]:A,[c.LON_LAT]:A,[c.SPHERICAL_ECEF]:O,[c.SPHERICAL_MARS_PCPF]:_,[c.SPHERICAL_MOON_PCPF]:S,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:m,[c.PLATE_CARREE]:p,[c.WGS84]:A,[c.WGS84_ECEF]:N},[c.PLATE_CARREE]:{[c.CGCS2000]:E,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:E,[c.SPHERICAL_ECEF]:function(t,e,n,r){E(t,e,n,r),O(n,r,n,r)},[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:function(t,e,n,r){E(t,e,n,r),m(n,r,n,r)},[c.PLATE_CARREE]:A,[c.WGS84]:E,[c.WGS84_ECEF]:function(t,e,n,r){E(t,e,n,r),N(n,r,n,r)}}};function M(t,e){return C(t,e)?.projector}function C(t,e){if(null==t||null==e)return null;if(v.source.spatialReference===t&&v.dest.spatialReference===e)return v;const n=b(t,v.source),r=b(e,v.dest);return n===c.UNKNOWN&&r===c.UNKNOWN?(0,f.aI)(t,e)?v.projector=A:v.projector=null:v.projector=h[n][r],v}function b(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,o.GA)(t,1)),(0,a.jA)(t)?e.spatialReferenceId=c.SPHERICAL_ECEF:(0,f.oT)(t)?e.spatialReferenceId=c.WGS84:(0,f.K8)(t)?e.spatialReferenceId=c.WEB_MERCATOR:(0,f.r1)(t)?e.spatialReferenceId=c.PLATE_CARREE:t.wkt===a.Ro.wkt?e.spatialReferenceId=c.WGS84_ECEF:t.wkid===d.Y.CGCS2000?e.spatialReferenceId=c.CGCS2000:t.wkt===a.FY.wkt?e.spatialReferenceId=c.SPHERICAL_MARS_PCPF:t.wkt===a.LJ.wkt?e.spatialReferenceId=c.SPHERICAL_MOON_PCPF:(0,f.q8)(t)?e.spatialReferenceId=c.GCSMARS2000:(0,f.KQ)(t)?e.spatialReferenceId=c.GCSMOON2000:e.spatialReferenceId=c.UNKNOWN):c.UNKNOWN}function A(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e])}function g(t,e,n,r){n[r]=U*(t[e]/G),n[r+1]=U*(T-2*Math.atan(Math.exp(-t[e+1]/G))),n[r+2]=t[e+2]}function m(t,e,n,o){!function(t,e,n,o,a){const i=.4999999*Math.PI,u=(0,r.qE)(F*t[e+1],-i,i),l=Math.sin(u);n[o++]=F*t[e]*a.radius,n[o++]=a.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[o]=t[e+2]}(t,e,n,o,i.$O)}function p(t,e,n,r){n[r]=t[e]*W,n[r+1]=t[e+1]*W,n[r+2]=t[e+2]}function E(t,e,n,r){n[r]=t[e]*k,n[r+1]=t[e+1]*k,n[r+2]=t[e+2]}function y(t,e,n,r,o){const a=o+t[e+2],i=F*t[e+1],u=F*t[e],l=Math.cos(i)*a;n[r]=Math.cos(u)*l,n[r+1]=Math.sin(u)*l,n[r+2]=Math.sin(i)*a}function S(t,e,n,r){y(t,e,n,r,i.Sw.radius)}function _(t,e,n,r){y(t,e,n,r,i.sH.radius)}function O(t,e,n,r){y(t,e,n,r,i.$O.radius)}function w(t,e,n,o,a){const i=t[e],u=t[e+1],l=t[e+2],s=Math.sqrt(i*i+u*u+l*l),c=(0,r.YN)(l/(0===s?1:s)),f=Math.atan2(u,i);n[o++]=U*f,n[o++]=U*c,n[o]=s-a}function R(t,e,n,r){w(t,e,n,r,i.Sw.radius)}function P(t,e,n,r){w(t,e,n,r,i.sH.radius)}function I(t,e,n,r){w(t,e,n,r,i.$O.radius)}function N(t,e,n,r){!function(t,e,n,r,o){const a=F*t[e],i=F*t[e+1],u=t[e+2],l=Math.sin(i),s=Math.cos(i),c=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);n[r++]=(c+u)*s*Math.cos(a),n[r++]=(c+u)*s*Math.sin(a),n[r++]=(c*(1-o.eccentricitySquared)+u)*l}(t,e,n,r,i.$O)}function L(t,e,n,r){const o=s,a=t[e],u=t[e+1],l=t[e+2];let c,f,d,h,M,C,b,A,g,m,p,E,y,S,_,O,w,R,P,I,N;c=Math.abs(l),f=a*a+u*u,d=Math.sqrt(f),h=f+l*l,M=Math.sqrt(h),I=Math.atan2(u,a),C=l*l/h,b=f/h,S=o.a2/M,_=o.a3-o.a4/M,b>.3?(A=c/M*(1+b*(o.a1+S+C*_)/M),P=Math.asin(A),m=A*A,g=Math.sqrt(1-m)):(g=d/M*(1-C*(o.a5-S-b*_)/M),P=Math.acos(g),m=1-g*g,A=Math.sqrt(m)),p=1-i.$O.eccentricitySquared*m,E=i.$O.radius/Math.sqrt(p),y=o.a6*E,S=d-E*g,_=c-y*A,w=g*S+A*_,O=g*_-A*S,R=O/(y/p+w),P+=R,N=w+O*R/2,l<0&&(P=-P),n[r++]=U*I,n[r++]=U*P,n[r]=N}const v={source:{spatialReference:null,spatialReferenceId:c.UNKNOWN,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:c.UNKNOWN,metersPerUnit:1},projector:A},F=(0,r.kU)(1),U=(0,r.KJ)(1),T=.5*Math.PI,G=i.$O.radius,W=G*Math.PI/180,k=180/(G*Math.PI)},38954:(t,e,n)=>{n.d(e,{A:()=>M,B:()=>h,C:()=>c,D:()=>f,E:()=>F,F:()=>W,H:()=>H,a:()=>U,b:()=>A,c:()=>i,d:()=>s,e:()=>_,f:()=>l,g:()=>b,h:()=>O,i:()=>u,j:()=>g,k:()=>p,l:()=>a,m:()=>w,n:()=>S,o:()=>P,q:()=>v,r:()=>y,s:()=>m,t:()=>R,u:()=>E,v:()=>I,w:()=>d,x:()=>k,y:()=>x,z:()=>C});var r=n(51850),o=n(34304);function a(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function u(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function l(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function s(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function d(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function h(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function M(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function C(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function b(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function A(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function g(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return Math.sqrt(n*n+r*r+o*o)}function m(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return n*n+r*r+o*o}function p(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function E(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function y(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function S(t,e){const n=e[0],r=e[1],o=e[2];let a=n*n+r*r+o*o;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function O(t,e,n){const r=e[0],o=e[1],a=e[2],i=n[0],u=n[1],l=n[2];return t[0]=o*l-a*u,t[1]=a*i-r*l,t[2]=r*u-o*i,t}function w(t,e,n,r){const o=e[0],a=e[1],i=e[2];return t[0]=o+r*(n[0]-o),t[1]=a+r*(n[1]-a),t[2]=i+r*(n[2]-i),t}function R(t,e,n){const r=e[0],o=e[1],a=e[2];return t[0]=n[0]*r+n[4]*o+n[8]*a+n[12],t[1]=n[1]*r+n[5]*o+n[9]*a+n[13],t[2]=n[2]*r+n[6]*o+n[10]*a+n[14],t}function P(t,e,n){const r=e[0],o=e[1],a=e[2];return t[0]=r*n[0]+o*n[3]+a*n[6],t[1]=r*n[1]+o*n[4]+a*n[7],t[2]=r*n[2]+o*n[5]+a*n[8],t}function I(t,e,n){const r=n[0],o=n[1],a=n[2],i=n[3],u=e[0],l=e[1],s=e[2],c=o*s-a*l,f=a*u-r*s,d=r*l-o*u,h=o*d-a*f,M=a*c-r*d,C=r*f-o*c,b=2*i;return t[0]=u+c*b+2*h,t[1]=l+f*b+2*M,t[2]=s+d*b+2*C,t}const N=(0,r.vt)(),L=(0,r.vt)();function v(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function F(t,e,n){const r=n[0]-e[0],o=n[1]-e[1],a=n[2]-e[2];let i=r*r+o*o+a*a;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=o*i,t[2]=a*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const U=s,T=c,G=f,W=g,k=m,H=a,x=p;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:l,angle:function(t,e){S(N,t),S(L,e);const n=_(N,L);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,o,a){const i=1-a,u=i*i,l=a*a,s=u*i,c=3*a*u,f=3*l*i,d=l*a;return t[0]=e[0]*s+n[0]*c+r[0]*f+o[0]*d,t[1]=e[1]*s+n[1]*c+r[1]*f+o[1]*d,t[2]=e[2]*s+n[2]*c+r[2]*f+o[2]*d,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:i,cross:O,crossAndNormalize:function(t,e,n){const r=e[0],o=e[1],a=e[2],i=n[0],u=n[1],l=n[2],s=o*l-a*u,c=a*i-r*l,f=r*u-o*i,d=Math.sqrt(s*s+c*c+f*f);return t[0]=s/d,t[1]=c/d,t[2]=f/d,t},direction:F,dist:W,distance:g,div:G,divide:f,dot:_,equals:function(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],i=e[0],u=e[1],l=e[2],s=(0,o.FD)();return Math.abs(n-i)<=s*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-u)<=s*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(a-l)<=s*Math.max(1,Math.abs(a),Math.abs(l))},exactEquals:v,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,o,a){const i=a*a,u=i*(2*a-3)+1,l=i*(a-2)+a,s=i*(a-1),c=i*(3-2*a);return t[0]=e[0]*u+n[0]*l+r[0]*s+o[0]*c,t[1]=e[1]*u+n[1]*l+r[1]*s+o[1]*c,t[2]=e[2]*u+n[2]*l+r[2]*s+o[2]*c,t},inverse:y,len:H,length:a,lerp:w,max:C,min:M,mul:T,multiply:c,negate:E,normalize:S,random:function(t,e=1){const n=o.Ov,r=2*n()*Math.PI,a=2*n()-1,i=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=a*e,t},rotateX:function(t,e,n,r){const o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[0],a[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),a[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){const o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),a[1]=o[1],a[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:function(t,e,n,r){const o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),a[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),a[2]=o[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:b,scaleAndAdd:A,set:u,sign:h,sqrDist:k,sqrLen:x,squaredDistance:m,squaredLength:p,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:U,subtract:s,transformMat3:P,transformMat4:R,transformQuat:I},Symbol.toStringTag,{value:"Module"}))},40876:(t,e,n)=>{n.d(e,{Eq:()=>h,G1:()=>C,TS:()=>a,Tf:()=>g,V6:()=>o,Vm:()=>M,ay:()=>l,c1:()=>b,c4:()=>i,j5:()=>s,lT:()=>f,oW:()=>c});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function o(t){return!!r[t]||!!r[t.toLowerCase()]}function a(t){return r[t]??r[t.toLowerCase()]}function i(t){return[...a(t)]}function u(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function l(t,e,n,r=1){const o=(t%360+360)%360/360,a=n<=.5?n*(e+1):n+e-n*e,i=2*n-a;return[Math.round(255*u(i,a,o+1/3)),Math.round(255*u(i,a,o)),Math.round(255*u(i,a,o-1/3)),r]}function s(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,o=e?1:17,a=e?9===t.length:5===t.length;let i=Number("0x"+t.slice(1));if(isNaN(i))return null;const u=[0,0,0,1];let l;return a&&(l=i&r,i>>=n,u[3]=o*l/255),l=i&r,i>>=n,u[2]=o*l,l=i&r,i>>=n,u[1]=o*l,l=i&r,i>>=n,u[0]=o*l,u}function c(t){if("#"!==t[0]||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),n=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),o=5===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,r+16*r,(o+16*o)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){const e=t[0];if("%"===e.charAt(e.length-1)){const e=t.map((t=>2.56*parseFloat(t)));return 4===t.length&&(e[3]=parseFloat(t[3])),d(e)}return d(t.map((t=>parseFloat(t))))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]))}return null}function d(t){return t[0]=b(t[0]),t[1]=b(t[1]),t[2]=b(t[2]),t[3]=4===t.length?C(t[3]):1,t}function h(t){let e=o(t)?a(t):null;return e??=f(t),e??=c(t),e}function M(t){const e=h(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function C(t){return A(t,0,1)}function b(t){return Math.round(A(t,0,255))}function A(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const g=2.2},44280:(t,e,n)=>{n.d(e,{EJ:()=>l,g7:()=>u,gr:()=>i});var r=n(34727),o=n(38954),a=n(51850);function i(t,e){return(0,o.e)(t,e)/(0,o.l)(t)}function u(t,e){const n=(0,o.e)(t,e)/((0,o.l)(t)*(0,o.l)(e));return-(0,r.XM)(n)}function l(t,e,n){(0,o.n)(s,t),(0,o.n)(c,e);const a=(0,o.e)(s,c),i=(0,r.XM)(a),u=(0,o.h)(s,s,c);return(0,o.e)(u,n)<0?2*Math.PI-i:i}const s=(0,a.vt)(),c=(0,a.vt)()},48163:(t,e,n)=>{function r(){return[0,0]}function o(t,e){return[t,e]}function a(){return o(1,1)}function i(){return o(1,0)}function u(){return o(0,1)}n.d(e,{Un:()=>l,fA:()=>o,vt:()=>r});const l=a(),s=i(),c=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_X:s,UNIT_Y:c,ZEROS:[0,0],clone:function(t){return[t[0],t[1]]},create:r,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:o,ones:a,unitX:i,unitY:u,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},59418:(t,e,n)=>{n.d(e,{wH:()=>b,MA:()=>h,E5:()=>M,m0:()=>g});var r=n(49186),o=n(4718),a=n(53966),i=n(34275),u=n(37203),l=n(46540);const s=()=>a.A.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function c(t,e,n){let o="",a=0;for(;a<n;){const i=t[e+a];if(i<128)o+=String.fromCharCode(i),a++;else if(i>=192&&i<224){if(a+1>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const u=(31&i)<<6|63&t[e+a+1];o+=String.fromCharCode(u),a+=2}else if(i>=224&&i<240){if(a+2>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const u=(15&i)<<12|(63&t[e+a+1])<<6|63&t[e+a+2];o+=String.fromCharCode(u),a+=3}else{if(!(i>=240&&i<248))throw new r.A("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(a+3>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const u=(7&i)<<18|(63&t[e+a+1])<<12|(63&t[e+a+2])<<6|63&t[e+a+3];if(u>=65536){const t=55296+(u-65536>>10),e=56320+(1023&u);o+=String.fromCharCode(t,e)}else o+=String.fromCharCode(u);a+=4}}}return o}function f(t,e){const n={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let o=0;o<e.length;o++){const a=e[o],i=a.valueType||a.type,u=p[i];n.fields[a.property]=u(t,r),r+=m[i].BYTES_PER_ELEMENT}return n.byteCount=r,n}function d(t,e,n){const o=[];let a,i,u=0;for(i=0;i<t;i+=1){if(a=e[i],a>0){if(o.push(c(n,u,a-1)),0!==n[u+a-1])throw new r.A("string-array-error","Invalid string array: missing null termination.")}else o.push(null);u+=a}return o}function h(t,e){return new(0,m[e.valueType])(t,e.byteOffset,e.count*e.valuesPerElement)}function M(t,e){if(!t)return null;const n=t[e];return(0,i.IY)(t)?n===i.PI?null:n:(0,i._G)(t)?n===i.h2?null:n:n!=n?null:n}function C(t,e,n){if(e!==t&&s().error(`Invalid ${n} buffer size\n expected: ${t}, actual: ${e})`),e<t)throw new r.A("buffer-too-small","Binary buffer is too small",{expectedSize:t,actualSize:e})}function b(t,e){const n=f(t,e&&e.header);let r=n.byteCount;const o={isDraco:!1,header:n,byteOffset:n.byteCount,byteCount:0,vertexAttributes:{}},a=n.fields,i=null!=a.vertexCount?a.vertexCount:a.count;for(const t of e.ordering){if(!e.vertexAttributes[t])continue;const n={...e.vertexAttributes[t],byteOffset:r,count:i},a=A[t]||"_"+t;o.vertexAttributes[a]=n,r+=y(n.valueType)*n.valuesPerElement*i}const u=a.faceCount;if(e.faces&&u){o.faces={};for(const t of e.ordering){if(!e.faces[t])continue;const n={...e.faces[t],byteOffset:r,count:u};o.faces[t]=n,r+=y(n.valueType)*n.valuesPerElement*u}}const l=a.featureCount;if(e.featureAttributes&&e.featureAttributeOrder&&l){o.featureAttributes={};for(const t of e.featureAttributeOrder){if(!e.featureAttributes[t])continue;const n={...e.featureAttributes[t],byteOffset:r,count:l};o.featureAttributes[t]=n,r+=("UInt64"===n.valueType?8:y(n.valueType))*n.valuesPerElement*l}}return C(r,t.byteLength,"geometry"),o.byteCount=r-o.byteOffset,o}const A={position:l.r.POSITION,normal:l.r.NORMAL,color:l.r.COLOR,uv0:l.r.UV0,region:l.r.UVREGION};function g(t,e,n,a=!1){if("lepcc-rgb"===t.encoding)return a?(0,u.mb)(e):function(t){return Array.isArray(t)?t.length<i.y9?t:new Uint8Array(t):t.length<i.y9?Array.from(t):t}((0,u.mb)(e));if("lepcc-intensity"===t.encoding)return a?(0,u.Ax)(e):function(t){return Array.isArray(t)?t.length<i.y9?t:new Uint16Array(t):t.length<i.y9?Array.from(t):t}((0,u.Ax)(e));if(null!=t.encoding&&""!==t.encoding)throw new r.A("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");t["attributeByteCounts "]&&!t.attributeByteCounts&&(s().warn("Warning: Trailing space in 'attributeByteCounts '."),t.attributeByteCounts=t["attributeByteCounts "]),"ObjectIds"===t.ordering[0]&&t.hasOwnProperty("objectIds")&&(s().warn("Warning: Case error in objectIds"),t.ordering[0]="objectIds");const l=function(t,e,n){const a=null!=e.header?f(t,e.header):{byteOffset:0,byteCount:0,fields:{count:n}},i={header:a,byteOffset:a.byteCount,byteCount:0,entries:Object.create(null)};let u=a.byteCount;for(let t=0;t<e.ordering.length;t++){const n=e.ordering[t],l=(0,o.o8)(e[n]);if(l.count=a.fields.count??0,"String"===l.valueType){if(l.byteOffset=u,l.byteCount=a.fields[n+"ByteCount"],"UTF-8"!==l.encoding)throw new r.A("unsupported-encoding","Unsupported String encoding.",{encoding:l.encoding});if(l.timeEncoding&&"ECMA_ISO8601"!==l.timeEncoding)throw new r.A("unsupported-time-encoding","Unsupported time encoding.",{timeEncoding:l.timeEncoding})}else{if(!E(l.valueType))throw new r.A("unsupported-value-type","Unsupported binary valueType",{valueType:l.valueType});{const t=y(l.valueType);u+=u%t!=0?t-u%t:0,l.byteOffset=u,l.byteCount=t*l.valuesPerElement*l.count}}u+=l.byteCount??0,i.entries[n]=l}return i.byteCount=u-i.byteOffset,i}(e,t,n);C(l.byteOffset+l.byteCount,e.byteLength,"attribute");const c=l.entries.attributeValues||l.entries.objectIds;if(c){if("String"===c.valueType){const t=l.entries.attributeByteCounts,n=h(e,t),r=function(t,e){return new Uint8Array(t,e.byteOffset,e.byteCount)}(e,c);return c.timeEncoding?function(t,e,n){return d(t,e,n).map((t=>{const e=t?Date.parse(t):null;return null==e||Number.isNaN(e)?null:e}))}(t.count,n,r):d(t.count,n,r)}return a?h(e,c):function(t,e){const n=h(t,e);if(n.length>=i.y9)return n;const r=new Array;return n.forEach(((t,e)=>r.push(M(n,e)))),r}(e,c)}throw new r.A("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const m={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},p={Float32:(t,e)=>new DataView(t,0).getFloat32(e,!0),Float64:(t,e)=>new DataView(t,0).getFloat64(e,!0),UInt8:(t,e)=>new DataView(t,0).getUint8(e),Int8:(t,e)=>new DataView(t,0).getInt8(e),UInt16:(t,e)=>new DataView(t,0).getUint16(e,!0),Int16:(t,e)=>new DataView(t,0).getInt16(e,!0),UInt32:(t,e)=>new DataView(t,0).getUint32(e,!0),Int32:(t,e)=>new DataView(t,0).getInt32(e,!0)};function E(t){return m.hasOwnProperty(t)}function y(t){return E(t)?m[t].BYTES_PER_ELEMENT:0}},72385:(t,e,n)=>{function r(){return new Float32Array(3)}function o(t){const e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(t,e,n){const r=new Float32Array(3);return r[0]=t,r[1]=e,r[2]=n,r}function i(){return r()}function u(){return a(1,1,1)}function l(){return a(1,0,0)}function s(){return a(0,1,0)}function c(){return a(0,0,1)}n.d(e,{fA:()=>a,o8:()=>o,vt:()=>r});const f=i(),d=u(),h=l(),M=s(),C=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:h,UNIT_Y:M,UNIT_Z:C,ZEROS:f,clone:o,create:r,fromValues:a,ones:u,unitX:l,unitY:s,unitZ:c,zeros:i},Symbol.toStringTag,{value:"Module"}))},77690:(t,e,n)=>{n.d(e,{B8:()=>u,Ge:()=>d,I0:()=>f,KC:()=>l,hZ:()=>a,hs:()=>c,lw:()=>s,mg:()=>i,z0:()=>o});var r=n(34304);function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function a(t,e,n,r,o,a,i,u,l,s){return t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=a,t[5]=i,t[6]=u,t[7]=l,t[8]=s,t}function i(t,e){if(t===e){const n=e[1],r=e[2],o=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=r,t[7]=o}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function u(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=e[4],u=e[5],l=e[6],s=e[7],c=e[8],f=c*i-u*s,d=-c*a+u*l,h=s*a-i*l;let M=n*f+r*d+o*h;return M?(M=1/M,t[0]=f*M,t[1]=(-c*r+o*s)*M,t[2]=(u*r-o*i)*M,t[3]=d*M,t[4]=(c*n-o*l)*M,t[5]=(-u*n+o*a)*M,t[6]=h*M,t[7]=(-s*n+r*l)*M,t[8]=(i*n-r*a)*M,t):null}function l(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=e[4],u=e[5],l=e[6],s=e[7],c=e[8];return t[0]=i*c-u*s,t[1]=o*s-r*c,t[2]=r*u-o*i,t[3]=u*l-a*c,t[4]=n*c-o*l,t[5]=o*a-n*u,t[6]=a*s-i*l,t[7]=r*l-n*s,t[8]=n*i-r*a,t}function s(t,e,n){const r=e[0],o=e[1],a=e[2],i=e[3],u=e[4],l=e[5],s=e[6],c=e[7],f=e[8],d=n[0],h=n[1],M=n[2],C=n[3],b=n[4],A=n[5],g=n[6],m=n[7],p=n[8];return t[0]=d*r+h*i+M*s,t[1]=d*o+h*u+M*c,t[2]=d*a+h*l+M*f,t[3]=C*r+b*i+A*s,t[4]=C*o+b*u+A*c,t[5]=C*a+b*l+A*f,t[6]=g*r+m*i+p*s,t[7]=g*o+m*u+p*c,t[8]=g*a+m*l+p*f,t}function c(t,e,n){const r=n[0],o=n[1],a=n[2];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t[6]=a*e[6],t[7]=a*e[7],t[8]=a*e[8],t}function f(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=n+n,u=r+r,l=o+o,s=n*i,c=r*i,f=r*u,d=o*i,h=o*u,M=o*l,C=a*i,b=a*u,A=a*l;return t[0]=1-f-M,t[3]=c-A,t[6]=d+b,t[1]=c+A,t[4]=1-s-M,t[7]=h-C,t[2]=d-b,t[5]=h+C,t[8]=1-s-f,t}function d(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=e[4],u=e[5],l=e[6],s=e[7],c=e[8],f=e[9],d=e[10],h=e[11],M=e[12],C=e[13],b=e[14],A=e[15],g=n*u-r*i,m=n*l-o*i,p=n*s-a*i,E=r*l-o*u,y=r*s-a*u,S=o*s-a*l,_=c*C-f*M,O=c*b-d*M,w=c*A-h*M,R=f*b-d*C,P=f*A-h*C,I=d*A-h*b;let N=g*I-m*P+p*R+E*w-y*O+S*_;return N?(N=1/N,t[0]=(u*I-l*P+s*R)*N,t[1]=(l*w-i*I-s*O)*N,t[2]=(i*P-u*w+s*_)*N,t[3]=(o*P-r*I-a*R)*N,t[4]=(n*I-o*w+a*O)*N,t[5]=(r*w-n*P-a*_)*N,t[6]=(C*S-b*y+A*E)*N,t[7]=(b*p-M*S-A*m)*N,t[8]=(M*y-C*p+A*g)*N,t):null}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t}const M=s,C=h;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t},adjoint:l,copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},determinant:function(t){const e=t[0],n=t[1],r=t[2],o=t[3],a=t[4],i=t[5],u=t[6],l=t[7],s=t[8];return e*(s*a-i*l)+n*(-s*o+i*u)+r*(l*o-a*u)},equals:function(t,e){const n=t[0],o=t[1],a=t[2],i=t[3],u=t[4],l=t[5],s=t[6],c=t[7],f=t[8],d=e[0],h=e[1],M=e[2],C=e[3],b=e[4],A=e[5],g=e[6],m=e[7],p=e[8],E=(0,r.FD)();return Math.abs(n-d)<=E*Math.max(1,Math.abs(n),Math.abs(d))&&Math.abs(o-h)<=E*Math.max(1,Math.abs(o),Math.abs(h))&&Math.abs(a-M)<=E*Math.max(1,Math.abs(a),Math.abs(M))&&Math.abs(i-C)<=E*Math.max(1,Math.abs(i),Math.abs(C))&&Math.abs(u-b)<=E*Math.max(1,Math.abs(u),Math.abs(b))&&Math.abs(l-A)<=E*Math.max(1,Math.abs(l),Math.abs(A))&&Math.abs(s-g)<=E*Math.max(1,Math.abs(s),Math.abs(g))&&Math.abs(c-m)<=E*Math.max(1,Math.abs(c),Math.abs(m))&&Math.abs(f-p)<=E*Math.max(1,Math.abs(f),Math.abs(p))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t},fromMat4:o,fromQuat:f,fromRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:u,isOrthoNormal:function(t){const e=(0,r.FD)(),n=t[0],o=t[1],a=t[2],i=t[3],u=t[4],l=t[5],s=t[6],c=t[7],f=t[8];return Math.abs(1-(n*n+i*i+s*s))<=e&&Math.abs(1-(o*o+u*u+c*c))<=e&&Math.abs(1-(a*a+l*l+f*f))<=e},mul:M,multiply:s,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t},normalFromMat4:d,normalFromMat4Legacy:function(t,e){const n=e[0],r=e[1],o=e[2],a=e[4],i=e[5],u=e[6],l=e[8],s=e[9],c=e[10],f=c*i-u*s,d=-c*a+u*l,h=s*a-i*l,M=n*f+r*d+o*h;if(!M)return null;const C=1/M;return t[0]=f*C,t[1]=(-c*r+o*s)*C,t[2]=(u*r-o*i)*C,t[3]=d*C,t[4]=(c*n-o*l)*C,t[5]=(-u*n+o*a)*C,t[6]=h*C,t[7]=(-s*n+r*l)*C,t[8]=(i*n-r*a)*C,t},projection:function(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,e,n){const r=e[0],o=e[1],a=e[2],i=e[3],u=e[4],l=e[5],s=e[6],c=e[7],f=e[8],d=Math.sin(n),h=Math.cos(n);return t[0]=h*r+d*i,t[1]=h*o+d*u,t[2]=h*a+d*l,t[3]=h*i-d*r,t[4]=h*u-d*o,t[5]=h*l-d*a,t[6]=s,t[7]=c,t[8]=f,t},scale:c,scaleByVec2:function(t,e,n){const r=n[0],o=n[1];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t},set:a,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:C,subtract:h,translate:function(t,e,n){const r=e[0],o=e[1],a=e[2],i=e[3],u=e[4],l=e[5],s=e[6],c=e[7],f=e[8],d=n[0],h=n[1];return t[0]=r,t[1]=o,t[2]=a,t[3]=i,t[4]=u,t[5]=l,t[6]=d*r+h*i+s,t[7]=d*o+h*u+c,t[8]=d*a+h*l+f,t},transpose:i},Symbol.toStringTag,{value:"Module"}))},82534:(t,e,n)=>{function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>a});const a=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:o,create:r,fromValues:function(t,e,n,r){return[t,e,n,r]}},Symbol.toStringTag,{value:"Module"}))},93223:(t,e,n)=>{n.d(e,{e:()=>a});var r=n(66552),o=n(10107);function a(t,e={}){const n=t instanceof r.J?t:new r.J(t,e),{alwaysWriteDefaults:a,default:i,ignoreUnknown:u=!0,name:l,nonNullable:s,readOnly:c=!1}=e;return(0,o.MZ)({type:u?n.apiValues:String,json:{type:n.jsonValues,default:i,name:l,read:!c&&{reader:n.read},write:{writer:n.write,alwaysWriteDefaults:a}},nonNullable:s,readOnly:c})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1878],{11878:(t,s,i)=>{i.d(s,{T:()=>a});var o=i(55537),e=i(83661);class h{constructor(t,s,i){if(t instanceof h)return this.data=t.data,this.N=t.N,this.M=t.M,t.data=null,t.N=0,void(t.M=0);this.data=t,this.N=s,this.M=i}assignCopy(t){return this===t||((0,o.g)(this.N*this.M==t.N*t.M),this.data.set(t.data),this.N=t.N,this.M=t.M),this}setZero(){return this.data?.fill(0),this}setIdentity(){for(let t=0;t<this.N;t++)for(let s=0;s<this.M;s++)this.setRowCol(t,s,t===s?1:0);return this}rows(){return this.N}cols(){return this.M}row(t){return(0,o.g)(0),{}}set(t,s){return this.data[t]=s,this}setRowCol(t,s,i){return this.data[t*this.M+s]=i,this}at(t){return this.data[t]}atRowCol(t,s){return this.data[t*this.M+s]}mulScalar(t,s){(0,o.g)(0)}mul(t,s){if((0,o.g)(this.M===t.rows()),(0,o.g)(this.N===s.rows()),(0,o.g)(t.cols()===s.cols()),s===this){const i=new Float64Array(this.N*this.M),o=new h(i,this.N,this.M);return this.mul(t,o),void s.assignCopy(o)}if(s===t){const i=new Float64Array(t.N*t.M),o=new h(i,t.N,t.M);return this.mul(t,o),void s.assignCopy(o)}const i=t.cols();for(let o=0;o<this.N;o++)for(let e=0;e<i;e++){let i=0;for(let s=0;s<this.M;s++)i+=this.atRowCol(o,s)*t.atRowCol(s,e);s.setRowCol(o,e,i)}}mulTranspose(t,s){if((0,o.g)(this.M===t.cols()),(0,o.g)(this.N===s.rows()),(0,o.g)(t.rows()===s.cols()),s===this){const i=new Float64Array(this.N*this.M),o=new h(i,this.N,this.M);return this.mulTranspose(t,o),void s.assignCopy(o)}if(s===t){const i=new Float64Array(t.N*t.M),o=new h(i,t.N,t.M);return this.mulTranspose(t,o),void s.assignCopy(o)}const i=t.rows();for(let o=0;o<this.N;o++)for(let e=0;e<i;e++){let i=0;for(let s=0;s<this.M;s++)i+=this.atRowCol(o,s)*t.atRowCol(e,s);s.setRowCol(o,e,i)}}mulLeft(t,s){(0,o.g)(0)}mulLeftTranspose(t,s){(0,o.g)(0)}mulDiag(t,s){if((0,o.g)(this.M===t.N*t.M),(0,o.g)(this.N===s.rows()),(0,o.g)(this.M===s.cols()),s===this){const i=new Float64Array(this.N*this.M),o=new h(i,this.N,this.M);return this.mulDiag(t,o),void s.assignCopy(o)}const i=this.M;for(let o=0;o<this.N;o++)for(let e=0;e<i;e++)s.setRowCol(o,e,this.atRowCol(o,e)*t.at(e))}transposeInPlace(){if(this.N===this.M){for(let t=0;t<this.N;t++)for(let s=t+1;s<this.M;s++){const i=this.atRowCol(t,s);this.setRowCol(t,s,this.atRowCol(s,t)),this.setRowCol(s,t,i)}return this}const t=new Float64Array(this.N*this.M),s=new h(t,this.N,this.M);return s.assignCopy(this),this.M=(0,e.c)(this.N,this.N=this.M),s.transpose(this),this}transpose(t){if(this!==t){h.checkDims(t,this.M,this.N);for(let s=0;s<this.N;s++)for(let i=0;i<this.M;i++)t.setRowCol(i,s,this.atRowCol(s,i))}else t.transposeInPlace()}add(t,s){}svd(t,s,i,e=!1){if(h.checkDims(t,this.N,this.M),h.checkDims(s,this.M,1),h.checkDims(i,this.M,this.M),e){if((0,o.g)(this.N===this.M),!this.symmetricEigen(s,i))return!1;for(let t=0;t<this.M;++t)s.at(t)<0&&s.set(t,0);return t.assignCopy(i),!0}let r,a,l,y,n,x,w,u=0,C=0,f=0,R=0,d=0;const c=this.M,M=this.N;t.assignCopy(this);const m=new Float64Array(c),N=new h(m,c,1),b=(t,s)=>s>=0?Math.abs(t):-Math.abs(t),g=(t,s)=>{if((t=Math.abs(t))>(s=Math.abs(s))){const i=s/t;return t*Math.sqrt(i*i+1)}if(s>0){const i=t/s;return s*Math.sqrt(i*i+1)}return 0};for(let i=0;i<c;i++){if(u=i+1,N.set(i,R*f),f=y=R=0,i<M){for(let s=i;s<M;s++)R+=Math.abs(t.atRowCol(s,i));if(R){for(let s=i;s<M;s++)t.setRowCol(s,i,t.atRowCol(s,i)/R),y+=t.atRowCol(s,i)*t.atRowCol(s,i);a=t.atRowCol(i,i),f=-b(Math.sqrt(y),a),l=a*f-y,t.setRowCol(i,i,a-f);for(let s=u;s<c;s++){y=0;for(let o=i;o<M;o++)y+=t.atRowCol(o,i)*t.atRowCol(o,s);a=y/l;for(let o=i;o<M;o++)t.setRowCol(o,s,t.atRowCol(o,s)+a*t.atRowCol(o,i))}for(let s=i;s<M;s++)t.setRowCol(s,i,t.atRowCol(s,i)*R)}}if(s.set(i,R*f),f=y=R=0,i<M&&i!==c-1){for(let s=u;s<c;s++)R+=Math.abs(t.atRowCol(i,s));if(R){for(let s=u;s<c;s++)t.setRowCol(i,s,t.atRowCol(i,s)/R),y+=t.atRowCol(i,s)*t.atRowCol(i,s);a=t.atRowCol(i,u),f=-b(Math.sqrt(y),a),l=a*f-y,t.setRowCol(i,u,a-f);for(let s=u;s<c;s++)N.set(s,t.atRowCol(i,s)/l);for(let s=u;s<M;s++){y=0;for(let o=u;o<c;o++)y+=t.atRowCol(s,o)*t.atRowCol(i,o);for(let i=u;i<c;i++)t.setRowCol(s,i,t.atRowCol(s,i)+y*N.at(i))}for(let s=u;s<c;s++)t.setRowCol(i,s,t.atRowCol(i,s)*R)}}const o=Math.abs(s.at(i))+Math.abs(N.at(i));d=o>d?o:d}for(let s=c-1;s>=0;s--){if(s<c-1){if(f){for(let o=u;o<c;o++)i.setRowCol(o,s,t.atRowCol(s,o)/t.atRowCol(s,u)/f);for(let o=u;o<c;o++){y=0;for(let e=u;e<c;e++)y+=t.atRowCol(s,e)*i.atRowCol(e,o);for(let t=u;t<c;t++)i.setRowCol(t,o,i.atRowCol(t,o)+y*i.atRowCol(t,s))}}for(let t=u;t<c;t++)i.setRowCol(s,t,0),i.setRowCol(t,s,0)}i.setRowCol(s,s,1),f=N.at(s),u=s}for(let i=(M<c?M:c)-1;i>=0;i--){u=i+1,f=s.at(i);for(let s=u;s<c;s++)t.setRowCol(i,s,0);if(f){f=1/f;for(let s=u;s<c;s++){y=0;for(let o=u;o<M;o++)y+=t.atRowCol(o,i)*t.atRowCol(o,s);a=y/t.atRowCol(i,i)*f;for(let o=i;o<M;o++)t.setRowCol(o,s,t.atRowCol(o,s)+a*t.atRowCol(o,i))}for(let s=i;s<M;s++)t.setRowCol(s,i,t.atRowCol(s,i)*f)}else for(let s=i;s<M;s++)t.setRowCol(s,i,0);t.setRowCol(i,i,t.atRowCol(i,i)+1)}for(let o=c-1;o>=0;o--)for(let e=1;;e++){let h=1;for(u=o;u>=0;u--){if(C=u-1,Math.abs(N.at(u))+d===d){h=0;break}if(Math.abs(s.at(C))+d===d)break}if(h){r=0,y=1;for(let i=u;i<=o&&(a=y*N.at(i),N.set(i,N.at(i)*r),Math.abs(a)+d!==d);i++){f=s.at(i),l=g(a,f),s.set(i,l),l=1/l,r=f*l,y=-a*l;for(let s=0;s<M;s++)x=t.atRowCol(s,C),w=t.atRowCol(s,i),t.setRowCol(s,C,x*r+w*y),t.setRowCol(s,i,w*r-x*y)}}if(w=s.at(o),u===o){if(w<0){s.set(o,-w);for(let t=0;t<c;t++)i.setRowCol(t,o,-i.atRowCol(t,o))}break}if(100===e)return!1;n=s.at(u),C=o-1,x=s.at(C),f=N.at(C),l=N.at(o),a=((x-w)*(x+w)+(f-l)*(f+l))/(2*l*x),f=g(a,1),a=((n-w)*(n+w)+l*(x/(a+b(f,a))-l))/n,r=y=1;for(let o=u;o<=C;o++){const e=o+1;f=N.at(e),x=s.at(e),l=y*f,f*=r,w=g(a,l),N.set(o,w),r=a/w,y=l/w,a=n*r+f*y,f=f*r-n*y,l=x*y,x*=r;for(let t=0;t<c;t++)n=i.atRowCol(t,o),w=i.atRowCol(t,e),i.setRowCol(t,o,n*r+w*y),i.setRowCol(t,e,w*r-n*y);w=g(a,l),s.set(o,w),w&&(w=1/w,r=a*w,y=l*w),a=r*f+y*x,n=r*x-y*f;for(let s=0;s<M;s++)x=t.atRowCol(s,o),w=t.atRowCol(s,e),t.setRowCol(s,o,x*r+w*y),t.setRowCol(s,e,w*r-x*y)}N.set(u,0),N.set(o,a),s.set(o,n)}const p=new Float64Array(this.N),P=new Float64Array(this.M),v=new h(p,this.N,1),T=new h(P,this.M,1);let I=1;do{I*=3,I++}while(I<=this.M);do{I/=3,I=Math.trunc(I);for(let o=I;o<this.M;o++){const e=s.at(o);for(let s=0;s<this.N;s++)v.set(s,t.atRowCol(s,o));for(let t=0;t<this.M;t++)T.set(t,i.atRowCol(t,o));let h=o;for(;s.at(h-I)<e;){s.set(h,s.at(h-I));for(let s=0;s<this.N;s++)t.setRowCol(s,h,t.atRowCol(s,h-I));for(let t=0;t<this.M;t++)i.setRowCol(t,h,i.atRowCol(t,h-I));if(h-=I,h<I)break}s.set(h,e);for(let s=0;s<this.N;s++)t.setRowCol(s,h,v.at(s));for(let t=0;t<this.M;t++)i.setRowCol(t,h,T.at(t))}}while(I>1);for(let s=0;s<this.M;s++){let o=0;for(let i=0;i<this.N;i++)t.atRowCol(i,s)<0&&o++;for(let t=0;t<this.M;t++)i.atRowCol(t,s)<0&&o++;if(o>Math.trunc((this.N+this.M)/2)){for(let i=0;i<this.N;i++)t.setRowCol(i,s,-t.atRowCol(i,s));for(let t=0;t<this.M;t++)i.setRowCol(t,s,-i.atRowCol(t,s))}}return!0}isSymmetric(){if(this.N!==this.M)return!1;for(let t=0;t<this.N;t++)for(let s=t+1;s<this.M;s++)if(this.atRowCol(t,s)!==this.atRowCol(s,t))return!1;return!0}isZero(){return(0,o.g)(0),!1}isIdentity(){return(0,o.g)(0),!1}equals(t,s){if(void 0!==s&&(0,o.g)(0),this.N!==t.N||this.M!==t.M)return!1;for(let s=0;s<this.N*this.M;s++)if(this.data[s]!==t.data[s])return!1;return!0}maxElement(){return(0,o.g)(0),0}minElement(){return(0,o.g)(0),0}determinant(){if((0,o.g)(this.N===this.M),1===this.N)return this.data[0];if(2===this.N)return this.data[0]*this.data[3]-this.data[1]*this.data[2];if(3===this.N){const t=this;return t.atRowCol(0,0)*(t.atRowCol(1,1)*t.atRowCol(2,2)-t.atRowCol(1,2)*t.atRowCol(2,1))-t.atRowCol(0,1)*(t.atRowCol(1,0)*t.atRowCol(2,2)-t.atRowCol(2,0)*t.atRowCol(1,2))+t.atRowCol(0,2)*(t.atRowCol(1,0)*t.atRowCol(2,1)-t.atRowCol(1,1)*t.atRowCol(2,0))}const t=new Float64Array(this.N*this.N),s=new h(t,this.N,this.N),i=new Float64Array(this.N);if(!this.luDecomposition(s,i))return 0;let e=1;for(let t=0;t<this.N;t++)e*=s.atRowCol(t,t),i[t]!==t&&(e=-e);return e}submatrix(t,s,i){(0,o.g)(0)}inverse(t){(0,o.g)(0)}pseudoInverse(t,s=!1,i=2220446049250313e-31){if(t.setZero(),1===this.N&&1===this.M)return 0!==this.atRowCol(0,0)?t.setRowCol(0,0,1/this.atRowCol(0,0)):t.setRowCol(0,0,0),!0;if(2===this.N&&2===this.M){const s=this.atRowCol(0,0)*this.atRowCol(1,1)-this.atRowCol(0,1)*this.atRowCol(1,0),i=1e-5*(Math.abs(this.atRowCol(0,0)*this.atRowCol(1,1))+Math.abs(this.atRowCol(0,1)*this.atRowCol(1,0)));if(Math.abs(s)>i)return t.setRowCol(0,0,this.atRowCol(1,1)/s),t.setRowCol(0,1,-this.atRowCol(0,1)/s),t.setRowCol(1,0,-this.atRowCol(1,0)/s),t.setRowCol(1,1,this.atRowCol(0,0)/s),!0}const o=new Float64Array(this.N*this.M),e=new h(o,this.N,this.M),r=new Float64Array(this.M),a=new h(r,this.M,1),l=new Float64Array(this.M*this.M),y=new h(l,this.M,this.M);if(!this.svd(e,a,y,s))return!1;const n=Math.max(this.N,this.M),x=i*Math.abs(a.at(0))*n;for(let t=0;t<this.M;t++)a.at(t)>x?a.set(t,1/a.at(t)):a.set(t,0);return y.mulDiag(a,t),t.mulTranspose(e,t),!0}luDecomposition(t,s){return(0,o.g)(0),!1}symmetricEigen(t,s){(0,o.g)(this.rows()===this.cols()),(0,o.g)(this.rows()===t.rows()),(0,o.g)(s.rows()===s.cols()&&s.rows()===this.rows()),(0,o.g)(this.isSymmetric());const i=new Float64Array(this.N*this.M),e=new h(i,this.N,this.M);e.assignCopy(this);const r=100/Number.EPSILON,a=this.rows(),l=new Float64Array(a),y=new Float64Array(a),n=new h(l,a,1),x=new h(y,a,1);for(let s=0;s<a;s++)n.set(s,e.atRowCol(s,s)),t.set(s,e.atRowCol(s,s)),x.set(s,0);s.setIdentity();const w=()=>{const i=n;s.transposeInPlace();let o=1;do{o*=3,o++}while(o<=a);do{o/=3,o=Math.trunc(o);for(let e=o;e<a;e++){const h=t.at(e),r=Math.abs(h);for(let t=0;t<this.M;t++)i.set(t,s.atRowCol(t,e));let a=e;for(;Math.abs(t.at(a-o))<r;){t.set(a,t.at(a-o));for(let t=0;t<this.M;t++)s.setRowCol(t,a,s.atRowCol(t,a-o));if(a-=o,a<o)break}if(a!==e){t.set(a,h);for(let t=0;t<this.M;t++)s.setRowCol(t,a,i.at(t))}}}while(o>1)};for(let i=1;;i++){let o=0;for(let t=1;t<a;t++)for(let s=0;s<t;s++)o+=Math.abs(e.atRowCol(t,s));if(0===o)return w(),!0;const h=i<4?.2*o/(a*a):0;for(let o=0;o<a;o++)for(let l=o+1;l<a;l++){let y=r*Math.abs(e.atRowCol(l,o));if(i>4&&y<=Math.abs(t.at(o))&&y<=Math.abs(t.at(l)))e.setRowCol(l,o,0);else if(Math.abs(e.atRowCol(l,o))>h){let i,h=t.at(l)-t.at(o);if(y<Math.abs(h))i=e.atRowCol(l,o)/h;else{const t=.5*h/e.atRowCol(l,o);i=1/(Math.abs(t)+Math.sqrt(1+t*t)),t<0&&(i=-i)}const r=1/Math.sqrt(1+i*i),n=i*r,w=n/(1+r);h=i*e.atRowCol(l,o),x.set(o,x.at(o)-h),x.set(l,x.at(l)+h),t.set(o,t.at(o)-h),t.set(l,t.at(l)+h),e.setRowCol(l,o,0);let u=0;for(;u<o;u++)y=e.atRowCol(o,u),h=e.atRowCol(l,u),e.setRowCol(o,u,y-n*(h+y*w)),e.setRowCol(l,u,h+n*(y-h*w));for(u++;u<l;u++)y=e.atRowCol(u,o),h=e.atRowCol(l,u),e.setRowCol(u,o,y-n*(h+y*w)),e.setRowCol(l,u,h+n*(y-h*w));for(u++;u<a;u++)y=e.atRowCol(u,o),h=e.atRowCol(u,l),e.setRowCol(u,o,y-n*(h+y*w)),e.setRowCol(u,l,h+n*(y-h*w));for(u=0;u<a;u++)y=s.atRowCol(o,u),h=s.atRowCol(l,u),s.setRowCol(o,u,y-n*(h+y*w)),s.setRowCol(l,u,h+n*(y-h*w))}}for(let s=0;s<a;s++)n.set(s,n.at(s)+x.at(s)),t.set(s,n.at(s)),x.set(s,0)}}static checkDims(t,s,i){(0,o.g)(t.rows()===s&&t.cols()===i)}}class r extends h{constructor(t){if(t.copy){const s=new Float64Array(t.copy.N*t.copy.M);return super(s,t.copy.N,t.copy.M),this.buffer=s,void this.assignCopy(t.copy)}const s=new Float64Array(t.NN*t.MM);super(s,t.NN,t.MM),this.buffer=s,t.initializerList&&(0,e.b)(this.buffer,t.initializerList,0,0,t.initializerList.length)}assignCopy(t){return this===t||super.assignCopy(t),this}}class a{constructor(t){this.m_TransformationType=1,void 0===t?this.setIdentity():t instanceof a?this.set(t):this.setScale(t)}set(t){return this.xx=t.xx,this.xy=t.xy,this.xd=t.xd,this.yx=t.yx,this.yy=t.yy,this.yd=t.yd,this}clone(){return(new a).set(this)}setZero(){this.xx=0,this.yy=0,this.xy=0,this.yx=0,this.xd=0,this.yd=0}isEqual(t){return this===t||this.xx===t.xx&&this.xy===t.xy&&this.xd===t.xd&&this.yx===t.yx&&this.yy===t.yy&&this.yd===t.yd}transformInPlace(t){const s=this.xx*t.x+this.xy*t.y+this.xd,i=this.yx*t.x+this.yy*t.y+this.yd;t.x=s,t.y=i}transform(t){const s=t.clone();return this.transformInPlace(s),s}queryTransform(t,s){const i=this.xx*t.x+this.xy*t.y+this.xd,o=this.yx*t.x+this.yy*t.y+this.yd;s.setCoords(i,o)}transformEnvInPlace(t){if(t.isEmpty())return;const s=(0,e.m)(e.P,4);t.queryCorners(s),this.transformPoints2D(s,4,s),t.setFromPoints(s,4)}queryTransformEnv(t,s){(0,o.g)(0)}transformPoints2D(t,s,i){for(let o=0;o<s;++o)this.queryTransform(t[o],i[o])}transformInterleavedPoints(t,s,i){s*=2;const o=e.P.getNAN();for(let e=0;e<s;e+=2)o.x=t[e],o.y=t[e+1],this.transformInPlace(o),i[e]=o.x,i[e+1]=o.y}multiply(t){return a.st_multiply(this,t,this),this}mulLeft(t){return(0,o.g)(0),this}static st_multiply(t,s,i){const o=t.xx*s.xx+t.yx*s.xy,e=t.xy*s.xx+t.yy*s.xy,h=t.xd*s.xx+t.yd*s.xy+s.xd,r=t.xx*s.yx+t.yx*s.yy,a=t.xy*s.yx+t.yy*s.yy,l=t.xd*s.yx+t.yd*s.yy+s.yd;i.xx=o,i.xy=e,i.xd=h,i.yx=r,i.yy=a,i.yd=l}getCoefficients(t){(0,o.g)(t.length>=6),t[0]=this.xx,t[1]=this.xy,t[2]=this.xd,t[3]=this.yx,t[4]=this.yy,t[5]=this.yd}setCoefficients(t){(0,o.g)(t.length>=6),this.xx=t[0],this.xy=t[1],this.xd=t[2],this.yx=t[3],this.yy=t[4],this.yd=t[5]}copyTo(t){(0,o.g)(0)}initializeFromRect(t,s){t.isEmpty()||s.isEmpty()||!t.width()||!t.height()?this.setZero():(this.xy=this.yx=0,this.xx=s.width()/t.width(),this.yy=s.height()/t.height(),this.xd=s.xmin-t.xmin*this.xx,this.yd=s.ymin-t.ymin*this.yy)}initializeFromRectIsotropic(t,s){if(t.isEmpty()||!t.width()||!t.height()||s.isEmpty())this.setZero();else{this.yx=0,this.xy=0,this.xx=s.width()/t.width(),this.yy=s.height()/t.height(),this.xx>this.yy?this.xx=this.yy:this.yy=this.xx;const i=s.getCenter(),o=t.getCenter();this.xd=i.x-o.x*this.xx,this.yd=i.y-o.y*this.yy}}initializeFromTwoPointsArray(t,s){if(t[0].equals(s[0])&&t[1].equals(s[1]))return void this.setIdentity();if(t[0].equals(t[1])){if(s[0].equals(s[1]))return void this.setShift(s[0].sub(t[0]));(0,o.a)("")}if(!t[0].equals(t[1])&&s[0].equals(s[1]))return this.setZero(),void this.shift(s[0]);this.setShiftCoords(-t[0].x,-t[0].y);const i=e.P.distance(t[0],t[1]),h=e.P.distance(s[0],s[1]),r=h/i;this.scale(r,r);const a=t[1].sub(t[0]);a.divThis(i);const l=s[1].sub(s[0]);l.divThis(h);const y=a.crossProduct(l),n=a.dotProduct(l);this.rotate(n,y),this.shiftCoords(s[0].x,s[0].y)}initializeFromTwoPoints(t,s,i,o){const e=[t,s],h=[i,o];this.initializeFromTwoPointsArray(e,h)}transformSizeInPlace(t){(0,o.g)(0)}transformSize(t,s){(0,o.g)(0)}transformTol(t){return(0,o.g)(0),0}transformWithoutTranslateArray(t,s,i){for(let o=0;o<s;++o)this.transformWithoutTranslate(t[o],i[o])}transformWithoutTranslateInPlace(t){const s=this.xx*t.x+this.xy*t.y,i=this.yx*t.x+this.yy*t.y;t.setCoords(s,i)}transformWithoutTranslate(t,s){const i=this.xx*t.x+this.xy*t.y,o=this.yx*t.x+this.yy*t.y;s.setCoords(i,o)}setIdentity(){this.xx=1,this.xy=0,this.xd=0,this.yx=0,this.yy=1,this.yd=0}isIdentity(){return!(1!==this.xx||1!==this.yy||this.xy||this.xd||this.yx||this.yd)}isIdentityTol(t){const s=t*t;return!((0,e.a)(this.xd)+(0,e.a)(this.yd)>s||(0,e.a)(this.xy+this.xd)+(0,e.a)(this.yy+this.yd-1)>s||(0,e.a)(this.xx+this.xd-1)+(0,e.a)(this.yx+this.yd)>s)}isReflective(){return this.xx*this.yy-this.yx*this.xy<0}isUniform(t){const s=this.xx*this.xx+this.yx*this.yx,i=this.xy*this.xy+this.yy*this.yy,o=(s+i)*t;return Math.abs(s-i)<=o&&Math.abs(this.xx*this.xy+this.yx*this.yy)<=o}isUniformNoRotation(){return 0!==this.xx&&Math.abs(this.xx)===Math.abs(this.yy)&&0===this.xy&&0===this.yx}isTranslate(){return 1===this.xx&&1===this.yy&&!this.xy&&!this.yx}isTranslateTol(t){const s=new e.P;return s.setCoords(0,1),this.transformWithoutTranslateInPlace(s),s.y-=1,!(s.sqrLength()>t*t)&&(s.setCoords(1,0),this.transformWithoutTranslateInPlace(s),s.x-=1,s.sqrLength()<=t*t)}isOrthonormal(t){const s=new a;return s.xx=this.xx*this.xx+this.xy*this.xy,s.xy=this.xx*this.yx+this.xy*this.yy,s.yx=this.yx*this.xx+this.yy*this.xy,s.yy=this.yx*this.yx+this.yy*this.yy,s.xd=0,s.yd=0,s.isIdentityTol(t)}isDegenerate(t){return Math.abs(this.xx*this.yy-this.yx*this.xy)<=2*t*(Math.abs(this.xx*this.yy)+Math.abs(this.yx*this.xy))}isZero(){return 0===this.xx&&0===this.yy&&0===this.xy&&0===this.yx&&0===this.xd&&0===this.yd}isScaleAndTranslateTol(t){return this.xy*this.xy+this.yx*this.yx<=(this.xx*this.xx+this.yy*this.yy)*t}setTranslate(t,s){return this.xx=1,this.xy=0,this.xd=t,this.yx=0,this.yy=1,this.yd=s,this}setShiftCoords(t,s){return this.xx=1,this.xy=0,this.xd=t,this.yx=0,this.yy=1,this.yd=s,this}setShift(t){return this.xx=1,this.xy=0,this.xd=t.x,this.yx=0,this.yy=1,this.yd=t.y,this}setScaleCoords(t,s){return this.xx=t,this.xy=0,this.xd=0,this.yx=0,this.yy=s,this.yd=0,this}setScale(t){return this.setScaleCoords(t,t),this}setFlipX(t,s){return this.xx=-1,this.xy=0,this.xd=t+s,this.yx=0,this.yy=1,this.yd=0,this}setFlipY(t,s){return this.xx=1,this.xy=0,this.xd=0,this.yx=0,this.yy=-1,this.yd=t+s,this}setShear(t,s){return this.xx=1,this.xy=t,this.xd=0,this.yx=s,this.yy=1,this.yd=0,this}scale(t,s){return this.xx*=t,this.xy*=t,this.xd*=t,this.yx*=s,this.yy*=s,this.yd*=s,this}setRotateAngle(t){return this.setRotate(Math.cos(t),Math.sin(t))}setRotate(t,s){return this.xx=t,this.xy=-s,this.xd=0,this.yx=s,this.yy=t,this.yd=0,this}setRotateAngleAbout(t,s){return this.setRotateAbout(Math.cos(t),Math.sin(t),s)}setRotateAbout(t,s,i){return this.setTranslate(-i.x,-i.y),this.rotate(t,s),this.translate(i.x,i.y)}setSwapCoordinates(){return this.xx=0,this.xy=1,this.xd=0,this.yx=1,this.yy=0,this.yd=0,this}setRotateCw90(){return this.xx=0,this.xy=1,this.xd=0,this.yx=-1,this.yy=0,this.yd=0,this}setRotateCcw90(){return this.xx=0,this.xy=-1,this.xd=0,this.yx=1,this.yy=0,this.yd=0,this}shiftCoords(t,s){return this.xd+=t,this.yd+=s,this}shift(t){return this.xd+=t.x,this.yd+=t.y,this}translate(t,s){return this.xd+=t,this.yd+=s,this}flipX(t,s){return this.xx=-this.xx,this.xy=-this.xy,this.xd=t+s-this.xd,this}flipY(t,s){return this.yx=-this.yx,this.yy=-this.yy,this.yd=t+s-this.yd,this}shear(t,s){const i=new a;return i.setShear(t,s),this.multiply(i)}rotateAngle(t){const s=new a;return s.setRotateAngle(t),this.multiply(s)}rotate(t,s){const i=new a;return i.setRotate(t,s),this.multiply(i)}rotateAbout(t,s,i){return this.translate(-i.x,-i.y),this.rotate(t,s),this.translate(i.x,i.y)}rotateAngleAbout(t,s){return this.rotateAbout(Math.cos(t),Math.sin(t),s)}setInvert(t){return this.set(t),this.invertThis()}invertThis(){let t=this.xx*this.yy-this.xy*this.yx;if(0===t)return this.setZero(),this;t=1/t;const s=(this.xy*this.yd-this.xd*this.yy)*t,i=(this.xd*this.yx-this.xx*this.yd)*t,o=this.yy*t,e=-this.xy*t,h=-this.yx*t,r=this.xx*t;return this.xd=s,this.yd=i,this.xx=o,this.yy=r,this.xy=e,this.yx=h,this}invertPrecise(t){return this.set(t),this.invertPreciseThis()}invertPreciseThis(){const t=e.M.constructDouble(this.xy),s=e.M.constructDouble(this.xx),i=s.mulDouble(this.yy).sub(t.mulDouble(this.yx));if(i.isZero())return this.setZero(),this;const o=i.clone();o.invertThis();const h=e.M.constructDouble(this.xd),r=t.mulDouble(this.yd).sub(h.mulDouble(this.yy)).mul(o).toDouble(),a=h.mulDouble(this.yx).sub(s.mulDouble(this.yd)).mul(o).toDouble(),l=o.mulDouble(this.yy).toDouble(),y=o.mulDouble(-this.xy).toDouble(),n=o.mulDouble(-this.yx).toDouble(),x=o.mulDouble(this.xx).toDouble();return this.xd=r,this.yd=a,this.xx=l,this.yy=x,this.xy=y,this.yx=n,this}extractScaleTransform(t,s){const i=Math.sqrt(this.xx*this.xx+this.xy*this.xy),o=Math.sqrt(this.yx*this.yx+this.yy*this.yy);s.setScaleCoords(1/i,1/o),s.multiply(this),t.setScaleCoords(i,o)}setFromTwoTriangles(t,s){let i=!0;for(let o=0;o<3;++o)i=i&&t[o].equals(s[o]);if(i)return this.setIdentity(),!0;const o=new e.P;o.setSub(t[0],t[1]);const h=new e.P;h.setSub(t[0],t[2]);const r=new e.P;r.setSub(s[0],s[1]);const a=new e.P;a.setSub(s[0],s[2]);const l=4*Number.EPSILON*(Math.abs(o.x*h.y)+Math.abs(h.x*o.y));let y=o.x*h.y-o.y*h.x;return Math.abs(y)>l?(y=1/y,this.xx=(r.x*h.y-o.y*a.x)*y,this.xy=(o.x*a.x-r.x*h.x)*y,this.yx=(r.y*h.y-o.y*a.y)*y,this.yy=(o.x*a.y-r.y*h.x)*y,this.xd=s[0].x-(this.xx*t[0].x+this.xy*t[0].y),this.yd=s[0].y-(this.yx*t[0].x+this.yy*t[0].y),!0):(this.setZero(),!1)}initializeFromControlPoints(t,s,i,h,n=null){return 0===s?(this.setIdentity(),void(n&&n.setIdentity())):1===s?(this.setShift(h[0].sub(i[0])),void(n&&n.setShift(i[0].sub(h[0])))):(s<3&&(t=1),void(4===t&&s>2?function(t,s,i,h,a){const l=e.P.average(i,s),n=e.P.average(h,s),x=new r({NN:2,MM:2});x.setZero();const w=new r({NN:2,MM:2});w.setZero();for(let t=0;t<s;++t)x.setRowCol(0,0,x.atRowCol(0,0)+(i[t].x-l.x)*(i[t].x-l.x)),x.setRowCol(0,1,x.atRowCol(0,1)+(i[t].x-l.x)*(i[t].y-l.y)),x.setRowCol(1,1,x.atRowCol(1,1)+(i[t].y-l.y)*(i[t].y-l.y)),w.setRowCol(0,0,w.atRowCol(0,0)+(h[t].x-n.x)*(i[t].x-l.x)),w.setRowCol(0,1,w.atRowCol(0,1)+(h[t].x-n.x)*(i[t].y-l.y)),w.setRowCol(1,0,w.atRowCol(1,0)+(h[t].y-n.y)*(i[t].x-l.x)),w.setRowCol(1,1,w.atRowCol(1,1)+(h[t].y-n.y)*(i[t].y-l.y));x.setRowCol(1,0,x.atRowCol(0,1));const u=new r({NN:2,MM:2});x.pseudoInverse(u,!0)||(0,o.b)("Failed to compute pseudo inverse"),w.mul(u,w),y(t,w);const C=l.clone();t.transformInPlace(C),t.xd=n.x-C.x,t.yd=n.y-C.y,a&&(w.pseudoInverse(u,!1)||(0,o.b)("Failed to compute pseudo inverse"),y(a,u),a.transformInPlace(n),a.xd=l.x-n.x,a.yd=l.y-n.y)}(this,s,i,h,n):function(t,s,i,h,n,x){(0,o.g)(1===t||0===t||2===t||3===t),s.setIdentity();const w=e.P.average(h,i),u=e.P.average(n,i);if((0,o.g)(t<l.length&&t>0),8&l[t]){const e=new r({NN:2,MM:2});e.setZero();for(let t=0;t<i;++t)e.setRowCol(0,0,e.atRowCol(0,0)+(n[t].x-u.x)*(h[t].x-w.x)),e.setRowCol(1,0,e.atRowCol(1,0)+(n[t].x-u.x)*(h[t].y-w.y)),e.setRowCol(0,1,e.atRowCol(0,1)+(n[t].y-u.y)*(h[t].x-w.x)),e.setRowCol(1,1,e.atRowCol(1,1)+(n[t].y-u.y)*(h[t].y-w.y));const x=new r({NN:2,MM:2}),C=new r({NN:2,MM:1}),f=new r({NN:2,MM:2});e.svd(x,C,f)||(0,o.b)("Failed to compute svd");const R=new r({NN:2,MM:2});x.transpose(R);const d=new r({NN:2,MM:2});f.mul(R,d),32&l[t]||d.determinant()<0&&(R.setRowCol(1,0,-R.atRowCol(1,0)),R.setRowCol(1,1,-R.atRowCol(1,1)),f.mul(R,d));const c=new a;y(c,d),s.set(c)}if(2&l[t]){let t=0,o=0;for(let e=0;e<i;++e){const i=h[e].sub(w);t+=i.sqrLength(),s.transformInPlace(i),o+=i.dotProduct(n[e].sub(u))}if(0===t)0===o?s.setIdentity():s.setZero();else{const i=o/t;s.scale(i,i)}}else(0,o.g)(!(4&l[t]));const C=w.clone();s.transformInPlace(C),s.xd=u.x-C.x,s.yd=u.y-C.y,x&&(x.set(s),x.invertThis(),x.isZero()&&(x.xd=w.x,x.yd=w.y))}(t,this,s,i,h,n)))}calculateErrors(t,s,i,h){(0,o.g)(t>0&&null!==s&&null!==i);let r=0;for(let o=0;o<t;++o){const t=this.transform(s[o]),a=e.P.sqrDistance(i[o],t);r+=a,h&&(h[o]=Math.sqrt(a))}return Math.sqrt(r/t)}}const l=[43,11,41,9,61];function y(t,s){(0,o.g)(!(2!==s.rows()&&3!==s.rows()||2!==s.cols()&&3!==s.rows())),t.xx=s.atRowCol(0,0),t.xy=s.atRowCol(0,1),t.yx=s.atRowCol(1,0),t.yy=s.atRowCol(1,1),3===s.cols()?(t.xd=s.atRowCol(0,2),t.yd=s.atRowCol(1,2)):(t.xd=0,t.yd=0)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[708],{27647:(t,e,n)=>{function r(t,e){return t?e?4:3:e?3:2}function o(t,e,n,o){if(!e?.lengths.length)return null;t.lengths.length&&(t.lengths.length=0),t.coords.length&&(t.coords.length=0);const u=t.coords,i=[],c=n?[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]:[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY],{lengths:h,coords:f}=e,a=r(n,o);let d=0;for(const t of h){const e=s(c,f,d,t,n,o);e&&i.push(e),d+=t*a}if(i.sort(((t,e)=>{let r=t[2]-e[2];return 0===r&&n&&(r=t[4]-e[4]),r})),i.length){let t=6*i[0][2];u[0]=i[0][0]/t,u[1]=i[0][1]/t,n&&(t=6*i[0][4],u[2]=0!==t?i[0][3]/t:0),(u[0]<c[0]||u[0]>c[1]||u[1]<c[2]||u[1]>c[3]||n&&(u[2]<c[4]||u[2]>c[5]))&&(u.length=0)}if(!u.length){const t=e.lengths[0]?l(f,0,h[0],n,o):null;if(!t)return null;u[0]=t[0],u[1]=t[1],n&&t.length>2&&(u[2]=t[2])}return t}function s(t,e,n,o,s,l){const u=r(s,l);let i=n,c=n+u,h=0,f=0,a=0,d=0,g=0;for(let n=0,r=o-1;n<r;n++,i+=u,c+=u){const n=e[i],r=e[i+1],o=e[i+2],l=e[c],u=e[c+1],m=e[c+2];let y=n*u-l*r;d+=y,h+=(n+l)*y,f+=(r+u)*y,s&&(y=n*m-l*o,a+=(o+m)*y,g+=y),n<t[0]&&(t[0]=n),n>t[1]&&(t[1]=n),r<t[2]&&(t[2]=r),r>t[3]&&(t[3]=r),s&&(o<t[4]&&(t[4]=o),o>t[5]&&(t[5]=o))}if(d>0&&(d*=-1),g>0&&(g*=-1),!d)return null;const m=[h,f,.5*d];return s&&(m[3]=a,m[4]=.5*g),m}function l(t,e,n,o,s){const l=r(o,s);let f=e,a=e+l,d=0,g=0,m=0,y=0;for(let e=0,r=n-1;e<r;e++,f+=l,a+=l){const e=t[f],n=t[f+1],r=t[f+2],s=t[a],l=t[a+1],I=t[a+2],p=o?i(e,n,r,s,l,I):u(e,n,s,l);if(p)if(d+=p,o){const t=h(e,n,r,s,l,I);g+=p*t[0],m+=p*t[1],y+=p*t[2]}else{const t=c(e,n,s,l);g+=p*t[0],m+=p*t[1]}}return d>0?o?[g/d,m/d,y/d]:[g/d,m/d]:n>0?o?[t[e],t[e+1],t[e+2]]:[t[e],t[e+1]]:null}function u(t,e,n,r){const o=n-t,s=r-e;return Math.sqrt(o*o+s*s)}function i(t,e,n,r,o,s){const l=r-t,u=o-e,i=s-n;return Math.sqrt(l*l+u*u+i*i)}function c(t,e,n,r){return[t+.5*(n-t),e+.5*(r-e)]}function h(t,e,n,r,o,s){return[t+.5*(r-t),e+.5*(o-e),n+.5*(s-n)]}n.d(e,{Q:()=>o})},43334:(t,e,n)=>{n.d(e,{N3:()=>u,Om:()=>l});var r=n(69397),o=n(27647),s=n(92722);class l{constructor(t=null,e={},n,r,o=0){this.geometry=t,this.attributes=e,this.centroid=n,this.objectId=r,this.displayId=o}static fromJSON(t){const e=t.geometry?s.A.fromJSON(t.geometry):null,n=t.centroid?s.A.fromJSON(t.centroid):null,r=t.objectId;return new l(e,t.attributes,n,r)}weakClone(){const t=new l(this.geometry,this.attributes,this.centroid,this.objectId);return t.displayId=this.displayId,t}clone(){const t=this.geometry?.clone(),e=new l(t,{...this.attributes},this.centroid?.clone(),this.objectId);return e.displayId=this.displayId,e}ensureCentroid(t){return this.centroid??=(0,o.Q)(new s.A,this.geometry,t.hasZ,t.hasM),this.centroid}get usedMemory(){return 128+(0,r.lM)(this.attributes)+(this.geometry?.usedMemory??0)}}function u(t){return!!t.geometry?.coords?.length}},58512:(t,e,n)=>{n.d(e,{A:()=>r});class r{constructor(){this.objectIdFieldName=null,this.globalIdFieldName=null,this.geohashFieldName=null,this.geometryProperties=null,this.geometryType=null,this.spatialReference=null,this.hasZ=!1,this.hasM=!1,this.features=[],this.fields=[],this.transform=null,this.exceededTransferLimit=!1,this.uniqueIdField=null,this.queryGeometryType=null,this.queryGeometry=null}weakClone(){const t=new r;return t.objectIdFieldName=this.objectIdFieldName,t.globalIdFieldName=this.globalIdFieldName,t.geohashFieldName=this.geohashFieldName,t.geometryProperties=this.geometryProperties,t.geometryType=this.geometryType,t.spatialReference=this.spatialReference,t.hasZ=this.hasZ,t.hasM=this.hasM,t.features=this.features,t.fields=this.fields,t.transform=this.transform,t.exceededTransferLimit=this.exceededTransferLimit,t.uniqueIdField=this.uniqueIdField,t.queryGeometry=this.queryGeometry,t.queryGeometryType=this.queryGeometryType,t}}},69397:(t,e,n)=>{n.d(e,{$B:()=>o,Qf:()=>c,Qh:()=>u,RS:()=>s,ez:()=>a,lM:()=>l,qK:()=>f});var r=n(34275);function o(t){return 32+t.length}const s=16;function l(t){if(!t)return 0;let e=f;for(const n in t)t.hasOwnProperty(n)&&(e+=i(t[n],!1));return e}function u(t){if(!t)return 0;if("number"==typeof t[0])return c(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=a;for(let r=0;r<e;r++)n+=i(t[r]);return n}(t);let e=f;for(const n in t)t.hasOwnProperty(n)&&(e+=i(t[n]));return e}function i(t,e=!0){switch(typeof t){case"object":return e?u(t):f;case"string":return o(t);case"number":return s;case"boolean":return 4;default:return 8}}function c(...t){return t.reduce(((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+d:Array.isArray(e)?h(e,s):0:0)),0)}function h(t,e){return a+t.length*e}const f=32,a=16,d=145},90708:(t,e,n)=>{n.d(e,{B2:()=>w,BW:()=>S,Ch:()=>lt,DF:()=>G,Di:()=>B,E2:()=>Q,IE:()=>b,Nl:()=>et,Q4:()=>ut,Rk:()=>ct,Ux:()=>J,Ye:()=>z,ZF:()=>H,eU:()=>L,eY:()=>X,hK:()=>ft,jH:()=>tt,jQ:()=>st,kz:()=>nt,oN:()=>$,q3:()=>W,qK:()=>Y,qN:()=>k,z5:()=>R,zv:()=>D});var r=n(49186),o=n(53966),s=n(97768),l=n(70328),u=n(19419),i=n(65864),c=n(43334),h=n(58512),f=n(92722);function a(t,e){return t?e?4:3:e?3:2}const d=()=>o.A.getLogger("esri.layers.graphics.featureConversionUtils"),g={esriGeometryPoint:0,esriGeometryPolyline:2,esriGeometryPolygon:3,esriGeometryMultipoint:0,esriGeometryMultiPatch:3,esriGeometryEnvelope:0},m=(t,e,n,r,o,s)=>{t[n]=o,t[n+1]=s},y=(t,e,n,r,o,s)=>{t[n]=o,t[n+1]=s,t[n+2]=e[r+2]},I=(t,e,n,r,o,s)=>{t[n]=o,t[n+1]=s,t[n+2]=e[r+3]},p=(t,e,n,r,o,s)=>{t[n]=o,t[n+1]=s,t[n+2]=e[r+2],t[n+3]=e[r+3]};function N(t,e,n,r){if(t){if(n)return e&&r?p:y;if(e&&r)return I}else if(e&&r)return y;return m}function b({scale:t,translate:e},n){return Math.round((n-e[0])/t[0])}function w({scale:t,translate:e},n){return Math.round((e[1]-n)/t[1])}function T({scale:t,translate:e},n){return Math.round((n-e[0])/t[0])}function M({scale:t,translate:e},n){return Math.round((n-e[1])/t[1])}function F({scale:t,translate:e},n,r){return n*t[r]+e[r]}function G(t,e,n){return t?e?n?O(t):E(t):n?x(t):A(t):null}function A(t){const e=t.coords;return{x:e[0],y:e[1]}}function P(t,e){return t.coords[0]=e.x,t.coords[1]=e.y,t}function E(t){const e=t.coords;return{x:e[0],y:e[1],z:e[2]}}function Z(t,e){return t.coords[0]=e.x,t.coords[1]=e.y,t.coords[2]=e.z,t}function x(t){const e=t.coords;return{x:e[0],y:e[1],m:e[2]}}function q(t,e){return t.coords[0]=e.x,t.coords[1]=e.y,t.coords[2]=e.m,t}function O(t){const e=t.coords;return{x:e[0],y:e[1],z:e[2],m:e[3]}}function j(t,e){return t.coords[0]=e.x,t.coords[1]=e.y,t.coords[2]=e.z,t.coords[3]=e.m,t}function v(t,e){return t&&e?j:t?Z:e?q:P}function k(t,e,n=v(null!=e.z,null!=e.m)){return n(t,e)}function Y(t,e,n){if(null==t)return null;const r=a(e,n),o=[];for(let e=0;e<t.coords.length;e+=r){const n=[];for(let o=0;o<r;o++)n.push(t.coords[e+o]);o.push(n)}return e?n?{points:o,hasZ:e,hasM:n}:{points:o,hasZ:e}:n?{points:o,hasM:n}:{points:o}}function V(t,e,n=a(e.hasZ,e.hasM)){t.lengths[0]=e.points.length;const r=t.coords;let o=0;for(const t of e.points)for(let e=0;e<n;e++)r[o++]=t[e];return t}function S(t,e,n){if(!t)return null;const r=a(e,n),{coords:o,lengths:s}=t,l=[];let u=0;for(const t of s){const e=[];for(let n=0;n<t;n++){const t=[];for(let e=0;e<r;e++)t.push(o[u++]);e.push(t)}l.push(e)}return e?n?{paths:l,hasZ:e,hasM:n}:{paths:l,hasZ:e}:n?{paths:l,hasM:n}:{paths:l}}function _(t,e,n=a(e.hasZ,e.hasM)){const{lengths:r,coords:o}=t;let s=0;for(const t of e.paths){for(const e of t)for(let t=0;t<n;t++)o[s++]=e[t];r.push(t.length)}return t}function R(t,e,n){if(!t)return null;const r=a(e,n),{coords:o,lengths:s}=t,l=[];let u=0;for(const t of s){const e=[];for(let n=0;n<t;n++){const t=[];for(let e=0;e<r;e++)t.push(o[u++]);e.push(t)}l.push(e)}return e?n?{rings:l,hasZ:e,hasM:n}:{rings:l,hasZ:e}:n?{rings:l,hasM:n}:{rings:l}}function z(t,e,n=e.hasZ,r=e.hasM){return L(t,e.rings,n,r)}function L(t,e,n,r){const o=a(n,r),{lengths:s,coords:l}=t;let u=0;at(t);for(const t of e){for(const e of t)for(let t=0;t<o;t++)l[u++]=e[t];s.push(t.length)}return t}const C=[],U=[];function Q(t,e,n,r,o){C[0]=t;const[s]=B(U,C,e,n,r,o);return dt(C),dt(U),s}function B(t,e,n,o,s,l){if(dt(t),!n){for(const n of e){const e=l?n.attributes[l]:void 0;t.push(new c.Om(null,n.attributes,null,e))}return t}switch(n){case"esriGeometryPoint":return function(t,e,n,r,o){const s=v(n,r);for(const{geometry:n,attributes:r}of e){const e=null!=n?s(new f.A,n):null;t.push(new c.Om(e,r,null,o?r[o]:void 0))}return t}(t,e,o,s,l);case"esriGeometryMultipoint":return function(t,e,n,r,o){const s=a(n,r);for(const{geometry:n,attributes:r}of e){const e=null!=n?V(new f.A,n,s):null;t.push(new c.Om(e,r,null,o?r[o]:void 0))}return t}(t,e,o,s,l);case"esriGeometryPolyline":return function(t,e,n,r,o){const s=a(n,r);for(const{geometry:n,attributes:r,centroid:l}of e){const e=null!=n?_(new f.A,n,s):null,u=null!=l?k(new f.A,l):null;t.push(new c.Om(e,r,u,o?r[o]:void 0))}return t}(t,e,o,s,l);case"esriGeometryPolygon":case"esriGeometryMultiPatch":return function(t,e,n,r,o){for(const{geometry:s,centroid:l,attributes:u}of e){const e=null!=s?z(new f.A,s,n,r):null,i=o?u[o]:void 0;null!=l?t.push(new c.Om(e,u,P(new f.A,l),i)):t.push(new c.Om(e,u,null,i))}return t}(t,e,o,s,l);default:d().error("convertToFeatureSet:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${n}'`)),dt(t)}return t}function $(t,e,n,r){U[0]=t,K(C,U,e,n,r);const o=C[0];return dt(C),dt(U),o}function J(t,e,n){if(null==t)return null;const o=new f.A;return"hasZ"in t&&null==e&&(e=t.hasZ),"hasM"in t&&null==n&&(n=t.hasM),(0,i.fT)(t)?v(null!=e?e:null!=t.z,null!=n?n:null!=t.m)(o,t):(0,i.Bi)(t)?z(o,t,e,n):(0,i.Rg)(t)?_(o,t,a(e,n)):(0,i.U9)(t)?V(o,t,a(e,n)):void d().error("convertFromGeometry:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${t}'`))}function D(t,e,n,o){const s=t&&("coords"in t?t:t.geometry);if(null==s)return null;switch(e){case"esriGeometryPoint":{let t=A;return n&&o?t=O:n?t=E:o&&(t=x),t(s)}case"esriGeometryMultipoint":return Y(s,n,o);case"esriGeometryPolyline":return S(s,n,o);case"esriGeometryPolygon":return R(s,n,o);default:return d().error("convertToGeometry:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${e}'`)),null}}function K(t,e,n,o,s){if(dt(t),null==n)return function(t,e){for(const n of e)t.push({attributes:n.attributes});return t}(t,e);switch(n){case"esriGeometryPoint":return function(t,e,n,r){let o=A;n&&r?o=O:n?o=E:r&&(o=x);for(const n of e){const{geometry:e,attributes:r}=n,s=null!=e?o(e):null;t.push({attributes:r,geometry:s})}return t}(t,e,o,s);case"esriGeometryMultipoint":return function(t,e,n,r){for(const{geometry:o,attributes:s}of e)t.push({attributes:s,geometry:null!=o?Y(o,n,r):null});return t}(t,e,o,s);case"esriGeometryPolyline":return function(t,e,n,r){for(const{geometry:o,attributes:s}of e)t.push({attributes:s,geometry:null!=o?S(o,n,r):null});return t}(t,e,o,s);case"esriGeometryPolygon":return function(t,e,n,r){for(const{geometry:o,attributes:s,centroid:l}of e){const e=null!=o?R(o,n,r):null;if(null!=l){const n=A(l);t.push({attributes:s,centroid:n,geometry:e})}else t.push({attributes:s,geometry:e})}return t}(t,e,o,s);default:d().error("convertToFeatureSet:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${n}'`))}return t}function H(t){const{objectIdFieldName:e,spatialReference:n,transform:r,fields:o,hasM:s,hasZ:l,features:u,geometryType:i,exceededTransferLimit:c,uniqueIdField:h,queryGeometry:f,queryGeometryType:a}=t,d={features:K([],u,i,l,s),fields:o,geometryType:i,objectIdFieldName:e,spatialReference:n,uniqueIdField:h,queryGeometry:D(f,a,!1,!1)};return r&&(d.transform=r),c&&(d.exceededTransferLimit=c),s&&(d.hasM=s),l&&(d.hasZ=l),d}function W(t,e){const n=new h.A,{hasM:o,hasZ:s,features:l,objectIdFieldName:u,spatialReference:i,geometryType:c,exceededTransferLimit:f,transform:a,fields:g}=t;return g&&(n.fields=g),n.geometryType=c??null,n.objectIdFieldName=u??e??null,n.spatialReference=i??null,n.objectIdFieldName?(l&&B(n.features,l,c,s,o,n.objectIdFieldName),f&&(n.exceededTransferLimit=f),o&&(n.hasM=o),s&&(n.hasZ=s),a&&(n.transform=a),n):(d().error(new r.A("optimized-features:invalid-objectIdFieldName","objectIdFieldName is missing")),n)}function X(t){const{transform:e,features:n,hasM:r,hasZ:o}=t;if(!e)return t;for(const t of n)null!=t.geometry&&lt(t.geometry,t.geometry,r,o,e),null!=t.centroid&&lt(t.centroid,t.centroid,r,o,e);return t.transform=null,t}function tt(t,e){const{geometryType:n,features:r,hasM:o,hasZ:s}=e;if(!t)return e;for(let e=0;e<r.length;e++){const l=r[e],u=l.weakClone();u.geometry=new f.A,et(u.geometry,l.geometry,o,s,n,t),l.centroid&&(u.centroid=new f.A,et(u.centroid,l.centroid,o,s,"esriGeometryPoint",t)),r[e]=u}return e.transform=t,e}function et(t,e,n,r,o,s,l=n,u=r){if(at(t),!e?.coords.length)return null;const i=g[o],{coords:c,lengths:h}=e,f=a(n,r),d=a(n&&l,r&&u),m=N(n,r,l,u);if(!h.length)return m(t.coords,c,0,0,b(s,c[0]),w(s,c[1])),at(t,f,0),t;let y,I,p,T,M=0,F=0,G=F;for(const e of h){if(e<i)continue;let n=0;F=G,p=y=b(s,c[M]),T=I=w(s,c[M+1]),m(t.coords,c,F,M,p,T),n++,M+=f,F+=d;for(let r=1;r<e;r++,M+=f)p=b(s,c[M]),T=w(s,c[M+1]),p===y&&T===I||(m(t.coords,c,F,M,p-y,T-I),F+=d,n++,y=p,I=T);n>=i&&(t.lengths.push(n),G=F)}return dt(t.coords,G),t.coords.length?t:null}function nt(t,e,n,r,o,s,l=n,u=r){if(at(t),!e?.coords.length)return null;const i=g[o],{coords:c,lengths:h}=e,f=a(n,r),d=a(n&&l,r&&u),m=N(n,r,l,u);if(!h.length)return m(t.coords,c,0,0,c[0],c[1]),at(t,f,0),t;let y=0;const I=s*s;for(const e of h){if(e<i){y+=e*f;continue}const n=t.coords.length/d,r=y,o=y+(e-1)*f;m(t.coords,c,t.coords.length,r,c[r],c[r+1]),ot(t.coords,c,f,I,m,r,o),m(t.coords,c,t.coords.length,o,c[o],c[o+1]);const s=t.coords.length/d-n;s>=i?t.lengths.push(s):dt(t.coords,n*d),y+=e*f}return t.coords.length?t:null}function rt(t,e,n,r){const o=t[e],s=t[e+1],l=t[n],u=t[n+1],i=t[r],c=t[r+1];let h=l,f=u,a=i-h,d=c-f;if(0!==a||0!==d){const t=((o-h)*a+(s-f)*d)/(a*a+d*d);t>1?(h=i,f=c):t>0&&(h+=a*t,f+=d*t)}return a=o-h,d=s-f,a*a+d*d}function ot(t,e,n,r,o,s,l){let u,i=r,c=0;for(let t=s+n;t<l;t+=n)u=rt(e,t,s,l),u>i&&(c=t,i=u);i>r&&(c-s>n&&ot(t,e,n,r,o,s,c),o(t,e,t.length,c,e[c],e[c+1]),l-c>n&&ot(t,e,n,r,o,c,l))}function st(t,e,n,r){if(!e?.coords?.length)return null;const o=a(n,r);let s=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,h=Number.NEGATIVE_INFINITY;if(e&&e.coords){const t=e.coords;for(let e=0;e<t.length;e+=o){const n=t[e],r=t[e+1];s=Math.min(s,n),c=Math.max(c,n),i=Math.min(i,r),h=Math.max(h,r)}}return(0,l.is)(t)?(0,l.BI)(t,s,i,c,h):(0,u.fA)(s,i,c,h,t),t}function lt(t,e,n,r,o){const{coords:l,lengths:u}=e,i=a(n,r);if(!l.length)return t!==e&&at(t),t;(0,s.Lw)(o);const{originPosition:c,scale:h,translate:f}=o,d=gt;d.originPosition=c;const g=d.scale;g[0]=h[0]??1,g[1]=-(h[1]??1),g[2]=h[2]??1,g[3]=h[3]??1;const m=d.translate;if(m[0]=f[0]??0,m[1]=f[1]??0,m[2]=f[2]??0,m[3]=f[3]??0,!u.length){for(let e=0;e<i;++e)t.coords[e]=F(d,l[e],e);return t!==e&&at(t,i,0),t}let y=0;for(let e=0;e<u.length;e++){const n=u[e];t.lengths[e]=n;for(let e=0;e<i;++e)t.coords[y+e]=F(d,l[y+e],e);let r=t.coords[y],o=t.coords[y+1];y+=i;for(let e=1;e<n;e++,y+=i){r+=l[y]*g[0],o+=l[y+1]*g[1],t.coords[y]=r,t.coords[y+1]=o;for(let e=2;e<i;++e)t.coords[y+e]=F(d,l[y+e],e)}}return t!==e&&at(t,l.length,u.length),t}function ut(t,e,n,r,o,s){if(at(t),t.lengths.push(...e.lengths),n===o&&r===s)for(let n=0;n<e.coords.length;n++)t.coords.push(e.coords[n]);else{const l=a(n,r),u=N(n,r,o,s),i=e.coords;for(let e=0;e<i.length;e+=l)u(t.coords,i,t.coords.length,e,i[e],i[e+1])}return t}function it(t,e,n,r){let o=0,s=t[r*e],l=t[r*(e+1)];for(let u=1;u<n;u++){const n=s+t[r*(e+u)],i=l+t[r*(e+u)+1],c=(n-s)*(i+l);s=n,l=i,o+=c}return.5*o}function ct(t,e){const{coords:n,lengths:r}=t;let o=0,s=0;for(let t=0;t<r.length;t++){const l=r[t];s+=it(n,o,l,e),o+=l}return Math.abs(s)}function ht(t,e,n,r){return 0==t*r-n*e&&t*n+e*r>0}function ft(t,e,n,r,o){const s=a(r,o);if(!t.lengths.length){if(t.coords.length<2)return null;const[n,r]=t.coords,o=T(e,n),s=M(e,r);return new f.A([],[o,s])}const l=new f.A([],[0,0]),u=g[n],i="esriGeometryPolygon"===n||"esriGeometryPolyline"===n;let c=0,h=0;for(let n=0;n<t.lengths.length;n++){const r=t.lengths[n],o=h;let f=T(e,t.coords[s*c]),a=M(e,t.coords[s*c+1]);l.coords[h++]=f,l.coords[h++]=a;let d=0,g=0,m=1;for(let n=1;n<r;n++){const r=T(e,t.coords[s*(n+c)]),o=M(e,t.coords[s*(n+c)+1]);if(r!==f||o!==a){const t=r-f,e=o-a;i&&ht(d,g,t,e)?(l.coords[h-2]+=t,l.coords[h-1]+=e,f+=t,a+=e):(l.coords[h++]=r,l.coords[h++]=o,f=r,a=o,d=t,g=e,m+=1)}}m<u?h=o:l.lengths.push(m),c+=r}return 0===l.lengths.length?null:l}function at(t,e=0,n=0){dt(t.lengths,n),dt(t.coords,e)}function dt(t,e=0){t.length!==e&&(t.length=e)}const gt={originPosition:"lowerLeft",scale:[1,1,1,1],translate:[0,0,0,0]}},92722:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(69397);class o{constructor(t=[],e=[]){this.lengths=t??[],this.coords=e??[]}static fromJSON(t){return new o(t.lengths,t.coords)}static fromRect(t){const[e,n,r,s]=t,l=r-e,u=s-n;return new o([5],[e,n,l,0,0,u,-l,0,0,-u])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.lengths.reduce(((t,e)=>t+e))}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}area(){let t=0,e=0;if(!this.lengths.length)return 0;for(let n=0;n<this.lengths.length;n++){const r=this.lengths[n];if(r<3)continue;let o=this.coords[2*e],s=this.coords[2*e+1];for(let n=1;n<r;n+=1){const r=this.coords[2*(n+e)],l=this.coords[2*(n+e)+1];t+=-.5*(r-o)*(l+s),o=r,s=l}e+=r}return t}forEachVertex(t){let e=0;this.lengths.length||t(this.coords[0],this.coords[1]);for(let n=0;n<this.lengths.length;n++){const r=this.lengths[n];for(let n=0;n<r;n++)t(this.coords[2*(n+e)],this.coords[2*(n+e)+1]);e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;for(const t of n){for(let n=1;n<t;n++)e[2*(r+n)]+=e[2*(r+n)-2],e[2*(r+n)+1]+=e[2*(r+n)-1];r+=t}return t}clone(t){if(0===this.lengths.length)return new o([],[this.coords[0],this.coords[1]]);const e=2*(0===this.lengths.length?1:this.lengths.reduce(((t,e)=>t+e))),n=this.coords.slice(0,e);return t?(t.set(n),new o(this.lengths,t)):new o(Array.from(this.lengths),Array.from(n))}}}}]);