@arcgis/core 5.2.0-next.40 → 5.2.0-next.41
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.
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/002356e675769d20e5c0.js +1 -0
- package/assets/esri/core/workers/chunks/02ab09285a5c4ca98066.js +1 -0
- package/assets/esri/core/workers/chunks/0646524250bb9fe82935.js +1 -0
- package/assets/esri/core/workers/chunks/06e71d52773eb656a4bf.js +261 -0
- package/assets/esri/core/workers/chunks/0a50efb07eee36237e21.js +1 -0
- package/assets/esri/core/workers/chunks/0a98a13418f53082ca7a.js +1 -0
- package/assets/esri/core/workers/chunks/0ae0483b72f5e8d00d55.js +1 -0
- package/assets/esri/core/workers/chunks/0ae35b02dda9b9662560.js +1 -0
- package/assets/esri/core/workers/chunks/0d1224693a62a26a0e72.js +1 -0
- package/assets/esri/core/workers/chunks/{542d8a6c415098b9857c.js → 0da4816c11b45b4a6289.js} +1 -1
- package/assets/esri/core/workers/chunks/{8a39dd585742960d3ca2.js → 0dcfd82a2669df6eb5a0.js} +1 -1
- package/assets/esri/core/workers/chunks/0f19bc532be24ca64755.js +1 -0
- package/assets/esri/core/workers/chunks/0f674c625f24ac73e25a.js +1 -0
- package/assets/esri/core/workers/chunks/11a3aa43fb940c21f148.js +1 -0
- package/assets/esri/core/workers/chunks/11e00ca5ac1b004f4ecc.js +1 -0
- package/assets/esri/core/workers/chunks/1276df03201c1b855fee.js +1 -0
- package/assets/esri/core/workers/chunks/13c893e448bedc5c1cef.js +1 -0
- package/assets/esri/core/workers/chunks/15c2d9bec0455fc363a9.js +1 -0
- package/assets/esri/core/workers/chunks/15de305ac3d6433748e7.js +1 -0
- package/assets/esri/core/workers/chunks/18d874739ee9ffad7480.js +1 -0
- package/assets/esri/core/workers/chunks/1dc1bfb3425665f560e4.js +1 -0
- package/assets/esri/core/workers/chunks/{1cd8dff4373494b01ad4.js → 1e342d532925569daadb.js} +1 -1
- package/assets/esri/core/workers/chunks/1f118d85d8271ad7690b.js +1 -0
- package/assets/esri/core/workers/chunks/1fece9757de7c10d1e9f.js +1 -0
- package/assets/esri/core/workers/chunks/{a2e754df3215e8b00a8f.js → 2015f4def2ef201bdab8.js} +1 -1
- package/assets/esri/core/workers/chunks/23570397304969f724b3.js +1 -0
- package/assets/esri/core/workers/chunks/24c0b3586bb6500eda53.js +2 -0
- package/assets/esri/core/workers/chunks/26e7884d8639df4d994b.js +1 -0
- package/assets/esri/core/workers/chunks/26fdc8382e009672924e.js +1 -0
- package/assets/esri/core/workers/chunks/{96860b6035e0b06672dd.js → 272c8ab189217240d05f.js} +1 -1
- package/assets/esri/core/workers/chunks/2791f3fe16ca5ee2f39a.js +1 -0
- package/assets/esri/core/workers/chunks/279a9a38b04a21cdfd11.js +1 -0
- package/assets/esri/core/workers/chunks/284e88805184334396fe.js +1 -0
- package/assets/esri/core/workers/chunks/28bc5e8e82f188b30eb9.js +1 -0
- package/assets/esri/core/workers/chunks/2a4868acd546312aa6d8.js +1 -0
- package/assets/esri/core/workers/chunks/2b8909a488cf3b231eec.js +1398 -0
- package/assets/esri/core/workers/chunks/2d7cfc68a38dabd8898a.js +1 -0
- package/assets/esri/core/workers/chunks/2da337d7fd9295f6b967.js +1 -0
- package/assets/esri/core/workers/chunks/2e79fb1b8445b2091cdb.js +1 -0
- package/assets/esri/core/workers/chunks/2f29f08cddd5add9388e.js +1 -0
- package/assets/esri/core/workers/chunks/30c53a7e1ad5aa52f2f3.js +1 -0
- package/assets/esri/core/workers/chunks/31c4db1eac8f765bb93f.js +1 -0
- package/assets/esri/core/workers/chunks/32fb597aef66c444758f.js +1 -0
- package/assets/esri/core/workers/chunks/34fcb776e4de1d870bbd.js +30 -0
- package/assets/esri/core/workers/chunks/352d144d7651da8a29c9.js +1 -0
- package/assets/esri/core/workers/chunks/354199a41de44902de84.js +1 -0
- package/assets/esri/core/workers/chunks/36781219ca9ba5d7fe52.js +1 -0
- package/assets/esri/core/workers/chunks/36999a2e383c8eb3c398.js +1 -0
- package/assets/esri/core/workers/chunks/36f8a912842181e1f0aa.js +1 -0
- package/assets/esri/core/workers/chunks/{ed1d4ebf487c7dcd5c33.js → 37a8cfec11057947b45f.js} +1 -1
- package/assets/esri/core/workers/chunks/{2b2b042a6d6949b06127.js → 381790e1f3df05c7eb68.js} +1 -1
- package/assets/esri/core/workers/chunks/383304d33b496c5d8baa.js +1 -0
- package/assets/esri/core/workers/chunks/{4e28f49d0be20ea50fd7.js → 383392c63202ac044b6c.js} +1 -1
- package/assets/esri/core/workers/chunks/394716bd1ecfd638d708.js +2 -0
- package/assets/esri/core/workers/chunks/3aacb935d632834d4154.js +1 -0
- package/assets/esri/core/workers/chunks/3c8e98cf23ad8ef12fcb.js +1 -0
- package/assets/esri/core/workers/chunks/4056659d5c7698265129.js +1 -0
- package/assets/esri/core/workers/chunks/4129b27fcd4103cdc499.js +1 -0
- package/assets/esri/core/workers/chunks/44e64186318728d1be51.js +1 -0
- package/assets/esri/core/workers/chunks/474ea8c97d101e41b3f5.js +1 -0
- package/assets/esri/core/workers/chunks/475c60ed8785d07911c6.js +1 -0
- package/assets/esri/core/workers/chunks/{c7662455252b48531da1.js → 484b3e2a220c440ccbb4.js} +1 -1
- package/assets/esri/core/workers/chunks/4d4710d57c72ec75cccc.js +1 -0
- package/assets/esri/core/workers/chunks/4e1b087453fc5e20e961.js +1 -0
- package/assets/esri/core/workers/chunks/4e94793aab42ebd251ca.js +1 -0
- package/assets/esri/core/workers/chunks/4f2a61dfae6ca8ed1ec8.js +1 -0
- package/assets/esri/core/workers/chunks/4f59357f535f30a6b5cc.js +1 -0
- package/assets/esri/core/workers/chunks/509cfac9e5d86a8ee449.js +1 -0
- package/assets/esri/core/workers/chunks/510acf2e8781be9b0dba.js +1 -0
- package/assets/esri/core/workers/chunks/52c4b4dabcb0d162be72.js +1 -0
- package/assets/esri/core/workers/chunks/{697e0ce10d77b90d4fee.js → 538fe46dfd685a490e23.js} +1 -1
- package/assets/esri/core/workers/chunks/5441f96cdd0660229efe.js +1 -0
- package/assets/esri/core/workers/chunks/551d0c5432f7a08dea77.js +1 -0
- package/assets/esri/core/workers/chunks/55924fb0de05e727f5e3.js +1 -0
- package/assets/esri/core/workers/chunks/55af58b6dff52dc040fe.js +2 -0
- package/assets/esri/core/workers/chunks/56bbde1dff96b423fbb9.js +1 -0
- package/assets/esri/core/workers/chunks/57824ecc10b25e3ad794.js +1 -0
- package/assets/esri/core/workers/chunks/{9ba705a6ddabca0f77b1.js → 580451761cadfe308919.js} +1 -1
- package/assets/esri/core/workers/chunks/5923ebadd4f75be2c9cc.js +1 -0
- package/assets/esri/core/workers/chunks/5b18696109fe84a1010a.js +2 -0
- package/assets/esri/core/workers/chunks/{db96a0c66578b2d1b715.js → 5b30231ae0a8f4b8435f.js} +1 -1
- package/assets/esri/core/workers/chunks/{77a4f6f224d7ca4b69f4.js → 5bf4ab72b9634b06cc5d.js} +1 -1
- package/assets/esri/core/workers/chunks/5ce168ae45ab7e7a71d1.js +1 -0
- package/assets/esri/core/workers/chunks/{7b1678dcf62481469544.js → 5dc17b76c6ecc24e7b9a.js} +1 -1
- package/assets/esri/core/workers/chunks/5e35828216020f33e26b.js +1 -0
- package/assets/esri/core/workers/chunks/5f0d6c853873a7f32527.js +1 -0
- package/assets/esri/core/workers/chunks/5fe9eea35ddb428efd8b.js +1 -0
- package/assets/esri/core/workers/chunks/6010b7be978698a642d0.js +1 -0
- package/assets/esri/core/workers/chunks/613e799377bdb767c955.js +1 -0
- package/assets/esri/core/workers/chunks/6210fb6cd31844f23964.js +1 -0
- package/assets/esri/core/workers/chunks/632ab11cdd4b0d9a5cc5.js +1 -0
- package/assets/esri/core/workers/chunks/64247e439ef3e1f712e9.js +1 -0
- package/assets/esri/core/workers/chunks/661a59133ae34f172174.js +1 -0
- package/assets/esri/core/workers/chunks/6b0acd1a7dd74a7367e0.js +1 -0
- package/assets/esri/core/workers/chunks/6d247ff53421d27628ce.js +1 -0
- package/assets/esri/core/workers/chunks/6e45d0db97ffa4509177.js +1 -0
- package/assets/esri/core/workers/chunks/6f408397e2c8a2ea9805.js +1 -0
- package/assets/esri/core/workers/chunks/700c08dd2e734c15e621.js +1 -0
- package/assets/esri/core/workers/chunks/705d6b108fd121cea887.js +1 -0
- package/assets/esri/core/workers/chunks/71ce1009dadcae8f8094.js +1 -0
- package/assets/esri/core/workers/chunks/72fe7fb03c156f26a589.js +1 -0
- package/assets/esri/core/workers/chunks/733b2e181683d5fc7c95.js +1 -0
- package/assets/esri/core/workers/chunks/79b857bb301f9c4169d6.js +1 -0
- package/assets/esri/core/workers/chunks/79c0a966f7d11d3c217f.js +1 -0
- package/assets/esri/core/workers/chunks/7a818499c1079906c2d7.js +1 -0
- package/assets/esri/core/workers/chunks/7ac47a9ad244100bc3b1.js +1 -0
- package/assets/esri/core/workers/chunks/7b862a074816c099b9ff.js +1 -0
- package/assets/esri/core/workers/chunks/7baa363b3b0a442a63d2.js +1 -0
- package/assets/esri/core/workers/chunks/7cc729b57a6a52c8ac68.js +1 -0
- package/assets/esri/core/workers/chunks/{4abe820bbe4f7ffccc09.js → 7df795bc4fa1d433463b.js} +1 -1
- package/assets/esri/core/workers/chunks/7ea65aa6d3e684e12082.js +1 -0
- package/assets/esri/core/workers/chunks/7f7a76f5fef25049fbf8.js +1 -0
- package/assets/esri/core/workers/chunks/7fa9dc39bf0a7a6fdc1f.js +1 -0
- package/assets/esri/core/workers/chunks/821176ee3be724621bb0.js +1 -0
- package/assets/esri/core/workers/chunks/825eb845216762a1ed2f.js +1 -0
- package/assets/esri/core/workers/chunks/82f4aa0533db009b11d8.js +2 -0
- package/assets/esri/core/workers/chunks/{2a344bca6837ca3b5c41.js.LICENSE.txt → 82f4aa0533db009b11d8.js.LICENSE.txt} +0 -6
- package/assets/esri/core/workers/chunks/830d1a7dee43422507ab.js +1 -0
- package/assets/esri/core/workers/chunks/835643f716f7058a2722.js +1 -0
- package/assets/esri/core/workers/chunks/84fa102a93b2144c28fb.js +1 -0
- package/assets/esri/core/workers/chunks/85ce7673d42526a79fd2.js +1 -0
- package/assets/esri/core/workers/chunks/893ffc38e1a43de5b63d.js +1 -0
- package/assets/esri/core/workers/chunks/{93df864c2e829f0fd5ce.js → 8a1970e68bc1e833cb7f.js} +1 -1
- package/assets/esri/core/workers/chunks/{684c9b4bd9590d2db12f.js → 8a410edcdf74ba957159.js} +1 -1
- package/assets/esri/core/workers/chunks/8b73694d5a97638a3a61.js +1 -0
- package/assets/esri/core/workers/chunks/8bb20ef549ec1c86b38e.js +1 -0
- package/assets/esri/core/workers/chunks/{6ef3b8d67b498d655a99.js → 8c5e65982c3f9295e844.js} +1 -1
- package/assets/esri/core/workers/chunks/8cb2fe91d1d8f49c14f8.js +1 -0
- package/assets/esri/core/workers/chunks/{1961b59756933e0a82f2.js → 8dcc6c19d5b3a5ac5512.js} +1 -1
- package/assets/esri/core/workers/chunks/8dee03779b569f233daf.js +1 -0
- package/assets/esri/core/workers/chunks/8ec5e470583b75fceae1.js +1 -0
- package/assets/esri/core/workers/chunks/8f2fecd8a0a972d68590.js +1 -0
- package/assets/esri/core/workers/chunks/9073b0f0ec93d6e243b9.js +1 -0
- package/assets/esri/core/workers/chunks/90ace5f9b4af1beea6bf.js +1 -0
- package/assets/esri/core/workers/chunks/94719ac469dadc4c05dc.js +1 -0
- package/assets/esri/core/workers/chunks/94e9cf8e729ec36de5be.js +1 -0
- package/assets/esri/core/workers/chunks/96d5fed0235558c0e348.js +1 -0
- package/assets/esri/core/workers/chunks/98b27cf8acbfa4259758.js +1 -0
- package/assets/esri/core/workers/chunks/9902fcd2070c8eb6d043.js +1 -0
- package/assets/esri/core/workers/chunks/99772ce7e628364434fa.js +1 -0
- package/assets/esri/core/workers/chunks/{b1a0eb6598309e11337f.js → 99e3aa4832ed87474ab4.js} +1 -1
- package/assets/esri/core/workers/chunks/9a6208ab670ad74e6f7d.js +1 -0
- package/assets/esri/core/workers/chunks/9a97f6cda2f36941efae.js +1 -0
- package/assets/esri/core/workers/chunks/9b1199104a6822ab7340.js +1 -0
- package/assets/esri/core/workers/chunks/9ceeae787dc7c194d60e.js +1 -0
- package/assets/esri/core/workers/chunks/9ebc98746b1f085b82b7.js +1 -0
- package/assets/esri/core/workers/chunks/9ee3741eef73f3edb18b.js +1 -0
- package/assets/esri/core/workers/chunks/9fb87a7dba62b527c0ba.js +1 -0
- package/assets/esri/core/workers/chunks/a10f63a08d976be058be.js +1 -0
- package/assets/esri/core/workers/chunks/a183b77854f5b42c1a86.js +1 -0
- package/assets/esri/core/workers/chunks/a23f4d8e7c372f5fb6d7.js +1 -0
- package/assets/esri/core/workers/chunks/a25f51d2d3ff6b9af7ca.js +1 -0
- package/assets/esri/core/workers/chunks/a27172dacdb85a774c4b.js +1 -0
- package/assets/esri/core/workers/chunks/a27cdf4c29dd50a6dab1.js +1 -0
- package/assets/esri/core/workers/chunks/a294dd12b5c708ce04af.js +1 -0
- package/assets/esri/core/workers/chunks/a3c882fe7599dc0f4f27.js +1 -0
- package/assets/esri/core/workers/chunks/a90f7b1c6c69b6033b4c.js +1 -0
- package/assets/esri/core/workers/chunks/a9c641bcdef161c754bf.js +1 -0
- package/assets/esri/core/workers/chunks/a9d391071803b1e9e8a0.js +1 -0
- package/assets/esri/core/workers/chunks/{757982a73174aa7ab0d1.js → aa0fb77c62a2d4eb20a5.js} +1 -1
- package/assets/esri/core/workers/chunks/aaa66a04b882b0ba2961.js +1 -0
- package/assets/esri/core/workers/chunks/ae50b2d5e63f62c088d2.js +1 -0
- package/assets/esri/core/workers/chunks/af3ac4bed43e901b59c7.js +1 -0
- package/assets/esri/core/workers/chunks/af97e19516dbbcfb5286.js +1 -0
- package/assets/esri/core/workers/chunks/aff0e7761276036e029d.js +1 -0
- package/assets/esri/core/workers/chunks/b23d1e10fc4161d1f3eb.js +1 -0
- package/assets/esri/core/workers/chunks/b32bdf5730953c2fb16b.js +1 -0
- package/assets/esri/core/workers/chunks/b3f1a442d6b7826e917f.js +1 -0
- package/assets/esri/core/workers/chunks/b4047333265a2665aef9.js +1 -0
- package/assets/esri/core/workers/chunks/b45a013039bbd2614525.js +680 -0
- package/assets/esri/core/workers/chunks/b7170816736769d3b7b0.js +1 -0
- package/assets/esri/core/workers/chunks/{5c63b38160c7d063b8af.js → b780514be87a22b49b01.js} +1 -1
- package/assets/esri/core/workers/chunks/b792857a178da2dd77d6.js +1 -0
- package/assets/esri/core/workers/chunks/b819a9187426d0c146df.js +1 -0
- package/assets/esri/core/workers/chunks/{1d92da90fbbc3f98b201.js → b8d788e110c212a879ab.js} +1 -1
- package/assets/esri/core/workers/chunks/b94cd7eac5ff4a78dd5b.js +1 -0
- package/assets/esri/core/workers/chunks/b9d6f89f9b8e9d1bc787.js +1 -0
- package/assets/esri/core/workers/chunks/b9f40681af1fa00b5bbe.js +1 -0
- package/assets/esri/core/workers/chunks/{bc547cf814d6703cef59.js → bb95922cd4631d6f17fb.js} +1 -1
- package/assets/esri/core/workers/chunks/bcb5017500d144b73908.js +1 -0
- package/assets/esri/core/workers/chunks/bd862382f72ebd446b46.js +1 -0
- package/assets/esri/core/workers/chunks/bdd19dab276d20d5381a.js +1 -0
- package/assets/esri/core/workers/chunks/bee5e738ecf8680909c4.js +1 -0
- package/assets/esri/core/workers/chunks/{9be4438ce2c7180adadf.js → bf287f0e2ecb4532dc00.js} +1 -1
- package/assets/esri/core/workers/chunks/{5115059b012ef84407cf.js → bfb6566c27c09deb0929.js} +1 -1
- package/assets/esri/core/workers/chunks/c055c16379f5bb56e930.js +1 -0
- package/assets/esri/core/workers/chunks/c13e55b9efb0b532f7ee.js +1 -0
- package/assets/esri/core/workers/chunks/c369d4266f38e9ea6592.js +1 -0
- package/assets/esri/core/workers/chunks/c3fae4f4522604a9c17e.js +1 -0
- package/assets/esri/core/workers/chunks/c4c25db769a78e677e33.js +1 -0
- package/assets/esri/core/workers/chunks/c50e4e8c6188e64e7d45.js +1 -0
- package/assets/esri/core/workers/chunks/c838cc1c786368b78598.js +1 -0
- package/assets/esri/core/workers/chunks/c8db0a4fb5bc982dc9fc.js +1 -0
- package/assets/esri/core/workers/chunks/{82adfa2dbd40e1becaf4.js → c97451f75c23be979476.js} +1 -1
- package/assets/esri/core/workers/chunks/ca118c42c0f609ca7912.js +1 -0
- package/assets/esri/core/workers/chunks/ca419858910af5505d3d.js +1 -0
- package/assets/esri/core/workers/chunks/cb17cd8aaf77238c0236.js +1 -0
- package/assets/esri/core/workers/chunks/{034dd8ee5152a12412cd.js → cba3316910ff088f4d77.js} +1 -1
- package/assets/esri/core/workers/chunks/cc414fd2e313d89d524d.js +1 -0
- package/assets/esri/core/workers/chunks/{7b8466f892a38a53c600.js → cce83896093279c70449.js} +1 -1
- package/assets/esri/core/workers/chunks/cda04571d7623c17ada2.js +1 -0
- package/assets/esri/core/workers/chunks/cea4b18e7f83c02922b1.js +1 -0
- package/assets/esri/core/workers/chunks/cf03d391d50a4c7aca4f.js +1 -0
- package/assets/esri/core/workers/chunks/d03f427442bb0c287d05.js +1 -0
- package/assets/esri/core/workers/chunks/d082de5dd83bd73d209b.js +1 -0
- package/assets/esri/core/workers/chunks/d08d3c6f21e6ba8268ca.js +1 -0
- package/assets/esri/core/workers/chunks/d36f17d32c654b1ac7fa.js +1 -0
- package/assets/esri/core/workers/chunks/d36fba71c52ea4e71546.js +1 -0
- package/assets/esri/core/workers/chunks/{18f980465db5a86153d1.js → d37a72111dffc4c4db70.js} +1 -1
- package/assets/esri/core/workers/chunks/d41ab2abcfacc87809b5.js +1 -0
- package/assets/esri/core/workers/chunks/d4ed094962a41d756c95.js +1 -0
- package/assets/esri/core/workers/chunks/d5561dff043789494845.js +1 -0
- package/assets/esri/core/workers/chunks/d79ce047afbc034f6008.js +1 -0
- package/assets/esri/core/workers/chunks/d847c3cb2043a983145b.js +1 -0
- package/assets/esri/core/workers/chunks/d849bdaf5bdfdc37531a.js +1 -0
- package/assets/esri/core/workers/chunks/da6134c7883531f21afe.js +1 -0
- package/assets/esri/core/workers/chunks/{c48dfda8dcb9551606fb.js → dad39ddf0f8dfb0bef47.js} +1 -1
- package/assets/esri/core/workers/chunks/dadefe369f49e89a2610.js +1 -0
- package/assets/esri/core/workers/chunks/dccb46c7dce68528c72b.js +1 -0
- package/assets/esri/core/workers/chunks/dd65c32ae55fcf1282fe.js +1 -0
- package/assets/esri/core/workers/chunks/ddafe402f1bc9e8285ef.js +1 -0
- package/assets/esri/core/workers/chunks/de9573871f64c01e9f01.js +1 -0
- package/assets/esri/core/workers/chunks/dedf678490572c500a19.js +30 -0
- package/assets/esri/core/workers/chunks/df174346a7e9b629a392.js +1 -0
- package/assets/esri/core/workers/chunks/df30053a10d4930924d5.js +1 -0
- package/assets/esri/core/workers/chunks/dfbdc72c7ea137e3841d.js +1 -0
- package/assets/esri/core/workers/chunks/e21b3490bfce75405e55.js +1 -0
- package/assets/esri/core/workers/chunks/e2c9393bec747f7876bb.js +1 -0
- package/assets/esri/core/workers/chunks/e3e966777f18164afcd8.js +1 -0
- package/assets/esri/core/workers/chunks/e4a2eefffe16cd5bb20f.js +1 -0
- package/assets/esri/core/workers/chunks/{d0983cc19d19c19c3478.js → e4aacfc1617ccf60bd5a.js} +1 -1
- package/assets/esri/core/workers/chunks/{3a526e1d18490b99332f.js → e5bb7ee670a3ba5ba3fe.js} +1 -1
- package/assets/esri/core/workers/chunks/e5c75459de85a6dd2f14.js +1 -0
- package/assets/esri/core/workers/chunks/e798ca23f02a2dd65bd4.js +1 -0
- package/assets/esri/core/workers/chunks/e94f2d6037fba042dc6e.js +1 -0
- package/assets/esri/core/workers/chunks/e9511627418c6864148a.js +1 -0
- package/assets/esri/core/workers/chunks/ea8f224da4c5c95a3547.js +1 -0
- package/assets/esri/core/workers/chunks/ec1a2e68957fae48e60b.js +30 -0
- package/assets/esri/core/workers/chunks/ec2e0b2e31fd53b81d0a.js +1 -0
- package/assets/esri/core/workers/chunks/ed552941eca621a51f16.js +1 -0
- package/assets/esri/core/workers/chunks/ee58f4bbc0a1f7d03df0.js +1 -0
- package/assets/esri/core/workers/chunks/f04cb48fc73635d0572f.js +1 -0
- package/assets/esri/core/workers/chunks/f06f591680c9e93e69f6.js +1 -0
- package/assets/esri/core/workers/chunks/f1d3cf674b6bea89e122.js +1 -0
- package/assets/esri/core/workers/chunks/f2ab8e49c7f17f488aa8.js +1 -0
- package/assets/esri/core/workers/chunks/{6a51499c6623ddce5f00.js → f2adf1227a795604d3b8.js} +1 -1
- package/assets/esri/core/workers/chunks/f30578843f4faefd53b4.js +1 -0
- package/assets/esri/core/workers/chunks/{57c003c6745d450558a7.js → f4aed2b6e92bd0474069.js} +1 -1
- package/assets/esri/core/workers/chunks/f5d7f69047e1b1116202.js +1 -0
- package/assets/esri/core/workers/chunks/f5d809d30cbb56be852d.js +1 -0
- package/assets/esri/core/workers/chunks/{2d92f0042facb55edcff.js → f65adaaa33d9f3b131f6.js} +1 -1
- package/assets/esri/core/workers/chunks/f9b654f801cb416e9e17.js +1 -0
- package/assets/esri/core/workers/chunks/fb34d6d96c8c0d53fcf6.js +1 -0
- package/assets/esri/core/workers/chunks/fb51f823b25c827c6b29.js +1 -0
- package/assets/esri/core/workers/chunks/fba8065a3a6fbd877e23.js +1 -0
- package/assets/esri/core/workers/chunks/fd47ee8598e37fea03fe.js +1 -0
- package/assets/esri/core/workers/chunks/fefbde2c2e527bb716ee.js +1 -0
- package/assets/esri/core/workers/chunks/ff089723a27859fe18d1.js +1 -0
- package/assets/esri/layers/raster/formats/lerc-wasm.wasm +0 -0
- package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
- package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
- package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
- package/chunks/arcgis-knowledge-client-core.js +1 -1
- package/config.js +1 -1
- package/geometry/support/sphere.js +1 -1
- package/interfaces.d.ts +5 -0
- package/kernel.js +1 -1
- package/layers/AnnotationFeatureLayer.d.ts +13 -3
- package/layers/DimensionFeatureLayer.d.ts +10 -3
- package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/package.json +3 -3
- package/support/revision.js +1 -1
- package/views/2d/engine/webgl/definitions.js +1 -1
- package/views/2d/engine/webgl/effects/HittestEffect.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/segmentUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/SceneLayerWorker.js +1 -1
- package/views/3d/layers/SceneLayerWorkerHandle.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianTile.js +1 -1
- package/views/3d/webgl/RenderCamera.js +1 -1
- package/views/3d/webgl-engine/effects/WeatherFader.js +1 -1
- package/views/3d/webgl-engine/effects/clouds/CloudsParameters.js +1 -1
- package/views/3d/webgl-engine/lib/Intersector.js +1 -1
- package/views/3d/webgl-engine/lib/Octree.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/screenPolygonTriangleIntersections.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultBufferWriter.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/BufferRange.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
- package/views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js +1 -1
- package/views/Viewport2DMixin.js +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/Sketch.js +1 -1
- package/assets/esri/core/workers/chunks/02b043a3c5fa8bcb4c5b.js +0 -1
- package/assets/esri/core/workers/chunks/03437a8ef35c200dbf17.js +0 -1
- package/assets/esri/core/workers/chunks/0603cbd938ab619c706b.js +0 -1
- package/assets/esri/core/workers/chunks/08405116b5feb2d00101.js +0 -1
- package/assets/esri/core/workers/chunks/0a6e03263ab0906d8bcf.js +0 -1
- package/assets/esri/core/workers/chunks/0af6b87a3d77bb93b893.js +0 -1
- package/assets/esri/core/workers/chunks/0edd250159ec259601b3.js +0 -1
- package/assets/esri/core/workers/chunks/0f10d7d592c36ee2d1ea.js +0 -1
- package/assets/esri/core/workers/chunks/0f8fcbd0650b6a924f75.js +0 -1
- package/assets/esri/core/workers/chunks/0f976bfb7db98c2c0e05.js +0 -1
- package/assets/esri/core/workers/chunks/1040bce57ea63a6dbca4.js +0 -2
- package/assets/esri/core/workers/chunks/10510f76f8538c2dfb84.js +0 -1
- package/assets/esri/core/workers/chunks/1079914101d69a40b3eb.js +0 -1
- package/assets/esri/core/workers/chunks/11af659688cf963ea6cd.js +0 -1
- package/assets/esri/core/workers/chunks/15081b361fc42f40b865.js +0 -1
- package/assets/esri/core/workers/chunks/1599dc5309a4e60017ce.js +0 -261
- package/assets/esri/core/workers/chunks/181e98399732f425305d.js +0 -1
- package/assets/esri/core/workers/chunks/1837f97f720d255a1694.js +0 -1
- package/assets/esri/core/workers/chunks/18c4c437ded8bfbd3305.js +0 -1
- package/assets/esri/core/workers/chunks/18f4b2099299942aaf97.js +0 -1
- package/assets/esri/core/workers/chunks/1958facb000b6c16bfe4.js +0 -1
- package/assets/esri/core/workers/chunks/196e7515a43bd0026f49.js +0 -1
- package/assets/esri/core/workers/chunks/1a0903b1d2d5101977c6.js +0 -1
- package/assets/esri/core/workers/chunks/1aa7496a7dc95aae11ac.js +0 -1
- package/assets/esri/core/workers/chunks/1bd49e8d2657c72bf3f9.js +0 -1
- package/assets/esri/core/workers/chunks/1c263ffb7144e171a64f.js +0 -1
- package/assets/esri/core/workers/chunks/1d524690c4b66289bd20.js +0 -1
- package/assets/esri/core/workers/chunks/20fa2c3d4360afa5e136.js +0 -1
- package/assets/esri/core/workers/chunks/210ffc448c73a7bf63aa.js +0 -1
- package/assets/esri/core/workers/chunks/23f81f4a3d7a983eef23.js +0 -1
- package/assets/esri/core/workers/chunks/2540beb53f1443a070d7.js +0 -1
- package/assets/esri/core/workers/chunks/25c1f5e2561986330b80.js +0 -1
- package/assets/esri/core/workers/chunks/2757c4bf0280e27f3484.js +0 -1
- package/assets/esri/core/workers/chunks/294537e1ac43e8dfeaea.js +0 -1
- package/assets/esri/core/workers/chunks/29a1d0659bbc5a039864.js +0 -1
- package/assets/esri/core/workers/chunks/29df3f829006719b2680.js +0 -1
- package/assets/esri/core/workers/chunks/2a344bca6837ca3b5c41.js +0 -2
- package/assets/esri/core/workers/chunks/2a5dbed88bbd96cfac9f.js +0 -1
- package/assets/esri/core/workers/chunks/2b044c8fab2055a8818d.js +0 -1
- package/assets/esri/core/workers/chunks/2d956dacb26d71d1c174.js +0 -1
- package/assets/esri/core/workers/chunks/2da797ae5af9d2ede42d.js +0 -1
- package/assets/esri/core/workers/chunks/2dbcdfdf000226bfe746.js +0 -1
- package/assets/esri/core/workers/chunks/2e495a28494c2351837b.js +0 -1
- package/assets/esri/core/workers/chunks/2ef80e003b4f0393ac2e.js +0 -1
- package/assets/esri/core/workers/chunks/2fc3e43b64300014dddc.js +0 -1
- package/assets/esri/core/workers/chunks/30cf84a47ebefd180bb7.js +0 -1
- package/assets/esri/core/workers/chunks/314bc1b356d43bfa72a8.js +0 -1
- package/assets/esri/core/workers/chunks/34a024eda22d228e1fbe.js +0 -1
- package/assets/esri/core/workers/chunks/37e823202424c11076cb.js +0 -1
- package/assets/esri/core/workers/chunks/38a76bc4ef5c10ab0488.js +0 -1
- package/assets/esri/core/workers/chunks/390f2beee8e3f2a302e4.js +0 -1
- package/assets/esri/core/workers/chunks/3a76fffa2016c16d7989.js +0 -1398
- package/assets/esri/core/workers/chunks/3c2eb386c0165150e039.js +0 -1
- package/assets/esri/core/workers/chunks/3e4b379a6a197b9c4e6b.js +0 -1
- package/assets/esri/core/workers/chunks/3ec91474658eae87b832.js +0 -1
- package/assets/esri/core/workers/chunks/3eee32db0e9a5086b9a8.js +0 -1
- package/assets/esri/core/workers/chunks/406c7723e8db470822bf.js +0 -1
- package/assets/esri/core/workers/chunks/41aca863324387576cf8.js +0 -1
- package/assets/esri/core/workers/chunks/442424200e7475e9a08f.js +0 -1
- package/assets/esri/core/workers/chunks/4452fd0c59431904d533.js +0 -1
- package/assets/esri/core/workers/chunks/448e0596005cba9a4225.js +0 -1
- package/assets/esri/core/workers/chunks/4545cf12ad0824ce6b41.js +0 -1
- package/assets/esri/core/workers/chunks/45530a49fa1f09d1682e.js +0 -1
- package/assets/esri/core/workers/chunks/459e89d1b94a3b204d20.js +0 -30
- package/assets/esri/core/workers/chunks/45b2e58051f42ebd236e.js +0 -1
- package/assets/esri/core/workers/chunks/4611cf051c3c396fdf96.js +0 -1
- package/assets/esri/core/workers/chunks/46e3d33e44e5398221e2.js +0 -1
- package/assets/esri/core/workers/chunks/47656ec12401e53f4bd3.js +0 -1
- package/assets/esri/core/workers/chunks/47948c72bc01bd173c20.js +0 -2
- package/assets/esri/core/workers/chunks/48f1c3a7c9f16d6896f6.js +0 -1
- package/assets/esri/core/workers/chunks/49713dfa4c8b788079d1.js +0 -1
- package/assets/esri/core/workers/chunks/4a8201e09bc3ad5cc00b.js +0 -1
- package/assets/esri/core/workers/chunks/4ad86d6b1be07c97b6f6.js +0 -1
- package/assets/esri/core/workers/chunks/4be0c64bbf2449d57ea5.js +0 -1
- package/assets/esri/core/workers/chunks/4d57c771af4137f74bfb.js +0 -1
- package/assets/esri/core/workers/chunks/4f25aac84d9eb10cac83.js +0 -1
- package/assets/esri/core/workers/chunks/50b34e246f8eef2f6e07.js +0 -1
- package/assets/esri/core/workers/chunks/514ab968c0d75062e6ab.js +0 -1
- package/assets/esri/core/workers/chunks/51838d55d8ec4ce70398.js +0 -1
- package/assets/esri/core/workers/chunks/557300ec03bae84d8afc.js +0 -1
- package/assets/esri/core/workers/chunks/57abf838fcff0f0e2c5e.js +0 -1
- package/assets/esri/core/workers/chunks/57dd017fed2943d24e3d.js +0 -1
- package/assets/esri/core/workers/chunks/59801b2ccaaf4b394e02.js +0 -1
- package/assets/esri/core/workers/chunks/5a2d2dcdfa8d958f277d.js +0 -1
- package/assets/esri/core/workers/chunks/5a62c9f64db4fcae5e52.js +0 -1
- package/assets/esri/core/workers/chunks/5aebecb5c2b3e7887127.js +0 -1
- package/assets/esri/core/workers/chunks/5e68b74fd548c7cdba36.js +0 -1
- package/assets/esri/core/workers/chunks/5f360492560ae07083a6.js +0 -1
- package/assets/esri/core/workers/chunks/6022f43ebd58e21c737a.js +0 -1
- package/assets/esri/core/workers/chunks/6048c89fc4dcd2e9988d.js +0 -1
- package/assets/esri/core/workers/chunks/61efc7f5fab1c2b1f764.js +0 -1
- package/assets/esri/core/workers/chunks/62b137a795e487fa06a1.js +0 -1
- package/assets/esri/core/workers/chunks/632de34ebd2f44b4423d.js +0 -1
- package/assets/esri/core/workers/chunks/63ca17f569407c89bde1.js +0 -30
- package/assets/esri/core/workers/chunks/643c7506f8fe8e06acd2.js +0 -1
- package/assets/esri/core/workers/chunks/6596b12bb286a0b45a68.js +0 -1
- package/assets/esri/core/workers/chunks/65cc9a48ac95523f7aa8.js +0 -1
- package/assets/esri/core/workers/chunks/661f50cb97604453f942.js +0 -1
- package/assets/esri/core/workers/chunks/686c1a1b794ebe1a0341.js +0 -1
- package/assets/esri/core/workers/chunks/6896a6dd36fa91a27151.js +0 -1
- package/assets/esri/core/workers/chunks/68bc674affe2f7269c40.js +0 -1
- package/assets/esri/core/workers/chunks/6c02493a1c1deff49c7e.js +0 -1
- package/assets/esri/core/workers/chunks/6cdf1db30793133294dd.js +0 -1
- package/assets/esri/core/workers/chunks/6ff6783f89ecd3a5e752.js +0 -1
- package/assets/esri/core/workers/chunks/70763c7b68d8abe8d5fe.js +0 -1
- package/assets/esri/core/workers/chunks/716b1f073e3cd807abd3.js +0 -1
- package/assets/esri/core/workers/chunks/71a3f05cb86ae2920f8d.js +0 -1
- package/assets/esri/core/workers/chunks/71b672259bac2befd9c7.js +0 -1
- package/assets/esri/core/workers/chunks/71c996e1ae84d9daddf2.js +0 -1
- package/assets/esri/core/workers/chunks/723bb56de2324b41df4e.js +0 -1
- package/assets/esri/core/workers/chunks/73f61107cb7e6d30bf03.js +0 -1
- package/assets/esri/core/workers/chunks/752c34cee981862add89.js +0 -1
- package/assets/esri/core/workers/chunks/75915f81caaf9e5345a9.js +0 -1
- package/assets/esri/core/workers/chunks/75baf6dff6e7658b17b3.js +0 -1
- package/assets/esri/core/workers/chunks/760dfd585b6c2c1937ce.js +0 -1
- package/assets/esri/core/workers/chunks/76449e50222111ba0eb1.js +0 -1
- package/assets/esri/core/workers/chunks/76789f46b2c65d219cf9.js +0 -1
- package/assets/esri/core/workers/chunks/76bed5497f42f23a27ed.js +0 -1
- package/assets/esri/core/workers/chunks/7849cf0352c0a604e164.js +0 -1
- package/assets/esri/core/workers/chunks/7908aed639521cf572e8.js +0 -1
- package/assets/esri/core/workers/chunks/7d65a8ec5e1f871b9321.js +0 -1
- package/assets/esri/core/workers/chunks/7e4093f42795ba2f8cfd.js +0 -1
- package/assets/esri/core/workers/chunks/7f849c8255140be6097f.js +0 -1
- package/assets/esri/core/workers/chunks/804c31973f7d116523cb.js +0 -1
- package/assets/esri/core/workers/chunks/81726d997a2d34449bb2.js +0 -1
- package/assets/esri/core/workers/chunks/81883bca8a79ee2ddb00.js +0 -1
- package/assets/esri/core/workers/chunks/832ecc1f7d45774c4726.js +0 -1
- package/assets/esri/core/workers/chunks/8461f50e9875db4ccfec.js +0 -1
- package/assets/esri/core/workers/chunks/8598997340682113a2a5.js +0 -1
- package/assets/esri/core/workers/chunks/860a0f9d20f53db1caf4.js +0 -1
- package/assets/esri/core/workers/chunks/867e39bb444947c93586.js +0 -1
- package/assets/esri/core/workers/chunks/88ec63501fa2f6fdadca.js +0 -1
- package/assets/esri/core/workers/chunks/8980767c5b626e4dc3b9.js +0 -1
- package/assets/esri/core/workers/chunks/89dd1b1acb0d69264c93.js +0 -1
- package/assets/esri/core/workers/chunks/8a66a3e8391206f7d8aa.js +0 -1
- package/assets/esri/core/workers/chunks/8a8b7ac6693bdfbebf07.js +0 -1
- package/assets/esri/core/workers/chunks/8ad5e80e911419c1685a.js +0 -1
- package/assets/esri/core/workers/chunks/8b526ca2dd6fc6a7e921.js +0 -1
- package/assets/esri/core/workers/chunks/8e80441eddef1b5be8b9.js +0 -1
- package/assets/esri/core/workers/chunks/8f16a358ed83d2264415.js +0 -1
- package/assets/esri/core/workers/chunks/8fce15ce4cfdccf407f3.js +0 -1
- package/assets/esri/core/workers/chunks/8fd63cb38036f331a803.js +0 -1
- package/assets/esri/core/workers/chunks/91c5205d1274c7f190d5.js +0 -1
- package/assets/esri/core/workers/chunks/92341f36a8b15f34bcca.js +0 -1
- package/assets/esri/core/workers/chunks/937cf55b3b9d324eea73.js +0 -1
- package/assets/esri/core/workers/chunks/93d4bda22bde33fafa57.js +0 -1
- package/assets/esri/core/workers/chunks/9639b1dd27ccc17ee21e.js +0 -1
- package/assets/esri/core/workers/chunks/966d002acec8c72be56a.js +0 -1
- package/assets/esri/core/workers/chunks/986d8c3907aeeb18c4f6.js +0 -1
- package/assets/esri/core/workers/chunks/98e489c2b85feded7776.js +0 -1
- package/assets/esri/core/workers/chunks/9aef0b87f471626abd66.js +0 -1
- package/assets/esri/core/workers/chunks/9ba9a3705623679bc305.js +0 -1
- package/assets/esri/core/workers/chunks/a188d0767825d322f96d.js +0 -1
- package/assets/esri/core/workers/chunks/a4d3cbc02dc1186a9a6d.js +0 -1
- package/assets/esri/core/workers/chunks/a638de0102c3990403d1.js +0 -1
- package/assets/esri/core/workers/chunks/a6bda5f17fb1c03f7e4b.js +0 -1
- package/assets/esri/core/workers/chunks/a6dc01847f39413f78b8.js +0 -1
- package/assets/esri/core/workers/chunks/acc733b4881c3e4e503e.js +0 -1
- package/assets/esri/core/workers/chunks/b022debf9e0bc2bff0e2.js +0 -1
- package/assets/esri/core/workers/chunks/b09935d0105d50a0971b.js +0 -1
- package/assets/esri/core/workers/chunks/b12fc1b5a9da97346684.js +0 -1
- package/assets/esri/core/workers/chunks/b4323e69e624c6b51754.js +0 -1
- package/assets/esri/core/workers/chunks/b45e91249a8ea1559a2b.js +0 -1
- package/assets/esri/core/workers/chunks/b50a42a9f96515beb929.js +0 -1
- package/assets/esri/core/workers/chunks/b5141f240ca79729686d.js +0 -1
- package/assets/esri/core/workers/chunks/b549a4d4b1a34bee8beb.js +0 -1
- package/assets/esri/core/workers/chunks/bb89b6fd93513c61b2d3.js +0 -1
- package/assets/esri/core/workers/chunks/bc553ecc8cbcc1b02717.js +0 -1
- package/assets/esri/core/workers/chunks/bcba02f61cf0abcb5600.js +0 -1
- package/assets/esri/core/workers/chunks/bccc199af4e2e49f7acd.js +0 -1
- package/assets/esri/core/workers/chunks/bd0f488e228a75fbefb3.js +0 -30
- package/assets/esri/core/workers/chunks/bd155794e9bc16dd0474.js +0 -1
- package/assets/esri/core/workers/chunks/bf6ae205fbfbfcd1a0ee.js +0 -1
- package/assets/esri/core/workers/chunks/c148ad0ea9258046ac1f.js +0 -1
- package/assets/esri/core/workers/chunks/c228b058dd91bf0e1102.js +0 -1
- package/assets/esri/core/workers/chunks/c4e44fde4bc4ff89e2bc.js +0 -1
- package/assets/esri/core/workers/chunks/c4fc85281ca83af7abaf.js +0 -1
- package/assets/esri/core/workers/chunks/c610ccbfdb1c5b06c217.js +0 -1
- package/assets/esri/core/workers/chunks/c660a5a1086870a3a6b9.js +0 -1
- package/assets/esri/core/workers/chunks/c8b7ffc5cb3f1493129e.js +0 -1
- package/assets/esri/core/workers/chunks/c9057b0ad2c2bae4a8ce.js +0 -1
- package/assets/esri/core/workers/chunks/c93a68618674b38b932e.js +0 -1
- package/assets/esri/core/workers/chunks/c961aff385e38b081204.js +0 -1
- package/assets/esri/core/workers/chunks/cc0efa716b8414a44398.js +0 -1
- package/assets/esri/core/workers/chunks/cd66bd30f654fe571e57.js +0 -1
- package/assets/esri/core/workers/chunks/cd88e6f02bc2e5b67abf.js +0 -1
- package/assets/esri/core/workers/chunks/cf826787ab8d4b27ad80.js +0 -1
- package/assets/esri/core/workers/chunks/cfbbfa5edffa57bd3a8e.js +0 -1
- package/assets/esri/core/workers/chunks/d0217187aed8bb7038f4.js +0 -1
- package/assets/esri/core/workers/chunks/d1928a8c86a8966e5582.js +0 -1
- package/assets/esri/core/workers/chunks/d2745886ba5a86fd5c4c.js +0 -680
- package/assets/esri/core/workers/chunks/d4c341b15d9244276fb9.js +0 -1
- package/assets/esri/core/workers/chunks/d5faab9799891e5da5a8.js +0 -1
- package/assets/esri/core/workers/chunks/d811924acc9c0be95bba.js +0 -1
- package/assets/esri/core/workers/chunks/db90fb8ac96579259566.js +0 -1
- package/assets/esri/core/workers/chunks/dd0acd0f8b96839b4f24.js +0 -2
- package/assets/esri/core/workers/chunks/dd785e595cd08b2d6284.js +0 -1
- package/assets/esri/core/workers/chunks/e0b47b08ae2c36c76fa2.js +0 -1
- package/assets/esri/core/workers/chunks/e1ddb8e4977b317fd40c.js +0 -1
- package/assets/esri/core/workers/chunks/e4015870412edd69453c.js +0 -1
- package/assets/esri/core/workers/chunks/e7cb1b72f0b54e845741.js +0 -1
- package/assets/esri/core/workers/chunks/e7e7c7cbfd8542bd7a46.js +0 -1
- package/assets/esri/core/workers/chunks/e80376832050a4b6d28a.js +0 -1
- package/assets/esri/core/workers/chunks/e8a885b576da3ec145d3.js +0 -1
- package/assets/esri/core/workers/chunks/e95ee94027c1934086d8.js +0 -1
- package/assets/esri/core/workers/chunks/e961c6140c39921816a8.js +0 -1
- package/assets/esri/core/workers/chunks/eb7daa0f6610983ff8db.js +0 -1
- package/assets/esri/core/workers/chunks/eb842cf470ce28a73187.js +0 -1
- package/assets/esri/core/workers/chunks/eeea5710275c967e8d51.js +0 -1
- package/assets/esri/core/workers/chunks/ef32e454012f3b0e3f77.js +0 -1
- package/assets/esri/core/workers/chunks/f31a8e76f1dde23c0900.js +0 -1
- package/assets/esri/core/workers/chunks/f50bba74ae72c07e131a.js +0 -1
- package/assets/esri/core/workers/chunks/f58ddf37dee066a5c0d8.js +0 -1
- package/assets/esri/core/workers/chunks/f80cadcc2a588da63b38.js +0 -1
- package/assets/esri/core/workers/chunks/f83e3ad67b60744afd6d.js +0 -1
- package/assets/esri/core/workers/chunks/f859c53432f258af77e3.js +0 -2
- package/assets/esri/core/workers/chunks/f8bbb52b865a0a242140.js +0 -1
- package/assets/esri/core/workers/chunks/f8f3579d0c1b65762902.js +0 -1
- package/assets/esri/core/workers/chunks/f9592bcdd9988199a7ea.js +0 -1
- package/assets/esri/core/workers/chunks/fedbeb488d5d7c07c7dc.js +0 -1
- package/assets/esri/core/workers/chunks/ff7e1eb2366d4301d288.js +0 -1
- /package/assets/esri/core/workers/chunks/{47948c72bc01bd173c20.js.LICENSE.txt → 24c0b3586bb6500eda53.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{f859c53432f258af77e3.js.LICENSE.txt → 394716bd1ecfd638d708.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{1040bce57ea63a6dbca4.js.LICENSE.txt → 55af58b6dff52dc040fe.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{dd0acd0f8b96839b4f24.js.LICENSE.txt → 5b18696109fe84a1010a.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[926,6829],{69540(e,t,r){var s=r(5482),i=r(69622),n=(r(44208),r(4718)),o=(r(53966),r(97768)),a=r(88620),h=r(64108);const l=Symbol("ClonableMixin"),u=e=>{var t;const r=e;let i=class extends r{constructor(){super(...arguments),this[t]=!0}static{t=l}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const r=t.metadata,s=t.store,i={},h=new Map;for(const t in r){const o=r[t],a=s?.originOf(t),l=o.clonable;if(o.readOnly||!1===l||7!==a&&0!==a&&5!==a&&4!==a)continue;const u=this[t];let d=null;if("function"==typeof l)d=l(u,e);else if("reference"===l)d=u;else if(d=(0,n.TU)(u,e),null!=u&&null==d)continue;0===a?h.set(t,d):i[t]=d}const l=new(0,Object.getPrototypeOf(this).constructor)(i);if(h.size){const e=(0,a.oY)(l)?.store;if(e)for(const[t,r]of h)e.set(t,r,0)}return l}};return i=(0,s.Cg)([(0,h.$)("esri.core.Clonable")],i),i},d=u(i.A);r.d(t,["OU",0,u,"Pw",0,d])},7762(e,t,r){var s,i=r(5482),n=r(98291),o=r(4576),a=r(65529),h=r(36563),l=r(4718),u=r(53966),d=r(93687),c=r(76030),f=r(56507),p=r(62788),_=r(10107),m=r(7695),g=r(64108),y=r(95488),b=r(12195);class v{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}}class x{constructor(e,t,r,s,i){this.target=e,this.added=t,this.removed=r,this.start=s,this.deleteCount=i}}const I=new d.A(()=>new v,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});function A(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function w(e){return e?e instanceof k?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function T(e){if(e?.length)return e[0]}function M(e,t,r,s){const i=Math.min(e.length-r,t.length-s);let n=0;for(;n<i&&e[r+n]===t[s+n];)n++;return n}function C(e,t,r,s){t&&t.forEach((t,i,n)=>{e.push(t),C(e,r.call(s,t,i,n),r,s)})}const S=new Set,F=new Set,O=new Set,B=new Map;let R=0,k=s=class extends a.nJ{static ofType(e){if(!e)return s;if(B.has(e))return B.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const r in e.typeMap){const s=e.typeMap[r].prototype.declaredClass;t?t+=` | ${s}`:t=s}let r=class extends s{};return(0,i.Cg)([(0,m.u)({Type:e,ensureType:"function"==typeof e?(0,f.dp)(e):(0,f.aq)(e)})],r.prototype,"itemType",void 0),r=(0,i.Cg)([(0,g.$)(`esri.core.Collection<${t}>`)],r),B.set(e,r),r}static isCollection(e){return null!=e&&e instanceof s}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new y.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:R++})}normalizeCtorArgs(e){return e?(0,o.yc)(e)||e instanceof s?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(e){e>this._length?u.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(e,Math.max(0,this._length-e))}get items(){return(0,p.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(1)||(this._splice(0,this.length,w(e)),this._emitAfterChanges(1))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:super.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,h.hA)();if("change"===e){const e=this._chgListeners,r={removed:!1,callback:t};return e.push(r),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,h.hA)(()=>{r.removed=!0,e.splice(e.indexOf(r),1)})}return super.on(e,t)}once(e,t){const r="deref"in t?()=>t.deref():()=>t,s=this.on(e,e=>{r()?.call(null,e),s.remove()});return s}add(e,t){if((0,p.gc)(this._observable),this._emitBeforeChanges(1))return this;const r=this.getNextIndex(t??null);return this._splice(r,0,[e]),this._emitAfterChanges(1),this}addMany(e,t=this._items.length){if((0,p.gc)(this._observable),!e?.length)return this;if(this._emitBeforeChanges(1))return this;const r=this.getNextIndex(t);return this._splice(r,0,w(e)),this._emitAfterChanges(1),this}at(e){if((0,p.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const e=this._removeAllRaw();return this._emitAfterChanges(2),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,p.gc)(this._observable),this._createNewInstance({items:this._items.map(l.o8)})}concat(...e){(0,p.gc)(this._observable);const t=e.map(w);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const r=this._splice(0,this.length),s=r.length;for(let i=0;i<s;i++)e.call(t,r[i],i,r);this._emitAfterChanges(2)}destroyAll(){this.drain(A)}destroyMany(e){const t=this.removeMany(e);return t.forEach(A),t}every(e,t){return(0,p.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,p.gc)(this._observable);const r=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:r})}find(e,t){return(0,p.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,p.gc)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,p.gc)(this._observable);const r=[];return C(r,this,e,t),new s(r)}forEach(e,t){return(0,p.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,p.gc)(this._observable),this._items[e]}getNextIndex(e){(0,p.gc)(this._observable);const t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,p.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,p.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,p.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,p.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,p.gc)(this._observable);const r=this._items.map(e,t);return new s({items:r})}reorder(e,t=this.length-1){(0,p.gc)(this._observable);const r=this.indexOf(e);if(-1!==r){if(t<0?t=0:t>=this.length&&(t=this.length-1),r!==t){if(this._emitBeforeChanges(4))return e;this._splice(r,1),this._splice(t,0,[e]),this._emitAfterChanges(4)}return e}}pop(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=T(this._splice(this.length-1,1));return this._emitAfterChanges(2),e}push(...e){return(0,p.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,e),this._emitAfterChanges(1)),this.length}reduce(e,t){(0,p.gc)(this._observable);const r=this._items;return 2===arguments.length?r.reduce(e,t):r.reduce(e)}reduceRight(e,t){(0,p.gc)(this._observable);const r=this._items;return 2===arguments.length?r.reduceRight(e,t):r.reduceRight(e)}remove(e){return(0,p.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,p.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(2))return;const t=T(this._splice(e,1));return this._emitAfterChanges(2),t}removeMany(e){if((0,p.gc)(this._observable),!e?.length||this._emitBeforeChanges(2))return[];const t=e instanceof s?e.toArray():e,r=this._items,i=[],n=t.length;for(let e=0;e<n;e++){const s=t[e],n=r.indexOf(s);if(n>-1){const s=1+M(t,r,e+1,n+1),o=this._splice(n,s);o&&o.length>0&&i.push.apply(i,o),e+=s-1}}return this._emitAfterChanges(2),i}reverse(){if((0,p.gc)(this._observable),this._emitBeforeChanges(4))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(4),this}shift(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=T(this._splice(0,1));return this._emitAfterChanges(2),e}slice(e=0,t=this.length){return(0,p.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,p.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(e))return this;const t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(4),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){const t=this.length-1;for(let r=0;r<t;r++)if(e(this.items[r],this.items[r+1])>0)return!0;return!1}splice(e,t,...r){(0,p.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;const s=(t?2:0)|(r.length?1:0);if(this._emitBeforeChanges(s))return[];const i=this._splice(e,t,r)||[];return this._emitAfterChanges(s),i}toArray(){return(0,p.gc)(this._observable),this._items.slice()}toJSON(e){return(0,p.gc)(this._observable),this.toArray().map(t=>(0,b.W)(t)?t.toJSON(e):t)}toLocaleString(){return(0,p.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,p.gc)(this._observable),this._items.toString()}unshift(...e){return(0,p.gc)(this._observable),!e.length||this._emitBeforeChanges(1)||(this._splice(0,0,e),this._emitAfterChanges(1)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,r){const s=this._items,i=this.itemType;let n,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,c._)(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(o=s.splice(e,t),this.hasEventListener("before-remove")){const t=I.acquire();t.target=this,t.cancellable=!0;for(let r=0,i=o.length;r<i;r++)n=o[r],t.reset(n),this.emit("before-remove",t),t.defaultPrevented&&(o.splice(r,1),s.splice(e,0,n),e+=1,r-=1,i-=1);I.release(t)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const e=I.acquire();e.target=this,e.cancellable=!1;const t=o.length;for(let r=0;r<t;r++)e.reset(o[r]),this.emit("after-remove",e);I.release(e)}}if(r?.length){if(i){const e=[];for(const t of r){const r=i.ensureType(t);null==r&&null!=t||e.push(r)}r=e}const t=this.hasEventListener("before-add"),n=this.hasEventListener("after-add"),o=e===this.length;if(t||n){const i=I.acquire();i.target=this,i.cancellable=!0;const a=I.acquire();a.target=this,a.cancellable=!1;for(const h of r)t?(i.reset(h),this.emit("before-add",i),i.defaultPrevented||(o?s.push(h):s.splice(e++,0,h),this._length=s.length,n&&(a.reset(h),this.emit("after-add",a)))):(o?s.push(h):s.splice(e++,0,h),this._length=s.length,a.reset(h),this.emit("after-add",a));I.release(a),I.release(i)}else{if(o)for(const e of r)s.push(e);else s.splice(e,0,...r);this._length=s.length}}if((r?.length||o?.length)&&this._notifyChangeEvent(r,o),this.hasEventListener("after-splice")){const s=new x(this,r,o,e,t);this.emit("after-splice",s)}return o}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const r=I.acquire();r.target=this,r.cancellable=!0,r.type=e,this.emit("before-changes",r),t=r.defaultPrevented,I.release(r)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=I.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),I.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;S.clear(),F.clear(),O.clear();for(const{added:t,removed:r}of e){if(t)if(0===O.size&&0===F.size)for(const e of t)S.add(e);else for(const e of t)F.has(e)?(O.add(e),F.delete(e)):O.has(e)||S.add(e);if(r)if(0===O.size&&0===S.size)for(const e of r)F.add(e);else for(const e of r)S.has(e)?S.delete(e):(O.delete(e),F.add(e))}const r=n.A.acquire();S.forEach(e=>{r.push(e)});const s=n.A.acquire();F.forEach(e=>{s.push(e)});const i=this._items,o=t.items,a=n.A.acquire();if(O.forEach(e=>{o.indexOf(e)!==i.indexOf(e)&&a.push(e)}),t.listeners&&(r.length||s.length||a.length)){const e={target:this,added:r,removed:s,moved:a},i=t.listeners.length;for(let r=0;r<i;r++){const s=t.listeners[r];s.removed||s.callback.call(this,e)}}n.A.release(r),n.A.release(s),n.A.release(a)}S.clear(),F.clear(),O.clear()}};(0,i.Cg)([(0,_.MZ)()],k.prototype,"_updating",void 0),(0,i.Cg)([(0,_.MZ)()],k.prototype,"_length",void 0),(0,i.Cg)([(0,_.MZ)()],k.prototype,"length",null),(0,i.Cg)([(0,_.MZ)()],k.prototype,"items",null),(0,i.Cg)([(0,_.MZ)({readOnly:!0})],k.prototype,"updating",null),k=s=(0,i.Cg)([(0,g.$)("esri.core.Collection")],k);const N=k;r.d(t,["A",0,N])},7695(e,t,r){function s(e){return(t,r)=>{t[r]=e}}r.d(t,{u:()=>s})},48163(e,t,r){function s(){return[0,0]}function i(e){return[e[0],e[1]]}function n(e,t){return[e,t]}function o(){return n(1,1)}function a(){return n(-1,-1)}function h(){return n(1,0)}function l(){return n(0,1)}r.d(t,{fA:()=>n,o8:()=>i,vt:()=>s});const u=o(),d=a(),c=h(),f=l();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:d,ONES:u,UNIT_X:c,UNIT_Y:f,ZEROS:[0,0],clone:i,create:s,freeze:function(e,t){return[e,t]},fromArray:function(e,t=[0,0]){const r=Math.min(2,e.length);for(let s=0;s<r;++s)t[s]=e[s];return t},fromValues:n,negativeOnes:a,ones:o,unitX:h,unitY:l,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"})),r.d(t,["IA",0,d,"Un",0,u])},36708(e,t,r){r.d(t,{C_:()=>c,on:()=>d,wB:()=>h,z7:()=>l});var s=r(37955),i=r(36563),n=r(97768),o=r(17676),a=r(14012);function h(e,t,r={}){return u(e,t,r,f)}function l(e,t,r={}){return u(e,t,r,p)}function u(e,t,r={},s){let i=null;const o=r.once?(e,r)=>{s(e)&&((0,n.xt)(i),t(e,r))}:(e,r)=>{s(e)&&t(e,r)};if(i=(0,a.Cn)(e,o,r.sync,r.equals),r.initial){const t=e();o(t,t)}return i}function d(e,t,r,o={}){let a=null,l=null,u=null;function d(){a&&l&&(l.remove(),o.onListenerRemove?.(a),a=null,l=null)}function c(e){o.once&&o.once&&(0,n.xt)(u),r(e)}const f=h(e,(e,r)=>{d(),(0,s.wb)(e)&&(a=e,l=(0,s.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return u=(0,i.hA)(()=>{f.remove(),d()}),u}function c(e,t){return function(e,t,r){if((0,o.G4)(r))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function h(){a=(0,n.xt)(a)}return new Promise((s,n)=>{a=(0,i.vE)([(0,o.u7)(r,()=>{h(),n((0,o.NK)())}),u(e,e=>{h(),s(e)},{sync:!1,once:!0},t??f)])})}(e,p,t)}function f(e){return!0}function p(e){return!!e}r(80559),r.d(t,["OH",0,{sync:!0},"Vh",0,{initial:!0},"pc",0,{sync:!0,initial:!0}])},48526(e,t,r){r.d(t,{A:()=>m});var s,i=r(5482),n=r(4576),o=r(4718),a=r(91429),h=r(5443),l=r(91075),u=r(86738),d=r(16930),c=r(90634),f=r(47610),p=r(56993),_=r(43937);let m=s=class extends l.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:r,hasZ:s,spatialReference:i}=e;switch(t??=[],t?.at(0)?.length){case 4:s??=!0,r??=!0;break;case 3:s??=!0!==r,r??=!s;break;default:s??=!1,r??=!1}return i??=d.A.WGS84,{...e,hasM:r,hasZ:s,points:t,spatialReference:i}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,c.ge)(this);return e?new h.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:r,hasZ:i}=this;return new s({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:r,hasZ:i})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,r=e.spatialReference;return null!=t==(null!=r)&&!(null!=t&&null!=r&&!t.equals(r))&&(0,n.aI)(this.points,e.points,f.v6)}addPoint(e){return(0,p.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],r={x:t[0],y:t[1],spatialReference:this.spatialReference};let s=2;return this.hasZ&&(r.z=t[2],s=3),this.hasM&&(r.m=t[s]),new u.A(r)}removePoint(e){if(!this._validateInputs(e))return null;const t=new u.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,p.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,i.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"extent",null),(0,i.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],m.prototype,"points",void 0),(0,i.Cg)([(0,_.K)("points")],m.prototype,"writePoints",null),m=s=(0,i.Cg)([(0,a.$K)("esri.geometry.Multipoint")],m),m.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,r){r.d(t,{A:()=>p});var s,i=r(5482),n=r(4718),o=r(91429),a=r(5443),h=r(91075),l=r(86738),u=r(16930),d=r(90634),c=r(56993),f=r(43937);let p=s=class extends h.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:r,hasZ:s,spatialReference:i}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:s??=!0,r??=!0;break;case 3:s??=!0!==r,r??=!s;break;default:s??=!1,r??=!1}return i??=u.A.WGS84,{...e,hasM:r,hasZ:s,paths:t,spatialReference:i}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,n.o8)(e)}get extent(){const e=(0,d.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,n.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,r=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const s=[];for(let t=0,r=e.length;t<r;t++)s[t]=e[t].toArray();t[r]=s}else t[r]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new s;return e.spatialReference=this.spatialReference,e.paths=(0,n.o8)(this.paths),e.curvePaths=(0,n.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const r=this.paths[e][t],s=this.hasZ,i=this.hasM;return s&&!i?new l.A(r[0],r[1],r[2],void 0,this.spatialReference):i&&!s?new l.A(r[0],r[1],void 0,r[2],this.spatialReference):s&&i?new l.A(r[0],r[1],r[2],r[3],this.spatialReference):new l.A(r[0],r[1],this.spatialReference)}insertPoint(e,t,r){return this._validateInputs(e,t,!0)?((0,c.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e].splice(t,0,r),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],r=this.spatialReference,s=t.map(e=>new l.A(e,r));return this.notifyChange("paths"),s}removePoint(e,t){if(!this._validateInputs(e,t))return null;const r=new l.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(e,t,r){return this._validateInputs(e,t)?((0,c.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e][t]=r,this.notifyChange("paths"),this):this}_validateInputs(e,t,r=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const s=this.paths[e];if(r&&(t<0||t>s.length))return!1;if(!r&&(t<0||t>=s.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,i.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,i.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],p.prototype,"curvePaths",void 0),(0,i.Cg)([(0,f.K)("curvePaths")],p.prototype,"writeCurvePaths",null),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],p.prototype,"extent",null),(0,i.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],p.prototype,"paths",void 0),(0,i.Cg)([(0,f.K)("paths")],p.prototype,"writePaths",null),p=s=(0,i.Cg)([(0,o.$K)("esri.geometry.Polyline")],p),p.prototype.toJSON.isDefaultToJSON=!0},60408(e,t,r){function s(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function n(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function h(e){return"object"==typeof e&&"vertexAttributes"in e}function l(e){return e?n(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function u(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>l,Bi:()=>a,Pv:()=>u,Rg:()=>o,U9:()=>i,W0:()=>d,ZC:()=>s,fT:()=>n,uW:()=>h})},65864(e,t,r){r.d(t,{rS:()=>u,xD:()=>c});var s=r(5443),i=r(91075),n=r(48526),o=r(86738),a=r(39829),h=r(82799),l=r(60408);function u(e){return null==e?null:e instanceof i.A?e:(0,l.fT)(e)?o.A.fromJSON(e):(0,l.Rg)(e)?h.A.fromJSON(e):(0,l.Bi)(e)?a.A.fromJSON(e):(0,l.U9)(e)?n.A.fromJSON(e):(0,l.ZC)(e)?s.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function c(e){return e&&d[e]||null}},64714(e,t,r){r.d(t,{F0:()=>a,Vx:()=>u,e2:()=>c,f:()=>f});var s=r(44208),i=r(4718),n=r(99352),o=r(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const h=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let l=1;function u(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>t?{[t]:null,...e}:{...e};try{let r="";t&&(r+=`this${d(t)} = null;`);for(const t in e)r+=`this${d(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${l++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new s}catch(r){return()=>t?{[t]:null,...e}:{...e}}}function d(e){return h.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function f(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:n.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:n.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},17754(e,t,r){r.d(t,{gE:()=>n,wY:()=>i,xb:()=>o});const s=2**32;function i(e){return Math.floor(e/s)%65536}function n(e){return e%s}function o(e,t){return e*s+t}},39357(e,t,r){r.d(t,{A:()=>a});var s,i=r(5482),n=r(25482),o=r(91429);let a=s=class extends n.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new s({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=s=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,r){r.d(t,{A:()=>u});var s,i=r(5482),n=r(4718),o=r(91429),a=r(39357),h=r(76357),l=r(93223);let u=class extends h.A{static{s=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new s({codedValues:(0,n.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],u.prototype,"codedValues",void 0),(0,i.Cg)([(0,l.e)({codedValue:"coded-value"})],u.prototype,"type",void 0),u=s=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],u)},76357(e,t,r){r.d(t,{A:()=>l});var s=r(5482),i=r(66552),n=r(25482),o=r(91429),a=r(93223);const h=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let l=class extends n.o{constructor(e){super(e),this.name=null,this.type=null}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"name",void 0),(0,s.Cg)([(0,a.e)(h),(0,o.MZ)({json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),l=(0,s.Cg)([(0,o.$K)("esri.layers.support.Domain")],l)},20437(e,t,r){r.d(t,{A:()=>p});var s,i=r(5482),n=r(66552),o=r(25482),a=r(91429),h=r(56507),l=r(8631),u=r(98453),d=r(36005),c=r(93223);const f=new n.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let p=class extends o.o{static{s=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?f.fromJSON(r.fieldValueType):null}clone(){return new s({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],p.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],p.prototype,"description",void 0),(0,i.Cg)([(0,d.w)("description")],p.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:l.g,json:{read:{reader:l.r},write:!0}})],p.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:h.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],p.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"nullable",void 0),(0,i.Cg)([(0,c.e)(u.m)],p.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],p.prototype,"valueType",void 0),(0,i.Cg)([(0,d.w)("valueType",["description"])],p.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],p.prototype,"visible",void 0),p=s=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],p)},41628(e,t,r){r.d(t,{A:()=>h});var s,i=r(5482),n=r(91429),o=r(76357),a=r(93223);let h=class extends o.A{static{s=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new s({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],h.prototype,"maxValue",void 0),(0,i.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],h.prototype,"minValue",void 0),(0,i.Cg)([(0,a.e)({range:"range"})],h.prototype,"type",void 0),h=s=(0,i.Cg)([(0,n.$K)("esri.layers.support.RangeDomain")],h)},8631(e,t,r){r.d(t,{r:()=>c,g:()=>d});var s,i=r(53177),n=r(76357),o=r(5482),a=r(91429),h=r(93223);let l=class extends n.A{static{s=this}constructor(e){super(e),this.type="inherited"}clone(){return new s}};(0,o.Cg)([(0,h.e)({inherited:"inherited"})],l.prototype,"type",void 0),l=s=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],l);var u=r(41628);const d={key:"type",base:n.A,typeMap:{range:u.A,"coded-value":i.A,inherited:l}};function c(e){if(!e?.type)return null;switch(e.type){case"range":return u.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return l.fromJSON(e)}return null}},98453(e,t,r){const s=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,s])},2272(e,t,r){r.d(t,{Dl:()=>l,gf:()=>d,jV:()=>h,lF:()=>u});var s=r(92602),i=r(70333),n=r(4718),o=r(84952),a=r(926);function h(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function l(e){return"string"==typeof e?(0,o.An)(e):(0,n.o8)(e)}function u(e,t,r){const s={};for(const i in e){if("declaredClass"===i)continue;const n=e[i];if(null!=n&&"function"!=typeof n)if(Array.isArray(n))s[i]=n.map(e=>u(e));else if("object"==typeof n)if(n.toJSON){const e=n.toJSON(r?.[i]);s[i]=t?e:JSON.stringify(e)}else s[i]=t?n:JSON.stringify(n);else s[i]=n}return s}async function d(e,t,n){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??i.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!i.id&&s.A.request.useIdentity&&await Promise.all([r.e(7632),r.e(864),r.e(148)]).then(r.bind(r,50148));const h=await i.id.getCredential(e,n);return h?.token}},926(e,t,r){r.d(t,{Dd:()=>c,Jn:()=>f,Qc:()=>p,getApiKey:()=>u,getSessionToken:()=>d});var s=r(92602),i=r(11254),n=r(84952);const o=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),h=new Map;let l=null;function u(e){if(!p(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),r=s.A.apiKeys;if(Array.isArray(r.scopes))for(const e of r.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return r.basemapStyles&&o.test(e)?r.basemapStyles:s.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?s.A.apiKey:null}async function d(e){if(!s.A.sessions?.basemap?.enabled||!o.test(e))return null;const t=u(e);if(!t)return null;l&&await l;const{styleFamily:r="arcgis",autoRefresh:n,duration:a=43200}=s.A.sessions.basemap,d=`${t}:${r}`,c=h.get(d);if(c&&(!n||c.endTime>Date.now()))return c.sessionToken;let f;l=(0,i.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:a,styleFamily:r,token:t}});try{f=(await l).data,f.endTime-=5e3,h.set(d,f)}finally{l=null}return f.sessionToken}function c(){return null!=s.A.apiKey||null!=s.A.apiKeys.basemapStyles}function f(e,t){return t?p(e):null!=u(e)}function p(e){const t=(0,n.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},50115(e,t,r){r.d(t,{OP:()=>o,V4:()=>i,rZ:()=>n}),r(44208);var s=r(53966);function i(e,t,r){if(null==e)return null;const i=t.readArcadeFeature();t.contextTimeZone=r.$view?.timeZone;try{return e.evaluate(i,r)}catch(e){return s.A.getLogger("esri.views.2d.support.arcadeOnDemand").warn("Feature arcade evaluation failed:",e),null}}function n(e){return null==e||e===1/0||e===-1/0||"number"==typeof e&&isNaN(e)}function o(e,t,r,s){if(null==e)return null!=s?s:null;const i=t.readArcadeFeature();t.contextTimeZone=r.$view?.timeZone;const o=e.evaluate(i,r);return n(o)?null!=s?s:null:o}},30661(e,t,r){r.d(t,{Z:()=>n});var s=r(43334),i=r(8446);class n{static{this.Shared=new n}getObjectId(e){return e.getObjectId()}getAttributes(e){return e.readAttributes()}getAttribute(e,t){return e.readAttribute(t)}getAttributeAsTimestamp(e,t){return e.readAttributeAsTimestamp(t)}cloneWithGeometry(e,t,r){const n=e.readAttributes(),o=new s.Om(t,n,null,e.getObjectId(),e.getDisplayId()),a=i.K.fromOptimizedFeatures([o],e.metadata);return a.setIndex(0),a}getGeometry(e){return e.readGeometryWorldSpace()}getCentroid(e,t){return e.readCentroidForDisplay()}}},63664(e,t,r){r.d(t,{B:()=>s});class s{constructor(e){this._statistics=e}get statistics(){return this._statistics}}},38976(e,t,r){r.d(t,{n:()=>s});class s{constructor(e){this.options=e}get hash(){return this.options.hash}}},92029(e,t,r){r.d(t,{o:()=>n});var s=r(50115);const i=Math.PI/180;class n{static create(e){return new n(e.map(e=>function(e){switch(e.statisticType){case"min":return new a(e);case"max":return new h(e);case"avg":return new u(e);case"avg_angle":return new d(e);case"sum":case"count":return new l(e);case"mode":return new c(e)}}(e)))}constructor(e){this._statistics=e}static get estimatedMemory(){return 160}values(){return this._statistics.values()}insert(e,t){for(const r of this._statistics)r.insert(e,t)}merge(e){for(let t=0;t<this._statistics.length;t++){const r=this._statistics[t],s=e._statistics[t];if(r.field.name!==s.field.name)throw new Error("InternalError: Tried to merge incompatible statistics");r.merge(s)}}clone(){return new n(this._statistics.map(e=>e.clone()))}}class o{constructor(e){this.field=e}insert(e,t){if(!this.field.computed)return;const r=this.field.computed.read(e,t);(0,s.rZ)(r)||this._insertValue(r)}}class a extends o{constructor(){super(...arguments),this.type="min",this.value=Number.MAX_VALUE}_insertValue(e){this.value=Math.min(this.value,e)}merge(e){this.value=Math.min(this.value,e.value)}clone(){const e=new a(this.field);return e.value=this.value,e}}class h extends o{constructor(){super(...arguments),this.type="max",this.value=Number.MIN_VALUE}_insertValue(e){this.value=Math.max(this.value,e)}merge(e){this.value=Math.max(this.value,e.value)}clone(){const e=new h(this.field);return e.value=this.value,e}}class l extends o{constructor(){super(...arguments),this.type="sum",this.value=0}_insertValue(e){this.value+=e}merge(e){this.value+=e.value}clone(){const e=new l(this.field);return e.value=this.value,e}}class u extends o{constructor(){super(...arguments),this.type="avg",this._total=0,this._count=0}get value(){return this._total/this._count}_insertValue(e){this._total+=e,this._count+=1}merge(e){this._total+=e._total,this._count+=e._count}clone(){const e=new u(this.field);return e._total=this._total,e._count=this._count,e}}class d extends o{constructor(){super(...arguments),this.type="avg_angle",this._x=0,this._y=0,this._count=0}get value(){const e=this._x/this._count,t=this._y/this._count,r=180/Math.PI;return Math.atan2(t,e)*r}_insertValue(e){this._x=this._x+Math.cos(e*i),this._y=this._y+Math.sin(e*i),this._count+=1}merge(e){this._x+=e._x,this._y+=e._y,this._count+=e._count}clone(){const e=new d(this.field);return e._x=this._x,e._y=this._y,e._count=this._count,e}}class c extends o{constructor(){super(...arguments),this._frequencies=new Map}get value(){let e,t=0;for(const[r,s]of this._frequencies.entries())s>t&&(t=s,e=r);return e}_insertValue(e){const t=this._frequencies.get(e);null!=t?this._frequencies.set(e,t+1):this._frequencies.set(e,1)}merge(e){for(const[t,r]of e._frequencies.entries()){const e=this._frequencies.get(t);null!=e?this._frequencies.set(t,e+r):this._frequencies.set(t,r)}}clone(){const e=new c(this.field);return e._frequencies=new Map(this._frequencies),e}}},75538(e,t,r){r.d(t,{L:()=>a});var s=r(90708),i=r(92722),n=r(63664),o=r(92029);class a extends n.B{static createId(e,t){return`${e}.${t}`}static create(e,t,r,s){return new a(e,t,o.o.create(r),s)}constructor(e,t,r,s){super(r),this.gridX=e,this.gridY=t,this._worldUnitsPerCell=s,this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._objectIds=[new Set]}get id(){return a.createId(this.gridX,this.gridY)}get containedObjectIds(){return this._objectIds}get count(){return this._count}get firstObjectId(){return this._objectIds[0].values().next().value}get centroidXWorld(){return this._xWorldTotal/this._count}get centroidYWorld(){return this._yWorldTotal/this._count}get usedMemory(){return 48}clone(){const e=new a(this.gridX,this.gridY,this._statistics.clone(),this._worldUnitsPerCell);return e._count=this._count,e._xWorldTotal=this._xWorldTotal,e._yWorldTotal=this._yWorldTotal,e._firstFeatureAttributes=this._firstFeatureAttributes,e._objectIds=this._objectIds.map(e=>new Set(e)),e}insert(e,t){let r=0,s=0;if("esriGeometryPoint"===e.geometryType)r=e.readXWorldSpace(),s=e.readYWorldSpace();else{const t=e.readCentroidWorldSpace();if(null==t)return;[r,s]=t.coords}0===this._count?this._firstFeatureAttributes=e.readAttributes():this._firstFeatureAttributes=null,this._count+=1,this._xWorldTotal+=r,this._yWorldTotal+=s,this._statistics.insert(e,t),this._objectIds[0].add(e.getObjectId())}merge(e){0!==e._count&&(this._count+=e._count,this._firstFeatureAttributes=e._firstFeatureAttributes,this._xWorldTotal+=e._xWorldTotal,this._yWorldTotal+=e._yWorldTotal,this._statistics.merge(e._statistics),this._objectIds.push(...e._objectIds))}getCentroidX(e){return null==e?this.centroidXWorld:(0,s.IE)(e,this.centroidXWorld)}getCentroidY(e){return null==e?this.centroidYWorld:(0,s.B2)(e,this.centroidYWorld)}getGeometry(e,t){const r=this.gridX*this._worldUnitsPerCell,n=this.gridY*this._worldUnitsPerCell,o=new i.A([4],[r,n,r+this._worldUnitsPerCell,n,r+this._worldUnitsPerCell,n+this._worldUnitsPerCell,r,n+this._worldUnitsPerCell]);return null!=t?(0,s.Nl)(o,"esriGeometryPolygon",t):o}getCentroid(e){const t=new i.A([],[this.centroidXWorld,this.centroidYWorld]);return null!=e?(0,s.Nl)(t,"esriGeometryPoint",e):t}getGeometricCentroid(e,t){const r=this.gridX*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,n=this.gridY*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,o=new i.A([],[r,n]);return null!=t?(0,s.Nl)(o,"esriGeometryPoint",t):o}getAttributes(){const e={aggregateId:this.id};for(const t of this._statistics.values())e[t.field.name]=t.value;return null!=this._firstFeatureAttributes?{...e,...this._firstFeatureAttributes}:e}}},24506(e,t,r){r.d(t,{H:()=>u,p:()=>l});var s=r(91869),i=r(86211),n=r(38976),o=r(75538);class a{static createId(e,t){return`${e}.${t}`}constructor(e,t){this.gridX=e,this.gridY=t,this._indices=[],this.id=a.createId(e,t)}push(e){this._indices.push(e)}}var h=r(9012);function l(e,t){return 39.37*(0,i.GA)(e)*96/t}class u extends n.n{constructor(e,t){super(e),this._reader=t,this._cells=new Map,this._pixelsPerMapUnit=l(e.inner.spatialReference,e.inner.scale),this.insert(this._reader)}get worldUnitsPerCell(){return 1*this.options.inner.cellSize/this._pixelsPerMapUnit}insert(e){const t=e.getCursor();for(;t.next();){const e=t,{featureFilter:r,sqlOptions:s,cellSize:i}=this.options.inner;if(null!==r&&!r.check(e,s))continue;let n=0,o=0;if("esriGeometryPoint"===e.geometryType)n=e.readXWorldSpace(),o=e.readYWorldSpace();else{const t=e.readCentroidWorldSpace();if(null==t)continue;[n,o]=t.coords}const a=n*this._pixelsPerMapUnit,h=o*this._pixelsPerMapUnit,l=Math.floor(a/i),u=Math.floor(h/i);this._getCellOrCreate(l,u).push(t.getIndex())}}get usedMemory(){return 0}forEachInCell(e,t){const r=this._cells.get(e);if(r)for(const e of r._indices)this._reader.setIndex(e),t(this._reader)}put(e,t){const{arcadeContextInfo:r,scale:i,fields:n}=this.options.inner,a=(0,h.N)(i,r);this._cells.forEach(r=>{let i=null;for(const h of r._indices){this._reader.setIndex(h);const l=this._reader.getObjectId();t.has(l)||(i??=(0,s.tE)(e,r.id,()=>o.L.create(r.gridX,r.gridY,n,this.worldUnitsPerCell)),i.insert(this._reader,a),t.add(l))}})}putBounded(e,t,r,i){const{arcadeContextInfo:n,scale:a,cellSize:l,fields:u}=this.options.inner,d=(0,h.N)(a,n),c=[r.xmin,r.ymin,r.xmax,r.ymax],[f,p,_,m]=c,g=Math.floor(f*this._pixelsPerMapUnit/l),y=Math.floor(p*this._pixelsPerMapUnit/l),b=Math.ceil(_*this._pixelsPerMapUnit/l),v=Math.ceil(m*this._pixelsPerMapUnit/l);for(let r=y;r<=v;r++)for(let i=g;i<=b;i++){const n=o.L.createId(i,r),a=this._cells.get(n);if(!a)continue;let h=null;for(const n of a._indices){this._reader.setIndex(n);const l=this._reader.getObjectId();t.has(l)||(h??=(0,s.tE)(e,a.id,()=>o.L.create(i,r,u,this.worldUnitsPerCell)),h.insert(this._reader,d),t.add(l))}}}_getCellOrCreate(e,t){const r=a.createId(e,t);let s=this._cells.get(r);return s||(s=new a(e,t),this._cells.set(r,s)),s}}},70300(e,t,r){r.d(t,{K:()=>Z});var s=r(11006);function i(e,t){if(!(this instanceof i))return new i(e,t);this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this.toBBox=t:this._initFormat(t)),this.clear()}function n(e,t,r){if(!r)return t.indexOf(e);for(var s=0;s<t.length;s++)if(r(e,t[s]))return s;return-1}function o(e,t){a(e,0,e.children.length,t,e)}function a(e,t,r,s,i){i||(i=g(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var n,o=t;o<r;o++)n=e.children[o],h(i,e.leaf?s(n):n);return i}function h(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function l(e,t){return e.minX-t.minX}function u(e,t){return e.minY-t.minY}function d(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function c(e){return e.maxX-e.minX+(e.maxY-e.minY)}function f(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function p(e,t){var r=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),i=Math.min(e.maxX,t.maxX),n=Math.min(e.maxY,t.maxY);return Math.max(0,i-r)*Math.max(0,n-s)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function m(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function g(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function y(e,t,r,i,n){for(var o,a=[t,r];a.length;)(r=a.pop())-(t=a.pop())<=i||(o=t+Math.ceil((r-t)/i/2)*i,(0,s.q)(e,o,t,r,n),a.push(t,o,o,r))}i.prototype={all:function(){return this._all(this.data,[])},search:function(e){var t=this.data,r=[],s=this.toBBox;if(!m(e,t))return r;for(var i,n,o,a,h=[];t;){for(i=0,n=t.children.length;i<n;i++)o=t.children[i],m(e,a=t.leaf?s(o):o)&&(t.leaf?r.push(o):_(e,a)?this._all(o,r):h.push(o));t=h.pop()}return r},collides:function(e){var t=this.data,r=this.toBBox;if(!m(e,t))return!1;for(var s,i,n,o,a=[];t;){for(s=0,i=t.children.length;s<i;s++)if(n=t.children[s],m(e,o=t.leaf?r(n):n)){if(t.leaf||_(e,o))return!0;a.push(n)}t=a.pop()}return!1},load:function(e){if(!e||!e.length)return this;if(e.length<this._minEntries){for(var t=0,r=e.length;t<r;t++)this.insert(e[t]);return this}var s=this._build(e.slice(),0,e.length-1,0);if(this.data.children.length)if(this.data.height===s.height)this._splitRoot(this.data,s);else{if(this.data.height<s.height){var i=this.data;this.data=s,s=i}this._insert(s,this.data.height-s.height-1,!0)}else this.data=s;return this},insert:function(e){return null!=e&&this._insert(e,this.data.height-1),this},clear:function(){return this.data=g([]),this},remove:function(e,t){if(null==e)return this;for(var r,s,i,o,a=this.data,h=this.toBBox(e),l=[],u=[];a||l.length;){if(a||(a=l.pop(),s=l[l.length-1],r=u.pop(),o=!0),a.leaf&&-1!==(i=n(e,a.children,t)))return a.children.splice(i,1),l.push(a),this._condense(l),this;o||a.leaf||!_(a,h)?s?(r++,a=s.children[r],o=!1):a=null:(l.push(a),u.push(r),r=0,s=a,a=a.children[0])}return this},toBBox:function(e){return e},compareMinX:l,compareMinY:u,toJSON:function(){return this.data},fromJSON:function(e){return this.data=e,this},_all:function(e,t){for(var r=[];e;)e.leaf?t.push.apply(t,e.children):r.push.apply(r,e.children),e=r.pop();return t},_build:function(e,t,r,s){var i,n=r-t+1,a=this._maxEntries;if(n<=a)return o(i=g(e.slice(t,r+1)),this.toBBox),i;s||(s=Math.ceil(Math.log(n)/Math.log(a)),a=Math.ceil(n/Math.pow(a,s-1))),(i=g([])).leaf=!1,i.height=s;var h,l,u,d,c=Math.ceil(n/a),f=c*Math.ceil(Math.sqrt(a));for(y(e,t,r,f,this.compareMinX),h=t;h<=r;h+=f)for(y(e,h,u=Math.min(h+f-1,r),c,this.compareMinY),l=h;l<=u;l+=c)d=Math.min(l+c-1,u),i.children.push(this._build(e,l,d,s-1));return o(i,this.toBBox),i},_chooseSubtree:function(e,t,r,s){for(var i,n,o,a,h,l,u,c;s.push(t),!t.leaf&&s.length-1!==r;){for(u=c=1/0,i=0,n=t.children.length;i<n;i++)h=d(o=t.children[i]),(l=f(e,o)-h)<c?(c=l,u=h<u?h:u,a=o):l===c&&h<u&&(u=h,a=o);t=a||t.children[0]}return t},_insert:function(e,t,r){var s=this.toBBox,i=r?e:s(e),n=[],o=this._chooseSubtree(i,this.data,t,n);for(o.children.push(e),h(o,i);t>=0&&n[t].children.length>this._maxEntries;)this._split(n,t),t--;this._adjustParentBBoxes(i,n,t)},_split:function(e,t){var r=e[t],s=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,s);var n=this._chooseSplitIndex(r,i,s),a=g(r.children.splice(n,r.children.length-n));a.height=r.height,a.leaf=r.leaf,o(r,this.toBBox),o(a,this.toBBox),t?e[t-1].children.push(a):this._splitRoot(r,a)},_splitRoot:function(e,t){this.data=g([e,t]),this.data.height=e.height+1,this.data.leaf=!1,o(this.data,this.toBBox)},_chooseSplitIndex:function(e,t,r){var s,i,n,o,h,l,u,c;for(l=u=1/0,s=t;s<=r-t;s++)o=p(i=a(e,0,s,this.toBBox),n=a(e,s,r,this.toBBox)),h=d(i)+d(n),o<l?(l=o,c=s,u=h<u?h:u):o===l&&h<u&&(u=h,c=s);return c},_chooseSplitAxis:function(e,t,r){var s=e.leaf?this.compareMinX:l,i=e.leaf?this.compareMinY:u;this._allDistMargin(e,t,r,s)<this._allDistMargin(e,t,r,i)&&e.children.sort(s)},_allDistMargin:function(e,t,r,s){e.children.sort(s);var i,n,o=this.toBBox,l=a(e,0,t,o),u=a(e,r-t,r,o),d=c(l)+c(u);for(i=t;i<r-t;i++)n=e.children[i],h(l,e.leaf?o(n):n),d+=c(l);for(i=r-t-1;i>=t;i--)n=e.children[i],h(u,e.leaf?o(n):n),d+=c(u);return d},_adjustParentBBoxes:function(e,t,r){for(var s=r;s>=0;s--)h(t[s],e)},_condense:function(e){for(var t,r=e.length-1;r>=0;r--)0===e[r].children.length?r>0?(t=e[r-1].children).splice(t.indexOf(e[r]),1):this.clear():o(e[r],this.toBBox)},_initFormat:function(e){var t=["return a"," - b",";"];this.compareMinX=new Function("a","b",t.join(e[0])),this.compareMinY=new Function("a","b",t.join(e[1])),this.toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}};var b=r(70328);class v{static fromReader(e){const t=[],r=e.copy(),s=(0,b.vt)();for(;r.next();)r.getBounds(s)&&t.push(r.getIndex());const n=i(9,e=>(r.setIndex(e),{minX:r.getBoundsXMin(),minY:r.getBoundsYMin(),maxX:r.getBoundsXMax(),maxY:r.getBoundsYMax()}));return n.load(t),new v(n,t.length)}constructor(e,t){this._index=e,this._size=t}get usedMemory(){return 16*this._size}search(e){const t={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};return this._index.search(t)}}var x=r(91869),I=(r(44208),r(34727)),A=(r(37585),r(48163)),w=r(39829),T=r(16930),M=r(19419),C=r(79258),S=r(90708),F=r(31464);function O(e,t,r,s){if(s.isWebMercator){const s=(0,I.KJ)(e/C.$O.radius),i=s-360*Math.floor((s+180)/360),n=[0,0];return B(n,0,(0,I.KJ)(Math.PI/2-2*Math.atan(Math.exp(-t/C.$O.radius))),i,r),n}const i=(0,F.Cv)({x:e,y:t},s,T.A.WGS84);if(!i)return null;const n=[0,0];return B(n,0,i.y,i.x,r),n}function B(e,t,r,s,i){i%2&&(i+=1);let n=0,o=0,a=-90,h=90,l=-180,u=180;for(let e=0;e<i/2;e++){for(let t=0;t<5;t++){const r=(l+u)/2,i=s>r?1:0;n|=i<<29-(t+5*e),l=(1-i)*l+i*r,u=(1-i)*r+i*u}for(let t=0;t<5;t++){const s=(a+h)/2,i=r>s?1:0;o|=i<<29-(t+5*e),a=(1-i)*a+i*s,h=(1-i)*s+i*h}}e[2*t]=n,e[2*t+1]=o}(0,A.vt)(),(0,A.vt)();var R=r(63664),k=r(92029);class N extends R.B{static create(e,t,r,s){const i=k.o.create(e),n=new Array(32);for(let e=0;e<n.length;e++)n[e]=null;return new N(i,t,r,s,n)}constructor(e,t,r,s,i){super(e),this.xNode=t,this.yNode=r,this.depth=s,this.children=i,this._objectIds=[new Set],this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._xGeohashTotal=0,this._yGeohashTotal=0,this.next=null}static get estimatedMemory(){let e=0;return e+=64,e+=512,e+=k.o.estimatedMemory,e}get id(){return`${this.xNode}.${this.yNode}`}get containedObjectIds(){return this._objectIds}get count(){return this._count}clone(){const e=new N(this._statistics.clone(),this.xNode,this.yNode,this.depth,this.children);return e._count=this._count,e._xWorldTotal=this._xWorldTotal,e._yWorldTotal=this._yWorldTotal,e._xGeohashTotal=this._xGeohashTotal,e._yGeohashTotal=this._yGeohashTotal,e.next=this.next,e._objectIds=this._objectIds.map(e=>new Set(e)),e}insert(e,t,r,s){let i=0,n=0;if("esriGeometryPoint"===e.geometryType)i=e.readXWorldSpace(),n=e.readYWorldSpace();else{const t=e.readCentroidWorldSpace();if(null==t)return;[i,n]=t.coords}const o=O(i,n,t,r);o&&(this._count+=1,this._xWorldTotal+=i,this._yWorldTotal+=n,this._xGeohashTotal+=o[0],this._yGeohashTotal+=o[1],this._statistics.insert(e,s),this._objectIds[0].add(e.getObjectId()))}merge(e){0!==e._count&&(this._count+=e._count,this._xWorldTotal+=e._xWorldTotal,this._yWorldTotal+=e._yWorldTotal,this._xGeohashTotal+=e._xWorldTotal,this._yGeohashTotal+=e._yWorldTotal,this._statistics.merge(e._statistics),this._objectIds.push(...e._objectIds))}getCentroid(e){throw new Error("getCentroid not supported for GeohashNode")}getGeometry(e,t){const r=this._getLngLatBounds(),[s,i,n,o]=r,a=(0,F.Cv)({rings:[[[s,i],[s,o],[n,o],[n,i],[s,i]]]},T.A.WGS84,e),h=(0,S.Ye)(a);return null!=t?(0,S.Nl)(h,"esriGeometryPolygon",t,!1,!1):h}getGeometricCentroid(e,t){const r=this._getLngLatBounds(),[s,i,n,o]=r,a=(0,F.Cv)({x:(s+n)/2,y:(i+o)/2},T.A.WGS84,e),h=(0,S.qN)(a);return null!=t?(0,S.Nl)(h,"esriGeometryPoint",t,!1,!1):h}getAttributes(){const e={aggregateId:this.id};for(const t of this._statistics.values())e[t.field.name]=t.value;return e.aggregateCount=this._count,e}find(e,t,r,s,i,n){if(s>=r)return this;const o=1-s%2,a=3*o+2*(1-o),h=2*o+3*(1-o),l=30-i-a,u=30-n-h,d=((e&7*o+3*(1-o)<<l)>>l)+((t&3*o+7*(1-o)<<u)>>u)*(8*o+4*(1-o)),c=this.children[d];return null==c?null:c.find(e,t,r,s+1,i+a,n+h)}_getLngLatBounds(){const e=this.depth,t=Math.ceil(e/2),r=Math.floor(e/2),s=30-(3*t+2*r),i=30-(2*t+3*r);return function(e,t){let r=-90,s=90,i=-180,n=180;for(let o=0;o<t;o++){const t=Math.ceil((o+1)/2),a=Math.floor((o+1)/2),h=1-o%2,l=30-(3*t+2*a),u=30-(2*t+3*a),d=2*h+3*(1-h),c=(7*h+3*(1-h)<<l&e.geohashX)>>l,f=(3*h+7*(1-h)<<u&e.geohashY)>>u;for(let e=3*h+2*(1-h)-1;e>=0;e--){const t=(i+n)/2,r=c&1<<e?1:0;i=(1-r)*i+r*t,n=(1-r)*t+r*n}for(let e=d-1;e>=0;e--){const t=(r+s)/2,i=f&1<<e?1:0;r=(1-i)*r+i*t,s=(1-i)*t+i*s}}return[i,r,n,s]}({geohashX:this.xNode<<s,geohashY:this.yNode<<i},this.depth)}}class W{static create(e,t,r){const s=new Array(32);for(let e=0;e<s.length;e++)s[e]=null;return new W(e,t,r,s)}constructor(e,t,r,s){this.xNode=e,this.yNode=t,this.depth=r,this.children=s,this.indices=[],this.next=null}static get estimatedMemory(){let e=0;return e+=64,e+=512,e+=64,640}get id(){return`${this.xNode}.${this.yNode}`}get count(){return this.indices.length}insert(e){this.indices.push(e)}find(e,t,r,s,i,n){if(s>=r)return this;const o=1-s%2,a=3*o+2*(1-o),h=2*o+3*(1-o),l=30-i-a,u=30-n-h,d=((e&7*o+3*(1-o)<<l)>>l)+((t&3*o+7*(1-o)<<u)>>u)*(8*o+4*(1-o)),c=this.children[d];return null==c?null:c.find(e,t,r,s+1,i+a,n+h)}}class P{constructor(){this._size=0,this._depth=0,this._root=W.create(0,0,0)}destroy(){}get size(){return this._size}get depth(){return this._depth}get usedMemory(){return this._size*W.estimatedMemory}find(e,t,r){return this._root.find(e,t,r,0,0,0)}insert(e,t,r,s){let i=this._root,n=0,o=0,a=0;for(;null!==i;){if(i.insert(e.getIndex()),n>=s)return;const h=Math.ceil((n+1)/2),l=Math.floor((n+1)/2),u=1-n%2,d=30-(3*h+2*l),c=30-(2*h+3*l),f=(t&7*u+3*(1-u)<<d)>>d,p=(r&3*u+7*(1-u)<<c)>>c,_=f+p*(8*u+4*(1-u));o=o<<3*u+2*(1-u)|f,a=a<<2*u+3*(1-u)|p,null==i.children[_]&&(i.children[_]=W.create(o,a,n+1),this._depth=Math.max(this._depth,n+1),this._size+=1),n+=1,i=i.children[_]}}forEachInBounds(e,t){const{geohashBounds:r,level:s}=e;let i=this._root;for(;null!==i;){const e=i.depth,n=i.xNode,o=i.yNode;if(e>=s){t(i),i=i.next;continue}const a=Math.ceil((e+1)/2),h=Math.floor((e+1)/2),l=1-e%2,u=30-(3*a+2*h),d=30-(2*a+3*h),c=~((1<<u)-1),f=~((1<<d)-1),p=(r.xLL&c)>>u,_=(r.yLL&f)>>d,m=(r.xTR&c)>>u,g=(r.yTR&f)>>d,y=n<<3*l+2*(1-l),b=o<<2*l+3*(1-l),v=y+8*l+4*(1-l),x=b+4*l+8*(1-l),I=Math.max(y,p),A=Math.max(b,_),w=Math.min(v,m),T=Math.min(x,g);let M=null,C=null;for(let e=A;e<=T;e++)for(let t=I;t<=w;t++){const r=t-y+(e-b)*(8*l+4*(1-l)),s=i.children[r];s&&(M||(M=s,M.next=i.next),C&&(C.next=s),C=s,s.next=i.next)}i=M||i.next}}}var D=r(38976),j=r(9012);class G extends D.n{constructor(e,t){super(e),this._reader=t,this._tree=new P,this.insert(this._reader)}get usedMemory(){return this._tree.usedMemory}forEachInCell(e,t){throw new Error("Not supported.")}insert(e){const t=e.getCursor(),{featureFilter:r,sqlOptions:s,geohashLevel:i,spatialReference:n}=this.options.inner;for(;t.next();){const e=t;if(null!==r&&!r.check(e,s))continue;let o=0,a=0;if("esriGeometryPoint"===e.geometryType)o=e.readXWorldSpace(),a=e.readYWorldSpace();else{const t=e.readCentroidWorldSpace();if(null==t)continue;[o,a]=t.coords}const h=O(o,a,i,n);h&&this._tree.insert(e,h[0],h[1],i)}}put(e,t){throw new Error("Not supported.")}putBounded(e,t,r,s){const{arcadeContextInfo:i,scale:n,geohashLevel:o,spatialReference:a,fields:h}=this.options.inner,l=(0,j.N)(n,i),u=function(e,t,r,s){const i=[e.xmin,e.ymin,e.xmax,e.ymax],n=w.A.fromExtent((0,M.w1)(i,s)),o=(0,F.Cv)(n,s,T.A.WGS84,{extendedParams:{densificationStep:64*t}});if(!o)return null;const a=(0,S.Ye)(o,!1,!1),h=a.coords.filter((e,t)=>!(t%2)),l=a.coords.filter((e,t)=>t%2),u=Math.min(...h),d=Math.min(...l),c=Math.max(...h),f=Math.max(...l),p=O(u,d,r,T.A.WGS84),_=O(c,f,r,T.A.WGS84);return p&&_?{bounds:i,geohashBounds:{xLL:p[0],yLL:p[1],xTR:_[0],yTR:_[1]},level:r}:null}(r,s,o,a);null!=u&&this._tree.forEachInBounds(u,r=>{let s=null;for(const i of r.indices){this._reader.setIndex(i);const n=this._reader.getObjectId();t.has(n)||(s??=(0,x.tE)(e,r.id,()=>N.create(h,r.xNode,r.yNode,r.depth)),s.insert(this._reader,o,a,l),t.add(n))}})}}var E=r(24506),Y=r(52350);class Z{size(){return this.reader.getSize()}get fields(){return this.reader.fields}invalidate(){this._spatialIndex=null,this._gridIndex=null,this._geohashIndex=null}get usedMemory(){let e=0;return e+=this.reader.underlyingMemory,this._gridIndex&&(e+=this._gridIndex.usedMemory),this._geohashIndex&&(e+=this._geohashIndex.usedMemory),this._spatialIndex&&(e+=this._spatialIndex.usedMemory),e}getObjectIds(){const e=this.reader.getCursor(),t=[];for(;e.next();)t.push(e.getObjectId());return t}registerOverrides(e){this.reader.registerOverrides(e),this.invalidate()}queryFeaturesInBounds(e){const t=this._getSpatialIndex().search(e);return Y.e.from(this.reader,t)}getGridIndex(e){return e.hash!==this._gridIndex?.hash&&(this._gridIndex=new E.H(e,this.reader.copy())),this._gridIndex}getGeohashIndex(e){return e.hash!==this._geohashIndex?.hash&&(this._geohashIndex=new G(e,this.reader.copy())),this._geohashIndex}_getSpatialIndex(){return this._spatialIndex||(this._spatialIndex=v.fromReader(this.reader)),this._spatialIndex}}},28923(e,t,r){r.d(t,{j:()=>i});var s=r(70300);class i extends s.K{constructor(e,t,r,s,i=0){super(),this._reader=e,this._queryJSON=t,this._page=r,this._end=s,this.fileIndex=i,this.chunkId=`${this.fileIndex}.${this._page}${this.end?"e":""}`,this.normalizedChunkId=this.chunkId}get reader(){return this._reader}get first(){return 0===this._page}get end(){return this._end}get queryInfo(){return{type:"snapshot",chunkId:this.chunkId,queryJSON:this._queryJSON,page:this._page,size:this.size(),end:this.end}}get lodInfo(){return null}getTileReader(e){const t=this.queryFeaturesInBounds(e.bounds);return t.setTransformForDisplay(e.transform),t}}},5162(e,t,r){r.d(t,{HJ:()=>o,Im:()=>u,KN:()=>h});var s=r(39516),i=r(70300),n=r(8446);class o{static async create(e){const{metadata:t,definitionExpression:r}=e,i=r?await(0,s.GP)(r,t.fieldsIndex):null;return new o(t,i,r)}constructor(e,t,r){this.metadata=e,this._clause=t,this._definitionExpression=r}get hash(){return this._definitionExpression}testFeature(e){return null==this._clause||this._clause.testFeature(e)}}class a{constructor(){this.modified=new Map,this.removed=new Set}modify(e){this.modified.set(e.objectId,e),this.removed.has(e.objectId)&&this.removed.delete(e.objectId)}remove(e){this.modified.delete(e),this.removed.add(e)}get isEmpty(){return 0===this.modified.size&&0===this.removed.size}applyWhereClause(e){const t=new a;for(const[r,s]of this.modified)e.testFeature(s)?t.modified.set(r,s):t.removed.add(s.objectId);for(const e of this.removed)t.removed.add(e);return t}}class h extends i.K{constructor(e){super(),this._reader=e,this.chunkId="override",this.normalizedChunkId="override"}static fromFeatures(e,t){const r=n.K.fromOptimizedFeatures(e,t);return new h(r)}get reader(){return this._reader}get queryInfo(){return{}}get first(){return!1}get end(){return!1}get lodInfo(){return null}getTileReader(e){if(!this._reader.getSize())return null;const t=this.queryFeaturesInBounds(e.bounds);return t.setTransformForDisplay(e.transform),t}}class l{constructor(e,t){this.inner=e,this.isWeak=t,this.lastWeak=null}get isStrong(){return!this.isWeak}}class u{constructor(e){this._parameters=e,this._overrides=new Map,this._update=new a,this._lastCleanup=0}update(e){this._parameters=e}hasOverride(e){return this._overrides.has(e)}onChunkInsert(e){if(this._overrides.size){const t=e.reader.getCursor();for(;t.next();){const e=t.getObjectId(),r=this._overrides.get(e);if(r?.lastWeak&&(r.lastWeak=null),r?.isWeak){const e=t.readOptimizedFeatureWorldSpace(),s=r.inner?.attributes??{};e.attributes={...s,...e.attributes},r.inner=e,this._update.modify(e),this.invalidate()}}}e.registerOverrides(this)}apply(e,t){const{updateWeak:r,removeWeak:s,update:i,remove:n,release:o}=e.commands;this.invalidate();for(const e of r){const t=new l(e,!0),r=this._overrides.get(e.objectId);r?.isStrong?r.lastWeak=t:(this._overrides.set(e.objectId,t),this._update.modify(e))}for(const e of i){const t=new l(e,!1),r=this._overrides.get(e.objectId);t.lastWeak=r?.isWeak?r:r?.lastWeak??null,this._overrides.set(e.objectId,t),this._update.modify(e)}for(const e of s){const t=new l(null,!0),r=this._overrides.get(e);r?.isStrong?r.lastWeak=t:(this._overrides.set(e,t),this._update.remove(e))}for(const e of n){const t=new l(null,!1),r=this._overrides.get(e);t.lastWeak=r?.isWeak?r:r?.lastWeak??null,this._overrides.set(e,t),this._update.remove(e)}if(o.length){const e=new Set;for(const t of o){const r=this._overrides.get(t);r?.lastWeak?(this._overrides.set(t,r.lastWeak),null==r.lastWeak.inner?this._update.remove(t):this._update.modify(r.lastWeak.inner)):r&&!r.isWeak&&(this._overrides.delete(t),e.add(t))}t.forEachUnsafe(t=>{const r=t.getObjectId();e.has(r)&&(this._update.modify(t.readOptimizedFeatureWorldSpace()),e.delete(r))});for(const t of e.values())this._update.remove(t)}}clearWeakOverrides(){for(const[e,t]of this._overrides.entries())t.isWeak&&this._overrides.delete(e);this.invalidate()}cleanup(e){if(this._overrides.size<1e4)return;const t=performance.now();if(t-this._lastCleanup<1e3)return;this._lastCleanup=t;const r=this._getWeakDeletions();if(!(r.size<1e4)){for(const t of e){const e=t.reader.withoutOverrides().getCursor();for(;e.next();){const t=e.getObjectId();r.delete(t)}}for(const e of r)this._overrides.delete(e);r.size&&this.invalidate()}}takeOverrideUpdate(){const e=this._update;return e.isEmpty?null:(this._update=new a,e.applyWhereClause(this._parameters))}asChunk(){const e=this._parameters;if(this._lastOverrideParametersHash!==e.hash&&(this._lastOverrideParametersHash=e.hash,this._chunk=null),!this._chunk){const t=[];for(const r of this._overrides.values())null!=r.inner&&e.testFeature(r.inner)&&t.push(r.inner);this._chunk=h.fromFeatures(t,e.metadata)}return this._chunk}invalidate(){this._chunk=null}putWeakObjectIdsFromGlobalIds(e,t,r){for(const[s,i]of this._overrides.entries()){if(i.isWeak&&null!=i.inner){const n=i.inner.attributes[r];n&&t.has(n)&&!e.has(n)&&e.set(n,s);continue}if(null!=i.lastWeak&&null!=i.lastWeak.inner){const n=i.lastWeak.inner.attributes[r];n&&t.has(n)&&!e.has(n)&&e.set(n,s)}}}_getWeakDeletions(){const e=new Set;for(const[t,r]of this._overrides.entries())r.isWeak&&null==r.inner&&e.add(t);return e}}},44320(e,t,r){r.d(t,{I:()=>h});var s=r(65529),i=r(44208),n=r(70328),o=r(30661),a=r(5162);class h{constructor(){this._chunks=new Map,this._chunksToRemove=[],this.events=new s.bk,this.featureAdapter=new o.Z}destroy(){this.clear()}clear(){for(const e of this._chunks.values())this._chunksToRemove.push(e);this._chunks.clear(),this._overrides?.clearWeakOverrides()}get usedMemory(){let e=0;for(const t of this._chunks.values())e+=t.usedMemory;return e}async update(e){if(this._overrides){const t=await a.HJ.create(e);this._overrides.update(t)}this._postQueryFilter=e.postQueryFilter;for(const{reader:e}of this.insertedChunks())e.applyPostQueryFilter(this._postQueryFilter);this._schema=e}*chunks(){this._overrides&&(yield this._overrides.asChunk()),yield*this._chunks.values()}insertedChunks(){return this._chunks.values()}insert(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e.chunkId}] SourceChunkStore.insert`),this._overrides?.onChunkInsert(e),this._chunks.set(e.chunkId,e),this._postQueryFilter&&e.reader.applyPostQueryFilter(this._postQueryFilter),this.events.emit("changed")}remove(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e.chunkId}] SourceChunkStore.remove`),this._chunks.delete(e.chunkId),this._chunksToRemove.push(e)}removeById(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e}] SourceChunkStore.remove`);const t=this._chunks.get(e);this._chunks.delete(e),t&&this._chunksToRemove.push(t)}cleanup(){const e=this._chunksToRemove;return this._chunksToRemove=[],this._overrides?.cleanup(this._chunks.values()),e}async applyOverride(e){if(null==this._overrides){const e=await a.HJ.create(this._schema);this._overrides=new a.Im(e);for(const e of this._chunks.values())this._overrides.onChunkInsert(e)}this._overrides.apply(e,this),this.events.emit("changed");for(const e of this._chunks.values())e.invalidate()}takeOverrideUpdate(){return this._overrides?.takeOverrideUpdate()}refresh(){this.events.emit("refresh")}forEach(e){const t=new Set;for(const r of this.chunks()){const s=r.reader.getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s.copy()),t.add(r))}}}forEachUnsafe(e){const t=new Set;for(const r of this.chunks()){const s=r.reader.getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s),t.add(r))}}}mapObjectIdsFromGlobalIds(e,t){const r=new Map,s=new Set(e);return this._overrides?.putWeakObjectIdsFromGlobalIds(r,s,t),this._forEachUnsafeIgnoreOverrides(e=>{const i=e.readAttribute(t);if(i&&s.has(i)&&!r.has(i)){const t=e.getObjectId();r.set(i,t)}}),r}forEachInBounds(e,t){const r=new Set;for(const s of this.chunks()){const i=s.queryFeaturesInBounds(e);for(;i.next();){const e=i.getObjectId();r.has(e)||(t(i.copy()),r.add(e))}}}forEachBounds(e,t){const r=(0,n.vt)();for(const s of e)s.getBounds(r)&&t(r)}_forEachUnsafeIgnoreOverrides(e){const t=new Set;for(const r of this._chunks.values()){const s=r.reader.withoutOverrides().getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s),t.add(r))}}}}},35258(e,t,r){r.d(t,{i:()=>n});var s=r(16930),i=r(95466);class n{static minimal(e,t,r=[],s=!1,o=!1){return new n({geometryType:e,hasZ:s,hasM:o,fieldsIndex:new i.A(r).toJSON(),featureIdInfo:{type:"object-id",fieldName:t},subtypes:null,subtypeField:null,types:null,globalIdField:null,spatialReference:null,outSpatialReference:null,attributeSpatialReference:null,timeInfo:null,timeReferenceUnknownClient:null,dateFieldsTimeZone:null,typeIdField:null,layerType:void 0})}static createFeature(e){return new n(e)}constructor(e){let t;this._options=e,this._fieldsIndex=i.A.fromJSON(e.fieldsIndex),e.spatialReference&&(e.spatialReference instanceof s.A?this._spatialReference=e.spatialReference:this._spatialReference=s.A.fromJSON(e.spatialReference)),e.outSpatialReference&&(e.outSpatialReference instanceof s.A?this._outSpatialReference=e.outSpatialReference:this._outSpatialReference=s.A.fromJSON(e.outSpatialReference)),e.attributeSpatialReference&&(e.attributeSpatialReference instanceof s.A?this._attributeSpatialReference=e.attributeSpatialReference:this._attributeSpatialReference=s.A.fromJSON(e.attributeSpatialReference)),"object-id"===e.featureIdInfo.type&&(t=e.featureIdInfo.fieldName),this._arcadeSchema={fields:this.fieldsIndex.fields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,objectIdField:t,globalIdField:this._options.globalIdField,spatialReference:this._spatialReference,timeInfo:this._options.timeInfo,typeIdField:this._options.typeIdField??void 0,types:this._options.types??void 0,subtypeField:this._options.subtypeField,subtypes:this._options.subtypes??void 0,datesInUnknownTimezone:this._options.timeReferenceUnknownClient??void 0,dateFieldsTimeZone:this._options.dateFieldsTimeZone??void 0}}get fieldsIndex(){return this._fieldsIndex}get geometryType(){return"esriGeometryMultiPatch"===this._options.geometryType?"esriGeometryPolygon":this._options.geometryType}get hasZ(){return this._options.hasZ}get hasM(){return this._options.hasM}get serviceGeometryType(){return this._options.geometryType}get subtypeField(){return this._options.subtypeField}get timeInfo(){return this._options.timeInfo}get featureIdInfo(){return this._options.featureIdInfo}get globalIdField(){return this._options.globalIdField}get arcadeSchema(){return this._arcadeSchema}get spatialReference(){return this._spatialReference}get outSpatialReference(){return this._outSpatialReference}get attributeSpatialReference(){return this._attributeSpatialReference}get timeReferenceUnknownClient(){return this._options.timeReferenceUnknownClient}get layerType(){return this._options.layerType}weakCloneWithAdditionalFields(e){return new n({fieldsIndex:{fields:[...this._fieldsIndex.fields,...e],timeZoneByFieldName:null},geometryType:this.geometryType,hasZ:this.hasZ,hasM:this.hasM,globalIdField:this.globalIdField,featureIdInfo:this.featureIdInfo,spatialReference:this.spatialReference,attributeSpatialReference:this.attributeSpatialReference,outSpatialReference:this.outSpatialReference,subtypeField:this.subtypeField,subtypes:this._options.subtypes,timeInfo:this.timeInfo,timeReferenceUnknownClient:this.timeReferenceUnknownClient,dateFieldsTimeZone:this._options.dateFieldsTimeZone,typeIdField:this._options.typeIdField,types:this._options.types,layerType:this._options.layerType})}weakCloneWithResolvedSpatialReference(){return new n({fieldsIndex:{fields:this._fieldsIndex.fields,timeZoneByFieldName:null},geometryType:this.geometryType,hasZ:this.hasZ,hasM:this.hasM,globalIdField:this.globalIdField,featureIdInfo:this.featureIdInfo,spatialReference:this.outSpatialReference,outSpatialReference:this.outSpatialReference,attributeSpatialReference:this.attributeSpatialReference,subtypeField:this.subtypeField,subtypes:this._options.subtypes,timeInfo:this.timeInfo,timeReferenceUnknownClient:this.timeReferenceUnknownClient,dateFieldsTimeZone:this._options.dateFieldsTimeZone,typeIdField:this._options.typeIdField,types:this._options.types,layerType:this._options.layerType})}}},97633(e,t,r){r.d(t,{P:()=>i});var s=r(73250);class i{constructor(e){this._valid=s.y.create(e),this._data=new Array(e)}get usedMemory(){let e=this._valid.usedMemory;if(this._data.length>0){const t="string"==typeof this._data[0]?64:16;e+=this._data.length*t}return e}has(e){return this._valid.has(e)}set(e,t){this._valid.set(e),this._data[e]=t}get(e){return this._data[e]}}},99996(e,t,r){r.d(t,{Y:()=>R});var s=r(66131),i=r(44208),n=r(69397),o=r(44729),a=r(15032),h=r(36745),l=r(70328),u=r(65864),d=r(32011),c=r(62577),f=r(62815),p=r(27647),_=r(90708),m=r(43334),g=r(92722),y=r(98623),b=r(97633);const v=(0,i.A)("featurelayer-simplify-thresholds")??[.5,.5,.5,.5],x=v[0],I=v[1],A=v[2],w=v[3],T=(0,i.A)("featurelayer-simplify-payload-size-factors")??[1,2,4],M=T[0],C=T[1],S=T[2],F=(0,i.A)("featurelayer-simplify-mobile-factor")??2,O=(0,i.A)("esri-mobile"),B=4294967295;class R{constructor(e){this.metadata=e,this.type="FeatureSetReader",this._overrides=null,this._postQueryFilteredIds=new Set,this._joined=[],this._objectIdToIndex=null,this._boundsBuffer=[],this._deleted=new Set,this._caches=new Map,this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}destroy(){}[Symbol.dispose](){this.destroy()}getAreaSimplificationThreshold(e,t){let r=1;const s=O?F:1;t>4e6?r=S*s:t>1e6?r=C*s:t>5e5?r=M*s:t>1e5&&(r=s);let i=0;return e>4e3?i=w*r:e>2e3?i=A*r:e>100?i=I:e>15&&(i=x),i}getBounds(e){!function(e,t){if(!(e.length>t))for(;e.length<=t;)e.push(0)}(this._boundsBuffer,4*this.getIndex()+4);const t=this.getBoundsXMin();if(t===B||!isFinite(t))return!1;if(0===this.getBoundsXMin()){const t=this.readGeometryWorldSpace();if(t?.isPoint&&0===t.coords[0]&&0===t.coords[1])return(0,l.BI)(e,0,0,0,0),!0;if(!t)return this.setBoundsXMin(B),!1;let r=1/0,s=1/0,i=-1/0,n=-1/0;return t.forEachVertex((e,t)=>{r=Math.min(r,e),s=Math.min(s,t),i=Math.max(i,e),n=Math.max(n,t)}),this.setBoundsXMin(r),this.setBoundsYMin(s),this.setBoundsXMax(i),this.setBoundsYMax(n),(0,l.BI)(e,r,s,i,n),!0}const r=this.getBoundsXMin(),s=this.getBoundsYMin(),i=this.getBoundsXMax(),n=this.getBoundsYMax();return(0,l.BI)(e,r,s,i,n),!0}getBoundsXMin(){return this._boundsBuffer[4*this.getIndex()]}setBoundsXMin(e){this._boundsBuffer[4*this.getIndex()]=e}getBoundsYMin(){return this._boundsBuffer[4*this.getIndex()+1]}setBoundsYMin(e){this._boundsBuffer[4*this.getIndex()+1]=e}getBoundsXMax(){return this._boundsBuffer[4*this.getIndex()+2]}setBoundsXMax(e){this._boundsBuffer[4*this.getIndex()+2]=e}getBoundsYMax(){return this._boundsBuffer[4*this.getIndex()+3]}setBoundsYMax(e){this._boundsBuffer[4*this.getIndex()+3]=e}readAttributeAsTimestamp(e){const t=this.readAttribute(e);return"string"==typeof t?new Date(t).getTime():"number"==typeof t||null==t?t:null}readAttribute(e,t=!1){const r=this._readAttribute(e,t);if(void 0!==r)return r;for(const r of this._joined){r.setIndex(this.getIndex());const s=r._readAttribute(e,t);if(void 0!==s)return s}}readAttributes(){const e=this._readAttributes();for(const t of this._joined){t.setIndex(this.getIndex());const r=t._readAttributes();for(const t of Object.keys(r))e[t]=r[t]}return e}joinAttributes(e){this._joined.push(e)}registerOverrides(e){this._overrides=e}withoutOverrides(){const e=this.copy();return e._overrides=null,e}readOptimizedFeatureWorldSpace(){const e=this.readGeometryWorldSpace(),t=this.readAttributes(),r=this.readCentroidWorldSpace();return new m.Om(e,t,r,this.getObjectId(),this.getDisplayId())}readLegacyFeatureForDisplay(){const e=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyFeatureWorldSpace(){const e=this.readCentroidWorldSpace();return{attributes:this.readAttributes(),geometry:this._readLegacyGeometryWorldSpace(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyGeometryForDisplay(){const e=this.readGeometryForDisplay();return(0,_.zv)(e,this.geometryType,!1,!1)}readXForDisplay(){return this._readX()}readYForDisplay(){return this._readY()}readXWorldSpace(){const e=this._readX(),t=this.getInTransform();return null==t?e:e*t.scale[0]+t.translate[0]}readYWorldSpace(){const e=this._readY(),t=this.getInTransform();return null==t?e:t.translate[1]-e*t.scale[1]}readGeometryForDisplay(){const e=this._readGeometryDeltaDecoded(!0);if(!e){const e=this._createDeltaQuantizedGeometryFromServerCentroid();return e?e.deltaDecode():null}return e}readGeometryForDisplayTransformed(e){let t=this.readGeometryForDisplay();if(t&&"esriGeometryPolyline"===this.metadata.geometryType&&(t=(0,_.kz)(t,this.metadata.geometryType,e.scale[0])),t&&(t=(0,_.Nl)(t,this.metadata.geometryType,e,t.hasZ,t.hasM,!0)),!t){const t=this.readCentroidForDisplay();if(!t)return null;const r=(0,c.IE)(e,t.coords[0]),s=(0,c.B2)(e,t.coords[1]);return this._createDeltaQuantizedExtrudedGeometry(r,s).deltaDecode()}return t}_transformToWorldSpace(e){if(!e)return null;e=e.clone();const t=this.getInTransform();t&&(0,_.aQ)(e,t);const r=(0,f.d)(this.metadata.spatialReference,this.metadata.outSpatialReference);if(e.hasZ&&1!==r){const{stride:t,coords:s}=e;for(let e=2;e<s.length;e+=t)s[e]*=r}return e}readGeometryWorldSpace(){let e=this._readGeometry();return e||(e=this._createDeltaQuantizedGeometryFromServerCentroid()),this._transformToWorldSpace(e)}readCentroidForDisplay(){const e=this.readGeometryForDisplay();return e?this._computeDisplayCentroid(e):this._readServerCentroid()}readCentroidWorldSpace(){const e=this.readGeometryForDisplay(),t=e?this._computeDisplayCentroid(e):this._readServerCentroid();return this._transformToWorldSpace(t)}setCache(e){let t=this._caches.get(e);null==t&&(t=new b.P(this.getSize()),this._caches.set(e,t)),this._activeCache=t}setCachedValue(e){this._activeCache.set(this.getIndex(),e)}hasCachedValue(){return this._activeCache.has(this.getIndex())}getCachedValue(){return this._activeCache.get(this.getIndex())}delete(){this._deleted.add(this.getObjectId())}getByReferenceVertexCount(){return null}get underlyingMemory(){let e=0;e+=(0,n.Qf)(this._boundsBuffer);for(const t of this._caches.values())e+=t.usedMemory;return e}getDisplayTransform(){return null}_readGeometryDeltaDecoded(e){const t=this._readGeometry(e);if("esriGeometryPoint"===this.geometryType||!t)return t;const r=this.getInTransform();if(!t||!r)return t;const s=r.scale[2]??1,i=r.translate[2]??0,n=r.scale[3]??1,o=r.translate[3]??0,{hasZ:a,hasM:h,stride:l,size:u,coords:d}=t,c=a&&(1!==s||0!==i),f=h&&(1!==n||0!==o);if(c||f){const e=2,t=a?3:2;for(let r=0,a=l*u;r<a;r+=l)c&&(d[r+e]=s*d[r+e]+i),f&&(d[r+t]=n*d[r+t]+o)}return t.deltaDecode()}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this.fields.has(e)||this._joined.some(t=>t.hasField(e))}geometry(){const e=this.readGeometryWorldSpace(),t=(0,_.zv)(e,this.geometryType,this.hasZ,this.hasM),r=(0,u.rS)(t);if(r){if(!this.metadata.outSpatialReference)throw new Error("InternalError: Expected spatial reference to be defined");r.spatialReference=this.metadata.outSpatialReference}return r}autocastArcadeDate(e,t){return t&&t instanceof Date?this.isUnknownDateTimeField(e)?s.lY.unknownDateJSToArcadeDate(t):s.lY.dateJSAndZoneToArcadeDate(t,this.contextTimeZone??"system"):t}isUnknownDateTimeField(e){return this.metadata.fieldsIndex.getTimeZone(e)===y.L}field(e){let t=this.fields.get(e);if(t)switch(t.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(this.readAttribute(e,!1));case"time-only":case"esriFieldTypeTimeOnly":return a.k.fromReader(this.readAttribute(e,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return s.lY.fromReaderAsTimeStampOffset(this.readAttribute(e,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(e,this.readAttribute(e,!0));default:return this.readAttribute(e,!1)}for(const r of this._joined)if(r.setIndex(this.getIndex()),t=r.fields.get(e),t)switch(t.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(r._readAttribute(e,!1));case"time-only":case"esriFieldTypeTimeOnly":return a.k.fromReader(r._readAttribute(e,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return s.lY.fromReaderAsTimeStampOffset(r._readAttribute(e,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(e,r._readAttribute(e,!0));default:return this.readAttribute(e,!1)}throw new Error(`Field ${e} does not exist`)}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this.fields.fields.map(e=>e.name)}isEmpty(){return this.fields.fields.length<=0&&null==this.geometry()}castToText(e=!1){if(!e)return JSON.stringify(this.readLegacyFeatureForDisplay());const t=this.readLegacyFeatureForDisplay();if(!t)return JSON.stringify(null);const r={geometry:t.geometry,attributes:{...t.attributes}};for(const e in r.attributes){const t=r.attributes[e];t instanceof Date&&(r.attributes[e]=t.getTime())}return JSON.stringify(r)}gdbVersion(){return null}fullSchema(){return this.metadata.arcadeSchema}castAsJson(){return{attributes:this._readAttributes(),geometry:this.geometry()?.toJSON()??null}}castAsJsonAsync(){return Promise.resolve(this.castAsJson())}applyPostQueryFilter(e){if(this._postQueryFilteredIds.clear(),!e)return;const t=this.getCursor();for(;t.next();)e.check(t,{currentUser:null})||this._postQueryFilteredIds.add(t.getObjectId())}_getExists(){if(this._overrides){const e=this.getObjectId();return!this._overrides.hasOverride(e)}const e=this.getObjectId();return this._deleted.has(e)||!this._postQueryFilteredIds.has(e)}_computeDisplayCentroid(e){if(null==this.getInTransform())return(0,p.Q)(e);const t=h.z.fromOptimized(e,this.geometryType);t.yFactor*=-1;const r=(0,d.d)(t);return r?isNaN(r[0])||isNaN(r[1])?(0,p.Q)(e):(r[1]*=-1,new g.A([],r)):null}copyInto(e){e._joined=this._joined,e._overrides=this._overrides,e._objectIdToIndex=this._objectIdToIndex,e._boundsBuffer=this._boundsBuffer,e._activeCache=this._activeCache,e._caches=this._caches,e._contextTimeZone=this._contextTimeZone,e._postQueryFilteredIds=this._postQueryFilteredIds,e._deleted=this._deleted}_readLegacyGeometryWorldSpace(){const e=this.readGeometryWorldSpace();return(0,_.zv)(e,this.geometryType,!1,!1)}_createDeltaQuantizedGeometryFromServerCentroid(){const e=this._readServerCentroid();if(!e)return null;const[t,r]=e.coords;return this._createDeltaQuantizedExtrudedGeometry(t,r)}_createDeltaQuantizedExtrudedGeometry(e,t){return"esriGeometryPolyline"===this.geometryType?this._createDeltaQuantizedExtrudedLine(e,t):this._createDeltaQuantizedExtrudedQuad(e,t)}_createDeltaQuantizedExtrudedQuad(e,t){return new g.A([5],[e-1,t,1,-1,1,1,-1,1,-1,-1])}_createDeltaQuantizedExtrudedLine(e,t){return new g.A([2],[e-1,t+1,1,-1])}}},52350(e,t,r){r.d(t,{e:()=>o});var s=r(62577),i=r(90708),n=r(99996);class o extends n.Y{static from(e,t){if(e instanceof this){const r=new Set(t),s=e._indices.filter(e=>r.has(e));return new o(e._reader,s)}return new o(e.copy(),t)}constructor(e,t){super(e.metadata),this._currentIndex=-1,this._displayTransform=null,this._reader=e,this._indices=t}setTransformForDisplay(e){const t=this._reader.getInTransform();if(null==t)return void(this._displayTransform=(0,s.Q1)(e));const r=(0,s.Q1)(t),i=(0,s.Q1)(e),[n,o]=r.scale,[a,h]=r.translate,[l,u]=i.scale,[d,c]=i.translate,f=n/l,p=o/u,_=(a-d)/l,m=(h-c)/u;this._displayTransform={originPosition:"lowerLeft",scale:[1/f,1/p,1,1],translate:[-_/f,-m/p,0,0]}}getInTransform(){return this._reader.getInTransform()}getDisplayTransform(){return this._displayTransform}get fields(){return this._reader.fields}get hasNext(){return this._currentIndex+1<this._indices.length}getSize(){return this._indices.length}getCursor(){return this.copy()}copy(){const e=new o(this._reader.copy(),this._indices);return e._currentIndex=this._currentIndex,e._displayTransform=this._displayTransform,e._processorAttributes=this._processorAttributes,e}get contextTimeZone(){return this._reader.contextTimeZone}set contextTimeZone(e){this._reader.contextTimeZone=e}get usedMemory(){return 32+this._reader.usedMemory}setProcessorAttributes(e){this._processorAttributes=Object.assign(this._processorAttributes??{},e)}_nextIndex(){return++this._currentIndex<this._indices.length&&(this._reader.setIndex(this._indices[this._currentIndex]),!0)}next(){for(;this._nextIndex()&&!this._reader._getExists(););return this._currentIndex<this._indices.length}readXForDisplay(){return this._displayTransform?(0,s.IE)(this._displayTransform,this._reader.readXForDisplay()):this._reader.readXForDisplay()}readYForDisplay(){return this._displayTransform?(0,s.B2)(this._displayTransform,this._reader.readYForDisplay()):this._reader.readYForDisplay()}readGeometryForDisplay(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform):this._reader.readGeometryForDisplay()}readCentroidForDisplay(){const e=this._reader.readCentroidForDisplay()?.clone();if(e){const[t,r]=e.coords;this._displayTransform&&(e.coords[0]=(0,s.IE)(this._displayTransform,t),e.coords[1]=(0,s.B2)(this._displayTransform,r))}return e}get geometryType(){return this._reader.geometryType}get hasFeatures(){return this._reader.hasFeatures}get exceededTransferLimit(){return this._reader.exceededTransferLimit}get hasZ(){return this._reader.hasZ}get hasM(){return this._reader.hasM}readAttribute(e,t=!1){const r=this._reader.readAttribute(e,t);return null==r&&this._processorAttributes?this._processorAttributes[e]:r}readAttributes(){return{...this._processorAttributes,...this._reader.readAttributes()}}joinAttributes(e){return this._reader.joinAttributes(e)}getBounds(e){return this._reader.getBounds(e)}getAttributeHash(){return this._reader.getAttributeHash()}getObjectId(){return this._reader.getObjectId()}getDisplayId(){return this._reader.getDisplayId()}setDisplayId(e){return this._reader.setDisplayId(e)}setIndex(e){return this._reader.setIndex(e)}getIndex(){return this._reader.getIndex()}readXWorldSpace(){return this._reader.readXWorldSpace()}readYWorldSpace(){return this._reader.readYWorldSpace()}_readX(){return this._reader.readXForDisplay()}_readY(){return this._reader.readYForDisplay()}_readServerCentroid(){return this._reader._readServerCentroid()}readLegacyFeatureForDisplay(){const e=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyGeometryForDisplay(){const e=this.readGeometryForDisplay();return(0,i.zv)(e,this.geometryType,!1,!1)}readGeometryArea(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform)?.area()??0:this._reader.readGeometryArea()}readGeometryWorldSpace(){return this._reader.readGeometryWorldSpace()}_readGeometry(){return this._reader._readGeometry()}_readAttribute(e,t){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}_readAttributes(){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}readArcadeFeature(){return this._reader.readArcadeFeature()}geometry(){return this._reader.geometry()}field(e){return this._reader.field(e)}hasField(e){return this._reader.hasField(e)}setField(e,t){return this._reader.setField(e,t)}keys(){return this._reader.keys()}castToText(e=!1){return this._reader.castToText(e)}}},8446(e,t,r){r.d(t,{K:()=>a});var s=r(90708),i=r(43334),n=r(95466),o=r(99996);class a extends o.Y{static fromFeatures(e,t){const{geometryType:r,hasZ:i,hasM:n,featureIdInfo:o}=t,h=(0,s.Di)([],e,r,i,n,o);for(let t=0;t<h.length;t++)h[t].displayId=e[t].displayId;return a.fromOptimizedFeatures(h,t)}static fromFeatureSet(e,t){const r=(0,s.q3)(e,t.featureIdInfo);return a.fromOptimizedFeatureSet(r,t)}static fromOptimizedFeatureSet(e,t){const r=a.fromOptimizedFeatures(e.features,t);return r._exceededTransferLimit=e.exceededTransferLimit,r._transform=e.transform,r._fieldsIndex=new n.A(e.fields),r}static fromOptimizedFeatures(e,t,r){const s=new a(e,t);return s._fieldsIndex=t.fieldsIndex,s._transform=r,s}static empty(e){return new a([],e)}constructor(e,t){super(t),this._featureIndex=-1,this._exceededTransferLimit=!1,this._fieldsIndex=null,this._hasZ=!1,this._hasM=!1,this._geometryType=t.geometryType,this._hasZ=t.hasZ,this._hasM=t.hasM,this._features=e}get fields(){return this._fieldsIndex}get geometryType(){return this._geometryType}get hasFeatures(){return!!this._features.length}get hasNext(){return this._featureIndex+1<this._features.length}get exceededTransferLimit(){return this._exceededTransferLimit}get hasZ(){return this._hasZ}get hasM(){return this._hasM}get _current(){return this._features[this._featureIndex]}get usedMemory(){return this._current.usedMemory}getSize(){return this._features.length}getCursor(){return this.copy()}getInTransform(){return this._transform}getAttributeHash(){let e="";for(const t in this._current.attributes)e+=this._current.attributes[t];return e}getIndex(){return this._featureIndex}setIndex(e){this._featureIndex=e}getObjectId(){return this._current?.objectId}getDisplayId(){return this._current.displayId}setDisplayId(e){this._current.displayId=e}getByReferenceVertexCount(){return this._current.vertexCount}copy(){const e=new a(this._features,this.metadata);return this.copyInto(e),e}next(){for(;++this._featureIndex<this._features.length&&!this._getExists(););return this._featureIndex<this._features.length}readGeometryArea(){return(0,i.N3)(this._current)?(0,s.Rk)(this._current.geometry,2):0}_readX(){return(0,i.N3)(this._current)?this._current.geometry.coords[0]:0}_readY(){return(0,i.N3)(this._current)?this._current.geometry.coords[1]:0}_readGeometry(){return(0,i.N3)(this._current)?this._current.geometry??null:null}_readServerCentroid(){return this._current.centroid}_readAttribute(e,t){if(!this._fieldsIndex){const t=this._current.attributes[e];if(void 0!==t)return t;const r=e.toLowerCase();for(const e in this._current.attributes)if(e.toLowerCase()===r)return this._current.attributes[e];return}const r=this._fieldsIndex.get(e);if(!r)return;const s=this._current.attributes[r.name];return null==s?s:t&&this.fields.isDateField(e)?new Date(s):s}_readAttributes(){return this._current.attributes}copyInto(e){super.copyInto(e),e._featureIndex=this._featureIndex,e._transform=this._transform,e._fieldsIndex=this._fieldsIndex}}},16630(e,t,r){r.d(t,{s:()=>h}),r(44208);var s=r(70328),i=r(92722),n=r(17754),o=r(99996);const a=new TextDecoder;class h extends o.Y{constructor(e,t,r,s,i,n=new Uint32Array(r.size()),o,a,h){if(super(e),this._indexMap=t,this._inner=r,this._fileId=s,this._transform=i,this._displayIds=n,this._points=o,this._rowIds=a,this._emptyNumberValue=h,this._index=-1,this.usedMemory=32,this._size=this._inner.size(),this._rowIds||(this._rowIds=this._inner.readIdsUnsafe().slice()),!this._points&&"esriGeometryPoint"===this.geometryType){const e=this._inner.readPointCoordsQuantizedUnsafe()?.slice();e?(this._emptyNumberValue=-32768,this._points=e):(this._emptyNumberValue=NaN,this._points=this._inner.readPointCoordsUnsafe()?.slice())}e.featureIdInfo.type}destroy(){super.destroy(),this._inner.free()}get fields(){return this.metadata.fieldsIndex}get geometryType(){return this.metadata.geometryType}get hasFeatures(){return!0}get hasNext(){throw new Error("Method not implemented.")}get exceededTransferLimit(){return!1}get hasZ(){return!1}get hasM(){return!1}async updateFields(e,t,r,s){const i=this._inner.rowGroup(),n=new Uint32Array(this._inner.readIdsUnsafe()),o=await e.createPatch(t,i,n,r,s);this._inner.insertPatchBytes(new Uint8Array(o))}getInTransform(){return this._transform}getSize(){return this._size}getCursor(){return this.copy()}getAttributeHash(){let e="";for(const t of this.fields.fields)e+=this._readAttribute(t.name,!1)+".";return e}getObjectId(){const e=this._rowIds[this._index];return(0,n.xb)(this._fileId,e)}getDisplayId(){return this._displayIds[this._index]}setDisplayId(e){this._displayIds[this._index]=e}setIndex(e){this._index=e}getBoundsXMin(){return this._inner.boundsXMin(this._index)}getBoundsYMin(){return this._inner.boundsYMin(this._index)}getBoundsXMax(){return this._inner.boundsXMax(this._index)}getBoundsYMax(){return this._inner.boundsYMax(this._index)}getBounds(e){const t=this._inner.boundsXMin(this._index);return!!Number.isFinite(t)&&((0,s.BI)(e,t,this._inner.boundsYMin(this._index),this._inner.boundsXMax(this._index),this._inner.boundsYMax(this._index)),!0)}setBoundsXMin(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMin(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsXMax(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMax(e){throw new Error("InternalError: Setting bounds is unsupported")}getIndex(){return this._index}next(){for(;++this._index<this._size&&!this._getExists(););return this._index<this._size}readGeometryArea(){return this.readGeometryForDisplay()?.area()??0}copy(){const e=new h(this.metadata,this._indexMap,this._inner,this._fileId,this._transform,this._displayIds,this._points,this._rowIds,this._emptyNumberValue);return this.copyInto(e),e}copyInto(e){super.copyInto(e),e._index=this._index}_readGeometry(e){const t=this._inner.readCoordsUnsafe(this._index),r=this._inner.readLengthsUnsafe(this._index);return t&&r?new i.A(r,t,this.hasZ,this.hasM):null}_readX(){if(this._points){const e=this._points[2*this._index];return e===this._emptyNumberValue?NaN:e}return this._inner.readX(this._index)}_readY(){if(this._points){const e=this._points[2*this._index+1];return e===this._emptyNumberValue?NaN:e}return this._inner.readY(this._index)}_readServerCentroid(){return null}_readAttribute(e,t){const r=this.fields.get(e);if(!r)return;const s=this._indexMap[r.name];if(null==s)return this.getObjectId();const i=this._inner.readAttribute(this._index,s);if(null==i)return i;if("esriFieldTypeString"===r.type||"esriFieldTypeDateOnly"===r.type||"esriFieldTypeTimeOnly"===r.type||"esriFieldTypeTimestampOffset"===r.type){const e=this._inner.readAttribute(this._index,s);return a.decode(e)}const n=this.fields.isDateField(r.name);return t?null==i?i:n?new Date(i):i:i}_readAttributes(){const e={};for(const t of this.metadata.fieldsIndex.fields){if(null==this._indexMap[t.name])continue;const r=this._readAttribute(t.name,!1);void 0!==r&&(e[t.name]=r)}return e.__OBJECTID=this.getObjectId(),e}}},73250(e,t,r){r.d(t,{y:()=>i});var s=r(69397);class i{static fromBuffer(e,t){return new i(e,t)}static create(e,t=4294967295){const r=new Uint32Array(Math.ceil(e/32));return new i(r,t)}constructor(e,t){this._mask=0,this._buf=e,this._mask=t}_getIndex(e){return Math.floor(e/32)}get usedMemory(){return(0,s.Qf)(this._buf)}has(e){const t=this._mask&e;return!!(this._buf[this._getIndex(t)]&1<<t%32)}hasRange(e,t){let r=e,s=t;for(;r%32&&r!==s;){if(this.has(r))return!0;r++}for(;s%32&&r!==s;){if(this.has(r))return!0;s--}if(r===s)return!1;for(let e=r/32;e!==s/32;e++)if(this._buf[e])return!0;return!1}set(e){const t=this._mask&e,r=this._getIndex(t),s=1<<t%32;this._buf[r]|=s}setRange(e,t){let r=e,s=t;for(;r%32&&r!==s;)this.set(r++);for(;s%32&&r!==s;)this.set(s--);if(r!==s)for(let e=r/32;e!==s/32;e++)this._buf[e]=4294967295}unset(e){const t=this._mask&e,r=this._getIndex(t),s=1<<t%32;this._buf[r]&=4294967295^s}resize(e){const t=this._buf,r=new Uint32Array(Math.ceil(e/32));r.set(t),this._buf=r}or(e){for(let t=0;t<this._buf.length;t++)this._buf[t]|=e._buf[t];return this}and(e){for(let t=0;t<this._buf.length;t++)this._buf[t]&=e._buf[t];return this}xor(e){for(let t=0;t<this._buf.length;t++)this._buf[t]^=e._buf[t];return this}ior(e){for(let t=0;t<this._buf.length;t++)this._buf[t]|=~e._buf[t];return this}iand(e){for(let t=0;t<this._buf.length;t++)this._buf[t]&=~e._buf[t];return this}ixor(e){for(let t=0;t<this._buf.length;t++)this._buf[t]^=~e._buf[t];return this}any(){for(let e=0;e<this._buf.length;e++)if(this._buf[e])return!0;return!1}copy(e){for(let t=0;t<this._buf.length;t++)this._buf[t]=e._buf[t];return this}clone(){return new i(this._buf.slice(),this._mask)}clear(){for(let e=0;e<this._buf.length;e++)this._buf[e]=0;return this}forEachSet(e){for(let t=0;t<this._buf.length;t++){let r=this._buf[t],s=32*t;if(r)for(;r;)1&r&&e(s),r>>>=1,s++}}countSet(){let e=0;return this.forEachSet(t=>{e++}),e}}},9012(e,t,r){function s(e,{timeZone:t,timeExtent:r}){return{$view:{scale:e,timeZone:t,timeProperties:{currentStart:r?.start,currentEnd:r?.end}}}}r.d(t,{N:()=>s})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,6061,8872],{61691(t,e,r){r.d(e,{G:()=>n});class n{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>s});var n=r(61691);class s extends n.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},87992(t,e,r){r.d(e,{JR:()=>_,ME:()=>M,MY:()=>G,NO:()=>C,Nh:()=>P,V2:()=>b,_s:()=>A,e6:()=>V,gh:()=>E,tr:()=>X,uX:()=>x});var n=r(5482),s=r(16930),i=r(19419),o=r(60408),a=r(21325),u=r(513),h=r(50954),m=r(79567),c=r(52006),g=r(49663),l=r(46068),f=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:n,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:m,segmentParams:c,segmentCountArc:g,segmentCountBezier:l}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=n,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=m,this.segmentParams=c,this.segmentCountArc=g,this.segmentCountBezier=l}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?64+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:n,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=b(t,e,r,n,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:m}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(h.subarray(0,e),0),a.vertexM?.set(m.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,r+1)),a.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:n,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(r.subarray(0,e),0),a.segmentParams.set(n.subarray(0,s),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,a.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new y(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(t){this.geometry=t,this.index=-1,this._readVertex=w(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new d(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class d{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=w(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],n=e[r++],s=e[r++],i=e[r++];return{b:[this.end,[t,n],[s,i]]}}const n=e[r++],s=e[r++],i=e[r++],o=e[r++],a=e[r++],u=e[r++];r++,r++;const h=e[r++],m=e[r++];if(!Boolean(4&n)&&1===i)return{c:[this.end,[h,m]]};const c=2&n?0:1,g=1&n?0:1;return{a:[this.end,[a,u],c,g,o,s,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,n.mS)(r,new S(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:s,vertexZ:o,vertexM:a}=t,u=O(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,n.mS)(r,new S(t,["vertexZ","vertexM"]),!1);const s=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,m.e)(s,t,r),t=(0,c.yP)(r)}const[o,a,h,g]=s;e={xmin:o,ymin:a,xmax:h,ymax:g,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}else{let t,n,i,o;t=n=1/0,i=o=-1/0;for(let e=0;e<r;++e){const r=s[2*e],a=s[2*e+1];t=Math.min(t,r),i=Math.max(i,r),n=Math.min(n,a),o=Math.max(o,a)}e={xmin:t,ymin:n,xmax:i,ymax:o,spatialReference:u}}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}function M(t){let e,r,n;if((0,o.fT)(t)){n="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),r=[[u]],e=1}else(0,o.U9)(t)?(n="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(n="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(n="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,Y(e[0],(0,c.yP)(e.at(-1)))&&--t),t),0));const s=b(n,e,n.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,c.Ed)(t)),{hasZ:i,hasM:a,vertexXY:u,vertexZ:h,vertexM:m}=s;function g(t){u[2*f]=t[0],u[2*f+1]=t[1],i&&(h[f]=t[2]),a&&(m[f]=t[l]),++f}s.spatialReference=t.spatialReference??void 0;const l=s.hasZ?3:2;let f=0;if(!s.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])u[2*f]=t,u[2*f+1]=e,++f;return s}for(const t of r[0])g(t);return s}const x="polygon"===n,{partOffsets:p}=s;let y=0;if(!(0,c.Ed)(t)){for(const t of r){if(p[y++]=f,0===t.length)continue;let e=t.length;if(x&&Y(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)g(t[r]);else for(let r=0;r<e;++r){const[e,n]=t[r];u[2*f]=e,u[2*f+1]=n,++f}}return p[y]=f,s}function v(t){const e=d+t;if(e<=(s.segmentParams?.length??0))return;let r=e*Z;r=20*Math.ceil(r/20);const n=s.segmentParams;s.segmentParams=new Float64Array(r),null!=n&&s.segmentParams.set(n)}let d=0;for(const t of r){if(s.partOffsets[y++]=f,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const n=t[e];g(r);const i=f-1;(0,c.wY)(n)?(v(10),++s.segmentCountArc,d=A(r,n,s,i,d),r=n.a[0]):(0,c.DA)(n)?(v(10),++s.segmentCountArc,d=R(r,n,s,i,d),r=n.a[0]):(0,c.aO)(n)?(v(10),++s.segmentCountArc,d=V(r,n,s,i,d),r=n.c[0]):(0,c.n1)(n)?(v(4),++s.segmentCountBezier,d=X(0,n,s,i,d),r=n.b[0]):r=n}x&&Y(e,r)||g(r)}return s.partOffsets[y]=f,s}function E(t){const e=w(t),{vertexCount:r,partCount:n,hasZ:s,hasM:i}=t,o=O(t);if("point"===t.type){const[e,r]=t.vertexXY,n=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:r,z:n,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<r;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let s=0;s<n;++s){const n=t.partOffsets[s+1],i=new Array;for(;a<n;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:s,hasM:i,spatialReference:o}:{paths:r,hasZ:s,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:o}}function P(t,{lengths:e,coords:r,hasZ:n,hasM:s},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);n??=!1,s??=!1;const h=b(t,u,o,n,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],n&&(h.vertexZ[t]=r[e++]),s&&(h.vertexM[t]=r[e++]);return h}const m=2+Number(n)+Number(s);let c=0,g=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[g],i=e+t-Number(a);h.partOffsets[++g]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[c++],h.vertexXY[2*t+1]=r[c++],n&&(h.vertexZ[t]=r[c++]),s&&(h.vertexM[t]=r[c++]);a&&(c+=m)}return h}function _({type:t,vertexCount:e,vertexXY:r,vertexZ:n,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new f.A([],[],a,u);i=Math.max(i,1);const m="polygon"===t;let c=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,g=h.coords.length;for(let t=c;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),a&&h.coords.push(n[t]),u&&h.coords.push(s[t]);if(m){const t=c;h.coords.push(r[2*t],r[2*t+1]),a&&h.coords.push(n[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-g)/h.stride),c=i}return"point"===t&&(h.lengths.length=0),h}function G(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let n=t.getLatestID();(n<=0||n===r)&&(n=void 0);const s=t.getVCS();if(null==s)return{wkid:r,latestWkid:n,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:r,wkt:e,latestWkid:n,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class S{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function O({spatialReference:t}){return t instanceof s.A?t.toJSON():t}function w({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?n=>[t[2*n],t[2*n+1],e[n],r[n]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function Y(t,e){return t.every((t,r)=>t===e[r])}function b(t,e,r,n,s,i,o,a){o??=0,a??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*e;n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const m=new ArrayBuffer(h);let c=0;return u.vertexXY=new Float64Array(m,c,2*e),c+=u.vertexXY.byteLength,n&&(u.vertexZ=new Float64Array(m,c,e),c+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(m,c,e),c+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(m,c,u.segmentParamCount),c+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(m,c,e),u.segmentIndices.fill(I),c+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(m,c,r+1),c+=u.partOffsets.byteLength,u.partFlags=new Int8Array(m,c,r+1),c+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(m,c,e),u.segmentFlags.fill(1),c+=u.segmentFlags.byteLength),u}function A(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,o){r[i]=4,n[i]=o;const[a,[u,h],m,c,g,f,x]=e.a;let p=4;c||(p|=1),m||(p|=2);const y=(0,l.SW)(t,e),[v,d]=(0,l.Uk)(y,.5);return s[o++]=p,s[o++]=f,s[o++]=x,s[o++]=g,s[o++]=u,s[o++]=h,s[o++]=y.u2-y.u1,s[o++]=y.u1,s[o++]=v,s[o++]=d,o}function R(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,o){r[i]=4,n[i]=o;const a=(0,g.io)(t,e);return F(a,4,...(0,u.mq)(a,.5),s,o)}function V(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,o){return r[i]=4,n[i]=o,F((0,h.pM)(t,e),0,...e.c[1],s,o)}function F(t,e,r,n,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:m}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=m,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=h-u,s[i++]=u,s[i++]=r,s[i++]=n,i}function X(t,{b:[e,[r,n],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,m){return o[h]=2,a[h]=m,u[m++]=r,u[m++]=n,u[m++]=s,u[m++]=i,m}const Z=1.61803,I=-1},91577(t,e,r){r.d(e,{fz:()=>y,g7:()=>f,qT:()=>p,zo:()=>x});var n=r(76061),s=r(61691),i=r(55537),o=r(95213),a=r(88885),u=r(79187);class h extends s.G{m_progressTracker;m_bMerge;m_bDone;m_inputGeometryCursor;m_index;constructor(t,e,r){super(),e||(0,i.a)(""),this.m_progressTracker=r,this.m_index=-1,this.m_bMerge=t,this.m_bDone=!1,this.m_inputGeometryCursor=e}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}next(){if(this.m_bMerge){if(!this.m_bDone){const t=m(this.m_inputGeometryCursor);return this.m_bDone=!0,t}return null}if(!this.m_bDone){const t=this.m_inputGeometryCursor.next();if(null!==t)return(0,i.p)(t),(0,i.c)(t),this.m_index=this.m_inputGeometryCursor.getGeometryID(),c(t);this.m_bDone=!0}return null}}function m(t,e){const r=new a.C;let n;for(;n=t.next();)(0,i.p)(n),(0,i.c)(n),r.addGeometry(n);return r.getBoundingGeometry()}function c(t,e){if((0,i.c)(t),t.isEmpty())return t.createInstance();const r=t.getGeometryType();if((0,i.m)(r)){const e=t;if(e.isDegenerate(0)){const t=new o.P;return e.queryStart(t),t}if(e.getGeometryType()===i.G.enumLine){const r=new o.P,n=new a.a({vd:t.getDescription()});return e.queryStart(r),n.startPathPoint(r),e.queryEnd(r),n.lineToPoint(r),n}{const r=new a.a({vd:t.getDescription()});return r.addSegment(e,!0),c(r)}}if(r===i.G.enumEnvelope){const e=t,r=new u.Envelope2D;if(e.queryEnvelope(r),r.xmin===r.xmax&&r.ymin===r.ymax){const t=new o.P;return e.queryCornerByVal(0,t),t}if(r.xmin===r.xmax||r.ymin===r.ymax){const r=new o.P,n=new a.a({vd:t.getDescription()});return e.queryCornerByVal(0,r),n.startPathPoint(r),e.queryCornerByVal(1,r),n.lineToPoint(r),n}{const r=new a.P({vd:t.getDescription()});return r.addEnvelope(e,!1),r}}if(r===i.G.enumGeometryCollection)return m((0,a.g)(t,-1));if(g(t)){if(r===i.G.enumMultiPoint){const e=t,r=new o.P;return e.getPointByVal(0,r),r}return t}return(0,i.g)((0,i.i)(r)),(0,a.f)(t)}function g(t,e){if((0,i.c)(t),t.isEmpty())return!0;const r=t.getGeometryType();if(r===i.G.enumPoint)return!0;if(r===i.G.enumEnvelope){const e=t;return e.getXMin()!==e.getXMax()&&e.getYMin()!==e.getYMax()}if((0,i.m)(r)){const e=t;if(e.isDegenerate(0))return!1;if(r===i.G.enumLine)return!0;const n=new a.a;return n.addSegment(e,!0),g(n)}if(r===i.G.enumMultiPoint)return 1===t.getPointCount();if(r===i.G.enumPolyline){const e=t;return!e.hasNonLinearSegments()&&1===e.getPathCount()&&2===e.getPointCount()&&!e.getXY(0).equals(e.getXY(1))}if(r===i.G.enumGeometryCollection){const e=t;return 1===e.getGeometryCount()&&g(e.getGeometry(0))}const n=t;return!(1!==n.getPathCount()||n.getPointCount()<3)&&(0,a.i)(n,0)}const l=new class{getOperatorType(){return 10102}supportsCurves(){return!0}accelerateGeometry(t,e,r){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,r){return new h(e,t,r)}execute(t,e){return c(t)}isConvex(t,e){if((0,i.c)(t),t.isEmpty())return!0;const r=t.getGeometryType();if(r===i.G.enumPoint)return!0;if(r===i.G.enumEnvelope){const e=t;return e.getXMin()!==e.getXMax()&&e.getYMin()!==e.getYMax()}if((0,i.m)(r)){const e=t;return!e.getStartXY().equals(e.getEndXY())}if(r===i.G.enumMultiPoint)return 1===t.getPointCount();if(r===i.G.enumPolyline){const e=t;return 1===e.getPathCount()&&2===e.getPointCount()&&!e.getXY(0).equals(e.getXY(1))}if(r===i.G.enumGeometryCollection){const r=t;return 1===r.getGeometryCount()&&this.isConvex(r.getGeometry(0),e)}const n=t;return!(1!==n.getPathCount()||n.getPointCount()<3)&&(0,a.i)(n,0)}constructOrientedMinimumBoundingBox(t,e,r,n,s){(0,a.e)(t,e,r,n,s)}};function f(t){return l.execute(t,null)}function x(t,e){const r=l.executeMany(new n.S(t),e,null);return Array.from(r)}function p(t){return l.isConvex(t,null)}function y(){return l.supportsCurves()}},55666(t,e,r){r.r(e),r.d(e,{execute:()=>i,executeMany:()=>o,isConvex:()=>a});var n=r(91577),s=r(83299);function i(t){const e=(0,s.fromGeometry)(t);return(0,s.toGeometry)((0,n.g7)(e.getGeometry()),e.getSpatialReference())}function o(t,e={}){const{merge:r=!1}=e,[i,o]=(0,s.fromGeometries)(t);return(0,n.zo)(i,r).map(t=>(0,s.toGeometry)(t,o))}function a(t){return(0,n.qT)((0,s.fromGeometryToGXGeometry)(t))}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5077],{25077(e,t,r){r.r(t),r.d(t,{default:()=>B});var i=r(5482),o=r(37838),s=r(11254),n=r(69540),a=r(49186),l=r(36563),u=r(25728),d=r(17676),c=r(91429),p=r(16930),y=r(55156),h=r(60950),m=r(89808),f=r(99959);const g=Symbol("isDimensionFeatureGraphicOrigin");var E;class v extends f.A{get[(E=g,h.ym)](){return this.layer}get[y.e](){return this.layer}get[m.Q](){return this.layer}constructor(e){super(),this[E]=!0,this.type="dimension-feature",this.layer=e}get id(){return this.layer.id}}var S=r(4146),I=r(52136),T=r(18768),M=r(63074),b=r(69208),C=r(40775),D=r(10086),A=r(34287),w=r(8303),L=r(54310),P=r(25036),F=r(82935),O=r(60694),x=r(10873),N=r(15426),G=r(17036),Z=r(30524),Y=r(91908),X=r(97552),j=r(30291),k=r(36005);const q="dimension-feature-layer",R=(0,G.p)();let U=class extends((0,C.I)((0,D.j)((0,M.dM)((0,F.e)((0,P.j)((0,L.J)((0,T.b)((0,A.q)((0,w.A)((0,u.M)((0,b.d)((0,I.p)((0,n.OU)(S.A)))))))))))))){constructor(e){super(e),this.barrierWeight="high",this.fields=null,this.fieldsIndex=null,this.graphicOrigin=new v(this),this.operationalLayerType="ArcGISDimensionLayer",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.referenceScale=0,this.source=null,this.styleCollection=null,this.sublayerTitleMode="item-title",this.supportedSourceTypes=new Set(["Dimension Layer"]),this.symbolFields=["STYLEID","BEGINX","BEGINY","ENDX","ENDY","DIMDISPLAY","EXTDISPLAY","MARKERDISPLAY","DIMX","DIMY","TEXTX","TEXTY","DIMLENGTH","DIMTYPE","EXTANGLE","TEXTANGLE","USECUSTOMLENGTH","CUSTOMLENGTH "],this.type="dimension-feature"}destroy(){this.source?.destroy()}load(e){const t=e?.signal,r=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(d.QP).then(async()=>{if(this.url&&null==this.layerId&&/FeatureServer|MapServer\/*$/i.test(this.url)){const e=await this._fetchFirstValidLayerId(t);null!=e&&(this.layerId=e)}if(!this.url)throw new a.A(`${q}:missing-url`,"DimensionFeatureLayer must be created with a url");return Promise.all([this.loadDataElement(e).then(()=>{if(!this.styleCollection)throw new a.A(`${q}:missing-style-collection`,"Invalid service with no style collection")}),this.initLayerProperties(await this.createGraphicsSource(t))])}).then(()=>(0,N.VA)(this,"load",e));return this.addResolvingPromise(r),Promise.resolve(this)}get editingEnabled(){return this._isOverridden("editingEnabled")?this._get("editingEnabled"):this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}set editingEnabled(e){this._overrideIfSome("editingEnabled",e)}get effectiveEditingEnabled(){return!1}get defaultPopupTemplate(){return this.createPopupTemplate()}readTitleFromService(e,t){const{url:r}=this,i=t.name||(0,O.qg)(r)?.title;switch(this.sublayerTitleMode){case"item-title":if(r)return(0,O.yG)(r,i);break;case"item-title-and-service-name":{let e=this.portalItem?.title;if(e&&e!==i)return e=(0,O.cr)(e),i?`${e} - ${(0,O.cr)(i)}`:e;break}}return i?(0,O.cr)(i):void 0}readTitleFromPortalItem(e){return"item-title"===this.sublayerTitleMode?e:void 0}createPopupTemplate(e){return(0,j.tn)(this,e)}async createGraphicsSource(e){const t={stack:[],error:void 0,hasError:!1};try{const{default:o}=await(0,d.qr)(Promise.all([r.e(893),r.e(3636),r.e(3467)]).then(r.bind(r,65515)),e),s=new o({layer:this,supportedSourceTypes:this.supportedSourceTypes});return(0,i.mS)(t,(0,l.Bf)((0,d.u7)(e,()=>s.cancelLoad())??(0,l.hA)()),!1),await s.load({signal:e}),s}catch(e){t.error=e,t.hasError=!0}finally{(0,i.hk)(t)}}createQuery(){const e=(0,N.VZ)(this);return e.where=this.definitionExpression||"1=1",e}getFieldDomain(e,t){return(0,N.Vq)(this,e,t,this.getField(e)?.domain??null)}async queryFeatures(e,t){const r=await this.load(),i=await r.source.queryFeatures(X.A.from(e)??r.createQuery(),t),o=this.graphicOrigin;if(i?.features)for(const e of i.features)e.layer=e.sourceLayer=r,e.origin=o;return i}async queryObjectIds(e,t){const r=await this.load();return r.source.queryObjectIds(X.A.from(e)??r.createQuery(),t)}async queryFeatureCount(e,t){const r=await this.load();return r.source.queryFeatureCount(X.A.from(e)??r.createQuery(),t)}async queryExtent(e,t){const r=await this.load();return r.source.queryExtent(X.A.from(e)??r.createQuery(),t)}serviceSupportsSpatialReference(e){return this.loaded&&(0,Y.D)(this,e)}async initLayerProperties(e){this._set("source",e),e.sourceJSON&&(this.sourceJSON=e.sourceJSON,this.read(e.sourceJSON,{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl})),this._verifySource(),(0,Z.sv)(this.timeInfo,this.fieldsIndex)}async hasDataChanged(){return(0,N.jp)(this)}_verifySource(){if(this.version&&this.version<10.8)throw new a.A(q+":unsupported-version","The feature service must be version 10.8 or above.");const e=["DIMLENGTH","BEGINX","BEGINY","ENDX","ENDY","DIMX","DIMY","TEXTX","TEXTY","DIMTYPE","EXTANGLE","STYLEID","USECUSTOMLENGTH","CUSTOMLENGTH","DIMDISPLAY","EXTDISPLAY","MARKERDISPLAY","TEXTANGLE"],t=e.filter(e=>!this.fieldsIndex.has(e));if(t.length)throw new a.A(q+":missing-fields","There are missing fields to operate properly",{requiredFields:e,missingFields:t})}_fetchFirstValidLayerId(e){return(0,s.A)(this.url??"",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e}).then(e=>{const t=e.data;if(!t)return;this.applyPreferredHost(t);const r=[...t.layers||[],...t.tables||[]];return r.find(({type:e})=>!e||this.supportedSourceTypes.has(e))?.id})}};(0,i.Cg)([(0,c.MZ)({type:p.A,json:{origins:{service:{read:{source:"sourceSpatialReference"}}}}})],U.prototype,"attributeSpatialReference",void 0),(0,i.Cg)([(0,c.MZ)(x.es)],U.prototype,"barrierWeight",void 0),(0,i.Cg)([(0,c.MZ)({json:{write:!0}})],U.prototype,"editingEnabled",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],U.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,c.MZ)({...R.fields,readOnly:!0,json:{read:!1,origins:{service:{read:!0}}}})],U.prototype,"fields",void 0),(0,i.Cg)([(0,c.MZ)(R.fieldsIndex)],U.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0,clonable:!1})],U.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,c.MZ)(x.id)],U.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({type:["ArcGISDimensionLayer"]})],U.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,c.MZ)(R.outFields)],U.prototype,"outFields",void 0),(0,i.Cg)([(0,c.MZ)(x.M6)],U.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:o.A,json:{name:"popupInfo",write:!0}})],U.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],U.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],U.prototype,"referenceScale",void 0),(0,i.Cg)([(0,c.MZ)({clonable:!1,readOnly:!0})],U.prototype,"source",void 0),(0,i.Cg)([(0,c.MZ)()],U.prototype,"styleCollection",void 0),(0,i.Cg)([(0,c.MZ)({type:String})],U.prototype,"sublayerTitleMode",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],U.prototype,"symbolFields",void 0),(0,i.Cg)([(0,k.w)("service","title",["name"])],U.prototype,"readTitleFromService",null),(0,i.Cg)([(0,k.w)("portal-item","title")],U.prototype,"readTitleFromPortalItem",null),(0,i.Cg)([(0,c.MZ)({json:{read:!1},value:"dimension-feature",readOnly:!0})],U.prototype,"type",void 0),U=(0,i.Cg)([(0,c.$K)("esri.layers.DimensionFeatureLayer")],U);const B=U},40775(e,t,r){
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5077],{25077(e,t,r){r.r(t),r.d(t,{default:()=>B});var i=r(5482),o=r(37838),s=r(11254),n=r(69540),a=r(49186),l=r(36563),u=r(25728),d=r(17676),c=r(91429),p=r(16930),y=r(55156),h=r(60950),m=r(89808),f=r(99959);const g=Symbol("isDimensionFeatureGraphicOrigin");var E;class v extends f.A{get[(E=g,h.ym)](){return this.layer}get[y.e](){return this.layer}get[m.Q](){return this.layer}constructor(e){super(),this[E]=!0,this.type="dimension-feature",this.layer=e}get id(){return this.layer.id}}var S=r(4146),I=r(52136),T=r(18768),M=r(63074),b=r(69208),C=r(40775),D=r(10086),A=r(34287),w=r(8303),L=r(54310),P=r(25036),F=r(82935),O=r(60694),x=r(10873),N=r(15426),G=r(17036),Z=r(30524),Y=r(91908),X=r(97552),j=r(30291),k=r(36005);const q="dimension-feature-layer",R=(0,G.p)();let U=class extends((0,C.I)((0,D.j)((0,M.dM)((0,F.e)((0,P.j)((0,L.J)((0,T.b)((0,A.q)((0,w.A)((0,u.M)((0,b.d)((0,I.p)((0,n.OU)(S.A)))))))))))))){constructor(e){super(e),this.barrierWeight="high",this.fields=null,this.fieldsIndex=null,this.graphicOrigin=new v(this),this.operationalLayerType="ArcGISDimensionLayer",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.referenceScale=0,this.source=null,this.styleCollection=null,this.sublayerTitleMode="item-title",this.supportedSourceTypes=new Set(["Dimension Layer"]),this.symbolFields=["STYLEID","BEGINX","BEGINY","ENDX","ENDY","DIMDISPLAY","EXTDISPLAY","MARKERDISPLAY","DIMX","DIMY","TEXTX","TEXTY","DIMLENGTH","DIMTYPE","EXTANGLE","TEXTANGLE","USECUSTOMLENGTH","CUSTOMLENGTH "],this.type="dimension-feature"}destroy(){this.source?.destroy()}load(e){const t=e?.signal,r=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(d.QP).then(async()=>{if(this.url&&null==this.layerId&&/FeatureServer|MapServer\/*$/i.test(this.url)){const e=await this._fetchFirstValidLayerId(t);null!=e&&(this.layerId=e)}if(!this.url)throw new a.A(`${q}:missing-url`,"DimensionFeatureLayer must be created with a url");return Promise.all([this.loadDataElement(e).then(()=>{if(!this.styleCollection)throw new a.A(`${q}:missing-style-collection`,"Invalid service with no style collection")}),this.initLayerProperties(await this.createGraphicsSource(t))])}).then(()=>(0,N.VA)(this,"load",e));return this.addResolvingPromise(r),Promise.resolve(this)}get editingEnabled(){return this._isOverridden("editingEnabled")?this._get("editingEnabled"):this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}set editingEnabled(e){this._overrideIfSome("editingEnabled",e)}get effectiveEditingEnabled(){return!1}get defaultPopupTemplate(){return this.createPopupTemplate()}readTitleFromService(e,t){const{url:r}=this,i=t.name||(0,O.qg)(r)?.title;switch(this.sublayerTitleMode){case"item-title":if(r)return(0,O.yG)(r,i);break;case"item-title-and-service-name":{let e=this.portalItem?.title;if(e&&e!==i)return e=(0,O.cr)(e),i?`${e} - ${(0,O.cr)(i)}`:e;break}}return i?(0,O.cr)(i):void 0}readTitleFromPortalItem(e){return"item-title"===this.sublayerTitleMode?e:void 0}createPopupTemplate(e){return(0,j.tn)(this,e)}async createGraphicsSource(e){const t={stack:[],error:void 0,hasError:!1};try{const{default:o}=await(0,d.qr)(Promise.all([r.e(893),r.e(3636),r.e(3467)]).then(r.bind(r,65515)),e),s=new o({layer:this,supportedSourceTypes:this.supportedSourceTypes});return(0,i.mS)(t,(0,l.Bf)((0,d.u7)(e,()=>s.cancelLoad())??(0,l.hA)()),!1),await s.load({signal:e}),s}catch(e){t.error=e,t.hasError=!0}finally{(0,i.hk)(t)}}createQuery(){const e=(0,N.VZ)(this);return e.where=this.definitionExpression||"1=1",e}getFieldDomain(e,t){return(0,N.Vq)(this,e,t,this.getField(e)?.domain??null)}async queryFeatures(e,t){const r=await this.load(),i=await r.source.queryFeatures(X.A.from(e)??r.createQuery(),t),o=this.graphicOrigin;if(i?.features)for(const e of i.features)e.layer=e.sourceLayer=r,e.origin=o;return i}async queryObjectIds(e,t){const r=await this.load();return r.source.queryObjectIds(X.A.from(e)??r.createQuery(),t)}async queryFeatureCount(e,t){const r=await this.load();return r.source.queryFeatureCount(X.A.from(e)??r.createQuery(),t)}async queryExtent(e,t){const r=await this.load();return r.source.queryExtent(X.A.from(e)??r.createQuery(),t)}serviceSupportsSpatialReference(e){return this.loaded&&(0,Y.D)(this,e)}async initLayerProperties(e){this._set("source",e),e.sourceJSON&&(this.sourceJSON=e.sourceJSON,this.read(e.sourceJSON,{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl})),this._verifySource(),(0,Z.sv)(this.timeInfo,this.fieldsIndex)}async hasDataChanged(){return(0,N.jp)(this)}_verifySource(){if(this.version&&this.version<10.8)throw new a.A(q+":unsupported-version","The feature service must be version 10.8 or above.");const e=["DIMLENGTH","BEGINX","BEGINY","ENDX","ENDY","DIMX","DIMY","TEXTX","TEXTY","DIMTYPE","EXTANGLE","STYLEID","USECUSTOMLENGTH","CUSTOMLENGTH","DIMDISPLAY","EXTDISPLAY","MARKERDISPLAY","TEXTANGLE"],t=e.filter(e=>!this.fieldsIndex.has(e));if(t.length)throw new a.A(q+":missing-fields","There are missing fields to operate properly",{requiredFields:e,missingFields:t})}_fetchFirstValidLayerId(e){return(0,s.A)(this.url??"",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e}).then(e=>{const t=e.data;if(!t)return;this.applyPreferredHost(t);const r=[...t.layers||[],...t.tables||[]];return r.find(({type:e})=>!e||this.supportedSourceTypes.has(e))?.id})}};(0,i.Cg)([(0,c.MZ)({type:p.A,json:{origins:{service:{read:{source:"sourceSpatialReference"}}}}})],U.prototype,"attributeSpatialReference",void 0),(0,i.Cg)([(0,c.MZ)(x.es)],U.prototype,"barrierWeight",void 0),(0,i.Cg)([(0,c.MZ)({json:{write:!0}})],U.prototype,"editingEnabled",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],U.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,c.MZ)({...R.fields,readOnly:!0,json:{read:!1,origins:{service:{read:!0}}}})],U.prototype,"fields",void 0),(0,i.Cg)([(0,c.MZ)(R.fieldsIndex)],U.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0,clonable:!1})],U.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,c.MZ)(x.id)],U.prototype,"id",void 0),(0,i.Cg)([(0,c.MZ)({type:["ArcGISDimensionLayer"]})],U.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,c.MZ)(R.outFields)],U.prototype,"outFields",void 0),(0,i.Cg)([(0,c.MZ)(x.M6)],U.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:o.A,json:{name:"popupInfo",write:!0}})],U.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],U.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],U.prototype,"referenceScale",void 0),(0,i.Cg)([(0,c.MZ)({clonable:!1,readOnly:!0})],U.prototype,"source",void 0),(0,i.Cg)([(0,c.MZ)()],U.prototype,"styleCollection",void 0),(0,i.Cg)([(0,c.MZ)({type:String})],U.prototype,"sublayerTitleMode",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],U.prototype,"symbolFields",void 0),(0,i.Cg)([(0,k.w)("service","title",["name"])],U.prototype,"readTitleFromService",null),(0,i.Cg)([(0,k.w)("portal-item","title")],U.prototype,"readTitleFromPortalItem",null),(0,i.Cg)([(0,c.MZ)({json:{read:!1},value:"dimension-feature",readOnly:!0})],U.prototype,"type",void 0),U=(0,i.Cg)([(0,c.$K)("esri.layers.DimensionFeatureLayer")],U);const B=U},40775(e,t,r){var i=r(5482),o=r(11254),s=r(49186),n=r(84952),a=r(91429),l=r(95250);function u(e,t){const r=e.indexOf(t);if(-1!==r)return e[r+1]}function d(e,t){const r=u(e,t);return r&&"string"==typeof r?JSON.parse(r):null}function c(e){const t=u(e,"ReferenceScale")??0;return"string"!=typeof t?t:parseFloat(t)}function p(e){return d(e,"SymbolCollection")??void 0}function y(e){return d(e,"StyleCollection")??void 0}r.d(t,["I",0,e=>{const t=e;let r=class extends t{async loadDataElement(e){if(!this.url||null==this.layerId)throw new s.A("fetchDataElement:missing-url-or-layerId","The layer must have a url and a layerId to fetch the data element.");const t=(0,n.fj)(this.url,"queryDataElements"),r={f:"json",layers:this.layerId},{data:i}=await(0,o.A)(t,{...e,responseType:"json",query:r}),a=i.layerDataElements.find(e=>e.layerId===this.layerId)?.dataElement;if(!a)throw new s.A("fetchDataElement:not-available","A data element for this layer could not be retrieved.");const u=a.extensionProperties?.propertySetItems??[],d=c(u),h=(0,l.S)(p(u)),m=(0,l.S)(y(u));this.read({referenceScale:d,symbolCollection:h,styleCollection:m},{origin:"service"})}};return r=(0,i.Cg)([(0,a.$K)("esri.layers.mixins.DataElementMixin")],r),r}])},95250(e,t,r){function i(e){return o(e,{CIMRGBColor:s,CIMCharacterMarker:n})}function o(e,t){if(null==e)return e;if(Array.isArray(e))return e.map(e=>o(e,t));if("object"==typeof e){if("type"in e&&"string"==typeof e.type&&t[e.type])return t[e.type](e);const r={};for(const[i,s]of Object.entries(e))r[i]=o(s,t);return r}return e}function s(e){const[t,r,i,o]=e.values;return[t,r,i,255*o/100]}function n(){return{type:"CIMVectorMarker",enable:!0,size:40,colorLocked:!1,anchorPointUnits:"Relative",frame:{xmin:-10,ymin:-10,xmax:10,ymax:10},markerGraphics:[{type:"CIMMarkerGraphic",textString:"■",geometry:{x:0,y:0},symbol:{type:"CIMTextSymbol",underline:!1,blockProgression:"TTB",depth3D:0,extrapolateBaselines:!0,flipAngle:90,fontEffects:"Normal",fontEncoding:"Unicode",haloSize:0,height:8,hinting:"Default",horizontalAlignment:"Center",kerning:!0,letterSpacing:10,letterWidth:100,ligatures:!1,lineGapType:"ExtraLeading",symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[0,0,0,255]}]},symbol3DProperties:{type:"CIM3DSymbolProperties",dominantSizeAxis3D:"Z",rotationOrder3D:"XYZ",scaleZ:1,scaleY:1},textCase:"Normal",textDirection:"LTR",verticalAlignment:"Center",verticalGlyphOrientation:"Right",wordSpacing:100,billboardMode3D:"FaceNearPlane"}}],scaleSymbolsProportionally:!0,respectFrame:!0}}r.d(t,{S:()=>i})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1918,1948,5151,6061,7992,8125,9169],{5482(e,t,n){function r(e,t,n,r){var s,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,s;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(s=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");s&&(r=function(){try{s.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}n.d(t,{Cg:()=>r,hk:()=>i,mS:()=>s}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function i(e){function t(t){e.error=e.hasError?new o(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function s(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(s);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(s,function(e){return t(e),s()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},57694(e,t,n){n.d(t,{a:()=>i,c:()=>o});var r=n(55537),s=n(83661);function o(e,t){if(!e.isEmpty())switch(e.getGeometryType()){case r.G.enumPolygon:return a(e);case r.G.enumPolyline:return h(e.getImpl());case r.G.enumLine:case r.G.enumBezier:case r.G.enumEllipticArc:return function(e){const t=e.calculateLength2D();return 0===t?e.getStartXY():e.calculateWeightedCentroid2D().mul(1/t)}(e);case r.G.enumMultiPoint:return function(e){const t=new s.K(0),n=new s.K(0),r=e.getImpl(),o=r.getAttributeStreamRef(0),i=r.getPointCount(),a=new s.P;for(let e=0;e<i;e++)o.queryPoint2D(2*e,a),t.add(a.x),n.add(a.y);const u=new s.P;return u.setCoords(t.getResult(),n.getResult()),u.divThis(i)}(e);case r.G.enumEnvelope:return e.getCenterXY();case r.G.enumPoint:return e.getXY();default:return s.P.construct(Number.NaN,Number.NaN)}return s.P.construct(Number.NaN,Number.NaN)}function i(e,t){return a(e,t)}function a(e,t=-1){const n=new s.K(0),r=new s.K(0),o=e.getImpl();let i;const a=o.hasNonLinearSegments();let h;const f=o.getXY(0);if(-1===t){if(h=o.calculateArea2D(),0===h)return l(e);a&&(i=o.querySegmentIterator());for(let e=0,t=o.getPathCount();e<t;e++)u(f,o,e,n,r),a&&c(f,i,n,r)}else{if(h=o.calculateRingArea2D(t),0===h)return l(e,t);a&&(i=o.querySegmentIterator(),i.resetToPath(t)),u(f,o,t,n,r),a&&c(f,i,n,r)}const m=new s.P,p=new s.P;return m.setCoords(n.getResult(),r.getResult()),p.assign(m.mul(1/h).add(f)),p}function u(e,t,n,r,o){const i=t.getPathStart(n),a=t.getPathEnd(n);if(a-i<3)return;const u=t.getAttributeStreamRef(0),c=u.readPoint2D(2*i),l=u.readPoint2D(2*(i+1));l.subThis(c);const h=new s.K(0),f=t.hasNonLinearSegments(),m=1/3,p=new s.P;for(let e=i+2;e<a;e++){u.queryPoint2D(2*e,p),p.subThis(c);const t=.5*p.crossProduct(l);f&&h.add(t);const n=m*t;r.add((l.x+p.x)*n),o.add((l.y+p.y)*n),l.setCoordsPoint2D(p)}const g=f?h.getResult():t.calculateRingArea2D(n),d=c.sub(e).mul(g);r.add(d.x),o.add(d.y)}function c(e,t,n,s){let o;for(t.nextPath()||(0,r.d)("centroid");null!==(o=t.nextCurve());){const t=o.calculateWeightedAreaCentroid2D(e);n.add(t.x),s.add(t.y)}}function l(e,t=-1){return h(e.getImpl(),t)}function h(e,t=-1){const n=-1===t?e.calculateLength2D():e.calculatePathLength2D(t);if(0===n)return function(e,t=-1){if(-1!==t)return e.getXY(e.getPathStart(t));const n=new s.K(0),r=new s.K(0);for(let t=0;t<e.getPathCount();++t){const s=e.getXY(e.getPathStart(t));n.add(s.x),r.add(s.y)}return s.P.construct(n.getResult(),r.getResult()).mul(1/e.getPathCount())}(e,t);const r=new s.K(0),o=new s.K(0),i=e.querySegmentIterator();for(-1!==t&&i.resetToPath(t);i.nextPath();){const n=i.getPathIndex(),s=e.getXY(e.getPathStart(n));for(;i.hasNextSegment();){const e=i.nextSegment(),t=e.calculateLength2D();if(0===t)continue;const n=e.calculateWeightedCentroid2D().sub(s.mul(t));r.add(n.x),o.add(n.y)}const a=s.mul(e.calculatePathLength2D(n));if(r.add(a.x),o.add(a.y),-1!==t)break}const a=new s.P;return a.setCoords(r.getResult(),o.getResult()),a.mul(1/n)}},30921(e,t,n){n.d(t,{D:()=>M,m:()=>l,s:()=>y,w:()=>d});var r=n(5482),s=n(55537),o=n(88885),i=n(15756),a=n(83661),u=n(79187),c=n(95213);function l(){return{outPoint:new a.P,index:-1,t:Number.NaN}}function h(e,t,n){return{outPoint:e.clone(),index:t,t:n}}function f(e,t,n,r){e.outPoint.assign(t),e.index=n,e.t=r}function m(e,t){e.outPoint.assign(t.outPoint),e.index=t.index,e.t=t.t}function p(e,t,n,r){e.index=n,e.t=r,t.queryCoord2D(e.t,e.outPoint)}function g(e,t){const n=l();m(n,e),m(e,t),m(t,n)}function d(e,t,n,r,o,a){if(e.getGeometryType()===s.G.enumPolygon){for(;r.nextPath();)if(r.hasNextSegment()){const t=r.nextSegment();if(0!==(0,i.g)(e,t.getEndXY(),0))return f(o,t.getEndXY(),-1,Number.NaN),f(a,t.getEndXY(),-1,Number.NaN),!0}r.resetToFirstPath()}if(t.getGeometryType()===s.G.enumPolygon){for(;n.nextPath();)if(n.hasNextSegment()){const e=n.nextSegment();if(0!==(0,i.g)(t,e.getEndXY(),0))return f(o,e.getEndXY(),-1,Number.NaN),f(a,e.getEndXY(),-1,Number.NaN),!0}n.resetToFirstPath()}return!1}function y(e){const t=e.getPathCount(),n=(0,a.d)(e.getSegmentCount(),0);let r=0;for(let s=0;s<t;++s){const t=r+e.getSegmentCountPath(s);for(let o=r,i=e.getPathStart(s);o<t;++o,++i)n[o]=i;r=t}return(0,o.s)(e.getPointCount(),n),n}function v(e,t){return!!Number.isNaN(t)||e<=t}function x(e){const t=new o.P;return t.addEnvelope(e,!1),t}class M{m_progressTracker;m_env2DgeometryA=null;m_env2DgeometryB=null;m_maxSqrDistance;m_maxDistance;m_progressCounter=0;m_bIsNearCalc;constructor(e,t){if(this.m_progressTracker=t,this.m_maxSqrDistance=e*e,this.m_maxDistance=e,this.m_bIsNearCalc=!1,Number.isNaN(this.m_maxDistance)?this.m_maxDistance=Number.POSITIVE_INFINITY:this.m_maxDistance=e,this.m_maxSqrDistance=this.m_maxDistance*this.m_maxDistance,Number.isFinite(this.m_maxSqrDistance)){let e=Math.sqrt(this.m_maxSqrDistance);for(;e<this.m_maxDistance;)this.m_maxSqrDistance*=1+Number.EPSILON,e=Math.sqrt(this.m_maxSqrDistance)}}calculate(e,t,n,r){if((e.getGeometryType()!==c.P.type||t.getGeometryType()!==c.P.type)&&(this.m_env2DgeometryA=new u.Envelope2D,this.m_env2DgeometryB=new u.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!v(this.m_env2DgeometryA.distanceFromEnvelope(this.m_env2DgeometryB),this.m_maxDistance)))return Number.POSITIVE_INFINITY;const s=h(new a.P,(0,a.j)(),Number.NaN),o=h(new a.P,(0,a.j)(),Number.NaN),i=this._ExecuteBruteForce(e,t,s,o);return v(i,this.m_maxDistance)?(null!==n&&m(n,s),null!==r&&m(r,o),i):Number.POSITIVE_INFINITY}isNear(e,t){if(this.m_bIsNearCalc=!0,e.isEmpty()||t.isEmpty())return!1;if(e===t)return!0;let n=!0;if(e.getGeometryType()!==c.P.type&&e.getGeometryType()!==c.E.type||t.getGeometryType()!==c.P.type&&t.getGeometryType()!==c.E.type||(n=!1),n){if(this.m_env2DgeometryA=new u.Envelope2D,this.m_env2DgeometryB=new u.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!(this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)>this.m_maxSqrDistance))return!0;if(this.m_env2DgeometryA.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>this.m_maxSqrDistance)return!1}const r=h(new a.P,(0,a.j)(),Number.NaN),s=h(new a.P,(0,a.j)(),Number.NaN);return this._ExecuteBruteForce(e,t,r,s)<=this.m_maxDistance}progress_(e=!1){}_ExecuteBruteForce(e,t,n,r){switch(e.getGeometryType()){case s.G.enumPoint:return this.distancePointGeometry(e,t,n,r);case s.G.enumMultiPoint:return this.distanceMultipointGeometry(e,t,n,r);case s.G.enumEnvelope:return this.distanceEnvelopeGeometry(e,t,n,r);case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathGeometry(e,t,n,r);default:return Number.NaN}}distancePointGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:return this.distancePointPoint(e,t,n,r);case s.G.enumMultiPoint:return this.distancePointMultipoint(e,t,n,r);case s.G.enumPolyline:case s.G.enumPolygon:return this.distancePointMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distancePointEnvelope(e,t,n,r);default:return Number.NaN}}distancePointPoint(e,t,n,r){const s=e.getXY(),o=t.getXY();return f(n,s,0,0),f(r,o,0,0),Math.sqrt(a.P.sqrDistance(s,o))}distancePointMultipoint(e,t,n,r){const s=e.getXY();let o=this.m_maxSqrDistance,i=o,u=!1;const c=t.getPointCount(),l=new a.P;for(let e=0;e<c;++e)if(t.queryXY(e,l),i=a.P.sqrDistance(s,l),this.m_bIsNearCalc){if(i<=o)return 0}else if(!(i>o)&&(!u&&i===o||i<o)&&(o=i,f(n,s,0,0),f(r,l,e,0),u=!0,0===o))return 0;return u?Math.sqrt(o):Number.POSITIVE_INFINITY}distancePointMultipath(e,t,n,r){const o=!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB),c=e.getXY();if(!o&&t.getGeometryType()===s.G.enumPolygon&&0!==(0,i.g)(t,c,0))return f(n,c,0,0),f(r,c,-1,Number.NaN),0;t.getImpl().getAccelerators();let l=this.m_maxSqrDistance,h=l,m=-1;const p=new u.Envelope2D,g=t.querySegmentIterator();let d=!1;for(;g.nextPath();)for(;g.hasNextSegment();){const e=g.nextSegment();e.queryEnvelope(p);const t=p.sqrDistance(c);if(t>l)continue;if(!this.m_bIsNearCalc&&d&&t===l)continue;m=e.getClosestCoordinate(c,!1);const s=e.getCoord2D(m);if(h=a.P.sqrDistance(c,s),this.m_bIsNearCalc){if(h<=l)return 0}else if(!(h>l)&&(!d||h<l)&&(l=h,f(n,c,0,0),f(r,s,g.getStartPointIndex(),m),d=!0,0===l))return 0}return d?Math.sqrt(l):Number.POSITIVE_INFINITY}distancePointEnvelope(e,t,n,r){const s=e.getXY();f(n,s,0,0),f(r,s,-1,Number.NaN);const o=t.asEnvelope2D();return o.contains(s)?0:Math.sqrt(o.sqrDistance(s,r.outPoint))}distanceMultipointGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distancePointMultipoint(t,e,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumMultiPoint:return this.distanceMultipointMultipoint(e,t,n,r,1,1);case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipointMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distanceMultipointMultipath(e,x(t),n,r);default:return Number.NaN}}distanceMultipointMultipoint(e,t,n,s,o,i){const u={stack:[],error:void 0,hasError:!1};try{if(this.m_bIsNearCalc&&1===o&&1===i){const r=Math.trunc((0,a.s)(Math.sqrt(e.getPointCount())+1,1,(0,a.i)())),o=Math.trunc((0,a.s)(Math.sqrt(t.getPointCount())+1,1,(0,a.i)()));if((r>=4||o>=4)&&this.distanceMultipointMultipoint(e,t,n,s,r,o)<=this.m_maxSqrDistance)return 0}let c=this.m_maxSqrDistance;const l=[e],h=[t],m=this.swapGeometriesIfBGtA(l,h);m&&(this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),i=(0,a.c)(o,o=i),g(n,s)),(0,r.mS)(u,(0,a.h)(()=>{g(n,s),this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)},!m),!1);const p=l[0].getImpl(),d=h[0].getImpl(),y=p.getPointCount(),v=d.getPointCount(),x=v>1;let M=!1;const P=new a.P,S=new a.P;for(let e=0;e<y;e+=o){if(p.queryXY(e,P),x){const e=this.m_env2DgeometryB.sqrDistance(P);if(this.m_bIsNearCalc){if(e>c)continue;if(this.m_env2DgeometryB.sqrMaxMinDistance(P)<=c)return 0}else if(e>=c)continue}for(let t=0;t<v;t+=i){d.queryXY(t,S);const r=a.P.sqrDistance(P,S);if(this.m_bIsNearCalc){if(r<=c)return 0}else if(!(r>c||M&&r===c)&&(!M||r<c)&&(f(n,P,e,0),f(s,S,t,0),M=!0,c=r,0===c))return M?Math.sqrt(c):Number.POSITIVE_INFINITY}}return M?Math.sqrt(c):Number.POSITIVE_INFINITY}catch(e){u.error=e,u.hasError=!0}finally{(0,r.hk)(u)}}distanceMultipointMultipath(e,t,n,r){let o=!!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)&&t.getGeometryType()===s.G.enumPolygon;const c=t.querySegmentIterator();c.stripAttributes();const l=new u.Envelope2D,h=new a.P;let m=this.m_maxSqrDistance;const p=e.getImpl(),g=p.getPointCount(),d=g>1;let y=!1;for(;c.nextPath();)for(;c.hasNextSegment();){const e=c.nextSegment();if(e.queryLooseEnvelope(l),d){const e=l.sqrDistanceEnvelope(this.m_env2DgeometryA,null,null);if(this.m_bIsNearCalc){if(e>m)continue}else if(e>m||y&&e===m)continue}for(let s=0;s<g;s++){if(p.queryXY(s,h),o&&0!==(0,i.g)(t,h,0))return f(n,h,-1,Number.NaN),f(r,h,s,0),0;{const e=l.sqrDistance(h);if(this.m_bIsNearCalc){if(e>m)continue}else if(e>m)continue}const a=e.getClosestCoordinate(h,!1),u=e.getCoord2D(a);h.subThis(u);const g=h.sqrLength();if(this.m_bIsNearCalc){if(g<=m)return 0}else if(!(g>m)&&(!y||g<m)&&(m=g,f(n,p.getXY(s),s,0),f(r,u,c.getStartPointIndex(),a),y=!0,0===m))return 0}o=!1}return y?Math.sqrt(m):Number.POSITIVE_INFINITY}distanceEnvelopeGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:return this.distancePointEnvelope(t,e,r,n);case s.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distanceMultipointMultipath(t,x(e),r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathMultipath(x(e),t,n,r);case s.G.enumEnvelope:return this.distanceEnvelopeEnvelope(e,t,n,r);default:return Number.NaN}}distanceEnvelopeEnvelope(e,t,n,r){n.t=Number.NaN,n.index=-1,r.t=Number.NaN,r.index=-1;const s=e.asEnvelope2D(),o=t.asEnvelope2D();return Math.sqrt(s.sqrDistanceEnvelope(o,n.outPoint,r.outPoint))}distanceMultipathGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distancePointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distanceMultipointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distanceMultipathMultipath(e,x(t),n,r);default:return Number.NaN}}distanceMultipathMultipath(e,t,n,s){const i={stack:[],error:void 0,hasError:!1};try{const c=[e],h=[t],f=this.swapGeometriesIfAGtB(c,h);f&&(this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),g(n,s)),(0,r.mS)(i,(0,a.h)(()=>{g(n,s),this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)},!f),!1);const v=c[0],x=h[0],M=v.querySegmentIterator();M.stripAttributes();const P=x.querySegmentIterator();if(P.stripAttributes(),this.m_bIsNearCalc&&this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)<=this.m_maxSqrDistance)return 0;if(this.m_bIsNearCalc){const e=Math.trunc((0,a.s)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)())),t=Math.trunc((0,a.s)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)()));if(this.distanceMultipointMultipoint(v,x,n,s,e,t)<=this.m_maxSqrDistance)return 0}if(this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)){const e=l(),t=l();if(d(v,x,M,P,e,t))return m(n,e),m(s,t),0}const S=y(v),w=[],_=new o.S,N=new u.Envelope2D,C=new u.Envelope2D,A=new u.Envelope2D;let b=this.m_maxSqrDistance,R=!0,I=!1;for(let e=0,t=S.length;e<t;++e){v.querySegment(S[e],_,!0);const t=_.get();if(t.queryEnvelope(N),!(N.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>b)){if(this.m_bIsNearCalc&&N.sqrMaxDistanceEnvelope(this.m_env2DgeometryB)<=b)return 0;for(;P.nextPath();){if(this.progress_(),R)x.queryPathEnvelope(P.getPathIndex(),A),w[P.getPathIndex()]=A.clone();else if(N.sqrDistanceEnvelope(w[P.getPathIndex()],null,null)>b)continue;for(;P.hasNextSegment();){const r=P.nextSegment();if(r.queryEnvelope(C),N.sqrDistanceEnvelope(C,null,null)<=b){const o=!N.isIntersecting(C),i=[0],a=[0];let u=t.distance(r,o,i,a);if(u*=u,this.m_bIsNearCalc&&u<=this.m_maxSqrDistance)return 0;if(u<b||u===b&&S[e]<n.index){if(I=!0,p(n,t,S[e],i[0]),p(s,r,P.getStartPointIndex(),a[0]),0===u)return 0;b=u}}}}P.resetToFirstPath(),R=!1}}return I?Math.sqrt(b):Number.POSITIVE_INFINITY}catch(e){i.error=e,i.hasError=!0}finally{(0,r.hk)(i)}}swapGeometriesIfAGtB(e,t){return(0,s.v)(e[0])>(0,s.v)(t[0])&&(t[0]=(0,a.c)(e[0],e[0]=t[0]),!0)}swapGeometriesIfBGtA(e,t){return this.swapGeometriesIfAGtB(t,e)}}},61691(e,t,n){n.d(t,{G:()=>r});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},76061(e,t,n){n.d(t,{S:()=>s});var r=n(61691);class s extends r.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},65708(e,t,n){n.d(t,{e:()=>o});var r=n(86211),s=n(78125);function o(e,t={}){const{unit:n}=t;let o=(0,s.fromGeometry)(e).calculateArea2D();if(o&&n){const t=(0,s.getSpatialReference)(e);if(t.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const i=(0,r.B5)(t);i!==n&&(i?o=(0,r.oU)(o,i,n):(o=Math.sqrt(o),o*=(0,r.GA)(t),o**=2,o=(0,r.oU)(o,"square-meters",n)))}return o}const i=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:!0},Symbol.toStringTag,{value:"Module"}));n.d(t,["a",0,i])},48265(e,t,n){n.d(t,{e:()=>i});var r=n(57694),s=n(78125);const o=new class{getOperatorType(){return 10205}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,t){return(0,r.c)(e)}};function i(e){const t=o.execute((0,s.fromGeometry)(e),null);return(0,s.toPoint)(t,(0,s.getSpatialReference)(e))}const a=o.supportsCurves(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:a},Symbol.toStringTag,{value:"Module"}));n.d(t,["c",0,u])},16346(e,t,n){n.d(t,{e:()=>u});var r=n(55537),s=n(30921),o=n(86211),i=n(78125);const a=new class{getOperatorType(){return 10100}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n){return this.executeEx(e,t,n,null,null,Number.NaN)}executeEx(e,t,n,o,i,a){if(e.isEmpty()||t.isEmpty())return Number.NaN;(0,r.c)(e),(0,r.c)(t);const u=e,c=t;Number.isNaN(a)&&(a=Number.POSITIVE_INFINITY);const l=new s.D(a,n).calculate(u,c,o,i);return Number.isFinite(l)?l:Number.NaN}};function u(e,t,n={}){const{unit:r}=n;let s=a.execute((0,i.fromGeometry)(e),(0,i.fromGeometry)(t),null);if(s&&r){const t=(0,i.getSpatialReference)(e);s=(0,o.PQ)(s,t,r)}return s}const c=a.supportsCurves(),l=Object.freeze(Object.defineProperty({__proto__:null,execute:u,supportsCurves:c},Symbol.toStringTag,{value:"Module"}));n.d(t,["d",0,l])},49590(e,t,n){n.d(t,{e:()=>f,l:()=>h});var r=n(86211),s=n(86742),o=n(5808);let i,a,u,c;function l(){return!!i&&(0,s.s1)()}async function h(){if(!l()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(1550)]).then(n.bind(n,78125)),(0,s.Hh)()]);i=e.fromGeometry,a=e.fromSpatialReference,u=e.getSpatialReference,c=(0,s.fz)()}}function f(e,t={}){const{curveType:n="geodesic",unit:c}=t,l=u(e);let h=(0,s.g7)(i(e),a(l),o.O[n]);return h&&c&&(h=(0,r.oU)(h,"square-meters",c)),h}const m=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:l,load:h,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}));n.d(t,["g",0,m])},39663(e,t,n){n.d(t,{e:()=>f,l:()=>h});var r=n(86211),s=n(35223),o=n(5808);let i,a,u,c;function l(){return!!i&&(0,s.s1)()}async function h(){if(!l()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(1550)]).then(n.bind(n,78125)),(0,s.Hh)()]);i=e.fromGeometry,a=e.fromSpatialReference,u=e.getSpatialReference,c=(0,s.fz)()}}function f(e,t={}){const{curveType:n="geodesic",unit:c}=t,l=u(e);let h=(0,s.g7)(i(e),a(l),o.O[n]);return h&&c&&(h=(0,r.oU)(h,"meters",c)),h}const m=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:l,load:h,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}));n.d(t,["g",0,m])},7817(e,t,n){n.d(t,{e:()=>o});var r=n(86211),s=n(78125);function o(e,t={}){const{unit:n}=t;let o=(0,s.fromGeometry)(e).calculateLength2D();if(o&&n){const t=(0,s.getSpatialReference)(e);o=(0,r.PQ)(o,t,n)}return o}const i=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:!0},Symbol.toStringTag,{value:"Module"}));n.d(t,["l",0,i])},10222(e,t,n){n.d(t,{e:()=>o});var r=n(81150),s=n(78125);function o(e){const t=(0,s.getSpatialReference)(e);return(0,s.toGeometry)((0,r.g7)((0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t),!1),t)}const i=(0,r.fz)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:function(e){const t=e.map(s.fromGeometry),n=(0,s.getSpatialReference)(e);return(0,r.zo)(t,(0,s.fromSpatialReference)(n),!1).map(e=>(0,s.toGeometry)(e,n))},isSimple:function(e){return(0,r.Pg)((0,s.fromGeometry)(e),(0,s.fromSpatialReference)((0,s.getSpatialReference)(e)),!1)},supportsCurves:i},Symbol.toStringTag,{value:"Module"}));n.d(t,["s",0,a])},69540(e,t,n){var r=n(5482),s=n(69622),o=(n(44208),n(4718)),i=(n(53966),n(97768)),a=n(88620),u=n(64108);const c=Symbol("ClonableMixin"),l=e=>{var t;const n=e;let s=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=c}clone(e){const t=(0,a.oY)(this);(0,i.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,r=t.store,s={},u=new Map;for(const t in n){const i=n[t],a=r?.originOf(t),c=i.clonable;if(i.readOnly||!1===c||7!==a&&0!==a&&5!==a&&4!==a)continue;const l=this[t];let h=null;if("function"==typeof c)h=c(l,e);else if("reference"===c)h=l;else if(h=(0,o.TU)(l,e),null!=l&&null==h)continue;0===a?u.set(t,h):s[t]=h}const c=new(0,Object.getPrototypeOf(this).constructor)(s);if(u.size){const e=(0,a.oY)(c)?.store;if(e)for(const[t,n]of u)e.set(t,n,0)}return c}};return s=(0,r.Cg)([(0,u.$)("esri.core.Clonable")],s),s},h=l(s.A);n.d(t,["OU",0,l,"Pw",0,h])},95488(e,t,n){n.d(t,{I:()=>s});var r=n(11406);class s extends r.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},51850(e,t,n){function r(){return[0,0,0]}function s(e){return[e[0],e[1],e[2]]}function o(e,t,n){return[e,t,n]}function i(e,t,n){return[e,t,n]}function a(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function u(){return[0,0,0]}function c(){return o(1,1,1)}function l(){return o(1,0,0)}function h(){return o(0,1,0)}function f(){return o(0,0,1)}n.d(t,{CN:()=>i,S:()=>c,Ul:()=>u,ci:()=>a,fA:()=>o,o8:()=>s,vt:()=>r});const m=[0,0,0],p=c(),g=l(),d=h(),y=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:g,UNIT_Y:d,UNIT_Z:y,ZEROS:m,clone:s,create:r,freeze:i,fromArray:a,fromValues:o,ones:c,unitX:l,unitY:h,unitZ:f,zeros:u},Symbol.toStringTag,{value:"Module"})),n.d(t,["Cb",0,y,"Cw",0,g,"JP",0,d,"Un",0,p,"uY",0,m])},35522(e,t,n){n.d(t,{$A:()=>N,Bw:()=>o,C:()=>i,Cc:()=>C,DI:()=>S,Io:()=>v,Ln:()=>y,Om:()=>_,Qr:()=>h,Re:()=>c,S8:()=>w,T9:()=>g,WQ:()=>u,Z0:()=>A,_S:()=>m,aI:()=>T,ei:()=>b,fw:()=>I,g7:()=>D,gL:()=>R,hG:()=>x,hZ:()=>a,hs:()=>d,jk:()=>p,lw:()=>l,m3:()=>M,oW:()=>q,t2:()=>G,tn:()=>f,ze:()=>P});var r=n(51850),s=n(34304);function o(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function i(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function u(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function c(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function l(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function h(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function f(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function m(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function p(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function g(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function d(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function y(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function v(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return Math.sqrt(n*n+r*r+s*s)}function x(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return n*n+r*r+s*s}function M(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function P(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function S(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function w(e,t){const n=t[0],r=t[1],s=t[2];let o=n*n+r*r+s*s;return o>0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o),e}function _(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function N(e,t,n){const r=t[0],s=t[1],o=t[2],i=n[0],a=n[1],u=n[2];return e[0]=s*u-o*a,e[1]=o*i-r*u,e[2]=r*a-s*i,e}function C(e,t,n,r){const s=t[0],o=t[1],i=t[2];return e[0]=s+r*(n[0]-s),e[1]=o+r*(n[1]-o),e[2]=i+r*(n[2]-i),e}function A(e,t,n){const r=t[0],s=t[1],o=t[2];return e[0]=n[0]*r+n[4]*s+n[8]*o+n[12],e[1]=n[1]*r+n[5]*s+n[9]*o+n[13],e[2]=n[2]*r+n[6]*s+n[10]*o+n[14],e}function b(e,t,n){const r=t[0],s=t[1],o=t[2];return e[0]=r*n[0]+s*n[3]+o*n[6],e[1]=r*n[1]+s*n[4]+o*n[7],e[2]=r*n[2]+s*n[5]+o*n[8],e}function R(e,t,n){return I(e,t,n[0],n[1],n[2],n[3])}function I(e,t,n,r,s,o){const i=t[0],a=t[1],u=t[2],c=r*u-s*a,l=s*i-n*u,h=n*a-r*i,f=r*h-s*l,m=s*c-n*h,p=n*l-r*c,g=2*o;return e[0]=i+c*g+2*f,e[1]=a+l*g+2*m,e[2]=u+h*g+2*p,e}function D(e,t){w(O,e),w(E,t);const n=_(O,E);return n>1?0:n<-1?Math.PI:Math.acos(n)}const O=(0,r.vt)(),E=(0,r.vt)();function G(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function T(e,t){if(e===t)return!0;const n=e[0],r=e[1],o=e[2],i=t[0],a=t[1],u=t[2],c=(0,s.FD)();return Math.abs(n-i)<=c*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(o-u)<=c*Math.max(1,Math.abs(o),Math.abs(u))}function q(e,t,n){const r=n[0]-t[0],s=n[1]-t[1],o=n[2]-t[2];let i=r*r+s*s+o*o;return i>0?(i=1/Math.sqrt(i),e[0]=r*i,e[1]=s*i,e[2]=o*i,e):(e[0]=0,e[1]=0,e[2]=0,e)}const Z=c,B=l,j=h,Y=v,z=x,k=o,V=M;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:D,bezier:function(e,t,n,r,s,o){const i=1-o,a=i*i,u=o*o,c=a*i,l=3*o*a,h=3*u*i,f=u*o;return e[0]=t[0]*c+n[0]*l+r[0]*h+s[0]*f,e[1]=t[1]*c+n[1]*l+r[1]*h+s[1]*f,e[2]=t[2]*c+n[2]*l+r[2]*h+s[2]*f,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:i,cross:N,crossAndNormalize:function(e,t,n){const r=t[0],s=t[1],o=t[2],i=n[0],a=n[1],u=n[2],c=s*u-o*a,l=o*i-r*u,h=r*a-s*i,f=Math.sqrt(c*c+l*l+h*h);return e[0]=c/f,e[1]=l/f,e[2]=h/f,e},direction:q,dist:Y,distance:v,div:j,divide:h,dot:_,equals:T,exactEquals:G,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,s,o){const i=o*o,a=i*(2*o-3)+1,u=i*(o-2)+o,c=i*(o-1),l=i*(3-2*o);return e[0]=t[0]*a+n[0]*u+r[0]*c+s[0]*l,e[1]=t[1]*a+n[1]*u+r[1]*c+s[1]*l,e[2]=t[2]*a+n[2]*u+r[2]*c+s[2]*l,e},inverse:S,len:k,length:o,lerp:C,max:g,min:p,mul:B,multiply:l,negate:P,normalize:w,random:function(e,t=1){const n=s.Ov,r=2*n()*Math.PI,o=2*n()-1,i=Math.sqrt(1-o*o)*t;return e[0]=Math.cos(r)*i,e[1]=Math.sin(r)*i,e[2]=o*t,e},rotateX:function(e,t,n,r){const s=[],o=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],o[0]=s[0],o[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),o[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateY:function(e,t,n,r){const s=[],o=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],o[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),o[1]=s[1],o[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateZ:function(e,t,n,r){const s=[],o=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],o[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),o[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),o[2]=s[2],e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:d,scaleAndAdd:y,set:a,sign:m,sqrDist:z,sqrLen:V,squaredDistance:x,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:Z,subtract:c,transformMat3:b,transformMat4:A,transformQuat:R,transformQuatValues:I},Symbol.toStringTag,{value:"Module"})),n.d(t,["Il",0,k,"jb",0,Z,"lo",0,z,"uE",0,V,"xg",0,Y])},69397(e,t,n){n.d(t,{Qf:()=>a,Qh:()=>o,lM:()=>s});var r=n(34275);function s(e){if(!e)return 0;let t=c;for(const n in e)e.hasOwnProperty(n)&&(t+=i(e[n],!1));return t}function o(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 u(e,8);let n=l;for(let r=0;r<t;r++)n+=i(e[r]);return n}(e);let t=c;for(const n in e)e.hasOwnProperty(n)&&(t+=i(e[n]));return t}function i(e,t=!0){switch(typeof e){case"object":return t?o(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)?u(t,16):0:0),0)}function u(e,t){return l+e.length*t}const c=32,l=16,h=145},17799(e,t,n){n.d(t,{T9:()=>a,d_:()=>s,gT:()=>o});var r=n(86211);function s(e,t){return{type:(0,r.t$)(t),value:e,unit:t}}function o(e,t){return{type:(0,r.t$)(t),value:e,unit:t}}function i(e,t,n="arithmetic"){return{type:(0,r.t$)(t),value:e,unit:t,rotationType:n}}function a(e,t){return null==e?t:null==t||e.value>(0,r.oU)(t.value,t.unit,e.unit)?e:t}s(0,"meters"),o(0,"square-meters"),i(0,"radians"),i(0,"degrees"),i(0,"degrees","geographic")},87992(e,t,n){n.d(t,{JR:()=>_,ME:()=>P,MY:()=>N,NO:()=>M,Nh:()=>w,V2:()=>I,_s:()=>D,e6:()=>E,gh:()=>S,tr:()=>T,uX:()=>g});var r=n(5482),s=n(16930),o=n(19419),i=n(60408),a=n(21325),u=n(513),c=n(50954),l=n(79567),h=n(52006),f=n(49663),m=n(46068),p=n(92722);class g{constructor({type:e,spatialReference:t,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:o,partCount:i,partOffsets:a,partFlags:u,segmentFlags:c,segmentIndices:l,segmentParams:h,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=e,this.spatialReference=t,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=o,this.partCount=i,this.partOffsets=a,this.partFlags=u,this.segmentFlags=c,this.segmentIndices=l,this.segmentParams=h,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:e,segmentCountArc:t,segmentCountBezier:n}=this;return e&&e-t-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function e(e){return e?64+e.byteLength:0}return e(this.vertexXY)+e(this.vertexZ)+e(this.vertexM)+e(this.partOffsets)+e(this.partFlags)+e(this.segmentFlags)+e(this.segmentIndices)+e(this.segmentParams)}clone(){const{type:e,vertexCount:t,partCount:n,hasZ:r,hasM:s,segmentCountArc:o,segmentCountBezier:i}=this,a=I(e,t,n,r,s,this.hasCurves(),o,i);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:c,vertexM:l}=this;if(a.vertexXY.set(u.subarray(0,2*t),0),a.vertexZ?.set(c.subarray(0,t),0),a.vertexM?.set(l.subarray(0,t),0),this.isMultipart()){const{partOffsets:e,partFlags:t}=this;a.partFlags.set(t.subarray(0,n+1)),a.partOffsets.set(e.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:e,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(e.subarray(0,t),0),a.segmentIndices.set(n.subarray(0,t),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(e){return this.equalsWithinTolerance(e,0)}equalsWithinTolerance(e,t){if(null==e)return!1;if(this===e)return!0;if(!(0,a.aI)(this.spatialReference,e.spatialReference))return!1;if(this.vertexCount!==e.vertexCount||this.partCount!==e.partCount)return!1;if(this.hasZ!==e.hasZ||this.hasM!==e.hasM)return!1;if(this.hasCurves()!==e.hasCurves()||this.segmentCountArc!==e.segmentCountArc||this.segmentCountBezier!==e.segmentCountBezier)return!1;const n=0===t?(e,t)=>e!==t||isNaN(e)!==isNaN(t):(e,n)=>Math.abs(e-n)>t||isNaN(e)!==isNaN(n);for(let t=0;t<this.vertexCount;++t)if(n(this.vertexXY[2*t],e.vertexXY[2*t])||n(this.vertexXY[2*t+1],e.vertexXY[2*t+1]))return!1;if(this.hasZ)for(let t=0;t<this.vertexCount;++t)if(n(this.vertexZ[t],e.vertexZ[t]))return!1;if(this.hasM)for(let t=0;t<this.vertexCount;++t)if(n(this.vertexM[t],e.vertexM[t]))return!1;for(let t=0;t<this.partCount;++t)if(this.partFlags[t]!==e.partFlags[t]||this.partOffsets[t]!==e.partOffsets[t])return!1;if(this.hasCurves()){for(let t=0;t<this.vertexCount;++t)if(this.segmentFlags[t]!==e.segmentFlags[t]||this.segmentIndices[t]!==e.segmentIndices[t])return!1;for(let t=0;t<this.segmentParamCount;++t)if(n(this.segmentParams[t],e.segmentParams[t]))return!1}return!0}get parts(){return this.isMultipart()?new d(this):[][Symbol.iterator]()}}class d{constructor(e){this.geometry=e,this.value=new y(e)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(e){this.geometry=e,this.index=-1,this._readVertex=b(e),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const e=this.geometry.partOffsets;return e[this.index+1]-e[this.index]}}class v{constructor(e){this._part=e,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===e.geometry.type,this.value=new x(e.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const e=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=e&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:e}=this._part,t=this._part.geometry.partOffsets;this._partStart=t[e],this._partEnd=t[e+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class x{constructor(e){this.geometry=e,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=b(e)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const e=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===e)return this.end;const t=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===e){const e=t[n++],r=t[n++],s=t[n++],o=t[n++];return{b:[this.end,[e,r],[s,o]]}}const r=t[n++],s=t[n++],o=t[n++],i=t[n++],a=t[n++],u=t[n++];n++,n++;const c=t[n++],l=t[n++];if(!Boolean(4&r)&&1===o)return{c:[this.end,[c,l]]};const h=2&r?0:1,f=1&r?0:1;return{a:[this.end,[a,u],h,f,i,s,o]}}}function M(e,t){const n={stack:[],error:void 0,hasError:!1};try{return t??=(0,o.Ie)(),(0,r.mS)(n,new C(e,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(t,function(e){let t;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=e,u=A(e);if(e.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new C(e,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const t of e.parts){let e=t.startVertex;for(const{curve:n}of t.segments)(0,l.e)(s,e,n),e=(0,h.yP)(n)}const[i,a,c,f]=s;t={xmin:i,ymin:a,xmax:c,ymax:f,spatialReference:u}}catch(e){n.error=e,n.hasError=!0}finally{(0,r.hk)(n)}}else{let e,r,o,i;e=r=1/0,o=i=-1/0;for(let t=0;t<n;++t){const n=s[2*t],a=s[2*t+1];e=Math.min(e,n),o=Math.max(o,n),r=Math.min(r,a),i=Math.max(i,a)}t={xmin:e,ymin:r,xmax:o,ymax:i,spatialReference:u}}if(i){let e=1/0,n=-1/0;for(const t of i)e=Math.min(e,t),n=Math.max(n,t);t.zmin=e,t.zmax=n}if(a){let e=1/0,n=-1/0;for(const t of a)e=Math.min(e,t),n=Math.max(n,t);t.mmin=e,t.mmax=n}return t}(e)),t}catch(e){n.error=e,n.hasError=!0}finally{(0,r.hk)(n)}}function P(e){let t,n,r;if((0,i.fT)(e)){r="point";const{x:s,y:o,z:i,m:a}=e,u=[s,o];null!=i&&u.push(i),null!=a&&u.push(a),n=[[u]],t=1}else(0,i.U9)(e)?(r="multipoint",n=[e.points],t=e.points.length):(0,i.Rg)(e)?(r="polyline",n=e.curvePaths??e.paths,t=n.reduce((e,t)=>e+t.length,0)):(r="polygon",n=e.curveRings??e.rings,t=n.reduce((e,t)=>(0===t.length||(e+=t.length,R(t[0],(0,h.yP)(t.at(-1)))&&--e),e),0));const s=I(r,t,r.includes("point")?0:n.length,(0,i.Pv)(e),(0,i.W0)(e),(0,h.Ed)(e)),{hasZ:o,hasM:a,vertexXY:u,vertexZ:c,vertexM:l}=s;function f(e){u[2*p]=e[0],u[2*p+1]=e[1],o&&(c[p]=e[2]),a&&(l[p]=e[m]),++p}s.spatialReference=e.spatialReference??void 0;const m=s.hasZ?3:2;let p=0;if(!s.isMultipart()){if(!o&&!a){for(const[e,t]of n[0])u[2*p]=e,u[2*p+1]=t,++p;return s}for(const e of n[0])f(e);return s}const g="polygon"===r,{partOffsets:d}=s;let y=0;if(!(0,h.Ed)(e)){for(const e of n){if(d[y++]=p,0===e.length)continue;let t=e.length;if(g&&R(e[0],e.at(-1))&&--t,o||a)for(let n=0;n<t;++n)f(e[n]);else for(let n=0;n<t;++n){const[t,r]=e[n];u[2*p]=t,u[2*p+1]=r,++p}}return d[y]=p,s}function v(e){const t=x+e;if(t<=(s.segmentParams?.length??0))return;let n=t*q;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let x=0;for(const e of n){if(s.partOffsets[y++]=p,0===e.length)continue;const t=e[0];let n=t;for(let t=1;t<e.length;++t){const r=e[t];f(n);const o=p-1;(0,h.wY)(r)?(v(10),++s.segmentCountArc,x=D(n,r,s,o,x),n=r.a[0]):(0,h.DA)(r)?(v(10),++s.segmentCountArc,x=O(n,r,s,o,x),n=r.a[0]):(0,h.aO)(r)?(v(10),++s.segmentCountArc,x=E(n,r,s,o,x),n=r.c[0]):(0,h.n1)(r)?(v(4),++s.segmentCountBezier,x=T(0,r,s,o,x),n=r.b[0]):n=r}g&&R(t,n)||f(n)}return s.partOffsets[y]=p,s}function S(e){const t=b(e),{vertexCount:n,partCount:r,hasZ:s,hasM:o}=e,i=A(e);if("point"===e.type){const[t,n]=e.vertexXY,r=e.vertexZ?.[0],s=e.vertexM?.[0];return{x:t,y:n,z:r,m:s,spatialReference:i}}let a=0;if("multipoint"===e.type){const e=[];for(;a<n;)e.push(t(a++));return{points:e,spatialReference:i,hasZ:s,hasM:o}}const u="polygon"===e.type;if(!e.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=e.partOffsets[s+1],o=new Array;for(;a<r;)o.push(t(a++));u&&o.length>0&&o.push(o[0]),n.push(o)}return u?{rings:n,hasZ:s,hasM:o,spatialReference:i}:{paths:n,hasZ:s,hasM:o,spatialReference:i}}const c=new Array;for(const{segments:t,startVertex:n}of e.parts){const e=[n];for(const{curve:n}of t)e.push(n);c.push(e)}return u?{rings:[],curveRings:c,hasZ:s,hasM:o,spatialReference:i}:{paths:[],curvePaths:c,hasZ:s,hasM:o,spatialReference:i}}function w(e,{lengths:t,coords:n,hasZ:r,hasM:s},o){const i=e.includes("point")?0:t.length,a="polygon"===e,u="point"===e?1:t.reduce((e,t)=>e+t,0)-(a?i:0);r??=!1,s??=!1;const c=I(e,u,i,r,s,!1,0,0);if(c.spatialReference=o??void 0,!c.isMultipart()){for(let e=0,t=0;e<u;++e)c.vertexXY[2*e]=n[t++],c.vertexXY[2*e+1]=n[t++],r&&(c.vertexZ[e]=n[t++]),s&&(c.vertexM[e]=n[t++]);return c}const l=2+Number(r)+Number(s);let h=0,f=0;c.partOffsets[0]=0;for(const e of t){const t=c.partOffsets[f],o=t+e-Number(a);c.partOffsets[++f]=o;for(let e=t;e<o;++e)c.vertexXY[2*e]=n[h++],c.vertexXY[2*e+1]=n[h++],r&&(c.vertexZ[e]=n[h++]),s&&(c.vertexM[e]=n[h++]);a&&(h+=l)}return c}function _({type:e,vertexCount:t,vertexXY:n,vertexZ:r,vertexM:s,partCount:o,partOffsets:i,hasZ:a,hasM:u}){const c=new p.A([],[],a,u);o=Math.max(o,1);const l="polygon"===e;let h=0;for(let e=0;e<o;++e){const o=i?.[e+1]??t,f=c.coords.length;for(let e=h;e<o;++e)c.coords.push(n[2*e],n[2*e+1]),a&&c.coords.push(r[e]),u&&c.coords.push(s[e]);if(l){const e=h;c.coords.push(n[2*e],n[2*e+1]),a&&c.coords.push(r[e]),u&&c.coords.push(s[e])}c.lengths.push((c.coords.length-f)/c.stride),h=o}return"point"===e&&(c.lengths.length=0),c}function N(e,t){return"getSpatialReference"in e&&(t=function(e){if(null==e)return;const t=e.getText()||void 0,n=e.isCustomWkid()?0:e.getOldID();if(n<=0)return{wkt:t};let r=e.getLatestID();(r<=0||r===n)&&(r=void 0);const s=e.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:t};const o=s.isCustomWkid()?0:s.getOldID();if(o<=0)return{wkt:t};let i=e.getLatestVerticalID();return(i<=0||i===o)&&(i=void 0),{wkid:n,wkt:t,latestWkid:r,vcsWkid:o,latestVcsWkid:i}}(e.getSpatialReference()),e=e.getGeometry()),new g({...e.toFlatGeometry(),spatialReference:t})}class C{constructor(e,t){this.target=e,this.keys=t,this.oldValues=t.map(t=>e[t]);for(const n of t)e[n]=void 0}[Symbol.dispose](){this.keys.map((e,t)=>{this.target[e]=this.oldValues[t]})}}function A({spatialReference:e}){return e instanceof s.A?e.toJSON():e}function b({vertexXY:e,vertexZ:t,vertexM:n}){return t?n?r=>[e[2*r],e[2*r+1],t[r],n[r]]:n=>[e[2*n],e[2*n+1],t[n]]:n?t=>[e[2*t],e[2*t+1],n[t]]:t=>[e[2*t],e[2*t+1]]}function R(e,t){return e.every((e,n)=>e===t[n])}function I(e,t,n,r,s,o,i,a){i??=0,a??=0;const u=new g({type:e,vertexCount:t,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:i,segmentCountBezier:a});let c=2*Float64Array.BYTES_PER_ELEMENT*t;r&&(c+=Float64Array.BYTES_PER_ELEMENT*t),s&&(c+=Float64Array.BYTES_PER_ELEMENT*t),u.isMultipart()&&(c+=(n+1)*Int32Array.BYTES_PER_ELEMENT,c+=(n+1)*Int8Array.BYTES_PER_ELEMENT),o&&(c+=t*Int8Array.BYTES_PER_ELEMENT,c+=t*Int32Array.BYTES_PER_ELEMENT,c+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(c);let h=0;return u.vertexXY=new Float64Array(l,h,2*t),h+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(l,h,t),h+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(l,h,t),h+=u.vertexM.byteLength),o&&(u.segmentParams=new Float64Array(l,h,u.segmentParamCount),h+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(l,h,t),u.segmentIndices.fill(Z),h+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(l,h,n+1),h+=u.partOffsets.byteLength,u.partFlags=new Int8Array(l,h,n+1),h+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),o&&(u.segmentFlags=new Int8Array(l,h,t),u.segmentFlags.fill(1),h+=u.segmentFlags.byteLength),u}function D(e,t,{segmentFlags:n,segmentIndices:r,segmentParams:s},o,i){n[o]=4,r[o]=i;const[a,[u,c],l,h,f,p,g]=t.a;let d=4;h||(d|=1),l||(d|=2);const y=(0,m.SW)(e,t),[v,x]=(0,m.Uk)(y,.5);return s[i++]=d,s[i++]=p,s[i++]=g,s[i++]=f,s[i++]=u,s[i++]=c,s[i++]=y.u2-y.u1,s[i++]=y.u1,s[i++]=v,s[i++]=x,i}function O(e,t,{segmentFlags:n,segmentIndices:r,segmentParams:s},o,i){n[o]=4,r[o]=i;const a=(0,f.io)(e,t);return G(a,4,...(0,u.mq)(a,.5),s,i)}function E(e,t,{segmentFlags:n,segmentIndices:r,segmentParams:s},o,i){return n[o]=4,r[o]=i,G((0,c.pM)(e,t),0,...t.c[1],s,i)}function G(e,t,n,r,s,o){const{cx:i,cy:a,thetaStart:u,thetaEnd:c,radius:l}=e;return u>c||(t|=1),Math.abs(c-u)<=Math.PI||(t|=2),s[o++]=t,s[o++]=l,s[o++]=1,s[o++]=0,s[o++]=i,s[o++]=a,s[o++]=c-u,s[o++]=u,s[o++]=n,s[o++]=r,o}function T(e,{b:[t,[n,r],[s,o]]},{segmentFlags:i,segmentIndices:a,segmentParams:u},c,l){return i[c]=2,a[c]=l,u[l++]=n,u[l++]=r,u[l++]=s,u[l++]=o,l}const q=1.61803,Z=-1},48526(e,t,n){n.d(t,{A:()=>d});var r,s=n(5482),o=n(4576),i=n(4718),a=n(91429),u=n(5443),c=n(91075),l=n(86738),h=n(16930),f=n(90634),m=n(47610),p=n(56993),g=n(43937);let d=r=class extends c.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:n,hasZ:r,spatialReference:s}=e;switch(t??=[],t?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=h.A.WGS84,{...e,hasM:n,hasZ:r,points:t,spatialReference:s}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,f.ge)(this);return e?new u.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,i.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:n,hasZ:s}=this;return new r({points:(0,i.o8)(e),spatialReference:t.clone(),hasM:n,hasZ:s})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,n=e.spatialReference;return null!=t==(null!=n)&&!(null!=t&&null!=n&&!t.equals(n))&&(0,o.aI)(this.points,e.points,m.v6)}addPoint(e){return(0,p.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],n={x:t[0],y:t[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=t[2],r=3),this.hasM&&(n.m=t[r]),new l.A(n)}removePoint(e){if(!this._validateInputs(e))return null;const t=new l.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,p.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,s.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],d.prototype,"points",void 0),(0,s.Cg)([(0,g.K)("points")],d.prototype,"writePoints",null),d=r=(0,s.Cg)([(0,a.$K)("esri.geometry.Multipoint")],d),d.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,n){n.d(t,{A:()=>p});var r,s=n(5482),o=n(4718),i=n(91429),a=n(5443),u=n(91075),c=n(86738),l=n(16930),h=n(90634),f=n(56993),m=n(43937);let p=r=class extends u.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:n,hasZ:r,spatialReference:s}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=l.A.WGS84,{...e,hasM:n,hasZ:r,paths:t,spatialReference:s}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,o.o8)(e)}get extent(){const e=(0,h.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,o.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,n=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const r=[];for(let t=0,n=e.length;t<n;t++)r[t]=e[t].toArray();t[n]=r}else t[n]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new r;return e.spatialReference=this.spatialReference,e.paths=(0,o.o8)(this.paths),e.curvePaths=(0,o.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const n=this.paths[e][t],r=this.hasZ,s=this.hasM;return r&&!s?new c.A(n[0],n[1],n[2],void 0,this.spatialReference):s&&!r?new c.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&s?new c.A(n[0],n[1],n[2],n[3],this.spatialReference):new c.A(n[0],n[1],this.spatialReference)}insertPoint(e,t,n){return this._validateInputs(e,t,!0)?((0,f.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e].splice(t,0,n),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],n=this.spatialReference,r=t.map(e=>new c.A(e,n));return this.notifyChange("paths"),r}removePoint(e,t){if(!this._validateInputs(e,t))return null;const n=new c.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(e,t,n){return this._validateInputs(e,t)?((0,f.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e][t]=n,this.notifyChange("paths"),this):this}_validateInputs(e,t,n=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const r=this.paths[e];if(n&&(t<0||t>r.length))return!1;if(!n&&(t<0||t>=r.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,s.Cg)([(0,i.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,s.Cg)([(0,i.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],p.prototype,"curvePaths",void 0),(0,s.Cg)([(0,m.K)("curvePaths")],p.prototype,"writeCurvePaths",null),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],p.prototype,"extent",null),(0,s.Cg)([(0,i.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],p.prototype,"paths",void 0),(0,s.Cg)([(0,m.K)("paths")],p.prototype,"writePaths",null),p=r=(0,s.Cg)([(0,i.$K)("esri.geometry.Polyline")],p),p.prototype.toJSON.isDefaultToJSON=!0},11918(e,t,n){n.r(t),n.d(t,{execute:()=>d,isLoaded:()=>p,load:()=>g,supportsCurves:()=>m});var r=n(86211),s=n(83290);let o;function i(){return!!o&&(0,s.i)()}async function a(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(2024),n.e(2764)]).then(n.bind(n,12764)),Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6061)]).then(n.bind(n,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,s.l)()]);o=new e.OperatorGeodeticDistance,t(s.p)}}function u(e,t,n,r){return o.execute(e,t,n,r,null)}var c=n(5808);let l,h,f,m;function p(){return!!l&&i()}async function g(){if(!p()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(9169)]).then(n.bind(n,78125)),a()]);l=e.fromGeometry,h=e.fromSpatialReference,f=e.getSpatialReference,m=o.supportsCurves()}}function d(e,t,n={}){const{curveType:s="geodesic",unit:o}=n,i=f(e);let a=u(l(e),l(t),h(i),c.O[s]);return a&&o&&(a=(0,r.oU)(a,"meters",o)),a}},86742(e,t,n){n.d(t,{Hh:()=>i,fz:()=>u,g7:()=>a,s1:()=>o});var r=n(83290);let s;function o(){return!!s&&(0,r.i)()}async function i(){if(!o()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(2024),n.e(6558)]).then(n.bind(n,6558)),Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6061)]).then(n.bind(n,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,r.l)()]);s=new e.OperatorGeodeticArea,t(r.p)}}function a(e,t,n){return s.execute(e,t,n,null)}function u(){return s.supportsCurves()}},35223(e,t,n){n.d(t,{Hh:()=>i,fz:()=>u,g7:()=>a,s1:()=>o});var r=n(83290);let s;function o(){return!!s&&(0,r.i)()}async function i(){if(!o()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(4167)]).then(n.bind(n,28879)),Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6061)]).then(n.bind(n,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,r.l)()]);s=new e.OperatorGeodeticLength,t(r.p)}}function a(e,t,n){return s.execute(e,t,n,null)}function u(){return s.supportsCurves()}},81150(e,t,n){n.d(t,{Pg:()=>u,fz:()=>c,g7:()=>i,zo:()=>a});var r=n(76061),s=(n(55537),n(88885),n(15756));n(95213);const o=new s.f;function i(e,t,n){return o.execute(e,t,n,null)}function a(e,t,n){const s=o.executeMany(new r.S(e),t,n,null);return Array.from(s)}function u(e,t,n){return o.isSimpleAsFeature(e,t,n,null,null)}function c(){return o.supportsCurves()}},159(e,t,n){n.d(t,{A:()=>c});var r,s=n(5482),o=n(69540),i=n(25482),a=n(91429),u=n(99157);let c=r=class extends((0,o.OU)(i.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,s.Cg)([(0,a.MZ)({type:[u.A],nonNullable:!0,json:{name:"geoTransforms"}})],c.prototype,"steps",void 0),c=r=(0,s.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],c)},99157(e,t,n){n.d(t,{A:()=>u});var r,s=n(5482),o=n(69540),i=n(25482),a=n(91429);let u=r=class extends((0,o.OU)(i.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,s.Cg)([(0,a.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],u.prototype,"isInverse",void 0),(0,s.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"wkt",void 0),(0,s.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"wkid",void 0),u=r=(0,s.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],u)},78125(e,t,n){n.r(t),n.d(t,{fromExtent:()=>d,fromGeometry:()=>g,fromMultipoint:()=>y,fromPoint:()=>v,fromPolygon:()=>x,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>P,fromSpatialReference:()=>S,getSpatialReference:()=>p,toExtent:()=>_,toGeometry:()=>w,toMultipoint:()=>N,toPoint:()=>C,toPolygon:()=>A,toPolyline:()=>b});var r=n(83661),s=n(55537),o=n(95213),i=n(88885),a=n(5443),u=n(48526),c=n(86738),l=n(39829),h=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function p(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function g(e){switch(e.type){case"point":return v(e);case"multipoint":return y(e);case"polyline":return M(e);case"polygon":return x(e);case"extent":return d(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function d(e){if(!e.getCacheValue(m)){const t=new o.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(2,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(1,0,e.zmin,e.zmax),e.setCacheValue(m,t)}return e.getCacheValue(m)}function y(e){if(!e.getCacheValue(m)){const t=new i.M,n=new o.P,r=e.points,s=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,o=r.length;e<o;e++){const o=r[e];n.setXYCoords(o[0],o[1]),a&&n.setZ(o[2]??0),s&&n.setM(o[u]??NaN),t.add(n)}e.setCacheValue(m,t)}return e.getCacheValue(m)}function v(e){if(!e.getCacheValue(m)){const t=new o.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(m,t)}return e.getCacheValue(m)}function x(e){if(!e.getCacheValue(m)){const{curveRings:t,hasM:n,hasZ:r,rings:s}=e,o=(0,f.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:s});e.setCacheValue(m,o)}return e.getCacheValue(m)}function M(e){if(!e.getCacheValue(m)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,o=(0,f.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(m,o)}return e.getCacheValue(m)}function P(e){if(!e.getCacheValue(m)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,o=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(m,o)}return e.getCacheValue(m)}function S(e){return e.cache?(e.cache[m]??=(0,f.fromSpatialReference)(e),e.cache[m]):(0,f.fromSpatialReference)(e)}function w(e,t){if(e)switch(e.getGeometryType()){case s.G.enumPoint:return C(e,t);case s.G.enumEnvelope:return _(e,t);case s.G.enumMultiPoint:return N(e,t);case s.G.enumPolyline:return b(e,t);case s.G.enumPolygon:return A(e,t)}return null}function _(e,t){if(e.isEmpty())return null;const n=new a.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(2,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(1,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(m,e),n}function N(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],a=new o.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),i.push(n)}const c=new u.A({hasM:r,hasZ:s,points:i,spatialReference:t});return c.setCacheValue(m,e),c}function C(e,t){if(e instanceof r.P)return new c.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new c.A({x:e.getX(),y:e.getY(),spatialReference:t}),s=e.getDescription();return s.hasM()&&(n.m=e.getM()),s.hasZ()&&(n.z=e.getZ()),n.setCacheValue(m,e),n}function A(e,t){if(e.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(e,null),spatialReference:t});return n.setCacheValue(m,e),n}function b(e,t){if(e.isEmpty())return null;const n=h.A.fromJSON({...(0,f.toGeometry)(e,null),spatialReference:t});return n.setCacheValue(m,e),n}},5808(e,t,n){n.d(t,["O",0,{geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}])},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>s});var r=n(49208);function s(e,t,n,s,o,i,a=Math.floor(e.length/3)){const u=(0,r.jd)(t,o);if(null==u)return!1;if(u===r.pO){if(e===s&&n===i)return!0;const t=n+3*a;for(let r=n,o=i;r<t;r++,o++)s[o]=e[r]??0;return!0}const c=n+3*a;for(let t=n,r=i;t<c;t+=3,r+=3)u(e,t,s,r);return!0}},65806(e,t,n){n.d(t,{g:()=>i});var r=n(51850),s=n(91218),o=n(9762);function i(e,t,n,r){if((0,s.canProjectWithoutEngine)(e.spatialReference,n))return a[0]=e.x,a[1]=e.y,a[2]=e.z??0,(0,o.projectBuffer)(a,e.spatialReference,0,t,n,0);const i=(0,s.tryProject)(e,n,r);return!!i&&(t[0]=i.x,t[1]=i.y,t[2]=i.z??0,!0)}const a=(0,r.vt)()},27993(e,t,n){n.d(t,{F:()=>a});var r=n(91218),s=n(16930),o=n(9762),i=n(65806);function a(e,t,n,s){return!(null==t||null==s||e.length<2)&&((0,r.canProjectWithoutEngine)(t,s)?(0,o.projectBuffer)(e,t,0,n,s,0,1):(u.x=e[0],u.y=e[1],u.z=e[2],u.spatialReference=t,(0,i.g)(u,n,s)))}const u={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:s.A.WGS84,type:"point"}},49208(e,t,n){n.d(t,{Tp:()=>h,jd:()=>l,pO:()=>m});var r=n(34727),s=n(86211),o=n(73941),i=n(79258),a=n(34403),u=n(21325);const c={2:{5:m,7:null,9:null,10:m,1:P,6:null,8:null,0:null,3:g,11:d,2:m,4:C},5:{5:m,7:null,9:null,10:m,1:P,6:null,8:null,0:null,3:g,11:d,2:m,4:C},7:{5:null,7:m,9:null,10:m,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,1:null,6:null,8:x,0:null,3:null,11:null,2:null,4:null},3:{5:p,7:null,9:null,10:p,1:function(e,t,n,r){const s=e[t]/O,o=D-2*Math.atan(Math.exp(-e[t+1]/O)),i=O+(e[t+2]??0),a=Math.cos(o)*i;n[r]=Math.cos(s)*a,n[r+1]=Math.sin(s)*a,n[r+2]=Math.sin(o)*i},6:null,8:null,0:null,3:m,11:function(e,t,n,r){p(e,t,n,r),d(n,r,n,r)},2:p,4:function(e,t,n,r){p(e,t,n,r),C(n,r,n,r)}},4:{5:A,7:null,9:null,10:A,1:function(e,t,n,r){A(e,t,n,r),P(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){A(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){A(e,t,n,r),d(n,r,n,r)},2:A,4:m},1:{5:N,7:null,9:null,10:N,1:m,6:null,8:null,0:null,3:function(e,t,n,r){N(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){N(e,t,n,r),d(n,r,n,r)},2:N,4:function(e,t,n,r){N(e,t,n,r),C(n,r,n,r)}},6:{5:null,7:_,9:null,10:_,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:w,10:w,1:null,6:null,8:m,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:P,6:M,8:x,0:null,3:g,11:d,2:m,4:C},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),P(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),g(n,r,n,r)},11:m,2:y,4:function(e,t,n,r){y(e,t,n,r),C(n,r,n,r)}}};function l(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(b.source.spatialReference===e&&b.dest.spatialReference===t)return b;const n=f(e,b.source),r=f(t,b.dest);return 0===n&&0===r?(0,u.aI)(e,t)?b.projector=m:b.projector=null:b.projector=c[n][r],b}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,s.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,u.oT)(e)?t.spatialReferenceId=2:(0,u.K8)(e)?t.spatialReferenceId=3:(0,u.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,o.q8)(e)?t.spatialReferenceId=7:(0,o.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function m(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function p(e,t,n,r){n[r]=I*(e[t]/O),n[r+1]=I*(D-2*Math.atan(Math.exp(-e[t+1]/O))),n[r+2]=e[t+2]??0}function g(e,t,n,s){!function(e,t,n,s,o){const i=.4999999*Math.PI,a=(0,r.qE)(R*e[t+1],-i,i),u=Math.sin(a);n[s++]=R*e[t]*o.radius,n[s++]=o.halfSemiMajorAxis*Math.log((1+u)/(1-u)),n[s]=e[t+2]??0}(e,t,n,s,i.$O)}function d(e,t,n,r){n[r]=e[t]*E,n[r+1]=e[t+1]*E,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*G,n[r+1]=e[t+1]*G,n[r+2]=e[t+2]??0}function v(e,t,n,r,s){const o=s+(e[t+2]??0),i=R*e[t],a=R*e[t+1],u=Math.cos(a)*o;n[r]=Math.cos(i)*u,n[r+1]=Math.sin(i)*u,n[r+2]=Math.sin(a)*o}function x(e,t,n,r){v(e,t,n,r,i.Sw.radius)}function M(e,t,n,r){v(e,t,n,r,i.sH.radius)}function P(e,t,n,r){v(e,t,n,r,i.$O.radius)}function S(e,t,n,s,o){const i=e[t],a=e[t+1],u=e[t+2]??0,c=Math.sqrt(i*i+a*a+u*u),l=(0,r.YN)(u/(0===c?1:c)),h=Math.atan2(a,i);n[s++]=I*h,n[s++]=I*l,n[s]=c-o}function w(e,t,n,r){S(e,t,n,r,i.Sw.radius)}function _(e,t,n,r){S(e,t,n,r,i.sH.radius)}function N(e,t,n,r){S(e,t,n,r,i.$O.radius)}function C(e,t,n,r){!function(e,t,n,r,s){const o=R*e[t],i=R*e[t+1],a=e[t+2]??0,u=Math.sin(i),c=Math.cos(i),l=s.radius/Math.sqrt(1-s.eccentricitySquared*u*u);n[r++]=(l+a)*c*Math.cos(o),n[r++]=(l+a)*c*Math.sin(o),n[r++]=(l*(1-s.eccentricitySquared)+a)*u}(e,t,n,r,i.$O)}function A(e,t,n,r){const s=a.TP,o=e[t],u=e[t+1],c=e[t+2]??0;let l,h,f,m,p,g,d,y,v,x,M,P,S,w,_,N,C,A,b,R,D;l=Math.abs(c),h=o*o+u*u,f=Math.sqrt(h),m=h+c*c,p=Math.sqrt(m),R=Math.atan2(u,o),g=c*c/m,d=h/m,w=s.a2/p,_=s.a3-s.a4/p,d>.3?(y=l/p*(1+d*(s.a1+w+g*_)/p),b=Math.asin(y),x=y*y,v=Math.sqrt(1-x)):(v=f/p*(1-g*(s.a5-w-d*_)/p),b=Math.acos(v),x=1-v*v,y=Math.sqrt(x)),M=1-i.$O.eccentricitySquared*x,P=i.$O.radius/Math.sqrt(M),S=s.a6*P,w=f-P*v,_=l-S*y,C=v*w+y*_,N=v*_-y*w,A=N/(S/M+C),b+=A,D=C+N*A/2,c<0&&(b=-b),n[r++]=I*R,n[r++]=I*b,n[r]=D}const b={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},R=(0,r.kU)(1),I=(0,r.KJ)(1),D=.5*Math.PI,O=i.$O.radius,E=O*Math.PI/180,G=180/(O*Math.PI);n.d(t,["w5",0,c])},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>J,initializeProjection:()=>W,isEqualBaseGCS:()=>X,isLoaded:()=>O,isLoadedOrLoad:()=>E,isLoadedOrLoadFor:()=>G,load:()=>q,project:()=>Z,projectAsync:()=>L,projectExtent:()=>se,projectMany:()=>B,projectMultipoint:()=>Q,projectOrLoad:()=>Y,projectOrLoadMany:()=>z,projectPoint:()=>$,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>U,requiresLoad:()=>T,test:()=>F,tryProject:()=>j,unload:()=>V});var r=n(49186),s=n(17676),o=n(62788),i=n(95488),a=n(51850),u=n(21276),c=n(73941),l=n(5443),h=n(91075),f=n(48526),m=n(86738),p=n(39829),g=n(82799),d=n(16930),y=n(98764),v=n(159),x=n(9762),M=n(49208);function P(e,t,n,r,s,o){return S[0]=e,S[1]=t,S[2]=n,(0,x.projectBuffer)(S,r,0,s,o,0)}const S=(0,a.vt)();var w=n(60408),_=n(21325),N=n(52006);let C=null,A=null,b=null,R=null,I={};const D=new i.I;function O(){return!!(A?.isLoaded()&&b?.isLoaded()&&R?.isLoaded())}function E(){return!!O()||((0,o.gc)(D),q(),!1)}function G(e,t){return!e||!t||J(e,t)||E()}function T(e,t){return!J(e,t)&&!O()}async function q(e){null==C&&(C=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(A=e,A.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(b=e,b.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(R=e,R.load()))])),await C,(0,s.Te)(e),D.notify()}function Z(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,u.H)(e),B(e,e[0].spatialReference,t,n)):((0,u.f)(e),B([e],e.spatialReference,t,n)[0])}function B(e,t,n,r){if(null==t||null==n)return e;if(J(t,n,r))return e.map(e=>U(e,t,n));if(null==r?.geographicTransformation&&(0,c.jA)(t))return B(e.map(e=>U(e,t,d.A.WGS84)),d.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,c.jA)(n))return B(e,t,d.A.WGS84).map(e=>U(e,d.A.WGS84,n));if(!O())throw new k;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:R.getTransformation(t,n,r.areaOfInterestExtent)||new v.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let s=I[e];s||(s=R.getTransformation(t,n)||new v.A,I[e]=s),r={geographicTransformation:s,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof h.A?A.executeMany(e,n,r):b.executeMany(e,n,r)}function j(e,t,n){try{return Z(e,t,n)}catch(e){return null}}function Y(e,t){const n=z([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function z(e,t,n){if(!O())for(const n of e)if(null!=n&&!(0,_.aI)(n.spatialReference,t)&&(0,_.fn)(n.spatialReference)&&(0,_.fn)(t)&&!J(n.spatialReference,t))return(0,o.gc)(D),{pending:q(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,_.aI)(e.spatialReference,t)?e:(0,_.fn)(e.spatialReference)&&(0,_.fn)(t)?Z(e,t,n):null)}}class k extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function V(){C=null,A=null,b=null,R=null,I={}}const F={get loadPromise(){return C}};async function L(e,t,n){if((0,s.Te)(n),!e)return e;const r=z(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,s.Te)(n),L(e,t,n);const o=r.geometries??[];return Array.isArray(e)?o:o[0]}function J(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,_.aI)(e,t)||(0,_.fn)(e)&&(0,_.fn)(t)&&!!(0,M.jd)(e,t))}function X(e,t){if((0,_.aI)(e,t))return!0;if(!(0,_.fn)(e)||!(0,_.fn)(t))return!1;const n=(0,_.oT)(e)||(0,_.K8)(e)||(0,_.x1)(e),r=(0,_.oT)(t)||(0,_.K8)(t)||(0,_.x1)(t);return n&&r}async function W(e,t,n,r){if(O())return(0,s.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:s}of e)if(t&&n&&!J(t,n,s))return q(r)}else if(e&&t&&!J(e,t,n))return q(r);return(0,s.NO)(r)}function U(e,t,n){return e?(0,w.fT)(e)?K(e,t,new m.A,n,0):(0,w.ZC)(e)?oe(e,t,new l.A,n,0):(0,w.Bi)(e)?re(e,t,new p.A,n,0):(0,w.Rg)(e)?te(e,t,new g.A,n,0):(0,w.U9)(e)?H(e,t,new f.A,n,0):null:null}function $(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=K(e,e.spatialReference,t,n,r)}function K(e,t,n,r,s){ce[0]=e.x,ce[1]=e.y;const o=e.z;return ce[2]=void 0!==o?o:s,(0,x.projectBuffer)(ce,t,0,ce,r,0)?(n.x=ce[0],n.y=ce[1],n.spatialReference=r,void 0!==o||(0,c.xP)(r)?(n.z=ce[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function Q(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=H(e,e.spatialReference,t,n,r)}function H(e,t,n,r,s){const{points:o,hasZ:i,hasM:a}=e,u=[],c=o.length,l=[];for(const e of o)l.push(e[0],e[1],i?e[2]:s);if(!(0,x.projectBuffer)(l,t,0,l,r,0,c))return null;const h=ue(i,r);for(let e=0;e<c;++e){const t=3*e,n=l[t],r=l[t+1];h&&a?u.push([n,r,l[t+2],o[e][3]]):h?u.push([n,r,l[t+2]]):a?u.push([n,r,o[e][2]]):u.push([n,r])}return n.points=u,n.spatialReference=r,n.hasZ=i,n.hasM=a,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,s){const{curvePaths:o,paths:i,hasZ:a,hasM:u}=e;if(!(o?ae(o,a??!1,u??!1,t,n.curvePaths=[],r,s):ie(i,a??!1,u??!1,t,n.paths,r,s)))return null;const c=ue(a,r);return n.spatialReference=r,n.hasZ=c,n.hasM=u,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,s){const{curveRings:o,rings:i,hasZ:a,hasM:u}=e;return(o?ae(o,a??!1,u??!1,t,n.curveRings=[],r,s):ie(i,a??!1,u??!1,t,n.rings,r,s))?(n.spatialReference=r,n.hasZ=ue(a,r),n.hasM=u,n):null}function se(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=oe(e,e.spatialReference,t,n,r)}function oe(e,t,n,r,s){const{xmin:o,ymin:i,xmax:a,ymax:u,hasZ:c,hasM:l}=e;if(!P(o,i,c?e.zmin:s,t,ce,r))return null;const h=ue(c,r);return n.xmin=ce[0],n.ymin=ce[1],h&&(n.zmin=ce[2]),P(a,u,c?e.zmax:s,t,ce,r)?(n.xmax=ce[0],n.ymax=ce[1],h&&(n.zmax=ce[2]),l&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function ie(e,t,n,r,s,o,i=0){const a=new Array;for(const n of e)for(const e of n)a.push(e[0],e[1],t?e[2]:i);if(!(0,x.projectBuffer)(a,r,0,a,o,0))return!1;let u=0;s.length=0;const c=t?3:2,l=ue(t,o);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(u,u+=3);l||t.pop(),n&&t.push(r[c]),e.push(t)}s.push(e)}return!0}function ae(e,t,n,r,s,o,i=0){const a=new Array;for(const n of e)for(const e of n){if((0,N.FG)(e))return!1;if((0,N.aO)(e)){const[n,r]=e.c;a.push(n[0],n[1],t?n[2]:i,r[0],r[1],i);continue}if((0,N.n1)(e)){const[n,r,s]=e.b;a.push(n[0],n[1],t?n[2]:i,r[0],r[1],i,s[0],s[1],i);continue}const n=e;a.push(n[0],n[1],t?n[2]:i)}if(!(0,x.projectBuffer)(a,r,0,a,o,0))return!1;let u=0;s.length=0;const c=t?3:2,l=ue(t,o);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(u,u+=3);if(l||t.pop(),n&&t.push((0,N.yP)(r)[c]),(0,N.FG)(r))return!1;if((0,N.aO)(r)){const n=a[u++],r=a[u++];++u,e.push({c:[t,[n,r]]});continue}if((0,N.n1)(r)){const n=a[u++],r=a[u++];++u;const s=a[u++],o=a[u++];++u,e.push({b:[t,[n,r],[s,o]]});continue}e.push(t)}s.push(e)}return!0}function ue(e,t){return e||(0,c.xP)(t)||(0,_.aI)(t,y.Y0)}const ce=(0,a.vt)()},98764(e,t,n){n.d(t,{lO:()=>l});var r=n(73941),s=n(16930),o=n(21325);const i=new s.A(r.fv),a=new s.A(r.FY),u=new s.A(r.LJ),c=new s.A(r.Ro);function l(e){const t=h.get(e);if(t)return t;let n=i;if(e)if(e===a)n=a;else if(e===u)n=u;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,o.tl)(t)||(0,o.tl)(r)?n=a:((0,o.ZL)(t)||(0,o.ZL)(r))&&(n=u);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?n=a:e===m&&(n=u)}}}return h.set(e,n),n}const h=new Map,f=a.wkt.toUpperCase(),m=u.wkt.toUpperCase();n.d(t,["GD",0,i,"Y0",0,c])},34403(e,t,n){var r=n(79258);Math.PI;const s=r.$O.radius,o=r.$O.eccentricitySquared,i={a1:s*o,a2:s*o*s*o,a3:s*o*o/2,a4:s*o*s*o*2.5,a5:s*o+s*o*o/2,a6:1-o};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius,n.d(t,["TP",0,i])},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function s(e){return void 0!==e.points}function o(e){return void 0!==e.x&&void 0!==e.y}function i(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function u(e){return"object"==typeof e&&"vertexAttributes"in e}function c(e){return e?o(e)?"esriGeometryPoint":i(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":s(e)?"esriGeometryMultipoint":null:null}function l(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>c,Bi:()=>a,Pv:()=>l,Rg:()=>i,U9:()=>s,W0:()=>h,ZC:()=>r,fT:()=>o,uW:()=>u})},65864(e,t,n){n.d(t,{rS:()=>l,xD:()=>f});var r=n(5443),s=n(91075),o=n(48526),i=n(86738),a=n(39829),u=n(82799),c=n(60408);function l(e){return null==e?null:e instanceof s.A?e:(0,c.fT)(e)?i.A.fromJSON(e):(0,c.Rg)(e)?u.A.fromJSON(e):(0,c.Bi)(e)?a.A.fromJSON(e):(0,c.U9)(e)?o.A.fromJSON(e):(0,c.ZC)(e)?r.A.fromJSON(e):null}const h={esriGeometryPoint:i.A,esriGeometryPolyline:u.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:o.A,esriGeometryMultiPatch:a.A};function f(e){return e&&h[e]||null}},92722(e,t,n){n.d(t,{A:()=>s});var r=n(69397);class s{constructor(e=[],t=[],n=!1,r=!1){this.lengths=e??[],this.coords=t??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:e,coords:t,hasZ:n,hasM:r}){return new s(e,t,n||!1,r||!1)}static fromRect([e,t,n,r]){const o=n-e,i=r-t;return new s([5],[e,t,o,0,0,i,-o,0,0,-i])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((e,t)=>e+t,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let e=0,t=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*t],o=this.coords[r*t+1];for(let i=1;i<n;i+=1){const n=r*(t+i),a=this.coords[n],u=this.coords[n+1];e+=-.5*(a-s)*(u+o),s=a,o=u}t+=n}return e}forEachVertex(e){let t=0;if(this.isPoint)return e(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(t+s);e(this.coords[r],this.coords[r+1])}t+=r}}deltaDecode(){const e=this.clone(),{coords:t,lengths:n}=e;let r=0;const{stride:s}=this;for(const e of n){for(let n=1;n<e;n++){const e=s*(r+n);t[e]+=t[e-s],t[e+1]+=t[e+1-s]}r+=e}return e}clone(e){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const t=Array.from(this.lengths),{stride:n,size:r}=this,o=this.coords.slice(0,r*n);return e?(e.set(o),new s(t,e,this.hasZ,this.hasM)):new s(t,Array.from(o),this.hasZ,this.hasM)}justXY(){const{stride:e,size:t}=this;if(2===e)return this;const n=new Array(t*e);for(let t=0,r=0;t<n.length;t+=e)n[r++]=this.coords[t],n[r++]=this.coords[t+1];return new s(this.lengths,n,!1,!1)}}},32728(e,t,n){n.d(t,{YH:()=>a,hG:()=>o,nu:()=>u,wp:()=>i}),n(34727);var r=n(35522),s=n(51850);function o(e){const t=e[0]*e[0]+e[4]*e[4]+e[8]*e[8],n=e[1]*e[1]+e[5]*e[5]+e[9]*e[9],r=e[2]*e[2]+e[6]*e[6]+e[10]*e[10];return Math.sqrt(Math.max(t,n,r))}function i(e,t){const n=Math.sqrt(t[0]*t[0]+t[4]*t[4]+t[8]*t[8]),s=Math.sqrt(t[1]*t[1]+t[5]*t[5]+t[9]*t[9]),o=Math.sqrt(t[2]*t[2]+t[6]*t[6]+t[10]*t[10]);return(0,r.hZ)(e,n,s,o),e}function a(e,t,n){n=n||e;const s=(0,r.Om)(e,t);(0,r.hZ)(n,e[0]-s*t[0],e[1]-s*t[1],e[2]-s*t[2]),(0,r.S8)(n,n)}function u(e,t,n,o=(0,s.vt)()){const i=(0,r.Bw)(e),a=(0,r.Bw)(t),u=(0,r.Om)(e,t)/(i*a);if(u<.9999999999999999){const s=Math.acos(u),h=((1-n)*i+n*a)/Math.sin(s),f=h/i*Math.sin((1-n)*s),m=h/a*Math.sin(n*s);return(0,r.hs)(c,e,f),(0,r.hs)(l,t,m),(0,r.WQ)(o,c,l)}return(0,r.Cc)(o,e,t,n)}(0,s.vt)(),(0,s.vt)(),(0,s.vt)();const c=(0,s.vt)(),l=(0,s.vt)()},55912(e,t,n){n.r(t),n.d(t,{area2D:()=>B,areaHorizontal:()=>W,autoArea2D:()=>V,autoDistance2DBetweenPoints:()=>L,autoLength2D:()=>F,autoSize2D:()=>J,distance2DBetweenPoints:()=>k,geodeticArea:()=>I,geodeticDistanceBetweenPoints:()=>q,geodeticDistanceBetweenPointsMany:()=>Z,geodeticLength:()=>T,length2D:()=>z,preloadGeodetic:()=>D,simplify:()=>U});var r=n(17799),s=n(86211),o=n(35522),i=n(51850),a=n(73941),u=n(48526),c=n(86738),l=n(39829),h=n(82799),f=n(91218),m=n(16930),p=n(98764),g=n(65708),d=n(48265),y=n(16346),v=n(49590),x=n(11918),M=n(39663),P=n(7817),S=n(10222),w=n(27993);function _(e,t,n,r,s){(0,o.C)(N,e),(0,o.WQ)(C,e,t),(0,w.F)(N,n,N,s),(0,w.F)(C,n,C,s),(0,o.Re)(r,C,N),(0,o.S8)(r,r)}const N=(0,i.vt)(),C=(0,i.vt)();var A=n(65864),b=n(21325),R=n(32728);async function I({geometryJSON:e,options:t}){await Promise.allSettled([(0,v.l)(),t?.returnLength?(0,M.l)():void 0]);const n=O(e,t),o=t?.unit??"square-meters",i=(0,S.e)(n)??n,a=(0,v.e)(i,{unit:o,...t}),u=(0,r.gT)(a,o),c=t?.lengthUnit??(0,s.Bd)(o);return{area:u,centroid:t?.returnCentroid?E(i).toJSON():void 0,length:t?.returnLength?await G(i,{unit:c}):void 0}}function D(){(0,v.l)(),(0,M.l)(),(0,x.load)()}function O(e,t){const n="rings"in e?l.A.fromJSON(e):h.A.fromJSON(e);if(t?.stagedPoint){const e=c.A.fromJSON(t.stagedPoint),r=("rings"in n?n.rings:n.paths).at(-1);if(r){const{x:t,y:s,z:o,m:i}=e,a=n.hasZ&&n.hasM?[t,s,o??0,i??0]:n.hasZ?[t,s,o??0]:n.hasM?[t,s,i??0]:[t,s];r.push(a)}}return n}function E(e){return(0,d.e)(e)}async function G(e,t){await(0,M.l)();const n=t?.unit??"meters";return(0,r.d_)((0,M.e)(e,{...t,unit:n}),n)}function T({geometryJSON:e,options:t}){return G(O(e,t),t)}async function q({geometry1JSON:e,geometry2JSON:t,options:n}){await(0,x.load)();const s=c.A.fromJSON(e),o=c.A.fromJSON(t),i=n?.unit??"meters";return(0,r.d_)((0,x.execute)(s,o,{...n,unit:i}),i)}async function Z({geometry1JSON:e,geometry2JSON:t,options:n}){await(0,x.load)();const s=u.A.fromJSON(e),o=u.A.fromJSON(t);if(s.points.length!==o.points.length)throw new Error("Input multipoints must have the same number of points.");const i=s.points.length,a=n?.unit??"meters",c=[],l={...n,unit:a};for(let e=0;e<i;e++){const t=s.getPoint(e),n=o.getPoint(e);c.push(null!=t&&null!=n?(0,r.d_)((0,x.execute)(t,n,l),a):null)}return c}function B({geometryJSON:e,options:t}){return j(O(e,t),t)}function j(e,t){const n=t?.unit??"square-meters",o=t?.lengthUnit??(0,s.Bd)(n),i=(0,S.e)(e)??e,a=(0,g.e)(i,{unit:n,...t});return{area:(0,r.gT)(a,n),centroid:t?.returnCentroid?E(i).toJSON():void 0,length:t?.returnLength?Y(i,{unit:o}):void 0}}function Y(e,t){const n=t?.unit??"meters";return(0,r.d_)((0,P.e)(e,{...t,unit:n}),n)}function z({geometryJSON:e,options:t}){return Y(O(e,t),t)}function k({geometry1JSON:e,geometry2JSON:t,options:n}){const s=c.A.fromJSON(e),o=c.A.fromJSON(t),i=n?.unit??"meters";return(0,r.d_)((0,y.e)(s,o,{...n,unit:i}),i)}async function V(e){return X(e.geometryJSON.spatialReference,I,B)(e)}async function F(e){return X(e.geometryJSON.spatialReference,T,z)(e)}async function L(e){return X(e.geometry1JSON.spatialReference,q,k)(e)}async function J(e){const t=X(e.topLeftJSON.spatialReference,q,k),{topLeftJSON:n,topRightJSON:s,bottomRightJSON:o,bottomLeftJSON:i,options:a}=e,[u,c,l,h]=await Promise.all([t({geometry1JSON:i,geometry2JSON:o,options:a}),t({geometry1JSON:n,geometry2JSON:s,options:a}),t({geometry1JSON:o,geometry2JSON:s,options:a}),t({geometry1JSON:i,geometry2JSON:n,options:a})]);return{width:(0,r.T9)(u,c),height:(0,r.T9)(h,l)}}function X(e,t,n){switch(r=e,(0,b.EA)(r)||(0,b.K8)(r)?0:1){case 0:return t;case 1:return n}var r}function W(e){const{geometryJSON:t}=e,n=function(e){return e?(0,a.B3)(e)?(0,b.oT)(e)||(0,b.K8)(e)||(0,b.x1)(e)||(0,a.jA)(e)||(0,b.aI)(e,p.Y0)?{mode:1,spatialReference:p.Y0}:{mode:0,spatialReference:e}:{mode:1,spatialReference:(0,p.lO)(e)}:null}(t.spatialReference);if(!n)throw new Error("Cannot compute horizontal area without a valid spatial reference.");switch(n.mode){case 0:return B(e);case 1:return function(e,{geometryJSON:t,options:n}){const r=O(t,n),s=ee,o=Q,i=H,a=(0,b.aI)(r.spatialReference,e.spatialReference)?r.clone():(0,f.projectWithoutEngine)(r,r.spatialReference,e.spatialReference);if(!a)throw new Error(`Cannot project geometry from ${r.spatialReference?.wkid??"unknown"} to ${e.spatialReference.wkid}.`);K(a,s,o,i);const{area:u,centroid:c,length:l}=j(a,n);return{area:u,centroid:$(c,s,o,i,e.spatialReference,r.spatialReference),length:l}}(n,e)}}function U({geometryJSON:e}){const t=(0,A.rS)(e);if(!t)return null;const n=(0,S.e)(t);return n?n.toJSON():null}function $(e,t,n,r,s,i){if(!e)return e;(0,o.hs)(n,n,e.x),(0,o.hs)(r,r,e.y);const a=te;return(0,o.WQ)(a,n,r),(0,o.WQ)(a,a,t),e.x=a[0],e.y=a[1],e.z=a[2],e.spatialReference=s,(0,f.projectWithoutEngine)(e,e.spatialReference,i)?.toJSON()??void 0}function K(e,t,n,r){let s=0;(0,o.hZ)(t,0,0,0);for(const n of e.rings)for(const e of n)t[0]+=e[0],t[1]+=e[1],t[2]+=e[2],s++;(0,o.hs)(t,t,1/s);const i=ne;(0,o.S8)(i,t);const a=re,u=Math.atan2(i[1],i[0]);(0,o.hZ)(a,-Math.sin(u),Math.cos(u),0),(0,b.aI)(e.spatialReference,p.Y0)&&(_(t,i,p.GD,i,e.spatialReference),_(t,a,p.GD,a,e.spatialReference)),(0,R.YH)(a,i,n),(0,o.$A)(r,n,i);const c=te;for(const s of e.rings)for(const e of s){(0,o.hZ)(c,e[0],e[1],e[2]),(0,o.Re)(c,c,t);const s=(0,o.Om)(n,c),i=(0,o.Om)(r,c);e[0]=s,e[1]=i}e.hasZ=!1,e.spatialReference=m.A.WebMercator}const Q=(0,i.vt)(),H=(0,i.vt)(),ee=(0,i.vt)(),te=(0,i.vt)(),ne=(0,i.vt)(),re=(0,i.vt)()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6160,9125],{69397(e,t,r){r.d(t,{Qf:()=>u,Qh:()=>i,lM:()=>s});var n=r(34275);function s(e){if(!e)return 0;let t=h;for(const r in e)e.hasOwnProperty(r)&&(t+=o(e[r],!1));return t}function i(e){if(!e)return 0;if("number"==typeof e[0])return u(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return c(e,8);let r=a;for(let n=0;n<t;n++)r+=o(e[n]);return r}(e);let t=h;for(const r in e)e.hasOwnProperty(r)&&(t+=o(e[r]));return t}function o(e,t=!0){switch(typeof e){case"object":return t?i(e):h;case"string":return function(e){return 32+e.length}(e);case"number":return 16;case"boolean":return 4;default:return 8}}function u(...e){return e.reduce((e,t)=>e+(t?(0,n.iu)(t)?t.byteLength+f:Array.isArray(t)?c(t,16):0:0),0)}function c(e,t){return a+e.length*t}const h=32,a=16,f=145},15227(e,t,r){r.d(t,{fz:()=>m,g7:()=>f,yv:()=>l});var n=r(76061),s=r(61691),i=r(55537),o=r(15756),u=r(79187),c=r(86870);class h extends s.G{m_inputGeoms;m_spatialReference;m_progressTracker;m_bufferer;m_distances;m_maxDeviation;m_maxVerticesInFullCircle;m_currentUnionEnvelope2D=new u.Envelope2D;m_index=-1;m_dindex=-1;constructor(e,t,r,n,s,i,o){super(),this.m_progressTracker=o,this.m_bufferer=new c.B(o),this.m_inputGeoms=e,this.m_spatialReference=t,this.m_distances=r,this.m_maxDeviation=n,this.m_maxVerticesInFullCircle=s}tock(){return!0}getRank(){return 1}next(){{let e;for(;e=this.m_inputGeoms.next();)return(0,i.c)(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.m_dindex+1<this.m_distances.length&&this.m_dindex++,this.buffer(e,this.m_distances[this.m_dindex]);return null}}getGeometryID(){return this.m_index}buffer(e,t){return this.m_bufferer.buffer(e,t,this.m_spatialReference,0,0,4,this.m_maxDeviation,this.m_maxVerticesInFullCircle)}}const a=new class{getOperatorType(){return 10004}supportsCurves(){return!0}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,r,n,s){return this.executeManyEx(e,t,r,Number.NaN,96,n,s)}execute(e,t,r,s){Number.isFinite(r)||(0,i.a)("Invalid distance for buffer operation");const o=new n.S([e]),u=[r],c=this.executeMany(o,t,u,!1,s).next();return c||(0,i.d)("null buffer output"),c}executeManyEx(e,t,r,n,s,u,c){if(void 0!==r.find(e=>!Number.isFinite(e))&&(0,i.a)("Invalid distance for buffer operation"),u){const i=new h(e,t,r,n,s,!1,c);return(new o.t).executeMany(i,t,c,2)}return new h(e,t,r,n,s,!1,c)}};function f(e,t,r){return a.execute(e,t,r,null)}function l(e,t,r,s,i,o){const u=a.executeManyEx(new n.S(e),t,r,s,i,o,null);return Array.from(u)}function m(){return a.supportsCurves()}},46160(e,t,r){r.r(t),r.d(t,{execute:()=>u,executeMany:()=>c});var n=r(4576),s=r(86211),i=r(15227),o=r(83299);function u(e,t,r={}){const{unit:n}=r,u=(0,o.getSpatialReference)(e);n&&u&&(t=(0,s.UW)(t,n,u));const c=(0,o.fromGeometry)(e),h=c.getSpatialReference();return(0,o.toGeometry)((0,i.g7)(c.getGeometry(),h,t),h)}function c(e,t,r={}){let{maxDeviation:u=NaN,maxVerticesInFullCircle:c=96,union:h=!1,unit:a}=r;const f=(0,o.getSpatialReference)(e);a&&f&&(t=t.map(e=>(0,s.UW)(e,a,f)),u&&(u=(0,s.UW)(u,a,f)));const[l,m]=(0,o.fromGeometries)(e);return(0,i.yv)(l,m,t,u,c,h).map(e=>(0,o.toGeometry)(e,m)).filter(n.Ru)}},92722(e,t,r){r.d(t,{A:()=>s});var n=r(69397);class s{constructor(e=[],t=[],r=!1,n=!1){this.lengths=e??[],this.coords=t??[],this.hasZ=r,this.hasM=n}static fromJSON({lengths:e,coords:t,hasZ:r,hasM:n}){return new s(e,t,r||!1,n||!1)}static fromRect([e,t,r,n]){const i=r-e,o=n-t;return new s([5],[e,t,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((e,t)=>e+t,0)}get usedMemory(){return 64+(0,n.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let e=0,t=0;for(const r of this.lengths){if(r<3)continue;const{stride:n}=this;let s=this.coords[n*t],i=this.coords[n*t+1];for(let o=1;o<r;o+=1){const r=n*(t+o),u=this.coords[r],c=this.coords[r+1];e+=-.5*(u-s)*(c+i),s=u,i=c}t+=r}return e}forEachVertex(e){let t=0;if(this.isPoint)return e(this.coords[0],this.coords[1]);const{stride:r}=this;for(const n of this.lengths){for(let s=0;s<n;s++){const n=r*(t+s);e(this.coords[n],this.coords[n+1])}t+=n}}deltaDecode(){const e=this.clone(),{coords:t,lengths:r}=e;let n=0;const{stride:s}=this;for(const e of r){for(let r=1;r<e;r++){const e=s*(n+r);t[e]+=t[e-s],t[e+1]+=t[e+1-s]}n+=e}return e}clone(e){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const t=Array.from(this.lengths),{stride:r,size:n}=this,i=this.coords.slice(0,n*r);return e?(e.set(i),new s(t,e,this.hasZ,this.hasM)):new s(t,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:e,size:t}=this;if(2===e)return this;const r=new Array(t*e);for(let t=0,n=0;t<r.length;t+=e)r[n++]=this.coords[t],r[n++]=this.coords[t+1];return new s(this.lengths,r,!1,!1)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5141],{5141(e,t,l){l.r(t),l.d(t,{build:()=>s.b}),l(32680),l(34711),l(76597),l(24321),l(2585),l(43519),l(96336),l(39014),l(53466),l(92700),l(72824),l(35640),l(40261),l(77695),l(
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5141],{5141(e,t,l){l.r(t),l.d(t,{build:()=>s.b}),l(32680),l(34711),l(76597),l(24321),l(2585),l(43519),l(96336),l(39014),l(53466),l(92700),l(72824),l(35640),l(40261),l(77695),l(72233),l(32971),l(98619),l(62602),l(22393),l(59469),l(32482),l(51406),l(43259),l(58614),l(27950),l(77949),l(33079),l(71988),l(20304),l(31821),l(63761),l(27832),l(43616),l(47630),l(14113),l(49788);var s=l(28491)}}]);
|