@arcgis/core 5.2.0-next.101 → 5.2.0-next.102

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 (239) hide show
  1. package/applications/Components/graphicOriginUtils.d.ts +17 -0
  2. package/applications/Components/graphicOriginUtils.js +2 -0
  3. package/arcgisGlobal.d.ts +1 -0
  4. package/assets/esri/core/workers/RemoteClient.js +1 -1
  5. package/assets/esri/core/workers/chunks/01fb22542820b7a8b848.js +1 -0
  6. package/assets/esri/core/workers/chunks/{4d13c1a04788e5222678.js → 03601be8b0763f82e88f.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{6e804bd6bb4b0ee44fa9.js → 045ff98313b06a2188b7.js} +1 -1
  8. package/assets/esri/core/workers/chunks/05584d8828ae7bca0fc5.js +1 -0
  9. package/assets/esri/core/workers/chunks/{eb222dc01344ed07719e.js → 056af594a1ef87066187.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{e1682e94cc714197ebb4.js → 05731c8bc8f63b388d72.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{32aa1529e84b839d051d.js → 058d4c927486a361e633.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{2524e2385f61a6898411.js → 06e7411c5bed0a414031.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{de95dee8db92cf8f796f.js → 09a40fd0e462144c4640.js} +1 -1
  14. package/assets/esri/core/workers/chunks/0bd067a5c0bac96caeb5.js +1 -0
  15. package/assets/esri/core/workers/chunks/0bff8d589312be6588fe.js +1 -0
  16. package/assets/esri/core/workers/chunks/{4237a29c4ed5f86a15c2.js → 0c63d953f2dd1d5cc03d.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{09cd91e56c856db6e01a.js → 0c74cf91b6b5292d32b8.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{e934ef66d130c212c05b.js → 0cdaba3ed074c06e225f.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{6aaefd61505027267c9b.js → 0d69a18146722f792b5b.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{900dad076347443b3ad9.js → 0de90b1ad8118457fd5a.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{c0e073a77484b0dfd383.js → 0e1a067ab243900d0371.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{33041e50ea02d99480b0.js → 0ee6109e6578395a7900.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{8da08198c29acaabda6e.js → 0f1d5faddf8ef752470b.js} +1 -1
  24. package/assets/esri/core/workers/chunks/0f86c8a67c87f840fd39.js +1 -0
  25. package/assets/esri/core/workers/chunks/{6134a2c6983792787184.js → 0ff13f7a18b0123d253e.js} +1 -1
  26. package/assets/esri/core/workers/chunks/10fa8fbade8ae084c307.js +1 -0
  27. package/assets/esri/core/workers/chunks/1559213657665c053f8e.js +1 -0
  28. package/assets/esri/core/workers/chunks/{9c7fc1c97125ea2a7b7e.js → 164c604c1b2f728f32f2.js} +1 -1
  29. package/assets/esri/core/workers/chunks/19ac6f4664f97fb3821c.js +1 -0
  30. package/assets/esri/core/workers/chunks/{fd4d124c5bf810d9e352.js → 1a2f51d795b803d969c9.js} +1 -1
  31. package/assets/esri/core/workers/chunks/1eafb214519d8fc63ccb.js +1 -0
  32. package/assets/esri/core/workers/chunks/2165493d36c85b7c9a04.js +1 -0
  33. package/assets/esri/core/workers/chunks/{52422500ca3d6cf2e596.js → 2256036d5b91fa537805.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{ad2b2214496e5a07db43.js → 2350f1eb70819cc06bb6.js} +1 -1
  35. package/assets/esri/core/workers/chunks/240bee7d0dc5e5dab826.js +1 -0
  36. package/assets/esri/core/workers/chunks/{822a5020afbca21df7f7.js → 25c5e1b14b184b1228a3.js} +1 -1
  37. package/assets/esri/core/workers/chunks/25c90092def215949db9.js +1 -0
  38. package/assets/esri/core/workers/chunks/{dd99bad9f91b0b62ba7c.js → 2a8168e109caa87d596f.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{39254fdc41aaf61f23b0.js → 2b06e8507d71c4d9b5b5.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{839feb913d1b6138fc78.js → 2b11e15bfa319dd32218.js} +1 -1
  41. package/assets/esri/core/workers/chunks/2d52386d69c218e29887.js +1 -0
  42. package/assets/esri/core/workers/chunks/{dda269a088275c823b40.js → 307297e025eed110095f.js} +1 -1
  43. package/assets/esri/core/workers/chunks/{05eb064f9b543890ae24.js → 33ba86b80426ddc88186.js} +1 -1
  44. package/assets/esri/core/workers/chunks/349e9f3d3e3267d02988.js +1 -0
  45. package/assets/esri/core/workers/chunks/{79088d5c9c2e6a780929.js → 34e04b24942da2b9b87c.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{d7659d2b2aea0dd1202d.js → 3847d6f83c8ba7863c01.js} +122 -112
  47. package/assets/esri/core/workers/chunks/3be33a129d3ae7dc4f06.js +1 -0
  48. package/assets/esri/core/workers/chunks/3daddcb106a7009c5a70.js +1 -0
  49. package/assets/esri/core/workers/chunks/{eae51e827f629ab37207.js → 3de6e54b6ed0feae1940.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{9fe1db0762ab3326eab4.js → 3f5094828fbae7844117.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{e02f02040b63d9c2e654.js → 3fb3b9fd06f78ee5cee6.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{26e33c28028bf33936fc.js → 43436c7ccc6baefc885d.js} +1 -1
  53. package/assets/esri/core/workers/chunks/434c5b54e89ace974cbd.js +29 -0
  54. package/assets/esri/core/workers/chunks/472f3b80e1f26e09114a.js +1 -0
  55. package/assets/esri/core/workers/chunks/{dd8d19eb6b8e955c8067.js → 477136b747e02312abc4.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{278e4d885ab03a51ef72.js → 47866b0b8604bf05c5ba.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{b0ba081533100b021090.js → 48a53bfeef11c32dadcc.js} +1 -1
  58. package/assets/esri/core/workers/chunks/4a73f73f1698fad2df20.js +1 -0
  59. package/assets/esri/core/workers/chunks/4b0e3f83a5f2d3b0478a.js +1 -0
  60. package/assets/esri/core/workers/chunks/{4fbf4390c7eb0e11e3c9.js → 4b80c84fbd3d8dd90ca6.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{a78781f79d828fc678a3.js → 4ba2276751083589570a.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{20feca2fdd304b3e9664.js → 4c9df8ae9238454969b8.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{0ffb5a1275d07dcd9115.js → 4c9e9925c02db48fa177.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{60b1af54e7fc20fd9588.js → 546213fb53fa921a3928.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{f6aa10a709017ac815a7.js → 547a073c789fdfb78310.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{93c1d1e7c0935242071e.js → 54bb3678570ca032f051.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{53a6bfebf3904dd7cad9.js → 55e40d3b460bacd200e6.js} +1 -1
  68. package/assets/esri/core/workers/chunks/567fb6a9b72bb232306d.js +1 -0
  69. package/assets/esri/core/workers/chunks/571cf99c3eab8e517542.js +1 -0
  70. package/assets/esri/core/workers/chunks/{abdcc224c8a8c72c86c4.js → 572d45353d74dcda1f09.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{5bb8d9d887dd4211afd2.js → 573e8fa0af8711ffec45.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{486f1a3b7269ce6c3911.js → 58528ccb7f72ae76d52b.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{8599d2f2eb0fbb4a8bf5.js → 5c7f6721b37a4355e97a.js} +1 -1
  74. package/assets/esri/core/workers/chunks/{a10188c4d1904965898a.js → 5e1699d361d237bf0937.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{aa7cb1531da1ccae8492.js → 5eb726317b6602f1e206.js} +1 -1
  76. package/assets/esri/core/workers/chunks/{42b5533f94ebcdc4befe.js → 5ed56ade84a0bea4a0c8.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{bb8089929ded0613d8e7.js → 6010799e05d239073de0.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{1de1cc0ed0f169a58aff.js → 60ad12fb732d529a4018.js} +1 -1
  79. package/assets/esri/core/workers/chunks/6395b3ec61b6550859a4.js +1 -0
  80. package/assets/esri/core/workers/chunks/{0e11bee9b56a7f51b012.js → 63f7141c71f29dbe8270.js} +1 -1
  81. package/assets/esri/core/workers/chunks/{7bb3411a86cdd736d555.js → 665e1901ec8dc182ba7a.js} +1 -1
  82. package/assets/esri/core/workers/chunks/{bc7ca87d3bfe8a4aec81.js → 66c46c5a7147550ea3ed.js} +1 -1
  83. package/assets/esri/core/workers/chunks/{762e9a15b2638475a2b4.js → 69921d068add041b5dcb.js} +1 -1
  84. package/assets/esri/core/workers/chunks/{486f1277fe834c0fc4c1.js → 6b5332e167c0553b1e6b.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{d00c25ef8a378b24378d.js → 6cf881f793fd0ec93981.js} +1 -1
  86. package/assets/esri/core/workers/chunks/6e6cdff4bbe1ff2f44ac.js +1 -0
  87. package/assets/esri/core/workers/chunks/6e75f09fb9452bd5f9fb.js +1 -0
  88. package/assets/esri/core/workers/chunks/{601e44839fd46e449aa8.js → 6ef372f52a6ebd9aeb4a.js} +1 -1
  89. package/assets/esri/core/workers/chunks/{1a9f17781e0a3bc5106f.js → 718ed36a9f23993e1460.js} +1 -1
  90. package/assets/esri/core/workers/chunks/{f1f78bb3d34f973c19de.js → 719f0012f297a9a55d70.js} +1 -1
  91. package/assets/esri/core/workers/chunks/7261bbdbd084b4bb44f8.js +1 -0
  92. package/assets/esri/core/workers/chunks/{dd26a37f061ff658c5bd.js → 727dba20e01423c6ea77.js} +1 -1
  93. package/assets/esri/core/workers/chunks/{db8deb37048c71884575.js → 7285a37cd5359aa4bac5.js} +1 -1
  94. package/assets/esri/core/workers/chunks/{6e12e3c99b149cd7f567.js → 7ad62d16b380d80f7f3e.js} +1 -1
  95. package/assets/esri/core/workers/chunks/7adff63fd66fab505ae6.js +1 -0
  96. package/assets/esri/core/workers/chunks/7e42be27ead91a4cc0f1.js +1 -0
  97. package/assets/esri/core/workers/chunks/{94f62ff81cc6fb83e73f.js → 80cca2a377d51926e1a2.js} +1 -1
  98. package/assets/esri/core/workers/chunks/{9246e2468528650bdc7c.js → 80f16f5f15518013f7d0.js} +1 -1
  99. package/assets/esri/core/workers/chunks/{eb167f9f6132a6348d2e.js → 8328f79f064a68f3c1a3.js} +1 -1
  100. package/assets/esri/core/workers/chunks/847781aefed049493444.js +1 -0
  101. package/assets/esri/core/workers/chunks/84dc2afd89263a311b81.js +1 -0
  102. package/assets/esri/core/workers/chunks/8628c027198982baed7c.js +1 -0
  103. package/assets/esri/core/workers/chunks/{9d3cdfa08ef4d2805625.js → 88610ebfdf9c93ada781.js} +1 -1
  104. package/assets/esri/core/workers/chunks/{ed5ac1efd3cba49be756.js → 8bd187b48a4e4296e3d8.js} +1 -1
  105. package/assets/esri/core/workers/chunks/{862f7090ba4a56c07093.js → 8e102a2e134ce6ce0724.js} +1 -1
  106. package/assets/esri/core/workers/chunks/{3c0421a4a0ee3a3c63f8.js → 8edac3bbac401c8d6ecb.js} +1 -1
  107. package/assets/esri/core/workers/chunks/{22c477147421e68f7f00.js → 8fb4aa967d67abb6aba9.js} +1 -1
  108. package/assets/esri/core/workers/chunks/{e1c8767143f9f9d1f049.js → 93375f5f5bb754eca35f.js} +1 -1
  109. package/assets/esri/core/workers/chunks/{ea77654c8964cc39b9a6.js → 956432c9d45940983bc2.js} +1 -1
  110. package/assets/esri/core/workers/chunks/{b17a9853250ab626d58d.js → 96ebf76661b12128ddd5.js} +1 -1
  111. package/assets/esri/core/workers/chunks/98414a10f6de21107a03.js +1 -0
  112. package/assets/esri/core/workers/chunks/{4047208f9559e06d7102.js → 9a084a12afd6f0bbabce.js} +1 -1
  113. package/assets/esri/core/workers/chunks/9acaabe950319d031f2e.js +1 -0
  114. package/assets/esri/core/workers/chunks/{a24cecf2f775eaa69cf4.js → a10df3f51fe26d782aff.js} +1 -1
  115. package/assets/esri/core/workers/chunks/a34eee4c9d4c1c2b8c49.js +1 -0
  116. package/assets/esri/core/workers/chunks/a3f4818f4190fa92331d.js +1 -0
  117. package/assets/esri/core/workers/chunks/{680bef5e8237cc3bdd84.js → ac02df176f9ea94278bb.js} +1 -1
  118. package/assets/esri/core/workers/chunks/{5efc66be4576c6f67064.js → b1c1b7f98ee218f52b56.js} +1 -1
  119. package/assets/esri/core/workers/chunks/b4e5027c121d848c3d5a.js +1 -0
  120. package/assets/esri/core/workers/chunks/{d86044dbcd64323ff9f2.js → b7809ef3e1dabd921339.js} +1 -1
  121. package/assets/esri/core/workers/chunks/b9023cc3298ee4fddea7.js +1 -0
  122. package/assets/esri/core/workers/chunks/{63c43ebf46964c283b4d.js → b92b7d6c1e693c97a3eb.js} +1 -1
  123. package/assets/esri/core/workers/chunks/{fa91cece6daab2bec0e4.js → b941ec028abd44734902.js} +1 -1
  124. package/assets/esri/core/workers/chunks/{44ca13c874b5aa0ed5a0.js → bba3eb07a2a0065759f9.js} +1 -1
  125. package/assets/esri/core/workers/chunks/{4f89da01b67b66a92c01.js → be3421ffb5b391bca02e.js} +1 -1
  126. package/assets/esri/core/workers/chunks/be69e2dda75b079362b2.js +1 -0
  127. package/assets/esri/core/workers/chunks/{3721153202bd43c7fe0e.js → c116bd04e8910b5649d1.js} +1 -1
  128. package/assets/esri/core/workers/chunks/{fbf2d90240d36f8b423f.js → c2d19bb097d074a1ef21.js} +1 -1
  129. package/assets/esri/core/workers/chunks/c517e732cab41093b2e0.js +1 -0
  130. package/assets/esri/core/workers/chunks/{b0da2b089a89d643df1e.js → c53ecbdb47952eb47516.js} +1 -1
  131. package/assets/esri/core/workers/chunks/{cded34b161fcc790e672.js → c582441200ee1cdf51a7.js} +1 -1
  132. package/assets/esri/core/workers/chunks/{16f55c5d642a23c2547e.js → c63b0055a5008b1e5005.js} +1 -1
  133. package/assets/esri/core/workers/chunks/{33641947c388ce28b563.js → c6e771eff0603ece5d30.js} +1 -1
  134. package/assets/esri/core/workers/chunks/c7e6b5594fed5bb16691.js +1 -0
  135. package/assets/esri/core/workers/chunks/{d2387906b52624b4f7f1.js → c85fc0a9412e7debf166.js} +1 -1
  136. package/assets/esri/core/workers/chunks/cbd94998c619093b6426.js +1 -0
  137. package/assets/esri/core/workers/chunks/{86c3d3c7015f1cd55fac.js → ce3fb992f6c6ae7378a3.js} +1 -1
  138. package/assets/esri/core/workers/chunks/{e7fdad0c07beb3614b60.js → d13cf2e8b24e978ea77c.js} +1 -1
  139. package/assets/esri/core/workers/chunks/{c7f69d010f1cb32f5d37.js → d33d08cb6856cd2eb35e.js} +1 -1
  140. package/assets/esri/core/workers/chunks/d5defba320f2e49a377f.js +1 -0
  141. package/assets/esri/core/workers/chunks/{006146ad6d4a5cbf1a1f.js → d710c9d206bf46e031e8.js} +1 -1
  142. package/assets/esri/core/workers/chunks/{da6134c7883531f21afe.js → d922c54ea492cc771f63.js} +1 -1
  143. package/assets/esri/core/workers/chunks/{cf49a13522d61da31d8f.js → d9270f4935eb0d044db3.js} +1 -1
  144. package/assets/esri/core/workers/chunks/{8837fbcc0d484659b79c.js → da77257b517119578088.js} +1 -1
  145. package/assets/esri/core/workers/chunks/{3ca6ecdf9bdd84fef4d5.js → deb408bee61ca192b2ce.js} +1 -1
  146. package/assets/esri/core/workers/chunks/{d92540d3ffc4af980dd8.js → df79c00b5ddbef7148a0.js} +1 -1
  147. package/assets/esri/core/workers/chunks/e0f417992889a6c41095.js +1 -0
  148. package/assets/esri/core/workers/chunks/{c511af7afe08a78e2a4d.js → e18b8646c7378213b618.js} +1 -1
  149. package/assets/esri/core/workers/chunks/{a7e6382ecc91c876117f.js → e26be75ae40acb7473ee.js} +1 -1
  150. package/assets/esri/core/workers/chunks/e4d98eaa89d2c88c5139.js +1 -0
  151. package/assets/esri/core/workers/chunks/e5c88090d16459f55cb8.js +1 -0
  152. package/assets/esri/core/workers/chunks/{cc73ac8404615dc392d2.js → e6a4cef0af9be30ffe3d.js} +1 -1
  153. package/assets/esri/core/workers/chunks/{a40566a78d801b223d3d.js → ea068c797e3e462f4518.js} +1 -1
  154. package/assets/esri/core/workers/chunks/eab969d5c7d81f351250.js +1 -0
  155. package/assets/esri/core/workers/chunks/{3a9c6f58a1a065c14017.js → eaf1d38f09744b7e84f5.js} +1 -1
  156. package/assets/esri/core/workers/chunks/ebe7ba2557b50e18e547.js +1 -0
  157. package/assets/esri/core/workers/chunks/{1e3b07cf0e608431a277.js → ec5542d6ecc0622f7705.js} +1 -1
  158. package/assets/esri/core/workers/chunks/{0a4092578dc7578bcf76.js → f5a988bb850f7a7af143.js} +1 -1
  159. package/assets/esri/core/workers/chunks/{248df6fda489a9de5852.js → f5e8ccbd6b4c0a386903.js} +1 -1
  160. package/assets/esri/core/workers/chunks/f60d5ce49c173d5381ec.js +1 -0
  161. package/assets/esri/core/workers/chunks/{000f91a18c22377f8525.js → f94170f1e8c11c861e7b.js} +1 -1
  162. package/assets/esri/core/workers/chunks/{35d0a7597473d46866de.js → f9e5740b05de24ba81be.js} +1 -1
  163. package/assets/esri/core/workers/chunks/{10f4c5533f50c3693318.js → fa869977ac2abb063925.js} +1 -1
  164. package/assets/esri/core/workers/chunks/fae14e30fa7d81bf706e.js +1 -0
  165. package/assets/esri/core/workers/chunks/{ab3a6ce7bc2a27b92469.js → fb6f1b562ee0983c8c6e.js} +1 -1
  166. package/assets/esri/core/workers/chunks/{a26916de4c105859621e.js → fd808d38ae2d475ac442.js} +1 -1
  167. package/assets/esri/core/workers/chunks/{d6f7aa280f1bd201d4ef.js → ff673ea8e3291d12689e.js} +1 -1
  168. package/chunks/GlobalIllumination.glsl.js +8 -13
  169. package/config.js +1 -1
  170. package/core/libs/gl-matrix-2/math/quat.js +1 -1
  171. package/kernel.js +1 -1
  172. package/layers/IntegratedMeshLayer.d.ts +12 -0
  173. package/layers/IntegratedMeshLayer.js +1 -1
  174. package/layers/support/I3SIntegratedMeshElevationQuery.js +2 -0
  175. package/package.json +2 -2
  176. package/support/revision.js +1 -1
  177. package/views/3d/analysis/LineOfSight/LineOfSightEditTool.js +1 -1
  178. package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
  179. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  180. package/views/3d/interactive/editingTools/manipulatorUtils.js +1 -1
  181. package/views/3d/layers/i3s/I3SIndex.js +1 -1
  182. package/views/3d/layers/i3s/I3SNode.js +1 -1
  183. package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceRayMarching.glsl.js +24 -9
  184. package/views/3d/webgl-engine/lib/BufferObject3D.js +2 -0
  185. package/views/3d/webgl-engine/lib/Intersector.js +1 -1
  186. package/views/3d/webgl-engine/lib/ModelDirtySet.js +1 -1
  187. package/views/3d/webgl-engine/lib/Object3D.js +1 -1
  188. package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
  189. package/views/3d/webgl-engine/parts/Model.js +1 -1
  190. package/views/analysis/ElevationProfile/ElevationProfileLineQueryComputation.js +1 -1
  191. package/views/support/Scheduler.js +1 -1
  192. package/assets/esri/core/workers/chunks/014eaccf2c2d357981f0.js +0 -1
  193. package/assets/esri/core/workers/chunks/0a242e76bc293b0ad04b.js +0 -1
  194. package/assets/esri/core/workers/chunks/0e65869a5dd5a3917da7.js +0 -1
  195. package/assets/esri/core/workers/chunks/0f15468ffefd3e9a17b8.js +0 -29
  196. package/assets/esri/core/workers/chunks/16ffbe484f6cd4736f79.js +0 -1
  197. package/assets/esri/core/workers/chunks/24a6b28db94e07a702a4.js +0 -1
  198. package/assets/esri/core/workers/chunks/2bd4b536e329112591c4.js +0 -1
  199. package/assets/esri/core/workers/chunks/3328a65c2bf1a0cbdb9d.js +0 -1
  200. package/assets/esri/core/workers/chunks/34f82b4ab11ff5642555.js +0 -1
  201. package/assets/esri/core/workers/chunks/3a9435569ba460ff7e3d.js +0 -1
  202. package/assets/esri/core/workers/chunks/3dd57a07c7a28e50d76e.js +0 -1
  203. package/assets/esri/core/workers/chunks/428f991c14ac12ae1b2c.js +0 -1
  204. package/assets/esri/core/workers/chunks/4717831effb1ac6d5f5d.js +0 -1
  205. package/assets/esri/core/workers/chunks/4d7f6c92041d52cc8732.js +0 -1
  206. package/assets/esri/core/workers/chunks/545a828002fd7da86c19.js +0 -1
  207. package/assets/esri/core/workers/chunks/58a52adc42fbe5cd12c6.js +0 -1
  208. package/assets/esri/core/workers/chunks/58b93f13316196d2e97d.js +0 -1
  209. package/assets/esri/core/workers/chunks/58f98bd89b644cfdafae.js +0 -1
  210. package/assets/esri/core/workers/chunks/625a692f00357629f609.js +0 -1
  211. package/assets/esri/core/workers/chunks/69688d521d5ba117e31c.js +0 -1
  212. package/assets/esri/core/workers/chunks/6f6ae6cf7f6e30b29013.js +0 -1
  213. package/assets/esri/core/workers/chunks/7fd54fa2f91cdab44ab3.js +0 -1
  214. package/assets/esri/core/workers/chunks/862eabda80ddb9e7a332.js +0 -1
  215. package/assets/esri/core/workers/chunks/8b24feffd5e084af2fa9.js +0 -1
  216. package/assets/esri/core/workers/chunks/925f83be3c1eb4b5c6af.js +0 -1
  217. package/assets/esri/core/workers/chunks/97aaff86e06380a68df8.js +0 -1
  218. package/assets/esri/core/workers/chunks/989937c120bdd676ec1e.js +0 -1
  219. package/assets/esri/core/workers/chunks/9cc14a41d4a90f6d626e.js +0 -1
  220. package/assets/esri/core/workers/chunks/a03e7333e3328036f478.js +0 -1
  221. package/assets/esri/core/workers/chunks/a34cadd486e7fcc79063.js +0 -1
  222. package/assets/esri/core/workers/chunks/a72983c3621810d4b1af.js +0 -1
  223. package/assets/esri/core/workers/chunks/a88aa26a7bee1fe7aea2.js +0 -1
  224. package/assets/esri/core/workers/chunks/a8e9aa5461c71c88e2e5.js +0 -1
  225. package/assets/esri/core/workers/chunks/a8f70cece5ce2b095cdd.js +0 -1
  226. package/assets/esri/core/workers/chunks/abd2f8fae6b918fbdd6d.js +0 -1
  227. package/assets/esri/core/workers/chunks/b2e5a89aca245263901c.js +0 -1
  228. package/assets/esri/core/workers/chunks/b2e692f52b9f02210e10.js +0 -1
  229. package/assets/esri/core/workers/chunks/b5fcf4165ac72654742d.js +0 -1
  230. package/assets/esri/core/workers/chunks/ba77a8892cb23c7a297d.js +0 -1
  231. package/assets/esri/core/workers/chunks/bf357afbabaa8dec4d75.js +0 -1
  232. package/assets/esri/core/workers/chunks/c07d2fb9940b2c6eda9f.js +0 -1
  233. package/assets/esri/core/workers/chunks/d179ec37d2612d65624f.js +0 -1
  234. package/assets/esri/core/workers/chunks/d2865c604849ce79183f.js +0 -1
  235. package/assets/esri/core/workers/chunks/e5d114f2b57d2b8e2f1c.js +0 -1
  236. package/assets/esri/core/workers/chunks/f2cbcd1b0e77e733a8e0.js +0 -1
  237. package/assets/esri/core/workers/chunks/f331c24247d132589859.js +0 -1
  238. package/assets/esri/core/workers/chunks/f8a6d8cdcabcd1d511b6.js +0 -1
  239. package/assets/esri/core/workers/chunks/ffa35ecc681ec1c4739a.js +0 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7552],{65615(e,t,r){r.d(t,{A:()=>N});var i=r(32198),o=r(25482),s=r(91429),n=r(56507),a=r(20437),l=r(66552),p=r(10107),u=r(79901),d=r(64108),c=r(93223),y=r(36005),g=r(90360),h=r(93849);let m=null,C=null;function v(){return C||(C=(0,g.C)({types:S()})),C}let w=null;function S(){return w||(w={key:"type",base:null,typeMap:{"data-layer":m,"map-layer":h.A}}),w}var M;const j=(0,l.O)()({esriLeftInnerJoin:"left-inner-join",esriLeftOuterJoin:"left-outer-join"});let f=M=class extends o.o{constructor(e){super(e),this.type="join-table"}readLeftTableSource(e,t,r){return v()(e,t,r)}castLeftTableSource(e){return(0,n.aq)(S(),e)}readRightTableSource(e,t,r){return v()(e,t,r)}castRightTableSource(e){return(0,n.aq)(S(),e)}clone(){const{leftTableKey:e,rightTableKey:t,leftTableSource:r,rightTableSource:i,joinType:o}=this,s={leftTableKey:e,rightTableKey:t,leftTableSource:r?.clone()??void 0,rightTableSource:i?.clone()??void 0,joinType:o};return new M(s)}};(0,i.Cg)([(0,c.e)({joinTable:"join-table"}),(0,p.MZ)({json:{write:{isRequired:!0}}})],f.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],f.prototype,"leftTableKey",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],f.prototype,"rightTableKey",void 0),(0,i.Cg)([(0,p.MZ)({json:{write:!0}})],f.prototype,"leftTableSource",void 0),(0,i.Cg)([(0,y.w)("leftTableSource")],f.prototype,"readLeftTableSource",null),(0,i.Cg)([(0,u.w)("leftTableSource")],f.prototype,"castLeftTableSource",null),(0,i.Cg)([(0,p.MZ)({json:{write:!0}})],f.prototype,"rightTableSource",void 0),(0,i.Cg)([(0,y.w)("rightTableSource")],f.prototype,"readRightTableSource",null),(0,i.Cg)([(0,u.w)("rightTableSource")],f.prototype,"castRightTableSource",null),(0,i.Cg)([(0,c.e)(j)],f.prototype,"joinType",void 0),f=M=(0,i.Cg)([(0,d.$)("esri.rest.layerSources.JoinTableDataSource")],f);const b=f;var Z,R=r(16930),T=r(50498);let x=Z=class extends o.o{constructor(e){super(e),this.type="query-table"}clone(){const{workspaceId:e,query:t,oidFields:r,spatialReference:i,geometryType:o}=this,s={workspaceId:e,query:t,oidFields:r,spatialReference:i?.clone()??void 0,geometryType:o};return new Z(s)}};(0,i.Cg)([(0,c.e)({queryTable:"query-table"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],x.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"workspaceId",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"query",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"oidFields",void 0),(0,i.Cg)([(0,s.MZ)({type:R.A,json:{write:!0}})],x.prototype,"spatialReference",void 0),(0,i.Cg)([(0,c.e)(T.gy)],x.prototype,"geometryType",void 0),x=Z=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.QueryTableDataSource")],x);const F=x;var P;let A=P=class extends o.o{constructor(e){super(e),this.type="raster"}clone(){const{workspaceId:e,dataSourceName:t}=this;return new P({workspaceId:e,dataSourceName:t})}};(0,i.Cg)([(0,c.e)({raster:"raster"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],A.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],A.prototype,"dataSourceName",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],A.prototype,"workspaceId",void 0),A=P=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.RasterDataSource")],A);const D=A;var O;let I=O=class extends o.o{constructor(e){super(e),this.type="table"}clone(){const{workspaceId:e,gdbVersion:t,dataSourceName:r}=this;return new O({workspaceId:e,gdbVersion:t,dataSourceName:r})}};var V;(0,i.Cg)([(0,c.e)({table:"table"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],I.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],I.prototype,"workspaceId",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],I.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],I.prototype,"dataSourceName",void 0),I=O=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.TableDataSource")],I);const U={key:"type",base:null,typeMap:{"join-table":b,"query-table":F,raster:D,table:I}};let N=class extends o.o{static{V=this}constructor(e){super(e),this.type="data-layer"}clone(){const{fields:e,dataSource:t}=this;return new V({fields:e,dataSource:t})}};(0,i.Cg)([(0,c.e)({dataLayer:"data-layer"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],N.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:[a.A],json:{write:!0}})],N.prototype,"fields",void 0),(0,i.Cg)([(0,s.MZ)({types:U,json:{write:!0}})],N.prototype,"dataSource",void 0),N=V=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.DynamicDataLayer")],N),N.from=(0,n.dp)(N),w=null,C=null,m=N},93849(e,t,r){r.d(t,{A:()=>p});var i,o=r(32198),s=r(25482),n=r(91429),a=r(56507),l=r(93223);let p=i=class extends s.o{constructor(e){super(e),this.type="map-layer"}clone(){const{mapLayerId:e,gdbVersion:t}=this;return new i({mapLayerId:e,gdbVersion:t})}};(0,o.Cg)([(0,l.e)({mapLayer:"map-layer"}),(0,n.MZ)({json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,o.Cg)([(0,n.MZ)({type:a.jz,json:{write:{isRequired:!0}}})],p.prototype,"mapLayerId",void 0),(0,o.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"gdbVersion",void 0),p=i=(0,o.Cg)([(0,n.$K)("esri.rest.layerSources.DynamicMapLayer")],p)},27348(e,t,r){r.d(t,{A:()=>d});var i,o=r(32198),s=r(66552),n=r(25482),a=r(4718),l=r(91429),p=r(5443);const u=new s.J({upperLeft:"upper-left",lowerLeft:"lower-left"});let d=i=class extends n.o{constructor(e){super(e),this.extent=null,this.mode="view",this.originPosition="upper-left",this.tolerance=1}clone(){return new i((0,a.o8)({extent:this.extent,mode:this.mode,originPosition:this.originPosition,tolerance:this.tolerance}))}};(0,o.Cg)([(0,l.MZ)({type:p.A,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"extent",void 0),(0,o.Cg)([(0,l.MZ)({type:["view","edit"],json:{write:!0}})],d.prototype,"mode",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{read:u.read,write:u.write}})],d.prototype,"originPosition",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"tolerance",void 0),d=i=(0,o.Cg)([(0,l.$K)("esri.rest.support.QuantizationParameters")],d)},97552(e,t,r){r.d(t,{A:()=>F});var i=r(32198),o=r(66552),s=r(25482),n=r(4718),a=r(91429),l=r(56507),p=r(86738),u=r(16930),d=r(65864),c=r(50498),y=r(65615),g=r(69540);let h=class extends((0,g.OU)(s.o)){constructor(e){super(e),this.onFields=null,this.operator=null,this.searchTerm=null,this.searchType=null}};(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.onFields&&this.onFields.length>0}}}}})],h.prototype,"onFields",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"operator",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"searchTerm",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"searchType",void 0),h=(0,i.Cg)([(0,a.$K)("esri.rest.support.FullTextSearch")],h);const m=h;var C=r(93223);const v=new o.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),w=new o.J({ASC:"ascending",DESC:"descending"});let S=class extends((0,g.OU)(s.o)){constructor(e){super(e),this.returnDistance=null,this.referenceGeometry=null,this.order=null,this.outDistanceUnit=null}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],S.prototype,"returnDistance",void 0),(0,i.Cg)([(0,a.MZ)({types:c.yR,json:{name:"refGeometry",read:d.rS,write:!0}})],S.prototype,"referenceGeometry",void 0),(0,i.Cg)([(0,C.e)(w,{ignoreUnknown:!1})],S.prototype,"order",void 0),(0,i.Cg)([(0,C.e)(v,{ignoreUnknown:!1})],S.prototype,"outDistanceUnit",void 0),S=(0,i.Cg)([(0,a.$K)("esri.rest.support.OutDistance")],S);const M=S;var j,f=r(27348),b=r(58174),Z=r(7562),R=r(79677),T=r(43937);const x=new o.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let F=class extends s.o{static{j=this}static from(e){return(0,l.PZ)(j,e)}constructor(e){super(e),this.aggregateIds=null,this.cacheHint=void 0,this.compactGeometryEnabled=!1,this.datumTransformation=null,this.defaultSpatialReferenceEnabled=!1,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.fullText=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnStatisticsAggregatedIds=!1,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnExceededLimitGeometries=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.returnTrueCurves=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.outDistance=null,this.where=null}castDatumTransformation(e){return"number"==typeof e||"object"==typeof e?e:null}writeHistoricMoment(e,t){t.historicMoment=e&&e.getTime()}writeParameterValues(e,t){if(e){const r={};for(const t in e){const i=e[t];Array.isArray(i)?r[t]=i.map(e=>e instanceof Date?e.getTime():e):i instanceof Date?r[t]=i.getTime():r[t]=i}t.parameterValues=r}}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10,t.where="1=1"}writeWhere(e,t){t.where=e||"1=1"}clone(){return new j((0,n.o8)({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,compactGeometryEnabled:this.compactGeometryEnabled,datumTransformation:this.datumTransformation,defaultSpatialReferenceEnabled:this.defaultSpatialReferenceEnabled,distance:this.distance,fullText:this.fullText,formatOf3DObjects:this.formatOf3DObjects,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:null!=this.historicMoment?new Date(this.historicMoment):null,maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnStatisticsAggregatedIds:this.returnStatisticsAggregatedIds,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnExceededLimitGeometries:this.returnExceededLimitGeometries,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,returnTrueCurves:this.returnTrueCurves,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,outDistance:this.outDistance,where:this.where}))}static{this.MAX_MAX_RECORD_COUNT_FACTOR=5}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],F.prototype,"aggregateIds",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"cacheHint",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"compactGeometryEnabled",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],F.prototype,"datumTransformation",void 0),(0,i.Cg)([(0,a.wg)("datumTransformation")],F.prototype,"castDatumTransformation",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"defaultSpatialReferenceEnabled",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],F.prototype,"distance",void 0),(0,i.Cg)([(0,a.MZ)({type:y.A,json:{write:!0}})],F.prototype,"dynamicDataSource",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"formatOf3DObjects",void 0),(0,i.Cg)([(0,a.MZ)({type:[m],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.fullText&&this.fullText.length>0}}}}})],F.prototype,"fullText",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,a.MZ)({types:c.yR,json:{read:d.rS,write:!0}})],F.prototype,"geometry",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],F.prototype,"geometryPrecision",void 0),(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],F.prototype,"groupByFieldsForStatistics",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"having",void 0),(0,i.Cg)([(0,a.MZ)({type:Date})],F.prototype,"historicMoment",void 0),(0,i.Cg)([(0,T.K)("historicMoment")],F.prototype,"writeHistoricMoment",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],F.prototype,"maxAllowableOffset",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:e=>e<1?1:e>j.MAX_MAX_RECORD_COUNT_FACTOR?j.MAX_MAX_RECORD_COUNT_FACTOR:e,json:{write:{overridePolicy:e=>({enabled:e>1})}}})],F.prototype,"maxRecordCountFactor",void 0),(0,i.Cg)([(0,a.MZ)({type:["xyFootprint"],json:{write:!0}})],F.prototype,"multipatchOption",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],F.prototype,"num",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],F.prototype,"objectIds",void 0),(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],F.prototype,"orderByFields",void 0),(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],F.prototype,"outFields",void 0),(0,i.Cg)([(0,a.MZ)({type:u.A,json:{name:"outSR",write:!0}})],F.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,a.MZ)({type:[Z.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],F.prototype,"outStatistics",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],F.prototype,"parameterValues",void 0),(0,i.Cg)([(0,T.K)("parameterValues")],F.prototype,"writeParameterValues",null),(0,i.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],F.prototype,"pixelSize",void 0),(0,i.Cg)([(0,a.MZ)({type:f.A,json:{write:!0}})],F.prototype,"quantizationParameters",void 0),(0,i.Cg)([(0,a.MZ)({type:[Object],json:{write:!0}})],F.prototype,"rangeValues",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],F.prototype,"relationParameter",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"resultType",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{name:"returnAggIds",write:{overridePolicy(e){return{enabled:e&&!!this.groupByFieldsForStatistics?.length&&!!this.outStatistics?.length}}}}})],F.prototype,"returnStatisticsAggregatedIds",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnCentroid",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnDistinctValues",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!0,write:!0}})],F.prototype,"returnExceededLimitFeatures",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!0,write:!0}})],F.prototype,"returnExceededLimitGeometries",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"returnGeometry",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnQueryGeometry",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnM",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],F.prototype,"returnZ",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"returnTrueCurves",void 0),(0,i.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],F.prototype,"sourceSpatialReference",void 0),(0,i.Cg)([(0,C.e)(b.x,{ignoreUnknown:!1,name:"spatialRel"})],F.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],F.prototype,"start",void 0),(0,i.Cg)([(0,T.K)("start"),(0,T.K)("num")],F.prototype,"writeStart",null),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"sqlFormat",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"text",void 0),(0,i.Cg)([(0,a.MZ)({type:R.A,json:{write:!0}})],F.prototype,"timeExtent",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"timeReferenceUnknownClient",void 0),(0,i.Cg)([(0,C.e)(x,{ignoreUnknown:!1}),(0,a.MZ)({json:{write:{overridePolicy(e){return{enabled:!!e&&!!this.distance}}}}})],F.prototype,"units",void 0),(0,i.Cg)([(0,a.MZ)({type:M,json:{write:!0}})],F.prototype,"outDistance",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{overridePolicy(e){return{enabled:null!=e||null!=this.start&&this.start>0}}}}})],F.prototype,"where",void 0),(0,i.Cg)([(0,T.K)("where")],F.prototype,"writeWhere",null),F=j=(0,i.Cg)([(0,a.$K)("esri.rest.support.Query")],F)},7562(e,t,r){r.d(t,{A:()=>d});var i,o=r(32198),s=r(66552),n=r(25482),a=r(4718),l=r(91429),p=r(43937);const u=new s.J({count:"count",sum:"sum",min:"min",max:"max",avg:"avg",stddev:"stddev",var:"var",exceedslimit:"exceedslimit",percentile_cont:"percentile-continuous",percentile_disc:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate"});let d=i=class extends n.o{constructor(e){super(e),this.maxPointCount=void 0,this.maxRecordCount=void 0,this.maxVertexCount=void 0,this.onStatisticField=null,this.outStatisticFieldName=null,this.statisticType=null,this.statisticParameters=null}writeStatisticParameters(e,t){"percentile-continuous"!==this.statisticType&&"percentile-discrete"!==this.statisticType||(t.statisticParameters=(0,a.o8)(e))}clone(){return new i({maxPointCount:this.maxPointCount,maxRecordCount:this.maxRecordCount,maxVertexCount:this.maxVertexCount,onStatisticField:this.onStatisticField,outStatisticFieldName:this.outStatisticFieldName,statisticType:this.statisticType,statisticParameters:(0,a.o8)(this.statisticParameters)})}};(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxPointCount",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxRecordCount",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxVertexCount",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"onStatisticField",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"outStatisticFieldName",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{read:{source:"statisticType",reader:u.read},write:{target:"statisticType",writer:u.write}}})],d.prototype,"statisticType",void 0),(0,o.Cg)([(0,l.MZ)({type:Object})],d.prototype,"statisticParameters",void 0),(0,o.Cg)([(0,p.K)("statisticParameters")],d.prototype,"writeStatisticParameters",null),d=i=(0,o.Cg)([(0,l.$K)("esri.rest.support.StatisticDefinition")],d)},58174(e,t,r){const i=new(r(66552).J)({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"});r.d(t,["x",0,i])}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7552],{65615(e,t,r){r.d(t,{A:()=>N});var i=r(32198),o=r(25482),s=r(91429),n=r(78888),a=r(20437),l=r(66552),p=r(10107),u=r(79901),d=r(64108),c=r(93223),y=r(36005),g=r(90360),h=r(93849);let m=null,C=null;function v(){return C||(C=(0,g.C)({types:S()})),C}let w=null;function S(){return w||(w={key:"type",base:null,typeMap:{"data-layer":m,"map-layer":h.A}}),w}var M;const j=(0,l.O)()({esriLeftInnerJoin:"left-inner-join",esriLeftOuterJoin:"left-outer-join"});let f=M=class extends o.o{constructor(e){super(e),this.type="join-table"}readLeftTableSource(e,t,r){return v()(e,t,r)}castLeftTableSource(e){return(0,n.aq)(S(),e)}readRightTableSource(e,t,r){return v()(e,t,r)}castRightTableSource(e){return(0,n.aq)(S(),e)}clone(){const{leftTableKey:e,rightTableKey:t,leftTableSource:r,rightTableSource:i,joinType:o}=this,s={leftTableKey:e,rightTableKey:t,leftTableSource:r?.clone()??void 0,rightTableSource:i?.clone()??void 0,joinType:o};return new M(s)}};(0,i.Cg)([(0,c.e)({joinTable:"join-table"}),(0,p.MZ)({json:{write:{isRequired:!0}}})],f.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],f.prototype,"leftTableKey",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],f.prototype,"rightTableKey",void 0),(0,i.Cg)([(0,p.MZ)({json:{write:!0}})],f.prototype,"leftTableSource",void 0),(0,i.Cg)([(0,y.w)("leftTableSource")],f.prototype,"readLeftTableSource",null),(0,i.Cg)([(0,u.w)("leftTableSource")],f.prototype,"castLeftTableSource",null),(0,i.Cg)([(0,p.MZ)({json:{write:!0}})],f.prototype,"rightTableSource",void 0),(0,i.Cg)([(0,y.w)("rightTableSource")],f.prototype,"readRightTableSource",null),(0,i.Cg)([(0,u.w)("rightTableSource")],f.prototype,"castRightTableSource",null),(0,i.Cg)([(0,c.e)(j)],f.prototype,"joinType",void 0),f=M=(0,i.Cg)([(0,d.$)("esri.rest.layerSources.JoinTableDataSource")],f);const b=f;var Z,R=r(16930),T=r(50498);let x=Z=class extends o.o{constructor(e){super(e),this.type="query-table"}clone(){const{workspaceId:e,query:t,oidFields:r,spatialReference:i,geometryType:o}=this,s={workspaceId:e,query:t,oidFields:r,spatialReference:i?.clone()??void 0,geometryType:o};return new Z(s)}};(0,i.Cg)([(0,c.e)({queryTable:"query-table"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],x.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"workspaceId",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"query",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"oidFields",void 0),(0,i.Cg)([(0,s.MZ)({type:R.A,json:{write:!0}})],x.prototype,"spatialReference",void 0),(0,i.Cg)([(0,c.e)(T.gy)],x.prototype,"geometryType",void 0),x=Z=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.QueryTableDataSource")],x);const F=x;var P;let A=P=class extends o.o{constructor(e){super(e),this.type="raster"}clone(){const{workspaceId:e,dataSourceName:t}=this;return new P({workspaceId:e,dataSourceName:t})}};(0,i.Cg)([(0,c.e)({raster:"raster"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],A.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],A.prototype,"dataSourceName",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],A.prototype,"workspaceId",void 0),A=P=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.RasterDataSource")],A);const D=A;var O;let I=O=class extends o.o{constructor(e){super(e),this.type="table"}clone(){const{workspaceId:e,gdbVersion:t,dataSourceName:r}=this;return new O({workspaceId:e,gdbVersion:t,dataSourceName:r})}};var V;(0,i.Cg)([(0,c.e)({table:"table"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],I.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],I.prototype,"workspaceId",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],I.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],I.prototype,"dataSourceName",void 0),I=O=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.TableDataSource")],I);const U={key:"type",base:null,typeMap:{"join-table":b,"query-table":F,raster:D,table:I}};let N=class extends o.o{static{V=this}constructor(e){super(e),this.type="data-layer"}clone(){const{fields:e,dataSource:t}=this;return new V({fields:e,dataSource:t})}};(0,i.Cg)([(0,c.e)({dataLayer:"data-layer"}),(0,s.MZ)({json:{write:{isRequired:!0}}})],N.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:[a.A],json:{write:!0}})],N.prototype,"fields",void 0),(0,i.Cg)([(0,s.MZ)({types:U,json:{write:!0}})],N.prototype,"dataSource",void 0),N=V=(0,i.Cg)([(0,s.$K)("esri.rest.layerSources.DynamicDataLayer")],N),N.from=(0,n.dp)(N),w=null,C=null,m=N},93849(e,t,r){r.d(t,{A:()=>p});var i,o=r(32198),s=r(25482),n=r(91429),a=r(78888),l=r(93223);let p=i=class extends s.o{constructor(e){super(e),this.type="map-layer"}clone(){const{mapLayerId:e,gdbVersion:t}=this;return new i({mapLayerId:e,gdbVersion:t})}};(0,o.Cg)([(0,l.e)({mapLayer:"map-layer"}),(0,n.MZ)({json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,o.Cg)([(0,n.MZ)({type:a.jz,json:{write:{isRequired:!0}}})],p.prototype,"mapLayerId",void 0),(0,o.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"gdbVersion",void 0),p=i=(0,o.Cg)([(0,n.$K)("esri.rest.layerSources.DynamicMapLayer")],p)},27348(e,t,r){r.d(t,{A:()=>d});var i,o=r(32198),s=r(66552),n=r(25482),a=r(4718),l=r(91429),p=r(5443);const u=new s.J({upperLeft:"upper-left",lowerLeft:"lower-left"});let d=i=class extends n.o{constructor(e){super(e),this.extent=null,this.mode="view",this.originPosition="upper-left",this.tolerance=1}clone(){return new i((0,a.o8)({extent:this.extent,mode:this.mode,originPosition:this.originPosition,tolerance:this.tolerance}))}};(0,o.Cg)([(0,l.MZ)({type:p.A,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"extent",void 0),(0,o.Cg)([(0,l.MZ)({type:["view","edit"],json:{write:!0}})],d.prototype,"mode",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{read:u.read,write:u.write}})],d.prototype,"originPosition",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"tolerance",void 0),d=i=(0,o.Cg)([(0,l.$K)("esri.rest.support.QuantizationParameters")],d)},97552(e,t,r){r.d(t,{A:()=>F});var i=r(32198),o=r(66552),s=r(25482),n=r(4718),a=r(91429),l=r(78888),p=r(86738),u=r(16930),d=r(65864),c=r(50498),y=r(65615),g=r(69540);let h=class extends((0,g.OU)(s.o)){constructor(e){super(e),this.onFields=null,this.operator=null,this.searchTerm=null,this.searchType=null}};(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.onFields&&this.onFields.length>0}}}}})],h.prototype,"onFields",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"operator",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"searchTerm",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"searchType",void 0),h=(0,i.Cg)([(0,a.$K)("esri.rest.support.FullTextSearch")],h);const m=h;var C=r(93223);const v=new o.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),w=new o.J({ASC:"ascending",DESC:"descending"});let S=class extends((0,g.OU)(s.o)){constructor(e){super(e),this.returnDistance=null,this.referenceGeometry=null,this.order=null,this.outDistanceUnit=null}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],S.prototype,"returnDistance",void 0),(0,i.Cg)([(0,a.MZ)({types:c.yR,json:{name:"refGeometry",read:d.rS,write:!0}})],S.prototype,"referenceGeometry",void 0),(0,i.Cg)([(0,C.e)(w,{ignoreUnknown:!1})],S.prototype,"order",void 0),(0,i.Cg)([(0,C.e)(v,{ignoreUnknown:!1})],S.prototype,"outDistanceUnit",void 0),S=(0,i.Cg)([(0,a.$K)("esri.rest.support.OutDistance")],S);const M=S;var j,f=r(27348),b=r(58174),Z=r(7562),R=r(79677),T=r(43937);const x=new o.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let F=class extends s.o{static{j=this}static from(e){return(0,l.PZ)(j,e)}constructor(e){super(e),this.aggregateIds=null,this.cacheHint=void 0,this.compactGeometryEnabled=!1,this.datumTransformation=null,this.defaultSpatialReferenceEnabled=!1,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.fullText=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnStatisticsAggregatedIds=!1,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnExceededLimitGeometries=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.returnTrueCurves=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.outDistance=null,this.where=null}castDatumTransformation(e){return"number"==typeof e||"object"==typeof e?e:null}writeHistoricMoment(e,t){t.historicMoment=e&&e.getTime()}writeParameterValues(e,t){if(e){const r={};for(const t in e){const i=e[t];Array.isArray(i)?r[t]=i.map(e=>e instanceof Date?e.getTime():e):i instanceof Date?r[t]=i.getTime():r[t]=i}t.parameterValues=r}}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10,t.where="1=1"}writeWhere(e,t){t.where=e||"1=1"}clone(){return new j((0,n.o8)({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,compactGeometryEnabled:this.compactGeometryEnabled,datumTransformation:this.datumTransformation,defaultSpatialReferenceEnabled:this.defaultSpatialReferenceEnabled,distance:this.distance,fullText:this.fullText,formatOf3DObjects:this.formatOf3DObjects,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:null!=this.historicMoment?new Date(this.historicMoment):null,maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnStatisticsAggregatedIds:this.returnStatisticsAggregatedIds,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnExceededLimitGeometries:this.returnExceededLimitGeometries,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,returnTrueCurves:this.returnTrueCurves,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,outDistance:this.outDistance,where:this.where}))}static{this.MAX_MAX_RECORD_COUNT_FACTOR=5}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],F.prototype,"aggregateIds",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"cacheHint",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"compactGeometryEnabled",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],F.prototype,"datumTransformation",void 0),(0,i.Cg)([(0,a.wg)("datumTransformation")],F.prototype,"castDatumTransformation",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"defaultSpatialReferenceEnabled",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],F.prototype,"distance",void 0),(0,i.Cg)([(0,a.MZ)({type:y.A,json:{write:!0}})],F.prototype,"dynamicDataSource",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"formatOf3DObjects",void 0),(0,i.Cg)([(0,a.MZ)({type:[m],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.fullText&&this.fullText.length>0}}}}})],F.prototype,"fullText",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,a.MZ)({types:c.yR,json:{read:d.rS,write:!0}})],F.prototype,"geometry",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],F.prototype,"geometryPrecision",void 0),(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],F.prototype,"groupByFieldsForStatistics",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"having",void 0),(0,i.Cg)([(0,a.MZ)({type:Date})],F.prototype,"historicMoment",void 0),(0,i.Cg)([(0,T.K)("historicMoment")],F.prototype,"writeHistoricMoment",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],F.prototype,"maxAllowableOffset",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:e=>e<1?1:e>j.MAX_MAX_RECORD_COUNT_FACTOR?j.MAX_MAX_RECORD_COUNT_FACTOR:e,json:{write:{overridePolicy:e=>({enabled:e>1})}}})],F.prototype,"maxRecordCountFactor",void 0),(0,i.Cg)([(0,a.MZ)({type:["xyFootprint"],json:{write:!0}})],F.prototype,"multipatchOption",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],F.prototype,"num",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],F.prototype,"objectIds",void 0),(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],F.prototype,"orderByFields",void 0),(0,i.Cg)([(0,a.MZ)({type:[String],json:{write:!0}})],F.prototype,"outFields",void 0),(0,i.Cg)([(0,a.MZ)({type:u.A,json:{name:"outSR",write:!0}})],F.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,a.MZ)({type:[Z.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],F.prototype,"outStatistics",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],F.prototype,"parameterValues",void 0),(0,i.Cg)([(0,T.K)("parameterValues")],F.prototype,"writeParameterValues",null),(0,i.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],F.prototype,"pixelSize",void 0),(0,i.Cg)([(0,a.MZ)({type:f.A,json:{write:!0}})],F.prototype,"quantizationParameters",void 0),(0,i.Cg)([(0,a.MZ)({type:[Object],json:{write:!0}})],F.prototype,"rangeValues",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],F.prototype,"relationParameter",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"resultType",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{name:"returnAggIds",write:{overridePolicy(e){return{enabled:e&&!!this.groupByFieldsForStatistics?.length&&!!this.outStatistics?.length}}}}})],F.prototype,"returnStatisticsAggregatedIds",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnCentroid",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnDistinctValues",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!0,write:!0}})],F.prototype,"returnExceededLimitFeatures",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!0,write:!0}})],F.prototype,"returnExceededLimitGeometries",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"returnGeometry",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnQueryGeometry",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnM",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],F.prototype,"returnZ",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"returnTrueCurves",void 0),(0,i.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],F.prototype,"sourceSpatialReference",void 0),(0,i.Cg)([(0,C.e)(b.x,{ignoreUnknown:!1,name:"spatialRel"})],F.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],F.prototype,"start",void 0),(0,i.Cg)([(0,T.K)("start"),(0,T.K)("num")],F.prototype,"writeStart",null),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"sqlFormat",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],F.prototype,"text",void 0),(0,i.Cg)([(0,a.MZ)({type:R.A,json:{write:!0}})],F.prototype,"timeExtent",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"timeReferenceUnknownClient",void 0),(0,i.Cg)([(0,C.e)(x,{ignoreUnknown:!1}),(0,a.MZ)({json:{write:{overridePolicy(e){return{enabled:!!e&&!!this.distance}}}}})],F.prototype,"units",void 0),(0,i.Cg)([(0,a.MZ)({type:M,json:{write:!0}})],F.prototype,"outDistance",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{overridePolicy(e){return{enabled:null!=e||null!=this.start&&this.start>0}}}}})],F.prototype,"where",void 0),(0,i.Cg)([(0,T.K)("where")],F.prototype,"writeWhere",null),F=j=(0,i.Cg)([(0,a.$K)("esri.rest.support.Query")],F)},7562(e,t,r){r.d(t,{A:()=>d});var i,o=r(32198),s=r(66552),n=r(25482),a=r(4718),l=r(91429),p=r(43937);const u=new s.J({count:"count",sum:"sum",min:"min",max:"max",avg:"avg",stddev:"stddev",var:"var",exceedslimit:"exceedslimit",percentile_cont:"percentile-continuous",percentile_disc:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate"});let d=i=class extends n.o{constructor(e){super(e),this.maxPointCount=void 0,this.maxRecordCount=void 0,this.maxVertexCount=void 0,this.onStatisticField=null,this.outStatisticFieldName=null,this.statisticType=null,this.statisticParameters=null}writeStatisticParameters(e,t){"percentile-continuous"!==this.statisticType&&"percentile-discrete"!==this.statisticType||(t.statisticParameters=(0,a.o8)(e))}clone(){return new i({maxPointCount:this.maxPointCount,maxRecordCount:this.maxRecordCount,maxVertexCount:this.maxVertexCount,onStatisticField:this.onStatisticField,outStatisticFieldName:this.outStatisticFieldName,statisticType:this.statisticType,statisticParameters:(0,a.o8)(this.statisticParameters)})}};(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxPointCount",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxRecordCount",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],d.prototype,"maxVertexCount",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"onStatisticField",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"outStatisticFieldName",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{read:{source:"statisticType",reader:u.read},write:{target:"statisticType",writer:u.write}}})],d.prototype,"statisticType",void 0),(0,o.Cg)([(0,l.MZ)({type:Object})],d.prototype,"statisticParameters",void 0),(0,o.Cg)([(0,p.K)("statisticParameters")],d.prototype,"writeStatisticParameters",null),d=i=(0,o.Cg)([(0,l.$K)("esri.rest.support.StatisticDefinition")],d)},58174(e,t,r){const i=new(r(66552).J)({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"});r.d(t,["x",0,i])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9789],{78247(e,t,i){i.d(t,{A:()=>pe});var n,o=i(32198),s=i(69540),r=i(25482),p=i(3483),l=i(91429),a=i(36005);let u=n=class extends r.o{constructor(e){super(e),this.expression=null,this.name=null,this.returnType="boolean",this.title=null}clone(){return new n({name:this.name,title:this.title,expression:this.expression,returnType:this.returnType})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"expression",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,o.Cg)([(0,l.MZ)({type:["boolean","date","dictionary","number","string"],json:{write:!0}})],u.prototype,"returnType",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"title",void 0),u=n=(0,o.Cg)([(0,l.$K)("esri.form.ExpressionInfo")],u);const y=u;var m=i(4718),c=i(79901),d=i(43937),h=i(28787),g=i(56507);let w=class extends((0,s.OU)(r.o)){constructor(){super(...arguments),this.type=null}};(0,o.Cg)([(0,l.MZ)()],w.prototype,"type",void 0),w=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.Input")],w);const C=w,x=["any","capture","upload"];let M=class extends C{constructor(e){super(e),this.type="audio",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,l.MZ)({type:["audio"],readOnly:!0,json:{write:!0}})],M.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:x,json:{write:!0}})],M.prototype,"inputMethod",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxDuration",void 0),M=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.AudioInput")],M);const v=M;let f=class extends C{constructor(e){super(e),this.type="document",this.maxFileSize=null}};(0,o.Cg)([(0,l.MZ)({type:["document"],readOnly:!0,json:{write:!0}})],f.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],f.prototype,"maxFileSize",void 0),f=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.DocumentInput")],f);const b=f;let Z=class extends C{constructor(e){super(e),this.type="image",this.inputMethod="any",this.maxImageSize=null}};(0,o.Cg)([(0,l.MZ)({type:["image"],readOnly:!0,json:{write:!0}})],Z.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:x,json:{write:!0}})],Z.prototype,"inputMethod",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],Z.prototype,"maxImageSize",void 0),Z=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.ImageInput")],Z);const j=Z;let S=class extends C{constructor(e){super(e),this.type="video",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,l.MZ)({type:["video"],readOnly:!0,json:{write:!0}})],S.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:x,json:{write:!0}})],S.prototype,"inputMethod",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],S.prototype,"maxDuration",void 0),S=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.VideoInput")],S);const E=S;let T=class extends C{constructor(e){super(e),this.type="signature",this.inputMethod="any"}};(0,o.Cg)([(0,l.MZ)({type:["signature"],readOnly:!0,json:{write:!0}})],T.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:x,json:{write:!0}})],T.prototype,"inputMethod",void 0),T=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.SignatureInput")],T);const K=T;function N(e){return{nestableTypes:{base:C,key:"type",typeMap:{audio:v,document:b,image:j,signature:K,video:E}},allTypes:{base:C,key:"type",typeMap:{attachment:e,audio:v,document:b,image:j,signature:K,video:E}}}}let A=class extends C{constructor(e){super(e),this.type="attachment",this.attachmentAssociationType="exact"}get inputTypes(){return this._get("inputTypes")??null}set inputTypes(e){this._set("inputTypes",e)}castInputs(e){return function(e,t){return e?e.map(e=>(0,g.aq)(t.nestableTypes,e)):null}(e,I)}readInputs(e,t){const i=function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>i[e.type].fromJSON(e))}(t.inputTypes,I);return null==i||Array.isArray(i)&&i.length<1?[new j,new b,new E,new v]:i}writeInputs(e,t){(null==e||Array.isArray(e)&&e.length<1)&&(e=[new j,new b,new E,new v]),t.inputTypes=function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>e.toJSON())}(e,I)}};(0,o.Cg)([(0,l.MZ)({type:["attachment"],readOnly:!0,json:{write:!0}})],A.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:["any","exact","exactOrNone"],json:{write:!0}})],A.prototype,"attachmentAssociationType",void 0),(0,o.Cg)([(0,l.MZ)({json:{write:{isRequired:!0,writerEnsuresNonNull:!0}}})],A.prototype,"inputTypes",null),(0,o.Cg)([(0,l.wg)("inputTypes")],A.prototype,"castInputs",null),(0,o.Cg)([(0,a.w)("inputTypes")],A.prototype,"readInputs",null),(0,o.Cg)([(0,d.K)("inputTypes")],A.prototype,"writeInputs",null),A=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.AttachmentInput")],A);const I=N(A);var O;const F=N(A);let $=O=class extends h.A{constructor(e){super(e),this.allowUserRename=!0,this.attachmentKeyword=null,this.displayFilename=!1,this.editableExpression=null,this.filenameExpression='StandardizeFilename(`${$formElement.attachmentKeyword}_${Text(Now(), "YMMDDHHmmss")}`)',this.input=null,this.maxAttachmentCount=null,this.minAttachmentCount=null,this.type="attachment",this.useOriginalFilename=!0}clone(){return new O({allowUserRename:this.allowUserRename,attachmentKeyword:this.attachmentKeyword,description:this.description,displayFilename:this.displayFilename,editableExpression:this.editableExpression,filenameExpression:this.filenameExpression,input:this.input?.clone(),label:this.label,maxAttachmentCount:this.maxAttachmentCount,minAttachmentCount:this.minAttachmentCount,useOriginalFilename:this.useOriginalFilename,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"allowUserRename",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],$.prototype,"attachmentKeyword",void 0),(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"displayFilename",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],$.prototype,"editableExpression",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],$.prototype,"filenameExpression",void 0),(0,o.Cg)([(0,l.MZ)({types:F.allTypes,json:{read:{source:"inputType"},write:{target:"inputType",isRequired:!0}}})],$.prototype,"input",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],$.prototype,"maxAttachmentCount",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],$.prototype,"minAttachmentCount",void 0),(0,o.Cg)([(0,l.MZ)({type:["attachment"],readOnly:!0,json:{read:!1,write:!0}})],$.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"useOriginalFilename",void 0),$=O=(0,o.Cg)([(0,l.$K)("esri.form.elements.AttachmentElement")],$);const k=$;var R,V=i(89909),D=i(49852);let L=R=class extends h.A{constructor(e){super(e),this.displayCount=null,this.displayType="list",this.editableExpression=null,this.orderByFields=null,this.relationshipId=null,this.type="relationship"}clone(){return new R({description:this.description,displayCount:this.displayCount,displayType:this.displayType,editableExpression:this.editableExpression,label:this.label,orderByFields:(0,m.o8)(this.orderByFields),relationshipId:this.relationshipId,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],L.prototype,"displayCount",void 0),(0,o.Cg)([(0,l.MZ)({type:["list"],json:{write:!0}})],L.prototype,"displayType",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],L.prototype,"editableExpression",void 0),(0,o.Cg)([(0,l.MZ)({type:[D.A],json:{write:!0}})],L.prototype,"orderByFields",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],L.prototype,"relationshipId",void 0),(0,o.Cg)([(0,l.MZ)({type:["relationship"],json:{read:!1,write:!0}})],L.prototype,"type",void 0),L=R=(0,o.Cg)([(0,l.$K)("esri.form.elements.RelationshipElement")],L);const B=L;var q;let W=q=class extends h.A{constructor(e){super(e),this.text=null,this.textFormat="plain-text",this.type="text"}clone(){return new q({text:this.text,textFormat:this.textFormat,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],W.prototype,"text",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],W.prototype,"textFormat",void 0),(0,o.Cg)([(0,l.MZ)({type:["text"],readOnly:!0,json:{read:!1,write:!0}})],W.prototype,"type",void 0),W=q=(0,o.Cg)([(0,l.$K)("esri.form.elements.TextElement")],W);const U=W;var G=i(83342);let _=class extends((0,s.OU)(h.A)){constructor(e){super(e),this.associationTypes=null,this.editableExpression=null,this.type="utilityNetworkAssociations"}};(0,o.Cg)([(0,l.MZ)({type:[G.A],json:{write:{isRequired:!0}}})],_.prototype,"associationTypes",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],_.prototype,"editableExpression",void 0),(0,o.Cg)([(0,l.MZ)({type:["utilityNetworkAssociations"],json:{read:!1,write:!0}})],_.prototype,"type",void 0),_=(0,o.Cg)([(0,l.$K)("esri.form.elements.UtilityNetworkAssociationsElement")],_);const P=_,z=e=>"field"===e.type,J=e=>"group"===e.type,H=e=>"text"===e.type;function Y(e){return{typesWithGroup:{base:h.A,key:"type",typeMap:{attachment:k,field:V.A,group:e,relationship:B,text:U,utilityNetworkAssociations:P}},typesWithoutGroup:{base:h.A,key:"type",typeMap:{attachment:k,field:V.A,relationship:B,text:U,utilityNetworkAssociations:P}}}}function Q(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>n[e.type].fromJSON(e))}function X(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>e.toJSON())}function ee(e,t,i=!0){return e?e.map(e=>(0,g.aq)(i?t.typesWithGroup:t.typesWithoutGroup,e)):null}var te;let ie=te=class extends h.A{constructor(e){super(e),this.initialState="expanded",this.type="group"}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,ne,!1)}readElements(e,t){return Q(t.formElements,ne,!1)}writeElements(e,t){t.formElements=X(e,ne,!1)}clone(){return new te({description:this.description,elements:(0,m.o8)(this.elements),initialState:this.initialState,label:this.label,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,l.MZ)({json:{write:!0}})],ie.prototype,"elements",null),(0,o.Cg)([(0,c.w)("elements")],ie.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],ie.prototype,"readElements",null),(0,o.Cg)([(0,d.K)("elements")],ie.prototype,"writeElements",null),(0,o.Cg)([(0,l.MZ)({type:["collapsed","expanded"],json:{write:!0}})],ie.prototype,"initialState",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{read:!1,write:!0}})],ie.prototype,"type",void 0),ie=te=(0,o.Cg)([(0,l.$K)("esri.form.elements.GroupElement")],ie);const ne=Y(ie),oe=ie;var se=i(30524);const re=Y(oe);let pe=class extends((0,s.OU)(r.o)){constructor(e){super(e),this.description=null,this.expressionInfos=null,this.preserveFieldValuesWhenHidden=!1,this.supportsAttachmentElements=!1,this.title=null}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,re)}readElements(e,t){return Q(t.formElements,re)}writeElements(e,t){t.formElements=X(e,re)}async getFieldsUsed(e,t){const i=new Set,{description:n,elements:o,expressionInfos:s,title:r}=this;if(ue(i,e,n),ue(i,e,r),!o)return[];const p=function(e,t){if(!t||0===t.length)return[];const i=ae(e),n=[];for(const e of t)i.has(e.name)&&n.push(e.expression);return n}(o,s).map(t=>(0,se.Dx)(i,e,null,t));await Promise.all(p);for(const n of o)le(i,{fieldsIndex:e,relationships:t},n);return Array.from(i).sort()}};function le(e,t,i){const{fieldsIndex:n}=t;if(n?.fields.length!==e.size)switch(ue(e,n,i.label),ue(e,n,i.description),i.type){case"field":(0,se.rq)(e,n,i.fieldName);break;case"group":i.elements.forEach(i=>le(e,t,i));break;case"relationship":if(t.relationships){const o=t.relationships.find(e=>e.id===i.relationshipId);o&&(0,se.rq)(e,n,o.keyField)}(0,se._w)(e,n,i.orderByFields?.map(e=>e.field));break;case"text":ue(e,n,i.text)}}function ae(e){const t=new Set;for(const i of e)if((0,p.kb)(t,i.visibilityExpression),!H(i))if(J(i))(0,p.FB)(t,ae(i.elements));else if((0,p.kb)(t,i.editableExpression),z(i)){const{requiredExpression:e,valueExpression:n}=i;(0,p.FB)(t,[e,n])}return t}function ue(e,t,i){(0,se._w)(e,t,(0,se.nw)(i))}(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],pe.prototype,"description",void 0),(0,o.Cg)([(0,l.MZ)({json:{write:!0}})],pe.prototype,"elements",null),(0,o.Cg)([(0,l.wg)("elements")],pe.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],pe.prototype,"readElements",null),(0,o.Cg)([(0,d.K)("elements")],pe.prototype,"writeElements",null),(0,o.Cg)([(0,l.MZ)({type:[y],json:{write:!0}})],pe.prototype,"expressionInfos",void 0),(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{default:!1,write:!0}})],pe.prototype,"preserveFieldValuesWhenHidden",void 0),(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{default:!1,write:!0}})],pe.prototype,"supportsAttachmentElements",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],pe.prototype,"title",void 0),pe=(0,o.Cg)([(0,l.$K)("esri.form.FormTemplate")],pe)},28787(e,t,i){i.d(t,{A:()=>p});var n=i(32198),o=i(25482),s=i(10107),r=i(64108);let p=class extends o.o{constructor(e){super(e),this.description=null,this.label=null,this.type=null,this.visibilityExpression=null}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"description",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,n.Cg)([(0,s.MZ)()],p.prototype,"type",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"visibilityExpression",void 0),p=(0,n.Cg)([(0,r.$)("esri.form.elements.Element")],p)},89909(e,t,i){i.d(t,{A:()=>ce});var n=i(32198),o=i(91429),s=i(28787),r=i(25482);let p=class extends r.o{constructor(e){super(e),this.type=null}};(0,n.Cg)([(0,o.MZ)()],p.prototype,"type",void 0),p=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.Input")],p);const l=p;let a=class extends l{constructor(e){super(e),this.maxLength=null,this.minLength=0}};(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxLength",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"minLength",void 0),a=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextInput")],a);const u=a;var y;let m=y=class extends u{constructor(e){super(e),this.type="barcode-scanner"}clone(){return new y({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["barcode-scanner"],json:{read:!1,write:!0}})],m.prototype,"type",void 0),m=y=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.BarcodeScannerInput")],m);const c=m;let d=class extends l{constructor(){super(...arguments),this.noValueOptionLabel=null,this.showNoValueOption=!0}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],d.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"showNoValueOption",void 0),d=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.SingleChoiceInput")],d);const h=d;var g;let w=g=class extends h{constructor(e){super(e),this.type="combo-box"}clone(){return new g({showNoValueOption:this.showNoValueOption,noValueOptionLabel:this.noValueOptionLabel})}};(0,n.Cg)([(0,o.MZ)({type:["combo-box"],json:{read:!1,write:!0}})],w.prototype,"type",void 0),w=g=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.ComboBoxInput")],w);const C=w;var x,M=i(36005),v=i(43937);function f(e){return null!=e?e:null}function b(e){return null!=e?e:null}let Z=x=class extends l{constructor(e){super(e),this.max=null,this.min=null,this.type="date-picker"}readMax(e,t){return f(t.max)}writeMax(e,t){t.max=b(e)}readMin(e,t){return f(t.min)}writeMin(e,t){t.min=b(e)}clone(){return new x({max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],Z.prototype,"max",void 0),(0,n.Cg)([(0,M.w)("max")],Z.prototype,"readMax",null),(0,n.Cg)([(0,v.K)("max")],Z.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],Z.prototype,"min",void 0),(0,n.Cg)([(0,M.w)("min")],Z.prototype,"readMin",null),(0,n.Cg)([(0,v.K)("min")],Z.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["date-picker"],json:{read:!1,write:!0}})],Z.prototype,"type",void 0),Z=x=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DatePickerInput")],Z);const j=Z;var S;function E(e){return null!=e?e:null}function T(e){return null!=e?e:null}let K=S=class extends l{constructor(e){super(e),this.includeTimeOffset=!0,this.max=null,this.min=null,this.timeResolution="minutes",this.type="timestampoffset-picker"}readMax(e,t){return E(t.max)}writeMax(e,t){t.max=T(e)}readMin(e,t){return E(t.min)}writeMin(e,t){t.min=T(e)}readTimeResolution(e,t){return E(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=T(e)}clone(){return new S({includeTimeOffset:this.includeTimeOffset,max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],K.prototype,"includeTimeOffset",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],K.prototype,"max",void 0),(0,n.Cg)([(0,M.w)("max")],K.prototype,"readMax",null),(0,n.Cg)([(0,v.K)("max")],K.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],K.prototype,"min",void 0),(0,n.Cg)([(0,M.w)("min")],K.prototype,"readMin",null),(0,n.Cg)([(0,v.K)("min")],K.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],K.prototype,"timeResolution",void 0),(0,n.Cg)([(0,M.w)("timeResolution")],K.prototype,"readTimeResolution",null),(0,n.Cg)([(0,v.K)("timeResolution")],K.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["timestampoffset-picker"],json:{read:!1,write:!0}})],K.prototype,"type",void 0),K=S=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimeOffsetPickerInput")],K);const N=K;var A;function I(e){return null!=e?new Date(e):null}function O(e){return e?e.getTime():null}let F=A=class extends l{constructor(e){super(e),this.includeTime=!1,this.max=null,this.min=null,this.type="datetime-picker"}readMax(e,t){return I(t.max)}writeMax(e,t){t.max=O(e)}readMin(e,t){return I(t.min)}writeMin(e,t){t.min=O(e)}clone(){return new A({includeTime:this.includeTime,max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"includeTime",void 0),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],F.prototype,"max",void 0),(0,n.Cg)([(0,M.w)("max")],F.prototype,"readMax",null),(0,n.Cg)([(0,v.K)("max")],F.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],F.prototype,"min",void 0),(0,n.Cg)([(0,M.w)("min")],F.prototype,"readMin",null),(0,n.Cg)([(0,v.K)("min")],F.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["datetime-picker"],json:{read:!1,write:!0}})],F.prototype,"type",void 0),F=A=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimePickerInput")],F);const $=F;var k;let R=k=class extends h{constructor(e){super(e),this.choiceExpression=null,this.type="dynamic-choice"}clone(){return new k({choiceExpression:this.choiceExpression,showNoValueOption:this.showNoValueOption,noValueOptionLabel:this.noValueOptionLabel})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],R.prototype,"choiceExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:["dynamic-choice"],json:{read:!1,write:!0}})],R.prototype,"type",void 0),R=k=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DynamicChoiceInput")],R);const V=R;var D;let L=D=class extends r.o{constructor(e){super(e),this.label="",this.value=""}clone(){return new D({label:this.label,value:this.value})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],L.prototype,"label",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],L.prototype,"value",void 0),L=D=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.multipleChoice.Choice")],L);const B=L;var q;let W=q=class extends r.o{constructor(e){super(e),this.fieldName="",this.hint=null,this.label=null}clone(){return new q({fieldName:this.fieldName,hint:this.hint,label:this.label})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],W.prototype,"fieldName",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],W.prototype,"hint",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],W.prototype,"label",void 0),W=q=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.multipleChoice.OtherChoice")],W);const U=W;var G;let _=G=class extends l{constructor(e){super(e),this.choiceDelimiter=",",this.choices=[],this.includeSelectAllChoices=null,this.maximumChoices=null,this.minimumChoices=null,this.otherChoice=null,this.type="multiple-choice"}clone(){return new G({choiceDelimiter:this.choiceDelimiter,choices:this.choices.map(e=>e.clone()),includeSelectAllChoices:this.includeSelectAllChoices,maximumChoices:this.maximumChoices,minimumChoices:this.minimumChoices,otherChoice:this.otherChoice?.clone()??null})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],_.prototype,"choiceDelimiter",void 0),(0,n.Cg)([(0,o.MZ)({type:[B],json:{write:!0}})],_.prototype,"choices",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],_.prototype,"includeSelectAllChoices",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],_.prototype,"maximumChoices",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],_.prototype,"minimumChoices",void 0),(0,n.Cg)([(0,o.MZ)({type:U,json:{write:!0}})],_.prototype,"otherChoice",void 0),(0,n.Cg)([(0,o.MZ)({type:["multiple-choice"],json:{read:!1,write:!0}})],_.prototype,"type",void 0),_=G=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.MultipleChoiceInput")],_);const P=_;var z;let J=z=class extends h{constructor(e){super(e),this.type="radio-buttons"}clone(){return new z({noValueOptionLabel:this.noValueOptionLabel,showNoValueOption:this.showNoValueOption})}};(0,n.Cg)([(0,o.MZ)({type:["radio-buttons"],json:{read:!1,write:!0}})],J.prototype,"type",void 0),J=z=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.RadioButtonsInput")],J);const H=J;var Y;let Q=Y=class extends l{constructor(e){super(e),this.offValue=null,this.onValue=null,this.type="switch"}clone(){return new Y({offValue:this.offValue,onValue:this.onValue})}};(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],Q.prototype,"offValue",void 0),(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],Q.prototype,"onValue",void 0),(0,n.Cg)([(0,o.MZ)({type:["switch"],json:{read:!1,write:!0}})],Q.prototype,"type",void 0),Q=Y=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.SwitchInput")],Q);const X=Q;var ee;let te=ee=class extends u{constructor(e){super(e),this.type="text-area"}clone(){return new ee({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-area"],json:{read:!1,write:!0}})],te.prototype,"type",void 0),te=ee=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextAreaInput")],te);const ie=te;var ne;let oe=ne=class extends u{constructor(e){super(e),this.type="text-box"}clone(){return new ne({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-box"],json:{read:!1,write:!0}})],oe.prototype,"type",void 0),oe=ne=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextBoxInput")],oe);const se=oe;var re;function pe(e){return null!=e?e:null}function le(e){return null!=e?e:null}let ae=re=class extends l{constructor(e){super(e),this.max=null,this.min=null,this.timeResolution="minutes",this.type="time-picker"}readMax(e,t){return pe(t.max)}writeMax(e,t){t.max=le(e)}readMin(e,t){return pe(t.min)}writeMin(e,t){t.min=le(e)}readTimeResolution(e,t){return pe(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=le(e)}clone(){return new re({max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],ae.prototype,"max",void 0),(0,n.Cg)([(0,M.w)("max")],ae.prototype,"readMax",null),(0,n.Cg)([(0,v.K)("max")],ae.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],ae.prototype,"min",void 0),(0,n.Cg)([(0,M.w)("min")],ae.prototype,"readMin",null),(0,n.Cg)([(0,v.K)("min")],ae.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],ae.prototype,"timeResolution",void 0),(0,n.Cg)([(0,M.w)("timeResolution")],ae.prototype,"readTimeResolution",null),(0,n.Cg)([(0,v.K)("timeResolution")],ae.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["time-picker"],json:{read:!1,write:!0}})],ae.prototype,"type",void 0),ae=re=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TimePickerInput")],ae);const ue={base:l,key:"type",typeMap:{"barcode-scanner":c,"combo-box":C,"date-picker":j,"datetime-picker":$,"dynamic-choice":V,"multiple-choice":P,"timestampoffset-picker":N,"datetimeoffset-picker":N,"radio-buttons":H,switch:X,"text-area":ie,"text-box":se,"time-picker":ae}};var ye,me=i(8631);let ce=ye=class extends s.A{constructor(e){super(e),this.domain=null,this.editable=null,this.editableExpression=null,this.fieldName=null,this.hint=null,this.input=null,this.requiredExpression=null,this.type="field",this.valueExpression=null}clone(){return new ye({description:this.description,domain:this.domain?.clone()??null,editable:this.editable,editableExpression:this.editableExpression,fieldName:this.fieldName,hint:this.hint,input:this.input?.clone(),label:this.label,requiredExpression:this.requiredExpression,valueExpression:this.valueExpression,visibilityExpression:this.visibilityExpression})}};(0,n.Cg)([(0,o.MZ)({types:me.g,json:{read:{reader:me.r},write:!0}})],ce.prototype,"domain",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],ce.prototype,"editable",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],ce.prototype,"editableExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],ce.prototype,"fieldName",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],ce.prototype,"hint",void 0),(0,n.Cg)([(0,o.MZ)({types:ue,json:{read:{source:"inputType"},write:{target:"inputType"}}})],ce.prototype,"input",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],ce.prototype,"requiredExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{read:!1,write:!0}})],ce.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],ce.prototype,"valueExpression",void 0),ce=ye=(0,n.Cg)([(0,o.$K)("esri.form.elements.FieldElement")],ce)},6455(e,t,i){i.d(t,{FJ:()=>w,Dp:()=>C,KV:()=>x});var n=i(32198),o=i(93637),s=i(91429),r=i(89317),p=i(69540),l=i(7762),a=i(25482),u=i(83960),y=i(13069);const m={write:{overridePolicy:(e,t,i)=>({enabled:!i||"scale"===i.filterMode})}};let c=class extends((0,p.OU)(a.o)){constructor(e){super(e),this.id=(0,y.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],c.prototype,"id",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:m})],c.prototype,"maxScale",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:m})],c.prototype,"minScale",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],c.prototype,"title",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],c.prototype,"where",void 0),c=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilter")],c);var d=i(41560),h=i(43937);let g=class extends((0,p.OU)(a.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(l.A.ofType(c)),this.mode="manual"}writeFilters(e,t,i,n){const o=e.toArray();"scale"===this.mode&&o.sort((e,t)=>{const i=(0,u.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===i?n:i}),t[i]=o.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,d.mW)(this,t))}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{overridePolicy:(e,t,i)=>({enabled:"manual"===i.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A.ofType(c),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,n.Cg)([(0,h.K)("filters")],g.prototype,"writeFilters",null),(0,n.Cg)([(0,s.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilterInfo")],g);const w=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,s.MZ)(C)],i.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,s.MZ)(x)],i.prototype,"displayFilterInfo",void 0),i=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.DisplayFilteredLayer")],i),i},C={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:r.K,writer(e,t,i){(0,o.sM)(i,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},x={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:r.K},origins:{"web-scene":{write:!1,read:!1}}}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9789],{78247(e,t,i){i.d(t,{A:()=>pe});var n,o=i(32198),s=i(69540),r=i(25482),p=i(3483),l=i(91429),a=i(36005);let u=n=class extends r.o{constructor(e){super(e),this.expression=null,this.name=null,this.returnType="boolean",this.title=null}clone(){return new n({name:this.name,title:this.title,expression:this.expression,returnType:this.returnType})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"expression",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,o.Cg)([(0,l.MZ)({type:["boolean","date","dictionary","number","string"],json:{write:!0}})],u.prototype,"returnType",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"title",void 0),u=n=(0,o.Cg)([(0,l.$K)("esri.form.ExpressionInfo")],u);const y=u;var m=i(4718),c=i(79901),d=i(43937),h=i(28787),g=i(78888);let w=class extends((0,s.OU)(r.o)){constructor(){super(...arguments),this.type=null}};(0,o.Cg)([(0,l.MZ)()],w.prototype,"type",void 0),w=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.Input")],w);const C=w,x=["any","capture","upload"];let M=class extends C{constructor(e){super(e),this.type="audio",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,l.MZ)({type:["audio"],readOnly:!0,json:{write:!0}})],M.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:x,json:{write:!0}})],M.prototype,"inputMethod",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxDuration",void 0),M=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.AudioInput")],M);const v=M;let f=class extends C{constructor(e){super(e),this.type="document",this.maxFileSize=null}};(0,o.Cg)([(0,l.MZ)({type:["document"],readOnly:!0,json:{write:!0}})],f.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],f.prototype,"maxFileSize",void 0),f=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.DocumentInput")],f);const b=f;let Z=class extends C{constructor(e){super(e),this.type="image",this.inputMethod="any",this.maxImageSize=null}};(0,o.Cg)([(0,l.MZ)({type:["image"],readOnly:!0,json:{write:!0}})],Z.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:x,json:{write:!0}})],Z.prototype,"inputMethod",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],Z.prototype,"maxImageSize",void 0),Z=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.ImageInput")],Z);const j=Z;let S=class extends C{constructor(e){super(e),this.type="video",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,l.MZ)({type:["video"],readOnly:!0,json:{write:!0}})],S.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:x,json:{write:!0}})],S.prototype,"inputMethod",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],S.prototype,"maxDuration",void 0),S=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.VideoInput")],S);const E=S;let T=class extends C{constructor(e){super(e),this.type="signature",this.inputMethod="any"}};(0,o.Cg)([(0,l.MZ)({type:["signature"],readOnly:!0,json:{write:!0}})],T.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:x,json:{write:!0}})],T.prototype,"inputMethod",void 0),T=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.SignatureInput")],T);const K=T;function N(e){return{nestableTypes:{base:C,key:"type",typeMap:{audio:v,document:b,image:j,signature:K,video:E}},allTypes:{base:C,key:"type",typeMap:{attachment:e,audio:v,document:b,image:j,signature:K,video:E}}}}let A=class extends C{constructor(e){super(e),this.type="attachment",this.attachmentAssociationType="exact"}get inputTypes(){return this._get("inputTypes")??null}set inputTypes(e){this._set("inputTypes",e)}castInputs(e){return function(e,t){return e?e.map(e=>(0,g.aq)(t.nestableTypes,e)):null}(e,I)}readInputs(e,t){const i=function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>i[e.type].fromJSON(e))}(t.inputTypes,I);return null==i||Array.isArray(i)&&i.length<1?[new j,new b,new E,new v]:i}writeInputs(e,t){(null==e||Array.isArray(e)&&e.length<1)&&(e=[new j,new b,new E,new v]),t.inputTypes=function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>e.toJSON())}(e,I)}};(0,o.Cg)([(0,l.MZ)({type:["attachment"],readOnly:!0,json:{write:!0}})],A.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:["any","exact","exactOrNone"],json:{write:!0}})],A.prototype,"attachmentAssociationType",void 0),(0,o.Cg)([(0,l.MZ)({json:{write:{isRequired:!0,writerEnsuresNonNull:!0}}})],A.prototype,"inputTypes",null),(0,o.Cg)([(0,l.wg)("inputTypes")],A.prototype,"castInputs",null),(0,o.Cg)([(0,a.w)("inputTypes")],A.prototype,"readInputs",null),(0,o.Cg)([(0,d.K)("inputTypes")],A.prototype,"writeInputs",null),A=(0,o.Cg)([(0,l.$K)("esri.form.elements.inputs.attachments.AttachmentInput")],A);const I=N(A);var O;const F=N(A);let $=O=class extends h.A{constructor(e){super(e),this.allowUserRename=!0,this.attachmentKeyword=null,this.displayFilename=!1,this.editableExpression=null,this.filenameExpression='StandardizeFilename(`${$formElement.attachmentKeyword}_${Text(Now(), "YMMDDHHmmss")}`)',this.input=null,this.maxAttachmentCount=null,this.minAttachmentCount=null,this.type="attachment",this.useOriginalFilename=!0}clone(){return new O({allowUserRename:this.allowUserRename,attachmentKeyword:this.attachmentKeyword,description:this.description,displayFilename:this.displayFilename,editableExpression:this.editableExpression,filenameExpression:this.filenameExpression,input:this.input?.clone(),label:this.label,maxAttachmentCount:this.maxAttachmentCount,minAttachmentCount:this.minAttachmentCount,useOriginalFilename:this.useOriginalFilename,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"allowUserRename",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],$.prototype,"attachmentKeyword",void 0),(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"displayFilename",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],$.prototype,"editableExpression",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],$.prototype,"filenameExpression",void 0),(0,o.Cg)([(0,l.MZ)({types:F.allTypes,json:{read:{source:"inputType"},write:{target:"inputType",isRequired:!0}}})],$.prototype,"input",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],$.prototype,"maxAttachmentCount",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],$.prototype,"minAttachmentCount",void 0),(0,o.Cg)([(0,l.MZ)({type:["attachment"],readOnly:!0,json:{read:!1,write:!0}})],$.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"useOriginalFilename",void 0),$=O=(0,o.Cg)([(0,l.$K)("esri.form.elements.AttachmentElement")],$);const k=$;var R,V=i(89909),D=i(49852);let L=R=class extends h.A{constructor(e){super(e),this.displayCount=null,this.displayType="list",this.editableExpression=null,this.orderByFields=null,this.relationshipId=null,this.type="relationship"}clone(){return new R({description:this.description,displayCount:this.displayCount,displayType:this.displayType,editableExpression:this.editableExpression,label:this.label,orderByFields:(0,m.o8)(this.orderByFields),relationshipId:this.relationshipId,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],L.prototype,"displayCount",void 0),(0,o.Cg)([(0,l.MZ)({type:["list"],json:{write:!0}})],L.prototype,"displayType",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],L.prototype,"editableExpression",void 0),(0,o.Cg)([(0,l.MZ)({type:[D.A],json:{write:!0}})],L.prototype,"orderByFields",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],L.prototype,"relationshipId",void 0),(0,o.Cg)([(0,l.MZ)({type:["relationship"],json:{read:!1,write:!0}})],L.prototype,"type",void 0),L=R=(0,o.Cg)([(0,l.$K)("esri.form.elements.RelationshipElement")],L);const B=L;var q;let W=q=class extends h.A{constructor(e){super(e),this.text=null,this.textFormat="plain-text",this.type="text"}clone(){return new q({text:this.text,textFormat:this.textFormat,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],W.prototype,"text",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],W.prototype,"textFormat",void 0),(0,o.Cg)([(0,l.MZ)({type:["text"],readOnly:!0,json:{read:!1,write:!0}})],W.prototype,"type",void 0),W=q=(0,o.Cg)([(0,l.$K)("esri.form.elements.TextElement")],W);const U=W;var G=i(83342);let _=class extends((0,s.OU)(h.A)){constructor(e){super(e),this.associationTypes=null,this.editableExpression=null,this.type="utilityNetworkAssociations"}};(0,o.Cg)([(0,l.MZ)({type:[G.A],json:{write:{isRequired:!0}}})],_.prototype,"associationTypes",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],_.prototype,"editableExpression",void 0),(0,o.Cg)([(0,l.MZ)({type:["utilityNetworkAssociations"],json:{read:!1,write:!0}})],_.prototype,"type",void 0),_=(0,o.Cg)([(0,l.$K)("esri.form.elements.UtilityNetworkAssociationsElement")],_);const P=_,z=e=>"field"===e.type,J=e=>"group"===e.type,H=e=>"text"===e.type;function Y(e){return{typesWithGroup:{base:h.A,key:"type",typeMap:{attachment:k,field:V.A,group:e,relationship:B,text:U,utilityNetworkAssociations:P}},typesWithoutGroup:{base:h.A,key:"type",typeMap:{attachment:k,field:V.A,relationship:B,text:U,utilityNetworkAssociations:P}}}}function Q(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>n[e.type].fromJSON(e))}function X(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>e.toJSON())}function ee(e,t,i=!0){return e?e.map(e=>(0,g.aq)(i?t.typesWithGroup:t.typesWithoutGroup,e)):null}var te;let ie=te=class extends h.A{constructor(e){super(e),this.initialState="expanded",this.type="group"}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,ne,!1)}readElements(e,t){return Q(t.formElements,ne,!1)}writeElements(e,t){t.formElements=X(e,ne,!1)}clone(){return new te({description:this.description,elements:(0,m.o8)(this.elements),initialState:this.initialState,label:this.label,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,l.MZ)({json:{write:!0}})],ie.prototype,"elements",null),(0,o.Cg)([(0,c.w)("elements")],ie.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],ie.prototype,"readElements",null),(0,o.Cg)([(0,d.K)("elements")],ie.prototype,"writeElements",null),(0,o.Cg)([(0,l.MZ)({type:["collapsed","expanded"],json:{write:!0}})],ie.prototype,"initialState",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{read:!1,write:!0}})],ie.prototype,"type",void 0),ie=te=(0,o.Cg)([(0,l.$K)("esri.form.elements.GroupElement")],ie);const ne=Y(ie),oe=ie;var se=i(30524);const re=Y(oe);let pe=class extends((0,s.OU)(r.o)){constructor(e){super(e),this.description=null,this.expressionInfos=null,this.preserveFieldValuesWhenHidden=!1,this.supportsAttachmentElements=!1,this.title=null}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,re)}readElements(e,t){return Q(t.formElements,re)}writeElements(e,t){t.formElements=X(e,re)}async getFieldsUsed(e,t){const i=new Set,{description:n,elements:o,expressionInfos:s,title:r}=this;if(ue(i,e,n),ue(i,e,r),!o)return[];const p=function(e,t){if(!t||0===t.length)return[];const i=ae(e),n=[];for(const e of t)i.has(e.name)&&n.push(e.expression);return n}(o,s).map(t=>(0,se.Dx)(i,e,null,t));await Promise.all(p);for(const n of o)le(i,{fieldsIndex:e,relationships:t},n);return Array.from(i).sort()}};function le(e,t,i){const{fieldsIndex:n}=t;if(n?.fields.length!==e.size)switch(ue(e,n,i.label),ue(e,n,i.description),i.type){case"field":(0,se.rq)(e,n,i.fieldName);break;case"group":i.elements.forEach(i=>le(e,t,i));break;case"relationship":if(t.relationships){const o=t.relationships.find(e=>e.id===i.relationshipId);o&&(0,se.rq)(e,n,o.keyField)}(0,se._w)(e,n,i.orderByFields?.map(e=>e.field));break;case"text":ue(e,n,i.text)}}function ae(e){const t=new Set;for(const i of e)if((0,p.kb)(t,i.visibilityExpression),!H(i))if(J(i))(0,p.FB)(t,ae(i.elements));else if((0,p.kb)(t,i.editableExpression),z(i)){const{requiredExpression:e,valueExpression:n}=i;(0,p.FB)(t,[e,n])}return t}function ue(e,t,i){(0,se._w)(e,t,(0,se.nw)(i))}(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],pe.prototype,"description",void 0),(0,o.Cg)([(0,l.MZ)({json:{write:!0}})],pe.prototype,"elements",null),(0,o.Cg)([(0,l.wg)("elements")],pe.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],pe.prototype,"readElements",null),(0,o.Cg)([(0,d.K)("elements")],pe.prototype,"writeElements",null),(0,o.Cg)([(0,l.MZ)({type:[y],json:{write:!0}})],pe.prototype,"expressionInfos",void 0),(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{default:!1,write:!0}})],pe.prototype,"preserveFieldValuesWhenHidden",void 0),(0,o.Cg)([(0,l.MZ)({type:Boolean,json:{default:!1,write:!0}})],pe.prototype,"supportsAttachmentElements",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],pe.prototype,"title",void 0),pe=(0,o.Cg)([(0,l.$K)("esri.form.FormTemplate")],pe)},28787(e,t,i){i.d(t,{A:()=>p});var n=i(32198),o=i(25482),s=i(10107),r=i(64108);let p=class extends o.o{constructor(e){super(e),this.description=null,this.label=null,this.type=null,this.visibilityExpression=null}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"description",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,n.Cg)([(0,s.MZ)()],p.prototype,"type",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],p.prototype,"visibilityExpression",void 0),p=(0,n.Cg)([(0,r.$)("esri.form.elements.Element")],p)},89909(e,t,i){i.d(t,{A:()=>ce});var n=i(32198),o=i(91429),s=i(28787),r=i(25482);let p=class extends r.o{constructor(e){super(e),this.type=null}};(0,n.Cg)([(0,o.MZ)()],p.prototype,"type",void 0),p=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.Input")],p);const l=p;let a=class extends l{constructor(e){super(e),this.maxLength=null,this.minLength=0}};(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxLength",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"minLength",void 0),a=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextInput")],a);const u=a;var y;let m=y=class extends u{constructor(e){super(e),this.type="barcode-scanner"}clone(){return new y({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["barcode-scanner"],json:{read:!1,write:!0}})],m.prototype,"type",void 0),m=y=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.BarcodeScannerInput")],m);const c=m;let d=class extends l{constructor(){super(...arguments),this.noValueOptionLabel=null,this.showNoValueOption=!0}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],d.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"showNoValueOption",void 0),d=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.SingleChoiceInput")],d);const h=d;var g;let w=g=class extends h{constructor(e){super(e),this.type="combo-box"}clone(){return new g({showNoValueOption:this.showNoValueOption,noValueOptionLabel:this.noValueOptionLabel})}};(0,n.Cg)([(0,o.MZ)({type:["combo-box"],json:{read:!1,write:!0}})],w.prototype,"type",void 0),w=g=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.ComboBoxInput")],w);const C=w;var x,M=i(36005),v=i(43937);function f(e){return null!=e?e:null}function b(e){return null!=e?e:null}let Z=x=class extends l{constructor(e){super(e),this.max=null,this.min=null,this.type="date-picker"}readMax(e,t){return f(t.max)}writeMax(e,t){t.max=b(e)}readMin(e,t){return f(t.min)}writeMin(e,t){t.min=b(e)}clone(){return new x({max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],Z.prototype,"max",void 0),(0,n.Cg)([(0,M.w)("max")],Z.prototype,"readMax",null),(0,n.Cg)([(0,v.K)("max")],Z.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],Z.prototype,"min",void 0),(0,n.Cg)([(0,M.w)("min")],Z.prototype,"readMin",null),(0,n.Cg)([(0,v.K)("min")],Z.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["date-picker"],json:{read:!1,write:!0}})],Z.prototype,"type",void 0),Z=x=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DatePickerInput")],Z);const j=Z;var S;function E(e){return null!=e?e:null}function T(e){return null!=e?e:null}let K=S=class extends l{constructor(e){super(e),this.includeTimeOffset=!0,this.max=null,this.min=null,this.timeResolution="minutes",this.type="timestampoffset-picker"}readMax(e,t){return E(t.max)}writeMax(e,t){t.max=T(e)}readMin(e,t){return E(t.min)}writeMin(e,t){t.min=T(e)}readTimeResolution(e,t){return E(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=T(e)}clone(){return new S({includeTimeOffset:this.includeTimeOffset,max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],K.prototype,"includeTimeOffset",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],K.prototype,"max",void 0),(0,n.Cg)([(0,M.w)("max")],K.prototype,"readMax",null),(0,n.Cg)([(0,v.K)("max")],K.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],K.prototype,"min",void 0),(0,n.Cg)([(0,M.w)("min")],K.prototype,"readMin",null),(0,n.Cg)([(0,v.K)("min")],K.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],K.prototype,"timeResolution",void 0),(0,n.Cg)([(0,M.w)("timeResolution")],K.prototype,"readTimeResolution",null),(0,n.Cg)([(0,v.K)("timeResolution")],K.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["timestampoffset-picker"],json:{read:!1,write:!0}})],K.prototype,"type",void 0),K=S=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimeOffsetPickerInput")],K);const N=K;var A;function I(e){return null!=e?new Date(e):null}function O(e){return e?e.getTime():null}let F=A=class extends l{constructor(e){super(e),this.includeTime=!1,this.max=null,this.min=null,this.type="datetime-picker"}readMax(e,t){return I(t.max)}writeMax(e,t){t.max=O(e)}readMin(e,t){return I(t.min)}writeMin(e,t){t.min=O(e)}clone(){return new A({includeTime:this.includeTime,max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],F.prototype,"includeTime",void 0),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],F.prototype,"max",void 0),(0,n.Cg)([(0,M.w)("max")],F.prototype,"readMax",null),(0,n.Cg)([(0,v.K)("max")],F.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],F.prototype,"min",void 0),(0,n.Cg)([(0,M.w)("min")],F.prototype,"readMin",null),(0,n.Cg)([(0,v.K)("min")],F.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["datetime-picker"],json:{read:!1,write:!0}})],F.prototype,"type",void 0),F=A=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimePickerInput")],F);const $=F;var k;let R=k=class extends h{constructor(e){super(e),this.choiceExpression=null,this.type="dynamic-choice"}clone(){return new k({choiceExpression:this.choiceExpression,showNoValueOption:this.showNoValueOption,noValueOptionLabel:this.noValueOptionLabel})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],R.prototype,"choiceExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:["dynamic-choice"],json:{read:!1,write:!0}})],R.prototype,"type",void 0),R=k=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DynamicChoiceInput")],R);const V=R;var D;let L=D=class extends r.o{constructor(e){super(e),this.label="",this.value=""}clone(){return new D({label:this.label,value:this.value})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],L.prototype,"label",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],L.prototype,"value",void 0),L=D=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.multipleChoice.Choice")],L);const B=L;var q;let W=q=class extends r.o{constructor(e){super(e),this.fieldName="",this.hint=null,this.label=null}clone(){return new q({fieldName:this.fieldName,hint:this.hint,label:this.label})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],W.prototype,"fieldName",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],W.prototype,"hint",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],W.prototype,"label",void 0),W=q=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.multipleChoice.OtherChoice")],W);const U=W;var G;let _=G=class extends l{constructor(e){super(e),this.choiceDelimiter=",",this.choices=[],this.includeSelectAllChoices=null,this.maximumChoices=null,this.minimumChoices=null,this.otherChoice=null,this.type="multiple-choice"}clone(){return new G({choiceDelimiter:this.choiceDelimiter,choices:this.choices.map(e=>e.clone()),includeSelectAllChoices:this.includeSelectAllChoices,maximumChoices:this.maximumChoices,minimumChoices:this.minimumChoices,otherChoice:this.otherChoice?.clone()??null})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],_.prototype,"choiceDelimiter",void 0),(0,n.Cg)([(0,o.MZ)({type:[B],json:{write:!0}})],_.prototype,"choices",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],_.prototype,"includeSelectAllChoices",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],_.prototype,"maximumChoices",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],_.prototype,"minimumChoices",void 0),(0,n.Cg)([(0,o.MZ)({type:U,json:{write:!0}})],_.prototype,"otherChoice",void 0),(0,n.Cg)([(0,o.MZ)({type:["multiple-choice"],json:{read:!1,write:!0}})],_.prototype,"type",void 0),_=G=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.MultipleChoiceInput")],_);const P=_;var z;let J=z=class extends h{constructor(e){super(e),this.type="radio-buttons"}clone(){return new z({noValueOptionLabel:this.noValueOptionLabel,showNoValueOption:this.showNoValueOption})}};(0,n.Cg)([(0,o.MZ)({type:["radio-buttons"],json:{read:!1,write:!0}})],J.prototype,"type",void 0),J=z=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.RadioButtonsInput")],J);const H=J;var Y;let Q=Y=class extends l{constructor(e){super(e),this.offValue=null,this.onValue=null,this.type="switch"}clone(){return new Y({offValue:this.offValue,onValue:this.onValue})}};(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],Q.prototype,"offValue",void 0),(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],Q.prototype,"onValue",void 0),(0,n.Cg)([(0,o.MZ)({type:["switch"],json:{read:!1,write:!0}})],Q.prototype,"type",void 0),Q=Y=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.SwitchInput")],Q);const X=Q;var ee;let te=ee=class extends u{constructor(e){super(e),this.type="text-area"}clone(){return new ee({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-area"],json:{read:!1,write:!0}})],te.prototype,"type",void 0),te=ee=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextAreaInput")],te);const ie=te;var ne;let oe=ne=class extends u{constructor(e){super(e),this.type="text-box"}clone(){return new ne({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-box"],json:{read:!1,write:!0}})],oe.prototype,"type",void 0),oe=ne=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextBoxInput")],oe);const se=oe;var re;function pe(e){return null!=e?e:null}function le(e){return null!=e?e:null}let ae=re=class extends l{constructor(e){super(e),this.max=null,this.min=null,this.timeResolution="minutes",this.type="time-picker"}readMax(e,t){return pe(t.max)}writeMax(e,t){t.max=le(e)}readMin(e,t){return pe(t.min)}writeMin(e,t){t.min=le(e)}readTimeResolution(e,t){return pe(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=le(e)}clone(){return new re({max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],ae.prototype,"max",void 0),(0,n.Cg)([(0,M.w)("max")],ae.prototype,"readMax",null),(0,n.Cg)([(0,v.K)("max")],ae.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],ae.prototype,"min",void 0),(0,n.Cg)([(0,M.w)("min")],ae.prototype,"readMin",null),(0,n.Cg)([(0,v.K)("min")],ae.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],ae.prototype,"timeResolution",void 0),(0,n.Cg)([(0,M.w)("timeResolution")],ae.prototype,"readTimeResolution",null),(0,n.Cg)([(0,v.K)("timeResolution")],ae.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["time-picker"],json:{read:!1,write:!0}})],ae.prototype,"type",void 0),ae=re=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TimePickerInput")],ae);const ue={base:l,key:"type",typeMap:{"barcode-scanner":c,"combo-box":C,"date-picker":j,"datetime-picker":$,"dynamic-choice":V,"multiple-choice":P,"timestampoffset-picker":N,"datetimeoffset-picker":N,"radio-buttons":H,switch:X,"text-area":ie,"text-box":se,"time-picker":ae}};var ye,me=i(8631);let ce=ye=class extends s.A{constructor(e){super(e),this.domain=null,this.editable=null,this.editableExpression=null,this.fieldName=null,this.hint=null,this.input=null,this.requiredExpression=null,this.type="field",this.valueExpression=null}clone(){return new ye({description:this.description,domain:this.domain?.clone()??null,editable:this.editable,editableExpression:this.editableExpression,fieldName:this.fieldName,hint:this.hint,input:this.input?.clone(),label:this.label,requiredExpression:this.requiredExpression,valueExpression:this.valueExpression,visibilityExpression:this.visibilityExpression})}};(0,n.Cg)([(0,o.MZ)({types:me.g,json:{read:{reader:me.r},write:!0}})],ce.prototype,"domain",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],ce.prototype,"editable",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],ce.prototype,"editableExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],ce.prototype,"fieldName",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],ce.prototype,"hint",void 0),(0,n.Cg)([(0,o.MZ)({types:ue,json:{read:{source:"inputType"},write:{target:"inputType"}}})],ce.prototype,"input",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],ce.prototype,"requiredExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{read:!1,write:!0}})],ce.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],ce.prototype,"valueExpression",void 0),ce=ye=(0,n.Cg)([(0,o.$K)("esri.form.elements.FieldElement")],ce)},6455(e,t,i){i.d(t,{FJ:()=>w,Dp:()=>C,KV:()=>x});var n=i(32198),o=i(93637),s=i(91429),r=i(89317),p=i(69540),l=i(7762),a=i(25482),u=i(83960),y=i(13069);const m={write:{overridePolicy:(e,t,i)=>({enabled:!i||"scale"===i.filterMode})}};let c=class extends((0,p.OU)(a.o)){constructor(e){super(e),this.id=(0,y.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],c.prototype,"id",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:m})],c.prototype,"maxScale",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:m})],c.prototype,"minScale",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],c.prototype,"title",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],c.prototype,"where",void 0),c=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilter")],c);var d=i(41560),h=i(43937);let g=class extends((0,p.OU)(a.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(l.A.ofType(c)),this.mode="manual"}writeFilters(e,t,i,n){const o=e.toArray();"scale"===this.mode&&o.sort((e,t)=>{const i=(0,u.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===i?n:i}),t[i]=o.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,d.mW)(this,t))}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{overridePolicy:(e,t,i)=>({enabled:"manual"===i.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A.ofType(c),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,n.Cg)([(0,h.K)("filters")],g.prototype,"writeFilters",null),(0,n.Cg)([(0,s.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,n.Cg)([(0,s.$K)("esri.layers.support.DisplayFilterInfo")],g);const w=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,s.MZ)(C)],i.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,s.MZ)(x)],i.prototype,"displayFilterInfo",void 0),i=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.DisplayFilteredLayer")],i),i},C={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:r.K,writer(e,t,i){(0,o.sM)(i,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},x={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:r.K},origins:{"web-scene":{write:!1,read:!1}}}}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[124,7870,8768,9397],{56512(e,t,i){function r(e){let t,i,r=[],s=!1;return function(...n){return s&&t===this&&function(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;++i)if(e[i]!==t[i])return!1;return!0}(n,r)||(i=e.apply(this,n),t=this,r=n,s=!0),i}}i.d(t,{B:()=>r})},69397(e,t,i){i.d(t,{Qf:()=>a,Qh:()=>n,lM:()=>s});var r=i(34275);function s(e){if(!e)return 0;let t=c;for(const i in e)e.hasOwnProperty(i)&&(t+=o(e[i],!1));return t}function n(e){if(!e)return 0;if("number"==typeof e[0])return a(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return l(e,8);let i=u;for(let r=0;r<t;r++)i+=o(e[r]);return i}(e);let t=c;for(const i in e)e.hasOwnProperty(i)&&(t+=o(e[i]));return t}function o(e,t=!0){switch(typeof e){case"object":return t?n(e):c;case"string":return function(e){return 32+e.length}(e);case"number":return 16;case"boolean":return 4;default:return 8}}function a(...e){return e.reduce((e,t)=>e+(t?(0,r.iu)(t)?t.byteLength+h:Array.isArray(t)?l(t,16):0:0),0)}function l(e,t){return u+e.length*t}const c=32,u=16,h=145},5359(e,t,i){i.d(t,{Z:()=>s});const r=Symbol("isImageryTileGraphicOrigin");function s(e){return!!e&&r in e}i.d(t,["H",0,r])},90124(e,t,i){i.r(t),i.d(t,{default:()=>K});var r,s=i(32198),n=i(37838),o=i(69540),a=i(49186),l=i(53966),c=i(97768),u=i(25728),h=i(17676),p=i(36708),d=i(91429),f=i(56507),m=i(60950),g=i(89808),y=i(99959),v=i(5359);class w extends y.A{get[(r=v.H,m.ym)](){return this.layer}get[g.Q](){return this.layer}constructor(e){super(),this[r]=!0,this.type="imagery-tile",this.layer=e}get id(){return this.layer.id}}var b=i(4146),A=i(18768),_=i(63074),C=i(69208),S=i(34287),M=i(8303),R=i(72545),O=i(56551),x=i(54310),I=i(25036),T=i(82935),P=i(82806),z=i(7548),N=i(23636),F=i(1003),Z=i(99235),D=i(10873),j=i(20437),J=i(74797),L=i(22796),$=i(69409);const V={instance:null,refCount:0,connectionPromise:null};async function q(){if(V.refCount++,V.instance)return V.instance;if(!V.connectionPromise){const e=new $.A;V.connectionPromise=e.initialize().then(()=>{V.instance=e})}return await V.connectionPromise,V.instance}function E(){V.refCount--,V.refCount>0||(V.instance?.destroy(),V.instance=null,V.connectionPromise=null,V.refCount=0)}var k=i(87045),U=i(24212),W=i(30291),H=i(88625),G=i(59923);let B=class extends((0,_.dM)((0,I.j)((0,S.q)((0,M.A)((0,O.H)((0,C.d)((0,P.b)((0,R.G)((0,T.e)((0,A.b)((0,x.J)((0,u.M)((0,o.OU)(b.A)))))))))))))){constructor(...e){super(...e),this._primaryRasters=[],this.charts=null,this.graphicOrigin=new w(this),this.legendEnabled=!0,this.isReference=null,this.listMode="show",this.sourceJSON=null,this.version=null,this.type="imagery-tile",this.operationalLayerType="ArcGISTiledImageServiceLayer",this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.fields=null,this.source=void 0,this._debouncedSaveOperations=(0,h.sg)(async(e,t,r)=>{const{save:s,saveAs:n}=await i.e(9838).then(()=>i(59838));switch(e){case 0:return s(this,t);case 1:return n(this,r,t)}})}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Image Service"]},e).catch(h.QP).then(()=>this._openRaster(t))),Promise.resolve(this)}destroy(){super.destroy(),this._releaseWorkerHandle=(0,c.xt)(this._releaseWorkerHandle)}set elevationInfo(e){"relative-to-scene"!==e?.mode&&this._set("elevationInfo",e),this._validateElevationInfo(e)}get defaultPopupTemplate(){return this.createPopupTemplate()}get rasterFields(){const e=[(0,J.rZ)("Pixel Value"),(0,J.dy)("Raw Pixel Value")],t=this.raster?.rasterInfo??this.serviceRasterInfo,i=t?.attributeTable;if(i){const t=(0,J.jC)(i);e.push(...t)}const r=t?.dataType,s=t?.multidimensionalInfo;if(("vector-magdir"===r||"vector-uv"===r)&&null!=s){const t=s.variables[0].unit?.trim(),i=(0,J.DV)(t),r=(0,J.y6)();e.push(i,r)}if(s){const t=(0,J.AL)(s);e.push(...t)}return e}get renderer(){return super.renderer}set renderer(e){super.renderer=e}createPopupTemplate(e){const{rasterFields:t}=this,i=e?.visibleFieldNames??new Set(t.map(({name:e})=>e).filter(e=>e!==J.F_.rawServicePixelValue)),r=(0,W.tn)({fields:t,title:this.title},{...e,visibleFieldNames:i}),{rasterInfo:s}=this.raster;return r?.fieldInfos&&s&&(0,J.h4)(r.fieldInfos,s),r}async generateRasterInfo(e,t){const i=(0,f.PZ)(L.A,e);if(await this.load(),!i||"none"===i.functionName?.toLowerCase())return this.serviceRasterInfo;try{const{rasterInfo:e}=await this._openFunctionRaster(i,t);return e}catch(e){if(e instanceof a.A)throw e;throw new a.A("imagery-tile-layer","the given raster function is not supported")}}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}supportsExportMapTiles(){const e=this._primaryRasters[0]??this.raster,t="RasterTileServer"===e?.datasetFormat,i=!!this.sourceJSON?.exportTilesAllowed,r=this.sourceJSON?.datasetFormat?.toLowerCase(),s=!/\/tiledimageservices[^.]*\.arcgis\.com/i.test(this.url)&&"Raster"===e?.tileType&&("cache/jpegplus"===r||"cache/jpegpng"===r);return t&&i&&("Map"===e?.tileType||s)}supportsWrite(){const e=this._primaryRasters[0]??this.raster;return!!(this.loaded?"RasterTileServer"===e.datasetFormat&&("Raster"===e.tileType||"Map"===e.tileType):this.url&&/\/ImageServer(\/|\/?$)/i.test(this.url))}write(e,t){return this.supportsWrite()?super.write(e,t):((0,G.U4)(t,this),null)}async hasDataChanged(){try{const e=this._primaryRasters[0]??this.raster,{dataChanged:t,updates:i}=await e.refresh();return t&&(this.serviceRasterInfo!==e.rasterInfo&&this._set("serviceRasterInfo",e.rasterInfo),e.sourceJSON&&this.sourceJSON!==e.sourceJSON&&(this.sourceJSON=e.sourceJSON),i&&this.read(i,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0})),t}catch{return!1}}async _openRaster(e){let t=!1;if(this.raster)await this._openFromRaster(this.raster,e),t=(0,z.qg)(this.raster),!t&&this.rasterFunction&&(this._primaryRasters=[this.raster],await this._initializeWithFunctionRaster(this.rasterFunction));else{const{url:t,rasterFunction:i,source:r}=this;if(!t&&!r)throw new a.A("imagery-tile-layer:open","missing url or source parameter");r?await this._openFromSource(r,e):i?await this._openFromUrlWithRasterFunction(t,i,e):await this._openFromUrl(t,e)}const i=this.raster.rasterInfo;if(!i)throw new a.A("imagery-tile-layer:load","cannot load resources on "+this.url);if(this._set("serviceRasterInfo",t?i:this._primaryRasters[0].rasterInfo),this._set("spatialReference",i.spatialReference),this.sourceJSON=this.sourceJSON||this.raster.sourceJSON,null!=this.sourceJSON){const e="Map"===this.raster.tileType&&null!=this.sourceJSON.minLOD&&null!=this.sourceJSON.maxLOD?this.sourceJSON:{...this.sourceJSON,minScale:0,maxScale:0};this.read(e,{origin:"service"})}else this.read({tileInfo:this.serviceRasterInfo?.storageInfo.tileInfo.toJSON()},{origin:"service"});this.title||(this.title=this.raster.datasetName),"Map"===this.raster.tileType&&(this.popupEnabled=!1),this._configDefaultSettings(),this.addHandles((0,p.wB)(()=>this.customParameters,e=>{this.raster&&(this.raster.ioConfig.customFetchParameters=e)}))}async _openFromRaster(e,t){e.rasterInfo||await e.open({signal:t}),this._primaryRasters=(0,z.pb)(e),this.url||(this.url=this._primaryRasters[0].url)}async _openFromUrlWithRasterFunction(e,t,i){const r=[e];let s;t&&(0,Z.UD)(t.toJSON(),r),r.some(e=>Q(e))&&(s=await q(),this._releaseWorkerHandle={remove:()=>E()});const n=await Promise.all(r.map(e=>F.default.open({url:e,sourceJSON:this.sourceJSON,ioConfig:{sampling:"closest",...this.ioConfig,customFetchParameters:this.customParameters},rasterJobHandler:s,signal:i}))),o=n.findIndex(e=>null==e);if(o>-1)throw new a.A("imagery-tile-layer:open",`cannot open raster: ${r[o]}`);return this._primaryRasters=n,this._initializeWithFunctionRaster(t)}async _openFromUrl(e,t){let i;Q(e)&&(i=await q(),this._releaseWorkerHandle={remove:()=>E()});const r=await F.default.open({url:e,sourceJSON:this.sourceJSON,ioConfig:{sampling:"closest",...this.ioConfig,customFetchParameters:this.customParameters},rasterJobHandler:i,signal:t});if(null==r)throw new a.A("imagery-tile-layer:open",`cannot open raster: ${e}`);this._primaryRasters=[r],this.raster=r}async _openFromSource(e,t){const i="the tiled imagery data source is not supported",r="coverage"===e.type?.toLowerCase()?"CovJSON":e.extent&&e.pixelBlock?"MEMORY":null;if(!r)throw new a.A("imagery-tile-layer:open",i);"MEMORY"===r&&(e={...e,pixelBlock:void 0,pixelBlocks:[e.pixelBlock]});const s=await F.default.open({url:"",source:e,datasetFormat:r,ioConfig:{sampling:"closest",...this.ioConfig,customFetchParameters:this.customParameters},signal:t});if(null==s)throw new a.A("imagery-tile-layer:open",i);this._primaryRasters=[s],this.rasterFunction?await this._initializeWithFunctionRaster(this.rasterFunction):this.raster=s}async _openFunctionRaster(e,t){const i={raster:this._primaryRasters[0]};this._primaryRasters.length>1&&this._primaryRasters.forEach(e=>i[e.url]=e);const r=(0,Z.vt)(e.functionDefinition?.toJSON()??e.toJSON(),i),s=new N.A({rasterFunction:r});return await s.open(t),s}async _initializeWithFunctionRaster(e,t){try{this.raster=await this._openFunctionRaster(e,t)}catch(e){e instanceof a.A&&l.A.getLogger(this).error("imagery-tile-layer:open",e.message),l.A.getLogger(this).warn("imagery-tile-layer:open","the raster function cannot be applied and is removed"),this._set("rasterFunction",null),this.raster=this._primaryRasters[0]}}_validateElevationInfo(e){(0,U.XF)(l.A.getLogger(this),(0,U.$7)("ImageryTile layers","relative-to-scene",e)),(0,U.XF)(l.A.getLogger(this),(0,U.tW)("ImageryTile layers",e))}};(0,s.Cg)([(0,d.MZ)({clonable:!1})],B.prototype,"_primaryRasters",void 0),(0,s.Cg)([(0,d.MZ)({clonable:!1})],B.prototype,"_releaseWorkerHandle",void 0),(0,s.Cg)([(0,d.MZ)({json:{origins:{"web-scene":{write:!1}},write:!0}})],B.prototype,"charts",void 0),(0,s.Cg)([(0,d.MZ)({type:H.A,value:null,json:{name:"layerDefinition.elevationInfo",write:!0,origins:{"portal-item":{read:!1,write:!1},"web-map":{read:!1,write:!1}}}})],B.prototype,"elevationInfo",null),(0,s.Cg)([(0,d.MZ)({type:k.A})],B.prototype,"tileInfo",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0,clonable:!1})],B.prototype,"graphicOrigin",void 0),(0,s.Cg)([(0,d.MZ)(D.fV)],B.prototype,"legendEnabled",void 0),(0,s.Cg)([(0,d.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],B.prototype,"isReference",void 0),(0,s.Cg)([(0,d.MZ)({type:["show","hide"]})],B.prototype,"listMode",void 0),(0,s.Cg)([(0,d.MZ)({json:{read:!0,write:!0}})],B.prototype,"blendMode",void 0),(0,s.Cg)([(0,d.MZ)({type:L.A,json:{name:"renderingRule",write:!0}})],B.prototype,"rasterFunction",void 0),(0,s.Cg)([(0,d.MZ)()],B.prototype,"sourceJSON",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0,json:{origins:{service:{read:{source:"currentVersion"}}}}})],B.prototype,"version",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0,json:{read:!1}})],B.prototype,"type",void 0),(0,s.Cg)([(0,d.MZ)({type:["ArcGISTiledImageServiceLayer"]})],B.prototype,"operationalLayerType",void 0),(0,s.Cg)([(0,d.MZ)({type:Boolean,value:!0,json:{read:{source:"disablePopup",reader:(e,t)=>!t.disablePopup},write:{target:"disablePopup",overridePolicy(){return{enabled:!this.loaded||"Raster"===this.raster.tileType}},writer(e,t,i){t[i]=!e}}}})],B.prototype,"popupEnabled",void 0),(0,s.Cg)([(0,d.MZ)({type:n.A,json:{read:{source:"popupInfo"},write:{target:"popupInfo",overridePolicy(){return{enabled:!this.loaded||"Raster"===this.raster.tileType}}}}})],B.prototype,"popupTemplate",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0})],B.prototype,"defaultPopupTemplate",null),(0,s.Cg)([(0,d.MZ)(D.PY)],B.prototype,"screenSizePerspectiveEnabled",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0,type:[j.A]})],B.prototype,"fields",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0,type:[j.A]})],B.prototype,"rasterFields",null),(0,s.Cg)([(0,d.MZ)({constructOnly:!0})],B.prototype,"source",void 0),B=(0,s.Cg)([(0,d.$K)("esri.layers.ImageryTileLayer")],B);const K=B;function Q(e){return/\.(jpe?g|png)$/i.test(e)}},18768(e,t,i){var r=i(32198),s=i(53966),n=i(91429),o=i(60694);i.d(t,["b",0,e=>{const t=e;let i=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,o.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,o.Jf)(e,s.A.getLogger(this)))}};return(0,r.Cg)([(0,n.MZ)()],i.prototype,"title",null),(0,r.Cg)([(0,n.MZ)({type:String})],i.prototype,"url",null),i=(0,r.Cg)([(0,n.$K)("esri.layers.mixins.ArcGISService")],i),i}])},56551(e,t,i){i.d(t,{H:()=>h});var r=i(32198),s=i(91429),n=i(69540),o=i(25482),a=i(56507),l=i(94359),c=i(93223);let u=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.name=void 0,this.method="none",this.value=void 0,this.bandIds=void 0,this.renderer=void 0}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],u.prototype,"name",void 0),(0,r.Cg)([(0,s.MZ)({type:["raster-function-template","variable","none"],json:{write:{isRequired:!0}}}),(0,c.e)({rasterFunctionTemplate:"raster-function-template",variable:"variable",none:"none"})],u.prototype,"method",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],u.prototype,"value",void 0),(0,r.Cg)([(0,s.MZ)({type:[a.jz],json:{write:{isRequired:!0}}})],u.prototype,"bandIds",void 0),(0,r.Cg)([(0,s.MZ)({types:l.uy,json:{write:!0,origins:{"web-scene":{types:l.Gj,write:{overridePolicy:e=>({enabled:e&&"vector-field"!==e.type})}}}}})],u.prototype,"renderer",void 0),u=(0,r.Cg)([(0,s.$K)("esri.renderers.support.RasterPresetRenderer")],u);const h=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.activePresetRendererName=null,this.presetRenderers=null}};return(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"layerDefinition.activePresetRendererName",write:{allowNull:!0}}})],i.prototype,"activePresetRendererName",void 0),(0,r.Cg)([(0,s.MZ)({type:[u],json:{name:"layerDefinition.presetRenderers",write:!0}})],i.prototype,"presetRenderers",void 0),i=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.RasterPresetRendererMixin")],i),i}},91806(e,t,i){i.d(t,{A:()=>l});var r,s=i(32198),n=i(25482),o=i(91429),a=i(56507);let l=class extends n.o{static{r=this}constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new r({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"cols",void 0),(0,s.Cg)([(0,o.MZ)({type:a.jz,json:{write:!0}})],l.prototype,"level",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"levelValue",void 0),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"origin",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],l.prototype,"resolution",void 0),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"rows",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],l.prototype,"scale",void 0),l=r=(0,s.Cg)([(0,o.$K)("esri.layers.support.LOD")],l)},87045(e,t,i){i.d(t,{A:()=>w});var r,s=i(32198),n=i(66552),o=i(25482),a=i(86211),l=i(91429),c=i(56507),u=i(86738),h=i(16930),p=i(21325),d=i(28735),f=i(91806),m=i(72802),g=i(36005),y=i(43937);const v=new n.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let w=class extends o.o{static{r=this}static create(e={}){const{resolutionFactor:t=1,scales:i,size:s=256,spatialReference:n=h.A.WebMercator,numLODs:o=24}=e;if(!(0,p.fn)(n)){const e=[];if(i)for(let t=0;t<i.length;t++){const r=i[t];e.push(new f.A({level:t,scale:r,resolution:r}))}else{let t=5e-4;for(let i=o-1;i>=0;i--)e.unshift(new f.A({level:i,scale:t,resolution:t})),t*=2}return new r({dpi:96,lods:e,origin:new u.A(0,0,n),size:[s,s],spatialReference:n})}const l=(0,p.Vp)(n),c=e.origin?new u.A({x:e.origin.x,y:e.origin.y,spatialReference:n}):new u.A(l?{x:l.origin[0],y:l.origin[1],spatialReference:n}:{x:0,y:0,spatialReference:n}),d=1/(39.37*(0,a.GA)(n)*96),m=[];if(i)for(let e=0;e<i.length;e++){const t=i[e],r=t*d;m.push(new f.A({level:e,scale:t,resolution:r}))}else{let e=(0,p.EA)(n)?512/s*591657527.5917094:256/s*591657527.591555;const i=Math.ceil(o/t);m.push(new f.A({level:0,scale:e,resolution:e*d}));for(let r=1;r<i;r++){const i=e/2**t,s=i*d;m.push(new f.A({level:r,scale:i,resolution:s})),e=i}}return new r({dpi:96,lods:m,origin:c,size:[s,s],spatialReference:n})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const i=(0,p.Vp)(e);return e.isWrappable&&!!i&&Math.abs(i.origin[0]-t.x)<=i.dx}return!1}readOrigin(e,t){return u.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,i=0;const r=[],s=this._levelToLOD={};e&&(t=-1/0,i=1/0,e.forEach(e=>{r.push(e.scale),t=e.scale>t?e.scale:t,i=e.scale<i?e.scale:i,s[e.level]=e})),this._set("scales",r),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const i=Math.floor(e),r=i+1;return t[i]/(t[i]/t[r])**(e-i)}scaleToZoom(e){const t=this.scales,i=t.length-1;let r=0;for(;r<i;r++){const i=t[r],s=t[r+1];if(i<=e)return r;if(s===e)return r+1;if(i>e&&s<e)return r+Math.log(i/e)/Math.log(i/s)}return r}tileAt(e,t,i,r){const s=this.lodAt(e);if(!s)return null;let n,o;if("number"==typeof t)n=t,o=i;else if((0,p.aI)(t.spatialReference,this.spatialReference))n=t.x,o=t.y,r=i;else{const e=(0,d.Cv)(t,this.spatialReference);if(null==e)return null;n=e.x,o=e.y,r=i}const a=s.resolution*this.size[0],l=s.resolution*this.size[1];return r??=new m.U(0,0,0),r.level=e,r.row=Math.floor((this.origin.y-o)/l+.001),r.col=Math.floor((n-this.origin.x)/a+.001),this.updateTileInfo(r),r}updateTileInfo(e,t=0){if(!("extent"in e))return!1;let i=this.lodAt(e.level);if(!i&&1===t){const t=this.lods[this.lods.length-1];t.level<e.level&&(i=t)}if(!i)return!1;const r=e.level-i.level,s=i.resolution*this.size[0]/2**r,n=i.resolution*this.size[1]/2**r;return e.extent[0]=this.origin.x+e.col*s,e.extent[1]=this.origin.y-(e.row+1)*n,e.extent[2]=e.extent[0]+s,e.extent[3]=e.extent[1]+n,!0}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const i=this.lodAt(t.level);if(null==i)return null;const{resolution:r}=i,s=r*this.size[0],n=r*this.size[1];return e[0]=this.origin.x+t.col*s,e[1]=this.origin.y-(t.row+1)*n,e[2]=e[0]+s,e[3]=e[1]+n,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return r.fromJSON(this.write({}))}getCompatibleForVTL(e){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===e)return null;const t=(512===this.size[0]&&256===e?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===e&&0===t)return this;const i=[],s=this.lods.length-t;for(let e=0;e<s;e++){const r=e+t,{scale:s,resolution:n}=r>=0?this.lods[r]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};i.push(new f.A({level:e,scale:s,resolution:n}))}return new r({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:i})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let i=0;i<e.length;i++){const r=e[i];this._upsampleLevels[r.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/r.resolution:0},t=r}}};(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],w.prototype,"compressionQuality",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],w.prototype,"dpi",void 0),(0,s.Cg)([(0,l.MZ)({type:String,json:{read:v.read,write:v.write,origins:{"web-scene":{read:!1,write:!1}}}})],w.prototype,"format",void 0),(0,s.Cg)([(0,l.MZ)({readOnly:!0})],w.prototype,"isWrappable",null),(0,s.Cg)([(0,l.MZ)({type:u.A,json:{write:!0}})],w.prototype,"origin",void 0),(0,s.Cg)([(0,g.w)("origin")],w.prototype,"readOrigin",null),(0,s.Cg)([(0,l.MZ)({type:[f.A],value:null,json:{write:!0}})],w.prototype,"lods",null),(0,s.Cg)([(0,l.MZ)({readOnly:!0})],w.prototype,"scales",void 0),(0,s.Cg)([(0,l.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],w.prototype,"size",void 0),(0,s.Cg)([(0,g.w)("size",["rows","cols"])],w.prototype,"readSize",null),(0,s.Cg)([(0,y.K)("size",{cols:{type:c.jz},rows:{type:c.jz}})],w.prototype,"writeSize",null),(0,s.Cg)([(0,l.MZ)({type:h.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),w=r=(0,s.Cg)([(0,l.$K)("esri.layers.support.TileInfo")],w)},72802(e,t,i){i.d(t,{U:()=>s});var r=i(19419);class s{constructor(e,t,i,s=(0,r.vt)()){this._level=e,this._row=t,this._col=i,this.extent=s}get id(){return this._id??=`${this.level}/${this.row}/${this.col}`,this._id}get level(){return this._level}set level(e){this._level=e,this._id=null}get row(){return this._row}set row(e){this._row=e,this._id=null}get col(){return this._col}set col(e){this._col=e,this._id=null}toJSON(){return{level:this._level,row:this._row,col:this._col,extent:this.extent}}static fromJSON(e){return new s(e.level,e.row,e.col,e.extent)}}},25943(e,t,i){i.d(t,{d:()=>_});var r,s=i(32198),n=i(11254),o=i(69622),a=i(49186),l=i(36563),c=(i(44208),i(66344)),u=i(15142),h=i(17676),p=i(36708),d=i(76030),f=i(84952),m=i(91429),g=i(72802),y=i(4718),v=i(69397);class w{constructor(e){!function(e){if(!e?.location)throw new a.A("tilemap:missing-location","Location missing from tilemap response");if(!1===e.valid)throw new a.A("tilemap:invalid","Tilemap response was marked as invalid");if(!e.data)throw new a.A("tilemap:missing-data","Data missing from tilemap response");if(!Array.isArray(e.data))throw new a.A("tilemap:data-mismatch","Data must be an array of numbers");if(e.data.length!==e.location.width*e.location.height)throw new a.A("tilemap:data-mismatch","Number of data items does not match width/height of tilemap")}(e);const{location:t,data:i}=e;this.location=Object.freeze((0,y.o8)(t));const r=this.location.width,s=this.location.height;let n=!0,o=!0;const l=function(e,t=!1){return e<=1024?t?new Array(e).fill(0):new Array(e):new Uint32Array(e)}(Math.ceil(r*s/32));let c=0;for(let e=0;e<i.length;e++){const t=e%32;i[e]?(o=!1,l[c]|=1<<t):n=!1,31===t&&++c}o?(this._availability="unavailable",this.byteSize=40):n?(this._availability="available",this.byteSize=40):(this._availability=l,this.byteSize=40+(0,v.Qf)(l))}getAvailability(e,t){if("unavailable"===this._availability||"available"===this._availability)return this._availability;const i=(e-this.location.top)*this.location.width+(t-this.location.left),r=i%32,s=i>>5,n=this._availability;return s<0||s>n.length?"unknown":n[s]&1<<r?"available":"unavailable"}static fromDefinition(e,t){const i=e.service.request||n.A,{row:r,col:s,width:o,height:l}=e,c={query:{f:"json"}};return t=t?{...c,...t}:c,i(function(e){let t;if(e.service.tileServers?.length){const i=e.service.tileServers;t=`${i&&i.length?i[e.row%i.length]:e.service.url}/tilemap/${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`}else t=`${e.service.url}/tilemap/${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`;const i=e.service.query;return i&&(t=`${t}?${i}`),t}(e),t).then(e=>e.data).catch(e=>{if(422===e?.details?.httpStatus)return{location:{top:r,left:s,width:o,height:l},valid:!0,data:new Array(o*l).fill(0)};throw e}).then(e=>{if(e.location&&(e.location.top!==r||e.location.left!==s||e.location.width!==o||e.location.height!==l))throw new a.A("tilemap:location-mismatch","Tilemap response for different location than requested",{response:e,definition:{top:r,left:s,width:o,height:l}});return w.fromJSON(e)})}static fromJSON(e){return Object.freeze(new w(e))}}function b(e){return`${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`}function A(e,t,i){return new a.A("tile-map:tile-unavailable","Tile is not available",{level:e,row:t,col:i})}let _=class extends o.A{static{r=this}constructor(e){super(e),this._pendingTilemapRequests={},this.request=n.A,this.size=32,this._prefetchingEnabled=!0}initialize(){this._tilemapCache=new c.q(2097152),this.addHandles((0,p.wB)(()=>{const{layer:e}=this;return[e?.parsedUrl,e?.tileServers,e?.apiKey,e?.customParameters]},()=>this._initializeTilemapDefinition(),p.Vh))}get effectiveMinLOD(){return this.minLOD??this.layer.tileInfo.lods[0].level}get effectiveMaxLOD(){return this.maxLOD??this.layer.tileInfo.lods[this.layer.tileInfo.lods.length-1].level}getAvailability(e,t,i){if(!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD)return"unavailable";const r=this._tilemapFromCache(e,t,i,this._tmpTilemapDefinition);return r?r.getAvailability(t,i):"unknown"}fetchAvailability(e,t,i,r){return!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD?Promise.reject(A(e,t,i)):this._fetchTilemap(e,t,i,r).catch(e=>e).then(r=>{if(r instanceof w){const s=r.getAvailability(t,i);if("unavailable"===s)throw A(e,t,i);return s}if((0,h.zf)(r))throw r;return"unknown"})}fetchAvailabilityUpsample(e,t,i,r,s){r.level=e,r.row=t,r.col=i;const n=this.layer.tileInfo;n.updateTileInfo(r);const o=this.fetchAvailability(e,t,i,s).catch(e=>{if((0,h.zf)(e))throw e;if(n.upsampleTile(r))return this.fetchAvailabilityUpsample(r.level,r.row,r.col,r,s);throw e});return this._fetchAvailabilityUpsamplePrefetch(e,t,i,s,o),o}async _fetchAvailabilityUpsamplePrefetch(e,t,i,s,n){if(!this._prefetchingEnabled)return;const o=`prefetch-${e}-${t}-${i}`;if(this.hasHandles(o))return;const a=new AbortController;n.then(()=>a.abort(),()=>a.abort());let c=!1;const u=(0,l.hA)(()=>{c||(c=!0,a.abort())});if(this.addHandles(u,o),await(0,d.md)(10,a.signal).catch(()=>{}),c||(c=!0,this.removeHandles(o)),(0,h.G4)(a))return;const p=new g.U(e,t,i),f={...s,signal:a.signal},m=this.layer.tileInfo;for(let e=0;r._prefetches.length<r._maxPrefetch&&m.upsampleTile(p);++e){const e=this.fetchAvailability(p.level,p.row,p.col,f);r._prefetches.push(e);const t=()=>{r._prefetches.removeUnordered(e)};e.then(t,t)}}static{this._maxPrefetch=4}static{this._prefetches=new u.A({initialSize:r._maxPrefetch})}static cleanupTilemapCache(){this._prefetches.prune()}_fetchTilemap(e,t,i,r){if(!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD)return Promise.reject(new a.A("tilemap-cache:level-unavailable",`Level ${e} is unavailable in the service`));const s=this._tmpTilemapDefinition,n=this._tilemapFromCache(e,t,i,s);if(n)return Promise.resolve(n);const o=r?.signal;return r={...r,signal:null},new Promise((e,t)=>{(0,h.u7)(o,()=>t((0,h.NK)()));const i=b(s);let n=this._pendingTilemapRequests[i];if(!n){n=w.fromDefinition(s,r).then(e=>(this._tilemapCache.put(i,e,e.byteSize),e));const e=()=>{delete this._pendingTilemapRequests[i]};this._pendingTilemapRequests[i]=n,n.then(e,e)}n.then(e,t)})}_initializeTilemapDefinition(){if(!this.layer.parsedUrl)return;const{parsedUrl:e,apiKey:t,customParameters:i}=this.layer;this._tilemapCache.clear(),this._tmpTilemapDefinition={service:{url:e.path,query:(0,f.x0)({...e.query,...i,token:t??e.query?.token}),tileServers:this.layer.tileServers,request:this.request},width:this.size,height:this.size,level:0,row:0,col:0}}_tilemapFromCache(e,t,i,r){r.level=e,r.row=t-t%this.size,r.col=i-i%this.size;const s=b(r);return this._tilemapCache.get(s)}get test(){}};(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],_.prototype,"layer",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],_.prototype,"minLOD",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],_.prototype,"maxLOD",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],_.prototype,"request",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],_.prototype,"size",void 0),_=r=(0,s.Cg)([(0,m.$K)("esri.layers.support.TilemapCache")],_)},82371(e,t,i){i.d(t,{E9:()=>f,Tw:()=>p,X6:()=>d});var r=i(11254),s=i(5443),n=i(86738),o=i(16930),a=i(87186),l=i(20223),c=i(2272),u=i(22671);async function h(e,t,i){const h=(0,c.Dl)(e),{rasterFunction:p,sourceJSON:d}=t||{},f=p?JSON.stringify(p.rasterFunctionDefinition||p):null,m=(0,c.lF)({...h.query,renderingRule:f,f:"json"}),g=(0,c.jV)(m,i);e=h.path;const y=d||await(0,r.A)(e,g).then(e=>e.data),{currentVersion:v}=y,w=y.hasRasterAttributeTable?(0,r.A)(`${e}/rasterAttributeTable`,g):null,b=y.hasColormap?(0,r.A)(`${e}/colormap`,g):null,A=y.hasHistograms?(0,r.A)(`${e}/histograms`,g):null,_=v>=10.3?(0,r.A)(`${e}/keyProperties`,g):null,C=y.hasMultidimensions?(0,r.A)(`${e}/multidimensionalInfo`,g):null,S=(p?v>=10.91:v>=10.81)?(0,r.A)(`${e}/statistics`,g):null,M=await Promise.allSettled([w,b,A,_,C,S]),R=s.A.fromJSON(y.extent),O=Math.ceil(R.width/y.pixelSizeX-.1),x=Math.ceil(R.height/y.pixelSizeY-.1),I=o.A.fromJSON(y.spatialReference||y.extent.spatialReference),T="fulfilled"===M[0].status?M[0].value?.data:null,P=T?.features?.length?u.A.fromJSON(T):null,z="fulfilled"===M[1].status?M[1].value?.data.colormap:null,N=z?.length?z:null,F="fulfilled"===M[2].status?M[2].value?.data.histograms:null,Z=F?.[0]?.counts?.length?F:null,D="fulfilled"===M[3].status?M[3].value?.data??{}:{},j="fulfilled"===M[4].status?M[4].value?.data.multidimensionalInfo:null,J=j?.variables?.length?j:null;J&&J.variables.forEach(e=>{e.statistics?.length&&e.statistics.forEach(e=>{e.avg=e.mean,e.stddev=e.standardDeviation}),e.dimensions?.forEach(e=>{"StdTime"!==e.name||e.recurring||e.unit||(e.unit="ISO8601")})});let L=null;const $="fulfilled"===M[5].status?M[5].value?.data.statistics:null;$&&$.length===y.bandCount&&(L=$.map(e=>({avg:e.mean,count:e.count,max:e.max,median:e.median,min:e.min,mode:e.mode,stddev:e.standardDeviation,sum:e.sum})));const V=y.minValues?.length===y.bandCount?y.minValues.map((e,t)=>({min:e,max:y.maxValues[t],avg:y.meanValues[t],stddev:y.stdvValues[t]})):null;(null==V||null==L||L.some((e,t)=>e.min!==V[t]?.min||e.max!==V[t]?.max||e.avg!==V[t]?.avg||e.stddev!==V[t]?.stddev))&&(L=V);const{defaultVariable:q,serviceDataType:E}=y;q&&q!==D.DefaultVariable&&(D.DefaultVariable=q),E?.includes("esriImageServiceDataTypeVector")&&!E.includes(D.DataType)&&(D.DataType=E.replace("esriImageServiceDataType",""));let k=y.noDataValue;y.noDataValues?.length&&y.noDataValues.some(e=>e!==k)&&(k=y.noDataValues);const U=y.transposeInfo?new l.A({blockWidth:256,blockHeight:256,pyramidBlockWidth:256,pyramidBlockHeight:256,pyramidScalingFactor:2,compression:"lerc",origin:new n.A({x:y.extent.xmin,y:y.extent.ymax,spatialReference:I}),firstPyramidLevel:1,maximumPyramidLevel:Math.max(0,Math.round(Math.log(Math.max(O,x))/Math.LN2-8)),transposeInfo:y.transposeInfo}):void 0;return new a.A({width:O,height:x,bandCount:y.bandCount,extent:s.A.fromJSON(y.extent),spatialReference:I,pixelSize:new n.A({x:y.pixelSizeX,y:y.pixelSizeY,spatialReference:I}),pixelType:y.pixelType.toLowerCase(),statistics:L,attributeTable:P,colormap:N,histograms:Z,keyProperties:D,noDataValue:k,multidimensionalInfo:J,storageInfo:U})}function p(e,t,i){return h(e,{sourceJSON:t},i)}function d(e,t,i){return h(e,{rasterFunction:t},i)}function f(e,t){e.attributeTable||(t.hasRasterAttributeTable=!1),e.histograms||(t.hasHistograms=!1),e.colormap||(t.hasColormap=!1),e.multidimensionalInfo||(t.hasMultidimensions=!1)}},2272(e,t,i){i.d(t,{Dl:()=>c,gf:()=>h,jV:()=>l,lF:()=>u});var r=i(92602),s=i(70333),n=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function c(e){return"string"==typeof e?(0,o.An)(e):(0,n.o8)(e)}function u(e,t,i){const r={};for(const s in e){if("declaredClass"===s)continue;const n=e[s];if(null!=n&&"function"!=typeof n)if(Array.isArray(n))r[s]=n.map(e=>u(e));else if("object"==typeof n)if(n.toJSON){const e=n.toJSON(i?.[s]);r[s]=t?e:JSON.stringify(e)}else r[s]=t?n:JSON.stringify(n);else r[s]=n}return r}async function h(e,t,n){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??s.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!s.id&&r.A.request.useIdentity&&await Promise.all([i.e(5620),i.e(7393),i.e(8837)]).then(()=>i(50148));const l=await s.id.getCredential(e,n);return l?.token}},24212(e,t,i){i.d(t,{$7:()=>l,B:()=>a,M7:()=>h,XF:()=>u,tW:()=>c,w7:()=>o});var r=i(56512),s=i(86211),n=i(16271);function o(e,t){return function(e,t){return t?.mode?t.mode:function(e){return e?p:d}(e).mode}(null==e||(e.hasZ??!1),t)}function a(e,t,i){return i&&i.mode!==t?`${e} only support ${t} elevation mode`:null}function l(e,t,i){return i?.mode===t?`${e} do not support ${t} elevation mode`:null}function c(e,t){return null!=t?.featureExpressionInfo&&"0"!==t.featureExpressionInfo.expression?`${e} do not support featureExpressionInfo`:null}function u(e,t){t&&e.warn(".elevationInfo=",t)}function h(e){return(e?.offset??0)*(0,n.Ao)(e?.unit)}(0,r.B)((e,t,i)=>{if(!e)return 0;if("decimal-degrees"===t)return 0;const r="unknown"!==t&&t?t:"meters",n=(0,s.mq)(i);return n?(0,s.oU)(e,r,n):0});const p={mode:"absolute-height",offset:0},d={mode:"on-the-ground",offset:null}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[124,7870,8768,9397],{56512(e,t,i){function r(e){let t,i,r=[],s=!1;return function(...n){return s&&t===this&&function(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;++i)if(e[i]!==t[i])return!1;return!0}(n,r)||(i=e.apply(this,n),t=this,r=n,s=!0),i}}i.d(t,{B:()=>r})},69397(e,t,i){i.d(t,{Qf:()=>a,Qh:()=>n,lM:()=>s});var r=i(34275);function s(e){if(!e)return 0;let t=c;for(const i in e)e.hasOwnProperty(i)&&(t+=o(e[i],!1));return t}function n(e){if(!e)return 0;if("number"==typeof e[0])return a(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return l(e,8);let i=u;for(let r=0;r<t;r++)i+=o(e[r]);return i}(e);let t=c;for(const i in e)e.hasOwnProperty(i)&&(t+=o(e[i]));return t}function o(e,t=!0){switch(typeof e){case"object":return t?n(e):c;case"string":return function(e){return 32+e.length}(e);case"number":return 16;case"boolean":return 4;default:return 8}}function a(...e){return e.reduce((e,t)=>e+(t?(0,r.iu)(t)?t.byteLength+h:Array.isArray(t)?l(t,16):0:0),0)}function l(e,t){return u+e.length*t}const c=32,u=16,h=145},5359(e,t,i){i.d(t,{Z:()=>s});const r=Symbol("isImageryTileGraphicOrigin");function s(e){return!!e&&r in e}i.d(t,["H",0,r])},90124(e,t,i){i.r(t),i.d(t,{default:()=>K});var r,s=i(32198),n=i(37838),o=i(69540),a=i(49186),l=i(53966),c=i(97768),u=i(25728),h=i(17676),p=i(36708),d=i(91429),f=i(78888),m=i(60950),g=i(89808),y=i(99959),v=i(5359);class w extends y.A{get[(r=v.H,m.ym)](){return this.layer}get[g.Q](){return this.layer}constructor(e){super(),this[r]=!0,this.type="imagery-tile",this.layer=e}get id(){return this.layer.id}}var b=i(4146),A=i(18768),_=i(63074),C=i(69208),S=i(34287),M=i(8303),R=i(72545),O=i(56551),x=i(54310),I=i(25036),T=i(82935),P=i(82806),z=i(7548),N=i(23636),F=i(1003),Z=i(99235),D=i(10873),j=i(20437),J=i(74797),L=i(22796),$=i(69409);const V={instance:null,refCount:0,connectionPromise:null};async function q(){if(V.refCount++,V.instance)return V.instance;if(!V.connectionPromise){const e=new $.A;V.connectionPromise=e.initialize().then(()=>{V.instance=e})}return await V.connectionPromise,V.instance}function E(){V.refCount--,V.refCount>0||(V.instance?.destroy(),V.instance=null,V.connectionPromise=null,V.refCount=0)}var k=i(87045),U=i(24212),W=i(30291),H=i(88625),G=i(59923);let B=class extends((0,_.dM)((0,I.j)((0,S.q)((0,M.A)((0,O.H)((0,C.d)((0,P.b)((0,R.G)((0,T.e)((0,A.b)((0,x.J)((0,u.M)((0,o.OU)(b.A)))))))))))))){constructor(...e){super(...e),this._primaryRasters=[],this.charts=null,this.graphicOrigin=new w(this),this.legendEnabled=!0,this.isReference=null,this.listMode="show",this.sourceJSON=null,this.version=null,this.type="imagery-tile",this.operationalLayerType="ArcGISTiledImageServiceLayer",this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.fields=null,this.source=void 0,this._debouncedSaveOperations=(0,h.sg)(async(e,t,r)=>{const{save:s,saveAs:n}=await i.e(9838).then(()=>i(59838));switch(e){case 0:return s(this,t);case 1:return n(this,r,t)}})}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Image Service"]},e).catch(h.QP).then(()=>this._openRaster(t))),Promise.resolve(this)}destroy(){super.destroy(),this._releaseWorkerHandle=(0,c.xt)(this._releaseWorkerHandle)}set elevationInfo(e){"relative-to-scene"!==e?.mode&&this._set("elevationInfo",e),this._validateElevationInfo(e)}get defaultPopupTemplate(){return this.createPopupTemplate()}get rasterFields(){const e=[(0,J.rZ)("Pixel Value"),(0,J.dy)("Raw Pixel Value")],t=this.raster?.rasterInfo??this.serviceRasterInfo,i=t?.attributeTable;if(i){const t=(0,J.jC)(i);e.push(...t)}const r=t?.dataType,s=t?.multidimensionalInfo;if(("vector-magdir"===r||"vector-uv"===r)&&null!=s){const t=s.variables[0].unit?.trim(),i=(0,J.DV)(t),r=(0,J.y6)();e.push(i,r)}if(s){const t=(0,J.AL)(s);e.push(...t)}return e}get renderer(){return super.renderer}set renderer(e){super.renderer=e}createPopupTemplate(e){const{rasterFields:t}=this,i=e?.visibleFieldNames??new Set(t.map(({name:e})=>e).filter(e=>e!==J.F_.rawServicePixelValue)),r=(0,W.tn)({fields:t,title:this.title},{...e,visibleFieldNames:i}),{rasterInfo:s}=this.raster;return r?.fieldInfos&&s&&(0,J.h4)(r.fieldInfos,s),r}async generateRasterInfo(e,t){const i=(0,f.PZ)(L.A,e);if(await this.load(),!i||"none"===i.functionName?.toLowerCase())return this.serviceRasterInfo;try{const{rasterInfo:e}=await this._openFunctionRaster(i,t);return e}catch(e){if(e instanceof a.A)throw e;throw new a.A("imagery-tile-layer","the given raster function is not supported")}}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}supportsExportMapTiles(){const e=this._primaryRasters[0]??this.raster,t="RasterTileServer"===e?.datasetFormat,i=!!this.sourceJSON?.exportTilesAllowed,r=this.sourceJSON?.datasetFormat?.toLowerCase(),s=!/\/tiledimageservices[^.]*\.arcgis\.com/i.test(this.url)&&"Raster"===e?.tileType&&("cache/jpegplus"===r||"cache/jpegpng"===r);return t&&i&&("Map"===e?.tileType||s)}supportsWrite(){const e=this._primaryRasters[0]??this.raster;return!!(this.loaded?"RasterTileServer"===e.datasetFormat&&("Raster"===e.tileType||"Map"===e.tileType):this.url&&/\/ImageServer(\/|\/?$)/i.test(this.url))}write(e,t){return this.supportsWrite()?super.write(e,t):((0,G.U4)(t,this),null)}async hasDataChanged(){try{const e=this._primaryRasters[0]??this.raster,{dataChanged:t,updates:i}=await e.refresh();return t&&(this.serviceRasterInfo!==e.rasterInfo&&this._set("serviceRasterInfo",e.rasterInfo),e.sourceJSON&&this.sourceJSON!==e.sourceJSON&&(this.sourceJSON=e.sourceJSON),i&&this.read(i,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0})),t}catch{return!1}}async _openRaster(e){let t=!1;if(this.raster)await this._openFromRaster(this.raster,e),t=(0,z.qg)(this.raster),!t&&this.rasterFunction&&(this._primaryRasters=[this.raster],await this._initializeWithFunctionRaster(this.rasterFunction));else{const{url:t,rasterFunction:i,source:r}=this;if(!t&&!r)throw new a.A("imagery-tile-layer:open","missing url or source parameter");r?await this._openFromSource(r,e):i?await this._openFromUrlWithRasterFunction(t,i,e):await this._openFromUrl(t,e)}const i=this.raster.rasterInfo;if(!i)throw new a.A("imagery-tile-layer:load","cannot load resources on "+this.url);if(this._set("serviceRasterInfo",t?i:this._primaryRasters[0].rasterInfo),this._set("spatialReference",i.spatialReference),this.sourceJSON=this.sourceJSON||this.raster.sourceJSON,null!=this.sourceJSON){const e="Map"===this.raster.tileType&&null!=this.sourceJSON.minLOD&&null!=this.sourceJSON.maxLOD?this.sourceJSON:{...this.sourceJSON,minScale:0,maxScale:0};this.read(e,{origin:"service"})}else this.read({tileInfo:this.serviceRasterInfo?.storageInfo.tileInfo.toJSON()},{origin:"service"});this.title||(this.title=this.raster.datasetName),"Map"===this.raster.tileType&&(this.popupEnabled=!1),this._configDefaultSettings(),this.addHandles((0,p.wB)(()=>this.customParameters,e=>{this.raster&&(this.raster.ioConfig.customFetchParameters=e)}))}async _openFromRaster(e,t){e.rasterInfo||await e.open({signal:t}),this._primaryRasters=(0,z.pb)(e),this.url||(this.url=this._primaryRasters[0].url)}async _openFromUrlWithRasterFunction(e,t,i){const r=[e];let s;t&&(0,Z.UD)(t.toJSON(),r),r.some(e=>Q(e))&&(s=await q(),this._releaseWorkerHandle={remove:()=>E()});const n=await Promise.all(r.map(e=>F.default.open({url:e,sourceJSON:this.sourceJSON,ioConfig:{sampling:"closest",...this.ioConfig,customFetchParameters:this.customParameters},rasterJobHandler:s,signal:i}))),o=n.findIndex(e=>null==e);if(o>-1)throw new a.A("imagery-tile-layer:open",`cannot open raster: ${r[o]}`);return this._primaryRasters=n,this._initializeWithFunctionRaster(t)}async _openFromUrl(e,t){let i;Q(e)&&(i=await q(),this._releaseWorkerHandle={remove:()=>E()});const r=await F.default.open({url:e,sourceJSON:this.sourceJSON,ioConfig:{sampling:"closest",...this.ioConfig,customFetchParameters:this.customParameters},rasterJobHandler:i,signal:t});if(null==r)throw new a.A("imagery-tile-layer:open",`cannot open raster: ${e}`);this._primaryRasters=[r],this.raster=r}async _openFromSource(e,t){const i="the tiled imagery data source is not supported",r="coverage"===e.type?.toLowerCase()?"CovJSON":e.extent&&e.pixelBlock?"MEMORY":null;if(!r)throw new a.A("imagery-tile-layer:open",i);"MEMORY"===r&&(e={...e,pixelBlock:void 0,pixelBlocks:[e.pixelBlock]});const s=await F.default.open({url:"",source:e,datasetFormat:r,ioConfig:{sampling:"closest",...this.ioConfig,customFetchParameters:this.customParameters},signal:t});if(null==s)throw new a.A("imagery-tile-layer:open",i);this._primaryRasters=[s],this.rasterFunction?await this._initializeWithFunctionRaster(this.rasterFunction):this.raster=s}async _openFunctionRaster(e,t){const i={raster:this._primaryRasters[0]};this._primaryRasters.length>1&&this._primaryRasters.forEach(e=>i[e.url]=e);const r=(0,Z.vt)(e.functionDefinition?.toJSON()??e.toJSON(),i),s=new N.A({rasterFunction:r});return await s.open(t),s}async _initializeWithFunctionRaster(e,t){try{this.raster=await this._openFunctionRaster(e,t)}catch(e){e instanceof a.A&&l.A.getLogger(this).error("imagery-tile-layer:open",e.message),l.A.getLogger(this).warn("imagery-tile-layer:open","the raster function cannot be applied and is removed"),this._set("rasterFunction",null),this.raster=this._primaryRasters[0]}}_validateElevationInfo(e){(0,U.XF)(l.A.getLogger(this),(0,U.$7)("ImageryTile layers","relative-to-scene",e)),(0,U.XF)(l.A.getLogger(this),(0,U.tW)("ImageryTile layers",e))}};(0,s.Cg)([(0,d.MZ)({clonable:!1})],B.prototype,"_primaryRasters",void 0),(0,s.Cg)([(0,d.MZ)({clonable:!1})],B.prototype,"_releaseWorkerHandle",void 0),(0,s.Cg)([(0,d.MZ)({json:{origins:{"web-scene":{write:!1}},write:!0}})],B.prototype,"charts",void 0),(0,s.Cg)([(0,d.MZ)({type:H.A,value:null,json:{name:"layerDefinition.elevationInfo",write:!0,origins:{"portal-item":{read:!1,write:!1},"web-map":{read:!1,write:!1}}}})],B.prototype,"elevationInfo",null),(0,s.Cg)([(0,d.MZ)({type:k.A})],B.prototype,"tileInfo",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0,clonable:!1})],B.prototype,"graphicOrigin",void 0),(0,s.Cg)([(0,d.MZ)(D.fV)],B.prototype,"legendEnabled",void 0),(0,s.Cg)([(0,d.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],B.prototype,"isReference",void 0),(0,s.Cg)([(0,d.MZ)({type:["show","hide"]})],B.prototype,"listMode",void 0),(0,s.Cg)([(0,d.MZ)({json:{read:!0,write:!0}})],B.prototype,"blendMode",void 0),(0,s.Cg)([(0,d.MZ)({type:L.A,json:{name:"renderingRule",write:!0}})],B.prototype,"rasterFunction",void 0),(0,s.Cg)([(0,d.MZ)()],B.prototype,"sourceJSON",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0,json:{origins:{service:{read:{source:"currentVersion"}}}}})],B.prototype,"version",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0,json:{read:!1}})],B.prototype,"type",void 0),(0,s.Cg)([(0,d.MZ)({type:["ArcGISTiledImageServiceLayer"]})],B.prototype,"operationalLayerType",void 0),(0,s.Cg)([(0,d.MZ)({type:Boolean,value:!0,json:{read:{source:"disablePopup",reader:(e,t)=>!t.disablePopup},write:{target:"disablePopup",overridePolicy(){return{enabled:!this.loaded||"Raster"===this.raster.tileType}},writer(e,t,i){t[i]=!e}}}})],B.prototype,"popupEnabled",void 0),(0,s.Cg)([(0,d.MZ)({type:n.A,json:{read:{source:"popupInfo"},write:{target:"popupInfo",overridePolicy(){return{enabled:!this.loaded||"Raster"===this.raster.tileType}}}}})],B.prototype,"popupTemplate",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0})],B.prototype,"defaultPopupTemplate",null),(0,s.Cg)([(0,d.MZ)(D.PY)],B.prototype,"screenSizePerspectiveEnabled",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0,type:[j.A]})],B.prototype,"fields",void 0),(0,s.Cg)([(0,d.MZ)({readOnly:!0,type:[j.A]})],B.prototype,"rasterFields",null),(0,s.Cg)([(0,d.MZ)({constructOnly:!0})],B.prototype,"source",void 0),B=(0,s.Cg)([(0,d.$K)("esri.layers.ImageryTileLayer")],B);const K=B;function Q(e){return/\.(jpe?g|png)$/i.test(e)}},18768(e,t,i){var r=i(32198),s=i(53966),n=i(91429),o=i(60694);i.d(t,["b",0,e=>{const t=e;let i=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,o.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,o.Jf)(e,s.A.getLogger(this)))}};return(0,r.Cg)([(0,n.MZ)()],i.prototype,"title",null),(0,r.Cg)([(0,n.MZ)({type:String})],i.prototype,"url",null),i=(0,r.Cg)([(0,n.$K)("esri.layers.mixins.ArcGISService")],i),i}])},56551(e,t,i){i.d(t,{H:()=>h});var r=i(32198),s=i(91429),n=i(69540),o=i(25482),a=i(78888),l=i(94359),c=i(93223);let u=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.name=void 0,this.method="none",this.value=void 0,this.bandIds=void 0,this.renderer=void 0}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],u.prototype,"name",void 0),(0,r.Cg)([(0,s.MZ)({type:["raster-function-template","variable","none"],json:{write:{isRequired:!0}}}),(0,c.e)({rasterFunctionTemplate:"raster-function-template",variable:"variable",none:"none"})],u.prototype,"method",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],u.prototype,"value",void 0),(0,r.Cg)([(0,s.MZ)({type:[a.jz],json:{write:{isRequired:!0}}})],u.prototype,"bandIds",void 0),(0,r.Cg)([(0,s.MZ)({types:l.uy,json:{write:!0,origins:{"web-scene":{types:l.Gj,write:{overridePolicy:e=>({enabled:e&&"vector-field"!==e.type})}}}}})],u.prototype,"renderer",void 0),u=(0,r.Cg)([(0,s.$K)("esri.renderers.support.RasterPresetRenderer")],u);const h=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.activePresetRendererName=null,this.presetRenderers=null}};return(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"layerDefinition.activePresetRendererName",write:{allowNull:!0}}})],i.prototype,"activePresetRendererName",void 0),(0,r.Cg)([(0,s.MZ)({type:[u],json:{name:"layerDefinition.presetRenderers",write:!0}})],i.prototype,"presetRenderers",void 0),i=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.RasterPresetRendererMixin")],i),i}},91806(e,t,i){i.d(t,{A:()=>l});var r,s=i(32198),n=i(25482),o=i(91429),a=i(78888);let l=class extends n.o{static{r=this}constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new r({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"cols",void 0),(0,s.Cg)([(0,o.MZ)({type:a.jz,json:{write:!0}})],l.prototype,"level",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"levelValue",void 0),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"origin",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],l.prototype,"resolution",void 0),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"rows",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],l.prototype,"scale",void 0),l=r=(0,s.Cg)([(0,o.$K)("esri.layers.support.LOD")],l)},87045(e,t,i){i.d(t,{A:()=>w});var r,s=i(32198),n=i(66552),o=i(25482),a=i(86211),l=i(91429),c=i(78888),u=i(86738),h=i(16930),p=i(21325),d=i(28735),f=i(91806),m=i(72802),g=i(36005),y=i(43937);const v=new n.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let w=class extends o.o{static{r=this}static create(e={}){const{resolutionFactor:t=1,scales:i,size:s=256,spatialReference:n=h.A.WebMercator,numLODs:o=24}=e;if(!(0,p.fn)(n)){const e=[];if(i)for(let t=0;t<i.length;t++){const r=i[t];e.push(new f.A({level:t,scale:r,resolution:r}))}else{let t=5e-4;for(let i=o-1;i>=0;i--)e.unshift(new f.A({level:i,scale:t,resolution:t})),t*=2}return new r({dpi:96,lods:e,origin:new u.A(0,0,n),size:[s,s],spatialReference:n})}const l=(0,p.Vp)(n),c=e.origin?new u.A({x:e.origin.x,y:e.origin.y,spatialReference:n}):new u.A(l?{x:l.origin[0],y:l.origin[1],spatialReference:n}:{x:0,y:0,spatialReference:n}),d=1/(39.37*(0,a.GA)(n)*96),m=[];if(i)for(let e=0;e<i.length;e++){const t=i[e],r=t*d;m.push(new f.A({level:e,scale:t,resolution:r}))}else{let e=(0,p.EA)(n)?512/s*591657527.5917094:256/s*591657527.591555;const i=Math.ceil(o/t);m.push(new f.A({level:0,scale:e,resolution:e*d}));for(let r=1;r<i;r++){const i=e/2**t,s=i*d;m.push(new f.A({level:r,scale:i,resolution:s})),e=i}}return new r({dpi:96,lods:m,origin:c,size:[s,s],spatialReference:n})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const i=(0,p.Vp)(e);return e.isWrappable&&!!i&&Math.abs(i.origin[0]-t.x)<=i.dx}return!1}readOrigin(e,t){return u.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,i=0;const r=[],s=this._levelToLOD={};e&&(t=-1/0,i=1/0,e.forEach(e=>{r.push(e.scale),t=e.scale>t?e.scale:t,i=e.scale<i?e.scale:i,s[e.level]=e})),this._set("scales",r),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const i=Math.floor(e),r=i+1;return t[i]/(t[i]/t[r])**(e-i)}scaleToZoom(e){const t=this.scales,i=t.length-1;let r=0;for(;r<i;r++){const i=t[r],s=t[r+1];if(i<=e)return r;if(s===e)return r+1;if(i>e&&s<e)return r+Math.log(i/e)/Math.log(i/s)}return r}tileAt(e,t,i,r){const s=this.lodAt(e);if(!s)return null;let n,o;if("number"==typeof t)n=t,o=i;else if((0,p.aI)(t.spatialReference,this.spatialReference))n=t.x,o=t.y,r=i;else{const e=(0,d.Cv)(t,this.spatialReference);if(null==e)return null;n=e.x,o=e.y,r=i}const a=s.resolution*this.size[0],l=s.resolution*this.size[1];return r??=new m.U(0,0,0),r.level=e,r.row=Math.floor((this.origin.y-o)/l+.001),r.col=Math.floor((n-this.origin.x)/a+.001),this.updateTileInfo(r),r}updateTileInfo(e,t=0){if(!("extent"in e))return!1;let i=this.lodAt(e.level);if(!i&&1===t){const t=this.lods[this.lods.length-1];t.level<e.level&&(i=t)}if(!i)return!1;const r=e.level-i.level,s=i.resolution*this.size[0]/2**r,n=i.resolution*this.size[1]/2**r;return e.extent[0]=this.origin.x+e.col*s,e.extent[1]=this.origin.y-(e.row+1)*n,e.extent[2]=e.extent[0]+s,e.extent[3]=e.extent[1]+n,!0}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const i=this.lodAt(t.level);if(null==i)return null;const{resolution:r}=i,s=r*this.size[0],n=r*this.size[1];return e[0]=this.origin.x+t.col*s,e[1]=this.origin.y-(t.row+1)*n,e[2]=e[0]+s,e[3]=e[1]+n,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return r.fromJSON(this.write({}))}getCompatibleForVTL(e){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===e)return null;const t=(512===this.size[0]&&256===e?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===e&&0===t)return this;const i=[],s=this.lods.length-t;for(let e=0;e<s;e++){const r=e+t,{scale:s,resolution:n}=r>=0?this.lods[r]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};i.push(new f.A({level:e,scale:s,resolution:n}))}return new r({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:i})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let i=0;i<e.length;i++){const r=e[i];this._upsampleLevels[r.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/r.resolution:0},t=r}}};(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],w.prototype,"compressionQuality",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],w.prototype,"dpi",void 0),(0,s.Cg)([(0,l.MZ)({type:String,json:{read:v.read,write:v.write,origins:{"web-scene":{read:!1,write:!1}}}})],w.prototype,"format",void 0),(0,s.Cg)([(0,l.MZ)({readOnly:!0})],w.prototype,"isWrappable",null),(0,s.Cg)([(0,l.MZ)({type:u.A,json:{write:!0}})],w.prototype,"origin",void 0),(0,s.Cg)([(0,g.w)("origin")],w.prototype,"readOrigin",null),(0,s.Cg)([(0,l.MZ)({type:[f.A],value:null,json:{write:!0}})],w.prototype,"lods",null),(0,s.Cg)([(0,l.MZ)({readOnly:!0})],w.prototype,"scales",void 0),(0,s.Cg)([(0,l.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],w.prototype,"size",void 0),(0,s.Cg)([(0,g.w)("size",["rows","cols"])],w.prototype,"readSize",null),(0,s.Cg)([(0,y.K)("size",{cols:{type:c.jz},rows:{type:c.jz}})],w.prototype,"writeSize",null),(0,s.Cg)([(0,l.MZ)({type:h.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),w=r=(0,s.Cg)([(0,l.$K)("esri.layers.support.TileInfo")],w)},72802(e,t,i){i.d(t,{U:()=>s});var r=i(19419);class s{constructor(e,t,i,s=(0,r.vt)()){this._level=e,this._row=t,this._col=i,this.extent=s}get id(){return this._id??=`${this.level}/${this.row}/${this.col}`,this._id}get level(){return this._level}set level(e){this._level=e,this._id=null}get row(){return this._row}set row(e){this._row=e,this._id=null}get col(){return this._col}set col(e){this._col=e,this._id=null}toJSON(){return{level:this._level,row:this._row,col:this._col,extent:this.extent}}static fromJSON(e){return new s(e.level,e.row,e.col,e.extent)}}},25943(e,t,i){i.d(t,{d:()=>_});var r,s=i(32198),n=i(56507),o=i(69622),a=i(49186),l=i(36563),c=(i(44208),i(66344)),u=i(15142),h=i(17676),p=i(36708),d=i(76030),f=i(84952),m=i(91429),g=i(72802),y=i(4718),v=i(69397);class w{constructor(e){!function(e){if(!e?.location)throw new a.A("tilemap:missing-location","Location missing from tilemap response");if(!1===e.valid)throw new a.A("tilemap:invalid","Tilemap response was marked as invalid");if(!e.data)throw new a.A("tilemap:missing-data","Data missing from tilemap response");if(!Array.isArray(e.data))throw new a.A("tilemap:data-mismatch","Data must be an array of numbers");if(e.data.length!==e.location.width*e.location.height)throw new a.A("tilemap:data-mismatch","Number of data items does not match width/height of tilemap")}(e);const{location:t,data:i}=e;this.location=Object.freeze((0,y.o8)(t));const r=this.location.width,s=this.location.height;let n=!0,o=!0;const l=function(e,t=!1){return e<=1024?t?new Array(e).fill(0):new Array(e):new Uint32Array(e)}(Math.ceil(r*s/32));let c=0;for(let e=0;e<i.length;e++){const t=e%32;i[e]?(o=!1,l[c]|=1<<t):n=!1,31===t&&++c}o?(this._availability="unavailable",this.byteSize=40):n?(this._availability="available",this.byteSize=40):(this._availability=l,this.byteSize=40+(0,v.Qf)(l))}getAvailability(e,t){if("unavailable"===this._availability||"available"===this._availability)return this._availability;const i=(e-this.location.top)*this.location.width+(t-this.location.left),r=i%32,s=i>>5,n=this._availability;return s<0||s>n.length?"unknown":n[s]&1<<r?"available":"unavailable"}static fromDefinition(e,t){const i=e.service.request||n.A,{row:r,col:s,width:o,height:l}=e,c={query:{f:"json"}};return t=t?{...c,...t}:c,i(function(e){let t;if(e.service.tileServers?.length){const i=e.service.tileServers;t=`${i&&i.length?i[e.row%i.length]:e.service.url}/tilemap/${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`}else t=`${e.service.url}/tilemap/${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`;const i=e.service.query;return i&&(t=`${t}?${i}`),t}(e),t).then(e=>e.data).catch(e=>{if(422===e?.details?.httpStatus)return{location:{top:r,left:s,width:o,height:l},valid:!0,data:new Array(o*l).fill(0)};throw e}).then(e=>{if(e.location&&(e.location.top!==r||e.location.left!==s||e.location.width!==o||e.location.height!==l))throw new a.A("tilemap:location-mismatch","Tilemap response for different location than requested",{response:e,definition:{top:r,left:s,width:o,height:l}});return w.fromJSON(e)})}static fromJSON(e){return Object.freeze(new w(e))}}function b(e){return`${e.level}/${e.row}/${e.col}/${e.width}/${e.height}`}function A(e,t,i){return new a.A("tile-map:tile-unavailable","Tile is not available",{level:e,row:t,col:i})}let _=class extends o.A{static{r=this}constructor(e){super(e),this._pendingTilemapRequests={},this.request=n.A,this.size=32,this._prefetchingEnabled=!0}initialize(){this._tilemapCache=new c.q(2097152),this.addHandles((0,p.wB)(()=>{const{layer:e}=this;return[e?.parsedUrl,e?.tileServers,e?.apiKey,e?.customParameters]},()=>this._initializeTilemapDefinition(),p.Vh))}get effectiveMinLOD(){return this.minLOD??this.layer.tileInfo.lods[0].level}get effectiveMaxLOD(){return this.maxLOD??this.layer.tileInfo.lods[this.layer.tileInfo.lods.length-1].level}getAvailability(e,t,i){if(!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD)return"unavailable";const r=this._tilemapFromCache(e,t,i,this._tmpTilemapDefinition);return r?r.getAvailability(t,i):"unknown"}fetchAvailability(e,t,i,r){return!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD?Promise.reject(A(e,t,i)):this._fetchTilemap(e,t,i,r).catch(e=>e).then(r=>{if(r instanceof w){const s=r.getAvailability(t,i);if("unavailable"===s)throw A(e,t,i);return s}if((0,h.zf)(r))throw r;return"unknown"})}fetchAvailabilityUpsample(e,t,i,r,s){r.level=e,r.row=t,r.col=i;const n=this.layer.tileInfo;n.updateTileInfo(r);const o=this.fetchAvailability(e,t,i,s).catch(e=>{if((0,h.zf)(e))throw e;if(n.upsampleTile(r))return this.fetchAvailabilityUpsample(r.level,r.row,r.col,r,s);throw e});return this._fetchAvailabilityUpsamplePrefetch(e,t,i,s,o),o}async _fetchAvailabilityUpsamplePrefetch(e,t,i,s,n){if(!this._prefetchingEnabled)return;const o=`prefetch-${e}-${t}-${i}`;if(this.hasHandles(o))return;const a=new AbortController;n.then(()=>a.abort(),()=>a.abort());let c=!1;const u=(0,l.hA)(()=>{c||(c=!0,a.abort())});if(this.addHandles(u,o),await(0,d.md)(10,a.signal).catch(()=>{}),c||(c=!0,this.removeHandles(o)),(0,h.G4)(a))return;const p=new g.U(e,t,i),f={...s,signal:a.signal},m=this.layer.tileInfo;for(let e=0;r._prefetches.length<r._maxPrefetch&&m.upsampleTile(p);++e){const e=this.fetchAvailability(p.level,p.row,p.col,f);r._prefetches.push(e);const t=()=>{r._prefetches.removeUnordered(e)};e.then(t,t)}}static{this._maxPrefetch=4}static{this._prefetches=new u.A({initialSize:r._maxPrefetch})}static cleanupTilemapCache(){this._prefetches.prune()}_fetchTilemap(e,t,i,r){if(!this.layer.tileInfo.lodAt(e)||e<this.effectiveMinLOD||e>this.effectiveMaxLOD)return Promise.reject(new a.A("tilemap-cache:level-unavailable",`Level ${e} is unavailable in the service`));const s=this._tmpTilemapDefinition,n=this._tilemapFromCache(e,t,i,s);if(n)return Promise.resolve(n);const o=r?.signal;return r={...r,signal:null},new Promise((e,t)=>{(0,h.u7)(o,()=>t((0,h.NK)()));const i=b(s);let n=this._pendingTilemapRequests[i];if(!n){n=w.fromDefinition(s,r).then(e=>(this._tilemapCache.put(i,e,e.byteSize),e));const e=()=>{delete this._pendingTilemapRequests[i]};this._pendingTilemapRequests[i]=n,n.then(e,e)}n.then(e,t)})}_initializeTilemapDefinition(){if(!this.layer.parsedUrl)return;const{parsedUrl:e,apiKey:t,customParameters:i}=this.layer;this._tilemapCache.clear(),this._tmpTilemapDefinition={service:{url:e.path,query:(0,f.x0)({...e.query,...i,token:t??e.query?.token}),tileServers:this.layer.tileServers,request:this.request},width:this.size,height:this.size,level:0,row:0,col:0}}_tilemapFromCache(e,t,i,r){r.level=e,r.row=t-t%this.size,r.col=i-i%this.size;const s=b(r);return this._tilemapCache.get(s)}get test(){}};(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],_.prototype,"layer",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],_.prototype,"minLOD",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],_.prototype,"maxLOD",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],_.prototype,"request",void 0),(0,s.Cg)([(0,m.MZ)({constructOnly:!0})],_.prototype,"size",void 0),_=r=(0,s.Cg)([(0,m.$K)("esri.layers.support.TilemapCache")],_)},82371(e,t,i){i.d(t,{E9:()=>f,Tw:()=>p,X6:()=>d});var r=i(56507),s=i(5443),n=i(86738),o=i(16930),a=i(87186),l=i(20223),c=i(2272),u=i(22671);async function h(e,t,i){const h=(0,c.Dl)(e),{rasterFunction:p,sourceJSON:d}=t||{},f=p?JSON.stringify(p.rasterFunctionDefinition||p):null,m=(0,c.lF)({...h.query,renderingRule:f,f:"json"}),g=(0,c.jV)(m,i);e=h.path;const y=d||await(0,r.A)(e,g).then(e=>e.data),{currentVersion:v}=y,w=y.hasRasterAttributeTable?(0,r.A)(`${e}/rasterAttributeTable`,g):null,b=y.hasColormap?(0,r.A)(`${e}/colormap`,g):null,A=y.hasHistograms?(0,r.A)(`${e}/histograms`,g):null,_=v>=10.3?(0,r.A)(`${e}/keyProperties`,g):null,C=y.hasMultidimensions?(0,r.A)(`${e}/multidimensionalInfo`,g):null,S=(p?v>=10.91:v>=10.81)?(0,r.A)(`${e}/statistics`,g):null,M=await Promise.allSettled([w,b,A,_,C,S]),R=s.A.fromJSON(y.extent),O=Math.ceil(R.width/y.pixelSizeX-.1),x=Math.ceil(R.height/y.pixelSizeY-.1),I=o.A.fromJSON(y.spatialReference||y.extent.spatialReference),T="fulfilled"===M[0].status?M[0].value?.data:null,P=T?.features?.length?u.A.fromJSON(T):null,z="fulfilled"===M[1].status?M[1].value?.data.colormap:null,N=z?.length?z:null,F="fulfilled"===M[2].status?M[2].value?.data.histograms:null,Z=F?.[0]?.counts?.length?F:null,D="fulfilled"===M[3].status?M[3].value?.data??{}:{},j="fulfilled"===M[4].status?M[4].value?.data.multidimensionalInfo:null,J=j?.variables?.length?j:null;J&&J.variables.forEach(e=>{e.statistics?.length&&e.statistics.forEach(e=>{e.avg=e.mean,e.stddev=e.standardDeviation}),e.dimensions?.forEach(e=>{"StdTime"!==e.name||e.recurring||e.unit||(e.unit="ISO8601")})});let L=null;const $="fulfilled"===M[5].status?M[5].value?.data.statistics:null;$&&$.length===y.bandCount&&(L=$.map(e=>({avg:e.mean,count:e.count,max:e.max,median:e.median,min:e.min,mode:e.mode,stddev:e.standardDeviation,sum:e.sum})));const V=y.minValues?.length===y.bandCount?y.minValues.map((e,t)=>({min:e,max:y.maxValues[t],avg:y.meanValues[t],stddev:y.stdvValues[t]})):null;(null==V||null==L||L.some((e,t)=>e.min!==V[t]?.min||e.max!==V[t]?.max||e.avg!==V[t]?.avg||e.stddev!==V[t]?.stddev))&&(L=V);const{defaultVariable:q,serviceDataType:E}=y;q&&q!==D.DefaultVariable&&(D.DefaultVariable=q),E?.includes("esriImageServiceDataTypeVector")&&!E.includes(D.DataType)&&(D.DataType=E.replace("esriImageServiceDataType",""));let k=y.noDataValue;y.noDataValues?.length&&y.noDataValues.some(e=>e!==k)&&(k=y.noDataValues);const U=y.transposeInfo?new l.A({blockWidth:256,blockHeight:256,pyramidBlockWidth:256,pyramidBlockHeight:256,pyramidScalingFactor:2,compression:"lerc",origin:new n.A({x:y.extent.xmin,y:y.extent.ymax,spatialReference:I}),firstPyramidLevel:1,maximumPyramidLevel:Math.max(0,Math.round(Math.log(Math.max(O,x))/Math.LN2-8)),transposeInfo:y.transposeInfo}):void 0;return new a.A({width:O,height:x,bandCount:y.bandCount,extent:s.A.fromJSON(y.extent),spatialReference:I,pixelSize:new n.A({x:y.pixelSizeX,y:y.pixelSizeY,spatialReference:I}),pixelType:y.pixelType.toLowerCase(),statistics:L,attributeTable:P,colormap:N,histograms:Z,keyProperties:D,noDataValue:k,multidimensionalInfo:J,storageInfo:U})}function p(e,t,i){return h(e,{sourceJSON:t},i)}function d(e,t,i){return h(e,{rasterFunction:t},i)}function f(e,t){e.attributeTable||(t.hasRasterAttributeTable=!1),e.histograms||(t.hasHistograms=!1),e.colormap||(t.hasColormap=!1),e.multidimensionalInfo||(t.hasMultidimensions=!1)}},2272(e,t,i){i.d(t,{Dl:()=>c,gf:()=>h,jV:()=>l,lF:()=>u});var r=i(92602),s=i(70333),n=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function c(e){return"string"==typeof e?(0,o.An)(e):(0,n.o8)(e)}function u(e,t,i){const r={};for(const s in e){if("declaredClass"===s)continue;const n=e[s];if(null!=n&&"function"!=typeof n)if(Array.isArray(n))r[s]=n.map(e=>u(e));else if("object"==typeof n)if(n.toJSON){const e=n.toJSON(i?.[s]);r[s]=t?e:JSON.stringify(e)}else r[s]=t?n:JSON.stringify(n);else r[s]=n}return r}async function h(e,t,n){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??s.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!s.id&&r.A.request.useIdentity&&await Promise.all([i.e(5620),i.e(7393),i.e(8837)]).then(()=>i(50148));const l=await s.id.getCredential(e,n);return l?.token}},24212(e,t,i){i.d(t,{$7:()=>l,B:()=>a,M7:()=>h,XF:()=>u,tW:()=>c,w7:()=>o});var r=i(56512),s=i(86211),n=i(16271);function o(e,t){return function(e,t){return t?.mode?t.mode:function(e){return e?p:d}(e).mode}(null==e||(e.hasZ??!1),t)}function a(e,t,i){return i&&i.mode!==t?`${e} only support ${t} elevation mode`:null}function l(e,t,i){return i?.mode===t?`${e} do not support ${t} elevation mode`:null}function c(e,t){return null!=t?.featureExpressionInfo&&"0"!==t.featureExpressionInfo.expression?`${e} do not support featureExpressionInfo`:null}function u(e,t){t&&e.warn(".elevationInfo=",t)}function h(e){return(e?.offset??0)*(0,n.Ao)(e?.unit)}(0,r.B)((e,t,i)=>{if(!e)return 0;if("decimal-degrees"===t)return 0;const r="unknown"!==t&&t?t:"meters",n=(0,s.mq)(i);return n?(0,s.oU)(e,r,n):0});const p={mode:"absolute-height",offset:0},d={mode:"on-the-ground",offset:null}}}]);