@arcgis/core 5.1.0-next.85 → 5.1.0-next.86

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 (86) hide show
  1. package/assets/components/assets/icon/gpsReceiver16.json +1 -0
  2. package/assets/components/assets/icon/gpsReceiver24.json +1 -0
  3. package/assets/components/assets/icon/gpsReceiver32.json +1 -0
  4. package/assets/components/assets/icon/totalStation16.json +1 -0
  5. package/assets/components/assets/icon/totalStation24.json +1 -0
  6. package/assets/components/assets/icon/totalStation32.json +1 -0
  7. package/assets/esri/core/workers/RemoteClient.js +1 -1
  8. package/assets/esri/core/workers/chunks/{67abbe81c16de26f61d8.js → 1bad4331a43169f3cc34.js} +1 -1
  9. package/assets/esri/core/workers/chunks/27f67a3828b78d4c1413.js +1 -0
  10. package/assets/esri/core/workers/chunks/2c916b93d8a6e6b9c0d7.js +1 -0
  11. package/assets/esri/core/workers/chunks/{db86a1119e4e58ecfbda.js → 2f8b173d1dac73ba0d9e.js} +1 -1
  12. package/assets/esri/core/workers/chunks/49e8144effc299dfcd66.js +1 -0
  13. package/assets/esri/core/workers/chunks/5166f204fd078dced5db.js +1 -0
  14. package/assets/esri/core/workers/chunks/577cbc131b21c351fae5.js +2 -0
  15. package/assets/esri/core/workers/chunks/{72691fe14024e35f85d0.js → 618106f5fbdf88ef2278.js} +1 -1
  16. package/assets/esri/core/workers/chunks/61fada8942b65fa0b5e1.js +1 -0
  17. package/assets/esri/core/workers/chunks/{05c5f68e117fc58ae801.js → 701b823763e941b71f4f.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{0219edb509e01270d42d.js → 99c6bd2125f4eb6796fe.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{ff713926985a284f5d81.js → a844547bf33a8527ee9f.js} +2 -2
  20. package/assets/esri/core/workers/chunks/aa6808146c76b2d49b64.js +1 -0
  21. package/assets/esri/core/workers/chunks/{9cac70164d8528c283af.js → add000f51c778114c028.js} +1 -1
  22. package/assets/esri/core/workers/chunks/b23e677c33db6f9bac8a.js +1 -0
  23. package/assets/esri/core/workers/chunks/{dfe1139124fda0d6c059.js → b575292013bceef9b015.js} +1 -1
  24. package/assets/esri/core/workers/chunks/bae8f2a5dfe0cfbc0688.js +1 -0
  25. package/assets/esri/core/workers/chunks/bb5f909a2f26fc6a21b0.js +2 -0
  26. package/assets/esri/core/workers/chunks/{28a45bd26eb5c9b3ec7c.js → ce66c551b7083913eee5.js} +1 -1
  27. package/assets/esri/core/workers/chunks/{22bdea4ca52970c29504.js → d0aee7c80c5c7e23d216.js} +1 -1
  28. package/assets/esri/core/workers/chunks/{f4220b6eab0865318033.js → d8de7fe49dba9ed589df.js} +1 -1
  29. package/assets/esri/core/workers/chunks/ded2f19a1685db2137f4.js +2 -0
  30. package/assets/esri/core/workers/chunks/{f77d23ee60c876b01e4b.js → e9a42f0262fc44a79d4b.js} +1 -1
  31. package/assets/esri/core/workers/chunks/edbdee69440dbfc05644.js +1 -0
  32. package/assets/esri/core/workers/chunks/ee057c85cdf6beb5b012.js +2 -0
  33. package/assets/esri/core/workers/chunks/ff57a071156d8a7e47be.js +1 -0
  34. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  35. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  36. package/assets/esri/themes/dark/main.css +1 -1
  37. package/assets/esri/themes/light/main.css +1 -1
  38. package/assets/esri/themes/light/view.css +1 -1
  39. package/config.js +1 -1
  40. package/interfaces.d.ts +14 -14
  41. package/kernel.js +1 -1
  42. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  43. package/layers/ParquetLayer.d.ts +10 -10
  44. package/layers/ParquetLayer.js +1 -1
  45. package/layers/StreamLayer.js +1 -1
  46. package/layers/graphics/sources/connections/FabricKustoConnection.js +2 -0
  47. package/layers/graphics/sources/connections/GeoEventConnection.js +1 -1
  48. package/layers/graphics/sources/connections/WebSocketConnection.js +1 -1
  49. package/layers/graphics/sources/connections/createConnection.js +1 -1
  50. package/layers/graphics/sources/connections/websocketUils.js +2 -0
  51. package/layers/support/ClientSideConnection.js +1 -1
  52. package/layers/support/FabricKustoSource.js +2 -0
  53. package/layers/support/{ParquetGeometryEncodingLocation.d.ts → GeometryEncodingLocation.d.ts} +9 -9
  54. package/layers/support/{ParquetGeometryEncodingLocation.js → GeometryEncodingLocation.js} +1 -1
  55. package/layers/support/{ParquetGeometryEncodingWkb.d.ts → GeometryEncodingWkb.d.ts} +8 -9
  56. package/layers/support/GeometryEncodingWkb.js +2 -0
  57. package/layers/support/kustoUtils.js +2 -0
  58. package/layers/support/parquetEncodingUtils.js +1 -1
  59. package/layers/support/parquetUtils.js +1 -1
  60. package/layers/support/types.d.ts +3 -3
  61. package/package.json +2 -2
  62. package/support/revision.js +1 -1
  63. package/views/2d/ViewState.js +1 -1
  64. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  65. package/views/2d/layers/features/layerAdapters/StreamLayerAdapter.js +1 -1
  66. package/views/2d/layers/features/sources/strategies/StreamLoadStrategy.js +1 -1
  67. package/views/3d/layers/graphics/StreamController.js +1 -1
  68. package/assets/esri/core/workers/chunks/2171aaa147aa4d9fc5b5.js +0 -1
  69. package/assets/esri/core/workers/chunks/53d13e13d8729bd4dcf2.js +0 -1
  70. package/assets/esri/core/workers/chunks/54d07eadf113f0e4e506.js +0 -1
  71. package/assets/esri/core/workers/chunks/5818f1f526577068d6ca.js +0 -2
  72. package/assets/esri/core/workers/chunks/5ec66e39e53c11e75179.js +0 -2
  73. package/assets/esri/core/workers/chunks/5f6fd20a7f4e80eafa25.js +0 -1
  74. package/assets/esri/core/workers/chunks/6d2abdb48e17b2b56599.js +0 -1
  75. package/assets/esri/core/workers/chunks/79eca9ccd4dc52da1d59.js +0 -1
  76. package/assets/esri/core/workers/chunks/7cdd0492b2191df95102.js +0 -2
  77. package/assets/esri/core/workers/chunks/7e530e635325dba07864.js +0 -1
  78. package/assets/esri/core/workers/chunks/936f2b1332ece14d7c28.js +0 -2
  79. package/assets/esri/core/workers/chunks/983f6c8727fd9484718e.js +0 -1
  80. package/assets/esri/core/workers/chunks/c7da0981822182e15f3a.js +0 -1
  81. package/layers/support/ParquetGeometryEncodingWkb.js +0 -2
  82. /package/assets/esri/core/workers/chunks/{5ec66e39e53c11e75179.js.LICENSE.txt → 577cbc131b21c351fae5.js.LICENSE.txt} +0 -0
  83. /package/assets/esri/core/workers/chunks/{ff713926985a284f5d81.js.LICENSE.txt → a844547bf33a8527ee9f.js.LICENSE.txt} +0 -0
  84. /package/assets/esri/core/workers/chunks/{5818f1f526577068d6ca.js.LICENSE.txt → bb5f909a2f26fc6a21b0.js.LICENSE.txt} +0 -0
  85. /package/assets/esri/core/workers/chunks/{7cdd0492b2191df95102.js.LICENSE.txt → ded2f19a1685db2137f4.js.LICENSE.txt} +0 -0
  86. /package/assets/esri/core/workers/chunks/{936f2b1332ece14d7c28.js.LICENSE.txt → ee057c85cdf6beb5b012.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "M8.5 0C5.715 0 1 .516 1 2.45v2.88l.365.102c.04.011.54.146 1.618.281l.237 1.53c.111.445.51.757.97.757h1.92l.405 1.621A.5.5 0 0 0 7 10v1h-.5a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5H7v2h1v-2h1v2h1v-2h.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H10v-1a.5.5 0 0 0 .485-.379L10.891 8h1.919c.46 0 .859-.312.98-.803l.228-1.484c1.077-.135 1.576-.27 1.617-.281L16 5.329V2.45C16 .516 11.285 0 8.5 0m6.041 2H2.46C3.319 1.527 5.38.97 8.5.97s5.181.557 6.041 1.03M4.011 5.823c.273.025.587.046.914.067L5.17 7h-.979zM7.39 9l-.25-1h2.718l-.25 1zM9 10v1H8v-1zm1.805-3-4.608.007L5.752 5h5.496zM10 13H7v-1h3zm2.81-6h-.981l.246-1.11c.328-.02.641-.043.916-.067zm-.588-2.123a1 1 0 0 0-.195-.503A1 1 0 0 0 11.248 4H5.752a.99.99 0 0 0-.778.373.97.97 0 0 0-.197.504C3.36 4.776 2.454 4.635 2 4.547V3h13v1.548c-.454.087-1.36.227-2.778.329"
@@ -0,0 +1 @@
1
+ "M12.5 0C7.282 0 2 1.153 2 3.357v3.866l.384.091c.059.015.843.191 2.518.361l.471 3.377c.139.558.638.948 1.213.948h1.332c.12.58.62 1 1.218 1h1.126l.694 1.437c.012.023.03.042.044.064V17H9.5a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h.5v1.5a.5.5 0 0 0 .5.5h.5v2h1v-2h1v2h1v-2h.5a.5.5 0 0 0 .5-.5V20h.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H14v-2.46c.023-.035.052-.066.071-.104L14.765 13h1.1c.596 0 1.096-.42 1.217-1h1.332c.575 0 1.074-.39 1.223-1l.459-3.325c1.676-.17 2.461-.346 2.52-.36L23 7.222V3.357C23 1.153 17.718 0 12.5 0m0 .97c5.111 0 8.589 1.115 9.343 2.03H3.157C3.911 2.085 7.39.97 12.5.97M6.586 11c-.115 0-.215-.078-.232-.137L5.92 7.767q.594.047 1.298.089L7.743 11zM14 21h-3v-1h3zm1-3v1h-5v-1zm-3.144-4-.483-1h2.281l-.483.999V14zM13 15v2h-1v-2zm3.111-3.209a.25.25 0 0 1-.247.209H9.136a.25.25 0 0 1-.247-.209l-.75-4.5a.25.25 0 0 1 .055-.202A.25.25 0 0 1 8.386 7h8.228a.25.25 0 0 1 .192.089.25.25 0 0 1 .055.202zm2.545-.98a.25.25 0 0 1-.242.189h-1.157l.524-3.144q.704-.041 1.296-.09zM22 6.417c-.605.106-1.964.301-4.206.437a1.2 1.2 0 0 0-.226-.41A1.25 1.25 0 0 0 16.614 6H8.386c-.368 0-.716.161-.954.442a1.2 1.2 0 0 0-.226.41C4.964 6.718 3.605 6.523 3 6.417V4h19zM10 10h1v1h-1zm0-2h1v1h-1zm4 2h1v1h-1zm0-2h1v1h-1z"
@@ -0,0 +1 @@
1
+ "M16.5 0C9.47 0 2.01 1.577 2.01 4.5v5.389l.367.095c.089.023 1.326.327 4.073.597l.454 4.084A1.5 1.5 0 0 0 8.396 16h2.583c.212.58.75 1 1.388 1h.791l.69 1.795A1.49 1.49 0 0 0 15 19.944V23h-1.5a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h.5v1.5a.5.5 0 0 0 .5.5h.5v4h1v-4h1v4h1v-4h.5a.5.5 0 0 0 .5-.5V26h.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H18v-3.056c.567-.125 1.03-.548 1.128-1.069L19.844 17h.789c.637 0 1.176-.42 1.388-1h2.583c.767 0 1.408-.573 1.492-1.334l.454-4.085c2.747-.27 3.984-.574 4.073-.597L31 9.89V4.5C31 1.577 23.53 0 16.5 0M8.396 15a.5.5 0 0 1-.498-.445l-.431-3.883c.793.066 1.716.124 2.72.175L10.78 15zM16 20h1v3h-1zm2 7h-3v-1h3zm1-3v1h-5v-1zm-.83-5.402a.5.5 0 0 1-.49.402h-2.36c-.238 0-.444-.169-.514-.482L14.226 17h4.55zm2.958-3.027a.5.5 0 0 1-.495.429h-8.266a.5.5 0 0 1-.495-.429l-.714-5c-.02-.146.02-.287.117-.398s.23-.173.378-.173h9.694a.498.498 0 0 1 .495.571zm3.974-1.016a.5.5 0 0 1-.498.445H22.22l.593-4.153a88 88 0 0 0 2.72-.175zM30 9.095c-.843.166-3.168.545-7.308.755a1.5 1.5 0 0 0-.213-.332A1.5 1.5 0 0 0 21.347 9h-9.694c-.434 0-.847.188-1.132.518a1.5 1.5 0 0 0-.213.332C6.168 9.64 3.843 9.261 3 9.096V7h27zM30 6H3V4.5C3 2.848 8.773.97 16.5.97S30 2.848 30 4.5zm-11 8h1v1h-1zm-6 0h1v1h-1zm6-2h1v1h-1zm-6 0h1v1h-1z"
@@ -0,0 +1 @@
1
+ "M11.5 4H10C8.897 4 8 5.121 8 6.5S8.897 9 10 9h1.5c1.103 0 2-1.121 2-2.5s-.897-2.5-2-2.5M9.9 7.984C9.403 7.905 9 7.262 9 6.5s.403-1.405.9-1.484c-.248.416-.4.926-.4 1.484s.152 1.068.4 1.484M11.5 8c-.542 0-1-.687-1-1.5s.458-1.5 1-1.5 1 .687 1 1.5-.458 1.5-1 1.5m4 2H15V5.451C15 3.824 14.512 3 13.549 3h-.16l-.55-2.604a.5.5 0 0 0-.49-.396H5.65a.5.5 0 0 0-.487.387L4.553 3h-.665c-.368 0-.704.2-.877.521l-.887 1.625A1 1 0 0 0 2 5.628V10h-.5a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5H2v.549c0 .8.651 1.451 1.451 1.451H6v1h6v-1h2.5a.5.5 0 0 0 .5-.5V13h.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5M6.047 1h5.897l.306 1.446-.194-.252A.5.5 0 0 0 11.66 2H5.814zM2 12v-1h1v1zm2 2h-.549A.45.45 0 0 1 3 13.549V13h.5a.5.5 0 0 0 .5-.5zm2 0H5V7H4v3.5a.5.5 0 0 0-.5-.5H3V5.627L3.888 4H5.19L6 5.618zm6-2h-1v1h1v1H9v-3h3zm2 2h-1v-3.5a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 0-.5.5V14H7V5.618c0-.152-.036-.306-.105-.447l-.948-1.895a.5.5 0 0 0-.372-.255L5.58 3h5.835l.622.806c.095.123.24.194.396.194h1.116C13.956 4 14 5.015 14 5.451z"
@@ -0,0 +1 @@
1
+ "M22.5 17H21V6.927c0-.892-.612-1.638-1.436-1.856L18.257.366A.5.5 0 0 0 17.775 0H7a.5.5 0 0 0-.484.376L5.336 5h-.77a1.51 1.51 0 0 0-1.286.728l-1.002 1.67A1.95 1.95 0 0 0 2 8.402V17h-.5a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5H2v.073C2 21.136 2.864 22 3.927 22H8v1.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V22h3.5a.5.5 0 0 0 .5-.5V20h1.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5M7.389 1h10.007l1.11 4h-.7l-.37-.728a.5.5 0 0 0-.436-.27V2.5a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5V5H6.368zM9 5.248V5h2.613l.387.64V15h-.5a.5.5 0 0 0-.5.5V21h-1V6.927a1.92 1.92 0 0 0-1-1.679m8 1.82A2 2 0 0 0 16.5 7h-2c-.57 0-1.084.263-1.5.697V5.5c0-.09-.025-.18-.072-.259L12.782 5h3.902l.316.62zM14.736 13H14.5c-.813 0-1.5-1.145-1.5-2.5S13.687 8 14.5 8h.236C14.28 8.63 14 9.51 14 10.5s.28 1.87.736 2.5M16 4H9V3h7zm-3 9.303c.416.434.93.697 1.5.697h2q.258-.001.5-.068V15h-4zM16.5 13c-.813 0-1.5-1.145-1.5-2.5S15.687 8 16.5 8 18 9.145 18 10.5s-.687 2.5-1.5 2.5M2 19v-1h2v1zm5 2H3.927C3.416 21 3 20.584 3 20h1.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H3V8.403c0-.174.047-.343.136-.49l1.002-1.67A.5.5 0 0 1 4.566 6h1.082l1.12 1.778c.152.239.232.516.232.8zm1 0V8.578c0-.474-.134-.935-.386-1.334L6.83 6h1.243c.511 0 .927.416.927.927V21zm8 2H9v-1h7zm2-2h-6v-5h6zm2 0h-1v-5.5a.5.5 0 0 0-.5-.5H18v-1.697c.608-.632 1-1.638 1-2.803s-.392-2.17-1-2.803V6h1.073c.511 0 .927.416.927.927zm2-2h-1v-1h1zm-5-1h-1v-1h1zm0 2h-1v-1h1z"
@@ -0,0 +1 @@
1
+ "M29.5 24H28V9.401a2.4 2.4 0 0 0-2.281-2.389l-1.824-5.951A1.49 1.49 0 0 0 22.46 0H10.075a1.5 1.5 0 0 0-1.453 1.127L7.112 7h-.878c-.502 0-.967.249-1.246.665L3.591 9.751A3.5 3.5 0 0 0 3 11.697V24h-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h.54a2.4 2.4 0 0 0 2.361 2H11v1.5a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V30h4.5c.827 0 1.5-.673 1.5-1.5V28h1.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5M9.59 1.376A.5.5 0 0 1 10.076 1h12.386c.22 0 .413.143.477.354L24.668 7h-.903l-.532-.781A.5.5 0 0 0 22.82 6H22V2.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V7H8.145zM12 7.46V7h3.328l.672.729V22h-.5a.5.5 0 0 0-.5.5V29h-2V9.401c0-.8-.397-1.505-1-1.941m11 2.991c-.456-.28-.961-.451-1.5-.451h-2c-.98 0-1.864.524-2.5 1.36V7.534a.5.5 0 0 0-.133-.339L16.687 7h5.869l.444.653zm-3.7.577c-.786.826-1.3 2.067-1.3 3.472s.514 2.646 1.3 3.472c-1.284-.145-2.3-1.638-2.3-3.472s1.016-3.327 2.3-3.472M21 6h-9V3h9zm-4 11.64c.636.837 1.52 1.36 2.5 1.36h2c.539 0 1.044-.17 1.5-.451V22h-6zm4.5.36c-1.379 0-2.5-1.57-2.5-3.5s1.121-3.5 2.5-3.5 2.5 1.57 2.5 3.5-1.121 3.5-2.5 3.5M3 27v-2h3v2zm6 2H5.401c-.613 0-1.13-.4-1.32-1H6.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5H4V11.697c0-.496.146-.977.422-1.39l1.397-2.085A.5.5 0 0 1 6.234 8h1.088l1.365 2.464c.205.37.313.788.313 1.21zm1 0V11.675a3.5 3.5 0 0 0-.438-1.696L8.466 8h2.133C11.37 8 12 8.629 12 9.401V29zm11 2h-9v-1h9zm3-2h-8v-6h8zm3-.5c0 .275-.225.5-.5.5H25v-6.5a.5.5 0 0 0-.5-.5H24v-4.36c.617-.812 1-1.918 1-3.14s-.383-2.328-1-3.14V8h1.599C26.37 8 27 8.629 27 9.401zm2-1.5h-1v-2h1zm-7-2h-1v-1h1zm0 2h-1v-1h1z"
@@ -1 +1 @@
1
- var RemoteClient;(()=>{"use strict";var e={66358(e,t,r){r.p=self.esriConfig.assetsPath+"/esri/core/workers/"},92602(e,t,r){r.d(t,{A:()=>a}),r(44208);var n=r(93637);const a={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&((0,n.$N)(a,globalThis.esriConfig,!0),delete a.has),!a.assetsPath){{const e="5.1.0-next.85";a.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}a.defaultAssetsPath=a.assetsPath}},49186(e,t,r){r.d(t,{A:()=>s});var n=r(4718),a=r(53966),o=r(799);class s{constructor(e,t,r){this.type="error",this.name=e,this.message=t?(0,o.V2)(t,r):"",this.details=r}toString(){const{name:e,message:t}=this;return`[${e}]: ${t}`}toJSON(){if(null!=this.details)try{return{name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,(e,t)=>{if(t&&"object"==typeof t&&"function"==typeof t.toJSON)return t;try{return(0,n.o8)(t)}catch(e){return"[object]"}}))}}catch(e){throw a.A.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new s(e.name,e.message,e.details)}}},53966(e,t,r){r.d(t,{A:()=>c});var n=r(92602),a=r(51447),o=(r(44208),r(799));const s={info:0,warn:1,error:2,none:3};class c{constructor(e){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},null!=e.level&&(this.level=e.level),null!=e.writer&&(this.writer=e.writer),this._module=e.module,c._loggers.set(this.module,this);const t=this.module.lastIndexOf(".");-1!==t&&(this._parent=c.getLogger(this.module.slice(0,t)))}get module(){return this._module}get parent(){return this._parent}error(...e){this._log("error","always",...e)}warn(...e){this._log("warn","always",...e)}info(...e){this._log("info","always",...e)}errorOnce(...e){this._log("error","once",...e)}warnOnce(...e){this._log("warn","once",...e)}infoOnce(...e){this._log("info","once",...e)}errorOncePerTick(...e){this._log("error","oncePerTick",...e)}warnOncePerTick(...e){this._log("warn","oncePerTick",...e)}infoOncePerTick(...e){this._log("info","oncePerTick",...e)}get test(){}static get test(){}static getLogger(e){return e="string"!=typeof e?e.declaredClass:e,c._loggers.get(e)||new c({module:e})}static{this._loggers=new Map}static{this._tickCounter=0}static{this._tickCounterScheduled=!1}static{this._throttlingDisabled=!1}_log(e,t,...r){if(this._matchLevel(e)){if("always"!==t&&!c._throttlingDisabled){const n=function(...e){return(0,o.Wm)(JSON.stringify(e,(e,t)=>"object"!=typeof t||Array.isArray(t)?t:"[Object]"))}(r),a=this._loggedMessages[e].get(n);if("once"===t&&null!=a||"oncePerTick"===t&&a&&a>=c._tickCounter)return;this._loggedMessages[e].set(n,c._tickCounter),c._scheduleTickCounterIncrement()}for(const t of n.A.log.interceptors)if(t(e,this.module,...r))return;this._inheritedWriter()(e,this.module,...r)}}_parentWithMember(e,t){let r=this;for(;null!=r;){const t=r[e];if(null!=t)return t;r=r.parent}return t}_inheritedWriter(){return this._parentWithMember("writer",i)}_matchLevel(e){const t=n.A.log.level||"warn";return s[this._parentWithMember("level",t)]<=s[e]}static _scheduleTickCounterIncrement(){c._tickCounterScheduled||(c._tickCounterScheduled=!0,Promise.resolve().then(()=>{c._tickCounter++,c._tickCounterScheduled=!1}))}}function i(e,t,...r){console[e](`[${(0,a.u3)(t)}]`,...r)}},87811(e,t,r){r.d(t,{A:()=>n});class n{static{this._m=2147483647}static{this._a=48271}static{this._c=0}constructor(e=1){this._seed=e}set seed(e){this._seed=e??Math.random()*n._m}getInt(){return this._seed=(n._a*this._seed+n._c)%n._m,this._seed}getFloat(){return this.getInt()/(n._m-1)}getIntRange(e,t){return Math.round(this.getFloatRange(e,t))}getFloatRange(e,t){const r=t-e;return e+this.getInt()/n._m*r}}},4576(e,t,r){r.d(t,{Am:()=>s,HX:()=>b,Ho:()=>u,Ji:()=>o,MJ:()=>c,Mo:()=>v,Ru:()=>A,TF:()=>O,VO:()=>f,Xj:()=>d,Xy:()=>g,aI:()=>i,iv:()=>l,k4:()=>k,mW:()=>w,qh:()=>m,vW:()=>h,yc:()=>P});var n=r(21818),a=r(87811);const o=1.5;function s(e,t){if(t){const r=[];for(const n of e)r.some(e=>t(e,n))||r.push(n);return r}return Array.from(new Set(e))}function c(e,t,r,n,a,o,s){if(null==e&&null==n)return!0;t=Math.max(0,t),a=Math.max(0,a),r=Math.max(0,r<0?(e?.length??0)+r:r),o=Math.max(0,o<0?(n?.length??0)+o:o);const c=r-t;if(null==e||null==n||c!==o-a)return!1;if(s){for(let r=0;r<c;r++)if(!s(e[t+r],n[a+r]))return!1}else for(let r=0;r<c;r++)if(e[t+r]!==n[a+r])return!1;return!0}function i(e,t,r){return c(e,0,e?.length??0,t,0,t?.length??0,r)}function f(){return(e,t)=>{if(null==e&&null==t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}}function l(e,t,r){let n,a;return r?(n=t.filter(t=>!e.some(e=>r(e,t))),a=e.filter(e=>!t.some(t=>r(t,e)))):(n=t.filter(t=>!e.includes(t)),a=e.filter(e=>!t.includes(e))),{added:n,removed:a}}function d(e){return e&&"number"==typeof e.length}function u(e,t){const r=e.length;if(0===r)return[];const n=[];for(let a=0;a<r;a+=t)n.push(e.slice(a,a+t));return n}function b(e,t,r,n){e.length>r&&(e.length=r);const a=e.length;let o=0,s=a;if(a===r){const r=n(e[a-1],t);if(r<=0||Number.isNaN(r))return}for(;o<s;){const r=o+s>>>1,a=n(e[r],t);a<=0||Number.isNaN(a)?o=r+1:s=r}a===r&&e.pop(),e.splice(o,0,t)}class h{constructor(){this.last=0}}const p=new h;function m(e,t,r,n){n=n||p;const a=Math.max(0,n.last-10);for(let o=a;o<r;++o)if(e[o]===t)return n.last=o,o;const o=Math.min(a,r);for(let r=0;r<o;++r)if(e[r]===t)return n.last=r,r;return-1}function g(e,t,r,a){const o=r??e.length,s=m(e,(0,n.z)(t),o,a);if(-1!==s)return e[s]=e[o-1],null==r&&e.pop(),t}const y=new Set;function w(e,t,r=e.length,n=t.length,a,o){if(0===n||0===r)return r;y.clear();for(let e=0;e<n;++e)y.add(t[e]);a=a||p;const s=Math.max(0,a.last-10);for(let t=s;t<r;++t)if(y.has(e[t])&&(o?.push(e[t]),y.delete(e[t]),e[t]=e[r-1],--r,--t,0===y.size||0===r))return y.clear(),r;for(let t=0;t<s;++t)if(y.has(e[t])&&(o?.push(e[t]),y.delete(e[t]),e[t]=e[r-1],--r,--t,0===y.size||0===r))return y.clear(),r;return y.clear(),r}function v(e){return e?(_.seed=e,()=>_.getFloat()):Math.random}const _=new a.A;function k(e,t){if(!e)return e;const r=v(t);for(let t=e.length-1;t>0;t--){const n=Math.floor(r()*(t+1)),a=e[t];e[t]=e[n],e[n]=a}return e}function O(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}function A(e,t){return null!=e}function P(e){return Array.isArray(e)}},21818(e,t,r){function n(e){return e}r.d(t,{z:()=>n})},51447(e,t,r){r.d(t,{Lx:()=>i,eF:()=>f,eO:()=>c,io:()=>l,u3:()=>d,uW:()=>s});var n=r(44208);const a=new WeakMap;function o(e,t,r=!1){const n=`🛑 DEPRECATED - ${t}`;if(!r)return void e.warn(n);let o=a.get(e);o||(o=new Set,a.set(e,o)),o.has(t)||(o.add(t),e.warn(n))}function s(e,t,r={}){(0,n.A)("esri-deprecation-warnings")&&l(e,`Module: ${d(t)}`,r)}function c(e,t,r={}){if((0,n.A)("esri-deprecation-warnings")){const{moduleName:n}=r;l(e,"Function: "+(n?d(n)+"::":"")+t+"()",r)}}function i(e,t,r={}){if((0,n.A)("esri-deprecation-warnings")){const{moduleName:n}=r;l(e,"Property: "+(n?d(n)+"::":"")+t,r)}}function f(e,t,r={}){(0,n.A)("esri-deprecation-warnings")&&l(e,`Multiple argument constructor: ${t=d(t)}`,{warnOnce:!0,replacement:`new ${t}({ <your properties here> })`,...r})}function l(e,t,r={}){if((0,n.A)("esri-deprecation-warnings")){const{replacement:n,version:a,see:s,warnOnce:c}=r;let i=t;if(n&&(i+=`\n\t🛠️ Replacement: ${n}`),a&&(i+=`\n\t⚙️ Version: ${a}`),s)if(Array.isArray(s)){i+="\n\t🔗 See for more details:";for(const e of s)i+=`\n\t\t${e}`}else i+=`\n\t🔗 See ${s} for more details.`;o(e,i,c)}}function d(e){return e.startsWith("esri.")?e.replace("esri.","@arcgis/core/").replaceAll(".","/"):e}},37955(e,t,r){r.d(t,{Oo:()=>c,on:()=>s,wb:()=>a});var n=r(36563);function a(e){return function(e){return null!=e&&"object"==typeof e&&"on"in e&&"function"==typeof e.on}(e)||o(e)}function o(e){return null!=e&&"object"==typeof e&&"addEventListener"in e&&"function"==typeof e.addEventListener}function s(e,t,r){if(!a(e))throw new TypeError("target is not a Evented or EventTarget object");return o(e)?function(e,t,r,a){if(Array.isArray(t)){const o=t.slice();for(const t of o)e.addEventListener(t,r,a);return(0,n.hA)(()=>{for(const t of o)e.removeEventListener(t,r,a)})}return e.addEventListener(t,r,a),(0,n.hA)(()=>e.removeEventListener(t,r,a))}(e,t,r):e.on(t,r)}function c(e,t,r){if(!a(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const n=s(e,t,t=>{n.remove(),r.call(e,t)});return n}},36563(e,t,r){r.d(t,{hA:()=>a,rE:()=>s,vE:()=>o});const n={remove:()=>{}};function a(e){return e?{remove(){e&&(e(),e=void 0)}}:n}function o(e){return a(()=>function(e){e.forEach(e=>e?.remove())}(e))}function s(e){return a(()=>e?.abort())}},44208(e,t,r){r.d(t,{A:()=>o});const n=globalThis,a={...n.esriConfig?.has};function o(e){return"function"==typeof a[e]?a[e]=a[e](n):a[e]}o.add=(e,t,r,n)=>{(n||void 0===a[e])&&(a[e]=t),r&&o(e)},o.cache=a,o.add("big-integer-warning-enabled",!0),o.add("esri-deprecation-warnings",!0),o.add("esri-tests-disable-screenshots",!1),o.add("esri-tests-use-full-window",!1),o.add("esri-tests-post-to-influx",!0),o.add("esri-cim-animations-enable-status","enabled"),o.add("esri-cim-animations-spotlight",!1),o.add("esri-cim-animations-freeze-time",!1),(()=>{o.add("host-webworker",void 0!==n.WorkerGlobalScope&&self instanceof n.WorkerGlobalScope);const e="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(o.add("host-browser",e),o.add("host-node",!("object"!=typeof n.process||!n.process.versions?.node||!n.process.versions.v8)),o.add("dom",e),o("host-browser")){const e=navigator,t=e.userAgent,r=e.appVersion,n=parseFloat(r);if(o.add("wp",parseFloat(t.split("Windows Phone")[1])||void 0),o.add("msapp",parseFloat(t.split("MSAppHost/")[1])||void 0),o.add("khtml",r.includes("Konqueror")?n:void 0),o.add("edge",parseFloat(t.split("Edge/")[1])||void 0),o.add("opr",parseFloat(t.split("OPR/")[1])||void 0),o.add("webkit",!o("wp")&&!o("edge")&&parseFloat(t.split("WebKit/")[1])||void 0),o.add("chrome",!o("edge")&&!o("opr")&&parseFloat(t.split("Chrome/")[1])||void 0),o.add("android",!o("wp")&&parseFloat(t.split("Android ")[1])||void 0),o.add("safari",!r.includes("Safari")||o("wp")||o("chrome")||o("android")||o("edge")||o("opr")?void 0:parseFloat(r.split("Version/")[1])),o.add("mac",r.includes("Macintosh")),!o("wp")&&/(iPhone|iPod|iPad)/.test(t)){const e=RegExp.$1.replace(/P/,"p"),r=/OS ([\d_]+)/.test(t)?RegExp.$1:"1",n=parseFloat(r.replace(/_/,".").replaceAll("_",""));o.add(e,n),o.add("ios",n)}o("webkit")||(!t.includes("Gecko")||o("wp")||o("khtml")||o("edge")||o.add("mozilla",n),o("mozilla")&&o.add("ff",parseFloat(t.split("Firefox/")[1]||t.split("Minefield/")[1])||void 0))}})(),(()=>{if(n.navigator){const e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),r=/iPhone/i.test(e);t&&o.add("esri-mobile",t),r&&o.add("esri-iPhone",r),o.add("esri-geolocation",!!navigator.geolocation)}o.add("esri-wasm","WebAssembly"in n),o.add("esri-performance-mode-frames-between-render",20),o.add("esri-force-performance-mode",!1),o.add("esri-shared-array-buffer",()=>{const e="SharedArrayBuffer"in n,t=!1===n.crossOriginIsolated;return e&&!t}),o.add("wasm-simd",()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11]))),o.add("esri-atomics","Atomics"in n),o.add("esri-workers","Worker"in n),o.add("web-feat:cache","caches"in n),o.add("esri-workers-arraybuffer-transfer",!o("safari")||Number(o("safari"))>=12),o.add("min-workers-pool-size",2),o.add("max-workers-pool-size",o("esri-mobile")?3:8),o.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),o.add("featurelayer-simplify-payload-size-factors",[1,1,4]),o.add("featurelayer-animation-enabled",!0),o.add("featurelayer-snapshot-enabled",!0),o.add("featurelayer-snapshot-initial-tolerance",0),o.add("featurelayer-snapshot-point-min-threshold",8e4),o.add("featurelayer-snapshot-point-max-threshold",4e5),o.add("featurelayer-snapshot-multipoint-min-threshold",2e4),o.add("featurelayer-snapshot-multipoint-max-threshold",1e5),o.add("featurelayer-snapshot-polygon-min-threshold",2e3),o.add("featurelayer-snapshot-polygon-max-threshold",2e3),o.add("featurelayer-snapshot-polyline-min-threshold",2e3),o.add("featurelayer-snapshot-polyline-max-threshold",2e3),o.add("featurelayer-snapshot-max-vertex-count",25e4),o.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled",!0),o.add("featurelayer-snapshot-concurrency",4),o.add("featurelayer-snapshot-allow-editable",!1),o.add("featurelayer-snapshot-coverage",.1),o.add("featurelayer-query-max-depth",4),o.add("featurelayer-query-max-page-size",8e3),o.add("featurelayer-query-pausing-enabled",!1),o.add("featurelayer-query-tile-concurrency",4),o.add("featurelayer-query-tile-max-features",6e5),o.add("featurelayer-advanced-symbols",!1),o.add("featurelayer-pbf",!0),o.add("featurelayer-pbf-statistics",!1),o.add("featurelayer-pbf-true-curves",!0),o.add("feature-layers-workers",!0),o.add("feature-polyline-generalization-factor",1),o.add("featurelayer-relative-time-queries-enabled",!0),o.add("featurelayer-relative-time-queries-bin-window-public",1),o.add("featurelayer-relative-time-queries-bin-window-private",60),o.add("parquetlayer-full-query-feature-count",2e4),o.add("parquetlayer-hittest-max-feature-count",1),o.add("parquetlayer-persistence-enabled",!1),o.add("parquetlayer-cache-enabled",!0),o.add("mapview-transitions-duration",200),o.add("mapview-essential-goto-duration",200),o.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),o.add("mapserver-pbf-version-support",10.81),o.add("mapservice-popup-identify-max-tolerance",20),o.add("request-queue-concurrency-global",50),o.add("request-queue-concurrency-hosted",16),o.add("request-queue-concurrency-non-hosted",10),o.add("curve-densification-coarse-segments",128),o.add("curve-densification-max-segments",2e3),o.add("curve-densification-min-segments",3),o.add("curve-densification-pixel-deviation",.5),o.add("view-readyState-waiting-delay",1e3),o.add("gradient-depth-bias",.01),o.add("gradient-depth-epsilon",1e-8),o.add("enable-feature:analysis-drawtool-line-of-sight",!1),o.add("enable-feature:esri-compress-textures",!0),o.add("enable-feature:analysis-new-viewshed-tool",!1),o.add("enable-feature:basemap-groundlayers",!0),o.add("enable-feature:im-shading",!0),o.add("enable-feature:im-vertex-normals",!0),!o("host-webworker")&&o("host-browser")&&(o.add("esri-csp-restrictions",()=>{try{new Function}catch{return!0}return!1}),o.add("esri-url-encodes-apostrophe",()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")}))})()},4718(e,t,r){r.d(t,{Nb:()=>i,TU:()=>c,aI:()=>b,gh:()=>h,o8:()=>s,oy:()=>o});var n=r(4576),a=r(34275);function o(e,t){let r;if(t)for(r in e)e.hasOwnProperty(r)&&(void 0===e[r]?delete e[r]:e[r]instanceof Object&&o(e[r],!0));else for(r in e)e.hasOwnProperty(r)&&void 0===e[r]&&delete e[r];return e}function s(e){if(!e||"object"!=typeof e||"function"==typeof e)return e;const t=u(e);if(null!=t)return t;if(i(e))return e.clone();if(f(e))return e.map(s);if(l(e))throw new Error("Trying to clone an unclonable Accessor instance");const r={};for(const t of Object.getOwnPropertyNames(e))r[t]=s(e[t]);return r}function c(e,t){if(!e||"object"!=typeof e||"function"==typeof e||"HTMLElement"in globalThis&&e instanceof HTMLElement)return e;const r=u(e);if(null!=r)return r;if(f(e)){let r=!0;const n=e.map(e=>{const n=c(e,t);return null!=e&&null==n&&(r=!1),n});return r?n:null}if(i(e))return e.clone(t);if(e instanceof File||e instanceof Blob)return e;if(l(e))return null;const n=new(0,Object.getPrototypeOf(e).constructor);for(const t of Object.getOwnPropertyNames(e)){const r=e[t],a=c(r);if(null!=r&&null==a)return null;n[t]=a}return n}function i(e){return"function"==typeof e.clone}function f(e){return"function"==typeof e.map&&"function"==typeof e.forEach}function l(e){return"function"==typeof e.notifyChange&&"function"==typeof e.watch}function d(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){if((0,a.dz)(e)||(0,a.mg)(e)||(0,a.UR)(e)||(0,a.IY)(e)||(0,a.jq)(e)||(0,a._G)(e)||(0,a.XJ)(e)||(0,a.vZ)(e)||(0,a.aI)(e))return e.slice();if(e instanceof Date)return new Date(e);if(e instanceof ArrayBuffer)return e.slice(0,e.byteLength);if(e instanceof Map){const t=new Map;for(const[r,n]of e)t.set(r,s(n));return t}if(e instanceof Set){const t=new Set;for(const r of e)t.add(s(r));return t}return null}function b(e,t){return e===t||"number"==typeof e&&isNaN(e)&&"number"==typeof t&&isNaN(t)||"function"==typeof e?.getTime&&"function"==typeof t?.getTime&&e.getTime()===t.getTime()||!1}function h(e,t){return e===t||(null==e||"string"==typeof e?e===t:"number"==typeof e?e===t||"number"==typeof t&&isNaN(e)&&isNaN(t):e instanceof Date?t instanceof Date&&e.getTime()===t.getTime():Array.isArray(e)?Array.isArray(t)&&(0,n.aI)(e,t):e instanceof Set?t instanceof Set&&function(e,t){if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}(e,t):e instanceof Map?t instanceof Map&&function(e,t){if(e.size!==t.size)return!1;for(const[r,n]of e){const e=t.get(r);if(e!==n||void 0===e&&!t.has(r))return!1}return!0}(e,t):!!d(e)&&d(t)&&function(e,t){if(null===e||null===t)return!1;const r=Object.keys(e);if(null===t||Object.keys(t).length!==r.length)return!1;for(const n of r)if(e[n]!==t[n]||!Object.prototype.hasOwnProperty.call(t,n))return!1;return!0}(e,t))}},97768(e,t,r){function n(e,t){if(null==e)throw new Error(t??"value is None")}function a(e){return e&&!e.destroyed&&e.destroy(),null}function o(e){return e?.dispose(),null}function s(e){return e?.remove(),null}function c(e){return e?.abort(),null}function i(e){return e?.release(),null}function f(e,t,r){return null!=e&&null!=t?null!=r?r(e,t):e.equals(t):e===t}function l(e,t){let r;return e.some((e,n)=>(r=t(e,n),null!=r)),r??void 0}r.d(t,{CM:()=>f,DC:()=>c,Gz:()=>i,Lw:()=>n,Pb:()=>l,WD:()=>o,pR:()=>a,xt:()=>s})},93637(e,t,r){r.d(t,{$N:()=>a,a4:()=>d,i7:()=>l,i8:()=>c,sM:()=>s,wc:()=>o});var n=r(4718);function a(e,t,r=!1){return f(e,t,r)}function o(e,t){if(null!=t)return t[e]||i(e.split("."),!1,t)}function s(e,t,r){const n=e.split("."),a=n.pop(),o=i(n,!0,r);o&&a&&(o[a]=t)}function c(e,t){if(null==e&&null==t)return!1;if(null==e)return!0;if(null==t)return!0;if("object"==typeof e){if(Array.isArray(e)){const r=t;if(e.length!==r.length)return!0;for(let t=0;t<e.length;t++)if(c(e[t],r[t]))return!0;return!1}if(Object.keys(e).length!==Object.keys(t).length)return!0;for(const r in e)if(c(e[r],t[r]))return!0;return!1}return e!==t}function i(e,t,r){let n=r;for(const r of e){if(null==n)return;if(!(r in n)){if(!t)return;n[r]={}}n=n[r]}return n}function f(e,t,r){return t?Object.keys(t).reduce((e,a)=>{if("__proto__"===a)return e;let o=e[a],s=t[a];return o===s?e:void 0===o?(e[a]=(0,n.o8)(s),e):(Array.isArray(s)||Array.isArray(e)?(o=o?Array.isArray(o)?e[a]=o.slice():e[a]=[o]:e[a]=[],s&&(Array.isArray(s)||(s=[s]),r?s.forEach(e=>{o.includes(e)||o.push(e)}):e[a]=s.slice())):s&&"object"==typeof s?e[a]=f(o,s,r):e.hasOwnProperty(a)&&!t.hasOwnProperty(a)||(e[a]=s),e)},e||{}):e}function l(e,t){for(const r of Object.entries(e))if(t===r[1])return r[0]}function d(e,t){return Object.values(e).includes(t)}},17676(e,t,r){r.d(t,{$X:()=>k,G4:()=>f,Lx:()=>g,Mq:()=>i,NK:()=>s,NO:()=>x,NY:()=>b,Ol:()=>w,Pl:()=>v,QP:()=>l,QZ:()=>m,Te:()=>c,YL:()=>_,hn:()=>P,jH:()=>d,nA:()=>y,qr:()=>h,sg:()=>A,u7:()=>u,z7:()=>O,zf:()=>p});var n=r(49186),a=r(37955),o=(r(53966),r(97768));function s(e="Aborted"){return new n.A("AbortError",e)}function c(e,t="Aborted"){if(f(e))throw s(t)}function i(e){return e instanceof AbortSignal?e:e?.signal??void 0}function f(e){const t=i(e);return null!=t&&t.aborted}function l(e){if(p(e))throw e}function d(e){if(!p(e))throw e}function u(e,t){const r=i(e);if(null!=r){if(!r.aborted)return(0,a.Oo)(r,"abort",()=>t());t()}}function b(e,t){const r=i(e);if(null!=r)return c(r),(0,a.Oo)(r,"abort",()=>t(s()))}function h(e,t){return null==i(t)?e:new Promise((r,n)=>{let a=u(t,()=>n(s()));const c=()=>{a=(0,o.xt)(a)};e.then(c,c),e.then(r,n)})}function p(e){return"AbortError"===e?.name}async function m(e){try{return await e}catch(e){if(!p(e))throw e;return}}async function g(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e),r=t.map(t=>e[t]),n=await g(r),a={};return t.map((e,t)=>a[e]=n[t]),a}const t=e;return Promise.allSettled(t).then(e=>Array.from(t,(t,r)=>{const n=e[r];return"fulfilled"===n.status?{promise:t,value:n.value}:{promise:t,error:n.reason}}))}async function y(e){return(await Promise.allSettled(e)).filter(e=>"fulfilled"===e.status).map(e=>e.value)}async function w(e){return(await Promise.allSettled(e)).filter(e=>"rejected"===e.status).map(e=>e.reason)}function v(e,t=void 0,r){const n=new AbortController;return u(r,()=>n.abort()),new Promise((r,a)=>{let o=setTimeout(()=>{o=0,r(t)},e);u(n,()=>{o&&(clearTimeout(o),a(s()))})})}function _(e,t){const r=new AbortController,n=setTimeout(()=>r.abort(),t);return u(e,()=>{r.abort(),clearTimeout(n)}),{...e,signal:r.signal}}function k(e){return e&&"function"==typeof e.then}function O(e){return k(e)?e:Promise.resolve(e)}function A(e,t=-1){let r,n,a,o,c=null;const i=(...f)=>{if(r){n=f,o&&o.reject(s()),o=Promise.withResolvers();const e=o.promise;if(c){const e=c;c=null,e.abort()}return e}if(a=o||Promise.withResolvers(),o=null,t>0){const n=new AbortController;r=O(e(...f,n.signal));const a=r;v(t).then(()=>{r===a&&(o?n.abort():c=n)})}else r=1,r=O(e(...f));const l=()=>{const e=n;n=a=r=c=null,null!=e&&i(...e)},d=r,u=a;return d.then(l,l),d.then(u.resolve,u.reject),u.promise};return i}function P(e,t){t.then(e.resolve,e.reject)}async function x(e){await Promise.resolve(),c(e)}},799(e,t,r){r.d(t,{Cj:()=>i,HC:()=>s,V2:()=>c,Wm:()=>f,_e:()=>u,xq:()=>l});var n=r(93637);const a=/\{([^}]+)\}/g;function o(e){return e??""}function s(e,t){return t?e.replaceAll(a,"object"==typeof t?(e,r)=>o((0,n.wc)(r,t)):(e,r)=>o(t(r))):e}function c(e,t){return e.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,(e,r)=>""===r?"$":((0,n.wc)(r,t)??"").toString())}function i(e,t){return e.replaceAll(/([.$?*|{}()[\]\\/+\-^])/g,e=>t?.includes(e)?e:`\\${e}`)}function f(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}function l(e,t=0){let r=3735928559^t,n=1103547991^t;for(let t,a=0;a<e.length;a++)t=e.charCodeAt(a),r=Math.imul(r^t,2654435761),n=Math.imul(n^t,1597334677);return r=Math.imul(r^r>>>16,2246822507),r^=Math.imul(n^n>>>13,3266489909),n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(r^r>>>13,3266489909),4294967296*(2097151&n)+(r>>>0)}let d;function u(e){return d??=new DOMParser,d.parseFromString(e||"","text/html").body.innerText||""}},12195(e,t,r){function n(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}r.d(t,{W:()=>n})},34275(e,t,r){function n(e){return e instanceof ArrayBuffer}function a(e){return"Int8Array"===e?.constructor?.name}function o(e){return"Uint8Array"===e?.constructor?.name}function s(e){return"Uint8ClampedArray"===e?.constructor?.name}function c(e){return"Int16Array"===e?.constructor?.name}function i(e){return"Uint16Array"===e?.constructor?.name}function f(e){return"Int32Array"===e?.constructor?.name}function l(e){return"Uint32Array"===e?.constructor?.name}function d(e){return"Float16Array"===e?.constructor?.name}function u(e){return"Float32Array"===e?.constructor?.name}function b(e){return"Float64Array"===e?.constructor?.name}function h(e){return"buffer"in e}r.d(t,{IY:()=>c,JI:()=>m,LW:()=>d,PI:()=>w,UR:()=>s,XJ:()=>l,_G:()=>f,a3:()=>y,aI:()=>b,dk:()=>g,dz:()=>a,h2:()=>v,iu:()=>h,jq:()=>i,mg:()=>o,mw:()=>n,vZ:()=>u,y9:()=>p});const p=1024;function m(e){return b(e)||u(e)||f(e)||c(e)||a(e)}function g(e){return b(e)||u(e)}function y(e){return b(e)?179769e303:d(e)?65504:u(e)?3402823e32:l(e)?4294967295:i(e)?65535:o(e)||s(e)?255:f(e)?2147483647:c(e)?32767:a(e)?127:256}const w=-32768,v=-2147483648},84952(e,t,r){r.d(t,{$1:()=>Y,$z:()=>G,An:()=>x,BQ:()=>ae,DB:()=>K,FL:()=>J,FX:()=>U,Hg:()=>te,Il:()=>ue,Ln:()=>me,N9:()=>ne,S8:()=>H,T1:()=>he,UC:()=>be,V1:()=>B,Xq:()=>A,Zo:()=>_e,_0:()=>Oe,a6:()=>ve,b8:()=>q,e7:()=>de,fj:()=>D,gd:()=>P,hf:()=>pe,lJ:()=>X,lM:()=>ce,m3:()=>se,nM:()=>le,oP:()=>V,oy:()=>I,r$:()=>ee,rs:()=>we,s0:()=>v,s2:()=>z,sC:()=>L,s_:()=>j,tk:()=>re,ut:()=>T,w8:()=>Q,x0:()=>M,xw:()=>ke,yM:()=>C,zf:()=>S,zi:()=>ye,zs:()=>E});var n=r(92602),a=r(4576),o=r(49186),s=r(53966),c=r(12195),i=r(39131),f=r(26306);const l=n.A.request,d="esri/config: esriConfig.request.proxyUrl is not set.",u=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,b=/^\s*http:/i,h=/^\s*https:/i,p=/^\s*file:/i,m=/:\d+$/,g=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,y=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),w=new RegExp("^((([^[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^[:]*))(:([0-9]+))?$");class v{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=this.uri.match(y);this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=this.authority.match(w),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const _={};let k=new v(n.A.applicationUrl);let O=function(){const e=k.path,t=e.slice(0,e.lastIndexOf("/")+1);return`${k.scheme}://${k.host}${null!=k.port?`:${k.port}`:""}${t}`}();const A=()=>k,P=()=>O;function x(e){if(!e)return null;const t={path:null,query:null},r=new v(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.slice(0,n),t.query=S(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.slice(0,t.path.length-(r.fragment.length+1)))),t}function S(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,a;t<0?(n=decodeURIComponent(e),a=""):(n=decodeURIComponent(e.slice(0,t)),a=decodeURIComponent(e.slice(t+1)));let o=r[n];"string"==typeof o&&(o=r[n]=[o]),Array.isArray(o)?o.push(a):r[n]=a}return r}function M(e,t){return e?t&&"function"==typeof t?Object.keys(e).map(r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r]))).join("&"):Object.keys(e).map(r=>{const n=e[r];if(null==n)return"";const a=encodeURIComponent(r)+"=",o=t?.[r];return o?a+encodeURIComponent(o(n)):Array.isArray(n)?n.map(e=>(0,c.W)(e)?a+encodeURIComponent(JSON.stringify(e)):a+encodeURIComponent(e)).join("&"):(0,c.W)(n)?a+encodeURIComponent(JSON.stringify(n)):a+encodeURIComponent(n)}).filter(e=>e).join("&"):""}function j(e=!1){let t,r=l.proxyUrl;if("string"==typeof e){t=se(e);const n=E(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw s.A.getLogger("esri.core.urlUtils").warn(d),new o.A("urlUtils:proxy-not-set",d);return t&&ie()&&(r=ce(r)),x(r)}function C(e,t=!1){const r=E(e);let n,a;if(r){const e=N(r.proxyUrl);n=e.path,a=e.query?S(e.query):null}else if(t){const t=j(e);n=t.path,a=t.query}if(n){const t=x(e);e=n+"?"+t.path;const r=M({...a,...t.query});r&&(e=`${e}?${r}`)}return e}const $={path:"",query:""};function N(e){const t=e.indexOf("?");return-1!==t?($.path=e.slice(0,t),$.query=e.slice(t+1)):($.path=e,$.query=null),$}function W(e){return(e=fe(e=ue(e=N(e).path),!0)).toLowerCase()}function I(e){const t={proxyUrl:e.proxyUrl,urlPrefix:W(e.urlPrefix)},r=l.proxyRules,n=t.urlPrefix;let a=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(n.startsWith(t)){if(n.length===t.length)return-1;a=e;break}t.startsWith(n)&&(a=e+1)}return r.splice(a,0,t),a}function E(e){const t=l.proxyRules,r=W(e);for(let e=0;e<t.length;e++)if(r.startsWith(t[e].urlPrefix))return t[e]}function q(e,t){if(!e||!t)return!1;e=R(e),t=R(t);const r=(0,i.py)(e),n=(0,i.py)(t);return null!=r&&null!=n?r.portalHostname===n.portalHostname:null==r&&null==n&&U(e,t,!0)}function T(e,t){return e=R(e),t=R(t),fe(e)===fe(t)}function R(e){const t=(e=H(e)).indexOf("/sharing");return t>0?e.slice(0,t):e.replace(/\/+$/,"")}function L(e,t=l.interceptors){const r=t=>t instanceof RegExp?t.test(e):"string"==typeof t?e.startsWith(t):null==t;if(t)for(const e of t)if(Array.isArray(e.urls)){if(e.urls.some(r))return e}else if(r(e.urls))return e;return null}function U(e,t,r=!1){if(!e||!t)return!1;const n=ge(e),a=ge(t);return!(!r&&n.scheme!==a.scheme)&&null!=n.host&&null!=a.host&&n.host.toLowerCase()===a.host.toLowerCase()&&n.port===a.port}function J(e){if("string"==typeof e){if(!V(e))return!0;e=ge(e)}if(U(e,k))return!0;const t=l.trustedServers||[];for(let r=0;r<t.length;r++){const n=F(t[r]);for(let t=0;t<n.length;t++)if(U(e,n[t]))return!0}return!1}function F(e){return _[e]||(oe(e)||ae(e)?_[e]=[new v(z(e))]:_[e]=[new v(`http://${e}`),new v(`https://${e}`)]),_[e]}function z(e,t=O,r){return ae(e)?r?.preserveProtocolRelative?e:"http"===k.scheme&&k.authority===G(e).slice(2)?`http:${e}`:`https:${e}`:oe(e)?e:D(e.startsWith("/")?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e)}function B(e,t=O,r){if(null==e||!V(e))return e;const n=H(e),a=n.toLowerCase(),o=H(t).toLowerCase().replace(/\/+$/,""),s=r?H(r).toLowerCase().replace(/\/+$/,""):null;if(s&&!o.startsWith(s))return e;const c=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let i=c(a,"/",a.indexOf("//")+2),f=-1;for(;a.slice(0,i+1)===o.slice(0,i)+"/"&&(f=i+1,i!==a.length);)i=c(a,"/",i+1);if(-1===f)return e;if(s&&f<s.length)return e;e=n.slice(f);const l=o.slice(f-1).replaceAll(/[^/]+/g,"").length;if(l>0)for(let t=0;t<l;t++)e=`../${e}`;else e=`./${e}`;return e}function H(e){return function(e){const t=l.httpsDomains;if(!function(e){return null!=e&&b.test(e)||"http"===k.scheme&&ae(e)}(e))return e;const r=e.indexOf("/",7);let n;if(n=-1===r?e:e.slice(0,r),n=n.toLowerCase().slice(7),m.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===k.scheme&&n===k.authority&&!g.test(e)||(ie()&&n===k.authority||t&&t.some(e=>n===e||n.endsWith(`.${e}`))||ie()&&!E(e))&&(e=ce(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=N(e);e=(e=t.path.replaceAll(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=z(e=e.trim()))))}function D(...e){const t=e.filter(a.Ru);if(!t?.length)return;const r=[];if(V(t[0])){const e=t[0],n=e.indexOf("//");-1!==n&&(r.push(e.slice(0,n+1)),function(e){return null!=e&&p.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else t[0].startsWith("/")&&r.push("");const n=t.reduce((e,t)=>t?e.concat(t.split("/")):e,[]);for(let e=0;e<n.length;e++){const t=n[e];".."===t&&r.length>0&&".."!==r[r.length-1]?r.pop():(!t&&e===n.length-1||t&&("."!==t||0===r.length))&&r.push(t)}return r.join("/")}function G(e,t=!1){if(null==e||Q(e)||K(e))return null;let r=e.indexOf("://");if(-1===r&&ae(e))r=2;else{if(-1===r)return null;r+=3}const n=e.indexOf("/",r);return-1!==n&&(e=e.slice(0,n)),t&&(e=fe(e,!0)),e}function V(e){return ae(e)||oe(e)}function Q(e){return null!=e&&e.startsWith("blob:")}function K(e){return null!=e&&e.startsWith("data:")}function X(e){const t=ee(e);return t?.isBase64?(0,f.M)(t.data):null}function Y(e){return(0,f.Y)(e).replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}const Z=/^data:(.*?)(;base64)?,(.*)$/;function ee(e){const t=e.match(Z);if(!t)return null;const[,r,n,a]=t;return{mediaType:r,isBase64:!!n,data:a}}function te(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}async function re(e){return(await fetch(e)).blob()}function ne(e){const t=X(e);if(!t)return null;const r=ee(e);return new Blob([t],{type:r.mediaType})}function ae(e){return null!=e&&e.startsWith("/")&&"/"===e[1]}function oe(e){return null!=e&&u.test(e)}function se(e){return null!=e&&h.test(e)||"https"===k.scheme&&ae(e)}function ce(e){return ae(e)?`https:${e}`:e.replace(b,"https:")}function ie(){return"https"===k.scheme}function fe(e,t=!1){return ae(e)?e.slice(2):(e=e.replace(u,""),t&&e.length>1&&e.startsWith("/")&&"/"===e[1]&&(e=e.slice(2)),e)}function le(e){let t=0;if(V(e)){const r=e.indexOf("//");-1!==r&&(t=r+2)}const r=e.lastIndexOf("/");return r<t?e:e.slice(0,r+1)}function de(e,t){if(!e)return"";const r=x(e).path.replace(/\/+$/,""),n=r.slice(r.lastIndexOf("/")+1);if(!t?.length)return n;const a=new RegExp(`\\.(${t.join("|")})$`,"i");return n.replace(a,"")}function ue(e){return e.endsWith("/")?e:`${e}/`}function be(e){return e.replace(/\/+$/,"")}function he(e,t,r){if(!(t&&r&&e&&V(e)))return e;const n=e.indexOf("//"),a=e.indexOf("/",n+2),o=e.indexOf(":",n+2),s=Math.min(a<0?e.length:a,o<0?e.length:o);return e.slice(n+2,s).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(s)}`}function pe(e,t){const r=new URL(e);return r.host=t,r.port&&!m.test(t)&&(r.port=""),r.toString()}function me(e){return new URL(e).host}function ge(e){return"string"==typeof e?new v(z(e)):(e.scheme||(e.scheme=k.scheme),e)}function ye(e,t){const r=x(e),n=Object.keys(r.query||{});return n.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${n.join(", ")}.`),r.path}function we(e,t,r){const n=x(e),a=n.query||{};return a[t]=String(r),`${n.path}?${M(a)}`}function ve(e,t){if(!t)return e;const r=x(e),n=r.query||{};for(const[e,r]of Object.entries(t))null!=r&&(n[e]=r);const a=M(n);return a?`${r.path}?${a}`:r.path}function _e(e){if(null==e)return null;const t=e.match(Ae);return t?t[2]:null}function ke(e){if(null==e)return null;const t=e.match(Ae);return t?{path:t[1],extension:t[2]}:{path:e,extension:null}}async function Oe(e){return"string"==typeof e?ee(e)??{data:e}:new Promise((t,r)=>{const n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(ee(n.result)),n.onerror=e=>r(e)})}const Ae=/([^.]*)\.([^/]*)$/},52268(e,t,r){function n(e,t){return new Proxy({},{get:(r,n,a)=>(...r)=>{let a,o;const s=r[r.length-1];return function(e){return"object"==typeof e&&!Array.isArray(e)&&null!=e&&("signal"in e||"transferList"in e||0===Object.keys(e).length)}(s)&&(a=s.signal,o=s.transferList,r.pop()),e.apply(t?`${t}.${n.toString()}`:n.toString(),r,{transferList:o,signal:a})}})}r.d(t,{L:()=>n})},61322(e,t,r){r.r(t),r.d(t,{default:()=>v});var n=r(70333),a=r(49186),o=r(37955),s=r(36563),c=r(97768),i=r(17676),f=r(52268);const l={CSVSourceWorker:()=>Promise.all([r.e(6408),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(2188)]).then(r.bind(r,25209)),EdgeProcessingWorker:()=>Promise.all([r.e(1843),r.e(6661),r.e(433)]).then(r.bind(r,71936)),ElevationSamplerWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(2031),r.e(4259)]).then(r.bind(r,38419)),FeaturePipelineWorker:()=>Promise.all([r.e(6408),r.e(4050),r.e(9953),r.e(8303),r.e(1956),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(893),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(7273),r.e(7733),r.e(2649),r.e(8013),r.e(4063),r.e(3805)]).then(r.bind(r,37269)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(6408),r.e(1956),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(893),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(4063),r.e(88)]).then(r.bind(r,20401)),FlowWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9616)]).then(r.bind(r,49616)),GaussianSplatSortWorker:()=>r.e(5856).then(r.bind(r,35856)),GeometryWorker:()=>Promise.all([r.e(6042),r.e(1878),r.e(8885),r.e(5756),r.e(3299),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(5151)]).then(r.bind(r,55912)),GeoJSONSourceWorker:()=>Promise.all([r.e(6408),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(847)]).then(r.bind(r,71202)),IntegratedMesh3DTilesLayerWorker:()=>Promise.all([r.e(1843),r.e(4066)]).then(r.bind(r,77214)),LercWorker:()=>r.e(7087).then(r.bind(r,57087)),Lyr3DWorker:()=>Promise.all([r.e(2741),r.e(2772)]).then(r.bind(r,72772)),MemorySourceWorker:()=>Promise.all([r.e(6408),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(7229)]).then(r.bind(r,29432)),PBFDecoderWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(9078)]).then(r.bind(r,39078)),PanoramicMeshWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(4314)]).then(r.bind(r,96982)),ParquetSourceWorker:()=>Promise.all([r.e(6408),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(7733),r.e(8013),r.e(7125)]).then(r.bind(r,48459)),PointCloudWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(7005),r.e(3290),r.e(7984),r.e(3846)]).then(r.bind(r,64798)),RasterWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(8251),r.e(7373),r.e(9235),r.e(1493)]).then(r.bind(r,63966)),SceneLayerSnappingSourceWorker:()=>Promise.all([r.e(9466),r.e(1843),r.e(6661),r.e(1448)]).then(r.bind(r,56780)),SceneLayerWorker:()=>Promise.all([r.e(6408),r.e(9953),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(3586)]).then(r.bind(r,94715)),TextureCompressionWorker:()=>Promise.all([r.e(2741),r.e(5902)]).then(r.bind(r,95902)),WFSSourceWorker:()=>Promise.all([r.e(6408),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(4794)]).then(r.bind(r,33771)),WorkerTileHandler:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(7273),r.e(5013),r.e(9981)]).then(r.bind(r,36849)),arcadeGeometryOperatorsWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(5750)]).then(r.bind(r,1123)),statsWorker:()=>Promise.all([r.e(6408),r.e(7865),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8815),r.e(4560),r.e(5220)]).then(r.bind(r,26412)),ImageMeasurementWorker:()=>Promise.all([r.e(6408),r.e(6042),r.e(1878),r.e(8885),r.e(5756),r.e(3299),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(4050),r.e(3910),r.e(9953),r.e(8303),r.e(1733),r.e(1956),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(893),r.e(6231),r.e(4800),r.e(812),r.e(8815),r.e(7016),r.e(8251),r.e(3356),r.e(1695),r.e(7598),r.e(1775)]).then(r.bind(r,68747))};var d=r(8341),u=r(18357);const{CLOSE:b,ABORT:h,INVOKE:p,RESPONSE:m,OPEN_PORT:g,ON:y}=d.Go;class w{constructor(e){this._invoke=e,this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._timer=null,this._process=this._process.bind(this)}push(e){e.type===h?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class v{static{this.kernelInfo={buildDate:u.$,fullVersion:n.ol,revision:u.u}}static{this.clients=new Map}static connect(e,t){const r=new MessageChannel;let n;n="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const a=new v(r.port1,{channel:r,client:n,schedule:t});return"object"==typeof n&&"remoteClient"in n&&(n.remoteClient=a),v.clients.set(a,n),r.port2}static loadWorker(e){const t=l[e];return t?t():Promise.resolve(null)}constructor(e,t,r,n){this._port=e,this._jobQueue=r,this._lowPriorityJobQueue=n,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new w(e=>this._onInvokeMessage(e)),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._maxNumberOfConcurrentJobs=t.maxNumberOfConcurrentJobs??2,this._port.addEventListener("message",this._onMessage),this._port.start()}close(){this._post({type:b}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){return this.apply(e,[t],r)}apply(e,t,r){const n=r?.signal,o=r?.transferList;if(!this._port)return Promise.reject(new a.A(d.T,`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const s=(0,d.Jc)();return new Promise((r,a)=>{if((0,i.G4)(n))return this._processWork(),void a((0,i.NK)());const f=(0,i.u7)(n,()=>{const e=this._outJobs.get(s);e&&(this._outJobs.delete(s),this._processWork(),(0,c.xt)(e.abortHandle),this._post({type:h,jobId:s}),a((0,i.NK)()))}),l={resolve:r,reject:a,abortHandle:f,debugInfo:e};this._outJobs.set(s,l),this._post({type:p,jobId:s,methodName:e,abortable:null!=n},t,o)})}createInvokeProxy(e){return(0,f.L)(this,e)}on(e,t){const r=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:y,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",n),r.port1.start(),(0,s.hA)(()=>{r.port1.postMessage({type:b}),r.port1.close(),r.port1.removeEventListener("message",n)})}jobAdded(){this._processWork()}openPort(){const e=new MessageChannel;return this._post({type:g,port:e.port2}),e.port1}_processWork(){if(this._outJobs.size>=this._maxNumberOfConcurrentJobs)return;const e=this._jobQueue?.pop()??this._lowPriorityJobQueue?.pop();if(!e)return;const{methodName:t,data:r,invokeOptions:n,resolver:a}=e;this.apply(t,r,n).then(e=>a.resolve(e)).catch(e=>a.reject(e))}_close(){this._channel&&(this._channel=void 0),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach(e=>{(0,c.xt)(e.abortHandle),e.reject((0,i.NK)(`Worker closing, aborting job calling '${e.debugInfo}'`))}),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=null,this._client=null,this._schedule=null,this._onMessage=null,this._channel=null,this._jobQueue=void 0,this._invokeQueue=void 0,this._lowPriorityJobQueue=void 0}_onMessage(e){null!=this._schedule?this._schedule(()=>this._processMessage(e,!0)):this._processMessage(e,!1)}_processMessage(e,t){const r=(0,d.VI)(e);if(r)switch(r.type){case m:this._onResponseMessage(r);break;case p:t?this._onInvokeMessage(r):this._invokeQueue.push(r);break;case h:this._onAbortMessage(r);break;case b:this._onCloseMessage();break;case g:this._onOpenPortMessage(r);break;case y:this._onOnMessage(r)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,n=t.get(r);this._invokeQueue.push(e),n&&(n.controller&&n.controller.abort(),t.delete(r))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&v.clients.get(this)===e&&e.destroy(),v.clients.delete(this),e?.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n=[],abortable:a}=e,o=a?new AbortController:null,s=this._inJobs;let c,f=this._client,l=f[t];try{if(!l&&t&&t.includes(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)f=f[e[t]],l=f[e[t+1]]}if("function"!=typeof l)throw new TypeError(`${t} is not a function`);n.push({client:this,signal:o?o.signal:null}),c=l.apply(f,n)}catch(e){return void this._post({type:m,jobId:r,error:(0,d.mF)(e)})}(0,i.$X)(c)?(s.set(r,{controller:o,promise:c}),c.then(e=>{s.has(r)&&(s.delete(r),this._post({type:m,jobId:r},e))},e=>{s.has(r)&&(s.delete(r),(0,i.zf)(e)||this._post({type:m,jobId:r,error:(0,d.mF)(e||{message:`Error encountered at method ${t}`})}))})):this._post({type:m,jobId:r},c)}_onOpenPortMessage(e){new v(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,e=>{t.postMessage(e)}),n=(0,o.on)(e.port,"message",e=>{const a=(0,d.VI)(e);a?.type===b&&(n.remove(),r.remove(),t.close())})}_onResponseMessage(e){const{jobId:t,error:r,data:n}=e,o=this._outJobs;if(!o.has(t))return;const s=o.get(t);o.delete(t),this._processWork(),(0,c.xt)(s.abortHandle),r?s.reject(a.A.fromJSON(JSON.parse(r))):s.resolve(n)}_post(e,t,r){return(0,d.u1)(this._port,e,t,r)}}},8341(e,t,r){r.d(t,{Go:()=>s,Jc:()=>i,T:()=>o,VI:()=>d,mF:()=>f,oV:()=>b,u1:()=>l});var n=r(44208),a=r(17676);const o="worker:port-closed",s={HANDSHAKE:0,OPEN:1,OPENED:2,RESPONSE:3,INVOKE:4,ABORT:5,CLOSE:6,OPEN_PORT:7,ON:8};let c=0;function i(){return c++}function f(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function l(e,t,r,n){if(t.type===s.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==s.INVOKE&&t.type!==s.RESPONSE)return void e.postMessage(t);let a;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(a=u(n),t.data=r):(a=u(r.transferList),t.data=r.result),a?e.postMessage(t,a):e.postMessage(t)}function d(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function u(e){if(!e?.length)return null;if((0,n.A)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter(e=>!function(e){return e instanceof ArrayBuffer||"ArrayBuffer"===e?.constructor?.name}(e));return t.length?t:null}async function b(e){try{return await e}catch(e){const t=e?.name===o;if(!(0,a.zf)(e)&&!t)throw e;return}}},70333(e,t,r){r.d(t,{Aq:()=>i,Y3:()=>f,id:()=>s,ol:()=>c,rE:()=>o});var n=r(44208),a=r(84952);Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const o="5.1";let s,c=o;function i(e){s=e}function f(e){const t=s?.findCredential(e);return t?.token?(0,a.rs)(e,"token",t.token):e}c="5.1.0-next.85",(0,n.A)("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),(0,n.A)("host-webworker")},39131(e,t,r){r.d(t,{$E:()=>s,py:()=>o,qG:()=>c});const n=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/i,a={devext:{customBaseUrl:"mapsdevext.arcgis.com",portalHostname:"devext.arcgis.com"},qaext:{customBaseUrl:"mapsqa.arcgis.com",portalHostname:"qaext.arcgis.com"},www:{customBaseUrl:"maps.arcgis.com",portalHostname:"www.arcgis.com"}};function o(e){const t=e?.match(n);if(!t)return null;const[,r,o,s]=t;if(!r)return null;let c=null,i=null,f=null;const{devext:l,qaext:d,www:u}=a;if(o)if(c=r,s)switch(s.toLowerCase()){case"devext":({customBaseUrl:i,portalHostname:f}=l);break;case"qa":({customBaseUrl:i,portalHostname:f}=d);break;default:return null}else({customBaseUrl:i,portalHostname:f}=u);else switch(r.toLowerCase()){case"devext":({customBaseUrl:i,portalHostname:f}=l);break;case"qaext":({customBaseUrl:i,portalHostname:f}=d);break;case"www":({customBaseUrl:i,portalHostname:f}=u);break;default:return null}return{customBaseUrl:i,isPortal:!1,portalHostname:f,urlKey:c}}function s(e){return!!e&&/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}function c(e){const t=/^https?:\/\/(?:cdn|[a-z\d-]+\.maps)\.arcgis\.com/i,r=/^https?:\/\/(?:cdndev|[a-z\d-]+\.mapsdevext)\.arcgis\.com/i,n=/^https?:\/\/(?:cdnqa|[a-z\d-]+\.mapsqa)\.arcgis\.com/i;return t.test(e)?e=e.replace(t,"https://www.arcgis.com"):r.test(e)?e=e.replace(r,"https://devext.arcgis.com"):n.test(e)&&(e=e.replace(n,"https://qaext.arcgis.com")),e}},26306(e,t,r){function n(e){const t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r.buffer}function a(e){const t=new Uint8Array(e);let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t[e]);return btoa(r)}r.d(t,{M:()=>n,Y:()=>a})},18357(e,t,r){r.d(t,{$:()=>n,u:()=>a});const n="20260428",a="252f0c35ccd22bbcd0af84a70d1d63fbb874ea53"}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.m=e,r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>"chunks/"+{5:"d52172439db02a349542",88:"22bdea4ca52970c29504",91:"ca1b0cb14ea9ae1bf2a3",122:"41913575dd45c65d645e",146:"06003996a378c45bc605",148:"0219edb509e01270d42d",162:"96bba4d93a32ad34a1c8",217:"a1a12552d34ea9eea130",218:"52b3a11c962810bc6dbe",233:"074f5e6aaeafca13bf72",241:"dd5b362bded458afa2d6",264:"7cdd0492b2191df95102",309:"086d7cdfa92a649c9f7b",349:"7908aed639521cf572e8",353:"65520a443e3811255bea",368:"1906416c84bab369bbd6",369:"8a0a13f398ab488dbbe9",382:"d28169816c768d55aa09",390:"128799741dd3c6fc69b9",394:"bbc27d9285162696d089",427:"d35c475f004367e333eb",433:"6675d56f49d07a97dc40",463:"d95ffd990b3a7df69e1e",547:"63934843c9f4ef779a07",561:"5b6f2bfdcdd207d8ae42",563:"88827e23f8938342781c",566:"3c2eb386c0165150e039",609:"176dd195f77b98cb0b0f",692:"34207774bc371e95ba3c",708:"9d10db72e342fe63c981",709:"26f804c92077c11c626d",742:"46e622857ba92a72a317",758:"7acf82763aeba44049d0",785:"cca095f0c623e037002d",788:"d31f62ecbb54bffc54f2",795:"5afee66e182f79a0fc46",812:"a3a28c4887f802e8d96d",820:"aafa33f661462f5afd2b",837:"09630888267cde87654f",841:"747e258f57f0543c836e",847:"9cac70164d8528c283af",891:"d55cef8199b8246fea3f",893:"c503c79ba5761f7abbeb",895:"60915a3708a34da1977e",909:"dfe1139124fda0d6c059",923:"bd10d21545bca9a49de0",926:"f1f78bb3d34f973c19de",959:"8a48a6760c33ed50b650",980:"74e1826ad9e2c4fd3b42",1003:"3d9032217347dadcbe41",1011:"dbc9249dae41096d750d",1017:"f89b7b0ccfbd1e5f9a0f",1023:"b858adff7043683fe41c",1054:"bc78937986854e500b8e",1060:"f518835b2dc89a48cfb1",1075:"b803e7b0d489bb628d72",1086:"475394218caaa4cd3e86",1088:"dec51409372764e7093d",1094:"1ff3c15a51c4dc991806",1132:"2b0b398180ed98c2c84c",1204:"4b79ebfb3328f9483147",1214:"be1e4c3ec53fc92a26f1",1273:"cc697c4d9cdc116373dc",1277:"7a474ce61cf484df87b4",1279:"b5ced451d331ca1ffb68",1285:"a0d459bdb91ee892d4b6",1328:"88eb1e4320c4ada01711",1384:"5b70295da76d9227f64b",1427:"79dc7045d9a2d43ba8df",1448:"988e91cc6cf88c34c2de",1452:"3a183259805638c25363",1493:"230e0e43f8e771950397",1512:"d8decaee2c780e1b5e35",1521:"7b505112c7e6d9b7a239",1550:"34b6b5dd415c68f0b0d1",1666:"8b046e28f879079caada",1695:"db86a1119e4e58ecfbda",1698:"52175ff9e8c2c136f90a",1728:"d897412b99b9fba44bb4",1733:"67ec1694d6e18b7c234c",1763:"601e44839fd46e449aa8",1775:"fce2306a1b31c6680f90",1787:"40d251b6b42a41d68bd2",1812:"47b3a5213539548ff3a6",1837:"3a8320a40916c755c031",1843:"dcb7a3ff59677b1cf0f1",1878:"4c54cb80c4dc9bbbd395",1882:"b1a21a4d7d73ad7d0e47",1894:"de6b3f80070abdd61d0f",1918:"24646a1176ce34039155",1936:"ff713926985a284f5d81",1948:"e9c5c295b6bf10e942a4",1951:"6124141ac642e4ce1454",1956:"6e526c06825ecc6c99c0",1965:"384c235d36f32769e32b",2013:"abdf146b35e179b5b245",2031:"77769663cd712822d33e",2042:"6f7aaba26773fe416ac2",2045:"1ab66600579fa4232d7b",2059:"5cffc7b49966201eccdb",2158:"359d3acb3953e64e5a78",2174:"b73c146d3e550eaf07eb",2186:"c45a5bcf26659daf02a1",2188:"f77d23ee60c876b01e4b",2245:"fc6ca7ffb9f1b875059c",2246:"9f51a69b8f1937a8794a",2260:"3efbb684c0409955186d",2261:"80f4f686ce403cb2693f",2288:"1a35121a0c2595a41fdb",2293:"c9461568e1002ebac534",2303:"983f6c8727fd9484718e",2314:"bf2c202dec5ab7bc770b",2343:"2b3a8a53cd68f666676b",2372:"7cb0681cc6a5e956cb15",2390:"d51c41c1944df0cbab3e",2409:"f890cfa4932955ecd4e7",2423:"2b2283f1ee4bfc1baa18",2465:"a242ec19a7508de436da",2491:"d82da31dc702b8fd6a07",2558:"2d956dacb26d71d1c174",2649:"7160e3e7340beb7fdb42",2655:"fae147d03ed723ab234d",2733:"ce4dfc3a470230ddc9e4",2741:"05c5f68e117fc58ae801",2764:"cc62e5095e328bed3e01",2772:"4c73c2f4331351e2a50c",2801:"5818f1f526577068d6ca",2869:"1961b59756933e0a82f2",2942:"6f67c9f68101a084b683",2958:"9802770413ad814dab29",2980:"3087910d19959fdc546b",2990:"c31ee5617c61a933cb0e",2997:"3dd5d481ae6c5d9dfa08",3053:"db3c484bfa607dec6050",3090:"4e206957b28253ddc1a3",3103:"6ee956d5a92ca905f53f",3116:"e66b9d00d02fc08cbb2d",3166:"0539b5d015157c1d34a0",3276:"4a23b27bfbcfa08fd9a7",3290:"54c6e870262469d0d702",3299:"dd6efa0afe879bd11a2e",3300:"0c074c46d106ca4d3bad",3304:"0fa207c68dfd7ddee160",3356:"fcf51697c361e0075cc2",3359:"413d2fa54508e6f42c74",3390:"9c11e1fe785e1385fdb1",3456:"dc54d4a9fe1691862356",3500:"427dec43ef2d67467699",3543:"48acd146bf0241d87647",3561:"851fc5290497991ba001",3586:"af8bc56cf1404afc3028",3636:"bc8a74da48b08309875f",3661:"1f53620f82cc7c3daabe",3666:"53817ef8c00d8cce4b8e",3693:"f43d628d47eec7d530c7",3708:"19fcc74d34cbbaa56a41",3805:"79eca9ccd4dc52da1d59",3813:"4605a68e40c5c3ac6e3e",3846:"728ad5bbbcbf88d6249f",3902:"9ea23cd4b2664c08b670",3910:"38c28189f273636e4017",3931:"a320998f18922a35899f",3937:"86161025b53b916328ff",3969:"54d07eadf113f0e4e506",4038:"4e676e888a935c507d90",4050:"02e8fc598ee09cf1b678",4063:"2a2e97918524e0f436d7",4066:"5cc38ac051d3d0557920",4097:"7601278ebced0c0c31cf",4167:"1d54b71c43d9d6a5f713",4168:"a015c2f54eb91e43a1f4",4259:"a28124bba6b43efd74cc",4263:"936f2b1332ece14d7c28",4273:"f1673e723b336204ad77",4313:"7e530e635325dba07864",4314:"c961aff385e38b081204",4342:"2a3145a595d19391bb8a",4383:"9c6d34bb666f630d511f",4447:"f52443cd203e687551da",4460:"8af9a78cf316581ea482",4560:"13a8346abe5509167578",4575:"18f77ee3552d92962f15",4579:"53750e85f3128993a43a",4594:"c19e3f6027b6526de359",4642:"1765dfeac20e34ce25b7",4674:"455d08294e0f5c5509ff",4690:"f563dd6cace047108b3c",4703:"4d0f793dee4ad919221b",4744:"dcc719e15b2e0cce1f3b",4794:"72691fe14024e35f85d0",4795:"aac6a57edd7494125204",4800:"41a95ad470ec42ecd5a2",4849:"9482a6d7baa24bbf5693",4935:"146424b5717d0a645ee1",4996:"b811d62284be95f4beb6",5011:"1f16bc8c02d8c4b2f693",5013:"afc0baf86ece710ef867",5020:"9a5ef33d99a8f89956ff",5090:"127cd8fee3717a473fc5",5098:"b14c4c3f295970f731ab",5141:"3c9482764c9e4f8bcbb0",5151:"f468c6ea2818a1f97e19",5165:"969f58a2de4ebe63619d",5217:"c9065cee85eb8dde6a42",5220:"5ef37f37e405b3bb5450",5243:"b2983f521d8c96becd8a",5354:"04ea806b933d4dd41609",5367:"df8a3d3cac454d42e14d",5404:"64e268ebac0b62076f81",5408:"004af103a94d21cb4889",5482:"9be4438ce2c7180adadf",5611:"e18badd11f360cc2912b",5613:"c49c078be08c38a6088d",5647:"713ab619060bd5087479",5740:"d598d08dbf2796742e8c",5750:"72f8f4cfa0842d325fb0",5752:"97719271a3e4c9f2b2c9",5756:"1f6b7626f333809837ef",5804:"0c13591347d51d684561",5841:"ffcd4fca7f67e1f943f1",5856:"be1d2c3a61e6447fbbc7",5902:"7b8466f892a38a53c600",5977:"d9c3f14eee4db7a7137b",6027:"c1189316d24fb4cdb2a0",6033:"ef0085aa743b33cb549f",6042:"312036c89a6a09bb06c2",6052:"e4e0c5a45cf32973d5d5",6061:"493a0981e90a5799fb5b",6122:"1ede8666d804c553803e",6129:"0d9d33f29124d464a4cb",6154:"ac84e5b5d010c235fe6f",6160:"bb3ab2453ccde2f2611c",6187:"2ecb21c402cdd8c82533",6231:"9639b1dd27ccc17ee21e",6233:"65ac73de5bb133c6bf89",6247:"452c01cecbbd1e370098",6276:"55fd201ca5e10c6e4761",6312:"6a3d207308b29651f397",6343:"91f9e0e3662d4bf9f163",6408:"a96c7432ca97cbeef4b8",6491:"eaab5ac049622986e3bc",6554:"d0983cc19d19c19c3478",6558:"34f79355145c8e4c59dd",6569:"2fd4220131bfc3f5e2dd",6606:"1768f1a7e3caa6074d91",6650:"f7531aa69a87814c60d1",6661:"b9e163f4a898e50cc854",6671:"915e2711d3a2cfa402b2",6684:"af762422a65c551dcd54",6708:"ce7ef7c4ca14d66d96f6",6765:"f0250cecb243b32cdba7",6859:"3be111488365768fd917",6861:"7c820c5f6f05480d5050",6923:"5f6fd20a7f4e80eafa25",6936:"702e8468836863abd81b",6956:"16a767cc5f3e2e0e49c2",6960:"852f4cd514008fee5a55",7005:"95d82c619dcbec2e1050",7016:"5fccb372b4d5ee2f64cc",7033:"4c97cc922eece3a91b6b",7087:"e0b47b08ae2c36c76fa2",7125:"c7da0981822182e15f3a",7217:"a7f9f478bd1493fc3c76",7229:"67abbe81c16de26f61d8",7269:"d11de13537b623739e14",7273:"1f85646936200a399c15",7301:"e7402dfd683f82878360",7316:"edee616b6f1b5be8fd39",7367:"6c35583707f5c339ee99",7373:"3e2953ea62817e75d840",7433:"f05932aea4eb267cba4d",7444:"13838b6c045425e73cf8",7464:"47656ec12401e53f4bd3",7546:"f50bba74ae72c07e131a",7548:"56717ff315c6ec874142",7561:"d3c760109a70a71448c5",7598:"186bfde8c552e3b42302",7609:"5c7ba4b8a9ec2e2e02b5",7625:"5ec66e39e53c11e75179",7632:"612873df0c8659ac2aa5",7634:"f9fe3c9867b0bdb2aec6",7639:"2171aaa147aa4d9fc5b5",7694:"cf7acf5acb6d322fd996",7705:"2387613b855771a3e537",7733:"7601408e242dca1d25bd",7772:"56941e8bbd2d49bf2656",7835:"804c31973f7d116523cb",7865:"58c79e15ca95238a4b43",7883:"29878b52aa12b3815230",7891:"f53805c7a84203305b2c",7982:"f4220b6eab0865318033",7984:"6d696beddcc5fbed5875",7987:"61c523dd9d8027922465",7992:"7b6c8be59ed87e386aa4",8010:"39d71e83261bff46f6bf",8013:"53d13e13d8729bd4dcf2",8018:"8f6833671c071b522923",8050:"b50a42a9f96515beb929",8125:"4301cb9670fa7c907460",8189:"ac5999c88c27b49cd760",8251:"4dbbf59c79d9e72f20ee",8278:"7cadfd7444a2a05cf2fb",8303:"60cee9a44929decd2474",8340:"bec3ee5ea945e1e07a35",8377:"f60292d97bcdbf19165b",8399:"0d2bc1be5802681666a4",8414:"9103eb0b9078019d3a26",8449:"01bd1b86ba899c6aa4c0",8457:"399fcea09dfb1ad6deaa",8575:"3ea5a18b264628dc37f0",8589:"c8ef80a7c46d7d2c5172",8628:"716a4d7e8b908b81870b",8635:"a169d9fe66b5865911d9",8679:"f6c8e93ca2987e83f925",8692:"1e3fe89970c57a883fe5",8714:"0d6afba80d2f8dcb5cf7",8812:"88c3b60b403e2454b56e",8815:"040884cec4b84dd1bb17",8846:"475409026288f0981ce2",8872:"d3b086eb9aa8c7d09048",8883:"d05a7ce6c1d4b883ed4c",8885:"ea97619a4470f1540b99",8902:"66fe1634c6e8f72fc653",9013:"e0b27bceb397482bd0e8",9028:"9bd713d96502ddc2ce25",9062:"5eb9fdb076488de9cd83",9078:"bf4dd8e50704e4040966",9126:"b1c6a1759febad66927f",9134:"02ed969786ab24ca8d96",9159:"e785f76c1a75cb1d1e1f",9169:"b7af0e6b9aadbcaf6a0b",9186:"17445fd8048966617d49",9187:"8351012ceb466f01b8fd",9192:"2ce845c990bb4d701362",9213:"6d2abdb48e17b2b56599",9235:"bcb021a167580bb1619f",9239:"74d9dd484b9bc4dc7e3d",9279:"a25acccda8febac71a3d",9285:"8d738e9acc2f222235ea",9301:"d4465fd3319d0b6a26cc",9321:"4b24f72b56edc28bb15e",9438:"cf826787ab8d4b27ad80",9466:"bfe9c8ab35d9bf7e1035",9506:"5abe34bb0110694f7b42",9544:"85e65ced3312bf9cf162",9588:"c319c3b85cdec73a9f45",9598:"65c61171e6c6be5c5c2f",9616:"bb2f6b0fcdfb8b158e26",9657:"d3d9d40556c847bba1a7",9695:"f1e5626a0cc1631a1efb",9696:"1f54ed4a5238ba1a2551",9748:"e645f992ec6f935ee3a5",9790:"6dac8dfcd63fc757ae2d",9794:"cd7159600ce132e32d04",9835:"8a3bff0f58483c1665f9",9838:"17acbf40e7c1cb42d9bd",9933:"28a45bd26eb5c9b3ec7c",9953:"e0fcb5fa0e9f21fde2b6",9958:"8ab39731775b0867a512",9981:"9c402657f63a4d5668d0"}[e]+".js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var a=n.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=n[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={76:1};r.f.i=(t,n)=>{e[t]||importScripts(r.p+r.u(t))};var t=self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[],n=t.push.bind(t);t.push=t=>{var[a,o,s]=t;for(var c in o)r.o(o,c)&&(r.m[c]=o[c]);for(s&&s(r);a.length;)e[a.pop()]=1;n(t)}})(),r(66358);var n=r(61322);RemoteClient=n})();
1
+ var RemoteClient;(()=>{"use strict";var e={66358(e,t,r){r.p=self.esriConfig.assetsPath+"/esri/core/workers/"},92602(e,t,r){r.d(t,{A:()=>a}),r(44208);var n=r(93637);const a={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&((0,n.$N)(a,globalThis.esriConfig,!0),delete a.has),!a.assetsPath){{const e="5.1.0-next.86";a.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}a.defaultAssetsPath=a.assetsPath}},49186(e,t,r){r.d(t,{A:()=>s});var n=r(4718),a=r(53966),o=r(799);class s{constructor(e,t,r){this.type="error",this.name=e,this.message=t?(0,o.V2)(t,r):"",this.details=r}toString(){const{name:e,message:t}=this;return`[${e}]: ${t}`}toJSON(){if(null!=this.details)try{return{name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,(e,t)=>{if(t&&"object"==typeof t&&"function"==typeof t.toJSON)return t;try{return(0,n.o8)(t)}catch(e){return"[object]"}}))}}catch(e){throw a.A.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new s(e.name,e.message,e.details)}}},53966(e,t,r){r.d(t,{A:()=>c});var n=r(92602),a=r(51447),o=(r(44208),r(799));const s={info:0,warn:1,error:2,none:3};class c{constructor(e){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},null!=e.level&&(this.level=e.level),null!=e.writer&&(this.writer=e.writer),this._module=e.module,c._loggers.set(this.module,this);const t=this.module.lastIndexOf(".");-1!==t&&(this._parent=c.getLogger(this.module.slice(0,t)))}get module(){return this._module}get parent(){return this._parent}error(...e){this._log("error","always",...e)}warn(...e){this._log("warn","always",...e)}info(...e){this._log("info","always",...e)}errorOnce(...e){this._log("error","once",...e)}warnOnce(...e){this._log("warn","once",...e)}infoOnce(...e){this._log("info","once",...e)}errorOncePerTick(...e){this._log("error","oncePerTick",...e)}warnOncePerTick(...e){this._log("warn","oncePerTick",...e)}infoOncePerTick(...e){this._log("info","oncePerTick",...e)}get test(){}static get test(){}static getLogger(e){return e="string"!=typeof e?e.declaredClass:e,c._loggers.get(e)||new c({module:e})}static{this._loggers=new Map}static{this._tickCounter=0}static{this._tickCounterScheduled=!1}static{this._throttlingDisabled=!1}_log(e,t,...r){if(this._matchLevel(e)){if("always"!==t&&!c._throttlingDisabled){const n=function(...e){return(0,o.Wm)(JSON.stringify(e,(e,t)=>"object"!=typeof t||Array.isArray(t)?t:"[Object]"))}(r),a=this._loggedMessages[e].get(n);if("once"===t&&null!=a||"oncePerTick"===t&&a&&a>=c._tickCounter)return;this._loggedMessages[e].set(n,c._tickCounter),c._scheduleTickCounterIncrement()}for(const t of n.A.log.interceptors)if(t(e,this.module,...r))return;this._inheritedWriter()(e,this.module,...r)}}_parentWithMember(e,t){let r=this;for(;null!=r;){const t=r[e];if(null!=t)return t;r=r.parent}return t}_inheritedWriter(){return this._parentWithMember("writer",i)}_matchLevel(e){const t=n.A.log.level||"warn";return s[this._parentWithMember("level",t)]<=s[e]}static _scheduleTickCounterIncrement(){c._tickCounterScheduled||(c._tickCounterScheduled=!0,Promise.resolve().then(()=>{c._tickCounter++,c._tickCounterScheduled=!1}))}}function i(e,t,...r){console[e](`[${(0,a.u3)(t)}]`,...r)}},87811(e,t,r){r.d(t,{A:()=>n});class n{static{this._m=2147483647}static{this._a=48271}static{this._c=0}constructor(e=1){this._seed=e}set seed(e){this._seed=e??Math.random()*n._m}getInt(){return this._seed=(n._a*this._seed+n._c)%n._m,this._seed}getFloat(){return this.getInt()/(n._m-1)}getIntRange(e,t){return Math.round(this.getFloatRange(e,t))}getFloatRange(e,t){const r=t-e;return e+this.getInt()/n._m*r}}},4576(e,t,r){r.d(t,{Am:()=>s,HX:()=>b,Ho:()=>u,Ji:()=>o,MJ:()=>c,Mo:()=>v,Ru:()=>A,TF:()=>O,VO:()=>f,Xj:()=>d,Xy:()=>g,aI:()=>i,iv:()=>l,k4:()=>k,mW:()=>w,qh:()=>m,vW:()=>h,yc:()=>P});var n=r(21818),a=r(87811);const o=1.5;function s(e,t){if(t){const r=[];for(const n of e)r.some(e=>t(e,n))||r.push(n);return r}return Array.from(new Set(e))}function c(e,t,r,n,a,o,s){if(null==e&&null==n)return!0;t=Math.max(0,t),a=Math.max(0,a),r=Math.max(0,r<0?(e?.length??0)+r:r),o=Math.max(0,o<0?(n?.length??0)+o:o);const c=r-t;if(null==e||null==n||c!==o-a)return!1;if(s){for(let r=0;r<c;r++)if(!s(e[t+r],n[a+r]))return!1}else for(let r=0;r<c;r++)if(e[t+r]!==n[a+r])return!1;return!0}function i(e,t,r){return c(e,0,e?.length??0,t,0,t?.length??0,r)}function f(){return(e,t)=>{if(null==e&&null==t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}}function l(e,t,r){let n,a;return r?(n=t.filter(t=>!e.some(e=>r(e,t))),a=e.filter(e=>!t.some(t=>r(t,e)))):(n=t.filter(t=>!e.includes(t)),a=e.filter(e=>!t.includes(e))),{added:n,removed:a}}function d(e){return e&&"number"==typeof e.length}function u(e,t){const r=e.length;if(0===r)return[];const n=[];for(let a=0;a<r;a+=t)n.push(e.slice(a,a+t));return n}function b(e,t,r,n){e.length>r&&(e.length=r);const a=e.length;let o=0,s=a;if(a===r){const r=n(e[a-1],t);if(r<=0||Number.isNaN(r))return}for(;o<s;){const r=o+s>>>1,a=n(e[r],t);a<=0||Number.isNaN(a)?o=r+1:s=r}a===r&&e.pop(),e.splice(o,0,t)}class h{constructor(){this.last=0}}const p=new h;function m(e,t,r,n){n=n||p;const a=Math.max(0,n.last-10);for(let o=a;o<r;++o)if(e[o]===t)return n.last=o,o;const o=Math.min(a,r);for(let r=0;r<o;++r)if(e[r]===t)return n.last=r,r;return-1}function g(e,t,r,a){const o=r??e.length,s=m(e,(0,n.z)(t),o,a);if(-1!==s)return e[s]=e[o-1],null==r&&e.pop(),t}const y=new Set;function w(e,t,r=e.length,n=t.length,a,o){if(0===n||0===r)return r;y.clear();for(let e=0;e<n;++e)y.add(t[e]);a=a||p;const s=Math.max(0,a.last-10);for(let t=s;t<r;++t)if(y.has(e[t])&&(o?.push(e[t]),y.delete(e[t]),e[t]=e[r-1],--r,--t,0===y.size||0===r))return y.clear(),r;for(let t=0;t<s;++t)if(y.has(e[t])&&(o?.push(e[t]),y.delete(e[t]),e[t]=e[r-1],--r,--t,0===y.size||0===r))return y.clear(),r;return y.clear(),r}function v(e){return e?(_.seed=e,()=>_.getFloat()):Math.random}const _=new a.A;function k(e,t){if(!e)return e;const r=v(t);for(let t=e.length-1;t>0;t--){const n=Math.floor(r()*(t+1)),a=e[t];e[t]=e[n],e[n]=a}return e}function O(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}function A(e,t){return null!=e}function P(e){return Array.isArray(e)}},21818(e,t,r){function n(e){return e}r.d(t,{z:()=>n})},51447(e,t,r){r.d(t,{Lx:()=>i,eF:()=>f,eO:()=>c,io:()=>l,u3:()=>d,uW:()=>s});var n=r(44208);const a=new WeakMap;function o(e,t,r=!1){const n=`🛑 DEPRECATED - ${t}`;if(!r)return void e.warn(n);let o=a.get(e);o||(o=new Set,a.set(e,o)),o.has(t)||(o.add(t),e.warn(n))}function s(e,t,r={}){(0,n.A)("esri-deprecation-warnings")&&l(e,`Module: ${d(t)}`,r)}function c(e,t,r={}){if((0,n.A)("esri-deprecation-warnings")){const{moduleName:n}=r;l(e,"Function: "+(n?d(n)+"::":"")+t+"()",r)}}function i(e,t,r={}){if((0,n.A)("esri-deprecation-warnings")){const{moduleName:n}=r;l(e,"Property: "+(n?d(n)+"::":"")+t,r)}}function f(e,t,r={}){(0,n.A)("esri-deprecation-warnings")&&l(e,`Multiple argument constructor: ${t=d(t)}`,{warnOnce:!0,replacement:`new ${t}({ <your properties here> })`,...r})}function l(e,t,r={}){if((0,n.A)("esri-deprecation-warnings")){const{replacement:n,version:a,see:s,warnOnce:c}=r;let i=t;if(n&&(i+=`\n\t🛠️ Replacement: ${n}`),a&&(i+=`\n\t⚙️ Version: ${a}`),s)if(Array.isArray(s)){i+="\n\t🔗 See for more details:";for(const e of s)i+=`\n\t\t${e}`}else i+=`\n\t🔗 See ${s} for more details.`;o(e,i,c)}}function d(e){return e.startsWith("esri.")?e.replace("esri.","@arcgis/core/").replaceAll(".","/"):e}},37955(e,t,r){r.d(t,{Oo:()=>c,on:()=>s,wb:()=>a});var n=r(36563);function a(e){return function(e){return null!=e&&"object"==typeof e&&"on"in e&&"function"==typeof e.on}(e)||o(e)}function o(e){return null!=e&&"object"==typeof e&&"addEventListener"in e&&"function"==typeof e.addEventListener}function s(e,t,r){if(!a(e))throw new TypeError("target is not a Evented or EventTarget object");return o(e)?function(e,t,r,a){if(Array.isArray(t)){const o=t.slice();for(const t of o)e.addEventListener(t,r,a);return(0,n.hA)(()=>{for(const t of o)e.removeEventListener(t,r,a)})}return e.addEventListener(t,r,a),(0,n.hA)(()=>e.removeEventListener(t,r,a))}(e,t,r):e.on(t,r)}function c(e,t,r){if(!a(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const n=s(e,t,t=>{n.remove(),r.call(e,t)});return n}},36563(e,t,r){r.d(t,{hA:()=>a,rE:()=>s,vE:()=>o});const n={remove:()=>{}};function a(e){return e?{remove(){e&&(e(),e=void 0)}}:n}function o(e){return a(()=>function(e){e.forEach(e=>e?.remove())}(e))}function s(e){return a(()=>e?.abort())}},44208(e,t,r){r.d(t,{A:()=>o});const n=globalThis,a={...n.esriConfig?.has};function o(e){return"function"==typeof a[e]?a[e]=a[e](n):a[e]}o.add=(e,t,r,n)=>{(n||void 0===a[e])&&(a[e]=t),r&&o(e)},o.cache=a,o.add("big-integer-warning-enabled",!0),o.add("esri-deprecation-warnings",!0),o.add("esri-tests-disable-screenshots",!1),o.add("esri-tests-use-full-window",!1),o.add("esri-tests-post-to-influx",!0),o.add("esri-cim-animations-enable-status","enabled"),o.add("esri-cim-animations-spotlight",!1),o.add("esri-cim-animations-freeze-time",!1),(()=>{o.add("host-webworker",void 0!==n.WorkerGlobalScope&&self instanceof n.WorkerGlobalScope);const e="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(o.add("host-browser",e),o.add("host-node",!("object"!=typeof n.process||!n.process.versions?.node||!n.process.versions.v8)),o.add("dom",e),o("host-browser")){const e=navigator,t=e.userAgent,r=e.appVersion,n=parseFloat(r);if(o.add("wp",parseFloat(t.split("Windows Phone")[1])||void 0),o.add("msapp",parseFloat(t.split("MSAppHost/")[1])||void 0),o.add("khtml",r.includes("Konqueror")?n:void 0),o.add("edge",parseFloat(t.split("Edge/")[1])||void 0),o.add("opr",parseFloat(t.split("OPR/")[1])||void 0),o.add("webkit",!o("wp")&&!o("edge")&&parseFloat(t.split("WebKit/")[1])||void 0),o.add("chrome",!o("edge")&&!o("opr")&&parseFloat(t.split("Chrome/")[1])||void 0),o.add("android",!o("wp")&&parseFloat(t.split("Android ")[1])||void 0),o.add("safari",!r.includes("Safari")||o("wp")||o("chrome")||o("android")||o("edge")||o("opr")?void 0:parseFloat(r.split("Version/")[1])),o.add("mac",r.includes("Macintosh")),!o("wp")&&/(iPhone|iPod|iPad)/.test(t)){const e=RegExp.$1.replace(/P/,"p"),r=/OS ([\d_]+)/.test(t)?RegExp.$1:"1",n=parseFloat(r.replace(/_/,".").replaceAll("_",""));o.add(e,n),o.add("ios",n)}o("webkit")||(!t.includes("Gecko")||o("wp")||o("khtml")||o("edge")||o.add("mozilla",n),o("mozilla")&&o.add("ff",parseFloat(t.split("Firefox/")[1]||t.split("Minefield/")[1])||void 0))}})(),(()=>{if(n.navigator){const e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),r=/iPhone/i.test(e);t&&o.add("esri-mobile",t),r&&o.add("esri-iPhone",r),o.add("esri-geolocation",!!navigator.geolocation)}o.add("esri-wasm","WebAssembly"in n),o.add("esri-performance-mode-frames-between-render",20),o.add("esri-force-performance-mode",!1),o.add("esri-shared-array-buffer",()=>{const e="SharedArrayBuffer"in n,t=!1===n.crossOriginIsolated;return e&&!t}),o.add("wasm-simd",()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11]))),o.add("esri-atomics","Atomics"in n),o.add("esri-workers","Worker"in n),o.add("web-feat:cache","caches"in n),o.add("esri-workers-arraybuffer-transfer",!o("safari")||Number(o("safari"))>=12),o.add("min-workers-pool-size",2),o.add("max-workers-pool-size",o("esri-mobile")?3:8),o.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),o.add("featurelayer-simplify-payload-size-factors",[1,1,4]),o.add("featurelayer-animation-enabled",!0),o.add("featurelayer-snapshot-enabled",!0),o.add("featurelayer-snapshot-initial-tolerance",0),o.add("featurelayer-snapshot-point-min-threshold",8e4),o.add("featurelayer-snapshot-point-max-threshold",4e5),o.add("featurelayer-snapshot-multipoint-min-threshold",2e4),o.add("featurelayer-snapshot-multipoint-max-threshold",1e5),o.add("featurelayer-snapshot-polygon-min-threshold",2e3),o.add("featurelayer-snapshot-polygon-max-threshold",2e3),o.add("featurelayer-snapshot-polyline-min-threshold",2e3),o.add("featurelayer-snapshot-polyline-max-threshold",2e3),o.add("featurelayer-snapshot-max-vertex-count",25e4),o.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled",!0),o.add("featurelayer-snapshot-concurrency",4),o.add("featurelayer-snapshot-allow-editable",!1),o.add("featurelayer-snapshot-coverage",.1),o.add("featurelayer-query-max-depth",4),o.add("featurelayer-query-max-page-size",8e3),o.add("featurelayer-query-pausing-enabled",!1),o.add("featurelayer-query-tile-concurrency",4),o.add("featurelayer-query-tile-max-features",6e5),o.add("featurelayer-advanced-symbols",!1),o.add("featurelayer-pbf",!0),o.add("featurelayer-pbf-statistics",!1),o.add("featurelayer-pbf-true-curves",!0),o.add("feature-layers-workers",!0),o.add("feature-polyline-generalization-factor",1),o.add("featurelayer-relative-time-queries-enabled",!0),o.add("featurelayer-relative-time-queries-bin-window-public",1),o.add("featurelayer-relative-time-queries-bin-window-private",60),o.add("parquetlayer-full-query-feature-count",2e4),o.add("parquetlayer-hittest-max-feature-count",1),o.add("parquetlayer-persistence-enabled",!1),o.add("parquetlayer-cache-enabled",!0),o.add("mapview-transitions-duration",200),o.add("mapview-essential-goto-duration",200),o.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),o.add("mapserver-pbf-version-support",10.81),o.add("mapservice-popup-identify-max-tolerance",20),o.add("request-queue-concurrency-global",50),o.add("request-queue-concurrency-hosted",16),o.add("request-queue-concurrency-non-hosted",10),o.add("curve-densification-coarse-segments",128),o.add("curve-densification-max-segments",2e3),o.add("curve-densification-min-segments",3),o.add("curve-densification-pixel-deviation",.5),o.add("view-readyState-waiting-delay",1e3),o.add("gradient-depth-bias",.01),o.add("gradient-depth-epsilon",1e-8),o.add("enable-feature:analysis-drawtool-line-of-sight",!1),o.add("enable-feature:esri-compress-textures",!0),o.add("enable-feature:analysis-new-viewshed-tool",!1),o.add("enable-feature:basemap-groundlayers",!0),o.add("enable-feature:im-shading",!0),o.add("enable-feature:im-vertex-normals",!0),!o("host-webworker")&&o("host-browser")&&(o.add("esri-csp-restrictions",()=>{try{new Function}catch{return!0}return!1}),o.add("esri-url-encodes-apostrophe",()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")}))})()},4718(e,t,r){r.d(t,{Nb:()=>i,TU:()=>c,aI:()=>b,gh:()=>h,o8:()=>s,oy:()=>o});var n=r(4576),a=r(34275);function o(e,t){let r;if(t)for(r in e)e.hasOwnProperty(r)&&(void 0===e[r]?delete e[r]:e[r]instanceof Object&&o(e[r],!0));else for(r in e)e.hasOwnProperty(r)&&void 0===e[r]&&delete e[r];return e}function s(e){if(!e||"object"!=typeof e||"function"==typeof e)return e;const t=u(e);if(null!=t)return t;if(i(e))return e.clone();if(f(e))return e.map(s);if(l(e))throw new Error("Trying to clone an unclonable Accessor instance");const r={};for(const t of Object.getOwnPropertyNames(e))r[t]=s(e[t]);return r}function c(e,t){if(!e||"object"!=typeof e||"function"==typeof e||"HTMLElement"in globalThis&&e instanceof HTMLElement)return e;const r=u(e);if(null!=r)return r;if(f(e)){let r=!0;const n=e.map(e=>{const n=c(e,t);return null!=e&&null==n&&(r=!1),n});return r?n:null}if(i(e))return e.clone(t);if(e instanceof File||e instanceof Blob)return e;if(l(e))return null;const n=new(0,Object.getPrototypeOf(e).constructor);for(const t of Object.getOwnPropertyNames(e)){const r=e[t],a=c(r);if(null!=r&&null==a)return null;n[t]=a}return n}function i(e){return"function"==typeof e.clone}function f(e){return"function"==typeof e.map&&"function"==typeof e.forEach}function l(e){return"function"==typeof e.notifyChange&&"function"==typeof e.watch}function d(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){if((0,a.dz)(e)||(0,a.mg)(e)||(0,a.UR)(e)||(0,a.IY)(e)||(0,a.jq)(e)||(0,a._G)(e)||(0,a.XJ)(e)||(0,a.vZ)(e)||(0,a.aI)(e))return e.slice();if(e instanceof Date)return new Date(e);if(e instanceof ArrayBuffer)return e.slice(0,e.byteLength);if(e instanceof Map){const t=new Map;for(const[r,n]of e)t.set(r,s(n));return t}if(e instanceof Set){const t=new Set;for(const r of e)t.add(s(r));return t}return null}function b(e,t){return e===t||"number"==typeof e&&isNaN(e)&&"number"==typeof t&&isNaN(t)||"function"==typeof e?.getTime&&"function"==typeof t?.getTime&&e.getTime()===t.getTime()||!1}function h(e,t){return e===t||(null==e||"string"==typeof e?e===t:"number"==typeof e?e===t||"number"==typeof t&&isNaN(e)&&isNaN(t):e instanceof Date?t instanceof Date&&e.getTime()===t.getTime():Array.isArray(e)?Array.isArray(t)&&(0,n.aI)(e,t):e instanceof Set?t instanceof Set&&function(e,t){if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}(e,t):e instanceof Map?t instanceof Map&&function(e,t){if(e.size!==t.size)return!1;for(const[r,n]of e){const e=t.get(r);if(e!==n||void 0===e&&!t.has(r))return!1}return!0}(e,t):!!d(e)&&d(t)&&function(e,t){if(null===e||null===t)return!1;const r=Object.keys(e);if(null===t||Object.keys(t).length!==r.length)return!1;for(const n of r)if(e[n]!==t[n]||!Object.prototype.hasOwnProperty.call(t,n))return!1;return!0}(e,t))}},97768(e,t,r){function n(e,t){if(null==e)throw new Error(t??"value is None")}function a(e){return e&&!e.destroyed&&e.destroy(),null}function o(e){return e?.dispose(),null}function s(e){return e?.remove(),null}function c(e){return e?.abort(),null}function i(e){return e?.release(),null}function f(e,t,r){return null!=e&&null!=t?null!=r?r(e,t):e.equals(t):e===t}function l(e,t){let r;return e.some((e,n)=>(r=t(e,n),null!=r)),r??void 0}r.d(t,{CM:()=>f,DC:()=>c,Gz:()=>i,Lw:()=>n,Pb:()=>l,WD:()=>o,pR:()=>a,xt:()=>s})},93637(e,t,r){r.d(t,{$N:()=>a,a4:()=>d,i7:()=>l,i8:()=>c,sM:()=>s,wc:()=>o});var n=r(4718);function a(e,t,r=!1){return f(e,t,r)}function o(e,t){if(null!=t)return t[e]||i(e.split("."),!1,t)}function s(e,t,r){const n=e.split("."),a=n.pop(),o=i(n,!0,r);o&&a&&(o[a]=t)}function c(e,t){if(null==e&&null==t)return!1;if(null==e)return!0;if(null==t)return!0;if("object"==typeof e){if(Array.isArray(e)){const r=t;if(e.length!==r.length)return!0;for(let t=0;t<e.length;t++)if(c(e[t],r[t]))return!0;return!1}if(Object.keys(e).length!==Object.keys(t).length)return!0;for(const r in e)if(c(e[r],t[r]))return!0;return!1}return e!==t}function i(e,t,r){let n=r;for(const r of e){if(null==n)return;if(!(r in n)){if(!t)return;n[r]={}}n=n[r]}return n}function f(e,t,r){return t?Object.keys(t).reduce((e,a)=>{if("__proto__"===a)return e;let o=e[a],s=t[a];return o===s?e:void 0===o?(e[a]=(0,n.o8)(s),e):(Array.isArray(s)||Array.isArray(e)?(o=o?Array.isArray(o)?e[a]=o.slice():e[a]=[o]:e[a]=[],s&&(Array.isArray(s)||(s=[s]),r?s.forEach(e=>{o.includes(e)||o.push(e)}):e[a]=s.slice())):s&&"object"==typeof s?e[a]=f(o,s,r):e.hasOwnProperty(a)&&!t.hasOwnProperty(a)||(e[a]=s),e)},e||{}):e}function l(e,t){for(const r of Object.entries(e))if(t===r[1])return r[0]}function d(e,t){return Object.values(e).includes(t)}},17676(e,t,r){r.d(t,{$X:()=>k,G4:()=>f,Lx:()=>g,Mq:()=>i,NK:()=>s,NO:()=>x,NY:()=>b,Ol:()=>w,Pl:()=>v,QP:()=>l,QZ:()=>m,Te:()=>c,YL:()=>_,hn:()=>P,jH:()=>d,nA:()=>y,qr:()=>h,sg:()=>A,u7:()=>u,z7:()=>O,zf:()=>p});var n=r(49186),a=r(37955),o=(r(53966),r(97768));function s(e="Aborted"){return new n.A("AbortError",e)}function c(e,t="Aborted"){if(f(e))throw s(t)}function i(e){return e instanceof AbortSignal?e:e?.signal??void 0}function f(e){const t=i(e);return null!=t&&t.aborted}function l(e){if(p(e))throw e}function d(e){if(!p(e))throw e}function u(e,t){const r=i(e);if(null!=r){if(!r.aborted)return(0,a.Oo)(r,"abort",()=>t());t()}}function b(e,t){const r=i(e);if(null!=r)return c(r),(0,a.Oo)(r,"abort",()=>t(s()))}function h(e,t){return null==i(t)?e:new Promise((r,n)=>{let a=u(t,()=>n(s()));const c=()=>{a=(0,o.xt)(a)};e.then(c,c),e.then(r,n)})}function p(e){return"AbortError"===e?.name}async function m(e){try{return await e}catch(e){if(!p(e))throw e;return}}async function g(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e),r=t.map(t=>e[t]),n=await g(r),a={};return t.map((e,t)=>a[e]=n[t]),a}const t=e;return Promise.allSettled(t).then(e=>Array.from(t,(t,r)=>{const n=e[r];return"fulfilled"===n.status?{promise:t,value:n.value}:{promise:t,error:n.reason}}))}async function y(e){return(await Promise.allSettled(e)).filter(e=>"fulfilled"===e.status).map(e=>e.value)}async function w(e){return(await Promise.allSettled(e)).filter(e=>"rejected"===e.status).map(e=>e.reason)}function v(e,t=void 0,r){const n=new AbortController;return u(r,()=>n.abort()),new Promise((r,a)=>{let o=setTimeout(()=>{o=0,r(t)},e);u(n,()=>{o&&(clearTimeout(o),a(s()))})})}function _(e,t){const r=new AbortController,n=setTimeout(()=>r.abort(),t);return u(e,()=>{r.abort(),clearTimeout(n)}),{...e,signal:r.signal}}function k(e){return e&&"function"==typeof e.then}function O(e){return k(e)?e:Promise.resolve(e)}function A(e,t=-1){let r,n,a,o,c=null;const i=(...f)=>{if(r){n=f,o&&o.reject(s()),o=Promise.withResolvers();const e=o.promise;if(c){const e=c;c=null,e.abort()}return e}if(a=o||Promise.withResolvers(),o=null,t>0){const n=new AbortController;r=O(e(...f,n.signal));const a=r;v(t).then(()=>{r===a&&(o?n.abort():c=n)})}else r=1,r=O(e(...f));const l=()=>{const e=n;n=a=r=c=null,null!=e&&i(...e)},d=r,u=a;return d.then(l,l),d.then(u.resolve,u.reject),u.promise};return i}function P(e,t){t.then(e.resolve,e.reject)}async function x(e){await Promise.resolve(),c(e)}},799(e,t,r){r.d(t,{Cj:()=>i,HC:()=>s,V2:()=>c,Wm:()=>f,_e:()=>u,xq:()=>l});var n=r(93637);const a=/\{([^}]+)\}/g;function o(e){return e??""}function s(e,t){return t?e.replaceAll(a,"object"==typeof t?(e,r)=>o((0,n.wc)(r,t)):(e,r)=>o(t(r))):e}function c(e,t){return e.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,(e,r)=>""===r?"$":((0,n.wc)(r,t)??"").toString())}function i(e,t){return e.replaceAll(/([.$?*|{}()[\]\\/+\-^])/g,e=>t?.includes(e)?e:`\\${e}`)}function f(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}function l(e,t=0){let r=3735928559^t,n=1103547991^t;for(let t,a=0;a<e.length;a++)t=e.charCodeAt(a),r=Math.imul(r^t,2654435761),n=Math.imul(n^t,1597334677);return r=Math.imul(r^r>>>16,2246822507),r^=Math.imul(n^n>>>13,3266489909),n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(r^r>>>13,3266489909),4294967296*(2097151&n)+(r>>>0)}let d;function u(e){return d??=new DOMParser,d.parseFromString(e||"","text/html").body.innerText||""}},12195(e,t,r){function n(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}r.d(t,{W:()=>n})},34275(e,t,r){function n(e){return e instanceof ArrayBuffer}function a(e){return"Int8Array"===e?.constructor?.name}function o(e){return"Uint8Array"===e?.constructor?.name}function s(e){return"Uint8ClampedArray"===e?.constructor?.name}function c(e){return"Int16Array"===e?.constructor?.name}function i(e){return"Uint16Array"===e?.constructor?.name}function f(e){return"Int32Array"===e?.constructor?.name}function l(e){return"Uint32Array"===e?.constructor?.name}function d(e){return"Float16Array"===e?.constructor?.name}function u(e){return"Float32Array"===e?.constructor?.name}function b(e){return"Float64Array"===e?.constructor?.name}function h(e){return"buffer"in e}r.d(t,{IY:()=>c,JI:()=>m,LW:()=>d,PI:()=>w,UR:()=>s,XJ:()=>l,_G:()=>f,a3:()=>y,aI:()=>b,dk:()=>g,dz:()=>a,h2:()=>v,iu:()=>h,jq:()=>i,mg:()=>o,mw:()=>n,vZ:()=>u,y9:()=>p});const p=1024;function m(e){return b(e)||u(e)||f(e)||c(e)||a(e)}function g(e){return b(e)||u(e)}function y(e){return b(e)?179769e303:d(e)?65504:u(e)?3402823e32:l(e)?4294967295:i(e)?65535:o(e)||s(e)?255:f(e)?2147483647:c(e)?32767:a(e)?127:256}const w=-32768,v=-2147483648},84952(e,t,r){r.d(t,{$1:()=>Y,$z:()=>G,An:()=>x,BQ:()=>ae,DB:()=>K,FL:()=>J,FX:()=>U,Hg:()=>te,Il:()=>ue,Ln:()=>me,N9:()=>ne,S8:()=>H,T1:()=>he,UC:()=>be,V1:()=>B,Xq:()=>A,Zo:()=>_e,_0:()=>Oe,a6:()=>ve,b8:()=>q,e7:()=>de,fj:()=>D,gd:()=>P,hf:()=>pe,lJ:()=>X,lM:()=>ce,m3:()=>se,nM:()=>le,oP:()=>V,oy:()=>I,r$:()=>ee,rs:()=>we,s0:()=>v,s2:()=>z,sC:()=>L,s_:()=>j,tk:()=>re,ut:()=>T,w8:()=>Q,x0:()=>M,xw:()=>ke,yM:()=>C,zf:()=>S,zi:()=>ye,zs:()=>E});var n=r(92602),a=r(4576),o=r(49186),s=r(53966),c=r(12195),i=r(39131),f=r(26306);const l=n.A.request,d="esri/config: esriConfig.request.proxyUrl is not set.",u=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,b=/^\s*http:/i,h=/^\s*https:/i,p=/^\s*file:/i,m=/:\d+$/,g=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,y=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),w=new RegExp("^((([^[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^[:]*))(:([0-9]+))?$");class v{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=this.uri.match(y);this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=this.authority.match(w),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const _={};let k=new v(n.A.applicationUrl);let O=function(){const e=k.path,t=e.slice(0,e.lastIndexOf("/")+1);return`${k.scheme}://${k.host}${null!=k.port?`:${k.port}`:""}${t}`}();const A=()=>k,P=()=>O;function x(e){if(!e)return null;const t={path:null,query:null},r=new v(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.slice(0,n),t.query=S(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.slice(0,t.path.length-(r.fragment.length+1)))),t}function S(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,a;t<0?(n=decodeURIComponent(e),a=""):(n=decodeURIComponent(e.slice(0,t)),a=decodeURIComponent(e.slice(t+1)));let o=r[n];"string"==typeof o&&(o=r[n]=[o]),Array.isArray(o)?o.push(a):r[n]=a}return r}function M(e,t){return e?t&&"function"==typeof t?Object.keys(e).map(r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r]))).join("&"):Object.keys(e).map(r=>{const n=e[r];if(null==n)return"";const a=encodeURIComponent(r)+"=",o=t?.[r];return o?a+encodeURIComponent(o(n)):Array.isArray(n)?n.map(e=>(0,c.W)(e)?a+encodeURIComponent(JSON.stringify(e)):a+encodeURIComponent(e)).join("&"):(0,c.W)(n)?a+encodeURIComponent(JSON.stringify(n)):a+encodeURIComponent(n)}).filter(e=>e).join("&"):""}function j(e=!1){let t,r=l.proxyUrl;if("string"==typeof e){t=se(e);const n=E(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw s.A.getLogger("esri.core.urlUtils").warn(d),new o.A("urlUtils:proxy-not-set",d);return t&&ie()&&(r=ce(r)),x(r)}function C(e,t=!1){const r=E(e);let n,a;if(r){const e=N(r.proxyUrl);n=e.path,a=e.query?S(e.query):null}else if(t){const t=j(e);n=t.path,a=t.query}if(n){const t=x(e);e=n+"?"+t.path;const r=M({...a,...t.query});r&&(e=`${e}?${r}`)}return e}const $={path:"",query:""};function N(e){const t=e.indexOf("?");return-1!==t?($.path=e.slice(0,t),$.query=e.slice(t+1)):($.path=e,$.query=null),$}function W(e){return(e=fe(e=ue(e=N(e).path),!0)).toLowerCase()}function I(e){const t={proxyUrl:e.proxyUrl,urlPrefix:W(e.urlPrefix)},r=l.proxyRules,n=t.urlPrefix;let a=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(n.startsWith(t)){if(n.length===t.length)return-1;a=e;break}t.startsWith(n)&&(a=e+1)}return r.splice(a,0,t),a}function E(e){const t=l.proxyRules,r=W(e);for(let e=0;e<t.length;e++)if(r.startsWith(t[e].urlPrefix))return t[e]}function q(e,t){if(!e||!t)return!1;e=R(e),t=R(t);const r=(0,i.py)(e),n=(0,i.py)(t);return null!=r&&null!=n?r.portalHostname===n.portalHostname:null==r&&null==n&&U(e,t,!0)}function T(e,t){return e=R(e),t=R(t),fe(e)===fe(t)}function R(e){const t=(e=H(e)).indexOf("/sharing");return t>0?e.slice(0,t):e.replace(/\/+$/,"")}function L(e,t=l.interceptors){const r=t=>t instanceof RegExp?t.test(e):"string"==typeof t?e.startsWith(t):null==t;if(t)for(const e of t)if(Array.isArray(e.urls)){if(e.urls.some(r))return e}else if(r(e.urls))return e;return null}function U(e,t,r=!1){if(!e||!t)return!1;const n=ge(e),a=ge(t);return!(!r&&n.scheme!==a.scheme)&&null!=n.host&&null!=a.host&&n.host.toLowerCase()===a.host.toLowerCase()&&n.port===a.port}function J(e){if("string"==typeof e){if(!V(e))return!0;e=ge(e)}if(U(e,k))return!0;const t=l.trustedServers||[];for(let r=0;r<t.length;r++){const n=F(t[r]);for(let t=0;t<n.length;t++)if(U(e,n[t]))return!0}return!1}function F(e){return _[e]||(oe(e)||ae(e)?_[e]=[new v(z(e))]:_[e]=[new v(`http://${e}`),new v(`https://${e}`)]),_[e]}function z(e,t=O,r){return ae(e)?r?.preserveProtocolRelative?e:"http"===k.scheme&&k.authority===G(e).slice(2)?`http:${e}`:`https:${e}`:oe(e)?e:D(e.startsWith("/")?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e)}function B(e,t=O,r){if(null==e||!V(e))return e;const n=H(e),a=n.toLowerCase(),o=H(t).toLowerCase().replace(/\/+$/,""),s=r?H(r).toLowerCase().replace(/\/+$/,""):null;if(s&&!o.startsWith(s))return e;const c=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let i=c(a,"/",a.indexOf("//")+2),f=-1;for(;a.slice(0,i+1)===o.slice(0,i)+"/"&&(f=i+1,i!==a.length);)i=c(a,"/",i+1);if(-1===f)return e;if(s&&f<s.length)return e;e=n.slice(f);const l=o.slice(f-1).replaceAll(/[^/]+/g,"").length;if(l>0)for(let t=0;t<l;t++)e=`../${e}`;else e=`./${e}`;return e}function H(e){return function(e){const t=l.httpsDomains;if(!function(e){return null!=e&&b.test(e)||"http"===k.scheme&&ae(e)}(e))return e;const r=e.indexOf("/",7);let n;if(n=-1===r?e:e.slice(0,r),n=n.toLowerCase().slice(7),m.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===k.scheme&&n===k.authority&&!g.test(e)||(ie()&&n===k.authority||t&&t.some(e=>n===e||n.endsWith(`.${e}`))||ie()&&!E(e))&&(e=ce(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=N(e);e=(e=t.path.replaceAll(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=z(e=e.trim()))))}function D(...e){const t=e.filter(a.Ru);if(!t?.length)return;const r=[];if(V(t[0])){const e=t[0],n=e.indexOf("//");-1!==n&&(r.push(e.slice(0,n+1)),function(e){return null!=e&&p.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else t[0].startsWith("/")&&r.push("");const n=t.reduce((e,t)=>t?e.concat(t.split("/")):e,[]);for(let e=0;e<n.length;e++){const t=n[e];".."===t&&r.length>0&&".."!==r[r.length-1]?r.pop():(!t&&e===n.length-1||t&&("."!==t||0===r.length))&&r.push(t)}return r.join("/")}function G(e,t=!1){if(null==e||Q(e)||K(e))return null;let r=e.indexOf("://");if(-1===r&&ae(e))r=2;else{if(-1===r)return null;r+=3}const n=e.indexOf("/",r);return-1!==n&&(e=e.slice(0,n)),t&&(e=fe(e,!0)),e}function V(e){return ae(e)||oe(e)}function Q(e){return null!=e&&e.startsWith("blob:")}function K(e){return null!=e&&e.startsWith("data:")}function X(e){const t=ee(e);return t?.isBase64?(0,f.M)(t.data):null}function Y(e){return(0,f.Y)(e).replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}const Z=/^data:(.*?)(;base64)?,(.*)$/;function ee(e){const t=e.match(Z);if(!t)return null;const[,r,n,a]=t;return{mediaType:r,isBase64:!!n,data:a}}function te(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}async function re(e){return(await fetch(e)).blob()}function ne(e){const t=X(e);if(!t)return null;const r=ee(e);return new Blob([t],{type:r.mediaType})}function ae(e){return null!=e&&e.startsWith("/")&&"/"===e[1]}function oe(e){return null!=e&&u.test(e)}function se(e){return null!=e&&h.test(e)||"https"===k.scheme&&ae(e)}function ce(e){return ae(e)?`https:${e}`:e.replace(b,"https:")}function ie(){return"https"===k.scheme}function fe(e,t=!1){return ae(e)?e.slice(2):(e=e.replace(u,""),t&&e.length>1&&e.startsWith("/")&&"/"===e[1]&&(e=e.slice(2)),e)}function le(e){let t=0;if(V(e)){const r=e.indexOf("//");-1!==r&&(t=r+2)}const r=e.lastIndexOf("/");return r<t?e:e.slice(0,r+1)}function de(e,t){if(!e)return"";const r=x(e).path.replace(/\/+$/,""),n=r.slice(r.lastIndexOf("/")+1);if(!t?.length)return n;const a=new RegExp(`\\.(${t.join("|")})$`,"i");return n.replace(a,"")}function ue(e){return e.endsWith("/")?e:`${e}/`}function be(e){return e.replace(/\/+$/,"")}function he(e,t,r){if(!(t&&r&&e&&V(e)))return e;const n=e.indexOf("//"),a=e.indexOf("/",n+2),o=e.indexOf(":",n+2),s=Math.min(a<0?e.length:a,o<0?e.length:o);return e.slice(n+2,s).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(s)}`}function pe(e,t){const r=new URL(e);return r.host=t,r.port&&!m.test(t)&&(r.port=""),r.toString()}function me(e){return new URL(e).host}function ge(e){return"string"==typeof e?new v(z(e)):(e.scheme||(e.scheme=k.scheme),e)}function ye(e,t){const r=x(e),n=Object.keys(r.query||{});return n.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${n.join(", ")}.`),r.path}function we(e,t,r){const n=x(e),a=n.query||{};return a[t]=String(r),`${n.path}?${M(a)}`}function ve(e,t){if(!t)return e;const r=x(e),n=r.query||{};for(const[e,r]of Object.entries(t))null!=r&&(n[e]=r);const a=M(n);return a?`${r.path}?${a}`:r.path}function _e(e){if(null==e)return null;const t=e.match(Ae);return t?t[2]:null}function ke(e){if(null==e)return null;const t=e.match(Ae);return t?{path:t[1],extension:t[2]}:{path:e,extension:null}}async function Oe(e){return"string"==typeof e?ee(e)??{data:e}:new Promise((t,r)=>{const n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(ee(n.result)),n.onerror=e=>r(e)})}const Ae=/([^.]*)\.([^/]*)$/},52268(e,t,r){function n(e,t){return new Proxy({},{get:(r,n,a)=>(...r)=>{let a,o;const s=r[r.length-1];return function(e){return"object"==typeof e&&!Array.isArray(e)&&null!=e&&("signal"in e||"transferList"in e||0===Object.keys(e).length)}(s)&&(a=s.signal,o=s.transferList,r.pop()),e.apply(t?`${t}.${n.toString()}`:n.toString(),r,{transferList:o,signal:a})}})}r.d(t,{L:()=>n})},61322(e,t,r){r.r(t),r.d(t,{default:()=>v});var n=r(70333),a=r(49186),o=r(37955),s=r(36563),c=r(97768),i=r(17676),f=r(52268);const l={CSVSourceWorker:()=>Promise.all([r.e(6408),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(2188)]).then(r.bind(r,25209)),EdgeProcessingWorker:()=>Promise.all([r.e(1843),r.e(6661),r.e(433)]).then(r.bind(r,71936)),ElevationSamplerWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(2031),r.e(4259)]).then(r.bind(r,38419)),FeaturePipelineWorker:()=>Promise.all([r.e(6408),r.e(4050),r.e(9953),r.e(8303),r.e(1956),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(893),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(7273),r.e(7733),r.e(2649),r.e(3383),r.e(4063),r.e(5458),r.e(9650)]).then(r.bind(r,37269)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(6408),r.e(1956),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(893),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(4063),r.e(88)]).then(r.bind(r,20401)),FlowWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(9616)]).then(r.bind(r,49616)),GaussianSplatSortWorker:()=>r.e(5856).then(r.bind(r,35856)),GeometryWorker:()=>Promise.all([r.e(6042),r.e(1878),r.e(8885),r.e(5756),r.e(3299),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(5151)]).then(r.bind(r,55912)),GeoJSONSourceWorker:()=>Promise.all([r.e(6408),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(847)]).then(r.bind(r,71202)),IntegratedMesh3DTilesLayerWorker:()=>Promise.all([r.e(1843),r.e(4066)]).then(r.bind(r,77214)),LercWorker:()=>r.e(7087).then(r.bind(r,57087)),Lyr3DWorker:()=>Promise.all([r.e(2741),r.e(2772)]).then(r.bind(r,72772)),MemorySourceWorker:()=>Promise.all([r.e(6408),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(7229)]).then(r.bind(r,29432)),PBFDecoderWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(9078)]).then(r.bind(r,39078)),PanoramicMeshWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(4314)]).then(r.bind(r,96982)),ParquetSourceWorker:()=>Promise.all([r.e(6408),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(7733),r.e(3383),r.e(7125)]).then(r.bind(r,48459)),PointCloudWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(7005),r.e(3290),r.e(7984),r.e(3846)]).then(r.bind(r,64798)),RasterWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(8251),r.e(7373),r.e(9235),r.e(1493)]).then(r.bind(r,63966)),SceneLayerSnappingSourceWorker:()=>Promise.all([r.e(9466),r.e(1843),r.e(6661),r.e(1448)]).then(r.bind(r,56780)),SceneLayerWorker:()=>Promise.all([r.e(6408),r.e(9953),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(3586)]).then(r.bind(r,94715)),TextureCompressionWorker:()=>Promise.all([r.e(2741),r.e(5902)]).then(r.bind(r,95902)),WFSSourceWorker:()=>Promise.all([r.e(6408),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(708),r.e(9696),r.e(4800),r.e(2031),r.e(5752),r.e(8815),r.e(4794)]).then(r.bind(r,33771)),WorkerTileHandler:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(7273),r.e(5013),r.e(9981)]).then(r.bind(r,36849)),arcadeGeometryOperatorsWorker:()=>Promise.all([r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(5750)]).then(r.bind(r,1123)),statsWorker:()=>Promise.all([r.e(6408),r.e(7865),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8815),r.e(4560),r.e(5220)]).then(r.bind(r,26412)),ImageMeasurementWorker:()=>Promise.all([r.e(6408),r.e(6042),r.e(1878),r.e(8885),r.e(5756),r.e(3299),r.e(8278),r.e(7865),r.e(6554),r.e(2869),r.e(4050),r.e(3910),r.e(9953),r.e(8303),r.e(1733),r.e(1956),r.e(9466),r.e(5482),r.e(2741),r.e(4996),r.e(8902),r.e(1882),r.e(893),r.e(6231),r.e(4800),r.e(812),r.e(8815),r.e(7016),r.e(8251),r.e(3356),r.e(1695),r.e(7598),r.e(1775)]).then(r.bind(r,68747))};var d=r(8341),u=r(18357);const{CLOSE:b,ABORT:h,INVOKE:p,RESPONSE:m,OPEN_PORT:g,ON:y}=d.Go;class w{constructor(e){this._invoke=e,this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._timer=null,this._process=this._process.bind(this)}push(e){e.type===h?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class v{static{this.kernelInfo={buildDate:u.$,fullVersion:n.ol,revision:u.u}}static{this.clients=new Map}static connect(e,t){const r=new MessageChannel;let n;n="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const a=new v(r.port1,{channel:r,client:n,schedule:t});return"object"==typeof n&&"remoteClient"in n&&(n.remoteClient=a),v.clients.set(a,n),r.port2}static loadWorker(e){const t=l[e];return t?t():Promise.resolve(null)}constructor(e,t,r,n){this._port=e,this._jobQueue=r,this._lowPriorityJobQueue=n,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new w(e=>this._onInvokeMessage(e)),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._maxNumberOfConcurrentJobs=t.maxNumberOfConcurrentJobs??2,this._port.addEventListener("message",this._onMessage),this._port.start()}close(){this._post({type:b}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){return this.apply(e,[t],r)}apply(e,t,r){const n=r?.signal,o=r?.transferList;if(!this._port)return Promise.reject(new a.A(d.T,`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const s=(0,d.Jc)();return new Promise((r,a)=>{if((0,i.G4)(n))return this._processWork(),void a((0,i.NK)());const f=(0,i.u7)(n,()=>{const e=this._outJobs.get(s);e&&(this._outJobs.delete(s),this._processWork(),(0,c.xt)(e.abortHandle),this._post({type:h,jobId:s}),a((0,i.NK)()))}),l={resolve:r,reject:a,abortHandle:f,debugInfo:e};this._outJobs.set(s,l),this._post({type:p,jobId:s,methodName:e,abortable:null!=n},t,o)})}createInvokeProxy(e){return(0,f.L)(this,e)}on(e,t){const r=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:y,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",n),r.port1.start(),(0,s.hA)(()=>{r.port1.postMessage({type:b}),r.port1.close(),r.port1.removeEventListener("message",n)})}jobAdded(){this._processWork()}openPort(){const e=new MessageChannel;return this._post({type:g,port:e.port2}),e.port1}_processWork(){if(this._outJobs.size>=this._maxNumberOfConcurrentJobs)return;const e=this._jobQueue?.pop()??this._lowPriorityJobQueue?.pop();if(!e)return;const{methodName:t,data:r,invokeOptions:n,resolver:a}=e;this.apply(t,r,n).then(e=>a.resolve(e)).catch(e=>a.reject(e))}_close(){this._channel&&(this._channel=void 0),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach(e=>{(0,c.xt)(e.abortHandle),e.reject((0,i.NK)(`Worker closing, aborting job calling '${e.debugInfo}'`))}),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=null,this._client=null,this._schedule=null,this._onMessage=null,this._channel=null,this._jobQueue=void 0,this._invokeQueue=void 0,this._lowPriorityJobQueue=void 0}_onMessage(e){null!=this._schedule?this._schedule(()=>this._processMessage(e,!0)):this._processMessage(e,!1)}_processMessage(e,t){const r=(0,d.VI)(e);if(r)switch(r.type){case m:this._onResponseMessage(r);break;case p:t?this._onInvokeMessage(r):this._invokeQueue.push(r);break;case h:this._onAbortMessage(r);break;case b:this._onCloseMessage();break;case g:this._onOpenPortMessage(r);break;case y:this._onOnMessage(r)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,n=t.get(r);this._invokeQueue.push(e),n&&(n.controller&&n.controller.abort(),t.delete(r))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&v.clients.get(this)===e&&e.destroy(),v.clients.delete(this),e?.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n=[],abortable:a}=e,o=a?new AbortController:null,s=this._inJobs;let c,f=this._client,l=f[t];try{if(!l&&t&&t.includes(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)f=f[e[t]],l=f[e[t+1]]}if("function"!=typeof l)throw new TypeError(`${t} is not a function`);n.push({client:this,signal:o?o.signal:null}),c=l.apply(f,n)}catch(e){return void this._post({type:m,jobId:r,error:(0,d.mF)(e)})}(0,i.$X)(c)?(s.set(r,{controller:o,promise:c}),c.then(e=>{s.has(r)&&(s.delete(r),this._post({type:m,jobId:r},e))},e=>{s.has(r)&&(s.delete(r),(0,i.zf)(e)||this._post({type:m,jobId:r,error:(0,d.mF)(e||{message:`Error encountered at method ${t}`})}))})):this._post({type:m,jobId:r},c)}_onOpenPortMessage(e){new v(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,e=>{t.postMessage(e)}),n=(0,o.on)(e.port,"message",e=>{const a=(0,d.VI)(e);a?.type===b&&(n.remove(),r.remove(),t.close())})}_onResponseMessage(e){const{jobId:t,error:r,data:n}=e,o=this._outJobs;if(!o.has(t))return;const s=o.get(t);o.delete(t),this._processWork(),(0,c.xt)(s.abortHandle),r?s.reject(a.A.fromJSON(JSON.parse(r))):s.resolve(n)}_post(e,t,r){return(0,d.u1)(this._port,e,t,r)}}},8341(e,t,r){r.d(t,{Go:()=>s,Jc:()=>i,T:()=>o,VI:()=>d,mF:()=>f,oV:()=>b,u1:()=>l});var n=r(44208),a=r(17676);const o="worker:port-closed",s={HANDSHAKE:0,OPEN:1,OPENED:2,RESPONSE:3,INVOKE:4,ABORT:5,CLOSE:6,OPEN_PORT:7,ON:8};let c=0;function i(){return c++}function f(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function l(e,t,r,n){if(t.type===s.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==s.INVOKE&&t.type!==s.RESPONSE)return void e.postMessage(t);let a;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(a=u(n),t.data=r):(a=u(r.transferList),t.data=r.result),a?e.postMessage(t,a):e.postMessage(t)}function d(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function u(e){if(!e?.length)return null;if((0,n.A)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter(e=>!function(e){return e instanceof ArrayBuffer||"ArrayBuffer"===e?.constructor?.name}(e));return t.length?t:null}async function b(e){try{return await e}catch(e){const t=e?.name===o;if(!(0,a.zf)(e)&&!t)throw e;return}}},70333(e,t,r){r.d(t,{Aq:()=>i,Y3:()=>f,id:()=>s,ol:()=>c,rE:()=>o});var n=r(44208),a=r(84952);Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const o="5.1";let s,c=o;function i(e){s=e}function f(e){const t=s?.findCredential(e);return t?.token?(0,a.rs)(e,"token",t.token):e}c="5.1.0-next.86",(0,n.A)("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),(0,n.A)("host-webworker")},39131(e,t,r){r.d(t,{$E:()=>s,py:()=>o,qG:()=>c});const n=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/i,a={devext:{customBaseUrl:"mapsdevext.arcgis.com",portalHostname:"devext.arcgis.com"},qaext:{customBaseUrl:"mapsqa.arcgis.com",portalHostname:"qaext.arcgis.com"},www:{customBaseUrl:"maps.arcgis.com",portalHostname:"www.arcgis.com"}};function o(e){const t=e?.match(n);if(!t)return null;const[,r,o,s]=t;if(!r)return null;let c=null,i=null,f=null;const{devext:l,qaext:d,www:u}=a;if(o)if(c=r,s)switch(s.toLowerCase()){case"devext":({customBaseUrl:i,portalHostname:f}=l);break;case"qa":({customBaseUrl:i,portalHostname:f}=d);break;default:return null}else({customBaseUrl:i,portalHostname:f}=u);else switch(r.toLowerCase()){case"devext":({customBaseUrl:i,portalHostname:f}=l);break;case"qaext":({customBaseUrl:i,portalHostname:f}=d);break;case"www":({customBaseUrl:i,portalHostname:f}=u);break;default:return null}return{customBaseUrl:i,isPortal:!1,portalHostname:f,urlKey:c}}function s(e){return!!e&&/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}function c(e){const t=/^https?:\/\/(?:cdn|[a-z\d-]+\.maps)\.arcgis\.com/i,r=/^https?:\/\/(?:cdndev|[a-z\d-]+\.mapsdevext)\.arcgis\.com/i,n=/^https?:\/\/(?:cdnqa|[a-z\d-]+\.mapsqa)\.arcgis\.com/i;return t.test(e)?e=e.replace(t,"https://www.arcgis.com"):r.test(e)?e=e.replace(r,"https://devext.arcgis.com"):n.test(e)&&(e=e.replace(n,"https://qaext.arcgis.com")),e}},26306(e,t,r){function n(e){const t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r.buffer}function a(e){const t=new Uint8Array(e);let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t[e]);return btoa(r)}r.d(t,{M:()=>n,Y:()=>a})},18357(e,t,r){r.d(t,{$:()=>n,u:()=>a});const n="20260428",a="56b84fa94df450e2cdd94c2b47a2510c76cebefe"}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.m=e,r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>"chunks/"+{5:"d52172439db02a349542",88:"d0aee7c80c5c7e23d216",91:"ca1b0cb14ea9ae1bf2a3",122:"41913575dd45c65d645e",146:"06003996a378c45bc605",148:"99c6bd2125f4eb6796fe",162:"96bba4d93a32ad34a1c8",217:"a1a12552d34ea9eea130",218:"52b3a11c962810bc6dbe",233:"074f5e6aaeafca13bf72",241:"dd5b362bded458afa2d6",309:"086d7cdfa92a649c9f7b",349:"7908aed639521cf572e8",353:"65520a443e3811255bea",368:"1906416c84bab369bbd6",369:"8a0a13f398ab488dbbe9",382:"d28169816c768d55aa09",390:"128799741dd3c6fc69b9",394:"bbc27d9285162696d089",427:"d35c475f004367e333eb",433:"6675d56f49d07a97dc40",463:"d95ffd990b3a7df69e1e",547:"63934843c9f4ef779a07",561:"5b6f2bfdcdd207d8ae42",563:"88827e23f8938342781c",566:"3c2eb386c0165150e039",609:"176dd195f77b98cb0b0f",692:"34207774bc371e95ba3c",708:"9d10db72e342fe63c981",709:"26f804c92077c11c626d",742:"46e622857ba92a72a317",758:"7acf82763aeba44049d0",785:"cca095f0c623e037002d",788:"d31f62ecbb54bffc54f2",795:"5afee66e182f79a0fc46",812:"a3a28c4887f802e8d96d",820:"aafa33f661462f5afd2b",837:"09630888267cde87654f",841:"747e258f57f0543c836e",847:"add000f51c778114c028",891:"d55cef8199b8246fea3f",893:"c503c79ba5761f7abbeb",895:"60915a3708a34da1977e",909:"b575292013bceef9b015",923:"bd10d21545bca9a49de0",926:"f1f78bb3d34f973c19de",959:"8a48a6760c33ed50b650",980:"74e1826ad9e2c4fd3b42",1003:"3d9032217347dadcbe41",1011:"dbc9249dae41096d750d",1017:"f89b7b0ccfbd1e5f9a0f",1023:"b858adff7043683fe41c",1054:"bc78937986854e500b8e",1060:"f518835b2dc89a48cfb1",1075:"b803e7b0d489bb628d72",1086:"475394218caaa4cd3e86",1088:"dec51409372764e7093d",1094:"1ff3c15a51c4dc991806",1132:"2b0b398180ed98c2c84c",1204:"4b79ebfb3328f9483147",1214:"be1e4c3ec53fc92a26f1",1273:"cc697c4d9cdc116373dc",1277:"7a474ce61cf484df87b4",1279:"b5ced451d331ca1ffb68",1285:"a0d459bdb91ee892d4b6",1328:"88eb1e4320c4ada01711",1384:"5b70295da76d9227f64b",1427:"79dc7045d9a2d43ba8df",1448:"988e91cc6cf88c34c2de",1452:"3a183259805638c25363",1493:"230e0e43f8e771950397",1512:"d8decaee2c780e1b5e35",1521:"7b505112c7e6d9b7a239",1550:"34b6b5dd415c68f0b0d1",1666:"8b046e28f879079caada",1695:"2f8b173d1dac73ba0d9e",1698:"52175ff9e8c2c136f90a",1728:"d897412b99b9fba44bb4",1733:"67ec1694d6e18b7c234c",1763:"601e44839fd46e449aa8",1775:"fce2306a1b31c6680f90",1787:"40d251b6b42a41d68bd2",1812:"47b3a5213539548ff3a6",1822:"27f67a3828b78d4c1413",1837:"3a8320a40916c755c031",1843:"dcb7a3ff59677b1cf0f1",1878:"4c54cb80c4dc9bbbd395",1882:"b1a21a4d7d73ad7d0e47",1894:"de6b3f80070abdd61d0f",1918:"24646a1176ce34039155",1948:"e9c5c295b6bf10e942a4",1951:"6124141ac642e4ce1454",1956:"6e526c06825ecc6c99c0",1965:"384c235d36f32769e32b",2013:"abdf146b35e179b5b245",2031:"77769663cd712822d33e",2042:"6f7aaba26773fe416ac2",2045:"1ab66600579fa4232d7b",2059:"5cffc7b49966201eccdb",2158:"359d3acb3953e64e5a78",2174:"b73c146d3e550eaf07eb",2186:"c45a5bcf26659daf02a1",2188:"e9a42f0262fc44a79d4b",2245:"fc6ca7ffb9f1b875059c",2246:"9f51a69b8f1937a8794a",2260:"3efbb684c0409955186d",2261:"80f4f686ce403cb2693f",2288:"1a35121a0c2595a41fdb",2293:"c9461568e1002ebac534",2314:"bf2c202dec5ab7bc770b",2343:"2b3a8a53cd68f666676b",2372:"7cb0681cc6a5e956cb15",2390:"d51c41c1944df0cbab3e",2409:"f890cfa4932955ecd4e7",2423:"2b2283f1ee4bfc1baa18",2465:"a242ec19a7508de436da",2491:"d82da31dc702b8fd6a07",2558:"2d956dacb26d71d1c174",2649:"7160e3e7340beb7fdb42",2655:"fae147d03ed723ab234d",2733:"ce4dfc3a470230ddc9e4",2741:"701b823763e941b71f4f",2764:"cc62e5095e328bed3e01",2772:"4c73c2f4331351e2a50c",2869:"1961b59756933e0a82f2",2942:"6f67c9f68101a084b683",2958:"9802770413ad814dab29",2980:"3087910d19959fdc546b",2990:"c31ee5617c61a933cb0e",2997:"3dd5d481ae6c5d9dfa08",3053:"db3c484bfa607dec6050",3090:"4e206957b28253ddc1a3",3103:"6ee956d5a92ca905f53f",3116:"e66b9d00d02fc08cbb2d",3166:"0539b5d015157c1d34a0",3276:"4a23b27bfbcfa08fd9a7",3290:"54c6e870262469d0d702",3299:"dd6efa0afe879bd11a2e",3300:"0c074c46d106ca4d3bad",3304:"0fa207c68dfd7ddee160",3356:"fcf51697c361e0075cc2",3359:"413d2fa54508e6f42c74",3383:"bae8f2a5dfe0cfbc0688",3390:"9c11e1fe785e1385fdb1",3456:"dc54d4a9fe1691862356",3500:"427dec43ef2d67467699",3543:"48acd146bf0241d87647",3561:"851fc5290497991ba001",3586:"af8bc56cf1404afc3028",3636:"bc8a74da48b08309875f",3661:"1f53620f82cc7c3daabe",3666:"53817ef8c00d8cce4b8e",3693:"f43d628d47eec7d530c7",3708:"19fcc74d34cbbaa56a41",3813:"4605a68e40c5c3ac6e3e",3846:"728ad5bbbcbf88d6249f",3902:"9ea23cd4b2664c08b670",3910:"38c28189f273636e4017",3931:"a320998f18922a35899f",3937:"86161025b53b916328ff",3969:"2c916b93d8a6e6b9c0d7",4038:"4e676e888a935c507d90",4050:"02e8fc598ee09cf1b678",4063:"2a2e97918524e0f436d7",4066:"5cc38ac051d3d0557920",4097:"7601278ebced0c0c31cf",4167:"1d54b71c43d9d6a5f713",4168:"a015c2f54eb91e43a1f4",4259:"a28124bba6b43efd74cc",4273:"f1673e723b336204ad77",4314:"c961aff385e38b081204",4342:"2a3145a595d19391bb8a",4383:"9c6d34bb666f630d511f",4401:"b23e677c33db6f9bac8a",4422:"49e8144effc299dfcd66",4447:"f52443cd203e687551da",4460:"8af9a78cf316581ea482",4560:"13a8346abe5509167578",4575:"18f77ee3552d92962f15",4579:"53750e85f3128993a43a",4594:"c19e3f6027b6526de359",4642:"1765dfeac20e34ce25b7",4674:"455d08294e0f5c5509ff",4690:"f563dd6cace047108b3c",4703:"4d0f793dee4ad919221b",4744:"dcc719e15b2e0cce1f3b",4794:"618106f5fbdf88ef2278",4795:"aac6a57edd7494125204",4800:"41a95ad470ec42ecd5a2",4849:"9482a6d7baa24bbf5693",4906:"ded2f19a1685db2137f4",4935:"146424b5717d0a645ee1",4996:"b811d62284be95f4beb6",5011:"1f16bc8c02d8c4b2f693",5013:"afc0baf86ece710ef867",5020:"9a5ef33d99a8f89956ff",5090:"127cd8fee3717a473fc5",5098:"b14c4c3f295970f731ab",5141:"3c9482764c9e4f8bcbb0",5151:"f468c6ea2818a1f97e19",5165:"969f58a2de4ebe63619d",5217:"c9065cee85eb8dde6a42",5220:"5ef37f37e405b3bb5450",5243:"b2983f521d8c96becd8a",5354:"04ea806b933d4dd41609",5367:"df8a3d3cac454d42e14d",5404:"64e268ebac0b62076f81",5408:"004af103a94d21cb4889",5458:"61fada8942b65fa0b5e1",5474:"577cbc131b21c351fae5",5482:"9be4438ce2c7180adadf",5601:"bb5f909a2f26fc6a21b0",5611:"e18badd11f360cc2912b",5613:"c49c078be08c38a6088d",5647:"713ab619060bd5087479",5680:"edbdee69440dbfc05644",5740:"d598d08dbf2796742e8c",5750:"72f8f4cfa0842d325fb0",5752:"97719271a3e4c9f2b2c9",5756:"1f6b7626f333809837ef",5804:"0c13591347d51d684561",5828:"ee057c85cdf6beb5b012",5841:"ffcd4fca7f67e1f943f1",5856:"be1d2c3a61e6447fbbc7",5902:"7b8466f892a38a53c600",5977:"d9c3f14eee4db7a7137b",6027:"c1189316d24fb4cdb2a0",6033:"ef0085aa743b33cb549f",6042:"312036c89a6a09bb06c2",6052:"e4e0c5a45cf32973d5d5",6061:"493a0981e90a5799fb5b",6122:"1ede8666d804c553803e",6129:"0d9d33f29124d464a4cb",6154:"ac84e5b5d010c235fe6f",6160:"bb3ab2453ccde2f2611c",6187:"2ecb21c402cdd8c82533",6231:"9639b1dd27ccc17ee21e",6233:"65ac73de5bb133c6bf89",6247:"452c01cecbbd1e370098",6276:"55fd201ca5e10c6e4761",6312:"6a3d207308b29651f397",6333:"a844547bf33a8527ee9f",6343:"91f9e0e3662d4bf9f163",6408:"a96c7432ca97cbeef4b8",6491:"eaab5ac049622986e3bc",6554:"d0983cc19d19c19c3478",6558:"34f79355145c8e4c59dd",6569:"2fd4220131bfc3f5e2dd",6606:"1768f1a7e3caa6074d91",6650:"f7531aa69a87814c60d1",6661:"b9e163f4a898e50cc854",6671:"915e2711d3a2cfa402b2",6684:"af762422a65c551dcd54",6708:"ce7ef7c4ca14d66d96f6",6765:"f0250cecb243b32cdba7",6859:"3be111488365768fd917",6861:"7c820c5f6f05480d5050",6936:"702e8468836863abd81b",6956:"16a767cc5f3e2e0e49c2",6960:"852f4cd514008fee5a55",7005:"95d82c619dcbec2e1050",7016:"5fccb372b4d5ee2f64cc",7033:"4c97cc922eece3a91b6b",7087:"e0b47b08ae2c36c76fa2",7125:"5166f204fd078dced5db",7217:"a7f9f478bd1493fc3c76",7229:"1bad4331a43169f3cc34",7269:"d11de13537b623739e14",7273:"1f85646936200a399c15",7301:"e7402dfd683f82878360",7316:"edee616b6f1b5be8fd39",7367:"6c35583707f5c339ee99",7373:"3e2953ea62817e75d840",7433:"f05932aea4eb267cba4d",7444:"13838b6c045425e73cf8",7464:"47656ec12401e53f4bd3",7546:"f50bba74ae72c07e131a",7548:"56717ff315c6ec874142",7561:"d3c760109a70a71448c5",7598:"186bfde8c552e3b42302",7609:"5c7ba4b8a9ec2e2e02b5",7632:"612873df0c8659ac2aa5",7634:"f9fe3c9867b0bdb2aec6",7694:"cf7acf5acb6d322fd996",7705:"2387613b855771a3e537",7733:"7601408e242dca1d25bd",7772:"56941e8bbd2d49bf2656",7835:"804c31973f7d116523cb",7865:"58c79e15ca95238a4b43",7883:"29878b52aa12b3815230",7891:"f53805c7a84203305b2c",7982:"d8de7fe49dba9ed589df",7984:"6d696beddcc5fbed5875",7987:"61c523dd9d8027922465",7990:"aa6808146c76b2d49b64",7992:"7b6c8be59ed87e386aa4",8010:"39d71e83261bff46f6bf",8018:"8f6833671c071b522923",8050:"b50a42a9f96515beb929",8125:"4301cb9670fa7c907460",8189:"ac5999c88c27b49cd760",8251:"4dbbf59c79d9e72f20ee",8278:"7cadfd7444a2a05cf2fb",8303:"60cee9a44929decd2474",8340:"bec3ee5ea945e1e07a35",8377:"f60292d97bcdbf19165b",8399:"0d2bc1be5802681666a4",8414:"9103eb0b9078019d3a26",8449:"01bd1b86ba899c6aa4c0",8457:"399fcea09dfb1ad6deaa",8575:"3ea5a18b264628dc37f0",8589:"c8ef80a7c46d7d2c5172",8628:"716a4d7e8b908b81870b",8635:"a169d9fe66b5865911d9",8679:"f6c8e93ca2987e83f925",8692:"1e3fe89970c57a883fe5",8714:"0d6afba80d2f8dcb5cf7",8812:"88c3b60b403e2454b56e",8815:"040884cec4b84dd1bb17",8846:"475409026288f0981ce2",8872:"d3b086eb9aa8c7d09048",8883:"d05a7ce6c1d4b883ed4c",8885:"ea97619a4470f1540b99",8902:"66fe1634c6e8f72fc653",9013:"e0b27bceb397482bd0e8",9028:"9bd713d96502ddc2ce25",9062:"5eb9fdb076488de9cd83",9078:"bf4dd8e50704e4040966",9126:"b1c6a1759febad66927f",9134:"02ed969786ab24ca8d96",9159:"e785f76c1a75cb1d1e1f",9169:"b7af0e6b9aadbcaf6a0b",9186:"17445fd8048966617d49",9187:"8351012ceb466f01b8fd",9192:"2ce845c990bb4d701362",9235:"bcb021a167580bb1619f",9239:"74d9dd484b9bc4dc7e3d",9279:"a25acccda8febac71a3d",9285:"8d738e9acc2f222235ea",9301:"d4465fd3319d0b6a26cc",9321:"4b24f72b56edc28bb15e",9438:"cf826787ab8d4b27ad80",9466:"bfe9c8ab35d9bf7e1035",9506:"5abe34bb0110694f7b42",9544:"85e65ced3312bf9cf162",9588:"c319c3b85cdec73a9f45",9598:"65c61171e6c6be5c5c2f",9616:"bb2f6b0fcdfb8b158e26",9650:"ff57a071156d8a7e47be",9657:"d3d9d40556c847bba1a7",9695:"f1e5626a0cc1631a1efb",9696:"1f54ed4a5238ba1a2551",9748:"e645f992ec6f935ee3a5",9790:"6dac8dfcd63fc757ae2d",9794:"cd7159600ce132e32d04",9835:"8a3bff0f58483c1665f9",9838:"17acbf40e7c1cb42d9bd",9933:"ce66c551b7083913eee5",9953:"e0fcb5fa0e9f21fde2b6",9958:"8ab39731775b0867a512",9981:"9c402657f63a4d5668d0"}[e]+".js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var a=n.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=n[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={76:1};r.f.i=(t,n)=>{e[t]||importScripts(r.p+r.u(t))};var t=self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[],n=t.push.bind(t);t.push=t=>{var[a,o,s]=t;for(var c in o)r.o(o,c)&&(r.m[c]=o[c]);for(s&&s(r);a.length;)e[a.pop()]=1;n(t)}})(),r(66358);var n=r(61322);RemoteClient=n})();
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[926,7229],{69540(e,t,i){i.d(t,{OU:()=>d,Pw:()=>h});var s=i(5482),n=i(69622),r=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(64108);const u=Symbol("ClonableMixin"),d=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 d=this[t];let h=null;if("function"==typeof u)h=u(d,e);else if("reference"===u)h=d;else if(h=(0,r.TU)(d,e),null!=d&&null==h)continue;0===a?l.set(t,h):n[t]=h}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},h=d(n.A)},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,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){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._clients.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._clients.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._clients.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._clients.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._clients.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._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){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._clients.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._clients.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.id="",this.name="",this.size=0,this._storage=new n(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},67482(e,t,i){function s(e){return null!=a(e)||null!=o(e)}function n(e){return l.test(e)}function r(e){return a(e)??o(e)}function o(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let i=!0;if(d&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,s=0;for(;!t&&s<=e.length;)t=!u.test(e[s]),s++;i=!t}}return i}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function a(e){const t=l.exec(e);if(!t?.groups)return null;const i=t.groups,s=+i.year,n=+i.month-1,r=+i.day,o=+(i.hours??"0"),a=+(i.minutes??"0"),u=+(i.seconds??"0");if(o>23)return null;if(a>59)return null;if(u>59)return null;const d=i.ms??"0",h=d?+d.padEnd(3,"0").slice(0,3):0;let c;if(i.isUTC||!i.offsetSign)c=Date.UTC(s,n,r,o,a,u,h);else{const e=+i.offsetHours,t=+i.offsetMinutes;c=6e4*("+"===i.offsetSign?-1:1)*(60*e+t)+Date.UTC(s,n,r,o,a,u,h)}return Number.isNaN(c)?null:c}i.d(t,{Br:()=>n,Cq:()=>s,_U:()=>r});const l=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,u=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,d=!Number.isNaN(new Date("technology 10").getTime())},75503(e,t,i){i.d(t,{wq:()=>a});var s=i(4576),n=i(21818),r=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=c,this._compareMinY=f,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),I.prune(),S.prune(),v.prune(),B.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data;const s=this._toBBox;if(b(e,i))for(I.clear();i;){for(let n=0,r=i.children.length;n<r;n++){const r=i.children[n],o=i.leaf?s(r):r;b(e,o)&&(i.leaf?t(r):_(e,o)?l(r,t):I.push(r))}i=I.pop()}}collides(e){let t=this._data;const i=this._toBBox;if(!b(e,t))return!1;for(I.clear();t;){for(let s=0,n=t.children.length;s<n;s++){const n=t.children[s],r=t.leaf?i(n):n;if(b(e,r)){if(t.leaf||_(e,r))return!0;I.push(n)}}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 A([]),this}remove(e){if(!e)return this;let t,i=this._data,r=null,o=0,a=!1;const l=this._toBBox(e);for(v.clear(),B.clear();i||v.length>0;){if(i||(i=v.pop(),r=v.data[v.length-1],o=B.pop()??0,a=!0),i.leaf&&(t=(0,s.qh)(i.children,(0,n.z)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),v.push(i),this._condense(v),this;a||i.leaf||!_(i,l)?r?(o++,i=r.children[o],a=!1):i=null:(v.push(i),B.push(o),o=0,r=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,s){const n=i-t+1;let r=this._maxEntries;if(n<=r){const s=new A(e.slice(t,i+1));return u(s,this._toBBox),s}s||(s=Math.ceil(Math.log(n)/Math.log(r)),r=Math.ceil(n/r**(s-1)));const o=new z([]);o.height=s;const a=Math.ceil(n/r),l=a*Math.ceil(Math.sqrt(r));x(e,t,i,l,this._compareMinX);for(let n=t;n<=i;n+=l){const t=Math.min(n+l-1,i);x(e,n,t,a,this._compareMinY);for(let i=n;i<=t;i+=a){const n=Math.min(i+a-1,t);o.children.push(this._build(e,i,n,s-1))}}return u(o,this._toBBox),o}_insert(e,t,i){const s=this._toBBox,n=i?e:s(e);v.clear();const r=function(e,t,i,s){for(;s.push(t),!0!==t.leaf&&s.length-1!==i;){let i,s=1/0,n=1/0;for(let r=0,o=t.children.length;r<o;r++){const o=t.children[r],a=m(o),l=y(e,o)-a;l<n?(n=l,s=a<s?a:s,i=o):l===n&&a<s&&(s=a,i=o)}t=i||t.children[0]}return t}(n,this._data,t,v);for(r.children.push(e),h(r,n);t>=0&&v.data[t].children.length>this._maxEntries;)this._split(v,t),t--;!function(e,t,i){for(let s=i;s>=0;s--)h(t.data[s],e)}(n,v,t)}_split(e,t){const i=e.data[t],s=i.children.length,n=this._minEntries;this._chooseSplitAxis(i,n,s);const r=this._chooseSplitIndex(i,n,s);if(!r)return;const o=i.children.splice(r,i.children.length-r),a=i.leaf?new A(o):new z(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new z([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let s,n,r;s=n=1/0;for(let o=t;o<=i-t;o++){const t=d(e,0,o,this._toBBox),a=d(e,o,i,this._toBBox),l=g(t,a),u=m(t)+m(a);l<s?(s=l,r=o,n=u<n?u:n):l===s&&u<n&&(n=u,r=o)}return r}_chooseSplitAxis(e,t,i){const s=e.leaf?this._compareMinX:c,n=e.leaf?this._compareMinY:f;this._allDistMargin(e,t,i,s)<this._allDistMargin(e,t,i,n)&&e.children.sort(s)}_allDistMargin(e,t,i,s){e.children.sort(s);const n=this._toBBox,r=d(e,0,t,n),o=d(e,i-t,i,n);let a=p(r)+p(o);for(let s=t;s<i-t;s++){const t=e.children[s];h(r,e.leaf?n(t):t),a+=p(r)}for(let s=i-t-1;s>=t;s--){const t=e.children[s];h(o,e.leaf?n(t):t),a+=p(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const i=e.data[t];if(0===i.children.length)if(t>0){const n=e.data[t-1],r=n.children;r.splice((0,s.qh)(r,i,r.length,n.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(S.clear();i;){if(!0===i.leaf)for(const e of i.children)t((0,n.z)(e));else S.pushArray(i.children);i=S.pop()??null}}function u(e,t){d(e,0,e.children.length,t,e)}function d(e,t,i,s,n){n||(n=new A([])),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let r,o=t;o<i;o++)r=e.children[o],h(n,e.leaf?s(r):r);return n}function h(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function c(e,t){return e.minX-t.minX}function f(e,t){return e.minY-t.minY}function m(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function p(e){return e.maxX-e.minX+(e.maxY-e.minY)}function y(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function g(e,t){const i=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),n=Math.min(e.maxX,t.maxX),r=Math.min(e.maxY,t.maxY);return Math.max(0,n-i)*Math.max(0,r-s)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function b(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,i,s,n){const r=[t,i];for(;r.length;){const t=r.pop(),i=r.pop();if(t-i<=s)continue;const a=i+Math.ceil((t-i)/s/2)*s;(0,o.q)(e,a,i,t,n),r.push(i,a,a,t)}}const I=new r.A,S=new r.A,v=new r.A,B=new r.A({deallocator:void 0});class M{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class F extends M{constructor(){super(...arguments),this.height=1,this.indexHint=new s.vW}}class A extends F{constructor(e){super(),this.children=e,this.leaf=!0}}class z extends F{constructor(e){super(),this.children=e,this.leaf=!1}}},36708(e,t,i){i.d(t,{C_:()=>c,OH:()=>p,Vh:()=>y,on:()=>h,pc:()=>g,wB:()=>l,z7:()=>u});var s=i(37955),n=i(36563),r=i(97768),o=i(17676),a=i(14012);function l(e,t,i={}){return d(e,t,i,f)}function u(e,t,i={}){return d(e,t,i,m)}function d(e,t,i={},s){let n=null;const o=i.once?(e,i)=>{s(e)&&((0,r.xt)(n),t(e,i))}:(e,i)=>{s(e)&&t(e,i)};if(n=(0,a.Cn)(e,o,i.sync,i.equals),i.initial){const t=e();o(t,t)}return n}function h(e,t,i,o={}){let a=null,u=null,d=null;function h(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function c(e){o.once&&o.once&&(0,r.xt)(d),i(e)}const f=l(e,(e,i)=>{h(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return d=(0,n.hA)(()=>{f.remove(),h()}),d}function c(e,t){return function(e,t,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function l(){a=(0,r.xt)(a)}return new Promise((s,r)=>{a=(0,n.vE)([(0,o.u7)(i,()=>{l(),r((0,o.NK)())}),d(e,e=>{l(),s(e)},{sync:!1,once:!0},t??f)])})}(e,m,t)}function f(e){return!0}function m(e){return!!e}i(80559);const p={sync:!0},y={initial:!0},g={sync:!0,initial:!0}},60408(e,t,i){function s(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function n(e){return void 0!==e.points}function r(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?r(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":n(e)?"esriGeometryMultipoint":null:null}function d(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>d,Rg:()=>o,U9:()=>n,W0:()=>h,ZC:()=>s,fT:()=>r,uW:()=>l})},65864(e,t,i){i.d(t,{rS:()=>d,xD:()=>c});var s=i(5443),n=i(91075),r=i(48526),o=i(86738),a=i(39829),l=i(82799),u=i(60408);function d(e){return null==e?null:e instanceof n.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?r.A.fromJSON(e):(0,u.ZC)(e)?s.A.fromJSON(e):null}const h={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:r.A,esriGeometryMultiPatch:a.A};function c(e){return e&&h[e]||null}},6518(e,t,i){i.d(t,{F:()=>a});var s=i(44208),n=i(75503),r=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.wq(9,(0,s.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((i,s)=>{e[t++]=s}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,r.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(e,t,i){i.d(t,{A:()=>m});var s=i(4576),n=i(49186),r=i(65529),o=i(53966),a=i(70328),l=i(19419),u=i(90708),d=i(6518),h=i(51441),c=i(37730);const f=(0,a.vt)();class m{constructor(e){this.geometryInfo=e,this._boundsStore=new d.F,this._featuresById=new Map,this._usedMemory=0,this.events=new r.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,s,n]=this.fullBounds;return{xmin:t,ymin:i,xmax:s,ymax:n,spatialReference:(0,h.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(s.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const i of e){const e=this._boundsStore.get(i.objectId);e&&t((0,a.Jt)(f,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const i=this._featuresById.get(t);let s;if(i?(e.displayId=i.displayId,s=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);s=(0,u.jQ)(null!=s?s:(0,l.vt)(),e.geometry),null!=s&&this._boundsStore.set(t,s),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;const{geometry:s,attributes:r}=e;for(const e in r)i.attributes[e]=r[e];return s&&(i.geometry=s,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),s)??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}}},37730(e,t,i){i.d(t,{T:()=>n});var s=i(43334);const n={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,i)=>new s.Om(t,e.attributes,null,e.objectId,e.displayId,e.distance),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)}},33032(e,t,i){i.d(t,{H:()=>n,L:()=>s});const s=1;function n(e,t){let i=0;for(const s of t){const t=s.attributes?.[e];"number"==typeof t&&isFinite(t)&&(i=Math.max(i,t))}return i}},29432(e,t,i){i.r(t),i.d(t,{default:()=>v});var s=i(49186),n=i(60408),r=i(21325),o=i(90708),a=i(33032),l=i(83221),u=i(31464),d=i(75752),h=i(64714),c=i(82832),f=i(95466),m=i(98453),p=i(30524),y=i(98623);const g=r.KK,_={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:r.KK},b={hasAttachments:!1,capabilities:"query, editing, create, delete, update",useStandardizedQueries:!0,supportsCoordinatesQuantization:!0,supportsReturningQueryGeometry:!0,advancedQueryCapabilities:{supportsQueryAttachments:!1,supportsQueryAttachmentsCountOnly:!1,supportsQueryAttachmentOrderByFields:!1,supportsQueryAttachmentWithTypeWildcard:!1,supportsQueryBins:!0,supportsQueryPivot:!1,supportsSpatialAggregationStatistics:!0,supportedSpatialAggregationStatistics:["EnvelopeAggregate","CentroidAggregate","ConvexHullAggregate"],supportsStatistics:!0,supportsPercentileStatistics:!0,supportsReturningGeometryCentroid:!0,supportsQueryWithDistance:!0,supportsDistinct:!0,supportsReturningQueryExtent:!0,supportsReturningGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQueryWithResultType:!0,supportsSqlExpression:!0,supportsDisjointSpatialRel:!0,supportsQueryWithCacheHint:!0},queryBinsCapabilities:c.PC};function x(e){return(0,n.fT)(e)?null!=e.z:!!e.hasZ}function I(e){return(0,n.fT)(e)?null!=e.m:!!e.hasM}function S(e,t){let i;const s=[];if("unique-id-composite"===t.type){const n=[];for(const i of t.fieldNames)e.attributes[i]?n.push(e.attributes[i]):s.push(i);i=0===s.length?JSON.stringify(n):null}else i=e.attributes[t.fieldName],i||s.push(t.fieldName);return{objectId:i,missingFields:s}}class v{constructor(){this._uniqueIdInfo=null,this._queryEngine=null,this._nextObjectId=null}destroy(){this._queryEngine?.destroy(),this._queryEngine=this._createDefaultAttributes=null}async load(e){const t=[],{features:i}=e,n=this._inferLayerProperties(i,e.fields),r=e.fields||[],o=null!=e.hasM?e.hasM:!!n.hasM,c=null!=e.hasZ?e.hasZ:!!n.hasZ,x=!e.spatialReference&&!n.spatialReference,I=x?g:e.spatialReference||n.spatialReference,S=x?_:null,v=e.geometryType||n.geometryType,B=!v,M=e.uniqueIdInfo;let F=e.objectIdField??n.objectIdField,A=e.timeInfo;const z=new f.A(r);if(!B&&(x&&t.push({name:"feature-layer:spatial-reference-not-found",message:"Spatial reference not provided or found in features. Defaults to WGS84"}),!v))throw new s.A("feature-layer:missing-property","geometryType not set and couldn't be inferred from the provided features");if(M){const e=new Set(r.map(({name:e})=>e));if(!M.fields.every(t=>e.has(t))){const t=M.fields.filter(t=>!e.has(t));throw new s.A("feature-layer:missing-property","UniqueIdFields not set and couldn't be found in the provided fields. Fields: "+t+" are mssing.")}F=null}else if(!F)throw new s.A("feature-layer:missing-property","objectIdField not set and uniqueIdInfo not provided.");if(n.objectIdField&&F!==n.objectIdField&&(t.push({name:"feature-layer:duplicated-oid-field",message:`Provided objectIdField "${F}" doesn't match the field name "${n.objectIdField}", found in the provided fields`}),F=n.objectIdField),F&&!n.objectIdField){const e=z.get(F);e?(F=e.name,e.type="esriFieldTypeOID",e.editable=!1,e.nullable=!1):r.unshift({alias:F,name:F,type:"esriFieldTypeOID",editable:!1,nullable:!1})}for(const e of r){if(null==e.name&&(e.name=e.alias),null==e.alias&&(e.alias=e.name),!e.name)throw new s.A("feature-layer:invalid-field-name","field name is missing",{field:e});if(e.name===F&&(e.type="esriFieldTypeOID"),!m.m.jsonValues.includes(e.type))throw new s.A("feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e});null==e.length&&(e.length=(0,p._b)(e))}const T={};for(const e of r)if("esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type){const t=(0,p.lD)(e);void 0!==t&&(T[e.name]=t)}if(A){if(A.startTimeField){const e=z.get(A.startTimeField);e?(A.startTimeField=e.name,e.type="esriFieldTypeDate"):A.startTimeField=null}if(A.endTimeField){const e=z.get(A.endTimeField);e?(A.endTimeField=e.name,e.type="esriFieldTypeDate"):A.endTimeField=null}if(A.trackIdField){const e=z.get(A.trackIdField);e?A.trackIdField=e.name:(A.trackIdField=null,t.push({name:"feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:A}}))}A.startTimeField||A.endTimeField||(t.push({name:"feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing or invalid",details:{timeInfo:A}}),A=null)}const w=z.dateFields.length?{timeZoneIANA:e.dateFieldsTimeZone??y.n$}:null;this._createDefaultAttributes=(0,h.Vx)(T,F),this._uniqueIdInfo=e.uniqueIdInfo??void 0;const E={warnings:t,featureErrors:[],layerDefinition:{...b,drawingInfo:(0,h.F0)(v),templates:(0,h.e2)(T),extent:S,geometryType:v,objectIdField:F,fields:r,hasZ:c,hasM:o,timeInfo:A,dateFieldsTimeReference:w,uniqueIdInfo:this._uniqueIdInfo??void 0},assignedObjectIds:{}},R=this._uniqueIdInfo?.OIDFieldContainsHashValue?"simple"===this._uniqueIdInfo.type?{type:"unique-id-simple",fieldName:this._uniqueIdInfo.fields[0]}:{type:"unique-id-composite",fieldNames:this._uniqueIdInfo.fields}:{type:"object-id",fieldName:F};if(this._queryEngine=new d.do({fieldsIndex:f.A.fromLayerJSON({fields:r,timeInfo:A,dateFieldsTimeReference:w}),geometryType:v,hasM:o,hasZ:c,featureIdInfo:R,spatialReference:I,featureStore:new l.A({geometryType:v,hasM:o,hasZ:c}),timeInfo:A}),!i?.length)return this._nextObjectId=a.L,E;if(F){const e=(0,a.H)(F,i);this._nextObjectId=e+1}return await(0,u.Nk)(i,I),this._loadInitialFeatures(E,i)}async applyEdits(e){const{spatialReference:t,geometryType:i}=this._queryEngine;return await Promise.all([(0,c.$1)(t,i),(0,u.Nk)(e.adds,t),(0,u.Nk)(e.updates,t)]),this._applyEdits(e)}queryFeatures(e,t={}){return this._queryEngine.executeQuery(e,t.signal)}queryFeatureCount(e,t={}){return this._queryEngine.executeQueryForCount(e,t.signal)}queryObjectIds(e,t={}){return this._queryEngine.executeQueryForIds(e,t.signal)}queryExtent(e,t={}){return this._queryEngine.executeQueryForExtent(e,t.signal)}querySnapping(e,t={}){return this._queryEngine.executeQueryForSnapping(e,t.signal)}queryAttributeBins(e,t={}){return this._queryEngine.executeAttributeBinsQuery(e,t.signal)}_inferLayerProperties(e,t){let i,s,r=null,o=null,a=null;for(const t of e){const e=t.geometry;if(null!=e&&(r||(r=(0,n.$B)(e)),o||(o=e.spatialReference),null==i&&(i=x(e)),null==s&&(s=I(e)),r&&o&&null!=i&&null!=s))break}if(t&&t.length){let e=null;t.some(t=>{const i="esriFieldTypeOID"===t.type,s=!t.type&&t.name&&"objectid"===t.name.toLowerCase();return e=t,i||s})&&(a=e.name)}return{geometryType:r,spatialReference:o,objectIdField:a,hasM:s,hasZ:i}}async _loadInitialFeatures(e,t){const{geometryType:i,hasM:s,hasZ:r,spatialReference:a,featureStore:l,fieldsIndex:d,featureIdInfo:h}=this._queryEngine,f=[];for(const s of t){if(null!=s.uid&&(e.assignedObjectIds[s.uid]=-1),s.geometry&&i!==(0,n.$B)(s.geometry)){e.featureErrors.push((0,c.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),r=(0,c.MB)(d,t,s.attributes,!0);r?e.featureErrors.push(r):(this._assignObjectId(t,s.attributes,!0),s.attributes=t,s.uid&&(e.assignedObjectIds[s.uid]=S(s,h).objectId),null!=s.geometry&&(s.geometry=(0,u.Cv)(s.geometry,s.geometry.spatialReference,a)),f.push(s))}l.addMany((0,o.Di)([],f,i,r,s,h));const{fullExtent:m,timeExtent:p}=await this._queryEngine.fetchRecomputedExtents();if(e.layerDefinition.extent=m,p){const{start:t,end:i}=p;e.layerDefinition.timeInfo.timeExtent=[t,i]}return e}async _applyEdits(e){const{adds:t,updates:i,deletes:s}=e,n={addResults:[],deleteResults:[],updateResults:[],uidToObjectId:{}};if(t?.length&&this._applyAddEdits(n,t),i?.length&&this._applyUpdateEdits(n,i),s?.length){for(const e of s)n.deleteResults.push((0,c.bP)(e));this._queryEngine.featureStore.removeManyById(s)}const{fullExtent:r,timeExtent:o}=await this._queryEngine.fetchRecomputedExtents();return{extent:r,timeExtent:o,featureEditResults:n}}_applyAddEdits(e,t){const{addResults:i,updateResults:s}=e,{geometryType:r,hasM:a,hasZ:l,spatialReference:d,featureStore:h,featureIdInfo:f,fieldsIndex:m}=this._queryEngine,p=[];for(const y of t){if(y.geometry&&r!==(0,n.$B)(y.geometry)){i.push((0,c.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),g=(0,c.MB)(m,t,y.attributes);if(g){i.push(g);continue}this._assignObjectId(t,y.attributes),y.attributes=t;const{objectId:_,missingFields:b}=S(y,f);if(_){if(null!=y.uid&&(e.uidToObjectId[y.uid]=_),null!=y.geometry){const e=y.geometry.spatialReference??d;y.geometry=(0,u.Cv)((0,c.CR)(y.geometry,e),e,d)}p.push(y);const t=(0,c.bP)(_);h.has(_)?s.push(t):i.push(t),h.addMany((0,o.Di)([],p,r,l,a,f))}else i.push((0,c.Yx)(`Missing unique id field value for fields: ${b.join()}`))}}_applyUpdateEdits({updateResults:e},t){const{geometryType:i,hasM:s,hasZ:r,spatialReference:a,featureStore:l,fieldsIndex:d,featureIdInfo:h}=this._queryEngine;for(const f of t){const{attributes:t,geometry:m}=f,{objectId:p,missingFields:y}=S(f,h);if(null==p){const t="unique-id-composite"===h.type?y:h.fieldName;e.push((0,c.Yx)(`Identifier fields: ${t} missing`));continue}if(!l.has(p)){e.push((0,c.Yx)(`Feature with object id ${p} missing`));continue}const g=(0,o.oN)(l.getFeature(p),i,r,s);if(null!=m){if(i!==(0,n.$B)(m)){e.push((0,c.Yx)("Incorrect geometry type."));continue}const t=m.spatialReference??a;g.geometry=(0,u.Cv)((0,c.CR)(m,t),t,a)}if(t){const i=(0,c.MB)(d,g.attributes,t);if(i){e.push(i);continue}}l.add((0,o.E2)(g,i,r,s,h)),e.push((0,c.bP)(p))}}_assignObjectId(e,t,i=!1){if("object-id"===this._queryEngine.featureIdInfo.type){const s=this._queryEngine.featureIdInfo.fieldName;i&&t&&isFinite(t[s])?e[s]=t[s]:e[s]=this._nextObjectId++}}}},64714(e,t,i){i.d(t,{F0:()=>a,Vx:()=>d,e2:()=>c,f:()=>f});var s=i(44208),n=i(4718),r=i(99352),o=i(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function d(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>t?{[t]:null,...e}:{...e};try{let i="";t&&(i+=`this${h(t)} = null;`);for(const t in e)i+=`this${h(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${i};\n }\n }\n `)();return()=>new s}catch(i){return()=>t?{[t]:null,...e}:{...e}}}function h(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,n.o8)(e)}}]}function f(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:r.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:r.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},82832(e,t,i){i.d(t,{$1:()=>y,CR:()=>p,MB:()=>c,PC:()=>g,Yx:()=>l,bP:()=>d});var s=i(67482),n=i(21325),r=i(30524);class o{constructor(e){this.description=e,this.code=null}}class a{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new o(e)}}function l(e){return new a(e)}class u{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function d(e){return new u(e)}const h=new Set;function c(e,t,i,s=!1){h.clear();for(const n in i){const o=e.get(n);if(!o)continue;const a=f(o,i[n]);if(h.add(o.name),o&&(s||o.editable)){const e=(0,r.CJ)(o,a);if(e)return l((0,r.uo)(e,o,a));t[o.name]=a}}for(const t of e.requiredFields??[])if(!h.has(t.name))return l(`missing required field "${t.name}"`);return null}function f(e,t){let i=t;return(0,r.WA)(e)&&"string"==typeof t?i=parseFloat(t):(0,r.yM)(e)&&null!=t&&"string"!=typeof t?i=String(t):(0,r.vE)(e)&&"string"==typeof t&&(i=(0,s._U)(t)),(0,r.WX)(i)}let m;function p(e,t){if(!e||!(0,n.fn)(t))return e;if("rings"in e||"paths"in e){if(null==m)throw new TypeError("geometry engine not loaded");return m.simplify(t,e)}return e}async function y(e,t){!(0,n.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await async function(){return null==m&&(m=await i.e(1023).then(i.bind(i,81023))),m}()}const g={supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}},98453(e,t,i){i.d(t,{m:()=>s});const s=new(i(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},2272(e,t,i){i.d(t,{Dl:()=>u,gf:()=>h,jV:()=>l,lF:()=>d});var s=i(92602),n=i(70333),r=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,r.o8)(e)}function d(e,t,i){const s={};for(const n in e){if("declaredClass"===n)continue;const r=e[n];if(null!=r&&"function"!=typeof r)if(Array.isArray(r))s[n]=r.map(e=>d(e));else if("object"==typeof r)if(r.toJSON){const e=r.toJSON(i?.[n]);s[n]=t?e:JSON.stringify(e)}else s[n]=t?r:JSON.stringify(r);else s[n]=r}return s}async function h(e,t,r){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??n.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!n.id&&s.A.request.useIdentity&&await Promise.all([i.e(7632),i.e(1936),i.e(148)]).then(i.bind(i,50148));const l=await n.id.getCredential(e,r);return l?.token}},926(e,t,i){i.d(t,{Dd:()=>c,Jn:()=>f,Qc:()=>m,getApiKey:()=>d,getSessionToken:()=>h});var s=i(92602),n=i(11254),r=i(84952);const o=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),l=new Map;let u=null;function d(e){if(!m(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),i=s.A.apiKeys;if(Array.isArray(i.scopes))for(const e of i.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return i.basemapStyles&&o.test(e)?i.basemapStyles:s.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?s.A.apiKey:null}async function h(e){if(!s.A.sessions?.basemap?.enabled||!o.test(e))return null;const t=d(e);if(!t)return null;u&&await u;const{styleFamily:i="arcgis",autoRefresh:r,duration:a=43200}=s.A.sessions.basemap,h=`${t}:${i}`,c=l.get(h);if(c&&(!r||c.endTime>Date.now()))return c.sessionToken;let f;u=(0,n.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:a,styleFamily:i,token:t}});try{f=(await u).data,f.endTime-=5e3,l.set(h,f)}finally{u=null}return f.sessionToken}function c(){return null!=s.A.apiKey||null!=s.A.apiKeys.basemapStyles}function f(e,t){return t?m(e):null!=d(e)}function m(e){const t=(0,r.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},93470(e,t,i){i.d(t,{Cb:()=>r,HW:()=>d,JR:()=>n,JZ:()=>l,WR:()=>a,b6:()=>h,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},d={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},h={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[926,7229],{69540(e,t,i){i.d(t,{OU:()=>d,Pw:()=>h});var s=i(5482),n=i(69622),r=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(64108);const u=Symbol("ClonableMixin"),d=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 d=this[t];let h=null;if("function"==typeof u)h=u(d,e);else if("reference"===u)h=d;else if(h=(0,r.TU)(d,e),null!=d&&null==h)continue;0===a?l.set(t,h):n[t]=h}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},h=d(n.A)},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,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){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._clients.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._clients.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._clients.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._clients.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._clients.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._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){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._clients.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._clients.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.id="",this.name="",this.size=0,this._storage=new n(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},67482(e,t,i){function s(e){return null!=a(e)||null!=o(e)}function n(e){return l.test(e)}function r(e){return a(e)??o(e)}function o(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let i=!0;if(d&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,s=0;for(;!t&&s<=e.length;)t=!u.test(e[s]),s++;i=!t}}return i}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function a(e){const t=l.exec(e);if(!t?.groups)return null;const i=t.groups,s=+i.year,n=+i.month-1,r=+i.day,o=+(i.hours??"0"),a=+(i.minutes??"0"),u=+(i.seconds??"0");if(o>23)return null;if(a>59)return null;if(u>59)return null;const d=i.ms??"0",h=d?+d.padEnd(3,"0").slice(0,3):0;let c;if(i.isUTC||!i.offsetSign)c=Date.UTC(s,n,r,o,a,u,h);else{const e=+i.offsetHours,t=+i.offsetMinutes;c=6e4*("+"===i.offsetSign?-1:1)*(60*e+t)+Date.UTC(s,n,r,o,a,u,h)}return Number.isNaN(c)?null:c}i.d(t,{Br:()=>n,Cq:()=>s,_U:()=>r});const l=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,u=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,d=!Number.isNaN(new Date("technology 10").getTime())},75503(e,t,i){i.d(t,{wq:()=>a});var s=i(4576),n=i(21818),r=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=c,this._compareMinY=f,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),I.prune(),S.prune(),v.prune(),B.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data;const s=this._toBBox;if(b(e,i))for(I.clear();i;){for(let n=0,r=i.children.length;n<r;n++){const r=i.children[n],o=i.leaf?s(r):r;b(e,o)&&(i.leaf?t(r):_(e,o)?l(r,t):I.push(r))}i=I.pop()}}collides(e){let t=this._data;const i=this._toBBox;if(!b(e,t))return!1;for(I.clear();t;){for(let s=0,n=t.children.length;s<n;s++){const n=t.children[s],r=t.leaf?i(n):n;if(b(e,r)){if(t.leaf||_(e,r))return!0;I.push(n)}}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 A([]),this}remove(e){if(!e)return this;let t,i=this._data,r=null,o=0,a=!1;const l=this._toBBox(e);for(v.clear(),B.clear();i||v.length>0;){if(i||(i=v.pop(),r=v.data[v.length-1],o=B.pop()??0,a=!0),i.leaf&&(t=(0,s.qh)(i.children,(0,n.z)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),v.push(i),this._condense(v),this;a||i.leaf||!_(i,l)?r?(o++,i=r.children[o],a=!1):i=null:(v.push(i),B.push(o),o=0,r=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,s){const n=i-t+1;let r=this._maxEntries;if(n<=r){const s=new A(e.slice(t,i+1));return u(s,this._toBBox),s}s||(s=Math.ceil(Math.log(n)/Math.log(r)),r=Math.ceil(n/r**(s-1)));const o=new z([]);o.height=s;const a=Math.ceil(n/r),l=a*Math.ceil(Math.sqrt(r));x(e,t,i,l,this._compareMinX);for(let n=t;n<=i;n+=l){const t=Math.min(n+l-1,i);x(e,n,t,a,this._compareMinY);for(let i=n;i<=t;i+=a){const n=Math.min(i+a-1,t);o.children.push(this._build(e,i,n,s-1))}}return u(o,this._toBBox),o}_insert(e,t,i){const s=this._toBBox,n=i?e:s(e);v.clear();const r=function(e,t,i,s){for(;s.push(t),!0!==t.leaf&&s.length-1!==i;){let i,s=1/0,n=1/0;for(let r=0,o=t.children.length;r<o;r++){const o=t.children[r],a=m(o),l=y(e,o)-a;l<n?(n=l,s=a<s?a:s,i=o):l===n&&a<s&&(s=a,i=o)}t=i||t.children[0]}return t}(n,this._data,t,v);for(r.children.push(e),h(r,n);t>=0&&v.data[t].children.length>this._maxEntries;)this._split(v,t),t--;!function(e,t,i){for(let s=i;s>=0;s--)h(t.data[s],e)}(n,v,t)}_split(e,t){const i=e.data[t],s=i.children.length,n=this._minEntries;this._chooseSplitAxis(i,n,s);const r=this._chooseSplitIndex(i,n,s);if(!r)return;const o=i.children.splice(r,i.children.length-r),a=i.leaf?new A(o):new z(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new z([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let s,n,r;s=n=1/0;for(let o=t;o<=i-t;o++){const t=d(e,0,o,this._toBBox),a=d(e,o,i,this._toBBox),l=g(t,a),u=m(t)+m(a);l<s?(s=l,r=o,n=u<n?u:n):l===s&&u<n&&(n=u,r=o)}return r}_chooseSplitAxis(e,t,i){const s=e.leaf?this._compareMinX:c,n=e.leaf?this._compareMinY:f;this._allDistMargin(e,t,i,s)<this._allDistMargin(e,t,i,n)&&e.children.sort(s)}_allDistMargin(e,t,i,s){e.children.sort(s);const n=this._toBBox,r=d(e,0,t,n),o=d(e,i-t,i,n);let a=p(r)+p(o);for(let s=t;s<i-t;s++){const t=e.children[s];h(r,e.leaf?n(t):t),a+=p(r)}for(let s=i-t-1;s>=t;s--){const t=e.children[s];h(o,e.leaf?n(t):t),a+=p(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const i=e.data[t];if(0===i.children.length)if(t>0){const n=e.data[t-1],r=n.children;r.splice((0,s.qh)(r,i,r.length,n.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(S.clear();i;){if(!0===i.leaf)for(const e of i.children)t((0,n.z)(e));else S.pushArray(i.children);i=S.pop()??null}}function u(e,t){d(e,0,e.children.length,t,e)}function d(e,t,i,s,n){n||(n=new A([])),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let r,o=t;o<i;o++)r=e.children[o],h(n,e.leaf?s(r):r);return n}function h(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function c(e,t){return e.minX-t.minX}function f(e,t){return e.minY-t.minY}function m(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function p(e){return e.maxX-e.minX+(e.maxY-e.minY)}function y(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function g(e,t){const i=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),n=Math.min(e.maxX,t.maxX),r=Math.min(e.maxY,t.maxY);return Math.max(0,n-i)*Math.max(0,r-s)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function b(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,i,s,n){const r=[t,i];for(;r.length;){const t=r.pop(),i=r.pop();if(t-i<=s)continue;const a=i+Math.ceil((t-i)/s/2)*s;(0,o.q)(e,a,i,t,n),r.push(i,a,a,t)}}const I=new r.A,S=new r.A,v=new r.A,B=new r.A({deallocator:void 0});class M{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class F extends M{constructor(){super(...arguments),this.height=1,this.indexHint=new s.vW}}class A extends F{constructor(e){super(),this.children=e,this.leaf=!0}}class z extends F{constructor(e){super(),this.children=e,this.leaf=!1}}},36708(e,t,i){i.d(t,{C_:()=>c,OH:()=>p,Vh:()=>y,on:()=>h,pc:()=>g,wB:()=>l,z7:()=>u});var s=i(37955),n=i(36563),r=i(97768),o=i(17676),a=i(14012);function l(e,t,i={}){return d(e,t,i,f)}function u(e,t,i={}){return d(e,t,i,m)}function d(e,t,i={},s){let n=null;const o=i.once?(e,i)=>{s(e)&&((0,r.xt)(n),t(e,i))}:(e,i)=>{s(e)&&t(e,i)};if(n=(0,a.Cn)(e,o,i.sync,i.equals),i.initial){const t=e();o(t,t)}return n}function h(e,t,i,o={}){let a=null,u=null,d=null;function h(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function c(e){o.once&&o.once&&(0,r.xt)(d),i(e)}const f=l(e,(e,i)=>{h(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return d=(0,n.hA)(()=>{f.remove(),h()}),d}function c(e,t){return function(e,t,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function l(){a=(0,r.xt)(a)}return new Promise((s,r)=>{a=(0,n.vE)([(0,o.u7)(i,()=>{l(),r((0,o.NK)())}),d(e,e=>{l(),s(e)},{sync:!1,once:!0},t??f)])})}(e,m,t)}function f(e){return!0}function m(e){return!!e}i(80559);const p={sync:!0},y={initial:!0},g={sync:!0,initial:!0}},60408(e,t,i){function s(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function n(e){return void 0!==e.points}function r(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?r(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":n(e)?"esriGeometryMultipoint":null:null}function d(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>d,Rg:()=>o,U9:()=>n,W0:()=>h,ZC:()=>s,fT:()=>r,uW:()=>l})},65864(e,t,i){i.d(t,{rS:()=>d,xD:()=>c});var s=i(5443),n=i(91075),r=i(48526),o=i(86738),a=i(39829),l=i(82799),u=i(60408);function d(e){return null==e?null:e instanceof n.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?r.A.fromJSON(e):(0,u.ZC)(e)?s.A.fromJSON(e):null}const h={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:r.A,esriGeometryMultiPatch:a.A};function c(e){return e&&h[e]||null}},6518(e,t,i){i.d(t,{F:()=>a});var s=i(44208),n=i(75503),r=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.wq(9,(0,s.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((i,s)=>{e[t++]=s}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,r.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(e,t,i){i.d(t,{A:()=>m});var s=i(4576),n=i(49186),r=i(65529),o=i(53966),a=i(70328),l=i(19419),u=i(90708),d=i(6518),h=i(51441),c=i(37730);const f=(0,a.vt)();class m{constructor(e){this.geometryInfo=e,this._boundsStore=new d.F,this._featuresById=new Map,this._usedMemory=0,this.events=new r.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,s,n]=this.fullBounds;return{xmin:t,ymin:i,xmax:s,ymax:n,spatialReference:(0,h.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(s.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const i of e){const e=this._boundsStore.get(i.objectId);e&&t((0,a.Jt)(f,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const i=this._featuresById.get(t);let s;if(i?(e.displayId=i.displayId,s=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);s=(0,u.jQ)(null!=s?s:(0,l.vt)(),e.geometry),null!=s&&this._boundsStore.set(t,s),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new n.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;const{geometry:s,attributes:r}=e;for(const e in r)i.attributes[e]=r[e];return s&&(i.geometry=s,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),s)??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}}},37730(e,t,i){i.d(t,{T:()=>n});var s=i(43334);const n={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,i)=>new s.Om(t,e.attributes,null,e.objectId,e.displayId,e.distance),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)}},33032(e,t,i){i.d(t,{H:()=>n,L:()=>s});const s=1;function n(e,t){let i=0;for(const s of t){const t=s.attributes?.[e];"number"==typeof t&&isFinite(t)&&(i=Math.max(i,t))}return i}},29432(e,t,i){i.r(t),i.d(t,{default:()=>v});var s=i(49186),n=i(60408),r=i(21325),o=i(90708),a=i(33032),l=i(83221),u=i(31464),d=i(75752),h=i(64714),c=i(82832),f=i(95466),m=i(98453),p=i(30524),y=i(98623);const g=r.KK,_={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:r.KK},b={hasAttachments:!1,capabilities:"query, editing, create, delete, update",useStandardizedQueries:!0,supportsCoordinatesQuantization:!0,supportsReturningQueryGeometry:!0,advancedQueryCapabilities:{supportsQueryAttachments:!1,supportsQueryAttachmentsCountOnly:!1,supportsQueryAttachmentOrderByFields:!1,supportsQueryAttachmentWithTypeWildcard:!1,supportsQueryBins:!0,supportsQueryPivot:!1,supportsSpatialAggregationStatistics:!0,supportedSpatialAggregationStatistics:["EnvelopeAggregate","CentroidAggregate","ConvexHullAggregate"],supportsStatistics:!0,supportsPercentileStatistics:!0,supportsReturningGeometryCentroid:!0,supportsQueryWithDistance:!0,supportsDistinct:!0,supportsReturningQueryExtent:!0,supportsReturningGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQueryWithResultType:!0,supportsSqlExpression:!0,supportsDisjointSpatialRel:!0,supportsQueryWithCacheHint:!0},queryBinsCapabilities:c.PC};function x(e){return(0,n.fT)(e)?null!=e.z:!!e.hasZ}function I(e){return(0,n.fT)(e)?null!=e.m:!!e.hasM}function S(e,t){let i;const s=[];if("unique-id-composite"===t.type){const n=[];for(const i of t.fieldNames)e.attributes[i]?n.push(e.attributes[i]):s.push(i);i=0===s.length?JSON.stringify(n):null}else i=e.attributes[t.fieldName],i||s.push(t.fieldName);return{objectId:i,missingFields:s}}class v{constructor(){this._uniqueIdInfo=null,this._queryEngine=null,this._nextObjectId=null}destroy(){this._queryEngine?.destroy(),this._queryEngine=this._createDefaultAttributes=null}async load(e){const t=[],{features:i}=e,n=this._inferLayerProperties(i,e.fields),r=e.fields||[],o=null!=e.hasM?e.hasM:!!n.hasM,c=null!=e.hasZ?e.hasZ:!!n.hasZ,x=!e.spatialReference&&!n.spatialReference,I=x?g:e.spatialReference||n.spatialReference,S=x?_:null,v=e.geometryType||n.geometryType,B=!v,M=e.uniqueIdInfo;let F=e.objectIdField??n.objectIdField,A=e.timeInfo;const z=new f.A(r);if(!B&&(x&&t.push({name:"feature-layer:spatial-reference-not-found",message:"Spatial reference not provided or found in features. Defaults to WGS84"}),!v))throw new s.A("feature-layer:missing-property","geometryType not set and couldn't be inferred from the provided features");if(M){const e=new Set(r.map(({name:e})=>e));if(!M.fields.every(t=>e.has(t))){const t=M.fields.filter(t=>!e.has(t));throw new s.A("feature-layer:missing-property","UniqueIdFields not set and couldn't be found in the provided fields. Fields: "+t+" are mssing.")}F=null}else if(!F)throw new s.A("feature-layer:missing-property","objectIdField not set and uniqueIdInfo not provided.");if(n.objectIdField&&F!==n.objectIdField&&(t.push({name:"feature-layer:duplicated-oid-field",message:`Provided objectIdField "${F}" doesn't match the field name "${n.objectIdField}", found in the provided fields`}),F=n.objectIdField),F&&!n.objectIdField){const e=z.get(F);e?(F=e.name,e.type="esriFieldTypeOID",e.editable=!1,e.nullable=!1):r.unshift({alias:F,name:F,type:"esriFieldTypeOID",editable:!1,nullable:!1})}for(const e of r){if(null==e.name&&(e.name=e.alias),null==e.alias&&(e.alias=e.name),!e.name)throw new s.A("feature-layer:invalid-field-name","field name is missing",{field:e});if(e.name===F&&(e.type="esriFieldTypeOID"),!m.m.jsonValues.includes(e.type))throw new s.A("feature-layer:invalid-field-type",`invalid type for field "${e.name}"`,{field:e});null==e.length&&(e.length=(0,p._b)(e))}const T={};for(const e of r)if("esriFieldTypeOID"!==e.type&&"esriFieldTypeGlobalID"!==e.type){const t=(0,p.lD)(e);void 0!==t&&(T[e.name]=t)}if(A){if(A.startTimeField){const e=z.get(A.startTimeField);e?(A.startTimeField=e.name,e.type="esriFieldTypeDate"):A.startTimeField=null}if(A.endTimeField){const e=z.get(A.endTimeField);e?(A.endTimeField=e.name,e.type="esriFieldTypeDate"):A.endTimeField=null}if(A.trackIdField){const e=z.get(A.trackIdField);e?A.trackIdField=e.name:(A.trackIdField=null,t.push({name:"feature-layer:invalid-timeInfo-trackIdField",message:"trackIdField is missing",details:{timeInfo:A}}))}A.startTimeField||A.endTimeField||(t.push({name:"feature-layer:invalid-timeInfo",message:"startTimeField and endTimeField are missing or invalid",details:{timeInfo:A}}),A=null)}const w=z.dateFields.length?{timeZoneIANA:e.dateFieldsTimeZone??y.n$}:null;this._createDefaultAttributes=(0,h.Vx)(T,F),this._uniqueIdInfo=e.uniqueIdInfo??void 0;const E={warnings:t,featureErrors:[],layerDefinition:{...b,drawingInfo:(0,h.F0)(v),templates:(0,h.e2)(T),extent:S,geometryType:v,objectIdField:F,fields:r,hasZ:c,hasM:o,timeInfo:A,dateFieldsTimeReference:w,uniqueIdInfo:this._uniqueIdInfo??void 0},assignedObjectIds:{}},R=this._uniqueIdInfo?.OIDFieldContainsHashValue?"simple"===this._uniqueIdInfo.type?{type:"unique-id-simple",fieldName:this._uniqueIdInfo.fields[0]}:{type:"unique-id-composite",fieldNames:this._uniqueIdInfo.fields}:{type:"object-id",fieldName:F};if(this._queryEngine=new d.do({fieldsIndex:f.A.fromLayerJSON({fields:r,timeInfo:A,dateFieldsTimeReference:w}),geometryType:v,hasM:o,hasZ:c,featureIdInfo:R,spatialReference:I,featureStore:new l.A({geometryType:v,hasM:o,hasZ:c}),timeInfo:A}),!i?.length)return this._nextObjectId=a.L,E;if(F){const e=(0,a.H)(F,i);this._nextObjectId=e+1}return await(0,u.Nk)(i,I),this._loadInitialFeatures(E,i)}async applyEdits(e){const{spatialReference:t,geometryType:i}=this._queryEngine;return await Promise.all([(0,c.$1)(t,i),(0,u.Nk)(e.adds,t),(0,u.Nk)(e.updates,t)]),this._applyEdits(e)}queryFeatures(e,t={}){return this._queryEngine.executeQuery(e,t.signal)}queryFeatureCount(e,t={}){return this._queryEngine.executeQueryForCount(e,t.signal)}queryObjectIds(e,t={}){return this._queryEngine.executeQueryForIds(e,t.signal)}queryExtent(e,t={}){return this._queryEngine.executeQueryForExtent(e,t.signal)}querySnapping(e,t={}){return this._queryEngine.executeQueryForSnapping(e,t.signal)}queryAttributeBins(e,t={}){return this._queryEngine.executeAttributeBinsQuery(e,t.signal)}_inferLayerProperties(e,t){let i,s,r=null,o=null,a=null;for(const t of e){const e=t.geometry;if(null!=e&&(r||(r=(0,n.$B)(e)),o||(o=e.spatialReference),null==i&&(i=x(e)),null==s&&(s=I(e)),r&&o&&null!=i&&null!=s))break}if(t&&t.length){let e=null;t.some(t=>{const i="esriFieldTypeOID"===t.type,s=!t.type&&t.name&&"objectid"===t.name.toLowerCase();return e=t,i||s})&&(a=e.name)}return{geometryType:r,spatialReference:o,objectIdField:a,hasM:s,hasZ:i}}async _loadInitialFeatures(e,t){const{geometryType:i,hasM:s,hasZ:r,spatialReference:a,featureStore:l,fieldsIndex:d,featureIdInfo:h}=this._queryEngine,f=[];for(const s of t){if(null!=s.uid&&(e.assignedObjectIds[s.uid]=-1),s.geometry&&i!==(0,n.$B)(s.geometry)){e.featureErrors.push((0,c.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),r=(0,c.MB)(d,t,s.attributes,!0);r?e.featureErrors.push(r):(this._assignObjectId(t,s.attributes,!0),s.attributes=t,s.uid&&(e.assignedObjectIds[s.uid]=S(s,h).objectId),null!=s.geometry&&(s.geometry=(0,u.Cv)(s.geometry,s.geometry.spatialReference,a)),f.push(s))}l.addMany((0,o.Di)([],f,i,r,s,h));const{fullExtent:m,timeExtent:p}=await this._queryEngine.fetchRecomputedExtents();if(e.layerDefinition.extent=m,p){const{start:t,end:i}=p;e.layerDefinition.timeInfo.timeExtent=[t,i]}return e}async _applyEdits(e){const{adds:t,updates:i,deletes:s}=e,n={addResults:[],deleteResults:[],updateResults:[],uidToObjectId:{}};if(t?.length&&this._applyAddEdits(n,t),i?.length&&this._applyUpdateEdits(n,i),s?.length){for(const e of s)n.deleteResults.push((0,c.bP)(e));this._queryEngine.featureStore.removeManyById(s)}const{fullExtent:r,timeExtent:o}=await this._queryEngine.fetchRecomputedExtents();return{extent:r,timeExtent:o,featureEditResults:n}}_applyAddEdits(e,t){const{addResults:i,updateResults:s}=e,{geometryType:r,hasM:a,hasZ:l,spatialReference:d,featureStore:h,featureIdInfo:f,fieldsIndex:m}=this._queryEngine,p=[];for(const y of t){if(y.geometry&&r!==(0,n.$B)(y.geometry)){i.push((0,c.Yx)("Incorrect geometry type."));continue}const t=this._createDefaultAttributes(),g=(0,c.MB)(m,t,y.attributes);if(g){i.push(g);continue}this._assignObjectId(t,y.attributes),y.attributes=t;const{objectId:_,missingFields:b}=S(y,f);if(_){if(null!=y.uid&&(e.uidToObjectId[y.uid]=_),null!=y.geometry){const e=y.geometry.spatialReference??d;y.geometry=(0,u.Cv)((0,c.CR)(y.geometry,e),e,d)}p.push(y);const t=(0,c.bP)(_);h.has(_)?s.push(t):i.push(t),h.addMany((0,o.Di)([],p,r,l,a,f))}else i.push((0,c.Yx)(`Missing unique id field value for fields: ${b.join()}`))}}_applyUpdateEdits({updateResults:e},t){const{geometryType:i,hasM:s,hasZ:r,spatialReference:a,featureStore:l,fieldsIndex:d,featureIdInfo:h}=this._queryEngine;for(const f of t){const{attributes:t,geometry:m}=f,{objectId:p,missingFields:y}=S(f,h);if(null==p){const t="unique-id-composite"===h.type?y:h.fieldName;e.push((0,c.Yx)(`Identifier fields: ${t} missing`));continue}if(!l.has(p)){e.push((0,c.Yx)(`Feature with object id ${p} missing`));continue}const g=(0,o.oN)(l.getFeature(p),i,r,s);if(null!=m){if(i!==(0,n.$B)(m)){e.push((0,c.Yx)("Incorrect geometry type."));continue}const t=m.spatialReference??a;g.geometry=(0,u.Cv)((0,c.CR)(m,t),t,a)}if(t){const i=(0,c.MB)(d,g.attributes,t);if(i){e.push(i);continue}}l.add((0,o.E2)(g,i,r,s,h)),e.push((0,c.bP)(p))}}_assignObjectId(e,t,i=!1){if("object-id"===this._queryEngine.featureIdInfo.type){const s=this._queryEngine.featureIdInfo.fieldName;i&&t&&isFinite(t[s])?e[s]=t[s]:e[s]=this._nextObjectId++}}}},64714(e,t,i){i.d(t,{F0:()=>a,Vx:()=>d,e2:()=>c,f:()=>f});var s=i(44208),n=i(4718),r=i(99352),o=i(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function d(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>t?{[t]:null,...e}:{...e};try{let i="";t&&(i+=`this${h(t)} = null;`);for(const t in e)i+=`this${h(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${i};\n }\n }\n `)();return()=>new s}catch(i){return()=>t?{[t]:null,...e}:{...e}}}function h(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,n.o8)(e)}}]}function f(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:r.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:r.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},82832(e,t,i){i.d(t,{$1:()=>y,CR:()=>p,MB:()=>c,PC:()=>g,Yx:()=>l,bP:()=>d});var s=i(67482),n=i(21325),r=i(30524);class o{constructor(e){this.description=e,this.code=null}}class a{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new o(e)}}function l(e){return new a(e)}class u{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function d(e){return new u(e)}const h=new Set;function c(e,t,i,s=!1){h.clear();for(const n in i){const o=e.get(n);if(!o)continue;const a=f(o,i[n]);if(h.add(o.name),o&&(s||o.editable)){const e=(0,r.CJ)(o,a);if(e)return l((0,r.uo)(e,o,a));t[o.name]=a}}for(const t of e.requiredFields??[])if(!h.has(t.name))return l(`missing required field "${t.name}"`);return null}function f(e,t){let i=t;return(0,r.WA)(e)&&"string"==typeof t?i=parseFloat(t):(0,r.yM)(e)&&null!=t&&"string"!=typeof t?i=String(t):(0,r.vE)(e)&&"string"==typeof t&&(i=(0,s._U)(t)),(0,r.WX)(i)}let m;function p(e,t){if(!e||!(0,n.fn)(t))return e;if("rings"in e||"paths"in e){if(null==m)throw new TypeError("geometry engine not loaded");return m.simplify(t,e)}return e}async function y(e,t){!(0,n.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await async function(){return null==m&&(m=await i.e(1023).then(i.bind(i,81023))),m}()}const g={supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}},98453(e,t,i){i.d(t,{m:()=>s});const s=new(i(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},2272(e,t,i){i.d(t,{Dl:()=>u,gf:()=>h,jV:()=>l,lF:()=>d});var s=i(92602),n=i(70333),r=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,r.o8)(e)}function d(e,t,i){const s={};for(const n in e){if("declaredClass"===n)continue;const r=e[n];if(null!=r&&"function"!=typeof r)if(Array.isArray(r))s[n]=r.map(e=>d(e));else if("object"==typeof r)if(r.toJSON){const e=r.toJSON(i?.[n]);s[n]=t?e:JSON.stringify(e)}else s[n]=t?r:JSON.stringify(r);else s[n]=r}return s}async function h(e,t,r){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??n.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!n.id&&s.A.request.useIdentity&&await Promise.all([i.e(7632),i.e(6333),i.e(148)]).then(i.bind(i,50148));const l=await n.id.getCredential(e,r);return l?.token}},926(e,t,i){i.d(t,{Dd:()=>c,Jn:()=>f,Qc:()=>m,getApiKey:()=>d,getSessionToken:()=>h});var s=i(92602),n=i(11254),r=i(84952);const o=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),l=new Map;let u=null;function d(e){if(!m(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),i=s.A.apiKeys;if(Array.isArray(i.scopes))for(const e of i.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return i.basemapStyles&&o.test(e)?i.basemapStyles:s.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?s.A.apiKey:null}async function h(e){if(!s.A.sessions?.basemap?.enabled||!o.test(e))return null;const t=d(e);if(!t)return null;u&&await u;const{styleFamily:i="arcgis",autoRefresh:r,duration:a=43200}=s.A.sessions.basemap,h=`${t}:${i}`,c=l.get(h);if(c&&(!r||c.endTime>Date.now()))return c.sessionToken;let f;u=(0,n.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:a,styleFamily:i,token:t}});try{f=(await u).data,f.endTime-=5e3,l.set(h,f)}finally{u=null}return f.sessionToken}function c(){return null!=s.A.apiKey||null!=s.A.apiKeys.basemapStyles}function f(e,t){return t?m(e):null!=d(e)}function m(e){const t=(0,r.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},93470(e,t,i){i.d(t,{Cb:()=>r,HW:()=>d,JR:()=>n,JZ:()=>l,WR:()=>a,b6:()=>h,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},d={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},h={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1822],{53700(e,t,n){n.d(t,{a:()=>y,b:()=>c,c:()=>u,d:()=>m,g:()=>g,l:()=>i});var l=n(57990);const a="calciteInternalLabelClick",i="calciteInternalLabelConnected",c="calciteInternalLabelDisconnected",s="calcite-label",o=new WeakMap,r=new WeakMap,d=new WeakMap,b=new WeakMap,h=new Set;function u(e){if(!e)return;const t=(e=>{const{id:t}=e,n=t&&(0,l.q)(e,{selector:`${s}[for="${t}"]`});if(n)return n;const a=(0,l.c)(e,s);return!a||function(e,t){let n;const l="custom-element-ancestor-check",a=l=>{l.stopImmediatePropagation();const a=l.composedPath();n=a.slice(a.indexOf(t),a.indexOf(e))};return e.addEventListener(l,a,{once:!0}),t.dispatchEvent(new CustomEvent(l,{composed:!0,bubbles:!0})),e.removeEventListener(l,a),n.filter(n=>n!==t&&n!==e).filter(e=>e.tagName?.includes("-")).length>0}(a,e)?null:a})(e.el);if(r.has(t)&&t===e.labelEl||!t&&h.has(e))return;const n=E.bind(e);if(t){e.labelEl=t;const l=o.get(t)||[];l.push(e),o.set(t,l.sort(f)),r.has(e.labelEl)||(r.set(e.labelEl,p),e.labelEl.addEventListener(a,p)),h.delete(e),document.removeEventListener(i,d.get(e)),b.set(e,n),document.addEventListener(c,n)}else h.has(e)||(n(),document.removeEventListener(c,b.get(e)))}function m(e){if(!e)return;if(h.delete(e),document.removeEventListener(i,d.get(e)),document.removeEventListener(c,b.get(e)),d.delete(e),b.delete(e),!e.labelEl)return;const t=o.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(a,r.get(e.labelEl)),r.delete(e.labelEl)),o.set(e.labelEl,t.filter(t=>t!==e).sort(f)),e.labelEl=null}function f(e,t){return(0,l.p)(e.el,t.el)?-1:1}function g(e){return e.label||e.labelEl?.textContent?.trim()||""}function p(e){const t=e.detail.sourceEvent.target,n=o.get(this),l=n.find(e=>e.el===t);if(n.includes(l))return;const a=n[0];a.disabled||a.onLabelClick(e)}function v(){h.has(this)&&u(this)}function E(){h.add(this);const e=d.get(this)||v.bind(this);d.set(this,e),document.addEventListener(i,e)}async function y(e){if(await e.componentOnReady(),o.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame(()=>{for(const e of h)if(e.el===t){u(e);break}})}},81822(e,t,n){n.r(t),n.d(t,{Label:()=>r});var l=n(64282),a=n(41276),i=n(19470),c=n(64083),s=n(53700);const o=a.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=block]) .container,:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class r extends i.WF{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=(0,c.c)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{},{reflect:!0}],for:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=o}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(s.l))}willUpdate(e){e.has("for")&&(0,s.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(s.b))}labelClickHandler(e){"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return a.qy`<div class=${(0,i.CP)("container")}><slot></slot></div>`}}(0,l.c)("calcite-label",r)}}]);