@arcgis/core 4.34.0-next.94 → 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 (735) hide show
  1. package/analysis/ElevationProfileAnalysis.js +1 -1
  2. package/analysis/VolumeMeasurementAnalysis.js +1 -1
  3. package/analysis/featureReferenceUtils.js +1 -1
  4. package/applications/Components/featureUtils.d.ts +1 -0
  5. package/applications/Components/featureUtils.js +1 -1
  6. package/applications/KnowledgeStudio/resourceSerializationUtils.js +1 -1
  7. package/assets/esri/core/workers/RemoteClient.js +1 -1
  8. package/assets/esri/core/workers/chunks/{57c08ccb75e3135978d1.js → 0086a09441627842d34a.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{35ca317490540fae437c.js → 04c30eec4387078cd38f.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{155dcbd957f8787a45c3.js → 05eee334d58a0b9f6316.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{0f37204f86d2997a2811.js → 06e60fc7715d08ede59d.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{94ddf029698991d853b9.js → 0811ac64d08454460fb1.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{6391ce002fbde9f27a77.js → 081a7082dc281ca7662a.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{3c3b1dc95f03082e4d5b.js → 083f1c2fd0b59a0bf4c3.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{9d9a639f7388a29e7c96.js → 08ee3a97d2b8adb44ea9.js} +1 -1
  16. package/assets/esri/core/workers/chunks/097e5deb51ee7e25e654.js +1 -0
  17. package/assets/esri/core/workers/chunks/{c86ca87959f04075e834.js → 0a7efed82d8e47290147.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{147f6e7b147beaa4ed29.js → 0d94a08769727875bf0e.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{e2fdc4dc1ab9decd731e.js → 135e270b4f03c4270870.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{c6cae8471c5d4ae40c65.js → 145c6a7cdcc9893efb27.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{0cfded1acf92f89a13cb.js → 14ace5dc4b8984212a57.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{39a5863355cccaabd2d6.js → 1762ff76350065750c75.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{a98b284b147258629947.js → 188272af9a6470ccfe31.js} +1 -1
  24. package/assets/esri/core/workers/chunks/{ce8f56cf371812b57a46.js → 19699769deff862e29ce.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{bf9d09493fd849ea69fd.js → 1fd459234917a51b6ae1.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{0aaaf4d1c4a5d284216e.js → 22bb877b85ae250d7819.js} +1 -1
  27. package/assets/esri/core/workers/chunks/{05072093e0209ef5db20.js → 24c14e4a1d2a2267097e.js} +1 -1
  28. package/assets/esri/core/workers/chunks/{e5d974593043d5e2b502.js → 2795a2817ebe3298c350.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{71fef0a33b7ed9456e47.js → 28a5f8978817e0471a2a.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{07a7ca89ef2ca4fc090b.js → 2a30afa043e3f88655d9.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{41f275401e1cde7eee20.js → 2a8b75d2445680571759.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{6b208f5d423da64c8559.js → 2a900a632a1231deb713.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{0e5e565df6ec71445f2e.js → 2bbe8277578b033f92d4.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{48133effac2eacc2196e.js → 2bf29faeb23120dc1916.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{77e611724a499d36eacc.js → 2c72e185b780bbbb1c9f.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{38d874d7f815f5329420.js → 2ca8b0c1ca399fd5dc2f.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{c799f1c03cb22ef52f5f.js → 2d51e9c9b73301b6879c.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{cd0c222a36caa7f80860.js → 2e4dccee7ea387263f15.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{0856cd281efd71bfe3c4.js → 3116b35a92cc0afd9fd3.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{e153b61560a7a869db63.js → 319c3f46f2afb8f3e5a9.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{b8f55ee77ab6ea4c289e.js → 326a76a4e80269d4029d.js} +1 -1
  42. package/assets/esri/core/workers/chunks/{28bb6896c5fd353ca5e9.js → 3367b8565226646decec.js} +1 -1
  43. package/assets/esri/core/workers/chunks/{c38360d912f256519e06.js → 3496e025e48cf580250d.js} +1 -1
  44. package/assets/esri/core/workers/chunks/{4753793daf0b7ff8b5ff.js → 35255e2b980f650490d8.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{d2df6e685d6cffc5f486.js → 37d05d9796917c3d4b7a.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{7b17f52019762aa21af8.js → 3815ffa13e7b439bca6e.js} +1 -1
  47. package/assets/esri/core/workers/chunks/3a2d4b78a48ebb181105.js +1 -0
  48. package/assets/esri/core/workers/chunks/{de34c21d3e6913befe5a.js → 3b65d6a78fbffca37fbd.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{c473b15d4d52f0a63d20.js → 3c78208a97c4cbd8d6d1.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{2698f656405876f4bd20.js → 3ccdce156b906574bd29.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{68f5a2d2666636c3f807.js → 40b81d1c2d53cf598b8e.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{f3284d4e0d41efb0b4a0.js → 441ead5bce80f639934e.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{97eb2cfc1f036feea9a9.js → 44c3b5a507814103f4b4.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{6f29951f5a2da068b257.js → 456161a323be7d640c61.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{b18887a6dc86f0c8324a.js → 48646f3d95a3f2b17e78.js} +1 -1
  56. package/assets/esri/core/workers/chunks/49571d6875de1f2e7e25.js +33 -0
  57. package/assets/esri/core/workers/chunks/{1bbc0dfad4cd72a1c42b.js → 4a2bf3c8da24abd8b9e2.js} +6 -6
  58. package/assets/esri/core/workers/chunks/4b13749b74059a7837d2.js +1 -0
  59. package/assets/esri/core/workers/chunks/{c8e4fe0e3b109eb80e8e.js → 4b83b45df0c4005d078d.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{896c7d137bfd7a8fa0bc.js → 4f01be74dd26e639330f.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{b5c829e904bc9cb5347d.js → 50a5caa96c111dda5c60.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{98381404f2d99a1f9341.js → 50e1c63d0b6196dd365e.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{899f493412acd5a5d91f.js → 5132ca68e8c7af111a47.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{d08b80583a23ba253c7e.js → 56916e56c20465428dd4.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{bbdadced49446c907361.js → 578789c040846ea3759b.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{f62717338075df626eda.js → 5a527a47285a5995cff9.js} +1 -1
  67. package/assets/esri/core/workers/chunks/5cb92abb1f0f38bd0eab.js +1 -0
  68. package/assets/esri/core/workers/chunks/{56edb55b53779e7fd31e.js → 5d2e5774768d8f290343.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{6e5175b43220d6692263.js → 5d3661d1fe46dd29aae9.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{0652d7e525d99e39c957.js → 5fb2ce028b371b3a8acb.js} +1 -1
  71. package/assets/esri/core/workers/chunks/63019a7eb5222dc5e420.js +1 -0
  72. package/assets/esri/core/workers/chunks/{71c6c0b26253c4ca1b68.js → 630efe10c871425b6a95.js} +1 -1
  73. package/assets/esri/core/workers/chunks/64629ddcf008349eaf41.js +1 -0
  74. package/assets/esri/core/workers/chunks/{61e8e159f1f336569b27.js → 65111858957f43eacd8c.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{0427f66b56ec6601deb0.js → 6ac90d88e5f931b1a003.js} +1 -1
  76. package/assets/esri/core/workers/chunks/6c842b955fdd40b39914.js +1 -0
  77. package/assets/esri/core/workers/chunks/{08b0fc6bfe9640ee2525.js → 6cd379bb66dc4cf5d2bf.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{1f2d13466c60a6b57717.js → 6e5b3bbee054d072b594.js} +1 -1
  79. package/assets/esri/core/workers/chunks/6ec77a8142fbfa805b5a.js +1 -0
  80. package/assets/esri/core/workers/chunks/{541bffd61006d0e36166.js → 6f4bd0ee85e7e5a74340.js} +1 -1
  81. package/assets/esri/core/workers/chunks/{648c91a9822bc9d6ee47.js → 701a1835684cf815bcb7.js} +1 -1
  82. package/assets/esri/core/workers/chunks/{f71b76c9506178124fa3.js → 70af1b5b3d2f3f395441.js} +1 -1
  83. package/assets/esri/core/workers/chunks/{d7adef4093ce19ad356d.js → 72846fb9c87c6642daf0.js} +1 -1
  84. package/assets/esri/core/workers/chunks/{f88fe2e8fbc763bdc940.js → 73c1d43070b4fe1e5c1e.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{cab2a1382bdd32bb34d8.js → 7421f9575487cdc9e28e.js} +1 -1
  86. package/assets/esri/core/workers/chunks/{a845c68e76382a73da5e.js → 7633537dc0c65d655baf.js} +1 -1
  87. package/assets/esri/core/workers/chunks/{82e0d22619dc26920ca9.js → 7698f4f4471b6e1c12ef.js} +1 -1
  88. package/assets/esri/core/workers/chunks/{9a0b9d931c1a29e81475.js → 76e444bd625cf3d35877.js} +1 -1
  89. package/assets/esri/core/workers/chunks/{b265472ac3f949a7f40c.js → 773d76253588bcf14eaa.js} +1 -1
  90. package/assets/esri/core/workers/chunks/{77705d0c7c17bd46d81a.js → 7810f870d71f80ca4f41.js} +1 -1
  91. package/assets/esri/core/workers/chunks/{56de25a6fe659a5b5c2b.js → 78b35a19332e58c8c279.js} +1 -1
  92. package/assets/esri/core/workers/chunks/{e4833b718a813a8d125b.js → 79012b873d2b7786be77.js} +1 -1
  93. package/assets/esri/core/workers/chunks/7a6a96edc892d7060b7d.js +1 -0
  94. package/assets/esri/core/workers/chunks/7b3ff47cdbb6af38530d.js +1 -0
  95. package/assets/esri/core/workers/chunks/{04dbdaa63c950f32b8f0.js → 7e8f7fa884d6d41ebae2.js} +1 -1
  96. package/assets/esri/core/workers/chunks/81bbe5251ed13c0d91cc.js +1 -0
  97. package/assets/esri/core/workers/chunks/{0037abf0a82d1ed32e91.js → 8215015f11221a354273.js} +1 -1
  98. package/assets/esri/core/workers/chunks/{cb6a9b43406f4fbe10b2.js → 82f1cd3896401c85df35.js} +1 -1
  99. package/assets/esri/core/workers/chunks/{2bb61f80473b495163e3.js → 83ab8c8bc9e6990114a8.js} +1 -1
  100. package/assets/esri/core/workers/chunks/{03b455e9405a8b6fec68.js → 8659abd4b46f153b6902.js} +1 -1
  101. package/assets/esri/core/workers/chunks/{19bd0b56d82446dbb7c5.js → 868ee8f429e7caddc045.js} +1 -1
  102. package/assets/esri/core/workers/chunks/{1fc7df018c8f802565a6.js → 86b978a48b539e9fc5b8.js} +1 -1
  103. package/assets/esri/core/workers/chunks/{4dfcd03082be83600f3a.js → 88add09190569b04e824.js} +1 -1
  104. package/assets/esri/core/workers/chunks/{65e279516170ddbd4a65.js → 89027f6800e17fab8973.js} +1 -1
  105. package/assets/esri/core/workers/chunks/{3e11a893271caa11a881.js → 8ad8fe758c615fcf2185.js} +1 -1
  106. package/assets/esri/core/workers/chunks/{a6533bab3b2fbc1e2a47.js → 8b16aa50d879b92a5375.js} +1 -1
  107. package/assets/esri/core/workers/chunks/{edaf059c7ea18088c3dd.js → 91df8638b8b904e6d8c5.js} +1 -1
  108. package/assets/esri/core/workers/chunks/92c306d02569e7cd9af3.js +1 -0
  109. package/assets/esri/core/workers/chunks/{fdadf11f31384c09db9f.js → 94486f3fcba48fa93aa8.js} +1 -1
  110. package/assets/esri/core/workers/chunks/{8513c9282c44bb0a736e.js → 9834bc11586a2d8d6f35.js} +1 -1
  111. package/assets/esri/core/workers/chunks/{a0fab8cd791c33d3895d.js → 98dbafa4d45fdf790fff.js} +1 -1
  112. package/assets/esri/core/workers/chunks/{2b867cec6ada339f1c8f.js → 9958a3ed4aa787d19e00.js} +1 -1
  113. package/assets/esri/core/workers/chunks/9a723d739ac44b45432c.js +1 -0
  114. package/assets/esri/core/workers/chunks/{2b9c9a35a6e1f56920b5.js → 9b0ea5e50aeeea615592.js} +14 -14
  115. package/assets/esri/core/workers/chunks/9c6fc4fe2c46f40d63d9.js +1 -0
  116. package/assets/esri/core/workers/chunks/{c4641c2c130c7b8bcdee.js → a1c4509a3865139eb570.js} +1 -1
  117. package/assets/esri/core/workers/chunks/{176f56de787bf486be9f.js → a7bd294996e6c8b8354a.js} +1 -1
  118. package/assets/esri/core/workers/chunks/{80a155496deef2c02a3e.js → a878061845e594b2d72c.js} +1 -1
  119. package/assets/esri/core/workers/chunks/{8f426cb210a4250517d5.js → ad3e18c4c65aa2cd1ceb.js} +1 -1
  120. package/assets/esri/core/workers/chunks/{0328eaea66c1db98da1c.js → ae807912acc19a166264.js} +1 -1
  121. package/assets/esri/core/workers/chunks/{0a981061df08da19372c.js → ae8c387d59be87457567.js} +1 -1
  122. package/assets/esri/core/workers/chunks/{5caf49e679ed0c27e0bd.js → aea8553a2aa54cfd694b.js} +1 -1
  123. package/assets/esri/core/workers/chunks/{0ceb68ff73e5d39e837a.js → b13ccda702b714fe6161.js} +1 -1
  124. package/assets/esri/core/workers/chunks/b1f667006cba60ef4aa7.js +1 -0
  125. package/assets/esri/core/workers/chunks/{70c8f69eed14d55c5cf6.js → b2add7338258ca7c24dd.js} +1 -1
  126. package/assets/esri/core/workers/chunks/b2d9f4e057af26a538fb.js +1 -0
  127. package/assets/esri/core/workers/chunks/{26081b6486c623735657.js → b4ea675831627d9808dd.js} +1 -1
  128. package/assets/esri/core/workers/chunks/{ce2fcaa21d6efcdf4da5.js → b8339c1d60847a9eed3e.js} +1 -1
  129. package/assets/esri/core/workers/chunks/{b1ccbc2fef7f7e5e04f7.js → bae0dfe9a2f5aabae42c.js} +1 -1
  130. package/assets/esri/core/workers/chunks/{95bae3c275f1483eb7ed.js → bcff6178e9d16b1b6191.js} +1 -1
  131. package/assets/esri/core/workers/chunks/{2845a0810e9c00bf30f8.js → bf775fe489213cfc08b1.js} +1 -1
  132. package/assets/esri/core/workers/chunks/{4823e4522bd7379d858e.js → bfc1e8aec7aace3ff30e.js} +1 -1
  133. package/assets/esri/core/workers/chunks/{20003728a679479b14dc.js → c31583229a1100b66a18.js} +1 -1
  134. package/assets/esri/core/workers/chunks/{9346437b152b20bdcf8a.js → c941d15190fc08523d0d.js} +1 -1
  135. package/assets/esri/core/workers/chunks/{5746c4861af83c1d57a8.js → cf11b1dcc2cff30229b6.js} +1 -1
  136. package/assets/esri/core/workers/chunks/{fe1dcf9f81da4adbb1fe.js → cf13625a033f9903655f.js} +1 -1
  137. package/assets/esri/core/workers/chunks/d28ea91f7458daa67fae.js +1 -0
  138. package/assets/esri/core/workers/chunks/{1990162dcf73601d54f7.js → d3cd9c24edf7520d0824.js} +1 -1
  139. package/assets/esri/core/workers/chunks/{bec9ddd38c9ab9f2561b.js → d4f16c2b9297a479731e.js} +1 -1
  140. package/assets/esri/core/workers/chunks/{73db6c070b049fe05147.js → d57edb77c6deee36cce5.js} +1 -1
  141. package/assets/esri/core/workers/chunks/{6e4ec9fa931c69e4e4ba.js → da573ecc68e6aa8f6da9.js} +1 -1
  142. package/assets/esri/core/workers/chunks/{bdf0ab95401c6d8fbc7d.js → db559437b571462fb3db.js} +1 -1
  143. package/assets/esri/core/workers/chunks/{512dcd6e34e217029391.js → deb2854bb7d082a26f52.js} +1 -1
  144. package/assets/esri/core/workers/chunks/{5993427325d1add18ed9.js → dede989d59c4b416af68.js} +1 -1
  145. package/assets/esri/core/workers/chunks/{18e9cb71fa020e93d139.js → df5ecb3339d9301a6f5b.js} +1 -1
  146. package/assets/esri/core/workers/chunks/{e22b400636094fc7b6c0.js → dfbf2e17058aa876f96a.js} +1 -1
  147. package/assets/esri/core/workers/chunks/dfc37c2ce51e6a34fd87.js +1 -0
  148. package/assets/esri/core/workers/chunks/dff8e15958423e0212e5.js +1 -0
  149. package/assets/esri/core/workers/chunks/{c5c6a32a24005478c976.js → e032f3d2ee19790f8c79.js} +1 -1
  150. package/assets/esri/core/workers/chunks/{3d7923d25734d03a4d27.js → e1dba29f5fd1ee5fc999.js} +1 -1
  151. package/assets/esri/core/workers/chunks/{352511dbc67166face40.js → e2e32e2f04cce9e932fd.js} +1 -1
  152. package/assets/esri/core/workers/chunks/{bb0a1be03bb9d621432c.js → e7638b9ab6674bc8a18f.js} +1 -1
  153. package/assets/esri/core/workers/chunks/{edef1e2254c992459c63.js → eb1a7bb8b14e651bc241.js} +1 -1
  154. package/assets/esri/core/workers/chunks/{779ee975efebb838b5d6.js → f154336b4af011cd0c56.js} +1 -1
  155. package/assets/esri/core/workers/chunks/{3807d0b9b1894731174d.js → f1be3a177328a169128f.js} +1 -1
  156. package/assets/esri/core/workers/chunks/{0810dbbf348a927392e7.js → f59c782898d931810374.js} +1 -1
  157. package/assets/esri/core/workers/chunks/{c9159ebf930af3f336f3.js → f5d89b48f62fba78fd10.js} +1 -1
  158. package/assets/esri/core/workers/chunks/f7846523adacbfe5047e.js +1 -0
  159. package/assets/esri/core/workers/chunks/{b510c07dfd0d31683b08.js → f7a9d2da07196a0989ae.js} +1 -1
  160. package/assets/esri/core/workers/chunks/{143503f6eb270c4683f8.js → f7c99e9c8d19352af38d.js} +1 -1
  161. package/assets/esri/core/workers/chunks/{79ab06fb4c91ac8da323.js → f839b86bee15deaf84e4.js} +1 -1
  162. package/assets/esri/core/workers/chunks/{9adecee0ed2f1df3b0d2.js → f85e2b6a285fa8ad60aa.js} +1 -1
  163. package/assets/esri/core/workers/chunks/{024063fe2bbb27899094.js → fbbccca5b1bcffb31c4e.js} +1 -1
  164. package/assets/esri/core/workers/chunks/{009556f323e58271bc7a.js → fc4417d1260b717a9385.js} +1 -1
  165. package/assets/esri/core/workers/chunks/{6810ecdeccf4b7eae5e2.js → fdaf8fb5a3cc7abea44b.js} +1 -1
  166. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  167. package/assets/esri/themes/base/widgets/_Editor.scss +4 -0
  168. package/assets/esri/themes/dark/main.css +1 -1
  169. package/assets/esri/themes/light/main.css +1 -1
  170. package/assets/esri/themes/light/view.css +1 -1
  171. package/assets/esri/widgets/Editor/t9n/Editor.json +1 -1
  172. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  173. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  174. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  175. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  176. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  177. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  178. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  179. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  180. package/assets/esri/widgets/Editor/t9n/Editor_en.json +1 -1
  181. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  182. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  183. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  184. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  185. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  186. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  187. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  188. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  189. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  190. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  191. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  192. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  193. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  194. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  195. package/assets/esri/widgets/Editor/t9n/Editor_no.json +1 -1
  196. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  197. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  198. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  199. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  200. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  201. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  202. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  203. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  204. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  205. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  206. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  207. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  208. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  209. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  210. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  211. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  212. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
  213. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  214. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  215. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  216. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  217. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  218. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  219. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  220. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  221. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
  222. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  223. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  224. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  225. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  226. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  227. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  228. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  229. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  230. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  231. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  232. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  233. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  234. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  235. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  236. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  237. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  238. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  239. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  240. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  241. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  242. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  243. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  244. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  245. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  246. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  247. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  248. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  249. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  250. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  251. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  252. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  253. package/assets/esri/widgets/Sketch/t9n/Sketch.json +1 -1
  254. package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
  255. package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
  256. package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
  257. package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
  258. package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
  259. package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
  260. package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
  261. package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
  262. package/assets/esri/widgets/Sketch/t9n/Sketch_en.json +1 -1
  263. package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
  264. package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
  265. package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
  266. package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
  267. package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
  268. package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
  269. package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
  270. package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
  271. package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
  272. package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
  273. package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
  274. package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
  275. package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
  276. package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
  277. package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
  278. package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
  279. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
  280. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
  281. package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
  282. package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
  283. package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
  284. package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
  285. package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
  286. package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
  287. package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
  288. package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
  289. package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
  290. package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
  291. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
  292. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
  293. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
  294. package/chunks/Envelope.js +1 -1
  295. package/chunks/Fog.glsl.js +2 -2
  296. package/chunks/Geometry.js +1 -1
  297. package/chunks/GlowBlur.glsl.js +8 -9
  298. package/chunks/GlowComposition.glsl.js +15 -16
  299. package/chunks/Laserlines.glsl.js +12 -12
  300. package/chunks/MultiPathImpl.js +1 -1
  301. package/chunks/Point2D.js +1 -1
  302. package/chunks/PointRenderer.glsl.js +1 -1
  303. package/chunks/Precipitation.glsl.js +2 -2
  304. package/chunks/Terrain.glsl.js +1 -1
  305. package/chunks/boundedPlane.js +1 -1
  306. package/chunks/bundle.js +1 -1
  307. package/chunks/cameraUtilsPlanar.js +1 -1
  308. package/chunks/cameraUtilsSpherical.js +1 -1
  309. package/chunks/sphere.js +1 -1
  310. package/chunks/vec32.js +1 -1
  311. package/config.js +1 -1
  312. package/core/accessorSupport/extensions/serializableProperty/reader.js +1 -1
  313. package/core/accessorSupport/extensions/serializableProperty/utils.js +5 -0
  314. package/core/accessorSupport/extensions/serializableProperty.js +1 -1
  315. package/core/accessorSupport/read.js +1 -1
  316. package/core/accessorSupport/write.js +1 -1
  317. package/core/has.js +1 -1
  318. package/core/libs/gl-matrix-2/math/quat.js +1 -1
  319. package/core/libs/gl-matrix-2/math/vec3.js +1 -1
  320. package/core/perspectiveUtils.js +1 -1
  321. package/core/workers/workerFactory.js +1 -1
  322. package/editing/geometry/lineUtils.js +1 -1
  323. package/geometry/Mesh.js +1 -1
  324. package/geometry/operators/support/jsonConverter.js +1 -1
  325. package/geometry/projection/localLinearScaleFactors.js +1 -1
  326. package/geometry/projection/projectDirection.js +1 -1
  327. package/geometry/projection/projectVec3Array.js +1 -1
  328. package/geometry/support/axisAngle.js +1 -1
  329. package/geometry/support/axisAngleDegrees.js +1 -1
  330. package/geometry/support/buffer/internals/Vec3.js +1 -1
  331. package/geometry/support/clipRay.js +1 -1
  332. package/geometry/support/coordinateSystem.js +1 -1
  333. package/geometry/support/frustum.js +1 -1
  334. package/geometry/support/lineSegment.js +1 -1
  335. package/geometry/support/meshUtils/centerAt.js +1 -1
  336. package/geometry/support/meshUtils/exporters/gltf/geometry.js +1 -1
  337. package/geometry/support/meshUtils/loadExternal.js +1 -1
  338. package/geometry/support/meshUtils/loadGLTFMesh.js +1 -1
  339. package/geometry/support/meshUtils/merge.js +1 -1
  340. package/geometry/support/meshUtils/rotate.js +1 -1
  341. package/geometry/support/meshUtils/scale.js +1 -1
  342. package/geometry/support/meshUtils/vertexSpaceConversion.js +1 -1
  343. package/geometry/support/plane.js +1 -1
  344. package/geometry/support/polygonUtils.js +1 -1
  345. package/geometry/support/ray.js +1 -1
  346. package/geometry/support/sphereUtils.js +1 -1
  347. package/geometry/support/triangle.js +1 -1
  348. package/geometry/support/vector.js +1 -1
  349. package/interfaces.d.ts +269 -145
  350. package/kernel.js +1 -1
  351. package/layers/FeatureLayer.js +1 -1
  352. package/layers/VoxelWasmPerSceneView.js +1 -1
  353. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  354. package/layers/graphics/sources/ParquetSource.js +1 -1
  355. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  356. package/layers/graphics/sources/support/QueryTask.js +1 -1
  357. package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
  358. package/layers/knowledgeGraph/layerUtils.js +1 -1
  359. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  360. package/layers/orientedImagery/transformations/utils.js +1 -1
  361. package/layers/orientedImagery/transformations/worldToImage.js +1 -1
  362. package/layers/support/featurePopupQueryUtils.js +1 -1
  363. package/layers/support/layerUtils.js +1 -1
  364. package/layers/support/rasterDatasets/FunctionRaster.js +1 -1
  365. package/layers/support/tiles3DUtils.js +1 -1
  366. package/layers/video/VideoCameraSensorModel.js +1 -1
  367. package/layers/voxel/VoxelVolume.js +1 -1
  368. package/layers/voxel/voxelPlaneUtils.js +1 -1
  369. package/package.json +3 -3
  370. package/rest/knowledgeGraph/GraphApplyEdits.js +1 -1
  371. package/rest/query/executePivotQuery.js +5 -0
  372. package/rest/query/operations/query.js +1 -1
  373. package/rest/query/operations/queryPivot.js +5 -0
  374. package/rest/query/operations/queryUtils.js +5 -0
  375. package/rest/support/PivotDefinition.js +5 -0
  376. package/rest/support/PivotQuery.js +5 -0
  377. package/rest/support/UnPivotDefinition.js +5 -0
  378. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  379. package/smartMapping/support/adapters/support/utils.js +1 -1
  380. package/support/revision.js +1 -1
  381. package/views/2d/analysis/ElevationProfile/ElevationProfileInputVisualization2D.js +1 -1
  382. package/views/2d/analysis/ElevationProfileAnalysisView2D.js +1 -1
  383. package/views/2d/engine/flow/dataUtils.js +1 -1
  384. package/views/2d/engine/flow/utils.js +1 -1
  385. package/views/2d/engine/webgl/AFeatureTile.js +1 -1
  386. package/views/2d/engine/webgl/WorldExtentClipRenderer.js +1 -1
  387. package/views/2d/interactive/editingTools/TransformTool.js +1 -1
  388. package/views/2d/interactive/editingTools/manipulations/RotateManipulation.js +1 -1
  389. package/views/2d/interactive/editingTools/manipulations/ScaleManipulation.js +1 -1
  390. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  391. package/views/2d/layers/MapNotesLayerView2D.js +1 -1
  392. package/views/2d/layers/RouteLayerView2D.js +1 -1
  393. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  394. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  395. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  396. package/views/2d/navigation/actions/Pan.js +1 -1
  397. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
  398. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  399. package/views/3d/analysis/Dimension/lengthDimensionConstraintUtils.js +1 -1
  400. package/views/3d/analysis/Dimension/lengthDimensionManipulatorUtils.js +1 -1
  401. package/views/3d/analysis/Dimension/lengthDimensionUtils.js +1 -1
  402. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementVisualization.js +1 -1
  403. package/views/3d/analysis/ElevationProfile/ElevationProfileGeometryVisualization3D.js +5 -0
  404. package/views/3d/analysis/ElevationProfile/ElevationProfileLineSceneComputation.js +1 -1
  405. package/views/3d/analysis/ElevationProfile/ElevationProfileLineVisualization3D.js +1 -1
  406. package/views/3d/analysis/ElevationProfile/ElevationProfileVisualization3D.js +1 -1
  407. package/views/3d/analysis/ElevationProfileAnalysisView3D.js +1 -1
  408. package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
  409. package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
  410. package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
  411. package/views/3d/analysis/Slice/ShiftManipulator.js +1 -1
  412. package/views/3d/analysis/Slice/SliceTool.js +1 -1
  413. package/views/3d/analysis/Slice/SliceVisualization.js +1 -1
  414. package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
  415. package/views/3d/analysis/Viewshed/ViewshedComputedData.js +1 -1
  416. package/views/3d/analysis/Viewshed/ViewshedFieldOfViewManipulation.js +1 -1
  417. package/views/3d/analysis/Viewshed/ViewshedScaleOrientManipulation.js +1 -1
  418. package/views/3d/analysis/Viewshed/ViewshedShapeVisualElement.js +1 -1
  419. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  420. package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
  421. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  422. package/views/3d/analysis/Viewshed/viewshedToolUtils.js +1 -1
  423. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  424. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementConfiguration.js +1 -1
  425. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillComputation.js +1 -1
  426. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  427. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  428. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementError.js +1 -1
  429. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
  430. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementTool.js +1 -1
  431. package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +1 -1
  432. package/views/3d/analysis/support/measurementUtils.js +1 -1
  433. package/views/3d/animation/pointToPoint/Animation.js +1 -1
  434. package/views/3d/animation/pointToPoint/Camera.js +1 -1
  435. package/views/3d/camera/constraintUtils/altitude.js +1 -1
  436. package/views/3d/camera/constraintUtils/common.js +1 -1
  437. package/views/3d/camera/constraintUtils/distance.js +1 -1
  438. package/views/3d/camera/constraintUtils/surfaceCollision.js +1 -1
  439. package/views/3d/camera/constraintUtils/tilt.js +1 -1
  440. package/views/3d/camera/intersectionUtils.js +1 -1
  441. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  442. package/views/3d/environment/CloudsParameters.js +1 -1
  443. package/views/3d/environment/EnvironmentManager.js +1 -1
  444. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  445. package/views/3d/environment/Fog.js +1 -1
  446. package/views/3d/environment/MarsAtmosphere.js +1 -1
  447. package/views/3d/glTF/loader.js +1 -1
  448. package/views/3d/interactive/Manipulator3D.js +1 -1
  449. package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
  450. package/views/3d/interactive/editingTools/dragEventPipeline3D.js +1 -1
  451. package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
  452. package/views/3d/interactive/editingTools/lineObjectVisualElementUtils.js +1 -1
  453. package/views/3d/interactive/editingTools/manipulations/MoveXYAxisManipulation.js +1 -1
  454. package/views/3d/interactive/editingTools/manipulations/MoveXYDiscManipulation.js +1 -1
  455. package/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +1 -1
  456. package/views/3d/interactive/editingTools/media/MediaElementManipulator3D.js +1 -1
  457. package/views/3d/interactive/editingTools/originGeometryVisualElementUtils.js +1 -1
  458. package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
  459. package/views/3d/interactive/editingTools/reshape/edgeOffsetUtils.js +1 -1
  460. package/views/3d/interactive/editingTools/transform/ScaleRotateTransform.js +1 -1
  461. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentMove.js +1 -1
  462. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentRotate.js +1 -1
  463. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentScale.js +1 -1
  464. package/views/3d/interactive/editingTools/transform/extentTransform/extentUtils.js +1 -1
  465. package/views/3d/interactive/manipulatorUtils.js +1 -1
  466. package/views/3d/interactive/support/viewUtils.js +1 -1
  467. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  468. package/views/3d/interactive/visualElements/LabelVisualElement.js +1 -1
  469. package/views/3d/interactive/visualElements/LaserlineVisualElement.js +1 -1
  470. package/views/3d/interactive/visualElements/LineVisualElement.js +1 -1
  471. package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
  472. package/views/3d/interactive/visualElements/MeasurementArrowVisualElement.js +1 -1
  473. package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
  474. package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
  475. package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
  476. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  477. package/views/3d/interactive/visualElements/VerticesVisualElement.js +1 -1
  478. package/views/3d/interactive/visualElements/support/Segment.js +1 -1
  479. package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
  480. package/views/3d/layers/FlowSubView3D.js +1 -1
  481. package/views/3d/layers/I3SMeshView3D.js +1 -1
  482. package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
  483. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  484. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  485. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  486. package/views/3d/layers/VoxelLayerView3D.js +1 -1
  487. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  488. package/views/3d/layers/graphics/ElevationAligners.js +1 -1
  489. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  490. package/views/3d/layers/graphics/Graphics3DDrapedGraphicLayer.js +1 -1
  491. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  492. package/views/3d/layers/graphics/Graphics3DGraphic.js +1 -1
  493. package/views/3d/layers/graphics/Graphics3DLodInstanceGraphicLayer.js +1 -1
  494. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  495. package/views/3d/layers/graphics/Graphics3DMeshObject3DGraphicLayer.js +1 -1
  496. package/views/3d/layers/graphics/Graphics3DObject3DGraphicLayer.js +1 -1
  497. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  498. package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
  499. package/views/3d/layers/graphics/LabelInfo.js +1 -1
  500. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  501. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  502. package/views/3d/layers/i3s/I3SGeometryUtil.js +1 -1
  503. package/views/3d/layers/i3s/I3SMeshViewFilter.js +1 -1
  504. package/views/3d/layers/i3s/I3SUtil.js +1 -1
  505. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  506. package/views/3d/layers/i3s/LayerElevationProvider.js +1 -1
  507. package/views/3d/layers/i3s/LoDUtil.js +1 -1
  508. package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
  509. package/views/3d/layers/support/FastSymbolUpdates.js +1 -1
  510. package/views/3d/layers/support/FeatureTileMeasurements3D.js +1 -1
  511. package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
  512. package/views/3d/layers/support/I3STreeDebugger.js +1 -1
  513. package/views/3d/layers/support/uvUtils.js +1 -1
  514. package/views/3d/state/Frustum.js +1 -1
  515. package/views/3d/state/NearFarHeuristic.js +1 -1
  516. package/views/3d/state/controllers/FovController.js +1 -1
  517. package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
  518. package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
  519. package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
  520. package/views/3d/state/controllers/RotateController.js +1 -1
  521. package/views/3d/state/controllers/ZoomControllerGlobal.js +1 -1
  522. package/views/3d/state/controllers/ZoomControllerLocal.js +1 -1
  523. package/views/3d/state/controllers/ZoomStepControllerGlobal.js +1 -1
  524. package/views/3d/state/controllers/ZoomStepControllerLocal.js +1 -1
  525. package/views/3d/state/controllers/momentum/PanPlanarMomentumController.js +1 -1
  526. package/views/3d/state/controllers/momentum/PanSphericalMomentumController.js +1 -1
  527. package/views/3d/state/controllers/momentum/ZoomPlanarMomentumController.js +1 -1
  528. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  529. package/views/3d/state/utils/navigationUtils.js +1 -1
  530. package/views/3d/state/utils/viewUtils.js +1 -1
  531. package/views/3d/support/FrustumExtentIntersection.js +1 -1
  532. package/views/3d/support/RenderCoordsHelper.js +1 -1
  533. package/views/3d/support/cameraUtils.js +1 -1
  534. package/views/3d/support/cameraUtilsInternal.js +1 -1
  535. package/views/3d/support/dito.js +1 -1
  536. package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
  537. package/views/3d/support/flow/StreamlineResources3DOverlay.js +1 -1
  538. package/views/3d/support/flow/StreamlineResources3DShape.js +1 -1
  539. package/views/3d/support/flow/constants.js +1 -1
  540. package/views/3d/support/geometryUtils/ray.js +1 -1
  541. package/views/3d/support/intersectionUtils.js +1 -1
  542. package/views/3d/support/mathUtils.js +1 -1
  543. package/views/3d/support/orientedBoundingBox.js +1 -1
  544. package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
  545. package/views/3d/support/pointsOfInterest/CenterOnSurface.js +1 -1
  546. package/views/3d/support/pointsOfInterest/Focus.js +1 -1
  547. package/views/3d/support/pointsOfInterest/PointsOfInterest.js +1 -1
  548. package/views/3d/support/sunUtils.js +1 -1
  549. package/views/3d/support/viewpointUtils.js +1 -1
  550. package/views/3d/terrain/OverlayManager.js +1 -1
  551. package/views/3d/terrain/OverlayRenderer.js +1 -1
  552. package/views/3d/terrain/PatchGeometry.js +1 -1
  553. package/views/3d/terrain/PatchRenderData.js +1 -1
  554. package/views/3d/terrain/SphericalPatch.js +1 -1
  555. package/views/3d/terrain/TerrainRenderer.js +1 -1
  556. package/views/3d/terrain/TerrainSurface.js +1 -1
  557. package/views/3d/terrain/Tile.js +1 -1
  558. package/views/3d/webgl/RenderCamera.js +1 -1
  559. package/views/3d/webgl-engine/Stage.js +1 -1
  560. package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
  561. package/views/3d/webgl-engine/collections/Component/ComponentObjectElevationAgnosticBVH.js +1 -1
  562. package/views/3d/webgl-engine/collections/Component/ComponentObjectElevationAgnosticComponentGeometryBVH.js +1 -1
  563. package/views/3d/webgl-engine/collections/Component/DepthRange.js +1 -1
  564. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  565. package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepthToWriteShadowMap.glsl.js +1 -1
  566. package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
  567. package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +2 -2
  568. package/views/3d/webgl-engine/core/shaderLibrary/attributes/InstancedDoublePrecision.glsl.js +1 -1
  569. package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateAmbientLighting.glsl.js +1 -1
  570. package/views/3d/webgl-engine/core/shaderLibrary/util/ScreenSizePerspective.glsl.js +1 -1
  571. package/views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js +1 -1
  572. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
  573. package/views/3d/webgl-engine/core/util/TwoVectorPosition.js +1 -1
  574. package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +7 -7
  575. package/views/3d/webgl-engine/effects/glow/GlowCompositionTechnique.js +1 -1
  576. package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
  577. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  578. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  579. package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
  580. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathData.js +1 -1
  581. package/views/3d/webgl-engine/lib/BoundingInfo.js +1 -1
  582. package/views/3d/webgl-engine/lib/CompositingHelper.js +1 -1
  583. package/views/3d/webgl-engine/lib/CutFillColor.js +1 -1
  584. package/views/3d/webgl-engine/lib/CutFillDepth.js +1 -1
  585. package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
  586. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  587. package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
  588. package/views/3d/webgl-engine/lib/GridLocalOriginFactory.js +1 -1
  589. package/views/3d/webgl-engine/lib/Intersector.js +1 -1
  590. package/views/3d/webgl-engine/lib/IntersectorResult.js +1 -1
  591. package/views/3d/webgl-engine/lib/Object3D.js +1 -1
  592. package/views/3d/webgl-engine/lib/Octree.js +1 -1
  593. package/views/3d/webgl-engine/lib/Path.js +1 -1
  594. package/views/3d/webgl-engine/lib/PathGeometryData.js +1 -1
  595. package/views/3d/webgl-engine/lib/PathVertex.js +1 -1
  596. package/views/3d/webgl-engine/lib/RayIntersections.js +1 -1
  597. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  598. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  599. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  600. package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
  601. package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
  602. package/views/3d/webgl-engine/lib/WebGLLayer.js +1 -1
  603. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  604. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  605. package/views/3d/webgl-engine/lib/edgeRendering/edgeBufferWriters.js +1 -1
  606. package/views/3d/webgl-engine/lib/edgeRendering/edgePreprocessing.js +1 -1
  607. package/views/3d/webgl-engine/lib/geometryDataUtils.js +1 -1
  608. package/views/3d/webgl-engine/lib/intersectorUtils.js +1 -1
  609. package/views/3d/webgl-engine/lib/lodRendering/InstanceData.js +1 -1
  610. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  611. package/views/3d/webgl-engine/lib/pathGeometryUtils.js +1 -1
  612. package/views/3d/webgl-engine/lib/triangleIntersectionUtils.js +1 -1
  613. package/views/3d/webgl-engine/lib/verticalOffsetUtils.js +1 -1
  614. package/views/3d/webgl-engine/lighting/SceneLighting.js +1 -1
  615. package/views/3d/webgl-engine/lighting/SphericalHarmonics.js +1 -1
  616. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  617. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  618. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  619. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  620. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  621. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  622. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  623. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  624. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  625. package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
  626. package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +1 -1
  627. package/views/3d/webgl.js +1 -1
  628. package/views/DOMContainer.js +1 -1
  629. package/views/SceneView.js +1 -1
  630. package/views/View.js +1 -1
  631. package/views/View2D.js +1 -1
  632. package/views/analysis/ElevationProfile/ElevationProfileController.js +1 -1
  633. package/views/analysis/ElevationProfile/ElevationProfileError.d.ts +4 -0
  634. package/views/analysis/ElevationProfile/ElevationProfileError.js +5 -0
  635. package/views/analysis/ElevationProfile/ElevationProfileTool.js +1 -1
  636. package/views/analysis/ElevationProfile/elevationProfileErrors.js +5 -0
  637. package/views/analysis/ElevationProfile/elevationProfileGenerationUtils.js +1 -1
  638. package/views/analysis/ElevationProfile/elevationProfileGeometryUtils.js +1 -1
  639. package/views/analysis/ElevationProfile/elevationProfileInputVisualizationUtils.js +1 -1
  640. package/views/analysis/ExclusiveOperationManager.js +1 -1
  641. package/views/draw/support/Reshape.js +1 -1
  642. package/views/draw/support/createUtils.js +1 -1
  643. package/views/draw/support/helpMessageUtils3d.js +1 -1
  644. package/views/draw/support/surfaceCoordinateSystems.js +1 -1
  645. package/views/interactive/GraphicManipulator.js +1 -1
  646. package/views/interactive/coordinateHelper.js +1 -1
  647. package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
  648. package/views/interactive/editGeometry/support/editPlaneUtils.js +1 -1
  649. package/views/interactive/sketch/constraintUtils.js +1 -1
  650. package/views/interactive/sketch/constraints.js +1 -1
  651. package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
  652. package/views/interactive/snapping/RightAngleSnapper.js +1 -1
  653. package/views/interactive/snapping/candidates/ParallelLineSnappingCandidate.js +1 -1
  654. package/views/interactive/snapping/candidates/RightAngleTriangleSnappingCandidate.js +1 -1
  655. package/views/interactive/snapping/featureSources/featureServiceSource/tileUtils.js +1 -1
  656. package/views/interactive/snapping/featureSources/sceneLayerSource/SceneLayerSnappingSourceWorker.js +1 -1
  657. package/views/interactive/snapping/featureSources/sceneLayerSource/sceneLayerSnappingUtils.js +1 -1
  658. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  659. package/views/interactive/tooltip/tooltipCommonUtils.js +1 -1
  660. package/views/layers/FeatureLayerView.d.ts +1 -1
  661. package/views/layers/FeatureLayerView.js +1 -1
  662. package/views/layers/SceneLayerView.js +1 -1
  663. package/views/navigation/PanPlanarMomentumEstimator.js +1 -1
  664. package/views/navigation/PanSphericalMomentumEstimator.js +1 -1
  665. package/views/navigation/gamepadAndKeyboardUtils.js +1 -1
  666. package/views/popupAdapter.js +1 -1
  667. package/views/support/angularMeasurementUtils.js +1 -1
  668. package/views/support/euclideanAreaMeasurementUtils.js +1 -1
  669. package/views/support/euclideanLengthMeasurementUtils.js +1 -1
  670. package/views/support/geometry3dUtils.js +1 -1
  671. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  672. package/widgets/Editor/EditorViewModel.js +1 -1
  673. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  674. package/widgets/Editor/SplitFeatureWorkflowData.js +1 -1
  675. package/widgets/Editor/UpdateWorkflow.js +1 -1
  676. package/widgets/Editor/components/PendingFeatureList.js +1 -1
  677. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  678. package/widgets/Editor/components/UploadDetails.js +1 -1
  679. package/widgets/Editor/components/workflowAdapters/pendingFeatureList/CreateFeaturesWorkflowPendingFeatureListAdapter.ts.js +5 -0
  680. package/widgets/Editor/components/workflowAdapters/pendingFeatureList/SplitFeatureWorkflowPendingFeatureListAdapter.js +5 -0
  681. package/widgets/Editor/css.js +1 -1
  682. package/widgets/Editor/modelUploadUtils.js +1 -1
  683. package/widgets/Editor/support/splitFeatureUtils.js +1 -1
  684. package/widgets/Editor/workflowUtils.js +1 -1
  685. package/widgets/Editor.js +1 -1
  686. package/widgets/ElevationProfile/ElevationProfileLineView.js +1 -1
  687. package/widgets/ElevationProfile/support/geometryUtils.js +1 -1
  688. package/widgets/FeatureTable/FieldColumn.js +1 -1
  689. package/widgets/FeatureTable/support/FeatureStore.js +1 -1
  690. package/widgets/FeatureTable/support/tableUtils.js +1 -1
  691. package/widgets/FeatureTable/support/templateUtils.js +1 -1
  692. package/widgets/Legend/LegendViewModel.js +1 -1
  693. package/widgets/Legend.js +1 -1
  694. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  695. package/widgets/OrientedImageryViewer/components/ImageLocationWidget.js +1 -1
  696. package/widgets/OrientedImageryViewer/components/ImageOverlays.js +1 -1
  697. package/widgets/OrientedImageryViewer/dataCaptureUtils.js +1 -1
  698. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  699. package/widgets/OrientedImageryViewer.js +1 -1
  700. package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
  701. package/widgets/PanoramicViewer/PanoramicZoomManager.js +5 -0
  702. package/widgets/PanoramicViewer/PanoramicZoomViewModel.js +1 -1
  703. package/widgets/PanoramicViewer/constants.js +1 -1
  704. package/widgets/PanoramicViewer/support/ClosestMap.js +5 -0
  705. package/widgets/PanoramicViewer/support/PanoramicMeshManager.js +1 -1
  706. package/widgets/PanoramicViewer/support/PanoramicMeshWorker.js +1 -1
  707. package/widgets/PanoramicViewer/support/PanoramicTileNode.js +5 -0
  708. package/widgets/PanoramicViewer/support/PanoramicTilePyramid.js +5 -0
  709. package/widgets/PanoramicViewer/support/importUtils.js +5 -0
  710. package/widgets/PanoramicViewer/utils.js +1 -1
  711. package/widgets/PanoramicViewer.js +1 -1
  712. package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.js +1 -1
  713. package/widgets/support/forms/formUtils.js +1 -1
  714. package/analysis/ElevationProfile/ElevationProfileUnits.d.ts +0 -4
  715. package/assets/esri/core/workers/chunks/004b13c1db79c9e668b1.js +0 -1
  716. package/assets/esri/core/workers/chunks/06c389283ee5b60573f2.js +0 -1
  717. package/assets/esri/core/workers/chunks/0ca5060c81a1a05b8be3.js +0 -1
  718. package/assets/esri/core/workers/chunks/1214c126af0de25a4b4a.js +0 -1
  719. package/assets/esri/core/workers/chunks/23e600e368ac829680b5.js +0 -1
  720. package/assets/esri/core/workers/chunks/3d800fbc449bea18b1cd.js +0 -1
  721. package/assets/esri/core/workers/chunks/3dcdbba706a8034b6ba3.js +0 -1
  722. package/assets/esri/core/workers/chunks/503c81dda242e6077317.js +0 -1
  723. package/assets/esri/core/workers/chunks/52121179d4f9833008ec.js +0 -1
  724. package/assets/esri/core/workers/chunks/56b3bb68b61b77138186.js +0 -1
  725. package/assets/esri/core/workers/chunks/5aacd1c6b171c99b41f5.js +0 -1
  726. package/assets/esri/core/workers/chunks/633faa9cec8988ab06af.js +0 -33
  727. package/assets/esri/core/workers/chunks/801451fb572bc5f1f270.js +0 -1
  728. package/assets/esri/core/workers/chunks/8d63b42aea32ce2e5d09.js +0 -1
  729. package/assets/esri/core/workers/chunks/bf9031749d10e7d457b6.js +0 -1
  730. package/assets/esri/core/workers/chunks/c547692862df95d22818.js +0 -1
  731. package/assets/esri/core/workers/chunks/c84665db250b05e2829d.js +0 -1
  732. package/assets/esri/core/workers/chunks/ef75cad6570b14a42b62.js +0 -1
  733. package/assets/esri/core/workers/chunks/fb456e7425e09df17d8c.js +0 -1
  734. package/views/3d/analysis/ElevationProfile/ElevationProfileInputVisualization3D.js +0 -5
  735. package/views/analysis/ElevationProfile/ElevationProfileGenerationError.js +0 -5
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6791],{5479:(e,t,r)=>{function s(e){const t=[];return function*(){yield*t;let r,s=t.length;for(;!(r=e.next()).done;)for(t.push(r.value),yield r.value;++s<t.length;)yield t[s]}}function i(e,t){for(const r of e)if(null!=r&&t(r))return r}function n(e){return null!=e&&"function"==typeof e[Symbol.iterator]}r.d(t,{I6:()=>i,PP:()=>s,xZ:()=>n})},10107:(e,t,r)=>{r.d(t,{MZ:()=>c,rM:()=>l});var s=r(53966),i=r(56507),n=r(16649),o=r(96156),a=r(47821);function c(e={}){return(t,r)=>{if(t===Function.prototype)throw new Error(`Inappropriate use of @property() on a static field: ${t.name}.${r}. Accessor does not support static properties.`);const c=Object.getOwnPropertyDescriptor(t,r),l=(0,o.z4)(t,r);c&&(c.get||c.set?(l.get=c.get||l.get,l.set=c.set||l.set):"value"in c&&("value"in e&&s.A.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${t.constructor.name}" already defined in the metadata`,e),l.value=e.value=c.value)),null!=e.readOnly&&(l.readOnly=e.readOnly);const u=e.aliasOf;if(u){const e="string"==typeof u?u:u.source,t="string"==typeof u?null:!0===u.overridable;let s;l.dependsOn=[e],l.get=function(){let t=(0,n.Jt)(this,e);if("function"==typeof t){s||(s=e.split(".").slice(0,-1).join("."));const r=(0,n.Jt)(this,s);r&&(t=t.bind(r))}return t},l.readOnly||(l.set=t?function(e){this._override(r,e)}:function(t){(0,a.h)(this,e,t)})}const h=e.type,f=e.types;if(!l.cast){let t;h?t=function(e){let t=0,r=e;if((0,i.Zu)(e))return(0,i.Nd)(e);for(;Array.isArray(r)&&1===r.length&&"string"!=typeof r[0]&&"number"!=typeof r[0];)r=r[0],t++;const s=r;if((0,i.EK)(s))return 0===t?(0,i.MB)(s):(0,i._e)((0,i.MB)(s),t);if(1===t)return(0,i.eC)(s);if(t>1)return(0,i.e6)(s,t);const n=e;return n.from?n.from:(0,i.dp)(n)}(h):f&&(t=Array.isArray(f)?(0,i.wB)((0,i.aq)(f[0])):(0,i.aq)(f)),e.cast=function(e,t){if(e||t)return e?t?(r,s)=>t(e(r,s),s):e:t}(e.cast,t)}(0,o.CX)(l,e),e.range&&(l.cast=(0,i.Qp)(l.cast,e.range))}}function l(e,t,r){const s=(0,o.z4)(e,r);s.json||(s.json={});let i=s.json;return void 0!==t&&(i.origins||(i.origins={}),i.origins[t]||(i.origins[t]={}),i=i.origins[t]),i}},11406:(e,t,r)=>{r.d(t,{T:()=>o});var s=r(36563),i=r(4576);class n{constructor(e,t){this._observers=e,this._observer=t}remove(){(0,i.TF)(this._observers,this._observer)}}class o{constructor(){this._observers=null,this.destroyed=!1}observe(e){if(this.destroyed||e.destroyed)return a;null==this._observers&&(this._observers=[]);const t=this._observers;let r=!1,s=!1;const i=t.length;for(let n=0;n<i;++n){const i=t[n];if(i.destroyed)s=!0;else if(i===e){r=!0;break}}return r||(t.push(e),s&&this._removeDestroyedObservers()),new n(t,e)}_removeDestroyedObservers(){const e=this._observers;if(!e||0===e.length)return;const t=e.length;let r=0;for(let s=0;s<t;++s){for(;s+r<t&&e[s+r].destroyed;)++r;if(r>0){if(!(s+r<t))break;e[s]=e[s+r]}}e.length=t-r}destroy(){if(this.destroyed)return;this.destroyed=!0;const e=this._observers;if(null!=e){for(const t of e)t.onCommitted();this._observers=null}}}const a=(0,s.hA)()},14012:(e,t,r)=>{r.d(t,{iS:()=>w,wB:()=>b,Cn:()=>k});var s=r(98291),i=r(36563),n=r(4718),o=r(93687);class a extends o.A{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...e){const t=super.acquire(...e);return this._set.delete(t),t}release(e){e&&!this._set.has(e)&&(super.release(e),this._set.add(e))}_dispose(e){this._set.delete(e),super._dispose(e)}}var c=r(96211),l=r(24326),u=r(16649),h=r(85537),f=r(80559),d=r(88620);class p{constructor(){this.uid=(0,l.c)(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static{this.pool=new a(()=>new p)}static acquireUntracked(e,t,r,s,i){return this.pool.acquire(0,e,t,r,s,i,n.aI)}static acquireTracked(e,t,r,s){return this.pool.acquire(1,e,t,r,null,null,s)}notify(e,t){0===this.type?this.callback.call(this.target,e,t,this.path,this.target):this.callback.call(null,e,t,void 0,void 0)}acquire(e,t,r,s,i,n,o){this.uid=(0,l.c)(),this.removed=!1,this.type=e,this.oldValue=t,this.callback=r,this.getValue=s,this.target=i,this.path=n,this.equals=o}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=(0,l.c)(),this.removed=!0}}const g=new s.A,_=new Set;let v;function m(e){_.delete(e),_.add(e),v||(v=(0,c._)(O))}function y(e){if(e.removed)return;const t=e.oldValue,r=e.getValue();e.equals(t,r)||(e.oldValue=r,e.notify(r,t))}function w(e){for(const t of _.values())t.target===e&&(t.removed=!0)}function O(){let e=10;for(;v&&e--;){v=null;const e=A(),t=g.acquire();for(const r of e){const e=r.uid;y(r),e===r.uid&&r.removed&&t.push(r)}for(const e of _)e.removed&&(t.push(e),_.delete(e));for(const e of t)p.pool.release(e);g.release(t),g.release(e),N.forEach(e=>e())}}function A(){const e=g.acquire();e.length=_.size;let t=0;for(const r of _)e[t]=r,++t;return _.clear(),e}const N=new Set;function b(e,t,r,s=!1){return e.__accessor__&&e.__accessor__.lifecycle!==h.v.DESTROYED?s?function(e,t,r){const s=(0,d.qg)(e,t,r,(e,t,r)=>{let i=!1;return(0,f.mJ)(()=>(0,u.RP)(e,t),(o,a)=>{e.__accessor__.lifecycle!==h.v.DESTROYED?i||(i=!0,(0,n.aI)(a,o)||r.call(e,o,a,t,e),i=!1):s.remove()})});return s}(e,t,r):function(e,t,r){let s=(0,d.qg)(e,t,r,(e,t,r)=>{let n,o,a=(0,f.Df)(()=>(0,u.RP)(e,t),(i,a)=>{e.__accessor__?.lifecycle===h.v.DESTROYED||n&&n.uid!==o?s.remove():(n||(n=p.acquireUntracked(i,r,a,e,t),o=n.uid),m(n))});return(0,i.hA)(()=>{a.remove(),n&&(n.uid!==o||n.removed||(n.removed=!0,m(n)),n=null),s=a=null})});return s}(e,t,r):(0,i.hA)()}function k(e,t,r=!1,s=n.gh){return r?function(e,t,r){let s=!1;return(0,f.mJ)(e,(e,i)=>{s||(s=!0,r(i,e)||t(e,i),s=!1)})}(e,t,s):function(e,t,r){let s,n,o=(0,f.Df)(e,(e,i)=>{s&&s.uid!==n?o.remove():(s||(s=p.acquireTracked(e,t,i,r),n=s.uid),m(s))});return(0,i.hA)(()=>{o.remove(),s&&(s.uid!==n||s.removed||(s.removed=!0,m(s)),s=null),o=null})}(e,t,s)}},16649:(e,t,r)=>{r.d(t,{Jt:()=>a,RP:()=>o,t2:()=>c});var s=r(88620);function i(e,t){const r=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){const e=parseInt(r,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}const i=(0,s.oY)(t);return(0,s.yh)(i,r)?i.get(r):t[r]}function n(e,t,r){if(null==e)return e;const s=i(t[r],e);return!s&&r<t.length-1?void 0:r===t.length-1?s:n(s,t,r+1)}function o(e,t,r=0){return"string"!=typeof t||t.includes(".")?n(e,(0,s.AH)(t),r):i(t,e)}function a(e,t){return o(e,t)}function c(e,t){return void 0!==o(t,e)}},24326:(e,t,r)=>{r.d(t,{c:()=>i});let s=0;function i(){return++s}},25482:(e,t,r)=>{r.d(t,{o:()=>g,T:()=>d});var s=r(31635),i=r(65008),n=r(4718);class o{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){const t=new o;return this._values.forEach((r,s)=>{e&&e.has(s)||t.set(s,(0,n.o8)(r.value),r.origin)}),t}get(e,t){t=this._normalizeOrigin(t);const r=this._values.get(e);return null==t||r?.origin===t?r?.value:void 0}originOf(e){return this._values.get(e)?.origin??7}keys(e){e=this._normalizeOrigin(e);const t=[...this._values.keys()];return null==e?t:t.filter(t=>this._values.get(t)?.origin===e)}set(e,t,r){if(0===(r=this._normalizeOrigin(r))){const t=this._values.get(e);if(null!=t?.origin&&t.origin>r)return}this._values.set(e,new a(t,r))}delete(e,t){null!=(t=this._normalizeOrigin(t))&&this._values.get(e)?.origin!==t||this._values.delete(e)}has(e,t){return null!=(t=this._normalizeOrigin(t))?this._values.get(e)?.origin===t:this._values.has(e)}isAtOrigin(e,t){return t=this._normalizeOrigin(t),this.has(e,t)&&this.originOf(e)===t}isBelowOrigin(e,t){return t=this._normalizeOrigin(t),!this.has(e)||this.originOf(e)<t}forEach(e){this._values.forEach(({value:t},r)=>e(t,r))}_normalizeOrigin(e){if(null!=e)return 0===e?e:7}}class a{constructor(e,t){this.value=e,this.origin=t}}var c=r(76953),l=r(45917),u=r(88620),h=r(49422),f=r(40608);const d=e=>{const t=e;let r=class extends t{constructor(...e){super(...e);const t=(0,u.oY)(this),r=t.store,s=new o;t.store=s,(0,c.k)(t,r,s)}read(e,t){(0,l.L)(this,e,t)}write(e,t){return(0,h.M)(this,e??{},t)}toJSON(e){return this.write({},e)}static fromJSON(e,t){return p.call(this,e,t)}};return r=(0,s.Cg)([(0,f.$)("esri.core.JSONSupport")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function p(e,t){if(!e)return null;if(e.declaredClass)throw new Error("JSON object is already hydrated");const r=new this;return r.read(e,t),r}const g=d(i.A)},35666:(e,t,r)=>{r.d(t,{AU:()=>s,OL:()=>n,aB:()=>i,in:()=>o});const s=8;function i(e){switch(e){case"defaults":return 0;case"service":return 2;case"portal-item":return 3;case"web-scene":return 4;case"web-map":return 5;case"link-chart":return 6;case"user":return 7;default:return null}}function n(e){switch(e){case 0:return"defaults";case 2:return"service";case 3:return"portal-item";case 4:return"web-scene";case 5:return"web-map";case 6:return"link-chart";case 7:return"user"}}function o(e){return n(e)}},45917:(e,t,r)=>{r.d(t,{L:()=>u,t:()=>h});var s=r(16649),i=r(88620),n=r(51822);function o(e,t,r){if(!e?.read||!1===e.read.enabled||!e.read.source)return!1;const i=e.read.source;if("string"==typeof i){if(i===t)return!0;if(i.includes(".")&&i.startsWith(t)&&(0,s.t2)(i,r))return!0}else for(const e of i){if(e===t)return!0;if(e.includes(".")&&e.startsWith(t)&&(0,s.t2)(e,r))return!0}return!1}function a(e,t,r,s,i){let a=(0,n.N5)(t[r],i);(function(e){return e&&(!e.read||!1!==e.read.enabled&&!e.read.source)})(a)&&(e[r]=!0);for(const c of Object.getOwnPropertyNames(t))a=(0,n.N5)(t[c],i),o(a,r,s)&&(e[c]=!0)}function c(e,t,r,s){const i=r.metadata,o=(0,n.xF)(i[t],s),a=o?.default;if(void 0===a)return;const c="function"==typeof a?a.call(e,t,s):a;void 0!==c&&r.set(t,c)}const l={origin:"service"};function u(e,t,r=l){if(!t||"object"!=typeof t)return;const o=(0,i.oY)(e),u=o.metadata,h={};for(const e of Object.getOwnPropertyNames(t))a(h,u,e,t,r);o.setDefaultOrigin(r.origin);for(const i of Object.getOwnPropertyNames(h)){const a=(0,n.N5)(u[i],r).read,c=a?.source;let l;l=c&&"string"==typeof c?(0,s.RP)(t,c):t[i],a?.reader&&(l=a.reader.call(e,l,t,r)),void 0!==l&&o.set(i,l)}if(!r||!r.ignoreDefaults){o.setDefaultOrigin("defaults");for(const t of Object.getOwnPropertyNames(u))h[t]||c(e,t,o,r)}o.setDefaultOrigin("user")}function h(e,t,r,s=l){const i={...s,messages:[]};r(i),i.messages?.forEach(t=>{"warning"!==t.type||e.loaded?s?.messages&&s.messages.push(t):e.loadWarnings.push(t)})}},47821:(e,t,r)=>{r.d(t,{h:()=>o});var s=r(49186),i=r(44208),n=(r(53966),r(16649));function o(e,t,r){if(e&&t)if("object"==typeof t)for(const r of Object.getOwnPropertyNames(t))o(e,r,t[r]);else{if(t.includes(".")){const s=t.split("."),i=s.splice(-1,1)[0];return void o((0,n.Jt)(e,s),i,r)}const a=e.__accessor__;null!=a&&function(e,t){if((0,i.A)("esri-unknown-property-errors")&&!function(e,t){return null!=t.metadata[e]}(e,t))throw new s.A("set:unknown-property",function(e,t){return"setting unknown property '"+e+"' on instance of "+t.host.declaredClass}(e,t))}(t,a),e[t]=r}}},49422:(e,t,r)=>{r.d(t,{M:()=>d,R:()=>f});var s=r(4576),i=r(49186),n=r(53966),o=r(16649),a=r(35666),c=r(88620),l=r(51822);function u(e,t,r,s,i){const n={};return t.write?.writer?.call(e,s,n,r,i),n}function h(e,t,r,c,l,u){if(!c?.write)return!1;const h=(0,o.Jt)(e,r);if(!l&&c.write.overridePolicy){const t=c.write.overridePolicy.call(e,h,r,u??void 0);void 0!==t&&(l=t)}if(l||(l=c.write),!l||!1===l.enabled)return!1;if(l.layerContainerTypes&&u?.layerContainerType&&!l.layerContainerTypes.includes(u.layerContainerType))return!1;if((null===h&&!l.allowNull&&!l.writerEnsuresNonNull||void 0===h)&&l.isRequired){const t=new i.A("web-document-write:property-required",`Missing value for required property '${r}' on '${e.declaredClass}'`,{propertyName:r,target:e});return t&&u?.messages?u.messages.push(t):t&&!u&&n.A.getLogger("esri.core.accessorSupport.write").error(t.name,t.message),!1}return!(void 0===h||null===h&&!l.allowNull&&!l.writerEnsuresNonNull||!(l.alwaysWriteDefaults||t.store.multipleOriginsSupported&&0!==t.store.originOf(r))&&function(e,t,r,i,n){const o=i.default;if(void 0===o)return!1;if(null!=i.defaultEquals)return i.defaultEquals(n);if("function"==typeof o){if(Array.isArray(n)){const i=o.call(e,t,r??void 0);return(0,s.aI)(i,n)}return!1}return o===n}(e,r,u,c,h)||!l.ignoreOrigin&&u?.origin&&t.store.multipleOriginsSupported&&t.store.originOf(r)<(0,a.aB)(u.origin))}function f(e,t,r,s){const i=(0,c.oY)(e),n=i.metadata,o=(0,l.k4)(n[t],s);return!!o&&h(e,i,t,o,r,s)}function d(e,t,r){if(e&&"function"==typeof e.toJSON&&(!e.toJSON.isDefaultToJSON||!e.write))return(0,c.h1)(t,e.toJSON(r));const s=(0,c.oY)(e),i=s.metadata;for(const n in i){const f=(0,l.k4)(i[n],r);if(!h(e,s,n,f,void 0,r))continue;const d=(0,o.Jt)(e,n),p=u(e,f,f.write&&"string"==typeof f.write.target?f.write.target:n,d,r);Object.keys(p).length>0&&(t=(0,c.h1)(t,p),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>(0,c.h1)(t,p,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:e,propName:n,oldOrigin:(0,a.in)(s.store.originOf(n)),newOrigin:r.origin}))}return t}},51447:(e,t,r)=>{r.d(t,{Lx:()=>c,eF:()=>l,eO:()=>a,io:()=>u,uW:()=>o});var s=r(44208);const i=new WeakMap;function n(e,t,r=!1){const s=`🛑 DEPRECATED - ${t}`;if(!r)return void e.warn(s);let n=i.get(e);n||(n=new Set,i.set(e,n)),n.has(t)||(n.add(t),e.warn(s))}function o(e,t,r={}){(0,s.A)("esri-deprecation-warnings")&&u(e,`Module: ${t}`,r)}function a(e,t,r={}){if((0,s.A)("esri-deprecation-warnings")){const{moduleName:s}=r;u(e,"Function: "+(s?s+"::":"")+t+"()",r)}}function c(e,t,r={}){if((0,s.A)("esri-deprecation-warnings")){const{moduleName:s}=r;u(e,"Property: "+(s?s+"::":"")+t,r)}}function l(e,t,r={}){(0,s.A)("esri-deprecation-warnings")&&u(e,`Multiple argument constructor: ${t}`,{warnOnce:!0,replacement:`new ${t}({ <your properties here> })`,...r})}function u(e,t,r={}){if((0,s.A)("esri-deprecation-warnings")){const{replacement:s,version:i,see:o,warnOnce:a}=r;let c=t;if(s&&(c+=`\n\t🛠️ Replacement: ${s}`),i&&(c+=`\n\t⚙️ Version: ${i}`),o)if(Array.isArray(o)){c+="\n\t🔗 See for more details:";for(const e of o)c+=`\n\t\t${e}`}else c+=`\n\t🔗 See ${o} for more details.`;n(e,c,a)}}},65008:(e,t,r)=>{r.d(t,{A:()=>j});var s=r(51447),i=r(5479);class n{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let e=0;return this._groups.forEach(t=>{e+=t.length}),e}add(e,t){if((0,i.xZ)(e)){const r=this._getOrCreateGroup(t);for(const t of e)c(t)&&r.push(t)}else c(e)&&this._getOrCreateGroup(t).push(e);return this}forEach(e,t){if("function"==typeof e)this._groups.forEach(t=>t.forEach(e));else{const r=this._getGroup(e);r&&t&&r.forEach(t)}}has(e){return this._groups.has(o(e))}remove(e){if("string"!=typeof e&&(0,i.xZ)(e)){for(const t of e)this.remove(t);return this}return this.has(e)?(a(this._getGroup(e)),this._groups.delete(o(e)),this):this}removeAll(){return this._groups.forEach(a),this._groups.clear(),this}removeReference(e){return this._groups.delete(e),this}_getOrCreateGroup(e){if(this.has(e))return this._getGroup(e);const t=[];return this._groups.set(o(e),t),t}_getGroup(e){return this._groups.get(o(e))}}function o(e){return e||"_default_"}function a(e){for(const t of e)t instanceof n?t.removeAll():t.remove()}function c(e){return null!=e&&(!!e.remove||e instanceof n)}var l=r(53966),u=r(97768),h=r(56454),f=r(16649),d=r(85537),p=r(96156),g=(r(44208),r(4718)),_=r(93687),v=r(11406),m=r(62788),y=r(47328),w=r(67867);class O extends v.T{constructor(e,t){super(),this.propertyName=e,this.metadata=t,this.trackingTarget=new w.R(this),this.flags=0,this.flags=y.i.Dirty|(t.nonNullable?y.i.NonNullable:0)|(t.hasOwnProperty("value")?y.i.HasDefaultValue:0)|(void 0===t.get?y.i.DepTrackingInitialized:0)|(void 0===t.dependsOn?y.i.AutoTracked:0)}destroy(){this.flags&y.i.Dirty&&this.onCommitted(),super.destroy(),this.trackingTarget.destroy()}getComputed(e){e.mutable&&(0,m.gc)(this);const t=e.store,r=this.propertyName,s=this.flags,i=t.get(r);if(s&y.i.Computing)return i;if(~s&y.i.Dirty&&t.has(r))return i;this.flags|=y.i.Computing;const n=e.host;let o;s&y.i.AutoTracked?o=(0,m.a)(this.trackingTarget,this.metadata.get,n):((0,m.Xr)(n,this),o=this.metadata.get.call(n)),this.flags|=y.i.DepTrackingInitialized,t.set(r,o,1);const a=t.get(r);return a===i?this.flags&=~y.i.Dirty:(0,m.F_)(this.commit,this),this.flags&=~y.i.Computing,a}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~y.i.Dirty,this.onCommitted()}onInvalidated(){~this.flags&y.i.Overridden&&(this.flags|=y.i.Dirty);const e=this._observers;if(e&&e.length>0)for(const t of e)t.onInvalidated()}onCommitted(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onCommitted()}}}var A=r(35666);class N{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){const t=new N;return this._values.forEach((r,s)=>{e&&e.has(s)||t.set(s,(0,g.o8)(r))}),t}get(e){return this._values.get(e)}originOf(){return 7}keys(){return[...this._values.keys()]}set(e,t){this._values.set(e,t)}delete(e){this._values.delete(e)}has(e){return this._values.has(e)}isAtOrigin(e,t){return this.has(e)}isBelowOrigin(e,t){return!this.has(e)}forEach(e){this._values.forEach(e)}}function b(e,t,r){return void 0!==e}function k(e,t,r,s){return!(void 0===e||null==r&&e.flags&y.i.NonNullable&&(s.lifecycle,d.v.INITIALIZING,1))}class S{constructor(e){this.host=e,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=d.v.INITIALIZING,this.store=new N,this.mutable=!0,this._origin=7;const t=this.host.constructor.__accessorMetadata__;for(const e in t){const r=new O(e,t[e]);this.propertiesByName.set(e,r)}this.metadata=t}initialize(){this.lifecycle=d.v.CONSTRUCTING}constructed(){this.lifecycle=d.v.CONSTRUCTED}destroy(){this.lifecycle=d.v.DESTROYED,this.propertiesByName.forEach(e=>e.destroy())}get initialized(){return this.lifecycle!==d.v.INITIALIZING}get(e){const t=this.propertiesByName.get(e);if(!b(t))return;if(t.metadata.get)return t.getComputed(this);this.mutable&&(0,m.gc)(t);const r=this.store;return r.has(e)?r.get(e):t.metadata.value}originOf(e){const t=this.store.originOf(e);if(void 0===t){const t=this.propertiesByName.get(e);if(void 0!==t&&t.flags&y.i.HasDefaultValue)return"defaults"}return(0,A.OL)(t)}has(e){return this.propertiesByName.has(e)&&this.store.has(e)}keys(){return[...this.propertiesByName.keys()]}internalGet(e){const t=this.propertiesByName.get(e);if(b(t))return this.store.has(e)?this.store.get(e):t.metadata.value}internalSet(e,t){const r=this.propertiesByName.get(e);b(r)&&this._internalSet(r,t)}getDependsInfo(e,t,r){const s=this.propertiesByName.get(t);if(!b(s))return"";const i=new w.R,n=(0,m.a)(i,()=>s.metadata.get?.call(e));let o=`${r}${e.declaredClass.split(".").pop()}.${t}: ${n}\n`;const a=i.accessed??new Set;if(0===a.size)return o;r+=" ";for(const e of a)e instanceof O&&(o+=`${r}${e.propertyName}: undefined\n`);return o}setAtOrigin(e,t,r){const s=this.propertiesByName.get(e);if(b(s))return this._setAtOrigin(s,t,r)}isOverridden(e){const t=this.propertiesByName.get(e);return void 0!==t&&!!(t.flags&y.i.Overridden)}clearOrigin(e,t){const r=this.store,s=this.propertiesByName.get(e);if(!b(s))return;const i=r.isAtOrigin(e,t)&&!(s.flags&y.i.Overridden);r.delete(e,t),i&&s.notifyChange()}clearOverride(e){const t=this.propertiesByName.get(e);t&&t.flags&y.i.Overridden&&(t.flags&=~y.i.Overridden,t.notifyChange())}override(e,t){const r=this.propertiesByName.get(e);if(!k(r,0,t,this))return;const s=r.metadata.cast;if(s){const e=this._cast(s,t),{valid:r,value:i}=e;if(C.release(e),!r)return;t=i}r.flags|=y.i.Overridden,this._internalSet(r,t)}set(e,t){const r=this.propertiesByName.get(e);if(!k(r,0,t,this))return;const s=r.metadata.cast;if(s){const e=this._cast(s,t),{valid:r,value:i}=e;if(C.release(e),!r)return;t=i}const i=r.metadata.set;i?i.call(this.host,t):this._internalSet(r,t)}setDefaultOrigin(e){this._origin=(0,A.aB)(e)}getDefaultOrigin(){return(0,A.OL)(this._origin)}notifyChange(e){const t=this.propertiesByName.get(e);void 0!==t&&t.notifyChange()}invalidate(e){const t=this.propertiesByName.get(e);void 0!==t&&t.invalidate()}commit(e){const t=this.propertiesByName.get(e);void 0!==t&&t.commit()}_internalSet(e,t){const r=this.lifecycle!==d.v.INITIALIZING?this._origin:0;this._setAtOrigin(e,t,r)}_setAtOrigin(e,t,r){const s=this.store,i=e.propertyName;if(s.isAtOrigin(i,r)&&(0,g.aI)(t,s.get(i))&&~e.flags&y.i.Overridden)return;const n=s.isBelowOrigin(i,r)||s.isAtOrigin(i,r);n&&e.invalidate(),s.set(i,t,r),n&&e.commit(),(0,m.fE)(this.host,e)}_cast(e,t){const r=C.acquire();return r.valid=!0,r.value=t,e&&(r.value=e.call(this.host,t,r)),r}}class T{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}}const C=new _.A(()=>new T);var D=r(47821);var I,E,q=r(14012),B=r(10107),P=r(40608);function J(e){if(null==e)return{value:e};if(Array.isArray(e))return{type:[e[0]],value:null};switch(typeof e){case"object":return e.constructor?.__accessorMetadata__||e instanceof Date?{type:e.constructor,value:e}:e;case"boolean":return{type:Boolean,value:e};case"string":return{type:String,value:e};case"number":return{type:Number,value:e};case"function":return{type:e,value:null};default:return}}const z=Symbol("Accessor-Handles"),R=Symbol("Accessor-Initialized");class j{static{I=z,E=R}static createSubclass(e={}){if(Array.isArray(e))throw new Error("Multi-inheritance unsupported since 4.16");const{properties:t,declaredClass:r,constructor:s}=e;delete e.declaredClass,delete e.properties,delete e.constructor;const i=this;class n extends i{constructor(...e){super(...e),this.inherited=null,s&&s.apply(this,e)}}(0,p.tD)(n.prototype);for(const t in e){const r=e[t];n.prototype[t]="function"==typeof r?function(...e){const s=this.inherited;let n;this.inherited=function(...e){if(i.prototype[t])return i.prototype[t].apply(this,e)};try{n=r.apply(this,e)}catch(e){throw this.inherited=s,e}return this.inherited=s,n}:e[t]}for(const e in t){const r=J(t[e]);(0,B.MZ)(r)(n.prototype,e)}return(0,P.$)(r)(n)}static freeze(e){return e instanceof j?e.__accessor__.mutable=!1:Object.freeze(e),e}static isFrozen(e){return e instanceof j?!e.__accessor__.mutable:Object.isFrozen(e)}constructor(...e){if(this[I]=null,this[E]=!1,this.constructor===j)throw new Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");const t=new S(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:t}),e.length>0&&(t.ctorArgs=this.normalizeCtorArgs?.apply(this,e)??e[0])}postscript(){const e=this.__accessor__,t=e.ctorArgs;e.initialize(),t&&(this.set(t),e.ctorArgs=null),e.constructed(),this.initialize(),this[R]=!0}initialize(){}[h.G](){this[z]=(0,u.pR)(this[z])}destroy(){this.destroyed||((0,q.iS)(this),this.__accessor__.destroy())}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[R]}get destroyed(){return this.__accessor__?.lifecycle===d.v.DESTROYED||!1}get destroying(){return this.__accessor__?.lifecycle===d.v.DESTROYING||!1}commitProperty(e){(0,f.Jt)(this,e)}hasOwnProperty(e){return this.__accessor__?this.__accessor__.has(e):Object.prototype.hasOwnProperty.call(this,e)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(e,t){return(0,D.h)(this,e,t),this}watch(e,t,r){return(0,s.eO)(l.A.getLogger(this),"`watch` is deprecated in favor of reactiveUtils.watch",{replacement:"reactiveUtils.watch",version:"4.32",see:"https://arcg.is/1vaqf42#watch",warnOnce:!0}),(0,q.wB)(this,e,t,r)}addHandles(e,t){if(this.destroyed){const t=Array.isArray(e)?e:[e];for(const e of t)e.remove();return}(this[z]??=new n).add(e,t)}removeHandles(e){this[z]?.remove(e)}removeAllHandles(){this[z]?.removeAll()}removeHandlesReference(e){this[z]?.removeReference(e)}hasHandles(e){return!0===this[z]?.has(e)}_override(e,t){void 0===t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_clearOverride(e){return this.__accessor__.clearOverride(e)}_overrideIfSome(e,t){null==t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_isOverridden(e){return this.__accessor__.isOverridden(e)}notifyChange(e){this.__accessor__.notifyChange(e)}_get(e){return this.__accessor__.internalGet(e)}_set(e,t){return this.__accessor__.internalSet(e,t),this}}},66552:(e,t,r)=>{r.d(t,{J:()=>i,O:()=>o});var s=r(93637);class i{constructor(e,t={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=e,this._options=t,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(e){const t={};for(const r in e)t[e[r]]=r;return t}(e),this.apiValues=n(this._apiToJSON),this.jsonValues=n(this._jsonToAPI),this.read=e=>this.fromJSON(e),this.write=(e,t,r)=>{const i=this.toJSON(e);void 0!==i&&(0,s.sM)(r,i,t)},this.write.isJSONMapWriter=!0}toJSON(e){if(null==e)return null;if(this._apiToJSON.hasOwnProperty(e)){const t=this._apiToJSON[e];return this._options.useNumericKeys?+t:t}return this._options.ignoreUnknown?null:e}fromJSON(e){return null!=e&&this._jsonToAPI.hasOwnProperty(e)?this._jsonToAPI[e]:this._options.ignoreUnknown?void 0:e}}function n(e){const t=[];for(const r in e)t.push(r);return t.sort(),t}function o(){return function(e,t){return new i(e,{ignoreUnknown:!0,...t})}}},71429:(e,t,r)=>{r.d(t,{r:()=>i});var s=r(67867);class i extends s.R{constructor(e){super(new n(e)),this._observer&&o.register(this,new WeakRef(this._observer),this)}destroy(){this._observer&&o.unregister(this._observer),this.accessed?.clear(),this.clear(),this._observer?.destroy()}}class n{constructor(e){this._notify=e,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;const e=this._invalidCount;if(1===e)return this._invalidCount=0,void this._notify();this._invalidCount=e>0?e-1:0}destroy(){this.destroyed=!0,this._notify=a}}const o=new FinalizationRegistry(e=>{e.deref()?.destroy()});function a(){}},76953:(e,t,r)=>{function s(e,t,r){t.keys().forEach(e=>{r.set(e,t.get(e),0)});const s=e.metadata;Object.keys(s).forEach(t=>{e.internalGet(t)&&r.set(t,e.internalGet(t),0)})}r.d(t,{k:()=>s})},78659:(e,t,r)=>{function s(e){return e}function i(e){return 1e3*e}function n(e){return e}r.d(t,{Kp:()=>n,gr:()=>i,l5:()=>s})},80559:(e,t,r)=>{r.d(t,{Df:()=>l,fm:()=>u,mJ:()=>c});var s=r(36563),i=r(62788),n=r(71429);let o=!1;const a=[];function c(e,t){let r=new n.r(function s(){if(!r||c)return;if(o)return void h(s);const n=a;r.clear(),o=!0,c=!0,a=(0,i.a)(r,e),c=!1,o=!1,t(a,n),f()}),a=null,c=!1;return c=!0,a=(0,i.a)(r,e),c=!1,(0,s.hA)(function(){r&&(r.destroy(),r=null,a=null)})}function l(e,t){let r=new n.r(function(){t(o,a)}),o=null;function a(){return r?(r.clear(),o=(0,i.a)(r,e),o):null}return a(),(0,s.hA)(function(){r&&(r.destroy(),r=null),o=null})}function u(e,t){let r=!1,a=!1;const c=!!t?.sync;let l=new n.r(()=>{r||a||(a=!0,c?u():queueMicrotask(u))});function u(){a=!1,l&&!r&&(o?h(u):(l.clear(),o=!0,r=!0,(0,i.a)(l,e),r=!1,o=!1,f()))}return r=!0,(0,i.a)(l,e),r=!1,(0,s.hA)(function(){l&&(l.destroy(),l=null)})}function h(e){a.includes(e)||a.unshift(e)}function f(){for(;a.length;)a.pop()()}},96211:(e,t,r)=>{r.d(t,{_:()=>g,$m:()=>N,NO:()=>A,md:()=>O});var s=r(26390);class i{constructor(e,t=30){this.name=e,this._counter=0,this._samples=new Array(t)}push(e){null!=e&&(this._samples[++this._counter%this._samples.length]=e)}set(e){null!=e&&(this._samples[this._counter%this._samples.length]=e)}get median(){return this._samples.slice().sort((e,t)=>e-t)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((e,t)=>e+t,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}var n=r(15142),o=r(74887),a=r(78659);class c{constructor(e){this.callback=e,this.isActive=!0}remove(){this.isActive=!1}}let l=0;const u={time:(0,a.l5)(0),deltaTime:(0,a.l5)(0),elapsedFrameTime:(0,a.l5)(0),frameDuration:(0,a.l5)(0)},h=["prepare","preRender","render","postRender","update","finish"],f=[],d=new n.A,p={frameTasks:d,willDispatch:!1,clearFrameTasks:function(e=!1){d.forAll(e=>{e.removed=!0}),e&&y()},dispatch:w,executeFrameTasks:function(e){const t=(0,a.l5)(e-l);l=e;const r=1e3/60,s=Math.max(0,t-r);u.time=e,u.frameDuration=(0,a.l5)(r-s);for(let r=0;r<h.length;r++){const s=performance.now(),i=h[r];d.forAll(s=>{s.paused||s.removed||(0===r&&s.ticks++,s.phases[i]&&(u.elapsedFrameTime=(0,a.l5)(performance.now()-e),u.deltaTime=0===s.ticks?(0,a.l5)(0):t,s.phases[i]?.call(s,u)))}),b[r].push(performance.now()-s)}y(),k.push(performance.now()-e)},reschedule:function(){null!=_&&(cancelAnimationFrame(_),_=requestAnimationFrame(v))}};function g(e){const t=new c(e);return f.push(t),p.willDispatch||(p.willDispatch=!0,(0,s.d)(w)),t}let _=null;function v(){const e=performance.now();_=null;const t=d.some(e=>!e.paused&&!e.removed);_=t?requestAnimationFrame(v):null,p.executeFrameTasks(e)}const m=new n.A;function y(){d.forAll(e=>{e.removed&&m.push(e)}),d.removeUnorderedMany(m.data,m.length),m.clear()}function w(){for(;f.length;){const e=f.shift();e.isActive&&e.callback()}p.willDispatch=!1}function O(e=1,t){const r=(0,o.Tw)(),i=()=>{(0,o.G4)(t)?r.reject((0,o.NK)()):0===e?r():(--e,(0,s.d)(()=>i()))};return i(),r.promise}function A(e){return O(1,e)}async function N(e){await A(e),await new Promise(t=>requestAnimationFrame(()=>{e?.aborted||t()}))}const b=h.map(e=>new i(e)),k=new i("total")},98291:(e,t,r)=>{r.d(t,{A:()=>n});var s=r(93687);function i(e){e.length=0}class n{constructor(e=50,t=50){this._pool=new s.A(()=>[],void 0,i,t,e)}acquire(){return this._pool.acquire()}release(e){this._pool.release(e)}prune(){this._pool.prune(0)}static acquire(){return o.acquire()}static release(e){return o.release(e)}static prune(){o.prune()}}const o=new n(100)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2507],{10838:(a,e,t)=>{t.d(e,{ao:()=>u,ud:()=>h,xO:()=>T});var n=t(49186),r=t(36563),i=t(74887),o=t(73444);const d={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:"no",nl:!0,no:!0,nn:"no",pl:!0,pt:"pt-BR","pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,zh:"zh-CN","zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function s(a){if(function(a){return a in d}(a)){const e=d[a];return!0===e?a:e}return null}const m=[],c=new Map;function l(a){for(const e of c.keys())S(a.pattern,e)&&c.delete(e)}function u(a){return m.includes(a)||(l(a),m.unshift(a)),(0,r.hA)(()=>{const e=m.indexOf(a);e>-1&&(m.splice(e,1),l(a))})}async function h(a){const e=(0,o.JK)();c.has(a)||c.set(a,async function(a,e){const t=[];for(const n of m)if(S(n.pattern,a))try{return await n.fetchMessageBundle(a,e)}catch(a){t.push(a)}if(t.length)throw new n.A("intl:message-bundle-error",`Errors occurred while loading "${a}"`,{errors:t});throw new n.A("intl:no-message-bundle-loader",`No loader found for message bundle "${a}"`)}(a,e));const t=c.get(a);return t&&await g.add(t),t}function T(a){const e=(0,o.lR)(a);return e?s(a)??s(e):null}function S(a,e){return"string"==typeof a?e.startsWith(a):a.test(e)}(0,o.Ml)(()=>{c.clear()});const g=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(a){return this._increase(),a.then(()=>this._decrease(),()=>this._decrease()),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=(0,i.Tw)())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}}},56400:(a,e,t)=>{t.d(e,{ZS:()=>s,hv:()=>m,wr:()=>c,P6:()=>d});var n=t(98623);const r=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var i=t(28097);const o="shortOffset";function d(a,e=!1){return{json:{read:{source:a,reader:(e,t)=>t[a]?s(t[a]):null},write:!!e&&{allowNull:!0,writer(e,t){t[a]=e?function(a){return{timeZoneIANA:a}}(e):null}}}}}function s(a,e=n.qU){return a?"timeZoneIANA"in a?a.timeZoneIANA:function(a,e=n.qU){if(!a||!r.has(a.timeZone))return e;const t=r.get(a.timeZone);return a.timeZone.startsWith("UTC")||a.respectsDaylightSaving?t:function(a){const e=i.c9.local().setZone(a),t=Math.min(e.set({month:1,day:1}).offset,e.set({month:5}).offset);return 0===t?"Etc/UTC":`Etc/GMT${i.mQ.instance(-t).formatOffset(0,"narrow")}`}(t)}(a,e):e}function m(a,e,t,r,i){if(e&&"date"===i)return{timeZone:n.n$,timeZoneName:void 0};const d=r.timeStyle||r.hour,s=t===n.L5;return{timeZone:s?"timestamp-offset"===i?void 0:a??n.n$:t,timeZoneName:s&&d?o:void 0}}function c(a){const e=new Set(["etc/utc","etc/gmt","gmt"]),t=new Set(Intl.supportedValuesOf("timeZone").map(a=>a.toLowerCase()));return a===n.qU||a===n.L5||e.has(a.toLowerCase())||t.has(a.toLowerCase())}},65529:(a,e,t)=>{t.d(e,{Zt:()=>i,a$:()=>o,bk:()=>d,nJ:()=>s});var n=t(65008),r=t(36563);const i=a=>{const e=a;return class extends e{constructor(){super(...arguments),this._listenersMap=null}clearEvents(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clearEvents()}emit(a,e){let t=this._listenersMap?.get(a);if(!t)return!1;let n=!1;for(const a of t.slice()){const t="deref"in a?a.deref():a;t?t?.call(this,e):n=!0}return n&&(t=t.filter(a=>!("deref"in a)||null!=a.deref()),this._listenersMap.set(a,t)),t.length>0}on(a,e){if(Array.isArray(a)){const t=a.map(a=>this.on(a,e));return(0,r.vE)(t)}if(a.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const t=this._listenersMap.get(a)||[];return t.push(e),this._listenersMap.set(a,t),(0,r.hA)(()=>{const t=this._listenersMap?.get(a),n=t?.indexOf(e)??-1;n>=0&&t.splice(n,1)})}once(a,e){const t=this.on(a,a=>{t.remove();const n="deref"in e?e.deref():e;n?.call(null,a)});return t}hasEventListener(a){const e=this._listenersMap?.get(a);return null!=e&&e.length>0}}},o=i(class{}),d=o,s=i(n.A)},73444:(a,e,t)=>{t.d(e,{JK:()=>s,Ml:()=>g,QC:()=>l,lR:()=>c,oQ:()=>T});var n=t(36563);let r;t(44208);const i=globalThis.esriConfig?.locale??globalThis.dojoConfig?.locale,o=globalThis.document?.documentElement;function d(){const a=o?.getAttribute("lang"),e=globalThis.navigator?.language;return i??a??e??"en"}function s(){return void 0===r&&(r=d()),r}const m=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(a=s()){return u(a)?.language}function l(a=s()){const e=u(a);return e?.language&&e?.extlang?a.replace(`${e.language}-`,""):a}function u(a=s()){return m.exec(a)?.groups}const h=[];function T(a){return h.push(a),(0,n.hA)(()=>{h.splice(h.indexOf(a),1)})}new Map;const S=[];function g(a){return S.push(a),(0,n.hA)(()=>S.splice(S.indexOf(a),1))}function A(){const a=d();r!==a&&([...S].forEach(e=>e(a)),r=a,[...h].forEach(e=>e(a)))}globalThis.addEventListener?.("languagechange",A),o&&new MutationObserver(()=>{A()}).observe(o,{attributeFilter:["lang"]})},79901:(a,e,t)=>{t.d(e,{w:()=>s});var n=t(56507),r=t(96156);const i=Object.prototype.toString;function o(a){const e="__accessorMetadata__"in a?(0,n.dp)(a):a;return function(...a){if(a.push(e),"number"==typeof a[2])throw new Error("Using @cast has parameter decorator is not supported since 4.16");return d.apply(this,a)}}function d(a,e,t,n){(0,r.z4)(a,e).cast=n}function s(...a){if(3!==a.length||"string"!=typeof a[1])return 1===a.length&&"[object Function]"===i.call(a[0])?o(a[0]):1===a.length&&"string"==typeof a[0]?function(a){return(e,t)=>{(0,r.z4)(e,a).cast=e[t]}}(a[0]):void 0}},97770:(a,e,t)=>{t.d(e,{Ey:()=>G,F8:()=>L,J2:()=>b,Yq:()=>_,_v:()=>p,iS:()=>U,wj:()=>P});var n=t(66552),r=t(73444),i=t(98623),o=(t(56400),t(28097));const d={year:void 0,month:void 0,day:void 0,weekday:void 0},s={hour:void 0,minute:void 0,second:void 0},m={timeZone:i.n$},c={year:"numeric",month:"numeric",day:"numeric"},l={year:"numeric",month:"long",day:"numeric"},u={year:"numeric",month:"short",day:"numeric"},h={year:"numeric",month:"long",weekday:"long",day:"numeric"},T={hour:"numeric",minute:"numeric"},S={...T,second:"numeric"},g={hourCycle:"h23"},A={...T,...g},f={...S,...g},y={"short-date":c,"short-date-short-time":{...c,...T},"short-date-short-time-24":{...c,...A},"short-date-long-time":{...c,...S},"short-date-long-time-24":{...c,...f},"short-date-le":c,"short-date-le-short-time":{...c,...T},"short-date-le-short-time-24":{...c,...A},"short-date-le-long-time":{...c,...S},"short-date-le-long-time-24":{...c,...f},"long-month-day-year":l,"long-month-day-year-short-time":{...l,...T},"long-month-day-year-short-time-24":{...l,...A},"long-month-day-year-long-time":{...l,...S},"long-month-day-year-long-time-24":{...l,...f},"day-short-month-year":u,"day-short-month-year-short-time":{...u,...T},"day-short-month-year-short-time-24":{...u,...A},"day-short-month-year-long-time":{...u,...S},"day-short-month-year-long-time-24":{...u,...f},"long-date":h,"long-date-short-time":{...h,...T},"long-date-short-time-24":{...h,...A},"long-date-long-time":{...h,...S},"long-date-long-time-24":{...h,...f},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":T,"long-time":S},p=(0,n.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),M={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},E=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),C=E.find(({type:a})=>"month"===a)?.value.toLowerCase();function k(){const a=(0,r.lR)();return(a&&M[a])??(0,r.QC)()}"mart"!==C&&(M.bs="sr-Latn-CS");let w=new WeakMap;const v=y["short-date-short-time"];function b(a){return y[a]}function _(a,e=v){return function(a){let e=w.get(a);if(!e){const t=k(),n=P(a.timeZone??i.qU),r={...a,timeZone:n};e=new Intl.DateTimeFormat(t,r),w.set(a,e)}return e}(e).format(a)}function U(a,e=v){return _(new Date(a),{...e,...m,...s})}function L(a,e=v){return _(new Date(`1970-01-01T${a}Z`),{...e,...m,...d})}function G(a,e=v){if(e.timeZone)return _(new Date(a),e);const t=o.c9.fromISO(a,{setZone:!0}),n=0===t.offset?i.n$:e.timeZone,r={...e,timeZone:n};return t.toLocaleString(r,{locale:k()})}function P(a){switch(a){case i.qU:return i.N5;case i.L5:return i.n$;default:return a}}y["short-date"],(0,r.Ml)(()=>{w=new WeakMap})},98623:(a,e,t)=>{t.d(e,{L5:()=>r,N5:()=>o,n$:()=>i,qU:()=>n});const n="system",r="unknown",i="UTC",o=Intl.DateTimeFormat().resolvedOptions().timeZone}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[489],{6455:(e,t,i)=>{i.d(t,{FJ:()=>b,Dp:()=>w,KV:()=>_});var n=i(31635),r=i(93637),o=i(10107),s=(i(44208),i(53966),i(87811),i(40608)),a=i(89317),l=i(69540),u=i(7762),d=i(25482),p=i(43937),c=i(83960),h=i(13069);const y={write:{overridePolicy:(e,t,i)=>({enabled:!i||"scale"===i.filterMode})}};let m=class extends((0,l.OU)(d.o)){constructor(e){super(e),this.id=(0,h.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],m.prototype,"id",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:y})],m.prototype,"maxScale",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:y})],m.prototype,"minScale",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],m.prototype,"title",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],m.prototype,"where",void 0),m=(0,n.Cg)([(0,s.$)("esri.layers.support.DisplayFilter")],m);var f=i(41560);let g=class extends((0,l.OU)(d.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(u.A.ofType(m)),this.mode="manual"}writeFilters(e,t,i,n){const r=e.toArray();"scale"===this.mode&&r.sort((e,t)=>{const i=(0,c.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===i?n:i}),t[i]=r.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,f.mW)(this,t))}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{overridePolicy:(e,t,i)=>({enabled:"manual"===i.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,o.MZ)({type:u.A.ofType(m),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,n.Cg)([(0,p.K)("filters")],g.prototype,"writeFilters",null),(0,n.Cg)([(0,o.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,n.Cg)([(0,s.$)("esri.layers.support.DisplayFilterInfo")],g);const b=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,o.MZ)(w)],i.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,o.MZ)(_)],i.prototype,"displayFilterInfo",void 0),i=(0,n.Cg)([(0,s.$)("esri.layers.mixins.DisplayFilteredLayer")],i),i},w={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:a.K,writer(e,t,i){(0,r.sM)(i,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},_={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:a.K},origins:{"web-scene":{write:!1,read:!1}}}}},6518:(e,t,i)=>{i.d(t,{F:()=>a});var n=i(44208),r=i(75503),o=i(19419);const s={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new r.wq(9,(0,n.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((i,n)=>{e[t++]=n}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,o.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){s.minX=e[0],s.minY=e[1],s.maxX=e[2],s.maxY=e[3]})(t),e.search(s,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()))}}},8460:(e,t,i)=>{i.d(t,{$C:()=>y,Hh:()=>s,Tu:()=>c,Wg:()=>h,Xq:()=>f,i6:()=>g,pM:()=>p,vJ:()=>m});var n=i(2741);let r,o=null;function s(){return r||(r=i.e(3666).then(i.bind(i,3666)).then(e=>e.l).then(({default:e})=>e({locateFile:e=>(0,n.s)(`esri/libs/linkchartlayout/${e}`)})).then(e=>{!function(e){o=e}(e)}),r)}const a={right:0,left:1,top:2,bottom:3},l={none:0,"start-only":1,"start-and-end":2};function u(e){const t={timeDirection:"right",timeBannerUTCOffsetInMinutes:0,eventsTicksVisualization:"start-and-end",showDurationLineForNonZeroDurationEntityEvents:!0,durationLineWidth:5,entityPositionAtDurationRatio:1,showNonZeroDurationIntervalBounds:!1,separateTimeOverlaps:!0,separateTimelineOverlaps:!0,moveFirstBends:!0,secondBendRatio:.3,lineSeparationMultiplier:1,spaceSeparatedLinesEvenly:!1,useBezierCurves:!1,separatedLineShapeRatio:0,...e?.toJSON(),eventsTicksVisualization:e?.eventsTicksVisualization??"start-and-end"};return{...t,timeDirection:{value:a[t.timeDirection]??a.right},eventsTicksVisualization:{value:l[t.eventsTicksVisualization]??l["start-and-end"]}}}function d(e,t,i,n,r,s){const a=i.length,l=r.length,u=Float64Array.BYTES_PER_ELEMENT,d=Uint32Array.BYTES_PER_ELEMENT,p=Uint8Array.BYTES_PER_ELEMENT,c=16+a*(p+2*u)+l*(2*d),h=o._malloc(c);try{const p=h+16-h%16,c=p+a*u,y=c+a*u,m=y+l*d,f=m+l*d,g=()=>[o.HEAPF64.subarray(p>>3,(p>>3)+a),o.HEAPF64.subarray(c>>3,(c>>3)+a),o.HEAPU32.subarray(y>>2,(y>>2)+l),o.HEAPU32.subarray(m>>2,(m>>2)+l),o.HEAPU8.subarray(f,f+a)],[b,w,_,I,M]=g();b.set(i),w.set(n),_.set(r),I.set(s),M.set(t);const T=e(a,f,p,c,l,y,m);let C=null,v=null;if(0===T.value){const e=o.getLayoutLinksTypes(),t=o.getLayoutLinksVerticesEndIndices(),i=o.getLayoutLinksVertices(),n=o.countLayoutLinksVertices();!l||e&&t?n&&!i?T.value=1:(C={types:new Uint8Array(o.HEAPU8.subarray(e,e+l)),vertexEndIndex:new Uint32Array(o.HEAPU32.subarray(t>>2,(t>>2)+l)),vertices:new Float64Array(o.HEAPF64.subarray(i>>3,(i>>3)+2*n))},v=o.getAuxiliaryGraphicElements()):T.value=1}const[x,E,S,A,N]=g();return i.set(x),n.set(E),r.set(S),s.set(A),t.set(N),{status:T.value,links:C,graphics:v}}finally{o._free(h),o.cleanupLayout()}}var p,c,h,y,m,f,g,b;(b=p||(p={})).getMinIdealEdgeLength=function(){return o.getMinIdealEdgeLength()},b.apply=function(e,t,i,n,r,s,a=2,l=1,u=-1){return d((t,i,n,r,s,d,p)=>o.applyForceDirectedLayout(e,t,i,n,r,s,d,p,a,l,u),t,i,n,r,s)},function(e){e.apply=function(e,t,i,n,r,s,a=2,l=1,u=-1){return d((t,i,n,r,s,d,p)=>o.applyCommunityLayout(e,t,i,n,r,s,d,p,a,l,u),t,i,n,r,s)}}(c||(c={})),function(e){e.apply=function(e,t,i,n,r,s){return d((t,i,n,r,s,a,l)=>o.applySimpleLayout(e,t,i,n,r,s,a,l),t,i,n,r,s)}}(h||(h={})),function(e){e.apply=function(e,t,i,n,r,s){return d((t,i,n,r,s,a,l)=>o.applyHierarchicalLayout(e,t,i,n,r,s,a,l),t,i,n,r,s)}}(y||(y={})),function(e){e.apply=function(e,t,i,n,r,s){return d((t,i,n,r,s,a,l)=>o.applyRadialTreeLayout(e,t,i,n,r,s,a,l),t,i,n,r,s)}}(m||(m={})),function(e){e.apply=function(e,t,i,n,r,s){return d((t,i,n,r,s,a,l)=>o.applySmartTreeLayout(e,t,i,n,r,s,a,l),t,i,n,r,s)}}(f||(f={})),function(e){e.apply=function(e,t,i,n,r,s,a,l,p,c,h,y){return d((t,i,n,a,l,d,m)=>{if(r.length!==t)return{value:1};if(s.length!==t)return{value:1};if(p.length!==l)return{value:1};if(c.length!==l)return{value:1};const f=Float64Array.BYTES_PER_ELEMENT,g=16,b=o._malloc(g+t*f),w=o._malloc(g+t*f),_=o._malloc(g+l*f),I=o._malloc(g+l*f),M=b+g-b%g,T=w+g-w%g,C=_+g-_%g,v=I+g-I%g;try{return o.HEAPF64.subarray(M>>3,(M>>3)+t).set(r),o.HEAPF64.subarray(T>>3,(T>>3)+t).set(s),o.HEAPF64.subarray(C>>3,(C>>3)+l).set(p),o.HEAPF64.subarray(v>>3,(v>>3)+l).set(c),o.applyChronologicalLayout(e,t,i,n,a,M,T,l,d,m,C,v,h,u(y))}finally{o._free(b),o._free(w),o._free(_),o._free(I)}},t,i,n,a,l)}}(g||(g={}))},10184:(e,t,i)=>{i.d(t,{A:()=>p});var n=i(31635),r=i(69540),o=i(25482),s=i(88930),a=i(10107),l=(i(44208),i(53966),i(87811),i(93223)),u=i(40608),d=i(73133);let p=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,s.t)(this.value,this.unit,"milliseconds")}};(0,n.Cg)([(0,l.e)(d.j,{nonNullable:!0})],p.prototype,"unit",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:!0},nonNullable:!0})],p.prototype,"value",void 0),p=(0,n.Cg)([(0,u.$)("esri.time.TimeInterval")],p)},15375:(e,t,i)=>{i.d(t,{BL:()=>l,Cz:()=>r,KQ:()=>o,M1:()=>a,T1:()=>s,dr:()=>n});const n="ESRI__ID",r="ESRI__OriginID",o="ESRI__DestID",s="ESRI__LayoutGeometry",a="ESRI__AggregationCount",l="LC.ESRI__IsSpatial"},17036:(e,t,i)=>{i.d(t,{p:()=>l});var n=i(44208),r=i(53966),o=i(20437),s=i(95466),a=i(30524);function l(){return{fields:{type:[o.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");r.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return s.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const i=this.fieldsIndex?.has(t);i||r.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,a.DB)(this.fieldsIndex,e)}}}}},23150:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(31635),r=i(10107),o=(i(44208),i(53966),i(87811),i(40608)),s=i(82799),a=i(54238);let l=class extends a.A{constructor(e){super(e),this.originId=null,this.destinationId=null,this.layoutGeometry=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"originId",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"destinationId",void 0),(0,n.Cg)([(0,r.MZ)({type:s.A,json:{write:!0}})],l.prototype,"layoutGeometry",void 0),l=(0,n.Cg)([(0,o.$)("esri.rest.knowledgeGraph.Relationship")],l)},24137:(e,t,i)=>{i.d(t,{P:()=>T});var n=i(31635),r=i(65008),o=i(49186),s=i(53966),a=i(91869),l=i(74887),u=i(39516),d=i(10107),p=(i(44208),i(87811),i(40608)),c=i(5443),h=i(39829),y=i(91218),m=i(21325),f=i(15375);const g=(e,t)=>{if("column-reference"===e.type)return e.column===t.systemOidFieldName?"ID(n)":`n.${e.column}`;if("string"===e.type)return`'${e.value}'`;if("number"===e.type)return`${e.value}`;if("binary-expression"===e.type&&t.supportedSqlTypes.has(e.left.type)&&t.supportedSqlTypes.has(e.right.type)&&t.supportedSqlOperators.has(e.operator))return`${g(e.left,t)} ${e.operator} ${g(e.right,t)}`;if("binary-expression"===e.type&&"LIKE"===e.operator){let i="";if("function"===e.left.type&&"column-reference"===e.left.args.value[0].type)i+=`lower(n.${e.left.args.value[0].column})`;else{if("column-reference"!==e.left.type)return t.unsupportedOperationFound=!0,"";i+=`lower(n.${e.left.column})`}if(i+=" CONTAINS (","string"!==e.right.type)return t.unsupportedOperationFound=!0,"";{let t=e.right.value;t.startsWith("%")&&(t=t.slice(1)),t.endsWith("%")&&(t=t.slice(0,-1)),i+=`'${t.toLowerCase()}')`}return i}return t.unsupportedOperationFound=!0,""};var b=i(69860),w=i(30504),_=i(62568),I=i(42538),M=i(61956);let T=class extends r.A{constructor(e){super(e),this._processingCacheUpdatesLookup=new Map,this.knowledgeGraph=null,this.inclusionModeDefinition={generateAllSublayers:!0,namedTypeDefinitions:new Map},this.entityTypeNames=new Set,this.relationshipTypeNames=new Set,this.geographicLookup=new Map,this.sublayerCaches=new Map,this.nodeConnectionsLookup=new Map,this.relationshipConnectionsLookup=new Map,this.memberIdTypeLookup=new Map;const t=new Map;e.knowledgeGraph.dataModel.entityTypes?.forEach(i=>{i.name&&(t.set(i.name,"entity"),this._processingCacheUpdatesLookup.set(i.name,[]),e.inclusionModeDefinition&&!e.inclusionModeDefinition?.generateAllSublayers||this.entityTypeNames.add(i.name),i.properties?.forEach(e=>{e.geometryType&&"esriGeometryNull"!==e.geometryType&&this.geographicLookup.set(i.name,{name:e.name??"",geometryType:e.geometryType})}))}),e.knowledgeGraph.dataModel.relationshipTypes?.forEach(i=>{i.name&&(t.set(i.name,"relationship"),this._processingCacheUpdatesLookup.set(i.name,[]),e.inclusionModeDefinition&&!e.inclusionModeDefinition?.generateAllSublayers||this.relationshipTypeNames.add(i.name),i.properties?.forEach(e=>{e.geometryType&&"esriGeometryNull"!==e.geometryType&&this.geographicLookup.set(i.name,{name:e.name??"",geometryType:e.geometryType})}))}),e.inclusionModeDefinition?.namedTypeDefinitions.forEach((i,n)=>{if("entity"===t.get(n))this.entityTypeNames.add(n);else{if("relationship"!==t.get(n))return s.A.getLogger(this).warn(`A named type, ${n}, was in the inclusion list that wasn't in the data model and will be removed`),void e.inclusionModeDefinition?.namedTypeDefinitions.delete(n);this.relationshipTypeNames.add(n)}const r=new Map;i.members?.forEach(e=>{(0,a.tE)(this.memberIdTypeLookup,e.id,()=>new Set).add(n)}),this.sublayerCaches.set(n,r)})}addToLayer(e){e.forEach(({typeName:e,id:t})=>{if(!this.inclusionModeDefinition)throw new o.A("knowledge-graph:layer-data-manager","You cannot add to a layer's exclusion list if it was not created with an exclusion list originally");if(this.inclusionModeDefinition.namedTypeDefinitions.has(e)){if(this.inclusionModeDefinition.namedTypeDefinitions.has(e)){const i=this.inclusionModeDefinition.namedTypeDefinitions.get(e);i.members||(i.members=new Map),i.members.set(t,{id:t}),(0,a.tE)(this.memberIdTypeLookup,t,()=>new Set).add(e)}}else{const i=new Map;i.set(t,{id:t}),this.inclusionModeDefinition.namedTypeDefinitions.set(e,{useAllData:!1,members:i}),(0,a.tE)(this.memberIdTypeLookup,t,()=>new Set).add(e)}})}getById(e){return b.A.getInstance().readFromStoreById(e)}async getData(e,t,i){if(t.objectType.name&&this.inclusionModeDefinition?.namedTypeDefinitions&&this.inclusionModeDefinition.namedTypeDefinitions.size>0&&!this.inclusionModeDefinition.namedTypeDefinitions.has(t.objectType.name))return[];let n;if(n=e||new M.A({where:"1=1",outFields:["*"]}),"link-chart"===t.parentCompositeLayer.type){const e=t.parentCompositeLayer,i=this._processingCacheUpdatesLookup.get(t.objectType.name??""),r=n.outFields;r&&1===r.length&&r[0]===f.dr&&"1=1"===n.where||await Promise.all(i??[]);const o=this.sublayerCaches.has(t.objectType.name??"")?Array.from(this.sublayerCaches.get(t.objectType.name)?.values()):[],s=[];return o.forEach(i=>{if(this.relationshipTypeNames.has(t.objectType.name)){i.geometry=e.relationshipLinkChartDiagramLookup.get(i.attributes[t.objectIdField]);const n=this.memberIdTypeLookup.get(i.attributes[f.Cz]),r=this.memberIdTypeLookup.get(i.attributes[f.KQ]),o=this._isEndEntitySpatial(n,i,f.Cz),s=this._isEndEntitySpatial(r,i,f.KQ);i.attributes[f.BL]=Number(o&&s)}else{i.geometry=e.entityLinkChartDiagramLookup.get(i.attributes[t.objectIdField]);const n=this.geographicLookup.get(t.objectType.name);n&&i.attributes[n.name]?i.attributes[f.BL]=1:i.attributes[f.BL]=0}i.attributes[f.T1]=i.geometry,s.push(i)}),s}return this.retrieveDataFromService(n,t,i)}async getConnectedRecordIds(e,t,i){const n=[];let r="";const o=this._getNamedTypeIdMapFromNodeIds(e);if(t&&0!==t?.length){for(const e of t)r=r+e+"|";r=r.slice(0,-1)}const s={},a=[];for(const[e,i]of o){const n=`${e}_ids`;s[n]=i,t&&0!==t?.length?a.push(`MATCH (n:${e}) WHERE id(n) IN $${n} WITH n MATCH (n)-[r:${r}]-(m) RETURN id(r), type(r), id(m), labels(m)[0]`):a.push(`MATCH (n:${e}) WHERE id(n) IN $${n} WITH n MATCH (n)-[r]-(m) RETURN id(r), type(r), id(m), labels(m)[0]`)}if(!a.length)return n;const l=a.join(" UNION "),u=(await(0,_.executeQueryStreaming)(this.knowledgeGraph,new I.A({openCypherQuery:l,bindParameters:s}),{signal:i?.signal})).resultRowsStream.getReader();for(;;){const{done:e,value:t}=await u.read();if(e)break;for(let e=0;e<t.length;e++){const i=t[e];n.push({id:i[0],typeName:i[1]}),n.push({id:i[2],typeName:i[3]})}}return n}async getRelationshipsBetweenNodes(e,t,i){const n=this._getNamedTypeIdMapFromNodeIds(e);if(0===n.size)return[];const r={relationshipExclusionIds:t,possibleConnectionEntityIds:e},o=[];for(const[e,t]of n.entries()){const i=`${e}_ids`;r[i]=t,o.push(`MATCH (n:${e}) WHERE id(n) IN $${i} WITH n MATCH (n)-[r]->(m) WHERE id(m) IN $possibleConnectionEntityIds AND NOT id(r) IN $relationshipExclusionIds RETURN id(r), type(r)`)}const s=o.join(" UNION "),a=[],l=(await(0,_.executeQueryStreaming)(this.knowledgeGraph,new I.A({openCypherQuery:s,bindParameters:r}),{signal:i?.signal})).resultRowsStream.getReader();for(;;){const{done:e,value:t}=await l.read();if(e)break;for(let e=0;e<t.length;e++){const i=t[e];a.push({id:i[0],typeName:i[1]})}}return a}async getRelationshipsFromNodes(e,t,i,n){const r=this._getNamedTypeIdMapFromNodeIds(e);if(0===r.size||0===t.length)return[];const o={relationshipExclusionIds:i,possibleConnectionEntityIds:t},s=[];for(const[e,t]of r.entries()){const i=`${e}_ids`;o[i]=t,s.push(`MATCH (n:${e}) WHERE id(n) IN $${i} WITH n MATCH (n)-[r]-(m) WHERE id(m) IN $possibleConnectionEntityIds AND NOT id(r) IN $relationshipExclusionIds RETURN id(r), type(r)`)}const a=s.join(" UNION "),l=new Map,u=(await(0,_.executeQueryStreaming)(this.knowledgeGraph,new I.A({openCypherQuery:a,bindParameters:o}),{signal:n?.signal})).resultRowsStream.getReader();for(;;){const{done:e,value:t}=await u.read();if(e)break;for(let e=0;e<t.length;e++){const i=t[e];let n=l.get(i[1]);n||(n=new Set,l.set(i[1],n)),n.add(i[0])}}const d=[];for(const[e,t]of l)for(const i of t)d.push({id:i,typeName:e});return d}async refreshCacheContent(e,t,i,n=!0,r){const s=b.A.getInstance(),u=[],d=new Map,p=new Map;this.knowledgeGraph.dataModel.entityTypes?.forEach(e=>{e.name&&p.set(e.name,e)}),this.knowledgeGraph.dataModel.relationshipTypes?.forEach(e=>{e.name&&p.set(e.name,e)}),e||this.inclusionModeDefinition?e?e.forEach(e=>{if(this.memberIdTypeLookup.has(e))for(const t of this.memberIdTypeLookup.get(e))d.has(t)?d.get(t)?.push(e):d.set(t,[e])}):this.inclusionModeDefinition?.namedTypeDefinitions?.forEach((e,t)=>{e.useAllData?d.set(t,null):e.members&&e.members.forEach(e=>{d.has(t)&&null!==d.get(t)?d.get(t)?.push(e.id):d.set(t,[e.id])})}):(this.knowledgeGraph.dataModel.entityTypes?.forEach(e=>{e.name&&d.set(e.name,null)}),this.knowledgeGraph.dataModel.entityTypes?.forEach(e=>{e.name&&d.set(e.name,null)}));for(const[e,l]of d){const d=new Set(l),c=new Promise((u,c)=>{(async()=>{const u=new Set,c=[];let h,y="",m=!1;if(t||p.get(e)?.properties?.forEach(e=>{e.name&&u.add(e.name)}),i&&this.geographicLookup.has(e)){const t=this.geographicLookup.get(e)?.name;t&&u.add(t)}if(this.entityTypeNames.has(e))y=`MATCH (n:${e}) ${l?"WHERE id(n) IN $ids ":""}return ID(n)`,u.forEach(e=>{y+=`, n.${e}`,c.push(e)});else{if(!this.relationshipTypeNames.has(e))throw new o.A("knowledge-graph:layer-data-manager",`The graph type of ${e} could not be determined. Was this type set in the KG data model and inclusion definition?`);m=!0,y=`MATCH ()-[n:${e}]->() ${l?"WHERE id(n) IN $ids ":""}return ID(n), id(startNode(n)), id(endNode(n))`,u.forEach(e=>{y+=`, n.${e}`,c.push(e)})}h=new I.A(l?{openCypherQuery:y,bindParameters:{ids:l}}:{openCypherQuery:y});const g=(await(0,_.executeQueryStreaming)(this.knowledgeGraph,h,{signal:r?.signal})).resultRowsStream.getReader();for(;;){const{done:t,value:i}=await g.read();if(t)break;const r=[];for(let e=0;e<i.length;e++){const t=i[e];let n=0,o=0;const s={properties:{}};for(s.id=t[n],n++,o++,m&&(s.originId=t[n],n++,o++,s.destinationId=t[n],n++,o++,(0,a.tE)(this.nodeConnectionsLookup,s.originId,()=>new Set).add(s.id),(0,a.tE)(this.nodeConnectionsLookup,s.destinationId,()=>new Set).add(s.id),(0,a.tE)(this.relationshipConnectionsLookup,s.id,()=>[s.originId,s.destinationId]));n<t.length;n++)s.properties[c[n-o]]=t[n];d.delete(s.id),r.push(s)}const o=s.writeToStore(r,f.dr,this.geographicLookup.get(e)?.name);this.sublayerCaches.has(e)||this.sublayerCaches.set(e,new Map),n&&!this.inclusionModeDefinition?.namedTypeDefinitions.has(e)&&this.inclusionModeDefinition?.namedTypeDefinitions.set(e,{useAllData:!1,members:new Map}),n&&!this.inclusionModeDefinition?.namedTypeDefinitions.get(e).members&&(this.inclusionModeDefinition.namedTypeDefinitions.get(e).members=new Map);const l=this.sublayerCaches.get(e);o.forEach(t=>{l?.set(t.attributes[f.dr],t),n&&!this.inclusionModeDefinition?.namedTypeDefinitions.get(e).members.has(t.attributes[f.dr])&&(this.inclusionModeDefinition?.namedTypeDefinitions.get(e).members.set(t.attributes[f.dr],{id:t.attributes[f.dr]}),(0,a.tE)(this.memberIdTypeLookup,t.attributes[f.dr],()=>new Set).add(e))})}const b=this.inclusionModeDefinition?.namedTypeDefinitions.get(e);if(b)for(const e of d)b.members?.delete(e)})().then(()=>{u(null)}).catch(e=>{"AbortError"===e.name?u(null):c(e)})});u.push(c),this._processingCacheUpdatesLookup.get(e)?.push(c)}if(await Promise.all(u),r?.signal?.aborted)throw(0,l.NK)()}removeFromLayer(e){const t=new Set,i=new Set(e.map(e=>e.id));for(const i of e)t.add(i.typeName),1===this.memberIdTypeLookup.get(i.id)?.size?this.memberIdTypeLookup.delete(i.id):this.memberIdTypeLookup.get(i.id)?.delete(i.typeName),this.inclusionModeDefinition?.namedTypeDefinitions.forEach((e,t)=>{t===i.typeName&&e.members?.has(i.id)&&e.members.delete(i.id)});t.forEach(e=>{this.sublayerCaches.get(e)?.forEach((t,n)=>{i.has(n)&&this.sublayerCaches.get(e)?.delete(n)})})}async retrieveDataFromService(e,t,i){const n=b.A.getInstance(),r=new Set,s=[];let a,l="",d=[];const p="relationship"===t.graphType,M=this.inclusionModeDefinition?.namedTypeDefinitions?.get(t.objectType.name)?.useAllData,T=t.parentCompositeLayer.sublayerIdsCache.get(t.objectType.name);let C=!M&&T?Array.from(T).sort():null;if(this.inclusionModeDefinition?.namedTypeDefinitions?.get(t.objectType.name)?.useAllData)this.inclusionModeDefinition?.namedTypeDefinitions?.get(t.objectType.name)?.useAllData&&null!=e.objectIds&&(C=e.objectIds);else if(null!=e.objectIds&&C&&C.length>0){const t=e.objectIds;e.objectIds=C.filter(e=>t.includes(e))}else if(null!=e.objectIds)C=e.objectIds;else{if(this.inclusionModeDefinition?.namedTypeDefinitions.has(t.objectType.name)&&(!this.inclusionModeDefinition.namedTypeDefinitions.get(t.objectType.name)?.members||this.inclusionModeDefinition.namedTypeDefinitions.get(t.objectType.name)?.members?.size<1))return e.objectIds=[],[];e.objectIds=C}if(null!=e.outFields){const i=e.outFields;i.includes("*")?t.fields.forEach(e=>{r.add(e.name)}):i.forEach(e=>{e!==f.dr&&e!==t.geometryFieldName&&r.add(e)})}if(null!=e.geometry){const i=e.geometry;let n;const d=t.parentCompositeLayer.dataManager.knowledgeGraph.serviceDefinition,f=d?.spatialReference,g=d?.serviceCapabilities?.geometryCapabilities;let b=g?.geometryMaxBoundingRectangleSizeX,_=g?.geometryMaxBoundingRectangleSizeY;if("point"===i.type){let e=i;e.spatialReference?.isWGS84||(await(0,y.initializeProjection)(e.spatialReference,m.KK),e=(0,y.project)(e,m.KK)),n=new c.A({spatialReference:m.KK,xmin:e.x-1e-4,ymin:e.y-1e-4,xmax:e.x+1e-4,ymax:e.y+1e-4})}else i?.extent?.spatialReference&&!i.spatialReference?.isWGS84?(await(0,y.initializeProjection)(i.extent.spatialReference,m.KK),n=(0,y.project)(i.extent,m.KK)):n=i.extent;if(b&&_&&f){if(4326!==f.wkid){const e=new c.A({spatialReference:f,xmax:b,ymax:_}),t=(0,y.project)(e,m.KK);b=t.xmax,_=t.ymax}if(n.xmax-n.xmin>b)throw new o.A("knowledge-graph:layer-data-manager",`Extent x bounds should be within ${b}° latitude, limit exceeded`);if(n.ymax-n.ymin>_)throw new o.A("knowledge-graph:layer-data-manager",`Extent y bounds should be within ${_}° longitude, limit exceeded`)}if(null!=e.where&&"1=1"!==e.where){const i=await(0,u.GP)(e.where.toUpperCase(),t.fieldsIndex);t.fields.forEach(e=>{i.fieldNames.includes(e.name)&&r.add(e.name)})}l=p?`Match ()-[n:${t.objectType.name}]->() WHERE esri.graph.ST_Intersects($param_filter_geom, n.${t.geometryFieldName}) return ID(n), id(startNode(r)), id(endNode(r))`:`Match (n:${t.objectType.name}) WHERE esri.graph.ST_Intersects($param_filter_geom, n.${t.geometryFieldName}) return ID(n)`,t.geometryFieldName&&r.add(t.geometryFieldName),r.forEach(e=>{l+=`, n.${e}`,s.push(e)}),a=new I.A({openCypherQuery:l,bindParameters:{param_filter_geom:new h.A({rings:(0,w.Wq)(n)})}})}else{let i="";if(null!=e.where&&"1=1"!==e.where){const n=await(0,u.GP)(e.where,t.fieldsIndex);t.fields.forEach(e=>{n.fieldNames.includes(e.name)&&r.add(e.name)});const o={systemOidFieldName:f.dr,supportedSqlTypes:new Set(["column-reference","string","number","binary-expression"]),supportedSqlOperators:new Set(["=","<","<=","<>",">",">=","AND","OR","LIKE"]),unsupportedOperationFound:!1};i=g(n.parseTree,o),o.unsupportedOperationFound&&(i="")}let n="";n=p?`Match ()-[n:${t.objectType.name}]->()`:`Match (n:${t.objectType.name})`;let o=!1;C&&(o=!0,n+=" WHERE ID(n) IN $ids"),i&&(n+=o?" AND":" WHERE",n+=` ${i}`),n+=" return ID(n)",p&&(n+=", id(startNode(n)), id(endNode(n))"),e.returnGeometry&&t.geometryFieldName&&r.add(t.geometryFieldName),r.forEach(e=>{n+=`, n.${e}`,s.push(e)}),a=new I.A(C?{openCypherQuery:n,bindParameters:{ids:C}}:{openCypherQuery:n})}const v=(await(0,_.executeQueryStreaming)(t.parentCompositeLayer.dataManager.knowledgeGraph,a,i)).resultRowsStream.getReader();for(;;){const{done:e,value:i}=await v.read();if(e)break;const r=[];for(let e=0;e<i.length;e++){const t=i[e];let n=0,o=0;const a={properties:{}};for(a.id=t[n],n++,o++,p&&(a.originId=t[n],n++,o++,a.destinationId=t[n],n++,o++);n<t.length;n++)a.properties[s[n-o]]=t[n];r.push(a)}d=d.concat(n.writeToStore(r,f.dr,t.parentCompositeLayer.dataManager.geographicLookup.get(t.objectType.name)?.name))}return d}_isEndEntitySpatial(e,t,i){for(const n of e??[])if(this.entityTypeNames.has(n)){const e=this.geographicLookup.get(n),r=e&&this.sublayerCaches.get(n)?.get(t.attributes[i]);if(e&&r?.attributes[e.name])return!0}return!1}_getNamedTypeIdMapFromNodeIds(e){const t=new Map;return e.forEach(e=>{if(this.memberIdTypeLookup.has(e))for(const i of this.memberIdTypeLookup.get(e)){if(!this.entityTypeNames.has(i))return;t.has(i)?t.get(i)?.push(e):t.set(i,[e])}}),t}};(0,n.Cg)([(0,d.MZ)()],T.prototype,"knowledgeGraph",void 0),(0,n.Cg)([(0,d.MZ)()],T.prototype,"inclusionModeDefinition",void 0),(0,n.Cg)([(0,d.MZ)()],T.prototype,"entityTypeNames",void 0),(0,n.Cg)([(0,d.MZ)()],T.prototype,"relationshipTypeNames",void 0),(0,n.Cg)([(0,d.MZ)()],T.prototype,"geographicLookup",void 0),(0,n.Cg)([(0,d.MZ)()],T.prototype,"sublayerCaches",void 0),(0,n.Cg)([(0,d.MZ)()],T.prototype,"nodeConnectionsLookup",void 0),(0,n.Cg)([(0,d.MZ)()],T.prototype,"relationshipConnectionsLookup",void 0),(0,n.Cg)([(0,d.MZ)()],T.prototype,"memberIdTypeLookup",void 0),T=(0,n.Cg)([(0,p.$)("esri.layers.knowledgeGraph.KnowledgeGraphLayerDataManager")],T)},25927:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(31635),r=i(10107),o=(i(44208),i(53966),i(87811),i(40608)),s=i(86738),a=i(54238);let l=class extends a.A{constructor(e){super(e),this.layoutGeometry=null}};(0,n.Cg)([(0,r.MZ)({type:s.A,json:{write:!0}})],l.prototype,"layoutGeometry",void 0),l=(0,n.Cg)([(0,o.$)("esri.rest.knowledgeGraph.Entity")],l)},30504:(e,t,i)=>{i.d(t,{k5:()=>u,aq:()=>l,Wq:()=>d}),i(52106);var n=i(49186),r=(i(86738),i(39829),i(82799),i(94194),i(69860),i(8460),i(66552));(0,r.O)()({none:"none",startAndEnd:"start-and-end",startOnly:"start-only"}),(0,r.O)()({absoluteValue:"absolute-value",multiplier:"multiplier"});const o=new Map([["basic-grid","basic-grid"],["geographic-organic-standard","geographic-organic-standard"],["hierarchical-bottom-to-top","hierarchical-bottom-to-top"],["hierarchical-top-to-bottom","hierarchical-bottom-to-top"],["organic-community","organic-community"],["organic-fusiform","organic-standard"],["organic-leaf-circle","organic-standard"],["organic-standard","organic-standard"],["radial-node-centric","radial-root-centric"],["radial-root-centric","radial-root-centric"],["tree-bottom-to-top","tree-left-to-right"],["tree-left-to-right","tree-left-to-right"],["tree-right-to-left","tree-left-to-right"],["tree-top-to-bottom","tree-left-to-right"],["chronological-mono-timeline","chronological-mono-timeline"],["chronological-multi-timeline","chronological-multi-timeline"]]);var s=i(62568),a=i(42538);async function l(e,t,i){const n=[],r=function(e,t){const i=new Map;if(t.dataModel?.relationshipTypes)for(const e of t.dataModel.relationshipTypes)e.name&&i.set(e.name,[]);for(const t of e)i.has(t.typeName)&&i.get(t.typeName)?.push(t.id);return i}(e,t),o={},l=[];for(const[e,t]of r){if(t.length<1)continue;const i=`${e}_ids`;o[i]=t,l.push(`MATCH (n)-[r:${e}]->(m) WHERE id(r) in $${i} RETURN id(n), labels(n)[0], id(m), labels(m)[0]`)}if(0===l.length)return[];const u=l.join(" UNION "),d=new a.A({openCypherQuery:u,bindParameters:o}),p=(await(0,s.executeQueryStreaming)(t,d,i?.requestOptions)).resultRowsStream.getReader();for(;;){const{done:e,value:t}=await p.read();if(e)break;for(const e of t)n.push({id:e[0],typeName:e[1]}),n.push({id:e[2],typeName:e[3]})}return n}i(40863),i(94985),i(68249);const u=e=>o.get(e)??"radial-root-centric";function d(e){if(!e.spatialReference.isWGS84)throw new n.A("knowledge-graph:layer-support-utils","The utilsExtentToInBoundsRings function only supports WGS84 spatial references.");return e.clone().normalize().map(e=>[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]])}},37531:(e,t,i)=>{i.d(t,{dt:()=>c,GG:()=>g,UQ:()=>f,Sx:()=>d});var n=i(68197),r=i(60999),o=(i(44208),i(51850)),s=(i(76369),i(62046)),a=(i(2741),i(78888),i(66344));new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),new a.q(1e3),new n.A([128,128,128]);var l=i(28975),u=i(33910);function d(e,t){if(!e)return null;let i=null;return(0,u.wk)(e)?i=function(e){const t=e.symbolLayers;if(!t)return null;let i=null;return t.forEach(e=>{"object"===e.type&&e.resource?.href||(i="water"===e.type?e.color:e.material?e.material.color:null)}),i?new n.A(i):null}(e):(0,u.$y)(e)&&(i="cim"===e.type?(0,s.Nk)(e):e.color?new n.A(e.color):null),i?p(i,t):null}function p(e,t){if(null==t||null==e)return e;const i=e.toRgba();return i[3]=i[3]*t,new n.A(i)}function c(e,t,i){e&&(t||null!=i)&&(t&&(t=new n.A(t)),(0,u.wk)(e)?function(e,t,i){const r=e.symbolLayers;if(!r)return;const o=(e,r=!1)=>{let o=t??e??null;return null!=i?.override&&(!o&&r&&(o=new n.A([255,255,255])),o&&(o.a=i.override)),p(o,i?.add)};r.forEach(e=>{if("water"===e.type)return void(e.color=p(e.color,i?.add));const t=null!=e.material?e.material.color:null,n=o(t,"icon"===e.type&&null!=e.resource?.href);null==e.material?e.material=new l.N({color:n}):e.material.color=n,"outline"in e&&e.outline?.color&&null!=i?.add&&(e.outline.color=p(e.outline.color,i.add)),"marker"in e&&null!=e.marker&&(e.marker.color=o(e.marker.color))})}(e,t,i):(0,u.$y)(e)&&function(e,t,i){t=t??e.color,null!=i?.override&&t&&(t.a=i.override),t&&(e.color=p(t,i?.add)),"outline"in e&&e.outline?.color&&(e.outline.color=p(e.outline.color,i?.add))}(e,t,i))}function h(e){for(const t of e)if("number"==typeof t)return t;return null}function y(e,t,i){for(let n=0;n<3;n++){const r=e[n];switch(r){case"symbol-value":{const e=i[n];return null!=e?e/t[n]:1}case"proportional":break;default:if(r&&t[n])return r/t[n]}}return null}function m(e,t,i,n){switch(e){case"proportional":return i*n;case"symbol-value":return null!=t?t:i;default:return e}}async function f(e,t){if(e&&t)return(0,u.wk)(e)?async function(e,t){const n=e.symbolLayers;n&&await(0,r.jJ)(n,async e=>async function(e,t){switch(e.type){case"extrude":!function(e,t){const i=t[2];"number"==typeof i&&(e.size=i)}(e,t);break;case"icon":case"line":case"text":!function(e,t){const i=h(t);null!=i&&(e.size=i)}(e,t);break;case"path":!function(e,t){const i=y(t,o.Un,[e.width,void 0,e.height]);null!=i&&(e.width=m(t[0],e.width,1,i),e.height=m(t[2],e.height,1,i))}(e,t);break;case"object":await async function(e,t){const{resourceSize:n,symbolSize:r}=await async function(e){const{computeObjectLayerResourceSize:t}=await i.e(5404).then(i.bind(i,95404)),n=await t(e,10),{width:r,height:o,depth:s}=e,a=[r,s,o];let l=1;for(let e=0;e<3;e++){const t=a[e];if(null!=t){l=t/n[e];break}}for(let e=0;e<3;e++)null==a[e]&&(a[e]=n[e]*l);return{resourceSize:n,symbolSize:a}}(e),o=y(t,n,r);null!=o&&(e.width=m(t[0],r[0],n[0],o),e.depth=m(t[1],r[1],n[1],o),e.height=m(t[2],r[2],n[2],o))}(e,t)}}(e,t))}(e,t):void((0,u.$y)(e)&&function(e,t){const i=h(t);if(null!=i)switch(e.type){case"simple-marker":e.size=i;break;case"picture-marker":{const t=e.width/e.height;t>1?(e.width=i,e.height=i*t):(e.width=i*t,e.height=i);break}case"simple-line":e.width=i;break;case"text":e.font.size=i}}(e,t))}function g(e,t,i){if(e&&null!=t)if((0,u.wk)(e)){const n=e.symbolLayers;n&&n.forEach(e=>{if("object"===e.type)switch(i){case"tilt":e.tilt=(e.tilt??0)+t;break;case"roll":e.roll=(e.roll??0)+t;break;default:e.heading=(e.heading??0)+t}"icon"===e.type&&(e.angle+=t)})}else(0,u.$y)(e)&&("simple-marker"!==e.type&&"picture-marker"!==e.type&&"text"!==e.type||(e.angle+=t))}},37730:(e,t,i)=>{i.d(t,{T:()=>r});var n=i(43334);const r={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t)=>new n.Om(t,e.attributes,null,e.objectId),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)}},40662:(e,t,i)=>{i.d(t,{A:()=>s});var n=i(31635),r=(i(53966),i(44208),i(87811),i(49186),i(40608)),o=i(77901);let s=class extends o.A{constructor(e){super(e)}};s=(0,n.Cg)([(0,r.$)("esri.rest.knowledgeGraph.ObjectValue")],s)},42095:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(31635),r=i(25482),o=i(10107),s=(i(44208),i(53966),i(87811),i(40608)),a=i(77901);let l=class extends r.o{constructor(e){super(e),this.path=[]}};(0,n.Cg)([(0,o.MZ)({type:[a.A],json:{write:!0}})],l.prototype,"path",void 0),l=(0,n.Cg)([(0,s.$)("esri.rest.knowledgeGraph.Path")],l)},42538:(e,t,i)=>{i.d(t,{A:()=>u});var n=i(31635),r=i(10107),o=(i(44208),i(53966),i(87811),i(40608)),s=i(16930),a=i(65008);let l=class extends a.A{constructor(e){super(e),this.openCypherQuery=""}};(0,n.Cg)([(0,r.MZ)()],l.prototype,"openCypherQuery",void 0),l=(0,n.Cg)([(0,o.$)("esri.rest.knowledgeGraph.GraphQuery")],l);let u=class extends l{constructor(e){super(e),this.bindParameters=null,this.bindGeometryQuantizationParameters=null,this.outputQuantizationParameters=null,this.outputSpatialReference=null,this.provenanceBehavior=null}};(0,n.Cg)([(0,r.MZ)()],u.prototype,"bindParameters",void 0),(0,n.Cg)([(0,r.MZ)()],u.prototype,"bindGeometryQuantizationParameters",void 0),(0,n.Cg)([(0,r.MZ)()],u.prototype,"outputQuantizationParameters",void 0),(0,n.Cg)([(0,r.MZ)({type:s.A})],u.prototype,"outputSpatialReference",void 0),(0,n.Cg)([(0,r.MZ)()],u.prototype,"provenanceBehavior",void 0),u=(0,n.Cg)([(0,o.$)("esri.rest.knowledgeGraph.GraphQueryStreaming")],u)},54238:(e,t,i)=>{i.d(t,{A:()=>a});var n=i(31635),r=i(10107),o=(i(44208),i(53966),i(87811),i(40608)),s=i(77901);let a=class extends s.A{constructor(e){super(e),this.typeName=null,this.id=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],a.prototype,"typeName",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],a.prototype,"id",void 0),a=(0,n.Cg)([(0,o.$)("esri.rest.knowledgeGraph.GraphNamedObject")],a)},62046:(e,t,i)=>{i.d(t,{Fe:()=>d,Nk:()=>o});var n=i(68197),r=i(93397);function o(e){const t=[];return s((0,r.lW)(e),t),t.length?new n.A((0,r.e6)(t[0])):null}function s(e,t){if(!e)return;let i;i="CIMTextSymbol"===e.type?e.symbol:e;const n="CIMPolygonSymbol"===e.type;if(i?.symbolLayers)for(const e of i.symbolLayers)if(!(e.colorLocked||n&&((0,r.mA)(e)||(0,r.MM)(e)&&e.markerPlacement&&(0,r.zr)(e.markerPlacement))))switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor&&a(t,e.tintColor);break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{s(e.symbol,t)});break;case"CIMSolidStroke":case"CIMSolidFill":a(t,e.color);break;case"CIMGradientFill":l(t,e);break;case"CIMHatchFill":s(e.lineSymbol,t)}}function a(e,t){for(const i of e)if(i.join(".")===t.join("."))return;e.push(t)}function l(e,t){const i=t.colorRamp?.type;switch(i){case"CIMMultipartColorRamp":t.colorRamp.colorRamps?.forEach(t=>{"CIMLinearContinuousColorRamp"===t.type&&u(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":u(e,t.colorRamp)}}function u(e,t){t&&(t.fromColor&&a(e,t.fromColor),t.toColor&&a(e,t.toColor))}function d(e,t,i){t instanceof n.A||(t=new n.A(t));const o=(0,r.lW)(e);o&&p(o,t,i)}function p(e,t,i){if(!e)return;let n;n="CIMTextSymbol"===e.type?e.symbol:e;const o="CIMPolygonSymbol"===n?.type;if(n?.symbolLayers)for(const e of n.symbolLayers){if(e.colorLocked)continue;if(o)if(i){const{layersToColor:t}=i;if(((0,r.mA)(e)||(0,r.MM)(e)&&e.markerPlacement&&(0,r.zr)(e.markerPlacement))&&"fill"===t||(0,r.jn)(e)&&"outline"===t)continue}else if((0,r.mA)(e)||(0,r.MM)(e)&&e.markerPlacement&&(0,r.zr)(e.markerPlacement))continue;const n=t.toArray();switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor=n;break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{p(e.symbol,t,i)});break;case"CIMSolidStroke":case"CIMSolidFill":e.color=n;break;case"CIMGradientFill":c(e,t);break;case"CIMHatchFill":p(e.lineSymbol,t,i)}}}function c(e,t){const i=e.colorRamp?.type;switch(i){case"CIMMultipartColorRamp":e.colorRamp.colorRamps?.forEach(e=>{"CIMLinearContinuousColorRamp"===e.type&&h(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":h(e.colorRamp,t)}}function h(e,t){if(e&&(e.fromColor&&(e.fromColor=t.toArray()),e.toColor)){const i=t.clone();i.a=0,e.toColor=i.toArray()}}},62796:(e,t,i)=>{i.d(t,{A:()=>pe});var n=i(31635),r=i(37838),o=i(4718),s=i(53966),a=i(92071),l=(i(29953),i(10107)),u=(i(44208),i(40608)),d=i(43937),p=i(5443),c=i(86738),h=i(39829),y=i(82799),m=i(91218),f=i(16930),g=i(21325),b=i(50498),w=i(55156),_=i(60950),I=i(89808),M=i(99959);const T=Symbol("isKnowledgeGraphGraphicOriginSymbol");var C;class v extends M.A{get[(C=T,_.ym)](){return this.sublayer}get[w.e](){return this.sublayer}get[I.Q](){return this.sublayer}constructor(e,t){super(),this[C]=!0,this.type="knowledge-graph",this.layer=e,this.sublayer=t}get id(){return this.layer.id}}const x=Symbol("isLinkChartGraphicOriginSymbol");var E;class S extends M.A{get[(E=x,I.Q)](){return this.layer}constructor(e,t){super(),this[E]=!0,this.type="link-chart",this.layer=e,this.sublayer=t}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var A=i(4146),N=i(83221),k=i(56390),L=i(64714),F=i(15375);i(87811);const j=(0,i(17036).p)(),D=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.fields=[],this.fieldsIndex=null}};return(0,n.Cg)([(0,l.MZ)(j.fields)],i.prototype,"fields",void 0),(0,n.Cg)([(0,l.MZ)(j.fieldsIndex)],i.prototype,"fieldsIndex",void 0),i=(0,n.Cg)([(0,u.$)("esri.layers.knowledgeGraph.KnowledgeGraphSublayerBase")],i),i};var O=i(85342),R=i(63074),B=i(6455),Z=i(87718),$=i(56658),P=i(32756),G=i(54310),q=i(25036),U=i(82935),z=i(10873),Q=i(13213),Y=i(20437),H=i(30524),W=i(46499),X=i(39383),J=i(96184),V=i(96576),K=i(65494),ee=i(41214),te=i(22671),ie=i(61956),ne=i(30291),re=i(37531),oe=i(61322);function se(e){if(!e.json)return e;e.json.write=ae(e.json.write);const t=e.json.origins;if(!t)return e;let i;for(i in t){const e=t[i];e&&(e.write=ae(e.write))}return e}function ae(e){return"object"==typeof e&&e?(!1!==e.enabled&&(e.overridePolicy=function(e){const{target:t,writer:i,overridePolicy:n,...r}=e;return function(e,t){const i=ue.call(this,e,t);return i.enabled?{...r,...i}:i}}(e)),e):!0===e?le():e}function le(){return{overridePolicy:ue}}function ue(e,t){const i=!!this.geometryType;let n={enabled:i};return i&&(n={...n,...de.call(this,e,t)}),n}function de(e,t){return{ignoreOrigin:this.originIdOf(t)>0}}let pe=class extends(D((0,B.FJ)((0,$.J)((0,Z.F)((0,R.dM)((0,P.fY)((0,U.e)((0,q.j)((0,G.J)((0,a.P)(A.A))))))))))){constructor(e){super(e),this.blendMode="normal",this.capabilities=(0,L.f)(!1,!0),this.charts=null,this.definitionExpression=null,this.displayField="",this.displayFilterEnabled=!0,this.displayFilterInfo=null,this.effect=null,this.elevationInfo=null,this.featureEffect=null,this.graphType=null,this.labelsVisible=!0,this.layerType=null,this.legendEnabled=!0,this.maxScale=0,this.minScale=0,this.objectIdField=F.dr,this.objectType=null,this.opacity=1,this.orderBy=null,this.parent=null,this.parentCompositeLayer=null,this.persistenceEnabled=!0,this.popupEnabled=!0,this.popupTemplate=null,this.refreshInterval=0,this.source={openPorts:()=>this.load().then(()=>{const e=new MessageChannel;return new oe.default(e.port1,{channel:e,client:{queryFeatures:(e,t={})=>{const i=ie.A.fromJSON(e);return this.queryFeaturesJSON(i,t)}}}),[e.port2]})},this.type="knowledge-graph-sublayer",this.useViewTime=!0,this.visible=!0}get userHasUpdateItemPrivileges(){return!!this.parent?.userHasUpdateItemPrivileges}get defaultPopupTemplate(){return this.createPopupTemplate()}set featureReduction(e){const t=this._normalizeFeatureReduction(e);this._set("featureReduction",t)}get fields(){const e=[];return this.objectType?.properties?.forEach(t=>{const i="esriFieldTypeOID"===t.fieldType?"esriFieldTypeInteger":t.fieldType;e.push(Y.A.fromJSON({name:t.name,type:i,alias:t.alias,defaultValue:t.defaultValue,editable:t.editable,nullable:t.nullable}))}),e.push(Y.A.fromJSON({name:this.objectIdField,type:"esriFieldTypeString",alias:this.objectIdField,editable:!1}),Y.A.fromJSON({name:F.M1,type:"esriFieldTypeInteger",alias:F.M1,editable:!1}),Y.A.fromJSON({name:F.BL,type:"esriFieldTypeInteger",alias:F.BL,editable:!1})),e}get geometryType(){if("link-chart"===this.parentCompositeLayer?.type)return"relationship"===this.graphType?"polyline":"point";const e=this.parentCompositeLayer?.dataManager.geographicLookup.get(this.objectType?.name),t=e?.geometryType;return t&&"esriGeometryNull"!==t?b.gy.fromJSON(t):null}get geometryFieldName(){if("link-chart"===this.parentCompositeLayer?.type)return F.T1;const e=this.parentCompositeLayer?.dataManager.geographicLookup.get(this.objectType?.name);return e?.name??null}get graphicOrigin(){if(!this.parent)return null;switch(this.parent.type){case"knowledge-graph":return new v(this.parent,this);case"link-chart":return new S(this.parent,this)}}get graphTypeName(){return this.objectType?.name}set graphTypeName(e){this._set("graphTypeName",e)}get hasM(){const e=this.parentCompositeLayer?.dataManager.geographicLookup.get(this.objectType?.name),t=e?.name,i=t?this.objectType?.properties?.[t]:null;return i?.hasM??!1}get hasZ(){const e=this.parentCompositeLayer?.dataManager.geographicLookup.get(this.objectType?.name),t=e?.name,i=t?this.objectType?.properties?.[t]:null;return i?.hasZ??!1}set labelingInfo(e){this._set("labelingInfo",e)}get labelingInfo(){if(this._isOverridden("labelingInfo"))return this._get("labelingInfo");if(!this.objectType||!this.parentCompositeLayer||!this.graphTypeName)return null;const e=this.objectType.properties?(0,O.MY)(this.objectType.properties):"ESRI__ID";return"link-chart"===this.parentCompositeLayer.type?(0,O.iW)(this.graphType,this.graphTypeName,e):(0,O.e$)(this.graphTypeName,this.geometryType,e)}set renderer(e){(0,H.yp)(e,this.fieldsIndex),this._set("renderer",e)}get renderer(){if(this._isOverridden("renderer"))return this._get("renderer");const e=this.parentCompositeLayer?.dataManager?.knowledgeGraph?.dataModel,t=[...e?.entityTypes??[],...e?.relationshipTypes??[]].map(e=>e.name).indexOf(this.graphTypeName),i=(0,O.Td)(t);if("link-chart"===this.parentCompositeLayer?.type){if("relationship"===this.graphType)return new V.A({type:"simple",symbol:(0,O.UT)(i)});const e=(0,K.r)((0,L.F0)(b.gy.toJSON("point")).renderer);return(0,re.dt)(e.symbol,i),e}const n=(0,K.r)((0,L.F0)(b.gy.toJSON(this.geometryType)).renderer);return(0,re.dt)(n.symbol,i),n}get spatialReference(){return this.parentCompositeLayer?.dataManager?.knowledgeGraph?.dataModel?.spatialReference??f.A.WGS84}set timeInfo(e){this._set("timeInfo",e)}get title(){return this._isOverridden("title")?this._get("title"):this.graphTypeName}set title(e){this._set("title",e)}writeTitle(e,t){t.title=e??"Layer"}createPopupTemplate(e){return(0,ne.tn)(this,e)}createQuery(){return new ie.A({where:"1=1",outFields:["*"]})}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){return null}async queryFeatures(e,t){await this.load();const{resolvedQuery:i,queryEngine:n}=await this._setupQueryObjects(e),r=this.graphicOrigin,o=te.A.fromJSON(await n.executeQuery(i.toJSON(),t?.signal));return o.features.forEach(e=>{e.sourceLayer=this,e.origin=r}),o}async queryFeaturesJSON(e,t){await this.load();const{resolvedQuery:i,queryEngine:n}=await this._setupQueryObjects(e);return await n.executeQuery(i.toJSON(),t?.signal)}async queryFeatureCount(e,t){await this.load();const{resolvedQuery:i,queryEngine:n}=await this._setupQueryObjects(e);return n.executeQueryForCount(i.toJSON(),t?.signal)}async queryExtent(e={},t){await this.load();const i={...e,returnGeometry:!0},{resolvedQuery:n,queryEngine:r}=await this._setupQueryObjects(i),o=await r.executeQueryForExtent(n.toJSON(),t?.signal);let s;return s=null!=o.extent?.xmin&&null!=o.extent?.xmax&&null!=o.extent?.ymin&&null!=o.extent?.ymax?new p.A(o.extent):new p.A,{count:o.count,extent:s}}async queryObjectIds(e,t){await this.load();const i=ie.A.from(e);let n;if("link-chart"===this.parentCompositeLayer.type&&this._cachedQueryEngine)n=this._cachedQueryEngine;else{const e=await this.parentCompositeLayer.dataManager.getData(i,this,t);n=this.loadQueryEngine(e)}return await n.executeQueryForIds(i.toJSON(),t?.signal)}loadQueryEngine(e){const t=new N.A({geometryType:b.gy.toJSON(this.geometryType),hasM:this.hasM,hasZ:this.hasZ}),i=new k.do({fieldsIndex:this.fieldsIndex.toJSON(),geometryType:b.gy.toJSON(this.geometryType),hasM:this.hasM,hasZ:this.hasZ,featureIdInfo:{type:"object-id",fieldName:this.objectIdField},spatialReference:this.spatialReference.toJSON(),timeInfo:this.timeInfo?.toJSON(),featureStore:t});return i.featureStore.addMany(e),i}async refreshCachedQueryEngine(){const e=await this.parentCompositeLayer.dataManager.getData(new ie.A({where:"1=1",outFields:[F.dr]}),this);this._cachedQueryEngine=this.loadQueryEngine(e)}load(e){return this.addResolvingPromise(this.parent.load(e).then(()=>(0,H.sv)(this.timeInfo,this.fieldsIndex))),Promise.resolve(this)}async _setupQueryObjects(e,t){const i=ie.A.from(e),n=i.geometry;if(n&&!n.spatialReference?.isWGS84&&(await(0,m.initializeProjection)(n.spatialReference,g.KK),i.geometry=(0,m.project)(n instanceof h.A||n instanceof y.A||n instanceof c.A?n:n.extent,g.KK)),"link-chart"===this.parentCompositeLayer.type&&this._cachedQueryEngine)return{resolvedQuery:i,queryEngine:this._cachedQueryEngine};const r=await this.parentCompositeLayer.dataManager.getData(i,this,t);return{resolvedQuery:i,queryEngine:this.loadQueryEngine(r)}}};(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(R.sU)))],pe.prototype,"blendMode",void 0),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"capabilities",void 0),(0,n.Cg)([(0,l.MZ)({readOnly:!0})],pe.prototype,"userHasUpdateItemPrivileges",null),(0,n.Cg)([(0,l.MZ)({json:{origins:{"web-scene":{write:!1}},write:le()}})],pe.prototype,"charts",void 0),(0,n.Cg)([(0,l.MZ)({readOnly:!0})],pe.prototype,"defaultPopupTemplate",null),(0,n.Cg)([(0,l.MZ)({type:String,json:{origins:{service:{read:!1}},name:"layerDefinition.definitionExpression",write:{ignoreOrigin:!0}}})],pe.prototype,"definitionExpression",void 0),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"displayField",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(B.Dp)))],pe.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(B.KV)))],pe.prototype,"displayFilterInfo",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(R.LF)))],pe.prototype,"effect",void 0),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(Z.Y)))],pe.prototype,"featureEffect",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(Q.d)))],pe.prototype,"featureReduction",null),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"fields",null),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"geometryType",null),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"geometryFieldName",null),(0,n.Cg)([(0,l.MZ)({readOnly:!0})],pe.prototype,"graphicOrigin",null),(0,n.Cg)([(0,l.MZ)({type:["entity","relationship"],nonNullable:!0,json:{write:{isRequired:!0,ignoreOrigin:!0}}})],pe.prototype,"graphType",void 0),(0,n.Cg)([(0,l.MZ)({type:String,nonNullable:!0,json:{write:{isRequired:!0,ignoreOrigin:!0}}})],pe.prototype,"graphTypeName",null),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"hasM",null),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"hasZ",null),(0,n.Cg)([(0,l.MZ)({type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0}}})],pe.prototype,"id",void 0),(0,n.Cg)([(0,l.MZ)({type:Boolean,value:!0,nonNullable:!0,json:{name:"showLabels",default:!1,write:{overridePolicy(){return{enabled:!!this.geometryType,alwaysWriteDefaults:!0,ignoreOrigin:!0}}}}})],pe.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,l.MZ)({type:[W.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:function(e,t,i){const n=[["ESRI__AGGREGATION_COUNT",F.M1],["ESRI__ORIGIN_ID",F.Cz],["ESRI__DESTINATION_ID",F.KQ],["ESRI__LAYOUT_GEOMETRY",F.T1]];try{for(const t of e)for(const[e,i]of n)t.labelExpression=t.labelExpression?.replaceAll(e,i),t.labelExpressionInfo?.expression&&(t.labelExpressionInfo.expression=t.labelExpressionInfo.expression.replaceAll(e,i))}catch(e){s.A.getLogger(this).warn("Error updating labelingInfo",e)}return(0,X.w)(e,t,i)},write:le()}})],pe.prototype,"labelingInfo",null),(0,n.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1,write:{writer(e,t){switch(this.parentCompositeLayer?.type){case"link-chart":t.layerType="LinkChartSubLayer";break;case"knowledge-graph":t.layerType=this.geometryType?"KnowledgeGraphSubLayer":"KnowledgeGraphSubTable"}},isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}}})],pe.prototype,"layerType",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(z.fV)))],pe.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(z.hG)))],pe.prototype,"maxScale",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(z.hn)))],pe.prototype,"minScale",void 0),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"objectIdField",void 0),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"objectType",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(z.ke)))],pe.prototype,"opacity",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(P.ne)))],pe.prototype,"orderBy",void 0),(0,n.Cg)([(0,l.MZ)({clonable:!1})],pe.prototype,"parent",void 0),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"parentCompositeLayer",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(z.M6)))],pe.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,l.MZ)({type:r.A,json:{name:"popupInfo",write:{ignoreOrigin:!0}}})],pe.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy:de}}})],pe.prototype,"refreshInterval",void 0),(0,n.Cg)([(0,l.MZ)({types:ee.Hg,json:{name:"layerDefinition.drawingInfo.renderer",write:le()}})],pe.prototype,"renderer",null),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"source",void 0),(0,n.Cg)([(0,l.MZ)()],pe.prototype,"spatialReference",null),(0,n.Cg)([(0,l.MZ)({type:J.A,json:{name:"layerDefinition.timeInfo",write:{overridePolicy:de},origins:{"web-document":{name:"layerDefinition.timeInfo",read:!0,write:{overridePolicy:de}},"portal-item":{name:"layerDefinition.timeInfo",read:!0,write:{overridePolicy:de}}}}})],pe.prototype,"timeInfo",null),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}}})],pe.prototype,"title",null),(0,n.Cg)([(0,d.K)("title")],pe.prototype,"writeTitle",null),(0,n.Cg)([(0,l.MZ)({json:{read:!1}})],pe.prototype,"type",void 0),(0,n.Cg)([(0,l.MZ)(se((0,o.o8)(U.B)))],pe.prototype,"useViewTime",void 0),(0,n.Cg)([(0,l.MZ)({type:Boolean,json:{name:"visibility",write:le()}})],pe.prototype,"visible",void 0),pe=(0,n.Cg)([(0,u.$)("esri.layers.knowledgeGraph.KnowledgeGraphSublayer")],pe)},64714:(e,t,i)=>{i.d(t,{F0:()=>a,Vx:()=>d,e2:()=>c,f:()=>h});var n=i(44208),r=i(4718),o=i(99352),s=i(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?s.Cb:"esriGeometryPolyline"===e?s.yM:s.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function d(e,t){if((0,n.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let i=`this${p(t)} = null;`;for(const t in e)i+=`this${p(t)} = ${JSON.stringify(e[t])};`;const n=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${i};\n }\n }\n `)();return()=>new n}catch(i){return()=>({[t]:null,...e})}}function p(e){return l.test(e)?`.${e}`:`["${e}"]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,r.o8)(e)}}]}function h(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:o.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:o.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},67996:(e,t,i)=>{i.d(t,{cZ:()=>N,XW:()=>j,fe:()=>k});var n=i(78888),r=i(49186),o=i(91869),s=i(34275),a=(i(90708),i(92722)),l=i(16930);class u{constructor(){this.version="",this.queryResult=new d}}class d{constructor(){this.featureResult=new p}}class p{constructor(){this.objectIdFieldName="",this.uniqueIdField=new c,this.globalIdFieldName="",this.geohashFieldName="",this.geometryProperties=new h,this.geometryType=null,this.spatialReference=new l.A,this.exceededTransferLimit=!1,this.hasZ=!1,this.hasM=!1,this.transform=new y,this.fields=[],this.fieldNameToAttributeIndexMap={},this.values=[],this.features=[],this.geometryFields=[]}}class c{constructor(){this.name="",this.isSystemMaintained=!1}}class h{constructor(){this.shapeAreaFieldName="",this.shapeLengthFieldName="",this.units=""}}class y{constructor(){this.quantizeOriginPosition="upperLeft",this.scale=new m,this.translate=new f}}class m{constructor(){this.xScale=0,this.yScale=0,this.mScale=0,this.zScale=0}}class f{constructor(){this.xTranslate=0,this.yTranslate=0,this.mTranslate=0,this.zTranslate=0}}class g{constructor(){this.name="",this.fieldType="esriFieldTypeString",this.alias="",this.sqlType="sqlTypeVarchar",this.domain="",this.defaultValue=""}}class b{constructor(){this.attributes=[],this.compressedGeometry=new w,this.centroid=new w,this.aggregateGeometries=[]}}class w{constructor(){this.geometryType=null,this.lengths=[],this.coords=[]}}const _=["ELEMENTUID","TYPENAME"];var I=i(45724),M=i(35448);const T={upperLeft:0,lowerLeft:1},C={sqlTypeBigInt:0,sqlTypeBinary:1,sqlTypeBit:2,sqlTypeChar:3,sqlTypeDate:4,sqlTypeDecimal:5,sqlTypeDouble:6,sqlTypeFloat:7,sqlTypeGeometry:8,sqlTypeGUID:9,sqlTypeInteger:10,sqlTypeLongNVarchar:11,sqlTypeLongVarbinary:12,sqlTypeLongVarchar:13,sqlTypeNChar:14,sqlTypeNVarChar:15,sqlTypeOther:16,sqlTypeReal:17,sqlTypeSmallInt:18,sqlTypeSqlXml:19,sqlTypeTime:20,sqlTypeTimestamp:21,sqlTypeTimestamp2:22,sqlTypeTinyInt:23,sqlTypeVarbinary:24,sqlTypeVarchar:25};var v=i(93637);function x(e){const t=new w;t.geometryType=(0,v.i7)(M.bV,e.geometry_type.value);const i=[],n=[];for(let t=0;t<e.lengths.length;t++)i.push(e.lengths[t]);for(let t=0;t<e.coords.length;t++)n.push(e.coords[t]);return t.lengths=i,t.coords=n,t}function E(e){const t=new g;return t.name=e.name,t.alias=e.alias,t.fieldType=(0,v.i7)(M.r5,e.field_type.value),t.sqlType=(0,v.i7)(C,e.sql_type.value),t.domain=e.domain,t.defaultValue=e.default_value,t}function S(e){const t=E(e);return t.geometryType=(0,v.i7)(M.bV,e.geometry_type.value),t}function A(e){const t=new y;t.quantizeOriginPosition=(0,v.i7)(T,e.quantizeOriginPosition.value);const i=t.scale,n=e.scale;i.xScale=n.xScale,i.yScale=n.yScale,i.mScale=n.mScale,i.zScale=n.zScale;const r=t.translate,o=e.translate;return r.xTranslate=o.xTranslate,r.yTranslate=o.yTranslate,r.mTranslate=o.mTranslate,r.zTranslate=o.zTranslate,t}async function N(e,t){t??=!1;const i={generateAllSublayers:t,namedTypeDefinitions:new Map};return await async function(e){const t=await(0,n.A)(e,{responseType:"array-buffer"}),i=await t.data;return async function(e){const t=new((await(0,I.I)()).MapOfObjectIdentifierSetsDecoder),i=t.decode(new Uint8Array(e)),n=new Map;if(0!==i.error_code)throw new r.A("knowledge-graph:layer-support-utils",i.error_message);const o=t.get_map_of_identifier_sets(),s=o.keys,a=s.size();for(let e=0;e<a;e++){const t=s.get(e),i=o.query_identifier_set(t),a=[];if(1===i.id_array_type.value){const e=i.get_globalid_array(),t=e.count();for(let i=0;i<t;i++)a.push(e.get_globalid_at(i))}else if(3===i.id_array_type.value){const e=i.get_identifier_array(),t=e.count();for(let i=0;i<t;i++)a.push(e.get_identifier_at(i).toString())}else if(2===i.id_array_type.value){const e=i.get_string_array(),t=e.count();for(let i=0;i<t;i++)a.push(e.get_string_at(i))}else{if(0!==i.id_array_type.value)throw new r.A("knowledge-graph:layer-support-utils","Tried to encode an unexpected ID Array type.");{const e=i.get_oid_array(),t=e.count();for(let i=0;i<t;i++)a.push(e.get_objectid_at(i).toString())}}n.set(t,a)}return t.delete(),n}(new Uint8Array(i))}(e).then(e=>{!function(e,t){for(const[i,n]of e){const e=(0,o.tE)(t.namedTypeDefinitions,i,()=>({useAllData:!1,members:new Map}));for(const t of n)e.members.has(t)||e.members.set(t,{id:t})}}(e,i)}),i}async function k(e){const t=await(0,I.I)(),i=new t.MapOfObjectIdentifierSets;!function(e,t,i){for(const[n,r]of i.namedTypeDefinitions){if(!r.members||r.useAllData)continue;const i=r.members.keys();let o=!1,s=!0;const a=new t.ObjectIdArray,l=new t.StringArray,u=new t.GlobalIdArray,d=new t.IdentifierArray,p=new t.ObjectIdentifierSet;for(const e of i)s&&(o=!isNaN(Number(e)),s=!1),o?a.add_objectid(Number(e)):(l.add_string(e),u.add_globalid(e)),d.add_identifier(e);p.set_oid_array(a),p.set_string_array(l),p.set_globalid_array(u),p.set_identifier_array(d),a.delete(),l.delete(),u.delete(),d.delete(),e.put_identifier_set(n,p),p.delete()}}(i,t,e);const n=new t.MapOfObjectIdentifierSetsEncoder;try{n.set_map_of_identifier_sets(i),n.encode();const e=n.get_encoding_result();if(0!==e.error.error_code)throw new r.A("knowledge-graph:layer-support-utils",e.error.error_message);const t=structuredClone(e.get_byte_buffer());return n.delete(),(0,s.OO)(t)}finally{i.delete()}}async function L(e){const t=await(0,n.A)(e,{responseType:"array-buffer"});return async function(e){const t=new((await(0,I.I)()).FeatureCollectionDecoder),i=t.decode(new Uint8Array(e));if(0!==i.error_code)throw new r.A("knowledge-graph:layer-support-utils",i.error_message);const n=function(e){const t=new u;t.version=e.version;const i=e.get_query_result();if(0!==i.results_type.value)throw new Error("Got a non-feature collection type");const n=i.get_feature_result(),r=t.queryResult.featureResult;r.objectIdFieldName=n.objectid_field_name,r.exceededTransferLimit=n.exceeded_transfer_limit,r.hasM=n.has_m,r.hasZ=n.has_z,r.geometryType=(0,v.i7)(M.bV,n.geometry_type.value),r.globalIdFieldName=n.globalid_field_name,r.geohashFieldName=n.geohash_field_name;const o=r.uniqueIdField,s=n.unique_id_field;o.name=s.name,o.isSystemMaintained=s.isSystemMaintained;const a=r.geometryProperties,l=n.geometry_properties;a.shapeAreaFieldName=l.shapeAreaFieldName,a.shapeLengthFieldName=l.shapeLengthFieldName,a.units=l.units;const d=r.spatialReference,p=n.spatial_reference;d.wkid=p.wkid,d.latestWkid=p.latestWkid,d.vcsWkid=p.vcsWkid,d.latestVcsWkid=p.latestVcsWkid,d.wkt=p.wkt,r.transform=A(n.transform);const c=r.fields,h=r.fieldNameToAttributeIndexMap,y=n.fields,m=y.size();for(let e=0;e<m;e++){const t=y.get(e),i=E(t);c.push(i),h[i.name]=e,t.delete()}y.delete();const f=r.values,g=n.values_count();for(let e=0;e<g;e++)f.push(n.get_value_at(e));const w=r.features,I=n.features,T=I.size();if(T>0)for(const e of _)if(void 0===h[e])throw new Error(`Feature collection missing required attribute: ${e}`);for(let e=0;e<T;e++){const t=new b,i=I.get(e),n=t.attributes,r=i.attributes_count();for(let e=0;e<r;e++)n.push(i.get_attribute_at(e));const o=i.get_compressed_geometry();o&&(t.compressedGeometry=x(o),t.centroid=x(i.get_centroid()));const s=t.aggregateGeometries,a=i.aggregate_geometries,l=a.size();for(let e=0;e<l;e++){const t=a.get(e),i=x(t);s.push(i),t.delete()}a.delete(),w.push(t),i.delete()}I.delete();const C=r.geometryFields,N=n.geometry_fields,k=N.size();for(let e=0;e<k;e++){const t=N.get(e),i=S(t);C.push(i),t.delete()}return N.delete(),t}(t.get_feature_collection());return t.delete(),n}(await t.data)}function F(e,t){if(!e?.queryResult?.featureResult)return t;const i=e.queryResult.featureResult.fieldNameToAttributeIndexMap;for(const n of e.queryResult.featureResult.features){const e=n.attributes[i.TYPENAME],r=(0,o.tE)(t.namedTypeDefinitions,e,()=>({useAllData:!1,members:new Map})),s=n.attributes[i.ELEMENTUID];if(n.compressedGeometry?.coords?.length>0){let e=n.compressedGeometry.lengths;"esriGeometryPoint"===n.compressedGeometry.geometryType&&(e=[]),r.members.set(s,{id:s,linkChartLocation:new a.A(e,n.compressedGeometry.coords)})}else r.members.set(s,{id:s})}return t}const j={fetchAndConvertSerializedLinkChart:e=>async function(e){const t=[],i={generateAllSublayers:!1,namedTypeDefinitions:new Map};return e.entitiesUrl&&t.push(L(e.entitiesUrl).then(e=>{F(e,i)})),e.relationshipsUrl&&t.push(L(e.relationshipsUrl).then(e=>{F(e,i)})),await Promise.all(t),i}(e)}},69860:(e,t,i)=>{i.d(t,{A:()=>a});var n=i(65864),r=i(90708),o=i(43334),s=i(15375);class a{constructor(){this._featureLookup=new Map}static getInstance(){return a.instance||(a.instance=new a),a.instance}static resetInstance(){a.instance&&(a.instance=null)}deleteFromStore(e){e.forEach(e=>{this._featureLookup.delete(e)})}readFromStoreByList(e){const t=[];return e.forEach(e=>{const i=this.readFromStoreById(e);i&&t.push(i)}),t}readFromStoreById(e){return this._featureLookup.get(e)??null}writeToStore(e,t,i){const a=[];return e.forEach(e=>{if(!e?.id)return;e.properties||(e.properties=[]);let l,u=null;if(i&&e.properties[i]&&(u=(0,r.Ux)(e.properties[i])),"originId"in e&&"destinationId"in e&&(e.properties[s.Cz]=e.originId,e.properties[s.KQ]=e.destinationId),e.properties[t]=e.id,e.id&&this._featureLookup.has(e.id)&&this._featureLookup.get(e.id).attributes){const r=this._featureLookup.get(e.id),s=JSON.parse(JSON.stringify(Object.assign(r.attributes,e.properties)));i&&e.properties[i]&&(s[i]=(0,n.rS)(e.properties[i])),l=new o.Om(u?JSON.parse(JSON.stringify(u)):r?.geometry?JSON.parse(JSON.stringify(r.geometry)):null,s,null,e.properties[t])}else l=new o.Om(u?JSON.parse(JSON.stringify(u)):null,e.properties,null,e.properties[t]);this._featureLookup.set(`${e.typeName?`${e.typeName}__${e.id}`:e.id}`,l),a.push(l)}),a}}},73133:(e,t,i)=>{i.d(t,{j:()=>n});const n=(0,i(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:void 0})},75503:(e,t,i)=>{i.d(t,{EC:()=>v,wq:()=>a});var n=i(4576),r=i(21818),o=(i(44208),i(15142)),s=i(11006);class a{constructor(e=9,t){this._compareMinX=c,this._compareMinY=h,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(),I.prune(),M.prune(),T.prune(),C.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data;const n=this._toBBox;if(w(e,i))for(I.clear();i;){for(let r=0,o=i.children.length;r<o;r++){const o=i.children[r],s=i.leaf?n(o):o;w(e,s)&&(i.leaf?t(o):b(e,s)?l(o,t):I.push(o))}i=I.pop()}}collides(e){let t=this._data;const i=this._toBBox;if(!w(e,t))return!1;for(I.clear();t;){for(let n=0,r=t.children.length;n<r;n++){const r=t.children[n],o=t.leaf?i(r):r;if(w(e,o)){if(t.leaf||b(e,o))return!0;I.push(r)}}t=I.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 E([]),this}remove(e){if(!e)return this;let t,i=this._data,o=null,s=0,a=!1;const l=this._toBBox(e);for(T.clear(),C.clear();i||T.length>0;){if(i||(i=T.pop(),o=T.data[T.length-1],s=C.pop()??0,a=!0),i.leaf&&(t=(0,n.qh)(i.children,(0,r.zI)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),T.push(i),this._condense(T),this;a||i.leaf||!b(i,l)?o?(s++,i=o.children[s],a=!1):i=null:(T.push(i),C.push(s),s=0,o=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,n){const r=i-t+1;let o=this._maxEntries;if(r<=o){const n=new E(e.slice(t,i+1));return u(n,this._toBBox),n}n||(n=Math.ceil(Math.log(r)/Math.log(o)),o=Math.ceil(r/o**(n-1)));const s=new S([]);s.height=n;const a=Math.ceil(r/o),l=a*Math.ceil(Math.sqrt(o));_(e,t,i,l,this._compareMinX);for(let r=t;r<=i;r+=l){const t=Math.min(r+l-1,i);_(e,r,t,a,this._compareMinY);for(let i=r;i<=t;i+=a){const r=Math.min(i+a-1,t);s.children.push(this._build(e,i,r,n-1))}}return u(s,this._toBBox),s}_insert(e,t,i){const n=this._toBBox,r=i?e:n(e);T.clear();const o=function(e,t,i,n){for(;n.push(t),!0!==t.leaf&&n.length-1!==i;){let i,n=1/0,r=1/0;for(let o=0,s=t.children.length;o<s;o++){const s=t.children[o],a=y(s),l=f(e,s)-a;l<r?(r=l,n=a<n?a:n,i=s):l===r&&a<n&&(n=a,i=s)}t=i||t.children[0]}return t}(r,this._data,t,T);for(o.children.push(e),p(o,r);t>=0&&T.data[t].children.length>this._maxEntries;)this._split(T,t),t--;!function(e,t,i){for(let n=i;n>=0;n--)p(t.data[n],e)}(r,T,t)}_split(e,t){const i=e.data[t],n=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,n);const o=this._chooseSplitIndex(i,r,n);if(!o)return;const s=i.children.splice(o,i.children.length-o),a=i.leaf?new E(s):new S(s);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 S([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let n,r,o;n=r=1/0;for(let s=t;s<=i-t;s++){const t=d(e,0,s,this._toBBox),a=d(e,s,i,this._toBBox),l=g(t,a),u=y(t)+y(a);l<n?(n=l,o=s,r=u<r?u:r):l===n&&u<r&&(r=u,o=s)}return o}_chooseSplitAxis(e,t,i){const n=e.leaf?this._compareMinX:c,r=e.leaf?this._compareMinY:h;this._allDistMargin(e,t,i,n)<this._allDistMargin(e,t,i,r)&&e.children.sort(n)}_allDistMargin(e,t,i,n){e.children.sort(n);const r=this._toBBox,o=d(e,0,t,r),s=d(e,i-t,i,r);let a=m(o)+m(s);for(let n=t;n<i-t;n++){const t=e.children[n];p(o,e.leaf?r(t):t),a+=m(o)}for(let n=i-t-1;n>=t;n--){const t=e.children[n];p(s,e.leaf?r(t):t),a+=m(s)}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],o=r.children;o.splice((0,n.qh)(o,i,o.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(M.clear();i;){if(!0===i.leaf)for(const e of i.children)t((0,r.zI)(e));else M.pushArray(i.children);i=M.pop()??null}}function u(e,t){d(e,0,e.children.length,t,e)}function d(e,t,i,n,r){r||(r=new E([])),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(let o,s=t;s<i;s++)o=e.children[s],p(r,e.leaf?n(o):o);return r}function p(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function c(e,t){return e.minX-t.minX}function h(e,t){return e.minY-t.minY}function y(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function m(e){return e.maxX-e.minX+(e.maxY-e.minY)}function f(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function g(e,t){const i=Math.max(e.minX,t.minX),n=Math.max(e.minY,t.minY),r=Math.min(e.maxX,t.maxX),o=Math.min(e.maxY,t.maxY);return Math.max(0,r-i)*Math.max(0,o-n)}function b(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function w(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function _(e,t,i,n,r){const o=[t,i];for(;o.length;){const t=o.pop(),i=o.pop();if(t-i<=n)continue;const a=i+Math.ceil((t-i)/n/2)*n;(0,s.q)(e,a,i,t,r),o.push(i,a,a,t)}}const I=new o.A,M=new o.A,T=new o.A,C=new o.A({deallocator:void 0});class v{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class x extends v{constructor(){super(...arguments),this.height=1,this.indexHint=new n.vW}}class E extends x{constructor(e){super(),this.children=e,this.leaf=!0}}class S extends x{constructor(e){super(),this.children=e,this.leaf=!1}}},77901:(e,t,i)=>{i.d(t,{A:()=>a});var n=i(31635),r=i(25482),o=i(10107),s=(i(44208),i(53966),i(87811),i(40608));let a=class extends r.o{constructor(e){super(e),this.properties=null}};(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],a.prototype,"properties",void 0),a=(0,n.Cg)([(0,s.$)("esri.rest.knowledgeGraph.GraphObject")],a)},82935:(e,t,i)=>{i.d(t,{B:()=>h,e:()=>y});var n=i(31635),r=i(10107),o=(i(44208),i(53966),i(87811),i(36005)),s=i(40608),a=i(89317),l=i(30524),u=i(96184),d=i(73133),p=i(79677),c=i(10184);const h={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:a.K}}},y=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const n=i.timeOffset,r=d.j.fromJSON(i.timeOffsetUnits);return n&&r?new c.A({value:n,unit:r}):null}set timeInfo(e){(0,l.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,r.MZ)({type:p.A,json:{write:!1}})],i.prototype,"timeExtent",void 0),(0,n.Cg)([(0,r.MZ)({type:c.A})],i.prototype,"timeOffset",void 0),(0,n.Cg)([(0,o.w)("service","timeOffset",["timeInfo.exportOptions"])],i.prototype,"readOffset",null),(0,n.Cg)([(0,r.MZ)({value:null,type:u.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],i.prototype,"timeInfo",null),(0,n.Cg)([(0,r.MZ)(h)],i.prototype,"useViewTime",void 0),i=(0,n.Cg)([(0,s.$)("esri.layers.mixins.TemporalLayer")],i),i}},83221:(e,t,i)=>{i.d(t,{A:()=>y});var n=i(4576),r=i(49186),o=i(65529),s=i(53966),a=i(70328),l=i(19419),u=i(90708),d=i(6518),p=i(51441),c=i(37730);const h=(0,a.vt)();class y{constructor(e){this.geometryInfo=e,this._boundsStore=new d.F,this._featuresById=new Map,this._usedMemory=0,this.events=new o.bk,this.featureAdapter=c.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,n,r]=this.fullBounds;return{xmin:t,ymin:i,xmax:n,ymax:r,spatialReference:(0,p.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(n.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)(h,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 s.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 n;if(i?(e.displayId=i.displayId,n=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);n=(0,u.jQ)(null!=n?n:(0,l.vt)(),e.geometry,this.geometryInfo.hasZ,this.geometryInfo.hasM),null!=n&&this._boundsStore.set(t,n),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return s.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:n,attributes:o}=e;for(const e in o)i.attributes[e]=o[e];return n&&(i.geometry=n,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),n,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}}},83960:(e,t,i)=>{i.d(t,{X_:()=>s,oW:()=>l,zx:()=>a});var n=i(34727),r=i(83047);const o=96;function s(e,t){const i=t||e.extent,n=e.width,s=(0,r.GA)(i?.spatialReference);return i&&n?i.width/n*s*r.dy*o:0}function a(e,t,i){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,i)}function l(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},85342:(e,t,i)=>{i.d(t,{MY:()=>f,Td:()=>y,UT:()=>m,e$:()=>b,iW:()=>g,qN:()=>p});var n=i(68197),r=i(46499),o=i(73913),s=i(62568),a=i(40863),l=i(68249);const u={initializeLayersFromClientData:async(e,t,i)=>{if(t||(t=[...e.layers,...e.tables].map(e=>e.graphTypeName)),0===t?.length)return;const n=new Map;for(const i of t)n.set(i,d(e,i));const r=await(0,s.fetchClientDataAtKeys)(e.dataManager.knowledgeGraph,Array.from(n.values()),{requestOptions:{signal:i?.signal}});for(const t of[...e.layers,...e.tables]){const i=t.objectType.name;if(null==i)continue;const n=r.get(d(e,i));if(n){const e=JSON.parse(n);null===e||"object"!=typeof e||e.hasOwnProperty("showLabels")||(e.showLabels=!1),t.read(e,{origin:"service"})}}}},d=(e,t)=>"knowledge-graph"===e.type?`${t}/Map`:`${t}/LinkChart/LinkChartSubLayer`;async function p(e,t,i){return u.initializeLayersFromClientData(e,t,i)}const c=["#4a0932","#b31515","#18382e","#a64f1b","#102432","#8c213f","#ed9310","#2c6954","#144d59","#ffc730","#75351e","#454f4b","#78b1c2","#191921","#8f8f82","#9be0c0","#dbb658","#87b051","#11495c","#c43541","#9c5596","#44498b","#ad9d63","#86afb3","#5c98ca","#b0bfa2","#73241f","#b86b53","#d9d78c","#3e756d","#f260a1","#a0d17d","#c27c30","#eb82eb","#ffdf3c","#ffb259","#ab52b3","#3cccb4","#0095ba","#d92b30"],h="#8f8f82";function y(e){return e<0||e>=c.length?new n.A(h):new n.A(c[e])}function m(e){const t=e.toArray();return new a.A({data:{type:"CIMSymbolReference",symbol:{type:"CIMLineSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,style:"solid",width:.75,color:t},{type:"CIMVectorMarker",enable:!0,size:6,markerPlacement:{type:"CIMMarkerPlacementOnLine",angleToLine:!0,relativeTo:"LineMiddle"},frame:{xmin:-10,ymin:-5,xmax:0,ymax:5},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[-12,-3.47],[-12,3.6],[1.96,-.03],[-12,-3.47]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:t}]}}]}]}}})}function f(e){let t="ESRI__ID",i=4;for(const n of e)if(n.name){if("name"===n.name.toLowerCase()){t=n.name;break}n.name.toLowerCase().includes("name")?(t=n.name,i=2):"esriFieldTypeString"===n.fieldType&&i>3&&(t=n.name,i=3)}return t}function g(e,t,i){const n={color:[80,80,80],haloColor:[255,255,255],haloSize:.7,font:{size:10,weight:"normal"}},s=new r.A({labelExpressionInfo:new o.A({expression:"ESRI__ID"===i?`${t}`:`$feature.${i}`}),labelPlacement:"above-center",symbol:new l.A(n)}),a=new r.A({labelExpressionInfo:new o.A({expression:`'${t}' + IIf($feature.ESRI__AggregationCount>1, ' (' + $feature.ESRI__AggregationCount + ')', '')`}),labelPlacement:"center-along",labelPosition:"parallel",repeatLabel:!1,symbol:new l.A({...n,yoffset:"12px"})});return"entity"===e?[s]:[a]}function b(e,t,i){const n={color:[255,255,255],haloColor:[0,0,0],haloSize:.7,font:{size:10,weight:"bold"}},s="ESRI__ID"===i?`${e}`:`$feature.${i}`;return"point"===t?[new r.A({labelExpressionInfo:new o.A({expression:s}),labelPlacement:"above-center",symbol:new l.A(n)})]:"polyline"===t?[new r.A({labelExpressionInfo:new o.A({expression:s}),labelPlacement:"center-along",repeatLabel:!0,symbol:new l.A(n)})]:"polygon"===t?[new r.A({labelExpressionInfo:new o.A({expression:s}),labelPlacement:"always-horizontal",symbol:new l.A(n)})]:null}},96184:(e,t,i)=>{i.d(t,{A:()=>y});var n=i(31635),r=i(69540),o=i(25482),s=i(10107),a=(i(44208),i(53966),i(87811),i(36005)),l=i(40608),u=i(43937),d=i(79677),p=i(10184),c=i(56400);function h(e,t){return p.A.fromJSON({value:e,unit:t})}let y=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?d.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?h(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?h(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],y.prototype,"cumulative",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],y.prototype,"endField",void 0),(0,n.Cg)([(0,s.MZ)({type:d.A,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,a.w)("fullTimeExtent",["timeExtent"])],y.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,u.K)("fullTimeExtent")],y.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,s.MZ)({type:p.A,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"interval",void 0),(0,n.Cg)([(0,a.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],y.prototype,"readInterval",null),(0,n.Cg)([(0,u.K)("interval")],y.prototype,"writeInterval",null),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],y.prototype,"startField",void 0),(0,n.Cg)([(0,s.MZ)((0,c.P6)("timeReference",!0))],y.prototype,"timeZone",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"trackIdField",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],y.prototype,"useTime",void 0),(0,n.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],y.prototype,"stops",void 0),y=(0,n.Cg)([(0,l.$)("esri.layers.support.TimeInfo")],y)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4946],{15142:(t,e,r)=>{r.d(e,{A:()=>c});var n=r(4576),i=r(21818);const o=(t,e,r,n)=>{let i=e,o=e;const s=r>>>1,a=t[i-1];for(;o<=s;){o=i<<1,o<r&&n(t[o-1],t[o])<0&&++o;const e=t[o-1];if(n(e,a)<=0)break;t[i-1]=e,i=o}t[i-1]=a},s=(t,e)=>t<e?-1:t>e?1:0;function a(t,e,r,n){void 0===e&&(e=0),void 0===r&&(r=t.length),void 0===n&&(n=s);for(let i=r>>>1;i>e;i--)o(t,i,r,n);const i=e+1;for(let s=r-1;s>e;s--){const r=t[e];t[e]=t[s],t[s]=r,o(t,i,s,n)}}function*l(t,e,r,n){void 0===e&&(e=0),void 0===r&&(r=t.length),void 0===n&&(n=s);for(let i=r>>>1;i>e;i--)o(t,i,r,n),yield;const i=e+1;for(let s=r-1;s>e;s--){const r=t[e];t[e]=t[s],t[s]=r,o(t,i,s,n),yield}}class c{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new n.vW,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>u(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){const e=new Array;for(let r=0;r<this._length;r++){const n=this.data[r];t(n)&&e.push(n)}return e}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,e){const r=this.data.indexOf(t,e);return-1!==r&&r<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let r=0;r<e;r++)this.data[this._length++]=t[r]}fill(t,e){for(let r=0;r<e;r++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));const t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,u(this)}pop(){if(0===this.length)return;const t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){const e=(0,n.qh)(this.data,(0,i.zI)(t),this.length,this._hint);if(-1!==e)return this.data.splice(e,1),this.length=this.length-1,t}removeUnordered(t){return this.removeUnorderedIndex((0,n.qh)(this.data,(0,i.zI)(t),this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,r){this.length=(0,n.mW)(this.data,t,this.length,e,this._hint,r),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){if(t>=this.length||e>=this.length||t===e)return;const r=this.data[t];this.data[t]=this.data[e],this.data[e]=r}sort(t){a(this.data,0,this.length,t)}iterableSort(t){return l(this.data,0,this.length,t)}some(t,e){for(let r=0;r<this.length;++r)if(t.call(e,this.data[r],r,this.data))return!0;return!1}find(t,e){const{data:r,length:n}=this;for(let i=0;i<n;++i)if(t.call(e,r[i]))return r[i]}filterInPlace(t,e){let r=0;for(let n=0;n<this._length;++n){const i=this.data[n];t.call(e,i,n,this.data)&&(this.data[n]=this.data[r],this.data[r]=i,r++)}if(this._deallocator)for(let t=r;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=r,this._shrink(),this}forAll(t,e){const{data:r,length:n}=this;for(let i=0;i<n;++i)t.call(e,r[i],i,r)}forEach(t,e){this.data.slice(0,this.length).forEach(t,e)}map(t,e){const r=new Array(this.length);for(let n=0;n<this.length;++n)r[n]=t.call(e,this.data[n],n,this.data);return r}reduce(t,e){let r=e;for(let e=0;e<this.length;++e)r=t(r,this.data[e],e,this.data);return r}has(t){const e=this.length,r=this.data;for(let n=0;n<e;++n)if(r[n]===t)return!0;return!1}*[Symbol.iterator](){for(let t=0;t<this.length;t++)yield this.data[t]}}function u(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},15903:(t,e,r)=>{function n(t){return!!t&&t.prototype?.declaredClass&&0===t.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(e,{P:()=>n})},26390:(t,e,r)=>{r.d(e,{d:()=>i});const n=[];function i(t){n.push(t),1===n.length&&queueMicrotask(()=>{const t=n.slice();n.length=0;for(const e of t)e()})}},40608:(t,e,r)=>{r.d(e,{$:()=>f}),r(44208);var n=r(53966),i=r(56454),o=r(85537),s=r(96156),a=r(62788),l=r(51822);const c=new Set,u=new Set;function f(t){return e=>{t??="esri.core.Accessor",e.prototype.declaredClass=t,p(e);const r=[],n=[];let a=e.prototype;for(;a;)a.hasOwnProperty("initialize")&&!c.has(a.initialize)&&(c.add(a.initialize),r.push(a.initialize)),a.hasOwnProperty("destroy")&&!u.has(a.destroy)&&(u.add(a.destroy),n.push(a.destroy)),a=Object.getPrototypeOf(a);c.clear(),u.clear();const l=class extends e{constructor(...t){if(super(...t),this.constructor===l&&"function"==typeof this.postscript){if(r.length&&Object.defineProperty(this,"initialize",{enumerable:!1,configurable:!0,value(){for(let t=r.length-1;t>=0;t--)r[t].call(this)}}),n.length){let t=!1;const e=this[i.G];Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!t){this.__accessor__.lifecycle=o.v.DESTROYING,t=!0,e.call(this);for(let t=0;t<n.length;t++)n[t].call(this)}}})}Object.defineProperty(this,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}}),this.postscript()}}};l.__accessorMetadata__=(0,s.tD)(e.prototype),l.prototype.declaredClass=t;const f=(t||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(l,"name",{value:f,configurable:!0}),l}}function h(t,e){return null==e.get?function(){const e=this.__accessor__,r=e.propertiesByName.get(t);if(void 0===r)return;e.mutable&&(0,a.gc)(r);const n=e.store;return n.has(t)?n.get(t):r.metadata.value}:function(){const e=this.__accessor__,r=e.propertiesByName.get(t);if(void 0!==r)return r.getComputed(e)}}function p(t){const e=t.prototype,r=(0,s.tD)(e),n={};for(const t of Object.getOwnPropertyNames(r)){const e=r[t];(0,l.qk)(e),n[t]={enumerable:!0,configurable:!0,get:h(t,e),set(r){const n=this.__accessor__;if(void 0!==n){if(n.mutable)return n.initialized&&e.readOnly?d("read-only",t):n.lifecycle===o.v.CONSTRUCTED&&e.constructOnly?d("construct-only",t):void n.set(t,r)}else Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:r})}}}Object.defineProperties(t.prototype,n)}const d=(t,e)=>{n.A.getLogger("esri.core.Accessor").error(`cannot assign to ${t} property '${e}'`)}},47328:(t,e,r)=>{r.d(e,{i:()=>n});const n={Dirty:1,Overridden:2,Computing:4,NonNullable:8,HasDefaultValue:16,DepTrackingInitialized:32,AutoTracked:64,ExplicitlyTracking:128}},51822:(t,e,r)=>{r.d(e,{xF:()=>u,N5:()=>f,k4:()=>h,qk:()=>_});var n=r(56507),i=r(90360);function o(t){if(t.json||(t.json={}),a(t.json),l(t.json),s(t.json),t.json.origins)for(const e in t.json.origins)a(t.json.origins[e]),l(t.json.origins[e]),s(t.json.origins[e]);return!0}function s(t){t.name&&(t.read&&"object"==typeof t.read?void 0===t.read.source&&(t.read.source=t.name):t.read={source:t.name},t.write&&"object"==typeof t.write?void 0===t.write.target&&(t.write.target=t.name):t.write={target:t.name})}function a(t){"boolean"==typeof t.read?t.read={enabled:t.read}:"function"==typeof t.read?t.read={enabled:!0,reader:t.read}:t.read&&"object"==typeof t.read&&void 0===t.read.enabled&&(t.read.enabled=!0)}function l(t){"boolean"==typeof t.write?t.write={enabled:t.write}:"function"==typeof t.write?t.write={enabled:!0,writer:t.write}:t.write&&"object"==typeof t.write&&void 0===t.write.enabled&&(t.write.enabled=!0)}var c=r(67124);function u(t,e){return p(t,"any",e?.origin)}function f(t,e){return p(t,"read",e?.origin)}function h(t,e){return p(t,"write",e?.origin)}function p(t,e,r){let n=t?.json;if(n?.origins&&r){let t;t="link-chart"===r?n.origins[r]&&("any"===e||e in n.origins[r])?n.origins[r]:n.origins["web-map"]:n.origins[r],t&&("any"===e||e in t)&&(n=t)}return n}function d(t){return t.type?y(t):g(t)}function y(t){if(!t.type)return;let e=0,r=t.type;for(;Array.isArray(r)&&!(0,n.EK)(r);)r=r[0],e++;return{type:r,ndimArray:e}}function g(t){if(!t.types)return;let e=0,r=t.types;for(;Array.isArray(r);)r=r[0],e++;return{types:r,ndimArray:e}}function _(t){o(t)&&(function(t){if(t.json&&t.json.origins){const e=t.json.origins,r={"web-document":["web-scene","web-map"]};for(const t in r)if(e[t]){const n=e[t];r[t].forEach(t=>{e[t]=n}),delete e[t]}}}(t),function(t){const e=function(t){return t.json.types?g(t.json):t.type?y(t):g(t)}(t);if(t.json.origins)for(const r in t.json.origins){const n=t.json.origins[r],o=n.types?d(n):e;(0,i.v)(o,n,!1),n.types&&!n.write&&t.json.write?.enabled&&(n.write={...t.json.write}),(0,c.v)(o,n)}(0,i.v)(e,t.json,!0),(0,c.v)(e,t.json)}(t))}},56454:(t,e,r)=>{r.d(e,{G:()=>n});const n=Symbol("Accessor-beforeDestroy")},56507:(t,e,r)=>{r.d(e,{EK:()=>N,GB:()=>c,GX:()=>l,MB:()=>S,Nd:()=>P,PZ:()=>v,Qp:()=>h,Uv:()=>$,Vr:()=>u,Zu:()=>z,_e:()=>O,aq:()=>M,dp:()=>A,e6:()=>T,eC:()=>j,gK:()=>C,jz:()=>E,wB:()=>w}),r(44208);var n=r(53966),i=r(91869);const o=()=>n.A.getLogger("esri.core.accessorSupport.ensureTypes");function s(t){if(null==t)return t;const e=new Date(t);return isNaN(e.getTime())?(o().error("Accessor#set",`Invalid date value: '${t}', falling back to current date`),new Date):e}function a(t){return null==t?t:!!t}function l(t){return null==t?t:t.toString()}function c(t,e=0){return null==t?t:(t=parseFloat(t),isNaN(t)?e:t)}function u(t){return null==t?t:Math.round(parseFloat(t))}function f(t){return null}function h(t,e){return r=>{let n=t(r);return null!=e.step&&(n=Math.round(n/e.step)*e.step),null!=e.min&&(n=Math.max(e.min,n)),null!=e.max&&(n=Math.min(e.max,n)),n}}function p(t){return t?.constructor&&void 0!==t.constructor.__accessorMetadata__}function d(t,e){return null!=e&&t&&!(e instanceof t)}function y(t){return t&&"isCollection"in t}function g(t){return t?.Type?"function"==typeof t.Type?t.Type:t.Type.base:null}function _(t,e){return!!p(e)&&(o().error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+b(t)+"'"),!0)}function v(t,e){return null==e?e:y(t)?function(t,e){if(!e?.constructor||!y(e.constructor))return _(t,e)?e:new t(e);const r=g(t.prototype.itemType),n=g(e.constructor.prototype.itemType);return r?n?r===n?e:r.prototype.isPrototypeOf(n.prototype)?new t(e):(_(t,e),e):new t(e):e}(t,e):d(t,e)?_(t,e)?e:new t(e):e}function b(t){return t?.prototype?.declaredClass||"unknown"}const m=new WeakMap;function A(t,e){const r=function(t){switch(t){case Number:return t=>c(t);case E:return u;case Boolean:return a;case String:return l;case Date:return s;case $:return f;default:return(0,i.tE)(m,t,()=>v.bind(null,t))}}(t);return 1===arguments.length?r:r(e)}function w(t,e,r){return 1===arguments.length?w.bind(null,t):e?Array.isArray(e)?e.map(e=>t(e,r)):[t(e,r)]:e}function j(t,e){return 1===arguments.length?w(e=>A(t,e)):w(e=>A(t,e),e)}function k(t,e,r){return 0!==e&&Array.isArray(r)?r.map(r=>k(t,e-1,r)):t(r)}function O(t,e,r){if(2===arguments.length)return r=>O(t,e,r);if(!r)return r;r=k(t,e,r);let n=e,i=r;for(;n>0&&Array.isArray(i);)n--,i=i[0];if(void 0!==i)for(let t=0;t<n;t++)r=[r];return r}function T(t,e,r){return 2===arguments.length?O(e=>A(t,e),e):O(e=>A(t,e),e,r)}function N(t){return!!Array.isArray(t)&&!t.some(e=>{const r=typeof e;return!("string"===r||"number"===r||"function"===r&&t.length>1)})}function S(t,e){if(2===arguments.length)return S(t).call(null,e);const r=new Set,n=t.filter(t=>"function"!=typeof t),i=t.filter(t=>"function"==typeof t);for(const e of t)"string"!=typeof e&&"number"!=typeof e||r.add(e);let s=null,a=null;return(t,e)=>{if(null==t)return t;const l=typeof t,c="string"===l||"number"===l;return c&&(r.has(t)||i.some(t=>"string"===l&&t===String||"number"===l&&t===Number))||"object"===l&&i.some(e=>!d(e,t))?t:(c&&n.length?(s||(s=n.map(t=>"string"==typeof t?`'${t}'`:`${t}`).join(", ")),o().error("Accessor#set",`'${t}' is not a valid value for this property, only the following values are valid: ${s}`)):"object"==typeof t&&i.length?(a||(a=i.map(t=>b(t)).join(", ")),o().error("Accessor#set",`'${t}' is not a valid value for this property, value must be one of ${a}`)):o().error("Accessor#set",`'${t}' is not a valid value for this property`),e&&(e.valid=!1),null)}}function M(t,e){if(2===arguments.length)return M(t).call(null,e);const r={},n=[],i=[];for(const e in t.typeMap){const o=t.typeMap[e];r[e]=A(o),n.push(b(o)),i.push(e)}const s=()=>`'${n.join("', '")}'`,a=()=>`'${i.join("', '")}'`,l="string"==typeof t.key?e=>e[t.key]:t.key;return e=>{if(t.base&&!d(t.base,e))return e;if(null==e)return e;const n=l(e)||t.defaultKeyValue,i=r[n];if(!i)return o().error("Accessor#set",`Invalid property value, value needs to be one of ${s()}, or a plain object that can autocast (having .type = ${a()})`),null;if(!d(t.typeMap[n],e))return e;if("string"==typeof t.key&&!p(e)){const r={};for(const n in e)n!==t.key&&(r[n]=e[n]);return i(r)}return i(e)}}class E{}class ${}const C={native:t=>({type:"native",value:t}),array:t=>({type:"array",value:t}),oneOf:t=>({type:"one-of",values:t})};function z(t){if(!t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function P(t){switch(t.type){case"native":return A(t.value);case"array":return w(P(t.value));case"one-of":return function(t){let e=null;return(r,n)=>I(r,t)?r:(null==e&&(e=x(t)),o().error("Accessor#set",`Invalid property value, value needs to be of type ${e}`),n&&(n.valid=!1),null)}(t);default:return null}}function x(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case E:return"integer";case Date:return"date";case $:return"null";default:return b(t.value)}case"array":return`array of ${x(t.value)}`;case"one-of":{const e=t.values.map(t=>x(t));return`one of ${e.slice(0,-1)} or ${e[e.length-1]}`}}return"unknown"}function I(t,e){if(null==t)return!0;switch(e.type){case"native":switch(e.value){case Number:case E:return"number"==typeof t;case Boolean:return"boolean"==typeof t;case String:return"string"==typeof t;case $:return null===t}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some(t=>!I(t,e.value));case"one-of":return e.values.some(e=>I(t,e))}}},62788:(t,e,r)=>{r.d(e,{F_:()=>p,Xr:()=>b,a:()=>h,fE:()=>_,gc:()=>c}),r(44208);var n=r(53966),i=r(88620),o=r(47328);const s=new(r(67867).R),a=[];let l=s;function c(t){l.onAccessed(t)}let u=!1,f=!1;function h(t,e,r){if(u)return d(t,e,r);let n=null;return y(t),n=e.call(r),g(),n}function p(t,e){return h(s,t,e)}function d(t,e,r){const i=u;u=!0,y(t);let o=null;try{o=e.call(r)}catch(t){f&&n.A.getLogger("esri.core.accessorSupport.tracking").error(t)}return g(),u=i,o}function y(t){l=t,a.push(t)}function g(){const t=a.length;if(t>1){const e=a.pop();l=a[t-2],e.onTrackingEnd()}else if(1===t){const t=a.pop();l=s,t.onTrackingEnd()}else l=s}function _(t,e){if(e.flags&o.i.DepTrackingInitialized)return;e.flags|=o.i.DepTrackingInitialized;const r=f;f=!1,e.flags&o.i.AutoTracked?d(e.trackingTarget,e.metadata.get,t):b(t,e),f=r}const v=[];function b(t,e){e.flags&o.i.ExplicitlyTracking||(e.flags|=o.i.ExplicitlyTracking,d(e.trackingTarget,()=>{const r=e.metadata.dependsOn||v;for(const e of r)if("string"!=typeof e||e.includes(".")){const r=(0,i.AH)(e);for(let e=0,n=t;e<r.length&&null!=n&&"object"==typeof n;++e)n=m(n,r[e],e!==r.length-1)}else m(t,e,!1)}),e.flags&=~o.i.ExplicitlyTracking)}function m(t,e,r){const n=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){const e=parseInt(n,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}const o=(0,i.oY)(t);if(o){const e=o.propertiesByName.get(n);e&&(c(e),_(t,e))}return r?t[n]:void 0}},67076:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(79907);class i extends n.A{constructor(t,e,r){super(t,e,r)}}i.prototype.type="warning"},67124:(t,e,r)=>{r.d(e,{B:()=>f,v:()=>a});var n=r(49186),i=r(53966),o=r(93637),s=r(15903);function a(t,e){if(!e.write||e.write.writer||!1===e.write.enabled&&!e.write.overridePolicy)return;const r=t?.ndimArray??0;t&&(1===r||"type"in t&&(0,s.P)(t.type))?e.write.writer=h:r>1?e.write.writer=function(t){return(e,r,n,i)=>{let s;if(null===e)s=null;else{s=p(e,i,t);let r=t,n=s;for(;r>0&&Array.isArray(n);)r--,n=n[0];if(void 0!==n)for(let t=0;t<r;t++)s=[s]}(0,o.sM)(n,s,r)}}(r):e.types?Array.isArray(e.types)?e.write.writer=function(t){return(e,r,n,i)=>e&&Array.isArray(e)?c(e.filter(e=>l(e,t,i)),r,n,i):c(e,r,n,i)}(e.types[0]):e.write.writer=function(t){return(e,r,n,i)=>e?l(e,t,i)?c(e,r,n,i):void 0:c(e,r,n,i)}(e.types):e.write.writer=c}function l(t,e,r){for(const r in e.typeMap)if(t instanceof e.typeMap[r])return!0;if(r?.messages){const o=e.errorContext??"type",s=`Values of type '${("function"!=typeof e.key?t[e.key]:t.declaredClass)??"Unknown"}' cannot be written`;r&&r.messages&&t&&r.messages.push(new n.A(`${o}:unsupported`,s,{definition:t,context:r})),i.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(s)}return!1}function c(t,e,r,n){(0,o.sM)(r,u(t,n),e)}function u(t,e){return t&&"function"==typeof t.write?t.write({},e):t&&"function"==typeof t.toJSON?t.toJSON():"number"==typeof t?f(t):t}function f(t){return t===-1/0?-Number.MAX_VALUE:t===1/0?Number.MAX_VALUE:isNaN(t)?null:t}function h(t,e,r,n){let i;null===t?i=null:t&&"function"==typeof t.map?(i=t.map(t=>u(t,n)),"function"==typeof i.toArray&&(i=i.toArray())):i=[u(t,n)],(0,o.sM)(r,i,e)}function p(t,e,r){return 0!==r&&Array.isArray(t)?t.map(t=>p(t,e,r-1)):u(t,e)}},67867:(t,e,r)=>{r.d(e,{R:()=>n});class n{constructor(t){this.accessed=void 0,this._handles=void 0,this._observer=t}destroy(){this.accessed?.clear(),this.clear()}onAccessed(t){null!=this._observer&&t!==this._observer&&(null==this.accessed&&(this.accessed=new Set),this.accessed.add(t))}onTrackingEnd(){null!=this._observer&&(this.clear(),null!=this.accessed&&(null==this._handles&&(this._handles=[]),this.accessed.forEach(t=>{this._handles.push(t.observe(this._observer))}),this.accessed.clear()))}clear(){if(null!=this._handles){for(let t=0;t<this._handles.length;++t)this._handles[t].remove();this._handles.length=0}}}},85537:(t,e,r)=>{r.d(e,{v:()=>n});const n={INITIALIZING:0,CONSTRUCTING:1,CONSTRUCTED:2,DESTROYING:3,DESTROYED:4}},88620:(t,e,r)=>{r.d(e,{AH:()=>c,h1:()=>a,oY:()=>o,qg:()=>f,yh:()=>s});var n=r(36563),i=r(4718);function o(t){return t.__accessor__??null}function s(t,e){return null!=t?.metadata?.[e]}function a(t,e,r){return l(t,e,r?{policy:r,path:""}:null)}function l(t,e,r){return e?Object.keys(e).reduce((t,n)=>{const o=n;if("__proto__"===o)return t;let s=null,a="merge";if(r&&(s=r.path?`${r.path}.${n}`:n,a=r.policy(s)),"replace"===a)return t[o]=e[o],t;if("replace-arrays"===a&&Array.isArray(t[o]))return t[o]=e[o],t;if(void 0===t[o])return t[o]=(0,i.o8)(e[o]),t;let c=t[o],u=e[o];if(c===u)return t;if(Array.isArray(u)||Array.isArray(t))c=c?Array.isArray(c)?t[o]=c.slice():t[o]=[c]:t[o]=[],u&&(Array.isArray(u)||(u=[u]),u.forEach(t=>{c.includes(t)||c.push(t)}));else if(u&&"object"==typeof u)if(r){const e=r.path;r.path=s,t[o]=l(c,u,r),r.path=e}else t[o]=l(c,u,null);else t.hasOwnProperty(n)&&!e.hasOwnProperty(n)||(t[o]=u);return t},t||{}):t}function c(t){return Array.isArray(t)?t:t.split(".")}function u(t){return t.includes(",")?t.split(",").map(t=>t.trim()):[t.trim()]}function f(t,e,r,i){const o=function(t){if(Array.isArray(t)){const e=[];for(const r of t)e.push(...u(r));return e}return u(t)}(e);if(1!==o.length){const e=o.map(e=>i(t,e,r));return(0,n.vE)(e)}return i(t,o[0],r)}},90360:(t,e,r)=>{r.d(e,{C:()=>u,v:()=>c});var n=r(53966),i=r(93637),o=r(67076),s=r(96156),a=r(15903);const l=()=>n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function c(t,e,r){t&&(!r&&!e.read||e.read?.reader||!1===e.read?.enabled||function(t){return"types"in t?g(t.types):y(t.type)}(t)&&(0,i.sM)("read.reader",u(t),e))}function u(t){const e=t.ndimArray??0;if(e>1)return function(t){const e=f(t),r=h.bind(null,e),n=t.ndimArray??0;return(t,e,i)=>{if(null==t)return t;t=r(t,i,n);let o=n,s=t;for(;o>0&&Array.isArray(s);)o--,s=s[0];if(void 0!==s)for(let e=0;e<o;e++)t=[t];return t}}(t);if(1===e)return p(t);if("type"in t&&d(t.type)){const e=t.type.prototype?.itemType?.Type,r=p("function"==typeof e?{type:e}:{types:e});return(e,n,i)=>{const o=r(e,n,i);return o?new t.type(o):o}}return f(t)}function f(t){return"type"in t?function(t){return t.prototype.read?(e,r,n)=>{if(null==e)return e;const i=typeof e;if("object"!==i)return void l().error(`Expected JSON value of type 'object' to deserialize type '${t.prototype.declaredClass}', but got '${i}'`);const o=new t;return o.read(e,n),o}:t.fromJSON}(t.type):function(t){let e=null;const r=t.errorContext??"type",n=t.validate;return(i,a,c)=>{if(null==i)return i;const u=typeof i;if("object"!==u)return void l().error(`Expected JSON value of type 'object' to deserialize, but got '${u}'`);e||(e=function(t){const e={};for(const r in t.typeMap){const n=t.typeMap[r],i=(0,s.tD)(n.prototype);if("function"==typeof t.key)continue;const o=i[t.key];if(!o)continue;if(o.json?.type&&Array.isArray(o.json.type)&&1===o.json.type.length&&"string"==typeof o.json.type[0]){e[o.json.type[0]]=n;continue}const a=o.json?.write;if(!a?.writer){e[r]=n;continue}const l=a.target,c="string"==typeof l?l:t.key,u={};a.writer(r,u,c),u[c]&&(e[u[c]]=n)}return e}(t));const f=t.key;if("string"!=typeof f)return;const h=i[f],p=h?e[h]:t.defaultKeyValue?t.typeMap[t.defaultKeyValue]:void 0;if(!p){const t=`Type '${h||"unknown"}' is not supported`;return c?.messages&&i&&c.messages.push(new o.A(`${r}:unsupported`,t,{definition:i,context:c})),void l().error(t)}const d=new p;return d.read(i,c),n?n(d):d}}(t.types)}function h(t,e,r,n){return 0!==n&&Array.isArray(e)?e.map(e=>h(t,e,r,n-1)):t(e,void 0,r)}function p(t){const e=f(t);return(t,r,n)=>{if(null==t)return t;if(Array.isArray(t)){const r=[];for(const i of t){const t=e(i,void 0,n);void 0!==t&&r.push(t)}return r}const i=e(t,void 0,n);return void 0!==i?[i]:void 0}}function d(t){if(!(0,a.P)(t))return!1;const e=t.prototype.itemType;return!(!e||!e.Type)&&("function"==typeof e.Type?y(e.Type):g(e.Type))}function y(t){return!Array.isArray(t)&&!!t&&t.prototype&&("read"in t.prototype||"fromJSON"in t||d(t))}function g(t){for(const e in t.typeMap)if(!y(t.typeMap[e]))return!1;return!0}},93687:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(44208);class i{constructor(t,e,r,n=1,i=0){this._creator=t,this._acquireFunction=e,this._releaseFunction=r,this.allocationSize=n,this._pool=new Array(i),this._initialSize=i;for(let t=0;t<i;t++)this._pool[t]=this._creator();this.allocationSize=Math.max(n,1)}destroy(){this.prune(0)}acquire(...t){let e;if(i.test.disabled)e=this._creator();else{if(0===this._pool.length){const t=this.allocationSize;for(let e=0;e<t;e++)this._pool[e]=this._creator()}e=this._pool.pop()}return this._acquireFunction?this._acquireFunction(e,...t):function(t){return t?.acquire&&"function"==typeof t.acquire}(e)&&e.acquire(...t),e}release(t){var e;t&&!i.test.disabled&&(this._releaseFunction?this._releaseFunction(t):(e=t,e?.release&&"function"==typeof e.release&&t.release()),this._pool.push(t))}prune(t=this._initialSize){if(!(t>=this._pool.length)){for(let e=t;e<this._pool.length;++e){const t=this._pool[e];this._dispose(t)}this._pool.length=t}}_dispose(t){t.dispose&&"function"==typeof t.dispose&&t.dispose()}static{this.test={disabled:!!(0,n.A)("esri-tests-disable-memory-pools")}}}},96156:(t,e,r)=>{r.d(e,{CX:()=>a,tD:()=>o,z4:()=>s});var n=r(4718),i=r(88620);function o(t){let e=t.constructor.__accessorMetadata__;const r=Object.prototype.hasOwnProperty.call(t.constructor,"__accessorMetadata__");if(e){if(!r){e=Object.create(e);for(const t in e)e[t]=(0,n.o8)(e[t]);Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0})}}else e={},Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0});return t.constructor.__accessorMetadata__}function s(t,e){const r=o(t);let n=r[e];return n||(n=r[e]={}),n}function a(t,e){return(0,i.h1)(t,e,c)}const l=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function c(t){return l.test(t)?"replace":"merge"}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[364],{10536:(e,t,r)=>{function s(e){const t={};for(const r in e){if("declaredClass"===r)continue;const n=e[r];if(null!=n&&"function"!=typeof n)if(Array.isArray(n)){t[r]=[];for(let e=0;e<n.length;e++)t[r][e]=s(n[e])}else"object"==typeof n?n.toJSON&&(t[r]=JSON.stringify(n)):t[r]=n}return t}r.d(t,{z:()=>s})},20615:(e,t,r)=>{r.d(t,{I:()=>i});var s=r(2272),n=r(80893),a=r(61956);async function i(e,t,r,i){const o=(0,s.Dl)(e),{data:u}=await(0,n.gW)(o,a.A.from(t),r,i);return u.count}},51624:(e,t,r)=>{r.d(t,{A:()=>l});var s=r(44208),n=r(69397),a=r(93687);const i=4294967296,o=new TextDecoder("utf-8"),u=(0,s.A)("safari")||(0,s.A)("ios")?6:(0,s.A)("ff")?12:32;class l{constructor(e,t,r=0,s=(e?e.byteLength:0)){this._tag=0,this._dataType=99,this._init(e,t,r,s)}_init(e,t,r,s){this._data=e,this._dataView=t,this._pos=r,this._end=s}get usedMemory(){return 64+(0,n.Qf)(this._data)}asUnsafe(){return this}clone(){return new l(this._data,this._dataView,this._pos,this._end)}pos(){return this._pos}move(e){this._pos=e}nextTag(e){for(;;){if(this._pos===this._end)return!1;const t=this._decodeVarint();if(this._tag=t>>3,this._dataType=7&t,!e||e===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const e=this._decodeVarint();return this._tag=e>>3,this._dataType=7&e,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let e=4294967295;if(e=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return e;throw new Error("Varint overflow")}getUInt64(){return this._decodeVarint()}getSInt32(){const e=this.getUInt32();return e>>>1^-(1&e)}getSInt64(){return this._decodeSVarint()}getBool(){const e=0!==this._data[this._pos];return this._skip(1),e}getEnum(){return this._decodeVarint()}getFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getUint32(t+4,!0)*i;return this._skip(8),r}getSFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getInt32(t+4,!0)*i;return this._skip(8),r}getDouble(){const e=this._dataView.getFloat64(this._pos,!0);return this._skip(8),e}getFixed32(){const e=this._dataView.getUint32(this._pos,!0);return this._skip(4),e}getSFixed32(){const e=this._dataView.getInt32(this._pos,!0);return this._skip(4),e}getFloat(){const e=this._dataView.getFloat32(this._pos,!0);return this._skip(4),e}getString(){const e=this._getLength(),t=this._pos,r=this._toString(this._data,t,t+e);return this._skip(e),r}getBytes(){const e=this._getLength(),t=this._pos,r=this._toBytes(this._data,t,t+e);return this._skip(e),r}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(e,t,r,s){const n=this.getMessage(),a=e(n,t,r,s);return n.release(),a}processMessage(e){const t=this.getMessage(),r=e(t);return t.release(),r}getMessage(){const e=this._getLength(),t=l.pool.acquire();return t._init(this._data,this._dataView,this._pos,this._pos+e),this._skip(e),t}release(){l.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipLen(e){this._skip(e)}_skip(e){if(this._pos+e>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=e}_decodeVarint(){const e=this._data;let t=this._pos,r=0,s=0;if(this._end-t>=10)do{if(s=e[t++],r|=127&s,!(128&s))break;if(s=e[t++],r|=(127&s)<<7,!(128&s))break;if(s=e[t++],r|=(127&s)<<14,!(128&s))break;if(s=e[t++],r|=(127&s)<<21,!(128&s))break;if(s=e[t++],r+=268435456*(127&s),!(128&s))break;if(s=e[t++],r+=34359738368*(127&s),!(128&s))break;if(s=e[t++],r+=4398046511104*(127&s),!(128&s))break;if(s=e[t++],r+=562949953421312*(127&s),!(128&s))break;if(s=e[t++],r+=72057594037927940*(127&s),!(128&s))break;if(s=e[t++],r+=0x8000000000000000*(127&s),!(128&s))break;throw new Error("Varint too long!")}while(0);else{let n=1;for(;t!==this._end&&(s=e[t],128&s);)++t,r+=(127&s)*n,n*=128;if(t===this._end)throw new Error("Varint overrun!");++t,r+=s*n}return this._pos=t,r}_decodeSVarint(){const e=this._data;let t,r=0,s=0;const n=1&e[this._pos];if(s=e[this._pos++],r|=127&s,!(128&s))return n?-(r+1)/2:r/2;if(s=e[this._pos++],r|=(127&s)<<7,!(128&s))return n?-(r+1)/2:r/2;if(s=e[this._pos++],r|=(127&s)<<14,!(128&s))return n?-(r+1)/2:r/2;if(s=e[this._pos++],r|=(127&s)<<21,!(128&s))return n?-(r+1)/2:r/2;if(s=e[this._pos++],r+=268435456*(127&s),!(128&s))return n?-(r+1)/2:r/2;if(s=e[this._pos++],r+=34359738368*(127&s),!(128&s))return n?-(r+1)/2:r/2;if(s=e[this._pos++],r+=4398046511104*(127&s),!(128&s))return n?-(r+1)/2:r/2;if(t=BigInt(r),s=e[this._pos++],t+=0x2000000000000n*BigInt(127&s),!(128&s))return Number(n?-(t+1n)/2n:t/2n);if(s=e[this._pos++],t+=0x100000000000000n*BigInt(127&s),!(128&s))return Number(n?-(t+1n)/2n:t/2n);if(s=e[this._pos++],t+=0x8000000000000000n*BigInt(127&s),!(128&s))return Number(n?-(t+1n)/2n:t/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(e,t,r){if((r=Math.min(this._end,r))-t>u){const s=e.subarray(t,r);return o.decode(s)}let s="",n="";for(let a=t;a<r;++a){const t=e[a];128&t?n+="%"+t.toString(16):(s+=decodeURIComponent(n)+String.fromCharCode(t),n="")}return n.length&&(s+=decodeURIComponent(n)),s}_toBytes(e,t,r){return r=Math.min(this._end,r),new Uint8Array(e.buffer,t,r-t)}static{this.pool=new a.A(()=>new l(null,null),void 0,e=>{e._data=null,e._dataView=null})}}},53655:(e,t,r)=>{r.d(t,{SH:()=>R,ae:()=>I,cn:()=>m});var s=r(49186),n=r(51624),a=r(92722),i=r(69418);const o=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeString","esriFieldTypeDate","esriFieldTypeOID","esriFieldTypeGeometry","esriFieldTypeBlob","esriFieldTypeRaster","esriFieldTypeGUID","esriFieldTypeGlobalID","esriFieldTypeXML","esriFieldTypeBigInteger","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"],u=["sqlTypeBigInt","sqlTypeBinary","sqlTypeBit","sqlTypeChar","sqlTypeDate","sqlTypeDecimal","sqlTypeDouble","sqlTypeFloat","sqlTypeGeometry","sqlTypeGUID","sqlTypeInteger","sqlTypeLongNVarchar","sqlTypeLongVarbinary","sqlTypeLongVarchar","sqlTypeNChar","sqlTypeNVarchar","sqlTypeOther","sqlTypeReal","sqlTypeSmallInt","sqlTypeSqlXml","sqlTypeTime","sqlTypeTimestamp","sqlTypeTimestamp2","sqlTypeTinyInt","sqlTypeVarbinary","sqlTypeVarchar"],l=["upperLeft","lowerLeft"];function c(e){return e>=o.length?null:o[e]}function d(e){return e>=u.length?null:u[e]}function p(e){return e>=l.length?null:l[e]}function h(e,t){return t>=e.geometryTypes.length?null:e.geometryTypes[t]}function g(e,t,r){const s=e.asUnsafe(),n=t.createPointGeometry(r);for(;s.next();)switch(s.tag()){case 3:{const e=s.getUInt32(),r=s.pos()+e;let a=0;for(;s.pos()<r;)t.addCoordinatePoint(n,s.getSInt64(),a++);break}default:s.skip()}return n}function f(e,t,r){const s=e.asUnsafe(),n=t.createGeometry(r),a=2+(r.hasZ?1:0)+(r.hasM?1:0);for(;s.next();)switch(s.tag()){case 2:{const e=s.getUInt32(),r=s.pos()+e;let a=0;for(;s.pos()<r;)t.addLength(n,s.getUInt32(),a++);break}case 3:{const e=s.getUInt32(),r=s.pos()+e;let i=0;for(t.allocateCoordinates(n);s.pos()<r;)t.addCoordinate(n,s.getSInt64(),i),i++,i===a&&(i=0);break}default:s.skip()}return n}function y(e){const t=e.asUnsafe(),r=new a.A;let s="esriGeometryPoint";for(;t.next();)switch(t.tag()){case 2:{const e=t.getUInt32(),s=t.pos()+e;for(;t.pos()<s;)r.lengths.push(t.getUInt32());break}case 3:{const e=t.getUInt32(),s=t.pos()+e;for(;t.pos()<s;)r.coords.push(t.getSInt64());break}case 1:s=i.z[t.getEnum()];break;default:t.skip()}return{queryGeometry:r,queryGeometryType:s}}function _(e){const t=e.asUnsafe();for(;t.next();)switch(t.tag()){case 1:return t.getString();case 2:return t.getFloat();case 3:return t.getDouble();case 4:return t.getSInt32();case 5:return t.getUInt32();case 6:return t.getInt64();case 7:return t.getUInt64();case 8:return t.getSInt64();case 9:return t.getBool();default:return t.skip(),null}return null}function m(e){const t=e.asUnsafe(),r={type:c(0)};for(;t.next();)switch(t.tag()){case 1:r.name=t.getString();break;case 2:r.type=c(t.getEnum());break;case 3:r.alias=t.getString();break;case 4:r.sqlType=d(t.getEnum());break;case 5:default:t.skip();break;case 6:r.defaultValue=t.getString()}return r}function b(e){const t={},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.name=r.getString();break;case 2:t.isSystemMaintained=r.getBool();break;default:r.skip()}return t}function k(e,t,r,s){const n=t.createFeature(r);let a=0;for(;e.next();)switch(e.tag()){case 1:{const t=s[a++].name;n.attributes[t]=e.processMessage(_);break}case 2:n.geometry=e.processMessageWithArgs(f,t,r);break;case 4:n.centroid=e.processMessageWithArgs(g,t,r);break;default:e.skip()}return n}function S(e){const t=[1,1,1,1],r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t[0]=r.getDouble();break;case 2:t[1]=r.getDouble();break;case 4:t[2]=r.getDouble();break;case 3:t[3]=r.getDouble();break;default:r.skip()}return t}function w(e){const t=[0,0,0,0],r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t[0]=r.getDouble();break;case 2:t[1]=r.getDouble();break;case 4:t[2]=r.getDouble();break;case 3:t[3]=r.getDouble();break;default:r.skip()}return t}function I(e){const t={originPosition:p(0)},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.originPosition=p(r.getEnum());break;case 2:t.scale=r.processMessage(S);break;case 3:t.translate=r.processMessage(w);break;default:r.skip()}return t}function T(e){const t={},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.shapeAreaFieldName=r.getString();break;case 2:t.shapeLengthFieldName=r.getString();break;case 3:t.units=r.getString();break;default:r.skip()}return t}function F(e,t){const r=t.createSpatialReference();for(;e.next();)switch(e.tag()){case 1:r.wkid=e.getUInt32();break;case 5:r.wkt=e.getString();break;case 2:r.latestWkid=e.getUInt32();break;case 3:r.vcsWkid=e.getUInt32();break;case 4:r.latestVcsWkid=e.getUInt32();break;default:e.skip()}return r}function q(e,t){const r=t.createFeatureResult(),s=e.asUnsafe();r.geometryType=h(t,0);let n=!1;for(;s.next();)switch(s.tag()){case 1:r.objectIdFieldName=s.getString();break;case 3:r.globalIdFieldName=s.getString();break;case 4:r.geohashFieldName=s.getString();break;case 5:r.geometryProperties=s.processMessage(T);break;case 7:r.geometryType=h(t,s.getEnum());break;case 8:r.spatialReference=s.processMessageWithArgs(F,t);break;case 10:r.hasZ=s.getBool();break;case 11:r.hasM=s.getBool();break;case 12:r.transform=s.processMessage(I);break;case 9:r.exceededTransferLimit=s.getBool();break;case 13:t.addField(r,s.processMessage(m));break;case 15:n||(t.prepareFeatures(r),n=!0),t.addFeature(r,s.processMessageWithArgs(k,t,r,r.fields));break;case 2:r.uniqueIdField=s.processMessage(b);break;default:s.skip()}return t.finishFeatureResult(r),r}function x(e,t){const r={};let s=null;for(;e.next();)switch(e.tag()){case 4:s=e.processMessageWithArgs(y);break;case 1:r.featureResult=e.processMessageWithArgs(q,t);break;default:e.skip()}return null!=s&&r.featureResult&&t.addQueryGeometry(r,s),r}function R(e,t){try{const r=2,s=new n.A(new Uint8Array(e),new DataView(e)),a={};for(;s.next();)s.tag()===r?a.queryResult=s.processMessageWithArgs(x,t):s.skip();return a}catch(e){throw new s.A("query:parsing-pbf","Error while parsing FeatureSet PBF payload",{error:e})}}},66208:(e,t,r)=>{r.d(t,{m:()=>n});var s=r(53655);function n(e,t){const r=(0,s.SH)(e,t),n=r.queryResult.featureResult,a=r.queryResult.queryGeometry,i=r.queryResult.queryGeometryType;if(n&&n.features&&n.features.length&&n.objectIdFieldName){const e=n.objectIdFieldName;for(const t of n.features)t.attributes&&(t.objectId=t.attributes[e])}return n&&(n.queryGeometry=a,n.queryGeometryType=i),n}},69418:(e,t,r)=>{r.d(t,{S:()=>l,z:()=>u});var s=r(83047),n=r(21325),a=r(43334),i=r(58512),o=r(92722);const u=["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline","esriGeometryPolygon"];class l{constructor(e){this._options=e,this.geometryTypes=u,this._coordinatePtr=0,this._vertexDimension=0}createFeatureResult(){return new i.A}prepareFeatures(e){this._vertexDimension=2,e.hasZ&&this._vertexDimension++,e.hasM&&this._vertexDimension++}finishFeatureResult(e){if(!e?.features||!e.hasZ||!this._options.sourceSpatialReference||!e.spatialReference||(0,n.aI)(e.spatialReference,this._options.sourceSpatialReference)||e.spatialReference.vcsWkid)return;const t=(0,s.G9)(this._options.sourceSpatialReference)/(0,s.G9)(e.spatialReference);if(1!==t)for(const r of e.features){if(!(0,a.N3)(r))continue;const e=r.geometry.coords;for(let r=2;r<e.length;r+=3)e[r]*=t}}addFeature(e,t){e.features.push(t)}createFeature(){return new a.Om(null,{},null,0)}createSpatialReference(){return{wkid:0}}createGeometry(){return new o.A}addField(e,t){e.fields.push(t)}allocateCoordinates(e){e.coords.length=e.lengths.reduce((e,t)=>e+t,0)*this._vertexDimension,this._coordinatePtr=0}addCoordinate(e,t){e.coords[this._coordinatePtr++]=t}addCoordinatePoint(e,t){e.coords.push(t)}addLength(e,t){e.lengths.push(t)}addQueryGeometry(e,t){e.queryGeometry=t.queryGeometry,e.queryGeometryType=t.queryGeometryType}createPointGeometry(){return new o.A}}},78286:(e,t,r)=>{r.d(t,{V:()=>i});var s=r(2272),n=r(80893),a=r(61956);async function i(e,t,r,i){const o=(0,s.Dl)(e),{data:u}=await(0,n.Pk)(o,a.A.from(t),r,i);return u.objectIds??function(e){if(e)return function(e){return!Array.isArray(e[0])}(e)?e:e.map(e=>JSON.stringify(e))}(u.uniqueIds)??[]}},80893:(e,t,r)=>{r.d(t,{IJ:()=>g,Jf:()=>m,Pk:()=>y,eW:()=>h,gW:()=>_,kS:()=>f});var s=r(78888),n=r(84952),a=r(65864),i=r(17136),o=r(21325),u=r(10536),l=r(66208),c=r(58501);const d="Layer does not support extent calculation.";function p(e,t,r){const s=e.geometry,n=e.toJSON();delete n.compactGeometryEnabled,delete n.defaultSpatialReferenceEnabled;const i=n;let u,l,c;if(s&&(l=s.spatialReference,c=(0,o.YX)(l),i.geometryType=(0,a.$B)(s),i.geometry=function(e,t){if(t&&"extent"===e.type)return`${e.xmin},${e.ymin},${e.xmax},${e.ymax}`;if(t&&"point"===e.type)return`${e.x},${e.y}`;const r=e.toJSON();return delete r.spatialReference,JSON.stringify(r)}(s,e.compactGeometryEnabled),i.inSR=c),n.groupByFieldsForStatistics&&(i.groupByFieldsForStatistics=n.groupByFieldsForStatistics.join(",")),n.objectIds)switch(r?.uniqueIdFields?.length){case void 0:i.objectIds=n.objectIds.join(",");break;case 1:i.uniqueIds=JSON.stringify(n.objectIds),delete i.objectIds;break;default:i.uniqueIds=JSON.stringify(n.objectIds.map(e=>JSON.parse(e))),delete i.objectIds}if(n.orderByFields&&(i.orderByFields=n.orderByFields.join(",")),!n.outFields||!n.returnDistinctValues&&(t?.returnCountOnly||t?.returnExtentOnly||t?.returnIdsOnly)?delete i.outFields:n.outFields.includes("*")?i.outFields="*":i.outFields=n.outFields.join(","),n.outSR?(i.outSR=(0,o.YX)(n.outSR),u=e.outSpatialReference):s&&(n.returnGeometry||n.returnCentroid)&&(i.outSR=i.inSR,u=l),n.returnGeometry&&delete n.returnGeometry,n.outStatistics&&(i.outStatistics=JSON.stringify(n.outStatistics)),n.fullText&&(i.fullText=JSON.stringify(n.fullText)),n.pixelSize&&(i.pixelSize=JSON.stringify(n.pixelSize)),n.quantizationParameters&&(e.defaultSpatialReferenceEnabled&&null!=l&&null!=e.quantizationParameters?.extent&&l.equals(e.quantizationParameters.extent.spatialReference)&&delete n.quantizationParameters.extent.spatialReference,i.quantizationParameters=JSON.stringify(n.quantizationParameters)),n.parameterValues&&(i.parameterValues=JSON.stringify(n.parameterValues)),n.rangeValues&&(i.rangeValues=JSON.stringify(n.rangeValues)),n.dynamicDataSource&&(i.layer=JSON.stringify({source:n.dynamicDataSource}),delete n.dynamicDataSource),n.timeExtent){const e=n.timeExtent,{start:t,end:r}=e;null==t&&null==r||(i.time=t===r?t:`${t??"null"},${r??"null"}`),delete n.timeExtent}return e.defaultSpatialReferenceEnabled&&null!=l&&null!=u&&l.equals(u)&&(i.defaultSR=i.inSR,delete i.inSR,delete i.outSR),i}async function h(e,t,r,s,n){const a=t.timeExtent?.isEmpty?{data:{features:[]}}:await k(e,t,"json",s,void 0,n);return(0,c.q)(t,r,a.data),a}async function g(e,t,r,s,n){if(t.timeExtent?.isEmpty)return{data:r.createFeatureResult()};const a=await f(e,t,s,n),i=a;return i.data=(0,l.m)(a.data,r),i}function f(e,t,r,s){return k(e,t,"pbf",r,void 0,s)}function y(e,t,r,s){return t.timeExtent?.isEmpty?Promise.resolve({data:{objectIds:[]}}):k(e,t,"json",r,{returnIdsOnly:!0},s)}function _(e,t,r,s){return t.timeExtent?.isEmpty?Promise.resolve({data:{count:0}}):k(e,t,"json",r,{returnIdsOnly:!0,returnCountOnly:!0},s)}async function m(e,t,r){if(t.timeExtent?.isEmpty)return{data:{count:0,extent:null}};const s=await k(e,t,"json",r,{returnExtentOnly:!0,returnCountOnly:!0}),n=s.data;if(n.hasOwnProperty("extent"))return s;if(n.features)throw new Error(d);if(n.hasOwnProperty("count"))throw new Error(d);return s}function b(e,t){if(!e.returnIdsOnly||!t.uniqueIdFields)return e;const r={...e,returnUniqueIdsOnly:!0};return delete r.returnIdsOnly,r}async function k(e,t,r,a={},o={},l={}){const c="string"==typeof e?(0,n.An)(e):e,d=t.geometry?[t.geometry]:[],h=await(0,i.el)(d,null,{signal:a.signal}),g=h?.[0];null!=g&&((t=t.clone()).geometry=g);const f=(0,u.z)({...c.query,f:r,...b(o,l),...p(t,o,l)});return(0,s.A)((0,n.fj)(c.path,(y=o,null==t.formatOf3DObjects||y.returnCountOnly||y.returnExtentOnly||y.returnIdsOnly?"query":"query3d")),{...a,responseType:"pbf"===r?"array-buffer":"json",query:{...f,...a.query}});var y}},99199:(e,t,r)=>{r.d(t,{e:()=>u,s:()=>o});var s=r(2272),n=r(80893),a=r(22671),i=r(61956);async function o(e,t,r,s){const n=await u(e,t,r,s);return a.A.fromJSON(n)}async function u(e,t,r,a){const o=(0,s.Dl)(e),u={...r},l=i.A.from(t),{data:c}=await(0,n.eW)(o,l,l.sourceSpatialReference,u,a);return c}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6982],{34727:(t,n,r)=>{r.d(n,{$8:()=>d,Cc:()=>a,Hx:()=>F,Io:()=>y,KJ:()=>s,OS:()=>C,Sp:()=>l,XM:()=>c,YN:()=>h,ZH:()=>b,b6:()=>A,cU:()=>i,gg:()=>M,hs:()=>o,kU:()=>f,or:()=>E,pF:()=>S,pq:()=>I,qE:()=>u});const e=new Float32Array(1);function i(t){--t;for(let n=1;n<32;n<<=1)t|=t>>n;return t+1}function u(t,n,r){return Math.min(Math.max(t,n),r)}function a(t,n,r){return t+(n-t)*r}function o(t,n,r,e,i){return a(e,i,(t-n)/(r-n))}function f(t){return t*Math.PI/180}function s(t){return 180*t/Math.PI}function c(t){return Math.acos(u(t,-1,1))}function h(t){return Math.asin(u(t,-1,1))}function l(t,n,r=1e-6){return t===n||!(!Number.isFinite(t)||!Number.isFinite(n))&&(t>n?t-n:n-t)<=r}function M(t,n,r=1e-6){return!l(t,n,r)&&t>n}function b(t,n,r=1e-6){return!l(t,n,r)&&t<n}function F(t,n,r=1e-6){return l(t,n,r)||t>n}const m=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function g(t){return m.setFloat64(0,t),m.getBigInt64(0)}const p=1000000n,w=N(1);function N(t){const n=g(t=Math.abs(t)),r=function(t){return m.setBigInt64(0,t),m.getFloat64(0)}(n<=p?p:n-p);return Math.abs(t-r)}function y(t,n,r=w){if(t===n)return!0;if(!Number.isFinite(t)||!Number.isFinite(n))return!1;if(null!=r&&N(Math.min(Math.abs(t),Math.abs(n)))<r)return Math.abs(t-n)<=r;const e=g(t),i=g(n);return e<0==i<0&&!((e<i?i-e:e-i)>p)}function A(t,n,r=1e-6){if(t===n)return!0;if(!Number.isFinite(t)||!Number.isFinite(n))return!1;const e=Math.abs(t-n),i=Math.abs(t),u=Math.abs(n);if(0===t||0===n||i<1e-12&&u<1e-12){if(e>.01*r)return!1}else if(e/(i+u)>r)return!1;return!0}function d(t){return k(Math.max(-I,Math.min(t,I)))}function k(t){return e[0]=t,e[0]}function E(t){const n=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],r=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],e=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(l(n,1)&&l(r,1)&&l(e,1))}function C(t,n){return(t%n+n)%n}const I=k(34028234663852886e22);function S(t,n,r){if(void 0===r||0===+r)return Math[t](n);if(n=+n,r=+r,isNaN(n)||"number"!=typeof r||r%1!=0)return NaN;let e=n.toString().split("e");return e=(n=Math[t](+(e[0]+"e"+(e[1]?+e[1]-r:-r)))).toString().split("e"),+(e[0]+"e"+(e[1]?+e[1]+r:r))}},96982:(t,n,r)=>{r.r(n),r.d(n,{getFacesWithVertexAttributes:()=>i});var e=r(34727);function i({distance:t,heading:n,horizontalFieldOfView:r,pitch:i,verticalFieldOfView:u,origin:a=[0,0,0],positionLength:o=3}){const f=o-1,s=o*o,c=new Float32Array(2*s),h=new Float64Array(3*s),l=new Float32Array(3*s).fill(0),M=new Uint32Array(f**2*6);for(let b=0,F=0;b<s;b++){const s=Math.floor(b/o),m=b%o,g=1-m/f,p=s/f,w=2*b,N=3*b;c[w]=g,c[w+1]=p;const y=i+u/2-p*u,A=(0,e.kU)(n-r/2+g*r),d=(0,e.kU)(y),k=Math.sin(d),E=Math.cos(d),C=[k*Math.sin(A),Math.cos(A)*k,-E];h[N]=a[0]+t*C[0],h[N+1]=a[1]+t*C[1],h[N+2]=a[2]+t*C[2],l[N]=-C[0],l[N+1]=-C[1],l[N+2]=-C[2],s!==f&&m!==f&&(M[F++]=b,M[F++]=b+o,M[F++]=b+o+1,M[F++]=b,M[F++]=b+o+1,M[F++]=b+1)}return{result:{position:h,uv:c,normal:l,faces:M},transferList:[h.buffer,c.buffer,l.buffer,M?.buffer]}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8720],{54625:(e,t,i)=>{i.d(t,{i_:()=>n});var s=i(30524);function n(e,t,i){t=(0,s.rS)(t)?.toLowerCase(),i=(0,s.rS)(i)?.toLowerCase();const n=e.map(e=>e.toLowerCase()),a=t?e[n.indexOf(t)]:null,l=i?e[n.indexOf(i)]:null;return{longitudeFieldName:a||e[n.indexOf(o.find(e=>n.includes(e)))],latitudeFieldName:l||e[n.indexOf(r.find(e=>n.includes(e)))]}}const r=["lat","lat83","latitude","latitude83","latdecdeg","lat_dd","y","ycenter","point_y"],o=["lon","lng","lng83","long","long83","longitude","longitude83","longdecdeg","long_dd","x","xcenter","point_x"]},66344:(e,t,i)=>{i.d(t,{q:()=>a});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{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,n,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)),n>this._maxSize)return void this._notifyRemove(t,i,n,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return s||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,i,0,0);const l=1+Math.max(o,-4)- -3;this._db.set(t,new r(i,n,l)),this._size+=n,e.size+=n,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 n=e.lifetime;i[n]=(i[n]||0)+e.size,this._users.forEach(i=>{const{id:n,name:r}=i;if(s.startsWith(n)){const i=t[r]||0;t[r]=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 n=t[i]||0;t[i]=n,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const n=Object.keys(t);n.sort((e,i)=>t[i]-t[e]),n.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 n=this._users.get(e.split(o)[0])?.removeFunc,r=n?.(t,s,i);return"number"==typeof r?r: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 n=!0;for(;n;){n=!1;for(const[r,a]of this._db)if(0===a.lifetime&&(!s||r.startsWith(s))){const s=t??this._users.get(r.split(o)[0]);if(this._purgeItem(r,a,s),i.size<=.9*e)return;n||=this._db.has(r)}}for(const[n,r]of this._db)if(!s||n.startsWith(s)){const s=t??this._users.get(n.split(o)[0]);if(this._purgeItem(n,r,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 n(0);class r{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 n,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(){}}},68716:(e,t,i)=>{i.r(t),i.d(t,{default:()=>L});var s=i(31635),n=i(7762),r=i(21818),o=i(49186),a=i(53966),l=i(97768),u=i(563),c=i(16930),d=i(70328),f=i(56390),h=i(8384),m=i(64714),p=i(20437),y=i(95466),_=i(30524),g=i(25482),w=i(10107),S=(i(44208),i(87811),i(40608));let z=class extends g.o{constructor(e){super(e),this.type="location",this.latitudeFieldName=null,this.longitudeFieldName=null}};(0,s.Cg)([(0,w.MZ)({type:["location"],readOnly:!0,json:{write:!0}})],z.prototype,"type",void 0),(0,s.Cg)([(0,w.MZ)({json:{write:!0}})],z.prototype,"latitudeFieldName",void 0),(0,s.Cg)([(0,w.MZ)({json:{write:!0}})],z.prototype,"longitudeFieldName",void 0),z=(0,s.Cg)([(0,S.$)("esri.layers.support.ParquetEncodingLocation")],z);let b=class extends g.o{constructor(e){super(e),this.type="wkb",this.primaryFieldName=null}};function x(e){switch(e.type){case"wkb":return b.fromJSON(e);case"location":return z.fromJSON(e)}}(0,s.Cg)([(0,w.MZ)({type:["wkb"],readOnly:!0,json:{write:!0}})],b.prototype,"type",void 0),(0,s.Cg)([(0,w.MZ)({json:{write:!0}})],b.prototype,"orientation",void 0),(0,s.Cg)([(0,w.MZ)({json:{write:!0}})],b.prototype,"primaryFieldName",void 0),b=(0,s.Cg)([(0,S.$)("esri.layers.support.ParquetEncodingWkb")],b);var R=i(66552),I=i(54625),v=i(70581);const F=new R.J({esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint"});function C(e){return F.toJSON(e)}async function O(e,t={}){if(e.geometryType&&e.spatialReference&&e.encoding&&e.fields)return e;if(e.urls.length<1)throw new o.A("parquet:bad-input","At least one url must be specified",e);const i=await(0,v.DV)(e.urls.getItemAt(0),{getCustomParameters:()=>t.customParameters}),s=(0,v.hD)(i),n={...e,file:i};null==n.fields&&(n.fields=i.fields().map(e=>p.A.fromJSON({name:e.name,type:e.type}))),null==n.encoding&&(n.encoding=A(s,n.fields));const r=(0,v.Hj)(i);if(r)switch(r.mode){case"z":n.displayOptimization={mode:"z"};break;case"xz":{const e=r.multiscale;if(!e)throw new o.A("bad-format","XZ display optimization requires multiscale geometries");n.displayOptimization={mode:"xz",multiscale:e};break}}if(!n.encoding)return n;switch(n.encoding.type){case"location":null==n.spatialReference&&(n.spatialReference=c.A.WGS84),null==n.geometryType&&(n.geometryType="point");break;case"wkb":{if(!s)return n;const e=s.primary_column,t=s.columns[e];if(n.geometryType||(n.geometryType=function(e){const{geometry_types:t}=e,i=new Set;for(const e of t){const t=M(e);t&&i.add(t)}if(i.size>1)throw new o.A("unsupported","Parquet mixed geometry types are not support",{geometryTypes:i});return 1===i.size?i.values().next().value:void 0}(t)),n.spatialReference||(n.spatialReference=function(e){const t=e.crs?.id?.code;return t&&"number"==typeof t?new c.A({wkid:t}):void 0}(t)),n.fields)for(const e of Object.keys(s.columns))n.fields=n.fields.filter(t=>t.name!==e)}}return n}function A(e,t){if(null!=e){const t=e.primary_column,i=e.columns[t];return new b({primaryFieldName:t,orientation:i.orientation??null})}const i=(0,I.i_)(t.map(e=>e.name));return i.latitudeFieldName&&i.latitudeFieldName?new z({latitudeFieldName:i.latitudeFieldName,longitudeFieldName:i.longitudeFieldName}):null}function M(e){switch(e){case"Point":return"point";case"Polygon":case"MultiPolygon":return"polygon";case"LineString":return"polyline";case"MultiPoint":return"multipoint";default:return null}}var q=i(30661),N=i(28923),k=i(44320),P=i(35258),j=i(16630);const T=new q.Z,E=8e3,G="__OBJECTID";class L{constructor(){this._fileInfos=new Map,this._queue=new u.QueueProcessor({concurrency:1,process:(e,t)=>this._executeQuery(e,t)})}async load(e){const t=e.spatialReference?c.A.fromJSON(e.spatialReference):void 0;if(t&&!t.isWGS84&&!t.isWebMercator)throw new o.A("parquet:unsupported-projection","Only WGS84 and Web Mercator are supported");const i=await O({urls:new n.A(e.urls),fields:e.fields?.map(e=>p.A.fromJSON(e)),encoding:e.encoding?x(e.encoding):e.encoding,geometryType:e.geometryType?(r=e.geometryType,F.fromJSON(r)):null,spatialReference:t},{customParameters:e.customParameters});var r;let l;if(i.geometryType&&i.encoding){if(!i.spatialReference)throw new o.A("parquet:unsupported","SpatialReference must be defined");if(!i.spatialReference.isGeographic&&!i.spatialReference.isWebMercator)throw new o.A("parquet:unsupported-projection","Only WGS84 and Web Mercator are supported");i.spatialReference.isGeographic&&!i.spatialReference.isWGS84&&(a.A.getLogger("parquet:unsupported-projection").warn("Found a geographic projection that is not WGS84. Handling as WGS84.",{spatialReference:i.spatialReference}),i.spatialReference=c.A.WGS84),l={geometryType:C(i.geometryType),spatialReference:i.spatialReference.toJSON(),encoding:i.encoding.toJSON(),displayOptimization:i.displayOptimization}}this.setCustomParameters(e.customParameters),this._geometryInfo=l;for(const t of e.urls){const e=await(0,v.DV)(t,{geometryInfo:l,outSpatialReference:null,getCustomParameters:()=>this._customParameters});this._fileInfos.set(t,{index:this._fileInfos.size,file:e})}const u=this._fileInfos.values().next().value?.file;if(!u)return{layerDefinition:{}};const{fields:f}=i;if(null==f)throw new o.A("parquet-layer:missing-metadata","Unable to create parquet source: cannot infer fields",f);f.push(new p.A({name:G,type:"oid",alias:G}));const h={fields:f.map(e=>({...e.toJSON(),column:u.columnForFieldName(e.name)})),timeZoneByFieldName:null},_=y.A.fromJSON(h);this._fieldsIndex=_;const g=C(i.geometryType??"point");if(this._metadata=P.i.createFeature({fieldsIndex:h,geometryType:g,featureIdInfo:{type:"object-id",fieldName:"rowId"},subtypes:null,subtypeField:null,types:null,typeIdField:null,globalIdField:null,spatialReference:i.spatialReference,outSpatialReference:null,timeInfo:null,timeReferenceUnknownClient:null,dateFieldsTimeZone:null}),this._queryEngineParams={fieldsIndex:this._metadata.fieldsIndex,geometryType:l?.geometryType??"esriGeometryPoint",featureIdInfo:{type:"object-id",fieldName:"rowId"},hasM:!1,hasZ:!1,spatialReference:c.A.fromJSON(l?.spatialReference),aggregateAdapter:null,timeInfo:null,definitionExpression:null},i.spatialReference&&(this._fullExtent=function(e,t){const i=(0,d.hZ)((0,d.vt)(),d.qv);for(const t of e){const e=(0,v.hD)(t.file);if(!e)return null;const s=e.columns[e.primary_column];if(!s.bbox)return null;const n=Q(s.bbox);(0,d.RF)(i,n)}return{xmin:i[0],ymin:i[1],xmax:i[3],ymax:i[4],spatialReference:t}}(this._fileInfos.values(),i.spatialReference.toJSON())),null==this._fullExtent&&"location"===i.encoding?.type){const{latitudeFieldName:e,longitudeFieldName:t}=i.encoding,n=this._fieldsIndex.get(e)?.column,r=this._fieldsIndex.get(t)?.column,o=(0,d.hZ)((0,d.vt)(),d.qv);for(const e of this._fileInfos.values())for(const t of e.file.rowGroups()){const e={stack:[],error:void 0,hasError:!1};try{const i=(0,s.mS)(e,t.columnDescriptorForAttribute(n),!1),a=(0,s.mS)(e,t.columnDescriptorForAttribute(r),!1),l=[a.minValue(),i.minValue(),a.maxValue(),i.maxValue()];(0,d.DC)(o,l),t.free()}catch(t){e.error=t,e.hasError=!0}finally{(0,s.hk)(e)}}this._fullExtent={xmin:o[0],ymin:o[1],xmax:o[3],ymax:o[4],spatialReference:i.spatialReference?.toJSON()}}return{layerDefinition:{fields:i.fields?.map(e=>e.toJSON()),drawingInfo:(0,m.F0)(g),extent:this._fullExtent??void 0,geometryType:g,encoding:i.encoding?.toJSON(),displayOptimization:i.displayOptimization}}}destroy(){for(const e of this._fileInfos.values())e.file.free();this._fileInfos.clear(),this._queue.destroy()}setCustomParameters(e){this._customParameters=e}async updateFiles(e){const t=new Set(e);for(const[e,i]of this._fileInfos.entries())t.has(e)?t.delete(e):(i.file.free(),this._fileInfos.delete(e));for(const e of t){const t=await(0,v.DV)(e,{geometryInfo:this._geometryInfo,outSpatialReference:null,getCustomParameters:()=>this._customParameters});this._fileInfos.set(e,{index:this._fileInfos.size,file:t})}}async queryFeatures(e,t){return this._validateQuery(e),e.objectIds?.length||(e.resultRecordCount=e.resultRecordCount?Math.min(e.resultRecordCount,8e3):8e3,e.resultOffset=e.resultOffset??0),(await this._enqueueQuery(e,t)).createQueryResponse()}async queryFeatureCount(e,t){return this._validateQuery(e),J(e)?(e.resultRecordCount=e.resultRecordCount??this._getFeatureCount(),e.resultOffset=e.resultOffset??0,delete e.outFields,delete e.returnGeometry,(await this._enqueueQuery(e,t)).createQueryResponseForCount()):this._getFeatureCount()}async queryObjectIds(e,t){return this._validateQuery(e),J(e)?(e.resultRecordCount=e.resultRecordCount?Math.min(e.resultRecordCount,8e3):8e3,e.resultOffset=e.resultOffset??0,delete e.returnGeometry,delete e.outFields,(await this._enqueueQuery(e,t)).items.map(e=>e.getObjectId())):Array.from({length:this._getFeatureCount()},(e,t)=>t)}async queryExtent(e,t){if(this._validateQuery(e),this._fullExtent&&!J(e))return{count:this._getFeatureCount(),extent:this._fullExtent};const i=(0,r.zI)(this._metadata.spatialReference);e.resultOffset=e.resultOffset??0,e.resultRecordCount=e.resultRecordCount??this._getFeatureCount(),e.returnGeometry=!0,delete e.outFields;const s=(0,d.hZ)((0,d.vt)(),d.qv),n=(0,d.vt)(),o=await this._enqueueQuery(e,t);let a=0;for(const e of o.items)e.getBounds(n)&&((0,d.RF)(s,n),a+=1);return{count:a,extent:(0,f.Wc)(s,i,e.outSR?(0,r.zI)(e.outSR):i,i,!1)}}_getFeatureCount(){return Array.from(this._fileInfos.values()).reduce((e,t)=>e+t.file.numRows(),0)}_validateQuery(e){if(e.outStatistics)throw new o.A("parquet:unsupported","Statistics queries are not supported",{query:e});if(e.orderByFields?.length)throw new o.A("parquet:unsupported","Queries using orderBy are not supported",{query:e})}async*_fetchChunks(e,t){for(const i of this._fileInfos.values()){const s=i.file.numRows(),n=Math.ceil(s/E);for(let s=0;s<n;s++){const n=s*E,r=await i.file.readChunk(n,E,e.fields,e.returnGeometry,t);for(const e of r){const t=new j.s(this._metadata,this._fieldsIndex,e,0,i.index),s=new N.j(t,null,0,!1),n=W(this._metadata,[s],this._queryEngineParams);yield n}}}}_enqueueQuery(e,t){return this._queue.push(e,t)}async _executeQuery(e,t){const i=await this._getReadParams(e);if(e.objectIds?.length)for(const s of this._fileInfos.values()){const n=[],r=(await s.file.readChunksByRowId(new Uint32Array(e.objectIds),i.fields,i.returnGeometry,t)).map((e,t)=>new j.s(this._metadata,this._fieldsIndex,e,t,s.index)).map((e,t)=>new N.j(e,null,t,!1)),o=W(this._metadata,r,this._queryEngineParams),a=await o.executeQueryForOpaqueFeatures(e,t);for(const e of a)n.push(e);return new h.G(n,e,{fieldsIndex:this._fieldsIndex,geometryType:this._metadata.geometryType,spatialReference:this._metadata.spatialReference,objectIdField:"rowId",hasM:!1,hasZ:!1,featureAdapter:T})}let s=e.resultRecordCount,n=e.resultOffset;(0,l.Lw)(s),(0,l.Lw)(n),delete e.resultRecordCount,delete e.resultOffset;const r=[];for await(const o of this._fetchChunks(i,t)){const i=await o.executeQueryForOpaqueFeatures(e,t);if(i.length>n){const t=i.slice(n,Math.min(n+s,i.length));for(const e of t)r.push(e);if(n=0,s-=t.length,0===s)return new h.G(r,e,{fieldsIndex:this._fieldsIndex,geometryType:this._metadata.geometryType,spatialReference:this._metadata.spatialReference,objectIdField:"rowId",hasM:!1,hasZ:!1,featureAdapter:T})}else n-=i.length}return new h.G(r,e,{fieldsIndex:this._fieldsIndex,geometryType:this._metadata.geometryType,spatialReference:this._metadata.spatialReference,objectIdField:"rowId",hasM:!1,hasZ:!1,featureAdapter:T})}async _getReadParams(e){const t=new Set;if(e.where&&await(0,_.hz)(t,this._fieldsIndex,e.where),e.outStatistics)for(const i of e.outStatistics)null!=i.onStatisticField&&t.add(i.onStatisticField);if(e.outFields)for(const i of e.outFields)t.add(i);return{fields:this._getAttributeIds(Array.from(t)),returnGeometry:!!e.returnGeometry||!!e.geometry}}_getAttributeIds(e){if(null==e)return new Uint32Array;if(e.includes("*"))return new Uint32Array(this._fieldsIndex.fields.map(e=>e.column).filter(e=>null!=e));const t=[];for(const i of e){const e=this._fieldsIndex.get(i);if(null==e)throw new o.A("unknown-field",`Field ${i} does not exist`);null==e.column||t.push(e.column)}return new Uint32Array(t)}}function J(e){return Object.keys(e).some(e=>function(e){switch(e){case"resultOffset":case"resultRecordCount":case"aggregateIds":case"distance":case"gdbVersion":case"geometry":case"having":case"timeExtent":case"where":case"objectIds":case"historicMoment":return!0;default:return!1}}(e))}function W(e,t,i){const s=new k.I(()=>e);for(const e of t)s.insert(e);return new f.do({...i,featureStore:s})}function Q(e){switch(e.length){case 4:return(0,d.Jt)((0,d.vt)(),e);case 6:return e;default:throw new o.A("parquet:protocol-violation","Invalid Geoparquet file. BoundingBox size must be 4 or 6.",{bbox:e})}}},69540:(e,t,i)=>{i.d(t,{OU:()=>c,Pw:()=>d});var s=i(31635),n=i(65008),r=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(40608);const u=Symbol("ClonableMixin"),c=e=>{var t;const i=e;let n=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,n={},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 c=this[t];let d=null;if("function"==typeof u)d=u(c,e);else if("reference"===u)d=c;else if(d=(0,r.TU)(c,e),null!=c&&null==d)continue;0===a?l.set(t,d):n[t]=d}const u=new(0,Object.getPrototypeOf(this).constructor)(n);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 n=(0,s.Cg)([(0,l.$)("esri.core.Clonable")],n),n},d=c(n.A)},93470:(e,t,i)=>{i.d(t,{Cb:()=>r,HW:()=>c,JR:()=>n,JZ:()=>l,WR:()=>a,b6:()=>d,fT:()=>s,nC:()=>u,yM:()=>o});const s=[252,146,31,255],n=[153,153,153,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:s,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:s},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},u={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},c={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},d={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);