@arcgis/core 4.34.0-next.93 → 4.34.0-next.95

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 (850) hide show
  1. package/analysis/ElevationProfile/ElevationProfileDisplayUnits.d.ts +4 -0
  2. package/analysis/ElevationProfile/{ElevationProfileUnits.js → ElevationProfileDisplayUnits.js} +1 -1
  3. package/analysis/ElevationProfile/ElevationProfileViewOptions.js +1 -1
  4. package/analysis/ElevationProfileAnalysis.js +1 -1
  5. package/analysis/VolumeMeasurementAnalysis.js +1 -1
  6. package/analysis/featureReferenceUtils.js +1 -1
  7. package/applications/Components/featureUtils.d.ts +1 -0
  8. package/applications/Components/featureUtils.js +1 -1
  9. package/applications/KnowledgeStudio/resourceSerializationUtils.js +1 -1
  10. package/assets/esri/core/workers/RemoteClient.js +1 -1
  11. package/assets/esri/core/workers/chunks/{57c08ccb75e3135978d1.js → 0086a09441627842d34a.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{35ca317490540fae437c.js → 04c30eec4387078cd38f.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{155dcbd957f8787a45c3.js → 05eee334d58a0b9f6316.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{0f37204f86d2997a2811.js → 06e60fc7715d08ede59d.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{94ddf029698991d853b9.js → 0811ac64d08454460fb1.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{6391ce002fbde9f27a77.js → 081a7082dc281ca7662a.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{3c3b1dc95f03082e4d5b.js → 083f1c2fd0b59a0bf4c3.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{9d9a639f7388a29e7c96.js → 08ee3a97d2b8adb44ea9.js} +1 -1
  19. package/assets/esri/core/workers/chunks/097e5deb51ee7e25e654.js +1 -0
  20. package/assets/esri/core/workers/chunks/{c86ca87959f04075e834.js → 0a7efed82d8e47290147.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{147f6e7b147beaa4ed29.js → 0d94a08769727875bf0e.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{e2fdc4dc1ab9decd731e.js → 135e270b4f03c4270870.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{c6cae8471c5d4ae40c65.js → 145c6a7cdcc9893efb27.js} +1 -1
  24. package/assets/esri/core/workers/chunks/{0cfded1acf92f89a13cb.js → 14ace5dc4b8984212a57.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{39a5863355cccaabd2d6.js → 1762ff76350065750c75.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{d9d86cf0500fa29d1d43.js → 188272af9a6470ccfe31.js} +1 -1
  27. package/assets/esri/core/workers/chunks/{ce8f56cf371812b57a46.js → 19699769deff862e29ce.js} +1 -1
  28. package/assets/esri/core/workers/chunks/{bf9d09493fd849ea69fd.js → 1fd459234917a51b6ae1.js} +1 -1
  29. package/assets/esri/core/workers/chunks/20f4c6d8b310ecab97be.js +1 -0
  30. package/assets/esri/core/workers/chunks/{0aaaf4d1c4a5d284216e.js → 22bb877b85ae250d7819.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{05072093e0209ef5db20.js → 24c14e4a1d2a2267097e.js} +1 -1
  32. package/assets/esri/core/workers/chunks/25639559336109ff3df1.js +1 -0
  33. package/assets/esri/core/workers/chunks/{e5d974593043d5e2b502.js → 2795a2817ebe3298c350.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{71fef0a33b7ed9456e47.js → 28a5f8978817e0471a2a.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{07a7ca89ef2ca4fc090b.js → 2a30afa043e3f88655d9.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{41f275401e1cde7eee20.js → 2a8b75d2445680571759.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{6b208f5d423da64c8559.js → 2a900a632a1231deb713.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{0e5e565df6ec71445f2e.js → 2bbe8277578b033f92d4.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{48133effac2eacc2196e.js → 2bf29faeb23120dc1916.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{77e611724a499d36eacc.js → 2c72e185b780bbbb1c9f.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{38d874d7f815f5329420.js → 2ca8b0c1ca399fd5dc2f.js} +1 -1
  42. package/assets/esri/core/workers/chunks/{c799f1c03cb22ef52f5f.js → 2d51e9c9b73301b6879c.js} +1 -1
  43. package/assets/esri/core/workers/chunks/{cd0c222a36caa7f80860.js → 2e4dccee7ea387263f15.js} +1 -1
  44. package/assets/esri/core/workers/chunks/{0856cd281efd71bfe3c4.js → 3116b35a92cc0afd9fd3.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{c27783ce7ea51a5e49c5.js → 319c3f46f2afb8f3e5a9.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{b8f55ee77ab6ea4c289e.js → 326a76a4e80269d4029d.js} +1 -1
  47. package/assets/esri/core/workers/chunks/{28bb6896c5fd353ca5e9.js → 3367b8565226646decec.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{c38360d912f256519e06.js → 3496e025e48cf580250d.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{4753793daf0b7ff8b5ff.js → 35255e2b980f650490d8.js} +1 -1
  50. package/assets/esri/core/workers/chunks/37d05d9796917c3d4b7a.js +1 -0
  51. package/assets/esri/core/workers/chunks/{7b17f52019762aa21af8.js → 3815ffa13e7b439bca6e.js} +1 -1
  52. package/assets/esri/core/workers/chunks/3a2d4b78a48ebb181105.js +1 -0
  53. package/assets/esri/core/workers/chunks/{de34c21d3e6913befe5a.js → 3b65d6a78fbffca37fbd.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{c473b15d4d52f0a63d20.js → 3c78208a97c4cbd8d6d1.js} +1 -1
  55. package/assets/esri/core/workers/chunks/3ccdce156b906574bd29.js +1 -0
  56. package/assets/esri/core/workers/chunks/{68f5a2d2666636c3f807.js → 40b81d1c2d53cf598b8e.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{f3284d4e0d41efb0b4a0.js → 441ead5bce80f639934e.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{97eb2cfc1f036feea9a9.js → 44c3b5a507814103f4b4.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{6f29951f5a2da068b257.js → 456161a323be7d640c61.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{b18887a6dc86f0c8324a.js → 48646f3d95a3f2b17e78.js} +1 -1
  61. package/assets/esri/core/workers/chunks/49571d6875de1f2e7e25.js +33 -0
  62. package/assets/esri/core/workers/chunks/{1bbc0dfad4cd72a1c42b.js → 4a2bf3c8da24abd8b9e2.js} +6 -6
  63. package/assets/esri/core/workers/chunks/4b13749b74059a7837d2.js +1 -0
  64. package/assets/esri/core/workers/chunks/{c8e4fe0e3b109eb80e8e.js → 4b83b45df0c4005d078d.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{896c7d137bfd7a8fa0bc.js → 4f01be74dd26e639330f.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{b5c829e904bc9cb5347d.js → 50a5caa96c111dda5c60.js} +1 -1
  67. package/assets/esri/core/workers/chunks/50e1c63d0b6196dd365e.js +1 -0
  68. package/assets/esri/core/workers/chunks/{899f493412acd5a5d91f.js → 5132ca68e8c7af111a47.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{d08b80583a23ba253c7e.js → 56916e56c20465428dd4.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{bbdadced49446c907361.js → 578789c040846ea3759b.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{f62717338075df626eda.js → 5a527a47285a5995cff9.js} +1 -1
  72. package/assets/esri/core/workers/chunks/5cb92abb1f0f38bd0eab.js +1 -0
  73. package/assets/esri/core/workers/chunks/{56edb55b53779e7fd31e.js → 5d2e5774768d8f290343.js} +1 -1
  74. package/assets/esri/core/workers/chunks/{6e5175b43220d6692263.js → 5d3661d1fe46dd29aae9.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{0652d7e525d99e39c957.js → 5fb2ce028b371b3a8acb.js} +1 -1
  76. package/assets/esri/core/workers/chunks/63019a7eb5222dc5e420.js +1 -0
  77. package/assets/esri/core/workers/chunks/{71c6c0b26253c4ca1b68.js → 630efe10c871425b6a95.js} +1 -1
  78. package/assets/esri/core/workers/chunks/64629ddcf008349eaf41.js +1 -0
  79. package/assets/esri/core/workers/chunks/{61e8e159f1f336569b27.js → 65111858957f43eacd8c.js} +1 -1
  80. package/assets/esri/core/workers/chunks/{0427f66b56ec6601deb0.js → 6ac90d88e5f931b1a003.js} +1 -1
  81. package/assets/esri/core/workers/chunks/6c842b955fdd40b39914.js +1 -0
  82. package/assets/esri/core/workers/chunks/{08b0fc6bfe9640ee2525.js → 6cd379bb66dc4cf5d2bf.js} +1 -1
  83. package/assets/esri/core/workers/chunks/{1f2d13466c60a6b57717.js → 6e5b3bbee054d072b594.js} +1 -1
  84. package/assets/esri/core/workers/chunks/6ec77a8142fbfa805b5a.js +1 -0
  85. package/assets/esri/core/workers/chunks/{541bffd61006d0e36166.js → 6f4bd0ee85e7e5a74340.js} +1 -1
  86. package/assets/esri/core/workers/chunks/{648c91a9822bc9d6ee47.js → 701a1835684cf815bcb7.js} +1 -1
  87. package/assets/esri/core/workers/chunks/{f71b76c9506178124fa3.js → 70af1b5b3d2f3f395441.js} +1 -1
  88. package/assets/esri/core/workers/chunks/{d7adef4093ce19ad356d.js → 72846fb9c87c6642daf0.js} +1 -1
  89. package/assets/esri/core/workers/chunks/{f88fe2e8fbc763bdc940.js → 73c1d43070b4fe1e5c1e.js} +1 -1
  90. package/assets/esri/core/workers/chunks/{cab2a1382bdd32bb34d8.js → 7421f9575487cdc9e28e.js} +1 -1
  91. package/assets/esri/core/workers/chunks/{a845c68e76382a73da5e.js → 7633537dc0c65d655baf.js} +1 -1
  92. package/assets/esri/core/workers/chunks/{82e0d22619dc26920ca9.js → 7698f4f4471b6e1c12ef.js} +1 -1
  93. package/assets/esri/core/workers/chunks/{9a0b9d931c1a29e81475.js → 76e444bd625cf3d35877.js} +1 -1
  94. package/assets/esri/core/workers/chunks/{b265472ac3f949a7f40c.js → 773d76253588bcf14eaa.js} +1 -1
  95. package/assets/esri/core/workers/chunks/{77705d0c7c17bd46d81a.js → 7810f870d71f80ca4f41.js} +1 -1
  96. package/assets/esri/core/workers/chunks/{56de25a6fe659a5b5c2b.js → 78b35a19332e58c8c279.js} +1 -1
  97. package/assets/esri/core/workers/chunks/{e4833b718a813a8d125b.js → 79012b873d2b7786be77.js} +1 -1
  98. package/assets/esri/core/workers/chunks/7a6a96edc892d7060b7d.js +1 -0
  99. package/assets/esri/core/workers/chunks/7b3ff47cdbb6af38530d.js +1 -0
  100. package/assets/esri/core/workers/chunks/{04dbdaa63c950f32b8f0.js → 7e8f7fa884d6d41ebae2.js} +1 -1
  101. package/assets/esri/core/workers/chunks/81bbe5251ed13c0d91cc.js +1 -0
  102. package/assets/esri/core/workers/chunks/{0037abf0a82d1ed32e91.js → 8215015f11221a354273.js} +1 -1
  103. package/assets/esri/core/workers/chunks/{cb6a9b43406f4fbe10b2.js → 82f1cd3896401c85df35.js} +1 -1
  104. package/assets/esri/core/workers/chunks/{2bb61f80473b495163e3.js → 83ab8c8bc9e6990114a8.js} +1 -1
  105. package/assets/esri/core/workers/chunks/{03b455e9405a8b6fec68.js → 8659abd4b46f153b6902.js} +1 -1
  106. package/assets/esri/core/workers/chunks/{19bd0b56d82446dbb7c5.js → 868ee8f429e7caddc045.js} +1 -1
  107. package/assets/esri/core/workers/chunks/{ad67e5eb4b8c0c14cea6.js → 86b978a48b539e9fc5b8.js} +1 -1
  108. package/assets/esri/core/workers/chunks/{4dfcd03082be83600f3a.js → 88add09190569b04e824.js} +1 -1
  109. package/assets/esri/core/workers/chunks/{65e279516170ddbd4a65.js → 89027f6800e17fab8973.js} +1 -1
  110. package/assets/esri/core/workers/chunks/{3e11a893271caa11a881.js → 8ad8fe758c615fcf2185.js} +1 -1
  111. package/assets/esri/core/workers/chunks/{a6533bab3b2fbc1e2a47.js → 8b16aa50d879b92a5375.js} +1 -1
  112. package/assets/esri/core/workers/chunks/{edaf059c7ea18088c3dd.js → 91df8638b8b904e6d8c5.js} +1 -1
  113. package/assets/esri/core/workers/chunks/92c306d02569e7cd9af3.js +1 -0
  114. package/assets/esri/core/workers/chunks/{fdadf11f31384c09db9f.js → 94486f3fcba48fa93aa8.js} +1 -1
  115. package/assets/esri/core/workers/chunks/{8513c9282c44bb0a736e.js → 9834bc11586a2d8d6f35.js} +1 -1
  116. package/assets/esri/core/workers/chunks/{a0fab8cd791c33d3895d.js → 98dbafa4d45fdf790fff.js} +1 -1
  117. package/assets/esri/core/workers/chunks/{2b867cec6ada339f1c8f.js → 9958a3ed4aa787d19e00.js} +1 -1
  118. package/assets/esri/core/workers/chunks/9a723d739ac44b45432c.js +1 -0
  119. package/assets/esri/core/workers/chunks/{4660798b3b45dcb5cecb.js → 9b0ea5e50aeeea615592.js} +14 -14
  120. package/assets/esri/core/workers/chunks/9c6fc4fe2c46f40d63d9.js +1 -0
  121. package/assets/esri/core/workers/chunks/a1c4509a3865139eb570.js +1 -0
  122. package/assets/esri/core/workers/chunks/{992b1389710d716d3450.js → a410dcf80d17a2383337.js} +1 -1
  123. package/assets/esri/core/workers/chunks/{db5a985ccc6b7d0ad855.js → a7bd294996e6c8b8354a.js} +1 -1
  124. package/assets/esri/core/workers/chunks/{80a155496deef2c02a3e.js → a878061845e594b2d72c.js} +1 -1
  125. package/assets/esri/core/workers/chunks/{8f426cb210a4250517d5.js → ad3e18c4c65aa2cd1ceb.js} +1 -1
  126. package/assets/esri/core/workers/chunks/{0328eaea66c1db98da1c.js → ae807912acc19a166264.js} +1 -1
  127. package/assets/esri/core/workers/chunks/{0a981061df08da19372c.js → ae8c387d59be87457567.js} +1 -1
  128. package/assets/esri/core/workers/chunks/{5caf49e679ed0c27e0bd.js → aea8553a2aa54cfd694b.js} +1 -1
  129. package/assets/esri/core/workers/chunks/{0ceb68ff73e5d39e837a.js → b13ccda702b714fe6161.js} +1 -1
  130. package/assets/esri/core/workers/chunks/b1f667006cba60ef4aa7.js +1 -0
  131. package/assets/esri/core/workers/chunks/{70c8f69eed14d55c5cf6.js → b2add7338258ca7c24dd.js} +1 -1
  132. package/assets/esri/core/workers/chunks/b2d9f4e057af26a538fb.js +1 -0
  133. package/assets/esri/core/workers/chunks/b4ea675831627d9808dd.js +1 -0
  134. package/assets/esri/core/workers/chunks/{8de9e50de0ac66ae1573.js → b8339c1d60847a9eed3e.js} +1 -1
  135. package/assets/esri/core/workers/chunks/bae0dfe9a2f5aabae42c.js +1 -0
  136. package/assets/esri/core/workers/chunks/{95bae3c275f1483eb7ed.js → bcff6178e9d16b1b6191.js} +1 -1
  137. package/assets/esri/core/workers/chunks/{2845a0810e9c00bf30f8.js → bf775fe489213cfc08b1.js} +1 -1
  138. package/assets/esri/core/workers/chunks/{4823e4522bd7379d858e.js → bfc1e8aec7aace3ff30e.js} +1 -1
  139. package/assets/esri/core/workers/chunks/{20003728a679479b14dc.js → c31583229a1100b66a18.js} +1 -1
  140. package/assets/esri/core/workers/chunks/{9346437b152b20bdcf8a.js → c941d15190fc08523d0d.js} +1 -1
  141. package/assets/esri/core/workers/chunks/{5746c4861af83c1d57a8.js → cf11b1dcc2cff30229b6.js} +1 -1
  142. package/assets/esri/core/workers/chunks/{f6806780ca2aa591475a.js → cf13625a033f9903655f.js} +1 -1
  143. package/assets/esri/core/workers/chunks/d28ea91f7458daa67fae.js +1 -0
  144. package/assets/esri/core/workers/chunks/{1990162dcf73601d54f7.js → d3cd9c24edf7520d0824.js} +1 -1
  145. package/assets/esri/core/workers/chunks/{bec9ddd38c9ab9f2561b.js → d4f16c2b9297a479731e.js} +1 -1
  146. package/assets/esri/core/workers/chunks/{73db6c070b049fe05147.js → d57edb77c6deee36cce5.js} +1 -1
  147. package/assets/esri/core/workers/chunks/{6e4ec9fa931c69e4e4ba.js → da573ecc68e6aa8f6da9.js} +1 -1
  148. package/assets/esri/core/workers/chunks/{bdf0ab95401c6d8fbc7d.js → db559437b571462fb3db.js} +1 -1
  149. package/assets/esri/core/workers/chunks/{512dcd6e34e217029391.js → deb2854bb7d082a26f52.js} +1 -1
  150. package/assets/esri/core/workers/chunks/{5993427325d1add18ed9.js → dede989d59c4b416af68.js} +1 -1
  151. package/assets/esri/core/workers/chunks/{18e9cb71fa020e93d139.js → df5ecb3339d9301a6f5b.js} +1 -1
  152. package/assets/esri/core/workers/chunks/{e22b400636094fc7b6c0.js → dfbf2e17058aa876f96a.js} +1 -1
  153. package/assets/esri/core/workers/chunks/dfc37c2ce51e6a34fd87.js +1 -0
  154. package/assets/esri/core/workers/chunks/dff8e15958423e0212e5.js +1 -0
  155. package/assets/esri/core/workers/chunks/{c5c6a32a24005478c976.js → e032f3d2ee19790f8c79.js} +1 -1
  156. package/assets/esri/core/workers/chunks/{3d7923d25734d03a4d27.js → e1dba29f5fd1ee5fc999.js} +1 -1
  157. package/assets/esri/core/workers/chunks/e2c293331515f3bd0355.js +1 -0
  158. package/assets/esri/core/workers/chunks/{352511dbc67166face40.js → e2e32e2f04cce9e932fd.js} +1 -1
  159. package/assets/esri/core/workers/chunks/{bb0a1be03bb9d621432c.js → e7638b9ab6674bc8a18f.js} +1 -1
  160. package/assets/esri/core/workers/chunks/{edef1e2254c992459c63.js → eb1a7bb8b14e651bc241.js} +1 -1
  161. package/assets/esri/core/workers/chunks/ec7b156425f25d231078.js +1 -0
  162. package/assets/esri/core/workers/chunks/{779ee975efebb838b5d6.js → f154336b4af011cd0c56.js} +1 -1
  163. package/assets/esri/core/workers/chunks/{3807d0b9b1894731174d.js → f1be3a177328a169128f.js} +1 -1
  164. package/assets/esri/core/workers/chunks/{0810dbbf348a927392e7.js → f59c782898d931810374.js} +1 -1
  165. package/assets/esri/core/workers/chunks/f5d89b48f62fba78fd10.js +1 -0
  166. package/assets/esri/core/workers/chunks/f7846523adacbfe5047e.js +1 -0
  167. package/assets/esri/core/workers/chunks/{b510c07dfd0d31683b08.js → f7a9d2da07196a0989ae.js} +1 -1
  168. package/assets/esri/core/workers/chunks/{143503f6eb270c4683f8.js → f7c99e9c8d19352af38d.js} +1 -1
  169. package/assets/esri/core/workers/chunks/{79ab06fb4c91ac8da323.js → f839b86bee15deaf84e4.js} +1 -1
  170. package/assets/esri/core/workers/chunks/{9adecee0ed2f1df3b0d2.js → f85e2b6a285fa8ad60aa.js} +1 -1
  171. package/assets/esri/core/workers/chunks/{024063fe2bbb27899094.js → fbbccca5b1bcffb31c4e.js} +1 -1
  172. package/assets/esri/core/workers/chunks/{009556f323e58271bc7a.js → fc4417d1260b717a9385.js} +1 -1
  173. package/assets/esri/core/workers/chunks/{6810ecdeccf4b7eae5e2.js → fdaf8fb5a3cc7abea44b.js} +1 -1
  174. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  175. package/assets/esri/themes/base/widgets/_Editor.scss +4 -0
  176. package/assets/esri/themes/dark/main.css +1 -1
  177. package/assets/esri/themes/light/main.css +1 -1
  178. package/assets/esri/themes/light/view.css +1 -1
  179. package/assets/esri/widgets/Editor/t9n/Editor.json +1 -1
  180. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  181. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  182. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  183. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  184. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  185. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  186. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  187. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  188. package/assets/esri/widgets/Editor/t9n/Editor_en.json +1 -1
  189. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  190. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  191. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  192. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  193. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  194. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  195. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  196. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  197. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  198. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  199. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  200. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  201. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  202. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  203. package/assets/esri/widgets/Editor/t9n/Editor_no.json +1 -1
  204. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  205. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  206. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  207. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  208. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  209. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  210. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  211. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  212. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  213. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  214. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  215. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  216. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  217. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  218. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  219. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  220. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
  221. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  222. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  223. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  224. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  225. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  226. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  227. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  228. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  229. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
  230. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  231. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  232. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  233. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  234. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  235. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  236. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  237. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  238. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  239. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  240. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  241. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  242. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  243. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  244. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  245. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  246. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  247. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  248. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  249. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  250. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  251. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  252. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  253. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  254. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  255. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  256. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  257. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  258. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  259. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  260. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  261. package/assets/esri/widgets/Sketch/t9n/Sketch.json +1 -1
  262. package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
  263. package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
  264. package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
  265. package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
  266. package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
  267. package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
  268. package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
  269. package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
  270. package/assets/esri/widgets/Sketch/t9n/Sketch_en.json +1 -1
  271. package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
  272. package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
  273. package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
  274. package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
  275. package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
  276. package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
  277. package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
  278. package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
  279. package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
  280. package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
  281. package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
  282. package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
  283. package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
  284. package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
  285. package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
  286. package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
  287. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
  288. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
  289. package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
  290. package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
  291. package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
  292. package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
  293. package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
  294. package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
  295. package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
  296. package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
  297. package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
  298. package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
  299. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
  300. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
  301. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
  302. package/chunks/Envelope.js +1 -1
  303. package/chunks/Fog.glsl.js +2 -2
  304. package/chunks/Geometry.js +1 -1
  305. package/chunks/GlowBlur.glsl.js +8 -9
  306. package/chunks/GlowComposition.glsl.js +15 -16
  307. package/chunks/Laserlines.glsl.js +12 -12
  308. package/chunks/MultiPathImpl.js +1 -1
  309. package/chunks/Point2D.js +1 -1
  310. package/chunks/PointRenderer.glsl.js +1 -1
  311. package/chunks/Precipitation.glsl.js +2 -2
  312. package/chunks/Terrain.glsl.js +1 -1
  313. package/chunks/WaterSurface.glsl.js +0 -1
  314. package/chunks/boundedPlane.js +1 -1
  315. package/chunks/bundle.js +1 -1
  316. package/chunks/cameraUtilsPlanar.js +1 -1
  317. package/chunks/cameraUtilsSpherical.js +1 -1
  318. package/chunks/sphere.js +1 -1
  319. package/chunks/vec32.js +1 -1
  320. package/colorUtils.js +1 -1
  321. package/config.js +1 -1
  322. package/core/accessorSupport/extensions/serializableProperty/reader.js +1 -1
  323. package/core/accessorSupport/extensions/serializableProperty/utils.js +5 -0
  324. package/core/accessorSupport/extensions/serializableProperty.js +1 -1
  325. package/core/accessorSupport/read.js +1 -1
  326. package/core/accessorSupport/write.js +1 -1
  327. package/core/has.js +1 -1
  328. package/core/libs/gl-matrix-2/math/quat.js +1 -1
  329. package/core/libs/gl-matrix-2/math/vec3.js +1 -1
  330. package/core/perspectiveUtils.js +1 -1
  331. package/core/workers/workerFactory.js +1 -1
  332. package/editing/geometry/lineUtils.js +1 -1
  333. package/geometry/Mesh.js +1 -1
  334. package/geometry/operators/support/jsonConverter.js +1 -1
  335. package/geometry/projection/localLinearScaleFactors.js +1 -1
  336. package/geometry/projection/projectDirection.js +1 -1
  337. package/geometry/projection/projectVec3Array.js +1 -1
  338. package/geometry/support/axisAngle.js +1 -1
  339. package/geometry/support/axisAngleDegrees.js +1 -1
  340. package/geometry/support/buffer/internals/Vec3.js +1 -1
  341. package/geometry/support/clipRay.js +1 -1
  342. package/geometry/support/coordinateSystem.js +1 -1
  343. package/geometry/support/frustum.js +1 -1
  344. package/geometry/support/lineSegment.js +1 -1
  345. package/geometry/support/meshUtils/centerAt.js +1 -1
  346. package/geometry/support/meshUtils/exporters/gltf/geometry.js +1 -1
  347. package/geometry/support/meshUtils/loadExternal.js +1 -1
  348. package/geometry/support/meshUtils/loadGLTFMesh.js +1 -1
  349. package/geometry/support/meshUtils/merge.js +1 -1
  350. package/geometry/support/meshUtils/rotate.js +1 -1
  351. package/geometry/support/meshUtils/scale.js +1 -1
  352. package/geometry/support/meshUtils/vertexSpaceConversion.js +1 -1
  353. package/geometry/support/plane.js +1 -1
  354. package/geometry/support/polygonUtils.js +1 -1
  355. package/geometry/support/ray.js +1 -1
  356. package/geometry/support/sphereUtils.js +1 -1
  357. package/geometry/support/triangle.js +1 -1
  358. package/geometry/support/vector.js +1 -1
  359. package/interfaces.d.ts +476 -220
  360. package/kernel.js +1 -1
  361. package/layers/FeatureLayer.js +1 -1
  362. package/layers/GaussianSplatLayer.js +1 -1
  363. package/layers/VoxelWasmPerSceneView.js +1 -1
  364. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  365. package/layers/graphics/dehydratedFeatureComparison.js +1 -1
  366. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  367. package/layers/graphics/sources/ParquetSource.js +1 -1
  368. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  369. package/layers/graphics/sources/support/QueryTask.js +1 -1
  370. package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
  371. package/layers/knowledgeGraph/layerUtils.js +1 -1
  372. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  373. package/layers/orientedImagery/transformations/imageToWorld.js +1 -1
  374. package/layers/orientedImagery/transformations/utils.js +1 -1
  375. package/layers/orientedImagery/transformations/worldToImage.js +1 -1
  376. package/layers/support/featurePopupQueryUtils.js +1 -1
  377. package/layers/support/layerUtils.js +1 -1
  378. package/layers/support/rasterDatasets/FunctionRaster.js +1 -1
  379. package/layers/support/rasterDatasets/InMemoryRaster.js +1 -1
  380. package/layers/support/tiles3DUtils.js +1 -1
  381. package/layers/video/VideoCameraSensorModel.js +1 -1
  382. package/layers/voxel/VoxelVolume.js +1 -1
  383. package/layers/voxel/voxelPlaneUtils.js +1 -1
  384. package/networks/UtilityNetwork.js +1 -1
  385. package/networks/support/NetworkSystemLayers.js +1 -1
  386. package/package.json +4 -3
  387. package/popup/content/AttachmentsContent.js +1 -1
  388. package/portal/schemas/definitions.js +1 -1
  389. package/rest/knowledgeGraph/GraphApplyEdits.js +1 -1
  390. package/rest/knowledgeGraphService.js +1 -1
  391. package/rest/query/executePivotQuery.js +5 -0
  392. package/rest/query/operations/query.js +1 -1
  393. package/rest/query/operations/queryPivot.js +5 -0
  394. package/rest/query/operations/queryUtils.js +5 -0
  395. package/rest/support/PivotDefinition.js +5 -0
  396. package/rest/support/PivotQuery.js +5 -0
  397. package/rest/support/UnPivotDefinition.js +5 -0
  398. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  399. package/smartMapping/support/adapters/support/utils.js +1 -1
  400. package/support/revision.js +1 -1
  401. package/views/2d/analysis/ElevationProfile/ElevationProfileInputVisualization2D.js +1 -1
  402. package/views/2d/analysis/ElevationProfile/ElevationProfileLineVisualization2D.js +1 -1
  403. package/views/2d/analysis/ElevationProfileAnalysisView2D.js +1 -1
  404. package/views/2d/engine/flow/dataUtils.js +1 -1
  405. package/views/2d/engine/flow/utils.js +1 -1
  406. package/views/2d/engine/webgl/AFeatureTile.js +1 -1
  407. package/views/2d/engine/webgl/WorldExtentClipRenderer.js +1 -1
  408. package/views/2d/interactive/editingTools/TransformTool.js +1 -1
  409. package/views/2d/interactive/editingTools/manipulations/RotateManipulation.js +1 -1
  410. package/views/2d/interactive/editingTools/manipulations/ScaleManipulation.js +1 -1
  411. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  412. package/views/2d/layers/MapNotesLayerView2D.js +1 -1
  413. package/views/2d/layers/RouteLayerView2D.js +1 -1
  414. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  415. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  416. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  417. package/views/2d/navigation/actions/Pan.js +1 -1
  418. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
  419. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  420. package/views/3d/analysis/Dimension/lengthDimensionConstraintUtils.js +1 -1
  421. package/views/3d/analysis/Dimension/lengthDimensionManipulatorUtils.js +1 -1
  422. package/views/3d/analysis/Dimension/lengthDimensionUtils.js +1 -1
  423. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementVisualization.js +1 -1
  424. package/views/3d/analysis/ElevationProfile/ElevationProfileGeometryVisualization3D.js +5 -0
  425. package/views/3d/analysis/ElevationProfile/ElevationProfileLineSceneComputation.js +1 -1
  426. package/views/3d/analysis/ElevationProfile/ElevationProfileLineVisualization3D.js +1 -1
  427. package/views/3d/analysis/ElevationProfile/ElevationProfileVisualization3D.js +1 -1
  428. package/views/3d/analysis/ElevationProfileAnalysisView3D.js +1 -1
  429. package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
  430. package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
  431. package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
  432. package/views/3d/analysis/Slice/ShiftManipulator.js +1 -1
  433. package/views/3d/analysis/Slice/SliceTool.js +1 -1
  434. package/views/3d/analysis/Slice/SliceVisualization.js +1 -1
  435. package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
  436. package/views/3d/analysis/Viewshed/ViewshedComputedData.js +1 -1
  437. package/views/3d/analysis/Viewshed/ViewshedFieldOfViewManipulation.js +1 -1
  438. package/views/3d/analysis/Viewshed/ViewshedScaleOrientManipulation.js +1 -1
  439. package/views/3d/analysis/Viewshed/ViewshedShapeVisualElement.js +1 -1
  440. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  441. package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
  442. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  443. package/views/3d/analysis/Viewshed/viewshedToolUtils.js +1 -1
  444. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  445. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementConfiguration.js +1 -1
  446. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillComputation.js +1 -1
  447. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  448. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  449. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementError.js +1 -1
  450. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
  451. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementTool.js +1 -1
  452. package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +1 -1
  453. package/views/3d/analysis/support/measurementUtils.js +1 -1
  454. package/views/3d/animation/pointToPoint/Animation.js +1 -1
  455. package/views/3d/animation/pointToPoint/Camera.js +1 -1
  456. package/views/3d/camera/constraintUtils/altitude.js +1 -1
  457. package/views/3d/camera/constraintUtils/common.js +1 -1
  458. package/views/3d/camera/constraintUtils/distance.js +1 -1
  459. package/views/3d/camera/constraintUtils/surfaceCollision.js +1 -1
  460. package/views/3d/camera/constraintUtils/tilt.js +1 -1
  461. package/views/3d/camera/intersectionUtils.js +1 -1
  462. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  463. package/views/3d/environment/CloudsParameters.js +1 -1
  464. package/views/3d/environment/EnvironmentManager.js +1 -1
  465. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  466. package/views/3d/environment/Fog.js +1 -1
  467. package/views/3d/environment/MarsAtmosphere.js +1 -1
  468. package/views/3d/glTF/loader.js +1 -1
  469. package/views/3d/interactive/Manipulator3D.js +1 -1
  470. package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
  471. package/views/3d/interactive/editingTools/dragEventPipeline3D.js +1 -1
  472. package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
  473. package/views/3d/interactive/editingTools/lineObjectVisualElementUtils.js +1 -1
  474. package/views/3d/interactive/editingTools/manipulations/MoveXYAxisManipulation.js +1 -1
  475. package/views/3d/interactive/editingTools/manipulations/MoveXYDiscManipulation.js +1 -1
  476. package/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +1 -1
  477. package/views/3d/interactive/editingTools/media/MediaElementManipulator3D.js +1 -1
  478. package/views/3d/interactive/editingTools/originGeometryVisualElementUtils.js +1 -1
  479. package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
  480. package/views/3d/interactive/editingTools/reshape/edgeOffsetUtils.js +1 -1
  481. package/views/3d/interactive/editingTools/transform/ScaleRotateTransform.js +1 -1
  482. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentMove.js +1 -1
  483. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentRotate.js +1 -1
  484. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentScale.js +1 -1
  485. package/views/3d/interactive/editingTools/transform/extentTransform/extentUtils.js +1 -1
  486. package/views/3d/interactive/manipulatorUtils.js +1 -1
  487. package/views/3d/interactive/support/viewUtils.js +1 -1
  488. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  489. package/views/3d/interactive/visualElements/LabelVisualElement.js +1 -1
  490. package/views/3d/interactive/visualElements/LaserlineVisualElement.js +1 -1
  491. package/views/3d/interactive/visualElements/LineVisualElement.js +1 -1
  492. package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
  493. package/views/3d/interactive/visualElements/MeasurementArrowVisualElement.js +1 -1
  494. package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
  495. package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
  496. package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
  497. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  498. package/views/3d/interactive/visualElements/VerticesVisualElement.js +1 -1
  499. package/views/3d/interactive/visualElements/support/Segment.js +1 -1
  500. package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
  501. package/views/3d/layers/FlowSubView3D.js +1 -1
  502. package/views/3d/layers/I3SMeshView3D.js +1 -1
  503. package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
  504. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  505. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  506. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  507. package/views/3d/layers/VoxelLayerView3D.js +1 -1
  508. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  509. package/views/3d/layers/graphics/ElevationAligners.js +1 -1
  510. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  511. package/views/3d/layers/graphics/Graphics3DDrapedGraphicLayer.js +1 -1
  512. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  513. package/views/3d/layers/graphics/Graphics3DGraphic.js +1 -1
  514. package/views/3d/layers/graphics/Graphics3DLodInstanceGraphicLayer.js +1 -1
  515. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  516. package/views/3d/layers/graphics/Graphics3DMeshObject3DGraphicLayer.js +1 -1
  517. package/views/3d/layers/graphics/Graphics3DObject3DGraphicLayer.js +1 -1
  518. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  519. package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
  520. package/views/3d/layers/graphics/LabelInfo.js +1 -1
  521. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  522. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  523. package/views/3d/layers/i3s/I3SGeometryUtil.js +1 -1
  524. package/views/3d/layers/i3s/I3SMeshViewFilter.js +1 -1
  525. package/views/3d/layers/i3s/I3SUtil.js +1 -1
  526. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  527. package/views/3d/layers/i3s/LayerElevationProvider.js +1 -1
  528. package/views/3d/layers/i3s/LoDUtil.js +1 -1
  529. package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
  530. package/views/3d/layers/support/FastSymbolUpdates.js +1 -1
  531. package/views/3d/layers/support/FeatureTileMeasurements3D.js +1 -1
  532. package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
  533. package/views/3d/layers/support/I3STreeDebugger.js +1 -1
  534. package/views/3d/layers/support/uvUtils.js +1 -1
  535. package/views/3d/state/Frustum.js +1 -1
  536. package/views/3d/state/NearFarHeuristic.js +1 -1
  537. package/views/3d/state/controllers/FovController.js +1 -1
  538. package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
  539. package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
  540. package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
  541. package/views/3d/state/controllers/RotateController.js +1 -1
  542. package/views/3d/state/controllers/ZoomControllerGlobal.js +1 -1
  543. package/views/3d/state/controllers/ZoomControllerLocal.js +1 -1
  544. package/views/3d/state/controllers/ZoomStepControllerGlobal.js +1 -1
  545. package/views/3d/state/controllers/ZoomStepControllerLocal.js +1 -1
  546. package/views/3d/state/controllers/momentum/PanPlanarMomentumController.js +1 -1
  547. package/views/3d/state/controllers/momentum/PanSphericalMomentumController.js +1 -1
  548. package/views/3d/state/controllers/momentum/ZoomPlanarMomentumController.js +1 -1
  549. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  550. package/views/3d/state/utils/navigationUtils.js +1 -1
  551. package/views/3d/state/utils/viewUtils.js +1 -1
  552. package/views/3d/support/FrustumExtentIntersection.js +1 -1
  553. package/views/3d/support/GaussianSplatSortWorker.js +1 -1
  554. package/views/3d/support/RenderCoordsHelper.js +1 -1
  555. package/views/3d/support/cameraUtils.js +1 -1
  556. package/views/3d/support/cameraUtilsInternal.js +1 -1
  557. package/views/3d/support/dito.js +1 -1
  558. package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
  559. package/views/3d/support/flow/StreamlineResources3DOverlay.js +1 -1
  560. package/views/3d/support/flow/StreamlineResources3DShape.js +1 -1
  561. package/views/3d/support/flow/constants.js +1 -1
  562. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  563. package/views/3d/support/geometryUtils/ray.js +1 -1
  564. package/views/3d/support/intersectionUtils.js +1 -1
  565. package/views/3d/support/mathUtils.js +1 -1
  566. package/views/3d/support/orientedBoundingBox.js +1 -1
  567. package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
  568. package/views/3d/support/pointsOfInterest/CenterOnSurface.js +1 -1
  569. package/views/3d/support/pointsOfInterest/Focus.js +1 -1
  570. package/views/3d/support/pointsOfInterest/PointsOfInterest.js +1 -1
  571. package/views/3d/support/sunUtils.js +1 -1
  572. package/views/3d/support/viewpointUtils.js +1 -1
  573. package/views/3d/terrain/OverlayManager.js +1 -1
  574. package/views/3d/terrain/OverlayRenderer.js +1 -1
  575. package/views/3d/terrain/PatchGeometry.js +1 -1
  576. package/views/3d/terrain/PatchRenderData.js +1 -1
  577. package/views/3d/terrain/SphericalPatch.js +1 -1
  578. package/views/3d/terrain/TerrainRenderer.js +1 -1
  579. package/views/3d/terrain/TerrainSurface.js +1 -1
  580. package/views/3d/terrain/Tile.js +1 -1
  581. package/views/3d/webgl/RenderCamera.js +1 -1
  582. package/views/3d/webgl-engine/Stage.js +1 -1
  583. package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
  584. package/views/3d/webgl-engine/collections/Component/ComponentObjectElevationAgnosticBVH.js +1 -1
  585. package/views/3d/webgl-engine/collections/Component/ComponentObjectElevationAgnosticComponentGeometryBVH.js +1 -1
  586. package/views/3d/webgl-engine/collections/Component/DepthRange.js +1 -1
  587. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  588. package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepthToWriteShadowMap.glsl.js +1 -1
  589. package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
  590. package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +2 -2
  591. package/views/3d/webgl-engine/core/shaderLibrary/attributes/InstancedDoublePrecision.glsl.js +1 -1
  592. package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateAmbientLighting.glsl.js +1 -1
  593. package/views/3d/webgl-engine/core/shaderLibrary/util/ScreenSizePerspective.glsl.js +1 -1
  594. package/views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js +1 -1
  595. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
  596. package/views/3d/webgl-engine/core/util/TwoVectorPosition.js +1 -1
  597. package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
  598. package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +7 -7
  599. package/views/3d/webgl-engine/effects/glow/GlowCompositionTechnique.js +1 -1
  600. package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
  601. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  602. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  603. package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
  604. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathData.js +1 -1
  605. package/views/3d/webgl-engine/effects/transparency/OITBlendTechnique.js +1 -1
  606. package/views/3d/webgl-engine/lib/BoundingInfo.js +1 -1
  607. package/views/3d/webgl-engine/lib/CompositingHelper.js +1 -1
  608. package/views/3d/webgl-engine/lib/CutFillColor.js +1 -1
  609. package/views/3d/webgl-engine/lib/CutFillDepth.js +1 -1
  610. package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
  611. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  612. package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
  613. package/views/3d/webgl-engine/lib/GridLocalOriginFactory.js +1 -1
  614. package/views/3d/webgl-engine/lib/Intersector.js +1 -1
  615. package/views/3d/webgl-engine/lib/IntersectorResult.js +1 -1
  616. package/views/3d/webgl-engine/lib/Object3D.js +1 -1
  617. package/views/3d/webgl-engine/lib/Octree.js +1 -1
  618. package/views/3d/webgl-engine/lib/Path.js +1 -1
  619. package/views/3d/webgl-engine/lib/PathGeometryData.js +1 -1
  620. package/views/3d/webgl-engine/lib/PathVertex.js +1 -1
  621. package/views/3d/webgl-engine/lib/RayIntersections.js +1 -1
  622. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  623. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  624. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  625. package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
  626. package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
  627. package/views/3d/webgl-engine/lib/WebGLLayer.js +1 -1
  628. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  629. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  630. package/views/3d/webgl-engine/lib/edgeRendering/edgeBufferWriters.js +1 -1
  631. package/views/3d/webgl-engine/lib/edgeRendering/edgePreprocessing.js +1 -1
  632. package/views/3d/webgl-engine/lib/geometryDataUtils.js +1 -1
  633. package/views/3d/webgl-engine/lib/intersectorUtils.js +1 -1
  634. package/views/3d/webgl-engine/lib/lodRendering/InstanceData.js +1 -1
  635. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  636. package/views/3d/webgl-engine/lib/pathGeometryUtils.js +1 -1
  637. package/views/3d/webgl-engine/lib/triangleIntersectionUtils.js +1 -1
  638. package/views/3d/webgl-engine/lib/verticalOffsetUtils.js +1 -1
  639. package/views/3d/webgl-engine/lighting/SceneLighting.js +1 -1
  640. package/views/3d/webgl-engine/lighting/SphericalHarmonics.js +1 -1
  641. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  642. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  643. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  644. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  645. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  646. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  647. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  648. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  649. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  650. package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
  651. package/views/3d/webgl-engine/shaders/GaussianSplatDepthCompositionTechnique.js +1 -1
  652. package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +1 -1
  653. package/views/3d/webgl.js +1 -1
  654. package/views/DOMContainer.js +1 -1
  655. package/views/PopupView.js +1 -1
  656. package/views/SceneView.js +1 -1
  657. package/views/View.js +1 -1
  658. package/views/View2D.js +1 -1
  659. package/views/analysis/ElevationProfile/ElevationProfileChart.js +1 -1
  660. package/views/analysis/ElevationProfile/ElevationProfileController.js +1 -1
  661. package/views/analysis/ElevationProfile/ElevationProfileError.d.ts +4 -0
  662. package/views/analysis/ElevationProfile/ElevationProfileError.js +5 -0
  663. package/views/analysis/ElevationProfile/ElevationProfileHoveredPointsVisualization.js +1 -1
  664. package/views/analysis/ElevationProfile/ElevationProfileLineComputation.js +1 -1
  665. package/views/analysis/ElevationProfile/ElevationProfileLineInputComputation.js +1 -1
  666. package/views/analysis/ElevationProfile/ElevationProfileResult.js +1 -1
  667. package/views/analysis/ElevationProfile/ElevationProfileTool.js +1 -1
  668. package/views/analysis/ElevationProfile/elevationProfileErrors.js +5 -0
  669. package/views/analysis/ElevationProfile/elevationProfileGenerationUtils.js +1 -1
  670. package/views/analysis/ElevationProfile/elevationProfileGeometryUtils.js +1 -1
  671. package/views/analysis/ElevationProfile/elevationProfileInputVisualizationUtils.js +1 -1
  672. package/views/analysis/ExclusiveOperationManager.js +1 -1
  673. package/views/draw/support/Reshape.js +1 -1
  674. package/views/draw/support/createUtils.js +1 -1
  675. package/views/draw/support/helpMessageUtils3d.js +1 -1
  676. package/views/draw/support/surfaceCoordinateSystems.js +1 -1
  677. package/views/interactive/GraphicManipulator.js +1 -1
  678. package/views/interactive/coordinateHelper.js +1 -1
  679. package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
  680. package/views/interactive/editGeometry/support/editPlaneUtils.js +1 -1
  681. package/views/interactive/sketch/constraintUtils.js +1 -1
  682. package/views/interactive/sketch/constraints.js +1 -1
  683. package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
  684. package/views/interactive/snapping/LineSnapper.js +1 -1
  685. package/views/interactive/snapping/ParallelLineSnapper.js +1 -1
  686. package/views/interactive/snapping/RightAngleSnapper.js +1 -1
  687. package/views/interactive/snapping/RightAngleTriangleSnapper.js +1 -1
  688. package/views/interactive/snapping/candidates/ParallelLineSnappingCandidate.js +1 -1
  689. package/views/interactive/snapping/candidates/RightAngleTriangleSnappingCandidate.js +1 -1
  690. package/views/interactive/snapping/featureSources/featureServiceSource/tileUtils.js +1 -1
  691. package/views/interactive/snapping/featureSources/sceneLayerSource/SceneLayerSnappingSourceWorker.js +1 -1
  692. package/views/interactive/snapping/featureSources/sceneLayerSource/sceneLayerSnappingUtils.js +1 -1
  693. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  694. package/views/interactive/snapping/snappingUtils.js +1 -1
  695. package/views/interactive/tooltip/tooltipCommonUtils.js +1 -1
  696. package/views/layers/FeatureLayerView.d.ts +1 -1
  697. package/views/layers/FeatureLayerView.js +1 -1
  698. package/views/layers/SceneLayerView.js +1 -1
  699. package/views/navigation/PanPlanarMomentumEstimator.js +1 -1
  700. package/views/navigation/PanSphericalMomentumEstimator.js +1 -1
  701. package/views/navigation/gamepadAndKeyboardUtils.js +1 -1
  702. package/views/popupAdapter.js +5 -0
  703. package/views/support/angularMeasurementUtils.js +1 -1
  704. package/views/support/euclideanAreaMeasurementUtils.js +1 -1
  705. package/views/support/euclideanLengthMeasurementUtils.js +1 -1
  706. package/views/support/geometry3dUtils.js +1 -1
  707. package/views/webgl/ContextState.js +1 -1
  708. package/views/webgl/RenderingContext.js +1 -1
  709. package/views/webgl/enums.js +1 -1
  710. package/widgets/Attachments/AttachmentsViewModel.js +1 -1
  711. package/widgets/Attachments.js +1 -1
  712. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  713. package/widgets/Editor/EditorViewModel.js +1 -1
  714. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  715. package/widgets/Editor/SplitFeatureWorkflowData.js +1 -1
  716. package/widgets/Editor/UpdateWorkflow.js +1 -1
  717. package/widgets/Editor/components/PendingFeatureList.js +1 -1
  718. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  719. package/widgets/Editor/components/UploadDetails.js +1 -1
  720. package/widgets/Editor/components/workflowAdapters/pendingFeatureList/CreateFeaturesWorkflowPendingFeatureListAdapter.ts.js +5 -0
  721. package/widgets/Editor/components/workflowAdapters/pendingFeatureList/SplitFeatureWorkflowPendingFeatureListAdapter.js +5 -0
  722. package/widgets/Editor/css.js +1 -1
  723. package/widgets/Editor/modelUploadUtils.js +1 -1
  724. package/widgets/Editor/support/splitFeatureUtils.js +1 -1
  725. package/widgets/Editor/workflowUtils.js +1 -1
  726. package/widgets/Editor.js +1 -1
  727. package/widgets/ElevationProfile/ElevationProfileLineView.js +1 -1
  728. package/widgets/ElevationProfile/support/chartUtils.js +1 -1
  729. package/widgets/ElevationProfile/support/geometryUtils.js +1 -1
  730. package/widgets/Feature/FeatureMedia/chartCommon.js +1 -1
  731. package/widgets/Feature/FeatureMedia/pieChart.js +1 -1
  732. package/widgets/Feature/FeatureMedia/xyChart.js +1 -1
  733. package/widgets/Feature/FeatureViewModel.js +1 -1
  734. package/widgets/FeatureTable/FieldColumn.js +1 -1
  735. package/widgets/FeatureTable/support/ColumnTemplateBase.js +1 -1
  736. package/widgets/FeatureTable/support/FeatureStore.js +1 -1
  737. package/widgets/FeatureTable/support/TableTemplate.js +1 -1
  738. package/widgets/FeatureTable/support/tableUtils.js +1 -1
  739. package/widgets/FeatureTable/support/templateUtils.js +1 -1
  740. package/widgets/Features/FeaturesViewModel.js +1 -1
  741. package/widgets/Legend/LegendViewModel.js +1 -1
  742. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  743. package/widgets/Legend.js +1 -1
  744. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  745. package/widgets/OrientedImageryViewer/components/ImageLocationWidget.js +1 -1
  746. package/widgets/OrientedImageryViewer/components/ImageOverlays.js +1 -1
  747. package/widgets/OrientedImageryViewer/dataCaptureUtils.js +1 -1
  748. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  749. package/widgets/OrientedImageryViewer.js +1 -1
  750. package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
  751. package/widgets/PanoramicViewer/PanoramicZoomManager.js +5 -0
  752. package/widgets/PanoramicViewer/PanoramicZoomViewModel.js +1 -1
  753. package/widgets/PanoramicViewer/constants.js +1 -1
  754. package/widgets/PanoramicViewer/support/ClosestMap.js +5 -0
  755. package/widgets/PanoramicViewer/support/PanoramicMeshManager.js +1 -1
  756. package/widgets/PanoramicViewer/support/PanoramicMeshWorker.js +1 -1
  757. package/widgets/PanoramicViewer/support/PanoramicTileNode.js +5 -0
  758. package/widgets/PanoramicViewer/support/PanoramicTilePyramid.js +5 -0
  759. package/widgets/PanoramicViewer/support/importUtils.js +5 -0
  760. package/widgets/PanoramicViewer/utils.js +1 -1
  761. package/widgets/PanoramicViewer.js +1 -1
  762. package/widgets/Search/SearchResultRenderer.js +1 -1
  763. package/widgets/Search/SearchViewModel.js +1 -1
  764. package/widgets/Search.js +1 -1
  765. package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.js +1 -1
  766. package/widgets/support/chartUtilsAm5.js +1 -1
  767. package/widgets/support/forms/formUtils.js +1 -1
  768. package/analysis/ElevationProfile/ElevationProfileUnits.d.ts +0 -4
  769. package/assets/esri/core/workers/chunks/004b13c1db79c9e668b1.js +0 -1
  770. package/assets/esri/core/workers/chunks/06c389283ee5b60573f2.js +0 -1
  771. package/assets/esri/core/workers/chunks/0b24a6c06d1becbb6815.js +0 -1
  772. package/assets/esri/core/workers/chunks/0ca5060c81a1a05b8be3.js +0 -1
  773. package/assets/esri/core/workers/chunks/1214c126af0de25a4b4a.js +0 -1
  774. package/assets/esri/core/workers/chunks/19f1bfe815896d4983af.js +0 -1
  775. package/assets/esri/core/workers/chunks/22c3a21bc9f32c429c48.js +0 -1
  776. package/assets/esri/core/workers/chunks/23e600e368ac829680b5.js +0 -1
  777. package/assets/esri/core/workers/chunks/3b2ef975831eb75b40fb.js +0 -1
  778. package/assets/esri/core/workers/chunks/3d800fbc449bea18b1cd.js +0 -1
  779. package/assets/esri/core/workers/chunks/3dcdbba706a8034b6ba3.js +0 -1
  780. package/assets/esri/core/workers/chunks/503c81dda242e6077317.js +0 -1
  781. package/assets/esri/core/workers/chunks/52121179d4f9833008ec.js +0 -1
  782. package/assets/esri/core/workers/chunks/56b3bb68b61b77138186.js +0 -1
  783. package/assets/esri/core/workers/chunks/5aacd1c6b171c99b41f5.js +0 -1
  784. package/assets/esri/core/workers/chunks/5eb7f6f5121c8830c561.js +0 -1
  785. package/assets/esri/core/workers/chunks/633faa9cec8988ab06af.js +0 -33
  786. package/assets/esri/core/workers/chunks/6c3b585b9cb6bb640fb0.js +0 -1
  787. package/assets/esri/core/workers/chunks/801451fb572bc5f1f270.js +0 -1
  788. package/assets/esri/core/workers/chunks/8b9a50cfaa5a7df02dad.js +0 -1
  789. package/assets/esri/core/workers/chunks/8d63b42aea32ce2e5d09.js +0 -1
  790. package/assets/esri/core/workers/chunks/8ff2daef892881ff2019.js +0 -1
  791. package/assets/esri/core/workers/chunks/a6a2d4602dfeb62e0ecc.js +0 -1
  792. package/assets/esri/core/workers/chunks/bf9031749d10e7d457b6.js +0 -1
  793. package/assets/esri/core/workers/chunks/c547692862df95d22818.js +0 -1
  794. package/assets/esri/core/workers/chunks/c84665db250b05e2829d.js +0 -1
  795. package/assets/esri/core/workers/chunks/c95e6bef8c97cf647869.js +0 -1
  796. package/assets/esri/core/workers/chunks/ce175801937e80e3c487.js +0 -1
  797. package/assets/esri/core/workers/chunks/d71836cf70b9604832f1.js +0 -1
  798. package/assets/esri/core/workers/chunks/ef75cad6570b14a42b62.js +0 -1
  799. package/chunks/Button.js +0 -5
  800. package/chunks/ColorSet.js +0 -5
  801. package/chunks/DefaultTheme.js +0 -5
  802. package/chunks/LineSeries.js +0 -5
  803. package/chunks/ResponsiveTheme.js +0 -5
  804. package/chunks/Theme.js +0 -5
  805. package/chunks/Tick.js +0 -5
  806. package/chunks/Tooltip.js +0 -5
  807. package/chunks/ar.js +0 -5
  808. package/chunks/bg_BG.js +0 -5
  809. package/chunks/bs_BA.js +0 -5
  810. package/chunks/ca_ES.js +0 -5
  811. package/chunks/chartUtilsAm5.js +0 -5
  812. package/chunks/cs_CZ.js +0 -5
  813. package/chunks/da_DK.js +0 -5
  814. package/chunks/de_CH.js +0 -5
  815. package/chunks/de_DE.js +0 -5
  816. package/chunks/el_GR.js +0 -5
  817. package/chunks/en_CA.js +0 -5
  818. package/chunks/en_US.js +0 -5
  819. package/chunks/es_ES.js +0 -5
  820. package/chunks/et_EE.js +0 -5
  821. package/chunks/fi_FI.js +0 -5
  822. package/chunks/fr_FR.js +0 -5
  823. package/chunks/he_IL.js +0 -5
  824. package/chunks/hr_HR.js +0 -5
  825. package/chunks/hu_HU.js +0 -5
  826. package/chunks/id_ID.js +0 -5
  827. package/chunks/it_IT.js +0 -5
  828. package/chunks/ja_JP.js +0 -5
  829. package/chunks/ko_KR.js +0 -5
  830. package/chunks/lt_LT.js +0 -5
  831. package/chunks/lv_LV.js +0 -5
  832. package/chunks/nb_NO.js +0 -5
  833. package/chunks/nl_NL.js +0 -5
  834. package/chunks/pl_PL.js +0 -5
  835. package/chunks/pt_BR.js +0 -5
  836. package/chunks/pt_PT.js +0 -5
  837. package/chunks/ro_RO.js +0 -5
  838. package/chunks/ru_RU.js +0 -5
  839. package/chunks/sk_SK.js +0 -5
  840. package/chunks/sl_SL.js +0 -5
  841. package/chunks/sr_RS.js +0 -5
  842. package/chunks/sv_SE.js +0 -5
  843. package/chunks/th_TH.js +0 -5
  844. package/chunks/tr_TR.js +0 -5
  845. package/chunks/uk_UA.js +0 -5
  846. package/chunks/vi_VN.js +0 -5
  847. package/chunks/zh_Hans.js +0 -5
  848. package/chunks/zh_Hant.js +0 -5
  849. package/views/3d/analysis/ElevationProfile/ElevationProfileInputVisualization3D.js +0 -5
  850. package/views/analysis/ElevationProfile/ElevationProfileGenerationError.js +0 -5
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5066],{24770:(t,n,r)=>{r.d(n,{$I:()=>g,AU:()=>M,g7:()=>p,i4:()=>f,ui:()=>l,up:()=>v,vt:()=>c,yo:()=>m});var e=r(34727),o=r(58083),s=r(67026),a=r(82534),i=r(38954),u=r(51850);function c(t=v){return[t[0],t[1],t[2],t[3]]}function f(t,n,r=c()){return(0,i.d)(r,t),r[3]=n,r}function l(t,n=c()){const r=(0,o.l)(b,t);return d(n,(0,e.KJ)((0,s.Xd)(n,r))),n}function h(t,n,r=c()){return(0,s.x8)(b,t,g(t)),(0,s.x8)(y,n,g(n)),(0,s.lw)(b,y,b),d(r,(0,e.KJ)((0,s.Xd)(r,b)))}function M(t,n,r,e=c()){return f(u.Cw,t,w),f(u.JP,n,A),f(u.Cb,r,x),h(w,A,w),h(w,x,e),e}function m(t){return t}function p(t){return t[3]}function g(t){return(0,e.kU)(t[3])}function d(t,n){return t[3]=n,t}const v=[0,0,1,0],b=(0,a.vt)(),y=(0,a.vt)(),w=(c(),c()),A=c(),x=c()},27921:(t,n,r)=>{r.d(n,{$Q:()=>I,C:()=>c,Cr:()=>M,LV:()=>u,O_:()=>h,Qj:()=>f,T7:()=>q,Tj:()=>S,Ui:()=>x,_I:()=>Z,fA:()=>l,gv:()=>_,lU:()=>m,mN:()=>P,mP:()=>w,mR:()=>A,vE:()=>N,vt:()=>i});var e=r(34727),o=r(38954),s=r(51850),a=(r(87317),r(44280),r(32114));function i(t=X){return[t[0],t[1],t[2],t[3]]}function u(t=X[0],n=X[1],r=X[2],e=X[3]){return l(t,n,r,e,a.Km.get())}function c(t,n){return l(n[0],n[1],n[2],n[3],t)}function f(t){return t}function l(t,n,r,e,o=i()){return o[0]=t,o[1]=n,o[2]=r,o[3]=e,o}function h(t,n,r){const e=n[0]*n[0]+n[1]*n[1]+n[2]*n[2],o=Math.abs(e-1)>1e-5&&e>1e-12?1/Math.sqrt(e):1;return r[0]=n[0]*o,r[1]=n[1]*o,r[2]=n[2]*o,r[3]=-(r[0]*t[0]+r[1]*t[1]+r[2]*t[2]),r}function M(t,n,r,e=i()){const o=r[0]-n[0],s=r[1]-n[1],a=r[2]-n[2],u=t[0]-n[0],c=t[1]-n[1],f=t[2]-n[2],l=s*f-a*c,h=a*u-o*f,M=o*c-s*u,m=l*l+h*h+M*M,p=Math.abs(m-1)>1e-5&&m>1e-12?1/Math.sqrt(m):1;return e[0]=l*p,e[1]=h*p,e[2]=M*p,e[3]=-(e[0]*t[0]+e[1]*t[1]+e[2]*t[2]),e}function m(t,n,r,e=0,s=Math.floor(r*(1/3)),a=Math.floor(r*(2/3))){if(r<3)return!1;n(g,e);let i=s,u=!1;for(;i<r-1&&!u;)n(d,i),i++,u=!(0,o.q)(g,d);if(!u)return!1;for(i=Math.max(i,a),u=!1;i<r&&!u;)n(v,i),i++,(0,o.e)(b,g,d),(0,o.n)(b,b),(0,o.e)(y,d,v),(0,o.n)(y,y),u=!(0,o.q)(g,v)&&!(0,o.q)(d,v)&&Math.abs((0,o.f)(b,y))<p;return u?(M(g,d,v,t),!0):(0!==e||1!==s||2!==a)&&m(t,n,r,0,1,2)}r(32728);const p=.99619469809,g=(0,s.vt)(),d=(0,s.vt)(),v=(0,s.vt)(),b=(0,s.vt)(),y=(0,s.vt)();function w(t,n,r){return n!==t&&c(t,n),t[3]=-(0,o.f)(t,r),t}function A(t,n,r,e){return(0,o.i)(v,n,t),h(r,v,e)}function x(t,n,r){return null!=n&&C(N(t,n.origin,n.direction,O,r))}function q(t,n,r){return C(N(t,n.origin,n.vector,0,r))}function _(t,n,r){return C(N(t,n.origin,n.vector,1,r))}function S(t,n){return P(t,n)>=0}function I(t,n){const r=(0,o.f)(t,n.ray.direction),e=-P(t,n.ray.origin);if(e<0&&r>=0)return!1;if(r>-1e-6&&r<1e-6)return e>0;if((e<0||r<0)&&!(e<0&&r<0))return!0;const s=e/r;return r>0?s<n.c1&&(n.c1=s):s>n.c0&&(n.c0=s),n.c0<=n.c1}function Z(t,n,r){const e=(0,o.h)(a.rq.get(),t,-t[3]),s=function(t,n,r){const e=(0,o.h)(a.rq.get(),t,(0,o.f)(t,n));return(0,o.e)(r,n,e),r}(t,(0,o.e)(a.rq.get(),n,e),a.rq.get());return(0,o.g)(r,s,e),r}function P(t,n){return(0,o.f)(t,n)+t[3]}function C(t){return 0===t||1===t}function N(t,n,r,s,a){const i=(0,o.f)(t,r),u=P(t,n);if(0===i)return u>=0?2:3;let c=-u/i;return 1&s&&(c=(0,e.qE)(c,0,1)),!(4&s)&&c<0||!(8&s)&&c>1?u>=0?2:3:((0,o.g)(a,n,(0,o.h)(a,r,c)),u>=0?0:1)}const X=[0,0,1,0],O=8},32114:(t,n,r)=>{r.d(n,{Rc:()=>M,J8:()=>m,rq:()=>l,Km:()=>h}),r(44208);var e=r(26390),o=r(29242),s=r(9093),a=r(82534),i=r(48163),u=r(51850),c=r(91829);class f{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,e.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new f(i.vt)}static createVec3f64(){return new f(u.vt)}static createVec4f64(){return new f(c.vt)}static createMat3f64(){return new f(o.vt)}static createMat4f64(){return new f(s.vt)}static createQuatf64(){return new f(a.vt)}get test(){}}f.createVec2f64();const l=f.createVec3f64(),h=f.createVec4f64(),M=(f.createMat3f64(),f.createMat4f64()),m=f.createQuatf64()},32728:(t,n,r)=>{r.d(n,{nu:()=>a,wp:()=>s}),r(34727);var e=r(38954),o=r(51850);function s(t,n){const r=Math.sqrt(n[0]*n[0]+n[4]*n[4]+n[8]*n[8]),o=Math.sqrt(n[1]*n[1]+n[5]*n[5]+n[9]*n[9]),s=Math.sqrt(n[2]*n[2]+n[6]*n[6]+n[10]*n[10]);return(0,e.j)(t,r,o,s),t}function a(t,n,r,s=(0,o.vt)()){const a=(0,e.b)(t),c=(0,e.b)(n),f=(0,e.f)(t,n)/(a*c);if(f<.9999999999999999){const o=Math.acos(f),l=((1-r)*a+r*c)/Math.sin(o),h=l/a*Math.sin((1-r)*o),M=l/c*Math.sin(r*o);return(0,e.h)(i,t,h),(0,e.h)(u,n,M),(0,e.g)(s,i,u)}return(0,e.l)(s,t,n,r)}(0,o.vt)(),(0,o.vt)(),(0,o.vt)();const i=(0,o.vt)(),u=(0,o.vt)()},38954:(t,n,r)=>{r.d(n,{A:()=>m,B:()=>M,C:()=>f,D:()=>l,E:()=>O,F:()=>E,H:()=>k,a:()=>T,b:()=>s,c:()=>d,d:()=>a,e:()=>c,f:()=>q,g:()=>u,h:()=>g,i:()=>_,j:()=>i,k:()=>v,l:()=>S,m:()=>y,n:()=>x,o:()=>Z,q:()=>X,r:()=>A,s:()=>b,t:()=>I,u:()=>w,v:()=>P,w:()=>h,x:()=>R,y:()=>z,z:()=>p});var e=r(51850),o=r(34304);function s(t){const n=t[0],r=t[1],e=t[2];return Math.sqrt(n*n+r*r+e*e)}function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function i(t,n,r,e){return t[0]=n,t[1]=r,t[2]=e,t}function u(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t}function c(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t}function f(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t}function l(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t}function h(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function M(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function m(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t}function p(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t}function g(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t}function d(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t}function v(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2];return Math.sqrt(r*r+e*e+o*o)}function b(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2];return r*r+e*e+o*o}function y(t){const n=t[0],r=t[1],e=t[2];return n*n+r*r+e*e}function w(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function A(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function x(t,n){const r=n[0],e=n[1],o=n[2];let s=r*r+e*e+o*o;return s>0&&(s=1/Math.sqrt(s),t[0]=n[0]*s,t[1]=n[1]*s,t[2]=n[2]*s),t}function q(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function _(t,n,r){const e=n[0],o=n[1],s=n[2],a=r[0],i=r[1],u=r[2];return t[0]=o*u-s*i,t[1]=s*a-e*u,t[2]=e*i-o*a,t}function S(t,n,r,e){const o=n[0],s=n[1],a=n[2];return t[0]=o+e*(r[0]-o),t[1]=s+e*(r[1]-s),t[2]=a+e*(r[2]-a),t}function I(t,n,r){const e=n[0],o=n[1],s=n[2];return t[0]=r[0]*e+r[4]*o+r[8]*s+r[12],t[1]=r[1]*e+r[5]*o+r[9]*s+r[13],t[2]=r[2]*e+r[6]*o+r[10]*s+r[14],t}function Z(t,n,r){const e=n[0],o=n[1],s=n[2];return t[0]=e*r[0]+o*r[3]+s*r[6],t[1]=e*r[1]+o*r[4]+s*r[7],t[2]=e*r[2]+o*r[5]+s*r[8],t}function P(t,n,r){const e=r[0],o=r[1],s=r[2],a=r[3],i=n[0],u=n[1],c=n[2],f=o*c-s*u,l=s*i-e*c,h=e*u-o*i,M=o*h-s*l,m=s*f-e*h,p=e*l-o*f,g=2*a;return t[0]=i+f*g+2*M,t[1]=u+l*g+2*m,t[2]=c+h*g+2*p,t}const C=(0,e.vt)(),N=(0,e.vt)();function X(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function O(t,n,r){const e=r[0]-n[0],o=r[1]-n[1],s=r[2]-n[2];let a=e*e+o*o+s*s;return a>0?(a=1/Math.sqrt(a),t[0]=e*a,t[1]=o*a,t[2]=s*a,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=c,j=f,Y=l,E=v,R=b,k=s,z=y;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:u,angle:function(t,n){x(C,t),x(N,n);const r=q(C,N);return r>1?0:r<-1?Math.PI:Math.acos(r)},bezier:function(t,n,r,e,o,s){const a=1-s,i=a*a,u=s*s,c=i*a,f=3*s*i,l=3*u*a,h=u*s;return t[0]=n[0]*c+r[0]*f+e[0]*l+o[0]*h,t[1]=n[1]*c+r[1]*f+e[1]*l+o[1]*h,t[2]=n[2]*c+r[2]*f+e[2]*l+o[2]*h,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,r=1){return t[0]=Math.min(Math.max(t[0],n),r),t[1]=Math.min(Math.max(t[1],n),r),t[2]=Math.min(Math.max(t[2],n),r),t},copy:a,cross:_,crossAndNormalize:function(t,n,r){const e=n[0],o=n[1],s=n[2],a=r[0],i=r[1],u=r[2],c=o*u-s*i,f=s*a-e*u,l=e*i-o*a,h=Math.sqrt(c*c+f*f+l*l);return t[0]=c/h,t[1]=f/h,t[2]=l/h,t},direction:O,dist:E,distance:v,div:Y,divide:l,dot:q,equals:function(t,n){if(t===n)return!0;const r=t[0],e=t[1],s=t[2],a=n[0],i=n[1],u=n[2],c=(0,o.FD)();return Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(e-i)<=c*Math.max(1,Math.abs(e),Math.abs(i))&&Math.abs(s-u)<=c*Math.max(1,Math.abs(s),Math.abs(u))},exactEquals:X,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,r,e,o,s){const a=s*s,i=a*(2*s-3)+1,u=a*(s-2)+s,c=a*(s-1),f=a*(3-2*s);return t[0]=n[0]*i+r[0]*u+e[0]*c+o[0]*f,t[1]=n[1]*i+r[1]*u+e[1]*c+o[1]*f,t[2]=n[2]*i+r[2]*u+e[2]*c+o[2]*f,t},inverse:A,len:k,length:s,lerp:S,max:p,min:m,mul:j,multiply:f,negate:w,normalize:x,random:function(t,n=1){const r=o.Ov,e=2*r()*Math.PI,s=2*r()-1,a=Math.sqrt(1-s*s)*n;return t[0]=Math.cos(e)*a,t[1]=Math.sin(e)*a,t[2]=s*n,t},rotateX:function(t,n,r,e){const o=[],s=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],s[0]=o[0],s[1]=o[1]*Math.cos(e)-o[2]*Math.sin(e),s[2]=o[1]*Math.sin(e)+o[2]*Math.cos(e),t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[2],t},rotateY:function(t,n,r,e){const o=[],s=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],s[0]=o[2]*Math.sin(e)+o[0]*Math.cos(e),s[1]=o[1],s[2]=o[2]*Math.cos(e)-o[0]*Math.sin(e),t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[2],t},rotateZ:function(t,n,r,e){const o=[],s=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],s[0]=o[0]*Math.cos(e)-o[1]*Math.sin(e),s[1]=o[0]*Math.sin(e)+o[1]*Math.cos(e),s[2]=o[2],t[0]=s[0]+r[0],t[1]=s[1]+r[1],t[2]=s[2]+r[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:g,scaleAndAdd:d,set:i,sign:M,sqrDist:R,sqrLen:z,squaredDistance:b,squaredLength:y,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:c,transformMat3:Z,transformMat4:I,transformQuat:P},Symbol.toStringTag,{value:"Module"}))},40050:(t,n,r)=>{r.r(n),r.d(n,{assetMapFromAssetMapsJSON:()=>g,extractMesh:()=>p,meshFeatureSetFromJSON:()=>m});var e=r(52106),o=r(53966),s=r(91869),a=r(5443),i=r(40036),u=r(16930),c=r(63579),f=r(20557),l=r(22671),h=r(77793);const M=()=>o.A.getLogger("esri.rest.support.meshFeatureSet");function m(t,n,r){const o=r.features;r.features=[],delete r.geometryType;const s=l.A.fromJSON(r);if(s.geometryType="mesh",!r.assetMaps)return s;const a=g(n,r.assetMaps),i=t.sourceSpatialReference??u.A.WGS84,c=r.globalIdFieldName,{outFields:f}=t,h=null!=f&&f.length>0?(M=f.includes("*")?null:new Set(f),({attributes:t})=>{if(!t)return{};if(!M)return t;for(const n in t)M.has(n)||delete t[n];return t}):()=>({});var M;for(const t of o){const r=p(t,c,i,n,a);s.features.push(new e.A({geometry:r,attributes:h(t)}))}return s}function p(t,n,r,e,o){const s=t.attributes[n],u=o.get(s);if(null==u||!t.geometry)return null;const f=(0,h.V)(t.attributes,r,e.transformFieldRoles),l=a.A.fromJSON(t.geometry);l.spatialReference=r;const M=(0,h.f)(t.attributes,e.transformFieldRoles),m=r.isGeographic?"local":"georeferenced",p=function(t){const n=Array.from(t.files.values()),r=new Array;for(const t of n){if(2!==t.status)return null;const n=new Array;for(const r of t.parts){if(!r)return null;n.push(new c.Bq(r.url,r.hash))}r.push(new c.Qp(t.name,t.mimeType,n))}return{type:"service",assets:r}}(u);return p?i.default.createWithExternalSource(f,p,{extent:l,transform:M,vertexSpace:m,unitConversionDisabled:!0}):i.default.createIncomplete(f,{extent:l,transform:M,vertexSpace:m})}function g(t,n){const r=new Map;for(const e of n){const n=e.parentGlobalId;if(null==n)continue;const o=e.assetName,a=e.assetType,i=e.assetHash,u=e.assetURL,c=e.conversionStatus,l=e.seqNo,h=(0,f.Fm)(a,t.supportedFormats);if(!h){M().error("mesh-feature-set:unknown-format",`Service returned an asset of type ${a}, but it does not list it as a supported type`);continue}const m=(0,s.tE)(r,n,()=>({files:new Map}));(0,s.tE)(m.files,o,()=>({name:o,type:a,mimeType:h,status:d(c),parts:[]})).parts[l]={hash:i,url:u}}return r}function d(t){switch(t){case"COMPLETED":case"SUBMITTED":return 2;case"INPROGRESS":return 1;default:return 0}}},44280:(t,n,r)=>{r.d(n,{EJ:()=>u,g7:()=>i,gr:()=>a});var e=r(34727),o=r(38954),s=r(51850);function a(t,n){return(0,o.f)(t,n)/(0,o.b)(t)}function i(t,n){const r=(0,o.f)(t,n)/((0,o.b)(t)*(0,o.b)(n));return-(0,e.XM)(r)}function u(t,n,r){(0,o.n)(c,t),(0,o.n)(f,n);const s=(0,o.f)(c,f),a=(0,e.XM)(s),i=(0,o.i)(c,c,f);return(0,o.f)(i,r)<0?2*Math.PI-a:a}const c=(0,s.vt)(),f=(0,s.vt)()},48163:(t,n,r)=>{function e(){return[0,0]}function o(t){return[t[0],t[1]]}function s(t,n){return[t,n]}function a(){return s(1,1)}function i(){return s(1,0)}function u(){return s(0,1)}r.d(n,{Un:()=>c,fA:()=>s,o8:()=>o,vt:()=>e});const c=a(),f=i(),l=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:f,UNIT_Y:l,ZEROS:[0,0],clone:o,create:e,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const r=Math.min(2,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:s,ones:a,unitX:i,unitY:u,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353:(t,n,r)=>{r.d(n,{l:()=>c});var e=r(34727),o=r(58083),s=r(51850);function a(t,n,r){const e=Math.sin(t),o=Math.cos(t),s=Math.sin(n),a=Math.cos(n),i=r;return i[0]=-e,i[4]=-s*o,i[8]=a*o,i[12]=0,i[1]=o,i[5]=-s*e,i[9]=a*e,i[13]=0,i[2]=0,i[6]=a,i[10]=s,i[14]=0,i[3]=0,i[7]=0,i[11]=0,i[15]=1,i}var i=r(37539),u=r(21325);function c(t,n,r,e){const s=(0,i.Tp)(t,e);if(null==s)return!1;const c=s.source.spatialReferenceId,m=s.dest.spatialReferenceId;if(c===m&&!f(m)&&(0!==c||(0,u.aI)(t,e)))return(0,o.kN)(r,n),!0;if(f(m)){const t=i.w5[c][10],e=i.w5[10][m];return null!=t&&null!=e&&(t(n,0,h,0),e(h,0,M,0),a(l*h[0],l*h[1],r),r[12]=M[0],r[13]=M[1],r[14]=M[2],!0)}const p=f(c);if((3===m||11===m||2===m||5===m)&&(2===c||p||3===c||5===c)){const t=i.w5[c][10],e=i.w5[10][m];return null!=t&&null!=e&&(t(n,0,h,0),e(h,0,M,0),p?function(t,n,r){a(t,n,r),(0,o.mg)(r,r)}(l*h[0],l*h[1],r):(0,o.D_)(r),r[12]=M[0],r[13]=M[1],r[14]=M[2],!0)}return!1}function f(t){return 1===t||6===t||8===t||4===t}const l=(0,e.kU)(1),h=(0,s.vt)(),M=(0,s.vt)()},65806:(t,n,r)=>{r.d(n,{g:()=>a});var e=r(51850),o=r(91218),s=r(9762);function a(t,n,r,e){if((0,o.canProjectWithoutEngine)(t.spatialReference,r)){i[0]=t.x,i[1]=t.y;const o=t.z;return i[2]=o??e??0,(0,s.projectBuffer)(i,t.spatialReference,0,n,r,0)}const a=(0,o.tryProjectWithZConversion)(t,r);return!!a&&(n[0]=a?.x,n[1]=a?.y,n[2]=a?.z??e??0,!0)}const i=(0,e.vt)()},67026:(t,n,r)=>{r.d(n,{A6:()=>p,Xd:()=>f,Xr:()=>M,hZ:()=>d,lw:()=>l,t2:()=>Z,x8:()=>c});var e=r(29242),o=r(82534),s=r(51850),a=r(34304),i=r(38954),u=r(87317);function c(t,n,r){r*=.5;const e=Math.sin(r);return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=Math.cos(r),t}function f(t,n){const r=2*Math.acos(n[3]),e=Math.sin(r/2);return e>(0,a.FD)()?(t[0]=n[0]/e,t[1]=n[1]/e,t[2]=n[2]/e):(t[0]=1,t[1]=0,t[2]=0),r}function l(t,n,r){const e=n[0],o=n[1],s=n[2],a=n[3],i=r[0],u=r[1],c=r[2],f=r[3];return t[0]=e*f+a*i+o*c-s*u,t[1]=o*f+a*u+s*i-e*c,t[2]=s*f+a*c+e*u-o*i,t[3]=a*f-e*i-o*u-s*c,t}function h(t,n,r,e){const o=n[0],s=n[1],i=n[2],u=n[3];let c,f,l,h,M,m=r[0],p=r[1],g=r[2],d=r[3];return f=o*m+s*p+i*g+u*d,f<0&&(f=-f,m=-m,p=-p,g=-g,d=-d),1-f>(0,a.FD)()?(c=Math.acos(f),l=Math.sin(c),h=Math.sin((1-e)*c)/l,M=Math.sin(e*c)/l):(h=1-e,M=e),t[0]=h*o+M*m,t[1]=h*s+M*p,t[2]=h*i+M*g,t[3]=h*u+M*d,t}function M(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=n[3],t}function m(t,n){const r=n[0]+n[4]+n[8];let e;if(r>0)e=Math.sqrt(r+1),t[3]=.5*e,e=.5/e,t[0]=(n[5]-n[7])*e,t[1]=(n[6]-n[2])*e,t[2]=(n[1]-n[3])*e;else{let r=0;n[4]>n[0]&&(r=1),n[8]>n[3*r+r]&&(r=2);const o=(r+1)%3,s=(r+2)%3;e=Math.sqrt(n[3*r+r]-n[3*o+o]-n[3*s+s]+1),t[r]=.5*e,e=.5/e,t[3]=(n[3*o+s]-n[3*s+o])*e,t[o]=(n[3*o+r]+n[3*r+o])*e,t[s]=(n[3*s+r]+n[3*r+s])*e}return t}function p(t,n,r,e){const o=.5*Math.PI/180;n*=o,r*=o,e*=o;const s=Math.sin(n),a=Math.cos(n),i=Math.sin(r),u=Math.cos(r),c=Math.sin(e),f=Math.cos(e);return t[0]=s*u*f-a*i*c,t[1]=a*i*f+s*u*c,t[2]=a*u*c-s*i*f,t[3]=a*u*f+s*i*c,t}const g=u.d,d=u.s,v=u.h,b=l,y=u.c,w=u.g,A=u.l,x=u.i,q=x,_=u.b,S=_,I=u.n,Z=u.a,P=u.e,C=(0,s.vt)(),N=(0,s.fA)(1,0,0),X=(0,s.fA)(0,1,0),O=(0,o.vt)(),T=(0,o.vt)(),j=(0,e.vt)();Object.freeze(Object.defineProperty({__proto__:null,add:v,calculateW:function(t,n){const r=n[0],e=n[1],o=n[2];return t[0]=r,t[1]=e,t[2]=o,t[3]=Math.sqrt(Math.abs(1-r*r-e*e-o*o)),t},conjugate:M,copy:g,dot:w,equals:P,exactEquals:Z,fromEuler:p,fromMat3:m,getAxisAngle:f,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},invert:function(t,n){const r=n[0],e=n[1],o=n[2],s=n[3],a=r*r+e*e+o*o+s*s,i=a?1/a:0;return t[0]=-r*i,t[1]=-e*i,t[2]=-o*i,t[3]=s*i,t},len:q,length:x,lerp:A,mul:b,multiply:l,normalize:I,random:function(t){const n=a.Ov,r=n(),e=n(),o=n(),s=Math.sqrt(1-r),i=Math.sqrt(r);return t[0]=s*Math.sin(2*Math.PI*e),t[1]=s*Math.cos(2*Math.PI*e),t[2]=i*Math.sin(2*Math.PI*o),t[3]=i*Math.cos(2*Math.PI*o),t},rotateX:function(t,n,r){r*=.5;const e=n[0],o=n[1],s=n[2],a=n[3],i=Math.sin(r),u=Math.cos(r);return t[0]=e*u+a*i,t[1]=o*u+s*i,t[2]=s*u-o*i,t[3]=a*u-e*i,t},rotateY:function(t,n,r){r*=.5;const e=n[0],o=n[1],s=n[2],a=n[3],i=Math.sin(r),u=Math.cos(r);return t[0]=e*u-s*i,t[1]=o*u+a*i,t[2]=s*u+e*i,t[3]=a*u-o*i,t},rotateZ:function(t,n,r){r*=.5;const e=n[0],o=n[1],s=n[2],a=n[3],i=Math.sin(r),u=Math.cos(r);return t[0]=e*u+o*i,t[1]=o*u-e*i,t[2]=s*u+a*i,t[3]=a*u-s*i,t},rotationTo:function(t,n,r){const e=(0,i.f)(n,r);return e<-.999999?((0,i.i)(C,N,n),(0,i.H)(C)<1e-6&&(0,i.i)(C,X,n),(0,i.n)(C,C),c(t,C,Math.PI),t):e>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,i.i)(C,n,r),t[0]=C[0],t[1]=C[1],t[2]=C[2],t[3]=1+e,I(t,t))},scale:y,set:d,setAxes:function(t,n,r,e){const o=j;return o[0]=r[0],o[3]=r[1],o[6]=r[2],o[1]=e[0],o[4]=e[1],o[7]=e[2],o[2]=-n[0],o[5]=-n[1],o[8]=-n[2],I(t,m(t,o))},setAxisAngle:c,slerp:h,sqlerp:function(t,n,r,e,o,s){return h(O,n,o,s),h(T,r,e,s),h(t,O,T,2*s*(1-s)),t},sqrLen:S,squaredLength:_,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"}},Symbol.toStringTag,{value:"Module"}))},73836:(t,n,r)=>{r.d(n,{A:()=>m});var e=r(31635),o=r(69540),s=r(25482),a=r(10107),i=(r(44208),r(53966),r(87811),r(64108)),u=r(58083),c=r(9093),f=r(67026),l=r(82534),h=r(51850),M=r(24770);let m=class extends((0,o.OU)(s.o)){constructor(t){super(t),this.translation=(0,h.vt)(),this.rotationAxis=(0,h.ci)(M.up),this.rotationAngle=0,this.scale=(0,h.fA)(1,1,1)}get rotation(){return(0,M.i4)(this.rotationAxis,this.rotationAngle)}set rotation(t){this.rotationAxis=(0,h.o8)((0,M.yo)(t)),this.rotationAngle=(0,M.g7)(t)}get localMatrix(){const t=(0,c.vt)();return(0,f.x8)(p,(0,M.yo)(this.rotation),(0,M.$I)(this.rotation)),(0,u.o1)(t,p,this.translation,this.scale),t}get localMatrixInverse(){return(0,u.B8)((0,c.vt)(),this.localMatrix)}equals(t){return this===t||null!=t&&(0,u.t2)(this.localMatrix,t.localMatrix)}};(0,e.Cg)([(0,a.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],m.prototype,"translation",void 0),(0,e.Cg)([(0,a.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],m.prototype,"rotationAxis",void 0),(0,e.Cg)([(0,a.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],m.prototype,"rotationAngle",void 0),(0,e.Cg)([(0,a.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],m.prototype,"scale",void 0),(0,e.Cg)([(0,a.MZ)()],m.prototype,"rotation",null),(0,e.Cg)([(0,a.MZ)()],m.prototype,"localMatrix",null),(0,e.Cg)([(0,a.MZ)()],m.prototype,"localMatrixInverse",null),m=(0,e.Cg)([(0,i.$)("esri.geometry.support.MeshTransform")],m);const p=(0,l.vt)()},77793:(t,n,r)=>{r.d(n,{V:()=>s,f:()=>a});var e=r(86738),o=r(73836);function s(t,n,r=i){return new e.A({x:t[r.originX],y:t[r.originY],z:t[r.originZ],spatialReference:n})}function a(t,n=i){return new o.A({translation:[t[n.translationX],-t[n.translationZ],t[n.translationY]],rotationAxis:[t[n.rotationX],-t[n.rotationZ],t[n.rotationY]],rotationAngle:t[n.rotationDeg],scale:[t[n.scaleX],t[n.scaleZ],t[n.scaleY]]})}const i={originX:"originX",originY:"originY",originZ:"originZ",translationX:"translationX",translationY:"translationY",translationZ:"translationZ",scaleX:"scaleX",scaleY:"scaleY",scaleZ:"scaleZ",rotationX:"rotationX",rotationY:"rotationY",rotationZ:"rotationZ",rotationDeg:"rotationDeg"}},82534:(t,n,r)=>{function e(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}r.d(n,{o8:()=>o,vt:()=>e,zK:()=>s});const s=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:o,create:e,fromValues:function(t,n,r,e){return[t,n,r,e]}},Symbol.toStringTag,{value:"Module"}))},98764:(t,n,r)=>{r.d(n,{Y0:()=>c,lO:()=>f});var e=r(73941),o=r(16930),s=r(21325);const a=new o.A(e.fv),i=new o.A(e.FY),u=new o.A(e.LJ),c=new o.A(e.Ro);function f(t){const n=l.get(t);if(n)return n;let r=a;if(t)if(t===i)r=i;else if(t===u)r=u;else{const n=t.wkid,e=t.latestWkid;if(null!=n||null!=e)(0,s.tl)(n)||(0,s.tl)(e)?r=i:((0,s.ZL)(n)||(0,s.ZL)(e))&&(r=u);else{const n=t.wkt2??t.wkt;if(n){const t=n.toUpperCase();t===h?r=i:t===M&&(r=u)}}}return l.set(t,r),r}const l=new Map,h=i.wkt.toUpperCase(),M=u.wkt.toUpperCase()}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2848],{159:(e,t,n)=>{n.d(t,{A:()=>u});var l,r=n(31635),i=n(65008),s=n(10107),o=(n(44208),n(53966),n(87811),n(40608)),a=n(99157);let u=l=class extends i.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new l;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,r.Cg)([(0,s.MZ)({type:[a.A],nonNullable:!0})],u.prototype,"steps",void 0),u=l=(0,r.Cg)([(0,o.$)("esri.geometry.operators.support.GeographicTransformation")],u)},9762:(e,t,n)=>{n.r(t),n.d(t,{projectBuffer:()=>r});var l=n(37539);function r(e,t,n,r,i,s,o=Math.floor(e.length/3)){const a=(0,l.jd)(t,i);if(null==a)return!1;if(a===l.pO){if(e===r&&n===s)return!0;const t=n+3*o;for(let l=n,i=s;l<t;l++,i++)r[i]=e[l];return!0}const u=n+3*o;for(let t=n,l=s;t<u;t+=3,l+=3)a(e,t,r,l);return!0}},37539:(e,t,n)=>{n.d(t,{pO:()=>g,jd:()=>p,Tp:()=>h,w5:()=>f});var l=n(34727),r=n(83047),i=n(73941),s=n(79258);Math.PI;const o=s.$O.radius,a=s.$O.eccentricitySquared,u={a1:o*a,a2:o*a*o*a,a3:o*a*a/2,a4:o*a*o*a*2.5,a5:o*a+o*a*a/2,a6:1-a};s.$O.radius,s.$O.flattening,s.Sw.radius,s.Sw.flattening,s.sH.radius,s.sH.flattening,s.sH.radius;var c=n(21325);const f={2:{5:g,7:null,9:null,10:g,1:A,6:null,8:null,0:null,3:m,11:y,2:g,4:P},5:{5:g,7:null,9:null,10:g,1:A,6:null,8:null,0:null,3:m,11:y,2:g,4:P},7:{5:null,7:g,9:null,10:g,1:null,6:R,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:g,10:g,1:null,6:null,8:x,0:null,3:null,11:null,2:null,4:null},3:{5:w,7:null,9:null,10:w,1:function(e,t,n,l){const r=e[t]/T,i=L-2*Math.atan(Math.exp(-e[t+1]/T)),s=T+e[t+2],o=Math.cos(i)*s;n[l]=Math.cos(r)*o,n[l+1]=Math.sin(r)*o,n[l+2]=Math.sin(i)*s},6:null,8:null,0:null,3:g,11:function(e,t,n,l){w(e,t,n,l),y(n,l,n,l)},2:w,4:function(e,t,n,l){w(e,t,n,l),P(n,l,n,l)}},4:{5:O,7:null,9:null,10:O,1:function(e,t,n,l){O(e,t,n,l),A(n,l,n,l)},6:null,8:null,0:null,3:function(e,t,n,l){O(e,t,n,l),m(n,l,n,l)},11:function(e,t,n,l){O(e,t,n,l),y(n,l,n,l)},2:O,4:g},1:{5:C,7:null,9:null,10:C,1:g,6:null,8:null,0:null,3:function(e,t,n,l){C(e,t,n,l),m(n,l,n,l)},11:function(e,t,n,l){C(e,t,n,l),y(n,l,n,l)},2:C,4:function(e,t,n,l){C(e,t,n,l),P(n,l,n,l)}},6:{5:null,7:I,9:null,10:I,1:null,6:g,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:z,10:z,1:null,6:null,8:g,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:g,3:null,11:null,2:null,4:null},10:{5:g,7:g,9:g,10:g,1:A,6:R,8:x,0:null,3:m,11:y,2:g,4:P},11:{5:v,7:null,9:null,10:v,1:function(e,t,n,l){v(e,t,n,l),A(n,l,n,l)},6:null,8:null,0:null,3:function(e,t,n,l){v(e,t,n,l),m(n,l,n,l)},11:g,2:v,4:function(e,t,n,l){v(e,t,n,l),P(n,l,n,l)}}};function p(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(S.source.spatialReference===e&&S.dest.spatialReference===t)return S;const n=d(e,S.source),l=d(t,S.dest);return 0===n&&0===l?(0,c.aI)(e,t)?S.projector=g:S.projector=null:S.projector=f[n][l],S}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,r.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===i.FY.wkt?t.spatialReferenceId=6:e.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function g(e,t,n,l){e!==n&&(n[l++]=e[t++],n[l++]=e[t++],n[l]=e[t])}function w(e,t,n,l){n[l]=k*(e[t]/T),n[l+1]=k*(L-2*Math.atan(Math.exp(-e[t+1]/T))),n[l+2]=e[t+2]}function m(e,t,n,r){!function(e,t,n,r,i){const s=.4999999*Math.PI,o=(0,l.qE)(Z*e[t+1],-s,s),a=Math.sin(o);n[r++]=Z*e[t]*i.radius,n[r++]=i.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[r]=e[t+2]}(e,t,n,r,s.$O)}function y(e,t,n,l){n[l]=e[t]*b,n[l+1]=e[t+1]*b,n[l+2]=e[t+2]}function v(e,t,n,l){n[l]=e[t]*_,n[l+1]=e[t+1]*_,n[l+2]=e[t+2]}function M(e,t,n,l,r){const i=r+e[t+2],s=Z*e[t+1],o=Z*e[t],a=Math.cos(s)*i;n[l]=Math.cos(o)*a,n[l+1]=Math.sin(o)*a,n[l+2]=Math.sin(s)*i}function x(e,t,n,l){M(e,t,n,l,s.Sw.radius)}function R(e,t,n,l){M(e,t,n,l,s.sH.radius)}function A(e,t,n,l){M(e,t,n,l,s.$O.radius)}function j(e,t,n,r,i){const s=e[t],o=e[t+1],a=e[t+2],u=Math.sqrt(s*s+o*o+a*a),c=(0,l.YN)(a/(0===u?1:u)),f=Math.atan2(o,s);n[r++]=k*f,n[r++]=k*c,n[r]=u-i}function z(e,t,n,l){j(e,t,n,l,s.Sw.radius)}function I(e,t,n,l){j(e,t,n,l,s.sH.radius)}function C(e,t,n,l){j(e,t,n,l,s.$O.radius)}function P(e,t,n,l){!function(e,t,n,l,r){const i=Z*e[t],s=Z*e[t+1],o=e[t+2],a=Math.sin(s),u=Math.cos(s),c=r.radius/Math.sqrt(1-r.eccentricitySquared*a*a);n[l++]=(c+o)*u*Math.cos(i),n[l++]=(c+o)*u*Math.sin(i),n[l++]=(c*(1-r.eccentricitySquared)+o)*a}(e,t,n,l,s.$O)}function O(e,t,n,l){const r=u,i=e[t],o=e[t+1],a=e[t+2];let c,f,p,h,d,g,w,m,y,v,M,x,R,A,j,z,I,C,P,O,S;c=Math.abs(a),f=i*i+o*o,p=Math.sqrt(f),h=f+a*a,d=Math.sqrt(h),O=Math.atan2(o,i),g=a*a/h,w=f/h,A=r.a2/d,j=r.a3-r.a4/d,w>.3?(m=c/d*(1+w*(r.a1+A+g*j)/d),P=Math.asin(m),v=m*m,y=Math.sqrt(1-v)):(y=p/d*(1-g*(r.a5-A-w*j)/d),P=Math.acos(y),v=1-y*y,m=Math.sqrt(v)),M=1-s.$O.eccentricitySquared*v,x=s.$O.radius/Math.sqrt(M),R=r.a6*x,A=p-x*y,j=c-R*m,I=y*A+m*j,z=y*j-m*A,C=z/(R/M+I),P+=C,S=I+z*C/2,a<0&&(P=-P),n[l++]=k*O,n[l++]=k*P,n[l]=S}const S={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:g},Z=(0,l.kU)(1),k=(0,l.KJ)(1),L=.5*Math.PI,T=s.$O.radius,b=T*Math.PI/180,_=180/(T*Math.PI)},62815:(e,t,n)=>{n.d(t,{N:()=>s});var l=n(83047),r=n(73941),i=n(21325);function s(e,t,n){if(null==t||null==n||n.vcsWkid||(0,i.aI)(t,n)||(0,r.xP)(t)||(0,r.xP)(n))return null;const s=(0,l.G9)(t)/(0,l.G9)(n);if(1===s)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,s);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const n of e.paths)for(const e of n)e.length>2&&(e[2]*=t)}(e,s);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const n of e.rings)for(const e of n)e.length>2&&(e[2]*=t)}(e,s);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const n of e.points)n.length>2&&(n[2]*=t)}(e,s);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,s);default:return null}}},72802:(e,t,n)=>{n.d(t,{U:()=>r});var l=n(19419);class r{constructor(e,t,n,r=(0,l.vt)()){this._level=e,this._row=t,this._col=n,this.extent=r}get id(){return this._id??=`${this.level}/${this.row}/${this.col}`,this._id}get level(){return this._level}set level(e){this._level=e,this._id=null}get row(){return this._row}set row(e){this._row=e,this._id=null}get col(){return this._col}set col(e){this._col=e,this._id=null}toJSON(){return{level:this._level,row:this._row,col:this._col,extent:this.extent}}static fromJSON(e){return new r(e.level,e.row,e.col,e.extent)}}},87045:(e,t,n)=>{n.d(t,{A:()=>M});var l,r=n(31635),i=n(66552),s=n(25482),o=n(83047),a=n(10107),u=n(56507),c=(n(44208),n(87811),n(36005)),f=n(40608),p=n(43937),h=n(86738),d=n(16930),g=n(21325),w=n(28735),m=n(91806),y=n(72802);const v=new i.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let M=class extends s.o{static{l=this}static create(e={}){const{resolutionFactor:t=1,scales:n,size:r=256,spatialReference:i=d.A.WebMercator,numLODs:s=24}=e;if(!(0,g.fn)(i)){const e=[];if(n)for(let t=0;t<n.length;t++){const l=n[t];e.push(new m.A({level:t,scale:l,resolution:l}))}else{let t=5e-4;for(let n=s-1;n>=0;n--)e.unshift(new m.A({level:n,scale:t,resolution:t})),t*=2}return new l({dpi:96,lods:e,origin:new h.A(0,0,i),size:[r,r],spatialReference:i})}const a=(0,g.Vp)(i),u=e.origin?new h.A({x:e.origin.x,y:e.origin.y,spatialReference:i}):new h.A(a?{x:a.origin[0],y:a.origin[1],spatialReference:i}:{x:0,y:0,spatialReference:i}),c=1/(39.37*(0,o.GA)(i)*96),f=[];if(n)for(let e=0;e<n.length;e++){const t=n[e],l=t*c;f.push(new m.A({level:e,scale:t,resolution:l}))}else{let e=(0,g.EA)(i)?512/r*591657527.5917094:256/r*591657527.591555;const n=Math.ceil(s/t);f.push(new m.A({level:0,scale:e,resolution:e*c}));for(let l=1;l<n;l++){const n=e/2**t,r=n*c;f.push(new m.A({level:l,scale:n,resolution:r})),e=n}}return new l({dpi:96,lods:f,origin:u,size:[r,r],spatialReference:i})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const n=(0,g.Vp)(e);return e.isWrappable&&!!n&&Math.abs(n.origin[0]-t.x)<=n.dx}return!1}readOrigin(e,t){return h.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,n=0;const l=[],r=this._levelToLOD={};e&&(t=-1/0,n=1/0,e.forEach(e=>{l.push(e.scale),t=e.scale>t?e.scale:t,n=e.scale<n?e.scale:n,r[e.level]=e})),this._set("scales",l),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const n=Math.floor(e),l=n+1;return t[n]/(t[n]/t[l])**(e-n)}scaleToZoom(e){const t=this.scales,n=t.length-1;let l=0;for(;l<n;l++){const n=t[l],r=t[l+1];if(n<=e)return l;if(r===e)return l+1;if(n>e&&r<e)return l+Math.log(n/e)/Math.log(n/r)}return l}tileAt(e,t,n,l){const r=this.lodAt(e);if(!r)return null;let i,s;if("number"==typeof t)i=t,s=n;else if((0,g.aI)(t.spatialReference,this.spatialReference))i=t.x,s=t.y,l=n;else{const e=(0,w.Cv)(t,this.spatialReference);if(null==e)return null;i=e.x,s=e.y,l=n}const o=r.resolution*this.size[0],a=r.resolution*this.size[1];return l??=new y.U(0,0,0),l.level=e,l.row=Math.floor((this.origin.y-s)/a+.001),l.col=Math.floor((i-this.origin.x)/o+.001),this.updateTileInfo(l),l}updateTileInfo(e,t=0){if(!("extent"in e))return!1;let n=this.lodAt(e.level);if(!n&&1===t){const t=this.lods[this.lods.length-1];t.level<e.level&&(n=t)}if(!n)return!1;const l=e.level-n.level,r=n.resolution*this.size[0]/2**l,i=n.resolution*this.size[1]/2**l;return e.extent[0]=this.origin.x+e.col*r,e.extent[1]=this.origin.y-(e.row+1)*i,e.extent[2]=e.extent[0]+r,e.extent[3]=e.extent[1]+i,!0}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const n=this.lodAt(t.level);if(null==n)return null;const{resolution:l}=n,r=l*this.size[0],i=l*this.size[1];return e[0]=this.origin.x+t.col*r,e[1]=this.origin.y-(t.row+1)*i,e[2]=e[0]+r,e[3]=e[1]+i,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return l.fromJSON(this.write({}))}getCompatibleForVTL(e){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===e)return null;const t=(512===this.size[0]&&256===e?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===e&&0===t)return this;const n=[],r=this.lods.length-t;for(let e=0;e<r;e++){const l=e+t,{scale:r,resolution:i}=l>=0?this.lods[l]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};n.push(new m.A({level:e,scale:r,resolution:i}))}return new l({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:n})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let n=0;n<e.length;n++){const l=e[n];this._upsampleLevels[l.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/l.resolution:0},t=l}}};(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"compressionQuality",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"dpi",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{read:v.read,write:v.write,origins:{"web-scene":{read:!1,write:!1}}}})],M.prototype,"format",void 0),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],M.prototype,"isWrappable",null),(0,r.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],M.prototype,"origin",void 0),(0,r.Cg)([(0,c.w)("origin")],M.prototype,"readOrigin",null),(0,r.Cg)([(0,a.MZ)({type:[m.A],value:null,json:{write:!0}})],M.prototype,"lods",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],M.prototype,"scales",void 0),(0,r.Cg)([(0,a.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],M.prototype,"size",void 0),(0,r.Cg)([(0,c.w)("size",["rows","cols"])],M.prototype,"readSize",null),(0,r.Cg)([(0,p.K)("size",{cols:{type:u.jz},rows:{type:u.jz}})],M.prototype,"writeSize",null),(0,r.Cg)([(0,a.MZ)({type:d.A,json:{write:!0}})],M.prototype,"spatialReference",void 0),M=l=(0,r.Cg)([(0,f.$)("esri.layers.support.TileInfo")],M)},91218:(e,t,n)=>{n.r(t),n.d(t,{canProjectWithoutEngine:()=>J,initializeProjection:()=>V,isEqualBaseGCS:()=>U,isLoaded:()=>S,isLoadedOrLoad:()=>Z,isLoadedOrLoadFor:()=>k,load:()=>T,project:()=>b,projectExtent:()=>ne,projectMany:()=>_,projectMultipoint:()=>K,projectOrLoad:()=>G,projectOrLoadMany:()=>N,projectPoint:()=>D,projectPolygon:()=>ee,projectPolyline:()=>Y,projectWithZConversion:()=>F,projectWithoutEngine:()=>B,requiresLoad:()=>L,test:()=>q,tryProjectWithZConversion:()=>W,unload:()=>E});var l=n(49186),r=n(74887),i=n(62788),s=n(95488),o=n(51850),a=n(21276),u=n(73941),c=n(5443),f=n(91075),p=n(48526),h=n(86738),d=n(39829),g=n(82799),w=n(16930),m=n(159),y=n(9762),v=n(37539);function M(e,t,n,l,r,i){return x[0]=e,x[1]=t,x[2]=n,(0,y.projectBuffer)(x,l,0,r,i,0)}const x=(0,o.vt)();var R=n(21325),A=n(62815);let j=null,z=null,I=null,C=null,P={};const O=new s.I;function S(){return!!(z?.isLoaded()&&I?.isLoaded()&&C?.isLoaded())}function Z(){return!!S()||((0,i.gc)(O),T(),!1)}function k(e,t){return!e||!t||J(e,t)||Z()}function L(e,t){return!J(e,t)&&!S()}async function T(e){null==j&&(j=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(z=e,z.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(I=e,I.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(C=e,C.load()))])),await j,(0,r.Te)(e),O.notify()}function b(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),_(e,e[0].spatialReference,t,n)):((0,a.f)(e),_([e],e.spatialReference,t,n)[0])}function _(e,t,n,l){if(null==t||null==n)return e;if(J(t,n,l))return e.map(e=>B(e,t,n));if(null==l?.geographicTransformation&&(0,u.jA)(t))return e.map(e=>B(e,t,w.A.WGS84)).map(e=>W(e,n));if(null==l?.geographicTransformation&&(0,u.jA)(n))return e.map(e=>W(e,w.A.WGS84)).map(e=>B(e,w.A.WGS84,n));if(!S())throw new $;if(!l?.geographicTransformation)if(l?.extendedParams)l={...l,geographicTransformation:C.getTransformation(t,n,l.areaOfInterestExtent)||new m.A};else if(!l?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let r=P[e];r||(r=C.getTransformation(t,n)||new m.A,P[e]=r),l={geographicTransformation:r}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof f.A?z.executeMany(e,n,l):I.executeMany(e,n,l)}function G(e,t){const n=N([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function N(e,t){if(!S())for(const n of e)if(null!=n&&!(0,R.aI)(n.spatialReference,t)&&(0,R.fn)(n.spatialReference)&&(0,R.fn)(t)&&!J(n.spatialReference,t))return(0,i.gc)(O),{pending:T(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,R.aI)(e.spatialReference,t)?e:(0,R.fn)(e.spatialReference)&&(0,R.fn)(t)?W(e,t):null)}}class $ extends l.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function E(){j=null,z=null,I=null,C=null,P={}}const q={get loadPromise(){return j}};function W(e,t){try{const n=b(e,t);if(null==n)return null;"xmin"in e&&"xmin"in n&&(n.zmin=e.zmin,n.zmax=e.zmax);const l=(0,A.N)(n.type,e.spatialReference,t);return null!=l&&l(n),n}catch(e){if(!(e instanceof $))throw e;return null}}async function F(e,t,n){const l=e.spatialReference;return null!=l&&null!=t&&await V(l,t,null,n),W(e,t)}function J(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,R.aI)(e,t)||(0,R.fn)(e)&&(0,R.fn)(t)&&!!(0,v.jd)(e,t))}function U(e,t){if((0,R.aI)(e,t))return!0;if(!(0,R.fn)(e)||!(0,R.fn)(t))return!1;const n=(0,R.oT)(e)||(0,R.K8)(e)||(0,R.x1)(e),l=(0,R.oT)(t)||(0,R.K8)(t)||(0,R.x1)(t);return n&&l}async function V(e,t,n,l){if(S())return(0,r.NO)(l);if(Array.isArray(e)){for(const{source:t,dest:n,options:r}of e)if(t&&n&&!J(t,n,r))return T(l)}else if(e&&t&&!J(e,t,n))return T(l);return(0,r.NO)(l)}function B(e,t,n){return e?"x"in e?H(e,t,new h.A,n,0):"xmin"in e?le(e,t,new c.A,n,0):"rings"in e?te(e,t,new d.A,n,0):"paths"in e?X(e,t,new g.A,n,0):"points"in e?Q(e,t,new p.A,n,0):null:null}function D(e,t,n=t.spatialReference,l=0){return null!=n&&null!=e.spatialReference&&null!=H(e,e.spatialReference,t,n,l)}function H(e,t,n,l,r){ie[0]=e.x,ie[1]=e.y;const i=e.z;return ie[2]=void 0!==i?i:r,(0,y.projectBuffer)(ie,t,0,ie,l,0)?(n.x=ie[0],n.y=ie[1],n.spatialReference=l,void 0!==i||(0,u.xP)(l)?(n.z=ie[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function K(e,t,n=t.spatialReference,l=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,l)}function Q(e,t,n,l,r){const{points:i,hasZ:s,hasM:o}=e,a=[],c=i.length,f=[];for(const e of i)f.push(e[0],e[1],s?e[2]:r);if(!(0,y.projectBuffer)(f,t,0,f,l,0,c))return null;const p=s||(0,u.xP)(l);for(let e=0;e<c;++e){const t=3*e,n=f[t],l=f[t+1];p&&o?a.push([n,l,f[t+2],i[e][3]]):p?a.push([n,l,f[t+2]]):o?a.push([n,l,i[e][2]]):a.push([n,l])}return n.points=a,n.spatialReference=l,n.hasZ=s,n.hasM=o,n}function Y(e,t,n=t.spatialReference,l=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,l)}function X(e,t,n,l,r){const{paths:i,hasZ:s,hasM:o}=e,a=[];if(!re(i,s??!1,o??!1,t,a,l,r))return null;const c=s||(0,u.xP)(l);return n.paths=a,n.spatialReference=l,n.hasZ=c,n.hasM=o,n}function ee(e,t,n=t.spatialReference,l=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,l)}function te(e,t,n,l,r){const{rings:i,hasZ:s,hasM:o}=e,a=[];if(!re(i,s??!1,o??!1,t,a,l,r))return null;const c=s||(0,u.xP)(l);return n.rings=a,n.spatialReference=l,n.hasZ=c,n.hasM=o,n}function ne(e,t,n=t.spatialReference,l=0){return null!=e.spatialReference&&null!=n&&null!=le(e,e.spatialReference,t,n,l)}function le(e,t,n,l,r){const{xmin:i,ymin:s,xmax:o,ymax:a,hasZ:c,hasM:f}=e;if(!M(i,s,c?e.zmin:r,t,ie,l))return null;const p=c||(0,u.xP)(l);return n.xmin=ie[0],n.ymin=ie[1],p&&(n.zmin=ie[2]),M(o,a,c?e.zmax:r,t,ie,l)?(n.xmax=ie[0],n.ymax=ie[1],p&&(n.zmax=ie[2]),f&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=l,n):null}function re(e,t,n,l,r,i,s=0){const o=new Array;for(const n of e)for(const e of n)o.push(e[0],e[1],t?e[2]:s);if(!(0,y.projectBuffer)(o,l,0,o,i,0))return!1;let a=0;r.length=0;const c=t||(0,u.xP)(i);for(const t of e){const e=new Array;for(const l of t)c&&n?e.push([o[a++],o[a++],o[a++],l[3]]):c?e.push([o[a++],o[a++],o[a++]]):n?(e.push([o[a++],o[a++],l[2]]),a++):(e.push([o[a++],o[a++]]),a++);r.push(e)}return!0}const ie=(0,o.vt)()},91806:(e,t,n)=>{n.d(t,{A:()=>u});var l,r=n(31635),i=n(25482),s=n(10107),o=n(56507),a=(n(44208),n(87811),n(40608));let u=class extends i.o{static{l=this}constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new l({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,r.Cg)([(0,s.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"cols",void 0),(0,r.Cg)([(0,s.MZ)({type:o.jz,json:{write:!0}})],u.prototype,"level",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"levelValue",void 0),(0,r.Cg)([(0,s.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"origin",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],u.prototype,"resolution",void 0),(0,r.Cg)([(0,s.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"rows",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],u.prototype,"scale",void 0),u=l=(0,r.Cg)([(0,a.$)("esri.layers.support.LOD")],u)},99157:(e,t,n)=>{n.d(t,{A:()=>a});var l,r=n(31635),i=n(65008),s=n(10107),o=(n(44208),n(53966),n(87811),n(40608));let a=l=class extends i.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new l({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,r.Cg)([(0,s.MZ)()],a.prototype,"isInverse",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"wkt",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"wkid",void 0),a=l=(0,r.Cg)([(0,o.$)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2848],{159:(e,t,n)=>{n.d(t,{A:()=>u});var l,r=n(31635),i=n(65008),s=n(10107),o=(n(44208),n(53966),n(87811),n(64108)),a=n(99157);let u=l=class extends i.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new l;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,r.Cg)([(0,s.MZ)({type:[a.A],nonNullable:!0})],u.prototype,"steps",void 0),u=l=(0,r.Cg)([(0,o.$)("esri.geometry.operators.support.GeographicTransformation")],u)},9762:(e,t,n)=>{n.r(t),n.d(t,{projectBuffer:()=>r});var l=n(37539);function r(e,t,n,r,i,s,o=Math.floor(e.length/3)){const a=(0,l.jd)(t,i);if(null==a)return!1;if(a===l.pO){if(e===r&&n===s)return!0;const t=n+3*o;for(let l=n,i=s;l<t;l++,i++)r[i]=e[l];return!0}const u=n+3*o;for(let t=n,l=s;t<u;t+=3,l+=3)a(e,t,r,l);return!0}},37539:(e,t,n)=>{n.d(t,{pO:()=>g,jd:()=>p,Tp:()=>h,w5:()=>f});var l=n(34727),r=n(83047),i=n(73941),s=n(79258);Math.PI;const o=s.$O.radius,a=s.$O.eccentricitySquared,u={a1:o*a,a2:o*a*o*a,a3:o*a*a/2,a4:o*a*o*a*2.5,a5:o*a+o*a*a/2,a6:1-a};s.$O.radius,s.$O.flattening,s.Sw.radius,s.Sw.flattening,s.sH.radius,s.sH.flattening,s.sH.radius;var c=n(21325);const f={2:{5:g,7:null,9:null,10:g,1:A,6:null,8:null,0:null,3:m,11:y,2:g,4:P},5:{5:g,7:null,9:null,10:g,1:A,6:null,8:null,0:null,3:m,11:y,2:g,4:P},7:{5:null,7:g,9:null,10:g,1:null,6:R,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:g,10:g,1:null,6:null,8:x,0:null,3:null,11:null,2:null,4:null},3:{5:w,7:null,9:null,10:w,1:function(e,t,n,l){const r=e[t]/T,i=L-2*Math.atan(Math.exp(-e[t+1]/T)),s=T+e[t+2],o=Math.cos(i)*s;n[l]=Math.cos(r)*o,n[l+1]=Math.sin(r)*o,n[l+2]=Math.sin(i)*s},6:null,8:null,0:null,3:g,11:function(e,t,n,l){w(e,t,n,l),y(n,l,n,l)},2:w,4:function(e,t,n,l){w(e,t,n,l),P(n,l,n,l)}},4:{5:O,7:null,9:null,10:O,1:function(e,t,n,l){O(e,t,n,l),A(n,l,n,l)},6:null,8:null,0:null,3:function(e,t,n,l){O(e,t,n,l),m(n,l,n,l)},11:function(e,t,n,l){O(e,t,n,l),y(n,l,n,l)},2:O,4:g},1:{5:C,7:null,9:null,10:C,1:g,6:null,8:null,0:null,3:function(e,t,n,l){C(e,t,n,l),m(n,l,n,l)},11:function(e,t,n,l){C(e,t,n,l),y(n,l,n,l)},2:C,4:function(e,t,n,l){C(e,t,n,l),P(n,l,n,l)}},6:{5:null,7:I,9:null,10:I,1:null,6:g,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:z,10:z,1:null,6:null,8:g,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:g,3:null,11:null,2:null,4:null},10:{5:g,7:g,9:g,10:g,1:A,6:R,8:x,0:null,3:m,11:y,2:g,4:P},11:{5:v,7:null,9:null,10:v,1:function(e,t,n,l){v(e,t,n,l),A(n,l,n,l)},6:null,8:null,0:null,3:function(e,t,n,l){v(e,t,n,l),m(n,l,n,l)},11:g,2:v,4:function(e,t,n,l){v(e,t,n,l),P(n,l,n,l)}}};function p(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(S.source.spatialReference===e&&S.dest.spatialReference===t)return S;const n=d(e,S.source),l=d(t,S.dest);return 0===n&&0===l?(0,c.aI)(e,t)?S.projector=g:S.projector=null:S.projector=f[n][l],S}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,r.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===i.FY.wkt?t.spatialReferenceId=6:e.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function g(e,t,n,l){e!==n&&(n[l++]=e[t++],n[l++]=e[t++],n[l]=e[t])}function w(e,t,n,l){n[l]=k*(e[t]/T),n[l+1]=k*(L-2*Math.atan(Math.exp(-e[t+1]/T))),n[l+2]=e[t+2]}function m(e,t,n,r){!function(e,t,n,r,i){const s=.4999999*Math.PI,o=(0,l.qE)(Z*e[t+1],-s,s),a=Math.sin(o);n[r++]=Z*e[t]*i.radius,n[r++]=i.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[r]=e[t+2]}(e,t,n,r,s.$O)}function y(e,t,n,l){n[l]=e[t]*b,n[l+1]=e[t+1]*b,n[l+2]=e[t+2]}function v(e,t,n,l){n[l]=e[t]*_,n[l+1]=e[t+1]*_,n[l+2]=e[t+2]}function M(e,t,n,l,r){const i=r+e[t+2],s=Z*e[t+1],o=Z*e[t],a=Math.cos(s)*i;n[l]=Math.cos(o)*a,n[l+1]=Math.sin(o)*a,n[l+2]=Math.sin(s)*i}function x(e,t,n,l){M(e,t,n,l,s.Sw.radius)}function R(e,t,n,l){M(e,t,n,l,s.sH.radius)}function A(e,t,n,l){M(e,t,n,l,s.$O.radius)}function j(e,t,n,r,i){const s=e[t],o=e[t+1],a=e[t+2],u=Math.sqrt(s*s+o*o+a*a),c=(0,l.YN)(a/(0===u?1:u)),f=Math.atan2(o,s);n[r++]=k*f,n[r++]=k*c,n[r]=u-i}function z(e,t,n,l){j(e,t,n,l,s.Sw.radius)}function I(e,t,n,l){j(e,t,n,l,s.sH.radius)}function C(e,t,n,l){j(e,t,n,l,s.$O.radius)}function P(e,t,n,l){!function(e,t,n,l,r){const i=Z*e[t],s=Z*e[t+1],o=e[t+2],a=Math.sin(s),u=Math.cos(s),c=r.radius/Math.sqrt(1-r.eccentricitySquared*a*a);n[l++]=(c+o)*u*Math.cos(i),n[l++]=(c+o)*u*Math.sin(i),n[l++]=(c*(1-r.eccentricitySquared)+o)*a}(e,t,n,l,s.$O)}function O(e,t,n,l){const r=u,i=e[t],o=e[t+1],a=e[t+2];let c,f,p,h,d,g,w,m,y,v,M,x,R,A,j,z,I,C,P,O,S;c=Math.abs(a),f=i*i+o*o,p=Math.sqrt(f),h=f+a*a,d=Math.sqrt(h),O=Math.atan2(o,i),g=a*a/h,w=f/h,A=r.a2/d,j=r.a3-r.a4/d,w>.3?(m=c/d*(1+w*(r.a1+A+g*j)/d),P=Math.asin(m),v=m*m,y=Math.sqrt(1-v)):(y=p/d*(1-g*(r.a5-A-w*j)/d),P=Math.acos(y),v=1-y*y,m=Math.sqrt(v)),M=1-s.$O.eccentricitySquared*v,x=s.$O.radius/Math.sqrt(M),R=r.a6*x,A=p-x*y,j=c-R*m,I=y*A+m*j,z=y*j-m*A,C=z/(R/M+I),P+=C,S=I+z*C/2,a<0&&(P=-P),n[l++]=k*O,n[l++]=k*P,n[l]=S}const S={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:g},Z=(0,l.kU)(1),k=(0,l.KJ)(1),L=.5*Math.PI,T=s.$O.radius,b=T*Math.PI/180,_=180/(T*Math.PI)},62815:(e,t,n)=>{n.d(t,{N:()=>s});var l=n(83047),r=n(73941),i=n(21325);function s(e,t,n){if(null==t||null==n||n.vcsWkid||(0,i.aI)(t,n)||(0,r.xP)(t)||(0,r.xP)(n))return null;const s=(0,l.G9)(t)/(0,l.G9)(n);if(1===s)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,s);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const n of e.paths)for(const e of n)e.length>2&&(e[2]*=t)}(e,s);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const n of e.rings)for(const e of n)e.length>2&&(e[2]*=t)}(e,s);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const n of e.points)n.length>2&&(n[2]*=t)}(e,s);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,s);default:return null}}},72802:(e,t,n)=>{n.d(t,{U:()=>r});var l=n(19419);class r{constructor(e,t,n,r=(0,l.vt)()){this._level=e,this._row=t,this._col=n,this.extent=r}get id(){return this._id??=`${this.level}/${this.row}/${this.col}`,this._id}get level(){return this._level}set level(e){this._level=e,this._id=null}get row(){return this._row}set row(e){this._row=e,this._id=null}get col(){return this._col}set col(e){this._col=e,this._id=null}toJSON(){return{level:this._level,row:this._row,col:this._col,extent:this.extent}}static fromJSON(e){return new r(e.level,e.row,e.col,e.extent)}}},87045:(e,t,n)=>{n.d(t,{A:()=>M});var l,r=n(31635),i=n(66552),s=n(25482),o=n(83047),a=n(10107),u=n(56507),c=(n(44208),n(87811),n(36005)),f=n(64108),p=n(43937),h=n(86738),d=n(16930),g=n(21325),w=n(28735),m=n(91806),y=n(72802);const v=new i.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let M=class extends s.o{static{l=this}static create(e={}){const{resolutionFactor:t=1,scales:n,size:r=256,spatialReference:i=d.A.WebMercator,numLODs:s=24}=e;if(!(0,g.fn)(i)){const e=[];if(n)for(let t=0;t<n.length;t++){const l=n[t];e.push(new m.A({level:t,scale:l,resolution:l}))}else{let t=5e-4;for(let n=s-1;n>=0;n--)e.unshift(new m.A({level:n,scale:t,resolution:t})),t*=2}return new l({dpi:96,lods:e,origin:new h.A(0,0,i),size:[r,r],spatialReference:i})}const a=(0,g.Vp)(i),u=e.origin?new h.A({x:e.origin.x,y:e.origin.y,spatialReference:i}):new h.A(a?{x:a.origin[0],y:a.origin[1],spatialReference:i}:{x:0,y:0,spatialReference:i}),c=1/(39.37*(0,o.GA)(i)*96),f=[];if(n)for(let e=0;e<n.length;e++){const t=n[e],l=t*c;f.push(new m.A({level:e,scale:t,resolution:l}))}else{let e=(0,g.EA)(i)?512/r*591657527.5917094:256/r*591657527.591555;const n=Math.ceil(s/t);f.push(new m.A({level:0,scale:e,resolution:e*c}));for(let l=1;l<n;l++){const n=e/2**t,r=n*c;f.push(new m.A({level:l,scale:n,resolution:r})),e=n}}return new l({dpi:96,lods:f,origin:u,size:[r,r],spatialReference:i})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const n=(0,g.Vp)(e);return e.isWrappable&&!!n&&Math.abs(n.origin[0]-t.x)<=n.dx}return!1}readOrigin(e,t){return h.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,n=0;const l=[],r=this._levelToLOD={};e&&(t=-1/0,n=1/0,e.forEach(e=>{l.push(e.scale),t=e.scale>t?e.scale:t,n=e.scale<n?e.scale:n,r[e.level]=e})),this._set("scales",l),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const n=Math.floor(e),l=n+1;return t[n]/(t[n]/t[l])**(e-n)}scaleToZoom(e){const t=this.scales,n=t.length-1;let l=0;for(;l<n;l++){const n=t[l],r=t[l+1];if(n<=e)return l;if(r===e)return l+1;if(n>e&&r<e)return l+Math.log(n/e)/Math.log(n/r)}return l}tileAt(e,t,n,l){const r=this.lodAt(e);if(!r)return null;let i,s;if("number"==typeof t)i=t,s=n;else if((0,g.aI)(t.spatialReference,this.spatialReference))i=t.x,s=t.y,l=n;else{const e=(0,w.Cv)(t,this.spatialReference);if(null==e)return null;i=e.x,s=e.y,l=n}const o=r.resolution*this.size[0],a=r.resolution*this.size[1];return l??=new y.U(0,0,0),l.level=e,l.row=Math.floor((this.origin.y-s)/a+.001),l.col=Math.floor((i-this.origin.x)/o+.001),this.updateTileInfo(l),l}updateTileInfo(e,t=0){if(!("extent"in e))return!1;let n=this.lodAt(e.level);if(!n&&1===t){const t=this.lods[this.lods.length-1];t.level<e.level&&(n=t)}if(!n)return!1;const l=e.level-n.level,r=n.resolution*this.size[0]/2**l,i=n.resolution*this.size[1]/2**l;return e.extent[0]=this.origin.x+e.col*r,e.extent[1]=this.origin.y-(e.row+1)*i,e.extent[2]=e.extent[0]+r,e.extent[3]=e.extent[1]+i,!0}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const n=this.lodAt(t.level);if(null==n)return null;const{resolution:l}=n,r=l*this.size[0],i=l*this.size[1];return e[0]=this.origin.x+t.col*r,e[1]=this.origin.y-(t.row+1)*i,e[2]=e[0]+r,e[3]=e[1]+i,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return l.fromJSON(this.write({}))}getCompatibleForVTL(e){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===e)return null;const t=(512===this.size[0]&&256===e?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===e&&0===t)return this;const n=[],r=this.lods.length-t;for(let e=0;e<r;e++){const l=e+t,{scale:r,resolution:i}=l>=0?this.lods[l]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};n.push(new m.A({level:e,scale:r,resolution:i}))}return new l({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:n})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let n=0;n<e.length;n++){const l=e[n];this._upsampleLevels[l.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/l.resolution:0},t=l}}};(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"compressionQuality",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"dpi",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{read:v.read,write:v.write,origins:{"web-scene":{read:!1,write:!1}}}})],M.prototype,"format",void 0),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],M.prototype,"isWrappable",null),(0,r.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],M.prototype,"origin",void 0),(0,r.Cg)([(0,c.w)("origin")],M.prototype,"readOrigin",null),(0,r.Cg)([(0,a.MZ)({type:[m.A],value:null,json:{write:!0}})],M.prototype,"lods",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],M.prototype,"scales",void 0),(0,r.Cg)([(0,a.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],M.prototype,"size",void 0),(0,r.Cg)([(0,c.w)("size",["rows","cols"])],M.prototype,"readSize",null),(0,r.Cg)([(0,p.K)("size",{cols:{type:u.jz},rows:{type:u.jz}})],M.prototype,"writeSize",null),(0,r.Cg)([(0,a.MZ)({type:d.A,json:{write:!0}})],M.prototype,"spatialReference",void 0),M=l=(0,r.Cg)([(0,f.$)("esri.layers.support.TileInfo")],M)},91218:(e,t,n)=>{n.r(t),n.d(t,{canProjectWithoutEngine:()=>J,initializeProjection:()=>V,isEqualBaseGCS:()=>U,isLoaded:()=>S,isLoadedOrLoad:()=>Z,isLoadedOrLoadFor:()=>k,load:()=>T,project:()=>b,projectExtent:()=>ne,projectMany:()=>_,projectMultipoint:()=>K,projectOrLoad:()=>G,projectOrLoadMany:()=>N,projectPoint:()=>D,projectPolygon:()=>ee,projectPolyline:()=>Y,projectWithZConversion:()=>F,projectWithoutEngine:()=>B,requiresLoad:()=>L,test:()=>q,tryProjectWithZConversion:()=>W,unload:()=>E});var l=n(49186),r=n(74887),i=n(62788),s=n(95488),o=n(51850),a=n(21276),u=n(73941),c=n(5443),f=n(91075),p=n(48526),h=n(86738),d=n(39829),g=n(82799),w=n(16930),m=n(159),y=n(9762),v=n(37539);function M(e,t,n,l,r,i){return x[0]=e,x[1]=t,x[2]=n,(0,y.projectBuffer)(x,l,0,r,i,0)}const x=(0,o.vt)();var R=n(21325),A=n(62815);let j=null,z=null,I=null,C=null,P={};const O=new s.I;function S(){return!!(z?.isLoaded()&&I?.isLoaded()&&C?.isLoaded())}function Z(){return!!S()||((0,i.gc)(O),T(),!1)}function k(e,t){return!e||!t||J(e,t)||Z()}function L(e,t){return!J(e,t)&&!S()}async function T(e){null==j&&(j=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(z=e,z.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(I=e,I.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(C=e,C.load()))])),await j,(0,r.Te)(e),O.notify()}function b(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),_(e,e[0].spatialReference,t,n)):((0,a.f)(e),_([e],e.spatialReference,t,n)[0])}function _(e,t,n,l){if(null==t||null==n)return e;if(J(t,n,l))return e.map(e=>B(e,t,n));if(null==l?.geographicTransformation&&(0,u.jA)(t))return e.map(e=>B(e,t,w.A.WGS84)).map(e=>W(e,n));if(null==l?.geographicTransformation&&(0,u.jA)(n))return e.map(e=>W(e,w.A.WGS84)).map(e=>B(e,w.A.WGS84,n));if(!S())throw new $;if(!l?.geographicTransformation)if(l?.extendedParams)l={...l,geographicTransformation:C.getTransformation(t,n,l.areaOfInterestExtent)||new m.A};else if(!l?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let r=P[e];r||(r=C.getTransformation(t,n)||new m.A,P[e]=r),l={geographicTransformation:r}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof f.A?z.executeMany(e,n,l):I.executeMany(e,n,l)}function G(e,t){const n=N([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function N(e,t){if(!S())for(const n of e)if(null!=n&&!(0,R.aI)(n.spatialReference,t)&&(0,R.fn)(n.spatialReference)&&(0,R.fn)(t)&&!J(n.spatialReference,t))return(0,i.gc)(O),{pending:T(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,R.aI)(e.spatialReference,t)?e:(0,R.fn)(e.spatialReference)&&(0,R.fn)(t)?W(e,t):null)}}class $ extends l.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function E(){j=null,z=null,I=null,C=null,P={}}const q={get loadPromise(){return j}};function W(e,t){try{const n=b(e,t);if(null==n)return null;"xmin"in e&&"xmin"in n&&(n.zmin=e.zmin,n.zmax=e.zmax);const l=(0,A.N)(n.type,e.spatialReference,t);return null!=l&&l(n),n}catch(e){if(!(e instanceof $))throw e;return null}}async function F(e,t,n){const l=e.spatialReference;return null!=l&&null!=t&&await V(l,t,null,n),W(e,t)}function J(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,R.aI)(e,t)||(0,R.fn)(e)&&(0,R.fn)(t)&&!!(0,v.jd)(e,t))}function U(e,t){if((0,R.aI)(e,t))return!0;if(!(0,R.fn)(e)||!(0,R.fn)(t))return!1;const n=(0,R.oT)(e)||(0,R.K8)(e)||(0,R.x1)(e),l=(0,R.oT)(t)||(0,R.K8)(t)||(0,R.x1)(t);return n&&l}async function V(e,t,n,l){if(S())return(0,r.NO)(l);if(Array.isArray(e)){for(const{source:t,dest:n,options:r}of e)if(t&&n&&!J(t,n,r))return T(l)}else if(e&&t&&!J(e,t,n))return T(l);return(0,r.NO)(l)}function B(e,t,n){return e?"x"in e?H(e,t,new h.A,n,0):"xmin"in e?le(e,t,new c.A,n,0):"rings"in e?te(e,t,new d.A,n,0):"paths"in e?X(e,t,new g.A,n,0):"points"in e?Q(e,t,new p.A,n,0):null:null}function D(e,t,n=t.spatialReference,l=0){return null!=n&&null!=e.spatialReference&&null!=H(e,e.spatialReference,t,n,l)}function H(e,t,n,l,r){ie[0]=e.x,ie[1]=e.y;const i=e.z;return ie[2]=void 0!==i?i:r,(0,y.projectBuffer)(ie,t,0,ie,l,0)?(n.x=ie[0],n.y=ie[1],n.spatialReference=l,void 0!==i||(0,u.xP)(l)?(n.z=ie[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function K(e,t,n=t.spatialReference,l=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,l)}function Q(e,t,n,l,r){const{points:i,hasZ:s,hasM:o}=e,a=[],c=i.length,f=[];for(const e of i)f.push(e[0],e[1],s?e[2]:r);if(!(0,y.projectBuffer)(f,t,0,f,l,0,c))return null;const p=s||(0,u.xP)(l);for(let e=0;e<c;++e){const t=3*e,n=f[t],l=f[t+1];p&&o?a.push([n,l,f[t+2],i[e][3]]):p?a.push([n,l,f[t+2]]):o?a.push([n,l,i[e][2]]):a.push([n,l])}return n.points=a,n.spatialReference=l,n.hasZ=s,n.hasM=o,n}function Y(e,t,n=t.spatialReference,l=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,l)}function X(e,t,n,l,r){const{paths:i,hasZ:s,hasM:o}=e,a=[];if(!re(i,s??!1,o??!1,t,a,l,r))return null;const c=s||(0,u.xP)(l);return n.paths=a,n.spatialReference=l,n.hasZ=c,n.hasM=o,n}function ee(e,t,n=t.spatialReference,l=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,l)}function te(e,t,n,l,r){const{rings:i,hasZ:s,hasM:o}=e,a=[];if(!re(i,s??!1,o??!1,t,a,l,r))return null;const c=s||(0,u.xP)(l);return n.rings=a,n.spatialReference=l,n.hasZ=c,n.hasM=o,n}function ne(e,t,n=t.spatialReference,l=0){return null!=e.spatialReference&&null!=n&&null!=le(e,e.spatialReference,t,n,l)}function le(e,t,n,l,r){const{xmin:i,ymin:s,xmax:o,ymax:a,hasZ:c,hasM:f}=e;if(!M(i,s,c?e.zmin:r,t,ie,l))return null;const p=c||(0,u.xP)(l);return n.xmin=ie[0],n.ymin=ie[1],p&&(n.zmin=ie[2]),M(o,a,c?e.zmax:r,t,ie,l)?(n.xmax=ie[0],n.ymax=ie[1],p&&(n.zmax=ie[2]),f&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=l,n):null}function re(e,t,n,l,r,i,s=0){const o=new Array;for(const n of e)for(const e of n)o.push(e[0],e[1],t?e[2]:s);if(!(0,y.projectBuffer)(o,l,0,o,i,0))return!1;let a=0;r.length=0;const c=t||(0,u.xP)(i);for(const t of e){const e=new Array;for(const l of t)c&&n?e.push([o[a++],o[a++],o[a++],l[3]]):c?e.push([o[a++],o[a++],o[a++]]):n?(e.push([o[a++],o[a++],l[2]]),a++):(e.push([o[a++],o[a++]]),a++);r.push(e)}return!0}const ie=(0,o.vt)()},91806:(e,t,n)=>{n.d(t,{A:()=>u});var l,r=n(31635),i=n(25482),s=n(10107),o=n(56507),a=(n(44208),n(87811),n(64108));let u=class extends i.o{static{l=this}constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new l({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,r.Cg)([(0,s.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"cols",void 0),(0,r.Cg)([(0,s.MZ)({type:o.jz,json:{write:!0}})],u.prototype,"level",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"levelValue",void 0),(0,r.Cg)([(0,s.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"origin",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],u.prototype,"resolution",void 0),(0,r.Cg)([(0,s.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"rows",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],u.prototype,"scale",void 0),u=l=(0,r.Cg)([(0,a.$)("esri.layers.support.LOD")],u)},99157:(e,t,n)=>{n.d(t,{A:()=>a});var l,r=n(31635),i=n(65008),s=n(10107),o=(n(44208),n(53966),n(87811),n(64108));let a=l=class extends i.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new l({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,r.Cg)([(0,s.MZ)()],a.prototype,"isInverse",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"wkt",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"wkid",void 0),a=l=(0,r.Cg)([(0,o.$)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9062],{22671:(e,t,n)=>{n.d(t,{A:()=>x});var r,o=n(31635),s=n(52106),i=n(66552),l=n(25482),a=n(4718),f=n(10107),u=(n(44208),n(53966),n(36005)),p=n(40608),y=n(43937),c=n(16930),h=n(65864),m=n(50498),g=n(20437);const d=new i.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let x=r=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,n,r){if(e)return void d.write(e,t,n,r);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void d.write(e.geometry.type,t,n,r)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,r=(0,h.rS)(e);return r&&!n&&t.spatialReference&&(r.spatialReference=c.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const r=t.features[n];if(r.geometry){const t=e?.[n];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,n],translate:[r,o]}=e,s=this.features,i=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-r)/t),e=>Math.round((o-e)/n));for(let e=0,t=s.length;e<t;e++)i?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:n}=this;if(!n)return this;const{translate:[r,o],scale:[s,i]}=n;let l=null,a=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;l=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;a=n=>null==n?n:n*t+e}const f=this._getHydrationFunction(e,e=>e*s+r,e=>o-e*i,l,a);for(const{geometry:e}of t)null!=e&&f&&f(e);return this.transform=null,this}readFeaturesWithClass(e,t,n){const r=c.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const s=e[t],i=n.fromJSON(s),l=s.geometry?.spatialReference;null==i.geometry||l||(i.geometry.spatialReference=r);const a=s.aggregateGeometries,f=i.aggregateGeometries;if(a&&null!=f)for(const e in f){const t=f[e],n=a[e],o=n?.spatialReference;null==t||o||(t.spatialReference=r)}o.push(i)}return o}_quantizePoints(e,t,n){let r,o;const s=[];for(let i=0,l=e.length;i<l;i++){const l=e[i];if(i>0){const e=t(l[0]),i=n(l[1]);e===r&&i===o||(s.push([e-r,i-o]),r=e,o=i)}else r=t(l[0]),o=n(l[1]),s.push([r,o])}return s.length>0?s:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,h.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,s=r.length;e<s;e++){const s=r[e],i=this._quantizePoints(s,t,n);i&&o.push(i)}return o.length>0?((0,h.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,n);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,r,o){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,h.Bi)(e)?e.rings:e.paths;let i,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];for(let e=0,o=r.length;e<o;e++){const o=r[e];e>0?(i+=o[0],l+=o[1]):(i=o[0],l=o[1]),o[0]=t(i),o[1]=n(l)}}if(r&&o)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2]),n[3]=o(n[3])}}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}else if(o)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=o(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let i,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];e>0?(i+=r[0],l+=r[1]):(i=r[0],l=r[1]),r[0]=t(i),r[1]=n(l)}if(r&&o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2]),t[3]=o(t[3])}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2])}else if(o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=o(t[2])}}:null}};(0,o.Cg)([(0,f.MZ)({type:String,json:{write:!0}})],x.prototype,"displayFieldName",void 0),(0,o.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"exceededTransferLimit",void 0),(0,o.Cg)([(0,f.MZ)({type:[s.A],json:{write:!0}})],x.prototype,"features",void 0),(0,o.Cg)([(0,u.w)("features")],x.prototype,"readFeatures",null),(0,o.Cg)([(0,f.MZ)({type:[g.A],json:{write:!0}})],x.prototype,"fields",void 0),(0,o.Cg)([(0,f.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:d.read}}})],x.prototype,"geometryType",void 0),(0,o.Cg)([(0,y.K)("geometryType")],x.prototype,"writeGeometryType",null),(0,o.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"hasM",void 0),(0,o.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"hasZ",void 0),(0,o.Cg)([(0,f.MZ)({types:m.yR,json:{write:!0}})],x.prototype,"queryGeometry",void 0),(0,o.Cg)([(0,u.w)("queryGeometry")],x.prototype,"readQueryGeometry",null),(0,o.Cg)([(0,f.MZ)({type:c.A,json:{write:!0}})],x.prototype,"spatialReference",void 0),(0,o.Cg)([(0,y.K)("spatialReference")],x.prototype,"writeSpatialReference",null),(0,o.Cg)([(0,f.MZ)({json:{write:!0}})],x.prototype,"transform",void 0),x=r=(0,o.Cg)([(0,p.$)("esri.rest.support.FeatureSet")],x),x.prototype.toJSON.isDefaultToJSON=!0},58501:(e,t,n)=>{n.d(t,{q:()=>o});var r=n(62815);function o(e,t,n){if(!n?.features||!n.hasZ)return;const o=(0,r.N)(n.geometryType,t,e.outSpatialReference);if(null!=o)for(const e of n.features)o(e.geometry)}},96520:(e,t,n)=>{n.d(t,{u:()=>i});var r=n(83047),o=n(21325);function s(e,t,n){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e)t.length>2&&(t[2]*=n)}function i(e,t,n){if(!e&&!t||!n)return;const o=(0,r.G9)(n);l(e,n,o),l(t,n,o)}function l(e,t,n){if(e)for(const r of e)a(r.geometry,t,n)}function a(e,t,n){if(!e?.spatialReference||(0,o.aI)(e.spatialReference,t))return;const i=(0,r.G9)(e.spatialReference)/n;if(1!==i)if("x"in e)null!=e.z&&(e.z*=i);else if("rings"in e)s(e,e.rings,i);else if("paths"in e)s(e,e.paths,i);else if("points"in e&&(null==e.hasM||e.hasZ))for(const t of e.points)t.length>2&&(t[2]*=i)}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9062],{22671:(e,t,n)=>{n.d(t,{A:()=>x});var r,o=n(31635),s=n(52106),i=n(66552),l=n(25482),a=n(4718),f=n(10107),u=(n(44208),n(53966),n(36005)),p=n(64108),y=n(43937),c=n(16930),h=n(65864),m=n(50498),g=n(20437);const d=new i.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let x=r=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,n,r){if(e)return void d.write(e,t,n,r);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void d.write(e.geometry.type,t,n,r)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,r=(0,h.rS)(e);return r&&!n&&t.spatialReference&&(r.spatialReference=c.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const r=t.features[n];if(r.geometry){const t=e?.[n];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,n],translate:[r,o]}=e,s=this.features,i=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-r)/t),e=>Math.round((o-e)/n));for(let e=0,t=s.length;e<t;e++)i?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:n}=this;if(!n)return this;const{translate:[r,o],scale:[s,i]}=n;let l=null,a=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;l=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;a=n=>null==n?n:n*t+e}const f=this._getHydrationFunction(e,e=>e*s+r,e=>o-e*i,l,a);for(const{geometry:e}of t)null!=e&&f&&f(e);return this.transform=null,this}readFeaturesWithClass(e,t,n){const r=c.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const s=e[t],i=n.fromJSON(s),l=s.geometry?.spatialReference;null==i.geometry||l||(i.geometry.spatialReference=r);const a=s.aggregateGeometries,f=i.aggregateGeometries;if(a&&null!=f)for(const e in f){const t=f[e],n=a[e],o=n?.spatialReference;null==t||o||(t.spatialReference=r)}o.push(i)}return o}_quantizePoints(e,t,n){let r,o;const s=[];for(let i=0,l=e.length;i<l;i++){const l=e[i];if(i>0){const e=t(l[0]),i=n(l[1]);e===r&&i===o||(s.push([e-r,i-o]),r=e,o=i)}else r=t(l[0]),o=n(l[1]),s.push([r,o])}return s.length>0?s:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,h.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,s=r.length;e<s;e++){const s=r[e],i=this._quantizePoints(s,t,n);i&&o.push(i)}return o.length>0?((0,h.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,n);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,r,o){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,h.Bi)(e)?e.rings:e.paths;let i,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];for(let e=0,o=r.length;e<o;e++){const o=r[e];e>0?(i+=o[0],l+=o[1]):(i=o[0],l=o[1]),o[0]=t(i),o[1]=n(l)}}if(r&&o)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2]),n[3]=o(n[3])}}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}else if(o)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=o(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let i,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];e>0?(i+=r[0],l+=r[1]):(i=r[0],l=r[1]),r[0]=t(i),r[1]=n(l)}if(r&&o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2]),t[3]=o(t[3])}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2])}else if(o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=o(t[2])}}:null}};(0,o.Cg)([(0,f.MZ)({type:String,json:{write:!0}})],x.prototype,"displayFieldName",void 0),(0,o.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"exceededTransferLimit",void 0),(0,o.Cg)([(0,f.MZ)({type:[s.A],json:{write:!0}})],x.prototype,"features",void 0),(0,o.Cg)([(0,u.w)("features")],x.prototype,"readFeatures",null),(0,o.Cg)([(0,f.MZ)({type:[g.A],json:{write:!0}})],x.prototype,"fields",void 0),(0,o.Cg)([(0,f.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:d.read}}})],x.prototype,"geometryType",void 0),(0,o.Cg)([(0,y.K)("geometryType")],x.prototype,"writeGeometryType",null),(0,o.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"hasM",void 0),(0,o.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"hasZ",void 0),(0,o.Cg)([(0,f.MZ)({types:m.yR,json:{write:!0}})],x.prototype,"queryGeometry",void 0),(0,o.Cg)([(0,u.w)("queryGeometry")],x.prototype,"readQueryGeometry",null),(0,o.Cg)([(0,f.MZ)({type:c.A,json:{write:!0}})],x.prototype,"spatialReference",void 0),(0,o.Cg)([(0,y.K)("spatialReference")],x.prototype,"writeSpatialReference",null),(0,o.Cg)([(0,f.MZ)({json:{write:!0}})],x.prototype,"transform",void 0),x=r=(0,o.Cg)([(0,p.$)("esri.rest.support.FeatureSet")],x),x.prototype.toJSON.isDefaultToJSON=!0},58501:(e,t,n)=>{n.d(t,{q:()=>o});var r=n(62815);function o(e,t,n){if(!n?.features||!n.hasZ)return;const o=(0,r.N)(n.geometryType,t,e.outSpatialReference);if(null!=o)for(const e of n.features)o(e.geometry)}},96520:(e,t,n)=>{n.d(t,{u:()=>i});var r=n(83047),o=n(21325);function s(e,t,n){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e)t.length>2&&(t[2]*=n)}function i(e,t,n){if(!e&&!t||!n)return;const o=(0,r.G9)(n);l(e,n,o),l(t,n,o)}function l(e,t,n){if(e)for(const r of e)a(r.geometry,t,n)}function a(e,t,n){if(!e?.spatialReference||(0,o.aI)(e.spatialReference,t))return;const i=(0,r.G9)(e.spatialReference)/n;if(1!==i)if("x"in e)null!=e.z&&(e.z*=i);else if("rings"in e)s(e,e.rings,i);else if("paths"in e)s(e,e.paths,i);else if("points"in e&&(null==e.hasM||e.hasZ))for(const t of e.points)t.length>2&&(t[2]*=i)}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[574],{2272:(e,t,i)=>{i.d(t,{Dl:()=>u,gf:()=>c,jV:()=>l,lF:()=>h});var s=i(92602),r=i(70333),n=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,n.o8)(e)}function h(e,t,i){const s={};for(const r in e){if("declaredClass"===r)continue;const n=e[r];if(null!=n&&"function"!=typeof n)if(Array.isArray(n))s[r]=n.map(e=>h(e));else if("object"==typeof n)if(n.toJSON){const e=n.toJSON(i?.[r]);s[r]=t?e:JSON.stringify(e)}else s[r]=t?n:JSON.stringify(n);else s[r]=n}return s}async function c(e,t,n){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.CG)(e)??r.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!r.id&&s.A.request.useIdentity&&await Promise.all([i.e(7330),i.e(168),i.e(3747)]).then(i.bind(i,73747));const l=await r.id.getCredential(e,n);return l?.token}},6518:(e,t,i)=>{i.d(t,{F:()=>a});var s=i(44208),r=i(75503),n=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new r.wq(9,(0,s.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((i,s)=>{e[t++]=s}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,n.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},12543:(e,t,i)=>{i.r(t),i.d(t,{default:()=>_e});var s=i(31635),r=i(65529),n=i(74887),o=i(36708),a=i(10107),l=(i(44208),i(53966)),u=(i(87811),i(40608)),h=i(79897),c=i(16930),d=i(65864),f=i(83221),p=i(56390),_=i(87045),m=i(72802),y=i(61956),g=i(88625),v=i(66344),x=i(91869),b=i(83047),C=i(16271);function w(e=!1,t){if(e){const{elevationInfo:e,alignPointsInFeatures:i}=t;return new S(e,i)}return new I}class I{async alignCandidates(e,t,i){return e}notifyElevationSourceChange(){}}class S{constructor(e,t){this._elevationInfo=e,this._alignPointsInFeatures=t,this._alignmentsCache=new v.q(1024),this._cacheVersion=0}async alignCandidates(e,t,i){const s=this._elevationInfo;return null==s||"absolute-height"!==s.mode||s.featureExpressionInfo?this._alignComputedElevationCandidates(e,t,i):(function(e,t,i){const{offset:s,unit:r}=i;if(null==s)return;const n=(0,b.G9)(t),o=s*((0,C.Ao)(r??"meters")/n);for(const t of e)switch(t.type){case"edge":t.start.z+=o,t.end.z+=o;continue;case"vertex":t.target.z+=o;continue}}(e,t,s),e)}notifyElevationSourceChange(){this._alignmentsCache.clear(),this._cacheVersion++}async _alignComputedElevationCandidates(e,t,i){const s=new Map;for(const t of e)(0,x.tE)(s,t.objectId,T).push(t);const[r,o,a]=this._prepareQuery(s,t),l=await this._alignPointsInFeatures(r,i);if((0,n.Te)(i),a!==this._cacheVersion)return this._alignComputedElevationCandidates(e,t,i);this._applyCacheAndResponse(r,l,o);const{drapedObjectIds:u,failedObjectIds:h}=l,c=[];for(const t of e){const{objectId:e}=t;u.has(e)&&"edge"===t.type&&(t.draped=!0),h.has(e)||c.push(t)}return c}_prepareQuery(e,t){const i=[],s=[];for(const[t,r]of e){const e=[];for(const i of r)this._addToQueriesOrCachedResult(t,i.target,e,s),"edge"===i.type&&(this._addToQueriesOrCachedResult(t,i.start,e,s),this._addToQueriesOrCachedResult(t,i.end,e,s));0!==e.length&&i.push({objectId:t,points:e})}return[{spatialReference:t.toJSON(),pointsInFeatures:i},s,this._cacheVersion]}_addToQueriesOrCachedResult(e,t,i,s){const r=M(e,t),n=this._alignmentsCache.get(r);null==n?i.push(t):s.push(new F(t,n))}_applyCacheAndResponse(e,{elevations:t,drapedObjectIds:i,failedObjectIds:s},r){for(const e of r)e.apply();let n=0;const o=this._alignmentsCache;for(const{objectId:r,points:a}of e.pointsInFeatures){if(s.has(r)){n+=a.length;continue}const e=!i.has(r);for(const i of a){const s=M(r,i),a=t[n++];i.z=a,e&&o.put(s,a,1)}}}}class F{constructor(e,t){this.point=e,this.z=t}apply(){this.point.z=this.z}}function M(e,{x:t,y:i,z:s,spatialReference:r}){return`${e}-${t}-${i}-${s??0}}-wkid:${r?.wkid}`}function T(){return[]}class z{filter(e,t){return t}notifyElevationSourceChange(){}}class B{filter(e,t){const{point:i,distance:s}=e,{z:r}=i;if(null==r)return t;if(0===t.length)return t;const n=function(e){return"number"==typeof e?{x:e,y:e,z:e}:e}(s),o=this._updateCandidatesTo3D(t,i,n).filter(A);return o.sort(P),o}_updateCandidatesTo3D(e,t,i){for(const s of e)switch(s.type){case"edge":O(s,t,i);continue;case"vertex":R(s,t,i);continue}return e}}function A(e){return e.distance<=1}function E(e=!1){return e?new B:new z}function O(e,t,{x:i,y:s,z:r}){const{start:n,end:o,target:a}=e;e.draped||function(e,t,i,s){const r=s.x-i.x,n=s.y-i.y,o=s.z-i.z,a=r*r+n*n+o*o,l=(t.x-i.x)*r+(t.y-i.y)*n+o*(t.z-i.z),u=Math.min(1,Math.max(0,l/a)),h=i.x+r*u,c=i.y+n*u,d=i.z+o*u;e.x=h,e.y=c,e.z=d}(a,t,n,o);const l=(t.x-a.x)/i,u=(t.y-a.y)/s,h=(t.z-a.z)/r;e.distance=Math.sqrt(l*l+u*u+h*h)}function R(e,t,{x:i,y:s,z:r}){const{target:n}=e,o=(t.x-n.x)/i,a=(t.y-n.y)/s,l=(t.z-n.z)/r,u=Math.sqrt(o*o+a*a+l*l);e.distance=u}function P(e,t){return e.distance-t.distance}var j=i(4718),Z=i(799);function k(e=!1,t){return e?new H(t):new q}class q{async fetch(){return[]}notifySymbologyChange(){}}class H{constructor(e){this._getSymbologyCandidates=e,this._candidatesCache=new v.q(1024),this._cacheVersion=0}async fetch(e,t){if(0===e.length)return[];const i=[],s=[],r=this._candidatesCache;for(const t of e){const e=V(t),n=r.get(e);if(n)for(const e of n)s.push((0,j.o8)(e));else i.push(t),r.put(e,[],1)}if(0===i.length)return s;const o=this._cacheVersion,{candidates:a,sourceCandidateIndices:l}=await this._getSymbologyCandidates(i,t);if((0,n.Te)(t),o!==this._cacheVersion)return this.fetch(e,t);const u=[],{length:h}=a;for(let e=0;e<h;++e){const t=a[e],s=V(i[l[e]]),n=r.get(s);n.push(t),r.put(s,n,n.length),u.push((0,j.o8)(t))}return s.concat(u)}notifySymbologyChange(){this._candidatesCache.clear(),this._cacheVersion++}}function V(e){switch(e.type){case"vertex":{const{objectId:t,target:i}=e,s=`${t}-vertex-${i.x}-${i.y}-${i.z??0}`;return(0,Z.Wm)(s).toString()}case"edge":{const{objectId:t,start:i,end:s}=e,r=`${t}-edge-${i.x}-${i.y}-${i.z??0}-to-${s.x}-${s.y}-${s.z??0}`;return(0,Z.Wm)(r).toString()}default:return""}}var Y=i(65008),N=i(4576),L=i(60999),X=i(3483),J=i(13069),U=i(5443),$=i(19419),D=i(90708),Q=i(60694),G=i(69418),K=i(80893);class W{constructor(e,t){this.key=e,this.resolution=t,this.state={type:0},this.alive=!0}process(e){switch(this.state.type){case 0:return this.state=this._gotoFetchCount(this.state,e),this.state.task.promise.then(e.resume,e.resume);case 1:case 3:break;case 2:return this.state=this._gotoFetchFeatures(this.state,e),this.state.task.promise.then(e.resume,e.resume);case 4:this.state=this._goToDone(this.state,e)}return null}get debugInfo(){return{key:this.key,featureCount:this._featureCount,state:this._stateToString}}get _featureCount(){switch(this.state.type){case 0:case 1:return 0;case 2:return this.state.featureCount;case 3:return this.state.previous.featureCount;case 4:return this.state.features.length;case 5:return this.state.previous.features.length}}get _stateToString(){switch(this.state.type){case 0:return"created";case 1:return"fetch-count";case 2:return"fetched-count";case 3:return"fetch-features";case 4:return"fetched-features";case 5:return"done"}}_gotoFetchCount(e,t){return{type:1,previous:e,task:(0,L.UT)(async e=>{const i=await(0,L.DZ)(t.fetchCount(this,e));1===this.state.type&&(this.state=function(e,t){return{type:2,featureCount:t,previous:e}}(this.state,i.ok?i.value:1/0))})}}_gotoFetchFeatures(e,t){return{type:3,previous:e,task:(0,L.UT)(async i=>{const s=await(0,L.DZ)(t.fetchFeatures(this,e.featureCount,i));3===this.state.type&&(this.state=function(e,t){return{type:4,previous:e,features:t}}(this.state,s.ok?s.value:[]))})}}_goToDone(e,t){return t.finish(this,e.features),{type:5,previous:e}}reset(){const e=this.state;switch(this.state={type:0},e.type){case 0:case 2:case 4:case 5:break;case 1:case 3:e.task.abort()}}}let ee=class extends Y.A{get _minimumVerticesPerFeature(){switch(this.store?.featureStore.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":return 1;case"esriGeometryPolygon":return 4;case"esriGeometryPolyline":return 2}}get _mandatoryOutFields(){const e=new Set;return this.objectIdField&&e.add(this.objectIdField),this.globalIdField&&e.add(this.globalIdField),e}set outFields(e){const t=this._get("outFields"),i=(0,X.KC)(e,this._mandatoryOutFields);(0,X.aI)(i,t)||(this._set("outFields",i),(0,X.Yy)(i,t)||this.refresh())}get outFields(){return this._get("outFields")??this._mandatoryOutFields}set filter(e){const t=this._get("filter"),i=this._filterProperties(e);JSON.stringify(t)!==JSON.stringify(i)&&this._set("filter",i)}set customParameters(e){const t=this._get("customParameters");JSON.stringify(t)!==JSON.stringify(e)&&this._set("customParameters",e)}get _configuration(){return{filter:this.filter,customParameters:this.customParameters,tileInfo:this.tileInfo,tileSize:this.tileSize}}set tileInfo(e){const t=this._get("tileInfo");t!==e&&(null!=e&&null!=t&&JSON.stringify(e)===JSON.stringify(t)||(this._set("tileInfo",e),this.store.tileInfo=e))}set tileSize(e){this._get("tileSize")!==e&&this._set("tileSize",e)}get updating(){return this._updatingHandles.updating}get hasZ(){return this.store.featureStore.hasZ}constructor(e){super(e),this.suspended=!0,this._historicMoment=null,this.tilesOfInterest=new Array,this.availability=0,this._pendingTiles=new Map,this._updatingHandles=new h.U}initialize(){this._initializeFetchExtent(),this._updatingHandles.add(()=>this._configuration,()=>this.refresh()),this._updatingHandles.add(()=>this.tilesOfInterest,()=>{this._updatePriorities(),this._process()},{sync:!0,initial:!0,equals:(e,t)=>(0,N.aI)(e,t,({id:e},{id:t})=>e===t)}),this.addHandles((0,o.z7)(()=>!this.suspended,()=>this._process()))}_updatePriorities(){this.store.setPriorityOrderByKey(this.tilesOfInterest.map(({id:e})=>e)??[])}destroy(){this._pendingTiles.forEach(e=>this._deletePendingTile(e)),this._pendingTiles.clear(),this.store.destroy(),this.tilesOfInterest.length=0,this._updatingHandles.destroy()}refresh(){this.store.refresh(),this._pendingTiles.forEach(e=>this._deletePendingTile(e)),this._process()}async handleEdits(e){if(e.historicMoment&&(this._historicMoment=e.historicMoment),!e.addedFeatures.length&&!e.updatedFeatures.length&&!e.deletedFeatures.length)return;for(const e of this._pendingTiles.values())e.reset();const t={...e,deletedFeatures:e.deletedFeatures.map(({objectId:e,globalId:t})=>e&&-1!==e?e:this._lookupObjectIdByGlobalId(t))},i=(0,L.UT)(async e=>{try{await this.store.processEdits(t,(e,t)=>this._queryFeaturesById(e,t),e),this._processPendingTiles()}catch(e){(0,n.QP)(e),l.A.getLogger(this).warn("Failed to apply edits",e)}});this.addHandles(i),await this._updatingHandles.addPromise(i.promise)}setHistoricMoment(e){e?.getTime()!==this._historicMoment?.getTime()&&(this._historicMoment=e,this.refresh())}_initializeFetchExtent(){if(!this.capabilities.query.supportsExtent||!(0,Q.Wo)(this.url))return;const e=(0,L.UT)(async e=>{try{const t=await(0,K.Jf)(this.url,new y.A({where:"1=1",outSpatialReference:this.spatialReference,cacheHint:this.capabilities.query.supportsCacheHint??void 0}),{query:this._configuration.customParameters,signal:e});this.store.extent=U.A.fromJSON(t.data?.extent)}catch(e){(0,n.QP)(e),l.A.getLogger(this).warn("Failed to fetch data extent",e)}});this._updatingHandles.addPromise(e.promise.then(()=>this._process())),this.addHandles(e)}get debugInfo(){return{numberOfFeatures:this.store.featureStore.numFeatures,tilesOfInterest:this.tilesOfInterest,pendingTiles:Array.from(this._pendingTiles.values()).map(e=>e.debugInfo),storedTiles:this.store.debugInfo}}_process(){this._markTilesNotAlive(),this._createPendingTiles(),this._deletePendingTiles(),this._processPendingTiles()}_markTilesNotAlive(){for(const e of this._pendingTiles.values())e.alive=!1}_createPendingTiles(){if(this.suspended)return;const e=this._collectMissingTilesInfo();if(this._setAvailability(null==e?1:e.coveredArea/e.fullArea),null!=e)for(const{data:t,resolution:i}of e.missingTiles){const e=this._pendingTiles.get(t.id);e?(e.resolution=i,e.alive=!0):this._createPendingTile(t,i)}}_collectMissingTilesInfo(){let e=null;for(const t of this.tilesOfInterest){const i=this.store.process(t,(e,t)=>this._verifyTileComplexity(e,t),this.outFields);null==e?e=i:e.prepend(i)}return e}_deletePendingTiles(){for(const e of this._pendingTiles.values())e.alive||this._deletePendingTile(e)}_processPendingTiles(){const e={fetchCount:(e,t)=>this._fetchCount(e,t),fetchFeatures:(e,t,i)=>this._fetchFeatures(e,t,i),finish:(e,t)=>this._finishPendingTile(e,t),resume:()=>this._processPendingTiles()};if(this._ensureFetchAllCounts(e))for(const t of this._pendingTiles.values())this._verifyTileComplexity(this.store.getFeatureCount(t.key),t.resolution)&&this._updatingHandles.addPromise(t.process(e))}_verifyTileComplexity(e,t){return this._verifyVertexComplexity(e)&&this._verifyFeatureDensity(e,t)}_verifyVertexComplexity(e){return e*this._minimumVerticesPerFeature<se}_verifyFeatureDensity(e,t){if(null==this.tileInfo)return!1;const i=this.tileSize*t;return e*(re/(i*i))<ne}_ensureFetchAllCounts(e){let t=!0;for(const i of this._pendingTiles.values())i.state.type<2&&this._updatingHandles.addPromise(i.process(e)),i.state.type<=1&&(t=!1);return t}_finishPendingTile(e,t){this.store.add(e.key,t),this._deletePendingTile(e),this._updateAvailability()}_updateAvailability(){const e=this._collectMissingTilesInfo();this._setAvailability(null==e?1:e.coveredArea/e.fullArea)}_setAvailability(e){this._set("availability",e)}_createPendingTile(e,t){const i=new W(e,t);return this._pendingTiles.set(e.id,i),i}_deletePendingTile(e){e.reset(),this._pendingTiles.delete(e.key.id)}async _fetchCount(e,t){return this.store.fetchCount(e.key,this.url,this._createCountQuery(e),{query:this.customParameters,timeout:ie,signal:t})}async _fetchFeatures(e,t,i){let s=0;const r=[];let n=0,o=t;for(;;){const a=this._createFeaturesQuery(e),l=this._setPagingParameters(a,s,o),{features:u,exceededTransferLimit:h}=await this._queryFeatures(a,i);l&&(s+=a.num),n+=u.length;for(const e of u)r.push(e);if(o=t-n,!l||!h||o<=0)return r}}_filterProperties(e){return null==e?{where:"1=1",gdbVersion:void 0,timeExtent:void 0}:{where:e.where||"1=1",timeExtent:e.timeExtent,gdbVersion:e.gdbVersion}}_lookupObjectIdByGlobalId(e){const t=this.globalIdField,i=this.objectIdField;if(null==t)throw new Error("Expected globalIdField to be defined");let s=null;const r=e?(0,J.AG)(e):e;if(this.store.featureStore.forEach(e=>{r===(0,J.AG)(e.attributes[t])&&(s=e.objectId??e.attributes[i])}),null==s)throw new Error(`Expected to find a feature with globalId ${e}`);return s}_queryFeaturesById(e,t){const i=this._createFeaturesQuery();return i.objectIds=e,this._queryFeatures(i,t)}_queryFeatures(e,t){return this.capabilities.query.supportsFormatPBF?this._queryFeaturesPBF(e,t):this._queryFeaturesJSON(e,t)}async _queryFeaturesPBF(e,t){const{sourceSpatialReference:i}=this,{data:s}=await(0,K.IJ)(this.url,e,new G.S({sourceSpatialReference:i}),{query:this._configuration.customParameters,timeout:ie,signal:t});return(0,D.eY)(s)}async _queryFeaturesJSON(e,t){const{sourceSpatialReference:i}=this,{data:s}=await(0,K.eW)(this.url,e,i,{query:this._configuration.customParameters,timeout:ie,signal:t});return(0,D.q3)(s,{type:"object-id",fieldName:this.objectIdField})}_createCountQuery(e){const t=this._createBaseQuery(e);return this.capabilities.query.supportsCacheHint&&(t.cacheHint=!0),t}_createFeaturesQuery(e=null){const t=this._createBaseQuery(e),i=null!=e?.key?this.store.getAttributesForTile(e?.key?.id):null,s=(0,X.KC)((0,X.iv)(this.outFields,i??new Set),this._mandatoryOutFields);return t.outFields=Array.from(s),t.returnGeometry=!0,null!=e&&(this.capabilities.query.supportsResultType?t.resultType="tile":this.capabilities.query.supportsCacheHint&&(t.cacheHint=!0)),t}_createBaseQuery(e){const t=new y.A({returnZ:this.hasZ,returnM:!1,historicMoment:this._historicMoment,geometry:null!=this.tileInfo&&null!=e?(0,$.w1)(e.key.extent,this.tileInfo.spatialReference):void 0}),i=this._configuration.filter;return null!=i&&(t.where=i.where,t.gdbVersion=i.gdbVersion,t.timeExtent=i.timeExtent),t.outSpatialReference=this.spatialReference,t}_setPagingParameters(e,t,i){if(!this.capabilities.query.supportsPagination)return!1;const{supportsMaxRecordCountFactor:s,supportsCacheHint:r,tileMaxRecordCount:n,maxRecordCount:o,supportsResultType:a}=this.capabilities.query,l=s?y.A.MAX_MAX_RECORD_COUNT_FACTOR:1,u=l*((a||r)&&n?n:o||te);return e.start=t,s?(e.maxRecordCountFactor=Math.min(l,Math.ceil(i/u)),e.num=Math.min(i,e.maxRecordCountFactor*u)):e.num=Math.min(i,u),!0}};(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"url",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"objectIdField",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"globalIdField",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"capabilities",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"sourceSpatialReference",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"spatialReference",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"store",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ee.prototype,"_minimumVerticesPerFeature",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"_mandatoryOutFields",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"outFields",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"suspended",void 0),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"_historicMoment",void 0),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"filter",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"customParameters",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ee.prototype,"_configuration",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"tileInfo",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"tileSize",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"tilesOfInterest",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ee.prototype,"updating",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ee.prototype,"availability",void 0),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"hasZ",null),ee=(0,s.Cg)([(0,u.$)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTiledFetcher")],ee);const te=2e3,ie=6e5,se=1e6,re=25,ne=1;var oe=i(6518);class ae{constructor(){this._store=new Map,this._priorities=new Map}get size(){return this._store.size}setPriorityOrderByKey(e){this._priorities.clear();for(let t=e.length-1;t>=0;t--)this._priorities.set(e[t],e.length-t)}hasLowerPriority(e){const t=this._priorities.get(e);if(null==t)return!0;for(const[e]of this._store){const i=this._priorities.get(e);if(null==i||i<t)return!0}return!1}someFromLowestToHighestPriority(e){const{_priorities:t}=this;for(const[i,s]of this._store)if(!t.has(i)&&e(s,i))return!0;for(const[i]of t){const t=this._store.get(i);if(t&&e(t,i))return!0}return!1}set(e,t){this._store.set(e,t)}delete(e){return this._store.delete(e)}get(e){return this._store.get(e)}has(e){return this._store.has(e)}clear(){this._store.clear()}values(){return this._store.values()}[Symbol.iterator](){return this._store[Symbol.iterator]()}}let le=class extends Y.A{setPriorityOrderByKey(e){this._tiles.setPriorityOrderByKey(e)}get _memoryLimitExceeded(){return this.featureStore.usedMemory>=this.maximumByteSize}constructor(e){super(e),this.tileInfo=null,this.extent=null,this.maximumByteSize=10485760,this._tileBounds=new oe.F,this._tiles=new ae,this._refCounts=new Map,this._tileFeatureCounts=new Map,this._tmpBoundingRect=(0,$.vt)()}add(e,t){for(const e of t)this._referenceFeature(e.objectId);const i=this.featureStore.upsertMany(t),s=i.map(e=>new Set(Object.keys(e.attributes))).reduce((e,t)=>(0,X.E$)(e,t),new Set(Object.keys(i[0]?.attributes??[]))),r=this._memoryLimitExceeded;this._addTileStorage(e,new Set(i.map(e=>e.objectId)),s),r&&this._applyCacheMemoryLimits()}_applyCacheMemoryLimits(){if(!this._memoryLimitExceeded)return;const{_tiles:e,featureStore:t,maximumByteSize:i}=this;e.someFromLowestToHighestPriority(e=>!this._memoryLimitExceeded||t.usedMemory-this._estimateRemoveTileMemoryReduction(e)<i||(this._removeTileStorage(e),!1))}_estimateRemoveTileMemoryReduction(e){let t=0;for(const i of e.objectIds)if(1===this._refCounts.get(i)){const e=this.featureStore.getFeature(i);e&&(t+=this.featureStore.estimateFeatureUsedMemory?.(e)??0)}return t}getAttributesForTile(e){return e?this._tiles.get(e)?.attributeKeys:null}destroy(){this.clear(),this._tileFeatureCounts.clear()}clear(){this.featureStore.clear(),this._tileBounds.clear(),this._tiles.clear(),this._refCounts.clear()}refresh(){this.clear(),this._tileFeatureCounts.clear()}processEdits(e,t,i){return this._processEditsDelete(e.deletedFeatures.concat(e.updatedFeatures)),this._processEditsRefetch(e.addedFeatures.concat(e.updatedFeatures),t,i)}_addTileStorage(e,t,i){const s=e.id;this._tiles.set(s,new ue(e,t,i)),this._tileBounds.set(s,e.extent),this._tileFeatureCounts.set(s,t.size)}_remove({id:e}){const t=this._tiles.get(e);t&&this._removeTileStorage(t)}_removeTileStorage(e){const t=[];for(const i of e.objectIds)1===this._unreferenceFeature(i)&&t.push(i);this.featureStore.removeManyById(t);const i=e.key.id;this._tiles.delete(i),this._tileBounds.delete(i)}_processEditsDelete(e){this.featureStore.removeManyById(e);for(const t of this._tiles.values()){for(const i of e)t.objectIds.delete(i);this._tileFeatureCounts.set(t.key.id,t.objectIds.size)}for(const t of e)this._refCounts.delete(t)}async _processEditsRefetch(e,t,i){if(!e.length)return;const s=(await t(e,i)).features,{hasZ:r,hasM:n}=this.featureStore;for(const e of s){const t=(0,D.jQ)(this._tmpBoundingRect,e.geometry,r,n);null!=t&&this._tileBounds.forEachInBounds(t,t=>{const i=this._tiles.get(t);this.featureStore.add(e);const s=e.objectId;i.objectIds.has(s)||(i.objectIds.add(s),this._referenceFeature(s),this._tileFeatureCounts.set(i.key.id,i.objectIds.size))})}}process(e,t=()=>!0,i){if(null==this.tileInfo||!e.extent||null!=this.extent&&!(0,$.HY)((0,$.VY)(this.extent,this._tmpBoundingRect),e.extent))return new ce(e);if(this._memoryLimitExceeded&&!this._tiles.hasLowerPriority(e.id??""))return new ce(e);const s=this.getAttributesForTile(e.id);if((0,X.Yy)(i,s))return new ce(e);const r=this._createTileTree(e,this.tileInfo);return this._simplify(r,t,null,0,1),this._collectMissingTiles(e,r,this.tileInfo,i)}get debugInfo(){return Array.from(this._tiles.values()).map(({key:e})=>({key:e.toJSON(),featureCount:this._tileFeatureCounts.get(e.id)||0}))}getFeatureCount(e){return this._tileFeatureCounts.get(e.id)??0}async fetchCount(e,t,i,s){const r=this._tileFeatureCounts.get(e.id);if(null!=r)return r;const n=await(0,K.gW)(t,i,s);return this._tileFeatureCounts.set(e.id,n.data.count),n.data.count}_createTileTree(e,t){const i=new he(e.level,e.row,e.col);return t.updateTileInfo(i,1),this._tileBounds.forEachInBounds(e.extent,s=>{const r=this._tiles.get(s)?.key;r&&function(e,t){if(!e||!t)return!1;if(e.level===t.level)return e.row===t.row&&e.col===t.col;const i=e.level<t.level,s=i?e:t,r=i?t:e,n=1<<r.level-s.level;return Math.floor(r.row/n)===s.row&&Math.floor(r.col/n)===s.col}(e,r)&&this._populateChildren(i,r,t,this._tileFeatureCounts.get(r.id)||0)}),i}_populateChildren(e,t,i,s){const r=t.level-e.level-1;if(r<0)return void(e.isLeaf=!0);const n=t.row>>r,o=t.col>>r,a=e.row<<1,l=o-(e.col<<1)+(n-a<<1),u=e.children[l];if(null!=u)this._populateChildren(u,t,i,s);else{const r=new he(e.level+1,n,o);i.updateTileInfo(r,1),e.children[l]=r,this._populateChildren(r,t,i,s)}}_simplify(e,t,i,s,r){const n=r*r;if(e.isLeaf)return t(this.getFeatureCount(e),r)?0:(this._remove(e),null!=i&&(i.children[s]=null),n);const o=r/2,a=o*o;let l=0;for(let i=0;i<e.children.length;i++){const s=e.children[i];l+=null!=s?this._simplify(s,t,e,i,o):a}return 0===l?this._mergeChildren(e):1-l/n<fe&&(this._purge(e),null!=i&&(i.children[s]=null),l=n),l}_mergeChildren(e){const t=new Set;let i;this._forEachLeaf(e,e=>{const s=this._tiles.get(e.id);if(s){i=i?(0,X.E$)(i,s.attributeKeys):new Set(s.attributeKeys);for(const e of s.objectIds)t.has(e)||(t.add(e),this._referenceFeature(e));this._remove(e)}}),this._addTileStorage(e,t,i??new Set),e.isLeaf=!0,e.children[0]=e.children[1]=e.children[2]=e.children[3]=null,this._tileFeatureCounts.set(e.id,t.size)}_forEachLeaf(e,t){for(const i of e.children)null!=i&&(i.isLeaf?t(i):this._forEachLeaf(i,t))}_purge(e){if(null!=e)if(e.isLeaf)this._remove(e);else for(let t=0;t<e.children.length;t++){const i=e.children[t];this._purge(i),e.children[t]=null}}_collectMissingTiles(e,t,i,s){const r=new de(i,e,this.extent);return this._collectMissingTilesRecurse(t,r,1,s),r.info}_collectMissingTilesRecurse(e,t,i,s){const r=this.getAttributesForTile(e.id),n=r&&!(0,X.Yy)(s,r);if(n&&t.addMissing(e.level,e.row,e.col,i),e.isLeaf)return;if(!e.hasChildren)return void(n||t.addMissing(e.level,e.row,e.col,i));const o=i/2;for(let i=0;i<e.children.length;i++){const r=e.children[i];null==r?t.addMissing(e.level+1,(e.row<<1)+((2&i)>>1),(e.col<<1)+(1&i),o):this._collectMissingTilesRecurse(r,t,o,s)}}_referenceFeature(e){const t=(this._refCounts.get(e)||0)+1;return this._refCounts.set(e,t),1===t?0:2}_unreferenceFeature(e){const t=(this._refCounts.get(e)||0)-1;return 0===t?(this._refCounts.delete(e),1):(t>0&&this._refCounts.set(e,t),2)}get test(){}};(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],le.prototype,"featureStore",void 0),(0,s.Cg)([(0,a.MZ)()],le.prototype,"tileInfo",void 0),(0,s.Cg)([(0,a.MZ)()],le.prototype,"extent",void 0),(0,s.Cg)([(0,a.MZ)()],le.prototype,"maximumByteSize",void 0),le=(0,s.Cg)([(0,u.$)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTileStore")],le);class ue{constructor(e,t,i){this.key=e,this.objectIds=t,this.attributeKeys=i}}class he extends m.U{constructor(){super(...arguments),this.isLeaf=!1,this.children=[null,null,null,null]}get hasChildren(){return!this.isLeaf&&(null!=this.children[0]||null!=this.children[1]||null!=this.children[2]||null!=this.children[3])}}class ce{constructor(e,t=[]){this.missingTiles=t,this.fullArea=0,this.coveredArea=0,this.fullArea=(0,$.Wc)(e.extent),this.coveredArea=this.fullArea}prepend(e){this.missingTiles=e.missingTiles.concat(this.missingTiles),this.coveredArea+=e.coveredArea,this.fullArea+=e.fullArea}}class de{constructor(e,t,i){this._tileInfo=e,this._extent=null,this.info=new ce(t),null!=i&&(this._extent=(0,$.VY)(i))}addMissing(e,t,i,s){const r=new m.U(e,t,i);this._tileInfo.updateTileInfo(r,1)&&(null==this._extent||(0,$.HY)(this._extent,r.extent))&&(this.info.missingTiles.push({data:r,resolution:s}),this.info.coveredArea-=(0,$.Wc)(r.extent))}}const fe=.18751;let pe=class extends r.nJ{constructor(){super(...arguments),this._isInitializing=!0,this.remoteClient=null,this._whenSetup=(0,n.Tw)(),this._elevationAligner=w(),this._elevationFilter=E(),this._symbologyCandidatesFetcher=k(),this._updatingHandles=new h.U,this._alignPointsInFeatures=async(e,t)=>{const i={query:e},s=await this.remoteClient.invoke("alignElevation",i,{signal:t});return(0,n.Te)(t),s},this._getSymbologyCandidates=async(e,t)=>{const i={candidates:e,spatialReference:this._spatialReference.toJSON()},s=await this.remoteClient.invoke("getSymbologyCandidates",i,{signal:t});return(0,n.Te)(t),s}}get updating(){return this._isInitializing||this._updatingHandles.updating||this._featureFetcher.updating}destroy(){this._featureFetcher?.destroy(),this._queryEngine?.destroy(),this._featureStore?.clear()}async setup(e){if(this.destroyed)return{result:{}};const{geometryType:t,objectIdField:i,timeInfo:s,fieldsIndex:r}=e.serviceInfo,{hasZ:n}=e,a=c.A.fromJSON(e.spatialReference);this._spatialReference=a,this._featureStore=new f.A({...e.serviceInfo,hasZ:n,hasM:!1}),this._featureStore.estimateFeatureUsedMemory=e=>e.usedMemory,this._queryEngine=new p.do({spatialReference:e.spatialReference,featureStore:this._featureStore,geometryType:t,fieldsIndex:r,hasZ:n,hasM:!1,featureIdInfo:{type:"object-id",fieldName:i},timeInfo:s}),this._featureFetcher=new ee({store:new le({featureStore:this._featureStore}),url:e.serviceInfo.url,objectIdField:e.serviceInfo.objectIdField,globalIdField:e.serviceInfo.globalIdField,capabilities:e.serviceInfo.capabilities,spatialReference:a,sourceSpatialReference:c.A.fromJSON(e.serviceInfo.spatialReference),customParameters:e.configuration.customParameters});const l="3d"===e.configuration.viewType;return this._elevationAligner=w(l,{elevationInfo:null!=e.elevationInfo?g.A.fromJSON(e.elevationInfo):null,alignPointsInFeatures:this._alignPointsInFeatures}),this._elevationFilter=E(l),this.addHandles([(0,o.wB)(()=>this._featureFetcher.availability,e=>this.emit("notify-availability",{availability:e}),o.OH),(0,o.wB)(()=>this.updating,()=>this._notifyUpdating())]),this._whenSetup.resolve(),this._isInitializing=!1,this.configure(e.configuration)}async configure(e){return await this._updatingHandles.addPromise(this._whenSetup.promise),this._updateFeatureFetcherConfiguration(e),me}async setSuspended(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.suspended=e,me}async updateOutFields(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.outFields=new Set(e??[]),me}async fetchCandidates(e,t){await this._whenSetup.promise,(0,n.Te)(t);const i=function(e,t){const i=!!t||void 0;if(!e.filter)return{...e,query:{where:"1=1",returnZ:i}};const{distance:s,units:r,spatialRel:n,where:o,timeExtent:a,objectIds:l}=e.filter,u={geometry:e.filter.geometry?(0,d.rS)(e.filter.geometry):void 0,distance:s,units:r,spatialRel:n,timeExtent:a,objectIds:l,returnZ:i,where:o??"1=1"};return{...e,query:u}}(e,this._featureStore.hasZ),s=t?.signal,r=await this._queryEngine.executeQueryForSnapping(i,s);(0,n.Te)(s);const o=await this._elevationAligner.alignCandidates(r.candidates,c.A.fromJSON(e.point.spatialReference)??c.A.WGS84,s);(0,n.Te)(s);const a=await this._symbologyCandidatesFetcher.fetch(o,s);(0,n.Te)(s);const l=0===a.length?o:o.concat(a);return{result:{candidates:this._elevationFilter.filter(i,l)}}}async updateTiles(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.tileSize=e.tileSize,this._featureFetcher.tilesOfInterest=e.tiles.map(e=>m.U.fromJSON(e)),this._featureFetcher.tileInfo=null!=e.tileInfo?_.A.fromJSON(e.tileInfo):null,me}async refresh(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.refresh(),me}async whenNotUpdating(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),await(0,o.C_)(()=>!this.updating,t),(0,n.Te)(t),me}async getDebugInfo(e,t){return(0,n.Te)(t),{result:this._featureFetcher.debugInfo}}async handleEdits(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),await this._updatingHandles.addPromise(this._featureFetcher.handleEdits(e)),(0,n.Te)(t),me}async setHistoricMoment(e,t){return this._featureFetcher.setHistoricMoment(e.moment),me}async notifyElevationSourceChange(e,t){return this._elevationAligner.notifyElevationSourceChange(),me}async notifySymbologyChange(e,t){return this._symbologyCandidatesFetcher.notifySymbologyChange(),me}async setSymbologySnappingSupported(e){return this._symbologyCandidatesFetcher=k(e,this._getSymbologyCandidates),me}_updateFeatureFetcherConfiguration(e){this._featureFetcher.filter=null!=e.filter?y.A.fromJSON(e.filter):null,this._featureFetcher.customParameters=e.customParameters}_notifyUpdating(){this.emit("notify-updating",{updating:this.updating})}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],pe.prototype,"updating",null),(0,s.Cg)([(0,a.MZ)()],pe.prototype,"_isInitializing",void 0),pe=(0,s.Cg)([(0,u.$)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceSnappingSourceWorker")],pe);const _e=pe,me={result:{}}},16271:(e,t,i)=>{i.d(t,{Ao:()=>n,KQ:()=>o});var s=i(4576),r=i(31756);function n(e){return 1/(r.j[e]||1)}const o=function(){const e=Object.keys(r.j);return(0,s.TF)(e,"decimal-degrees"),e.sort(),e}()},20437:(e,t,i)=>{i.d(t,{A:()=>_});var s,r=i(31635),n=i(66552),o=i(25482),a=i(10107),l=i(56507),u=(i(44208),i(87811),i(93223)),h=i(36005),c=i(40608),d=i(80451),f=i(98453);const p=new n.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let _=class extends o.o{static{s=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let i=null;try{i=t?JSON.parse(t):null}catch(e){}return i?.value??null}readValueType(e,{description:t}){let i=null;try{i=t?JSON.parse(t):null}catch(e){}return i?p.fromJSON(i.fieldValueType):null}clone(){return new s({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"alias",void 0),(0,r.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],_.prototype,"defaultValue",void 0),(0,r.Cg)([(0,a.MZ)()],_.prototype,"description",void 0),(0,r.Cg)([(0,h.w)("description")],_.prototype,"readDescription",null),(0,r.Cg)([(0,a.MZ)({types:d.gK,json:{read:{reader:d.rS},write:!0}})],_.prototype,"domain",void 0),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],_.prototype,"editable",void 0),(0,r.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],_.prototype,"length",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],_.prototype,"nullable",void 0),(0,r.Cg)([(0,u.e)(f.m)],_.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)()],_.prototype,"valueType",void 0),(0,r.Cg)([(0,h.w)("valueType",["description"])],_.prototype,"readValueType",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],_.prototype,"visible",void 0),_=s=(0,r.Cg)([(0,c.$)("esri.layers.support.Field")],_)},31756:(e,t,i)=>{i.d(t,{j:()=>n});var s=i(83047),r=i(79258);const n={unknown:1,inches:(0,s.oU)(1,"meters","inches"),feet:(0,s.oU)(1,"meters","feet"),"us-feet":(0,s.oU)(1,"meters","us-feet"),yards:(0,s.oU)(1,"meters","yards"),miles:(0,s.oU)(1,"meters","miles"),"nautical-miles":(0,s.oU)(1,"meters","nautical-miles"),millimeters:(0,s.oU)(1,"meters","millimeters"),centimeters:(0,s.oU)(1,"meters","centimeters"),decimeters:(0,s.oU)(1,"meters","decimeters"),meters:(0,s.oU)(1,"meters","meters"),kilometers:(0,s.oU)(1,"meters","kilometers"),"decimal-degrees":1/(0,s.vl)(1,"meters",r.$O.radius)}},36708:(e,t,i)=>{i.d(t,{C_:()=>d,OH:()=>_,Vh:()=>m,on:()=>c,pc:()=>y,wB:()=>l,z7:()=>u});var s=i(37955),r=i(36563),n=i(97768),o=i(74887),a=i(14012);function l(e,t,i={}){return h(e,t,i,f)}function u(e,t,i={}){return h(e,t,i,p)}function h(e,t,i={},s){let r=null;const o=i.once?(e,i)=>{s(e)&&((0,n.xt)(r),t(e,i))}:(e,i)=>{s(e)&&t(e,i)};if(r=(0,a.Cn)(e,o,i.sync,i.equals),i.initial){const t=e();o(t,t)}return r}function c(e,t,i,o={}){let a=null,u=null,h=null;function c(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function d(e){o.once&&o.once&&(0,n.xt)(h),i(e)}const f=l(e,(e,i)=>{c(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,d),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return h=(0,r.hA)(()=>{f.remove(),c()}),h}function d(e,t){return function(e,t,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function l(){a=(0,n.xt)(a)}return new Promise((s,n)=>{a=(0,r.vE)([(0,o.u7)(i,()=>{l(),n((0,o.NK)())}),h(e,e=>{l(),s(e)},{sync:!1,once:!0},t??f)])})}(e,p,t)}function f(e){return!0}function p(e){return!!e}i(80559);const _={sync:!0},m={initial:!0},y={sync:!0,initial:!0}},39357:(e,t,i)=>{i.d(t,{H:()=>l});var s,r=i(31635),n=i(25482),o=i(10107),a=(i(44208),i(53966),i(87811),i(40608));let l=s=class extends n.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new s({name:this.name,code:this.code})}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"name",void 0),(0,r.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],l.prototype,"code",void 0),l=s=(0,r.Cg)([(0,a.$)("esri.layers.support.CodedValue")],l)},53177:(e,t,i)=>{i.d(t,{A:()=>c});var s,r=i(31635),n=i(4718),o=i(10107),a=(i(44208),i(53966),i(93223)),l=i(40608),u=i(39357),h=i(76357);let c=class extends h.A{static{s=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const i=String(e);this.codedValues.some(e=>(String(e.code)===i&&(t=e.name),!!t))}return t}clone(){return new s({codedValues:(0,n.o8)(this.codedValues),name:this.name})}};(0,r.Cg)([(0,o.MZ)({type:[u.H],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,r.Cg)([(0,a.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=s=(0,r.Cg)([(0,l.$)("esri.layers.support.CodedValueDomain")],c)},60999:(e,t,i)=>{i.d(t,{DZ:()=>p,Ke:()=>f,Tj:()=>h,UT:()=>_,jJ:()=>u});var s=i(31635),r=i(65008),n=i(97768),o=i(74887),a=i(10107),l=i(40608);function u(e,t,i){return(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))}async function h(e,t,i){return(await(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))).map(e=>e.value)}function c(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function f(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return c(await e)}catch(e){return d(e)}}async function p(e){try{return c(await e)}catch(e){return(0,o.QP)(e),d(e)}}function _(e,t){return new m(e,t)}let m=class extends r.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,n.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:i}=this._abortController;this.promise=e(i),this.promise.then(e=>{this._result=c(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,n.xt)(this._abortHandle),this._abortController=null}};(0,s.Cg)([(0,a.MZ)()],m.prototype,"value",null),(0,s.Cg)([(0,a.MZ)()],m.prototype,"error",null),(0,s.Cg)([(0,a.MZ)()],m.prototype,"finished",null),(0,s.Cg)([(0,a.MZ)()],m.prototype,"promise",void 0),(0,s.Cg)([(0,a.MZ)()],m.prototype,"_result",void 0),m=(0,s.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],m)},66344:(e,t,i)=>{i.d(t,{q:()=>a});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._users=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._users.clear(),this._db=null}register(e){this._users.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._users.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,r,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==i&&this._notifyRemove(t,a.entry,a.size,0)),r>this._maxSize)return void this._notifyRemove(t,i,r,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return s||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,i,0,0);const l=1+Math.max(o,-4)- -3;this._db.set(t,new n(i,r,l)),this._size+=r,e.size+=r,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const e=this._notifyRemove(t,i.entry,s,1);if(!(null!=e&&e>0))return void this._db.delete(t);s=e}i.size=s,this._size+=s,e.size+=s,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,s)=>{const r=e.lifetime;i[r]=(i[r]||0)+e.size,this._users.forEach(i=>{const{id:r,name:n}=i;if(s.startsWith(r)){const i=t[n]||0;t[n]=i+e.size}})});const s={};this._users.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const r=t[i]||0;t[i]=r,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const r=Object.keys(t);r.sort((e,i)=>t[i]-t[e]),r.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+s[i]);for(let t=i.length-1;t>=0;--t){const s=i[t];s&&(e["Priority "+(t+-3-1)]=Math.round(s/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._users.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,s){const r=this._users.get(e.split(o)[0])?.removeFunc,n=r?.(t,s,i);return"number"==typeof n?n:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._checkSizeLimits(this.maxSize)}setMaxSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const s=t?.id;let r=!0;for(;r;){r=!1;for(const[n,a]of this._db)if(0===a.lifetime&&(!s||n.startsWith(s))){const s=t??this._users.get(n.split(o)[0]);if(this._purgeItem(n,a,s),i.size<=.9*e)return;r||=this._db.has(n)}}for(const[r,n]of this._db)if(!s||r.startsWith(s)){const s=t??this._users.get(r.split(o)[0]);if(this._purgeItem(r,n,s),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const s=this._notifyRemove(e,t.entry,t.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class n{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(e,t){this.removeFunc=t,this._storage=new r,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy(),this._storage=null}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},69540:(e,t,i)=>{i.d(t,{OU:()=>h,Pw:()=>c});var s=i(31635),r=i(65008),n=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(40608);const u=Symbol("ClonableMixin"),h=e=>{var t;const i=e;let r=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const i=t.metadata,s=t.store,r={},l=new Map;for(const t in i){const o=i[t],a=s?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const h=this[t];let c=null;if("function"==typeof u)c=u(h,e);else if("reference"===u)c=h;else if(c=(0,n.TU)(h,e),null!=h&&null==c)continue;0===a?l.set(t,c):r[t]=c}const u=new(0,Object.getPrototypeOf(this).constructor)(r);if(l.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,i]of l)e.set(t,i,0)}return u}};return r=(0,s.Cg)([(0,l.$)("esri.core.Clonable")],r),r},c=h(r.A)},75503:(e,t,i)=>{i.d(t,{EC:()=>S,wq:()=>a});var s=i(4576),r=i(21818),n=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=d,this._compareMinY=f,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),b.prune(),C.prune(),w.prune(),I.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data;const s=this._toBBox;if(v(e,i))for(b.clear();i;){for(let r=0,n=i.children.length;r<n;r++){const n=i.children[r],o=i.leaf?s(n):n;v(e,o)&&(i.leaf?t(n):g(e,o)?l(n,t):b.push(n))}i=b.pop()}}collides(e){let t=this._data;const i=this._toBBox;if(!v(e,t))return!1;for(b.clear();t;){for(let s=0,r=t.children.length;s<r;s++){const r=t.children[s],n=t.leaf?i(r):r;if(v(e,n)){if(t.leaf||g(e,n))return!0;b.push(r)}}t=b.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,i=e.length;t<i;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new M([]),this}remove(e){if(!e)return this;let t,i=this._data,n=null,o=0,a=!1;const l=this._toBBox(e);for(w.clear(),I.clear();i||w.length>0;){if(i||(i=w.pop(),n=w.data[w.length-1],o=I.pop()??0,a=!0),i.leaf&&(t=(0,s.qh)(i.children,(0,r.zI)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),w.push(i),this._condense(w),this;a||i.leaf||!g(i,l)?n?(o++,i=n.children[o],a=!1):i=null:(w.push(i),I.push(o),o=0,n=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,s){const r=i-t+1;let n=this._maxEntries;if(r<=n){const s=new M(e.slice(t,i+1));return u(s,this._toBBox),s}s||(s=Math.ceil(Math.log(r)/Math.log(n)),n=Math.ceil(r/n**(s-1)));const o=new T([]);o.height=s;const a=Math.ceil(r/n),l=a*Math.ceil(Math.sqrt(n));x(e,t,i,l,this._compareMinX);for(let r=t;r<=i;r+=l){const t=Math.min(r+l-1,i);x(e,r,t,a,this._compareMinY);for(let i=r;i<=t;i+=a){const r=Math.min(i+a-1,t);o.children.push(this._build(e,i,r,s-1))}}return u(o,this._toBBox),o}_insert(e,t,i){const s=this._toBBox,r=i?e:s(e);w.clear();const n=function(e,t,i,s){for(;s.push(t),!0!==t.leaf&&s.length-1!==i;){let i,s=1/0,r=1/0;for(let n=0,o=t.children.length;n<o;n++){const o=t.children[n],a=p(o),l=m(e,o)-a;l<r?(r=l,s=a<s?a:s,i=o):l===r&&a<s&&(s=a,i=o)}t=i||t.children[0]}return t}(r,this._data,t,w);for(n.children.push(e),c(n,r);t>=0&&w.data[t].children.length>this._maxEntries;)this._split(w,t),t--;!function(e,t,i){for(let s=i;s>=0;s--)c(t.data[s],e)}(r,w,t)}_split(e,t){const i=e.data[t],s=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,s);const n=this._chooseSplitIndex(i,r,s);if(!n)return;const o=i.children.splice(n,i.children.length-n),a=i.leaf?new M(o):new T(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new T([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let s,r,n;s=r=1/0;for(let o=t;o<=i-t;o++){const t=h(e,0,o,this._toBBox),a=h(e,o,i,this._toBBox),l=y(t,a),u=p(t)+p(a);l<s?(s=l,n=o,r=u<r?u:r):l===s&&u<r&&(r=u,n=o)}return n}_chooseSplitAxis(e,t,i){const s=e.leaf?this._compareMinX:d,r=e.leaf?this._compareMinY:f;this._allDistMargin(e,t,i,s)<this._allDistMargin(e,t,i,r)&&e.children.sort(s)}_allDistMargin(e,t,i,s){e.children.sort(s);const r=this._toBBox,n=h(e,0,t,r),o=h(e,i-t,i,r);let a=_(n)+_(o);for(let s=t;s<i-t;s++){const t=e.children[s];c(n,e.leaf?r(t):t),a+=_(n)}for(let s=i-t-1;s>=t;s--){const t=e.children[s];c(o,e.leaf?r(t):t),a+=_(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const i=e.data[t];if(0===i.children.length)if(t>0){const r=e.data[t-1],n=r.children;n.splice((0,s.qh)(n,i,n.length,r.indexHint),1)}else this.clear();else u(i,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let i=e;for(C.clear();i;){if(!0===i.leaf)for(const e of i.children)t((0,r.zI)(e));else C.pushArray(i.children);i=C.pop()??null}}function u(e,t){h(e,0,e.children.length,t,e)}function h(e,t,i,s,r){r||(r=new M([])),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(let n,o=t;o<i;o++)n=e.children[o],c(r,e.leaf?s(n):n);return r}function c(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function d(e,t){return e.minX-t.minX}function f(e,t){return e.minY-t.minY}function p(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function _(e){return e.maxX-e.minX+(e.maxY-e.minY)}function m(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function y(e,t){const i=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),r=Math.min(e.maxX,t.maxX),n=Math.min(e.maxY,t.maxY);return Math.max(0,r-i)*Math.max(0,n-s)}function g(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function v(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,i,s,r){const n=[t,i];for(;n.length;){const t=n.pop(),i=n.pop();if(t-i<=s)continue;const a=i+Math.ceil((t-i)/s/2)*s;(0,o.q)(e,a,i,t,r),n.push(i,a,a,t)}}const b=new n.A,C=new n.A,w=new n.A,I=new n.A({deallocator:void 0});class S{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class F extends S{constructor(){super(...arguments),this.height=1,this.indexHint=new s.vW}}class M extends F{constructor(e){super(),this.children=e,this.leaf=!0}}class T extends F{constructor(e){super(),this.children=e,this.leaf=!1}}},76357:(e,t,i)=>{i.d(t,{A:()=>h});var s=i(31635),r=i(66552),n=i(25482),o=i(10107),a=(i(44208),i(53966),i(87811),i(93223)),l=i(40608);const u=new r.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let h=class extends n.o{constructor(e){super(e),this.name=null,this.type=null}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,s.Cg)([(0,a.e)(u),(0,o.MZ)({json:{write:{isRequired:!0}}})],h.prototype,"type",void 0),h=(0,s.Cg)([(0,l.$)("esri.layers.support.Domain")],h)},80451:(e,t,i)=>{i.d(t,{rS:()=>p,gK:()=>f}),i(44208);var s,r=i(53177),n=i(76357),o=i(31635),a=(i(53966),i(87811),i(49186),i(93223)),l=i(40608);let u=class extends n.A{static{s=this}constructor(e){super(e),this.type="inherited"}clone(){return new s}};(0,o.Cg)([(0,a.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=s=(0,o.Cg)([(0,l.$)("esri.layers.support.InheritedDomain")],u);var h,c=i(10107);let d=class extends n.A{static{h=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new h({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,o.Cg)([(0,c.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,i){t[i]=[this.minValue||0,e]},isRequired:!0}}})],d.prototype,"maxValue",void 0),(0,o.Cg)([(0,c.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,i){t[i]=[e,this.maxValue||0]},isRequired:!0}}})],d.prototype,"minValue",void 0),(0,o.Cg)([(0,a.e)({range:"range"})],d.prototype,"type",void 0),d=h=(0,o.Cg)([(0,l.$)("esri.layers.support.RangeDomain")],d);const f={key:"type",base:n.A,typeMap:{range:d,"coded-value":r.A,inherited:u}};function p(e){if(!e?.type)return null;switch(e.type){case"range":return d.fromJSON(e);case"codedValue":return r.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},83221:(e,t,i)=>{i.d(t,{A:()=>p});var s=i(4576),r=i(49186),n=i(65529),o=i(53966),a=i(70328),l=i(19419),u=i(90708),h=i(6518),c=i(51441),d=i(37730);const f=(0,a.vt)();class p{constructor(e){this.geometryInfo=e,this._boundsStore=new h.F,this._featuresById=new Map,this._usedMemory=0,this.events=new n.bk,this.featureAdapter=d.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,i,s,r]=this.fullBounds;return{xmin:t,ymin:i,xmax:s,ymax:r,spatialReference:(0,c.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(s.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const i of e){const e=this._boundsStore.get(i.objectId);e&&t((0,a.Jt)(f,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new r.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const i=this._featuresById.get(t);let s;if(i?(e.displayId=i.displayId,s=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);s=(0,u.jQ)(null!=s?s:(0,l.vt)(),e.geometry,this.geometryInfo.hasZ,this.geometryInfo.hasM),null!=s&&this._boundsStore.set(t,s),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new r.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;const{geometry:s,attributes:n}=e;for(const e in n)i.attributes[e]=n[e];return s&&(i.geometry=s,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),s,this.geometryInfo.hasZ,this.geometryInfo.hasM)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},88625:(e,t,i)=>{i.d(t,{A:()=>v});var s,r=i(31635),n=i(69540),o=i(66552),a=i(25482),l=i(97768),u=i(10107),h=(i(44208),i(53966),i(87811),i(36005)),c=i(40608),d=i(43937),f=i(30524);let p=s=class extends a.o{constructor(e){super(e),this.expression=void 0,this.title=void 0}async collectRequiredFields(e,t){return(0,f.Dx)(e,t,null,this.expression)}clone(){return new s({expression:this.expression,title:this.title})}equals(e){return this.expression===e.expression&&this.title===e.title}};(0,r.Cg)([(0,u.MZ)({type:String,json:{write:{isRequired:!0}}})],p.prototype,"expression",void 0),(0,r.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],p.prototype,"title",void 0),p=s=(0,r.Cg)([(0,c.$)("esri.symbols.support.FeatureExpressionInfo")],p);const _=p;var m=i(16271);const y=(0,o.O)()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),g=new o.J({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"});let v=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.featureExpressionInfo=void 0,this.offset=null}readFeatureExpressionInfo(e,t){return null!=e?e.expression?e:void 0:t.featureExpression&&0===t.featureExpression.value?{expression:"0"}:void 0}writeFeatureExpressionInfo(e,t,i,s){t[i]=e.write({},s),"0"===e.expression&&(t.featureExpression={value:0})}get mode(){const{offset:e,featureExpressionInfo:t}=this;return this._isOverridden("mode")?this._get("mode"):null!=e||t?"relative-to-ground":"on-the-ground"}set mode(e){this._override("mode",e)}set unit(e){this._set("unit",e)}write(e,t){return this.offset||this.mode||this.featureExpressionInfo||this.unit?super.write(e,t):null}equals(e){return this.mode===e.mode&&this.offset===e.offset&&this.unit===e.unit&&(0,l.CM)(this.featureExpressionInfo,e.featureExpressionInfo)}};(0,r.Cg)([(0,u.MZ)({type:_,json:{write:!0}})],v.prototype,"featureExpressionInfo",void 0),(0,r.Cg)([(0,h.w)("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],v.prototype,"readFeatureExpressionInfo",null),(0,r.Cg)([(0,d.K)("featureExpressionInfo",{featureExpressionInfo:{type:_},"featureExpression.value":{type:[0]}})],v.prototype,"writeFeatureExpressionInfo",null),(0,r.Cg)([(0,u.MZ)({type:y.apiValues,nonNullable:!0,json:{type:y.jsonValues,read:y.read,write:{writer:y.write,isRequired:!0}}})],v.prototype,"mode",null),(0,r.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],v.prototype,"offset",void 0),(0,r.Cg)([(0,u.MZ)({type:m.KQ,json:{type:String,read:g.read,write:g.write}})],v.prototype,"unit",null),v=(0,r.Cg)([(0,c.$)("esri.symbols.support.ElevationInfo")],v)},98453:(e,t,i)=>{i.d(t,{m:()=>s});const s=new(i(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[574],{2272:(e,t,i)=>{i.d(t,{Dl:()=>u,gf:()=>c,jV:()=>l,lF:()=>h});var s=i(92602),r=i(70333),n=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,n.o8)(e)}function h(e,t,i){const s={};for(const r in e){if("declaredClass"===r)continue;const n=e[r];if(null!=n&&"function"!=typeof n)if(Array.isArray(n))s[r]=n.map(e=>h(e));else if("object"==typeof n)if(n.toJSON){const e=n.toJSON(i?.[r]);s[r]=t?e:JSON.stringify(e)}else s[r]=t?n:JSON.stringify(n);else s[r]=n}return s}async function c(e,t,n){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.CG)(e)??r.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!r.id&&s.A.request.useIdentity&&await Promise.all([i.e(7330),i.e(168),i.e(3747)]).then(i.bind(i,73747));const l=await r.id.getCredential(e,n);return l?.token}},6518:(e,t,i)=>{i.d(t,{F:()=>a});var s=i(44208),r=i(75503),n=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new r.wq(9,(0,s.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((i,s)=>{e[t++]=s}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,n.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},12543:(e,t,i)=>{i.r(t),i.d(t,{default:()=>_e});var s=i(31635),r=i(65529),n=i(74887),o=i(36708),a=i(10107),l=(i(44208),i(53966)),u=(i(87811),i(64108)),h=i(79897),c=i(16930),d=i(65864),f=i(83221),p=i(56390),_=i(87045),m=i(72802),y=i(61956),g=i(88625),v=i(66344),x=i(91869),b=i(83047),C=i(16271);function w(e=!1,t){if(e){const{elevationInfo:e,alignPointsInFeatures:i}=t;return new S(e,i)}return new I}class I{async alignCandidates(e,t,i){return e}notifyElevationSourceChange(){}}class S{constructor(e,t){this._elevationInfo=e,this._alignPointsInFeatures=t,this._alignmentsCache=new v.q(1024),this._cacheVersion=0}async alignCandidates(e,t,i){const s=this._elevationInfo;return null==s||"absolute-height"!==s.mode||s.featureExpressionInfo?this._alignComputedElevationCandidates(e,t,i):(function(e,t,i){const{offset:s,unit:r}=i;if(null==s)return;const n=(0,b.G9)(t),o=s*((0,C.Ao)(r??"meters")/n);for(const t of e)switch(t.type){case"edge":t.start.z+=o,t.end.z+=o;continue;case"vertex":t.target.z+=o;continue}}(e,t,s),e)}notifyElevationSourceChange(){this._alignmentsCache.clear(),this._cacheVersion++}async _alignComputedElevationCandidates(e,t,i){const s=new Map;for(const t of e)(0,x.tE)(s,t.objectId,T).push(t);const[r,o,a]=this._prepareQuery(s,t),l=await this._alignPointsInFeatures(r,i);if((0,n.Te)(i),a!==this._cacheVersion)return this._alignComputedElevationCandidates(e,t,i);this._applyCacheAndResponse(r,l,o);const{drapedObjectIds:u,failedObjectIds:h}=l,c=[];for(const t of e){const{objectId:e}=t;u.has(e)&&"edge"===t.type&&(t.draped=!0),h.has(e)||c.push(t)}return c}_prepareQuery(e,t){const i=[],s=[];for(const[t,r]of e){const e=[];for(const i of r)this._addToQueriesOrCachedResult(t,i.target,e,s),"edge"===i.type&&(this._addToQueriesOrCachedResult(t,i.start,e,s),this._addToQueriesOrCachedResult(t,i.end,e,s));0!==e.length&&i.push({objectId:t,points:e})}return[{spatialReference:t.toJSON(),pointsInFeatures:i},s,this._cacheVersion]}_addToQueriesOrCachedResult(e,t,i,s){const r=M(e,t),n=this._alignmentsCache.get(r);null==n?i.push(t):s.push(new F(t,n))}_applyCacheAndResponse(e,{elevations:t,drapedObjectIds:i,failedObjectIds:s},r){for(const e of r)e.apply();let n=0;const o=this._alignmentsCache;for(const{objectId:r,points:a}of e.pointsInFeatures){if(s.has(r)){n+=a.length;continue}const e=!i.has(r);for(const i of a){const s=M(r,i),a=t[n++];i.z=a,e&&o.put(s,a,1)}}}}class F{constructor(e,t){this.point=e,this.z=t}apply(){this.point.z=this.z}}function M(e,{x:t,y:i,z:s,spatialReference:r}){return`${e}-${t}-${i}-${s??0}}-wkid:${r?.wkid}`}function T(){return[]}class z{filter(e,t){return t}notifyElevationSourceChange(){}}class B{filter(e,t){const{point:i,distance:s}=e,{z:r}=i;if(null==r)return t;if(0===t.length)return t;const n=function(e){return"number"==typeof e?{x:e,y:e,z:e}:e}(s),o=this._updateCandidatesTo3D(t,i,n).filter(A);return o.sort(P),o}_updateCandidatesTo3D(e,t,i){for(const s of e)switch(s.type){case"edge":O(s,t,i);continue;case"vertex":R(s,t,i);continue}return e}}function A(e){return e.distance<=1}function E(e=!1){return e?new B:new z}function O(e,t,{x:i,y:s,z:r}){const{start:n,end:o,target:a}=e;e.draped||function(e,t,i,s){const r=s.x-i.x,n=s.y-i.y,o=s.z-i.z,a=r*r+n*n+o*o,l=(t.x-i.x)*r+(t.y-i.y)*n+o*(t.z-i.z),u=Math.min(1,Math.max(0,l/a)),h=i.x+r*u,c=i.y+n*u,d=i.z+o*u;e.x=h,e.y=c,e.z=d}(a,t,n,o);const l=(t.x-a.x)/i,u=(t.y-a.y)/s,h=(t.z-a.z)/r;e.distance=Math.sqrt(l*l+u*u+h*h)}function R(e,t,{x:i,y:s,z:r}){const{target:n}=e,o=(t.x-n.x)/i,a=(t.y-n.y)/s,l=(t.z-n.z)/r,u=Math.sqrt(o*o+a*a+l*l);e.distance=u}function P(e,t){return e.distance-t.distance}var j=i(4718),Z=i(799);function k(e=!1,t){return e?new H(t):new q}class q{async fetch(){return[]}notifySymbologyChange(){}}class H{constructor(e){this._getSymbologyCandidates=e,this._candidatesCache=new v.q(1024),this._cacheVersion=0}async fetch(e,t){if(0===e.length)return[];const i=[],s=[],r=this._candidatesCache;for(const t of e){const e=V(t),n=r.get(e);if(n)for(const e of n)s.push((0,j.o8)(e));else i.push(t),r.put(e,[],1)}if(0===i.length)return s;const o=this._cacheVersion,{candidates:a,sourceCandidateIndices:l}=await this._getSymbologyCandidates(i,t);if((0,n.Te)(t),o!==this._cacheVersion)return this.fetch(e,t);const u=[],{length:h}=a;for(let e=0;e<h;++e){const t=a[e],s=V(i[l[e]]),n=r.get(s);n.push(t),r.put(s,n,n.length),u.push((0,j.o8)(t))}return s.concat(u)}notifySymbologyChange(){this._candidatesCache.clear(),this._cacheVersion++}}function V(e){switch(e.type){case"vertex":{const{objectId:t,target:i}=e,s=`${t}-vertex-${i.x}-${i.y}-${i.z??0}`;return(0,Z.Wm)(s).toString()}case"edge":{const{objectId:t,start:i,end:s}=e,r=`${t}-edge-${i.x}-${i.y}-${i.z??0}-to-${s.x}-${s.y}-${s.z??0}`;return(0,Z.Wm)(r).toString()}default:return""}}var Y=i(65008),N=i(4576),L=i(60999),X=i(3483),J=i(13069),U=i(5443),$=i(19419),D=i(90708),Q=i(60694),G=i(69418),K=i(80893);class W{constructor(e,t){this.key=e,this.resolution=t,this.state={type:0},this.alive=!0}process(e){switch(this.state.type){case 0:return this.state=this._gotoFetchCount(this.state,e),this.state.task.promise.then(e.resume,e.resume);case 1:case 3:break;case 2:return this.state=this._gotoFetchFeatures(this.state,e),this.state.task.promise.then(e.resume,e.resume);case 4:this.state=this._goToDone(this.state,e)}return null}get debugInfo(){return{key:this.key,featureCount:this._featureCount,state:this._stateToString}}get _featureCount(){switch(this.state.type){case 0:case 1:return 0;case 2:return this.state.featureCount;case 3:return this.state.previous.featureCount;case 4:return this.state.features.length;case 5:return this.state.previous.features.length}}get _stateToString(){switch(this.state.type){case 0:return"created";case 1:return"fetch-count";case 2:return"fetched-count";case 3:return"fetch-features";case 4:return"fetched-features";case 5:return"done"}}_gotoFetchCount(e,t){return{type:1,previous:e,task:(0,L.UT)(async e=>{const i=await(0,L.DZ)(t.fetchCount(this,e));1===this.state.type&&(this.state=function(e,t){return{type:2,featureCount:t,previous:e}}(this.state,i.ok?i.value:1/0))})}}_gotoFetchFeatures(e,t){return{type:3,previous:e,task:(0,L.UT)(async i=>{const s=await(0,L.DZ)(t.fetchFeatures(this,e.featureCount,i));3===this.state.type&&(this.state=function(e,t){return{type:4,previous:e,features:t}}(this.state,s.ok?s.value:[]))})}}_goToDone(e,t){return t.finish(this,e.features),{type:5,previous:e}}reset(){const e=this.state;switch(this.state={type:0},e.type){case 0:case 2:case 4:case 5:break;case 1:case 3:e.task.abort()}}}let ee=class extends Y.A{get _minimumVerticesPerFeature(){switch(this.store?.featureStore.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":return 1;case"esriGeometryPolygon":return 4;case"esriGeometryPolyline":return 2}}get _mandatoryOutFields(){const e=new Set;return this.objectIdField&&e.add(this.objectIdField),this.globalIdField&&e.add(this.globalIdField),e}set outFields(e){const t=this._get("outFields"),i=(0,X.KC)(e,this._mandatoryOutFields);(0,X.aI)(i,t)||(this._set("outFields",i),(0,X.Yy)(i,t)||this.refresh())}get outFields(){return this._get("outFields")??this._mandatoryOutFields}set filter(e){const t=this._get("filter"),i=this._filterProperties(e);JSON.stringify(t)!==JSON.stringify(i)&&this._set("filter",i)}set customParameters(e){const t=this._get("customParameters");JSON.stringify(t)!==JSON.stringify(e)&&this._set("customParameters",e)}get _configuration(){return{filter:this.filter,customParameters:this.customParameters,tileInfo:this.tileInfo,tileSize:this.tileSize}}set tileInfo(e){const t=this._get("tileInfo");t!==e&&(null!=e&&null!=t&&JSON.stringify(e)===JSON.stringify(t)||(this._set("tileInfo",e),this.store.tileInfo=e))}set tileSize(e){this._get("tileSize")!==e&&this._set("tileSize",e)}get updating(){return this._updatingHandles.updating}get hasZ(){return this.store.featureStore.hasZ}constructor(e){super(e),this.suspended=!0,this._historicMoment=null,this.tilesOfInterest=new Array,this.availability=0,this._pendingTiles=new Map,this._updatingHandles=new h.U}initialize(){this._initializeFetchExtent(),this._updatingHandles.add(()=>this._configuration,()=>this.refresh()),this._updatingHandles.add(()=>this.tilesOfInterest,()=>{this._updatePriorities(),this._process()},{sync:!0,initial:!0,equals:(e,t)=>(0,N.aI)(e,t,({id:e},{id:t})=>e===t)}),this.addHandles((0,o.z7)(()=>!this.suspended,()=>this._process()))}_updatePriorities(){this.store.setPriorityOrderByKey(this.tilesOfInterest.map(({id:e})=>e)??[])}destroy(){this._pendingTiles.forEach(e=>this._deletePendingTile(e)),this._pendingTiles.clear(),this.store.destroy(),this.tilesOfInterest.length=0,this._updatingHandles.destroy()}refresh(){this.store.refresh(),this._pendingTiles.forEach(e=>this._deletePendingTile(e)),this._process()}async handleEdits(e){if(e.historicMoment&&(this._historicMoment=e.historicMoment),!e.addedFeatures.length&&!e.updatedFeatures.length&&!e.deletedFeatures.length)return;for(const e of this._pendingTiles.values())e.reset();const t={...e,deletedFeatures:e.deletedFeatures.map(({objectId:e,globalId:t})=>e&&-1!==e?e:this._lookupObjectIdByGlobalId(t))},i=(0,L.UT)(async e=>{try{await this.store.processEdits(t,(e,t)=>this._queryFeaturesById(e,t),e),this._processPendingTiles()}catch(e){(0,n.QP)(e),l.A.getLogger(this).warn("Failed to apply edits",e)}});this.addHandles(i),await this._updatingHandles.addPromise(i.promise)}setHistoricMoment(e){e?.getTime()!==this._historicMoment?.getTime()&&(this._historicMoment=e,this.refresh())}_initializeFetchExtent(){if(!this.capabilities.query.supportsExtent||!(0,Q.Wo)(this.url))return;const e=(0,L.UT)(async e=>{try{const t=await(0,K.Jf)(this.url,new y.A({where:"1=1",outSpatialReference:this.spatialReference,cacheHint:this.capabilities.query.supportsCacheHint??void 0}),{query:this._configuration.customParameters,signal:e});this.store.extent=U.A.fromJSON(t.data?.extent)}catch(e){(0,n.QP)(e),l.A.getLogger(this).warn("Failed to fetch data extent",e)}});this._updatingHandles.addPromise(e.promise.then(()=>this._process())),this.addHandles(e)}get debugInfo(){return{numberOfFeatures:this.store.featureStore.numFeatures,tilesOfInterest:this.tilesOfInterest,pendingTiles:Array.from(this._pendingTiles.values()).map(e=>e.debugInfo),storedTiles:this.store.debugInfo}}_process(){this._markTilesNotAlive(),this._createPendingTiles(),this._deletePendingTiles(),this._processPendingTiles()}_markTilesNotAlive(){for(const e of this._pendingTiles.values())e.alive=!1}_createPendingTiles(){if(this.suspended)return;const e=this._collectMissingTilesInfo();if(this._setAvailability(null==e?1:e.coveredArea/e.fullArea),null!=e)for(const{data:t,resolution:i}of e.missingTiles){const e=this._pendingTiles.get(t.id);e?(e.resolution=i,e.alive=!0):this._createPendingTile(t,i)}}_collectMissingTilesInfo(){let e=null;for(const t of this.tilesOfInterest){const i=this.store.process(t,(e,t)=>this._verifyTileComplexity(e,t),this.outFields);null==e?e=i:e.prepend(i)}return e}_deletePendingTiles(){for(const e of this._pendingTiles.values())e.alive||this._deletePendingTile(e)}_processPendingTiles(){const e={fetchCount:(e,t)=>this._fetchCount(e,t),fetchFeatures:(e,t,i)=>this._fetchFeatures(e,t,i),finish:(e,t)=>this._finishPendingTile(e,t),resume:()=>this._processPendingTiles()};if(this._ensureFetchAllCounts(e))for(const t of this._pendingTiles.values())this._verifyTileComplexity(this.store.getFeatureCount(t.key),t.resolution)&&this._updatingHandles.addPromise(t.process(e))}_verifyTileComplexity(e,t){return this._verifyVertexComplexity(e)&&this._verifyFeatureDensity(e,t)}_verifyVertexComplexity(e){return e*this._minimumVerticesPerFeature<se}_verifyFeatureDensity(e,t){if(null==this.tileInfo)return!1;const i=this.tileSize*t;return e*(re/(i*i))<ne}_ensureFetchAllCounts(e){let t=!0;for(const i of this._pendingTiles.values())i.state.type<2&&this._updatingHandles.addPromise(i.process(e)),i.state.type<=1&&(t=!1);return t}_finishPendingTile(e,t){this.store.add(e.key,t),this._deletePendingTile(e),this._updateAvailability()}_updateAvailability(){const e=this._collectMissingTilesInfo();this._setAvailability(null==e?1:e.coveredArea/e.fullArea)}_setAvailability(e){this._set("availability",e)}_createPendingTile(e,t){const i=new W(e,t);return this._pendingTiles.set(e.id,i),i}_deletePendingTile(e){e.reset(),this._pendingTiles.delete(e.key.id)}async _fetchCount(e,t){return this.store.fetchCount(e.key,this.url,this._createCountQuery(e),{query:this.customParameters,timeout:ie,signal:t})}async _fetchFeatures(e,t,i){let s=0;const r=[];let n=0,o=t;for(;;){const a=this._createFeaturesQuery(e),l=this._setPagingParameters(a,s,o),{features:u,exceededTransferLimit:h}=await this._queryFeatures(a,i);l&&(s+=a.num),n+=u.length;for(const e of u)r.push(e);if(o=t-n,!l||!h||o<=0)return r}}_filterProperties(e){return null==e?{where:"1=1",gdbVersion:void 0,timeExtent:void 0}:{where:e.where||"1=1",timeExtent:e.timeExtent,gdbVersion:e.gdbVersion}}_lookupObjectIdByGlobalId(e){const t=this.globalIdField,i=this.objectIdField;if(null==t)throw new Error("Expected globalIdField to be defined");let s=null;const r=e?(0,J.AG)(e):e;if(this.store.featureStore.forEach(e=>{r===(0,J.AG)(e.attributes[t])&&(s=e.objectId??e.attributes[i])}),null==s)throw new Error(`Expected to find a feature with globalId ${e}`);return s}_queryFeaturesById(e,t){const i=this._createFeaturesQuery();return i.objectIds=e,this._queryFeatures(i,t)}_queryFeatures(e,t){return this.capabilities.query.supportsFormatPBF?this._queryFeaturesPBF(e,t):this._queryFeaturesJSON(e,t)}async _queryFeaturesPBF(e,t){const{sourceSpatialReference:i}=this,{data:s}=await(0,K.IJ)(this.url,e,new G.S({sourceSpatialReference:i}),{query:this._configuration.customParameters,timeout:ie,signal:t});return(0,D.eY)(s)}async _queryFeaturesJSON(e,t){const{sourceSpatialReference:i}=this,{data:s}=await(0,K.eW)(this.url,e,i,{query:this._configuration.customParameters,timeout:ie,signal:t});return(0,D.q3)(s,{type:"object-id",fieldName:this.objectIdField})}_createCountQuery(e){const t=this._createBaseQuery(e);return this.capabilities.query.supportsCacheHint&&(t.cacheHint=!0),t}_createFeaturesQuery(e=null){const t=this._createBaseQuery(e),i=null!=e?.key?this.store.getAttributesForTile(e?.key?.id):null,s=(0,X.KC)((0,X.iv)(this.outFields,i??new Set),this._mandatoryOutFields);return t.outFields=Array.from(s),t.returnGeometry=!0,null!=e&&(this.capabilities.query.supportsResultType?t.resultType="tile":this.capabilities.query.supportsCacheHint&&(t.cacheHint=!0)),t}_createBaseQuery(e){const t=new y.A({returnZ:this.hasZ,returnM:!1,historicMoment:this._historicMoment,geometry:null!=this.tileInfo&&null!=e?(0,$.w1)(e.key.extent,this.tileInfo.spatialReference):void 0}),i=this._configuration.filter;return null!=i&&(t.where=i.where,t.gdbVersion=i.gdbVersion,t.timeExtent=i.timeExtent),t.outSpatialReference=this.spatialReference,t}_setPagingParameters(e,t,i){if(!this.capabilities.query.supportsPagination)return!1;const{supportsMaxRecordCountFactor:s,supportsCacheHint:r,tileMaxRecordCount:n,maxRecordCount:o,supportsResultType:a}=this.capabilities.query,l=s?y.A.MAX_MAX_RECORD_COUNT_FACTOR:1,u=l*((a||r)&&n?n:o||te);return e.start=t,s?(e.maxRecordCountFactor=Math.min(l,Math.ceil(i/u)),e.num=Math.min(i,e.maxRecordCountFactor*u)):e.num=Math.min(i,u),!0}};(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"url",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"objectIdField",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"globalIdField",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"capabilities",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"sourceSpatialReference",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"spatialReference",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ee.prototype,"store",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ee.prototype,"_minimumVerticesPerFeature",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"_mandatoryOutFields",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"outFields",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"suspended",void 0),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"_historicMoment",void 0),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"filter",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"customParameters",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ee.prototype,"_configuration",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"tileInfo",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"tileSize",null),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"tilesOfInterest",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ee.prototype,"updating",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ee.prototype,"availability",void 0),(0,s.Cg)([(0,a.MZ)()],ee.prototype,"hasZ",null),ee=(0,s.Cg)([(0,u.$)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTiledFetcher")],ee);const te=2e3,ie=6e5,se=1e6,re=25,ne=1;var oe=i(6518);class ae{constructor(){this._store=new Map,this._priorities=new Map}get size(){return this._store.size}setPriorityOrderByKey(e){this._priorities.clear();for(let t=e.length-1;t>=0;t--)this._priorities.set(e[t],e.length-t)}hasLowerPriority(e){const t=this._priorities.get(e);if(null==t)return!0;for(const[e]of this._store){const i=this._priorities.get(e);if(null==i||i<t)return!0}return!1}someFromLowestToHighestPriority(e){const{_priorities:t}=this;for(const[i,s]of this._store)if(!t.has(i)&&e(s,i))return!0;for(const[i]of t){const t=this._store.get(i);if(t&&e(t,i))return!0}return!1}set(e,t){this._store.set(e,t)}delete(e){return this._store.delete(e)}get(e){return this._store.get(e)}has(e){return this._store.has(e)}clear(){this._store.clear()}values(){return this._store.values()}[Symbol.iterator](){return this._store[Symbol.iterator]()}}let le=class extends Y.A{setPriorityOrderByKey(e){this._tiles.setPriorityOrderByKey(e)}get _memoryLimitExceeded(){return this.featureStore.usedMemory>=this.maximumByteSize}constructor(e){super(e),this.tileInfo=null,this.extent=null,this.maximumByteSize=10485760,this._tileBounds=new oe.F,this._tiles=new ae,this._refCounts=new Map,this._tileFeatureCounts=new Map,this._tmpBoundingRect=(0,$.vt)()}add(e,t){for(const e of t)this._referenceFeature(e.objectId);const i=this.featureStore.upsertMany(t),s=i.map(e=>new Set(Object.keys(e.attributes))).reduce((e,t)=>(0,X.E$)(e,t),new Set(Object.keys(i[0]?.attributes??[]))),r=this._memoryLimitExceeded;this._addTileStorage(e,new Set(i.map(e=>e.objectId)),s),r&&this._applyCacheMemoryLimits()}_applyCacheMemoryLimits(){if(!this._memoryLimitExceeded)return;const{_tiles:e,featureStore:t,maximumByteSize:i}=this;e.someFromLowestToHighestPriority(e=>!this._memoryLimitExceeded||t.usedMemory-this._estimateRemoveTileMemoryReduction(e)<i||(this._removeTileStorage(e),!1))}_estimateRemoveTileMemoryReduction(e){let t=0;for(const i of e.objectIds)if(1===this._refCounts.get(i)){const e=this.featureStore.getFeature(i);e&&(t+=this.featureStore.estimateFeatureUsedMemory?.(e)??0)}return t}getAttributesForTile(e){return e?this._tiles.get(e)?.attributeKeys:null}destroy(){this.clear(),this._tileFeatureCounts.clear()}clear(){this.featureStore.clear(),this._tileBounds.clear(),this._tiles.clear(),this._refCounts.clear()}refresh(){this.clear(),this._tileFeatureCounts.clear()}processEdits(e,t,i){return this._processEditsDelete(e.deletedFeatures.concat(e.updatedFeatures)),this._processEditsRefetch(e.addedFeatures.concat(e.updatedFeatures),t,i)}_addTileStorage(e,t,i){const s=e.id;this._tiles.set(s,new ue(e,t,i)),this._tileBounds.set(s,e.extent),this._tileFeatureCounts.set(s,t.size)}_remove({id:e}){const t=this._tiles.get(e);t&&this._removeTileStorage(t)}_removeTileStorage(e){const t=[];for(const i of e.objectIds)1===this._unreferenceFeature(i)&&t.push(i);this.featureStore.removeManyById(t);const i=e.key.id;this._tiles.delete(i),this._tileBounds.delete(i)}_processEditsDelete(e){this.featureStore.removeManyById(e);for(const t of this._tiles.values()){for(const i of e)t.objectIds.delete(i);this._tileFeatureCounts.set(t.key.id,t.objectIds.size)}for(const t of e)this._refCounts.delete(t)}async _processEditsRefetch(e,t,i){if(!e.length)return;const s=(await t(e,i)).features,{hasZ:r,hasM:n}=this.featureStore;for(const e of s){const t=(0,D.jQ)(this._tmpBoundingRect,e.geometry,r,n);null!=t&&this._tileBounds.forEachInBounds(t,t=>{const i=this._tiles.get(t);this.featureStore.add(e);const s=e.objectId;i.objectIds.has(s)||(i.objectIds.add(s),this._referenceFeature(s),this._tileFeatureCounts.set(i.key.id,i.objectIds.size))})}}process(e,t=()=>!0,i){if(null==this.tileInfo||!e.extent||null!=this.extent&&!(0,$.HY)((0,$.VY)(this.extent,this._tmpBoundingRect),e.extent))return new ce(e);if(this._memoryLimitExceeded&&!this._tiles.hasLowerPriority(e.id??""))return new ce(e);const s=this.getAttributesForTile(e.id);if((0,X.Yy)(i,s))return new ce(e);const r=this._createTileTree(e,this.tileInfo);return this._simplify(r,t,null,0,1),this._collectMissingTiles(e,r,this.tileInfo,i)}get debugInfo(){return Array.from(this._tiles.values()).map(({key:e})=>({key:e.toJSON(),featureCount:this._tileFeatureCounts.get(e.id)||0}))}getFeatureCount(e){return this._tileFeatureCounts.get(e.id)??0}async fetchCount(e,t,i,s){const r=this._tileFeatureCounts.get(e.id);if(null!=r)return r;const n=await(0,K.gW)(t,i,s);return this._tileFeatureCounts.set(e.id,n.data.count),n.data.count}_createTileTree(e,t){const i=new he(e.level,e.row,e.col);return t.updateTileInfo(i,1),this._tileBounds.forEachInBounds(e.extent,s=>{const r=this._tiles.get(s)?.key;r&&function(e,t){if(!e||!t)return!1;if(e.level===t.level)return e.row===t.row&&e.col===t.col;const i=e.level<t.level,s=i?e:t,r=i?t:e,n=1<<r.level-s.level;return Math.floor(r.row/n)===s.row&&Math.floor(r.col/n)===s.col}(e,r)&&this._populateChildren(i,r,t,this._tileFeatureCounts.get(r.id)||0)}),i}_populateChildren(e,t,i,s){const r=t.level-e.level-1;if(r<0)return void(e.isLeaf=!0);const n=t.row>>r,o=t.col>>r,a=e.row<<1,l=o-(e.col<<1)+(n-a<<1),u=e.children[l];if(null!=u)this._populateChildren(u,t,i,s);else{const r=new he(e.level+1,n,o);i.updateTileInfo(r,1),e.children[l]=r,this._populateChildren(r,t,i,s)}}_simplify(e,t,i,s,r){const n=r*r;if(e.isLeaf)return t(this.getFeatureCount(e),r)?0:(this._remove(e),null!=i&&(i.children[s]=null),n);const o=r/2,a=o*o;let l=0;for(let i=0;i<e.children.length;i++){const s=e.children[i];l+=null!=s?this._simplify(s,t,e,i,o):a}return 0===l?this._mergeChildren(e):1-l/n<fe&&(this._purge(e),null!=i&&(i.children[s]=null),l=n),l}_mergeChildren(e){const t=new Set;let i;this._forEachLeaf(e,e=>{const s=this._tiles.get(e.id);if(s){i=i?(0,X.E$)(i,s.attributeKeys):new Set(s.attributeKeys);for(const e of s.objectIds)t.has(e)||(t.add(e),this._referenceFeature(e));this._remove(e)}}),this._addTileStorage(e,t,i??new Set),e.isLeaf=!0,e.children[0]=e.children[1]=e.children[2]=e.children[3]=null,this._tileFeatureCounts.set(e.id,t.size)}_forEachLeaf(e,t){for(const i of e.children)null!=i&&(i.isLeaf?t(i):this._forEachLeaf(i,t))}_purge(e){if(null!=e)if(e.isLeaf)this._remove(e);else for(let t=0;t<e.children.length;t++){const i=e.children[t];this._purge(i),e.children[t]=null}}_collectMissingTiles(e,t,i,s){const r=new de(i,e,this.extent);return this._collectMissingTilesRecurse(t,r,1,s),r.info}_collectMissingTilesRecurse(e,t,i,s){const r=this.getAttributesForTile(e.id),n=r&&!(0,X.Yy)(s,r);if(n&&t.addMissing(e.level,e.row,e.col,i),e.isLeaf)return;if(!e.hasChildren)return void(n||t.addMissing(e.level,e.row,e.col,i));const o=i/2;for(let i=0;i<e.children.length;i++){const r=e.children[i];null==r?t.addMissing(e.level+1,(e.row<<1)+((2&i)>>1),(e.col<<1)+(1&i),o):this._collectMissingTilesRecurse(r,t,o,s)}}_referenceFeature(e){const t=(this._refCounts.get(e)||0)+1;return this._refCounts.set(e,t),1===t?0:2}_unreferenceFeature(e){const t=(this._refCounts.get(e)||0)-1;return 0===t?(this._refCounts.delete(e),1):(t>0&&this._refCounts.set(e,t),2)}get test(){}};(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],le.prototype,"featureStore",void 0),(0,s.Cg)([(0,a.MZ)()],le.prototype,"tileInfo",void 0),(0,s.Cg)([(0,a.MZ)()],le.prototype,"extent",void 0),(0,s.Cg)([(0,a.MZ)()],le.prototype,"maximumByteSize",void 0),le=(0,s.Cg)([(0,u.$)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTileStore")],le);class ue{constructor(e,t,i){this.key=e,this.objectIds=t,this.attributeKeys=i}}class he extends m.U{constructor(){super(...arguments),this.isLeaf=!1,this.children=[null,null,null,null]}get hasChildren(){return!this.isLeaf&&(null!=this.children[0]||null!=this.children[1]||null!=this.children[2]||null!=this.children[3])}}class ce{constructor(e,t=[]){this.missingTiles=t,this.fullArea=0,this.coveredArea=0,this.fullArea=(0,$.Wc)(e.extent),this.coveredArea=this.fullArea}prepend(e){this.missingTiles=e.missingTiles.concat(this.missingTiles),this.coveredArea+=e.coveredArea,this.fullArea+=e.fullArea}}class de{constructor(e,t,i){this._tileInfo=e,this._extent=null,this.info=new ce(t),null!=i&&(this._extent=(0,$.VY)(i))}addMissing(e,t,i,s){const r=new m.U(e,t,i);this._tileInfo.updateTileInfo(r,1)&&(null==this._extent||(0,$.HY)(this._extent,r.extent))&&(this.info.missingTiles.push({data:r,resolution:s}),this.info.coveredArea-=(0,$.Wc)(r.extent))}}const fe=.18751;let pe=class extends r.nJ{constructor(){super(...arguments),this._isInitializing=!0,this.remoteClient=null,this._whenSetup=(0,n.Tw)(),this._elevationAligner=w(),this._elevationFilter=E(),this._symbologyCandidatesFetcher=k(),this._updatingHandles=new h.U,this._alignPointsInFeatures=async(e,t)=>{const i={query:e},s=await this.remoteClient.invoke("alignElevation",i,{signal:t});return(0,n.Te)(t),s},this._getSymbologyCandidates=async(e,t)=>{const i={candidates:e,spatialReference:this._spatialReference.toJSON()},s=await this.remoteClient.invoke("getSymbologyCandidates",i,{signal:t});return(0,n.Te)(t),s}}get updating(){return this._isInitializing||this._updatingHandles.updating||this._featureFetcher.updating}destroy(){this._featureFetcher?.destroy(),this._queryEngine?.destroy(),this._featureStore?.clear()}async setup(e){if(this.destroyed)return{result:{}};const{geometryType:t,objectIdField:i,timeInfo:s,fieldsIndex:r}=e.serviceInfo,{hasZ:n}=e,a=c.A.fromJSON(e.spatialReference);this._spatialReference=a,this._featureStore=new f.A({...e.serviceInfo,hasZ:n,hasM:!1}),this._featureStore.estimateFeatureUsedMemory=e=>e.usedMemory,this._queryEngine=new p.do({spatialReference:e.spatialReference,featureStore:this._featureStore,geometryType:t,fieldsIndex:r,hasZ:n,hasM:!1,featureIdInfo:{type:"object-id",fieldName:i},timeInfo:s}),this._featureFetcher=new ee({store:new le({featureStore:this._featureStore}),url:e.serviceInfo.url,objectIdField:e.serviceInfo.objectIdField,globalIdField:e.serviceInfo.globalIdField,capabilities:e.serviceInfo.capabilities,spatialReference:a,sourceSpatialReference:c.A.fromJSON(e.serviceInfo.spatialReference),customParameters:e.configuration.customParameters});const l="3d"===e.configuration.viewType;return this._elevationAligner=w(l,{elevationInfo:null!=e.elevationInfo?g.A.fromJSON(e.elevationInfo):null,alignPointsInFeatures:this._alignPointsInFeatures}),this._elevationFilter=E(l),this.addHandles([(0,o.wB)(()=>this._featureFetcher.availability,e=>this.emit("notify-availability",{availability:e}),o.OH),(0,o.wB)(()=>this.updating,()=>this._notifyUpdating())]),this._whenSetup.resolve(),this._isInitializing=!1,this.configure(e.configuration)}async configure(e){return await this._updatingHandles.addPromise(this._whenSetup.promise),this._updateFeatureFetcherConfiguration(e),me}async setSuspended(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.suspended=e,me}async updateOutFields(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.outFields=new Set(e??[]),me}async fetchCandidates(e,t){await this._whenSetup.promise,(0,n.Te)(t);const i=function(e,t){const i=!!t||void 0;if(!e.filter)return{...e,query:{where:"1=1",returnZ:i}};const{distance:s,units:r,spatialRel:n,where:o,timeExtent:a,objectIds:l}=e.filter,u={geometry:e.filter.geometry?(0,d.rS)(e.filter.geometry):void 0,distance:s,units:r,spatialRel:n,timeExtent:a,objectIds:l,returnZ:i,where:o??"1=1"};return{...e,query:u}}(e,this._featureStore.hasZ),s=t?.signal,r=await this._queryEngine.executeQueryForSnapping(i,s);(0,n.Te)(s);const o=await this._elevationAligner.alignCandidates(r.candidates,c.A.fromJSON(e.point.spatialReference)??c.A.WGS84,s);(0,n.Te)(s);const a=await this._symbologyCandidatesFetcher.fetch(o,s);(0,n.Te)(s);const l=0===a.length?o:o.concat(a);return{result:{candidates:this._elevationFilter.filter(i,l)}}}async updateTiles(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.tileSize=e.tileSize,this._featureFetcher.tilesOfInterest=e.tiles.map(e=>m.U.fromJSON(e)),this._featureFetcher.tileInfo=null!=e.tileInfo?_.A.fromJSON(e.tileInfo):null,me}async refresh(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.refresh(),me}async whenNotUpdating(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),await(0,o.C_)(()=>!this.updating,t),(0,n.Te)(t),me}async getDebugInfo(e,t){return(0,n.Te)(t),{result:this._featureFetcher.debugInfo}}async handleEdits(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),await this._updatingHandles.addPromise(this._featureFetcher.handleEdits(e)),(0,n.Te)(t),me}async setHistoricMoment(e,t){return this._featureFetcher.setHistoricMoment(e.moment),me}async notifyElevationSourceChange(e,t){return this._elevationAligner.notifyElevationSourceChange(),me}async notifySymbologyChange(e,t){return this._symbologyCandidatesFetcher.notifySymbologyChange(),me}async setSymbologySnappingSupported(e){return this._symbologyCandidatesFetcher=k(e,this._getSymbologyCandidates),me}_updateFeatureFetcherConfiguration(e){this._featureFetcher.filter=null!=e.filter?y.A.fromJSON(e.filter):null,this._featureFetcher.customParameters=e.customParameters}_notifyUpdating(){this.emit("notify-updating",{updating:this.updating})}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],pe.prototype,"updating",null),(0,s.Cg)([(0,a.MZ)()],pe.prototype,"_isInitializing",void 0),pe=(0,s.Cg)([(0,u.$)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceSnappingSourceWorker")],pe);const _e=pe,me={result:{}}},16271:(e,t,i)=>{i.d(t,{Ao:()=>n,KQ:()=>o});var s=i(4576),r=i(31756);function n(e){return 1/(r.j[e]||1)}const o=function(){const e=Object.keys(r.j);return(0,s.TF)(e,"decimal-degrees"),e.sort(),e}()},20437:(e,t,i)=>{i.d(t,{A:()=>_});var s,r=i(31635),n=i(66552),o=i(25482),a=i(10107),l=i(56507),u=(i(44208),i(87811),i(93223)),h=i(36005),c=i(64108),d=i(80451),f=i(98453);const p=new n.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let _=class extends o.o{static{s=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let i=null;try{i=t?JSON.parse(t):null}catch(e){}return i?.value??null}readValueType(e,{description:t}){let i=null;try{i=t?JSON.parse(t):null}catch(e){}return i?p.fromJSON(i.fieldValueType):null}clone(){return new s({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"alias",void 0),(0,r.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],_.prototype,"defaultValue",void 0),(0,r.Cg)([(0,a.MZ)()],_.prototype,"description",void 0),(0,r.Cg)([(0,h.w)("description")],_.prototype,"readDescription",null),(0,r.Cg)([(0,a.MZ)({types:d.gK,json:{read:{reader:d.rS},write:!0}})],_.prototype,"domain",void 0),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],_.prototype,"editable",void 0),(0,r.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],_.prototype,"length",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],_.prototype,"nullable",void 0),(0,r.Cg)([(0,u.e)(f.m)],_.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)()],_.prototype,"valueType",void 0),(0,r.Cg)([(0,h.w)("valueType",["description"])],_.prototype,"readValueType",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],_.prototype,"visible",void 0),_=s=(0,r.Cg)([(0,c.$)("esri.layers.support.Field")],_)},31756:(e,t,i)=>{i.d(t,{j:()=>n});var s=i(83047),r=i(79258);const n={unknown:1,inches:(0,s.oU)(1,"meters","inches"),feet:(0,s.oU)(1,"meters","feet"),"us-feet":(0,s.oU)(1,"meters","us-feet"),yards:(0,s.oU)(1,"meters","yards"),miles:(0,s.oU)(1,"meters","miles"),"nautical-miles":(0,s.oU)(1,"meters","nautical-miles"),millimeters:(0,s.oU)(1,"meters","millimeters"),centimeters:(0,s.oU)(1,"meters","centimeters"),decimeters:(0,s.oU)(1,"meters","decimeters"),meters:(0,s.oU)(1,"meters","meters"),kilometers:(0,s.oU)(1,"meters","kilometers"),"decimal-degrees":1/(0,s.vl)(1,"meters",r.$O.radius)}},36708:(e,t,i)=>{i.d(t,{C_:()=>d,OH:()=>_,Vh:()=>m,on:()=>c,pc:()=>y,wB:()=>l,z7:()=>u});var s=i(37955),r=i(36563),n=i(97768),o=i(74887),a=i(14012);function l(e,t,i={}){return h(e,t,i,f)}function u(e,t,i={}){return h(e,t,i,p)}function h(e,t,i={},s){let r=null;const o=i.once?(e,i)=>{s(e)&&((0,n.xt)(r),t(e,i))}:(e,i)=>{s(e)&&t(e,i)};if(r=(0,a.Cn)(e,o,i.sync,i.equals),i.initial){const t=e();o(t,t)}return r}function c(e,t,i,o={}){let a=null,u=null,h=null;function c(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function d(e){o.once&&o.once&&(0,n.xt)(h),i(e)}const f=l(e,(e,i)=>{c(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,d),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return h=(0,r.hA)(()=>{f.remove(),c()}),h}function d(e,t){return function(e,t,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function l(){a=(0,n.xt)(a)}return new Promise((s,n)=>{a=(0,r.vE)([(0,o.u7)(i,()=>{l(),n((0,o.NK)())}),h(e,e=>{l(),s(e)},{sync:!1,once:!0},t??f)])})}(e,p,t)}function f(e){return!0}function p(e){return!!e}i(80559);const _={sync:!0},m={initial:!0},y={sync:!0,initial:!0}},39357:(e,t,i)=>{i.d(t,{H:()=>l});var s,r=i(31635),n=i(25482),o=i(10107),a=(i(44208),i(53966),i(87811),i(64108));let l=s=class extends n.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new s({name:this.name,code:this.code})}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"name",void 0),(0,r.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],l.prototype,"code",void 0),l=s=(0,r.Cg)([(0,a.$)("esri.layers.support.CodedValue")],l)},53177:(e,t,i)=>{i.d(t,{A:()=>c});var s,r=i(31635),n=i(4718),o=i(10107),a=(i(44208),i(53966),i(93223)),l=i(64108),u=i(39357),h=i(76357);let c=class extends h.A{static{s=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const i=String(e);this.codedValues.some(e=>(String(e.code)===i&&(t=e.name),!!t))}return t}clone(){return new s({codedValues:(0,n.o8)(this.codedValues),name:this.name})}};(0,r.Cg)([(0,o.MZ)({type:[u.H],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,r.Cg)([(0,a.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=s=(0,r.Cg)([(0,l.$)("esri.layers.support.CodedValueDomain")],c)},60999:(e,t,i)=>{i.d(t,{DZ:()=>p,Ke:()=>f,Tj:()=>h,UT:()=>_,jJ:()=>u});var s=i(31635),r=i(65008),n=i(97768),o=i(74887),a=i(10107),l=i(64108);function u(e,t,i){return(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))}async function h(e,t,i){return(await(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))).map(e=>e.value)}function c(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function f(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return c(await e)}catch(e){return d(e)}}async function p(e){try{return c(await e)}catch(e){return(0,o.QP)(e),d(e)}}function _(e,t){return new m(e,t)}let m=class extends r.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,n.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:i}=this._abortController;this.promise=e(i),this.promise.then(e=>{this._result=c(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,n.xt)(this._abortHandle),this._abortController=null}};(0,s.Cg)([(0,a.MZ)()],m.prototype,"value",null),(0,s.Cg)([(0,a.MZ)()],m.prototype,"error",null),(0,s.Cg)([(0,a.MZ)()],m.prototype,"finished",null),(0,s.Cg)([(0,a.MZ)()],m.prototype,"promise",void 0),(0,s.Cg)([(0,a.MZ)()],m.prototype,"_result",void 0),m=(0,s.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],m)},66344:(e,t,i)=>{i.d(t,{q:()=>a});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._users=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._users.clear(),this._db=null}register(e){this._users.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._users.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,r,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==i&&this._notifyRemove(t,a.entry,a.size,0)),r>this._maxSize)return void this._notifyRemove(t,i,r,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return s||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,i,0,0);const l=1+Math.max(o,-4)- -3;this._db.set(t,new n(i,r,l)),this._size+=r,e.size+=r,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const e=this._notifyRemove(t,i.entry,s,1);if(!(null!=e&&e>0))return void this._db.delete(t);s=e}i.size=s,this._size+=s,e.size+=s,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,s)=>{const r=e.lifetime;i[r]=(i[r]||0)+e.size,this._users.forEach(i=>{const{id:r,name:n}=i;if(s.startsWith(r)){const i=t[n]||0;t[n]=i+e.size}})});const s={};this._users.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const r=t[i]||0;t[i]=r,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const r=Object.keys(t);r.sort((e,i)=>t[i]-t[e]),r.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+s[i]);for(let t=i.length-1;t>=0;--t){const s=i[t];s&&(e["Priority "+(t+-3-1)]=Math.round(s/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._users.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,s){const r=this._users.get(e.split(o)[0])?.removeFunc,n=r?.(t,s,i);return"number"==typeof n?n:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._checkSizeLimits(this.maxSize)}setMaxSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const s=t?.id;let r=!0;for(;r;){r=!1;for(const[n,a]of this._db)if(0===a.lifetime&&(!s||n.startsWith(s))){const s=t??this._users.get(n.split(o)[0]);if(this._purgeItem(n,a,s),i.size<=.9*e)return;r||=this._db.has(n)}}for(const[r,n]of this._db)if(!s||r.startsWith(s)){const s=t??this._users.get(r.split(o)[0]);if(this._purgeItem(r,n,s),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const s=this._notifyRemove(e,t.entry,t.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class n{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(e,t){this.removeFunc=t,this._storage=new r,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy(),this._storage=null}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},69540:(e,t,i)=>{i.d(t,{OU:()=>h,Pw:()=>c});var s=i(31635),r=i(65008),n=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(64108);const u=Symbol("ClonableMixin"),h=e=>{var t;const i=e;let r=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const i=t.metadata,s=t.store,r={},l=new Map;for(const t in i){const o=i[t],a=s?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const h=this[t];let c=null;if("function"==typeof u)c=u(h,e);else if("reference"===u)c=h;else if(c=(0,n.TU)(h,e),null!=h&&null==c)continue;0===a?l.set(t,c):r[t]=c}const u=new(0,Object.getPrototypeOf(this).constructor)(r);if(l.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,i]of l)e.set(t,i,0)}return u}};return r=(0,s.Cg)([(0,l.$)("esri.core.Clonable")],r),r},c=h(r.A)},75503:(e,t,i)=>{i.d(t,{EC:()=>S,wq:()=>a});var s=i(4576),r=i(21818),n=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=d,this._compareMinY=f,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),b.prune(),C.prune(),w.prune(),I.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data;const s=this._toBBox;if(v(e,i))for(b.clear();i;){for(let r=0,n=i.children.length;r<n;r++){const n=i.children[r],o=i.leaf?s(n):n;v(e,o)&&(i.leaf?t(n):g(e,o)?l(n,t):b.push(n))}i=b.pop()}}collides(e){let t=this._data;const i=this._toBBox;if(!v(e,t))return!1;for(b.clear();t;){for(let s=0,r=t.children.length;s<r;s++){const r=t.children[s],n=t.leaf?i(r):r;if(v(e,n)){if(t.leaf||g(e,n))return!0;b.push(r)}}t=b.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,i=e.length;t<i;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new M([]),this}remove(e){if(!e)return this;let t,i=this._data,n=null,o=0,a=!1;const l=this._toBBox(e);for(w.clear(),I.clear();i||w.length>0;){if(i||(i=w.pop(),n=w.data[w.length-1],o=I.pop()??0,a=!0),i.leaf&&(t=(0,s.qh)(i.children,(0,r.zI)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),w.push(i),this._condense(w),this;a||i.leaf||!g(i,l)?n?(o++,i=n.children[o],a=!1):i=null:(w.push(i),I.push(o),o=0,n=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,s){const r=i-t+1;let n=this._maxEntries;if(r<=n){const s=new M(e.slice(t,i+1));return u(s,this._toBBox),s}s||(s=Math.ceil(Math.log(r)/Math.log(n)),n=Math.ceil(r/n**(s-1)));const o=new T([]);o.height=s;const a=Math.ceil(r/n),l=a*Math.ceil(Math.sqrt(n));x(e,t,i,l,this._compareMinX);for(let r=t;r<=i;r+=l){const t=Math.min(r+l-1,i);x(e,r,t,a,this._compareMinY);for(let i=r;i<=t;i+=a){const r=Math.min(i+a-1,t);o.children.push(this._build(e,i,r,s-1))}}return u(o,this._toBBox),o}_insert(e,t,i){const s=this._toBBox,r=i?e:s(e);w.clear();const n=function(e,t,i,s){for(;s.push(t),!0!==t.leaf&&s.length-1!==i;){let i,s=1/0,r=1/0;for(let n=0,o=t.children.length;n<o;n++){const o=t.children[n],a=p(o),l=m(e,o)-a;l<r?(r=l,s=a<s?a:s,i=o):l===r&&a<s&&(s=a,i=o)}t=i||t.children[0]}return t}(r,this._data,t,w);for(n.children.push(e),c(n,r);t>=0&&w.data[t].children.length>this._maxEntries;)this._split(w,t),t--;!function(e,t,i){for(let s=i;s>=0;s--)c(t.data[s],e)}(r,w,t)}_split(e,t){const i=e.data[t],s=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,s);const n=this._chooseSplitIndex(i,r,s);if(!n)return;const o=i.children.splice(n,i.children.length-n),a=i.leaf?new M(o):new T(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new T([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let s,r,n;s=r=1/0;for(let o=t;o<=i-t;o++){const t=h(e,0,o,this._toBBox),a=h(e,o,i,this._toBBox),l=y(t,a),u=p(t)+p(a);l<s?(s=l,n=o,r=u<r?u:r):l===s&&u<r&&(r=u,n=o)}return n}_chooseSplitAxis(e,t,i){const s=e.leaf?this._compareMinX:d,r=e.leaf?this._compareMinY:f;this._allDistMargin(e,t,i,s)<this._allDistMargin(e,t,i,r)&&e.children.sort(s)}_allDistMargin(e,t,i,s){e.children.sort(s);const r=this._toBBox,n=h(e,0,t,r),o=h(e,i-t,i,r);let a=_(n)+_(o);for(let s=t;s<i-t;s++){const t=e.children[s];c(n,e.leaf?r(t):t),a+=_(n)}for(let s=i-t-1;s>=t;s--){const t=e.children[s];c(o,e.leaf?r(t):t),a+=_(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const i=e.data[t];if(0===i.children.length)if(t>0){const r=e.data[t-1],n=r.children;n.splice((0,s.qh)(n,i,n.length,r.indexHint),1)}else this.clear();else u(i,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let i=e;for(C.clear();i;){if(!0===i.leaf)for(const e of i.children)t((0,r.zI)(e));else C.pushArray(i.children);i=C.pop()??null}}function u(e,t){h(e,0,e.children.length,t,e)}function h(e,t,i,s,r){r||(r=new M([])),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(let n,o=t;o<i;o++)n=e.children[o],c(r,e.leaf?s(n):n);return r}function c(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function d(e,t){return e.minX-t.minX}function f(e,t){return e.minY-t.minY}function p(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function _(e){return e.maxX-e.minX+(e.maxY-e.minY)}function m(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function y(e,t){const i=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),r=Math.min(e.maxX,t.maxX),n=Math.min(e.maxY,t.maxY);return Math.max(0,r-i)*Math.max(0,n-s)}function g(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function v(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,i,s,r){const n=[t,i];for(;n.length;){const t=n.pop(),i=n.pop();if(t-i<=s)continue;const a=i+Math.ceil((t-i)/s/2)*s;(0,o.q)(e,a,i,t,r),n.push(i,a,a,t)}}const b=new n.A,C=new n.A,w=new n.A,I=new n.A({deallocator:void 0});class S{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class F extends S{constructor(){super(...arguments),this.height=1,this.indexHint=new s.vW}}class M extends F{constructor(e){super(),this.children=e,this.leaf=!0}}class T extends F{constructor(e){super(),this.children=e,this.leaf=!1}}},76357:(e,t,i)=>{i.d(t,{A:()=>h});var s=i(31635),r=i(66552),n=i(25482),o=i(10107),a=(i(44208),i(53966),i(87811),i(93223)),l=i(64108);const u=new r.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let h=class extends n.o{constructor(e){super(e),this.name=null,this.type=null}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,s.Cg)([(0,a.e)(u),(0,o.MZ)({json:{write:{isRequired:!0}}})],h.prototype,"type",void 0),h=(0,s.Cg)([(0,l.$)("esri.layers.support.Domain")],h)},80451:(e,t,i)=>{i.d(t,{rS:()=>p,gK:()=>f}),i(44208);var s,r=i(53177),n=i(76357),o=i(31635),a=(i(53966),i(87811),i(49186),i(93223)),l=i(64108);let u=class extends n.A{static{s=this}constructor(e){super(e),this.type="inherited"}clone(){return new s}};(0,o.Cg)([(0,a.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=s=(0,o.Cg)([(0,l.$)("esri.layers.support.InheritedDomain")],u);var h,c=i(10107);let d=class extends n.A{static{h=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new h({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,o.Cg)([(0,c.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,i){t[i]=[this.minValue||0,e]},isRequired:!0}}})],d.prototype,"maxValue",void 0),(0,o.Cg)([(0,c.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,i){t[i]=[e,this.maxValue||0]},isRequired:!0}}})],d.prototype,"minValue",void 0),(0,o.Cg)([(0,a.e)({range:"range"})],d.prototype,"type",void 0),d=h=(0,o.Cg)([(0,l.$)("esri.layers.support.RangeDomain")],d);const f={key:"type",base:n.A,typeMap:{range:d,"coded-value":r.A,inherited:u}};function p(e){if(!e?.type)return null;switch(e.type){case"range":return d.fromJSON(e);case"codedValue":return r.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},83221:(e,t,i)=>{i.d(t,{A:()=>p});var s=i(4576),r=i(49186),n=i(65529),o=i(53966),a=i(70328),l=i(19419),u=i(90708),h=i(6518),c=i(51441),d=i(37730);const f=(0,a.vt)();class p{constructor(e){this.geometryInfo=e,this._boundsStore=new h.F,this._featuresById=new Map,this._usedMemory=0,this.events=new n.bk,this.featureAdapter=d.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,i,s,r]=this.fullBounds;return{xmin:t,ymin:i,xmax:s,ymax:r,spatialReference:(0,c.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(s.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const i of e){const e=this._boundsStore.get(i.objectId);e&&t((0,a.Jt)(f,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new r.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const i=this._featuresById.get(t);let s;if(i?(e.displayId=i.displayId,s=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);s=(0,u.jQ)(null!=s?s:(0,l.vt)(),e.geometry,this.geometryInfo.hasZ,this.geometryInfo.hasM),null!=s&&this._boundsStore.set(t,s),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new r.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;const{geometry:s,attributes:n}=e;for(const e in n)i.attributes[e]=n[e];return s&&(i.geometry=s,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),s,this.geometryInfo.hasZ,this.geometryInfo.hasM)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},88625:(e,t,i)=>{i.d(t,{A:()=>v});var s,r=i(31635),n=i(69540),o=i(66552),a=i(25482),l=i(97768),u=i(10107),h=(i(44208),i(53966),i(87811),i(36005)),c=i(64108),d=i(43937),f=i(30524);let p=s=class extends a.o{constructor(e){super(e),this.expression=void 0,this.title=void 0}async collectRequiredFields(e,t){return(0,f.Dx)(e,t,null,this.expression)}clone(){return new s({expression:this.expression,title:this.title})}equals(e){return this.expression===e.expression&&this.title===e.title}};(0,r.Cg)([(0,u.MZ)({type:String,json:{write:{isRequired:!0}}})],p.prototype,"expression",void 0),(0,r.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],p.prototype,"title",void 0),p=s=(0,r.Cg)([(0,c.$)("esri.symbols.support.FeatureExpressionInfo")],p);const _=p;var m=i(16271);const y=(0,o.O)()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),g=new o.J({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"});let v=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.featureExpressionInfo=void 0,this.offset=null}readFeatureExpressionInfo(e,t){return null!=e?e.expression?e:void 0:t.featureExpression&&0===t.featureExpression.value?{expression:"0"}:void 0}writeFeatureExpressionInfo(e,t,i,s){t[i]=e.write({},s),"0"===e.expression&&(t.featureExpression={value:0})}get mode(){const{offset:e,featureExpressionInfo:t}=this;return this._isOverridden("mode")?this._get("mode"):null!=e||t?"relative-to-ground":"on-the-ground"}set mode(e){this._override("mode",e)}set unit(e){this._set("unit",e)}write(e,t){return this.offset||this.mode||this.featureExpressionInfo||this.unit?super.write(e,t):null}equals(e){return this.mode===e.mode&&this.offset===e.offset&&this.unit===e.unit&&(0,l.CM)(this.featureExpressionInfo,e.featureExpressionInfo)}};(0,r.Cg)([(0,u.MZ)({type:_,json:{write:!0}})],v.prototype,"featureExpressionInfo",void 0),(0,r.Cg)([(0,h.w)("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],v.prototype,"readFeatureExpressionInfo",null),(0,r.Cg)([(0,d.K)("featureExpressionInfo",{featureExpressionInfo:{type:_},"featureExpression.value":{type:[0]}})],v.prototype,"writeFeatureExpressionInfo",null),(0,r.Cg)([(0,u.MZ)({type:y.apiValues,nonNullable:!0,json:{type:y.jsonValues,read:y.read,write:{writer:y.write,isRequired:!0}}})],v.prototype,"mode",null),(0,r.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],v.prototype,"offset",void 0),(0,r.Cg)([(0,u.MZ)({type:m.KQ,json:{type:String,read:g.read,write:g.write}})],v.prototype,"unit",null),v=(0,r.Cg)([(0,c.$)("esri.symbols.support.ElevationInfo")],v)},98453:(e,t,i)=>{i.d(t,{m:()=>s});const s=new(i(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})}}]);