@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
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[564],{60999(e,t,i){i.d(t,{DZ:()=>h,Ke:()=>y,Tj:()=>p,UT:()=>m,aD:()=>g,jJ:()=>u});var s=i(5482),r=i(69622),l=i(97768),o=i(17676),n=i(10107),a=i(64108);function u(e,t,i){return(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))}async function p(e,t,i){return(await(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))).map(e=>e.value)}function c(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function y(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return c(await e)}catch(e){return d(e)}}async function h(e){try{return c(await e)}catch(e){return(0,o.QP)(e),d(e)}}function m(e,t){return new f(e,t)}let f=class extends r.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,l.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:i}=this._abortController;this.promise=e(i),this.promise.then(e=>{this._result=c(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,l.xt)(this._abortHandle),this._abortController=null}};(0,s.Cg)([(0,n.MZ)()],f.prototype,"value",null),(0,s.Cg)([(0,n.MZ)()],f.prototype,"error",null),(0,s.Cg)([(0,n.MZ)()],f.prototype,"finished",null),(0,s.Cg)([(0,n.MZ)()],f.prototype,"promise",void 0),(0,s.Cg)([(0,n.MZ)()],f.prototype,"_result",void 0),f=(0,s.Cg)([(0,a.$)("esri.core.asyncUtils.ReactiveTask")],f);class g{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,s.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,s.hk)(t)}}}},92438(e,t,i){i.d(t,{A:()=>u});var s=i(5482),r=i(66552),l=i(25482),o=i(91429),n=i(30943);const a=new r.J({simple:"simple",uniqueValue:"unique-value",classBreaks:"class-breaks",heatmap:"heatmap",dotDensity:"dot-density",dictionary:"dictionary",pieChart:"pie-chart"},{ignoreUnknown:!0});let u=class extends l.o{constructor(e){super(e),this.authoringInfo=null,this.type=null}async getRequiredFields(e){if(!this.collectRequiredFields)return[];const t=new Set;return await this.collectRequiredFields(t,e),Array.from(t).sort()}getSymbol(e,t){}async getSymbolAsync(e,t){}get symbols(){return[]}get arcadeRequired(){return!1}};(0,s.Cg)([(0,o.MZ)({type:n.A,json:{write:!0}})],u.prototype,"authoringInfo",void 0),(0,s.Cg)([(0,o.MZ)({type:a.apiValues,readOnly:!0,json:{type:a.jsonValues,read:!1,write:{writer:a.write,ignoreOrigin:!0,isRequired:!0}}})],u.prototype,"type",void 0),u=(0,s.Cg)([(0,o.$K)("esri.renderers.Renderer")],u)},93618(e,t,i){i.d(t,{A:()=>T});var s=i(5482),r=i(4718),l=i(53966),o=i(93637),n=i(36708),a=i(91429),u=i(6797),p=i(56507),c=i(30524),d=i(20655),y=i(92438),h=i(63988),m=i(49849),f=i(20061),g=i(80911),b=i(69540),v=i(25482);let w=class extends((0,b.OU)(v.o)){constructor(e){super(e),this.value=null,this.value2=null,this.value3=null}};(0,s.Cg)([(0,a.MZ)(m.Ug)],w.prototype,"value",void 0),(0,s.Cg)([(0,a.MZ)(m.Ug)],w.prototype,"value2",void 0),(0,s.Cg)([(0,a.MZ)(m.Ug)],w.prototype,"value3",void 0),w=(0,s.Cg)([(0,a.$K)("esri.renderers.support.UniqueValue")],w);var S=i(4576),V=i(40863);let C=class extends((0,b.OU)(v.o)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.alternateSymbols=null}get values(){return this._get("values")}set values(e){if(null!=e){const t=typeof(e=Array.isArray(e)?e:[e])[0];e="string"===t||"number"===t?e.map(e=>new w({value:e})):"object"===t?e[0]instanceof w?e:e.map(e=>new w(e)):null}this._set("values",e)}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],C.prototype,"description",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],C.prototype,"label",void 0),(0,s.Cg)([(0,a.MZ)(m.z4)],C.prototype,"symbol",void 0),(0,s.Cg)([(0,a.MZ)({type:[V.A],json:{write:!0,origins:{"web-scene":{write:!1}}}})],C.prototype,"alternateSymbols",void 0),(0,s.Cg)([(0,a.MZ)({json:{type:[[String]],read:{reader:e=>e?e.map(e=>new w({value:e[0],value2:e[1],value3:e[2]})):null},write:{writer:(e,t)=>{const i=[];for(const t of e){const e=[t.value,t.value2,t.value3].filter(S.Ru).map(e=>e.toString());i.push(e)}t.values=i}}}})],C.prototype,"values",null),C=(0,s.Cg)([(0,a.$K)("esri.renderers.support.UniqueValueClass")],C);let M=class extends((0,b.OU)(v.o)){constructor(e){super(e),this.heading=null,this.classes=null}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],M.prototype,"heading",void 0),(0,s.Cg)([(0,a.MZ)({type:[C],json:{write:{isRequired:!0}}})],M.prototype,"classes",void 0),M=(0,s.Cg)([(0,a.$K)("esri.renderers.support.UniqueValueGroup")],M);var x,_=i(94833),z=i(43668),A=i(97159),q=i(29169),j=i(85594),I=i(33910),Z=i(59923),F=i(93223),U=i(43937),E=i(36005);const D="uvInfos-watcher",R="uvGroups-watcher",O=(0,p.dp)(_.A);function k(e){return null!=e&&""!==e&&("string"!=typeof e||""!==e.trim()&&"<null>"!==e.toLowerCase())||(e=null),e+""}let T=x=class extends((0,h.h)(y.A)){constructor(e){super(e),this._valueInfoMap={},this._isDefaultSymbolDerived=!1,this._isInfosSource=null,this.type="unique-value",this.backgroundFillSymbol=null,this.orderByClassesEnabled=!1,this.valueExpressionTitle=null,this.legendOptions=null,this.defaultLabel=null,this.portal=null,this.styleOrigin=null,this.diff={uniqueValueInfos(e,t){if(!e&&!t)return;if(!e||!t)return{type:"complete",oldValue:e,newValue:t};let i=!1;const s={type:"collection",added:[],removed:[],changed:[],unchanged:[]};for(let r=0;r<t.length;r++){const l=e.find(e=>e.value===t[r].value);l?(0,u.Ui)(l,t[r])?(s.changed.push({type:"complete",oldValue:l,newValue:t[r]}),i=!0):s.unchanged.push({oldValue:l,newValue:t[r]}):(s.added.push(t[r]),i=!0)}for(let r=0;r<e.length;r++)t.find(t=>t.value===e[r].value)||(s.removed.push(e[r]),i=!0);return i?s:void 0}},this._set("uniqueValueInfos",[]),this._set("uniqueValueGroups",[])}get _cache(){return{compiledFunc:null}}set field(e){this._set("field",e),this._updateFieldDelimiter(),this._updateUniqueValues()}castField(e){return null==e||"function"==typeof e?e:(0,p.GX)(e)}writeField(e,t,i,s){"string"==typeof e?t[i]=e:s?.messages?(0,Z.qt)(s,"UniqueValueRenderer.field","set to a function cannot be written to JSON"):l.A.getLogger(this).error(".field: cannot write field to JSON since it's not a string value")}set field2(e){this._set("field2",e),this._updateFieldDelimiter(),this._updateUniqueValues()}set field3(e){this._set("field3",e),this._updateUniqueValues()}set valueExpression(e){this._set("valueExpression",e),this._updateUniqueValues()}set defaultSymbol(e){this._isDefaultSymbolDerived=!1,this._set("defaultSymbol",e)}set fieldDelimiter(e){this._set("fieldDelimiter",e),this._updateUniqueValues()}readPortal(e,t,i){return i.portal||d.A.getDefault()}readStyleOrigin(e,t,i){if(t.styleName)return Object.freeze({styleName:t.styleName});if(t.styleUrl){const e=(0,A.f)(t.styleUrl,i);return Object.freeze({styleUrl:e})}}writeStyleOrigin(e,t,i,s){e.styleName?t.styleName=e.styleName:e.styleUrl&&(t.styleUrl=(0,A.t)(e.styleUrl,s))}set uniqueValueGroups(e){this.styleOrigin?l.A.getLogger(this).error("#uniqueValueGroups=","Cannot modify unique value groups of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueGroups",e),this._updateInfosFromGroups(),this._isInfosSource=!1,this._watchUniqueValueGroups())}set uniqueValueInfos(e){this.styleOrigin?l.A.getLogger(this).error("#uniqueValueInfos=","Cannot modify unique value infos of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos())}addUniqueValueInfo(e,t){if(this.styleOrigin)return void l.A.getLogger(this).error("#addUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");let i;i="object"==typeof e?O(e):new _.A({value:e,symbol:(0,I.dp)(t)}),this.uniqueValueInfos?.push(i),this._valueInfoMap[k(i.value)]=i,this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}removeUniqueValueInfo(e){if(this.styleOrigin)return void l.A.getLogger(this).error("#removeUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");const t=this.uniqueValueInfos;if(t)for(let i=0;i<t.length;i++){const s=t[i];if(String(s.value)===String(e)){delete this._valueInfoMap[k(e)],t.splice(i,1);break}}this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}async getUniqueValueInfo(e,t){let i=t;return this.valueExpression&&null==t?.arcade&&(i={...i,arcade:await(0,z.l)()}),this._getUniqueValueInfo(e,i)}getSymbol(e,t){if(this.valueExpression&&null==t?.arcade)return void l.A.getLogger(this).error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");const i=this._getUniqueValueInfo(e,t);return(0,g.c)(i,t?.scale)??this.defaultSymbol}async getSymbolAsync(e,t){let i=t;if(this.valueExpression&&null==i?.arcade){const e=await(0,z.l)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),i={...i,arcade:e}}const s=this._getUniqueValueInfo(e,i);return(0,g.c)(s,i?.scale)??this.defaultSymbol}get symbols(){const e=[];if(this._isInfosSource)for(const t of this.uniqueValueInfos??[])t.symbol&&e.push(t.symbol),e.push(...t.alternateSymbols??[]);else for(const t of this.uniqueValueGroups??[])for(const i of t.classes??[])i.symbol&&e.push(i.symbol),e.push(...i.alternateSymbols??[]);return this.defaultSymbol&&e.push(this.defaultSymbol),e}clone(){const e=new x({field:this.field,field2:this.field2,field3:this.field3,defaultLabel:this.defaultLabel,defaultSymbol:(0,r.o8)(this.defaultSymbol),orderByClassesEnabled:this.orderByClassesEnabled,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,fieldDelimiter:this.fieldDelimiter,visualVariables:(0,r.o8)(this.visualVariables),legendOptions:(0,r.o8)(this.legendOptions),authoringInfo:(0,r.o8)(this.authoringInfo),backgroundFillSymbol:(0,r.o8)(this.backgroundFillSymbol)});this._isDefaultSymbolDerived&&(e._isDefaultSymbolDerived=!0),e._set("portal",this.portal);const t=(0,r.o8)(this.uniqueValueInfos),i=(0,r.o8)(this.uniqueValueGroups);return this.styleOrigin&&(e._set("styleOrigin",Object.freeze((0,r.o8)(this.styleOrigin))),Object.freeze(t),Object.freeze(i)),e._set("uniqueValueInfos",t),e._updateValueInfoMap(),e._set("uniqueValueGroups",i),e._isInfosSource=this._isInfosSource,e._watchUniqueValueInfosAndGroups(),e}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}async collectRequiredFields(e,t){const i=[this.collectVVRequiredFields(e,t),this.collectSymbolFields(e,t)];await Promise.all(i)}async collectSymbolFields(e,t){const i=[...this.symbols.map(i=>i.collectRequiredFields(e,t)),(0,c.Dx)(e,t,null,this.valueExpression)];(0,c.rq)(e,t,this.field),(0,c.rq)(e,t,this.field2),(0,c.rq)(e,t,this.field3),await Promise.all(i)}populateFromStyle(){return(0,j.cF)(this.styleOrigin,{portal:this.portal}).then(e=>{const t=[];return this._valueInfoMap={},e?.data&&Array.isArray(e.data.items)&&e.data.items.forEach(i=>{const s=new q.A({styleUrl:e.styleUrl,styleName:e.styleName,portal:this.portal,name:i.name});this.defaultSymbol||i.name!==e.data.defaultItem||(this.defaultSymbol=s,this._isDefaultSymbolDerived=!0);const r=new _.A({value:i.name,symbol:s});t.push(r),this._valueInfoMap[k(i.name)]=r}),this._set("uniqueValueInfos",Object.freeze(t)),this._updateGroupsFromInfos(!0),this._isInfosSource=null,this._watchUniqueValueInfos(),!this.defaultSymbol&&this.uniqueValueInfos?.length&&(this.defaultSymbol=this.uniqueValueInfos[0].symbol,this._isDefaultSymbolDerived=!0),this})}_updateFieldDelimiter(){this.field&&this.field2&&!this.fieldDelimiter&&this._set("fieldDelimiter",",")}_updateUniqueValues(){null!=this._isInfosSource&&(this._isInfosSource?this._updateGroupsFromInfos():this._updateInfosFromGroups())}_updateValueInfoMap(){this._valueInfoMap={};const{uniqueValueInfos:e}=this;if(e)for(const t of e)this._valueInfoMap[k(t.value)]=t}_watchUniqueValueInfosAndGroups(){this._watchUniqueValueInfos(),this._watchUniqueValueGroups()}_watchUniqueValueInfos(){this.removeHandles(D);const{uniqueValueInfos:e}=this;if(e){const t=[];for(const i of e)t.push((0,n.wB)(()=>({symbol:i.symbol,alternateSymbols:i.alternateSymbols,value:i.value,label:i.label,description:i.description}),(e,t)=>{e!==t&&(this._updateGroupsFromInfos(),this._isInfosSource=!0)},{sync:!0}));this.addHandles(t,D)}}_watchUniqueValueGroups(){this.removeHandles(R);const{uniqueValueGroups:e}=this;if(e){const t=[];for(const i of e){t.push((0,n.wB)(()=>({classes:i.classes}),(e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)},{sync:!0}));for(const e of i.classes??[])t.push((0,n.wB)(()=>({symbol:e.symbol,alternateSymbols:e.alternateSymbols,values:e.values,label:e.label,description:e.description}),(e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)},{sync:!0}))}this.addHandles(t,R)}}_updateInfosFromGroups(){if(!this.uniqueValueGroups)return this._set("uniqueValueInfos",null),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const e=[],{field:t,field2:i,field3:s,fieldDelimiter:r,uniqueValueGroups:l,valueExpression:o}=this;if(!t&&!o)return this._set("uniqueValueInfos",e),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const n=!(!t||!i);for(const t of l)for(const l of t.classes??[]){const{alternateSymbols:t,symbol:o,label:a,values:u,description:p}=l;for(const l of u??[]){const{value:u,value2:c,value3:d}=l,y=[u];i&&y.push(c),s&&y.push(d);const h=n?y.join(r||""):y[0]??void 0;e.push(new _.A({alternateSymbols:t,symbol:o,label:a,value:h,description:p}))}}this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._watchUniqueValueInfos()}_updateGroupsFromInfos(e=!1){if(!this.uniqueValueInfos)return this._set("uniqueValueGroups",null),void this._watchUniqueValueGroups();const{field:t,field2:i,valueExpression:s,fieldDelimiter:r,uniqueValueInfos:l}=this;if(!t&&!s||!l.length)return this._set("uniqueValueGroups",[]),void this._watchUniqueValueGroups();const o=!(!t||!i),n=l.map(e=>{const{alternateSymbols:t,symbol:i,label:s,value:l,description:n}=e,[a,u,p]=o?l?.toString()?.split(r||"")||[]:[l];return new C({alternateSymbols:t,symbol:i,label:s,description:n,values:[new w({value:a,value2:u,value3:p})]})}),a=[new M({classes:n})];e&&Object.freeze(a),this._set("uniqueValueGroups",a),this._watchUniqueValueGroups()}_getUniqueValueInfo(e,t){return this.valueExpression?this._getUnqiueValueInfoForExpression(e,t):this._getUnqiueValueInfoForFields(e)}_getUnqiueValueInfoForExpression(e,t){const{viewingMode:i,scale:s,spatialReference:r,arcade:l,timeZone:o}=t??{};let n=this._cache.compiledFunc;const a=l.arcadeUtils;if(!n){const e=a.createSyntaxTree(this.valueExpression);n=a.createFunction(e),this._cache.compiledFunc=n}const u=a.executeFunction(n,a.createExecContext(e,a.getViewInfo({viewingMode:i,scale:s,spatialReference:r}),o));return this._valueInfoMap[k(u)]}_getUnqiueValueInfoForFields(e){const t=this.field,i=e.attributes;let s;if(this.field2){const e=this.field2,r=this.field3,l=[];t&&l.push(i[t]),e&&l.push(i[e]),r&&l.push(i[r]),s=l.join(this.fieldDelimiter||"")}else t&&(s=i[t]);return this._valueInfoMap[k(s)]}static fromPortalStyle(e,t){const i=new x(t?.properties);i._set("styleOrigin",Object.freeze({styleName:e})),i._set("portal",t?.portal||d.A.getDefault());const s=i.populateFromStyle();return s.catch(t=>{l.A.getLogger(this.prototype).error(`#fromPortalStyle('${e}'[, ...])`,"Failed to create unique value renderer from style name",t)}),s}static fromStyleUrl(e,t){const i=new x(t?.properties);i._set("styleOrigin",Object.freeze({styleUrl:e}));const s=i.populateFromStyle();return s.catch(t=>{l.A.getLogger(this.prototype).error(`#fromStyleUrl('${e}'[, ...])`,"Failed to create unique value renderer from style URL",t)}),s}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],T.prototype,"_cache",null),(0,s.Cg)([(0,F.e)({uniqueValue:"unique-value"})],T.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)(m.As)],T.prototype,"backgroundFillSymbol",void 0),(0,s.Cg)([(0,a.MZ)({value:null,json:{type:String,read:{source:"field1"},write:{target:"field1"}}})],T.prototype,"field",null),(0,s.Cg)([(0,a.wg)("field")],T.prototype,"castField",null),(0,s.Cg)([(0,U.K)("field")],T.prototype,"writeField",null),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],T.prototype,"field2",null),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],T.prototype,"field3",null),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{name:"drawInClassOrder",default:!1,write:!0,origins:{"web-scene":{write:!1}}}})],T.prototype,"orderByClassesEnabled",void 0),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],T.prototype,"valueExpression",null),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"valueExpressionTitle",void 0),(0,s.Cg)([(0,a.MZ)({type:f.A,json:{write:!0}})],T.prototype,"legendOptions",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"defaultLabel",void 0),(0,s.Cg)([(0,a.MZ)((0,o.$N)({...m.z4},{json:{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}},origins:{"web-scene":{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}}}}}}))],T.prototype,"defaultSymbol",null),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],T.prototype,"fieldDelimiter",null),(0,s.Cg)([(0,a.MZ)({type:d.A,readOnly:!0})],T.prototype,"portal",void 0),(0,s.Cg)([(0,E.w)("portal",["styleName"])],T.prototype,"readPortal",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:()=>({enabled:!0})}}})],T.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,E.w)("styleOrigin",["styleName","styleUrl"])],T.prototype,"readStyleOrigin",null),(0,s.Cg)([(0,U.K)("styleOrigin",{styleName:{type:String},styleUrl:{type:String}})],T.prototype,"writeStyleOrigin",null),(0,s.Cg)([(0,a.MZ)({type:[M],json:{read:{source:["uniqueValueGroups","uniqueValueInfos"],reader:(e,t,i)=>(t.uniqueValueGroups||function(e){const{field1:t,field2:i,field3:s,fieldDelimiter:r,uniqueValueInfos:l,valueExpression:o}=e,n=!(!t||!i);return[{classes:(l??[]).map(e=>{const{alternateSymbols:l,symbol:a,label:u,value:p,description:c}=e,[d,y,h]=n?p?.toString()?.split(r||"")||[]:[p],m=[];return(t||o)&&m.push(d),i&&m.push(y),s&&m.push(h),{alternateSymbols:l,symbol:a,label:u,values:[m],description:c}})}]}(t)).map(e=>M.fromJSON(e,i))},write:{overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0}}}}})],T.prototype,"uniqueValueGroups",null),(0,s.Cg)([(0,a.MZ)({type:[_.A],json:{read:!1,write:{isRequired:!0,overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0,isRequired:!0}}}}})],T.prototype,"uniqueValueInfos",null),T=x=(0,s.Cg)([(0,a.$K)("esri.renderers.UniqueValueRenderer")],T)},63988(e,t,i){i.d(t,{h:()=>C});var s=i(5482),r=i(91429),l=i(30524),o=i(2024),n=i(62724),a=i(23461),u=i(48940),p=i(2795),c=i(69622),d=i(66552),y=i(53966),h=i(59923);const m={color:o.A,size:u.A,opacity:n.A,rotation:a.A},f=new d.J({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"}),g=/^\[([^\]]+)\]$/i;let b=class extends c.A{constructor(){super(...arguments),this.colorVariables=null,this.opacityVariables=null,this.rotationVariables=null,this.sizeVariables=null}set visualVariables(e){if(this._resetVariables(),e=e?.filter(e=>!!e),e?.length){for(const t of e)switch(t.type){case"color":this.colorVariables.push(t);break;case"opacity":this.opacityVariables.push(t);break;case"rotation":this.rotationVariables.push(t);break;case"size":this.sizeVariables.push(t)}this.sizeVariables.length&&this.sizeVariables.some(e=>!!e.target)&&e.sort((e,t)=>{let i=null;return i=e.target===t.target?0:e.target?1:-1,i});for(let t=0;t<e.length;t++)e[t].index=t;this._set("visualVariables",e)}else this._set("visualVariables",e)}readVariables(e,t,i){const{rotationExpression:s,rotationType:r}=t,l=s?.match(g),o=l?.[1];if(o&&(e||(e=[]),e.push({type:"rotationInfo",rotationType:r,field:o})),e)return e.map(e=>{const t=f.read(e.type),s=m[t];s||(y.A.getLogger(this).warn(`Unknown variable type: ${t}`),(0,h.Yc)(i,"warning","visual-variable",`visualVariable of type '${t}' is not supported`,{definition:e}));const r=new s;return r.read(e,i),r})}writeVariables(e,t){const i=[];for(const s of e){const e=s.toJSON(t);e&&i.push(e)}return i}_resetVariables(){this.colorVariables=[],this.opacityVariables=[],this.rotationVariables=[],this.sizeVariables=[]}};(0,s.Cg)([(0,r.MZ)()],b.prototype,"visualVariables",null),b=(0,s.Cg)([(0,r.$K)("esri.renderers.visualVariables.VisualVariableFactory")],b);var v=i(69309),w=i(36005),S=i(43937);const V={base:p.A,key:"type",typeMap:{opacity:n.A,color:o.A,rotation:a.A,size:u.A}},C=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this._vvFactory=new b}set visualVariables(e){this._vvFactory.visualVariables=e,this._set("visualVariables",this._vvFactory.visualVariables)}readVisualVariables(e,t,i){return this._vvFactory.readVariables(e,t,i)}writeVisualVariables(e,t,i,s){t[i]=this._vvFactory.writeVariables(e,s)}get arcadeRequiredForVisualVariables(){return this.visualVariables?.some(({arcadeRequired:e})=>e)??!1}hasVisualVariables(e,t){return e?this.getVisualVariablesForType(e,t).length>0:this.getVisualVariablesForType("size",t).length>0||this.getVisualVariablesForType("color",t).length>0||this.getVisualVariablesForType("opacity",t).length>0||this.getVisualVariablesForType("rotation",t).length>0}getVisualVariablesForType(e,t){return this.visualVariables?.filter(i=>i.type===e&&("string"==typeof t?i.target===t:!1!==t||!i.target))??[]}async collectVVRequiredFields(e,t){let i=[];this.visualVariables&&(i=i.concat(this.visualVariables));for(const s of i)s&&(s.field&&(0,l.rq)(e,t,s.field),s.normalizationField&&(0,l.rq)(e,t,s.normalizationField),s.valueExpression&&(M(s.valueExpression,e,t)||await(0,l.Dx)(e,t,null,s.valueExpression)))}};return(0,s.Cg)([(0,r.MZ)({types:[V],value:null,json:{write:!0}})],i.prototype,"visualVariables",null),(0,s.Cg)([(0,w.w)("visualVariables",["visualVariables","rotationType","rotationExpression"])],i.prototype,"readVisualVariables",null),(0,s.Cg)([(0,S.K)("visualVariables")],i.prototype,"writeVisualVariables",null),i=(0,s.Cg)([(0,r.$K)("esri.renderers.mixins.VisualVariablesMixin")],i),i};function M(e,t,i){const s=(0,v.D)(e);return null!=s&&((0,l.rq)(t,i,s),!0)}},30943(e,t,i){i.d(t,{A:()=>U});var s,r=i(5482),l=i(66552),o=i(25482),n=i(4718),a=i(91429),u=i(56507);let p=s=class extends o.o{constructor(e){super(e),this.minValue=0,this.maxValue=0}clone(){return new s({minValue:this.minValue,maxValue:this.maxValue})}};(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],p.prototype,"minValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],p.prototype,"maxValue",void 0),p=s=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoClassBreakInfo")],p);const c=p;var d;let y=d=class extends o.o{constructor(e){super(e),this.field="",this.normalizationField="",this.label="",this.classBreakInfos=new Array}clone(){return new d({field:this.field,normalizationField:this.normalizationField,label:this.label,classBreakInfos:(0,n.o8)(this.classBreakInfos)})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"field",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"normalizationField",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"label",void 0),(0,r.Cg)([(0,a.MZ)({type:[c],json:{write:!0}})],y.prototype,"classBreakInfos",void 0),y=d=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoFieldInfo")],y);const h=y;var m,f=i(79901);let g=m=class extends o.o{constructor(e){super(e),this.label=null,this.size=null,this.value=null}clone(){return new m({label:this.label,value:this.value,size:this.size})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],g.prototype,"label",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"size",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"value",void 0),g=m=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoSizeStop")],g);const b=g;var v;const w=new l.J({percentTotal:"percent-of-total",ratio:"ratio",percent:"percent"}),S=new l.J({sizeInfo:"size",colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation"}),V={key:e=>"number"==typeof e?"number":"string",typeMap:{number:Number,string:String},base:null},C=["high-to-low","above-and-below","centered-on","extremes"],M=[...new Set(["high-to-low","above-and-below","centered-on","extremes","above","below","high-to-low","above-and-below","above","below","reference-size","spike"])],x=["seconds","minutes","hours","days","months","years"];let _=v=class extends o.o{constructor(e){super(e),this.dataSeriesName=null,this.endTime=null,this.field=null,this.maxSliderValue=null,this.minSliderValue=null,this.startTime=null,this.type=null,this.units=null}castEndTime(e){return"string"==typeof e||"number"==typeof e?e:null}get normalizationField(){return"reference-size"===this.theme||"spike"===this.theme?this._get("normalizationField"):null}set normalizationField(e){this._set("normalizationField",e)}get referenceSizeScale(){return"reference-size"===this.theme?this._get("referenceSizeScale"):null}set referenceSizeScale(e){this._set("referenceSizeScale",e)}get referenceSizeSymbolStyle(){return"reference-size"===this.theme?this._get("referenceSizeSymbolStyle"):null}set referenceSizeSymbolStyle(e){this._set("referenceSizeSymbolStyle",e)}get spikeSymbolStyle(){return"spike"===this.theme?this._get("spikeSymbolStyle"):null}set spikeSymbolStyle(e){this._set("spikeSymbolStyle",e)}castStartTime(e){return"string"==typeof e||"number"==typeof e?e:null}get sizeStops(){return"reference-size"===this.theme||"spike"===this.theme?this._get("sizeStops"):null}set sizeStops(e){this._set("sizeStops",e)}get style(){return"color"===this.type?this._get("style"):null}set style(e){this._set("style",e)}get theme(){return"color"===this.type||"size"===this.type?this._get("theme")||"high-to-low":null}set theme(e){this._set("theme",e)}clone(){return new v({dataSeriesName:this.dataSeriesName,endTime:this.endTime,field:this.field,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,normalizationField:this.normalizationField,referenceSizeScale:this.referenceSizeScale,referenceSizeSymbolStyle:this.referenceSizeSymbolStyle,spikeSymbolStyle:this.spikeSymbolStyle,sizeStops:(0,n.o8)(this.sizeStops),startTime:this.startTime,style:this.style,theme:this.theme,type:this.type,units:this.units})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],_.prototype,"dataSeriesName",void 0),(0,r.Cg)([(0,a.MZ)({types:V,json:{write:!0}})],_.prototype,"endTime",void 0),(0,r.Cg)([(0,f.w)("endTime")],_.prototype,"castEndTime",null),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"field",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],_.prototype,"maxSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],_.prototype,"minSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"normalizationField",null),(0,r.Cg)([(0,a.MZ)({type:Number,value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"referenceSizeScale",null),(0,r.Cg)([(0,a.MZ)({type:["circle","diamond","hexagon-flat","hexagon-pointy","square"],value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"referenceSizeSymbolStyle",null),(0,r.Cg)([(0,a.MZ)({type:["triangle-closed-outline","triangle-gradient-fill-closed","triangle-gradient-fill-closed-outline","triangle-gradient-fill-open","triangle-gradient-fill-open-outline","triangle-open-outline","triangle-solid-fill-closed","triangle-solid-fill-closed-outline","triangle-solid-fill-open","triangle-solid-fill-open-outline"],value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"spikeSymbolStyle",null),(0,r.Cg)([(0,a.MZ)({types:V,json:{write:!0}})],_.prototype,"startTime",void 0),(0,r.Cg)([(0,f.w)("startTime")],_.prototype,"castStartTime",null),(0,r.Cg)([(0,a.MZ)({type:[b],json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"sizeStops",null),(0,r.Cg)([(0,a.MZ)({type:w.apiValues,value:null,json:{type:w.jsonValues,read:w.read,write:w.write}})],_.prototype,"style",null),(0,r.Cg)([(0,a.MZ)({type:M,value:null,json:{type:M,origins:{"web-scene":{type:C,write:{writer:(e,t)=>{C.includes(e)&&(t.theme=e)}}}},write:!0}})],_.prototype,"theme",null),(0,r.Cg)([(0,a.MZ)({type:S.apiValues,json:{type:S.jsonValues,read:S.read,write:S.write}})],_.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)({type:x,json:{type:x,write:!0}})],_.prototype,"units",void 0),_=v=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoVisualVariable")],_);const z=_;var A,q=i(95349),j=i(36005);const I=new l.J({esriClassifyDefinedInterval:"defined-interval",esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation"}),Z=new l.J({classedSize:"class-breaks-size",classedColor:"class-breaks-color",univariateColorSize:"univariate-color-size",relationship:"relationship",predominance:"predominance",dotDensity:"dot-density",flow:"flow"}),F=["inches","feet","yards","miles","nautical-miles","millimeters","centimeters","decimeters","meters","kilometers"];let U=A=class extends o.o{constructor(e){super(e),this.colorRamp=null,this.dataSeriesName=null,this.fadeRatio=null,this.isAutoGenerated=!1,this.lengthUnit=null,this.maxSliderValue=null,this.minSliderValue=null,this.visualVariables=null}get classificationMethod(){const e=this._get("classificationMethod"),t=this.type;return t&&"relationship"!==t?"class-breaks-size"===t||"class-breaks-color"===t?e||"manual":null:e}set classificationMethod(e){this._set("classificationMethod",e)}readColorRamp(e){return e?(0,q.r)(e):void 0}get fields(){return this.type&&"predominance"!==this.type?null:this._get("fields")}set fields(e){this._set("fields",e)}get field1(){return this.type&&"relationship"!==this.type?null:this._get("field1")}set field1(e){this._set("field1",e)}get field2(){return this.type&&"relationship"!==this.type?null:this._get("field2")}set field2(e){this._set("field2",e)}get flowTheme(){return"flow"===this.type?this._get("flowTheme"):null}set flowTheme(e){this._set("flowTheme",e)}get focus(){return this.type&&"relationship"!==this.type?null:this._get("focus")}set focus(e){this._set("focus",e)}get numClasses(){return this.type&&"relationship"!==this.type?null:this._get("numClasses")}set numClasses(e){this._set("numClasses",e)}get statistics(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("statistics"):null}set statistics(e){this._set("statistics",e)}get standardDeviationInterval(){const e=this.type;return e&&"relationship"!==e&&"class-breaks-size"!==e&&"class-breaks-color"!==e||this.classificationMethod&&"standard-deviation"!==this.classificationMethod?null:this._get("standardDeviationInterval")}set standardDeviationInterval(e){this._set("standardDeviationInterval",e)}get type(){return this._get("type")}set type(e){let t=e;"classed-size"===e?t="class-breaks-size":"classed-color"===e&&(t="class-breaks-color"),this._set("type",t)}get univariateSymbolStyle(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("univariateSymbolStyle"):null}set univariateSymbolStyle(e){this._set("univariateSymbolStyle",e)}get univariateTheme(){return"univariate-color-size"===this.type?this._get("univariateTheme"):null}set univariateTheme(e){this._set("univariateTheme",e)}clone(){return new A({classificationMethod:this.classificationMethod,colorRamp:(0,n.o8)(this.colorRamp),dataSeriesName:this.dataSeriesName,fadeRatio:(0,n.o8)(this.fadeRatio),fields:this.fields?.slice(),field1:(0,n.o8)(this.field1),field2:(0,n.o8)(this.field2),isAutoGenerated:this.isAutoGenerated,focus:this.focus,numClasses:this.numClasses,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,lengthUnit:this.lengthUnit,statistics:this.statistics,standardDeviationInterval:this.standardDeviationInterval,type:this.type,visualVariables:this.visualVariables&&this.visualVariables.map(e=>e.clone()),univariateSymbolStyle:this.univariateSymbolStyle,univariateTheme:this.univariateTheme,flowTheme:this.flowTheme})}};(0,r.Cg)([(0,a.MZ)({type:I.apiValues,value:null,json:{type:I.jsonValues,read:I.read,write:I.write,origins:{"web-document":{default:"manual",type:I.jsonValues,read:I.read,write:I.write}}}})],U.prototype,"classificationMethod",null),(0,r.Cg)([(0,a.MZ)({types:q.g,json:{write:!0}})],U.prototype,"colorRamp",void 0),(0,r.Cg)([(0,j.w)("colorRamp")],U.prototype,"readColorRamp",null),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"dataSeriesName",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"fadeRatio",void 0),(0,r.Cg)([(0,a.MZ)({type:[String],value:null,json:{write:!0}})],U.prototype,"fields",null),(0,r.Cg)([(0,a.MZ)({type:h,value:null,json:{write:!0}})],U.prototype,"field1",null),(0,r.Cg)([(0,a.MZ)({type:h,value:null,json:{write:!0}})],U.prototype,"field2",null),(0,r.Cg)([(0,a.MZ)({type:["flow-line","wave-front"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],U.prototype,"flowTheme",null),(0,r.Cg)([(0,a.MZ)({type:["HH","HL","LH","LL"],value:null,json:{write:!0}})],U.prototype,"focus",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1}}}})],U.prototype,"isAutoGenerated",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,value:null,json:{type:u.jz,write:!0}})],U.prototype,"numClasses",null),(0,r.Cg)([(0,a.MZ)({type:F,json:{type:F,read:!1,write:!1,origins:{"web-scene":{read:!0,write:!0}}}})],U.prototype,"lengthUnit",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"maxSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"minSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Object,value:null,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"statistics",null),(0,r.Cg)([(0,a.MZ)({type:[.25,.33,.5,1],value:null,json:{type:[.25,.33,.5,1],write:!0}})],U.prototype,"standardDeviationInterval",null),(0,r.Cg)([(0,a.MZ)({type:Z.apiValues,value:null,json:{type:Z.jsonValues,read:Z.read,write:Z.write}})],U.prototype,"type",null),(0,r.Cg)([(0,a.MZ)({type:[z],json:{write:!0}})],U.prototype,"visualVariables",void 0),(0,r.Cg)([(0,a.MZ)({type:["caret","circle-caret","arrow","circle-arrow","plus-minus","circle-plus-minus","square","circle","triangle","happy-sad","thumb","custom"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],U.prototype,"univariateSymbolStyle",null),(0,r.Cg)([(0,a.MZ)({type:["high-to-low","above-and-below","above","below"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],U.prototype,"univariateTheme",null),U=A=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfo")],U)},20061(e,t,i){i.d(t,{A:()=>y});var s,r=i(5482),l=i(69540),o=i(66552),n=i(25482),a=i(91429),u=i(56507),p=i(93223);const c=(0,o.O)()({ascendingValues:"ascending-values",descendingValues:"descending-values"});let d=s=class extends((0,l.OU)(n.o)){static from(e){return(0,u.PZ)(s,e)}constructor(e){super(e),this.title=null,this.order=null}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"title",void 0),(0,r.Cg)([(0,p.e)(c)],d.prototype,"order",void 0),d=s=(0,r.Cg)([(0,a.$K)("esri.renderers.support.RendererLegendOptions")],d);const y=d},94833(e,t,i){i.d(t,{A:()=>u});var s,r=i(5482),l=i(25482),o=i(91429),n=i(49849),a=i(40863);let u=s=class extends l.o{constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.value=null}get alternateSymbols(){return this._get("alternateSymbols")??null}set alternateSymbols(e){e?this._set("alternateSymbols",e.map(e=>e instanceof a.A?e:(delete e.type,new a.A(e)))):this._set("alternateSymbols",null)}clone(){return new s({alternateSymbols:this.alternateSymbols?.map(e=>e.clone()),value:this.value,description:this.description,label:this.label,symbol:this.symbol?this.symbol.clone():null})}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"description",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,r.Cg)([(0,o.MZ)(n.Wp)],u.prototype,"symbol",void 0),(0,r.Cg)([(0,o.MZ)({type:[a.A],useTypeForAutocast:!1,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"alternateSymbols",null),(0,r.Cg)([(0,o.MZ)(n.Ug)],u.prototype,"value",void 0),u=s=(0,r.Cg)([(0,o.$K)("esri.renderers.support.UniqueValueInfo")],u)},49849(e,t,i){i.d(t,{As:()=>c,Ug:()=>d,Wp:()=>p,z4:()=>u});var s=i(93637),r=i(90360),l=i(65365),o=i(20378),n=i(73838),a=i(33910);const u={types:a.xK,json:{write:{writer:n.M9},origins:{"web-scene":{types:a.On,write:{writer:n.M9},read:{reader:(0,r.C)({types:a.On})}}}}},p=(0,s.$N)({json:{origins:{"web-scene":{write:{isRequired:!0}}}}},u),c={types:{base:o.A,key:"type",typeMap:{"simple-fill":a.Es.typeMap["simple-fill"],"picture-fill":a.Es.typeMap["picture-fill"],"polygon-3d":a.Es.typeMap["polygon-3d"],cim:a.Es.typeMap.cim}},json:{write:{writer:n.M9},origins:{"web-scene":{type:l.A,write:{writer:n.M9}}}}},d={cast:e=>null==e||"string"==typeof e||"number"==typeof e?e:`${e}`,json:{type:String,write:{writer:(e,t)=>{t.value=e?.toString()}}}}},80911(e,t,i){function s(e,t){if(null==e)return null;if(null==t)return e.symbol;if(null!=e.symbol&&r(e.symbol,t))return e.symbol;for(const i of e.alternateSymbols??[])if(r(i,t))return i;return null}function r(e,t){if("cim"!==e.type)return!0;const i=e.data?.minScale??0,s=e.data?.maxScale??0;return(!s||t>s)&&(!i||t<=i)}i.d(t,{c:()=>s})},2024(e,t,i){i.d(t,{A:()=>a});var s,r=i(5482),l=i(91429),o=i(2795),n=i(72500);let a=s=class extends o.A{constructor(e){super(e),this.type="color",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value),this._set("stops",e)}clone(){return new s({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map(e=>e.clone()),legendOptions:this.legendOptions?.clone()})}_interpolateData(){return this.stops&&this.stops.map(e=>e.value||0)}};(0,r.Cg)([(0,l.MZ)({readOnly:!0})],a.prototype,"cache",null),(0,r.Cg)([(0,l.MZ)({type:["color"],json:{type:["colorInfo"]}})],a.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],a.prototype,"normalizationField",void 0),(0,r.Cg)([(0,l.MZ)({type:[n.A],json:{write:!0}})],a.prototype,"stops",null),a=s=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.ColorVariable")],a)},62724(e,t,i){i.d(t,{A:()=>m});var s,r=i(5482),l=i(91429),o=i(2795),n=i(25482),a=i(56507),u=i(78553),p=i(36005),c=i(43937);let d=s=class extends n.o{constructor(e){super(e),this.label=null,this.opacity=null,this.value=null}readOpacity(e,t){return(0,u.D)(t.transparency)}writeOpacity(e,t,i){t[i]=(0,u.p)(e)}clone(){return new s({label:this.label,opacity:this.opacity,value:this.value})}};(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"label",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{type:a.jz,write:{target:"transparency",isRequired:!0}}})],d.prototype,"opacity",void 0),(0,r.Cg)([(0,p.w)("opacity",["transparency"])],d.prototype,"readOpacity",null),(0,r.Cg)([(0,c.K)("opacity")],d.prototype,"writeOpacity",null),(0,r.Cg)([(0,l.MZ)({type:Number,json:{write:{isRequired:!0}}})],d.prototype,"value",void 0),d=s=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.support.OpacityStop")],d);const y=d;var h;let m=h=class extends o.A{constructor(e){super(e),this.type="opacity",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value),this._set("stops",e)}clone(){return new h({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map(e=>e.clone()),legendOptions:this.legendOptions?.clone()})}_interpolateData(){return this.stops&&this.stops.map(e=>e.value||0)}};(0,r.Cg)([(0,l.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,r.Cg)([(0,l.MZ)({type:["opacity"],json:{type:["transparencyInfo"]}})],m.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],m.prototype,"normalizationField",void 0),(0,r.Cg)([(0,l.MZ)({type:[y],json:{write:!0}})],m.prototype,"stops",null),m=h=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.OpacityVariable")],m)},23461(e,t,i){i.d(t,{A:()=>n});var s,r=i(5482),l=i(91429),o=i(2795);let n=s=class extends o.A{constructor(e){super(e),this.axis=null,this.type="rotation",this.rotationType="geographic"}get cache(){return{hasExpression:!!this.valueExpression,compiledFunc:null}}clone(){return new s({axis:this.axis,rotationType:this.rotationType,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,legendOptions:this.legendOptions?.clone()})}};(0,r.Cg)([(0,l.MZ)({readOnly:!0})],n.prototype,"cache",null),(0,r.Cg)([(0,l.MZ)({type:["heading","tilt","roll"],json:{origins:{"web-scene":{default:"heading",write:!0}}}})],n.prototype,"axis",void 0),(0,r.Cg)([(0,l.MZ)({type:["rotation"],json:{type:["rotationInfo"]}})],n.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:["geographic","arithmetic"],json:{write:!0,origins:{"web-document":{write:!0,default:"geographic"}}}})],n.prototype,"rotationType",void 0),n=s=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.RotationVariable")],n)},48940(e,t,i){i.d(t,{A:()=>x});var s=i(5482),r=i(66552),l=i(53966),o=i(91429),n=i(2795),a=i(90629),u=i(12330),p=i(41078);let c=class extends p.A{constructor(e){super(e),this.customValues=null}};(0,s.Cg)([(0,o.MZ)({type:[Number],json:{write:!0}})],c.prototype,"customValues",void 0),c=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.support.SizeVariableLegendOptions")],c);const d=c;var y,h,m=i(98205),f=i(29266),g=i(59923),b=i(36005),v=i(43937);const w=new r.J({width:"width",depth:"depth",height:"height",widthAndDepth:"width-and-depth",all:"all"}),S=new r.J({unknown:"unknown",inch:"inches",foot:"feet",yard:"yards",mile:"miles","nautical-mile":"nautical-miles",millimeter:"millimeters",centimeter:"centimeters",decimeter:"decimeters",meter:"meters",kilometer:"kilometers"});function V(e){if(null!=e)return"string"==typeof e||"number"==typeof e?function(e){return(0,a.cr)(e)}(e):"size"===e.type?(0,m.of)(e)?e:(delete(e={...e}).type,new x(e)):void 0}function C(e,t,i){if("object"!=typeof e)return e;if("web-scene"===i.origin)return;const s=new x;return s.read(e,i),s}function M(e,t,i,s){"number"!=typeof e?"web-scene"!==s?.origin?t[i]=e.toJSON(s):(0,g.Yc)(s,"error","property",`Size variable '${i}' can only be a number in web scenes.`):t[i]=e}let x=h=class extends n.A{static{y=m.uY}constructor(e){super(e),this[y]=!0,this.axis=null,this.legendOptions=null,this.normalizationField=null,this.scaleBy=null,this.target=null,this.type="size",this.useSymbolValue=null,this.valueExpression=null,this.valueRepresentation=null,this.valueUnit=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null,isScaleDriven:null!=this.valueExpression&&f.RV.test(this.valueExpression)}}set index(e){(0,m.of)(this.maxSize)&&(this.maxSize.index=`visualVariables[${e}].maxSize`),(0,m.of)(this.minSize)&&(this.minSize.index=`visualVariables[${e}].minSize`),this._set("index",e)}get inputValueType(){return(0,m.eh)(this)}set maxDataValue(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set maxDataValue when stops is not null."),e=null),this._set("maxDataValue",e)}get maxSize(){return this._get("maxSize")}set maxSize(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set maxSize when stops is not null."),e=null),this._set("maxSize",V(e))}readMaxSize(e,t,i){return C(e,0,i)}writeMaxSize(e,t,i,s){return M(e,t,i,s)}set minDataValue(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set minDataValue when stops is not null."),e=null),this._set("minDataValue",e)}get minSize(){return this._get("minSize")}set minSize(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set minSize when stops is not null."),e=null),this._set("minSize",V(e))}readMinSize(e,t,i){return C(e,0,i)}writeMinSize(e,t,i,s){return M(e,t,i,s)}get arcadeRequired(){return!!this.valueExpression||null!=this.minSize&&"object"==typeof this.minSize&&this.minSize.arcadeRequired||null!=this.maxSize&&"object"==typeof this.maxSize&&this.maxSize.arcadeRequired}set stops(e){null==this.minDataValue&&null==this.maxDataValue&&null==this.minSize&&null==this.maxSize?e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value):e&&(l.A.getLogger(this).warn("cannot set stops when one of minDataValue, maxDataValue, minSize or maxSize is not null."),e=null),this._set("stops",e)}get transformationType(){return(0,m.KZ)(this,this.inputValueType)}readValueExpression(e,t){return e||t.expression&&"$view.scale"}writeValueExpressionWebScene(e,t,i,s){if(f.RV.test(e)){if(s?.messages){const e=this.index;(0,g.qt)(s,`visualVariables[${"string"==typeof e?e:`visualVariables[${e}]`}].valueExpression`,"SizeVariable with '$view.scale' valueExpression is not supported in Web Scene. Please remove this property to save the Web Scene.")}}else t[i]=e}readValueUnit(e){return e?S.read(e):null}clone(){return new h({axis:this.axis,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,maxDataValue:this.maxDataValue,maxSize:(0,m.of)(this.maxSize)?this.maxSize.clone():this.maxSize,minDataValue:this.minDataValue,minSize:(0,m.of)(this.minSize)?this.minSize.clone():this.minSize,normalizationField:this.normalizationField,stops:this.stops?.map(e=>e.clone()),target:this.target,useSymbolValue:this.useSymbolValue,valueRepresentation:this.valueRepresentation,valueUnit:this.valueUnit,legendOptions:this.legendOptions?.clone()})}flipSizes(){if("clamped-linear"===this.transformationType){const{minSize:e,maxSize:t}=this;return this.minSize=t,this.maxSize=e,this}if("stops"===this.transformationType){const e=this.stops;if(!e)return this;const t=e.map(e=>e.size).reverse(),i=e.length;for(let s=0;s<i;s++)e[s].size=t[s];return this}return this}_interpolateData(){return this.stops?.map(e=>e.value||0)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({type:w.apiValues,json:{type:w.jsonValues,origins:{"web-map":{read:!1}},read:w.read,write:w.write}})],x.prototype,"axis",void 0),(0,s.Cg)([(0,o.MZ)()],x.prototype,"index",null),(0,s.Cg)([(0,o.MZ)({type:String,readOnly:!0})],x.prototype,"inputValueType",null),(0,s.Cg)([(0,o.MZ)({type:d,json:{write:!0}})],x.prototype,"legendOptions",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],x.prototype,"maxDataValue",null),(0,s.Cg)([(0,o.MZ)({type:Number,useTypeForAutocast:!1,value:null,json:{write:!0}})],x.prototype,"maxSize",null),(0,s.Cg)([(0,b.w)("maxSize")],x.prototype,"readMaxSize",null),(0,s.Cg)([(0,v.K)("maxSize")],x.prototype,"writeMaxSize",null),(0,s.Cg)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],x.prototype,"minDataValue",null),(0,s.Cg)([(0,o.MZ)({type:Number,useTypeForAutocast:!1,value:null,json:{write:!0}})],x.prototype,"minSize",null),(0,s.Cg)([(0,b.w)("minSize")],x.prototype,"readMinSize",null),(0,s.Cg)([(0,v.K)("minSize")],x.prototype,"writeMinSize",null),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],x.prototype,"normalizationField",void 0),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],x.prototype,"arcadeRequired",null),(0,s.Cg)([(0,o.MZ)({type:String})],x.prototype,"scaleBy",void 0),(0,s.Cg)([(0,o.MZ)({type:[u.A],value:null,json:{write:!0}})],x.prototype,"stops",null),(0,s.Cg)([(0,o.MZ)({type:["outline"],json:{write:!0}})],x.prototype,"target",void 0),(0,s.Cg)([(0,o.MZ)({type:String,readOnly:!0})],x.prototype,"transformationType",null),(0,s.Cg)([(0,o.MZ)({type:["size"],json:{type:["sizeInfo"]}})],x.prototype,"type",void 0),(0,s.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0,origins:{"web-map":{read:!1}}}})],x.prototype,"useSymbolValue",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],x.prototype,"valueExpression",void 0),(0,s.Cg)([(0,b.w)("valueExpression",["valueExpression","expression"])],x.prototype,"readValueExpression",null),(0,s.Cg)([(0,v.K)("web-scene","valueExpression")],x.prototype,"writeValueExpressionWebScene",null),(0,s.Cg)([(0,o.MZ)({type:["radius","diameter","area","width","distance"],json:{write:!0}})],x.prototype,"valueRepresentation",void 0),(0,s.Cg)([(0,o.MZ)({type:S.apiValues,json:{write:S.write,origins:{"web-map":{read:!1},"web-scene":{write:!0},"portal-item":{write:!0}}}})],x.prototype,"valueUnit",void 0),(0,s.Cg)([(0,b.w)("valueUnit")],x.prototype,"readValueUnit",null),x=h=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.SizeVariable")],x)},2795(e,t,i){i.d(t,{A:()=>c});var s=i(5482),r=i(66552),l=i(25482),o=i(53966),n=i(91429),a=i(56507),u=i(41078);const p=new r.J({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"});let c=class extends l.o{constructor(e){super(e),this.index=null,this.type=null,this.field=null,this.valueExpression=null,this.valueExpressionTitle=null,this.legendOptions=null}castField(e){return null==e?e:"function"==typeof e?(o.A.getLogger(this).error(".field: field must be a string value"),null):(0,a.GX)(e)}get arcadeRequired(){return!!this.valueExpression}clone(){}};(0,s.Cg)([(0,n.MZ)()],c.prototype,"index",void 0),(0,s.Cg)([(0,n.MZ)({type:p.apiValues,readOnly:!0,json:{read:p.read,write:{writer:p.write,isRequired:!0}}})],c.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"field",void 0),(0,s.Cg)([(0,n.wg)("field")],c.prototype,"castField",null),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"valueExpression",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"valueExpressionTitle",void 0),(0,s.Cg)([(0,n.MZ)({readOnly:!0})],c.prototype,"arcadeRequired",null),(0,s.Cg)([(0,n.MZ)({type:u.A,json:{write:!0}})],c.prototype,"legendOptions",void 0),c=(0,s.Cg)([(0,n.$K)("esri.renderers.visualVariables.VisualVariable")],c)},72500(e,t,i){i.d(t,{A:()=>c});var s,r=i(5482),l=i(68197),o=i(25482),n=i(91429),a=i(56507),u=i(43937);let p=s=class extends o.o{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,i){t[i]=e??0}clone(){return new s({color:this.color&&this.color.clone(),label:this.label,value:this.value})}equals(e){return this===e||this.value===e.value&&this.label===e.label&&(this.color===e.color||null!=this.color&&null!=e.color&&this.color.equals(e.color))}};(0,r.Cg)([(0,n.MZ)({type:l.A,json:{type:[a.jz],write:{isRequired:!0}}})],p.prototype,"color",void 0),(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],p.prototype,"value",void 0),(0,r.Cg)([(0,u.K)("value")],p.prototype,"writeValue",null),p=s=(0,r.Cg)([(0,n.$K)("esri.renderers.visualVariables.support.ColorStop")],p);const c=p},12330(e,t,i){i.d(t,{A:()=>a});var s,r=i(5482),l=i(25482),o=i(90629),n=i(91429);let a=s=class extends l.o{constructor(e){super(e),this.label=null,this.value=null,this.useMinValue=null,this.useMaxValue=null}get size(){return this._get("size")}set size(e){this._set("size",e)}clone(){return new s({label:this.label,size:this.size,value:this.value,useMaxValue:this.useMaxValue,useMinValue:this.useMinValue})}};(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],a.prototype,"label",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,cast:o.cr,json:{write:{isRequired:!0}}})],a.prototype,"size",null),(0,r.Cg)([(0,n.MZ)({type:Number,json:{write:{isRequired:!0}}})],a.prototype,"value",void 0),(0,r.Cg)([(0,n.MZ)({type:Boolean,json:{write:!1}})],a.prototype,"useMinValue",void 0),(0,r.Cg)([(0,n.MZ)({type:Boolean,json:{write:!1}})],a.prototype,"useMaxValue",void 0),a=s=(0,r.Cg)([(0,n.$K)("esri.renderers.visualVariables.support.SizeStop")],a)},41078(e,t,i){i.d(t,{A:()=>a});var s=i(5482),r=i(69540),l=i(25482),o=i(91429);let n=class extends((0,r.OU)(l.o)){constructor(e){super(e),this.showLegend=null,this.title=null}};(0,s.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],n.prototype,"showLegend",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],n.prototype,"title",void 0),n=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.support.VisualVariableLegendOptions")],n);const a=n},29266(e,t,i){i.d(t,{RV:()=>c,UT:()=>d,Yz:()=>v}),i(68197);var s=i(52106),r=i(53966),l=i(31756),o=i(98205);const n=()=>r.A.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),a=e=>n().warn(`The visualVariable should be an instance of esri.renderers.visualVariables.${e}`),u=()=>n().error("Use of arcade expressions requires an arcade context"),p=(new s.A,Math.PI),c=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function d(e,t,i){return function(e,t,i){const s="visualVariables"in e?e.visualVariables?.find(e=>"rotation"===e.type):e;if(!s)return;if("esri.renderers.visualVariables.RotationVariable"!==s.declaredClass)return void a("RotationVariable");const r=s.axis||"heading",l="heading"===r&&"arithmetic"===s.rotationType?90:0,o="heading"===r&&"arithmetic"===s.rotationType?-1:1,n=s.field,{hasExpression:u}=s.cache;if(!n&&!u)return;const p=y(s,t,i);let c=p;return c="number"!=typeof c||isNaN(c)?null:l+o*c,new b(s,c,p)}(e,t,i)?.output}function y(e,t,i){const{hasExpression:s}=e.cache;if("number"==typeof t)return t;const r=t?.attributes,l=e.field;if(!s)return r?.[l];if(null==i?.arcade)return void u();const o={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},n=i.arcade.arcadeUtils,a=n.getViewInfo(o),p=n.createExecContext(t,a,i.timeZone);if(!e.cache.compiledFunc){const t=n.createSyntaxTree(e.valueExpression);e.cache.compiledFunc=n.createFunction(t)}return n.executeFunction(e.cache.compiledFunc,p)}function h(e,t,i){const s="number"==typeof t,r=s?null:t,l=r?.attributes;let n=s?t:null;const{isScaleDriven:a}=e.cache;let p=e.cache.compiledFunc;if(a){const t=null!=i?i.scale:void 0,s=null!=i?i.view:void 0;n=null==t||"3d"===s?function(e){let t=null,i=null;const s=e.stops;return s?(t=s[0].value,i=s[s.length-1].value):(t=e.minDataValue||0,i=e.maxDataValue||0),(t+i)/2}(e):t}else if(!s)switch(e.inputValueType){case"expression":{if(null==i?.arcade)return void u();const t={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},s=i.arcade.arcadeUtils,l=s.getViewInfo(t),o=s.createExecContext(r,l,i.timeZone);if(!p){const t=s.createSyntaxTree(e.valueExpression);p=s.createFunction(t),e.cache.compiledFunc=p}n=s.executeFunction(p,o);break}case"field":l&&(n=l[e.field]);break;case"unknown":n=null}return(0,o.gf)(n)?n:null}function m(e,t,i){return function(e,t,i){const s="visualVariables"in e?e.visualVariables?.find(e=>"size"===e.type):e;if(!s)return;if("esri.renderers.visualVariables.SizeVariable"!==s.declaredClass)return void a("SizeVariable");const r=h(s,t,i);let n=r;if(null!=n&&"number"!=typeof t&&t&&s.normalizationField){const e=t.attributes,i=parseFloat(e?.[s.normalizationField]);if(!(0,o.gf)(i)||0===i)return;n/=i}const u=function(e,t,i,s,r){switch(t.transformationType){case"additive":return function(e,t,i,s){const r=f(t.minSize,i,s)||t.minDataValue;return null==e&&null==r?null:(e??0)+(r??0)}(e,t,i,s);case"constant":return function(e,t,i){const s=e.stops;let r=s?.length&&s[0].size;return null==r&&(r=e.minSize),f(r,t,i)}(t,i,s);case"clamped-linear":return function(e,t,i,s){const r=f(t.minSize,i,s);if(null==e)return r;const{minDataValue:l,maxDataValue:o}=t;if(null==l||null==o)return null;const n=(e-l)/(o-l),a=f(t.maxSize,i,s),u=null!=s?s.shape:void 0;if(e<=l)return r;if(e>=o)return a;if(null==r||null==a)return null;if("area"===t.scaleBy&&u){const e="circle"===u,t=e?p*(r/2)**2:r*r,i=t+n*((e?p*(a/2)**2:a*a)-t);return e?2*Math.sqrt(i/p):Math.sqrt(i)}return r+n*(a-r)}(e,t,i,s);case"proportional":return function(e,t,i,s){const r=f(t.minSize,i,s);if(null==e||null==r)return r;const l=null!=s?s.shape:void 0,{minDataValue:o}=t;if(null==o)return null;const n=e/o,a=f(t.maxSize,i,s);let u=null;return u="circle"===l?2*Math.sqrt(n*(r/2)**2):"square"===l||"diamond"===l||"image"===l?Math.sqrt(n*r**2):n*r,g(u,r,a)}(e,t,i,s);case"stops":return function(e,t,i,s,r){if(null==e)return null;const[l,o,n]=function(e,t){if(!t)return;let i=0,s=t.length-1;return t.some((t,r)=>e<t?(s=r,!0):(i=r,!1)),[i,s,(e-t[i])/(t[s]-t[i])]}(e,r);if(l===o)return f(t.stops?.[l].size,i,s);{const e=f(t.stops?.[l].size,i,s),r=f(t.stops?.[o].size,i,s);return null==e||null==r?null:e+(r-e)*n}}(e,t,i,s,r);case"real-world-size":return function(e,t,i,s){const r=(s?.resolution??1)*l.j[t.valueUnit],o=f(t.minSize,i,s),n=f(t.maxSize,i,s),{valueRepresentation:a}=t;if(null==e)return o;let u=null;return u="area"===a?2*Math.sqrt(e/p)/r:"radius"===a||"distance"===a?2*e/r:e/r,g(u,o,n)}(e,t,i,s);case"identity":return e;case"unknown":return null}}(n,s,t,i,s.cache.ipData);return new b(s,null==u||isNaN(u)?void 0:u,r)}(e,t,i)?.output}function f(e,t,i){return null==e?null:(0,o.of)(e)?m(e,t,i):(0,o.gf)(e)?e:null}function g(e,t,i){return(0,o.gf)(i)&&e>i?i:(0,o.gf)(t)&&e<t?t:e}class b{get type(){return this.variable.type}constructor(e,t,i){this.variable=e,this.output=t,this.input=i}}function v(e,t,i){const s=["proportional","proportional","proportional"];for(const r of e){const e=r.useSymbolValue?"symbol-value":m(r,t,i)??"proportional";switch(r.axis){case"width":s[0]=e;break;case"depth":s[1]=e;break;case"height":s[2]=e;break;case"width-and-depth":s[0]=e,s[1]=e;break;case"all":case void 0:case null:s[0]=e,s[1]=e,s[2]=e;break;default:r.axis}}return s}},2485(e,t,i){i.d(t,{A:()=>c});var s,r=i(5482),l=i(68197),o=i(4718),n=i(91429),a=i(56507),u=i(72606),p=i(93223);let c=s=class extends u.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new s({fromColor:(0,o.o8)(this.fromColor),toColor:(0,o.o8)(this.toColor),algorithm:this.algorithm})}};(0,r.Cg)([(0,p.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],c.prototype,"algorithm",void 0),(0,r.Cg)([(0,n.MZ)({type:l.A,json:{type:[a.jz],write:{isRequired:!0}}})],c.prototype,"fromColor",void 0),(0,r.Cg)([(0,n.MZ)({type:l.A,json:{type:[a.jz],write:{isRequired:!0}}})],c.prototype,"toColor",void 0),(0,r.Cg)([(0,n.MZ)({type:["algorithmic"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),c=s=(0,r.Cg)([(0,n.$K)("esri.rest.support.AlgorithmicColorRamp")],c)},72606(e,t,i){i.d(t,{A:()=>o});var s=i(5482),r=i(25482),l=i(91429);let o=class extends r.o{constructor(e){super(e),this.type=null}};(0,s.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1,write:!0}})],o.prototype,"type",void 0),o=(0,s.Cg)([(0,l.$K)("esri.rest.support.ColorRamp")],o)},1626(e,t,i){i.d(t,{A:()=>c});var s,r=i(5482),l=i(4718),o=i(91429),n=i(2485),a=i(72606),u=i(43937),p=i(36005);let c=s=class extends a.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart",this.weights=void 0}writeColorRamps(e,t,i,s){const r=e?.map(e=>e.toJSON(s)),{weights:l}=this;if(r&&l?.length&&r.length===l?.length){const e=100/l.reduce((e,t)=>e+t);let t=0;r.forEach((i,s)=>{i.start=t,t+=l[s]*e,i.stop=t})}t.colorRamps=r}readWeights(e,t){const i=t.colorRamps?.map(({start:e,stop:t})=>null==e||null==t?-1:t-e);if(!i?.some(e=>e<0))return i}clone(){return new s({colorRamps:(0,l.o8)(this.colorRamps)})}};(0,r.Cg)([(0,o.MZ)({type:[n.A],json:{write:{isRequired:!0}}})],c.prototype,"colorRamps",void 0),(0,r.Cg)([(0,u.K)("colorRamps")],c.prototype,"writeColorRamps",null),(0,r.Cg)([(0,o.MZ)({type:["multipart"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number]})],c.prototype,"weights",void 0),(0,r.Cg)([(0,p.w)("weights",["colorRamps"])],c.prototype,"readWeights",null),c=s=(0,r.Cg)([(0,o.$K)("esri.rest.support.MultipartColorRamp")],c)},95349(e,t,i){i.d(t,{g:()=>o,r:()=>n});var s=i(2485),r=i(72606),l=i(1626);const o={key:"type",base:r.A,typeMap:{algorithmic:s.A,multipart:l.A}};function n(e){return e?.type?"algorithmic"===e.type?s.A.fromJSON(e):"multipart"===e.type?l.A.fromJSON(e):null:null}},59868(e,t,i){i.d(t,{A7:()=>u,Cx:()=>p,Hk:()=>c,UK:()=>a});var s=i(94985),r=i(31593),l=i(53930),o=i(68249),n=i(93470);const a=l.A.fromJSON(n.Cb),u=r.A.fromJSON(n.yM),p=s.A.fromJSON(n.WR),c=o.A.fromJSON(n.JZ);l.A.fromJSON(n.nC),r.A.fromJSON(n.HW),s.A.fromJSON(n.b6)},73838(e,t,i){i.d(t,{rS:()=>E,M9:()=>I,oO:()=>Z});var s=i(93637),r=i(77548),l=i(29169),o=i(49186),n=i(13313),a=i(97887),u=i(68548),p=i(58592),c=i(75981),d=i(65365),y=i(94985),h=i(31593),m=i(53930),f=i(68249),g=i(68197),b=i(7762),v=i(90629),w=i(27845),S=i(11506),V=i(39065),C=i(59868),M=i(93470);c.A.fromSimpleMarkerSymbol(C.UK),a.A.fromSimpleLineSymbol(C.A7),d.A.fromSimpleFillSymbol(C.Cx),new u.A({symbolLayers:new b.A([new w.A({material:{color:M.fT},edges:new V.A({size:(0,v.PN)(1),color:new g.A(M.JR)})})])});const x=new a.A({symbolLayers:new b.A([new S.A({material:{color:new g.A([0,0,0])},size:(0,v.PN)(1)})])}),_=new d.A({symbolLayers:new b.A([new w.A({outline:{color:new g.A([0,0,0]),size:(0,v.PN)(1)}})])});var z=i(33910);const A="#useCIMFallbackSymbology()",q={retainId:!1,ignoreDrivers:!1,hasLabelingContext:!0};var j=i(59923);function I(e,t,i,r){const l=U(e,{},{context:r,isLabelSymbol:!1});null!=l&&(0,s.sM)(i,l,t)}function Z(e,t,i,s){const r=U(e,{},{context:s,isLabelSymbol:!0});null!=r&&(t[i]=r)}function F(e){return(0,z.wk)(e)||e instanceof l.A}function U(e,t,i){if(null==e)return null;const{context:s,isLabelSymbol:g}=i,b=s?.origin;if("web-scene"===b&&!F(e)){const i=function(e,t=q){if(!e)return{symbol:null};const{retainId:i=q.retainId,ignoreDrivers:s=q.ignoreDrivers,hasLabelingContext:r=q.hasLabelingContext,retainCIM:g=q.retainCIM,cimFallbackEnabled:b=q.cimFallbackEnabled}=t;let v=null;if((0,z.wk)(e))v=e.clone();else if("web-style"===e.type)v=e.clone();else if("cim"===e.type){const i=e.data?.symbol?.type;switch(i){case"CIMPointSymbol":v=g?e.clone():c.A.fromCIMSymbol(e);break;case"CIMLineSymbol":b&&(v=x.clone(),t?.logWarning?.(A,"Unsupported CIM line symbology converted to fallback 3D line symbology"));break;case"CIMPolygonSymbol":b&&(v=_.clone(),t?.logWarning?.(A,"Unsupported CIM polygon symbology converted to fallback 3D polygon symbology"))}if(!v)return{error:new o.A("symbol-conversion:unsupported-cim-symbol",`CIM symbol of type '${i||"unknown"}' is unsupported in 3D`,{symbol:e})}}else if(e instanceof h.A)v=a.A.fromSimpleLineSymbol(e);else if(e instanceof m.A)v=c.A.fromSimpleMarkerSymbol(e);else if(e instanceof p.A)v=c.A.fromPictureMarkerSymbol(e);else if(e instanceof y.A)v=t.geometryType&&"mesh"===t.geometryType?u.A.fromSimpleFillSymbol(e):d.A.fromSimpleFillSymbol(e);else{if(!(e instanceof f.A))return{error:new o.A("symbol-conversion:unsupported-2d-symbol",`2D symbol of type '${e.type||e.declaredClass}' is unsupported in 3D`,{symbol:e})};v=r?n.A.fromTextSymbol(e):c.A.fromTextSymbol(e)}return i&&v&&"cim"!==v.type&&(v.id=e.id),!s||"cim"===v.type||v instanceof l.A||v.symbolLayers.forEach(e=>e.ignoreDrivers=!0),{symbol:v}}(e,{retainCIM:!0,hasLabelingContext:g});return null!=i.symbol?i.symbol.write(t,s):((0,j.bA)(s,e,"Use 3D symbology instead when working with WebScene and SceneView",{error:i.error}),null)}return(0,r.TU)(s?.layer)&&function(e){return"polygon-3d"===e?.type||"line-3d"===e?.type}(e)?((0,j.bA)(s,e,`unsupported in layers of type ${s?.layer?.declaredClass}`),null):("web-map"===b||"portal-item"===b&&!(0,r.TU)(s?.layer))&&F(e)?((0,j.bA)(s,e,"Use 2D symbology and CIMSymbol instead when working with MapView"),null):e.write(t,s)}function E(e,t){return(0,z.Bu)(e,null,t)}},85594(e,t,i){i.d(t,{jg:()=>b,cF:()=>c,bo:()=>d,yA:()=>m,o5:()=>y});var s=i(11254),r=i(49186),l=i(44208),o=i(17676),n=i(84952),a=i(20655),u=i(16405);const p=new Map;function c(e,t,i){return null!=e?.styleUrl?async function(e,t){try{return{data:(await m(e,t)).data,baseUrl:(0,n.nM)(e),styleUrl:e}}catch(e){return(0,o.QP)(e),null}}(e.styleUrl,i):null!=e?.styleName?function(e,t,i){const s=null!=t.portal?t.portal:a.A.getDefault();let l;const o=`${s.url} - ${s.user?.username} - ${e}`,n=p.get(o);if(n)return n;const c=function(e,t,i){return t.load(i).then(()=>{const s=new u.A({disableExtraQuery:!0,query:`owner:${f} AND type:${g} AND typekeywords:"${e}"`});return t.queryItems(s,i)}).then(({results:t})=>{let s=null;const l=e.toLowerCase();if(t&&Array.isArray(t))for(const e of t){const t=e.typeKeywords?.some(e=>e.toLowerCase()===l);if(t&&e.type===g&&e.owner===f){s=e;break}}if(!s)throw new r.A("symbolstyleutils:style-not-found",`The style '${e}' could not be found`,{styleName:e});return s.load(i)})}(e,s,i).then(e=>(l=e,e.fetchData())).then(t=>({data:t,baseUrl:l.itemUrl??"",styleName:e}));return p.set(o,c),c}(e.styleName,t,i):Promise.reject(new r.A("symbolstyleutils:style-url-and-name-missing","Either styleUrl or styleName is required to resolve a style"))}function d(e){return null===e||"CIMSymbolReference"===e.type?e:{type:"CIMSymbolReference",symbol:e}}function y(e,t){for(const i of t)switch(i){case"cim":if(e.cimRef)return{format:i,url:encodeURI(e.cimRef)};break;case"web-gltf-basisu":{const t=h(e,"gltf_basisu");if(t)return{format:i,url:t};break}case"web-gltf":{const t=h(e,"gltf");if(t)return{format:i,url:t};break}case"web":{const t=h(e,"gltf");if(t)return{format:"web-gltf",url:t};if(e.webRef)return{format:i,url:encodeURI(e.webRef)};break}}}function h(e,t){if(!(0,l.A)("enable-feature:force-wosr"))return e.formatInfos?.find(e=>e.type===t)?.href}function m(e,t){const i={responseType:"json",query:{f:"json"},...t};return(0,s.A)((0,n.S8)(e),i)}const f="esri_en",g="Style",b="https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json"}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[564],{60999(e,t,i){i.d(t,{DZ:()=>h,Ke:()=>y,Tj:()=>p,UT:()=>m,aD:()=>g,jJ:()=>u});var s=i(5482),r=i(69622),l=i(97768),o=i(17676),n=i(10107),a=i(64108);function u(e,t,i){return(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))}async function p(e,t,i){return(await(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))).map(e=>e.value)}function c(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function y(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return c(await e)}catch(e){return d(e)}}async function h(e){try{return c(await e)}catch(e){return(0,o.QP)(e),d(e)}}function m(e,t){return new f(e,t)}let f=class extends r.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,l.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:i}=this._abortController;this.promise=e(i),this.promise.then(e=>{this._result=c(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,l.xt)(this._abortHandle),this._abortController=null}};(0,s.Cg)([(0,n.MZ)()],f.prototype,"value",null),(0,s.Cg)([(0,n.MZ)()],f.prototype,"error",null),(0,s.Cg)([(0,n.MZ)()],f.prototype,"finished",null),(0,s.Cg)([(0,n.MZ)()],f.prototype,"promise",void 0),(0,s.Cg)([(0,n.MZ)()],f.prototype,"_result",void 0),f=(0,s.Cg)([(0,a.$)("esri.core.asyncUtils.ReactiveTask")],f);class g{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,s.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,s.hk)(t)}}}},92438(e,t,i){i.d(t,{A:()=>u});var s=i(5482),r=i(66552),l=i(25482),o=i(91429),n=i(30943);const a=new r.J({simple:"simple",uniqueValue:"unique-value",classBreaks:"class-breaks",heatmap:"heatmap",dotDensity:"dot-density",dictionary:"dictionary",pieChart:"pie-chart"},{ignoreUnknown:!0});let u=class extends l.o{constructor(e){super(e),this.authoringInfo=null,this.type=null}async getRequiredFields(e){if(!this.collectRequiredFields)return[];const t=new Set;return await this.collectRequiredFields(t,e),Array.from(t).sort()}getSymbol(e,t){}async getSymbolAsync(e,t){}get symbols(){return[]}get arcadeRequired(){return!1}};(0,s.Cg)([(0,o.MZ)({type:n.A,json:{write:!0}})],u.prototype,"authoringInfo",void 0),(0,s.Cg)([(0,o.MZ)({type:a.apiValues,readOnly:!0,json:{type:a.jsonValues,read:!1,write:{writer:a.write,ignoreOrigin:!0,isRequired:!0}}})],u.prototype,"type",void 0),u=(0,s.Cg)([(0,o.$K)("esri.renderers.Renderer")],u)},93618(e,t,i){i.d(t,{A:()=>T});var s=i(5482),r=i(4718),l=i(53966),o=i(93637),n=i(36708),a=i(91429),u=i(6797),p=i(56507),c=i(30524),d=i(20655),y=i(92438),h=i(63988),m=i(49849),f=i(20061),g=i(80911),b=i(69540),v=i(25482);let w=class extends((0,b.OU)(v.o)){constructor(e){super(e),this.value=null,this.value2=null,this.value3=null}};(0,s.Cg)([(0,a.MZ)(m.Ug)],w.prototype,"value",void 0),(0,s.Cg)([(0,a.MZ)(m.Ug)],w.prototype,"value2",void 0),(0,s.Cg)([(0,a.MZ)(m.Ug)],w.prototype,"value3",void 0),w=(0,s.Cg)([(0,a.$K)("esri.renderers.support.UniqueValue")],w);var S=i(4576),V=i(40863);let C=class extends((0,b.OU)(v.o)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.alternateSymbols=null}get values(){return this._get("values")}set values(e){if(null!=e){const t=typeof(e=Array.isArray(e)?e:[e])[0];e="string"===t||"number"===t?e.map(e=>new w({value:e})):"object"===t?e[0]instanceof w?e:e.map(e=>new w(e)):null}this._set("values",e)}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],C.prototype,"description",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],C.prototype,"label",void 0),(0,s.Cg)([(0,a.MZ)(m.z4)],C.prototype,"symbol",void 0),(0,s.Cg)([(0,a.MZ)({type:[V.A],json:{write:!0,origins:{"web-scene":{write:!1}}}})],C.prototype,"alternateSymbols",void 0),(0,s.Cg)([(0,a.MZ)({json:{type:[[String]],read:{reader:e=>e?e.map(e=>new w({value:e[0],value2:e[1],value3:e[2]})):null},write:{writer:(e,t)=>{const i=[];for(const t of e){const e=[t.value,t.value2,t.value3].filter(S.Ru).map(e=>e.toString());i.push(e)}t.values=i}}}})],C.prototype,"values",null),C=(0,s.Cg)([(0,a.$K)("esri.renderers.support.UniqueValueClass")],C);let M=class extends((0,b.OU)(v.o)){constructor(e){super(e),this.heading=null,this.classes=null}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],M.prototype,"heading",void 0),(0,s.Cg)([(0,a.MZ)({type:[C],json:{write:{isRequired:!0}}})],M.prototype,"classes",void 0),M=(0,s.Cg)([(0,a.$K)("esri.renderers.support.UniqueValueGroup")],M);var x,_=i(94833),z=i(43668),A=i(97159),q=i(29169),j=i(85594),I=i(33910),Z=i(59923),F=i(93223),U=i(43937),E=i(36005);const D="uvInfos-watcher",R="uvGroups-watcher",O=(0,p.dp)(_.A);function k(e){return null!=e&&""!==e&&("string"!=typeof e||""!==e.trim()&&"<null>"!==e.toLowerCase())||(e=null),e+""}let T=x=class extends((0,h.h)(y.A)){constructor(e){super(e),this._valueInfoMap={},this._isDefaultSymbolDerived=!1,this._isInfosSource=null,this.type="unique-value",this.backgroundFillSymbol=null,this.orderByClassesEnabled=!1,this.valueExpressionTitle=null,this.legendOptions=null,this.defaultLabel=null,this.portal=null,this.styleOrigin=null,this.diff={uniqueValueInfos(e,t){if(!e&&!t)return;if(!e||!t)return{type:"complete",oldValue:e,newValue:t};let i=!1;const s={type:"collection",added:[],removed:[],changed:[],unchanged:[]};for(let r=0;r<t.length;r++){const l=e.find(e=>e.value===t[r].value);l?(0,u.Ui)(l,t[r])?(s.changed.push({type:"complete",oldValue:l,newValue:t[r]}),i=!0):s.unchanged.push({oldValue:l,newValue:t[r]}):(s.added.push(t[r]),i=!0)}for(let r=0;r<e.length;r++)t.find(t=>t.value===e[r].value)||(s.removed.push(e[r]),i=!0);return i?s:void 0}},this._set("uniqueValueInfos",[]),this._set("uniqueValueGroups",[])}get _cache(){return{compiledFunc:null}}set field(e){this._set("field",e),this._updateFieldDelimiter(),this._updateUniqueValues()}castField(e){return null==e||"function"==typeof e?e:(0,p.GX)(e)}writeField(e,t,i,s){"string"==typeof e?t[i]=e:s?.messages?(0,Z.qt)(s,"UniqueValueRenderer.field","set to a function cannot be written to JSON"):l.A.getLogger(this).error(".field: cannot write field to JSON since it's not a string value")}set field2(e){this._set("field2",e),this._updateFieldDelimiter(),this._updateUniqueValues()}set field3(e){this._set("field3",e),this._updateUniqueValues()}set valueExpression(e){this._set("valueExpression",e),this._updateUniqueValues()}set defaultSymbol(e){this._isDefaultSymbolDerived=!1,this._set("defaultSymbol",e)}set fieldDelimiter(e){this._set("fieldDelimiter",e),this._updateUniqueValues()}readPortal(e,t,i){return i.portal||d.A.getDefault()}readStyleOrigin(e,t,i){if(t.styleName)return Object.freeze({styleName:t.styleName});if(t.styleUrl){const e=(0,A.f)(t.styleUrl,i);return Object.freeze({styleUrl:e})}}writeStyleOrigin(e,t,i,s){e.styleName?t.styleName=e.styleName:e.styleUrl&&(t.styleUrl=(0,A.t)(e.styleUrl,s))}set uniqueValueGroups(e){this.styleOrigin?l.A.getLogger(this).error("#uniqueValueGroups=","Cannot modify unique value groups of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueGroups",e),this._updateInfosFromGroups(),this._isInfosSource=!1,this._watchUniqueValueGroups())}set uniqueValueInfos(e){this.styleOrigin?l.A.getLogger(this).error("#uniqueValueInfos=","Cannot modify unique value infos of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos())}addUniqueValueInfo(e,t){if(this.styleOrigin)return void l.A.getLogger(this).error("#addUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");let i;i="object"==typeof e?O(e):new _.A({value:e,symbol:(0,I.dp)(t)}),this.uniqueValueInfos?.push(i),this._valueInfoMap[k(i.value)]=i,this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}removeUniqueValueInfo(e){if(this.styleOrigin)return void l.A.getLogger(this).error("#removeUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");const t=this.uniqueValueInfos;if(t)for(let i=0;i<t.length;i++){const s=t[i];if(String(s.value)===String(e)){delete this._valueInfoMap[k(e)],t.splice(i,1);break}}this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}async getUniqueValueInfo(e,t){let i=t;return this.valueExpression&&null==t?.arcade&&(i={...i,arcade:await(0,z.l)()}),this._getUniqueValueInfo(e,i)}getSymbol(e,t){if(this.valueExpression&&null==t?.arcade)return void l.A.getLogger(this).error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");const i=this._getUniqueValueInfo(e,t);return(0,g.c)(i,t?.scale)??this.defaultSymbol}async getSymbolAsync(e,t){let i=t;if(this.valueExpression&&null==i?.arcade){const e=await(0,z.l)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),i={...i,arcade:e}}const s=this._getUniqueValueInfo(e,i);return(0,g.c)(s,i?.scale)??this.defaultSymbol}get symbols(){const e=[];if(this._isInfosSource)for(const t of this.uniqueValueInfos??[])t.symbol&&e.push(t.symbol),e.push(...t.alternateSymbols??[]);else for(const t of this.uniqueValueGroups??[])for(const i of t.classes??[])i.symbol&&e.push(i.symbol),e.push(...i.alternateSymbols??[]);return this.defaultSymbol&&e.push(this.defaultSymbol),e}clone(){const e=new x({field:this.field,field2:this.field2,field3:this.field3,defaultLabel:this.defaultLabel,defaultSymbol:(0,r.o8)(this.defaultSymbol),orderByClassesEnabled:this.orderByClassesEnabled,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,fieldDelimiter:this.fieldDelimiter,visualVariables:(0,r.o8)(this.visualVariables),legendOptions:(0,r.o8)(this.legendOptions),authoringInfo:(0,r.o8)(this.authoringInfo),backgroundFillSymbol:(0,r.o8)(this.backgroundFillSymbol)});this._isDefaultSymbolDerived&&(e._isDefaultSymbolDerived=!0),e._set("portal",this.portal);const t=(0,r.o8)(this.uniqueValueInfos),i=(0,r.o8)(this.uniqueValueGroups);return this.styleOrigin&&(e._set("styleOrigin",Object.freeze((0,r.o8)(this.styleOrigin))),Object.freeze(t),Object.freeze(i)),e._set("uniqueValueInfos",t),e._updateValueInfoMap(),e._set("uniqueValueGroups",i),e._isInfosSource=this._isInfosSource,e._watchUniqueValueInfosAndGroups(),e}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}async collectRequiredFields(e,t){const i=[this.collectVVRequiredFields(e,t),this.collectSymbolFields(e,t)];await Promise.all(i)}async collectSymbolFields(e,t){const i=[...this.symbols.map(i=>i.collectRequiredFields(e,t)),(0,c.Dx)(e,t,null,this.valueExpression)];(0,c.rq)(e,t,this.field),(0,c.rq)(e,t,this.field2),(0,c.rq)(e,t,this.field3),await Promise.all(i)}populateFromStyle(){return(0,j.cF)(this.styleOrigin,{portal:this.portal}).then(e=>{const t=[];return this._valueInfoMap={},e?.data&&Array.isArray(e.data.items)&&e.data.items.forEach(i=>{const s=new q.A({styleUrl:e.styleUrl,styleName:e.styleName,portal:this.portal,name:i.name});this.defaultSymbol||i.name!==e.data.defaultItem||(this.defaultSymbol=s,this._isDefaultSymbolDerived=!0);const r=new _.A({value:i.name,symbol:s});t.push(r),this._valueInfoMap[k(i.name)]=r}),this._set("uniqueValueInfos",Object.freeze(t)),this._updateGroupsFromInfos(!0),this._isInfosSource=null,this._watchUniqueValueInfos(),!this.defaultSymbol&&this.uniqueValueInfos?.length&&(this.defaultSymbol=this.uniqueValueInfos[0].symbol,this._isDefaultSymbolDerived=!0),this})}_updateFieldDelimiter(){this.field&&this.field2&&!this.fieldDelimiter&&this._set("fieldDelimiter",",")}_updateUniqueValues(){null!=this._isInfosSource&&(this._isInfosSource?this._updateGroupsFromInfos():this._updateInfosFromGroups())}_updateValueInfoMap(){this._valueInfoMap={};const{uniqueValueInfos:e}=this;if(e)for(const t of e)this._valueInfoMap[k(t.value)]=t}_watchUniqueValueInfosAndGroups(){this._watchUniqueValueInfos(),this._watchUniqueValueGroups()}_watchUniqueValueInfos(){this.removeHandles(D);const{uniqueValueInfos:e}=this;if(e){const t=[];for(const i of e)t.push((0,n.wB)(()=>({symbol:i.symbol,alternateSymbols:i.alternateSymbols,value:i.value,label:i.label,description:i.description}),(e,t)=>{e!==t&&(this._updateGroupsFromInfos(),this._isInfosSource=!0)},{sync:!0}));this.addHandles(t,D)}}_watchUniqueValueGroups(){this.removeHandles(R);const{uniqueValueGroups:e}=this;if(e){const t=[];for(const i of e){t.push((0,n.wB)(()=>({classes:i.classes}),(e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)},{sync:!0}));for(const e of i.classes??[])t.push((0,n.wB)(()=>({symbol:e.symbol,alternateSymbols:e.alternateSymbols,values:e.values,label:e.label,description:e.description}),(e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)},{sync:!0}))}this.addHandles(t,R)}}_updateInfosFromGroups(){if(!this.uniqueValueGroups)return this._set("uniqueValueInfos",null),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const e=[],{field:t,field2:i,field3:s,fieldDelimiter:r,uniqueValueGroups:l,valueExpression:o}=this;if(!t&&!o)return this._set("uniqueValueInfos",e),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const n=!(!t||!i);for(const t of l)for(const l of t.classes??[]){const{alternateSymbols:t,symbol:o,label:a,values:u,description:p}=l;for(const l of u??[]){const{value:u,value2:c,value3:d}=l,y=[u];i&&y.push(c),s&&y.push(d);const h=n?y.join(r||""):y[0]??void 0;e.push(new _.A({alternateSymbols:t,symbol:o,label:a,value:h,description:p}))}}this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._watchUniqueValueInfos()}_updateGroupsFromInfos(e=!1){if(!this.uniqueValueInfos)return this._set("uniqueValueGroups",null),void this._watchUniqueValueGroups();const{field:t,field2:i,valueExpression:s,fieldDelimiter:r,uniqueValueInfos:l}=this;if(!t&&!s||!l.length)return this._set("uniqueValueGroups",[]),void this._watchUniqueValueGroups();const o=!(!t||!i),n=l.map(e=>{const{alternateSymbols:t,symbol:i,label:s,value:l,description:n}=e,[a,u,p]=o?l?.toString()?.split(r||"")||[]:[l];return new C({alternateSymbols:t,symbol:i,label:s,description:n,values:[new w({value:a,value2:u,value3:p})]})}),a=[new M({classes:n})];e&&Object.freeze(a),this._set("uniqueValueGroups",a),this._watchUniqueValueGroups()}_getUniqueValueInfo(e,t){return this.valueExpression?this._getUnqiueValueInfoForExpression(e,t):this._getUnqiueValueInfoForFields(e)}_getUnqiueValueInfoForExpression(e,t){const{viewingMode:i,scale:s,spatialReference:r,arcade:l,timeZone:o}=t??{};let n=this._cache.compiledFunc;const a=l.arcadeUtils;if(!n){const e=a.createSyntaxTree(this.valueExpression);n=a.createFunction(e),this._cache.compiledFunc=n}const u=a.executeFunction(n,a.createExecContext(e,a.getViewInfo({viewingMode:i,scale:s,spatialReference:r}),o));return this._valueInfoMap[k(u)]}_getUnqiueValueInfoForFields(e){const t=this.field,i=e.attributes;let s;if(this.field2){const e=this.field2,r=this.field3,l=[];t&&l.push(i[t]),e&&l.push(i[e]),r&&l.push(i[r]),s=l.join(this.fieldDelimiter||"")}else t&&(s=i[t]);return this._valueInfoMap[k(s)]}static fromPortalStyle(e,t){const i=new x(t?.properties);i._set("styleOrigin",Object.freeze({styleName:e})),i._set("portal",t?.portal||d.A.getDefault());const s=i.populateFromStyle();return s.catch(t=>{l.A.getLogger(this.prototype).error(`#fromPortalStyle('${e}'[, ...])`,"Failed to create unique value renderer from style name",t)}),s}static fromStyleUrl(e,t){const i=new x(t?.properties);i._set("styleOrigin",Object.freeze({styleUrl:e}));const s=i.populateFromStyle();return s.catch(t=>{l.A.getLogger(this.prototype).error(`#fromStyleUrl('${e}'[, ...])`,"Failed to create unique value renderer from style URL",t)}),s}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],T.prototype,"_cache",null),(0,s.Cg)([(0,F.e)({uniqueValue:"unique-value"})],T.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)(m.As)],T.prototype,"backgroundFillSymbol",void 0),(0,s.Cg)([(0,a.MZ)({value:null,json:{type:String,read:{source:"field1"},write:{target:"field1"}}})],T.prototype,"field",null),(0,s.Cg)([(0,a.wg)("field")],T.prototype,"castField",null),(0,s.Cg)([(0,U.K)("field")],T.prototype,"writeField",null),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],T.prototype,"field2",null),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],T.prototype,"field3",null),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{name:"drawInClassOrder",default:!1,write:!0,origins:{"web-scene":{write:!1}}}})],T.prototype,"orderByClassesEnabled",void 0),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],T.prototype,"valueExpression",null),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"valueExpressionTitle",void 0),(0,s.Cg)([(0,a.MZ)({type:f.A,json:{write:!0}})],T.prototype,"legendOptions",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"defaultLabel",void 0),(0,s.Cg)([(0,a.MZ)((0,o.$N)({...m.z4},{json:{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}},origins:{"web-scene":{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}}}}}}))],T.prototype,"defaultSymbol",null),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],T.prototype,"fieldDelimiter",null),(0,s.Cg)([(0,a.MZ)({type:d.A,readOnly:!0})],T.prototype,"portal",void 0),(0,s.Cg)([(0,E.w)("portal",["styleName"])],T.prototype,"readPortal",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:()=>({enabled:!0})}}})],T.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,E.w)("styleOrigin",["styleName","styleUrl"])],T.prototype,"readStyleOrigin",null),(0,s.Cg)([(0,U.K)("styleOrigin",{styleName:{type:String},styleUrl:{type:String}})],T.prototype,"writeStyleOrigin",null),(0,s.Cg)([(0,a.MZ)({type:[M],json:{read:{source:["uniqueValueGroups","uniqueValueInfos"],reader:(e,t,i)=>(t.uniqueValueGroups||function(e){const{field1:t,field2:i,field3:s,fieldDelimiter:r,uniqueValueInfos:l,valueExpression:o}=e,n=!(!t||!i);return[{classes:(l??[]).map(e=>{const{alternateSymbols:l,symbol:a,label:u,value:p,description:c}=e,[d,y,h]=n?p?.toString()?.split(r||"")||[]:[p],m=[];return(t||o)&&m.push(d),i&&m.push(y),s&&m.push(h),{alternateSymbols:l,symbol:a,label:u,values:[m],description:c}})}]}(t)).map(e=>M.fromJSON(e,i))},write:{overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0}}}}})],T.prototype,"uniqueValueGroups",null),(0,s.Cg)([(0,a.MZ)({type:[_.A],json:{read:!1,write:{isRequired:!0,overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0,isRequired:!0}}}}})],T.prototype,"uniqueValueInfos",null),T=x=(0,s.Cg)([(0,a.$K)("esri.renderers.UniqueValueRenderer")],T)},63988(e,t,i){i.d(t,{h:()=>C});var s=i(5482),r=i(91429),l=i(30524),o=i(2024),n=i(62724),a=i(23461),u=i(48940),p=i(2795),c=i(69622),d=i(66552),y=i(53966),h=i(59923);const m={color:o.A,size:u.A,opacity:n.A,rotation:a.A},f=new d.J({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"}),g=/^\[([^\]]+)\]$/i;let b=class extends c.A{constructor(){super(...arguments),this.colorVariables=null,this.opacityVariables=null,this.rotationVariables=null,this.sizeVariables=null}set visualVariables(e){if(this._resetVariables(),e=e?.filter(e=>!!e),e?.length){for(const t of e)switch(t.type){case"color":this.colorVariables.push(t);break;case"opacity":this.opacityVariables.push(t);break;case"rotation":this.rotationVariables.push(t);break;case"size":this.sizeVariables.push(t)}this.sizeVariables.length&&this.sizeVariables.some(e=>!!e.target)&&e.sort((e,t)=>{let i=null;return i=e.target===t.target?0:e.target?1:-1,i});for(let t=0;t<e.length;t++)e[t].index=t;this._set("visualVariables",e)}else this._set("visualVariables",e)}readVariables(e,t,i){const{rotationExpression:s,rotationType:r}=t,l=s?.match(g),o=l?.[1];if(o&&(e||(e=[]),e.push({type:"rotationInfo",rotationType:r,field:o})),e)return e.map(e=>{const t=f.read(e.type),s=m[t];s||(y.A.getLogger(this).warn(`Unknown variable type: ${t}`),(0,h.Yc)(i,"warning","visual-variable",`visualVariable of type '${t}' is not supported`,{definition:e}));const r=new s;return r.read(e,i),r})}writeVariables(e,t){const i=[];for(const s of e){const e=s.toJSON(t);e&&i.push(e)}return i}_resetVariables(){this.colorVariables=[],this.opacityVariables=[],this.rotationVariables=[],this.sizeVariables=[]}};(0,s.Cg)([(0,r.MZ)()],b.prototype,"visualVariables",null),b=(0,s.Cg)([(0,r.$K)("esri.renderers.visualVariables.VisualVariableFactory")],b);var v=i(69309),w=i(36005),S=i(43937);const V={base:p.A,key:"type",typeMap:{opacity:n.A,color:o.A,rotation:a.A,size:u.A}},C=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this._vvFactory=new b}set visualVariables(e){this._vvFactory.visualVariables=e,this._set("visualVariables",this._vvFactory.visualVariables)}readVisualVariables(e,t,i){return this._vvFactory.readVariables(e,t,i)}writeVisualVariables(e,t,i,s){t[i]=this._vvFactory.writeVariables(e,s)}get arcadeRequiredForVisualVariables(){return this.visualVariables?.some(({arcadeRequired:e})=>e)??!1}hasVisualVariables(e,t){return e?this.getVisualVariablesForType(e,t).length>0:this.getVisualVariablesForType("size",t).length>0||this.getVisualVariablesForType("color",t).length>0||this.getVisualVariablesForType("opacity",t).length>0||this.getVisualVariablesForType("rotation",t).length>0}getVisualVariablesForType(e,t){return this.visualVariables?.filter(i=>i.type===e&&("string"==typeof t?i.target===t:!1!==t||!i.target))??[]}async collectVVRequiredFields(e,t){let i=[];this.visualVariables&&(i=i.concat(this.visualVariables));for(const s of i)s&&(s.field&&(0,l.rq)(e,t,s.field),s.normalizationField&&(0,l.rq)(e,t,s.normalizationField),s.valueExpression&&(M(s.valueExpression,e,t)||await(0,l.Dx)(e,t,null,s.valueExpression)))}};return(0,s.Cg)([(0,r.MZ)({types:[V],value:null,json:{write:!0}})],i.prototype,"visualVariables",null),(0,s.Cg)([(0,w.w)("visualVariables",["visualVariables","rotationType","rotationExpression"])],i.prototype,"readVisualVariables",null),(0,s.Cg)([(0,S.K)("visualVariables")],i.prototype,"writeVisualVariables",null),i=(0,s.Cg)([(0,r.$K)("esri.renderers.mixins.VisualVariablesMixin")],i),i};function M(e,t,i){const s=(0,v.D)(e);return null!=s&&((0,l.rq)(t,i,s),!0)}},30943(e,t,i){i.d(t,{A:()=>U});var s,r=i(5482),l=i(66552),o=i(25482),n=i(4718),a=i(91429),u=i(56507);let p=s=class extends o.o{constructor(e){super(e),this.minValue=0,this.maxValue=0}clone(){return new s({minValue:this.minValue,maxValue:this.maxValue})}};(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],p.prototype,"minValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],p.prototype,"maxValue",void 0),p=s=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoClassBreakInfo")],p);const c=p;var d;let y=d=class extends o.o{constructor(e){super(e),this.field="",this.normalizationField="",this.label="",this.classBreakInfos=new Array}clone(){return new d({field:this.field,normalizationField:this.normalizationField,label:this.label,classBreakInfos:(0,n.o8)(this.classBreakInfos)})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"field",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"normalizationField",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"label",void 0),(0,r.Cg)([(0,a.MZ)({type:[c],json:{write:!0}})],y.prototype,"classBreakInfos",void 0),y=d=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoFieldInfo")],y);const h=y;var m,f=i(79901);let g=m=class extends o.o{constructor(e){super(e),this.label=null,this.size=null,this.value=null}clone(){return new m({label:this.label,value:this.value,size:this.size})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],g.prototype,"label",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"size",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"value",void 0),g=m=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoSizeStop")],g);const b=g;var v;const w=new l.J({percentTotal:"percent-of-total",ratio:"ratio",percent:"percent"}),S=new l.J({sizeInfo:"size",colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation"}),V={key:e=>"number"==typeof e?"number":"string",typeMap:{number:Number,string:String},base:null},C=["high-to-low","above-and-below","centered-on","extremes"],M=[...new Set(["high-to-low","above-and-below","centered-on","extremes","above","below","high-to-low","above-and-below","above","below","reference-size","spike"])],x=["seconds","minutes","hours","days","months","years"];let _=v=class extends o.o{constructor(e){super(e),this.dataSeriesName=null,this.endTime=null,this.field=null,this.maxSliderValue=null,this.minSliderValue=null,this.startTime=null,this.type=null,this.units=null}castEndTime(e){return"string"==typeof e||"number"==typeof e?e:null}get normalizationField(){return"reference-size"===this.theme||"spike"===this.theme?this._get("normalizationField"):null}set normalizationField(e){this._set("normalizationField",e)}get referenceSizeScale(){return"reference-size"===this.theme?this._get("referenceSizeScale"):null}set referenceSizeScale(e){this._set("referenceSizeScale",e)}get referenceSizeSymbolStyle(){return"reference-size"===this.theme?this._get("referenceSizeSymbolStyle"):null}set referenceSizeSymbolStyle(e){this._set("referenceSizeSymbolStyle",e)}get spikeSymbolStyle(){return"spike"===this.theme?this._get("spikeSymbolStyle"):null}set spikeSymbolStyle(e){this._set("spikeSymbolStyle",e)}castStartTime(e){return"string"==typeof e||"number"==typeof e?e:null}get sizeStops(){return"reference-size"===this.theme||"spike"===this.theme?this._get("sizeStops"):null}set sizeStops(e){this._set("sizeStops",e)}get style(){return"color"===this.type?this._get("style"):null}set style(e){this._set("style",e)}get theme(){return"color"===this.type||"size"===this.type?this._get("theme")||"high-to-low":null}set theme(e){this._set("theme",e)}clone(){return new v({dataSeriesName:this.dataSeriesName,endTime:this.endTime,field:this.field,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,normalizationField:this.normalizationField,referenceSizeScale:this.referenceSizeScale,referenceSizeSymbolStyle:this.referenceSizeSymbolStyle,spikeSymbolStyle:this.spikeSymbolStyle,sizeStops:(0,n.o8)(this.sizeStops),startTime:this.startTime,style:this.style,theme:this.theme,type:this.type,units:this.units})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],_.prototype,"dataSeriesName",void 0),(0,r.Cg)([(0,a.MZ)({types:V,json:{write:!0}})],_.prototype,"endTime",void 0),(0,r.Cg)([(0,f.w)("endTime")],_.prototype,"castEndTime",null),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"field",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],_.prototype,"maxSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],_.prototype,"minSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"normalizationField",null),(0,r.Cg)([(0,a.MZ)({type:Number,value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"referenceSizeScale",null),(0,r.Cg)([(0,a.MZ)({type:["circle","diamond","hexagon-flat","hexagon-pointy","square"],value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"referenceSizeSymbolStyle",null),(0,r.Cg)([(0,a.MZ)({type:["triangle-closed-outline","triangle-gradient-fill-closed","triangle-gradient-fill-closed-outline","triangle-gradient-fill-open","triangle-gradient-fill-open-outline","triangle-open-outline","triangle-solid-fill-closed","triangle-solid-fill-closed-outline","triangle-solid-fill-open","triangle-solid-fill-open-outline"],value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"spikeSymbolStyle",null),(0,r.Cg)([(0,a.MZ)({types:V,json:{write:!0}})],_.prototype,"startTime",void 0),(0,r.Cg)([(0,f.w)("startTime")],_.prototype,"castStartTime",null),(0,r.Cg)([(0,a.MZ)({type:[b],json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"sizeStops",null),(0,r.Cg)([(0,a.MZ)({type:w.apiValues,value:null,json:{type:w.jsonValues,read:w.read,write:w.write}})],_.prototype,"style",null),(0,r.Cg)([(0,a.MZ)({type:M,value:null,json:{type:M,origins:{"web-scene":{type:C,write:{writer:(e,t)=>{C.includes(e)&&(t.theme=e)}}}},write:!0}})],_.prototype,"theme",null),(0,r.Cg)([(0,a.MZ)({type:S.apiValues,json:{type:S.jsonValues,read:S.read,write:S.write}})],_.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)({type:x,json:{type:x,write:!0}})],_.prototype,"units",void 0),_=v=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoVisualVariable")],_);const z=_;var A,q=i(95349),j=i(36005);const I=new l.J({esriClassifyDefinedInterval:"defined-interval",esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation"}),Z=new l.J({classedSize:"class-breaks-size",classedColor:"class-breaks-color",univariateColorSize:"univariate-color-size",relationship:"relationship",predominance:"predominance",dotDensity:"dot-density",flow:"flow"}),F=["inches","feet","yards","miles","nautical-miles","millimeters","centimeters","decimeters","meters","kilometers"];let U=A=class extends o.o{constructor(e){super(e),this.colorRamp=null,this.dataSeriesName=null,this.fadeRatio=null,this.isAutoGenerated=!1,this.lengthUnit=null,this.maxSliderValue=null,this.minSliderValue=null,this.visualVariables=null}get classificationMethod(){const e=this._get("classificationMethod"),t=this.type;return t&&"relationship"!==t?"class-breaks-size"===t||"class-breaks-color"===t?e||"manual":null:e}set classificationMethod(e){this._set("classificationMethod",e)}readColorRamp(e){return e?(0,q.r)(e):void 0}get fields(){return this.type&&"predominance"!==this.type?null:this._get("fields")}set fields(e){this._set("fields",e)}get field1(){return this.type&&"relationship"!==this.type?null:this._get("field1")}set field1(e){this._set("field1",e)}get field2(){return this.type&&"relationship"!==this.type?null:this._get("field2")}set field2(e){this._set("field2",e)}get flowTheme(){return"flow"===this.type?this._get("flowTheme"):null}set flowTheme(e){this._set("flowTheme",e)}get focus(){return this.type&&"relationship"!==this.type?null:this._get("focus")}set focus(e){this._set("focus",e)}get numClasses(){return this.type&&"relationship"!==this.type?null:this._get("numClasses")}set numClasses(e){this._set("numClasses",e)}get statistics(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("statistics"):null}set statistics(e){this._set("statistics",e)}get standardDeviationInterval(){const e=this.type;return e&&"relationship"!==e&&"class-breaks-size"!==e&&"class-breaks-color"!==e||this.classificationMethod&&"standard-deviation"!==this.classificationMethod?null:this._get("standardDeviationInterval")}set standardDeviationInterval(e){this._set("standardDeviationInterval",e)}get type(){return this._get("type")}set type(e){let t=e;"classed-size"===e?t="class-breaks-size":"classed-color"===e&&(t="class-breaks-color"),this._set("type",t)}get univariateSymbolStyle(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("univariateSymbolStyle"):null}set univariateSymbolStyle(e){this._set("univariateSymbolStyle",e)}get univariateTheme(){return"univariate-color-size"===this.type?this._get("univariateTheme"):null}set univariateTheme(e){this._set("univariateTheme",e)}clone(){return new A({classificationMethod:this.classificationMethod,colorRamp:(0,n.o8)(this.colorRamp),dataSeriesName:this.dataSeriesName,fadeRatio:(0,n.o8)(this.fadeRatio),fields:this.fields?.slice(),field1:(0,n.o8)(this.field1),field2:(0,n.o8)(this.field2),isAutoGenerated:this.isAutoGenerated,focus:this.focus,numClasses:this.numClasses,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,lengthUnit:this.lengthUnit,statistics:this.statistics,standardDeviationInterval:this.standardDeviationInterval,type:this.type,visualVariables:this.visualVariables&&this.visualVariables.map(e=>e.clone()),univariateSymbolStyle:this.univariateSymbolStyle,univariateTheme:this.univariateTheme,flowTheme:this.flowTheme})}};(0,r.Cg)([(0,a.MZ)({type:I.apiValues,value:null,json:{type:I.jsonValues,read:I.read,write:I.write,origins:{"web-document":{default:"manual",type:I.jsonValues,read:I.read,write:I.write}}}})],U.prototype,"classificationMethod",null),(0,r.Cg)([(0,a.MZ)({types:q.g,json:{write:!0}})],U.prototype,"colorRamp",void 0),(0,r.Cg)([(0,j.w)("colorRamp")],U.prototype,"readColorRamp",null),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"dataSeriesName",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"fadeRatio",void 0),(0,r.Cg)([(0,a.MZ)({type:[String],value:null,json:{write:!0}})],U.prototype,"fields",null),(0,r.Cg)([(0,a.MZ)({type:h,value:null,json:{write:!0}})],U.prototype,"field1",null),(0,r.Cg)([(0,a.MZ)({type:h,value:null,json:{write:!0}})],U.prototype,"field2",null),(0,r.Cg)([(0,a.MZ)({type:["flow-line","wave-front"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],U.prototype,"flowTheme",null),(0,r.Cg)([(0,a.MZ)({type:["HH","HL","LH","LL"],value:null,json:{write:!0}})],U.prototype,"focus",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1}}}})],U.prototype,"isAutoGenerated",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,value:null,json:{type:u.jz,write:!0}})],U.prototype,"numClasses",null),(0,r.Cg)([(0,a.MZ)({type:F,json:{type:F,read:!1,write:!1,origins:{"web-scene":{read:!0,write:!0}}}})],U.prototype,"lengthUnit",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"maxSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"minSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Object,value:null,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"statistics",null),(0,r.Cg)([(0,a.MZ)({type:[.25,.33,.5,1],value:null,json:{type:[.25,.33,.5,1],write:!0}})],U.prototype,"standardDeviationInterval",null),(0,r.Cg)([(0,a.MZ)({type:Z.apiValues,value:null,json:{type:Z.jsonValues,read:Z.read,write:Z.write}})],U.prototype,"type",null),(0,r.Cg)([(0,a.MZ)({type:[z],json:{write:!0}})],U.prototype,"visualVariables",void 0),(0,r.Cg)([(0,a.MZ)({type:["caret","circle-caret","arrow","circle-arrow","plus-minus","circle-plus-minus","square","circle","triangle","happy-sad","thumb","custom"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],U.prototype,"univariateSymbolStyle",null),(0,r.Cg)([(0,a.MZ)({type:["high-to-low","above-and-below","above","below"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],U.prototype,"univariateTheme",null),U=A=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfo")],U)},20061(e,t,i){var s,r=i(5482),l=i(69540),o=i(66552),n=i(25482),a=i(91429),u=i(56507),p=i(93223);const c=(0,o.O)()({ascendingValues:"ascending-values",descendingValues:"descending-values"});let d=s=class extends((0,l.OU)(n.o)){static from(e){return(0,u.PZ)(s,e)}constructor(e){super(e),this.title=null,this.order=null}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"title",void 0),(0,r.Cg)([(0,p.e)(c)],d.prototype,"order",void 0),d=s=(0,r.Cg)([(0,a.$K)("esri.renderers.support.RendererLegendOptions")],d);const y=d;i.d(t,["A",0,y])},94833(e,t,i){i.d(t,{A:()=>u});var s,r=i(5482),l=i(25482),o=i(91429),n=i(49849),a=i(40863);let u=s=class extends l.o{constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.value=null}get alternateSymbols(){return this._get("alternateSymbols")??null}set alternateSymbols(e){e?this._set("alternateSymbols",e.map(e=>e instanceof a.A?e:(delete e.type,new a.A(e)))):this._set("alternateSymbols",null)}clone(){return new s({alternateSymbols:this.alternateSymbols?.map(e=>e.clone()),value:this.value,description:this.description,label:this.label,symbol:this.symbol?this.symbol.clone():null})}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"description",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,r.Cg)([(0,o.MZ)(n.Wp)],u.prototype,"symbol",void 0),(0,r.Cg)([(0,o.MZ)({type:[a.A],useTypeForAutocast:!1,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"alternateSymbols",null),(0,r.Cg)([(0,o.MZ)(n.Ug)],u.prototype,"value",void 0),u=s=(0,r.Cg)([(0,o.$K)("esri.renderers.support.UniqueValueInfo")],u)},49849(e,t,i){var s=i(93637),r=i(90360),l=i(65365),o=i(20378),n=i(73838),a=i(33910);const u={types:a.xK,json:{write:{writer:n.M9},origins:{"web-scene":{types:a.On,write:{writer:n.M9},read:{reader:(0,r.C)({types:a.On})}}}}},p=(0,s.$N)({json:{origins:{"web-scene":{write:{isRequired:!0}}}}},u),c={types:{base:o.A,key:"type",typeMap:{"simple-fill":a.Es.typeMap["simple-fill"],"picture-fill":a.Es.typeMap["picture-fill"],"polygon-3d":a.Es.typeMap["polygon-3d"],cim:a.Es.typeMap.cim}},json:{write:{writer:n.M9},origins:{"web-scene":{type:l.A,write:{writer:n.M9}}}}},d={cast:e=>null==e||"string"==typeof e||"number"==typeof e?e:`${e}`,json:{type:String,write:{writer:(e,t)=>{t.value=e?.toString()}}}};i.d(t,["As",0,c,"Ug",0,d,"Wp",0,p,"z4",0,u])},80911(e,t,i){function s(e,t){if(null==e)return null;if(null==t)return e.symbol;if(null!=e.symbol&&r(e.symbol,t))return e.symbol;for(const i of e.alternateSymbols??[])if(r(i,t))return i;return null}function r(e,t){if("cim"!==e.type)return!0;const i=e.data?.minScale??0,s=e.data?.maxScale??0;return(!s||t>s)&&(!i||t<=i)}i.d(t,{c:()=>s})},2024(e,t,i){i.d(t,{A:()=>a});var s,r=i(5482),l=i(91429),o=i(2795),n=i(72500);let a=s=class extends o.A{constructor(e){super(e),this.type="color",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value),this._set("stops",e)}clone(){return new s({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map(e=>e.clone()),legendOptions:this.legendOptions?.clone()})}_interpolateData(){return this.stops&&this.stops.map(e=>e.value||0)}};(0,r.Cg)([(0,l.MZ)({readOnly:!0})],a.prototype,"cache",null),(0,r.Cg)([(0,l.MZ)({type:["color"],json:{type:["colorInfo"]}})],a.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],a.prototype,"normalizationField",void 0),(0,r.Cg)([(0,l.MZ)({type:[n.A],json:{write:!0}})],a.prototype,"stops",null),a=s=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.ColorVariable")],a)},62724(e,t,i){i.d(t,{A:()=>m});var s,r=i(5482),l=i(91429),o=i(2795),n=i(25482),a=i(56507),u=i(78553),p=i(36005),c=i(43937);let d=s=class extends n.o{constructor(e){super(e),this.label=null,this.opacity=null,this.value=null}readOpacity(e,t){return(0,u.D)(t.transparency)}writeOpacity(e,t,i){t[i]=(0,u.p)(e)}clone(){return new s({label:this.label,opacity:this.opacity,value:this.value})}};(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"label",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{type:a.jz,write:{target:"transparency",isRequired:!0}}})],d.prototype,"opacity",void 0),(0,r.Cg)([(0,p.w)("opacity",["transparency"])],d.prototype,"readOpacity",null),(0,r.Cg)([(0,c.K)("opacity")],d.prototype,"writeOpacity",null),(0,r.Cg)([(0,l.MZ)({type:Number,json:{write:{isRequired:!0}}})],d.prototype,"value",void 0),d=s=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.support.OpacityStop")],d);const y=d;var h;let m=h=class extends o.A{constructor(e){super(e),this.type="opacity",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value),this._set("stops",e)}clone(){return new h({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map(e=>e.clone()),legendOptions:this.legendOptions?.clone()})}_interpolateData(){return this.stops&&this.stops.map(e=>e.value||0)}};(0,r.Cg)([(0,l.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,r.Cg)([(0,l.MZ)({type:["opacity"],json:{type:["transparencyInfo"]}})],m.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],m.prototype,"normalizationField",void 0),(0,r.Cg)([(0,l.MZ)({type:[y],json:{write:!0}})],m.prototype,"stops",null),m=h=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.OpacityVariable")],m)},23461(e,t,i){i.d(t,{A:()=>n});var s,r=i(5482),l=i(91429),o=i(2795);let n=s=class extends o.A{constructor(e){super(e),this.axis=null,this.type="rotation",this.rotationType="geographic"}get cache(){return{hasExpression:!!this.valueExpression,compiledFunc:null}}clone(){return new s({axis:this.axis,rotationType:this.rotationType,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,legendOptions:this.legendOptions?.clone()})}};(0,r.Cg)([(0,l.MZ)({readOnly:!0})],n.prototype,"cache",null),(0,r.Cg)([(0,l.MZ)({type:["heading","tilt","roll"],json:{origins:{"web-scene":{default:"heading",write:!0}}}})],n.prototype,"axis",void 0),(0,r.Cg)([(0,l.MZ)({type:["rotation"],json:{type:["rotationInfo"]}})],n.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:["geographic","arithmetic"],json:{write:!0,origins:{"web-document":{write:!0,default:"geographic"}}}})],n.prototype,"rotationType",void 0),n=s=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.RotationVariable")],n)},48940(e,t,i){i.d(t,{A:()=>x});var s=i(5482),r=i(66552),l=i(53966),o=i(91429),n=i(2795),a=i(90629),u=i(12330),p=i(41078);let c=class extends p.A{constructor(e){super(e),this.customValues=null}};(0,s.Cg)([(0,o.MZ)({type:[Number],json:{write:!0}})],c.prototype,"customValues",void 0),c=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.support.SizeVariableLegendOptions")],c);const d=c;var y,h,m=i(98205),f=i(29266),g=i(59923),b=i(36005),v=i(43937);const w=new r.J({width:"width",depth:"depth",height:"height",widthAndDepth:"width-and-depth",all:"all"}),S=new r.J({unknown:"unknown",inch:"inches",foot:"feet",yard:"yards",mile:"miles","nautical-mile":"nautical-miles",millimeter:"millimeters",centimeter:"centimeters",decimeter:"decimeters",meter:"meters",kilometer:"kilometers"});function V(e){if(null!=e)return"string"==typeof e||"number"==typeof e?function(e){return(0,a.cr)(e)}(e):"size"===e.type?(0,m.of)(e)?e:(delete(e={...e}).type,new x(e)):void 0}function C(e,t,i){if("object"!=typeof e)return e;if("web-scene"===i.origin)return;const s=new x;return s.read(e,i),s}function M(e,t,i,s){"number"!=typeof e?"web-scene"!==s?.origin?t[i]=e.toJSON(s):(0,g.Yc)(s,"error","property",`Size variable '${i}' can only be a number in web scenes.`):t[i]=e}let x=h=class extends n.A{static{y=m.uY}constructor(e){super(e),this[y]=!0,this.axis=null,this.legendOptions=null,this.normalizationField=null,this.scaleBy=null,this.target=null,this.type="size",this.useSymbolValue=null,this.valueExpression=null,this.valueRepresentation=null,this.valueUnit=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null,isScaleDriven:null!=this.valueExpression&&f.RV.test(this.valueExpression)}}set index(e){(0,m.of)(this.maxSize)&&(this.maxSize.index=`visualVariables[${e}].maxSize`),(0,m.of)(this.minSize)&&(this.minSize.index=`visualVariables[${e}].minSize`),this._set("index",e)}get inputValueType(){return(0,m.eh)(this)}set maxDataValue(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set maxDataValue when stops is not null."),e=null),this._set("maxDataValue",e)}get maxSize(){return this._get("maxSize")}set maxSize(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set maxSize when stops is not null."),e=null),this._set("maxSize",V(e))}readMaxSize(e,t,i){return C(e,0,i)}writeMaxSize(e,t,i,s){return M(e,t,i,s)}set minDataValue(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set minDataValue when stops is not null."),e=null),this._set("minDataValue",e)}get minSize(){return this._get("minSize")}set minSize(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set minSize when stops is not null."),e=null),this._set("minSize",V(e))}readMinSize(e,t,i){return C(e,0,i)}writeMinSize(e,t,i,s){return M(e,t,i,s)}get arcadeRequired(){return!!this.valueExpression||null!=this.minSize&&"object"==typeof this.minSize&&this.minSize.arcadeRequired||null!=this.maxSize&&"object"==typeof this.maxSize&&this.maxSize.arcadeRequired}set stops(e){null==this.minDataValue&&null==this.maxDataValue&&null==this.minSize&&null==this.maxSize?e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value):e&&(l.A.getLogger(this).warn("cannot set stops when one of minDataValue, maxDataValue, minSize or maxSize is not null."),e=null),this._set("stops",e)}get transformationType(){return(0,m.KZ)(this,this.inputValueType)}readValueExpression(e,t){return e||t.expression&&"$view.scale"}writeValueExpressionWebScene(e,t,i,s){if(f.RV.test(e)){if(s?.messages){const e=this.index;(0,g.qt)(s,`visualVariables[${"string"==typeof e?e:`visualVariables[${e}]`}].valueExpression`,"SizeVariable with '$view.scale' valueExpression is not supported in Web Scene. Please remove this property to save the Web Scene.")}}else t[i]=e}readValueUnit(e){return e?S.read(e):null}clone(){return new h({axis:this.axis,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,maxDataValue:this.maxDataValue,maxSize:(0,m.of)(this.maxSize)?this.maxSize.clone():this.maxSize,minDataValue:this.minDataValue,minSize:(0,m.of)(this.minSize)?this.minSize.clone():this.minSize,normalizationField:this.normalizationField,stops:this.stops?.map(e=>e.clone()),target:this.target,useSymbolValue:this.useSymbolValue,valueRepresentation:this.valueRepresentation,valueUnit:this.valueUnit,legendOptions:this.legendOptions?.clone()})}flipSizes(){if("clamped-linear"===this.transformationType){const{minSize:e,maxSize:t}=this;return this.minSize=t,this.maxSize=e,this}if("stops"===this.transformationType){const e=this.stops;if(!e)return this;const t=e.map(e=>e.size).reverse(),i=e.length;for(let s=0;s<i;s++)e[s].size=t[s];return this}return this}_interpolateData(){return this.stops?.map(e=>e.value||0)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({type:w.apiValues,json:{type:w.jsonValues,origins:{"web-map":{read:!1}},read:w.read,write:w.write}})],x.prototype,"axis",void 0),(0,s.Cg)([(0,o.MZ)()],x.prototype,"index",null),(0,s.Cg)([(0,o.MZ)({type:String,readOnly:!0})],x.prototype,"inputValueType",null),(0,s.Cg)([(0,o.MZ)({type:d,json:{write:!0}})],x.prototype,"legendOptions",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],x.prototype,"maxDataValue",null),(0,s.Cg)([(0,o.MZ)({type:Number,useTypeForAutocast:!1,value:null,json:{write:!0}})],x.prototype,"maxSize",null),(0,s.Cg)([(0,b.w)("maxSize")],x.prototype,"readMaxSize",null),(0,s.Cg)([(0,v.K)("maxSize")],x.prototype,"writeMaxSize",null),(0,s.Cg)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],x.prototype,"minDataValue",null),(0,s.Cg)([(0,o.MZ)({type:Number,useTypeForAutocast:!1,value:null,json:{write:!0}})],x.prototype,"minSize",null),(0,s.Cg)([(0,b.w)("minSize")],x.prototype,"readMinSize",null),(0,s.Cg)([(0,v.K)("minSize")],x.prototype,"writeMinSize",null),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],x.prototype,"normalizationField",void 0),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],x.prototype,"arcadeRequired",null),(0,s.Cg)([(0,o.MZ)({type:String})],x.prototype,"scaleBy",void 0),(0,s.Cg)([(0,o.MZ)({type:[u.A],value:null,json:{write:!0}})],x.prototype,"stops",null),(0,s.Cg)([(0,o.MZ)({type:["outline"],json:{write:!0}})],x.prototype,"target",void 0),(0,s.Cg)([(0,o.MZ)({type:String,readOnly:!0})],x.prototype,"transformationType",null),(0,s.Cg)([(0,o.MZ)({type:["size"],json:{type:["sizeInfo"]}})],x.prototype,"type",void 0),(0,s.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0,origins:{"web-map":{read:!1}}}})],x.prototype,"useSymbolValue",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],x.prototype,"valueExpression",void 0),(0,s.Cg)([(0,b.w)("valueExpression",["valueExpression","expression"])],x.prototype,"readValueExpression",null),(0,s.Cg)([(0,v.K)("web-scene","valueExpression")],x.prototype,"writeValueExpressionWebScene",null),(0,s.Cg)([(0,o.MZ)({type:["radius","diameter","area","width","distance"],json:{write:!0}})],x.prototype,"valueRepresentation",void 0),(0,s.Cg)([(0,o.MZ)({type:S.apiValues,json:{write:S.write,origins:{"web-map":{read:!1},"web-scene":{write:!0},"portal-item":{write:!0}}}})],x.prototype,"valueUnit",void 0),(0,s.Cg)([(0,b.w)("valueUnit")],x.prototype,"readValueUnit",null),x=h=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.SizeVariable")],x)},2795(e,t,i){i.d(t,{A:()=>c});var s=i(5482),r=i(66552),l=i(25482),o=i(53966),n=i(91429),a=i(56507),u=i(41078);const p=new r.J({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"});let c=class extends l.o{constructor(e){super(e),this.index=null,this.type=null,this.field=null,this.valueExpression=null,this.valueExpressionTitle=null,this.legendOptions=null}castField(e){return null==e?e:"function"==typeof e?(o.A.getLogger(this).error(".field: field must be a string value"),null):(0,a.GX)(e)}get arcadeRequired(){return!!this.valueExpression}clone(){}};(0,s.Cg)([(0,n.MZ)()],c.prototype,"index",void 0),(0,s.Cg)([(0,n.MZ)({type:p.apiValues,readOnly:!0,json:{read:p.read,write:{writer:p.write,isRequired:!0}}})],c.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"field",void 0),(0,s.Cg)([(0,n.wg)("field")],c.prototype,"castField",null),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"valueExpression",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"valueExpressionTitle",void 0),(0,s.Cg)([(0,n.MZ)({readOnly:!0})],c.prototype,"arcadeRequired",null),(0,s.Cg)([(0,n.MZ)({type:u.A,json:{write:!0}})],c.prototype,"legendOptions",void 0),c=(0,s.Cg)([(0,n.$K)("esri.renderers.visualVariables.VisualVariable")],c)},72500(e,t,i){var s,r=i(5482),l=i(68197),o=i(25482),n=i(91429),a=i(56507),u=i(43937);let p=s=class extends o.o{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,i){t[i]=e??0}clone(){return new s({color:this.color&&this.color.clone(),label:this.label,value:this.value})}equals(e){return this===e||this.value===e.value&&this.label===e.label&&(this.color===e.color||null!=this.color&&null!=e.color&&this.color.equals(e.color))}};(0,r.Cg)([(0,n.MZ)({type:l.A,json:{type:[a.jz],write:{isRequired:!0}}})],p.prototype,"color",void 0),(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],p.prototype,"value",void 0),(0,r.Cg)([(0,u.K)("value")],p.prototype,"writeValue",null),p=s=(0,r.Cg)([(0,n.$K)("esri.renderers.visualVariables.support.ColorStop")],p);const c=p;i.d(t,["A",0,c])},12330(e,t,i){i.d(t,{A:()=>a});var s,r=i(5482),l=i(25482),o=i(90629),n=i(91429);let a=s=class extends l.o{constructor(e){super(e),this.label=null,this.value=null,this.useMinValue=null,this.useMaxValue=null}get size(){return this._get("size")}set size(e){this._set("size",e)}clone(){return new s({label:this.label,size:this.size,value:this.value,useMaxValue:this.useMaxValue,useMinValue:this.useMinValue})}};(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],a.prototype,"label",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,cast:o.cr,json:{write:{isRequired:!0}}})],a.prototype,"size",null),(0,r.Cg)([(0,n.MZ)({type:Number,json:{write:{isRequired:!0}}})],a.prototype,"value",void 0),(0,r.Cg)([(0,n.MZ)({type:Boolean,json:{write:!1}})],a.prototype,"useMinValue",void 0),(0,r.Cg)([(0,n.MZ)({type:Boolean,json:{write:!1}})],a.prototype,"useMaxValue",void 0),a=s=(0,r.Cg)([(0,n.$K)("esri.renderers.visualVariables.support.SizeStop")],a)},41078(e,t,i){var s=i(5482),r=i(69540),l=i(25482),o=i(91429);let n=class extends((0,r.OU)(l.o)){constructor(e){super(e),this.showLegend=null,this.title=null}};(0,s.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],n.prototype,"showLegend",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],n.prototype,"title",void 0),n=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.support.VisualVariableLegendOptions")],n);const a=n;i.d(t,["A",0,a])},29266(e,t,i){i.d(t,{UT:()=>c,Yz:()=>b}),i(68197);var s=i(52106),r=i(53966),l=i(31756),o=i(98205);const n=()=>r.A.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),a=e=>n().warn(`The visualVariable should be an instance of esri.renderers.visualVariables.${e}`),u=()=>n().error("Use of arcade expressions requires an arcade context"),p=(new s.A,Math.PI);function c(e,t,i){return function(e,t,i){const s="visualVariables"in e?e.visualVariables?.find(e=>"rotation"===e.type):e;if(!s)return;if("esri.renderers.visualVariables.RotationVariable"!==s.declaredClass)return void a("RotationVariable");const r=s.axis||"heading",l="heading"===r&&"arithmetic"===s.rotationType?90:0,o="heading"===r&&"arithmetic"===s.rotationType?-1:1,n=s.field,{hasExpression:u}=s.cache;if(!n&&!u)return;const p=d(s,t,i);let c=p;return c="number"!=typeof c||isNaN(c)?null:l+o*c,new g(s,c,p)}(e,t,i)?.output}function d(e,t,i){const{hasExpression:s}=e.cache;if("number"==typeof t)return t;const r=t?.attributes,l=e.field;if(!s)return r?.[l];if(null==i?.arcade)return void u();const o={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},n=i.arcade.arcadeUtils,a=n.getViewInfo(o),p=n.createExecContext(t,a,i.timeZone);if(!e.cache.compiledFunc){const t=n.createSyntaxTree(e.valueExpression);e.cache.compiledFunc=n.createFunction(t)}return n.executeFunction(e.cache.compiledFunc,p)}function y(e,t,i){const s="number"==typeof t,r=s?null:t,l=r?.attributes;let n=s?t:null;const{isScaleDriven:a}=e.cache;let p=e.cache.compiledFunc;if(a){const t=null!=i?i.scale:void 0,s=null!=i?i.view:void 0;n=null==t||"3d"===s?function(e){let t=null,i=null;const s=e.stops;return s?(t=s[0].value,i=s[s.length-1].value):(t=e.minDataValue||0,i=e.maxDataValue||0),(t+i)/2}(e):t}else if(!s)switch(e.inputValueType){case"expression":{if(null==i?.arcade)return void u();const t={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},s=i.arcade.arcadeUtils,l=s.getViewInfo(t),o=s.createExecContext(r,l,i.timeZone);if(!p){const t=s.createSyntaxTree(e.valueExpression);p=s.createFunction(t),e.cache.compiledFunc=p}n=s.executeFunction(p,o);break}case"field":l&&(n=l[e.field]);break;case"unknown":n=null}return(0,o.gf)(n)?n:null}function h(e,t,i){return function(e,t,i){const s="visualVariables"in e?e.visualVariables?.find(e=>"size"===e.type):e;if(!s)return;if("esri.renderers.visualVariables.SizeVariable"!==s.declaredClass)return void a("SizeVariable");const r=y(s,t,i);let n=r;if(null!=n&&"number"!=typeof t&&t&&s.normalizationField){const e=t.attributes,i=parseFloat(e?.[s.normalizationField]);if(!(0,o.gf)(i)||0===i)return;n/=i}const u=function(e,t,i,s,r){switch(t.transformationType){case"additive":return function(e,t,i,s){const r=m(t.minSize,i,s)||t.minDataValue;return null==e&&null==r?null:(e??0)+(r??0)}(e,t,i,s);case"constant":return function(e,t,i){const s=e.stops;let r=s?.length&&s[0].size;return null==r&&(r=e.minSize),m(r,t,i)}(t,i,s);case"clamped-linear":return function(e,t,i,s){const r=m(t.minSize,i,s);if(null==e)return r;const{minDataValue:l,maxDataValue:o}=t;if(null==l||null==o)return null;const n=(e-l)/(o-l),a=m(t.maxSize,i,s),u=null!=s?s.shape:void 0;if(e<=l)return r;if(e>=o)return a;if(null==r||null==a)return null;if("area"===t.scaleBy&&u){const e="circle"===u,t=e?p*(r/2)**2:r*r,i=t+n*((e?p*(a/2)**2:a*a)-t);return e?2*Math.sqrt(i/p):Math.sqrt(i)}return r+n*(a-r)}(e,t,i,s);case"proportional":return function(e,t,i,s){const r=m(t.minSize,i,s);if(null==e||null==r)return r;const l=null!=s?s.shape:void 0,{minDataValue:o}=t;if(null==o)return null;const n=e/o,a=m(t.maxSize,i,s);let u=null;return u="circle"===l?2*Math.sqrt(n*(r/2)**2):"square"===l||"diamond"===l||"image"===l?Math.sqrt(n*r**2):n*r,f(u,r,a)}(e,t,i,s);case"stops":return function(e,t,i,s,r){if(null==e)return null;const[l,o,n]=function(e,t){if(!t)return;let i=0,s=t.length-1;return t.some((t,r)=>e<t?(s=r,!0):(i=r,!1)),[i,s,(e-t[i])/(t[s]-t[i])]}(e,r);if(l===o)return m(t.stops?.[l].size,i,s);{const e=m(t.stops?.[l].size,i,s),r=m(t.stops?.[o].size,i,s);return null==e||null==r?null:e+(r-e)*n}}(e,t,i,s,r);case"real-world-size":return function(e,t,i,s){const r=(s?.resolution??1)*l.j[t.valueUnit],o=m(t.minSize,i,s),n=m(t.maxSize,i,s),{valueRepresentation:a}=t;if(null==e)return o;let u=null;return u="area"===a?2*Math.sqrt(e/p)/r:"radius"===a||"distance"===a?2*e/r:e/r,f(u,o,n)}(e,t,i,s);case"identity":return e;case"unknown":return null}}(n,s,t,i,s.cache.ipData);return new g(s,null==u||isNaN(u)?void 0:u,r)}(e,t,i)?.output}function m(e,t,i){return null==e?null:(0,o.of)(e)?h(e,t,i):(0,o.gf)(e)?e:null}function f(e,t,i){return(0,o.gf)(i)&&e>i?i:(0,o.gf)(t)&&e<t?t:e}class g{get type(){return this.variable.type}constructor(e,t,i){this.variable=e,this.output=t,this.input=i}}function b(e,t,i){const s=["proportional","proportional","proportional"];for(const r of e){const e=r.useSymbolValue?"symbol-value":h(r,t,i)??"proportional";switch(r.axis){case"width":s[0]=e;break;case"depth":s[1]=e;break;case"height":s[2]=e;break;case"width-and-depth":s[0]=e,s[1]=e;break;case"all":case void 0:case null:s[0]=e,s[1]=e,s[2]=e;break;default:r.axis}}return s}i.d(t,["RV",0,/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i])},2485(e,t,i){i.d(t,{A:()=>c});var s,r=i(5482),l=i(68197),o=i(4718),n=i(91429),a=i(56507),u=i(72606),p=i(93223);let c=s=class extends u.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new s({fromColor:(0,o.o8)(this.fromColor),toColor:(0,o.o8)(this.toColor),algorithm:this.algorithm})}};(0,r.Cg)([(0,p.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],c.prototype,"algorithm",void 0),(0,r.Cg)([(0,n.MZ)({type:l.A,json:{type:[a.jz],write:{isRequired:!0}}})],c.prototype,"fromColor",void 0),(0,r.Cg)([(0,n.MZ)({type:l.A,json:{type:[a.jz],write:{isRequired:!0}}})],c.prototype,"toColor",void 0),(0,r.Cg)([(0,n.MZ)({type:["algorithmic"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),c=s=(0,r.Cg)([(0,n.$K)("esri.rest.support.AlgorithmicColorRamp")],c)},72606(e,t,i){i.d(t,{A:()=>o});var s=i(5482),r=i(25482),l=i(91429);let o=class extends r.o{constructor(e){super(e),this.type=null}};(0,s.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1,write:!0}})],o.prototype,"type",void 0),o=(0,s.Cg)([(0,l.$K)("esri.rest.support.ColorRamp")],o)},1626(e,t,i){i.d(t,{A:()=>c});var s,r=i(5482),l=i(4718),o=i(91429),n=i(2485),a=i(72606),u=i(43937),p=i(36005);let c=s=class extends a.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart",this.weights=void 0}writeColorRamps(e,t,i,s){const r=e?.map(e=>e.toJSON(s)),{weights:l}=this;if(r&&l?.length&&r.length===l?.length){const e=100/l.reduce((e,t)=>e+t);let t=0;r.forEach((i,s)=>{i.start=t,t+=l[s]*e,i.stop=t})}t.colorRamps=r}readWeights(e,t){const i=t.colorRamps?.map(({start:e,stop:t})=>null==e||null==t?-1:t-e);if(!i?.some(e=>e<0))return i}clone(){return new s({colorRamps:(0,l.o8)(this.colorRamps)})}};(0,r.Cg)([(0,o.MZ)({type:[n.A],json:{write:{isRequired:!0}}})],c.prototype,"colorRamps",void 0),(0,r.Cg)([(0,u.K)("colorRamps")],c.prototype,"writeColorRamps",null),(0,r.Cg)([(0,o.MZ)({type:["multipart"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number]})],c.prototype,"weights",void 0),(0,r.Cg)([(0,p.w)("weights",["colorRamps"])],c.prototype,"readWeights",null),c=s=(0,r.Cg)([(0,o.$K)("esri.rest.support.MultipartColorRamp")],c)},95349(e,t,i){i.d(t,{r:()=>n});var s=i(2485),r=i(72606),l=i(1626);const o={key:"type",base:r.A,typeMap:{algorithmic:s.A,multipart:l.A}};function n(e){return e?.type?"algorithmic"===e.type?s.A.fromJSON(e):"multipart"===e.type?l.A.fromJSON(e):null:null}i.d(t,["g",0,o])},59868(e,t,i){var s=i(94985),r=i(31593),l=i(53930),o=i(68249),n=i(93470);const a=l.A.fromJSON(n.Cb),u=r.A.fromJSON(n.yM),p=s.A.fromJSON(n.WR),c=o.A.fromJSON(n.JZ);l.A.fromJSON(n.nC),r.A.fromJSON(n.HW),s.A.fromJSON(n.b6),i.d(t,["A7",0,u,"Cx",0,p,"Hk",0,c,"UK",0,a])},73838(e,t,i){i.d(t,{rS:()=>E,M9:()=>I,oO:()=>Z});var s=i(93637),r=i(77548),l=i(29169),o=i(49186),n=i(13313),a=i(97887),u=i(68548),p=i(58592),c=i(75981),d=i(65365),y=i(94985),h=i(31593),m=i(53930),f=i(68249),g=i(68197),b=i(7762),v=i(90629),w=i(27845),S=i(11506),V=i(39065),C=i(59868),M=i(93470);c.A.fromSimpleMarkerSymbol(C.UK),a.A.fromSimpleLineSymbol(C.A7),d.A.fromSimpleFillSymbol(C.Cx),new u.A({symbolLayers:new b.A([new w.A({material:{color:M.fT},edges:new V.A({size:(0,v.PN)(1),color:new g.A(M.JR)})})])});const x=new a.A({symbolLayers:new b.A([new S.A({material:{color:new g.A([0,0,0])},size:(0,v.PN)(1)})])}),_=new d.A({symbolLayers:new b.A([new w.A({outline:{color:new g.A([0,0,0]),size:(0,v.PN)(1)}})])});var z=i(33910);const A="#useCIMFallbackSymbology()",q={retainId:!1,ignoreDrivers:!1,hasLabelingContext:!0};var j=i(59923);function I(e,t,i,r){const l=U(e,{},{context:r,isLabelSymbol:!1});null!=l&&(0,s.sM)(i,l,t)}function Z(e,t,i,s){const r=U(e,{},{context:s,isLabelSymbol:!0});null!=r&&(t[i]=r)}function F(e){return(0,z.wk)(e)||e instanceof l.A}function U(e,t,i){if(null==e)return null;const{context:s,isLabelSymbol:g}=i,b=s?.origin;if("web-scene"===b&&!F(e)){const i=function(e,t=q){if(!e)return{symbol:null};const{retainId:i=q.retainId,ignoreDrivers:s=q.ignoreDrivers,hasLabelingContext:r=q.hasLabelingContext,retainCIM:g=q.retainCIM,cimFallbackEnabled:b=q.cimFallbackEnabled}=t;let v=null;if((0,z.wk)(e))v=e.clone();else if("web-style"===e.type)v=e.clone();else if("cim"===e.type){const i=e.data?.symbol?.type;switch(i){case"CIMPointSymbol":v=g?e.clone():c.A.fromCIMSymbol(e);break;case"CIMLineSymbol":b&&(v=x.clone(),t?.logWarning?.(A,"Unsupported CIM line symbology converted to fallback 3D line symbology"));break;case"CIMPolygonSymbol":b&&(v=_.clone(),t?.logWarning?.(A,"Unsupported CIM polygon symbology converted to fallback 3D polygon symbology"))}if(!v)return{error:new o.A("symbol-conversion:unsupported-cim-symbol",`CIM symbol of type '${i||"unknown"}' is unsupported in 3D`,{symbol:e})}}else if(e instanceof h.A)v=a.A.fromSimpleLineSymbol(e);else if(e instanceof m.A)v=c.A.fromSimpleMarkerSymbol(e);else if(e instanceof p.A)v=c.A.fromPictureMarkerSymbol(e);else if(e instanceof y.A)v=t.geometryType&&"mesh"===t.geometryType?u.A.fromSimpleFillSymbol(e):d.A.fromSimpleFillSymbol(e);else{if(!(e instanceof f.A))return{error:new o.A("symbol-conversion:unsupported-2d-symbol",`2D symbol of type '${e.type||e.declaredClass}' is unsupported in 3D`,{symbol:e})};v=r?n.A.fromTextSymbol(e):c.A.fromTextSymbol(e)}return i&&v&&"cim"!==v.type&&(v.id=e.id),!s||"cim"===v.type||v instanceof l.A||v.symbolLayers.forEach(e=>e.ignoreDrivers=!0),{symbol:v}}(e,{retainCIM:!0,hasLabelingContext:g});return null!=i.symbol?i.symbol.write(t,s):((0,j.bA)(s,e,"Use 3D symbology instead when working with WebScene and SceneView",{error:i.error}),null)}return(0,r.TU)(s?.layer)&&function(e){return"polygon-3d"===e?.type||"line-3d"===e?.type}(e)?((0,j.bA)(s,e,`unsupported in layers of type ${s?.layer?.declaredClass}`),null):("web-map"===b||"portal-item"===b&&!(0,r.TU)(s?.layer))&&F(e)?((0,j.bA)(s,e,"Use 2D symbology and CIMSymbol instead when working with MapView"),null):e.write(t,s)}function E(e,t){return(0,z.Bu)(e,null,t)}},85594(e,t,i){i.d(t,{jg:()=>b,cF:()=>c,bo:()=>d,yA:()=>m,o5:()=>y});var s=i(11254),r=i(49186),l=i(44208),o=i(17676),n=i(84952),a=i(20655),u=i(16405);const p=new Map;function c(e,t,i){return null!=e?.styleUrl?async function(e,t){try{return{data:(await m(e,t)).data,baseUrl:(0,n.nM)(e),styleUrl:e}}catch(e){return(0,o.QP)(e),null}}(e.styleUrl,i):null!=e?.styleName?function(e,t,i){const s=null!=t.portal?t.portal:a.A.getDefault();let l;const o=`${s.url} - ${s.user?.username} - ${e}`,n=p.get(o);if(n)return n;const c=function(e,t,i){return t.load(i).then(()=>{const s=new u.A({disableExtraQuery:!0,query:`owner:${f} AND type:${g} AND typekeywords:"${e}"`});return t.queryItems(s,i)}).then(({results:t})=>{let s=null;const l=e.toLowerCase();if(t&&Array.isArray(t))for(const e of t){const t=e.typeKeywords?.some(e=>e.toLowerCase()===l);if(t&&e.type===g&&e.owner===f){s=e;break}}if(!s)throw new r.A("symbolstyleutils:style-not-found",`The style '${e}' could not be found`,{styleName:e});return s.load(i)})}(e,s,i).then(e=>(l=e,e.fetchData())).then(t=>({data:t,baseUrl:l.itemUrl??"",styleName:e}));return p.set(o,c),c}(e.styleName,t,i):Promise.reject(new r.A("symbolstyleutils:style-url-and-name-missing","Either styleUrl or styleName is required to resolve a style"))}function d(e){return null===e||"CIMSymbolReference"===e.type?e:{type:"CIMSymbolReference",symbol:e}}function y(e,t){for(const i of t)switch(i){case"cim":if(e.cimRef)return{format:i,url:encodeURI(e.cimRef)};break;case"web-gltf-basisu":{const t=h(e,"gltf_basisu");if(t)return{format:i,url:t};break}case"web-gltf":{const t=h(e,"gltf");if(t)return{format:i,url:t};break}case"web":{const t=h(e,"gltf");if(t)return{format:"web-gltf",url:t};if(e.webRef)return{format:i,url:encodeURI(e.webRef)};break}}}function h(e,t){if(!(0,l.A)("enable-feature:force-wosr"))return e.formatInfos?.find(e=>e.type===t)?.href}function m(e,t){const i={responseType:"json",query:{f:"json"},...t};return(0,s.A)((0,n.S8)(e),i)}const f="esri_en",g="Style",b="https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json"}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3846],{5482(t,n,r){function e(t,n,r,e){var a,o=arguments.length,u=o<3?n:null===e?e=Object.getOwnPropertyDescriptor(n,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,n,r,e);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(u=(o<3?a(u):o>3?a(n,r,u):a(n,r))||u);return o>3&&u&&Object.defineProperty(n,r,u),u}function a(t,n,r){if(null!=n){if("object"!=typeof n&&"function"!=typeof n)throw new TypeError("Object expected.");var e,a;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");e=n[Symbol.asyncDispose]}if(void 0===e){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");e=n[Symbol.dispose],r&&(a=e)}if("function"!=typeof e)throw new TypeError("Object not disposable.");a&&(e=function(){try{a.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:n,dispose:e,async:r})}else r&&t.stack.push({async:!0});return n}r.d(n,{Cg:()=>e,hk:()=>u,mS:()=>a}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(t,n,r){var e=new Error(r);return e.name="SuppressedError",e.error=t,e.suppressed=n,e};function u(t){function n(n){t.error=t.hasError?new o(n,t.error,"An error was suppressed during disposal."):n,t.hasError=!0}var r,e=0;return function a(){for(;r=t.stack.pop();)try{if(!r.async&&1===e)return e=0,t.stack.push(r),Promise.resolve().then(a);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return e|=2,Promise.resolve(o).then(a,function(t){return n(t),a()})}else e|=1}catch(t){n(t)}if(1===e)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},69540(t,n,r){var e=r(5482),a=r(69622),o=(r(44208),r(4718)),u=(r(53966),r(97768)),s=r(88620),i=r(64108);const c=Symbol("ClonableMixin"),l=t=>{var n;const r=t;let a=class extends r{constructor(){super(...arguments),this[n]=!0}static{n=c}clone(t){const n=(0,s.oY)(this);(0,u.Lw)(n,"unable to clone instance of non-accessor class");const r=n.metadata,e=n.store,a={},i=new Map;for(const n in r){const u=r[n],s=e?.originOf(n),c=u.clonable;if(u.readOnly||!1===c||7!==s&&0!==s&&5!==s&&4!==s)continue;const l=this[n];let f=null;if("function"==typeof c)f=c(l,t);else if("reference"===c)f=l;else if(f=(0,o.TU)(l,t),null!=l&&null==f)continue;0===s?i.set(n,f):a[n]=f}const c=new(0,Object.getPrototypeOf(this).constructor)(a);if(i.size){const t=(0,s.oY)(c)?.store;if(t)for(const[n,r]of i)t.set(n,r,0)}return c}};return a=(0,e.Cg)([(0,i.$)("esri.core.Clonable")],a),a},f=l(a.A);r.d(n,["OU",0,l,"Pw",0,f])},29242(t,n,r){function e(){return[1,0,0,0,1,0,0,0,1]}function a(t,n,r,e,a,o,u,s,i){return[t,n,r,e,a,o,u,s,i]}r.d(n,{fA:()=>a,vt:()=>e});const o=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:e,fromValues:a},Symbol.toStringTag,{value:"Module"})),r.d(n,["zK",0,o])},51850(t,n,r){function e(){return[0,0,0]}function a(t){return[t[0],t[1],t[2]]}function o(t,n,r){return[t,n,r]}function u(t,n,r){return[t,n,r]}function s(t,n=[0,0,0]){const r=Math.min(3,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n}function i(){return[0,0,0]}function c(){return o(1,1,1)}function l(){return o(1,0,0)}function f(){return o(0,1,0)}function h(){return o(0,0,1)}r.d(n,{CN:()=>u,S:()=>c,Ul:()=>i,ci:()=>s,fA:()=>o,o8:()=>a,vt:()=>e});const M=[0,0,0],b=c(),d=l(),m=f(),p=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:b,UNIT_X:d,UNIT_Y:m,UNIT_Z:p,ZEROS:M,clone:a,create:e,freeze:u,fromArray:s,fromValues:o,ones:c,unitX:l,unitY:f,unitZ:h,zeros:i},Symbol.toStringTag,{value:"Module"})),r.d(n,["Cb",0,p,"Cw",0,d,"JP",0,m,"Un",0,b,"uY",0,M])},91829(t,n,r){function e(){return[0,0,0,0]}function a(t,n,r,e){return[t,n,r,e]}function o(t,n,r,e){return[t,n,r,e]}function u(){return a(1,1,1,1)}function s(){return a(1,0,0,0)}function i(){return a(0,1,0,0)}function c(){return a(0,0,1,0)}function l(){return a(0,0,0,1)}r.d(n,{CN:()=>o,_Y:()=>l,fA:()=>a,vt:()=>e});const f=[0,0,0,0],h=u(),M=s(),b=i(),d=c(),m=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:m,UNIT_X:M,UNIT_Y:b,UNIT_Z:d,ZEROS:f,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:e,freeze:o,fromArray:function(t,n=[0,0,0,0]){const r=Math.min(4,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:a,ones:u,unitW:l,unitX:s,unitY:i,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),r.d(n,["Un",0,h,"uY",0,f])},34304(t,n,r){r.d(n,{DF:()=>i,FD:()=>a,ct:()=>c});let e=1e-6;function a(){return e}const o=Math.random,u=Math.PI/180,s=180/Math.PI;function i(t){return t*u}function c(t){return t*s}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(t,n){return Math.abs(t-n)<=e*Math.max(1,Math.abs(t),Math.abs(n))},getEpsilon:a,setEpsilon:function(t){e=t},toDegree:c,toRadian:i},Symbol.toStringTag,{value:"Module"})),r.d(n,["Ov",0,o])},77690(t,n,r){r.d(n,{B8:()=>s,Ge:()=>M,I0:()=>h,KC:()=>i,a4:()=>c,hZ:()=>o,hs:()=>f,lw:()=>l,mg:()=>u,z0:()=>a});var e=r(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function o(t,n,r,e,a,o,u,s,i,c){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t[4]=o,t[5]=u,t[6]=s,t[7]=i,t[8]=c,t}function u(t,n){if(t===n){const r=n[1],e=n[2],a=n[5];t[1]=n[3],t[2]=n[6],t[3]=r,t[5]=n[7],t[6]=e,t[7]=a}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function s(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],u=n[4],s=n[5],i=n[6],c=n[7],l=n[8],f=l*u-s*c,h=-l*o+s*i,M=c*o-u*i;let b=r*f+e*h+a*M;return b?(b=1/b,t[0]=f*b,t[1]=(-l*e+a*c)*b,t[2]=(s*e-a*u)*b,t[3]=h*b,t[4]=(l*r-a*i)*b,t[5]=(-s*r+a*o)*b,t[6]=M*b,t[7]=(-c*r+e*i)*b,t[8]=(u*r-e*o)*b,t):null}function i(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],u=n[4],s=n[5],i=n[6],c=n[7],l=n[8];return t[0]=u*l-s*c,t[1]=a*c-e*l,t[2]=e*s-a*u,t[3]=s*i-o*l,t[4]=r*l-a*i,t[5]=a*o-r*s,t[6]=o*c-u*i,t[7]=e*i-r*c,t[8]=r*u-e*o,t}function c(t){const n=t[0],r=t[1],e=t[2],a=t[3],o=t[4],u=t[5],s=t[6],i=t[7],c=t[8];return n*(c*o-u*i)+r*(-c*a+u*s)+e*(i*a-o*s)}function l(t,n,r){const e=n[0],a=n[1],o=n[2],u=n[3],s=n[4],i=n[5],c=n[6],l=n[7],f=n[8],h=r[0],M=r[1],b=r[2],d=r[3],m=r[4],p=r[5],y=r[6],g=r[7],v=r[8];return t[0]=h*e+M*u+b*c,t[1]=h*a+M*s+b*l,t[2]=h*o+M*i+b*f,t[3]=d*e+m*u+p*c,t[4]=d*a+m*s+p*l,t[5]=d*o+m*i+p*f,t[6]=y*e+g*u+v*c,t[7]=y*a+g*s+v*l,t[8]=y*o+g*i+v*f,t}function f(t,n,r){const e=r[0],a=r[1],o=r[2];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=a*n[3],t[4]=a*n[4],t[5]=a*n[5],t[6]=o*n[6],t[7]=o*n[7],t[8]=o*n[8],t}function h(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],u=r+r,s=e+e,i=a+a,c=r*u,l=e*u,f=e*s,h=a*u,M=a*s,b=a*i,d=o*u,m=o*s,p=o*i;return t[0]=1-f-b,t[3]=l-p,t[6]=h+m,t[1]=l+p,t[4]=1-c-b,t[7]=M-d,t[2]=h-m,t[5]=M+d,t[8]=1-c-f,t}function M(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],u=n[4],s=n[5],i=n[6],c=n[7],l=n[8],f=n[9],h=n[10],M=n[11],b=n[12],d=n[13],m=n[14],p=n[15],y=r*s-e*u,g=r*i-a*u,v=r*c-o*u,S=e*i-a*s,w=e*c-o*s,O=a*c-o*i,I=l*d-f*b,x=l*m-h*b,q=l*p-M*b,A=f*m-h*d,R=f*p-M*d,_=h*p-M*m;let j=y*_-g*R+v*A+S*q-w*x+O*I;return j?(j=1/j,t[0]=(s*_-i*R+c*A)*j,t[1]=(i*q-u*_-c*x)*j,t[2]=(u*R-s*q+c*I)*j,t[3]=(a*R-e*_-o*A)*j,t[4]=(r*_-a*q+o*x)*j,t[5]=(e*q-r*R-o*I)*j,t[6]=(d*O-m*w+p*S)*j,t[7]=(m*v-b*O-p*g)*j,t[8]=(b*w-d*v+p*y)*j,t):null}function b(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t}const d=l,m=b;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t},adjoint:i,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},determinant:c,equals:function(t,n){const r=t[0],a=t[1],o=t[2],u=t[3],s=t[4],i=t[5],c=t[6],l=t[7],f=t[8],h=n[0],M=n[1],b=n[2],d=n[3],m=n[4],p=n[5],y=n[6],g=n[7],v=n[8],S=(0,e.FD)();return Math.abs(r-h)<=S*Math.max(1,Math.abs(r),Math.abs(h))&&Math.abs(a-M)<=S*Math.max(1,Math.abs(a),Math.abs(M))&&Math.abs(o-b)<=S*Math.max(1,Math.abs(o),Math.abs(b))&&Math.abs(u-d)<=S*Math.max(1,Math.abs(u),Math.abs(d))&&Math.abs(s-m)<=S*Math.max(1,Math.abs(s),Math.abs(m))&&Math.abs(i-p)<=S*Math.max(1,Math.abs(i),Math.abs(p))&&Math.abs(c-y)<=S*Math.max(1,Math.abs(c),Math.abs(y))&&Math.abs(l-g)<=S*Math.max(1,Math.abs(l),Math.abs(g))&&Math.abs(f-v)<=S*Math.max(1,Math.abs(f),Math.abs(v))},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromMat4:a,fromQuat:h,fromRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=-r,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:s,isOrthoNormal:function(t){const n=(0,e.FD)(),r=t[0],a=t[1],o=t[2],u=t[3],s=t[4],i=t[5],c=t[6],l=t[7],f=t[8];return Math.abs(1-(r*r+u*u+c*c))<=n&&Math.abs(1-(a*a+s*s+l*l))<=n&&Math.abs(1-(o*o+i*i+f*f))<=n},mul:d,multiply:l,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t},normalFromMat4:M,normalFromMat4Legacy:function(t,n){const r=n[0],e=n[1],a=n[2],o=n[4],u=n[5],s=n[6],i=n[8],c=n[9],l=n[10],f=l*u-s*c,h=-l*o+s*i,M=c*o-u*i,b=r*f+e*h+a*M;if(!b)return null;const d=1/b;return t[0]=f*d,t[1]=(-l*e+a*c)*d,t[2]=(s*e-a*u)*d,t[3]=h*d,t[4]=(l*r-a*i)*d,t[5]=(-s*r+a*o)*d,t[6]=M*d,t[7]=(-c*r+e*i)*d,t[8]=(u*r-e*o)*d,t},projection:function(t,n,r){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/r,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,n,r){const e=n[0],a=n[1],o=n[2],u=n[3],s=n[4],i=n[5],c=n[6],l=n[7],f=n[8],h=Math.sin(r),M=Math.cos(r);return t[0]=M*e+h*u,t[1]=M*a+h*s,t[2]=M*o+h*i,t[3]=M*u-h*e,t[4]=M*s-h*a,t[5]=M*i-h*o,t[6]=c,t[7]=l,t[8]=f,t},scale:f,scaleByVec2:function(t,n,r){const e=r[0],a=r[1];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=a*n[3],t[4]=a*n[4],t[5]=a*n[5],t},set:o,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:m,subtract:b,translate:function(t,n,r){const e=n[0],a=n[1],o=n[2],u=n[3],s=n[4],i=n[5],c=n[6],l=n[7],f=n[8],h=r[0],M=r[1];return t[0]=e,t[1]=a,t[2]=o,t[3]=u,t[4]=s,t[5]=i,t[6]=h*e+M*u+c,t[7]=h*a+M*s+l,t[8]=h*o+M*i+f,t},transpose:u},Symbol.toStringTag,{value:"Module"}))},58083(t,n,r){r.d(n,{$0:()=>p,$h:()=>A,B8:()=>l,C:()=>o,D_:()=>s,N9:()=>g,O7:()=>q,Qw:()=>c,Tl:()=>h,X_:()=>O,e$:()=>b,eL:()=>d,hM:()=>y,hZ:()=>u,hs:()=>M,kN:()=>m,l:()=>I,lw:()=>f,mg:()=>i,o1:()=>x,sC:()=>w,t2:()=>T,t5:()=>_,tZ:()=>k,ut:()=>D,v3:()=>R});var e=r(51850),a=r(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function u(t,n,r,e,a,o,u,s,i,c,l,f,h,M,b,d,m){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t[4]=o,t[5]=u,t[6]=s,t[7]=i,t[8]=c,t[9]=l,t[10]=f,t[11]=h,t[12]=M,t[13]=b,t[14]=d,t[15]=m,t}function s(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function i(t,n){if(t===n){const r=n[1],e=n[2],a=n[3],o=n[6],u=n[7],s=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=r,t[6]=n[9],t[7]=n[13],t[8]=e,t[9]=o,t[11]=n[14],t[12]=a,t[13]=u,t[14]=s}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function c(t,n){return l(t,n)||s(t),t}function l(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],u=n[4],s=n[5],i=n[6],c=n[7],l=n[8],f=n[9],h=n[10],M=n[11],b=n[12],d=n[13],m=n[14],p=n[15],y=r*s-e*u,g=r*i-a*u,v=r*c-o*u,S=e*i-a*s,w=e*c-o*s,O=a*c-o*i,I=l*d-f*b,x=l*m-h*b,q=l*p-M*b,A=f*m-h*d,R=f*p-M*d,_=h*p-M*m;let j=y*_-g*R+v*A+S*q-w*x+O*I;return j?(j=1/j,t[0]=(s*_-i*R+c*A)*j,t[1]=(a*R-e*_-o*A)*j,t[2]=(d*O-m*w+p*S)*j,t[3]=(h*w-f*O-M*S)*j,t[4]=(i*q-u*_-c*x)*j,t[5]=(r*_-a*q+o*x)*j,t[6]=(m*v-b*O-p*g)*j,t[7]=(l*O-h*v+M*g)*j,t[8]=(u*R-s*q+c*I)*j,t[9]=(e*q-r*R-o*I)*j,t[10]=(b*w-d*v+p*y)*j,t[11]=(f*v-l*w-M*y)*j,t[12]=(s*x-u*A-i*I)*j,t[13]=(r*A-e*x+a*I)*j,t[14]=(d*g-b*S-m*y)*j,t[15]=(l*S-f*g+h*y)*j,t):null}function f(t,n,r){const e=n[0],a=n[1],o=n[2],u=n[3],s=n[4],i=n[5],c=n[6],l=n[7],f=n[8],h=n[9],M=n[10],b=n[11],d=n[12],m=n[13],p=n[14],y=n[15];let g=r[0],v=r[1],S=r[2],w=r[3];return t[0]=g*e+v*s+S*f+w*d,t[1]=g*a+v*i+S*h+w*m,t[2]=g*o+v*c+S*M+w*p,t[3]=g*u+v*l+S*b+w*y,g=r[4],v=r[5],S=r[6],w=r[7],t[4]=g*e+v*s+S*f+w*d,t[5]=g*a+v*i+S*h+w*m,t[6]=g*o+v*c+S*M+w*p,t[7]=g*u+v*l+S*b+w*y,g=r[8],v=r[9],S=r[10],w=r[11],t[8]=g*e+v*s+S*f+w*d,t[9]=g*a+v*i+S*h+w*m,t[10]=g*o+v*c+S*M+w*p,t[11]=g*u+v*l+S*b+w*y,g=r[12],v=r[13],S=r[14],w=r[15],t[12]=g*e+v*s+S*f+w*d,t[13]=g*a+v*i+S*h+w*m,t[14]=g*o+v*c+S*M+w*p,t[15]=g*u+v*l+S*b+w*y,t}function h(t,n,r){const e=r[0],a=r[1],o=r[2];if(n===t)t[12]=n[0]*e+n[4]*a+n[8]*o+n[12],t[13]=n[1]*e+n[5]*a+n[9]*o+n[13],t[14]=n[2]*e+n[6]*a+n[10]*o+n[14],t[15]=n[3]*e+n[7]*a+n[11]*o+n[15];else{const r=n[0],u=n[1],s=n[2],i=n[3],c=n[4],l=n[5],f=n[6],h=n[7],M=n[8],b=n[9],d=n[10],m=n[11];t[0]=r,t[1]=u,t[2]=s,t[3]=i,t[4]=c,t[5]=l,t[6]=f,t[7]=h,t[8]=M,t[9]=b,t[10]=d,t[11]=m,t[12]=r*e+c*a+M*o+n[12],t[13]=u*e+l*a+b*o+n[13],t[14]=s*e+f*a+d*o+n[14],t[15]=i*e+h*a+m*o+n[15]}return t}function M(t,n,r){const e=r[0],a=r[1],o=r[2];return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=n[7]*a,t[8]=n[8]*o,t[9]=n[9]*o,t[10]=n[10]*o,t[11]=n[11]*o,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function b(t,n,r,e){let u=e[0],s=e[1],i=e[2],c=Math.sqrt(u*u+s*s+i*i);if(c<=(0,a.FD)())return void o(t,n);c=1/c,u*=c,s*=c,i*=c;const l=Math.sin(r),f=Math.cos(r),h=1-f,M=n[0],b=n[1],d=n[2],m=n[3],p=n[4],y=n[5],g=n[6],v=n[7],S=n[8],w=n[9],O=n[10],I=n[11],x=u*u*h+f,q=s*u*h+i*l,A=i*u*h-s*l,R=u*s*h-i*l,_=s*s*h+f,j=i*s*h+u*l,T=u*i*h+s*l,D=s*i*h-u*l,k=i*i*h+f;t[0]=M*x+p*q+S*A,t[1]=b*x+y*q+w*A,t[2]=d*x+g*q+O*A,t[3]=m*x+v*q+I*A,t[4]=M*R+p*_+S*j,t[5]=b*R+y*_+w*j,t[6]=d*R+g*_+O*j,t[7]=m*R+v*_+I*j,t[8]=M*T+p*D+S*k,t[9]=b*T+y*D+w*k,t[10]=d*T+g*D+O*k,t[11]=m*T+v*D+I*k,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15])}function d(t,n,r){const e=Math.sin(r),a=Math.cos(r),o=n[4],u=n[5],s=n[6],i=n[7],c=n[8],l=n[9],f=n[10],h=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=o*a+c*e,t[5]=u*a+l*e,t[6]=s*a+f*e,t[7]=i*a+h*e,t[8]=c*a-o*e,t[9]=l*a-u*e,t[10]=f*a-s*e,t[11]=h*a-i*e,t}function m(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function p(t,n,r){if(0===n)return s(t);let e=r[0],o=r[1],u=r[2],i=Math.sqrt(e*e+o*o+u*u);if(i<=(0,a.FD)())return null;i=1/i,e*=i,o*=i,u*=i;const c=Math.sin(n),l=Math.cos(n),f=1-l;return t[0]=e*e*f+l,t[1]=o*e*f+u*c,t[2]=u*e*f-o*c,t[3]=0,t[4]=e*o*f-u*c,t[5]=o*o*f+l,t[6]=u*o*f+e*c,t[7]=0,t[8]=e*u*f+o*c,t[9]=o*u*f-e*c,t[10]=u*u*f+l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function y(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=e,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function v(t,n,r){const e=n[0],a=n[1],o=n[2],u=n[3],s=e+e,i=a+a,c=o+o,l=e*s,f=e*i,h=e*c,M=a*i,b=a*c,d=o*c,m=u*s,p=u*i,y=u*c;return t[0]=1-(M+d),t[1]=f+y,t[2]=h-p,t[3]=0,t[4]=f-y,t[5]=1-(l+d),t[6]=b+m,t[7]=0,t[8]=h+p,t[9]=b-m,t[10]=1-(l+M),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}const S=(0,e.vt)();function w(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function O(t,n){const r=n[0],e=n[1],a=n[2],o=n[4],u=n[5],s=n[6],i=n[8],c=n[9],l=n[10];return t[0]=Math.sqrt(r*r+e*e+a*a),t[1]=Math.sqrt(o*o+u*u+s*s),t[2]=Math.sqrt(i*i+c*c+l*l),t}function I(t,n){const r=n[0]+n[5]+n[10];let e=0;return r>0?(e=2*Math.sqrt(r+1),t[3]=.25*e,t[0]=(n[6]-n[9])/e,t[1]=(n[8]-n[2])/e,t[2]=(n[1]-n[4])/e):n[0]>n[5]&&n[0]>n[10]?(e=2*Math.sqrt(1+n[0]-n[5]-n[10]),t[3]=(n[6]-n[9])/e,t[0]=.25*e,t[1]=(n[1]+n[4])/e,t[2]=(n[8]+n[2])/e):n[5]>n[10]?(e=2*Math.sqrt(1+n[5]-n[0]-n[10]),t[3]=(n[8]-n[2])/e,t[0]=(n[1]+n[4])/e,t[1]=.25*e,t[2]=(n[6]+n[9])/e):(e=2*Math.sqrt(1+n[10]-n[0]-n[5]),t[3]=(n[1]-n[4])/e,t[0]=(n[8]+n[2])/e,t[1]=(n[6]+n[9])/e,t[2]=.25*e),t}function x(t,n,r,e){const a=n[0],o=n[1],u=n[2],s=n[3],i=a+a,c=o+o,l=u+u,f=a*i,h=a*c,M=a*l,b=o*c,d=o*l,m=u*l,p=s*i,y=s*c,g=s*l,v=e[0],S=e[1],w=e[2];return t[0]=(1-(b+m))*v,t[1]=(h+g)*v,t[2]=(M-y)*v,t[3]=0,t[4]=(h-g)*S,t[5]=(1-(f+m))*S,t[6]=(d+p)*S,t[7]=0,t[8]=(M+y)*w,t[9]=(d-p)*w,t[10]=(1-(f+b))*w,t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}function q(t,n,r,e,a){const o=n[0],u=n[1],s=n[2],i=n[3],c=o+o,l=u+u,f=s+s,h=o*c,M=o*l,b=o*f,d=u*l,m=u*f,p=s*f,y=i*c,g=i*l,v=i*f,S=e[0],w=e[1],O=e[2],I=a[0],x=a[1],q=a[2],A=(1-(d+p))*S,R=(M+v)*S,_=(b-g)*S,j=(M-v)*w,T=(1-(h+p))*w,D=(m+y)*w,k=(b+g)*O,P=(m-y)*O,C=(1-(h+d))*O;return t[0]=A,t[1]=R,t[2]=_,t[3]=0,t[4]=j,t[5]=T,t[6]=D,t[7]=0,t[8]=k,t[9]=P,t[10]=C,t[11]=0,t[12]=r[0]+I-(A*I+j*x+k*q),t[13]=r[1]+x-(R*I+T*x+P*q),t[14]=r[2]+q-(_*I+D*x+C*q),t[15]=1,t}function A(t,n,r,e,a,o,u){const s=1/(r-n),i=1/(a-e),c=1/(o-u);return t[0]=2*o*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*o*i,t[6]=0,t[7]=0,t[8]=(r+n)*s,t[9]=(a+e)*i,t[10]=(u+o)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=u*o*2*c,t[15]=0,t}function R(t,n,r,e,a,o,u){const s=1/(n-r),i=1/(e-a),c=1/(o-u);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*i,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(n+r)*s,t[13]=(a+e)*i,t[14]=(u+o)*c,t[15]=1,t}function _(t,n,r,e){const o=n[0],u=n[1],i=n[2];let c=o-r[0],l=u-r[1],f=i-r[2];const h=(0,a.FD)();if(Math.abs(c)<h&&Math.abs(l)<h&&Math.abs(f)<h)return void s(t);let M=1/Math.sqrt(c*c+l*l+f*f);c*=M,l*=M,f*=M;const b=e[0],d=e[1],m=e[2];let p=d*f-m*l,y=m*c-b*f,g=b*l-d*c;M=Math.sqrt(p*p+y*y+g*g),M?(M=1/M,p*=M,y*=M,g*=M):(p=0,y=0,g=0);let v=l*g-f*y,S=f*p-c*g,w=c*y-l*p;M=Math.sqrt(v*v+S*S+w*w),M?(M=1/M,v*=M,S*=M,w*=M):(v=0,S=0,w=0),t[0]=p,t[1]=v,t[2]=c,t[3]=0,t[4]=y,t[5]=S,t[6]=l,t[7]=0,t[8]=g,t[9]=w,t[10]=f,t[11]=0,t[12]=-(p*o+y*u+g*i),t[13]=-(v*o+S*u+w*i),t[14]=-(c*o+l*u+f*i),t[15]=1}function j(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t[9]=n[9]-r[9],t[10]=n[10]-r[10],t[11]=n[11]-r[11],t[12]=n[12]-r[12],t[13]=n[13]-r[13],t[14]=n[14]-r[14],t[15]=n[15]-r[15],t}function T(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function D(t){const n=(0,a.FD)(),r=t[0],e=t[1],o=t[2],u=t[4],s=t[5],i=t[6],c=t[8],l=t[9],f=t[10];return Math.abs(1-(r*r+u*u+c*c))<=n&&Math.abs(1-(e*e+s*s+l*l))<=n&&Math.abs(1-(o*o+i*i+f*f))<=n}function k(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const P=f,C=j;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t[9]=n[9]+r[9],t[10]=n[10]+r[10],t[11]=n[11]+r[11],t[12]=n[12]+r[12],t[13]=n[13]+r[13],t[14]=n[14]+r[14],t[15]=n[15]+r[15],t},adjoint:function(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],u=n[4],s=n[5],i=n[6],c=n[7],l=n[8],f=n[9],h=n[10],M=n[11],b=n[12],d=n[13],m=n[14],p=n[15];return t[0]=s*(h*p-M*m)-f*(i*p-c*m)+d*(i*M-c*h),t[1]=-(e*(h*p-M*m)-f*(a*p-o*m)+d*(a*M-o*h)),t[2]=e*(i*p-c*m)-s*(a*p-o*m)+d*(a*c-o*i),t[3]=-(e*(i*M-c*h)-s*(a*M-o*h)+f*(a*c-o*i)),t[4]=-(u*(h*p-M*m)-l*(i*p-c*m)+b*(i*M-c*h)),t[5]=r*(h*p-M*m)-l*(a*p-o*m)+b*(a*M-o*h),t[6]=-(r*(i*p-c*m)-u*(a*p-o*m)+b*(a*c-o*i)),t[7]=r*(i*M-c*h)-u*(a*M-o*h)+l*(a*c-o*i),t[8]=u*(f*p-M*d)-l*(s*p-c*d)+b*(s*M-c*f),t[9]=-(r*(f*p-M*d)-l*(e*p-o*d)+b*(e*M-o*f)),t[10]=r*(s*p-c*d)-u*(e*p-o*d)+b*(e*c-o*s),t[11]=-(r*(s*M-c*f)-u*(e*M-o*f)+l*(e*c-o*s)),t[12]=-(u*(f*m-h*d)-l*(s*m-i*d)+b*(s*h-i*f)),t[13]=r*(f*m-h*d)-l*(e*m-a*d)+b*(e*h-a*f),t[14]=-(r*(s*m-i*d)-u*(e*m-a*d)+b*(e*i-a*s)),t[15]=r*(s*h-i*f)-u*(e*h-a*f)+l*(e*i-a*s),t},copy:o,determinant:function(t){const n=t[0],r=t[1],e=t[2],a=t[3],o=t[4],u=t[5],s=t[6],i=t[7],c=t[8],l=t[9],f=t[10],h=t[11],M=t[12],b=t[13],d=t[14],m=t[15];return(n*u-r*o)*(f*m-h*d)-(n*s-e*o)*(l*m-h*b)+(n*i-a*o)*(l*d-f*b)+(r*s-e*u)*(c*m-h*M)-(r*i-a*u)*(c*d-f*M)+(e*i-a*s)*(c*b-l*M)},equals:function(t,n){if(t===n)return!0;const r=t[0],e=t[1],o=t[2],u=t[3],s=t[4],i=t[5],c=t[6],l=t[7],f=t[8],h=t[9],M=t[10],b=t[11],d=t[12],m=t[13],p=t[14],y=t[15],g=n[0],v=n[1],S=n[2],w=n[3],O=n[4],I=n[5],x=n[6],q=n[7],A=n[8],R=n[9],_=n[10],j=n[11],T=n[12],D=n[13],k=n[14],P=n[15],C=(0,a.FD)();return Math.abs(r-g)<=C*Math.max(1,Math.abs(r),Math.abs(g))&&Math.abs(e-v)<=C*Math.max(1,Math.abs(e),Math.abs(v))&&Math.abs(o-S)<=C*Math.max(1,Math.abs(o),Math.abs(S))&&Math.abs(u-w)<=C*Math.max(1,Math.abs(u),Math.abs(w))&&Math.abs(s-O)<=C*Math.max(1,Math.abs(s),Math.abs(O))&&Math.abs(i-I)<=C*Math.max(1,Math.abs(i),Math.abs(I))&&Math.abs(c-x)<=C*Math.max(1,Math.abs(c),Math.abs(x))&&Math.abs(l-q)<=C*Math.max(1,Math.abs(l),Math.abs(q))&&Math.abs(f-A)<=C*Math.max(1,Math.abs(f),Math.abs(A))&&Math.abs(h-R)<=C*Math.max(1,Math.abs(h),Math.abs(R))&&Math.abs(M-_)<=C*Math.max(1,Math.abs(M),Math.abs(_))&&Math.abs(b-j)<=C*Math.max(1,Math.abs(b),Math.abs(j))&&Math.abs(d-T)<=C*Math.max(1,Math.abs(d),Math.abs(T))&&Math.abs(m-D)<=C*Math.max(1,Math.abs(m),Math.abs(D))&&Math.abs(p-k)<=C*Math.max(1,Math.abs(p),Math.abs(k))&&Math.abs(y-P)<=C*Math.max(1,Math.abs(y),Math.abs(P))},exactEquals:T,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],u=r+r,s=e+e,i=a+a,c=r*u,l=e*u,f=e*s,h=a*u,M=a*s,b=a*i,d=o*u,m=o*s,p=o*i;return t[0]=1-f-b,t[1]=l+p,t[2]=h-m,t[3]=0,t[4]=l-p,t[5]=1-c-b,t[6]=M+d,t[7]=0,t[8]=h+m,t[9]=M-d,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,n){const r=S,e=-n[0],a=-n[1],o=-n[2],u=n[3],s=n[4],i=n[5],c=n[6],l=n[7],f=e*e+a*a+o*o+u*u;return f>0?(r[0]=2*(s*u+l*e+i*o-c*a)/f,r[1]=2*(i*u+l*a+c*e-s*o)/f,r[2]=2*(c*u+l*o+s*a-i*e)/f):(r[0]=2*(s*u+l*e+i*o-c*a),r[1]=2*(i*u+l*a+c*e-s*o),r[2]=2*(c*u+l*o+s*a-i*e)),v(t,n,r),t},fromRotation:p,fromRotationTranslation:v,fromRotationTranslationScale:x,fromRotationTranslationScaleOrigin:q,fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:m,fromXRotation:y,fromYRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:g,frustum:A,getRotation:I,getScale:O,getTranslation:w,hasIdentityRotation:k,identity:s,invert:l,invertOrIdentity:c,isOrthoNormal:D,lookAt:_,mul:P,multiply:f,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t[9]=n[9]*r,t[10]=n[10]*r,t[11]=n[11]*r,t[12]=n[12]*r,t[13]=n[13]*r,t[14]=n[14]*r,t[15]=n[15]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t[9]=n[9]+r[9]*e,t[10]=n[10]+r[10]*e,t[11]=n[11]+r[11]*e,t[12]=n[12]+r[12]*e,t[13]=n[13]+r[13]*e,t[14]=n[14]+r[14]*e,t[15]=n[15]+r[15]*e,t},ortho:R,perspective:function(t,n,r,e,a){const o=1/Math.tan(n/2);let u;return t[0]=o/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=a&&a!==1/0?(u=1/(e-a),t[10]=(a+e)*u,t[14]=2*a*e*u):(t[10]=-1,t[14]=-2*e),t},perspectiveFromFieldOfView:function(t,n,r,e){const a=Math.tan(n.upDegrees*Math.PI/180),o=Math.tan(n.downDegrees*Math.PI/180),u=Math.tan(n.leftDegrees*Math.PI/180),s=Math.tan(n.rightDegrees*Math.PI/180),i=2/(u+s),c=2/(a+o);return t[0]=i,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(u-s)*i*.5,t[9]=(a-o)*c*.5,t[10]=e/(r-e),t[11]=-1,t[12]=0,t[13]=0,t[14]=e*r/(r-e),t[15]=0,t},rotate:b,rotateX:d,rotateY:function(t,n,r){const e=Math.sin(r),a=Math.cos(r),o=n[0],u=n[1],s=n[2],i=n[3],c=n[8],l=n[9],f=n[10],h=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*a-c*e,t[1]=u*a-l*e,t[2]=s*a-f*e,t[3]=i*a-h*e,t[8]=o*e+c*a,t[9]=u*e+l*a,t[10]=s*e+f*a,t[11]=i*e+h*a,t},rotateZ:function(t,n,r){const e=Math.sin(r),a=Math.cos(r),o=n[0],u=n[1],s=n[2],i=n[3],c=n[4],l=n[5],f=n[6],h=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*a+c*e,t[1]=u*a+l*e,t[2]=s*a+f*e,t[3]=i*a+h*e,t[4]=c*a-o*e,t[5]=l*a-u*e,t[6]=f*a-s*e,t[7]=h*a-i*e,t},scale:M,set:u,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:C,subtract:j,targetTo:function(t,n,r,e){const a=n[0],o=n[1],u=n[2],s=e[0],i=e[1],c=e[2];let l=a-r[0],f=o-r[1],h=u-r[2],M=l*l+f*f+h*h;M>0&&(M=1/Math.sqrt(M),l*=M,f*=M,h*=M);let b=i*h-c*f,d=c*l-s*h,m=s*f-i*l;return M=b*b+d*d+m*m,M>0&&(M=1/Math.sqrt(M),b*=M,d*=M,m*=M),t[0]=b,t[1]=d,t[2]=m,t[3]=0,t[4]=f*m-h*d,t[5]=h*b-l*m,t[6]=l*d-f*b,t[7]=0,t[8]=l,t[9]=f,t[10]=h,t[11]=0,t[12]=a,t[13]=o,t[14]=u,t[15]=1,t},translate:h,transpose:i},Symbol.toStringTag,{value:"Module"}))},35522(t,n,r){r.d(n,{$A:()=>x,Bw:()=>o,C:()=>u,Cc:()=>q,DI:()=>w,Io:()=>y,Ln:()=>p,Om:()=>I,Qr:()=>f,Re:()=>c,S8:()=>O,T9:()=>d,WQ:()=>i,Z0:()=>A,_S:()=>M,aI:()=>C,ei:()=>R,fw:()=>j,g7:()=>T,gL:()=>_,hG:()=>g,hZ:()=>s,hs:()=>m,jk:()=>b,lw:()=>l,m3:()=>v,oW:()=>F,t2:()=>P,tn:()=>h,ze:()=>S});var e=r(51850),a=r(34304);function o(t){const n=t[0],r=t[1],e=t[2];return Math.sqrt(n*n+r*r+e*e)}function u(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function s(t,n,r,e){return t[0]=n,t[1]=r,t[2]=e,t}function i(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t}function c(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t}function l(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t}function f(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t}function h(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function M(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function b(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t}function d(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t}function m(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t}function p(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t}function y(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2];return Math.sqrt(r*r+e*e+a*a)}function g(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2];return r*r+e*e+a*a}function v(t){const n=t[0],r=t[1],e=t[2];return n*n+r*r+e*e}function S(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function w(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function O(t,n){const r=n[0],e=n[1],a=n[2];let o=r*r+e*e+a*a;return o>0&&(o=1/Math.sqrt(o),t[0]=n[0]*o,t[1]=n[1]*o,t[2]=n[2]*o),t}function I(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function x(t,n,r){const e=n[0],a=n[1],o=n[2],u=r[0],s=r[1],i=r[2];return t[0]=a*i-o*s,t[1]=o*u-e*i,t[2]=e*s-a*u,t}function q(t,n,r,e){const a=n[0],o=n[1],u=n[2];return t[0]=a+e*(r[0]-a),t[1]=o+e*(r[1]-o),t[2]=u+e*(r[2]-u),t}function A(t,n,r){const e=n[0],a=n[1],o=n[2];return t[0]=r[0]*e+r[4]*a+r[8]*o+r[12],t[1]=r[1]*e+r[5]*a+r[9]*o+r[13],t[2]=r[2]*e+r[6]*a+r[10]*o+r[14],t}function R(t,n,r){const e=n[0],a=n[1],o=n[2];return t[0]=e*r[0]+a*r[3]+o*r[6],t[1]=e*r[1]+a*r[4]+o*r[7],t[2]=e*r[2]+a*r[5]+o*r[8],t}function _(t,n,r){return j(t,n,r[0],r[1],r[2],r[3])}function j(t,n,r,e,a,o){const u=n[0],s=n[1],i=n[2],c=e*i-a*s,l=a*u-r*i,f=r*s-e*u,h=e*f-a*l,M=a*c-r*f,b=r*l-e*c,d=2*o;return t[0]=u+c*d+2*h,t[1]=s+l*d+2*M,t[2]=i+f*d+2*b,t}function T(t,n){O(D,t),O(k,n);const r=I(D,k);return r>1?0:r<-1?Math.PI:Math.acos(r)}const D=(0,e.vt)(),k=(0,e.vt)();function P(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function C(t,n){if(t===n)return!0;const r=t[0],e=t[1],o=t[2],u=n[0],s=n[1],i=n[2],c=(0,a.FD)();return Math.abs(r-u)<=c*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(e-s)<=c*Math.max(1,Math.abs(e),Math.abs(s))&&Math.abs(o-i)<=c*Math.max(1,Math.abs(o),Math.abs(i))}function F(t,n,r){const e=r[0]-n[0],a=r[1]-n[1],o=r[2]-n[2];let u=e*e+a*a+o*o;return u>0?(u=1/Math.sqrt(u),t[0]=e*u,t[1]=a*u,t[2]=o*u,t):(t[0]=0,t[1]=0,t[2]=0,t)}const N=c,U=l,E=f,z=y,Z=g,Y=o,L=v;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:i,angle:T,bezier:function(t,n,r,e,a,o){const u=1-o,s=u*u,i=o*o,c=s*u,l=3*o*s,f=3*i*u,h=i*o;return t[0]=n[0]*c+r[0]*l+e[0]*f+a[0]*h,t[1]=n[1]*c+r[1]*l+e[1]*f+a[1]*h,t[2]=n[2]*c+r[2]*l+e[2]*f+a[2]*h,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,r=1){return t[0]=Math.min(Math.max(t[0],n),r),t[1]=Math.min(Math.max(t[1],n),r),t[2]=Math.min(Math.max(t[2],n),r),t},copy:u,cross:x,crossAndNormalize:function(t,n,r){const e=n[0],a=n[1],o=n[2],u=r[0],s=r[1],i=r[2],c=a*i-o*s,l=o*u-e*i,f=e*s-a*u,h=Math.sqrt(c*c+l*l+f*f);return t[0]=c/h,t[1]=l/h,t[2]=f/h,t},direction:F,dist:z,distance:y,div:E,divide:f,dot:I,equals:C,exactEquals:P,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,r,e,a,o){const u=o*o,s=u*(2*o-3)+1,i=u*(o-2)+o,c=u*(o-1),l=u*(3-2*o);return t[0]=n[0]*s+r[0]*i+e[0]*c+a[0]*l,t[1]=n[1]*s+r[1]*i+e[1]*c+a[1]*l,t[2]=n[2]*s+r[2]*i+e[2]*c+a[2]*l,t},inverse:w,len:Y,length:o,lerp:q,max:d,min:b,mul:U,multiply:l,negate:S,normalize:O,random:function(t,n=1){const r=a.Ov,e=2*r()*Math.PI,o=2*r()-1,u=Math.sqrt(1-o*o)*n;return t[0]=Math.cos(e)*u,t[1]=Math.sin(e)*u,t[2]=o*n,t},rotateX:function(t,n,r,e){const a=[],o=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],o[0]=a[0],o[1]=a[1]*Math.cos(e)-a[2]*Math.sin(e),o[2]=a[1]*Math.sin(e)+a[2]*Math.cos(e),t[0]=o[0]+r[0],t[1]=o[1]+r[1],t[2]=o[2]+r[2],t},rotateY:function(t,n,r,e){const a=[],o=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],o[0]=a[2]*Math.sin(e)+a[0]*Math.cos(e),o[1]=a[1],o[2]=a[2]*Math.cos(e)-a[0]*Math.sin(e),t[0]=o[0]+r[0],t[1]=o[1]+r[1],t[2]=o[2]+r[2],t},rotateZ:function(t,n,r,e){const a=[],o=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],o[0]=a[0]*Math.cos(e)-a[1]*Math.sin(e),o[1]=a[0]*Math.sin(e)+a[1]*Math.cos(e),o[2]=a[2],t[0]=o[0]+r[0],t[1]=o[1]+r[1],t[2]=o[2]+r[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:m,scaleAndAdd:p,set:s,sign:M,sqrDist:Z,sqrLen:L,squaredDistance:g,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:N,subtract:c,transformMat3:R,transformMat4:A,transformQuat:_,transformQuatValues:j},Symbol.toStringTag,{value:"Module"})),r.d(n,["Il",0,Y,"jb",0,N,"lo",0,Z,"uE",0,L,"xg",0,z])},78955(t,n,r){r.d(n,{Bw:()=>m,C:()=>a,Cc:()=>v,LI:()=>h,Om:()=>g,S8:()=>y,T9:()=>f,WQ:()=>u,Z0:()=>S,aI:()=>O,hG:()=>d,hZ:()=>o,hs:()=>M,jk:()=>l,m3:()=>p,t2:()=>w});var e=r(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function o(t,n,r,e,a){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t}function u(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t}function s(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t}function i(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t[3]=n[3]*r[3],t}function c(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t[3]=n[3]/r[3],t}function l(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t[3]=Math.min(n[3],r[3]),t}function f(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t[3]=Math.max(n[3],r[3]),t}function h(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t}function M(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t}function b(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2],o=n[3]-t[3];return Math.sqrt(r*r+e*e+a*a+o*o)}function d(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2],o=n[3]-t[3];return r*r+e*e+a*a+o*o}function m(t){const n=t[0],r=t[1],e=t[2],a=t[3];return Math.sqrt(n*n+r*r+e*e+a*a)}function p(t){const n=t[0],r=t[1],e=t[2],a=t[3];return n*n+r*r+e*e+a*a}function y(t,n){const r=n[0],e=n[1],a=n[2],o=n[3];let u=r*r+e*e+a*a+o*o;return u>0&&(u=1/Math.sqrt(u),t[0]=r*u,t[1]=e*u,t[2]=a*u,t[3]=o*u),t}function g(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function v(t,n,r,e){const a=n[0],o=n[1],u=n[2],s=n[3];return t[0]=a+e*(r[0]-a),t[1]=o+e*(r[1]-o),t[2]=u+e*(r[2]-u),t[3]=s+e*(r[3]-s),t}function S(t,n,r){const e=n[0],a=n[1],o=n[2],u=n[3];return t[0]=r[0]*e+r[4]*a+r[8]*o+r[12]*u,t[1]=r[1]*e+r[5]*a+r[9]*o+r[13]*u,t[2]=r[2]*e+r[6]*a+r[10]*o+r[14]*u,t[3]=r[3]*e+r[7]*a+r[11]*o+r[15]*u,t}function w(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function O(t,n){const r=t[0],a=t[1],o=t[2],u=t[3],s=n[0],i=n[1],c=n[2],l=n[3],f=(0,e.FD)();return Math.abs(r-s)<=f*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(a-i)<=f*Math.max(1,Math.abs(a),Math.abs(i))&&Math.abs(o-c)<=f*Math.max(1,Math.abs(o),Math.abs(c))&&Math.abs(u-l)<=f*Math.max(1,Math.abs(u),Math.abs(l))}const I=s,x=i,q=c,A=b,R=d,_=m,j=p;Object.freeze(Object.defineProperty({__proto__:null,add:u,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t},copy:a,copyVec3:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t},dist:A,distance:b,div:q,divide:c,dot:g,equals:O,exactEquals:w,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t},len:_,length:m,lerp:v,max:f,min:l,mul:x,multiply:i,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t},normalize:y,random:function(t,n=1){const r=e.Ov;let a,o,u,s,i,c;do{a=2*r()-1,o=2*r()-1,i=a*a+o*o}while(i>=1);do{u=2*r()-1,s=2*r()-1,c=u*u+s*s}while(c>=1);const l=Math.sqrt((1-i)/c);return t[0]=n*a,t[1]=n*o,t[2]=n*u*l,t[3]=n*s*l,t},round:h,scale:M,scaleAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t},set:o,sqrDist:R,sqrLen:j,squaredDistance:d,squaredLength:p,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:I,subtract:s,transformMat4:S,transformQuat:function(t,n,r){const e=n[0],a=n[1],o=n[2],u=r[0],s=r[1],i=r[2],c=r[3],l=c*e+s*o-i*a,f=c*a+i*e-u*o,h=c*o+u*a-s*e,M=-u*e-s*a-i*o;return t[0]=l*c+M*-u+f*-i-h*-s,t[1]=f*c+M*-s+h*-u-l*-i,t[2]=h*c+M*-i+l*-s-f*-u,t[3]=n[3],t}},Symbol.toStringTag,{value:"Module"}))},9762(t,n,r){r.r(n),r.d(n,{projectBuffer:()=>a});var e=r(49208);function a(t,n,r,a,o,u,s=Math.floor(t.length/3)){const i=(0,e.jd)(n,o);if(null==i)return!1;if(i===e.pO){if(t===a&&r===u)return!0;const n=r+3*s;for(let e=r,o=u;e<n;e++,o++)a[o]=t[e]??0;return!0}const c=r+3*s;for(let n=r,e=u;n<c;n+=3,e+=3)i(t,n,a,e);return!0}},49208(t,n,r){r.d(n,{Tp:()=>f,jd:()=>l,pO:()=>M});var e=r(34727),a=r(86211),o=r(73941),u=r(79258),s=r(34403),i=r(21325);const c={2:{5:M,7:null,9:null,10:M,1:S,6:null,8:null,0:null,3:d,11:m,2:M,4:q},5:{5:M,7:null,9:null,10:M,1:S,6:null,8:null,0:null,3:d,11:m,2:M,4:q},7:{5:null,7:M,9:null,10:M,1:null,6:v,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:g,0:null,3:null,11:null,2:null,4:null},3:{5:b,7:null,9:null,10:b,1:function(t,n,r,e){const a=t[n]/D,o=T-2*Math.atan(Math.exp(-t[n+1]/D)),u=D+(t[n+2]??0),s=Math.cos(o)*u;r[e]=Math.cos(a)*s,r[e+1]=Math.sin(a)*s,r[e+2]=Math.sin(o)*u},6:null,8:null,0:null,3:M,11:function(t,n,r,e){b(t,n,r,e),m(r,e,r,e)},2:b,4:function(t,n,r,e){b(t,n,r,e),q(r,e,r,e)}},4:{5:A,7:null,9:null,10:A,1:function(t,n,r,e){A(t,n,r,e),S(r,e,r,e)},6:null,8:null,0:null,3:function(t,n,r,e){A(t,n,r,e),d(r,e,r,e)},11:function(t,n,r,e){A(t,n,r,e),m(r,e,r,e)},2:A,4:M},1:{5:x,7:null,9:null,10:x,1:M,6:null,8:null,0:null,3:function(t,n,r,e){x(t,n,r,e),d(r,e,r,e)},11:function(t,n,r,e){x(t,n,r,e),m(r,e,r,e)},2:x,4:function(t,n,r,e){x(t,n,r,e),q(r,e,r,e)}},6:{5:null,7:I,9:null,10:I,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:O,10:O,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:S,6:v,8:g,0:null,3:d,11:m,2:M,4:q},11:{5:p,7:null,9:null,10:p,1:function(t,n,r,e){p(t,n,r,e),S(r,e,r,e)},6:null,8:null,0:null,3:function(t,n,r,e){p(t,n,r,e),d(r,e,r,e)},11:M,2:p,4:function(t,n,r,e){p(t,n,r,e),q(r,e,r,e)}}};function l(t,n){return f(t,n)?.projector}function f(t,n){if(null==t||null==n)return null;if(R.source.spatialReference===t&&R.dest.spatialReference===n)return R;const r=h(t,R.source),e=h(n,R.dest);return 0===r&&0===e?(0,i.aI)(t,n)?R.projector=M:R.projector=null:R.projector=c[r][e],R}function h(t,n){return t?n.spatialReference===t?n.spatialReferenceId:(n.spatialReference=t,"metersPerUnit"in n&&(n.metersPerUnit=(0,a.GA)(t,1)),(0,o.jA)(t)?n.spatialReferenceId=1:(0,i.oT)(t)?n.spatialReferenceId=2:(0,i.K8)(t)?n.spatialReferenceId=3:(0,i.r1)(t)?n.spatialReferenceId=11:t.wkt===o.Ro.wkt?n.spatialReferenceId=4:4490===t.wkid?n.spatialReferenceId=5:t.wkt===o.FY.wkt?n.spatialReferenceId=6:t.wkt===o.LJ.wkt?n.spatialReferenceId=8:(0,o.q8)(t)?n.spatialReferenceId=7:(0,o.KQ)(t)?n.spatialReferenceId=9:n.spatialReferenceId=0):0}function M(t,n,r,e){t!==r&&(r[e++]=t[n++],r[e++]=t[n++],r[e]=t[n]??0)}function b(t,n,r,e){r[e]=j*(t[n]/D),r[e+1]=j*(T-2*Math.atan(Math.exp(-t[n+1]/D))),r[e+2]=t[n+2]??0}function d(t,n,r,a){!function(t,n,r,a,o){const u=.4999999*Math.PI,s=(0,e.qE)(_*t[n+1],-u,u),i=Math.sin(s);r[a++]=_*t[n]*o.radius,r[a++]=o.halfSemiMajorAxis*Math.log((1+i)/(1-i)),r[a]=t[n+2]??0}(t,n,r,a,u.$O)}function m(t,n,r,e){r[e]=t[n]*k,r[e+1]=t[n+1]*k,r[e+2]=t[n+2]??0}function p(t,n,r,e){r[e]=t[n]*P,r[e+1]=t[n+1]*P,r[e+2]=t[n+2]??0}function y(t,n,r,e,a){const o=a+(t[n+2]??0),u=_*t[n],s=_*t[n+1],i=Math.cos(s)*o;r[e]=Math.cos(u)*i,r[e+1]=Math.sin(u)*i,r[e+2]=Math.sin(s)*o}function g(t,n,r,e){y(t,n,r,e,u.Sw.radius)}function v(t,n,r,e){y(t,n,r,e,u.sH.radius)}function S(t,n,r,e){y(t,n,r,e,u.$O.radius)}function w(t,n,r,a,o){const u=t[n],s=t[n+1],i=t[n+2]??0,c=Math.sqrt(u*u+s*s+i*i),l=(0,e.YN)(i/(0===c?1:c)),f=Math.atan2(s,u);r[a++]=j*f,r[a++]=j*l,r[a]=c-o}function O(t,n,r,e){w(t,n,r,e,u.Sw.radius)}function I(t,n,r,e){w(t,n,r,e,u.sH.radius)}function x(t,n,r,e){w(t,n,r,e,u.$O.radius)}function q(t,n,r,e){!function(t,n,r,e,a){const o=_*t[n],u=_*t[n+1],s=t[n+2]??0,i=Math.sin(u),c=Math.cos(u),l=a.radius/Math.sqrt(1-a.eccentricitySquared*i*i);r[e++]=(l+s)*c*Math.cos(o),r[e++]=(l+s)*c*Math.sin(o),r[e++]=(l*(1-a.eccentricitySquared)+s)*i}(t,n,r,e,u.$O)}function A(t,n,r,e){const a=s.TP,o=t[n],i=t[n+1],c=t[n+2]??0;let l,f,h,M,b,d,m,p,y,g,v,S,w,O,I,x,q,A,R,_,T;l=Math.abs(c),f=o*o+i*i,h=Math.sqrt(f),M=f+c*c,b=Math.sqrt(M),_=Math.atan2(i,o),d=c*c/M,m=f/M,O=a.a2/b,I=a.a3-a.a4/b,m>.3?(p=l/b*(1+m*(a.a1+O+d*I)/b),R=Math.asin(p),g=p*p,y=Math.sqrt(1-g)):(y=h/b*(1-d*(a.a5-O-m*I)/b),R=Math.acos(y),g=1-y*y,p=Math.sqrt(g)),v=1-u.$O.eccentricitySquared*g,S=u.$O.radius/Math.sqrt(v),w=a.a6*S,O=h-S*y,I=l-w*p,q=y*O+p*I,x=y*I-p*O,A=x/(w/v+q),R+=A,T=q+x*A/2,c<0&&(R=-R),r[e++]=j*_,r[e++]=j*R,r[e]=T}const R={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:M},_=(0,e.kU)(1),j=(0,e.KJ)(1),T=.5*Math.PI,D=u.$O.radius,k=D*Math.PI/180,P=180/(D*Math.PI);r.d(n,["w5",0,c])},98764(t,n,r){r.d(n,{lO:()=>l});var e=r(73941),a=r(16930),o=r(21325);const u=new a.A(e.fv),s=new a.A(e.FY),i=new a.A(e.LJ),c=new a.A(e.Ro);function l(t){const n=f.get(t);if(n)return n;let r=u;if(t)if(t===s)r=s;else if(t===i)r=i;else{const n=t.wkid,e=t.latestWkid;if(null!=n||null!=e)(0,o.tl)(n)||(0,o.tl)(e)?r=s:((0,o.ZL)(n)||(0,o.ZL)(e))&&(r=i);else{const n=t.wkt2??t.wkt;if(n){const t=n.toUpperCase();t===h?r=s:t===M&&(r=i)}}}return f.set(t,r),r}const f=new Map,h=s.wkt.toUpperCase(),M=i.wkt.toUpperCase();r.d(n,["GD",0,u,"Y0",0,c])},34403(t,n,r){var e=r(79258);Math.PI;const a=e.$O.radius,o=e.$O.eccentricitySquared,u={a1:a*o,a2:a*o*a*o,a3:a*o*o/2,a4:a*o*a*o*2.5,a5:a*o+a*o*o/2,a6:1-o};e.$O.radius,e.$O.flattening,e.Sw.radius,e.Sw.flattening,e.sH.radius,e.sH.flattening,e.sH.radius,r.d(n,["TP",0,u])},64798(t,n,r){r.r(n),r.d(n,{default:()=>C});var e=r(4576),a=r(34275),o=r(82534),u=r(35522);function s(){return new Float32Array(3)}function i(t){const n=new Float32Array(3);return n[0]=t[0],n[1]=t[1],n[2]=t[2],n}function c(t,n,r){const e=new Float32Array(3);return e[0]=t,e[1]=n,e[2]=r,e}function l(){return s()}function f(){return c(1,1,1)}function h(){return c(1,0,0)}function M(){return c(0,1,0)}function b(){return c(0,0,1)}const d=l(),m=f(),p=h(),y=M(),g=b();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:p,UNIT_Y:y,UNIT_Z:g,ZEROS:d,clone:i,create:s,fromValues:c,ones:f,unitX:h,unitY:M,unitZ:b,zeros:l},Symbol.toStringTag,{value:"Module"}));var v=r(51850),S=r(16930),w=r(9762),O=r(63531),I=r(69846),x=r(48425),q=r(59418),A=r(37203);function R(t,n,r){return t?.attributeInfo.useElevation?n?function(t,n){const r=new Float64Array(n);for(let e=0;e<n;e++)r[e]=t[3*e+2];return r}(n,r):null:t?.attributeInfo.storageInfo?(0,q.m0)(t.attributeInfo.storageInfo,t.buffer,r,!0):null}function _(t){switch(t){default:case null:case"none":return t=>t;case"low-four-bit":return t=>15&t;case"high-four-bit":return t=>(240&t)>>4;case"absolute-value":return t=>Math.abs(t);case"modulo-ten":return t=>t%10}}function j(t){let n=0;for(const r of t||[])n|=1<<r;return n}var T=r(57005);class D{transform(t){const n=this._transform(t),r=[n.points.buffer,n.rgb.buffer];null!=n.pointIdFilterMap&&r.push(n.pointIdFilterMap.buffer);for(const t of n.attributes)"buffer"in t.values&&(0,a.mw)(t.values.buffer)&&t.values.buffer!==n.rgb.buffer&&r.push(t.values.buffer);return Promise.resolve({result:n,transferList:r})}_transform(t){const n=function(t,n){if(null==t.encoding||""===t.encoding){const r=(0,q.wH)(n,t);if(null==r.vertexAttributes.position)return;const e=(0,q.MA)(n,r.vertexAttributes.position),a=r.header.fields,o=[a.offsetX,a.offsetY,a.offsetZ],u=[a.scaleX,a.scaleY,a.scaleZ],s=e.length/3,i=new Float64Array(3*s);for(let t=0;t<s;t++)i[3*t]=e[3*t]*u[0]+o[0],i[3*t+1]=e[3*t+1]*u[1]+o[1],i[3*t+2]=e[3*t+2]*u[2]+o[2];return i}if("lepcc-xyz"===t.encoding)return(0,A.Me)(n).result}(t.schema,t.geometryBuffer);let r=n.length/3,a=null;const o=new Array,u=R(t.primaryAttributeData,n,r);null!=t.primaryAttributeData&&u&&o.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:u});const s=R(t.modulationAttributeData,n,r);null!=t.modulationAttributeData&&s&&o.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:s});let i=function(t,n,r,e){const{rendererJSON:a,isRGBRenderer:o}=t;let u=null,s=null;if(n&&o)u=n;else if(n&&"pointCloudUniqueValueRenderer"===a?.type){s=x.A.fromJSON(a);const t=s.colorUniqueValueInfos;u=new Uint8Array(3*e);const r=_(s.fieldTransformType);for(let a=0;a<e;a++){const e=(r?r(n[a]):n[a])+"";for(let n=0;n<t.length;n++)if(t[n].values.includes(e)){u[3*a]=t[n].color.r,u[3*a+1]=t[n].color.g,u[3*a+2]=t[n].color.b;break}}}else if(n&&"pointCloudStretchRenderer"===a?.type){s=I.A.fromJSON(a);const t=s.stops;u=new Uint8Array(3*e);const r=_(s.fieldTransformType);for(let a=0;a<e;a++){const e=r?r(n[a]):n[a],o=t.length-1;if(e<t[0].value)u[3*a]=t[0].color.r,u[3*a+1]=t[0].color.g,u[3*a+2]=t[0].color.b;else if(e>=t[o].value)u[3*a]=t[o].color.r,u[3*a+1]=t[o].color.g,u[3*a+2]=t[o].color.b;else for(let n=1;n<t.length;n++)if(e<t[n].value){const r=(e-t[n-1].value)/(t[n].value-t[n-1].value);u[3*a]=t[n].color.r*r+t[n-1].color.r*(1-r),u[3*a+1]=t[n].color.g*r+t[n-1].color.g*(1-r),u[3*a+2]=t[n].color.b*r+t[n-1].color.b*(1-r);break}}}else if(n&&"pointCloudClassBreaksRenderer"===a?.type){s=O.A.fromJSON(a);const t=s.colorClassBreakInfos;u=new Uint8Array(3*e);const r=_(s.fieldTransformType);for(let a=0;a<e;a++){const e=r?r(n[a]):n[a];for(let n=0;n<t.length;n++)if(e>=t[n].minValue&&e<=t[n].maxValue){u[3*a]=t[n].color.r,u[3*a+1]=t[n].color.g,u[3*a+2]=t[n].color.b;break}}}else u=new Uint8Array(3*e).fill(255);if(r&&s?.colorModulation){const t=s.colorModulation.minValue,n=s.colorModulation.maxValue,a=.3;for(let o=0;o<e;o++){const e=r[o],s=e>=n?1:e<=t?a:a+(1-a)*(e-t)/(n-t);u[3*o]=s*u[3*o],u[3*o+1]=s*u[3*o+1],u[3*o+2]=s*u[3*o+2]}}return u}(t.rendererInfo,u,s,r);if(t.filterInfo&&t.filterInfo.length>0&&null!=t.filterAttributesData){const u=t.filterAttributesData.filter(e.Ru).map(t=>{const e=R(t,n,r),a={attributeInfo:t.attributeInfo,values:e};return o.push(a),a});a=new Uint32Array(r),r=function(t,n,r,e,a){const o=t.length/3,u=function(t){return t.map(t=>{const{filterJSON:n}=t;switch(n.type){case"pointCloudValueFilter":return{...t,valuesSet:new Set(n.values)};case"pointCloudBitfieldFilter":return{...t,clearMask:j(n.requiredClearBits),requiredMask:j(n.requiredSetBits)};default:return t}})}(e);let s=0;for(let e=0;e<o;e++){let o=!0;for(let t=0;t<u.length&&o;t++){const{clearMask:n,filterJSON:r,requiredMask:s,valuesSet:i}=u[t],c=a[t].values[e];switch(r.type){case"pointCloudValueFilter":{const t="exclude"===r.mode;i.has(c)===t&&(o=!1);break}case"pointCloudBitfieldFilter":(c&s)===s&&0===(c&n)||(o=!1);break;case"pointCloudReturnFilter":{const t=15&c,n=c>>>4&15,e=n>1,a=1===t,u=t===n;let s=!1;for(const t of r.includedReturns)if("last"===t&&u||"firstOfMany"===t&&a&&e||"lastOfMany"===t&&u&&e||"single"===t&&!e){s=!0;break}s||(o=!1);break}}}o&&(r[s]=e,t[3*s]=t[3*e],t[3*s+1]=t[3*e+1],t[3*s+2]=t[3*e+2],n[3*s]=n[3*e],n[3*s+1]=n[3*e+1],n[3*s+2]=n[3*e+2],s++)}return s}(n,i,a,t.filterInfo,u)}for(const e of t.userAttributesData){const t=R(e,n,r);o.push({attributeInfo:e.attributeInfo,values:t})}3*r<i.length&&(i=i.slice(0,3*r)),function(t,n,r){if(0!==r)for(let e=0;e<n;e++)t[3*e+2]+=r}(n,r,t.elevationOffset);const c=k(n,r,T.ab.fromData(t.obbData),S.A.fromJSON(t.inSR),S.A.fromJSON(t.outSR));return{obbData:t.obbData,points:c,rgb:i,attributes:o,pointIdFilterMap:a}}}function k(t,n,r,e,a){if(!(0,w.projectBuffer)(t,e,0,t,a,0,n))throw new Error("Can't reproject");const o=i(r.getCenter((0,v.vt)())),l=s(),f=s(),h=c(r.halfSizeX,r.halfSizeY,r.halfSizeZ);r.getQuaternionConjugate(P);const M=new Float32Array(3*n);for(let r=0;r<n;r++){let n=3*r;l[0]=t[n]-o[0],l[1]=t[n+1]-o[1],l[2]=t[n+2]-o[2],(0,u.gL)(f,l,P),h[0]=Math.max(h[0],Math.abs(f[0])),h[1]=Math.max(h[1],Math.abs(f[1])),h[2]=Math.max(h[2],Math.abs(f[2])),M[n++]=l[0],M[n++]=l[1],M[n]=l[2]}return r.setHalfSize(h),M}const P=(0,o.vt)();function C(){return new D}}}]);
|