@arcgis/core 5.0.0-next.22 → 5.0.0-next.24

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 (266) hide show
  1. package/analysis/DistanceMeasurementAnalysis.d.ts +4 -0
  2. package/applications/SceneViewer/sceneViewerUtils.d.ts +1 -0
  3. package/applications/SceneViewer/sceneViewerUtils.js +1 -1
  4. package/assets/esri/core/workers/RemoteClient.js +1 -1
  5. package/assets/esri/core/workers/chunks/01b8e680befff83e7d3e.js +1 -0
  6. package/assets/esri/core/workers/chunks/024104997daea0d74b38.js +1 -0
  7. package/assets/esri/core/workers/chunks/052ded41dc06c93ec0a7.js +1 -0
  8. package/assets/esri/core/workers/chunks/05b7720ab6bf0874f27c.js +1 -0
  9. package/assets/esri/core/workers/chunks/06d52a570d5d44f8c86e.js +1 -0
  10. package/assets/esri/core/workers/chunks/0ef9641069433fef3826.js +1 -0
  11. package/assets/esri/core/workers/chunks/155d74b9c0ef31dc2316.js +1 -0
  12. package/assets/esri/core/workers/chunks/19820cddba13a3585c0b.js +1 -0
  13. package/assets/esri/core/workers/chunks/219876879bc543568bcd.js +1 -0
  14. package/assets/esri/core/workers/chunks/231c0b583fa97f2ca675.js +1 -0
  15. package/assets/esri/core/workers/chunks/274f2b5e6dbc58505142.js +1 -0
  16. package/assets/esri/core/workers/chunks/{02cd03ffd024d3ac1aa7.js → 27ec791318e81285c222.js} +1 -1
  17. package/assets/esri/core/workers/chunks/2921f05a40fda12f9f81.js +1 -0
  18. package/assets/esri/core/workers/chunks/2a41283bba2361afa1fd.js +1 -0
  19. package/assets/esri/core/workers/chunks/2c4218306747f5d15575.js +1 -0
  20. package/assets/esri/core/workers/chunks/2c7038a7ffaf75344b02.js +1 -0
  21. package/assets/esri/core/workers/chunks/2de32649f8b0c6404d7c.js +1 -0
  22. package/assets/esri/core/workers/chunks/31b5747a254d13acc58e.js +1 -0
  23. package/assets/esri/core/workers/chunks/{f651c05604eab83aef5f.js → 3266c3392c24ce6cdd83.js} +2 -2
  24. package/assets/esri/core/workers/chunks/3777b41b4fa2f1418402.js +1 -0
  25. package/assets/esri/core/workers/chunks/3bacd904cd93c8013f6a.js +1 -0
  26. package/assets/esri/core/workers/chunks/41a00c77e6f7ce61e476.js +1 -0
  27. package/assets/esri/core/workers/chunks/45729d006db6a569715f.js +1 -0
  28. package/assets/esri/core/workers/chunks/4ab89c990a82c745c0fd.js +1 -0
  29. package/assets/esri/core/workers/chunks/4b14ee37b5ac50a734f9.js +1 -0
  30. package/assets/esri/core/workers/chunks/4cda42b94e9cb58dd372.js +1 -0
  31. package/assets/esri/core/workers/chunks/4ce28c936eaffe57c448.js +1 -0
  32. package/assets/esri/core/workers/chunks/538ddb267aa328814865.js +1 -0
  33. package/assets/esri/core/workers/chunks/58bbc8bc886c071b8ff3.js +1 -0
  34. package/assets/esri/core/workers/chunks/592afe1a41bed3b0cc31.js +1 -0
  35. package/assets/esri/core/workers/chunks/5aeda8a1f2ccabfdf40f.js +1 -0
  36. package/assets/esri/core/workers/chunks/5b290d18de61789417f9.js +1 -0
  37. package/assets/esri/core/workers/chunks/5b73c77587772120b209.js +1 -0
  38. package/assets/esri/core/workers/chunks/60eeeea671a523bb6b15.js +1 -0
  39. package/assets/esri/core/workers/chunks/6428e2f4fc0a6739cc9e.js +1 -0
  40. package/assets/esri/core/workers/chunks/69278d08a7d64917f826.js +2 -0
  41. package/assets/esri/core/workers/chunks/6e5d41f51572e3e7cf92.js +1 -0
  42. package/assets/esri/core/workers/chunks/{7565b382f6b3d2cb46a3.js → 6f3ffc04086bca30e55d.js} +2 -2
  43. package/assets/esri/core/workers/chunks/70e2804d3710c6af468e.js +2 -0
  44. package/assets/esri/core/workers/chunks/{1e5efacbbc8960f13472.js → 748ab87a25f23d94b662.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{aa78b69219d9a0ef1c54.js → 78fc9a55e620602db1ff.js} +2 -2
  46. package/assets/esri/core/workers/chunks/7e6fae3660e7a6a0fa16.js +1 -0
  47. package/assets/esri/core/workers/chunks/7ffef8a19166f6b564d8.js +1 -0
  48. package/assets/esri/core/workers/chunks/{867a181969eeeb5f1856.js → 838b3ec88785ac7aa31b.js} +1 -1
  49. package/assets/esri/core/workers/chunks/83aa39fbb1fad3b9d143.js +1 -0
  50. package/assets/esri/core/workers/chunks/88aa71f02f43bb069345.js +1 -0
  51. package/assets/esri/core/workers/chunks/{74a251e7f5be72ca2a5a.js → 8b336a63737e917e50e2.js} +1 -1
  52. package/assets/esri/core/workers/chunks/8d4cc5f1d07b4aa3aea0.js +1 -0
  53. package/assets/esri/core/workers/chunks/8e9a5d38da40702def80.js +1 -0
  54. package/assets/esri/core/workers/chunks/{4f7b7587d7902355f2a1.js → 93fe46be3c7fe34b5361.js} +1 -1
  55. package/assets/esri/core/workers/chunks/9461cc37ab3397265270.js +1 -0
  56. package/assets/esri/core/workers/chunks/9527f1a611557a7af237.js +1 -0
  57. package/assets/esri/core/workers/chunks/97b01803d0c38541aa08.js +1 -0
  58. package/assets/esri/core/workers/chunks/9921c8d4487a0f580b93.js +1 -0
  59. package/assets/esri/core/workers/chunks/9d0f0d055ec25af037e0.js +1 -0
  60. package/assets/esri/core/workers/chunks/9f0172b83f25ef5f8d40.js +1 -0
  61. package/assets/esri/core/workers/chunks/a4f492aa5444e6381063.js +1 -0
  62. package/assets/esri/core/workers/chunks/{d6e0528eacee7ea4c1ce.js → a67c3958d76d10c04fa6.js} +2 -2
  63. package/assets/esri/core/workers/chunks/aac313257a8b1ae75b75.js +1 -0
  64. package/assets/esri/core/workers/chunks/b48bb38e5d60fc7a9097.js +1 -0
  65. package/assets/esri/core/workers/chunks/b4c0a53c46ce4671d4c3.js +1 -0
  66. package/assets/esri/core/workers/chunks/bd58c027408dc858f23c.js +1 -0
  67. package/assets/esri/core/workers/chunks/be06c8a58c217a17451b.js +1 -0
  68. package/assets/esri/core/workers/chunks/{ce16489cf7eb0d78c741.js → be631029691d9a320cb5.js} +2 -2
  69. package/assets/esri/core/workers/chunks/c5d6b416baf24e74b9ba.js +1 -0
  70. package/assets/esri/core/workers/chunks/cade149fa19b4d06dd24.js +1 -0
  71. package/assets/esri/core/workers/chunks/ccde4f65377228b017a8.js +1 -0
  72. package/assets/esri/core/workers/chunks/d21ae4980741be98f948.js +1 -0
  73. package/assets/esri/core/workers/chunks/d32aad968798948946e4.js +1 -0
  74. package/assets/esri/core/workers/chunks/d56548a994753b08403c.js +1 -0
  75. package/assets/esri/core/workers/chunks/{0f735b0dec173142f3b6.js → d9251c3c85c3ddd242c8.js} +2 -2
  76. package/assets/esri/core/workers/chunks/{6e9c88f66bcfc3476b44.js → db0f9267fbda893de043.js} +1 -1
  77. package/assets/esri/core/workers/chunks/e0369ce0d729c9656488.js +1 -0
  78. package/assets/esri/core/workers/chunks/e08a1934d98e7324776d.js +1 -0
  79. package/assets/esri/core/workers/chunks/e0b70652da4a7f672cfc.js +1 -0
  80. package/assets/esri/core/workers/chunks/{bfc171f630da9314d860.js → e5baa30944061418cb13.js} +1 -1
  81. package/assets/esri/core/workers/chunks/e689a4849f5af3f2f641.js +1 -0
  82. package/assets/esri/core/workers/chunks/e6df4327ac1d9b65b80d.js +1 -0
  83. package/assets/esri/core/workers/chunks/f4919950a9a3703d9da3.js +1 -0
  84. package/assets/esri/core/workers/chunks/f4eb5de69ad9b7763582.js +1 -0
  85. package/assets/esri/core/workers/chunks/f6ce485c082d0d640b01.js +1 -0
  86. package/assets/esri/core/workers/chunks/fd9ef4b8c969962cf72b.js +1 -0
  87. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  88. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
  89. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
  90. package/assets/esri/themes/base/widgets/_FeatureTable.scss +0 -1
  91. package/assets/esri/themes/dark/main.css +1 -1
  92. package/assets/esri/themes/light/main.css +1 -1
  93. package/assets/esri/themes/light/view.css +1 -1
  94. package/assets/esri/widgets/support/GridControls/t9n/GridControls.json +1 -1
  95. package/assets/esri/widgets/support/GridControls/t9n/GridControls_en.json +1 -1
  96. package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
  97. package/chunks/arcgis-knowledge-client-core.js +1 -1
  98. package/config.js +1 -1
  99. package/interfaces.d.ts +355 -73
  100. package/kernel.js +1 -1
  101. package/layers/BaseDynamicLayer.js +1 -1
  102. package/layers/BaseElevationLayer.js +1 -1
  103. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  104. package/layers/VideoLayer.js +1 -1
  105. package/layers/graphics/sources/support/QueryTask.js +1 -1
  106. package/layers/mixins/ArcGISImageService.js +1 -1
  107. package/layers/support/PublishingInfo.js +1 -1
  108. package/layers/support/RasterBandInfo.js +1 -1
  109. package/layers/support/RasterSensorInfo.js +1 -1
  110. package/layers/support/SubtypeSublayer.js +1 -1
  111. package/layers/support/vectorTileLayerLoader.js +1 -1
  112. package/layers/voxel/VoxelVariable.js +1 -1
  113. package/package.json +6 -6
  114. package/rest/support/FindImagesResult.js +1 -1
  115. package/rest/support/ImageAreaResult.js +1 -1
  116. package/rest/support/ImageBoundaryResult.js +1 -1
  117. package/rest/support/ImageDistanceResult.js +1 -1
  118. package/rest/support/ImageGPSInfoResult.js +1 -1
  119. package/rest/support/ImageHeightResult.js +1 -1
  120. package/rest/support/ImageIdentifyResult.js +1 -1
  121. package/rest/support/ImagePixelLocationResult.js +1 -1
  122. package/rest/support/ImagePointResult.js +1 -1
  123. package/rest/support/ImageSampleResult.js +1 -1
  124. package/rest/support/ImageUrlResult.js +1 -1
  125. package/rest/support/ImageVolumeResult.js +1 -1
  126. package/rest/support/MeasureAreaFromImageResult.js +1 -1
  127. package/rest/support/MeasureLengthFromImageResult.js +1 -1
  128. package/support/revision.js +1 -1
  129. package/symbols/cim/CIMEffects.js +1 -1
  130. package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
  131. package/symbols/cim/CIMSymbolHelper.js +1 -1
  132. package/symbols/cim/placements/PlacementAtMeasuredUnits.js +1 -1
  133. package/unionTypes.d.ts +0 -1
  134. package/views/2d/analysis/AreaMeasurement/AreaMeasurementAreaVisualization.js +1 -1
  135. package/views/2d/analysis/AreaMeasurement/AreaMeasurementController.js +1 -1
  136. package/views/2d/analysis/AreaMeasurement/utils.js +5 -0
  137. package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +4 -0
  138. package/views/2d/analysis/AreaMeasurementAnalysisView2D.js +1 -1
  139. package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +4 -0
  140. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientStrokeShader.js +1 -1
  141. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  142. package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
  143. package/views/3d/analysis/Dimension/types.d.ts +3 -0
  144. package/views/3d/analysis/Dimension/types.js +5 -0
  145. package/views/3d/analysis/DirectLineMeasurement/types.d.ts +4 -0
  146. package/views/3d/analysis/DirectLineMeasurement/types.js +5 -0
  147. package/views/3d/analysis/LineOfSight/types.d.ts +3 -0
  148. package/views/3d/analysis/LineOfSight/types.js +5 -0
  149. package/views/3d/analysis/Slice/types.d.ts +3 -0
  150. package/views/3d/analysis/Slice/types.js +5 -0
  151. package/views/3d/analysis/Viewshed/types.d.ts +3 -0
  152. package/views/3d/analysis/Viewshed/types.js +5 -0
  153. package/views/3d/analysis/VolumeMeasurement/types.d.ts +3 -0
  154. package/views/3d/analysis/VolumeMeasurement/types.js +5 -0
  155. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  156. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  157. package/views/3d/support/popupHitTest.js +1 -1
  158. package/views/3d/terrain/TerrainSurface.js +1 -1
  159. package/views/3d/terrain/Tile.js +1 -1
  160. package/views/LinkChartView.js +1 -1
  161. package/views/VideoView.js +1 -1
  162. package/views/analysis/AreaMeasurement/types.d.ts +4 -0
  163. package/views/analysis/AreaMeasurement/types.js +5 -0
  164. package/views/analysis/DistanceMeasurement/types.d.ts +4 -0
  165. package/views/analysis/DistanceMeasurement/types.js +5 -0
  166. package/views/analysis/types.d.ts +3 -0
  167. package/views/analysis/types.js +5 -0
  168. package/views/draw/support/Reshape.js +1 -1
  169. package/views/input/Input.js +1 -1
  170. package/views/layers/BuildingComponentSublayerView.js +1 -1
  171. package/views/layers/SceneLayerView.js +1 -1
  172. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  173. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  174. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  175. package/widgets/Editor/workflowUtils.js +1 -1
  176. package/widgets/FeatureTable/FieldColumn.js +1 -1
  177. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  178. package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +1 -1
  179. package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
  180. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  181. package/widgets/OrientedImageryViewer/mixins/TriangulatedImageMeasurementMixin.js +1 -1
  182. package/widgets/ScaleRangeSlider/ScaleRanges.js +1 -1
  183. package/widgets/Sketch/SketchViewModel.js +1 -1
  184. package/widgets/Sketch/support/ResponsiveToolbar/ResponsiveToolbar.js +1 -1
  185. package/widgets/Sketch.js +1 -1
  186. package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
  187. package/widgets/support/GridControls.js +1 -1
  188. package/widgets/support/SelectionToolbar.js +1 -1
  189. package/assets/esri/core/workers/chunks/038eba6d3a6bcf8ccd67.js +0 -1
  190. package/assets/esri/core/workers/chunks/03ed15ba64f1679b3d48.js +0 -1
  191. package/assets/esri/core/workers/chunks/04bac7bb3f794b33e2e4.js +0 -1
  192. package/assets/esri/core/workers/chunks/092d72caf3269e696d1c.js +0 -1
  193. package/assets/esri/core/workers/chunks/11fdcb8a74a80e9a47a3.js +0 -1
  194. package/assets/esri/core/workers/chunks/1466ab7bd500ba7a4025.js +0 -1
  195. package/assets/esri/core/workers/chunks/16f841f12b32d8a500a9.js +0 -1
  196. package/assets/esri/core/workers/chunks/1b9f93ab226232c5019a.js +0 -1
  197. package/assets/esri/core/workers/chunks/1beee2932154db83f79d.js +0 -1
  198. package/assets/esri/core/workers/chunks/1cae81089b50b7e43d70.js +0 -1
  199. package/assets/esri/core/workers/chunks/1fcd4d90a99e85d35dd2.js +0 -1
  200. package/assets/esri/core/workers/chunks/21d7f42c2033de987b97.js +0 -1
  201. package/assets/esri/core/workers/chunks/24ff9dad3fb64ab54970.js +0 -1
  202. package/assets/esri/core/workers/chunks/26282c67d2b066a76881.js +0 -1
  203. package/assets/esri/core/workers/chunks/2719865e28d577da7b2a.js +0 -1
  204. package/assets/esri/core/workers/chunks/2d3e7b41b225d905c7f4.js +0 -1
  205. package/assets/esri/core/workers/chunks/30a631c39c9372797b92.js +0 -1
  206. package/assets/esri/core/workers/chunks/388873be1dca91ccbc9d.js +0 -1
  207. package/assets/esri/core/workers/chunks/3a457e718a901a45902e.js +0 -2
  208. package/assets/esri/core/workers/chunks/44e08b49898a8fcbe031.js +0 -1
  209. package/assets/esri/core/workers/chunks/4731f507149940dde534.js +0 -1
  210. package/assets/esri/core/workers/chunks/48ca09958c3d50de48dc.js +0 -1
  211. package/assets/esri/core/workers/chunks/4d0e099f34639cda3a9b.js +0 -1
  212. package/assets/esri/core/workers/chunks/5a6b487b70ca85a45f57.js +0 -1
  213. package/assets/esri/core/workers/chunks/5b5f1f22de985dc6bbc0.js +0 -1
  214. package/assets/esri/core/workers/chunks/5c82b17f9990e6cd7d0b.js +0 -1
  215. package/assets/esri/core/workers/chunks/5cc023e1066641f9f20c.js +0 -1
  216. package/assets/esri/core/workers/chunks/61bb39597ccf89f99a72.js +0 -1
  217. package/assets/esri/core/workers/chunks/67bc5b87fd61095689d4.js +0 -1
  218. package/assets/esri/core/workers/chunks/6bf5b3c7129aa14b4fc6.js +0 -1
  219. package/assets/esri/core/workers/chunks/755e2ecd20b6bd1909be.js +0 -1
  220. package/assets/esri/core/workers/chunks/768e1ad2f06fdc9d5ef8.js +0 -1
  221. package/assets/esri/core/workers/chunks/7a957f2bca1438732338.js +0 -1
  222. package/assets/esri/core/workers/chunks/7d9773c87650856f2d9e.js +0 -1
  223. package/assets/esri/core/workers/chunks/809a9055da28c8fa58b0.js +0 -1
  224. package/assets/esri/core/workers/chunks/8af47cc9cee2f3031162.js +0 -1
  225. package/assets/esri/core/workers/chunks/8bbae8ac586e5c0819d2.js +0 -1
  226. package/assets/esri/core/workers/chunks/8cd03b54b2859b52fb81.js +0 -1
  227. package/assets/esri/core/workers/chunks/8f85039d76f03fbdd27a.js +0 -1
  228. package/assets/esri/core/workers/chunks/93f706acaa812bb3ac70.js +0 -1
  229. package/assets/esri/core/workers/chunks/976dd80e318266ab4c2c.js +0 -1
  230. package/assets/esri/core/workers/chunks/9a20be3b02c9d6349b8d.js +0 -1
  231. package/assets/esri/core/workers/chunks/9dae3e4e34096b3d82d7.js +0 -1
  232. package/assets/esri/core/workers/chunks/9e5e05d6430712b0b1bc.js +0 -1
  233. package/assets/esri/core/workers/chunks/9f9e20321ee44675e107.js +0 -1
  234. package/assets/esri/core/workers/chunks/a02ffa7916cf9da55608.js +0 -1
  235. package/assets/esri/core/workers/chunks/a0b0fe0d99df20fa9076.js +0 -1
  236. package/assets/esri/core/workers/chunks/a987731d1b5449d8fb0c.js +0 -1
  237. package/assets/esri/core/workers/chunks/ad9606164c694af0c61f.js +0 -1
  238. package/assets/esri/core/workers/chunks/b0e52c3775f05aaf7ff6.js +0 -1
  239. package/assets/esri/core/workers/chunks/bfd3d81e8e148be99686.js +0 -1
  240. package/assets/esri/core/workers/chunks/c1e4e9ab4a543e8b350d.js +0 -1
  241. package/assets/esri/core/workers/chunks/cbc5131723cbe29cb88f.js +0 -1
  242. package/assets/esri/core/workers/chunks/ce00509970e7e6eacbdf.js +0 -1
  243. package/assets/esri/core/workers/chunks/cec95ed69c86758d95ec.js +0 -1
  244. package/assets/esri/core/workers/chunks/d391bfbaf0e790cd10d6.js +0 -2
  245. package/assets/esri/core/workers/chunks/d622fb553babd515a21f.js +0 -1
  246. package/assets/esri/core/workers/chunks/dcd6ee9e00ebd519c4a7.js +0 -1
  247. package/assets/esri/core/workers/chunks/ddb55435adeda1e2a1bf.js +0 -1
  248. package/assets/esri/core/workers/chunks/e5208898910c1222b7e6.js +0 -1
  249. package/assets/esri/core/workers/chunks/e5a9c37de44508e9733b.js +0 -1
  250. package/assets/esri/core/workers/chunks/e5b42ddec8e424602e03.js +0 -1
  251. package/assets/esri/core/workers/chunks/eaabb5b010b7bb850b0a.js +0 -1
  252. package/assets/esri/core/workers/chunks/eafc4da265469e9e5e0b.js +0 -1
  253. package/assets/esri/core/workers/chunks/eb1b582a73111c8556c1.js +0 -1
  254. package/assets/esri/core/workers/chunks/f594df2f5ce6ca41a254.js +0 -1
  255. package/assets/esri/core/workers/chunks/f64037a88ab03662dc2a.js +0 -1
  256. package/assets/esri/core/workers/chunks/f888849b0236cc0d6f50.js +0 -1
  257. package/assets/esri/core/workers/chunks/fbcc4cbb221c0fbb90d4.js +0 -1
  258. package/views/2d/analysis/AreaMeasurement/AreaMeasurementLabelVisualization.js +0 -5
  259. /package/assets/esri/core/workers/chunks/{0f735b0dec173142f3b6.js.LICENSE.txt → 3266c3392c24ce6cdd83.js.LICENSE.txt} +0 -0
  260. /package/assets/esri/core/workers/chunks/{d391bfbaf0e790cd10d6.js.LICENSE.txt → 69278d08a7d64917f826.js.LICENSE.txt} +0 -0
  261. /package/assets/esri/core/workers/chunks/{7565b382f6b3d2cb46a3.js.LICENSE.txt → 6f3ffc04086bca30e55d.js.LICENSE.txt} +0 -0
  262. /package/assets/esri/core/workers/chunks/{3a457e718a901a45902e.js.LICENSE.txt → 70e2804d3710c6af468e.js.LICENSE.txt} +0 -0
  263. /package/assets/esri/core/workers/chunks/{aa78b69219d9a0ef1c54.js.LICENSE.txt → 78fc9a55e620602db1ff.js.LICENSE.txt} +0 -0
  264. /package/assets/esri/core/workers/chunks/{d6e0528eacee7ea4c1ce.js.LICENSE.txt → a67c3958d76d10c04fa6.js.LICENSE.txt} +0 -0
  265. /package/assets/esri/core/workers/chunks/{ce16489cf7eb0d78c741.js.LICENSE.txt → be631029691d9a320cb5.js.LICENSE.txt} +0 -0
  266. /package/assets/esri/core/workers/chunks/{f651c05604eab83aef5f.js.LICENSE.txt → d9251c3c85c3ddd242c8.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5367],{11053:(a,r,t)=>{t.d(r,{c:()=>e,g:()=>n});var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}},15367:(a,r,t)=>{t.d(r,{a:()=>s});var e,n=t(11053),o={exports:{}};const i=(0,n.g)(function(){return e||(e=1,a=o,r=globalThis.document?.currentScript?.src,t=async function(a={}){var t,e=a,n="./this.program",o="";try{o=new URL(".",r).href}catch{}t=async a=>{if((a=await fetch(a,{credentials:"same-origin"})).ok)return a.arrayBuffer();throw Error(a.status+" : "+a.url)};var i,s,u,f,l,h,c,w,d,p,v,m,b,y,g,$=console.log.bind(console),A=console.error.bind(console),C=!1,k=!1;function E(){var a=Zr.buffer;l=new Int8Array(a),c=new Int16Array(a),h=new Uint8Array(a),w=new Uint16Array(a),d=new Int32Array(a),p=new Uint32Array(a),v=new Float32Array(a),m=new Float64Array(a),b=new BigInt64Array(a),y=new BigUint64Array(a)}function x(a){throw e.onAbort?.(a),A(a="Aborted("+a+")"),C=!0,a=new WebAssembly.RuntimeError(a+". Build with -sASSERTIONS for more info."),f?.(a),a}async function O(a){if(!i)try{var r=await t(a);return new Uint8Array(r)}catch{}if(a!=g||!i)throw"both async and sync fetching of the wasm failed";return new Uint8Array(i)}class T{name="ExitStatus";constructor(a){this.message=`Program terminated with exit(${a})`,this.status=a}}var S=a=>{for(;0<a.length;)a.shift()(e)},P=[],j=[],D=()=>{var a=e.preRun.shift();j.push(a)},R=!0;class q{constructor(a){this.ra=a-24}}var I={},B=a=>{for(;a.length;){var r=a.pop();a.pop()(r)}};function M(a){return this.sa(p[a>>2])}var z={},U={},N={},F=class extends Error{constructor(a){super(a),this.name="InternalError"}},L=(a,r,t)=>{function e(r){if((r=t(r)).length!==a.length)throw new F("Mismatched type converter count");for(var e=0;e<a.length;++e)H(a[e],r[e])}a.forEach(a=>N[a]=r);var n=Array(r.length),o=[],i=0;r.forEach((a,r)=>{U.hasOwnProperty(a)?n[r]=U[a]:(o.push(a),z.hasOwnProperty(a)||(z[a]=[]),z[a].push(()=>{n[r]=U[a],++i===o.length&&e(n)}))}),0===o.length&&e(n)},W=a=>{for(var r="";;){var t=h[a++];if(!t)return r;r+=String.fromCharCode(t)}},_=class extends Error{constructor(a){super(a),this.name="BindingError"}};function H(a,r,t={}){return function(a,r,t={}){var e=r.name;if(!a)throw new _(`type "${e}" must have a positive integer typeid pointer`);if(U.hasOwnProperty(a)){if(t.Mb)return;throw new _(`Cannot register type '${e}' twice`)}U[a]=r,delete N[a],z.hasOwnProperty(a)&&(r=z[a],delete z[a],r.forEach(a=>a()))}(a,r,t)}var G=(a,r,t)=>{switch(r){case 1:return t?a=>l[a]:a=>h[a];case 2:return t?a=>c[a>>1]:a=>w[a>>1];case 4:return t?a=>d[a>>2]:a=>p[a>>2];case 8:return t?a=>b[a>>3]:a=>y[a>>3];default:throw new TypeError(`invalid integer width (${r}): ${a}`)}},J=a=>{throw new _(a.ma.ta.na.name+" instance already deleted")},K=!1,V=()=>{},Q=a=>globalThis.FinalizationRegistry?(K=new FinalizationRegistry(a=>{--(a=a.ma).count.value,0===a.count.value&&(a.xa?a.Ba.Ha(a.xa):a.ta.na.Ha(a.ra))}),V=a=>{K.unregister(a)},(Q=a=>{var r=a.ma;return r.xa&&K.register(a,{ma:r},a),a})(a)):(Q=a=>a,a);function Y(){}var X=(a,r)=>Object.defineProperty(r,"name",{value:a}),Z={},aa=(a,r,t)=>{if(void 0===a[r].ua){var e=a[r];a[r]=function(...e){if(!a[r].ua.hasOwnProperty(e.length))throw new _(`Function '${t}' called with an invalid number of arguments (${e.length}) - expects one of (${a[r].ua})!`);return a[r].ua[e.length].apply(this,e)},a[r].ua=[],a[r].ua[e.Ma]=e}},ra=(a,r,t)=>{if(e.hasOwnProperty(a)){if(void 0===t||void 0!==e[a].ua&&void 0!==e[a].ua[t])throw new _(`Cannot register public name '${a}' twice`);if(aa(e,a,a),e[a].ua.hasOwnProperty(t))throw new _(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`);e[a].ua[t]=r}else e[a]=r,e[a].Ma=t};function ta(a,r,t,e,n,o,i,s){this.name=a,this.constructor=r,this.La=t,this.Ha=e,this.ya=n,this.Hb=o,this.Xa=i,this.Fb=s,this.Sb=[]}var ea=(a,r,t)=>{for(;r!==t;){if(!r.Xa)throw new _(`Expected null or instance of ${t.name}, got an instance of ${r.name}`);a=r.Xa(a),r=r.ya}return a},na=a=>{if(null===a)return"null";var r=typeof a;return"object"===r||"array"===r||"function"===r?a.toString():""+a};function oa(a,r){if(null===r){if(this.lb)throw new _(`null is not a valid ${this.name}`);return 0}if(!r.ma)throw new _(`Cannot pass "${na(r)}" as a ${this.name}`);if(!r.ma.ra)throw new _(`Cannot pass deleted object as a pointer of type ${this.name}`);return ea(r.ma.ra,r.ma.ta.na,this.na)}function ia(a,r){if(null===r){if(this.lb)throw new _(`null is not a valid ${this.name}`);if(this.ab){var t=this.nb();return null!==a&&a.push(this.Ha,t),t}return 0}if(!r||!r.ma)throw new _(`Cannot pass "${na(r)}" as a ${this.name}`);if(!r.ma.ra)throw new _(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.$a&&r.ma.ta.$a)throw new _(`Cannot convert argument of type ${r.ma.Ba?r.ma.Ba.name:r.ma.ta.name} to parameter type ${this.name}`);if(t=ea(r.ma.ra,r.ma.ta.na,this.na),this.ab){if(void 0===r.ma.xa)throw new _("Passing raw pointer to smart pointer is illegal");switch(this.Xb){case 0:if(r.ma.Ba!==this)throw new _(`Cannot convert argument of type ${r.ma.Ba?r.ma.Ba.name:r.ma.ta.name} to parameter type ${this.name}`);t=r.ma.xa;break;case 1:t=r.ma.xa;break;case 2:if(r.ma.Ba===this)t=r.ma.xa;else{var e=r.clone();t=this.Tb(t,xa(()=>e.delete())),null!==a&&a.push(this.Ha,t)}break;default:throw new _("Unsupporting sharing policy")}}return t}function sa(a,r){if(null===r){if(this.lb)throw new _(`null is not a valid ${this.name}`);return 0}if(!r.ma)throw new _(`Cannot pass "${na(r)}" as a ${this.name}`);if(!r.ma.ra)throw new _(`Cannot pass deleted object as a pointer of type ${this.name}`);if(r.ma.ta.$a)throw new _(`Cannot convert argument of type ${r.ma.ta.name} to parameter type ${this.name}`);return ea(r.ma.ra,r.ma.ta.na,this.na)}var ua=(a,r,t)=>r===t?a:void 0===t.ya||null===(a=ua(a,r,t.ya))?null:t.Fb(a),fa={},la=(a,r)=>{if(!r.ta||!r.ra)throw new F("makeClassHandle requires ptr and ptrType");if(!!r.Ba!=!!r.xa)throw new F("Both smartPtrType and smartPtr must be specified");return r.count={value:1},Q(Object.create(a,{ma:{value:r,writable:!0}}))};function ha(a,r,t,e,n,o,i,s,u,f,l){this.name=a,this.na=r,this.lb=t,this.$a=e,this.ab=n,this.Rb=o,this.Xb=i,this.yb=s,this.nb=u,this.Tb=f,this.Ha=l,n||void 0!==r.ya?this.wa=ia:(this.wa=e?oa:sa,this.Aa=null)}var ca=(a,r,t)=>{if(!e.hasOwnProperty(a))throw new F("Replacing nonexistent public symbol");void 0!==e[a].ua&&void 0!==t?e[a].ua[t]=r:(e[a]=r,e[a].Ma=t)},wa=[],da=(a,r)=>{var t;if(a=W(a),(t=wa[r])||(wa[r]=t=at.get(r)),"function"!=typeof t)throw new _(`unknown function pointer with signature ${a}: ${r}`);return t};class pa extends Error{}var va=a=>{a=Kr(a);var r=W(a);return Qr(a),r},ma=(a,r)=>{var t=[],e={};throw r.forEach(function a(r){e[r]||U[r]||(N[r]?N[r].forEach(a):(t.push(r),e[r]=!0))}),new pa(`${a}: `+t.map(va).join([", "]))};function ba(a,r,t,e,n){var o=r.length;if(2>o)throw new _("argTypes array size mismatch! Must at least get return value and 'this' types!");var i=null!==r[1]&&null!==t,s=function(a){for(var r=1;r<a.length;++r)if(null!==a[r]&&void 0===a[r].Aa)return!0;return!1}(r),u=!r[0].Nb,f=o-2,l=Array(f),h=[],c=[];return X(a,function(...a){if(c.length=0,h.length=i?2:1,h[0]=n,i){var t=r[1].wa(c,this);h[1]=t}for(var o=0;o<f;++o)l[o]=r[o+2].wa(c,a[o]),h.push(l[o]);if(a=e(...h),s)B(c);else for(o=i?1:2;o<r.length;o++){var w=1===o?t:l[o-2];null!==r[o].Aa&&r[o].Aa(w)}return u?r[0].sa(a):void 0})}var ya=(a,r)=>{for(var t=[],e=0;e<a;e++)t.push(p[r+4*e>>2]);return t},ga=a=>{const r=(a=a.trim()).indexOf("(");return-1===r?a:a.slice(0,r)},$a=(a,r,t)=>{if(!(a instanceof Object))throw new _(`${t} with invalid "this": ${a}`);if(!(a instanceof r.na.constructor))throw new _(`${t} incompatible with "this" of type ${a.constructor.name}`);if(!a.ma.ra)throw new _(`cannot call emscripten binding method ${t} on deleted object`);return ea(a.ma.ra,a.ma.ta.na,r.na)},Aa=[],Ca=[0,1,,1,null,1,!0,1,!1,1],ka=a=>{9<a&&0===--Ca[a+1]&&(Ca[a]=void 0,Aa.push(a))},Ea=a=>{if(!a)throw new _(`Cannot use deleted val. handle = ${a}`);return Ca[a]},xa=a=>{switch(a){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:const r=Aa.pop()||Ca.length;return Ca[r]=a,Ca[r+1]=1,r}},Oa={name:"emscripten::val",sa:a=>{var r=Ea(a);return ka(a),r},wa:(a,r)=>xa(r),Ea:M,Aa:null},Ta=(a,r,t)=>{switch(r){case 1:return t?function(a){return this.sa(l[a])}:function(a){return this.sa(h[a])};case 2:return t?function(a){return this.sa(c[a>>1])}:function(a){return this.sa(w[a>>1])};case 4:return t?function(a){return this.sa(d[a>>2])}:function(a){return this.sa(p[a>>2])};default:throw new TypeError(`invalid integer width (${r}): ${a}`)}},Sa=(a,r)=>{var t=U[a];if(void 0===t)throw a=`${r} has unknown type ${va(a)}`,new _(a);return t},Pa=(a,r)=>{switch(r){case 4:return function(a){return this.sa(v[a>>2])};case 8:return function(a){return this.sa(m[a>>3])};default:throw new TypeError(`invalid float width (${r}): ${a}`)}},ja=Object.assign({optional:!0},Oa),Da=(a,r,t,e)=>{if(!(0<e))return 0;var n=t;e=t+e-1;for(var o=0;o<a.length;++o){var i=a.codePointAt(o);if(127>=i){if(t>=e)break;r[t++]=i}else if(2047>=i){if(t+1>=e)break;r[t++]=192|i>>6,r[t++]=128|63&i}else if(65535>=i){if(t+2>=e)break;r[t++]=224|i>>12,r[t++]=128|i>>6&63,r[t++]=128|63&i}else{if(t+3>=e)break;r[t++]=240|i>>18,r[t++]=128|i>>12&63,r[t++]=128|i>>6&63,r[t++]=128|63&i,o++}}return r[t]=0,t-n},Ra=a=>{for(var r=0,t=0;t<a.length;++t){var e=a.charCodeAt(t);127>=e?r++:2047>=e?r+=2:55296<=e&&57343>=e?(r+=4,++t):r+=3}return r},qa=globalThis.TextDecoder&&new TextDecoder,Ia=(a,r,t,e)=>{if(t=r+t,e)return t;for(;a[r]&&!(r>=t);)++r;return r},Ba=(a,r=0,t,e)=>{if(16<(t=Ia(a,r,t,e))-r&&a.buffer&&qa)return qa.decode(a.subarray(r,t));for(e="";r<t;){var n=a[r++];if(128&n){var o=63&a[r++];if(192==(224&n))e+=String.fromCharCode((31&n)<<6|o);else{var i=63&a[r++];65536>(n=224==(240&n)?(15&n)<<12|o<<6|i:(7&n)<<18|o<<12|i<<6|63&a[r++])?e+=String.fromCharCode(n):(n-=65536,e+=String.fromCharCode(55296|n>>10,56320|1023&n))}}else e+=String.fromCharCode(n)}return e},Ma=globalThis.TextDecoder?new TextDecoder("utf-16le"):void 0,za=(a,r,t)=>{if(16<(r=Ia(w,a>>=1,r/2,t))-a&&Ma)return Ma.decode(w.subarray(a,r));for(t="";a<r;++a)t+=String.fromCharCode(w[a]);return t},Ua=(a,r,t)=>{if(t??=2147483647,2>t)return 0;var e=r;t=(t-=2)<2*a.length?t/2:a.length;for(var n=0;n<t;++n)c[r>>1]=a.charCodeAt(n),r+=2;return c[r>>1]=0,r-e},Na=a=>2*a.length,Fa=(a,r,t)=>{var e="";a>>=2;for(var n=0;!(n>=r/4);n++){var o=p[a+n];if(!o&&!t)break;e+=String.fromCodePoint(o)}return e},La=(a,r,t)=>{if(t??=2147483647,4>t)return 0;var e=r;t=e+t-4;for(var n=0;n<a.length;++n){var o=a.codePointAt(n);if(65535<o&&n++,d[r>>2]=o,(r+=4)+4>t)break}return d[r>>2]=0,r-e},Wa=a=>{for(var r=0,t=0;t<a.length;++t)65535<a.codePointAt(t)&&t++,r+=4;return r},_a=0,Ha=[],Ga={},Ja=a=>{var r=Ga[a];return void 0===r?W(a):r},Ka=(a,r,t,e,n)=>Ha[a](r,t,e,n),Va=(a,r)=>{for(var t=0,e=a.length-1;0<=e;e--){var n=a[e];"."===n?a.splice(e,1):".."===n?(a.splice(e,1),t++):t&&(a.splice(e,1),t--)}if(r)for(;t;t--)a.unshift("..");return a},Qa=a=>{var r="/"===a.charAt(0),t="/"===a.slice(-1);return(a=Va(a.split("/").filter(a=>!!a),!r).join("/"))||r||(a="."),a&&t&&(a+="/"),(r?"/":"")+a},Ya=a=>{var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);return a=r[0],r=r[1],a||r?(r&&=r.slice(0,-1),a+r):"."},Xa=a=>{(Xa=a=>crypto.getRandomValues(a))(a)},Za=[],ar=[];function rr(a,r){ar[a]={input:[],output:[],Ra:r},Or(a,tr)}var tr={open(a){var r=ar[a.node.fb];if(!r)throw new dr(43);a.Ca=r,a.seekable=!1},close(a){a.Ca.Ra.Za(a.Ca)},Za(a){a.Ca.Ra.Za(a.Ca)},read(a,r,t,e){if(!a.Ca||!a.Ca.Ra.sb)throw new dr(60);for(var n=0,o=0;o<e;o++){try{var i=a.Ca.Ra.sb(a.Ca)}catch(a){throw new dr(29)}if(void 0===i&&0===n)throw new dr(6);if(null==i)break;n++,r[t+o]=i}return n&&(a.node.Na=Date.now()),n},write(a,r,t,e){if(!a.Ca||!a.Ca.Ra.mb)throw new dr(60);try{for(var n=0;n<e;n++)a.Ca.Ra.mb(a.Ca,r[t+n])}catch(a){throw new dr(29)}return e&&(a.node.Da=a.node.za=Date.now()),n}},er={sb(){a:{if(!Za.length){var a=null;if(globalThis.window?.prompt&&null!==(a=window.prompt("Input: "))&&(a+="\n"),!a){var r=null;break a}r=Array(Ra(a)+1),a=Da(a,r,0,r.length),r.length=a,Za=r}r=Za.shift()}return r},mb(a,r){null===r||10===r?($(Ba(a.output)),a.output=[]):0!=r&&a.output.push(r)},Za(a){0<a.output?.length&&($(Ba(a.output)),a.output=[])},lc:()=>({cc:25856,ec:5,bc:191,dc:35387,ac:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),mc:()=>0,nc:()=>[24,80]},nr={mb(a,r){null===r||10===r?(A(Ba(a.output)),a.output=[]):0!=r&&a.output.push(r)},Za(a){0<a.output?.length&&(A(Ba(a.output)),a.output=[])}},or={Ga:null,Ja:()=>or.createNode(null,"/",16895,0),createNode(a,r,t,e){if(24576==(61440&t)||4096==(61440&t))throw new dr(63);return or.Ga||(or.Ga={dir:{node:{Ka:or.pa.Ka,Ia:or.pa.Ia,Ua:or.pa.Ua,cb:or.pa.cb,zb:or.pa.zb,Cb:or.pa.Cb,Bb:or.pa.Bb,ob:or.pa.ob,gb:or.pa.gb},stream:{Fa:or.qa.Fa}},file:{node:{Ka:or.pa.Ka,Ia:or.pa.Ia},stream:{Fa:or.qa.Fa,read:or.qa.read,write:or.qa.write,vb:or.qa.vb,xb:or.qa.xb}},link:{node:{Ka:or.pa.Ka,Ia:or.pa.Ia,Wa:or.pa.Wa},stream:{}},pb:{node:{Ka:or.pa.Ka,Ia:or.pa.Ia},stream:xr}}),16384==(61440&(t=gr(a,r,t,e)).mode)?(t.pa=or.Ga.dir.node,t.qa=or.Ga.dir.stream,t.oa={}):32768==(61440&t.mode)?(t.pa=or.Ga.file.node,t.qa=or.Ga.file.stream,t.va=0,t.oa=null):40960==(61440&t.mode)?(t.pa=or.Ga.link.node,t.qa=or.Ga.link.stream):8192==(61440&t.mode)&&(t.pa=or.Ga.pb.node,t.qa=or.Ga.pb.stream),t.Na=t.Da=t.za=Date.now(),a&&(a.oa[r]=t,a.Na=a.Da=a.za=t.Na),t},ic:a=>a.oa?a.oa.subarray?a.oa.subarray(0,a.va):new Uint8Array(a.oa):new Uint8Array(0),pa:{Ka(a){var r={};return r.fc=8192==(61440&a.mode)?a.id:1,r.kc=a.id,r.mode=a.mode,r.oc=1,r.uid=0,r.jc=0,r.fb=a.fb,16384==(61440&a.mode)?r.size=4096:32768==(61440&a.mode)?r.size=a.va:40960==(61440&a.mode)?r.size=a.link.length:r.size=0,r.Na=new Date(a.Na),r.Da=new Date(a.Da),r.za=new Date(a.za),r.Db=4096,r.$b=Math.ceil(r.size/r.Db),r},Ia(a,r){for(var t of["mode","atime","mtime","ctime"])null!=r[t]&&(a[t]=r[t]);void 0!==r.size&&(r=r.size,a.va!=r&&(0==r?(a.oa=null,a.va=0):(t=a.oa,a.oa=new Uint8Array(r),t&&a.oa.set(t.subarray(0,Math.min(r,a.va))),a.va=r)))},Ua(){throw or.hb||(or.hb=new dr(44),or.hb.stack="<generic error, no stack>"),or.hb},cb:(a,r,t,e)=>or.createNode(a,r,t,e),zb(a,r,t){try{var e=yr(r,t)}catch(a){}if(e){if(16384==(61440&a.mode))for(var n in e.oa)throw new dr(55);if(n=br(e.parent.id,e.name),lr[n]===e)lr[n]=e.Qa;else for(n=lr[n];n;){if(n.Qa===e){n.Qa=e.Qa;break}n=n.Qa}}delete a.parent.oa[a.name],r.oa[t]=a,a.name=t,r.za=r.Da=a.parent.za=a.parent.Da=Date.now()},Cb(a,r){delete a.oa[r],a.za=a.Da=Date.now()},Bb(a,r){var t,e=yr(a,r);for(t in e.oa)throw new dr(55);delete a.oa[r],a.za=a.Da=Date.now()},ob:a=>[".","..",...Object.keys(a.oa)],gb:(a,r,t)=>((a=or.createNode(a,r,41471,0)).link=t,a),Wa(a){if(40960!=(61440&a.mode))throw new dr(28);return a.link}},qa:{read(a,r,t,e,n){var o=a.node.oa;if(n>=a.node.va)return 0;if(8<(a=Math.min(a.node.va-n,e))&&o.subarray)r.set(o.subarray(n,n+a),t);else for(e=0;e<a;e++)r[t+e]=o[n+e];return a},write(a,r,t,e,n,o){if(r.buffer===l.buffer&&(o=!1),!e)return 0;if((a=a.node).Da=a.za=Date.now(),r.subarray&&(!a.oa||a.oa.subarray)){if(o)return a.oa=r.subarray(t,t+e),a.va=e;if(0===a.va&&0===n)return a.oa=r.slice(t,t+e),a.va=e;if(n+e<=a.va)return a.oa.set(r.subarray(t,t+e),n),e}o=n+e;var i=a.oa?a.oa.length:0;if(i>=o||(o=Math.max(o,i*(1048576>i?2:1.125)>>>0),0!=i&&(o=Math.max(o,256)),i=a.oa,a.oa=new Uint8Array(o),0<a.va&&a.oa.set(i.subarray(0,a.va),0)),a.oa.subarray&&r.subarray)a.oa.set(r.subarray(t,t+e),n);else for(o=0;o<e;o++)a.oa[n+o]=r[t+o];return a.va=Math.max(a.va,n+e),e},Fa(a,r,t){if(1===t?r+=a.position:2===t&&32768==(61440&a.node.mode)&&(r+=a.node.va),0>r)throw new dr(28);return r},vb(a,r,t,e,n){if(32768!=(61440&a.node.mode))throw new dr(43);if(a=a.node.oa,2&n||!a||a.buffer!==l.buffer){n=!0,e=65536*Math.ceil(r/65536);var o=Yr(65536,e);if(o&&h.fill(0,o,o+e),!(e=o))throw new dr(48);a&&((0<t||t+r<a.length)&&(a=a.subarray?a.subarray(t,t+r):Array.prototype.slice.call(a,t,t+r)),l.set(a,e))}else n=!1,e=a.byteOffset;return{ra:e,Zb:n}},xb:(a,r,t,e)=>(or.qa.write(a,r,0,e,t,!1),0)}},ir=null,sr={},ur=[],fr=1,lr=null,hr=!1,cr=!0,wr={},dr=class{name="ErrnoError";constructor(a){this.Ta=a}},pr=class{bb={};node=null;get flags(){return this.bb.flags}set flags(a){this.bb.flags=a}get position(){return this.bb.position}set position(a){this.bb.position=a}},vr=class{pa={};qa={};eb=null;constructor(a,r,t,e){a||=this,this.parent=a,this.Ja=a.Ja,this.id=fr++,this.name=r,this.mode=t,this.fb=e,this.Na=this.Da=this.za=Date.now()}get read(){return!(365&~this.mode)}set read(a){a?this.mode|=365:this.mode&=-366}get write(){return!(146&~this.mode)}set write(a){a?this.mode|=146:this.mode&=-147}};function mr(a,r={}){if(!a)throw new dr(44);r.jb??(r.jb=!0),"/"===a.charAt(0)||(a="//"+a);var t=0;a:for(;40>t;t++){a=a.split("/").filter(a=>!!a);for(var e=ir,n="/",o=0;o<a.length;o++){var i=o===a.length-1;if(i&&r.parent)break;if("."!==a[o])if(".."===a[o]){if(n=Ya(n),e===e.parent){a=n+"/"+a.slice(o+1).join("/"),t--;continue a}e=e.parent}else{n=Qa(n+"/"+a[o]);try{e=yr(e,a[o])}catch(a){if(44===a?.Ta&&i&&r.Qb)return{path:n};throw a}if(!e.eb||i&&!r.jb||(e=e.eb.root),40960==(61440&e.mode)&&(!i||r.ib)){if(!e.pa.Wa)throw new dr(52);"/"===(e=e.pa.Wa(e)).charAt(0)||(e=Ya(n)+"/"+e),a=e+"/"+a.slice(o+1).join("/");continue a}}}return{path:n,node:e}}throw new dr(32)}function br(a,r){for(var t=0,e=0;e<r.length;e++)t=(t<<5)-t+r.charCodeAt(e)|0;return(a+t>>>0)%lr.length}function yr(a,r){var t=16384==(61440&a.mode)?(t=Ar(a,"x"))?t:a.pa.Ua?0:2:54;if(t)throw new dr(t);for(t=lr[br(a.id,r)];t;t=t.Qa){var e=t.name;if(t.parent.id===a.id&&e===r)return t}return a.pa.Ua(a,r)}function gr(a,r,t,e){return r=br((a=new vr(a,r,t,e)).parent.id,a.name),a.Qa=lr[r],lr[r]=a}function $r(a){var r=["r","w","rw"][3&a];return 512&a&&(r+="w"),r}function Ar(a,r){return cr?0:!r.includes("r")||292&a.mode?r.includes("w")&&!(146&a.mode)||r.includes("x")&&!(73&a.mode)?2:0:2}function Cr(a,r){if(16384!=(61440&a.mode))return 54;try{return yr(a,r),20}catch(a){}return Ar(a,"wx")}function kr(a){if(!(a=ur[a]))throw new dr(8);return a}function Er(a,r){var t=void 0,e=t?null:a;if(t??=a.pa.Ia,!t)throw new dr(63);t(e,r)}var xr={open(a){a.qa=sr[a.node.fb].qa,a.qa.open?.(a)},Fa(){throw new dr(70)}};function Or(a,r){sr[a]={qa:r}}function Tr(a,r){var t="/"===r;if(t&&ir)throw new dr(10);if(!t&&r){var e=mr(r,{jb:!1});if(r=e.path,(e=e.node).eb)throw new dr(10);if(16384!=(61440&e.mode))throw new dr(54)}r={type:a,pc:{},wb:r,Pb:[]},(a=a.Ja(r)).Ja=r,r.root=a,t?ir=a:e&&(e.eb=r,e.Ja&&e.Ja.Pb.push(r))}function Sr(a,r,t){var e=mr(a,{parent:!0}).node;if(!(a=a&&a.match(/([^\/]+|\/)\/*$/)[1]))throw new dr(28);if("."===a||".."===a)throw new dr(20);var n=Cr(e,a);if(n)throw new dr(n);if(!e.pa.cb)throw new dr(63);return e.pa.cb(e,a,r,t)}function Pr(a){return Sr(a,16895,0)}function jr(a,r,t){void 0===t&&(t=r,r=438),Sr(a,8192|r,t)}function Dr(a,r){if(!((...a)=>{for(var r="",t=!1,e=a.length-1;-1<=e&&!t;e--){if("string"!=typeof(t=0<=e?a[e]:"/"))throw new TypeError("Arguments to path.resolve must be strings");if(!t)return"";r=t+"/"+r,t="/"===t.charAt(0)}return(t?"/":"")+(r=Va(r.split("/").filter(a=>!!a),!t).join("/"))||"."})(a))throw new dr(44);var t=mr(r,{parent:!0}).node;if(!t)throw new dr(44);var e=Cr(t,r=r&&r.match(/([^\/]+|\/)\/*$/)[1]);if(e)throw new dr(e);if(!t.pa.gb)throw new dr(63);t.pa.gb(t,r,a)}function Rr(a,r){if(""===a)throw new dr(44);if("string"==typeof r){var t={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[r];if(void 0===t)throw Error(`Unknown file open mode: ${r}`);r=t}if(t=64&r?33206:0,"object"==typeof a)var n=a;else{var o=a.endsWith("/");n=(a=mr(a,{ib:!(131072&r),Qb:!0})).node,a=a.path}var i=!1;if(64&r)if(n){if(128&r)throw new dr(20)}else{if(o)throw new dr(31);n=Sr(a,511|t,0),i=!0}if(!n)throw new dr(44);if(8192==(61440&n.mode)&&(r&=-513),65536&r&&16384!=(61440&n.mode))throw new dr(54);if(!i&&(o=n?40960==(61440&n.mode)?32:16384==(61440&n.mode)&&("r"!==$r(r)||576&r)?31:Ar(n,$r(r)):44))throw new dr(o);if(512&r&&!i){if(16384==(61440&(o="string"==typeof(o=n)?mr(o,{ib:!0}).node:o).mode))throw new dr(31);if(32768!=(61440&o.mode))throw new dr(28);var s=Ar(o,"w");if(s)throw new dr(s);Er(o,{size:0,timestamp:Date.now()})}r&=-131713;a:for(o=n;;){if(o===o.parent){o=o.Ja.wb;var u=u?"/"!==o[o.length-1]?`${o}/${u}`:o+u:o;break a}u=u?`${o.name}/${u}`:o.name,o=o.parent}if(u={node:n,path:u,flags:r,seekable:!0,position:0,qa:n.qa,Yb:[],error:!1},o=-1,u=Object.assign(new pr,u),-1==o)a:{for(o=0;4096>=o;o++)if(!ur[o])break a;throw new dr(33)}u.Pa=o,ur[o]=u,u.qa.open&&u.qa.open(u),i&&(t&=511,Er(n="string"==typeof n?mr(n,{ib:!0}).node:n,{mode:4095&t|-4096&n.mode,za:Date.now(),hc:void 0})),!e.logReadFiles||1&r||a in wr||(wr[a]=1)}function qr(a,r,t){if(null===a.Pa)throw new dr(8);if(!a.seekable||!a.qa.Fa)throw new dr(70);if(0!=t&&1!=t&&2!=t)throw new dr(28);a.position=a.qa.Fa(a,r,t),a.Yb=[]}function Ir(a,r,t){a=Qa("/dev/"+a);var e=((a,r)=>{var t=0;return a&&(t|=365),r&&(t|=146),t})(!!r,!!t);Ir.ub??(Ir.ub=64);var n=Ir.ub++<<8;Or(n,{open(a){a.seekable=!1},close(){t?.buffer?.length&&t(10)},read(a,t,e,n){for(var o=0,i=0;i<n;i++){try{var s=r()}catch(a){throw new dr(29)}if(void 0===s&&0===o)throw new dr(6);if(null==s)break;o++,t[e+i]=s}return o&&(a.node.Na=Date.now()),o},write(a,r,e,n){for(var o=0;o<n;o++)try{t(r[e+o])}catch(a){throw new dr(29)}return n&&(a.node.Da=a.node.za=Date.now()),o}}),jr(a,e,n)}var Br,Mr={},zr={},Ur=a=>{if(!(a instanceof T||"unwind"==a))throw a},Nr=a=>{throw s=a,R||0<_a||(e.onExit?.(a),C=!0),new T(a)},Fr=[],Lr={},Wr=a=>{var r;return(r=/\bwasm-function\[\d+\]:(0x[0-9a-f]+)/.exec(a))?+r[1]:(r=/:(\d+):\d+(?:\)|$)/.exec(a))?2147483648|+r[1]:0},_r=a=>{for(var r of a)(a=Wr(r))&&(Lr[a]=r)},Hr=a=>{if(!(a=Lr[a]))return 0;var r;if(r=/^\s+at .*\.wasm\.(.*) \(.*\)$/.exec(a))r=r[1];else if(r=/^\s+at (.*) \(.*\)$/.exec(a))r=r[1];else{if(!(r=/^(.+?)@/.exec(a)))return 0;r=r[1]}Qr(Hr.Ab??0),a=Hr;var t=Ra(r)+1,e=Vr(t);return e&&Da(r,h,e,t),a.Ab=e,Hr.Ab},Gr={},Jr=()=>{if(!Br){var a,r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.language||"C").replace("-","_")+".UTF-8",_:n||"./this.program"};for(a in Gr)void 0===Gr[a]?delete r[a]:r[a]=Gr[a];var t=[];for(a in r)t.push(`${a}=${r[a]}`);Br=t}return Br};if((()=>{let a=Y.prototype;Object.assign(a,{isAliasOf:function(a){if(!(this instanceof Y&&a instanceof Y))return!1;var r=this.ma.ta.na,t=this.ma.ra;a.ma=a.ma;var e=a.ma.ta.na;for(a=a.ma.ra;r.ya;)t=r.Xa(t),r=r.ya;for(;e.ya;)a=e.Xa(a),e=e.ya;return r===e&&t===a},clone:function(){if(this.ma.ra||J(this),this.ma.Va)return this.ma.count.value+=1,this;var a=Q,r=Object,t=r.create,e=Object.getPrototypeOf(this),n=this.ma;return(a=a(t.call(r,e,{ma:{value:{count:n.count,Sa:n.Sa,Va:n.Va,ra:n.ra,ta:n.ta,xa:n.xa,Ba:n.Ba}}}))).ma.count.value+=1,a.ma.Sa=!1,a},delete(){if(this.ma.ra||J(this),this.ma.Sa&&!this.ma.Va)throw new _("Object already scheduled for deletion");V(this);var a=this.ma;--a.count.value,0===a.count.value&&(a.xa?a.Ba.Ha(a.xa):a.ta.na.Ha(a.ra)),this.ma.Va||(this.ma.xa=void 0,this.ma.ra=void 0)},isDeleted:function(){return!this.ma.ra},deleteLater:function(){if(this.ma.ra||J(this),this.ma.Sa&&!this.ma.Va)throw new _("Object already scheduled for deletion");return this.ma.Sa=!0,this}});const r=Symbol.dispose;r&&(a[r]=a.delete)})(),Object.assign(ha.prototype,{Ib(a){return this.yb&&(a=this.yb(a)),a},qb(a){this.Ha?.(a)},Ea:M,sa:function(a){function r(){return this.ab?la(this.na.La,{ta:this.Rb,ra:t,Ba:this,xa:a}):la(this.na.La,{ta:this,ra:a})}var t=this.Ib(a);if(!t)return this.qb(a),null;var e=((a,r)=>{if(void 0===r)throw new _("ptr should not be undefined");for(;a.ya;)r=a.Xa(r),a=a.ya;return fa[r]})(this.na,t);if(void 0!==e)return 0===e.ma.count.value?(e.ma.ra=t,e.ma.xa=a,e.clone()):(e=e.clone(),this.qb(a),e);if(e=this.na.Hb(t),!(e=Z[e]))return r.call(this);e=this.$a?e.Eb:e.pointerType;var n=ua(t,this.na,e.na);return null===n?r.call(this):this.ab?la(e.na.La,{ta:e,ra:n,Ba:this,xa:a}):la(e.na.La,{ta:e,ra:n})}}),lr=Array(4096),Tr(or,"/"),Pr("/tmp"),Pr("/home"),Pr("/home/web_user"),function(){Pr("/dev"),Or(259,{read:()=>0,write:(a,r,t,e)=>e,Fa:()=>0}),jr("/dev/null",259),rr(1280,er),rr(1536,nr),jr("/dev/tty",1280),jr("/dev/tty1",1536);var a=new Uint8Array(1024),r=0,t=()=>(0===r&&(Xa(a),r=a.byteLength),a[--r]);Ir("random",t),Ir("urandom",t),Pr("/dev/shm"),Pr("/dev/shm/tmp")}(),function(){Pr("/proc");var a=Pr("/proc/self");Pr("/proc/self/fd"),Tr({Ja(){var r=gr(a,"fd",16895,73);return r.qa={Fa:or.qa.Fa},r.pa={Ua(a,r){var t=kr(a=+r);return(a={parent:null,Ja:{wb:"fake"},pa:{Wa:()=>t.path},id:a+1}).parent=a},ob:()=>Array.from(ur.entries()).filter(([,a])=>a).map(([a])=>a.toString())},r}},"/proc/self/fd")}(),e.noExitRuntime&&(R=e.noExitRuntime),e.print&&($=e.print),e.printErr&&(A=e.printErr),e.wasmBinary&&(i=e.wasmBinary),e.thisProgram&&(n=e.thisProgram),e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);0<e.preInit.length;)e.preInit.shift()();var Kr,Vr,Qr,Yr,Xr,Zr,at,rt,tt={208668:()=>"undefined"!=typeof wasmOffsetConverter},et={U:function(){return"undefined"!=typeof wasmOffsetConverter},n:(a,r,t)=>{var e=new q(a);throw p[e.ra+16>>2]=0,p[e.ra+4>>2]=r,p[e.ra+8>>2]=t,a},Q:()=>x(""),r:a=>{var r=I[a];delete I[a];var t=r.nb,e=r.Ha,n=r.rb,o=n.map(a=>a.Lb).concat(n.map(a=>a.Vb));L([a],o,a=>{var o={};return n.forEach((r,t)=>{var e=a[t],i=r.Jb,s=r.Kb,u=a[t+n.length],f=r.Ub,l=r.Wb;o[r.Gb]={read:a=>e.sa(i(s,a)),write:(a,r)=>{var t=[];f(l,a,u.wa(t,r)),B(t)},optional:a[t].optional}}),[{name:r.name,sa:a=>{var r,t={};for(r in o)t[r]=o[r].read(a);return e(a),t},wa:(a,r)=>{for(var n in o)if(!(n in r)&&!o[n].optional)throw new TypeError(`Missing field: "${n}"`);var i=t();for(n in o)o[n].write(i,r[n]);return null!==a&&a.push(e,i),i},Ea:M,Aa:e}]})},E:(a,r,t,e,n)=>{r=W(r);let o=a=>a;if(e=0n===e){const a=8*t;o=r=>BigInt.asUintN(a,r),n=o(n)}H(a,{name:r,sa:o,wa:(a,r)=>("number"==typeof r&&(r=BigInt(r)),r),Ea:G(r,t,!e),Aa:null})},ba:(a,r,t,e)=>{H(a,{name:r=W(r),sa:function(a){return!!a},wa:function(a,r){return r?t:e},Ea:function(a){return this.sa(h[a])},Aa:null})},e:(a,r,t,e,n,o,i,s,u,f,l,h,c)=>{l=W(l),o=da(n,o),s&&=da(i,s),f&&=da(u,f),c=da(h,c);var w=(a=>{var r=(a=a.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=r&&57>=r?`_${a}`:a})(l);ra(w,function(){ma(`Cannot construct ${l} due to unbound types`,[e])}),L([a,r,t],e?[e]:[],r=>{if(r=r[0],e)var t=r.na,n=t.La;else n=Y.prototype;r=X(l,function(...a){if(Object.getPrototypeOf(this)!==i)throw new _(`Use 'new' to construct ${l}`);if(void 0===h.Oa)throw new _(`${l} has no accessible constructor`);var r=h.Oa[a.length];if(void 0===r)throw new _(`Tried to invoke ctor of ${l} with invalid number of parameters (${a.length}) - expected (${Object.keys(h.Oa).toString()}) parameters instead!`);return r.apply(this,a)});var i=Object.create(n,{constructor:{value:r}});r.prototype=i;var u,h=new ta(l,r,i,c,t,o,s,f);return h.ya&&((u=h.ya).Ya??(u.Ya=[]),h.ya.Ya.push(h)),t=new ha(l,h,!0,!1,!1),u=new ha(l+"*",h,!1,!1,!1),n=new ha(l+" const*",h,!1,!0,!1),Z[a]={pointerType:u,Eb:n},ca(w,r),[t,u,n]})},v:(a,r,t,e,n,o,i)=>{var s=ya(t,e);r=W(r),r=ga(r),o=da(n,o),L([],[a],a=>{function e(){ma(`Cannot call ${n} due to unbound types`,s)}var n=`${(a=a[0]).name}.${r}`;r.startsWith("@@")&&(r=Symbol[r.substring(2)]);var u=a.na.constructor;return void 0===u[r]?(e.Ma=t-1,u[r]=e):(aa(u,r,n),u[r].ua[t-1]=e),L([],s,e=>{if(e=ba(n,[e[0],null].concat(e.slice(1)),null,o,i),void 0===u[r].ua?(e.Ma=t-1,u[r]=e):u[r].ua[t-1]=e,a.na.Ya)for(const t of a.na.Ya)t.constructor.hasOwnProperty(r)||(t.constructor[r]=e);return[]}),[]})},j:(a,r,t,e,n,o)=>{var i=ya(r,t);n=da(e,n),L([],[a],a=>{var t=`constructor ${(a=a[0]).name}`;if(void 0===a.na.Oa&&(a.na.Oa=[]),void 0!==a.na.Oa[r-1])throw new _(`Cannot register multiple constructors with identical number of parameters (${r-1}) for class '${a.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return a.na.Oa[r-1]=()=>{ma(`Cannot construct ${a.name} due to unbound types`,i)},L([],i,e=>(e.splice(1,0,null),a.na.Oa[r-1]=ba(t,e,null,n,o),[])),[]})},a:(a,r,t,e,n,o,i,s)=>{var u=ya(t,e);r=W(r),r=ga(r),o=da(n,o),L([],[a],a=>{function e(){ma(`Cannot call ${n} due to unbound types`,u)}var n=`${(a=a[0]).name}.${r}`;r.startsWith("@@")&&(r=Symbol[r.substring(2)]),s&&a.na.Sb.push(r);var f=a.na.La,l=f[r];return void 0===l||void 0===l.ua&&l.className!==a.name&&l.Ma===t-2?(e.Ma=t-2,e.className=a.name,f[r]=e):(aa(f,r,n),f[r].ua[t-2]=e),L([],u,e=>(e=ba(n,e,a,o,i),void 0===f[r].ua?(e.Ma=t-2,f[r]=e):f[r].ua[t-2]=e,[])),[]})},c:(a,r,t,e,n,o,i,s,u,f)=>{r=W(r),n=da(e,n),L([],[a],a=>{var e=`${(a=a[0]).name}.${r}`,l={get(){ma(`Cannot access ${e} due to unbound types`,[t,i])},enumerable:!0,configurable:!0};return l.set=u?()=>ma(`Cannot access ${e} due to unbound types`,[t,i]):()=>{throw new _(e+" is a read-only property")},Object.defineProperty(a.na.La,r,l),L([],u?[t,i]:[t],t=>{var i=t[0],l={get(){var r=$a(this,a,e+" getter");return i.sa(n(o,r))},enumerable:!0};if(u){u=da(s,u);var h=t[1];l.set=function(r){var t=$a(this,a,e+" setter"),n=[];u(f,t,h.wa(n,r)),B(n)}}return Object.defineProperty(a.na.La,r,l),[]}),[]})},_:a=>H(a,Oa),m:(a,r,t,e)=>{function n(){}r=W(r),n.values={},H(a,{name:r,constructor:n,sa:function(a){return this.constructor.values[a]},wa:(a,r)=>r.value,Ea:Ta(r,t,e),Aa:null}),ra(r,n)},d:(a,r,t)=>{var e=Sa(a,"enum");r=W(r),a=e.constructor,e=Object.create(e.constructor.prototype,{value:{value:t},constructor:{value:X(`${e.name}_${r}`,function(){})}}),a.values[t]=e,a[r]=e},D:(a,r,t)=>{H(a,{name:r=W(r),sa:a=>a,wa:(a,r)=>r,Ea:Pa(r,t),Aa:null})},da:(a,r,t,e,n,o)=>{var i=ya(r,t);a=W(a),a=ga(a),n=da(e,n),ra(a,function(){ma(`Cannot call ${a} due to unbound types`,i)},r-1),L([],i,t=>(ca(a,ba(a,[t[0],null].concat(t.slice(1)),null,n,o),r-1),[]))},w:(a,r,t,e,n)=>{r=W(r);let o=a=>a;if(0===e){var i=32-8*t;o=a=>a<<i>>>i,n=o(n)}H(a,{name:r,sa:o,wa:(a,r)=>r,Ea:G(r,t,0!==e),Aa:null})},o:(a,r,t)=>{function e(a){return new n(l.buffer,p[a+4>>2],p[a>>2])}var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][r];H(a,{name:t=W(t),sa:e,Ea:e},{Mb:!0})},t:a=>{H(a,ja)},k:(a,r,t,e,n,o,i,s,u,f,l,h)=>{t=W(t),o=da(n,o),s=da(i,s),f=da(u,f),h=da(l,h),L([a],[r],a=>(a=a[0],[new ha(t,a.na,!1,!1,!0,a,e,o,s,f,h)]))},aa:(a,r)=>{H(a,{name:r=W(r),sa(a){var r=(r=a+4)?Ba(h,r,p[a>>2],!0):"";return Qr(a),r},wa(a,r){r instanceof ArrayBuffer&&(r=new Uint8Array(r));var t="string"==typeof r;if(!(t||ArrayBuffer.isView(r)&&1==r.BYTES_PER_ELEMENT))throw new _("Cannot pass non-string to std::string");var e=t?Ra(r):r.length,n=Vr(4+e+1),o=n+4;return p[n>>2]=e,t?Da(r,h,o,e+1):h.set(r,o),null!==a&&a.push(Qr,n),n},Ea:M,Aa(a){Qr(a)}})},A:(a,r,t)=>{if(t=W(t),2===r)var e=za,n=Ua,o=Na;else e=Fa,n=La,o=Wa;H(a,{name:t,sa:a=>{var t=e(a+4,p[a>>2]*r,!0);return Qr(a),t},wa:(a,e)=>{if("string"!=typeof e)throw new _(`Cannot pass non-string to C++ string type ${t}`);var i=o(e),s=Vr(4+i+r);return p[s>>2]=i/r,n(e,s+4,i+r),null!==a&&a.push(Qr,s),s},Ea:M,Aa(a){Qr(a)}})},s:(a,r,t,e,n,o)=>{I[a]={name:W(r),nb:da(t,e),Ha:da(n,o),rb:[]}},l:(a,r,t,e,n,o,i,s,u,f)=>{I[a].rb.push({Gb:W(r),Lb:t,Jb:da(e,n),Kb:o,Vb:i,Ub:da(s,u),Wb:f})},ca:(a,r)=>{H(a,{Nb:!0,name:r=W(r),sa:()=>{},wa:()=>{}})},I:()=>{R=!1,_a=0},h:(a,r,t)=>{var[e,...n]=((a,r)=>{for(var t=Array(a),e=0;e<a;++e)t[e]=Sa(p[r+4*e>>2],`parameter ${e}`);return t})(a,r),o=e.wa.bind(e),i=n.map(a=>a.Ea.bind(a));a--;var s=Array(a);return r=`methodCaller<(${n.map(a=>a.name)}) => ${e.name}>`,(a=>{var r=Ha.length;return Ha.push(a),r})(X(r,(r,e,n,u)=>{for(var f=0,l=0;l<a;++l)s[l]=i[l](u+f),f+=8;switch(t){case 0:var h=Ea(r).apply(null,s);break;case 2:h=Reflect.construct(Ea(r),s);break;case 3:h=s[0];break;case 1:h=Ea(r)[Ja(e)](...s)}return h=o(r=[],h),r.length&&(p[n>>2]=xa(r)),h}))},b:ka,W:a=>a?(a=Ja(a),xa(globalThis[a])):xa(globalThis),q:(a,r)=>(a=Ea(a),r=Ea(r),xa(a[r])),f:a=>{9<a&&(Ca[a+1]+=1)},$:(a,r)=>(a=Ea(a))instanceof Ea(r),i:Ka,Z:Ka,u:a=>"number"==typeof(a=Ea(a)),x:a=>"string"==typeof(a=Ea(a)),F:()=>xa([]),p:a=>xa(Ja(a)),g:a=>{var r=Ea(a);B(r),ka(a)},z:a=>(a=Ea(a),xa(typeof a)),G:(a,r)=>{if(zr[a]&&(clearTimeout(zr[a].id),delete zr[a]),!r)return 0;var t=setTimeout(()=>{delete zr[a],(a=>{if(!C)try{if(a(),!(R||0<_a))try{s=a=s,Nr(a)}catch(a){Ur(a)}}catch(a){Ur(a)}})(()=>Xr(a,performance.now()))},r);return zr[a]={id:t,qc:r},0},S:(a,r,t,e)=>{var n=(new Date).getFullYear(),o=new Date(n,0,1).getTimezoneOffset();n=new Date(n,6,1).getTimezoneOffset(),p[a>>2]=60*Math.max(o,n),d[r>>2]=Number(o!=n),a=(r=a=>{var r=Math.abs(a);return`UTC${0<=a?"-":"+"}${String(Math.floor(r/60)).padStart(2,"0")}${String(r%60).padStart(2,"0")}`})(o),r=r(n),n<o?(Da(a,h,t,17),Da(r,h,e,17)):(Da(a,h,e,17),Da(r,h,t,17))},P:function(a,r,t){return 0<=a&&3>=a?(b[t>>3]=BigInt(Math.round(1e6*(0===a?Date.now():performance.now()))),0):28},Y:(a,r,t)=>{Fr.length=0;for(var e;e=h[r++];){var n=105!=e;t+=(n&=112!=e)&&t%8?4:0,Fr.push(112==e?p[t>>2]:106==e?b[t>>3]:105==e?d[t>>2]:m[t>>3]),t+=n?8:4}return tt[a](...Fr)},C:(a,r)=>A(a?Ba(h,a,r):""),y:()=>performance.now(),T:Hr,H:a=>{var r=h.length;if(2147483648<(a>>>=0))return!1;for(var t=1;4>=t;t*=2){var e=r*(1+.2/t);e=Math.min(e,a+100663296);a:{e=(Math.min(2147483648,65536*Math.ceil(Math.max(a,e)/65536))-Zr.buffer.byteLength+65535)/65536|0;try{Zr.grow(e),E();var n=1;break a}catch(a){}n=void 0}if(n)return!0}return!1},X:()=>{var a=Error().stack.toString().split("\n");return"Error"==a[0]&&a.shift(),_r(a),Lr.tb=Wr(a[3]),Lr.Ob=a,Lr.tb},V:(a,r,t)=>{if(Lr.tb==a)var e=Lr.Ob;else"Error"==(e=Error().stack.toString().split("\n"))[0]&&e.shift(),_r(e);for(var n=3;e[n]&&Wr(e[n])!=a;)++n;for(a=0;a<t&&e[a+n];++a)d[r+4*a>>2]=Wr(e[a+n]);return a},K:(a,r)=>{var t,e=0,n=0;for(t of Jr()){var o=r+e;p[a+n>>2]=o,e+=Da(t,h,o,1/0)+1,n+=4}return 0},L:(a,r)=>{var t=Jr();for(var e of(p[a>>2]=t.length,a=0,t))a+=Ra(e)+1;return p[r>>2]=a,0},B:a=>{s=a,Nr(a)},O:function(a){try{var r=kr(a);if(null===r.Pa)throw new dr(8);r.kb&&(r.kb=null);try{r.qa.close&&r.qa.close(r)}catch(a){throw a}finally{ur[r.Pa]=null}return r.Pa=null,0}catch(a){if(void 0===Mr||"ErrnoError"!==a.name)throw a;return a.Ta}},N:function(a,r,t,e){try{a:{var n=kr(a);a=r;for(var o,i=r=0;i<t;i++){var s=p[a>>2],u=p[a+4>>2];a+=8;var f=n,h=s,c=u,w=o,d=l;if(0>c||0>w)throw new dr(28);if(null===f.Pa)throw new dr(8);if(1==(2097155&f.flags))throw new dr(8);if(16384==(61440&f.node.mode))throw new dr(31);if(!f.qa.read)throw new dr(28);var v=void 0!==w;if(v){if(!f.seekable)throw new dr(70)}else w=f.position;var m=f.qa.read(f,d,h,c,w);v||(f.position+=m);var b=m;if(0>b){var y=-1;break a}if(r+=b,b<u)break;void 0!==o&&(o+=b)}y=r}return p[e>>2]=y,0}catch(a){if(void 0===Mr||"ErrnoError"!==a.name)throw a;return a.Ta}},J:function(a,r,t,e){r=-9007199254740992>r||9007199254740992<r?NaN:Number(r);try{if(isNaN(r))return 61;var n=kr(a);return qr(n,r,t),b[e>>3]=BigInt(n.position),n.kb&&0===r&&0===t&&(n.kb=null),0}catch(a){if(void 0===Mr||"ErrnoError"!==a.name)throw a;return a.Ta}},M:function(a,r,t,e){try{a:{var n=kr(a);a=r;for(var o,i=r=0;i<t;i++){var s=p[a>>2],u=p[a+4>>2];a+=8;var f=n,h=s,c=u,w=o,d=l;if(0>c||0>w)throw new dr(28);if(null===f.Pa)throw new dr(8);if(!(2097155&f.flags))throw new dr(8);if(16384==(61440&f.node.mode))throw new dr(31);if(!f.qa.write)throw new dr(28);f.seekable&&1024&f.flags&&qr(f,0,2);var v=void 0!==w;if(v){if(!f.seekable)throw new dr(70)}else w=f.position;var m=f.qa.write(f,d,h,c,w,void 0);v||(f.position+=m);var b=m;if(0>b){var y=-1;break a}if(r+=b,b<u)break;void 0!==o&&(o+=b)}y=r}return p[e>>2]=y,0}catch(a){if(void 0===Mr||"ErrnoError"!==a.name)throw a;return a.Ta}},R:Nr};return rt=await async function(){function a(a){return a=rt=a.exports,Kr=a.ga,Vr=a.ha,Qr=a.ia,Yr=a.ka,Xr=a.la,Zr=a.ea,at=a.ja,E(),rt}var r={a:et};return e.instantiateWasm?new Promise(t=>{e.instantiateWasm(r,(r,e)=>{t(a(r))})}):(g??=e.locateFile?e.locateFile("arcgis-knowledge-client-core-simd.wasm",o):o+"arcgis-knowledge-client-core-simd.wasm",a((await async function(a){var r=g;if(!i)try{var t=fetch(r,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(t,a)}catch(a){A(`wasm streaming compile failed: ${a}`),A("falling back to ArrayBuffer instantiation")}return async function(a,r){try{var t=await O(a);return await WebAssembly.instantiate(t,r)}catch(a){A(`failed to asynchronously prepare wasm: ${a}`),x(a)}}(r,a)}(r)).instance))}(),function(){function a(){if(e.calledRun=!0,!C){var a,r;if(k=!0,e.noFSInit||hr||(hr=!0,a??=e.stdin,r??=e.stdout,t??=e.stderr,a?Ir("stdin",a):Dr("/dev/tty","/dev/stdin"),r?Ir("stdout",null,r):Dr("/dev/tty","/dev/stdout"),t?Ir("stderr",null,t):Dr("/dev/tty1","/dev/stderr"),Rr("/dev/stdin",0),Rr("/dev/stdout",1),Rr("/dev/stderr",1)),rt.fa(),cr=!1,u?.(e),e.onRuntimeInitialized?.(),e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;){var t=e.postRun.shift();P.push(t)}S(P)}}if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)D();S(j),e.setStatus?(e.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>e.setStatus(""),1),a()},1)):a()}(),k?e:new Promise((a,r)=>{u=a,f=r})},a.exports=t,a.exports.default=t),o.exports;var a,r,t}()),s=Object.freeze(Object.defineProperty({__proto__:null,default:i},Symbol.toStringTag,{value:"Module"}))}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1277,7561],{21277:(t,e,r)=>{r.r(e),r.d(e,{executeForTopIds:()=>n});var i=r(2272),o=r(24645),s=r(57561);async function n(t,e,r){const n=(0,i.Dl)(t);return(await(0,o.KW)(n,s.default.from(e),{...r})).data.objectIds}},24645:(t,e,r)=>{r.d(e,{$K:()=>h,KW:()=>c,Yb:()=>y,xs:()=>m});var i=r(11254),o=r(84952),s=r(65864),n=r(17136),l=r(21325),u=r(10536),p=r(58501);const a="Layer does not support extent calculation.";function d(t,e){const r=t.geometry,i=t.toJSON(),o=i;if(null!=r&&(o.geometry=JSON.stringify(r),o.geometryType=(0,s.$B)(r),o.inSR=(0,l.YX)(r.spatialReference)),i.topFilter?.groupByFields&&(o.topFilter.groupByFields=i.topFilter.groupByFields.join(",")),i.topFilter?.orderByFields&&(o.topFilter.orderByFields=i.topFilter.orderByFields.join(",")),i.topFilter&&(o.topFilter=JSON.stringify(o.topFilter)),i.objectIds&&(o.objectIds=i.objectIds.join(",")),i.orderByFields&&(o.orderByFields=i.orderByFields.join(",")),i.outFields&&!(e?.returnCountOnly||e?.returnExtentOnly||e?.returnIdsOnly)?i.outFields.includes("*")?o.outFields="*":o.outFields=i.outFields.join(","):delete o.outFields,i.outSR?o.outSR=(0,l.YX)(i.outSR):r&&i.returnGeometry&&(o.outSR=o.inSR),i.returnGeometry&&delete i.returnGeometry,i.timeExtent){const t=i.timeExtent,{start:e,end:r}=t;null==e&&null==r||(o.time=e===r?e:`${e??"null"},${r??"null"}`),delete i.timeExtent}return o}async function y(t,e,r,i){const o=await g(t,e,"json",i);return(0,p.q)(e,r,o.data),o}async function c(t,e,r){return null!=e.timeExtent&&e.timeExtent.isEmpty?{data:{objectIds:[]}}:g(t,e,"json",r,{returnIdsOnly:!0})}async function h(t,e,r){return null!=e.timeExtent&&e.timeExtent.isEmpty?{data:{count:0,extent:null}}:g(t,e,"json",r,{returnExtentOnly:!0,returnCountOnly:!0}).then(t=>{const e=t.data;if(e.hasOwnProperty("extent"))return t;if(e.features)throw new Error(a);if(e.hasOwnProperty("count"))throw new Error(a);return t})}function m(t,e,r){return null!=e.timeExtent&&e.timeExtent.isEmpty?Promise.resolve({data:{count:0}}):g(t,e,"json",r,{returnIdsOnly:!0,returnCountOnly:!0})}function g(t,e,r,s={},l={}){const p="string"==typeof t?(0,o.An)(t):t,a=e.geometry?[e.geometry]:[];return s.responseType="json",(0,n.el)(a,null,s).then(t=>{const n=t?.[0];null!=n&&((e=e.clone()).geometry=n);const a=(0,u.z)({...p.query,f:r,...l,...d(e,l)});return(0,i.A)((0,o.fj)(p.path,"queryTopFeatures"),{...s,query:{...a,...s.query}})})}},57561:(t,e,r)=>{r.d(e,{default:()=>S});var i,o=r(31635),s=r(66552),n=r(25482),l=r(4718),u=r(91429),p=r(56507),a=r(16930),d=r(65864),y=r(50498),c=r(77696);let h=i=class extends n.o{constructor(t){super(t),this.groupByFields=void 0,this.topCount=void 0,this.orderByFields=void 0}clone(){return new i({groupByFields:this.groupByFields,topCount:this.topCount,orderByFields:this.orderByFields})}};(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],h.prototype,"groupByFields",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],h.prototype,"topCount",void 0),(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],h.prototype,"orderByFields",void 0),h=i=(0,o.Cg)([(0,u.$K)("esri.rest.support.TopFilter")],h);const m=h;var g,w=r(79677),F=r(43937);const v=new s.J({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),j=new s.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let S=class extends((0,c.y)(n.o)){static{g=this}constructor(t){super(t),this.cacheHint=void 0,this.distance=void 0,this.geometry=null,this.geometryPrecision=void 0,this.maxAllowableOffset=void 0,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.resultType=null,this.returnGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.start=void 0,this.spatialRelationship="intersects",this.timeExtent=null,this.topFilter=void 0,this.units=null,this.where="1=1"}writeStart(t,e){e.resultOffset=this.start,e.resultRecordCount=this.num||10}clone(){return new g((0,l.o8)({cacheHint:this.cacheHint,distance:this.distance,geometry:this.geometry,geometryPrecision:this.geometryPrecision,maxAllowableOffset:this.maxAllowableOffset,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,resultType:this.resultType,returnGeometry:this.returnGeometry,returnZ:this.returnZ,returnM:this.returnM,start:this.start,spatialRelationship:this.spatialRelationship,timeExtent:this.timeExtent,topFilter:this.topFilter,units:this.units,where:this.where}))}};(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0}})],S.prototype,"cacheHint",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:{overridePolicy:t=>({enabled:t>0})}}})],S.prototype,"distance",void 0),(0,o.Cg)([(0,u.MZ)({types:y.yR,json:{read:d.rS,write:!0}})],S.prototype,"geometry",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],S.prototype,"geometryPrecision",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],S.prototype,"maxAllowableOffset",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],S.prototype,"num",void 0),(0,o.Cg)([(0,u.MZ)({json:{write:!0}})],S.prototype,"objectIds",void 0),(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],S.prototype,"orderByFields",void 0),(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],S.prototype,"outFields",void 0),(0,o.Cg)([(0,u.MZ)({type:a.A,json:{read:{source:"outSR"},write:{target:"outSR"}}})],S.prototype,"outSpatialReference",void 0),(0,o.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],S.prototype,"resultType",void 0),(0,o.Cg)([(0,u.MZ)({json:{write:!0}})],S.prototype,"returnGeometry",void 0),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],S.prototype,"returnM",void 0),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],S.prototype,"returnZ",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],S.prototype,"start",void 0),(0,o.Cg)([(0,F.K)("start"),(0,F.K)("num")],S.prototype,"writeStart",null),(0,o.Cg)([(0,u.MZ)({type:String,json:{read:{source:"spatialRel",reader:v.read},write:{target:"spatialRel",writer:v.write}}})],S.prototype,"spatialRelationship",void 0),(0,o.Cg)([(0,u.MZ)({type:w.A,json:{write:!0}})],S.prototype,"timeExtent",void 0),(0,o.Cg)([(0,u.MZ)({type:m,json:{write:!0}})],S.prototype,"topFilter",void 0),(0,o.Cg)([(0,u.MZ)({type:String,json:{read:j.read,write:{writer:j.write,overridePolicy(t){return{enabled:null!=t&&null!=this.distance}}}}})],S.prototype,"units",void 0),(0,o.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],S.prototype,"where",void 0),S=g=(0,o.Cg)([(0,u.$K)("esri.rest.support.TopFeaturesQuery")],S),S.from=(0,p.dp)(S)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9263],{33708:(e,t,r)=>{r.d(t,{Sg:()=>m,fz:()=>c,g7:()=>u,zo:()=>i});var n=r(76061),o=(r(55537),r(39117));r(88885),r(95213);const s=new o.G;function m(e,t){return s.accelerateGeometry(e,t,1)}function u(e,t,r){return s.execute(e,t,r,null)}function i(e,t,r,o){const m=s.executeMany(new n.S(e),new n.S([t]),r,null,o);return Array.from(m)}function c(){return s.supportsCurves()}},49263:(e,t,r)=>{r.d(t,{execute:()=>s}),r(4576);var n=r(33708),o=r(83299);function s(e,t){const r=(0,o.fromGeometry)(e),s=r.getSpatialReference();return(0,o.toGeometry)((0,n.g7)(r.getGeometry(),(0,o.fromGeometryToGXGeometry)(t),s),s)}},76061:(e,t,r)=>{r.d(t,{G:()=>n,S:()=>o});class n{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class o extends n{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6187],{46187:(t,e,o)=>{o.d(e,{default:()=>r});var r=async function(t={}){var e,o,r,_=t,p=new Promise((t,r)=>{e=t,o=r}),n="";try{n=new URL(".","").href}catch{}r=async t=>{var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var i,c,a,y,s,P,g,u,f,b=console.log.bind(console),E=console.error.bind(console),d=!1;function T(t,e){t||N(e)}function O(){var t=i.buffer;c=new Int8Array(t),y=new Int16Array(t),a=new Uint8Array(t),s=new Int32Array(t),P=new Uint32Array(t),g=new Float32Array(t),f=new Float64Array(t),u=new BigInt64Array(t),new BigUint64Array(t)}var m,h=0,S=null;function N(t){E(t="Aborted("+t+")"),d=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw o(e),e}async function l(t,e){try{var o=await async function(t){try{var e=await r(t);return new Uint8Array(e)}catch{}return function(){throw"both async and sync fetching of the wasm failed"}()}(t);return await WebAssembly.instantiate(o,e)}catch(t){E(`failed to asynchronously prepare wasm: ${t}`),N(t)}}var v="undefined"!=typeof TextDecoder?new TextDecoder:void 0,M=(t,e=0,o=NaN)=>{for(var r=e+o,_=e;t[_]&&!(_>=r);)++_;if(_-e>16&&t.buffer&&v)return v.decode(t.subarray(e,_));for(var p="";e<_;){var n=t[e++];if(128&n){var i=63&t[e++];if(192!=(224&n)){var c=63&t[e++];if((n=224==(240&n)?(15&n)<<12|i<<6|c:(7&n)<<18|i<<12|c<<6|63&t[e++])<65536)p+=String.fromCharCode(n);else{var a=n-65536;p+=String.fromCharCode(55296|a>>10,56320|1023&a)}}else p+=String.fromCharCode((31&n)<<6|i)}else p+=String.fromCharCode(n)}return p},j=(t,e)=>t?M(a,t,e):"",D=[0,31,60,91,121,152,182,213,244,274,305,335],A=[0,31,59,90,120,151,181,212,243,273,304,334],R=(t,e,o,r)=>{if(!(r>0))return 0;for(var _=o,p=o+r-1,n=0;n<t.length;++n){var i=t.charCodeAt(n);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&t.charCodeAt(++n)),i<=127){if(o>=p)break;e[o++]=i}else if(i<=2047){if(o+1>=p)break;e[o++]=192|i>>6,e[o++]=128|63&i}else if(i<=65535){if(o+2>=p)break;e[o++]=224|i>>12,e[o++]=128|i>>6&63,e[o++]=128|63&i}else{if(o+3>=p)break;e[o++]=240|i>>18,e[o++]=128|i>>12&63,e[o++]=128|i>>6&63,e[o++]=128|63&i}}return e[o]=0,o-_},C=(t,e,o)=>R(t,a,e,o),G=(t,e)=>Math.ceil(t/e)*e,I=t=>{var e=(t-i.buffer.byteLength+65535)/65536|0;try{return i.grow(e),O(),1}catch(t){}},L={},U=()=>{if(!U.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:"./this.program"};for(var e in L)void 0===L[e]?delete t[e]:t[e]=L[e];var o=[];for(var e in t)o.push(`${e}=${t[e]}`);U.strings=o}return U.strings},w=t=>{for(var e=0,o=0;o<t.length;++o){var r=t.charCodeAt(o);r<=127?e++:r<=2047?e+=2:r>=55296&&r<=57343?(e+=4,++o):e+=3}return e},F=[null,[],[]],Y=(t,e)=>{var o=F[t];0===e||10===e?((1===t?b:E)(M(o)),o.length=0):o.push(e)},X=[];_.getValue=function(t,e="i8"){switch(e.endsWith("*")&&(e="*"),e){case"i1":case"i8":return c[t];case"i16":return y[t>>1];case"i32":return s[t>>2];case"i64":return u[t>>3];case"float":return g[t>>2];case"double":return f[t>>3];case"*":return P[t>>2];default:N(`invalid type for getValue: ${e}`)}},_.UTF8ToString=j;var x={c:function(t,e,o){return 0},o:(t,e,o)=>{},i:function(t,e,o){return 0},d:function(t,e,o,r){},m:t=>{},l:(t,e)=>{},n:(t,e,o)=>{},j:()=>N(""),p:function(t,e){t=(t=>t<-9007199254740992||t>9007199254740992?NaN:Number(t))(t);var o=new Date(1e3*t);s[e>>2]=o.getSeconds(),s[e+4>>2]=o.getMinutes(),s[e+8>>2]=o.getHours(),s[e+12>>2]=o.getDate(),s[e+16>>2]=o.getMonth(),s[e+20>>2]=o.getFullYear()-1900,s[e+24>>2]=o.getDay();var r=0|(t=>((t=>t%4==0&&(t%100!=0||t%400==0))(t.getFullYear())?D:A)[t.getMonth()]+t.getDate()-1)(o);s[e+28>>2]=r,s[e+36>>2]=-60*o.getTimezoneOffset();var _=new Date(o.getFullYear(),0,1),p=new Date(o.getFullYear(),6,1).getTimezoneOffset(),n=_.getTimezoneOffset(),i=0|(p!=n&&o.getTimezoneOffset()==Math.min(n,p));s[e+32>>2]=i},q:(t,e,o,r)=>{var _=(new Date).getFullYear(),p=new Date(_,0,1),n=new Date(_,6,1),i=p.getTimezoneOffset(),c=n.getTimezoneOffset(),a=Math.max(i,c);P[t>>2]=60*a,s[e>>2]=Number(i!=c);var y=t=>{var e=t>=0?"-":"+",o=Math.abs(t);return`UTC${e}${String(Math.floor(o/60)).padStart(2,"0")}${String(o%60).padStart(2,"0")}`},g=y(i),u=y(c);c<i?(C(g,o,17),C(u,r,17)):(C(g,r,17),C(u,o,17))},r:()=>Date.now(),k:t=>{var e=a.length,o=2147483648;if((t>>>=0)>o)return!1;for(var r=1;r<=4;r*=2){var _=e*(1+.2/r);_=Math.min(_,t+100663296);var p=Math.min(o,G(Math.max(t,_),65536));if(I(p))return!0}return!1},f:(t,e)=>{var o=0,r=0;for(var _ of U()){var p=e+o;P[t+r>>2]=p,o+=C(_,p,1/0)+1,r+=4}return 0},g:(t,e)=>{var o=U();P[t>>2]=o.length;var r=0;for(var _ of o)r+=w(_)+1;return P[e>>2]=r,0},a:t=>52,h:(t,e,o,r)=>52,e:function(t,e,o,r){return 70},b:(t,e,o,r)=>{for(var _=0,p=0;p<o;p++){var n=P[e>>2],i=P[e+4>>2];e+=8;for(var c=0;c<i;c++)Y(t,a[n+c]);_+=i}return P[r>>2]=_,0}},H=await async function(){h++;var t={a:x};m??=_.locateFile?function(t){return _.locateFile?_.locateFile(t,n):n+t}("pe-wasm.wasm"):new URL("pe-wasm.wasm","").href;try{return function(t){return function(t){return H=t.exports,i=H.s,O(),function(){if(0==--h&&S){var t=S;S=null,t()}}(),H}(t.instance)}(await async function(t,e,o){if("function"==typeof WebAssembly.instantiateStreaming)try{var r=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,o)}catch(t){E(`wasm streaming compile failed: ${t}`),E("falling back to ArrayBuffer instantiation")}return l(e,o)}(0,m,t))}catch(t){return o(t),Promise.reject(t)}}();H.t,_._webidl_free=H.u,_._webidl_malloc=H.v;var z=_._emscripten_bind_PeObject_getCode_0=H.w,Z=_._emscripten_bind_PeObject_getName_1=H.x,W=_._emscripten_bind_PeObject_getType_0=H.y,B=_._emscripten_bind_PeCoordsys_isEqual_1=H.z,q=_._emscripten_bind_PeCoordsys_getCode_0=H.A,K=_._emscripten_bind_PeCoordsys_getName_1=H.B,k=_._emscripten_bind_PeCoordsys_getType_0=H.C,V=_._emscripten_bind_PeUnit_getUnitFactor_0=H.D,$=_._emscripten_bind_PeUnit_getCode_0=H.E,J=_._emscripten_bind_PeUnit_getName_1=H.F,Q=_._emscripten_bind_PeUnit_getType_0=H.G,tt=_._emscripten_bind_VoidPtr___destroy___0=H.H,et=_._emscripten_bind_PeAngunit_getCode_0=H.I,ot=_._emscripten_bind_PeAngunit_getName_1=H.J,rt=_._emscripten_bind_PeAngunit_getType_0=H.K,_t=_._emscripten_bind_PeAngunit_getUnitFactor_0=H.L,pt=_._emscripten_bind_PeDatum_getSpheroid_0=H.M,nt=_._emscripten_bind_PeDatum_getCode_0=H.N,it=_._emscripten_bind_PeDatum_getName_1=H.O,ct=_._emscripten_bind_PeDatum_getType_0=H.P,at=_._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=H.Q,yt=_._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=H.R,st=_._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=H.S,Pt=_._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=H.T,gt=_._emscripten_bind_PeDefs_get_PE_DD_MAX_0=H.U,ut=_._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=H.V,ft=_._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=H.W,bt=_._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=H.X,Et=_._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=H.Y,dt=_._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=H.Z,Tt=_._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=H._,Ot=_._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=H.$,mt=_._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=H.aa,ht=_._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=H.ba,St=_._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=H.ca,Nt=_._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=H.da,lt=_._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=H.ea,vt=_._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=H.fa,Mt=_._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=H.ga,jt=_._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=H.ha,Dt=_._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=H.ia,At=_._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=H.ja,Rt=_._emscripten_bind_PeDefs_get_PE_PARM_X0_0=H.ka,Ct=_._emscripten_bind_PeDefs_get_PE_PARM_ND_0=H.la,Gt=_._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=H.ma,It=_._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=H.na,Lt=_._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=H.oa,Ut=_._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=H.pa,wt=_._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=H.qa,Ft=_._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=H.ra,Yt=_._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=H.sa,Xt=_._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=H.ta,xt=_._emscripten_bind_PeDouble_PeDouble_1=H.ua,Ht=_._emscripten_bind_PeDouble_get_val_0=H.va,zt=_._emscripten_bind_PeDouble_set_val_1=H.wa,Zt=_._emscripten_bind_PeDouble___destroy___0=H.xa,Wt=_._emscripten_bind_PeFactory_initialize_1=H.ya,Bt=_._emscripten_bind_PeFactory_factoryByType_2=H.za,qt=_._emscripten_bind_PeFactory_fromString_2=H.Aa,Kt=_._emscripten_bind_PeFactory_getCode_1=H.Ba,kt=_._emscripten_bind_PeGCSExtent_PeGCSExtent_6=H.Ca,Vt=_._emscripten_bind_PeGCSExtent_getLLon_0=H.Da,$t=_._emscripten_bind_PeGCSExtent_getSLat_0=H.Ea,Jt=_._emscripten_bind_PeGCSExtent_getRLon_0=H.Fa,Qt=_._emscripten_bind_PeGCSExtent_getNLat_0=H.Ga,te=_._emscripten_bind_PeGCSExtent___destroy___0=H.Ha,ee=_._emscripten_bind_PeGeogcs_Delete_0=H.Ia,oe=_._emscripten_bind_PeGeogcs_cloneAlterUnits_1=H.Ja,re=_._emscripten_bind_PeGeogcs_getDatum_0=H.Ka,_e=_._emscripten_bind_PeGeogcs_getPrimem_0=H.La,pe=_._emscripten_bind_PeGeogcs_getUnit_0=H.Ma,ne=_._emscripten_bind_PeGeogcs_isEqual_1=H.Na,ie=_._emscripten_bind_PeGeogcs_getCode_0=H.Oa,ce=_._emscripten_bind_PeGeogcs_getName_1=H.Pa,ae=_._emscripten_bind_PeGeogcs_getType_0=H.Qa,ye=_._emscripten_bind_PeGeogtran_isEqual_1=H.Ra,se=_._emscripten_bind_PeGeogtran_getGeogcs1_0=H.Sa,Pe=_._emscripten_bind_PeGeogtran_getGeogcs2_0=H.Ta,ge=_._emscripten_bind_PeGeogtran_getParameters_0=H.Ua,ue=_._emscripten_bind_PeGeogtran_loadConstants_0=H.Va,fe=_._emscripten_bind_PeGeogtran_getCode_0=H.Wa,be=_._emscripten_bind_PeGeogtran_getName_1=H.Xa,Ee=_._emscripten_bind_PeGeogtran_getType_0=H.Ya,de=_._emscripten_bind_PeGTlistExtended_getGTlist_6=H.Za,Te=_._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=H._a,Oe=_._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=H.$a,me=_._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=H.ab,he=_._emscripten_bind_PeGTlistExtendedEntry_Delete_1=H.bb,Se=_._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=H.cb,Ne=_._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=H.db,le=_._emscripten_bind_PeHorizon_getNump_0=H.eb,ve=_._emscripten_bind_PeHorizon_getKind_0=H.fb,Me=_._emscripten_bind_PeHorizon_getInclusive_0=H.gb,je=_._emscripten_bind_PeHorizon_getSize_0=H.hb,De=_._emscripten_bind_PeHorizon_getCoord_0=H.ib,Ae=_._emscripten_bind_PeInteger_PeInteger_1=H.jb,Re=_._emscripten_bind_PeInteger_get_val_0=H.kb,Ce=_._emscripten_bind_PeInteger_set_val_1=H.lb,Ge=_._emscripten_bind_PeInteger___destroy___0=H.mb,Ie=_._emscripten_bind_PeLineType_geodetic_distance_10=H.nb,Le=_._emscripten_bind_PeLineType_geodetic_coordinate_9=H.ob,Ue=_._emscripten_bind_PeLineType_geodesic_coordinate_8=H.pb,we=_._emscripten_bind_PeLineType_great_elliptic_distance_9=H.qb,Fe=_._emscripten_bind_PeMath_phi_to_eta_2=H.rb,Ye=_._emscripten_bind_PeMath_eta_to_phi_2=H.sb,Xe=_._emscripten_bind_PeMath_phi_to_phig_2=H.tb,xe=_._emscripten_bind_PeMath_q_3=H.ub,He=_._emscripten_bind_PeMath_q90_2=H.vb,ze=_._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=H.wb,Ze=_._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=H.xb,We=_._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=H.yb,Be=_._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=H.zb,qe=_._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=H.Ab,Ke=_._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=H.Bb,ke=_._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=H.Cb,Ve=_._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=H.Db,$e=_._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=H.Eb,Je=_._emscripten_bind_PeParameter_getValue_0=H.Fb,Qe=_._emscripten_bind_PeParameter_getCode_0=H.Gb,to=_._emscripten_bind_PeParameter_getName_1=H.Hb,eo=_._emscripten_bind_PeParameter_getType_0=H.Ib,oo=_._emscripten_bind_PePCSInfo_getCentralMeridian_0=H.Jb,ro=_._emscripten_bind_PePCSInfo_getDomainMinx_0=H.Kb,_o=_._emscripten_bind_PePCSInfo_getDomainMiny_0=H.Lb,po=_._emscripten_bind_PePCSInfo_getDomainMaxx_0=H.Mb,no=_._emscripten_bind_PePCSInfo_getDomainMaxy_0=H.Nb,io=_._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=H.Ob,co=_._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=H.Pb,ao=_._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=H.Qb,yo=_._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=H.Rb,so=_._emscripten_bind_PePCSInfo_isDensificationNeeded_0=H.Sb,Po=_._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=H.Tb,go=_._emscripten_bind_PePCSInfo_isPannableRectangle_0=H.Ub,uo=_._emscripten_bind_PePCSInfo_generate_2=H.Vb,fo=_._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=H.Wb,bo=_._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=H.Xb,Eo=_._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=H.Yb,To=_._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=H.Zb,Oo=_._emscripten_bind_PePrimem_getLongitude_0=H._b,mo=_._emscripten_bind_PePrimem_getCode_0=H.$b,ho=_._emscripten_bind_PePrimem_getName_1=H.ac,So=_._emscripten_bind_PePrimem_getType_0=H.bc,No=_._emscripten_bind_PeProjcs_Delete_0=H.cc,lo=_._emscripten_bind_PeProjcs_getGeogcs_0=H.dc,vo=_._emscripten_bind_PeProjcs_getProjection_0=H.ec,Mo=_._emscripten_bind_PeProjcs_getParameters_0=H.fc,jo=_._emscripten_bind_PeProjcs_getUnit_0=H.gc,Do=_._emscripten_bind_PeProjcs_loadConstants_0=H.hc,Ao=_._emscripten_bind_PeProjcs_horizonGcsGenerate_0=H.ic,Ro=_._emscripten_bind_PeProjcs_horizonPcsGenerate_0=H.jc,Co=_._emscripten_bind_PeProjcs_isEqual_1=H.kc,Go=_._emscripten_bind_PeProjcs_getCode_0=H.lc,Io=_._emscripten_bind_PeProjcs_getName_1=H.mc,Lo=_._emscripten_bind_PeProjcs_getType_0=H.nc,Uo=_._emscripten_bind_PeSpheroid_getAxis_0=H.oc,wo=_._emscripten_bind_PeSpheroid_getFlattening_0=H.pc,Fo=_._emscripten_bind_PeSpheroid_getCode_0=H.qc,Yo=_._emscripten_bind_PeSpheroid_getName_1=H.rc,Xo=_._emscripten_bind_PeSpheroid_getType_0=H.sc,xo=_._emscripten_bind_PeVersion_version_string_0=H.tc;function Ho(){}function zo(t){return(t||Ho).__cache__}function Zo(t,e){var o=zo(e),r=o[t];return r||((r=Object.create((e||Ho).prototype)).ptr=t,o[t]=r)}_._pe_getPeGTlistExtendedEntrySize=H.uc,_._pe_getPeGTlistExtendedGTsSize=H.vc,_._pe_getPeHorizonSize=H.wc,_._pe_geog_to_geog=H.xc,_._pe_geog_to_proj=H.yc,_._pe_geog_to_dd=H.zc,_._pe_dd_to_geog=H.Ac,_._pe_geog_to_ddm=H.Bc,_._pe_ddm_to_geog=H.Cc,_._pe_geog_to_dms=H.Dc,_._pe_dms_to_geog=H.Ec,_._pe_geog_to_mgrs_extended=H.Fc,_._pe_mgrs_to_geog_extended=H.Gc,_._pe_geog_to_usng=H.Hc,_._pe_usng_to_geog=H.Ic,_._pe_geog_to_utm=H.Jc,_._pe_utm_to_geog=H.Kc,_._pe_object_to_string_ext=H.Lc,_._pe_proj_to_geog_center=H.Mc,function t(){h>0||h>0?S=t:(_.calledRun=!0,d||((t=>{for(;t.length>0;)t.shift()(_)})(X),H.t(),e(_)))}(),Ho.prototype=Object.create(Ho.prototype),Ho.prototype.constructor=Ho,Ho.prototype.__class__=Ho,Ho.__cache__={},_.WrapperObject=Ho,_.getCache=zo,_.wrapPointer=Zo,_.castObject=function(t,e){return Zo(t.ptr,e)},_.NULL=Zo(0),_.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete zo(t.__class__)[t.ptr]},_.compare=function(t,e){return t.ptr===e.ptr},_.getPointer=function(t){return t.ptr},_.getClass=function(t){return t.__class__};var Wo={buffer:0,size:0,pos:0,temps:[],needed:0,prepare(){if(Wo.needed){for(var t=0;t<Wo.temps.length;t++)_._webidl_free(Wo.temps[t]);Wo.temps.length=0,_._webidl_free(Wo.buffer),Wo.buffer=0,Wo.size+=Wo.needed,Wo.needed=0}Wo.buffer||(Wo.size+=128,Wo.buffer=_._webidl_malloc(Wo.size),T(Wo.buffer)),Wo.pos=0},alloc(t,e){T(Wo.buffer);var o,r=e.BYTES_PER_ELEMENT,p=t.length*r;return p=G(p,8),Wo.pos+p>=Wo.size?(T(p>0),Wo.needed+=p,o=_._webidl_malloc(p),Wo.temps.push(o)):(o=Wo.buffer+Wo.pos,Wo.pos+=p),o},copy(t,e,o){o/=e.BYTES_PER_ELEMENT;for(var r=0;r<t.length;r++)e[o+r]=t[r]}};function Bo(t){if("string"==typeof t){var e=(t=>{var e=w(t)+1,o=new Array(e);return R(t,o,0,o.length),o})(t),o=Wo.alloc(e,c);return Wo.copy(e,c,o),o}return t}function qo(t){if("object"==typeof t){var e=Wo.alloc(t,c);return Wo.copy(t,c,e),e}return t}function Ko(){throw"cannot construct a PeObject, no constructor in IDL"}function ko(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function Vo(){throw"cannot construct a PeUnit, no constructor in IDL"}function $o(){throw"cannot construct a VoidPtr, no constructor in IDL"}function Jo(){throw"cannot construct a PeAngunit, no constructor in IDL"}function Qo(){throw"cannot construct a PeDatum, no constructor in IDL"}function tr(){throw"cannot construct a PeDefs, no constructor in IDL"}function er(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=xt(t),zo(er)[this.ptr]=this}function or(){throw"cannot construct a PeFactory, no constructor in IDL"}function rr(t,e,o,r,_,p){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),this.ptr=kt(t,e,o,r,_,p),zo(rr)[this.ptr]=this}function _r(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function pr(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function nr(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function ir(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function cr(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function ar(){throw"cannot construct a PeHorizon, no constructor in IDL"}function yr(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Ae(t),zo(yr)[this.ptr]=this}function sr(){throw"cannot construct a PeLineType, no constructor in IDL"}function Pr(){throw"cannot construct a PeMath, no constructor in IDL"}function gr(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function ur(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function fr(){throw"cannot construct a PeParameter, no constructor in IDL"}function br(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function Er(){throw"cannot construct a PePrimem, no constructor in IDL"}function dr(){throw"cannot construct a PeProjcs, no constructor in IDL"}function Tr(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function Or(){throw"cannot construct a PeVersion, no constructor in IDL"}return Ko.prototype=Object.create(Ho.prototype),Ko.prototype.constructor=Ko,Ko.prototype.__class__=Ko,Ko.__cache__={},_.PeObject=Ko,Ko.prototype.getCode=Ko.prototype.getCode=function(){var t=this.ptr;return z(t)},Ko.prototype.getName=Ko.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(Z(e,t))},Ko.prototype.getType=Ko.prototype.getType=function(){var t=this.ptr;return W(t)},ko.prototype=Object.create(Ko.prototype),ko.prototype.constructor=ko,ko.prototype.__class__=ko,ko.__cache__={},_.PeCoordsys=ko,ko.prototype.isEqual=ko.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!B(e,t)},ko.prototype.getCode=ko.prototype.getCode=function(){var t=this.ptr;return q(t)},ko.prototype.getName=ko.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(K(e,t))},ko.prototype.getType=ko.prototype.getType=function(){var t=this.ptr;return k(t)},Vo.prototype=Object.create(Ko.prototype),Vo.prototype.constructor=Vo,Vo.prototype.__class__=Vo,Vo.__cache__={},_.PeUnit=Vo,Vo.prototype.getUnitFactor=Vo.prototype.getUnitFactor=function(){var t=this.ptr;return V(t)},Vo.prototype.getCode=Vo.prototype.getCode=function(){var t=this.ptr;return $(t)},Vo.prototype.getName=Vo.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(J(e,t))},Vo.prototype.getType=Vo.prototype.getType=function(){var t=this.ptr;return Q(t)},$o.prototype=Object.create(Ho.prototype),$o.prototype.constructor=$o,$o.prototype.__class__=$o,$o.__cache__={},_.VoidPtr=$o,$o.prototype.__destroy__=$o.prototype.__destroy__=function(){var t=this.ptr;tt(t)},Jo.prototype=Object.create(Vo.prototype),Jo.prototype.constructor=Jo,Jo.prototype.__class__=Jo,Jo.__cache__={},_.PeAngunit=Jo,Jo.prototype.getCode=Jo.prototype.getCode=function(){var t=this.ptr;return et(t)},Jo.prototype.getName=Jo.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(ot(e,t))},Jo.prototype.getType=Jo.prototype.getType=function(){var t=this.ptr;return rt(t)},Jo.prototype.getUnitFactor=Jo.prototype.getUnitFactor=function(){var t=this.ptr;return _t(t)},Qo.prototype=Object.create(Ko.prototype),Qo.prototype.constructor=Qo,Qo.prototype.__class__=Qo,Qo.__cache__={},_.PeDatum=Qo,Qo.prototype.getSpheroid=Qo.prototype.getSpheroid=function(){var t=this.ptr;return Zo(pt(t),Tr)},Qo.prototype.getCode=Qo.prototype.getCode=function(){var t=this.ptr;return nt(t)},Qo.prototype.getName=Qo.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(it(e,t))},Qo.prototype.getType=Qo.prototype.getType=function(){var t=this.ptr;return ct(t)},tr.prototype=Object.create(Ho.prototype),tr.prototype.constructor=tr,tr.prototype.__class__=tr,tr.__cache__={},_.PeDefs=tr,tr.prototype.get_PE_BUFFER_MAX=tr.prototype.get_PE_BUFFER_MAX=function(){var t=this.ptr;return at(t)},Object.defineProperty(tr.prototype,"PE_BUFFER_MAX",{get:tr.prototype.get_PE_BUFFER_MAX}),tr.prototype.get_PE_NAME_MAX=tr.prototype.get_PE_NAME_MAX=function(){var t=this.ptr;return yt(t)},Object.defineProperty(tr.prototype,"PE_NAME_MAX",{get:tr.prototype.get_PE_NAME_MAX}),tr.prototype.get_PE_MGRS_MAX=tr.prototype.get_PE_MGRS_MAX=function(){var t=this.ptr;return st(t)},Object.defineProperty(tr.prototype,"PE_MGRS_MAX",{get:tr.prototype.get_PE_MGRS_MAX}),tr.prototype.get_PE_USNG_MAX=tr.prototype.get_PE_USNG_MAX=function(){var t=this.ptr;return Pt(t)},Object.defineProperty(tr.prototype,"PE_USNG_MAX",{get:tr.prototype.get_PE_USNG_MAX}),tr.prototype.get_PE_DD_MAX=tr.prototype.get_PE_DD_MAX=function(){var t=this.ptr;return gt(t)},Object.defineProperty(tr.prototype,"PE_DD_MAX",{get:tr.prototype.get_PE_DD_MAX}),tr.prototype.get_PE_DMS_MAX=tr.prototype.get_PE_DMS_MAX=function(){var t=this.ptr;return ut(t)},Object.defineProperty(tr.prototype,"PE_DMS_MAX",{get:tr.prototype.get_PE_DMS_MAX}),tr.prototype.get_PE_DDM_MAX=tr.prototype.get_PE_DDM_MAX=function(){var t=this.ptr;return ft(t)},Object.defineProperty(tr.prototype,"PE_DDM_MAX",{get:tr.prototype.get_PE_DDM_MAX}),tr.prototype.get_PE_UTM_MAX=tr.prototype.get_PE_UTM_MAX=function(){var t=this.ptr;return bt(t)},Object.defineProperty(tr.prototype,"PE_UTM_MAX",{get:tr.prototype.get_PE_UTM_MAX}),tr.prototype.get_PE_PARM_MAX=tr.prototype.get_PE_PARM_MAX=function(){var t=this.ptr;return Et(t)},Object.defineProperty(tr.prototype,"PE_PARM_MAX",{get:tr.prototype.get_PE_PARM_MAX}),tr.prototype.get_PE_TYPE_NONE=tr.prototype.get_PE_TYPE_NONE=function(){var t=this.ptr;return dt(t)},Object.defineProperty(tr.prototype,"PE_TYPE_NONE",{get:tr.prototype.get_PE_TYPE_NONE}),tr.prototype.get_PE_TYPE_GEOGCS=tr.prototype.get_PE_TYPE_GEOGCS=function(){var t=this.ptr;return Tt(t)},Object.defineProperty(tr.prototype,"PE_TYPE_GEOGCS",{get:tr.prototype.get_PE_TYPE_GEOGCS}),tr.prototype.get_PE_TYPE_PROJCS=tr.prototype.get_PE_TYPE_PROJCS=function(){var t=this.ptr;return Ot(t)},Object.defineProperty(tr.prototype,"PE_TYPE_PROJCS",{get:tr.prototype.get_PE_TYPE_PROJCS}),tr.prototype.get_PE_TYPE_GEOGTRAN=tr.prototype.get_PE_TYPE_GEOGTRAN=function(){var t=this.ptr;return mt(t)},Object.defineProperty(tr.prototype,"PE_TYPE_GEOGTRAN",{get:tr.prototype.get_PE_TYPE_GEOGTRAN}),tr.prototype.get_PE_TYPE_COORDSYS=tr.prototype.get_PE_TYPE_COORDSYS=function(){var t=this.ptr;return ht(t)},Object.defineProperty(tr.prototype,"PE_TYPE_COORDSYS",{get:tr.prototype.get_PE_TYPE_COORDSYS}),tr.prototype.get_PE_TYPE_UNIT=tr.prototype.get_PE_TYPE_UNIT=function(){var t=this.ptr;return St(t)},Object.defineProperty(tr.prototype,"PE_TYPE_UNIT",{get:tr.prototype.get_PE_TYPE_UNIT}),tr.prototype.get_PE_TYPE_LINUNIT=tr.prototype.get_PE_TYPE_LINUNIT=function(){var t=this.ptr;return Nt(t)},Object.defineProperty(tr.prototype,"PE_TYPE_LINUNIT",{get:tr.prototype.get_PE_TYPE_LINUNIT}),tr.prototype.get_PE_STR_OPTS_NONE=tr.prototype.get_PE_STR_OPTS_NONE=function(){var t=this.ptr;return lt(t)},Object.defineProperty(tr.prototype,"PE_STR_OPTS_NONE",{get:tr.prototype.get_PE_STR_OPTS_NONE}),tr.prototype.get_PE_STR_AUTH_NONE=tr.prototype.get_PE_STR_AUTH_NONE=function(){var t=this.ptr;return vt(t)},Object.defineProperty(tr.prototype,"PE_STR_AUTH_NONE",{get:tr.prototype.get_PE_STR_AUTH_NONE}),tr.prototype.get_PE_STR_AUTH_TOP=tr.prototype.get_PE_STR_AUTH_TOP=function(){var t=this.ptr;return Mt(t)},Object.defineProperty(tr.prototype,"PE_STR_AUTH_TOP",{get:tr.prototype.get_PE_STR_AUTH_TOP}),tr.prototype.get_PE_STR_NAME_CANON=tr.prototype.get_PE_STR_NAME_CANON=function(){var t=this.ptr;return jt(t)},Object.defineProperty(tr.prototype,"PE_STR_NAME_CANON",{get:tr.prototype.get_PE_STR_NAME_CANON}),tr.prototype.get_PE_STR_FMT_WKT=tr.prototype.get_PE_STR_FMT_WKT=function(){var t=this.ptr;return Dt(t)},Object.defineProperty(tr.prototype,"PE_STR_FMT_WKT",{get:tr.prototype.get_PE_STR_FMT_WKT}),tr.prototype.get_PE_STR_FMT_WKT2=tr.prototype.get_PE_STR_FMT_WKT2=function(){var t=this.ptr;return At(t)},Object.defineProperty(tr.prototype,"PE_STR_FMT_WKT2",{get:tr.prototype.get_PE_STR_FMT_WKT2}),tr.prototype.get_PE_PARM_X0=tr.prototype.get_PE_PARM_X0=function(){var t=this.ptr;return Rt(t)},Object.defineProperty(tr.prototype,"PE_PARM_X0",{get:tr.prototype.get_PE_PARM_X0}),tr.prototype.get_PE_PARM_ND=tr.prototype.get_PE_PARM_ND=function(){var t=this.ptr;return Ct(t)},Object.defineProperty(tr.prototype,"PE_PARM_ND",{get:tr.prototype.get_PE_PARM_ND}),tr.prototype.get_PE_TRANSFORM_1_TO_2=tr.prototype.get_PE_TRANSFORM_1_TO_2=function(){var t=this.ptr;return Gt(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_1_TO_2",{get:tr.prototype.get_PE_TRANSFORM_1_TO_2}),tr.prototype.get_PE_TRANSFORM_2_TO_1=tr.prototype.get_PE_TRANSFORM_2_TO_1=function(){var t=this.ptr;return It(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_2_TO_1",{get:tr.prototype.get_PE_TRANSFORM_2_TO_1}),tr.prototype.get_PE_TRANSFORM_P_TO_G=tr.prototype.get_PE_TRANSFORM_P_TO_G=function(){var t=this.ptr;return Lt(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_P_TO_G",{get:tr.prototype.get_PE_TRANSFORM_P_TO_G}),tr.prototype.get_PE_TRANSFORM_G_TO_P=tr.prototype.get_PE_TRANSFORM_G_TO_P=function(){var t=this.ptr;return Ut(t)},Object.defineProperty(tr.prototype,"PE_TRANSFORM_G_TO_P",{get:tr.prototype.get_PE_TRANSFORM_G_TO_P}),tr.prototype.get_PE_HORIZON_RECT=tr.prototype.get_PE_HORIZON_RECT=function(){var t=this.ptr;return wt(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_RECT",{get:tr.prototype.get_PE_HORIZON_RECT}),tr.prototype.get_PE_HORIZON_POLY=tr.prototype.get_PE_HORIZON_POLY=function(){var t=this.ptr;return Ft(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_POLY",{get:tr.prototype.get_PE_HORIZON_POLY}),tr.prototype.get_PE_HORIZON_LINE=tr.prototype.get_PE_HORIZON_LINE=function(){var t=this.ptr;return Yt(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_LINE",{get:tr.prototype.get_PE_HORIZON_LINE}),tr.prototype.get_PE_HORIZON_DELTA=tr.prototype.get_PE_HORIZON_DELTA=function(){var t=this.ptr;return Xt(t)},Object.defineProperty(tr.prototype,"PE_HORIZON_DELTA",{get:tr.prototype.get_PE_HORIZON_DELTA}),er.prototype=Object.create(Ho.prototype),er.prototype.constructor=er,er.prototype.__class__=er,er.__cache__={},_.PeDouble=er,er.prototype.get_val=er.prototype.get_val=function(){var t=this.ptr;return Ht(t)},er.prototype.set_val=er.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),zt(e,t)},Object.defineProperty(er.prototype,"val",{get:er.prototype.get_val,set:er.prototype.set_val}),er.prototype.__destroy__=er.prototype.__destroy__=function(){var t=this.ptr;Zt(t)},or.prototype=Object.create(Ho.prototype),or.prototype.constructor=or,or.prototype.__class__=or,or.__cache__={},_.PeFactory=or,or.prototype.initialize=or.prototype.initialize=function(t){Wo.prepare(),t=t&&"object"==typeof t?t.ptr:Bo(t),Wt(t)},or.prototype.factoryByType=or.prototype.factoryByType=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Zo(Bt(t,e),Ko)},or.prototype.fromString=or.prototype.fromString=function(t,e){return Wo.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:Bo(e),Zo(qt(t,e),Ko)},or.prototype.getCode=or.prototype.getCode=function(t){return t&&"object"==typeof t&&(t=t.ptr),Kt(t)},rr.prototype=Object.create(Ho.prototype),rr.prototype.constructor=rr,rr.prototype.__class__=rr,rr.__cache__={},_.PeGCSExtent=rr,rr.prototype.getLLon=rr.prototype.getLLon=function(){var t=this.ptr;return Vt(t)},rr.prototype.getSLat=rr.prototype.getSLat=function(){var t=this.ptr;return $t(t)},rr.prototype.getRLon=rr.prototype.getRLon=function(){var t=this.ptr;return Jt(t)},rr.prototype.getNLat=rr.prototype.getNLat=function(){var t=this.ptr;return Qt(t)},rr.prototype.__destroy__=rr.prototype.__destroy__=function(){var t=this.ptr;te(t)},_r.prototype=Object.create(ko.prototype),_r.prototype.constructor=_r,_r.prototype.__class__=_r,_r.__cache__={},_.PeGeogcs=_r,_r.prototype.Delete=_r.prototype.Delete=function(){var t=this.ptr;ee(t)},_r.prototype.cloneAlterUnits=_r.prototype.cloneAlterUnits=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Zo(oe(e,t),_r)},_r.prototype.getDatum=_r.prototype.getDatum=function(){var t=this.ptr;return Zo(re(t),Qo)},_r.prototype.getPrimem=_r.prototype.getPrimem=function(){var t=this.ptr;return Zo(_e(t),Er)},_r.prototype.getUnit=_r.prototype.getUnit=function(){var t=this.ptr;return Zo(pe(t),Jo)},_r.prototype.isEqual=_r.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!ne(e,t)},_r.prototype.getCode=_r.prototype.getCode=function(){var t=this.ptr;return ie(t)},_r.prototype.getName=_r.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(ce(e,t))},_r.prototype.getType=_r.prototype.getType=function(){var t=this.ptr;return ae(t)},pr.prototype=Object.create(Ko.prototype),pr.prototype.constructor=pr,pr.prototype.__class__=pr,pr.__cache__={},_.PeGeogtran=pr,pr.prototype.isEqual=pr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!ye(e,t)},pr.prototype.getGeogcs1=pr.prototype.getGeogcs1=function(){var t=this.ptr;return Zo(se(t),_r)},pr.prototype.getGeogcs2=pr.prototype.getGeogcs2=function(){var t=this.ptr;return Zo(Pe(t),_r)},pr.prototype.getParameters=pr.prototype.getParameters=function(){var t=this.ptr;return ge(t)},pr.prototype.loadConstants=pr.prototype.loadConstants=function(){var t=this.ptr;return!!ue(t)},pr.prototype.getCode=pr.prototype.getCode=function(){var t=this.ptr;return fe(t)},pr.prototype.getName=pr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(be(e,t))},pr.prototype.getType=pr.prototype.getType=function(){var t=this.ptr;return Ee(t)},nr.prototype=Object.create(Ho.prototype),nr.prototype.constructor=nr,nr.prototype.__class__=nr,nr.__cache__={},_.PeGTlistExtended=nr,nr.prototype.getGTlist=nr.prototype.getGTlist=function(t,e,o,r,_,p){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),Zo(de(t,e,o,r,_,p),ir)},nr.prototype.get_PE_GTLIST_OPTS_COMMON=nr.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var t=this.ptr;return Te(t)},Object.defineProperty(nr.prototype,"PE_GTLIST_OPTS_COMMON",{get:nr.prototype.get_PE_GTLIST_OPTS_COMMON}),ir.prototype=Object.create(Ho.prototype),ir.prototype.constructor=ir,ir.prototype.__class__=ir,ir.__cache__={},_.PeGTlistExtendedEntry=ir,ir.prototype.getEntries=ir.prototype.getEntries=function(){var t=this.ptr;return Zo(Oe(t),cr)},ir.prototype.getSteps=ir.prototype.getSteps=function(){var t=this.ptr;return me(t)},ir.prototype.Delete=ir.prototype.Delete=function(t){t&&"object"==typeof t&&(t=t.ptr),he(t)},cr.prototype=Object.create(Ho.prototype),cr.prototype.constructor=cr,cr.prototype.__class__=cr,cr.__cache__={},_.PeGTlistExtendedGTs=cr,cr.prototype.getDirection=cr.prototype.getDirection=function(){var t=this.ptr;return Se(t)},cr.prototype.getGeogtran=cr.prototype.getGeogtran=function(){var t=this.ptr;return Zo(Ne(t),pr)},ar.prototype=Object.create(Ho.prototype),ar.prototype.constructor=ar,ar.prototype.__class__=ar,ar.__cache__={},_.PeHorizon=ar,ar.prototype.getNump=ar.prototype.getNump=function(){var t=this.ptr;return le(t)},ar.prototype.getKind=ar.prototype.getKind=function(){var t=this.ptr;return ve(t)},ar.prototype.getInclusive=ar.prototype.getInclusive=function(){var t=this.ptr;return Me(t)},ar.prototype.getSize=ar.prototype.getSize=function(){var t=this.ptr;return je(t)},ar.prototype.getCoord=ar.prototype.getCoord=function(){var t=this.ptr;return De(t)},yr.prototype=Object.create(Ho.prototype),yr.prototype.constructor=yr,yr.prototype.__class__=yr,yr.__cache__={},_.PeInteger=yr,yr.prototype.get_val=yr.prototype.get_val=function(){var t=this.ptr;return Re(t)},yr.prototype.set_val=yr.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Ce(e,t)},Object.defineProperty(yr.prototype,"val",{get:yr.prototype.get_val,set:yr.prototype.set_val}),yr.prototype.__destroy__=yr.prototype.__destroy__=function(){var t=this.ptr;Ge(t)},sr.prototype=Object.create(Ho.prototype),sr.prototype.constructor=sr,sr.prototype.__class__=sr,sr.__cache__={},_.PeLineType=sr,sr.prototype.geodetic_distance=sr.prototype.geodetic_distance=function(t,e,o,r,_,p,n,i,c,a){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),a&&"object"==typeof a&&(a=a.ptr),Ie(t,e,o,r,_,p,n,i,c,a)},sr.prototype.geodetic_coordinate=sr.prototype.geodetic_coordinate=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),Le(t,e,o,r,_,p,n,i,c)},sr.prototype.geodesic_coordinate=sr.prototype.geodesic_coordinate=function(t,e,o,r,_,p,n,i){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),Ue(t,e,o,r,_,p,n,i)},sr.prototype.great_elliptic_distance=sr.prototype.great_elliptic_distance=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),we(t,e,o,r,_,p,n,i,c)},Pr.prototype=Object.create(Ho.prototype),Pr.prototype.constructor=Pr,Pr.prototype.__class__=Pr,Pr.__cache__={},_.PeMath=Pr,Pr.prototype.phi_to_eta=Pr.prototype.phi_to_eta=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Fe(t,e)},Pr.prototype.eta_to_phi=Pr.prototype.eta_to_phi=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ye(t,e)},Pr.prototype.phi_to_phig=Pr.prototype.phi_to_phig=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Xe(t,e)},Pr.prototype.q=Pr.prototype.q=function(t,e,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),xe(t,e,o)},Pr.prototype.q90=Pr.prototype.q90=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),He(t,e)},gr.prototype=Object.create(Ho.prototype),gr.prototype.constructor=gr,gr.prototype.__class__=gr,gr.__cache__={},_.PeNotationMgrs=gr,gr.prototype.get_PE_MGRS_STYLE_NEW=gr.prototype.get_PE_MGRS_STYLE_NEW=function(){var t=this.ptr;return ze(t)},Object.defineProperty(gr.prototype,"PE_MGRS_STYLE_NEW",{get:gr.prototype.get_PE_MGRS_STYLE_NEW}),gr.prototype.get_PE_MGRS_STYLE_OLD=gr.prototype.get_PE_MGRS_STYLE_OLD=function(){var t=this.ptr;return Ze(t)},Object.defineProperty(gr.prototype,"PE_MGRS_STYLE_OLD",{get:gr.prototype.get_PE_MGRS_STYLE_OLD}),gr.prototype.get_PE_MGRS_STYLE_AUTO=gr.prototype.get_PE_MGRS_STYLE_AUTO=function(){var t=this.ptr;return We(t)},Object.defineProperty(gr.prototype,"PE_MGRS_STYLE_AUTO",{get:gr.prototype.get_PE_MGRS_STYLE_AUTO}),gr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=gr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var t=this.ptr;return Be(t)},Object.defineProperty(gr.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:gr.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),gr.prototype.get_PE_MGRS_ADD_SPACES=gr.prototype.get_PE_MGRS_ADD_SPACES=function(){var t=this.ptr;return qe(t)},Object.defineProperty(gr.prototype,"PE_MGRS_ADD_SPACES",{get:gr.prototype.get_PE_MGRS_ADD_SPACES}),ur.prototype=Object.create(Ho.prototype),ur.prototype.constructor=ur,ur.prototype.__class__=ur,ur.__cache__={},_.PeNotationUtm=ur,ur.prototype.get_PE_UTM_OPTS_NONE=ur.prototype.get_PE_UTM_OPTS_NONE=function(){var t=this.ptr;return Ke(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_NONE",{get:ur.prototype.get_PE_UTM_OPTS_NONE}),ur.prototype.get_PE_UTM_OPTS_NS=ur.prototype.get_PE_UTM_OPTS_NS=function(){var t=this.ptr;return ke(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_NS",{get:ur.prototype.get_PE_UTM_OPTS_NS}),ur.prototype.get_PE_UTM_OPTS_NS_STRICT=ur.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var t=this.ptr;return Ve(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_NS_STRICT",{get:ur.prototype.get_PE_UTM_OPTS_NS_STRICT}),ur.prototype.get_PE_UTM_OPTS_ADD_SPACES=ur.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var t=this.ptr;return $e(t)},Object.defineProperty(ur.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:ur.prototype.get_PE_UTM_OPTS_ADD_SPACES}),fr.prototype=Object.create(Ko.prototype),fr.prototype.constructor=fr,fr.prototype.__class__=fr,fr.__cache__={},_.PeParameter=fr,fr.prototype.getValue=fr.prototype.getValue=function(){var t=this.ptr;return Je(t)},fr.prototype.getCode=fr.prototype.getCode=function(){var t=this.ptr;return Qe(t)},fr.prototype.getName=fr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(to(e,t))},fr.prototype.getType=fr.prototype.getType=function(){var t=this.ptr;return eo(t)},br.prototype=Object.create(Ho.prototype),br.prototype.constructor=br,br.prototype.__class__=br,br.__cache__={},_.PePCSInfo=br,br.prototype.getCentralMeridian=br.prototype.getCentralMeridian=function(){var t=this.ptr;return oo(t)},br.prototype.getDomainMinx=br.prototype.getDomainMinx=function(){var t=this.ptr;return ro(t)},br.prototype.getDomainMiny=br.prototype.getDomainMiny=function(){var t=this.ptr;return _o(t)},br.prototype.getDomainMaxx=br.prototype.getDomainMaxx=function(){var t=this.ptr;return po(t)},br.prototype.getDomainMaxy=br.prototype.getDomainMaxy=function(){var t=this.ptr;return no(t)},br.prototype.getNorthPoleLocation=br.prototype.getNorthPoleLocation=function(){var t=this.ptr;return io(t)},br.prototype.getNorthPoleGeometry=br.prototype.getNorthPoleGeometry=function(){var t=this.ptr;return co(t)},br.prototype.getSouthPoleLocation=br.prototype.getSouthPoleLocation=function(){var t=this.ptr;return ao(t)},br.prototype.getSouthPoleGeometry=br.prototype.getSouthPoleGeometry=function(){var t=this.ptr;return yo(t)},br.prototype.isDensificationNeeded=br.prototype.isDensificationNeeded=function(){var t=this.ptr;return!!so(t)},br.prototype.isGcsHorizonMultiOverlap=br.prototype.isGcsHorizonMultiOverlap=function(){var t=this.ptr;return!!Po(t)},br.prototype.isPannableRectangle=br.prototype.isPannableRectangle=function(){var t=this.ptr;return!!go(t)},br.prototype.generate=br.prototype.generate=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Zo(uo(t,e),br)},br.prototype.get_PE_PCSINFO_OPTION_NONE=br.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var t=this.ptr;return fo(t)},Object.defineProperty(br.prototype,"PE_PCSINFO_OPTION_NONE",{get:br.prototype.get_PE_PCSINFO_OPTION_NONE}),br.prototype.get_PE_PCSINFO_OPTION_DOMAIN=br.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var t=this.ptr;return bo(t)},Object.defineProperty(br.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:br.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),br.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=br.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var t=this.ptr;return Eo(t)},Object.defineProperty(br.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:br.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),br.prototype.get_PE_POLE_POINT=br.prototype.get_PE_POLE_POINT=function(){var t=this.ptr;return To(t)},Object.defineProperty(br.prototype,"PE_POLE_POINT",{get:br.prototype.get_PE_POLE_POINT}),Er.prototype=Object.create(Ko.prototype),Er.prototype.constructor=Er,Er.prototype.__class__=Er,Er.__cache__={},_.PePrimem=Er,Er.prototype.getLongitude=Er.prototype.getLongitude=function(){var t=this.ptr;return Oo(t)},Er.prototype.getCode=Er.prototype.getCode=function(){var t=this.ptr;return mo(t)},Er.prototype.getName=Er.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(ho(e,t))},Er.prototype.getType=Er.prototype.getType=function(){var t=this.ptr;return So(t)},dr.prototype=Object.create(ko.prototype),dr.prototype.constructor=dr,dr.prototype.__class__=dr,dr.__cache__={},_.PeProjcs=dr,dr.prototype.Delete=dr.prototype.Delete=function(){var t=this.ptr;No(t)},dr.prototype.getGeogcs=dr.prototype.getGeogcs=function(){var t=this.ptr;return Zo(lo(t),_r)},dr.prototype.getProjection=dr.prototype.getProjection=function(){var t=this.ptr;return Zo(vo(t),Ko)},dr.prototype.getParameters=dr.prototype.getParameters=function(){var t=this.ptr;return Mo(t)},dr.prototype.getUnit=dr.prototype.getUnit=function(){var t=this.ptr;return Zo(jo(t),Vo)},dr.prototype.loadConstants=dr.prototype.loadConstants=function(){var t=this.ptr;return!!Do(t)},dr.prototype.horizonGcsGenerate=dr.prototype.horizonGcsGenerate=function(){var t=this.ptr;return Zo(Ao(t),ar)},dr.prototype.horizonPcsGenerate=dr.prototype.horizonPcsGenerate=function(){var t=this.ptr;return Zo(Ro(t),ar)},dr.prototype.isEqual=dr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Co(e,t)},dr.prototype.getCode=dr.prototype.getCode=function(){var t=this.ptr;return Go(t)},dr.prototype.getName=dr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(Io(e,t))},dr.prototype.getType=dr.prototype.getType=function(){var t=this.ptr;return Lo(t)},Tr.prototype=Object.create(Ko.prototype),Tr.prototype.constructor=Tr,Tr.prototype.__class__=Tr,Tr.__cache__={},_.PeSpheroid=Tr,Tr.prototype.getAxis=Tr.prototype.getAxis=function(){var t=this.ptr;return Uo(t)},Tr.prototype.getFlattening=Tr.prototype.getFlattening=function(){var t=this.ptr;return wo(t)},Tr.prototype.getCode=Tr.prototype.getCode=function(){var t=this.ptr;return Fo(t)},Tr.prototype.getName=Tr.prototype.getName=function(t){var e=this.ptr;return Wo.prepare(),"object"==typeof t&&(t=qo(t)),j(Yo(e,t))},Tr.prototype.getType=Tr.prototype.getType=function(){var t=this.ptr;return Xo(t)},Or.prototype=Object.create(Ho.prototype),Or.prototype.constructor=Or,Or.prototype.__class__=Or,Or.__cache__={},_.PeVersion=Or,Or.prototype.version_string=Or.prototype.version_string=function(){var t=this.ptr;return j(xo(t))},_.ensureCache=Wo,_.ensureString=Bo,_.ensureInt8=qo,_.ensureInt16=function(t){if("object"==typeof t){var e=Wo.alloc(t,y);return Wo.copy(t,y,e),e}return t},_.ensureInt32=function(t){if("object"==typeof t){var e=Wo.alloc(t,s);return Wo.copy(t,s,e),e}return t},_.ensureFloat32=function(t){if("object"==typeof t){var e=Wo.alloc(t,g);return Wo.copy(t,g,e),e}return t},_.ensureFloat64=function(t){if("object"==typeof t){var e=Wo.alloc(t,f);return Wo.copy(t,f,e),e}return t},p}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[353],{12189:(e,t,s)=>{s.d(t,{queryTransformationList:()=>i.C}),s(79187),s(55537);var i=s(39117);s(83661)},76061:(e,t,s)=>{s.d(t,{G:()=>i,S:()=>m});class i{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class m extends i{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3169,5874,8125],{5874:(e,t,n)=>{n.d(t,{isSimple:()=>i}),n(76061);const r=new(n(98783).O);var s=n(78125);function i(e,t){return function(e,t,n,s){return r.isSimple(e,t,n,s,null)}((0,s.fromGeometry)(e),(0,s.fromSpatialReference)((0,s.getSpatialReference)(e)),null!=t,t??null)}r.supportsCurves()},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>s});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class s extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>C,fromGeometry:()=>G,fromMultipoint:()=>M,fromPoint:()=>w,fromPolygon:()=>V,fromPolyline:()=>_,fromSpatialReference:()=>d,getSpatialReference:()=>x,toExtent:()=>v,toGeometry:()=>R,toMultipoint:()=>P,toPoint:()=>Z,toPolygon:()=>k,toPolyline:()=>S});var r=n(83661),s=(n(79187),n(55537)),i=n(95213),a=n(88885),o=n(39117),u=n(5443),c=n(48526),l=n(86738),m=n(39829),h=n(82799),f=(n(90293),n(83299));const p="_gxVersion",y=2,g=1;function x(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function G(e){switch(e.type){case"point":return w(e);case"multipoint":return M(e);case"polyline":return _(e);case"polygon":return V(e);case"extent":return C(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function C(e){if(!e.getCacheValue(p)){const t=new i.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(y,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(g,0,e.zmin,e.zmax),e.setCacheValue(p,t)}return e.getCacheValue(p)}function M(e){if(!e.getCacheValue(p)){const t=new a.M,n=new i.P,r=e.points,s=e.hasM,o=e.hasZ,u=o?3:2;for(let e=0,i=r.length;e<i;e++){const i=r[e];n.setXYCoords(i[0],i[1]),o&&n.setZ(i[2]??0),s&&n.setM(i[u]??NaN),t.add(n)}e.setCacheValue(p,t)}return e.getCacheValue(p)}function w(e){if(!e.getCacheValue(p)){const t=new i.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(p,t)}return e.getCacheValue(p)}function V(e){if(!e.getCacheValue(p)){const{curveRings:t,hasM:n,hasZ:r,rings:s}=e,i=(0,f.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:s});e.setCacheValue(p,i)}return e.getCacheValue(p)}function _(e){if(!e.getCacheValue(p)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,i=(0,f.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(p,i)}return e.getCacheValue(p)}function d(e){if(e.wkid)return(0,o.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,o.b)(t):null}function R(e,t){if(e)switch(e.getGeometryType()){case s.G.enumPoint:return Z(e,t);case s.G.enumEnvelope:return v(e,t);case s.G.enumMultiPoint:return P(e,t);case s.G.enumPolyline:return S(e,t);case s.G.enumPolygon:return k(e,t)}return null}function v(e,t){if(e.isEmpty())return null;const n=new u.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(y,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(g,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(p,e),n}function P(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),s=n.hasZ(),a=[],o=new i.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,o);const n=[o.getX(),o.getY()];s&&n.push(o.getZ()),r&&n.push(o.getM()),a.push(n)}const u=new c.A({hasM:r,hasZ:s,points:a,spatialReference:t});return u.setCacheValue(p,e),u}function Z(e,t){if(e instanceof r.P)return new l.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new l.A({x:e.getX(),y:e.getY(),spatialReference:t}),s=e.getDescription();return s.hasM()&&(n.m=e.getM()),s.hasZ()&&(n.z=e.getZ()),n.setCacheValue(p,e),n}function k(e,t){if(e.isEmpty())return null;const n=m.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(p,e),n}function S(e,t){if(e.isEmpty())return null;const n=h.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(p,e),n}},98783:(e,t,n)=>{n.d(t,{O:()=>a});var r=n(76061),s=n(55537),i=n(39117);class a{getOperatorType(){return 10104}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}isSimple(e,t,n,r,s){return 5===(0,i.M)(e,t,n,r,s)}executeMany(e,t,n,r){return new o(e,t,n,r)}execute(e,t,n,i){const a=new r.S([e]),o=this.executeMany(a,t,n,i).next();return o||(0,s.d)("null output"),o}}class o extends r.G{constructor(e,t,n,r){super(),e||(0,s.a)(""),this.m_progressTracker=r,this.m_bForceSimplify=n,this.m_index=-1,this.m_inputGeometryCursor=e,this.m_spatialReference=t}next(){const e=this.m_inputGeometryCursor.next();return e?((0,s.c)(e),this.m_index=this.m_inputGeometryCursor.getGeometryID(),this.simplify(e)):null}getGeometryID(){return this.m_index}tock(){return!1}getRank(){return 1}simplify(e){return e||(0,s.a)(""),(0,i.N)(e,this.m_spatialReference,this.m_bForceSimplify,this.m_progressTracker)}}}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see f651c05604eab83aef5f.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[224],{87843:(e,t,n)=>{n.r(t),n.d(t,{Label:()=>s});var l=n(34088),a=n(46337),i=n(41557),c=n(93174);const o=a.AH`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=block]) .container,:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class s extends i.WF{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=(0,i.lh)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{},{reflect:!0}],for:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=o}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(c.l))}willUpdate(e){e.has("for")&&(0,c.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(c.b))}labelClickHandler(e){"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return a.qy`<div class=${(0,i.CP)("container")}><slot></slot></div>`}}(0,l.c)("calcite-label",s)},93174:(e,t,n)=>{n.d(t,{a:()=>k,b:()=>c,c:()=>m,d:()=>f,g:()=>g,l:()=>i});var l=n(79e3);const a="calciteInternalLabelClick",i="calciteInternalLabelConnected",c="calciteInternalLabelDisconnected",o="calcite-label",s=new WeakMap,r=new WeakMap,d=new WeakMap,b=new WeakMap,h=new Set,u=e=>{const{id:t}=e,n=t&&(0,l.q)(e,{selector:`${o}[for="${t}"]`});if(n)return n;const a=(0,l.l)(e,o);return!a||function(e,t){let n;const l="custom-element-ancestor-check",a=l=>{l.stopImmediatePropagation();const a=l.composedPath();n=a.slice(a.indexOf(t),a.indexOf(e))};e.addEventListener(l,a,{once:!0}),t.dispatchEvent(new CustomEvent(l,{composed:!0,bubbles:!0})),e.removeEventListener(l,a);return n.filter(n=>n!==t&&n!==e).filter(e=>e.tagName?.includes("-")).length>0}(a,e)?null:a};function m(e){if(!e)return;const t=u(e.el);if(r.has(t)&&t===e.labelEl||!t&&h.has(e))return;const n=y.bind(e);if(t){e.labelEl=t;const l=s.get(t)||[];l.push(e),s.set(t,l.sort(p)),r.has(e.labelEl)||(r.set(e.labelEl,v),e.labelEl.addEventListener(a,v)),h.delete(e),document.removeEventListener(i,d.get(e)),b.set(e,n),document.addEventListener(c,n)}else h.has(e)||(n(),document.removeEventListener(c,b.get(e)))}function f(e){if(!e)return;if(h.delete(e),document.removeEventListener(i,d.get(e)),document.removeEventListener(c,b.get(e)),d.delete(e),b.delete(e),!e.labelEl)return;const t=s.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(a,r.get(e.labelEl)),r.delete(e.labelEl)),s.set(e.labelEl,t.filter(t=>t!==e).sort(p)),e.labelEl=null}function p(e,t){return(0,l.m)(e.el,t.el)?-1:1}function g(e){return e.label||e.labelEl?.textContent?.trim()||""}function v(e){const t=e.detail.sourceEvent.target,n=s.get(this),l=n.find(e=>e.el===t);if(n.includes(l))return;const a=n[0];a.disabled||a.onLabelClick(e)}function E(){h.has(this)&&m(this)}function y(){h.add(this);const e=d.get(this)||E.bind(this);d.set(this,e),document.addEventListener(i,e)}async function k(e){if(await e.componentOnReady(),s.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame(()=>{for(const e of h)if(e.el===t){m(e);break}})}}}]);
1
+ /*! For license information please see 3266c3392c24ce6cdd83.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[224],{87843:(e,t,n)=>{n.r(t),n.d(t,{Label:()=>s});var l=n(34088),a=n(46337),i=n(93451),c=n(93174);const o=a.AH`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=block]) .container,:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class s extends i.WF{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=(0,i.lh)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{},{reflect:!0}],for:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=o}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(c.l))}willUpdate(e){e.has("for")&&(0,c.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(c.b))}labelClickHandler(e){"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return a.qy`<div class=${(0,i.CP)("container")}><slot></slot></div>`}}(0,l.c)("calcite-label",s)},93174:(e,t,n)=>{n.d(t,{a:()=>k,b:()=>c,c:()=>m,d:()=>f,g:()=>g,l:()=>i});var l=n(79e3);const a="calciteInternalLabelClick",i="calciteInternalLabelConnected",c="calciteInternalLabelDisconnected",o="calcite-label",s=new WeakMap,r=new WeakMap,d=new WeakMap,b=new WeakMap,h=new Set,u=e=>{const{id:t}=e,n=t&&(0,l.q)(e,{selector:`${o}[for="${t}"]`});if(n)return n;const a=(0,l.l)(e,o);return!a||function(e,t){let n;const l="custom-element-ancestor-check",a=l=>{l.stopImmediatePropagation();const a=l.composedPath();n=a.slice(a.indexOf(t),a.indexOf(e))};e.addEventListener(l,a,{once:!0}),t.dispatchEvent(new CustomEvent(l,{composed:!0,bubbles:!0})),e.removeEventListener(l,a);return n.filter(n=>n!==t&&n!==e).filter(e=>e.tagName?.includes("-")).length>0}(a,e)?null:a};function m(e){if(!e)return;const t=u(e.el);if(r.has(t)&&t===e.labelEl||!t&&h.has(e))return;const n=y.bind(e);if(t){e.labelEl=t;const l=s.get(t)||[];l.push(e),s.set(t,l.sort(p)),r.has(e.labelEl)||(r.set(e.labelEl,v),e.labelEl.addEventListener(a,v)),h.delete(e),document.removeEventListener(i,d.get(e)),b.set(e,n),document.addEventListener(c,n)}else h.has(e)||(n(),document.removeEventListener(c,b.get(e)))}function f(e){if(!e)return;if(h.delete(e),document.removeEventListener(i,d.get(e)),document.removeEventListener(c,b.get(e)),d.delete(e),b.delete(e),!e.labelEl)return;const t=s.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(a,r.get(e.labelEl)),r.delete(e.labelEl)),s.set(e.labelEl,t.filter(t=>t!==e).sort(p)),e.labelEl=null}function p(e,t){return(0,l.m)(e.el,t.el)?-1:1}function g(e){return e.label||e.labelEl?.textContent?.trim()||""}function v(e){const t=e.detail.sourceEvent.target,n=s.get(this),l=n.find(e=>e.el===t);if(n.includes(l))return;const a=n[0];a.disabled||a.onLabelClick(e)}function E(){h.has(this)&&m(this)}function y(){h.add(this);const e=d.get(this)||E.bind(this);d.set(this,e),document.addEventListener(i,e)}async function k(e){if(await e.componentOnReady(),s.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame(()=>{for(const e of h)if(e.el===t){m(e);break}})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2657,3169,8125],{15546:(e,t,n)=>{n.d(t,{a:()=>s,c:()=>o});var r=n(55537),a=n(83661);function o(e,t){if(!e.isEmpty())switch(e.getGeometryType()){case r.G.enumPolygon:return u(e);case r.G.enumPolyline:return m(e.getImpl());case r.G.enumLine:case r.G.enumBezier:case r.G.enumEllipticArc:return function(e){const t=e.calculateLength2D();return 0===t?e.getStartXY():e.calculateWeightedCentroid2D().mul(1/t)}(e);case r.G.enumMultiPoint:return function(e){const t=new a.K(0),n=new a.K(0),r=e.getImpl(),o=r.getAttributeStreamRef(0),s=r.getPointCount(),u=new a.P;for(let e=0;e<s;e++)o.queryPoint2D(2*e,u),t.add(u.x),n.add(u.y);const c=new a.P;return c.setCoords(t.getResult(),n.getResult()),c.divThis(s)}(e);case r.G.enumEnvelope:return e.getCenterXY();case r.G.enumPoint:return e.getXY();default:return a.P.construct(Number.NaN,Number.NaN)}return a.P.construct(Number.NaN,Number.NaN)}function s(e,t){return u(e,t)}function u(e,t=-1){const n=new a.K(0),r=new a.K(0),o=e.getImpl();let s;const u=o.hasNonLinearSegments();let m;const g=o.getXY(0);if(-1===t){if(m=o.calculateArea2D(),0===m)return l(e);u&&(s=o.querySegmentIterator());for(let e=0,t=o.getPathCount();e<t;e++)c(g,o,e,n,r),u&&i(g,s,n,r)}else{if(m=o.calculateRingArea2D(t),0===m)return l(e,t);u&&(s=o.querySegmentIterator(),s.resetToPath(t)),c(g,o,t,n,r),u&&i(g,s,n,r)}const h=new a.P,f=new a.P;return h.setCoords(n.getResult(),r.getResult()),f.assign(h.mul(1/m).add(g)),f}function c(e,t,n,r,o){const s=t.getPathStart(n),u=t.getPathEnd(n);if(u-s<3)return;const c=t.getAttributeStreamRef(0),i=c.readPoint2D(2*s),l=c.readPoint2D(2*(s+1));l.subThis(i);const m=new a.K(0),g=t.hasNonLinearSegments(),h=1/3,f=new a.P;for(let e=s+2;e<u;e++){c.queryPoint2D(2*e,f),f.subThis(i);const t=.5*f.crossProduct(l);g&&m.add(t);const n=h*t;r.add((l.x+f.x)*n),o.add((l.y+f.y)*n),l.setCoordsPoint2D(f)}const d=g?m.getResult():t.calculateRingArea2D(n),y=i.sub(e).mul(d);r.add(y.x),o.add(y.y)}function i(e,t,n,a){let o;for(t.nextPath()||(0,r.d)("centroid");null!==(o=t.nextCurve());){const t=o.calculateWeightedAreaCentroid2D(e);n.add(t.x),a.add(t.y)}}function l(e,t=-1){return m(e.getImpl(),t)}function m(e,t=-1){const n=-1===t?e.calculateLength2D():e.calculatePathLength2D(t);if(0===n)return function(e,t=-1){if(-1!==t)return e.getXY(e.getPathStart(t));const n=new a.K(0),r=new a.K(0);for(let t=0;t<e.getPathCount();++t){const a=e.getXY(e.getPathStart(t));n.add(a.x),r.add(a.y)}return a.P.construct(n.getResult(),r.getResult()).mul(1/e.getPathCount())}(e,t);const r=new a.K(0),o=new a.K(0),s=e.querySegmentIterator();for(-1!==t&&s.resetToPath(t);s.nextPath();){const n=s.getPathIndex(),a=e.getXY(e.getPathStart(n));for(;s.hasNextSegment();){const e=s.nextSegment(),t=e.calculateLength2D();if(0===t)continue;const n=e.calculateWeightedCentroid2D().sub(a.mul(t));r.add(n.x),o.add(n.y)}const u=a.mul(e.calculatePathLength2D(n));if(r.add(u.x),o.add(u.y),-1!==t)break}const u=new a.P;return u.setCoords(r.getResult(),o.getResult()),u.mul(1/n)}},17077:(e,t,n)=>{n.d(t,{execute:()=>r.e});var r=n(48265);n(78125)},48265:(e,t,n)=>{n.d(t,{c:()=>c,e:()=>s});var r=n(15546),a=n(78125);const o=new class{getOperatorType(){return 10205}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,t){return(0,r.c)(e)}};function s(e){const t=o.execute((0,a.fromGeometry)(e),null);return(0,a.toPoint)(t,(0,a.getSpatialReference)(e))}const u=o.supportsCurves(),c=Object.freeze(Object.defineProperty({__proto__:null,execute:s,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>a});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class a extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>x,fromGeometry:()=>P,fromMultipoint:()=>C,fromPoint:()=>G,fromPolygon:()=>w,fromPolyline:()=>R,fromSpatialReference:()=>M,getSpatialReference:()=>p,toExtent:()=>S,toGeometry:()=>v,toMultipoint:()=>V,toPoint:()=>D,toPolygon:()=>N,toPolyline:()=>b});var r=n(83661),a=(n(79187),n(55537)),o=n(95213),s=n(88885),u=n(39117),c=n(5443),i=n(48526),l=n(86738),m=n(39829),g=n(82799),h=(n(90293),n(83299));const f="_gxVersion",d=2,y=1;function p(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function P(e){switch(e.type){case"point":return G(e);case"multipoint":return C(e);case"polyline":return R(e);case"polygon":return w(e);case"extent":return x(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function x(e){if(!e.getCacheValue(f)){const t=new o.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(d,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(y,0,e.zmin,e.zmax),e.setCacheValue(f,t)}return e.getCacheValue(f)}function C(e){if(!e.getCacheValue(f)){const t=new s.M,n=new o.P,r=e.points,a=e.hasM,u=e.hasZ,c=u?3:2;for(let e=0,o=r.length;e<o;e++){const o=r[e];n.setXYCoords(o[0],o[1]),u&&n.setZ(o[2]??0),a&&n.setM(o[c]??NaN),t.add(n)}e.setCacheValue(f,t)}return e.getCacheValue(f)}function G(e){if(!e.getCacheValue(f)){const t=new o.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(f,t)}return e.getCacheValue(f)}function w(e){if(!e.getCacheValue(f)){const{curveRings:t,hasM:n,hasZ:r,rings:a}=e,o=(0,h.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:a});e.setCacheValue(f,o)}return e.getCacheValue(f)}function R(e){if(!e.getCacheValue(f)){const{curvePaths:t,hasM:n,hasZ:r,paths:a}=e,o=(0,h.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:a});e.setCacheValue(f,o)}return e.getCacheValue(f)}function M(e){if(e.wkid)return(0,u.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,u.b)(t):null}function v(e,t){if(e)switch(e.getGeometryType()){case a.G.enumPoint:return D(e,t);case a.G.enumEnvelope:return S(e,t);case a.G.enumMultiPoint:return V(e,t);case a.G.enumPolyline:return b(e,t);case a.G.enumPolygon:return N(e,t)}return null}function S(e,t){if(e.isEmpty())return null;const n=new c.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(d,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(y,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(f,e),n}function V(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),a=n.hasZ(),s=[],u=new o.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,u);const n=[u.getX(),u.getY()];a&&n.push(u.getZ()),r&&n.push(u.getM()),s.push(n)}const c=new i.A({hasM:r,hasZ:a,points:s,spatialReference:t});return c.setCacheValue(f,e),c}function D(e,t){if(e instanceof r.P)return new l.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new l.A({x:e.getX(),y:e.getY(),spatialReference:t}),a=e.getDescription();return a.hasM()&&(n.m=e.getM()),a.hasZ()&&(n.z=e.getZ()),n.setCacheValue(f,e),n}function N(e,t){if(e.isEmpty())return null;const n=m.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(f,e),n}function b(e,t){if(e.isEmpty())return null;const n=g.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(f,e),n}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2510,3169,8125],{36633:(e,t,n)=>{n.d(t,{O:()=>g});var r=n(55537),o=n(79187),s=n(83661),i=n(39117);function a(){return u(new s.P,-1,Number.NaN)}function u(e,t,n){return{m_coordinate:e.clone(),m_vertexIndex:t,m_geometryIndex:0,m_distance:n,m_bRightSide:!1,isEmpty:c}}function c(){return Number.isNaN(this.m_distance)}function l(e,t,n=-1,a=-1){if(e.isEmpty())return 3;const u=e.getGeometryType();if((0,r.f)(u))return function(e,t,n,o){if(n>=0||o>=0)return(0,r.a)("");if(e.isDegenerate(0))return e.getStartXY().equals(t)?2:3;if(!e.isCurve()){const n=s.P.orientationRobust(t,e.getStartXY(),e.getEndXY());return n<0?1:n>0?0:2}const i=e.getClosestCoordinate(t,!1),a=e.getTangent(i),u=e.getCoord2D(i),c=s.P.orientationRobust(t,u,u.add(a));return c<0?1:c>0?0:2}(e,t,n,a);if(u===r.G.enumPolygon)return function(e,t,n,s){(n>=0||s>=0)&&(0,r.a)("");const a=new o.Envelope2D;e.queryEnvelope(a);const u=(0,i.H)(e,t,0);return 0===u?0:1===u?1:2}(e,t,n,a);if(u===r.G.enumPolyline)return function(e,t,n,o){(n<0&&o>=0||n>=0&&o<0)&&(0,r.a)("");const i=e.querySegmentIterator();if(n<0){let e=Number.MAX_VALUE,r=0;for(;i.nextPath();)for(;i.hasNextSegment();){const a=i.nextSegment(),u=a.getClosestCoordinate(t,!1),c=a.getCoord2D(u),l=s.P.sqrDistance(c,t);l<e?(r=1,n=i.getStartPointIndex(),o=i.getPathIndex(),e=l):l===e&&r++}if(0===r)return 3;if(1===r)return i.resetToVertex(n,o),l(i.nextSegment(),t)}const a=function(e,t,n,r){const o={i1:-1,i2:-1,bRight1:!1,bRight2:!1};if(o.i1=function(e,t,n){for(e.resetToVertex(t,n);e.hasNextSegment();)if(!e.nextSegment().isDegenerate(0))return e.getStartPointIndex();for(e.resetToVertex(t,n);e.hasPreviousSegment();)if(!e.previousSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,n,r),-1!==o.i1){t.resetToVertex(o.i1,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r),a=s.P.sqrDistance(i,e);{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),o.bRight1=t.crossProduct(r)<0}if(o.i2=function(e,t){for(e.resetToVertex(t,-1),e.nextSegment();e.hasNextSegment();)if(!e.nextSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,o.i1),-1!==o.i2){t.resetToVertex(o.i2,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r);if(s.P.sqrDistance(i,e)>a)o.i2=-1;else{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),o.bRight2=t.crossProduct(r)<0}}if(-1===o.i2&&(o.i2=function(e,t){for(e.resetToVertex(t,-1);e.hasPreviousSegment();)if(!e.previousSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,o.i1),-1!==o.i2)){t.resetToVertex(o.i2,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r);if(s.P.sqrDistance(i,e)>a)o.i2=-1;else{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),o.bRight2=t.crossProduct(r)<0;const s=o.i1;o.i1=o.i2,o.i2=s;const a=o.bRight1;o.bRight1=o.bRight2,o.bRight2=a}}}return o}(t,i,n,o);if(-1!==a.i1&&-1===a.i2)return a.bRight1?1:0;if(-1!==a.i1&&-1!==a.i2){if(a.bRight1===a.bRight2)return a.bRight1?1:0;{i.resetToVertex(a.i1,-1);const e=i.nextSegment().getTangent(1);i.resetToVertex(a.i2,-1);const t=i.nextSegment().getTangent(0);return e.crossProduct(t)>=0?1:0}}return i.resetToVertex(n,o),l(i.nextSegment(),t)}(e,t,n,a);if(u===r.G.enumEnvelope){const n=new o.Envelope2D;return e.queryEnvelope(n),n.contains(t)?n.containsExclusive(t)?1:2:0}return 3}var m=n(95213);class g{getOperatorType(){return 10500}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}getNearestCoordinate(e,t,n,o){if(t.isNAN()&&(0,r.a)("NAN xy coordinates are not allowed"),e.isEmpty())return a();switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertex(e,t);case r.G.enumMultiPoint:return this.multiVertexGetNearestVertex(e,t);case r.G.enumPolyline:case r.G.enumPolygon:return this.multiPathGetNearestCoordinate(e,t,n,o);default:(0,r.t)("")}}getNearestVertex(e,t){if(t.isNAN()&&(0,r.a)("NAN xy coordinates are not allowed"),e.isEmpty())return a();switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertex(e,t);case r.G.enumMultiPoint:case r.G.enumPolyline:case r.G.enumPolygon:return this.multiVertexGetNearestVertex(e,t);default:(0,r.t)("")}}getNearestVertices(e,t,n,o){if(0===o&&(0,r.a)(""),t.isNAN()&&(0,r.a)("NAN xy coordinates are not allowed"),e.isEmpty())return[];switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertices(e,t,n,o);case r.G.enumMultiPoint:case r.G.enumPolyline:case r.G.enumPolygon:return this.multiVertexGetNearestVertices(e,t,n,o);default:(0,r.t)("")}}multiPathGetNearestCoordinate(e,t,n,a){if(e.getGeometryType()===r.G.enumPolygon&&n){const n=new o.Envelope2D;e.queryEnvelope(n);const r=(0,m.a)(null,n,!1);let s;if(s=(0,i.H)(e,t,a?0:r),0!==s){const e=u(t,-1,0);return a&&(e.m_bRightSide=!0),e}}const c=e.querySegmentIterator(),g=new s.P;let f=-1,h=-1,x=Number.MAX_VALUE,y=0;for(;c.nextPath();)for(;c.hasNextSegment();){const e=c.nextSegment(),n=e.getClosestCoordinate(t,!1),r=e.getCoord2D(n),o=s.P.sqrDistance(r,t);o<x?(y=1,g.assign(r),f=c.getStartPointIndex(),h=c.getPathIndex(),x=o):o===x&&y++}-1===f&&(0,r.a)("");const d=u(g,f,Math.sqrt(x));if(a)if(e.getGeometryType()!==r.G.enumPolygon){let n=!1;if(y>1){const r=l(e,t,f,h);n=0!==r&&3!==r}else c.resetToVertex(f,h),n=0!==l(c.nextSegment(),t);d.m_bRightSide=n}else n||0!==(0,i.H)(e,t,0)&&(d.m_bRightSide=!0);return d}pointGetNearestVertex(e,t){const n=e.getXY();return u(n,0,s.P.distance(n,t))}multiVertexGetNearestVertex(e,t){const n=e.getAttributeStreamRef(0),r=e.getPointCount();let o=-1;const i=new s.P;let a=Number.MAX_VALUE;const c=new s.P;for(let e=0;e<r;e++){n.queryPoint2D(2*e,c);const r=s.P.sqrDistance(c,t);r<a&&(i.assign(c),o=e,a=r)}return u(i,o,Math.sqrt(a))}pointGetNearestVertices(e,t,n,r){const o=[];if(0!==r){const r=n*n,i=e.getXY(),a=s.P.sqrDistance(i,t);a<=r&&o.push(u(i,0,Math.sqrt(a)))}return o}multiVertexGetNearestVertices(e,t,n,r){const o=[];if(0!==r){const i=e.getAttributeStreamRef(0),a=e.getPointCount();o.length=r+1;const c=n*n;for(let e=0;e<a;e++){const n=i.read(2*e),r=i.read(2*e+1),a=t.x-n,l=t.y-r,m=a*a+l*l;m<=c&&o.push(u(s.P.construct(n,r),e,Math.sqrt(m)))}o.sort((e,t)=>e.m_distance-t.m_distance)}return o.slice(0,r)}}},64064:(e,t,n)=>{n.d(t,{executeNearestVertex:()=>u});var r=n(95213),o=n(36633),s=n(78125);function i(e,t,n){if(e.getPointCount()<=0)return"left";const r=e.querySegmentIteratorAtVertex(n),o=r.hasPreviousSegment()?r.previousSegment():r.nextSegment();return function(e,t,n){const r=(t.x-e.x)*(n.y-e.y)-(n.x-e.x)*(t.y-e.y);return r>0?"left":r<0?"right":"straddle"}(o.getStartXY(),o.getEndXY(),t)}const a=new o.O;function u(e,t){const n=(0,s.fromGeometry)(e),o=(0,s.fromPoint)(t).getXY(),u=a.getNearestVertex(n,o);if(u.isEmpty())return null;switch(e.type){case"point":return{coordinate:e,distance:u.m_distance,sideOfLine:0===u.m_distance?"straddle":"left"};case"multipoint":{const t=new r.P;return n.getPointByVal(u.m_vertexIndex,t),{coordinate:(0,s.toPoint)(t,(0,s.getSpatialReference)(e)),distance:u.m_distance,sideOfLine:0===u.m_distance?"straddle":"left"}}case"polyline":case"polygon":{const t=new r.P;return n.getPointByVal(u.m_vertexIndex,t),{coordinate:(0,s.toPoint)(t,(0,s.getSpatialReference)(e)),distance:u.m_distance,sideOfLine:i(n,o,u.m_vertexIndex)}}default:throw new Error(`Unsupported geometry type: ${e.type}`)}}},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>o});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class o extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>P,fromGeometry:()=>p,fromMultipoint:()=>G,fromPoint:()=>V,fromPolygon:()=>S,fromPolyline:()=>C,fromSpatialReference:()=>N,getSpatialReference:()=>d,toExtent:()=>R,toGeometry:()=>w,toMultipoint:()=>v,toPoint:()=>b,toPolygon:()=>M,toPolyline:()=>_});var r=n(83661),o=(n(79187),n(55537)),s=n(95213),i=n(88885),a=n(39117),u=n(5443),c=n(48526),l=n(86738),m=n(39829),g=n(82799),f=(n(90293),n(83299));const h="_gxVersion",x=2,y=1;function d(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function p(e){switch(e.type){case"point":return V(e);case"multipoint":return G(e);case"polyline":return C(e);case"polygon":return S(e);case"extent":return P(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function P(e){if(!e.getCacheValue(h)){const t=new s.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(x,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(y,0,e.zmin,e.zmax),e.setCacheValue(h,t)}return e.getCacheValue(h)}function G(e){if(!e.getCacheValue(h)){const t=new i.M,n=new s.P,r=e.points,o=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,s=r.length;e<s;e++){const s=r[e];n.setXYCoords(s[0],s[1]),a&&n.setZ(s[2]??0),o&&n.setM(s[u]??NaN),t.add(n)}e.setCacheValue(h,t)}return e.getCacheValue(h)}function V(e){if(!e.getCacheValue(h)){const t=new s.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(h,t)}return e.getCacheValue(h)}function S(e){if(!e.getCacheValue(h)){const{curveRings:t,hasM:n,hasZ:r,rings:o}=e,s=(0,f.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:o});e.setCacheValue(h,s)}return e.getCacheValue(h)}function C(e){if(!e.getCacheValue(h)){const{curvePaths:t,hasM:n,hasZ:r,paths:o}=e,s=(0,f.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:o});e.setCacheValue(h,s)}return e.getCacheValue(h)}function N(e){if(e.wkid)return(0,a.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,a.b)(t):null}function w(e,t){if(e)switch(e.getGeometryType()){case o.G.enumPoint:return b(e,t);case o.G.enumEnvelope:return R(e,t);case o.G.enumMultiPoint:return v(e,t);case o.G.enumPolyline:return _(e,t);case o.G.enumPolygon:return M(e,t)}return null}function R(e,t){if(e.isEmpty())return null;const n=new u.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(x,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(y,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(h,e),n}function v(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),o=n.hasZ(),i=[],a=new s.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,a);const n=[a.getX(),a.getY()];o&&n.push(a.getZ()),r&&n.push(a.getM()),i.push(n)}const u=new c.A({hasM:r,hasZ:o,points:i,spatialReference:t});return u.setCacheValue(h,e),u}function b(e,t){if(e instanceof r.P)return new l.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new l.A({x:e.getX(),y:e.getY(),spatialReference:t}),o=e.getDescription();return o.hasM()&&(n.m=e.getM()),o.hasZ()&&(n.z=e.getZ()),n.setCacheValue(h,e),n}function M(e,t){if(e.isEmpty())return null;const n=m.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(h,e),n}function _(e,t){if(e.isEmpty())return null;const n=g.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(h,e),n}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3169,8125,8411],{76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>o});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class o extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>C,fromGeometry:()=>G,fromMultipoint:()=>M,fromPoint:()=>v,fromPolygon:()=>V,fromPolyline:()=>w,fromSpatialReference:()=>d,getSpatialReference:()=>x,toExtent:()=>R,toGeometry:()=>P,toMultipoint:()=>Z,toPoint:()=>_,toPolygon:()=>k,toPolyline:()=>z});var r=n(83661),o=(n(79187),n(55537)),a=n(95213),s=n(88885),u=n(39117),i=n(5443),c=n(48526),l=n(86738),m=n(39829),f=n(82799),h=(n(90293),n(83299));const g="_gxVersion",p=2,y=1;function x(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function G(e){switch(e.type){case"point":return v(e);case"multipoint":return M(e);case"polyline":return w(e);case"polygon":return V(e);case"extent":return C(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function C(e){if(!e.getCacheValue(g)){const t=new a.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(p,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(y,0,e.zmin,e.zmax),e.setCacheValue(g,t)}return e.getCacheValue(g)}function M(e){if(!e.getCacheValue(g)){const t=new s.M,n=new a.P,r=e.points,o=e.hasM,u=e.hasZ,i=u?3:2;for(let e=0,a=r.length;e<a;e++){const a=r[e];n.setXYCoords(a[0],a[1]),u&&n.setZ(a[2]??0),o&&n.setM(a[i]??NaN),t.add(n)}e.setCacheValue(g,t)}return e.getCacheValue(g)}function v(e){if(!e.getCacheValue(g)){const t=new a.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(g,t)}return e.getCacheValue(g)}function V(e){if(!e.getCacheValue(g)){const{curveRings:t,hasM:n,hasZ:r,rings:o}=e,a=(0,h.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:o});e.setCacheValue(g,a)}return e.getCacheValue(g)}function w(e){if(!e.getCacheValue(g)){const{curvePaths:t,hasM:n,hasZ:r,paths:o}=e,a=(0,h.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:o});e.setCacheValue(g,a)}return e.getCacheValue(g)}function d(e){if(e.wkid)return(0,u.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,u.b)(t):null}function P(e,t){if(e)switch(e.getGeometryType()){case o.G.enumPoint:return _(e,t);case o.G.enumEnvelope:return R(e,t);case o.G.enumMultiPoint:return Z(e,t);case o.G.enumPolyline:return z(e,t);case o.G.enumPolygon:return k(e,t)}return null}function R(e,t){if(e.isEmpty())return null;const n=new i.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(p,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(y,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(g,e),n}function Z(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),o=n.hasZ(),s=[],u=new a.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,u);const n=[u.getX(),u.getY()];o&&n.push(u.getZ()),r&&n.push(u.getM()),s.push(n)}const i=new c.A({hasM:r,hasZ:o,points:s,spatialReference:t});return i.setCacheValue(g,e),i}function _(e,t){if(e instanceof r.P)return new l.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new l.A({x:e.getX(),y:e.getY(),spatialReference:t}),o=e.getDescription();return o.hasM()&&(n.m=e.getM()),o.hasZ()&&(n.z=e.getZ()),n.setCacheValue(g,e),n}function k(e,t){if(e.isEmpty())return null;const n=m.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(g,e),n}function z(e,t){if(e.isEmpty())return null;const n=f.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(g,e),n}},85503:(e,t,n)=>{n.d(t,{d:()=>l,e:()=>i});var r=n(4576),o=n(34727),a=n(86211),s=n(91735),u=n(78125);function i(e,t,n={}){let{maxAngleInDegrees:r=0,maxDeviation:i=0,unit:c}=n;const l=(0,u.getSpatialReference)(e);return c&&(t=(0,a.UW)(t,c,l),i&&(i=(0,a.UW)(i,c,l))),(0,u.toGeometry)((0,s.g7)((0,u.fromGeometry)(e),t,i,(0,o.kU)(r)),l)}const c=(0,s.fz)(),l=Object.freeze(Object.defineProperty({__proto__:null,execute:i,executeMany:function(e,t,n={}){let{maxAngleInDegrees:i=0,maxDeviation:c=0,unit:l}=n;const m=e.map(u.fromGeometry),f=(0,u.getSpatialReference)(e);return l&&(t=(0,a.UW)(t,l,f),c&&(c=(0,a.UW)(c,l,f))),(0,s.zo)(m,t,c,(0,o.kU)(i)).map(e=>(0,u.toGeometry)(e,f)).filter(r.Ru)},supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},88411:(e,t,n)=>{n.d(t,{execute:()=>r.e}),n(4576),n(34727),n(86211),n(91735),n(78125);var r=n(85503)},91735:(e,t,n)=>{n.d(t,{fz:()=>u,g7:()=>a,zo:()=>s});var r=n(76061);const o=new(n(5247).O);function a(e,t,n,r){return o.execute(e,t,n,r,null)}function s(e,t,n,a){const s=o.executeMany(new r.S(e),t,n,a,null);return Array.from(s)}function u(){return o.supportsCurves()}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3169,4815,8125],{24815:(e,t,n)=>{n.d(t,{execute:()=>r.e}),n(96027),n(78125);var r=n(83587)},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>o});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class o extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>C,fromGeometry:()=>G,fromMultipoint:()=>M,fromPoint:()=>v,fromPolygon:()=>V,fromPolyline:()=>w,fromSpatialReference:()=>P,getSpatialReference:()=>x,toExtent:()=>d,toGeometry:()=>R,toMultipoint:()=>Z,toPoint:()=>E,toPolygon:()=>_,toPolyline:()=>S});var r=n(83661),o=(n(79187),n(55537)),a=n(95213),s=n(88885),u=n(39117),i=n(5443),c=n(48526),l=n(86738),m=n(39829),f=n(82799),h=(n(90293),n(83299));const p="_gxVersion",y=2,g=1;function x(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function G(e){switch(e.type){case"point":return v(e);case"multipoint":return M(e);case"polyline":return w(e);case"polygon":return V(e);case"extent":return C(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function C(e){if(!e.getCacheValue(p)){const t=new a.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(y,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(g,0,e.zmin,e.zmax),e.setCacheValue(p,t)}return e.getCacheValue(p)}function M(e){if(!e.getCacheValue(p)){const t=new s.M,n=new a.P,r=e.points,o=e.hasM,u=e.hasZ,i=u?3:2;for(let e=0,a=r.length;e<a;e++){const a=r[e];n.setXYCoords(a[0],a[1]),u&&n.setZ(a[2]??0),o&&n.setM(a[i]??NaN),t.add(n)}e.setCacheValue(p,t)}return e.getCacheValue(p)}function v(e){if(!e.getCacheValue(p)){const t=new a.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(p,t)}return e.getCacheValue(p)}function V(e){if(!e.getCacheValue(p)){const{curveRings:t,hasM:n,hasZ:r,rings:o}=e,a=(0,h.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:o});e.setCacheValue(p,a)}return e.getCacheValue(p)}function w(e){if(!e.getCacheValue(p)){const{curvePaths:t,hasM:n,hasZ:r,paths:o}=e,a=(0,h.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:o});e.setCacheValue(p,a)}return e.getCacheValue(p)}function P(e){if(e.wkid)return(0,u.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,u.b)(t):null}function R(e,t){if(e)switch(e.getGeometryType()){case o.G.enumPoint:return E(e,t);case o.G.enumEnvelope:return d(e,t);case o.G.enumMultiPoint:return Z(e,t);case o.G.enumPolyline:return S(e,t);case o.G.enumPolygon:return _(e,t)}return null}function d(e,t){if(e.isEmpty())return null;const n=new i.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(y,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(g,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(p,e),n}function Z(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),o=n.hasZ(),s=[],u=new a.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,u);const n=[u.getX(),u.getY()];o&&n.push(u.getZ()),r&&n.push(u.getM()),s.push(n)}const i=new c.A({hasM:r,hasZ:o,points:s,spatialReference:t});return i.setCacheValue(p,e),i}function E(e,t){if(e instanceof r.P)return new l.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new l.A({x:e.getX(),y:e.getY(),spatialReference:t}),o=e.getDescription();return o.hasM()&&(n.m=e.getM()),o.hasZ()&&(n.z=e.getZ()),n.setCacheValue(p,e),n}function _(e,t){if(e.isEmpty())return null;const n=m.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}function S(e,t){if(e.isEmpty())return null;const n=f.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}},83587:(e,t,n)=>{n.d(t,{c:()=>u,e:()=>a});var r=n(96027),o=n(78125);function a(e,t){const n=(0,o.getSpatialReference)(e),a=(0,o.fromExtent)(t).asEnvelope2D();return(0,o.toGeometry)((0,r.g7)((0,o.fromGeometry)(e),a,(0,o.fromSpatialReference)(n)),n)}const s=(0,r.fz)(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:a,executeMany:function(e,t){const n=e.map(o.fromGeometry),a=(0,o.getSpatialReference)(e),s=(0,o.fromExtent)(t).asEnvelope2D();return(0,r.zo)(n,s,(0,o.fromSpatialReference)(a)).map(e=>(0,o.toGeometry)(e,a))},supportsCurves:s},Symbol.toStringTag,{value:"Module"}))},96027:(e,t,n)=>{n.d(t,{fz:()=>u,g7:()=>a,zo:()=>s});var r=n(76061);const o=new(n(31139).O);function a(e,t,n){return o.execute(e,t,n,null)}function s(e,t,n){const a=o.executeMany(new r.S(e),t,n,null);return Array.from(a)}function u(){return o.supportsCurves()}}}]);