@arcgis/core 6.0.0-next.47 → 6.0.0-next.48
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/PopupTemplate.js +1 -1
- package/applications/MapViewer/mediaUtils.js +1 -1
- package/applications/Play/transformToolUtils.d.ts +74 -0
- package/applications/Play/transformToolUtils.js +2 -0
- package/arcgisGlobal.d.ts +2 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/00331b59ca88e333fef8.js +1 -0
- package/assets/esri/core/workers/chunks/01f834149d0f89deaef8.js +1 -0
- package/assets/esri/core/workers/chunks/021bd07b9a3e70598840.js +1 -0
- package/assets/esri/core/workers/chunks/022565ef98a702ab952f.js +1 -0
- package/assets/esri/core/workers/chunks/037c2d2ccb4bf4db4fec.js +1 -0
- package/assets/esri/core/workers/chunks/042d7669093a16d6e77e.js +1 -0
- package/assets/esri/core/workers/chunks/04ee9dc3e5a90d015f2f.js +1 -0
- package/assets/esri/core/workers/chunks/052b248db9ff46c6f36b.js +1 -0
- package/assets/esri/core/workers/chunks/{0ac38ca04285cd5ef1a0.js → 056a815273653271bf75.js} +37 -31
- package/assets/esri/core/workers/chunks/05ec995edeb73ccba8b6.js +1 -0
- package/assets/esri/core/workers/chunks/0636a6629bd42b67ad00.js +1 -0
- package/assets/esri/core/workers/chunks/06966406bee9c33beac7.js +1 -0
- package/assets/esri/core/workers/chunks/07ce1d788ed1c9b926db.js +2 -0
- package/assets/esri/core/workers/chunks/0a7d721d8ce5803124ed.js +1 -0
- package/assets/esri/core/workers/chunks/0c1f1eba7846a05c6fcc.js +1 -0
- package/assets/esri/core/workers/chunks/0c90f857976527db567e.js +1 -0
- package/assets/esri/core/workers/chunks/0d83237e9c7291ec3ef5.js +1 -0
- package/assets/esri/core/workers/chunks/0fd5ff5b6037c89257ec.js +1 -0
- package/assets/esri/core/workers/chunks/1053e9bc73cded8d403a.js +1 -0
- package/assets/esri/core/workers/chunks/110f78d5e78732750097.js +1 -0
- package/assets/esri/core/workers/chunks/12add2003631fa314f25.js +1 -0
- package/assets/esri/core/workers/chunks/1345413ec0b4128849b1.js +1 -0
- package/assets/esri/core/workers/chunks/13a5d2c9d2ae6b0a297b.js +1 -0
- package/assets/esri/core/workers/chunks/1430be5ba5a20d587b37.js +1 -0
- package/assets/esri/core/workers/chunks/14a00ec7bc0f230d994c.js +1 -0
- package/assets/esri/core/workers/chunks/14bac20e21bad6bb95c8.js +1 -0
- package/assets/esri/core/workers/chunks/163e97987e1f75610009.js +1 -0
- package/assets/esri/core/workers/chunks/1680091022f0964d47b1.js +1 -0
- package/assets/esri/core/workers/chunks/16d0433d1b02606fdd00.js +1 -0
- package/assets/esri/core/workers/chunks/16e4686ec9e408716087.js +1 -0
- package/assets/esri/core/workers/chunks/1705e9d085499a854f14.js +1 -0
- package/assets/esri/core/workers/chunks/1908da6e2b1e5f6d2992.js +1 -0
- package/assets/esri/core/workers/chunks/1971dbb6ac3ce1d5e367.js +1 -0
- package/assets/esri/core/workers/chunks/1afe435a9a23858e694e.js +1 -0
- package/assets/esri/core/workers/chunks/1b4e53575290d7a3feb1.js +1 -0
- package/assets/esri/core/workers/chunks/1bde6b7b54f07573d031.js +1 -0
- package/assets/esri/core/workers/chunks/1c7a21387d11dc907ae4.js +1 -0
- package/assets/esri/core/workers/chunks/1c7bd11f6014ffe7aac5.js +1 -0
- package/assets/esri/core/workers/chunks/1d4db5c0de1b1440b7c8.js +1 -0
- package/assets/esri/core/workers/chunks/1d57b1445afec89a7941.js +1 -0
- package/assets/esri/core/workers/chunks/1d9e5298ee4309022ee1.js +1 -0
- package/assets/esri/core/workers/chunks/1e39f97cc9ffbc282ffe.js +1 -0
- package/assets/esri/core/workers/chunks/1f94ce4d7595018e7b90.js +1 -0
- package/assets/esri/core/workers/chunks/2019b43c545b01f2c3fd.js +1 -0
- package/assets/esri/core/workers/chunks/21911cdbbf068cbf8641.js +1 -0
- package/assets/esri/core/workers/chunks/21aa29039a95debd7f44.js +1 -0
- package/assets/esri/core/workers/chunks/22c131418a907bf09cc0.js +1 -0
- package/assets/esri/core/workers/chunks/230e5be597a8e8172513.js +1 -0
- package/assets/esri/core/workers/chunks/23ed0f61c49df3ae631e.js +1 -0
- package/assets/esri/core/workers/chunks/2415db54c6da71c857a6.js +1 -0
- package/assets/esri/core/workers/chunks/244816f7dc50581b826b.js +1 -0
- package/assets/esri/core/workers/chunks/2458d6504682c1877ddc.js +1 -0
- package/assets/esri/core/workers/chunks/2502688aa275d9064e78.js +1 -0
- package/assets/esri/core/workers/chunks/250e6c23dbf50dbcf749.js +1 -0
- package/assets/esri/core/workers/chunks/255f5b45c4d32f97f86c.js +1 -0
- package/assets/esri/core/workers/chunks/27dfc461e44b58e7fbc0.js +1 -0
- package/assets/esri/core/workers/chunks/28425ff10dc0b181a6ba.js +1 -0
- package/assets/esri/core/workers/chunks/297fc73f8018d870ab82.js +1 -0
- package/assets/esri/core/workers/chunks/29b74a3ff03d3c8b65dc.js +1 -0
- package/assets/esri/core/workers/chunks/2d106419cd3a161587bd.js +1 -0
- package/assets/esri/core/workers/chunks/2fcd168262942494452a.js +1 -0
- package/assets/esri/core/workers/chunks/2fe55882a9ff5a74867b.js +1 -0
- package/assets/esri/core/workers/chunks/31f9d86b2a2bb05143b5.js +1 -0
- package/assets/esri/core/workers/chunks/340a893f1003953adab7.js +1 -0
- package/assets/esri/core/workers/chunks/341970c3550c9ca3938d.js +1 -0
- package/assets/esri/core/workers/chunks/3654672d772d11484883.js +1 -0
- package/assets/esri/core/workers/chunks/3695ed5d82ea1514147e.js +1 -0
- package/assets/esri/core/workers/chunks/3737025b8ed71099890f.js +1 -0
- package/assets/esri/core/workers/chunks/38b7ae210c9d39449853.js +1 -0
- package/assets/esri/core/workers/chunks/38ea54b715a08bd8d794.js +1 -0
- package/assets/esri/core/workers/chunks/3ab33631e0f6f8f2cbbc.js +1 -0
- package/assets/esri/core/workers/chunks/3ad149ec07285a3f5777.js +1 -0
- package/assets/esri/core/workers/chunks/3af0ff5a0b82872aac38.js +1 -0
- package/assets/esri/core/workers/chunks/3b434fc144f6b1a21f97.js +1 -0
- package/assets/esri/core/workers/chunks/3b9415dfd7546aeec261.js +1 -0
- package/assets/esri/core/workers/chunks/3be49515f93ea3730be3.js +1 -0
- package/assets/esri/core/workers/chunks/3d9294dd813707e48e55.js +1 -0
- package/assets/esri/core/workers/chunks/3ddcf58242f02feea584.js +1 -0
- package/assets/esri/core/workers/chunks/3e4fda8f6fea1ce84712.js +1 -0
- package/assets/esri/core/workers/chunks/3e57f8128102a72e7930.js +1 -0
- package/assets/esri/core/workers/chunks/3e9a72ea2d6d37a543dd.js +1 -0
- package/assets/esri/core/workers/chunks/3fac9a1b43b1035b22d6.js +1 -0
- package/assets/esri/core/workers/chunks/3fdce20b9efc05dd1cbe.js +1 -0
- package/assets/esri/core/workers/chunks/40af4142bc92166aaaf2.js +1 -0
- package/assets/esri/core/workers/chunks/40b101a969ac2b113a99.js +1 -0
- package/assets/esri/core/workers/chunks/412c7d198ee121b34494.js +1 -0
- package/assets/esri/core/workers/chunks/41c9880c718f0aaba78a.js +1 -0
- package/assets/esri/core/workers/chunks/42953a1ea2872f087d25.js +1 -0
- package/assets/esri/core/workers/chunks/45f02d1ec060615fa7c5.js +1 -0
- package/assets/esri/core/workers/chunks/4608f4ba5649f107827f.js +1 -0
- package/assets/esri/core/workers/chunks/476b42902f6d0cb03489.js +1 -0
- package/assets/esri/core/workers/chunks/47cd157c9d11986d8d3a.js +1 -0
- package/assets/esri/core/workers/chunks/4813bd8bff055eb29377.js +1 -0
- package/assets/esri/core/workers/chunks/48937df95a2e03412dfd.js +1 -0
- package/assets/esri/core/workers/chunks/48b60ff59afbae865de1.js +1 -0
- package/assets/esri/core/workers/chunks/49cde0a9b3f1c3965f26.js +1 -0
- package/assets/esri/core/workers/chunks/4a41bf3d1e2e9bb79771.js +2 -0
- package/assets/esri/core/workers/chunks/4a45f63b37f1e736e99d.js +1 -0
- package/assets/esri/core/workers/chunks/4cf8bddc3e0619e34424.js +1 -0
- package/assets/esri/core/workers/chunks/4d2d9d4e31af8af43445.js +1 -0
- package/assets/esri/core/workers/chunks/4dc75d9c860177cfc012.js +1 -0
- package/assets/esri/core/workers/chunks/4e3414d75d8378490207.js +1 -0
- package/assets/esri/core/workers/chunks/4e4eedddd954f4ad3841.js +1 -0
- package/assets/esri/core/workers/chunks/50440f9865edd9b4851d.js +1 -0
- package/assets/esri/core/workers/chunks/5109b48666138df14038.js +1 -0
- package/assets/esri/core/workers/chunks/5253933277d16dbe7ab6.js +1 -0
- package/assets/esri/core/workers/chunks/52f96030709bd29ef47d.js +1 -0
- package/assets/esri/core/workers/chunks/53277ccca55731e6eb36.js +1 -0
- package/assets/esri/core/workers/chunks/53daa71ecf0155eeb498.js +1 -0
- package/assets/esri/core/workers/chunks/5404ffa9aa1f3fa9973a.js +1 -0
- package/assets/esri/core/workers/chunks/54a99b10f2ecf76061af.js +1 -0
- package/assets/esri/core/workers/chunks/556f4ee089f71bf201c2.js +1 -0
- package/assets/esri/core/workers/chunks/55ac40a5257faf92c43d.js +1 -0
- package/assets/esri/core/workers/chunks/55d28d3f5b8ced061e39.js +1 -0
- package/assets/esri/core/workers/chunks/560961eeacc861a690a1.js +1 -0
- package/assets/esri/core/workers/chunks/564b38915cc3a44a96ea.js +1 -0
- package/assets/esri/core/workers/chunks/5729baa3151ac10d0d04.js +1 -0
- package/assets/esri/core/workers/chunks/57cf2bd82b006e78f8e5.js +1 -0
- package/assets/esri/core/workers/chunks/5928c270c5bf4345dab5.js +1 -0
- package/assets/esri/core/workers/chunks/5af001311d2042f14738.js +1 -0
- package/assets/esri/core/workers/chunks/5afd379eaf3d37be0854.js +1 -0
- package/assets/esri/core/workers/chunks/5b2e95bd0f48f4b283bc.js +1 -0
- package/assets/esri/core/workers/chunks/5bda285f6ecf725676b3.js +1 -0
- package/assets/esri/core/workers/chunks/5bea201cb7e24b14b852.js +1 -0
- package/assets/esri/core/workers/chunks/5cd896edff4829aab42e.js +1 -0
- package/assets/esri/core/workers/chunks/5d14591449ef16c0976f.js +1 -0
- package/assets/esri/core/workers/chunks/5d3fa06eb5eb2b663a8f.js +1 -0
- package/assets/esri/core/workers/chunks/5d75fcaded78f76efd3e.js +1 -0
- package/assets/esri/core/workers/chunks/5e816e62664a9a968833.js +1 -0
- package/assets/esri/core/workers/chunks/6004a9582ffb96d31640.js +1 -0
- package/assets/esri/core/workers/chunks/6007b6b65154e477d96a.js +1 -0
- package/assets/esri/core/workers/chunks/6033eef7867f5c82fdc6.js +1 -0
- package/assets/esri/core/workers/chunks/60556278f4bfae63a49a.js +1 -0
- package/assets/esri/core/workers/chunks/621c5b3f1e29c17426e7.js +1 -0
- package/assets/esri/core/workers/chunks/6234a96aaf934ed36793.js +1 -0
- package/assets/esri/core/workers/chunks/6274f3192d2edbc2629e.js +1 -0
- package/assets/esri/core/workers/chunks/641981a68199890bde27.js +1 -0
- package/assets/esri/core/workers/chunks/6538253abdafc8e6d112.js +1 -0
- package/assets/esri/core/workers/chunks/658eb6efe5c2210def01.js +1 -0
- package/assets/esri/core/workers/chunks/65a58ffdb651c948b52c.js +1 -0
- package/assets/esri/core/workers/chunks/690a3afeeb3dbd252524.js +1 -0
- package/assets/esri/core/workers/chunks/6b73dfc9252b32f1eae2.js +1 -0
- package/assets/esri/core/workers/chunks/6ba6714da4dcb5a6fde4.js +1 -0
- package/assets/esri/core/workers/chunks/6bf81005fd647e3cc4bf.js +1 -0
- package/assets/esri/core/workers/chunks/6c20144cf05f29dd00fc.js +1 -0
- package/assets/esri/core/workers/chunks/6c21964eb7c25c8b1e9a.js +1 -0
- package/assets/esri/core/workers/chunks/6c4c06a4fa585f56e6a3.js +1 -0
- package/assets/esri/core/workers/chunks/6d30cf656be3bccd3ca7.js +1 -0
- package/assets/esri/core/workers/chunks/6d86eadd4d62c9218927.js +1 -0
- package/assets/esri/core/workers/chunks/6e30a6c3224207e13a7a.js +1 -0
- package/assets/esri/core/workers/chunks/6e4698879e7d8fbc4d12.js +1 -0
- package/assets/esri/core/workers/chunks/70695e0fb53018d48e7b.js +2 -0
- package/assets/esri/core/workers/chunks/708ba5a28c093994c4bd.js +1 -0
- package/assets/esri/core/workers/chunks/71295afd21fc5bc5ddbc.js +1 -0
- package/assets/esri/core/workers/chunks/72c66f2b5479a3f86b94.js +1 -0
- package/assets/esri/core/workers/chunks/72ef9199ded8deea05d1.js +1 -0
- package/assets/esri/core/workers/chunks/737b748d0fbfd2e0cf02.js +1 -0
- package/assets/esri/core/workers/chunks/73bf76a3a0418edb26a5.js +1 -0
- package/assets/esri/core/workers/chunks/755df811d724a46957c5.js +1 -0
- package/assets/esri/core/workers/chunks/7585a0d26bfe7efda194.js +1 -0
- package/assets/esri/core/workers/chunks/758fcf7000eb27ba75e2.js +1 -0
- package/assets/esri/core/workers/chunks/75bc76953bdb63a095e6.js +1 -0
- package/assets/esri/core/workers/chunks/762842aba4a1dd85db64.js +1 -0
- package/assets/esri/core/workers/chunks/765b18e66111d09447de.js +1 -0
- package/assets/esri/core/workers/chunks/766a1357be2ed7f4e125.js +1 -0
- package/assets/esri/core/workers/chunks/76e20d88983a77b003e1.js +1 -0
- package/assets/esri/core/workers/chunks/773ba0909ccd3a034c31.js +1 -0
- package/assets/esri/core/workers/chunks/794a9f116c4700bb1210.js +1 -0
- package/assets/esri/core/workers/chunks/794f691166c0693993ac.js +1 -0
- package/assets/esri/core/workers/chunks/7960b6eb02fdaff6ada7.js +1 -0
- package/assets/esri/core/workers/chunks/7a98b29b3f82d82da1da.js +1 -0
- package/assets/esri/core/workers/chunks/7b29fc210b5878951cdc.js +1 -0
- package/assets/esri/core/workers/chunks/7ccec1d7e9aca860a150.js +1 -0
- package/assets/esri/core/workers/chunks/7d040257ebefcbe896c7.js +1 -0
- package/assets/esri/core/workers/chunks/7d74bcce7d8931f9486d.js +1 -0
- package/assets/esri/core/workers/chunks/80cf3a616922e3d15d67.js +1 -0
- package/assets/esri/core/workers/chunks/80da6d01bb1dcef9e004.js +1 -0
- package/assets/esri/core/workers/chunks/812cb2e9efc4d335e9e9.js +1 -0
- package/assets/esri/core/workers/chunks/8147bbc6c42d2071e149.js +1 -0
- package/assets/esri/core/workers/chunks/836b131247908097be7e.js +1 -0
- package/assets/esri/core/workers/chunks/837e421a81c7dae6b67c.js +1 -0
- package/assets/esri/core/workers/chunks/83bc862c242ff0629c8b.js +1 -0
- package/assets/esri/core/workers/chunks/840258be26978bc75609.js +1 -0
- package/assets/esri/core/workers/chunks/85979b277f282f4806fe.js +1 -0
- package/assets/esri/core/workers/chunks/85992d817e58af01fa70.js +1 -0
- package/assets/esri/core/workers/chunks/85d18a646f1c8e9e041d.js +1 -0
- package/assets/esri/core/workers/chunks/87c33e729d91fa119aa4.js +1 -0
- package/assets/esri/core/workers/chunks/892d99cc12110399fae3.js +1 -0
- package/assets/esri/core/workers/chunks/8b104a30814ecc0ef588.js +1 -0
- package/assets/esri/core/workers/chunks/8c0afb02e028a520cafc.js +1 -0
- package/assets/esri/core/workers/chunks/8c94e987754b3919181e.js +1 -0
- package/assets/esri/core/workers/chunks/8e0ecc7f55dd8bf2cf16.js +1 -0
- package/assets/esri/core/workers/chunks/919115788da38049aea7.js +2 -0
- package/assets/esri/core/workers/chunks/9436749830e078ddba45.js +1 -0
- package/assets/esri/core/workers/chunks/95784bb703ad5e9886d8.js +1 -0
- package/assets/esri/core/workers/chunks/96bbd5af1902cc7a0347.js +1 -0
- package/assets/esri/core/workers/chunks/972677041782aea9be46.js +1 -0
- package/assets/esri/core/workers/chunks/97cdcedfe853280f6258.js +1 -0
- package/assets/esri/core/workers/chunks/98af83f8126c043aa49c.js +1 -0
- package/assets/esri/core/workers/chunks/9a4498d5865c88a86755.js +1 -0
- package/assets/esri/core/workers/chunks/9b57dc3b74f43b2c17b3.js +1 -0
- package/assets/esri/core/workers/chunks/9bec57017e6c009b5d41.js +1 -0
- package/assets/esri/core/workers/chunks/9c52b6e951ec142653e0.js +1 -0
- package/assets/esri/core/workers/chunks/9cc0250d304d93f96c01.js +1 -0
- package/assets/esri/core/workers/chunks/9d0db1230a4b95c59f1e.js +1 -0
- package/assets/esri/core/workers/chunks/9d0dfc9765c1ce96a168.js +1 -0
- package/assets/esri/core/workers/chunks/9d1a6fb14475ce790149.js +1 -0
- package/assets/esri/core/workers/chunks/9d6d4fe9a73aa17a4840.js +1 -0
- package/assets/esri/core/workers/chunks/9dcf5be203f8b1e47d9d.js +1 -0
- package/assets/esri/core/workers/chunks/9dece842ada6278c33ef.js +1 -0
- package/assets/esri/core/workers/chunks/9eb00bb8dab995c2dcb3.js +1 -0
- package/assets/esri/core/workers/chunks/9f087fcaf30100e447d4.js +1 -0
- package/assets/esri/core/workers/chunks/9f63600039606e3ce5e0.js +1 -0
- package/assets/esri/core/workers/chunks/9f8d5cc6c7c2c36c6c7b.js +1 -0
- package/assets/esri/core/workers/chunks/a12e29f2cb78fdaa0753.js +1 -0
- package/assets/esri/core/workers/chunks/a2e25c964251c2f25340.js +1 -0
- package/assets/esri/core/workers/chunks/a3409f879cae2911ef3c.js +1 -0
- package/assets/esri/core/workers/chunks/a39c0ab14d6fe337f2f3.js +1 -0
- package/assets/esri/core/workers/chunks/a5ae717842c053f5bc9c.js +1 -0
- package/assets/esri/core/workers/chunks/a5fe0625f38f1b3f8c84.js +1 -0
- package/assets/esri/core/workers/chunks/a6a3d80e786edaa0156a.js +1 -0
- package/assets/esri/core/workers/chunks/a6b139e22bd0efe20b01.js +1 -0
- package/assets/esri/core/workers/chunks/a710c7a0584d9e45a469.js +1 -0
- package/assets/esri/core/workers/chunks/a7537388778e81c9d4b4.js +1 -0
- package/assets/esri/core/workers/chunks/a8314873ed823b6ac6d6.js +1 -0
- package/assets/esri/core/workers/chunks/a8bd42057e3543c17800.js +1 -0
- package/assets/esri/core/workers/chunks/a94291f7e98864091554.js +1 -0
- package/assets/esri/core/workers/chunks/a945f7f9504e9602b9b0.js +1 -0
- package/assets/esri/core/workers/chunks/a9f1d7e4432e74285a58.js +1 -0
- package/assets/esri/core/workers/chunks/aa1793102cb8e7c5b600.js +1 -0
- package/assets/esri/core/workers/chunks/aa702f65d735eb033812.js +1 -0
- package/assets/esri/core/workers/chunks/aae6a546d2aedc22debd.js +1 -0
- package/assets/esri/core/workers/chunks/ab78c25309395049d976.js +1 -0
- package/assets/esri/core/workers/chunks/ab7e6f8fff957daa2a33.js +1 -0
- package/assets/esri/core/workers/chunks/ab8476dfb0818fc388ba.js +1 -0
- package/assets/esri/core/workers/chunks/ad029f4f7c9b79fbce8d.js +1 -0
- package/assets/esri/core/workers/chunks/aed8a1a3843aabe819f2.js +1 -0
- package/assets/esri/core/workers/chunks/b33922def112150e565f.js +1 -0
- package/assets/esri/core/workers/chunks/b4fd8f232c3d09481127.js +1 -0
- package/assets/esri/core/workers/chunks/b51df1d7344d47a9b72a.js +1 -0
- package/assets/esri/core/workers/chunks/b58a003bd74f158cf62a.js +1 -0
- package/assets/esri/core/workers/chunks/b70af9fb974ef9836efd.js +1 -0
- package/assets/esri/core/workers/chunks/b7c9f95af3473b005267.js +1 -0
- package/assets/esri/core/workers/chunks/b88e1084097a93a89f61.js +1 -0
- package/assets/esri/core/workers/chunks/b92b6dd6ca5c740bf509.js +1 -0
- package/assets/esri/core/workers/chunks/b9ccaaee349e058a78df.js +1 -0
- package/assets/esri/core/workers/chunks/ba80d7ac1074ba7530d4.js +1 -0
- package/assets/esri/core/workers/chunks/babb2683e688337ea054.js +1 -0
- package/assets/esri/core/workers/chunks/bafced37f9f20a4812d7.js +1 -0
- package/assets/esri/core/workers/chunks/bb3520800b085d43cd83.js +1 -0
- package/assets/esri/core/workers/chunks/bb3a0f07e1f758d82a81.js +1 -0
- package/assets/esri/core/workers/chunks/bbf28e8c5acd87771dc7.js +1 -0
- package/assets/esri/core/workers/chunks/bbf6c995039ade67de07.js +1 -0
- package/assets/esri/core/workers/chunks/bdaf880bf4663d8263cc.js +1 -0
- package/assets/esri/core/workers/chunks/bdc2617101988ab5e9f9.js +1 -0
- package/assets/esri/core/workers/chunks/bfeb4b089dbd0165d2ab.js +1 -0
- package/assets/esri/core/workers/chunks/c0f2b6a10bcc766318f5.js +1 -0
- package/assets/esri/core/workers/chunks/c117db5805b5ce292ac2.js +1 -0
- package/assets/esri/core/workers/chunks/c248db5e4d92cfb3c4d1.js +1 -0
- package/assets/esri/core/workers/chunks/c24d383a28da266922c2.js +1 -0
- package/assets/esri/core/workers/chunks/c36dd2f7f6ea1044cd62.js +1 -0
- package/assets/esri/core/workers/chunks/c3c0f24a9e0047232ae1.js +1 -0
- package/assets/esri/core/workers/chunks/c4974a4dc081e23899ba.js +1 -0
- package/assets/esri/core/workers/chunks/c6066041f8ca0dd94480.js +1 -0
- package/assets/esri/core/workers/chunks/c80c3b746c286f8b860a.js +1 -0
- package/assets/esri/core/workers/chunks/c85184baccb4004bf42b.js +1 -0
- package/assets/esri/core/workers/chunks/c945d36f5406ea4e4e3a.js +1 -0
- package/assets/esri/core/workers/chunks/ca1f98251f246d481ba2.js +1 -0
- package/assets/esri/core/workers/chunks/ca309b6aca9c0948ebae.js +1 -0
- package/assets/esri/core/workers/chunks/cbaade131e08ec123719.js +1 -0
- package/assets/esri/core/workers/chunks/cc834768685065ddc4c3.js +1 -0
- package/assets/esri/core/workers/chunks/cd21fc8eabb11e6ecdc8.js +1 -0
- package/assets/esri/core/workers/chunks/cd9100a7c8309dfa7569.js +1 -0
- package/assets/esri/core/workers/chunks/ce02adb527389b90223d.js +1 -0
- package/assets/esri/core/workers/chunks/ce995e7c03e9e65c987a.js +1 -0
- package/assets/esri/core/workers/chunks/ced5dfb2bf46fc5eac8c.js +2 -0
- package/assets/esri/core/workers/chunks/cef537fa9705dd1cf685.js +1 -0
- package/assets/esri/core/workers/chunks/cf4b92ded0503f991c0e.js +1 -0
- package/assets/esri/core/workers/chunks/cf859cb25ceccba1588c.js +1 -0
- package/assets/esri/core/workers/chunks/d007762f05dbc9272587.js +1 -0
- package/assets/esri/core/workers/chunks/d036c6e9b7ef9f8434c8.js +1 -0
- package/assets/esri/core/workers/chunks/d22a4124af837bae4c28.js +1 -0
- package/assets/esri/core/workers/chunks/d3b646ca17b91e59bf48.js +1 -0
- package/assets/esri/core/workers/chunks/d4a79c878e0a1a42fdc0.js +1 -0
- package/assets/esri/core/workers/chunks/d4b6ea046995dcb5872f.js +1 -0
- package/assets/esri/core/workers/chunks/d4d07419a4132f69941d.js +1 -0
- package/assets/esri/core/workers/chunks/d4f6be8290ad0243e1b8.js +1 -0
- package/assets/esri/core/workers/chunks/d695d30949b881217bab.js +1 -0
- package/assets/esri/core/workers/chunks/d6a513171dcc14e52a84.js +1 -0
- package/assets/esri/core/workers/chunks/d82ff5c137227563c5dc.js +1 -0
- package/assets/esri/core/workers/chunks/d8eea5ffe05c620fac9e.js +1 -0
- package/assets/esri/core/workers/chunks/d96e63d66f7b1f4ea54a.js +2 -0
- package/assets/esri/core/workers/chunks/d997d81d0965c05447d4.js +1 -0
- package/assets/esri/core/workers/chunks/da0e55fbc14502ce7c38.js +1 -0
- package/assets/esri/core/workers/chunks/da6328b16ef589c1d2ae.js +1 -0
- package/assets/esri/core/workers/chunks/da673ffb77ae29d361ae.js +1 -0
- package/assets/esri/core/workers/chunks/daa7b13e92230464850f.js +1 -0
- package/assets/esri/core/workers/chunks/dacbefe9706585e6c273.js +1 -0
- package/assets/esri/core/workers/chunks/db438bbfbb137bb4484e.js +1 -0
- package/assets/esri/core/workers/chunks/db66be88c52b1f5e5aad.js +1 -0
- package/assets/esri/core/workers/chunks/dc3206ae22700a216ec3.js +1 -0
- package/assets/esri/core/workers/chunks/dcc7b221c3fa712d0fd1.js +1 -0
- package/assets/esri/core/workers/chunks/dd744dcd5b8751b59c83.js +1 -0
- package/assets/esri/core/workers/chunks/de6b14d13977f967a627.js +1 -0
- package/assets/esri/core/workers/chunks/df968a32256df81c0f05.js +1 -0
- package/assets/esri/core/workers/chunks/e0961f79f4f0dd68a4c6.js +1 -0
- package/assets/esri/core/workers/chunks/e1645882f54818c4036a.js +1 -0
- package/assets/esri/core/workers/chunks/e1dfc05bebfbf4a2274e.js +1 -0
- package/assets/esri/core/workers/chunks/e4309f214162e9daa6ed.js +1 -0
- package/assets/esri/core/workers/chunks/e44679a0d271c1efb60d.js +1 -0
- package/assets/esri/core/workers/chunks/e4a9a6dd8cc44a4b7f32.js +1 -0
- package/assets/esri/core/workers/chunks/e575375e7c43ec22f05e.js +1 -0
- package/assets/esri/core/workers/chunks/e80526571f1a34de3278.js +1 -0
- package/assets/esri/core/workers/chunks/e9376357f24e4f59c0ee.js +1 -0
- package/assets/esri/core/workers/chunks/e99d3d85b0f074a1dcd3.js +1 -0
- package/assets/esri/core/workers/chunks/ebbb1aed4cdbb41095d6.js +1 -0
- package/assets/esri/core/workers/chunks/ec334f87203096caef43.js +1 -0
- package/assets/esri/core/workers/chunks/ecd6743a95526e2c2cbe.js +1 -0
- package/assets/esri/core/workers/chunks/ecfa2a675da831ec99ff.js +1 -0
- package/assets/esri/core/workers/chunks/edfb0a47ce9c3d89f833.js +1 -0
- package/assets/esri/core/workers/chunks/ee33e50a54752ac88d30.js +1 -0
- package/assets/esri/core/workers/chunks/ef353a93740a9d90cd8c.js +1 -0
- package/assets/esri/core/workers/chunks/ef928201beffbaa1c98d.js +1 -0
- package/assets/esri/core/workers/chunks/efadb45b4763c51e701b.js +1 -0
- package/assets/esri/core/workers/chunks/efe52385fe8efd933831.js +1 -0
- package/assets/esri/core/workers/chunks/f053cbfe671bd14c7d5b.js +1 -0
- package/assets/esri/core/workers/chunks/f10ccb31ed05c14a1740.js +1 -0
- package/assets/esri/core/workers/chunks/f11f40017ec97a2a6b5f.js +29 -0
- package/assets/esri/core/workers/chunks/f3035559945bdd619544.js +1 -0
- package/assets/esri/core/workers/chunks/f3744b12a5d0d8ca8621.js +1 -0
- package/assets/esri/core/workers/chunks/f67b6f57d71ad09dca1f.js +1 -0
- package/assets/esri/core/workers/chunks/f7c84687a5e6e2072380.js +1 -0
- package/assets/esri/core/workers/chunks/f7ed22285229ff42e6ab.js +1 -0
- package/assets/esri/core/workers/chunks/f7f5d8256e63d303cbcb.js +1 -0
- package/assets/esri/core/workers/chunks/f86d64f0adc7e23950a1.js +1 -0
- package/assets/esri/core/workers/chunks/f87d5450190896e61ff8.js +1 -0
- package/assets/esri/core/workers/chunks/f91682e4545b47b2d260.js +1 -0
- package/assets/esri/core/workers/chunks/f97dc99afe3375fc8e16.js +1 -0
- package/assets/esri/core/workers/chunks/f9dfa94f63a024d1860e.js +1 -0
- package/assets/esri/core/workers/chunks/facfea0ae3e204829326.js +1 -0
- package/assets/esri/core/workers/chunks/fba428cd4731872a74db.js +1 -0
- package/assets/esri/core/workers/chunks/fd64556a54111b4f37dd.js +1 -0
- package/assets/esri/core/workers/chunks/fd94fe2527f360af121e.js +1 -0
- package/assets/esri/core/workers/chunks/fdee2255f49b43056e9d.js +1 -0
- package/assets/esri/core/workers/chunks/fe529524d1fca11e0f78.js +1 -0
- package/assets/esri/core/workers/chunks/fe811d651d201f698b8f.js +2 -0
- package/assets/esri/core/workers/chunks/ff1e614fde01781360fa.js +1 -0
- package/assets/esri/core/workers/chunks/ff7cd800558dd4aab51c.js +1 -0
- package/assets/esri/core/workers/chunks/ffac34a030dfe5cec258.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/chunks/CheckerBoard.glsl.js +1 -1
- package/chunks/ColorMaterial.glsl.js +2 -1
- package/chunks/Component.glsl.js +47 -47
- package/chunks/DefaultMaterial.glsl.js +4 -6
- package/chunks/ImageMaterial.glsl.js +1 -1
- package/chunks/LineCallout.glsl.js +1 -1
- package/chunks/LineMarker.glsl.js +2 -1
- package/chunks/MeasurementArrow.glsl.js +1 -1
- package/chunks/NativeLine.glsl.js +1 -1
- package/chunks/Path.glsl.js +2 -2
- package/chunks/Pattern.glsl.js +1 -1
- package/chunks/RealisticTree.glsl.js +1 -1
- package/chunks/RibbonLine.glsl.js +1 -1
- package/chunks/SlicePlaneMaterial.glsl.js +1 -1
- package/chunks/Terrain.glsl.js +1 -1
- package/chunks/Water.glsl.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/lyr3DWorker.js +1 -1
- package/config.js +1 -1
- package/core/Logger.js +1 -1
- package/core/libs/gl-matrix-2/math/quat.js +1 -1
- package/core/workers/Connection.d.ts +3 -9
- package/core/workers/WorkerFallback.js +2 -4
- package/core/workers/WorkerOwner.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/core/workers/workers.js +1 -1
- package/core/workers.d.ts +1 -14
- package/form/FormTemplate.js +1 -1
- package/geometry/Mesh.js +1 -1
- package/geometry/support/curves/bezierCurveUtils.js +1 -1
- package/geometry/support/curves/ellipticArc7Utils.js +1 -1
- package/geometry/support/meshUtils/rotate.js +1 -1
- package/interfaces.d.ts +1 -7
- package/kernel.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/ParquetLayer.d.ts +2 -3
- package/layers/VectorTileLayer.js +1 -1
- package/layers/graphics/data/QueryEngine.js +1 -1
- package/layers/raster/formats/Raw.js +1 -1
- package/layers/raster/functions/rasterProjectionHelper.js +1 -1
- package/layers/support/AggregateFieldsIndex.js +1 -1
- package/layers/support/FieldCollector.js +2 -0
- package/layers/support/fieldUtils.d.ts +214 -1
- package/layers/support/fieldUtils.js +1 -1
- package/layers/support/relativeTimeQueryUtils.js +1 -1
- package/layers/support/types.d.ts +1 -2
- package/legend/ActiveLayerInfo.js +1 -1
- package/legend/LegendModel.js +1 -1
- package/legend/types.d.ts +15 -1
- package/package.json +2 -2
- package/renderers/ClassBreaksRenderer.js +1 -1
- package/renderers/DictionaryRenderer.js +1 -1
- package/renderers/DotDensityRenderer.js +1 -1
- package/renderers/HeatmapRenderer.js +1 -1
- package/renderers/PieChartRenderer.js +1 -1
- package/renderers/Renderer.js +1 -1
- package/renderers/SimpleRenderer.js +1 -1
- package/renderers/UniqueValueRenderer.js +1 -1
- package/renderers/mixins/VisualVariablesMixin.js +1 -1
- package/rest/print.js +1 -1
- package/symbols/CIMSymbol.js +1 -1
- package/symbols/Symbol.js +1 -1
- package/symbols/cim/Rasterizer.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/support/FeatureExpressionInfo.js +1 -1
- package/views/2d/engine/webgl/TextureManager.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/ComputedMarkerParams.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
- package/views/2d/interactive/editingTools/GraphicTransformTarget.js +2 -0
- package/views/2d/interactive/editingTools/MediaElementTransformTarget.js +2 -0
- package/views/2d/interactive/editingTools/MediaTransformToolsWrapper.js +1 -1
- package/views/2d/interactive/editingTools/TransformTool.js +1 -1
- package/views/2d/interactive/editingTools.js +1 -1
- package/views/2d/layers/support/MediaLayerInteraction.js +1 -1
- package/views/3d/glTF/internal/TextureTransformUtils.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
- package/views/3d/layers/i3s/I3SClientMaterialUtil.js +1 -1
- package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
- package/views/3d/layers/support/SceneLayerViewRequiredFields.js +1 -1
- package/views/3d/layers/support/createFeatureFilterHighlight.js +1 -1
- package/views/3d/support/engineContent/line.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentDrawParameters.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/Component.glsl.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialInitParameters.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialRepository.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +8 -8
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/evaluateSceneLightingFragment.glsl.js +3 -2
- package/views/3d/webgl-engine/effects/snowcover/applySnow.glsl.js +4 -2
- package/views/3d/webgl-engine/lib/BufferGeometry.js +1 -1
- package/views/3d/webgl-engine/lib/GLTextureMaterial.js +1 -1
- package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
- package/views/3d/webgl-engine/lib/Material.js +1 -1
- package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
- package/views/3d/webgl-engine/lib/PathGeometry.js +1 -1
- package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/internal/ribbonLineBufferUtils.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +14 -13
- package/views/interactive/keybindings.d.ts +67 -0
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/layers/support/MapServiceLayerViewHelper.js +1 -1
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/support/GridControls/GridControlsViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/00620a90b32352bcdc71.js +0 -1
- package/assets/esri/core/workers/chunks/01a24ae6e3d730e193e2.js +0 -1
- package/assets/esri/core/workers/chunks/0284f608d25c654fcc11.js +0 -1
- package/assets/esri/core/workers/chunks/02debe67e6fef9d88bdd.js +0 -1
- package/assets/esri/core/workers/chunks/02feb2550b6878e62e2d.js +0 -1
- package/assets/esri/core/workers/chunks/035204000954973b0ebc.js +0 -1
- package/assets/esri/core/workers/chunks/04a1d08c3b5b1dc7628f.js +0 -1
- package/assets/esri/core/workers/chunks/05225506fdba0c827407.js +0 -1
- package/assets/esri/core/workers/chunks/0523f893870a1546d7d9.js +0 -1
- package/assets/esri/core/workers/chunks/06101f3da5e2fc708402.js +0 -1
- package/assets/esri/core/workers/chunks/06326c8cbe0d644eca16.js +0 -1
- package/assets/esri/core/workers/chunks/075fe33152fd79fe6d72.js +0 -1
- package/assets/esri/core/workers/chunks/077b755688346e0dc8d3.js +0 -1
- package/assets/esri/core/workers/chunks/0864da8f8f147016cf1c.js +0 -1
- package/assets/esri/core/workers/chunks/08fe248e412bb170210d.js +0 -1
- package/assets/esri/core/workers/chunks/090a7d0b0128d20879be.js +0 -1
- package/assets/esri/core/workers/chunks/0979a48905742486f222.js +0 -1
- package/assets/esri/core/workers/chunks/0ac4a3029ba17a9e2492.js +0 -1
- package/assets/esri/core/workers/chunks/0ae2933ab9b4a6ca56f2.js +0 -1
- package/assets/esri/core/workers/chunks/0b480583373b69773333.js +0 -1
- package/assets/esri/core/workers/chunks/0b6941781e35ce0f7274.js +0 -1
- package/assets/esri/core/workers/chunks/0bfc4e7640058811e10c.js +0 -1
- package/assets/esri/core/workers/chunks/0c1d8e0c2eae21f97fc0.js +0 -1
- package/assets/esri/core/workers/chunks/0da6abe3ceabfe78f7a0.js +0 -1
- package/assets/esri/core/workers/chunks/0dc1ac5531f7c8854686.js +0 -1
- package/assets/esri/core/workers/chunks/0e57bac610d41c7c9ad4.js +0 -1
- package/assets/esri/core/workers/chunks/0fda0d8b0eaeed2ab39d.js +0 -1
- package/assets/esri/core/workers/chunks/10ad7b35b6800d40444e.js +0 -1
- package/assets/esri/core/workers/chunks/116293b1ee788a89ce1e.js +0 -1
- package/assets/esri/core/workers/chunks/11877d4dc97f756e4711.js +0 -1
- package/assets/esri/core/workers/chunks/11e313dfca2579e68419.js +0 -1
- package/assets/esri/core/workers/chunks/12a08d0ad0f5fea32642.js +0 -1
- package/assets/esri/core/workers/chunks/13b40a611224ff5f4697.js +0 -1
- package/assets/esri/core/workers/chunks/13c64087be3b2985a21b.js +0 -1
- package/assets/esri/core/workers/chunks/14ef986665b4a1f6ccdc.js +0 -1
- package/assets/esri/core/workers/chunks/158cbf4075d3eca83a6a.js +0 -1
- package/assets/esri/core/workers/chunks/15a18c803a3aafa9a65b.js +0 -1
- package/assets/esri/core/workers/chunks/15a7a3264915fc8d3188.js +0 -1
- package/assets/esri/core/workers/chunks/15f2b27b8edc0d53e399.js +0 -1
- package/assets/esri/core/workers/chunks/162de06e54c0f9cba012.js +0 -1
- package/assets/esri/core/workers/chunks/17c6d66b47aa690df0d4.js +0 -1
- package/assets/esri/core/workers/chunks/17f99b130384c1ff2e01.js +0 -1
- package/assets/esri/core/workers/chunks/181d24ced5ef6b1f959b.js +0 -1
- package/assets/esri/core/workers/chunks/18e7fa4d3e0b1a084cc6.js +0 -1
- package/assets/esri/core/workers/chunks/1ae0c9345626e70affd3.js +0 -2
- package/assets/esri/core/workers/chunks/1c61ced6079443fc0ce8.js +0 -1
- package/assets/esri/core/workers/chunks/1c94d4d79952dc4067be.js +0 -1
- package/assets/esri/core/workers/chunks/1ca9f823caff691e964d.js +0 -1
- package/assets/esri/core/workers/chunks/1d9b0db37d5f3819ffca.js +0 -1
- package/assets/esri/core/workers/chunks/1e37337f47f45d6d8005.js +0 -1
- package/assets/esri/core/workers/chunks/1eaaa896eea3f2ffe6a6.js +0 -1
- package/assets/esri/core/workers/chunks/1f51567f47c2e2fc8a23.js +0 -1
- package/assets/esri/core/workers/chunks/200da109115eab8b2480.js +0 -1
- package/assets/esri/core/workers/chunks/2050c844b5a29b1df28a.js +0 -1
- package/assets/esri/core/workers/chunks/21939ef53bc71b42370f.js +0 -1
- package/assets/esri/core/workers/chunks/21a4c3d8265aca775616.js +0 -1
- package/assets/esri/core/workers/chunks/230189a28552ab00546d.js +0 -1
- package/assets/esri/core/workers/chunks/23fff0505e02fd364909.js +0 -1
- package/assets/esri/core/workers/chunks/244ffdb91237d1cbade3.js +0 -1
- package/assets/esri/core/workers/chunks/24bdeafbb16ae83bb8c3.js +0 -1
- package/assets/esri/core/workers/chunks/2515ce2ef279cdd4d5fa.js +0 -1
- package/assets/esri/core/workers/chunks/2671035cc08027185737.js +0 -1
- package/assets/esri/core/workers/chunks/271ae7deccb94112c2df.js +0 -1
- package/assets/esri/core/workers/chunks/27a5c6be4f847900d6ed.js +0 -1
- package/assets/esri/core/workers/chunks/27f0bbde1e9fa3f06d46.js +0 -1
- package/assets/esri/core/workers/chunks/286e3e050b29e6158e6f.js +0 -1
- package/assets/esri/core/workers/chunks/29a437a2b7b3a9b3e104.js +0 -1
- package/assets/esri/core/workers/chunks/2a224bc845c9bf682c54.js +0 -1
- package/assets/esri/core/workers/chunks/2a8168e109caa87d596f.js +0 -1
- package/assets/esri/core/workers/chunks/2ad69cc496235702bbf2.js +0 -1
- package/assets/esri/core/workers/chunks/2b06e8507d71c4d9b5b5.js +0 -1
- package/assets/esri/core/workers/chunks/2b4dd42920d37b1ff0a9.js +0 -2
- package/assets/esri/core/workers/chunks/2bdd5f0e0364b9e5f52b.js +0 -1
- package/assets/esri/core/workers/chunks/2c619c50cdcc37652c0b.js +0 -1
- package/assets/esri/core/workers/chunks/2c7f3fb74a076acf9b30.js +0 -1
- package/assets/esri/core/workers/chunks/2e9a1673b1d51aa082b6.js +0 -1
- package/assets/esri/core/workers/chunks/2e9d2f0a4e3c84d2ac2e.js +0 -1
- package/assets/esri/core/workers/chunks/30c5b584e8658b2b3607.js +0 -1
- package/assets/esri/core/workers/chunks/30e20461958951a31a5c.js +0 -1
- package/assets/esri/core/workers/chunks/31ef7b7074b3e3829763.js +0 -1
- package/assets/esri/core/workers/chunks/32b9bedd4bb0504f0b1d.js +0 -1
- package/assets/esri/core/workers/chunks/32ba94e59b411d3ff063.js +0 -1
- package/assets/esri/core/workers/chunks/3463b52d633a9336af28.js +0 -1
- package/assets/esri/core/workers/chunks/348f1def9cd2ddf92e87.js +0 -1
- package/assets/esri/core/workers/chunks/348f28d7ab46df878c6f.js +0 -1
- package/assets/esri/core/workers/chunks/3537fe95b83a13b156cc.js +0 -1
- package/assets/esri/core/workers/chunks/35426786de409d42a87f.js +0 -1
- package/assets/esri/core/workers/chunks/359ab29c4509dce0ffbd.js +0 -1
- package/assets/esri/core/workers/chunks/35f8896b52adaf952657.js +0 -1
- package/assets/esri/core/workers/chunks/365825c51fad1bb7f51f.js +0 -1
- package/assets/esri/core/workers/chunks/369780276b2755361f7d.js +0 -1
- package/assets/esri/core/workers/chunks/377158a19c9d6ef11387.js +0 -1
- package/assets/esri/core/workers/chunks/394b329e64d880cdb500.js +0 -1
- package/assets/esri/core/workers/chunks/39c23a52d7c3e1ee121c.js +0 -1
- package/assets/esri/core/workers/chunks/3a295fab549ae3caf9df.js +0 -1
- package/assets/esri/core/workers/chunks/3a3b57abfb92494cac84.js +0 -1
- package/assets/esri/core/workers/chunks/3a8320a40916c755c031.js +0 -1
- package/assets/esri/core/workers/chunks/3bb1e06861cd0563ed9f.js +0 -1
- package/assets/esri/core/workers/chunks/3cbb3c4e0e60a874ac6d.js +0 -1
- package/assets/esri/core/workers/chunks/3e67d50a2b2f8f837831.js +0 -29
- package/assets/esri/core/workers/chunks/3f92afa58c895bf87e62.js +0 -1
- package/assets/esri/core/workers/chunks/3fe04f13215474accb09.js +0 -1
- package/assets/esri/core/workers/chunks/3fe4c89acd325d36618d.js +0 -1
- package/assets/esri/core/workers/chunks/40748b846cf6923478c9.js +0 -1
- package/assets/esri/core/workers/chunks/4136c4de42b8818e2710.js +0 -1
- package/assets/esri/core/workers/chunks/41d674e73b57c8abe838.js +0 -1
- package/assets/esri/core/workers/chunks/422784ceae0d511868a0.js +0 -1
- package/assets/esri/core/workers/chunks/425347186c279bcc595c.js +0 -1
- package/assets/esri/core/workers/chunks/42eec0421e3663019549.js +0 -1
- package/assets/esri/core/workers/chunks/434a7ef5b25d83593b50.js +0 -1
- package/assets/esri/core/workers/chunks/4521f72ab0ea872e5d7c.js +0 -1
- package/assets/esri/core/workers/chunks/46d0db736c6e7decbcf6.js +0 -1
- package/assets/esri/core/workers/chunks/474015def9652ddf0640.js +0 -1
- package/assets/esri/core/workers/chunks/478a89317a12e9b4d146.js +0 -1
- package/assets/esri/core/workers/chunks/47af220003adfca2167e.js +0 -1
- package/assets/esri/core/workers/chunks/4869e097261ded90b8bb.js +0 -1
- package/assets/esri/core/workers/chunks/489b37c459e1af116aeb.js +0 -1
- package/assets/esri/core/workers/chunks/49c21c11621ff077e401.js +0 -1
- package/assets/esri/core/workers/chunks/4a8903fb1a5d30a68df9.js +0 -1
- package/assets/esri/core/workers/chunks/4ba856605f711b615e4c.js +0 -1
- package/assets/esri/core/workers/chunks/4d62877f521cc9663535.js +0 -1
- package/assets/esri/core/workers/chunks/4d7063c4152953afb859.js +0 -1
- package/assets/esri/core/workers/chunks/4d818b231e6d1fa73cc5.js +0 -1
- package/assets/esri/core/workers/chunks/4eab4e74c6a479c5f930.js +0 -1
- package/assets/esri/core/workers/chunks/4f3e0d583cfa9d1d6727.js +0 -2
- package/assets/esri/core/workers/chunks/4f4bc4f809b8936cd010.js +0 -1
- package/assets/esri/core/workers/chunks/4f8a915795f107b772c5.js +0 -1
- package/assets/esri/core/workers/chunks/503ee206e7de1f65e291.js +0 -1
- package/assets/esri/core/workers/chunks/50b8b1cce0a5f77c8372.js +0 -1
- package/assets/esri/core/workers/chunks/52a0aa2d19a495e48ab1.js +0 -1
- package/assets/esri/core/workers/chunks/5565b4e7c31d31a7e546.js +0 -1
- package/assets/esri/core/workers/chunks/561c48cb4d49b150765b.js +0 -1
- package/assets/esri/core/workers/chunks/5622f3faa59434772857.js +0 -1
- package/assets/esri/core/workers/chunks/5736feefa261589b6273.js +0 -1
- package/assets/esri/core/workers/chunks/5744c7350e4e2eb73aa9.js +0 -1
- package/assets/esri/core/workers/chunks/5788c5ab258b36c8a897.js +0 -1
- package/assets/esri/core/workers/chunks/57e0bf4be8a166d5b1eb.js +0 -1
- package/assets/esri/core/workers/chunks/5864bce1498a13ee5b7e.js +0 -2
- package/assets/esri/core/workers/chunks/590fe0f56bc4c33a50e7.js +0 -1
- package/assets/esri/core/workers/chunks/5b1cebae74c7214ccda9.js +0 -1
- package/assets/esri/core/workers/chunks/5b3db2c40feaefb7cbc0.js +0 -1
- package/assets/esri/core/workers/chunks/5ba40e98e9300d1ebc85.js +0 -1
- package/assets/esri/core/workers/chunks/5be386b3af867b19ff39.js +0 -1
- package/assets/esri/core/workers/chunks/5c2e79f2ca401741bf3e.js +0 -1
- package/assets/esri/core/workers/chunks/5c3aa8386705c5e40358.js +0 -1
- package/assets/esri/core/workers/chunks/5c9ab86bec07264dc9f2.js +0 -1
- package/assets/esri/core/workers/chunks/5e6d6676a5c47c0e132a.js +0 -1
- package/assets/esri/core/workers/chunks/5fbd7d8d8896a224fff3.js +0 -1
- package/assets/esri/core/workers/chunks/60137300db0e0c3caf13.js +0 -1
- package/assets/esri/core/workers/chunks/6061232c96e11eb7b25d.js +0 -1
- package/assets/esri/core/workers/chunks/606ea251075fe81a1206.js +0 -1
- package/assets/esri/core/workers/chunks/608be1172a908e92b9f1.js +0 -1
- package/assets/esri/core/workers/chunks/6268aadb24e0b7c8d207.js +0 -1
- package/assets/esri/core/workers/chunks/62a0abcf45a2bd14ecbe.js +0 -1
- package/assets/esri/core/workers/chunks/63d2645a744dce469bbb.js +0 -1
- package/assets/esri/core/workers/chunks/64382363d6dc04ff1eac.js +0 -1
- package/assets/esri/core/workers/chunks/649e4ecb1d9e6da3fcd7.js +0 -1
- package/assets/esri/core/workers/chunks/6604272ef6fe85279032.js +0 -1
- package/assets/esri/core/workers/chunks/6637fb99033bfa7646d4.js +0 -1
- package/assets/esri/core/workers/chunks/66539ab0d88b47326ce9.js +0 -1
- package/assets/esri/core/workers/chunks/67f54efc817b241f8746.js +0 -1
- package/assets/esri/core/workers/chunks/68b4ce0b2e754ac2e552.js +0 -1
- package/assets/esri/core/workers/chunks/69b73251257088ce7099.js +0 -1
- package/assets/esri/core/workers/chunks/69c338d1d359075371bc.js +0 -1
- package/assets/esri/core/workers/chunks/6b646971cc15e33a9f33.js +0 -1
- package/assets/esri/core/workers/chunks/6cd17c3a254a0b5c2476.js +0 -1
- package/assets/esri/core/workers/chunks/6d863761f29f31a030eb.js +0 -1
- package/assets/esri/core/workers/chunks/7027a0e7bfabb3bb7fc2.js +0 -1
- package/assets/esri/core/workers/chunks/711cfb84659cb4437679.js +0 -1
- package/assets/esri/core/workers/chunks/72020d86e3fc7ecc139f.js +0 -1
- package/assets/esri/core/workers/chunks/72f4dad65e16a7d7c58f.js +0 -1
- package/assets/esri/core/workers/chunks/72f716a841463e0ba23f.js +0 -1
- package/assets/esri/core/workers/chunks/73ab4f0275a85b9671ec.js +0 -1
- package/assets/esri/core/workers/chunks/751a21288cf161b94a54.js +0 -1
- package/assets/esri/core/workers/chunks/7672c123cfb960f4ddad.js +0 -1
- package/assets/esri/core/workers/chunks/76dc8e3264a456f33e61.js +0 -1
- package/assets/esri/core/workers/chunks/77463141652bf1ca6fb2.js +0 -1
- package/assets/esri/core/workers/chunks/776b64a1e1a57878c34c.js +0 -1
- package/assets/esri/core/workers/chunks/77d80b6d65d761214a7c.js +0 -1
- package/assets/esri/core/workers/chunks/792d2b62356a1d953c88.js +0 -1
- package/assets/esri/core/workers/chunks/79483c05867ba1386f5a.js +0 -1
- package/assets/esri/core/workers/chunks/7aa9b61ca9b66f30449f.js +0 -1
- package/assets/esri/core/workers/chunks/7b7208237123e948f170.js +0 -1
- package/assets/esri/core/workers/chunks/7c75a8ee266c36baa902.js +0 -1
- package/assets/esri/core/workers/chunks/7d866911d1171d25ca78.js +0 -1
- package/assets/esri/core/workers/chunks/7db9e615e60d824eac1b.js +0 -1
- package/assets/esri/core/workers/chunks/7ddbde8fdd1cf3c53f50.js +0 -1
- package/assets/esri/core/workers/chunks/7eddde6c4249f46c67f3.js +0 -1
- package/assets/esri/core/workers/chunks/8102f0bf5707c3be3310.js +0 -1
- package/assets/esri/core/workers/chunks/8140ed6e44c3d8536d3e.js +0 -1
- package/assets/esri/core/workers/chunks/82160bd873cdb5a23557.js +0 -1
- package/assets/esri/core/workers/chunks/82e238375582f90dc94c.js +0 -1
- package/assets/esri/core/workers/chunks/831d896587d10fb689dc.js +0 -1
- package/assets/esri/core/workers/chunks/834bbda7719b04301f74.js +0 -1
- package/assets/esri/core/workers/chunks/835ccd95f2d312ecda5a.js +0 -1
- package/assets/esri/core/workers/chunks/8385bede56cc95d1a388.js +0 -1
- package/assets/esri/core/workers/chunks/85cd525705eec6803dd3.js +0 -1
- package/assets/esri/core/workers/chunks/85ec73dcba4b922f1948.js +0 -1
- package/assets/esri/core/workers/chunks/8766832c7253557da8fe.js +0 -1
- package/assets/esri/core/workers/chunks/892fd2c3533ce46a9258.js +0 -1
- package/assets/esri/core/workers/chunks/89cc1a5539b82fb46216.js +0 -1
- package/assets/esri/core/workers/chunks/89e9ebc8d5c1022cb265.js +0 -1
- package/assets/esri/core/workers/chunks/8a8c9a3969b7016c20d9.js +0 -1
- package/assets/esri/core/workers/chunks/8c1ae93dae934aedc6dc.js +0 -1
- package/assets/esri/core/workers/chunks/8cc8d7ffe43f5947b04f.js +0 -1
- package/assets/esri/core/workers/chunks/8cddfdbab3ad3809462f.js +0 -1
- package/assets/esri/core/workers/chunks/8cec3f48e995aab3d62e.js +0 -1
- package/assets/esri/core/workers/chunks/8e7a3b1b088c160f4db7.js +0 -1
- package/assets/esri/core/workers/chunks/8f1dd383502432d8a039.js +0 -1
- package/assets/esri/core/workers/chunks/90a7cd7564f2a92199cc.js +0 -1
- package/assets/esri/core/workers/chunks/914a0b5d9fef683cdf9c.js +0 -1
- package/assets/esri/core/workers/chunks/921917e53bac82693ec8.js +0 -1
- package/assets/esri/core/workers/chunks/926e0a3827eaf16ca8b4.js +0 -1
- package/assets/esri/core/workers/chunks/92809b209b68abcb97ee.js +0 -1
- package/assets/esri/core/workers/chunks/929ca32ddbb43328ef31.js +0 -1
- package/assets/esri/core/workers/chunks/92b03de8a7686b164f60.js +0 -1
- package/assets/esri/core/workers/chunks/98957dba728c93506e50.js +0 -1
- package/assets/esri/core/workers/chunks/98e3f7ab4bfbabf0b952.js +0 -1
- package/assets/esri/core/workers/chunks/99a72b65afdcd3ee091a.js +0 -1
- package/assets/esri/core/workers/chunks/99ffb839407cb3c26ad8.js +0 -1
- package/assets/esri/core/workers/chunks/9b048f80c2d28d527373.js +0 -1
- package/assets/esri/core/workers/chunks/9b517c8d26a86dedb921.js +0 -1
- package/assets/esri/core/workers/chunks/9bb90097368b200fa730.js +0 -1
- package/assets/esri/core/workers/chunks/9bf77f92760aacbd636f.js +0 -1
- package/assets/esri/core/workers/chunks/9c2436464b7dfd666678.js +0 -1
- package/assets/esri/core/workers/chunks/9c3f56f22e9baa80a387.js +0 -1
- package/assets/esri/core/workers/chunks/9d0ee6a816bb72068ab1.js +0 -1
- package/assets/esri/core/workers/chunks/9e7622379d777ea88018.js +0 -1
- package/assets/esri/core/workers/chunks/9fb4c10d5b3e32bc86e9.js +0 -1
- package/assets/esri/core/workers/chunks/a02c3c23bd87e0470b8b.js +0 -1
- package/assets/esri/core/workers/chunks/a1602995ef96beb7df29.js +0 -1
- package/assets/esri/core/workers/chunks/a553478664a688f32488.js +0 -1
- package/assets/esri/core/workers/chunks/a83815c028c9c80aa4c9.js +0 -1
- package/assets/esri/core/workers/chunks/a8bedc53d4a316953108.js +0 -1
- package/assets/esri/core/workers/chunks/a8fbef765a6fb68e1115.js +0 -1
- package/assets/esri/core/workers/chunks/a95186214f1206efd8ed.js +0 -1
- package/assets/esri/core/workers/chunks/aa4f3751f0d830113bed.js +0 -1
- package/assets/esri/core/workers/chunks/aa8ab28e0c1ae3b55ac0.js +0 -1
- package/assets/esri/core/workers/chunks/aaac620f93a20fbd3f08.js +0 -1
- package/assets/esri/core/workers/chunks/ab60e8fbe0f92340616a.js +0 -1
- package/assets/esri/core/workers/chunks/ab684cce869973ea71cf.js +0 -1
- package/assets/esri/core/workers/chunks/aba42885c5d6b2b5fe7f.js +0 -1
- package/assets/esri/core/workers/chunks/ac10c7d2c4829a150037.js +0 -1
- package/assets/esri/core/workers/chunks/ac69c0fd5867b493f1d2.js +0 -1
- package/assets/esri/core/workers/chunks/ad787100602e18dde650.js +0 -1
- package/assets/esri/core/workers/chunks/ae29fec228e70a93ced1.js +0 -1
- package/assets/esri/core/workers/chunks/ae40eac1eadd1a537bf4.js +0 -1
- package/assets/esri/core/workers/chunks/ae70972bf88d586fd453.js +0 -1
- package/assets/esri/core/workers/chunks/af3c6794334626b94f00.js +0 -1
- package/assets/esri/core/workers/chunks/af70a81620203c030f5b.js +0 -1
- package/assets/esri/core/workers/chunks/afc8a9847f31bb66b13b.js +0 -1
- package/assets/esri/core/workers/chunks/b021fa4654ede1d04279.js +0 -1
- package/assets/esri/core/workers/chunks/b10850c48f4eee60b8a9.js +0 -1
- package/assets/esri/core/workers/chunks/b18459c1bed75dbdec08.js +0 -1
- package/assets/esri/core/workers/chunks/b25104337f2495a4296a.js +0 -1
- package/assets/esri/core/workers/chunks/b2d922ecc2c4899dbee1.js +0 -1
- package/assets/esri/core/workers/chunks/b3707d2cd2f4b2f70889.js +0 -1
- package/assets/esri/core/workers/chunks/b3801d58c024224917df.js +0 -1
- package/assets/esri/core/workers/chunks/b3c0c9c91bcdbbb8e719.js +0 -1
- package/assets/esri/core/workers/chunks/b4928831a2a13b2da745.js +0 -1
- package/assets/esri/core/workers/chunks/b6a82775b83d20599635.js +0 -1
- package/assets/esri/core/workers/chunks/b6d365b9198b74b05338.js +0 -1
- package/assets/esri/core/workers/chunks/b6d71a4ab788a09714f3.js +0 -1
- package/assets/esri/core/workers/chunks/b89b634e9d38b5a51d33.js +0 -1
- package/assets/esri/core/workers/chunks/b976122bcd4e2170afaf.js +0 -1
- package/assets/esri/core/workers/chunks/bb6573d794bbe670216a.js +0 -1
- package/assets/esri/core/workers/chunks/bc21241bc9acb83d1b1c.js +0 -1
- package/assets/esri/core/workers/chunks/bdd76a0b6c14e7fb6984.js +0 -1
- package/assets/esri/core/workers/chunks/be11cec9979ed5e9738e.js +0 -1
- package/assets/esri/core/workers/chunks/c063de8f57a393280c39.js +0 -1
- package/assets/esri/core/workers/chunks/c473c8b480de9802711b.js +0 -1
- package/assets/esri/core/workers/chunks/c5bf19da62a3d31009fe.js +0 -2
- package/assets/esri/core/workers/chunks/c67ce7896789ac7275b2.js +0 -1
- package/assets/esri/core/workers/chunks/c752f1e732bb019f657d.js +0 -1
- package/assets/esri/core/workers/chunks/c75cc72a306a617d9cd8.js +0 -1
- package/assets/esri/core/workers/chunks/c85336a50a4994a2a7eb.js +0 -1
- package/assets/esri/core/workers/chunks/c9e7d4c277fbc82c4438.js +0 -1
- package/assets/esri/core/workers/chunks/cc817c9d3f8e8f8c56e4.js +0 -1
- package/assets/esri/core/workers/chunks/ccb0046b883286e65429.js +0 -1
- package/assets/esri/core/workers/chunks/ccb55245fe49d844ec50.js +0 -1
- package/assets/esri/core/workers/chunks/cdf0c7706d3e1221f49b.js +0 -1
- package/assets/esri/core/workers/chunks/cf684026e7f1ab7df4f7.js +0 -1
- package/assets/esri/core/workers/chunks/d0172d31389dbfaaa848.js +0 -1
- package/assets/esri/core/workers/chunks/d19ac8368bb769fa5fba.js +0 -1
- package/assets/esri/core/workers/chunks/d26c9db8c0a772d0923c.js +0 -1
- package/assets/esri/core/workers/chunks/d31f6598b76380e8688a.js +0 -1
- package/assets/esri/core/workers/chunks/d344c3fd9f6b113bbcd7.js +0 -1
- package/assets/esri/core/workers/chunks/d3cd09b2d78ce9f2ea42.js +0 -1
- package/assets/esri/core/workers/chunks/d4028536542db8b623cc.js +0 -1
- package/assets/esri/core/workers/chunks/d4eb24c82087a74ae670.js +0 -1
- package/assets/esri/core/workers/chunks/d4fe26716c4eca13d493.js +0 -1
- package/assets/esri/core/workers/chunks/d5916500514a41a4758f.js +0 -1
- package/assets/esri/core/workers/chunks/d63e181f0e48bde73395.js +0 -1
- package/assets/esri/core/workers/chunks/d7270a2db6f3bfcf0565.js +0 -1
- package/assets/esri/core/workers/chunks/d77888c84a8b49478807.js +0 -1
- package/assets/esri/core/workers/chunks/d85d1064ba87ea1b1410.js +0 -1
- package/assets/esri/core/workers/chunks/d8b9d14f8d3e82ad26dc.js +0 -1
- package/assets/esri/core/workers/chunks/d99d5aa04e2d74ef57a7.js +0 -1
- package/assets/esri/core/workers/chunks/d9e75266ac28f934eb61.js +0 -1
- package/assets/esri/core/workers/chunks/db1f7b2562de495b3401.js +0 -2
- package/assets/esri/core/workers/chunks/dbf37b1c4e0567d9fb32.js +0 -1
- package/assets/esri/core/workers/chunks/dc9792b2aa55975b8a95.js +0 -1
- package/assets/esri/core/workers/chunks/dca0e2505a6cbef6f7f5.js +0 -1
- package/assets/esri/core/workers/chunks/dcc782e4bf9e8a8202f9.js +0 -1
- package/assets/esri/core/workers/chunks/dd7e4c94a88452425750.js +0 -1
- package/assets/esri/core/workers/chunks/ddaa8f8098e4a663e4e5.js +0 -1
- package/assets/esri/core/workers/chunks/ddb4689624d091922471.js +0 -1
- package/assets/esri/core/workers/chunks/de3f140058aa0b907b65.js +0 -1
- package/assets/esri/core/workers/chunks/df375d1b0dab5ecbd1be.js +0 -1
- package/assets/esri/core/workers/chunks/df88bb9117967fe72eb4.js +0 -1
- package/assets/esri/core/workers/chunks/dfbe0efe453587ec5eb2.js +0 -1
- package/assets/esri/core/workers/chunks/dfc6b33f51dc81f3a7be.js +0 -1
- package/assets/esri/core/workers/chunks/e0650b1408197d3ac862.js +0 -1
- package/assets/esri/core/workers/chunks/e0a37d3bcb9a944e53dd.js +0 -1
- package/assets/esri/core/workers/chunks/e1f5da51115472347b55.js +0 -1
- package/assets/esri/core/workers/chunks/e209cb1f3f14bf576ebe.js +0 -1
- package/assets/esri/core/workers/chunks/e2535c83b97725e89256.js +0 -1
- package/assets/esri/core/workers/chunks/e2576c37cf13dc421f69.js +0 -1
- package/assets/esri/core/workers/chunks/e2ebf0ea3af2e6907987.js +0 -1
- package/assets/esri/core/workers/chunks/e4e2edfdc85dd14e66d4.js +0 -1
- package/assets/esri/core/workers/chunks/e55934eb4a17a5b24c94.js +0 -1
- package/assets/esri/core/workers/chunks/e5bdfef7c2cc5354be52.js +0 -1
- package/assets/esri/core/workers/chunks/e7719bfbc5875a515a2b.js +0 -1
- package/assets/esri/core/workers/chunks/eaa0e906b46ae4c84d72.js +0 -2
- package/assets/esri/core/workers/chunks/ead49b513e070951a964.js +0 -1
- package/assets/esri/core/workers/chunks/eb2652ec48faa78de3c5.js +0 -1
- package/assets/esri/core/workers/chunks/ec88631b5033c19f569e.js +0 -1
- package/assets/esri/core/workers/chunks/ee6679ef9efa1504e7eb.js +0 -1
- package/assets/esri/core/workers/chunks/ef8f9b61b829c3bdf999.js +0 -1
- package/assets/esri/core/workers/chunks/ef9740c4d1bd808af38a.js +0 -1
- package/assets/esri/core/workers/chunks/efcd38aad9aa667001b2.js +0 -1
- package/assets/esri/core/workers/chunks/f0b897319ca8578df63f.js +0 -1
- package/assets/esri/core/workers/chunks/f1c2f7c7ce4bd4096eb0.js +0 -1
- package/assets/esri/core/workers/chunks/f1e87e3ff65d8594e6b3.js +0 -1
- package/assets/esri/core/workers/chunks/f36376b126c80d0983fb.js +0 -1
- package/assets/esri/core/workers/chunks/f3ca7fa35eb8d55f5907.js +0 -1
- package/assets/esri/core/workers/chunks/f497968055af459c5da4.js +0 -1
- package/assets/esri/core/workers/chunks/f4d714d0a1a513861704.js +0 -1
- package/assets/esri/core/workers/chunks/f4e63c5f82b8c2bbfacb.js +0 -1
- package/assets/esri/core/workers/chunks/f7123ba1286f64e13e91.js +0 -1
- package/assets/esri/core/workers/chunks/f7f73de8c63924e347ab.js +0 -1
- package/assets/esri/core/workers/chunks/f91e36a104e84d985517.js +0 -1
- package/assets/esri/core/workers/chunks/f9259dc1d78d762c6ac0.js +0 -1
- package/assets/esri/core/workers/chunks/fa5d4b9a098441ebf505.js +0 -1
- package/assets/esri/core/workers/chunks/fc9d66fe2cc9e2d31964.js +0 -1
- package/assets/esri/core/workers/chunks/fcb4707c2e95099b9f30.js +0 -1
- package/assets/esri/core/workers/chunks/fccfe3aa45a2fb286012.js +0 -1
- package/assets/esri/core/workers/chunks/fe0248af95d3f37e099e.js +0 -1
- package/layers/support/ParquetPortalItemData.d.ts +0 -39
- package/layers/support/ParquetPortalItemData.js +0 -2
- /package/assets/esri/core/workers/chunks/{c5bf19da62a3d31009fe.js.LICENSE.txt → 07ce1d788ed1c9b926db.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{4f3e0d583cfa9d1d6727.js.LICENSE.txt → 4a41bf3d1e2e9bb79771.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{5864bce1498a13ee5b7e.js.LICENSE.txt → 70695e0fb53018d48e7b.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{2b4dd42920d37b1ff0a9.js.LICENSE.txt → 919115788da38049aea7.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{db1f7b2562de495b3401.js.LICENSE.txt → ced5dfb2bf46fc5eac8c.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{eaa0e906b46ae4c84d72.js.LICENSE.txt → d96e63d66f7b1f4ea54a.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{1ae0c9345626e70affd3.js.LICENSE.txt → fe811d651d201f698b8f.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[4144,8377],{61691(e,t,n){n.d(t,{G:()=>r});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},76061(e,t,n){n.d(t,{S:()=>o});var r=n(61691);class o extends r.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){let e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},4144(e,t,n){n.r(t),n.d(t,{clipToSpatialReference:()=>u,execute:()=>c,executeMany:()=>s,foldInto360Range:()=>f,foldInto360RangeGeodetic:()=>m,isLoaded:()=>a,load:()=>l,normalizeGeometry:()=>p,supportsCurves:()=>d,transform:()=>y});var r=n(76061),o=n(83290);let i;function a(){return!!i&&(0,o.i)()}async function l(){if(!a()){let[e,t]=await Promise.all([Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(9192)]).then(()=>n(9192)),Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(5756)]).then(()=>n(15756)).then(({injectPe:e})=>e),(0,o.l)()]);i=new e.OperatorProject,t(o.p)}}function u(e,t,n){return i.clipToSpatialReference(e,t,null,n)}function c(e,t){return i.execute(e,t,null)}function s(e,t){let n=i.executeMany(new r.S(e),t,null);return Array.from(n)}function f(e,t){return i.foldInto360Range(e,t)}function m(e,t,n){return i.foldInto360RangeGeodetic(e,t,n)}function p(e,t,n){return i.normalizeGeometry(e,t,n)}function d(){return i.supportsCurves()}function y(e,t,n,r,o){return i.transform(e,t,n,r,o)}},8377(e,t,n){n.r(t),n.d(t,{execute:()=>G,executeMany:()=>j,isLoaded:()=>d,load:()=>g,projectExecute:()=>h,projectExecuteMany:()=>x,projectIsLoaded:()=>p,projectLoad:()=>y});var r=n(4144),o=n(85036),i=n(17499),a=n(60408);let l,u,c,s,f,m;function p(){return!!l&&(0,r.isLoaded)()}function d(){return(0,o.Q)("json.projectOperator","isLoaded","projectIsLoaded"),p()}async function y(){if(!p()){let[e,t]=await Promise.all([Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(3299),n.e(7992)]).then(()=>n(83299)),Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(6129)]).then(()=>n(86129)),(0,r.load)()]);l=e.fromGeometries,u=e.fromGeometry,c=e.fromSpatialReference,s=e.toGeometry,f=e.getSpatialReference,m=t.createProjectionTransformation}}function g(){return(0,o.Q)("json.projectOperator","load","projectLoad"),y()}function h(e,t,n){let o=u(e),l=c(t),f=m(o.getSpatialReference(),l,n),p=s((0,r.execute)(o.getGeometry(),f),l);return!n?.zConversionDisabled&&p&&!(0,a.uW)(p)&&e.spatialReference&&(0,i.g)([p],e.spatialReference,t),p}function G(e,t,n){return(0,o.Q)("json.projectOperator","execute","projectExecute"),h(e,t,n)}function x(e,t,n){let[o,a]=l(e),u=c(t),p=m(a,u,n),d=(0,r.executeMany)(o,p).map(e=>s(e,u));if(!n?.zConversionDisabled&&d){let n=f(e);n&&(0,i.g)(d,n,t)}return d}function j(e,t,n){return(0,o.Q)("json.projectOperator","executeMany","projectExecuteMany"),x(e,t,n)}},85036(e,t,n){n.d(t,{Q:()=>i});var r=n(51447),o=n(53966);function i(e,t,n){(0,r.io)(o.A.getLogger(`esri.geometry.operators.${e}`),`${t} is deprecated. Refactor using @arcgis/codemod or manually replace usages with ${n} instead.`,{replacement:n,warnOnce:!0})}},17499(e,t,n){n.d(t,{g:()=>i});var r=n(60408),o=n(62815);function i(e,t,n){let i;for(let a of e)if(a&&(0,r.Pv)(a)&&!("vertexAttributes"in a)){if(!i){let e="type"in a?a.type:(0,r.$B)(a);if(i=(0,o.N)(e,t,n),!i)return}i(a)}}},62815(e,t,n){n.d(t,{N:()=>l,d:()=>u});var r=n(86211),o=n(73941),i=n(21325),a=n(52006);function l(e,t,n){let r=u(t,n);if(1!==r)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,r);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e){if(e.curvePaths)for(let n of e.curvePaths)for(let e of n){let n=(0,a.yP)(e);n.length>2&&(n[2]*=t)}if(e.paths)for(let n of e.paths)for(let e of n)e.length>2&&(e[2]*=t)}}(e,r);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e){if(e.curveRings)for(let n of e.curveRings)for(let e of n){let n=(0,a.yP)(e);n.length>2&&(n[2]*=t)}if(e.rings)for(let n of e.rings)for(let e of n)e.length>2&&(e[2]*=t)}}(e,r);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(let n of e.points)n.length>2&&(n[2]*=t)}(e,r);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,r);default:return}}function u(e,t){return null==e||null==t||(0,i.aI)(e,t)||(0,o.xP)(e)||(0,o.xP)(t)?1:(0,r.G9)(e)/(0,r.G9)(t)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[1560,4780,8169],{52106(e,t,r){r.d(t,{A:()=>S});var i,l,n=r(32198),o=r(40124),a=r(69540),s=r(51447),u=r(25482),d=r(53966),c=r(36708),p=r(24326),f=r(91429),h=r(12195),y=r(65864),m=r(50498),g=r(55156),b=r(60950),M=r(54339),C=r(94128),w=r(33910);const v=Symbol("meshGeometryHandles");function I(e){if(null==e)return null;let t={};for(let r in e){let i=e[r];i&&(t[r]=i.toJSON())}return 0===Object.keys(t).length?null:t}let S=class extends((0,a.OU)(u.o)){static{i=C.Z}static{l=this}constructor(e){super(e),this[i]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperties(this,{uid:{value:(0,p.c)(),configurable:!0},_lastMeshTransform:{value:{},configurable:!0,writable:!0,enumerable:!1}}),arguments.length>1&&(0,s.eF)(d.A.getLogger(this),"Graphic",{version:"4.30"})}set aggregateGeometries(e){let t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){let t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){let t=this._get("geometry");t!==e&&(this._set("geometry",e),this._watchMeshGeometryChanges(),this._notifyLayer("geometry",t,e))}set popupTemplate(e){let t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){let t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){let t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new l({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;let t=(0,b.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;let r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(let t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){let r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){let e=(0,g.I)(this.origin);if(e)return(0,M.r)(this,e);let t=this.sourceLayer??this.layer;return t?(0,M.r)(this,t):null}getGlobalId(){let e=(0,g.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);let t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){let e={aggregateGeometries:I(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,h.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){let{geometry:t}=this;if("mesh"===t?.type){let r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;let l={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(l.action=i),"attributes"===e&&(l.attributeName=i),this.layer.graphicChanged(l)}_watchMeshGeometryChanges(){this.removeHandles(v);let e=this.geometry;"mesh"===e?.type&&this.addHandles([(0,c.z7)(()=>e.vertexSpace.origin?{localMatrix:e.transform?.localMatrix,origin:e.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{(this._lastMeshTransform.localMatrix!==e||this._lastMeshTransform.origin!==t)&&(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>({vertexAttributes:e.vertexAttributes}),()=>{e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",e,e)},{equals:(e,t)=>e===t,sync:!0})],v)}};(0,n.Cg)([(0,f.MZ)({value:null,json:{read:function(e){if(!e)return null;let t={};for(let r in e){let i=(0,y.rS)(e[r]);i&&(t[r]=i)}return 0===Object.keys(t).length?null:t}}})],S.prototype,"aggregateGeometries",null),(0,n.Cg)([(0,f.MZ)({value:null})],S.prototype,"attributes",null),(0,n.Cg)([(0,f.MZ)({value:null,types:m.yR,json:{read:y.rS}})],S.prototype,"geometry",null),(0,n.Cg)([(0,f.MZ)()],S.prototype,"distance",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean})],S.prototype,"isAggregate",void 0),(0,n.Cg)([(0,f.MZ)({clonable:!1})],S.prototype,"layer",void 0),(0,n.Cg)([(0,f.MZ)({clonable:"reference"})],S.prototype,"origin",void 0),(0,n.Cg)([(0,f.MZ)({type:o.A,value:null})],S.prototype,"popupTemplate",null),(0,n.Cg)([(0,f.MZ)({clonable:"reference"})],S.prototype,"sourceLayer",void 0),(0,n.Cg)([(0,f.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],S.prototype,"statisticsAggregatedIds",void 0),(0,n.Cg)([(0,f.MZ)({value:null,types:w.Es})],S.prototype,"symbol",null),(0,n.Cg)([(0,f.MZ)({clonable:!1,json:{read:!1,write:!1}})],S.prototype,"_version",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,value:!0})],S.prototype,"visible",null),S=l=(0,n.Cg)([(0,f.$K)("esri.Graphic")],S)},6797(e,t,r){r.d(t,{Ui:()=>p});var i=r(56372),l=r(7762),n=r(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof i.A}function s(e){return e instanceof l.A?Object.keys(e.items):a(e)?(0,n.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof l.A?e.items[t]:e[t]}function d(e){return e?e.declaredClass:null}function c(e,t){let r=e.diff;if(r&&"function"==typeof r)return r(e,t);let i=s(e),l=s(t);if(0===i.length&&0===l.length)return;if(!i.length||!l.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};let n=l.filter(e=>!i.includes(e)),p=i.filter(e=>!l.includes(e)),f=i.filter(r=>l.includes(r)&&u(e,r)!==u(t,r)).concat(n,p).sort(),h=d(e);if(h&&o.has(h)&&f.length)return{type:"complete",oldValue:e,newValue:t};let y,m=a(e)&&a(t);for(let i of f){let l,n=u(e,i),o=u(t,i);if((m||"function"!=typeof n&&"function"!=typeof o)&&n!==o&&(null!=n||null!=o)){if(r&&r[i]&&"function"==typeof r[i])l=r[i]?.(n,o);else if(n instanceof Date&&o instanceof Date){if(n.getTime()===o.getTime())continue;l={type:"complete",oldValue:n,newValue:o}}else l="object"==typeof n&&"object"==typeof o&&d(n)===d(o)?c(n,o):{type:"complete",oldValue:n,newValue:o};null!=l&&(null==y?y={type:"partial",diff:{[i]:l}}:y.diff[i]=l)}}return y}function p(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&d(e)!==d(t)?{type:"complete",oldValue:e,newValue:t}:c(e,t)}},85334(e,t,r){r.d(t,{$:()=>b,IB:()=>a,Iy:()=>S,KV:()=>v,N2:()=>M,RH:()=>w,ZD:()=>C,sn:()=>I});var i=r(68197),l=r(4576),n=r(4718),o=r(34727);function a(e){return"r"in e&&"g"in e&&"b"in e}function s(e){return"h"in e&&"s"in e&&"v"in e}function u(e){return"l"in e&&"a"in e&&"b"in e}function d(e){return"l"in e&&"c"in e&&"h"in e}r(78955),r(91829);const c=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],p=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function f(e,t){let r,i,l=[];if(e[0].length!==t.length)throw Error("dimensions do not match");let n=e.length,o=e[0].length,a=0;for(r=0;r<n;r++){for(a=0,i=0;i<o;i++)a+=e[r][i]*t[i];l.push(a)}return l}function h(e){let t=[e.r/255,e.g/255,e.b/255].map(e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4),r=f(c,t);return{x:100*r[0],y:100*r[1],z:100*r[2]}}function y(e){let t=f(p,[e.x/100,e.y/100,e.z/100]).map(e=>{let t=e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;return Math.min(1,Math.max(t,0))});return{r:Math.round(255*t[0]),g:Math.round(255*t[1]),b:Math.round(255*t[2])}}function m(e){let t=[e.x/95.047,e.y/100,e.z/108.883].map(e=>e>(6/29)**3?e**(1/3):1/3*(29/6)**2*e+4/29);return{l:116*t[1]-16,a:500*(t[0]-t[1]),b:200*(t[1]-t[2])}}function g(e){let t=e.l,r=[(t+16)/116+e.a/500,(t+16)/116,(t+16)/116-e.b/200].map(e=>e>6/29?e**3:3*(6/29)**2*(e-4/29));return{x:95.047*r[0],y:100*r[1],z:108.883*r[2]}}function b(e){return a(e)?e:d(e)?function(e){return y(g(function(e){let t=e.l,r=e.c,i=e.h;return{l:t,a:r*Math.cos(i),b:r*Math.sin(i)}}(e)))}(e):u(e)?function(e){return y(g(e))}(e):function(e){return"x"in e&&"y"in e&&"z"in e}(e)?y(e):s(e)?function(e){let t,r=(e.h+360)%360/60,i=e.s/100,l=e.v/100*255,n=l*i,o=n*(1-Math.abs(r%2-1));switch(Math.floor(r)){case 0:t={r:n,g:o,b:0};break;case 1:t={r:o,g:n,b:0};break;case 2:t={r:0,g:n,b:o};break;case 3:t={r:0,g:o,b:n};break;case 4:t={r:o,g:0,b:n};break;case 5:case 6:t={r:n,g:0,b:o};break;default:t={r:0,g:0,b:0}}return t.r=Math.round(t.r+l-n),t.g=Math.round(t.g+l-n),t.b=Math.round(t.b+l-n),t}(e):e}function M(e){return s(e)?e:function(e){let{r:t,g:r,b:i}=e,l=Math.max(t,r,i),n=l-Math.min(t,r,i),o=l,a=0===n?0:l===t?(r-i)/n%6:l===r?(i-t)/n+2:(t-r)/n+4,s=0===n?0:n/o;return a<0&&(a+=6),a*=60,s*=100,o*=100/255,{h:a,s,v:o}}(b(e))}function C(e){return u(e)?e:function(e){return m(h(e))}(b(e))}function w(e){return d(e)?e:function(e){return function(e){let t=e.l,r=e.a,i=e.b,l=Math.sqrt(r*r+i*i),n=Math.atan2(i,r);return n=n>0?n:n+2*Math.PI,{l:t,c:l,h:n}}(m(h(e)))}(b(e))}function v(e){return e[0]??=0,e[1]??=0,e[2]??=0,e}function I(e){return e.length=4,v(e),e[3]??=1,(0,o.qE)(e[3],0,1),e}function S(e,t,r={}){if(0===e.length||t<=0)return[];if(1===(e=e.map(e=>"string"==typeof e?new i.A(e):e)).length||1===t){let r=[],i=e[0];for(let e=0;e<t;e++)r.push(i.clone());return r}if(r.shuffle&&(e=(0,l.k4)((0,n.o8)(e),r.seed)),e.length>=t){let r=[],i=(e.length-1)/(t-1);for(let l=0;l<t;l++){let t=Math.round(l*i);r.push(e[t].clone())}return r}return function(e,t,r={}){let i=[],n=e.length-1,o=Math.ceil((t-e.length)/n);e:for(let l=0;l<n;l++){let n=e[l],a=e[l+1];for(let l=1;l<=o;l++){let s=l/(o+1);if(i.push(x(n,a,s,r)),i.length+e.length===t)break e}}return[...e.map(e=>e.clone()),...(0,l.k4)(i,r.seed??1)]}(e,t,r)}const F=(e,t)=>{let r=Math.floor(10*t())-5;return Math.min(255,Math.max(0,e+r))};function x(e,t,r,n={}){let o=e.r,a=e.g,s=e.b,u=t.r,d=t.g,c=t.b,p=Math.round(o+(u-o)*r),f=Math.round(a+(d-a)*r),h=Math.round(s+(c-s)*r);if(!n.offset)return new i.A([p,f,h]);let y=(0,l.Mo)(n.seed);return new i.A([F(p,y),F(f,y),F(h,y)])}},91829(e,t,r){function i(){return[0,0,0,0]}function l(e,t,r,i){return[e,t,r,i]}function n(){return l(1,1,1,1)}function o(){return l(1,0,0,0)}function a(){return l(0,1,0,0)}function s(){return l(0,0,1,0)}function u(){return l(0,0,0,1)}r.d(t,{Un:()=>c,_Y:()=>u,fA:()=>l,uY:()=>d,vt:()=>i});const d=[0,0,0,0],c=n(),p=o(),f=a(),h=s(),y=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_W:y,UNIT_X:p,UNIT_Y:f,UNIT_Z:h,ZEROS:d,clone:function(e){return[e[0],e[1],e[2],e[3]]},create:i,freeze:function(e,t,r,i){return[e,t,r,i]},fromArray:function(e,t=[0,0,0,0]){let r=Math.min(4,e.length);for(let i=0;i<r;++i)t[i]=e[i];return t},fromValues:l,ones:n,unitW:u,unitX:o,unitY:a,unitZ:s,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},78955(e,t,r){r.d(t,{Bw:()=>m,C:()=>l,Cc:()=>C,LI:()=>p,Om:()=>M,S8:()=>b,T9:()=>c,WQ:()=>o,Z0:()=>w,aI:()=>I,hG:()=>y,hZ:()=>n,hs:()=>f,jk:()=>d,m3:()=>g,t2:()=>v});var i=r(34304);function l(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function n(e,t,r,i,l){return e[0]=t,e[1]=r,e[2]=i,e[3]=l,e}function o(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e[3]=t[3]+r[3],e}function a(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e[3]=t[3]-r[3],e}function s(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e[3]=t[3]*r[3],e}function u(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e[3]=t[3]/r[3],e}function d(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e[3]=Math.min(t[3],r[3]),e}function c(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e[3]=Math.max(t[3],r[3]),e}function p(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e}function f(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e}function h(e,t){let r=t[0]-e[0],i=t[1]-e[1],l=t[2]-e[2],n=t[3]-e[3];return Math.sqrt(r*r+i*i+l*l+n*n)}function y(e,t){let r=t[0]-e[0],i=t[1]-e[1],l=t[2]-e[2],n=t[3]-e[3];return r*r+i*i+l*l+n*n}function m(e){let t=e[0],r=e[1],i=e[2],l=e[3];return Math.sqrt(t*t+r*r+i*i+l*l)}function g(e){let t=e[0],r=e[1],i=e[2],l=e[3];return t*t+r*r+i*i+l*l}function b(e,t){let r=t[0],i=t[1],l=t[2],n=t[3],o=r*r+i*i+l*l+n*n;return o>0&&(o=1/Math.sqrt(o),e[0]=r*o,e[1]=i*o,e[2]=l*o,e[3]=n*o),e}function M(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function C(e,t,r,i){let l=t[0],n=t[1],o=t[2],a=t[3];return e[0]=l+i*(r[0]-l),e[1]=n+i*(r[1]-n),e[2]=o+i*(r[2]-o),e[3]=a+i*(r[3]-a),e}function w(e,t,r){let i=t[0],l=t[1],n=t[2],o=t[3];return e[0]=r[0]*i+r[4]*l+r[8]*n+r[12]*o,e[1]=r[1]*i+r[5]*l+r[9]*n+r[13]*o,e[2]=r[2]*i+r[6]*l+r[10]*n+r[14]*o,e[3]=r[3]*i+r[7]*l+r[11]*n+r[15]*o,e}function v(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function I(e,t){let r=e[0],l=e[1],n=e[2],o=e[3],a=t[0],s=t[1],u=t[2],d=t[3],c=(0,i.FD)();return Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(l-s)<=c*Math.max(1,Math.abs(l),Math.abs(s))&&Math.abs(n-u)<=c*Math.max(1,Math.abs(n),Math.abs(u))&&Math.abs(o-d)<=c*Math.max(1,Math.abs(o),Math.abs(d))}const S=a,F=s,x=u,k=h,A=y,T=m,P=g;Object.freeze(Object.defineProperty({__proto__:null,add:o,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},copy:l,copyVec3:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},dist:k,distance:h,div:x,divide:u,dot:M,equals:I,exactEquals:v,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},len:T,length:m,lerp:C,max:c,min:d,mul:F,multiply:s,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},normalize:b,random:function(e,t=1){let r,l,n,o,a,s,u=i.Ov;do{r=2*u()-1,l=2*u()-1,a=r*r+l*l}while(a>=1);do{n=2*u()-1,o=2*u()-1,s=n*n+o*o}while(s>=1);let d=Math.sqrt((1-a)/s);return e[0]=t*r,e[1]=t*l,e[2]=t*n*d,e[3]=t*o*d,e},round:p,scale:f,scaleAndAdd:function(e,t,r,i){return e[0]=t[0]+r[0]*i,e[1]=t[1]+r[1]*i,e[2]=t[2]+r[2]*i,e[3]=t[3]+r[3]*i,e},set:n,sqrDist:A,sqrLen:P,squaredDistance:y,squaredLength:g,str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},sub:S,subtract:a,transformMat4:w,transformQuat:function(e,t,r){let i=t[0],l=t[1],n=t[2],o=r[0],a=r[1],s=r[2],u=r[3],d=u*i+a*n-s*l,c=u*l+s*i-o*n,p=u*n+o*l-a*i,f=-o*i-a*l-s*n;return e[0]=d*u+f*-o+c*-s-p*-a,e[1]=c*u+f*-a+p*-o-d*-s,e[2]=p*u+f*-s+d*-a-c*-o,e[3]=t[3],e}},Symbol.toStringTag,{value:"Module"}))},81583(e,t,r){r.d(t,{L:()=>a,g:()=>o});var i=r(60999),l=r(7762),n=r(92474);async function o(e,t){return await e.load(),a(e,t)}async function a(e,t){let r=[],o=(...e)=>{for(let t of e)null!=t&&(Array.isArray(t)?o(...t):l.A.isCollection(t)?t.forEach(e=>o(e)):(0,n.Zm)(t)&&r.push(t))};t(o);let a=null;if(await(0,i.Tj)(r,async e=>{let t=await(0,i.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1===t.ok&&!a&&(a=t)}),a)throw a.error;return e}},16494(e,t,r){var i=r(8673);const l=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup",..."animate.animatetransform.circle.clippath.defs.ellipse.g.image.line.lineargradient.marker.mask.path.pattern.polygon.polyline.radialgradient.rect.stop.svg.switch.symbol.text.textpath.tspan.use".split(".")].reduce((e,t)=>(e[t]=[],e),{}),n="align.alink.alt.bgcolor.border.cellpadding.cellspacing.class.color.cols.colspan.coords.d.dir.face.height.hspace.ismap.lang.marginheight.marginwidth.multiple.nohref.noresize.noshade.nowrap.ref.rel.rev.rows.rowspan.scrolling.shape.span.summary.tabindex.title.usemap.valign.value.vlink.vspace.width".split("."),o=new i.I({whiteList:l,onTagAttr:(e,t,r)=>{let i=`${t}="${r}"`;if(n.includes(t))return i},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),a={sanitizeHtml:e=>o.sanitize(e)},s=new i.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1);r.d(t,["KO",0,a,"Nd",0,s,"W5",0,o])},55156(e,t,r){r.d(t,{I:()=>l});const i=Symbol("idFieldsProviderSymbol");function l(e){return(t=e)&&i in t?e[i]:void 0;var t}r.d(t,["e",0,i])},97483(e,t,r){r.r(t),r.d(t,{default:()=>qe});var i=r(32198),l=r(69540),n=r(7762),o=r(49186),a=r(81583),s=r(91869),u=r(25728),d=r(17676),c=r(36708),p=r(39516),f=r(91429),h=r(4146),y=r(52136),m=r(18768),g=r(63074),b=r(69208),M=r(6455),C=r(47685),w=r(10086),v=r(34287),I=r(8303),S=r(54310),F=r(23502),x=r(25036),k=r(82935),A=r(60694),T=r(10873),P=r(15426),E=r(17036),L=r(30524),j=r(85334),Z=r(90360),O=r(86162),_=r(92438),z=r(96576),R=r(93618),G=r(62046),V=r(37531);const N={key:"type",base:_.A,errorContext:"renderer",typeMap:{simple:z.A,"unique-value":R.A,"class-breaks":O.A}},B=(0,Z.C)({types:N}),D=["#ed5151","#149ece","#a7c636","#9e559c","#fc921f","#ffde3e","#f789d8","#b7814a","#3caf99","#6b6bd6","#b54779","#7f7f7f"];var q=r(40124),U=r(4902),$=r(4718),K=r(92474),W=r(53966),H=r(97768),J=r(93637),X=r(89317),Y=r(78247),Q=r(16930),ee=r(83960),te=r(41910),re=r(55156),ie=r(60950),le=r(89808),ne=r(99959);const oe=Symbol("isSubtypeGroupGraphicOriginSymbol");var ae;class se extends ne.A{get[(ae=oe,ie.ym)](){return this.sublayer}get[re.e](){return this.sublayer}get[le.Q](){return this.layer}get[te.e7](){return this.sublayer}constructor(e){super(),this[ae]=!0,this.type="subtype-group",this.sublayer=e}get layer(){return this.sublayer.parent}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var ue=r(29005),de=r(30279),ce=r(16194),pe=r(46499),fe=r(39383),he=r(17311),ye=r(54546),me=r(97552),ge=r(30291),be=r(59868),Me=r(43440),Ce=r(43937),we=r(36005);const ve=(0,E.p)();let Ie=0;function Se(e,t){let r=e.json.write;return"object"!=typeof r&&(r=e.json.write={}),r.ignoreOrigin=!0,t?.spatialOnly&&(r.layerContainerTypes=X.K),e}function Fe(e){let t={write:{ignoreOrigin:!0}};return e?.name&&(t.name=e.name),"object"==typeof t.write&&(e?.spatialOnly&&(t.write.layerContainerTypes=X.K),e?.target&&(t.write.target=e.target)),t}function xe(e){switch(e){case"point":case"multipoint":return be.UK.clone();case"polyline":return be.A7.clone();case"polygon":case"multipatch":return be.Cx.clone();default:return null}}function ke(e){return Te(e,"user")===e}function Ae(e){return Te(e,"service")}function Te(e,t){return(e.parent?.getAtOrigin("sublayers",t))?.find(({subtypeCode:t})=>t===e.subtypeCode)}function Pe(e,t){return null==e?null:t.subtypes?.find(t=>t.code===e)}function Ee(e,t){let r=null;switch(t.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":r="point";break;case"esriGeometryPolyline":r="line";break;case"esriGeometryPolygon":case"esriGeometryMultiPatch":r="polygon";break;default:t.type,r=null}let i={},l=Pe(e,t);if(null!=l){let{defaultValues:e}=l;for(let t in e)i[t]=e[t]}return i[t.subtypeField]=e,new ue.A({name:"New Feature",drawingTool:r,prototype:{attributes:i}})}let Le=class extends((0,u.M)((0,l.OU)((0,U.s)(K.x_)))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.fieldOverrides=null,this.fieldsIndex=null,this.formTemplate=null,this.graphicOrigin=new se(this),this.id=`${Date.now().toString(16)}-subtype-sublayer-${Ie++}`,this.type="subtype-sublayer",this.labelsVisible=!0,this.labelingInfo=null,this.layerType="ArcGISFeatureLayer",this.legendEnabled=!0,this.listMode="show",this.minScale=0,this.maxScale=0,this.opacity=1,this.parent=null,this.popupEnabled=!0,this.popupTemplate=null,this.subtypeCode=null,this.visible=!0}load(e){return(0,L.yp)(this.renderer,this.fieldsIndex),Promise.resolve(this)}get _titleCreator(){let e=this._get("_titleCreator");return(0,H.pR)(e),new he.A({fieldsIndex:this.fieldsIndex,objectIdField:this.objectIdField,displayField:this.parent?.displayField??"",fields:this.fields,effectivePopupTemplate:this.popupTemplate??this.defaultPopupTemplate})}get capabilities(){return this.parent?.capabilities}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get effectiveEditingEnabled(){let{parent:e}=this;return e?e.effectiveEditingEnabled&&this.editingEnabled:this.editingEnabled}get elevationInfo(){return this.parent?.elevationInfo}get featureTitleFields(){return[...this._titleCreator.requiredFields]}set fieldConfigurations(e){if(this._override("fieldConfigurations",e),!this.parent?.loaded)return;let t=(0,ce.sS)(this,e);t&&this._set("popupTemplate",t)}get fieldConfigurations(){return this._isOverridden("fieldConfigurations")?this._get("fieldConfigurations"):(0,ce.QX)(this)||null}writeFieldOverrides(e,t,r){let i,{fields:l,parent:n}=this;if(l){i=[];let e=0;l.forEach(({name:t,alias:r,editable:l,visible:o})=>{if(!o)return;let a=n?.fields?.find(e=>e.name===t);if(!a)return;let s={name:t},u=!1;r!==a.alias&&(s.alias=r,u=!0),l!==a.editable&&(s.editable=l,u=!0),i.push(s),u&&e++}),0===e&&i.length===l.length&&(i=null)}else i=(0,$.o8)(e);i?.length&&(0,J.sM)(r,i,t)}get fields(){let{parent:e,fieldOverrides:t,subtypeCode:r}=this,i=e?.fields;if(!e||!i?.length)return null;let{subtypes:l,subtypeField:n}=e,o=l?.find(e=>e.code===r),a=o?.defaultValues,s=o?.domains,u=[];for(let e of i){let i=e.clone(),{name:l}=i,o=t?.find(e=>e.name===l);if(i.visible=!t?.length||!!o,o){let{alias:e,editable:t}=o;e&&(i.alias=e),!1===t&&(i.editable=!1)}let d=a?.[l]??null;i.defaultValue=l===n?r:d;let c=s?.[l]??null;i.domain=l===n?null:c?"inherited"===c.type?i.domain:c.clone():null,u.push(i)}return u}get floorInfo(){return this.parent?.floorInfo}get isTable(){return!!this.parent?.isTable}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?this.parent.globalIdField:(W.A.getLogger(this).error(Oe("globalIdField")),null)}get effectiveScaleRange(){let e=this._get("effectiveScaleRange"),{maxScale:t,minScale:r,parent:i}=this,l={minScale:r,maxScale:t};return void 0!==i?.effectiveScaleRange&&(0,ee.RH)(l,i.effectiveScaleRange),e&&e.minScale===l.minScale&&e.maxScale===l.maxScale?e:l}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get objectIdField(){return this.parent||W.A.getLogger(this).error(Oe("objectIdField")),this.parent?.objectIdField}writePopupTemplate(e,t,r,i){e&&(t[r]=e.toJSON({...i,writeFieldFormat:!0}))}get defaultPopupTemplate(){return this.createPopupTemplate()}get relationships(){return this.parent?.relationships}set renderer(e){(0,L.yp)(e,this.fieldsIndex),this._override("renderer",e)}get renderer(){if(this._isOverridden("renderer"))return this._get("renderer");let{parent:e}=this;return e&&!e.isTable&&"mesh"!==e.geometryType?(ke(this)?(0,$.o8)(Ae(this)?.renderer):null)??function(e){return new z.A({symbol:xe(e)})}(e.geometryType):null}readRendererFromService(e,t,r){if("Table"===t.type)return null;let i,l=t.drawingInfo?.renderer,n=B(l,t,r),{subtypeCode:o}=this;if(null!=o&&function(e,t){return!(!t||"unique-value"!==e?.type||null==e.field||e.field.toLowerCase()!==t.toLowerCase()||e.field2||e.field3||e.valueExpression)}(n,t.subtypeField)){let e=n.uniqueValueInfos?.find(({value:e})=>(e="number"==typeof e?String(e):e)===String(o));e&&(i=new z.A({symbol:e.symbol}))}else"simple"===n?.type&&!n.visualVariables?.length&&(i=n);return i}readRenderer(e,t,r){let i=t?.layerDefinition?.drawingInfo?.renderer;if(i)return B(i,t,r)||void 0}get spatialReference(){return this.parent?.spatialReference??Q.A.WGS84}get subtypeField(){return this.parent?.subtypeField}get templates(){return this._isOverridden("templates")?this._get("templates"):(0,$.o8)(ke(this)?Ae(this)?.templates:function(e){return Te(e,"portal-item")}(this)?.templates||Ae(this)?.templates)}set templates(e){this._override("templates",e)}readTemplatesFromService(e,t){return[Ee(this.subtypeCode,t)]}get title(){return this._isOverridden("title")?this._get("title"):(ke(this)?Ae(this):null)?.title}set title(e){this._override("title",e)}readTitleFromService(e,t){let r=Pe(this.subtypeCode,t);return null==r?null:r.name}get url(){return this.parent?.url}get userHasUpdateItemPrivileges(){return!!this.parent?.userHasUpdateItemPrivileges}async addAttachment(e,t,r){let{parent:i}=this;if(!i)throw Oe("addAttachment");if(e.getAttribute(i.subtypeField)!==this.subtypeCode)throw new o.A("subtype-sublayer:addAttachment","The feature provided does not belong to this SubtypeSublayer");return i.addAttachment(e,t,r)}async updateAttachment(e,t,r,i){let{parent:l}=this;if(!l)throw Oe("updateAttachment");if(e.getAttribute(l.subtypeField)!==this.subtypeCode)throw new o.A("subtype-sublayer:updateAttachment","The feature provided does not belong to this SubtypeSublayer");return l.updateAttachment(e,t,r,i)}async deleteAttachments(e,t,r){let{parent:i}=this;if(!i)throw Oe("deleteAttachments");if(e.getAttribute(i.subtypeField)!==this.subtypeCode)throw new o.A("subtype-sublayer:deleteAttachments","The feature provided does not belong to this SubtypeSublayer");return i.deleteAttachments(e,t,r)}async applyEdits(e,t){if(!this.parent)throw Oe("applyEdits");return this.parent.applyEdits(e,t)}createFieldConfigurations(){return(0,ce.xY)(this)}createPopupTemplate(e){let t=this,{parent:r,fields:i,title:l}=this;if(r){let{displayField:e,editFieldsInfo:n,objectIdField:o}=r;t={displayField:e,editFieldsInfo:n,fields:i,objectIdField:o,title:l}}return(0,ge.tn)(t,e)}createQuery(){let{parent:e}=this;if(!e)throw Oe("createQuery");let t=(0,P.VZ)(e),r=`${e.fieldsIndex.get(e.subtypeField)?.name||e.subtypeField}=${this.subtypeCode}`;return t.where=(0,p.mA)(r,e.definitionExpression),t}getFeatureTitle(e,t){return this._titleCreator.getTitle(this,e,t)}getFeatureTitles(e,t){return this._titleCreator.getTitles(this,e,t)}getField(e){return this.fieldsIndex.get(e)}getFieldAlias(e){let t=this.getField(e);if(t)return this.getFieldConfiguration(t.name)?.alias||t.alias}getFieldConfiguration(e){return e=e.toLowerCase(),this.fieldConfigurations?.find(t=>t.name.toLowerCase()===e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains&&this.parent){let t=(0,P.pc)(this.parent,e);if(t)return t}return this._getLayerDomain(e)}async queryAttachments(e,t){let r=await this.load();if(!r.parent)throw Oe("queryAttachments");let i=e instanceof ye.A?e.clone():new ye.A(e);return i.where=Ze(i.where,r.parent.subtypeField,r.subtypeCode),r.parent.queryAttachments(i,t)}async queryFeatureCount(e,t){let r=await this.load();if(!r.parent)throw Oe("queryFeatureCount");return r.parent.queryFeatureCount(je(r.parent,r,e),t)}async queryFeatures(e,t){let r=await this.load();if(!r.parent)throw Oe("queryFeatures");return r.parent.queryFeatures(je(r.parent,r,e),t)}async queryObjectIds(e,t){let r=await this.load();if(!r.parent)throw Oe("queryObjectIds");return r.parent.queryObjectIds(je(r.parent,r,e),t)}async queryRelatedFeatures(e,t){let r=await this.load();if(!r.parent)throw Oe("queryRelatedFeatures");return r.parent.queryRelatedFeatures(e,t)}async queryRelatedFeaturesCount(e,t){let r=await this.load();if(!r.parent)throw Oe("queryRelatedFeaturesCount");return r.parent.queryRelatedFeaturesCount(e,t)}_getLayerDomain(e){let t=this.fieldsIndex.get(e);return t?t.domain:null}};(0,i.Cg)([(0,f.MZ)({clonable:!1,readOnly:!0})],Le.prototype,"_titleCreator",null),(0,i.Cg)([(0,f.MZ)({type:Me.A,json:Fe({name:"attributeTableInfo"})})],Le.prototype,"attributeTableTemplate",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"capabilities",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"effectiveCapabilities",null),(0,i.Cg)([(0,f.MZ)({json:Fe()})],Le.prototype,"charts",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,nonNullable:!0,json:Fe({name:"enableEditing"})})],Le.prototype,"editingEnabled",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],Le.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"elevationInfo",null),(0,i.Cg)([(0,f.MZ)({clonable:!1,readOnly:!0})],Le.prototype,"featureTitleFields",null),(0,i.Cg)([(0,f.MZ)({type:[de.A],json:{name:"layerDefinition.fieldConfigurations",write:{ignoreOrigin:!0}}})],Le.prototype,"fieldConfigurations",null),(0,i.Cg)([(0,f.MZ)({json:{name:"layerDefinition.fieldOverrides",origins:{service:{read:!1}},write:{ignoreOrigin:!0,allowNull:!0}}})],Le.prototype,"fieldOverrides",void 0),(0,i.Cg)([(0,Ce.K)("fieldOverrides")],Le.prototype,"writeFieldOverrides",null),(0,i.Cg)([(0,f.MZ)({...ve.fields,readOnly:!0,json:{read:!1}})],Le.prototype,"fields",null),(0,i.Cg)([(0,f.MZ)(ve.fieldsIndex)],Le.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"floorInfo",null),(0,i.Cg)([(0,f.MZ)({type:Y.A,json:Fe({name:"formInfo"})})],Le.prototype,"formTemplate",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0,clonable:!1})],Le.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,f.MZ)({type:String,clonable:!1,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0}}})],Le.prototype,"id",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"isTable",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"geometryType",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"globalIdField",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"type",void 0),(0,i.Cg)([(0,f.MZ)(Se((0,$.o8)(T.kF)))],Le.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,f.MZ)({type:[pe.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",origins:{service:{read:!1}},read:{reader:fe.w},write:{ignoreOrigin:!0,layerContainerTypes:X.K}}})],Le.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,f.MZ)({type:["ArcGISFeatureLayer"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,layerContainerTypes:X.K}}})],Le.prototype,"layerType",void 0),(0,i.Cg)([(0,f.MZ)(Se((0,$.o8)(T.fV)))],Le.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,f.MZ)({type:["show","hide"]})],Le.prototype,"listMode",void 0),(0,i.Cg)([(0,f.MZ)((()=>{let e=(0,$.o8)(T.hn);return e.json.origins.service.read=!1,Se(e,{spatialOnly:!0})})())],Le.prototype,"minScale",void 0),(0,i.Cg)([(0,f.MZ)((()=>{let e=(0,$.o8)(T.hG);return e.json.origins.service.read=!1,Se(e,{spatialOnly:!0})})())],Le.prototype,"maxScale",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0})],Le.prototype,"effectiveScaleRange",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0})],Le.prototype,"effectiveVisible",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"objectIdField",null),(0,i.Cg)([(0,f.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0,json:Fe({spatialOnly:!0})})],Le.prototype,"opacity",void 0),(0,i.Cg)([(0,f.MZ)({clonable:!1})],Le.prototype,"parent",void 0),(0,i.Cg)([(0,f.MZ)(Se((0,$.o8)(T.M6)))],Le.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,f.MZ)({type:q.A,json:Fe({name:"popupInfo"})})],Le.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,Ce.K)("popupTemplate")],Le.prototype,"writePopupTemplate",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0})],Le.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"relationships",null),(0,i.Cg)([(0,f.MZ)({types:N,json:Fe({target:"layerDefinition.drawingInfo.renderer",spatialOnly:!0})})],Le.prototype,"renderer",null),(0,i.Cg)([(0,we.w)("service","renderer",["drawingInfo.renderer","subtypeField","type"])],Le.prototype,"readRendererFromService",null),(0,i.Cg)([(0,we.w)("renderer",["layerDefinition.drawingInfo.renderer"])],Le.prototype,"readRenderer",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"spatialReference",null),(0,i.Cg)([(0,f.MZ)({type:Number,json:{origins:{service:{read:!1}},write:{ignoreOrigin:!0}}})],Le.prototype,"subtypeCode",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"subtypeField",null),(0,i.Cg)([(0,f.MZ)({type:[ue.A],json:Fe({name:"layerDefinition.templates"})})],Le.prototype,"templates",null),(0,i.Cg)([(0,we.w)("service","templates",["geometryType","subtypeField","subtypes","type"])],Le.prototype,"readTemplatesFromService",null),(0,i.Cg)([(0,f.MZ)({type:String,json:Fe()})],Le.prototype,"title",null),(0,i.Cg)([(0,we.w)("service","title",["subtypes"])],Le.prototype,"readTitleFromService",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0,json:{read:!1}})],Le.prototype,"url",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0})],Le.prototype,"userHasUpdateItemPrivileges",null),(0,i.Cg)([(0,f.MZ)({type:Boolean,nonNullable:!0,json:Fe({name:"visibility",spatialOnly:!0})})],Le.prototype,"visible",void 0),Le=(0,i.Cg)([(0,f.$K)("esri.layers.support.SubtypeSublayer")],Le);const je=(e,t,r)=>{if(!r)return t.createQuery();let i=me.A.from(r);return i.where=Ze(i.where,e.subtypeField,t.subtypeCode),i},Ze=(e,t,r)=>{let i=RegExp(`${t}\\s*=\\s*\\d+`),l=`${t}=${r}`,n=e??"";return i.test(n)?n.replace(i,l):(0,p.mA)(l,n)},Oe=e=>new o.A("subtype-sublayer:parent-missing",`This sublayer must have a parent SubtypeGroupLayer in order to use ${e}`);var _e=r(91908),ze=r(29308),Re=r(54218),Ge=r(59923);const Ve="SubtypeGroupLayer";function Ne(e,t){let r=[];for(let i of e){let e=new Le;e.read(i,t),r.push(e)}return r}const Be=(0,E.p)();let De=class extends((0,F.Z)((0,w.j)((0,M.FJ)((0,C.w6)((0,g.dM)((0,k.e)((0,x.j)((0,S.J)((0,m.b)((0,v.q)((0,I.A)((0,u.M)((0,b.d)((0,y.p)((0,l.OU)(h.A)))))))))))))))){constructor(e){super(e),this._sublayerLookup=new Map,this.dynamicDataSource=null,this.fields=null,this.fieldsIndex=null,this.outFields=null,this.sublayers=new(n.A.ofType(Le)),this.useUniqueColorsForSublayers=!0,this.supportedPortalItemTypes=["Feature Service"],this.supportedSourceTypes=new Set(["Feature Layer","Table"]),this.title="Layer",this.type="subtype-group",this._debouncedSaveOperations=(0,d.sg)(async(e,t,i)=>{let{save:l,saveAs:n}=await r.e(5740).then(()=>r(33359));switch(e){case 0:return l(this,t);case 1:return n(this,i,t)}}),this.addHandles((0,c.wB)(()=>this.sublayers,(e,t)=>this._handleSublayersChange(e,t),c.OH))}destroy(){this.source?.destroy()}load(e){let t=null==e?null:e.signal,r=this.loadFromPortal({supportedTypes:this.supportedPortalItemTypes},e).catch(d.QP).then(async()=>{if(!this.url)throw new o.A("subtype-grouplayer:missing-url-or-source","SubtypeGroupLayer must be created with either a url or a portal item");if(null==this.layerId&&null==this.dynamicDataSource)throw new o.A("subtype-grouplayer:missing-layerid","layerId or dynamicDataSource are required for a SubtypeGroupLayer created with url");this._initLayerProperties(await this.createGraphicsSource(t))}).then(()=>(0,P.VA)(this,"load",e));return this.addResolvingPromise(r),Promise.resolve(this)}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("dynamicDataSource"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("gdbVersion"),this.commitProperty("historicMoment"),this.commitProperty("returnZ"),this.commitProperty("capabilities"),this.commitProperty("returnM"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}get effectiveEditingEnabled(){return(0,P.C$)(this)}get operationalLayerType(){return this.isTable?"SubtypeGroupTable":"SubtypeGroupLayer"}set source(e){this._get("source")!==e&&this._set("source",e)}readTitleFromService(e,{name:t}){return this.url?(0,A.yG)(this.url,t):t}async addAttachment(e,t,r){let i=await(0,P.Xl)(this,e,t,Ve,r);return this.lastEditsEventDate=new Date,i}async updateAttachment(e,t,r,i){let l=await(0,P.bt)(this,e,t,r,Ve,i);return this.lastEditsEventDate=new Date,l}async applyEdits(e,t){return(0,P.ct)(this,e,t)}async createGraphicsSource(e){let{default:t}=await(0,d.qr)(Promise.all([r.e(893),r.e(7),r.e(944)]).then(()=>r(60845)),e);return new t({layer:this,supportedSourceTypes:this.supportedSourceTypes}).load({signal:e})}createQuery(){let e=(0,P.VZ)(this);e.dynamicDataSource=this.dynamicDataSource;let t=this.sublayers.map(e=>e.subtypeCode);return e.where=(0,p.mA)(`${this.subtypeField} IN (${t.join(",")})`,this.definitionExpression),e}async deleteAttachments(e,t,r){let i=await(0,P.mm)(this,e,t,Ve,r);return this.lastEditsEventDate=new Date,i}async fetchRecomputedExtents(e){return(0,P.WP)(this,e,Ve)}findSublayerForFeature(e){let t=this.fieldsIndex.get(this.subtypeField),r=e.attributes[t.name];return this.findSublayerForSubtypeCode(r)}findSublayerForSubtypeCode(e){return this._sublayerLookup.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains){let t=(0,P.pc)(this,e);if(t)return t}let r=(0,P.Nv)(this,t?.feature);if(r){let t=r.domains?.[e];return"inherited"===t?.type?this._getLayerDomain(e):t}return this._getLayerDomain(e)}loadAll(){return(0,a.g)(this,e=>{e(this.sublayers)})}async queryAttachments(e,t){return(0,P.lV)(this,e,t,Ve)}async queryFeatures(e,t){let r=await this.load(),i=me.A.from(e)??r.createQuery(),l=i.outFields??[];l.includes(this.subtypeField)||(l.push(this.subtypeField),i.outFields=l);let n=await r.source.queryFeatures(i,t);if(n?.features)for(let e of n.features)e.origin=this.findSublayerForFeature(e)?.graphicOrigin,e.layer=e.sourceLayer=this.findSublayerForFeature(e);return n}async queryObjectIds(e,t){return(await(0,P.sg)(this,e,t,Ve)).filter(Re.Et)}async queryFeatureCount(e,t){return(0,P.Ye)(this,e,t,Ve)}async queryExtent(e,t){return(0,P.B5)(this,e,t,Ve)}async queryRelatedFeatures(e,t){return(0,P.hM)(this,e,t,Ve)}async queryRelatedFeaturesCount(e,t){return(0,P.S2)(this,e,t,Ve)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}write(e,t){let{origin:r,layerContainerType:i,messages:l}=t;if(this.dynamicDataSource)return(0,Ge.U4)(t,this,"a dynamic data source cannot be written to web scenes, web maps and feature service items"),null;if(this.isTable){if("web-scene"===r||"web-map"===r&&"tables"!==i)return(0,Ge.U4)(t,this,"a table source cannot be written to web scenes and web maps"),null}else if(this.loaded&&"web-map"===r&&"tables"===i)return(0,Ge.U4)(t,this,"a non-table source cannot be written to tables in web maps"),null;return this.sublayers?.length?super.write(e,t):(l?.push(new o.A("web-document-write:invalid-property",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' has invalid value for 'sublayers' property. 'sublayers' collection should contain at least one sublayer`,{layer:this})),null)}serviceSupportsSpatialReference(e){return!!this.loaded&&(0,_e.D)(this,e)}async getFeatureTitle(e,t){let r=this.findSublayerForFeature(e);return r?await r.getFeatureTitle(e,t):this._getFeatureTitleForUnknownSublayer(e)}async getFeatureTitles(e,t){let r=new Map,i=new Map,l=[],n=[i];if(e.forEach(e=>{let n=this.findSublayerForFeature(e);if(n)(0,s.tE)(r,n,()=>[]).push(e);else{let r=e.getObjectId()??e.attributes[this.objectIdField];t?.fetchMissingFields?l.push(e):i.set(r,this._getFeatureTitleForUnknownSublayer(e))}}),l.length>0){let e=new Set(this.featureTitleFields);e.add(this.objectIdField),e.add(this.subtypeField);let t=await this.queryFeatures({outFields:[...e],returnGeometry:!1,objectIds:l.map(e=>e.getObjectId()??e.attributes[this.objectIdField])}),n=new Set;for(let e of t.features??[]){let t=e.getObjectId()??e.attributes[this.objectIdField];n.add(t);let l=this.findSublayerForFeature(e);l?(0,s.tE)(r,l,()=>[]).push(e):i.set(t,this._getFeatureTitleForUnknownSublayer(e))}for(let e of l){let t=e.getObjectId()??e.attributes[this.objectIdField];n.has(t)||i.set(t,this._getFeatureTitleForUnknownSublayer(e))}}(await Promise.all(Array.from(r).map(([e,r])=>e.getFeatureTitles(r,t)))).forEach(e=>n.push(e));let o=new Map(n.flatMap(e=>[...e]));return i.forEach((e,t)=>{o.set(t,e)}),o}get featureTitleFields(){let e=new Set;for(let t of this.sublayers){let r=t.featureTitleFields;for(let t of r)e.add(t)}return[...e]}_getLayerDomain(e){let t=this.fieldsIndex.get(e);return t?t.domain:null}_initLayerProperties(e){this._set("source",e);let{sourceJSON:t}=e;if(t&&(this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})),!this.subtypes?.length)throw new o.A("subtype-grouplayer:missing-subtypes","SubtypeGroupLayer must be created using a layer with subtypes");this._verifyFields(),(0,L.sv)(this.timeInfo,this.fieldsIndex)}async reloadFromService(e){let t=this.source;await t.reload({signal:e}),this._initLayerProperties(t)}async hasDataChanged(){return(0,P.jp)(this)}_verifyFields(){let e=this.parsedUrl?.path??"undefined";this.objectIdField||console.log("SubtypeGroupLayer: 'objectIdField' property is not defined (url: "+e+")"),this.isTable||/\/FeatureServer\//i.test(e)||this.fields?.some(e=>"geometry"===e.type)||console.log("SubtypeGroupLayer: unable to find field of type 'geometry' in the layer 'fields' list. If you are using a map service layer, features will not have geometry (url: "+e+")")}_handleSublayersChange(e,t){t&&(t.forEach(e=>{e.parent=null}),this.removeHandles("sublayers-owner"),this._sublayerLookup.clear()),e&&(e.forEach(e=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),this.addHandles([e.on("after-add",({item:e})=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),e.on("after-remove",({item:e})=>{e.parent=null,this._sublayerLookup.delete(e.subtypeCode)})],"sublayers-owner"))}_getFeatureTitleForUnknownSublayer(e){let{displayField:t,fieldsIndex:r,objectIdField:i}=this;if(t&&r.has(t))return e.attributes[r.get(t).name]??"";let l=e.getObjectId();return null==l?i&&r.has(i)?e.attributes[r.get(i).name]??"":"":l.toString()}};(0,i.Cg)([(0,f.MZ)({readOnly:!0})],De.prototype,"createQueryVersion",null),(0,i.Cg)([(0,f.MZ)({type:ze.A})],De.prototype,"dynamicDataSource",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0})],De.prototype,"editingEnabled",null),(0,i.Cg)([(0,f.MZ)({readOnly:!0})],De.prototype,"effectiveEditingEnabled",null),(0,i.Cg)([(0,f.MZ)({...Be.fields,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],De.prototype,"fields",void 0),(0,i.Cg)([(0,f.MZ)(Be.fieldsIndex)],De.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,f.MZ)(T.id)],De.prototype,"id",void 0),(0,i.Cg)([(0,f.MZ)({type:["show","hide","hide-children"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],De.prototype,"listMode",void 0),(0,i.Cg)([(0,f.MZ)({type:["SubtypeGroupLayer","SubtypeGroupTable"],json:{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0},origins:{"web-document":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}},"portal-item":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}}}}})],De.prototype,"operationalLayerType",null),(0,i.Cg)([(0,f.MZ)(Be.outFields)],De.prototype,"outFields",void 0),(0,i.Cg)([(0,f.MZ)({clonable:!1})],De.prototype,"source",null),(0,i.Cg)([(0,f.MZ)({type:n.A.ofType(Le),json:{origins:{service:{read:{source:"subtypes",reader(e,t,r){let i=null;if(this.useUniqueColorsForSublayers){let l=function(e,t){let r=e.drawingInfo?.renderer,i=r?B(r,e,t):null;return"simple"===i?.type?(0,V.Sx)(i.symbol,null)?i.symbol.clone():null:void 0}(t,r);i=l?function(e,t){return(0,j.Iy)(D,e,{offset:!0,shuffle:!0}).reverse().map(e=>{let r=t.clone();return"cim"===r.type?(0,G.Fe)(r,e):(0,V.dt)(r,e),new z.A({symbol:r})})}(e.length,l):null}let l=e.map(({code:e},l)=>{let n=new Le({subtypeCode:e});n.read(t,r);let o=i?.[l];return o&&n.read({drawingInfo:{renderer:o.toJSON()}},r),n});return new(n.A.ofType(Le))(l)}}}},read:{source:["layers","tables"],reader(e,t,r){let i;return"SubtypeGroupLayer"===t.layerType&&t.layers?.length?i=Ne(t.layers,r):"SubtypeGroupTable"===t.layerType&&t.tables?.length&&(i=Ne(t.tables,r)),new(n.A.ofType(Le))(i)}},write:{ignoreOrigin:!0,writer(e,t,r,i){let l=[];for(let t of e){let e=t.write({},i);l.push(e)}this.isTable?t.tables=l:t.layers=l}}}})],De.prototype,"sublayers",void 0),(0,i.Cg)([(0,f.MZ)()],De.prototype,"useUniqueColorsForSublayers",void 0),(0,i.Cg)([(0,f.MZ)({json:{origins:{"portal-item":{write:{enabled:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}}}}})],De.prototype,"title",void 0),(0,i.Cg)([(0,we.w)("service","title",["name"])],De.prototype,"readTitleFromService",null),(0,i.Cg)([(0,f.MZ)({json:{read:!1}})],De.prototype,"type",void 0),(0,i.Cg)([(0,f.MZ)({clonable:!1,readOnly:!0})],De.prototype,"featureTitleFields",null),De=(0,i.Cg)([(0,f.$K)("esri.layers.SubtypeGroupLayer")],De);const qe=De},54339(e,t,r){function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{let r=[];for(let i of t.fieldNames)r.push(e.attributes[i]??null);return JSON.stringify(r)}}}function l(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];let r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>i,r:()=>l})},52136(e,t,r){var i=r(32198),l=r(91429);r.d(t,["p",0,e=>{let t=e,r=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null==e?(this._clearOverride("apiKey"),this.clear("apiKey","user")):this._override("apiKey",e)}};return(0,i.Cg)([(0,l.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,l.$K)("esri.layers.mixins.APIKeyMixin")],r),r}])},6455(e,t,r){r.d(t,{FJ:()=>g,Dp:()=>b,KV:()=>M});var i=r(32198),l=r(93637),n=r(91429),o=r(89317),a=r(69540),s=r(7762),u=r(25482),d=r(83960),c=r(13069);const p={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let f=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.id=(0,c.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],f.prototype,"id",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:p})],f.prototype,"maxScale",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:p})],f.prototype,"minScale",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],f.prototype,"title",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],f.prototype,"where",void 0),f=(0,i.Cg)([(0,n.$K)("esri.layers.support.DisplayFilter")],f);var h=r(41560),y=r(43937);let m=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(s.A.ofType(f)),this.mode="manual"}writeFilters(e,t,r,i){let l=e.toArray();"scale"===this.mode&&l.sort((e,t)=>{let r=(0,d.oW)(t.minScale,e.minScale),i=e.maxScale-t.maxScale;return 0===r?i:r}),t[r]=l.map(e=>e.toJSON(i))}write(e,t){return super.write(e,(0,h.mW)(this,t))}};(0,i.Cg)([(0,n.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],m.prototype,"activeFilterId",void 0),(0,i.Cg)([(0,n.MZ)({type:s.A.ofType(f),nonNullable:!0,json:{write:!0}})],m.prototype,"filters",void 0),(0,i.Cg)([(0,y.K)("filters")],m.prototype,"writeFilters",null),(0,i.Cg)([(0,n.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],m.prototype,"mode",void 0),m=(0,i.Cg)([(0,n.$K)("esri.layers.support.DisplayFilterInfo")],m);const g=e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,i.Cg)([(0,n.MZ)(b)],r.prototype,"displayFilterEnabled",void 0),(0,i.Cg)([(0,n.MZ)(M)],r.prototype,"displayFilterInfo",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.DisplayFilteredLayer")],r),r},b={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:o.K,writer(e,t,r){(0,l.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},M={type:m,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:o.K},origins:{"web-scene":{write:!1,read:!1}}}}},47685(e,t,r){r.d(t,{Mk:()=>f,Zk:()=>c});var i=r(32198),l=r(65529),n=r(4718),o=r(91429),a=r(20816);const s=new l.bk;function u(e){return s.on("apply-edits",new WeakRef(e))}function d(e){return s.on("update-moment",new WeakRef(e))}function c(e,t,r=null,i=!1){let l=Promise.withResolvers();return i=null==t||i,s.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:r,mayReceiveServiceEdits:i,result:l.promise}),l}const p=Symbol();function f(e){return"object"==typeof e&&!!e&&p in e}function h(e){return"object"==typeof e&&!!e&&"gdbVersion"in e}function y(e,t,r){let i=new URL(e).host,l=a.Z3.get(i),n=e=>!e||e===l;return n(t)&&n(r)||t===r}r.d(t,["w6",0,e=>{var t;let r=e,l=class extends r{static{t=p}constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{let{serviceUrl:t,layerId:r,gdbVersion:i,mayReceiveServiceEdits:l,result:o}=e,a=t===this.url,s=null!=r&&null!=this.layerId&&r===this.layerId,u=null!=r&&this.relationships?.some(e=>e.relatedTableId===r),d=h(this),c=h(this)&&y(t,i,this.gdbVersion);if(!a||d&&!c||!s&&!u&&!l)return;let p=o.then(e=>{if(this.lastEditsEventDate=new Date,s&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,n.o8)(e)),e;let r=e.editedFeatures?.find(({layerId:e})=>e===this.layerId);if(r){let{adds:t,updates:i,deletes:l}=r.editedFeatures,o={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:t?t.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],deletedFeatures:l?l.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],updatedFeatures:i?i.map(({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],editedFeatures:(0,n.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,n.o8)(e.historicMoment)};return this.emit("edits",o),o}let l={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,n.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,n.o8)(e.historicMoment)};return"historicMoment"in this&&this._shouldUpdateHistoricMoment(t,i,l.historicMoment)&&this.emit("edits",l),l}).then(e=>("historicMoment"in this&&this._shouldUpdateHistoricMoment(t,i,e.historicMoment)&&(this.historicMoment=e.historicMoment),e));p.catch(()=>{}),this.emit("apply-edits",{result:p})},this._updateMomentHandler=e=>{let{serviceUrl:t,gdbVersion:r,moment:i}=e,l=t===this.url,n=h(this),o=h(this)&&y(t,r,this.gdbVersion),a=h(this)&&!y(t,this.gdbVersion,null);l&&n&&o&&a&&"historicMoment"in this&&this.historicMoment!==i&&(this.historicMoment=i)},this.when().then(()=>{this.addHandles(u(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(d(this._updateMomentHandler))},()=>{})}_shouldUpdateHistoricMoment(e,t,r){return"historicMoment"in this&&this.historicMoment!==r&&(0,a.w5)(e,t)}};return(0,i.Cg)([(0,o.MZ)()],l.prototype,"lastEditsEventDate",void 0),l=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.EditBusLayer")],l),l}])},28032(e,t,r){r.d(t,{A:()=>s});var i=r(32198),l=r(69540),n=r(25482),o=r(91429),a=r(56400);let s=class extends((0,l.OU)(n.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,i.Cg)([(0,o.MZ)()],s.prototype,"creatorField",void 0),(0,i.Cg)([(0,o.MZ)()],s.prototype,"creationDateField",void 0),(0,i.Cg)([(0,o.MZ)()],s.prototype,"editorField",void 0),(0,i.Cg)([(0,o.MZ)()],s.prototype,"editDateField",void 0),(0,i.Cg)([(0,o.MZ)()],s.prototype,"realm",void 0),(0,i.Cg)([(0,o.MZ)((0,a.P6)("dateFieldsTimeReference",!0))],s.prototype,"timeZone",void 0),s=(0,i.Cg)([(0,o.$K)("esri.layers.support.EditFieldsInfo")],s)},29005(e,t,r){r.d(t,{A:()=>u});var i=r(32198),l=r(69540),n=r(66552),o=r(25482),a=r(91429);const s=new n.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,l.OU)(o.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:s.read,write:s.write}})],u.prototype,"drawingTool",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,i.Cg)([(0,a.$K)("esri.layers.support.FeatureTemplate")],u)},30279(e,t,r){r.d(t,{A:()=>u});var i=r(32198),l=r(69540),n=r(25482),o=r(10107),a=r(64108),s=r(39663);let u=class extends((0,l.OU)(n.o)){constructor(e){super(e),this.alias=null,this.name=void 0,this.fieldFormat=null}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"alias",void 0),(0,i.Cg)([(0,o.MZ)({type:String,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({types:s.fg,json:{write:!0}})],u.prototype,"fieldFormat",void 0),u=(0,i.Cg)([(0,a.$K)("esri.layers.support.FieldConfiguration")],u)},46499(e,t,r){var i,l,n=r(32198),o=(r(44208),r(66552)),a=r(25482),s=r(4718),u=r(90629),d=r(91429),c=r(90360),p=r(73913),f=r(32730),h=r(77548),y=r(59868),m=r(73838),g=r(33910),b=r(36005),M=r(43937);const C=new o.J({esriServerPointLabelPlacementAboveCenter:"above-center",esriServerPointLabelPlacementAboveLeft:"above-left",esriServerPointLabelPlacementAboveRight:"above-right",esriServerPointLabelPlacementBelowCenter:"below-center",esriServerPointLabelPlacementBelowLeft:"below-left",esriServerPointLabelPlacementBelowRight:"below-right",esriServerPointLabelPlacementCenterCenter:"center-center",esriServerPointLabelPlacementCenterLeft:"center-left",esriServerPointLabelPlacementCenterRight:"center-right",esriServerLinePlacementAboveAfter:"above-after",esriServerLinePlacementAboveAlong:"above-along",esriServerLinePlacementAboveBefore:"above-before",esriServerLinePlacementAboveStart:"above-start",esriServerLinePlacementAboveEnd:"above-end",esriServerLinePlacementBelowAfter:"below-after",esriServerLinePlacementBelowAlong:"below-along",esriServerLinePlacementBelowBefore:"below-before",esriServerLinePlacementBelowStart:"below-start",esriServerLinePlacementBelowEnd:"below-end",esriServerLinePlacementCenterAfter:"center-after",esriServerLinePlacementCenterAlong:"center-along",esriServerLinePlacementCenterBefore:"center-before",esriServerLinePlacementCenterStart:"center-start",esriServerLinePlacementCenterEnd:"center-end",esriServerPolygonPlacementAlwaysHorizontal:"always-horizontal"},{ignoreUnknown:!0});function w(e,t,r){return{enabled:!(0,h.TU)(r?.layer)}}function v(e){return!e||"service"!==e.origin&&"map-image"!==e.layer?.type}function I(e){return!!function(e){return"map-image"===e?.type}(e)&&!!e.capabilities?.exportMap?.supportsArcadeExpressionForLabeling}let S=class extends a.o{static{i=f.vK}static{l=this}static evaluateWhere(e,t){let r=(e,t,r)=>{switch(t){case"=":return e==r;case"<>":return e!=r;case">":return e>r;case">=":return e>=r;case"<":return e<r;case"<=":return e<=r}return!1};try{if(null==e)return!0;let i=e.split(" ");if(3===i.length)return r(t[i[0]],i[1],i[2]);if(7===i.length){let e=r(t[i[0]],i[1],i[2]),l=i[3],n=r(t[i[4]],i[5],i[6]);switch(l){case"AND":return e&&n;case"OR":return e||n}}return!1}catch{}}constructor(e){super(e),this[i]=!0,this.type="label",this.name=null,this.allowOverrun=!1,this.deconflictionStrategy="static",this.labelExpression=null,this.labelExpressionInfo=null,this.labelPlacement=null,this.offsetDistance=0,this.labelPosition="curved",this.maxScale=0,this.minScale=0,this.repeatLabel=!0,this.symbol=y.Hk,this.useCodedValues=void 0,this.where=null}readLabelExpression(e,t){let r=t.labelExpressionInfo;if(!r||!r.value&&!r.expression)return e}writeLabelExpression(e,t,r){if(this.labelExpressionInfo)if(null!=this.labelExpressionInfo.value)e=(0,f.D3)(this.labelExpressionInfo.value);else if(null!=this.labelExpressionInfo.expression){let t=(0,f.tH)(this.labelExpressionInfo.expression);t&&(e="["+t+"]")}null!=e&&(t[r]=e)}writeLabelExpressionInfo(e,t,r,i){if(null==e&&null!=this.labelExpression&&v(i))e=new p.A({expression:this.getLabelExpressionArcade()});else if(!e)return;let l=e.toJSON(i);l.expression&&(t[r]=l)}writeMaxScale(e,t){(e||this.minScale)&&(t.maxScale=e)}writeMinScale(e,t){(e||this.maxScale)&&(t.minScale=e)}get repeatLabelDistance(){return this._get("repeatLabelDistance")}set repeatLabelDistance(e){this._set("repeatLabelDistance",e)}getLabelExpression(){return(0,f.XJ)(this)}getLabelExpressionArcade(){return(0,f.BI)(this)}getLabelExpressionSingleField(){return(0,f.rU)(this)}hash(){return JSON.stringify(this)}clone(){return new l({allowOverrun:this.allowOverrun,deconflictionStrategy:this.deconflictionStrategy,labelExpression:this.labelExpression,labelExpressionInfo:(0,s.o8)(this.labelExpressionInfo),labelPosition:this.labelPosition,labelPlacement:this.labelPlacement,offsetDistance:this.offsetDistance,maxScale:this.maxScale,minScale:this.minScale,name:this.name,repeatLabel:this.repeatLabel,repeatLabelDistance:this.repeatLabelDistance,symbol:(0,s.o8)(this.symbol),where:this.where,useCodedValues:this.useCodedValues})}};(0,n.Cg)([(0,d.MZ)({type:String,json:{write:!0}})],S.prototype,"name",void 0),(0,n.Cg)([(0,d.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1},"portal-item":{default:!1,write:{overridePolicy:w}}}}})],S.prototype,"allowOverrun",void 0),(0,n.Cg)([(0,d.MZ)({type:String,json:{write:!0,default:"static",origins:{"web-scene":{write:!1},"portal-item":{default:"static",write:{overridePolicy:w}}}}})],S.prototype,"deconflictionStrategy",void 0),(0,n.Cg)([(0,d.MZ)({type:String,json:{write:{overridePolicy(e,t,r){return this.labelExpressionInfo&&"service"===r?.origin&&I(r.layer)?{enabled:!1}:{allowNull:!0}}}}})],S.prototype,"labelExpression",void 0),(0,n.Cg)([(0,b.w)("labelExpression")],S.prototype,"readLabelExpression",null),(0,n.Cg)([(0,M.K)("labelExpression")],S.prototype,"writeLabelExpression",null),(0,n.Cg)([(0,d.MZ)({type:p.A,json:{write:{overridePolicy:(e,t,r)=>function(e){return v(e)||I(e?.layer)}(r)?{allowNull:!0}:{enabled:!1}}}})],S.prototype,"labelExpressionInfo",void 0),(0,n.Cg)([(0,M.K)("labelExpressionInfo")],S.prototype,"writeLabelExpressionInfo",null),(0,n.Cg)([(0,d.MZ)({type:C.apiValues,json:{type:C.jsonValues,read:C.read,write:C.write}})],S.prototype,"labelPlacement",void 0),(0,n.Cg)([(0,d.MZ)({type:Number,json:{read:!0,write:!0,default:0,origins:{"web-scene":{write:!1}}}})],S.prototype,"offsetDistance",void 0),(0,n.Cg)([(0,d.MZ)({type:["curved","parallel"],json:{write:!0,origins:{"web-map":{write:!1},"web-scene":{write:!1},"portal-item":{write:!1}}}})],S.prototype,"labelPosition",void 0),(0,n.Cg)([(0,d.MZ)({type:Number})],S.prototype,"maxScale",void 0),(0,n.Cg)([(0,M.K)("maxScale")],S.prototype,"writeMaxScale",null),(0,n.Cg)([(0,d.MZ)({type:Number})],S.prototype,"minScale",void 0),(0,n.Cg)([(0,M.K)("minScale")],S.prototype,"writeMinScale",null),(0,n.Cg)([(0,d.MZ)({type:Boolean,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:w}}}}})],S.prototype,"repeatLabel",void 0),(0,n.Cg)([(0,d.MZ)({type:Number,cast:u.cr,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:w}}}}})],S.prototype,"repeatLabelDistance",null),(0,n.Cg)([(0,d.MZ)({types:g.em,json:{types:g.em,origins:{"portal-item":{types:g.em,read:{reader:(0,c.C)({types:g.em})},default:null},"web-scene":{types:g.Rv,read:{reader:(0,c.C)({types:g.Rv})},write:m.oO,default:null}},write:m.oO,default:null}})],S.prototype,"symbol",void 0),(0,n.Cg)([(0,d.MZ)({type:Boolean,json:{write:!0}})],S.prototype,"useCodedValues",void 0),(0,n.Cg)([(0,d.MZ)({type:String,json:{write:!0}})],S.prototype,"where",void 0),S=l=(0,n.Cg)([(0,d.$K)("esri.layers.support.LabelClass")],S);const F=S;r.d(t,["A",0,F])},73913(e,t,r){var i,l=r(32198),n=r(25482),o=r(91429),a=r(32730),s=r(36005),u=r(43937);let d=class extends n.o{static{i=this}constructor(e){super(e),this.name=null,this.expression=null,this.title=null,this.value=null}readExpression(e,t){return t.value?(0,a.mX)(t.value):e}writeExpression(e,t,r){null!=this.value&&(e=(0,a.mX)(this.value)),null!=e&&(t[r]=e)}clone(){return new i({name:this.name,expression:this.expression,title:this.title,value:this.value})}};(0,l.Cg)([(0,o.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],d.prototype,"name",void 0),(0,l.Cg)([(0,o.MZ)({type:String,json:{write:{writerEnsuresNonNull:!0}}})],d.prototype,"expression",void 0),(0,l.Cg)([(0,s.w)("expression",["expression","value"])],d.prototype,"readExpression",null),(0,l.Cg)([(0,u.K)("expression")],d.prototype,"writeExpression",null),(0,l.Cg)([(0,o.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],d.prototype,"title",void 0),(0,l.Cg)([(0,o.MZ)({json:{read:!1,write:!1}})],d.prototype,"value",void 0),d=i=(0,l.Cg)([(0,o.$K)("esri.layers.support.LabelExpressionInfo")],d);const c=d;r.d(t,["A",0,c])},37352(e,t,r){r.d(t,{A:()=>s});var i,l=r(32198),n=r(7762),o=r(25482),a=r(91429);let s=i=class extends o.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new n.A}clone(){return new i({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,l.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],s.prototype,"floorField",void 0),(0,l.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],s.prototype,"viewAllMode",void 0),(0,l.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],s.prototype,"viewAllLevelIds",void 0),s=i=(0,l.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],s)},45067(e,t,r){r.d(t,{A:()=>d});var i=r(32198),l=r(69540),n=r(66552),o=r(25482),a=r(91429);const s=new n.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new n.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let d=class extends((0,l.OU)(o.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,i.Cg)([(0,a.MZ)({json:{read:s.read,write:s.write}})],d.prototype,"cardinality",void 0),(0,i.Cg)([(0,a.MZ)({json:{name:"catalogID"}})],d.prototype,"catalogId",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],d.prototype,"composite",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],d.prototype,"id",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],d.prototype,"keyField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],d.prototype,"keyFieldInRelationshipTable",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],d.prototype,"relatedTableId",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],d.prototype,"relationshipTableId",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],d.prototype,"role",void 0),d=(0,i.Cg)([(0,a.$K)("esri.layers.support.Relationship")],d)},17311(e,t,r){r.d(t,{A:()=>f});var i=r(32198),l=r(56372),n=r(4576),o=r(60999),a=r(7762),s=r(16494),u=r(91429),d=r(30524),c=r(43668);const p=/<br\s*\/*>/gi;let f=class extends l.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,o.UT)(()=>(0,c.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??Promise.all([r.e(3281),r.e(9301)]).then(()=>r(99301)).then(e=>this._featureUtils=e)}get calculatedExpressions(){let e=new a.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(let t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(let t of this.expressionsUsedInTitle)try{let r=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(r.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:r,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(r,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"==typeof e?(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[]):[]}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){let e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(let t of this.calculatedExpressions?.toArray()??[])try{let r=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(let t of r){let r=t.split("."),i=this.fieldsIndex.get(r.at(-1)??"");i&&e.add(i.name)}}catch{}let t=this._extractFieldNames(this.workingTitle);for(let r of t){let t=this.fieldsIndex.get(r);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||=this.fieldsIndex.get(this.objectIdField)?.name??"",e?`{${e}}`:""}get workingTitle(){let e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,r){let i=t.getObjectId()??t.attributes?.[e.objectIdField];return(await this.getTitles(e,[t],r)).get(i)??""}async getTitles(e,t,r){let i=new Map,l=r?.timeZone??"system";try{let[{substituteFieldsInLinksAndAttributes:n}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);r?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));let{fieldInfoMap:o,workingTitle:a}=this,u=a&&o;t.forEach(t=>{let d=t.getObjectId()??t.attributes[e.objectIdField],c=u?n({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:o,globalAttributes:this._createFormattedAttributes(e,t,l).global,layer:e,text:a}):"";r?.removeHTML&&(c=s.Nd.sanitize(c).replaceAll(p," ")),i.set(d,c)})}catch{}return i}async _checkAndReQueryGraphics(e,t){let r=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(n.Ru);if(r.length!==t.length)return t;if(t.some(e=>!(0,d.Kl)(e,this.requiredFields))){let i=e.createQuery();i.where="1=1",i.outFields=[...this.requiredFields],i.objectIds=r;let l=await e.queryFeatures(i);if(l?.features.length===t.length)return l.features}return t}_createFieldInfoMap(e){let t=new Map;if(!e)return t;for(let r of e){if(!r.fieldName)continue;let e=this.fieldsIndex.get(r.fieldName)?.name??r.fieldName;r.fieldName=e,t.set(e.toLowerCase(),r)}return t}_createFormattedAttributes(e,t,r="system"){let i=this.effectivePopupTemplate?.fieldInfos??[],l={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){let r=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(let e of this.calculatedExpressions)try{l[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}let n={...t.attributes,...l};return{global:this._featureUtils.formatAttributes({fieldInfos:i,attributes:n,graphic:t,timeZone:r,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,d.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,i.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"_arcadeTask",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"_featureUtils",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"featureUtilsPromise",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"calculatedExpressions",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"displayField",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"effectivePopupTemplate",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"expressionsUsedInTitle",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"fieldInfoMap",null),(0,i.Cg)([(0,u.MZ)()],f.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"objectIdField",void 0),(0,i.Cg)([(0,u.MZ)()],f.prototype,"requiredFields",null),f=(0,i.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],f)},41560(e,t,r){r.d(t,{Ch:()=>o,mW:()=>n});var i=r(34727),l=r(39516);function n(e,t){return{...t,filterMode:e.mode}}function o(e,t,r){let n=function(e){if("manual"===u(e))return null;let t=[-1/0,1/0];for(let{minScale:r,maxScale:i}of e.filters)t[0]=Math.max(t[0],d(r)),t[1]=Math.min(t[1],c(i));return t}(e);if(n&&((0,i.gg)(t,n[0])||(0,i.ZH)(r,n[1])))return"";let o=Array.from(a(e,t,r)),s=function(e,t,r){if(0===e.length)return!0;let l=d(e.at(0)?.minScale),n=c(e.at(-1)?.maxScale);if((0,i.ZH)(l,t)||(0,i.gg)(n,r))return!0;for(let t=0;t<e.length-1;t++){let r=e[t],l=e[t+1];if((0,i.ZH)(d(l.minScale),c(r.maxScale)))return!0}return!1}(o,t,r)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,l.IW)(e,t),"");return s&&"1=1"!==s?s:""}function*a(e,t,r){if("manual"===u(e)){let t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(let i of e.filters)s(i.minScale,i.maxScale,t,r)&&(yield i)}}function s(e,t,r,l){return e=d(e),r=d(r),t=c(t),!(!(0,i.Sp)(r,e)&&(l??r)>e||(0,i.Hx)(t,r)||void 0!==l&&(0,i.Sp)(l,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function d(e){return e||1/0}function c(e){return e||0}},16194(e,t,r){r.d(t,{QX:()=>s,sS:()=>d,xY:()=>u});var i=r(4718),l=r(30279),n=r(39663),o=r(30524),a=r(41227);function s(e){let{popupTemplate:t,fieldsIndex:r}=e,i=t?.fieldInfos;if(!i?.length||!r)return;let o=[];for(let e of i){let{fieldName:t,label:i}=e,a=r.get(t);if(!a)continue;let s=i&&i!==a.alias?i:null,u=(0,n.iu)(e,a);(s||u)&&o.push(new l.A({name:a.name,alias:s,fieldFormat:u}))}return o.length?o:null}function u(e){let{fields:t}=e;if(!t?.length)return;let r=[];for(let e of t){let t=(0,n.qH)(e)?(0,n.$P)(e):null;t&&r.push(new l.A({name:e.name,fieldFormat:t}))}return r.length?r:null}function d(e,t){let{popupTemplate:r,fieldsIndex:l}=e;if(!r||!l)return;let o=function(e,t,r){t??=[],r=(0,i.o8)(r)??[];let l=!1,o=new Map;for(let r of t){let t=e.fieldsIndex.get(r.name);t&&o.set(t.name,r)}for(let t of r){let r=e.fieldsIndex.get(t.fieldName);if(!r)continue;let i=o.get(r.name);t.label=i?.alias||r.alias,t.format=(0,n.qH)(r)&&i?.fieldFormat?(0,n.PK)(i.fieldFormat,r):null,l=!0,o.delete(r.name)}for(let t of o.values()){let i=c(e,t);i&&(r.push(i),l=!0)}return l?r:null}(e,t,r.fieldInfos);if(!o)return;let a=r.clone();return a.fieldInfos=o,a}function c(e,t){let{name:r,alias:i,fieldFormat:l}=t,s=e.fieldsIndex.get(r);if(!s||!i&&!l)return;let u=i||s.alias,d=(0,n.qH)(s)&&l?(0,n.PK)(l,s):null;return new a.A({fieldName:s.name,label:u,format:d,visible:!1,isEditable:(0,o.R$)(s,e)})}},39383(e,t,r){r.d(t,{w:()=>s,z:()=>c});var i=r(49186),l=r(53966),n=r(46499);const o=()=>l.A.getLogger("esri.layers.support.labelingInfo"),a=/\[([^[\]]+)\]/gi;function s(e,t,r){return e?e.map(e=>{let i=new n.A;if(i.read(e,r),i.labelExpression){let e=t.fields||t.layerDefinition?.fields||this.fields;i.labelExpression=i.labelExpression.replaceAll(a,(t,r)=>`[${function(e,t){if(!t)return e;let r=e.toLowerCase();for(let e=0;e<t.length;e++){let i=t[e].name;if(i.toLowerCase()===r)return i}return e}(r,e)}]`)}return i}):null}const u=["above-right","above-center","above-left","center-center","center-left","center-right","below-center","below-left","below-right"],d={esriGeometryPoint:u,esriGeometryMultiPatch:["always-horizontal"],esriGeometryPolygon:["always-horizontal"],esriGeometryPolyline:["center-along","above-along","below-along"],esriGeometryMultipoint:u,esriGeometryEnvelope:null};function c(e,t){let r=[];for(let l of e){let e=l.labelPlacement,n=d[t];if(!l.symbol)return o().warn("No ILabelClass symbol specified."),[];if(!n)return o().error(new i.A("labeling:unsupported-geometry-type",`Unable to create labels for layer, geometry type '${t}' is not supported`)),[];if(n.includes(e))r.push(l);else{let i=n[0];e&&o().warn(`Found invalid label placement type ${e} for ${t}. Defaulting to ${i}`);let a=l.clone();a.labelPlacement=i,r.push(a)}}return r}},86162(e,t,r){r.d(t,{A:()=>x});var i,l=r(32198),n=r(66552),o=r(4718),a=r(53966),s=r(91429),u=r(78888),d=r(30524),c=r(92438),p=r(63988),f=r(88542),h=r(49849),y=r(20061),m=r(80911),g=r(43668),b=r(33910),M=r(36005),C=r(43937),w=r(93223);const v="percent-of-total",I="field",S=new n.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:v,esriNormalizeByField:I}),F=(0,u.dp)(f.A);let x=i=class extends((0,p.h)(c.A)){constructor(e){super(e),this._compiledValueExpression={valueExpression:null,compiledFunction:null},this.backgroundFillSymbol=null,this.classBreakInfos=null,this.defaultLabel=null,this.defaultSymbol=null,this.field=null,this.isMaxInclusive=!0,this.legendOptions=null,this.normalizationField=null,this.normalizationTotal=null,this.type="class-breaks",this.valueExpression=null,this.valueExpressionTitle=null,this._set("classBreakInfos",[])}readClassBreakInfos(e,t,r){if(!Array.isArray(e))return;let i=t.minValue;return e.map(e=>{let t=new f.A;return t.read(e,r),t.minValue??=i,t.maxValue??=t.minValue,i=t.maxValue,t})}writeClassBreakInfos(e,t,r,i){let l=e.map(e=>e.write({},i));this._areClassBreaksConsecutive()&&l.forEach(e=>delete e.classMinValue),t[r]=l}castField(e){return null==e?e:"function"==typeof e?(a.A.getLogger(this).error(".field: field must be a string value"),null):(0,u.GX)(e)}get minValue(){return this.classBreakInfos&&this.classBreakInfos[0]&&this.classBreakInfos[0].minValue||0}get normalizationType(){let e=this._get("normalizationType"),t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&I||r&&v||null,t&&r&&a.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):(e===I||e===v)&&(e=null),e}set normalizationType(e){this._set("normalizationType",e)}addClassBreakInfo(e,t,r){let i=null;i="number"==typeof e?new f.A({minValue:e,maxValue:t,symbol:(0,b.dp)(r)}):F((0,o.o8)(e)),this.classBreakInfos.push(i),1===this.classBreakInfos.length&&this.notifyChange("minValue")}removeClassBreakInfo(e,t){let r=this.classBreakInfos.length;for(let i=0;i<r;i++){let r=[this.classBreakInfos[i].minValue,this.classBreakInfos[i].maxValue];if(r[0]===e&&r[1]===t){this.classBreakInfos.splice(i,1);break}}}getBreakIndex(e,t){return this.valueExpression&&null==t?.arcade&&a.A.getLogger(this).warn(""),this.valueExpression?this._getBreakIndexForExpression(e,t):this._getBreakIndexForField(e)}async getClassBreakInfo(e,t){let r=t;this.valueExpression&&null==t?.arcade&&(r={...r,arcade:await(0,g.l)()});let i=this.getBreakIndex(e,r);return-1===i?null:this.classBreakInfos[i]}getSymbol(e,t){if(this.valueExpression&&null==t?.arcade)return void a.A.getLogger(this).error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");let r=this.getBreakIndex(e,t);return-1===r?this.defaultSymbol:(0,m.c)(this.classBreakInfos[r],t?.scale)??this.defaultSymbol}async getSymbolAsync(e,t){let r=t;if(this.valueExpression&&null==t?.arcade){let e=await(0,g.l)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),r={...r,arcade:e}}let i=this.getBreakIndex(e,r);return-1===i?this.defaultSymbol:(0,m.c)(this.classBreakInfos[i],r?.scale)??this.defaultSymbol}get symbols(){let e=[];return this.classBreakInfos.forEach(t=>{t.symbol&&e.push(t.symbol),e.push(...t.alternateSymbols??[])}),this.defaultSymbol&&e.push(this.defaultSymbol),e}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}clone(){return new i({field:this.field,backgroundFillSymbol:this.backgroundFillSymbol?.clone(),defaultLabel:this.defaultLabel,defaultSymbol:this.defaultSymbol?.clone(),valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,classBreakInfos:(0,o.o8)(this.classBreakInfos),isMaxInclusive:this.isMaxInclusive,normalizationField:this.normalizationField,normalizationTotal:this.normalizationTotal,normalizationType:this.normalizationType,visualVariables:(0,o.o8)(this.visualVariables),legendOptions:(0,o.o8)(this.legendOptions),authoringInfo:(0,o.o8)(this.authoringInfo)})}async collectRequiredFields(e){let t=[this.collectVVRequiredFields(e),this.collectSymbolFields(e)];await Promise.all(t)}async collectSymbolFields(e){let t=[...this.symbols.map(t=>t.collectRequiredFields(e)),(0,d.Dx)(e,null,this.valueExpression)];e.collect(this.field),e.collect(this.normalizationField),await Promise.all(t)}getBreakIndexfromInfos(e){let t=this.isMaxInclusive;if(null!=e&&"number"==typeof e&&!isNaN(e))for(let r=0;r<this.classBreakInfos.length;r++){let i=[this.classBreakInfos[r].minValue,this.classBreakInfos[r].maxValue];if(i[0]<=e&&(t?e<=i[1]:e<i[1]))return r}return-1}_getBreakIndexForExpression(e,t){let{viewingMode:r,scale:i,spatialReference:l,arcade:n,timeZone:o}=t??{},{valueExpression:a}=this,s=this._compiledValueExpression.valueExpression===a?this._compiledValueExpression.compiledFunction:null,u=n.arcadeUtils;if(!s){let e=u.createSyntaxTree(a);s=u.createFunction(e),this._compiledValueExpression.compiledFunction=s}this._compiledValueExpression.valueExpression=a;let d=u.executeFunction(s,u.createExecContext(e,u.getViewInfo({viewingMode:r,scale:i,spatialReference:l}),o));return this.getBreakIndexfromInfos(d)}_getBreakIndexForField(e){let t=this.field,r=e.attributes,i=this.normalizationType,l=parseFloat(r[t]);if(i){let e=this.normalizationTotal,t=parseFloat(this.normalizationField?r[this.normalizationField]:void 0);if("log"===i)l=Math.log(l)*Math.LOG10E;else if(i!==v||null==e||isNaN(e)){if(i===I&&!isNaN(t)){if(isNaN(l)||isNaN(t))return-1;l/=t}}else l=l/e*100}return this.getBreakIndexfromInfos(l)}_areClassBreaksConsecutive(){let e=this.classBreakInfos,t=e.length;for(let r=1;r<t;r++)if(e[r-1].maxValue!==e[r].minValue)return!1;return!0}};(0,l.Cg)([(0,s.MZ)(h.As)],x.prototype,"backgroundFillSymbol",void 0),(0,l.Cg)([(0,s.MZ)({type:[f.A],json:{write:{isRequired:!0}}})],x.prototype,"classBreakInfos",void 0),(0,l.Cg)([(0,M.w)("classBreakInfos")],x.prototype,"readClassBreakInfos",null),(0,l.Cg)([(0,C.K)("classBreakInfos")],x.prototype,"writeClassBreakInfos",null),(0,l.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"defaultLabel",void 0),(0,l.Cg)([(0,s.MZ)(h.z4)],x.prototype,"defaultSymbol",void 0),(0,l.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"field",void 0),(0,l.Cg)([(0,s.wg)("field")],x.prototype,"castField",null),(0,l.Cg)([(0,s.MZ)({type:Boolean})],x.prototype,"isMaxInclusive",void 0),(0,l.Cg)([(0,s.MZ)({type:y.A,json:{write:!0}})],x.prototype,"legendOptions",void 0),(0,l.Cg)([(0,s.MZ)({type:Number,readOnly:!0,value:null,json:{read:!1,write:{overridePolicy(){return 0!==this.classBreakInfos.length&&this._areClassBreaksConsecutive()?{enabled:!0}:{enabled:!1}}}}})],x.prototype,"minValue",null),(0,l.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"normalizationField",void 0),(0,l.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],x.prototype,"normalizationTotal",void 0),(0,l.Cg)([(0,s.MZ)({type:S.apiValues,value:null,json:{type:S.jsonValues,read:S.read,write:S.write}})],x.prototype,"normalizationType",null),(0,l.Cg)([(0,w.e)({classBreaks:"class-breaks"})],x.prototype,"type",void 0),(0,l.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"valueExpression",void 0),(0,l.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],x.prototype,"valueExpressionTitle",void 0),x=i=(0,l.Cg)([(0,s.$K)("esri.renderers.ClassBreaksRenderer")],x)},88542(e,t,r){r.d(t,{A:()=>u});var i,l=r(32198),n=r(25482),o=r(91429),a=r(49849),s=r(40863);let u=i=class extends n.o{constructor(e){super(e),this.description=null,this.label=null,this.minValue=null,this.maxValue=0,this.symbol=null}get alternateSymbols(){return this._get("alternateSymbols")??null}set alternateSymbols(e){e?this._set("alternateSymbols",e.map(e=>e instanceof s.A?e:(delete e.type,new s.A(e)))):this._set("alternateSymbols",null)}clone(){return new i({alternateSymbols:this.alternateSymbols?.map(e=>e.clone()),description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,symbol:this.symbol?.clone()??null})}};(0,l.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"description",void 0),(0,l.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,l.Cg)([(0,o.MZ)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],u.prototype,"minValue",void 0),(0,l.Cg)([(0,o.MZ)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],u.prototype,"maxValue",void 0),(0,l.Cg)([(0,o.MZ)(a.Wp)],u.prototype,"symbol",void 0),(0,l.Cg)([(0,o.MZ)({type:[s.A],useTypeForAutocast:!1,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"alternateSymbols",null),u=i=(0,l.Cg)([(0,o.$K)("esri.renderers.support.ClassBreakInfo")],u)},41366(e,t,r){var i=r(32198),l=r(66552),n=r(53966),o=r(91429),a=r(93223);const s=(0,l.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",d="field";r.d(t,["K",0,e=>{let t=e,r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType"),t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&d||r&&u||null,t&&r&&n.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):(e===d||e===u)&&(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,a.e)(s,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,i.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r},"Q",0,s])},28076(e,t,r){var i=r(13337);const l={CIMVectorMarker:{scalesymbolsproportionally:!1,respectframe:!0,anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMPictureMarker:{scalex:1,texturefilter:"Draft",anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMTextSymbol:{angle:0,anglex:0,angley:0,halosize:1,height:10,horizontalalignment:"Left",kerning:!0,letterspacing:0,letterwidth:100,ligatures:!0,linegap:0,offsetx:0,offsety:0,strikethrough:!1,textcase:"Normal",textstring:"",underline:!1,verticalalignment:"Bottom",enable:!0,colorlocked:!1},CIMSolidStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMPictureStroke:{texturefilter:"Draft",capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMGradientStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1,gradientMethod:"AcrossLine",gradientSize:75,gradientSizeUnits:i.h.Relative,gradientType:"Discrete",interval:5},CIMSolidFill:{enable:!0,colorlocked:!1},CIMPictureFill:{offsetx:0,offsety:0,rotation:0,scalex:1,height:10,texturefilter:"Draft",enable:!0,colorlocked:!1},CIMHatchFill:{offsetx:0,offsety:0,rotation:0,separation:4,enable:!0,colorlocked:!1},CIMGradientFill:{enable:!0,angle:90,gradientMethod:"Linear",gradientSize:75,gradientSizeUnits:i.h.Relative,gradientType:"Discrete",interval:5},CIMGeometricEffectAddControlPoints:{angletolerance:120},CIMGeometricEffectArrow:{arrowtype:"OpenEnded",width:5},CIMGeometricEffectBuffer:{size:1},CIMGeometricEffectCircularSector:{radius:25,startangle:0,endangle:45},CIMGeometricEffectCut:{begincut:1,endcut:1,middlecut:0,invert:!1},CIMGeometricEffectDashes:{customendingoffset:0,linedashending:"NoConstraint",offsetalongline:0},CIMGeometricEffectDonut:{method:"Mitered",option:"Accurate",width:2},CIMGeometricEffectJog:{angle:225,length:20,position:50},CIMGeometricEffectControlMeasureLine:{rule:"FullGeometry",width:25},CIMGeometricEffectMove:{offsetx:1,offsety:-1},CIMGeometricEffectOffset:{method:"Square",offset:1,option:"Fast"},CIMGeometricEffectRadial:{angle:0,length:5},CIMGeometricEffectRotate:{angle:15},CIMGeometricEffectScale:{xscalefactor:1.15,yscalefactor:1.15},CIMGeometricEffectWave:{amplitude:2,period:3,seed:1,waveform:"Sinus"},CIMMarkerPlacementAlongLine:{customendingoffset:0,endings:"WithHalfGap",offsetalongline:0,placeperpart:!0,angletoline:!0,offset:0},CIMMarkerPlacementAtExtremities:{extremityplacement:"Both",offsetalongline:0,angletoline:!0,offset:0},CIMMarkerPlacementAtRatioPositions:{beginposition:0,endposition:0,flipfirst:!0,angletoline:!0,offset:0},CIMMarkerPlacementInsidePolygon:{gridangle:0,gridtype:"Fixed",offsetx:0,offsety:0,randomness:100,seed:0,shiftoddrows:!1,stepx:16,stepy:16,clipping:"ClipAtBoundary"},CIMMarkerPlacementOnLine:{relativeto:"LineMiddle",startpointoffset:0,angletoline:!0,offset:0},CIMMarkerPlacementOnVertices:{placeperpart:!0,placeoncontrolpoints:!0,placeonendpoints:!0,placeonregularvertices:!0,angletoline:!0,offset:0},CIMMarkerPlacementPolygonCenter:{method:"OnPolygon",offsetx:0,offsety:0,clipatboundary:!1},CIMAnimatedSymbolProperties:{playanimation:!1,reverseanimation:!1,randomizestarttime:!1,randomizestartseed:0,starttimeoffset:0,duration:3,endingduration:3,useendingduration:!1,repeattype:"Loop",repeatdelay:0,easing:"Linear"},CIMSymbolAnimationSize:{tosize:10},CIMSymbolAnimationScale:{scalefactor:1},CIMSymbolAnimationColor:{tocolor:[255,255,255,1],colormode:"Multiply"},CIMSymbolAnimationTransparency:{totransparency:0},CIMSymbolAnimationRotation:{torotation:0,rotateclockwise:!1},CIMSymbolAnimationOffset:{offsetx:0,offsety:0},CIMSymbolAnimationMoveAlongLine:{speed:30,distancealong:100,movementtype:"Distance"}};r.d(t,["D",0,l])},13337(e,t,r){r.d(t,["h",0,{Relative:0,Absolute:1}])},93397(e,t,r){r.d(t,{$w:()=>y,Bu:()=>v,DW:()=>b,FM:()=>a,Kn:()=>g,Kq:()=>G,MM:()=>c,Nl:()=>I,O2:()=>S,UE:()=>F,YC:()=>T,YF:()=>x,_1:()=>C,_h:()=>o,bs:()=>A,e6:()=>u,gQ:()=>n,jn:()=>f,lW:()=>d,ll:()=>j,mA:()=>p,oI:()=>V,pM:()=>M,pV:()=>m,pk:()=>E,rB:()=>L,xo:()=>w,yX:()=>R,zb:()=>k,zr:()=>h});var i=r(28076);function l(e){let t=e.length;for(;t--;)if(!" /-,\n".includes(e.charAt(t)))return!1;return!0}function n(e,t){let r=[],i=0,n=-1;do{if(n=e.indexOf("[",i),n>=i){if(n>i){let t=e.slice(i,n);r.push([t,null,l(t)])}if(i=n+1,n=e.indexOf("]",i),n>=i){if(n>i){let l=t[e.slice(i,n)];l&&r.push([null,l,!1])}i=n+1}}}while(-1!==n);if(i<e.length){let t=e.slice(i);r.push([t,null,l(t)])}return r}function o(e,t,r){let i="",l=null;for(let r of t){let[t,n,o]=r;if(null!=t&&""!==t)o?l=t:(null!=l&&(i+=l,l=null),i+=t);else{let t=e.readAttribute(n);null!=t&&""!==t&&(null!==l&&(i+=l,l=null),i+=t)}}return s(i,r)}function a(e,t,r,i){let l="",n=null;for(let i of t){let[t,o,a]=i;if(null!=t&&""!==t)a?n=t:(null!=n&&(l+=n,n=null),l+=t);else{let t=o;null!=r&&(t=P(o,r));let i=e.attributes[t];null!=i&&""!==i&&(null!=n&&(l+=n,n=null),l+=i)}}return s(l,i)}function s(e,t){switch("string"!=typeof e&&(e=String(e)),t){case"LowerCase":return e.toLowerCase();case"Allcaps":return e.toUpperCase();default:return e}}function u(e){return e?[e[0],e[1],e[2],e[3]/255]:[0,0,0,0]}function d(e){return e.data?.symbol??null}function c(e){return"CIMVectorMarker"===e.type||"CIMPictureMarker"===e.type||"CIMBarChartMarker"===e.type||"CIMCharacterMarker"===e.type||"CIMPieChartMarker"===e.type||"CIMStackedBarChartMarker"===e.type}function p(e){return"CIMGradientStroke"===e.type||"CIMPictureStroke"===e.type||"CIMSolidStroke"===e.type}function f(e){return null!=e&&("CIMGradientFill"===e.type||"CIMHatchFill"===e.type||"CIMPictureFill"===e.type||"CIMSolidFill"===e.type||"CIMWaterFill"===e.type)}function h(e){return null!=e&&("CIMMarkerPlacementAlongLineRandomSize"===e.type||"CIMMarkerPlacementAlongLineSameSize"===e.type||"CIMMarkerPlacementAlongLineVariableSize"===e.type||"CIMMarkerPlacementAtExtremities"===e.type||"CIMMarkerPlacementAtMeasuredUnits"===e.type||"CIMMarkerPlacementAtRatioPositions"===e.type||"CIMMarkerPlacementOnLine"===e.type||"CIMMarkerPlacementOnVertices"===e.type)}const y=(e,t=0)=>null==e||isNaN(e)?t:e;function m(e){if(!e)return"normal";switch(e.toLowerCase()){case"italic":return"italic";case"oblique":return"oblique";default:return"normal"}}function g(e){if(!e)return"normal";switch(e.toLowerCase()){case"bold":return"bold";case"bolder":return"bolder";case"lighter":return"lighter";default:return"normal"}}function b(e){return e.underline?"underline":e.strikethrough?"line-through":"none"}function M(e){if(!e)return null;switch(e.type){case"CIMPolygonSymbol":if(e.symbolLayers)for(let t of e.symbolLayers){let e=M(t);if(null!=e)return e}break;case"CIMTextSymbol":return M(e.symbol);case"CIMSolidFill":return e.color}return null}function C(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":{let t=e.symbolLayers;if(t)for(let e of t){let t=C(e);if(null!=t)return t}break}case"CIMTextSymbol":return C(e.symbol);case"CIMSolidStroke":return e.color}}function w(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":if(e.symbolLayers)for(let t of e.symbolLayers){let e=w(t);if(void 0!==e)return e}break;case"CIMTextSymbol":return w(e.symbol);case"CIMSolidStroke":case"CIMGradientStroke":case"CIMPictureStroke":return e.width}}function v(e){switch(e){case"Left":default:return"left";case"Right":return"right";case"Center":return"center";case"Justify":return"justify"}}function I(e){switch(e){default:case"Bottom":return"bottom";case"Top":return"top";case"Center":return"middle";case"Baseline":return"baseline"}}function S(e){return(e?Object.keys(e):[]).map(t=>({name:t,alias:t,type:"string"==typeof e[t]?"esriFieldTypeString":"esriFieldTypeDouble"}))}const F=e=>e.includes("data:image/svg+xml");function x(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function k(e,t,r,i,l,n,o=!0){let{infos:a}=n,s=1,u=0,d=0,c=0,p=1;for(let{absoluteAnchorPoint:e,offsetX:t,offsetY:r,rotation:i,size:l,frameHeight:n,rotateClockWise:f,scaleSymbolsProportionally:h}of a)p=e?1:s,d=_(t,r,u,p,d),c=O(t,r,u,p,c),n&&(h||o)&&(s*=l/n),u=z(i,f,u);let f=_(i,l,u,p,d),h=O(i,l,u,p,c);return{size:e*s,rotation:z(t,r,u),offsetX:f,offsetY:h}}function A(e){if(null==e)return"Normal";switch(e.type){case"CIMTextSymbol":return e.textCase??"Normal";case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":{let t=e.symbolLayers;if(!t)return"Normal";for(let e of t)if("CIMVectorMarker"===e.type)return A(e)}break;case"CIMVectorMarker":{let t=e.markerGraphics;if(!t)return"Normal";for(let e of t)if(e.symbol)return A(e.symbol)}}return"Normal"}function T(e){if(e)switch(e.type){case"CIMTextSymbol":return e.height;case"CIMPointSymbol":{let t=0;if(e.symbolLayers)for(let r of e.symbolLayers)if(r)switch(r.type){case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":{let e=r.size??i.D.CIMVectorMarker.size;e>t&&(t=e);break}}return t}case"CIMLineSymbol":case"CIMPolygonSymbol":{let t=0;if(e.symbolLayers)for(let r of e.symbolLayers)if(r)switch(r.type){case"CIMSolidStroke":case"CIMPictureStroke":case"CIMGradientStroke":{let e=r.width;null!=e&&e>t&&(t=e);break}case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":if(r.markerPlacement&&h(r.markerPlacement)){let e=r.size??i.D.CIMVectorMarker.size;e>t&&(t=e)}break;case"CIMPictureFill":{let e=r.height;null!=e&&e>t&&(t=e)}}return t}}}function P(e,t){if(null!==t){let r=t.get(e);return r?r.name:e}return e}function E(e){return e.map(e=>({...e,propertyName:x(e.propertyName)}))}function L(e){let t={};for(let r in e){let i=e[r];t[x(r)]=i}return t}function j(e){if(!e)return 0;let t=0;for(let r of e)t+=Z(r);return t}function Z(e){if(!e)return 0;if(G(e))return e.inflateSize??256;if(function(e){return"CIMSimpleLineCallout"===e.type||"CIMBackgroundCallout"===e.type||"CIMBalloonCallout"===e.type||"CIMPointSymbolCallout"===e.type}(e))return Math.abs(e.inflateSize);switch(e.type){case"CIMGeometricEffectArrow":return Math.abs(.5*e.width);case"CIMGeometricEffectBuffer":return Math.abs(e.size);case"CIMGeometricEffectCircularSector":return Math.abs(e.radius??25);case"CIMGeometricEffectControlMeasureLine":return 500;case"CIMGeometricEffectExtension":return Math.abs(e.length);case"CIMGeometricEffectJog":return Math.abs(.5*e.length);case"CIMGeometricEffectMove":return Math.max(Math.abs(y(e.offsetX)),Math.abs(y(e.offsetY)));case"CIMGeometricEffectOffset":case"CIMGeometricEffectOffsetTangent":return Math.abs(e.offset);case"CIMGeometricEffectRadial":return Math.abs(e.length??5);case"CIMGeometricEffectRegularPolygon":return Math.abs(e.radius);case"CIMGeometricEffectRotate":case"CIMGeometricEffectScale":default:return 0;case"CIMGeometricEffectTaperedPolygon":return.5*Math.max(Math.abs(e.fromWidth),Math.abs(e.toWidth));case"CIMGeometricEffectWave":return Math.abs(e.amplitude);case"CIMGeometricEffectDonut":return Math.abs(e.width)}}function O(e,t,r,i,l){let n=r*Math.PI/180;if(n){let r=Math.cos(n);return(Math.sin(n)*e+r*t)*i+l}return t*i+l}function _(e,t,r,i,l){let n=r*Math.PI/180;return n?(Math.cos(n)*e-Math.sin(n)*t)*i+l:e*i+l}function z(e,t,r){return t?r-e:r+e}function R(e,t){return Math.max(Math.min((e??t)/100,1),0)}function G(e){return e.type.startsWith("Private")}function V(e){return null!=e&&function(e){return"setControlPoint"in e&&"getControlPoint"in e&&"setControlPointAt"in e&&"getControlPointAt"in e}(e)?e:void 0}},62046(e,t,r){r.d(t,{Fe:()=>h,KU:()=>b,Nk:()=>u,X5:()=>n});var i=r(68197),l=r(93397);function n(e,t,r){if(!e)return;let i=(0,l.lW)(e),n=function(e){let t=(0,l.lW)(e);if("CIMTextSymbol"===t?.type)return t.height??0;let r=0;if(t?.symbolLayers)for(let e of t.symbolLayers)(0,l.MM)(e)&&null!=e.size&&e.size>r?r=e.size:(0,l.mA)(e)&&null!=e.width&&e.width>r?r=e.width:(0,l.jn)(e);return r}(e);0===n?function(e,t){if(e)if("CIMTextSymbol"===e.type)e.height=t;else if(e.symbolLayers)for(let r of e.symbolLayers)switch(r.type){case"CIMPictureMarker":case"CIMVectorMarker":r.size=t;break;case"CIMPictureStroke":case"CIMSolidStroke":case"CIMGradientStroke":r.width=t}}(i,t):o(i,t/n,!1,r)}function o(e,t,r,i){if(e)if("CIMTextSymbol"===e.type)null!=e.height&&(e.height*=t);else{if(r&&e.effects)for(let r of e.effects)s(r,t);if(e.symbolLayers)for(let r of e.symbolLayers){switch(r.type){case"CIMPictureMarker":case"CIMVectorMarker":a(r,t,i);break;case"CIMPictureStroke":case"CIMSolidStroke":case"CIMGradientStroke":!i?.preserveOutlineWidth&&r.width&&(r.width*=t);break;case"CIMPictureFill":r.height&&(r.height*=t),r.offsetX&&(r.offsetX*=t),r.offsetY&&(r.offsetY*=t);break;case"CIMHatchFill":o(r.lineSymbol,t,!0,{...i,preserveOutlineWidth:!1}),r.offsetX&&(r.offsetX*=t),r.offsetY&&(r.offsetY*=t),r.separation&&(r.separation*=t)}if(r.effects)for(let e of r.effects)s(e,t)}}}function a(e,t,r){if(e&&(e.markerPlacement&&function(e,t){switch((0,l.zr)(e)&&e.offset&&(e.offset*=t),e.type){case"CIMMarkerPlacementAlongLineRandomSize":case"CIMMarkerPlacementAlongLineSameSize":e.customEndingOffset&&(e.customEndingOffset*=t),e.offsetAlongLine&&(e.offsetAlongLine*=t),e.placementTemplate&&e.placementTemplate.length&&(e.placementTemplate=e.placementTemplate.map(e=>e*t));break;case"CIMMarkerPlacementAlongLineVariableSize":e.maxRandomOffset&&(e.maxRandomOffset*=t),e.placementTemplate&&e.placementTemplate.length&&(e.placementTemplate=e.placementTemplate.map(e=>e*t));break;case"CIMMarkerPlacementOnLine":e.startPointOffset&&(e.startPointOffset*=t);break;case"CIMMarkerPlacementAtExtremities":e.offsetAlongLine&&(e.offsetAlongLine*=t);break;case"CIMMarkerPlacementAtMeasuredUnits":case"CIMMarkerPlacementOnVertices":break;case"CIMMarkerPlacementAtRatioPositions":e.beginPosition&&(e.beginPosition*=t),e.endPosition&&(e.endPosition*=t);break;case"CIMMarkerPlacementPolygonCenter":e.offsetX&&(e.offsetX*=t),e.offsetY&&(e.offsetY*=t);break;case"CIMMarkerPlacementInsidePolygon":e.offsetX&&(e.offsetX*=t),e.offsetY&&(e.offsetY*=t),e.stepX&&(e.stepX*=t),e.stepY&&(e.stepY*=t)}}(e.markerPlacement,t),e.offsetX&&(e.offsetX*=t),e.offsetY&&(e.offsetY*=t),e.anchorPoint&&"Absolute"===e.anchorPointUnits&&(e.anchorPoint={x:e.anchorPoint.x*t,y:e.anchorPoint.y*t}),e.size=null==e.size?0:e.size*t,"CIMVectorMarker"===e.type&&e.markerGraphics))for(let i of e.markerGraphics)e.scaleSymbolsProportionally||o(i.symbol,t,!0,r)}function s(e,t){if(!(0,l.Kq)(e))switch(e.type){case"CIMGeometricEffectArrow":case"CIMGeometricEffectDonut":e.width&&(e.width*=t);break;case"CIMGeometricEffectBuffer":e.size&&(e.size*=t);break;case"CIMGeometricEffectCut":e.beginCut&&(e.beginCut*=t),e.endCut&&(e.endCut*=t),e.middleCut&&(e.middleCut*=t);break;case"CIMGeometricEffectDashes":e.customEndingOffset&&(e.customEndingOffset*=t),e.offsetAlongLine&&(e.offsetAlongLine*=t),e.dashTemplate&&e.dashTemplate.length&&(e.dashTemplate=e.dashTemplate.map(e=>e*t));break;case"CIMGeometricEffectExtension":case"CIMGeometricEffectJog":case"CIMGeometricEffectRadial":e.length&&(e.length*=t);break;case"CIMGeometricEffectMove":e.offsetX&&(e.offsetX*=t),e.offsetY&&(e.offsetY*=t);break;case"CIMGeometricEffectOffset":case"CIMGeometricEffectOffsetTangent":e.offset&&(e.offset*=t);break;case"CIMGeometricEffectRegularPolygon":e.radius&&(e.radius*=t);break;case"CIMGeometricEffectTaperedPolygon":e.fromWidth&&(e.fromWidth*=t),e.length&&(e.length*=t),e.toWidth&&(e.toWidth*=t);break;case"CIMGeometricEffectWave":e.amplitude&&(e.amplitude*=t),e.period&&(e.period*=t)}}function u(e){let t=[];return d((0,l.lW)(e),t),t.length?new i.A((0,l.e6)(t[0])):null}function d(e,t){if(!e)return;let r;r="CIMTextSymbol"===e.type?e.symbol:e;let i="CIMPolygonSymbol"===e.type;if(r?.symbolLayers)for(let e of r.symbolLayers)if(!(e.colorLocked||i&&((0,l.mA)(e)||(0,l.MM)(e)&&e.markerPlacement&&(0,l.zr)(e.markerPlacement))))switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor&&c(t,e.tintColor);break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{d(e.symbol,t)});break;case"CIMSolidStroke":case"CIMSolidFill":c(t,e.color);break;case"CIMGradientFill":p(t,e);break;case"CIMHatchFill":d(e.lineSymbol,t)}}function c(e,t){for(let r of e)if(r.join(".")===t.join("."))return;e.push(t)}function p(e,t){switch(t.colorRamp?.type){case"CIMMultipartColorRamp":t.colorRamp.colorRamps?.forEach(t=>{"CIMLinearContinuousColorRamp"===t.type&&f(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":f(e,t.colorRamp)}}function f(e,t){t&&(t.fromColor&&c(e,t.fromColor),t.toColor&&c(e,t.toColor))}function h(e,t,r){t instanceof i.A||(t=new i.A(t));let n=(0,l.lW)(e);n&&y(n,t,r)}function y(e,t,r){if(!e)return;let i;i="CIMTextSymbol"===e.type?e.symbol:e;let n="CIMPolygonSymbol"===i?.type;if(i?.symbolLayers)for(let e of i.symbolLayers){if(e.colorLocked)continue;if(n)if(r){let{layersToColor:t}=r;if(((0,l.mA)(e)||(0,l.MM)(e)&&e.markerPlacement&&(0,l.zr)(e.markerPlacement))&&"fill"===t||(0,l.jn)(e)&&"outline"===t)continue}else if((0,l.mA)(e)||(0,l.MM)(e)&&e.markerPlacement&&(0,l.zr)(e.markerPlacement))continue;let i=t.toArray();switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor=i;break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{y(e.symbol,t,r)});break;case"CIMSolidStroke":case"CIMSolidFill":e.color=i;break;case"CIMGradientFill":m(e,t);break;case"CIMHatchFill":y(e.lineSymbol,t,r)}}}function m(e,t){switch(e.colorRamp?.type){case"CIMMultipartColorRamp":e.colorRamp.colorRamps?.forEach(e=>{"CIMLinearContinuousColorRamp"===e.type&&g(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":g(e.colorRamp,t)}}function g(e,t){if(e&&(e.fromColor&&=t.toArray(),e.toColor)){let r=t.clone();r.a=0,e.toColor=r.toArray()}}function b(e,t,r=!1){let i=(0,l.lW)(e);if(r&&(t=360-t),"CIMTextSymbol"===i?.type)i.angle=t;else if("CIMPointSymbol"===i?.type&&i.symbolLayers){let e=t-(i.angle||0);for(let t of i.symbolLayers)if((0,l.MM)(t)){let r=t.rotation||0;t.rotateClockwise?r-=e:r+=e,t.rotation=r}i.angle=t}}},93470(e,t,r){const i=[252,146,31,255],l={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i};r.d(t,["Cb",0,l,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,i,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,n])},37531(e,t,r){r.d(t,{dt:()=>p,GG:()=>g,UQ:()=>m,Sx:()=>d});var i=r(68197),l=r(60999),n=(r(90629),r(51850)),o=(r(76369),r(62046)),a=(r(2741),r(56507),r(66344));new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),new a.q(1e3),new i.A([128,128,128]);var s=r(28975),u=r(33910);function d(e,t){if(!e)return null;let r=null;return(0,u.wk)(e)?r=function(e){let t=e.symbolLayers;if(!t)return null;let r=null;return t.forEach(e=>{"object"===e.type&&e.resource?.href||(r="water"===e.type?e.color:e.material?e.material.color:null)}),r?new i.A(r):null}(e):(0,u.$y)(e)&&(r="cim"===e.type?(0,o.Nk)(e):e.color?new i.A(e.color):null),r?c(r,t):null}function c(e,t){if(null==t||null==e)return e;let r=e.toRgba();return r[3]*=t,new i.A(r)}function p(e,t,r){e&&(t||null!=r)&&(t&&=new i.A(t),(0,u.wk)(e)?function(e,t,r){let l=e.symbolLayers;if(!l)return;let n=(e,l=!1)=>{let n=t??e??null;return null!=r?.override&&(!n&&l&&(n=new i.A([255,255,255])),n&&(n.a=r.override)),c(n,r?.add)};l.forEach(e=>{if("water"===e.type)return void(e.color=c(e.color,r?.add));let t=null==e.material?null:e.material.color,i=n(t,"icon"===e.type&&null!=e.resource?.href);null==e.material?e.material=new s.A({color:i}):e.material.color=i,"outline"in e&&e.outline?.color&&null!=r?.add&&(e.outline.color=c(e.outline.color,r.add)),"marker"in e&&null!=e.marker&&(e.marker.color=n(e.marker.color))})}(e,t,r):(0,u.$y)(e)&&function(e,t,r){t??=e.color,null!=r?.override&&t&&(t.a=r.override),t&&(e.color=c(t,r?.add)),"outline"in e&&e.outline?.color&&(e.outline.color=c(e.outline.color,r?.add))}(e,t,r))}function f(e){for(let t of e)if("number"==typeof t)return t;return null}function h(e,t,r){for(let i=0;i<3;i++){let l=e[i];switch(l){case"symbol-value":{let e=r[i];return null==e?1:e/t[i]}case"proportional":break;default:if(null!=l&&t[i])return l/t[i]}}return null}function y(e,t,r,i){switch(e){case"proportional":return r*i;case"symbol-value":return t??r;default:return e}}async function m(e,t){if(e&&t){if((0,u.wk)(e))return async function(e,t){let i=e.symbolLayers;i&&await(0,l.jJ)(i,async e=>async function(e,t){switch(e.type){case"extrude":!function(e,t){let r=t[2];"number"==typeof r&&(e.size=r)}(e,t);break;case"icon":case"line":case"text":!function(e,t){let r=f(t);null!=r&&(e.size=r)}(e,t);break;case"path":!function(e,t){let r=h(t,n.Un,[e.width,void 0,e.height]);null!=r&&(e.width=y(t[0],e.width,1,r),e.height=y(t[2],e.height,1,r))}(e,t);break;case"object":await async function(e,t){let{resourceSize:i,symbolSize:l}=await async function(e){let{computeObjectLayerResourceSize:t}=await r.e(5404).then(()=>r(95404)),i=await t(e,10),{width:l,height:n,depth:o}=e,a=[l,o,n],s=1;for(let e=0;e<3;e++){let t=a[e];if(null!=t){s=t/i[e];break}}for(let e=0;e<3;e++)a[e]??(a[e]=i[e]*s);return{resourceSize:i,symbolSize:a}}(e),n=h(t,i,l);null!=n&&(e.width=y(t[0],l[0],i[0],n),e.depth=y(t[1],l[1],i[1],n),e.height=y(t[2],l[2],i[2],n))}(e,t)}}(e,t))}(e,t);(0,u.$y)(e)&&function(e,t){let r=f(t);if(null!=r)switch(e.type){case"simple-marker":e.size=r;break;case"picture-marker":{let t=e.width/e.height;t>1?(e.width=r,e.height=r*t):(e.width=r*t,e.height=r);break}case"simple-line":e.width=r;break;case"text":e.font.size=r;break;case"simple-fill":case"picture-fill":break;case"cim":(0,o.X5)(e,r,{preserveOutlineWidth:!1})}}(e,t)}}function g(e,t,r){if(e&&null!=t)if((0,u.wk)(e)){let i=e.symbolLayers;i&&i.forEach(e=>{if("object"===e.type)switch(r){case"tilt":e.tilt=(e.tilt??0)+t;break;case"roll":e.roll=(e.roll??0)+t;break;default:e.heading=(e.heading??0)+t}"icon"===e.type&&(e.angle+=t)})}else if((0,u.$y)(e))switch(e.type){case"simple-marker":case"picture-marker":case"text":e.angle+=t;break;case"cim":(0,o.KU)(e,t,!0)}}},20816(e,t,r){r.d(t,{TA:()=>l,We:()=>a,Z3:()=>n,ZJ:()=>s,w5:()=>u});var i=r(56507);const l=(0,r(13069).vD)(),n=new Map,o=new Map;async function a(e,t,r){if(!e||!r)return!1;if(!t)return!0;let l=new URL(e).host,o=n.get(l);if(!o){let t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");o=(await(0,i.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return o===t}async function s(e,t,i=!1){if(!e||!t)return!0;let n=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),a=o.get(n)?.entries();if(a)for(let[e,o]of a)if(o.name===t){let t=!o.stack?.hasForwardEdits();if(!t&&i){let[{deleteForwardEdits:t},{default:i}]=await Promise.all([r.e(2186).then(()=>r(32186)),r.e(2558).then(()=>r(32558))]),a=await t(n,e,new i({sessionId:l,moment:o.moment}));return a.success&&o.stack?.clearForwardEdits(),a.success}return t}return!0}function u(e,t){if(!e)return!1;let r=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),i=o.get(r)?.entries();if(i)for(let[e,r]of i)if(r.name===t)return"edit"===r.lockType;return!1}new Map}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[7736],{34747(e,t,n){n.d(t,{bo:()=>Z,c9:()=>gr,mQ:()=>ie,oh:()=>U});class r extends Error{}class s extends r{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class i extends r{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class a extends r{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class o extends r{}class u extends r{constructor(e){super(`Invalid unit ${e}`)}}class l extends r{}class c extends r{constructor(){super("Zone is an abstract class")}}const h="numeric",d="short",m="long",f={year:h,month:h,day:h},y={year:h,month:d,day:h},g={year:h,month:d,day:h,weekday:d},w={year:h,month:m,day:h},p={year:h,month:m,day:h,weekday:m},k={hour:h,minute:h},v={hour:h,minute:h,second:h},S={hour:h,minute:h,second:h,timeZoneName:d},b={hour:h,minute:h,second:h,timeZoneName:m},T={hour:h,minute:h,hourCycle:"h23"},O={hour:h,minute:h,second:h,hourCycle:"h23"},N={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:d},M={hour:h,minute:h,second:h,hourCycle:"h23",timeZoneName:m},D={year:h,month:h,day:h,hour:h,minute:h},I={year:h,month:h,day:h,hour:h,minute:h,second:h},V={year:h,month:d,day:h,hour:h,minute:h},E={year:h,month:d,day:h,hour:h,minute:h,second:h},x={year:h,month:d,day:h,weekday:d,hour:h,minute:h},C={year:h,month:m,day:h,hour:h,minute:h,timeZoneName:d},F={year:h,month:m,day:h,hour:h,minute:h,second:h,timeZoneName:d},$={year:h,month:m,day:h,weekday:m,hour:h,minute:h,timeZoneName:m},W={year:h,month:m,day:h,weekday:m,hour:h,minute:h,second:h,timeZoneName:m};class Z{get type(){throw new c}get name(){throw new c}get ianaName(){return this.name}get isUniversal(){throw new c}offsetName(e,t){throw new c}formatOffset(e,t){throw new c}offset(e){throw new c}equals(e){throw new c}get isValid(){throw new c}}let L=null;class z extends Z{static get instance(){return null===L&&(L=new z),L}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return st(e,t,n)}formatOffset(e,t){return ut(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}const j=new Map,q={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},A=new Map;class U extends Z{static create(e){let t=A.get(e);return void 0===t&&A.set(e,t=new U(e)),t}static resetCache(){A.clear(),j.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=U.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return st(e,t,n,this.name)}formatOffset(e,t){return ut(this.offset(e),t)}offset(e){if(!this.valid)return NaN;const t=new Date(e);if(isNaN(t))return NaN;const n=function(e){let t=j.get(e);return void 0===t&&(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),j.set(e,t)),t}(this.name);let[r,s,i,a,o,u,l]=n.formatToParts?function(e,t){const n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){const{type:t,value:s}=n[e],i=q[t];"era"===t?r[i]=s:Le(i)||(r[i]=parseInt(s,10))}return r}(n,t):function(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,a,o,u,l,c]=r;return[a,s,i,o,u,l,c]}(n,t);"BC"===a&&(r=1-Math.abs(r));let c=+t;const h=c%1e3;return c-=h>=0?h:1e3+h,(et({year:r,month:s,day:i,hour:24===o?0:o,minute:u,second:l,millisecond:0})-c)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let _={};const R=new Map;function Y(e,t={}){const n=JSON.stringify([e,t]);let r=R.get(n);return void 0===r&&(r=new Intl.DateTimeFormat(e,t),R.set(n,r)),r}const H=new Map,P=new Map;let J=null;const G=new Map;function B(e){let t=G.get(e);return void 0===t&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),G.set(e,t)),t}const Q=new Map;function K(e,t,n,r){const s=e.listingMode();return"error"===s?null:"en"===s?n(t):r(t)}class X{constructor(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:r,floor:s,...i}=n;if(!t||Object.keys(i).length>0){const t={useGrouping:!1,...n};n.padTo>0&&(t.minimumIntegerDigits=n.padTo),this.inf=function(e,t={}){const n=JSON.stringify([e,t]);let r=H.get(n);return void 0===r&&(r=new Intl.NumberFormat(e,t),H.set(n,r)),r}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return He(this.floor?Math.floor(e):Be(e,3),this.padTo)}}class ee{constructor(e,t,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){const t=e.offset/60*-1,n=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&U.create(n).valid?(r=n,this.dt=e):(r="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,r=e.zone.name):(r="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const s={...this.opts};s.timeZone=s.timeZone||r,this.dtf=Y(t,s)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if("timeZoneName"===e.type){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}return e}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class te{constructor(e,t,n){this.opts={style:"long",...n},!t&&qe()&&(this.rtf=function(e,t={}){const{base:n,...r}=t,s=JSON.stringify([e,r]);let i=P.get(s);return void 0===i&&(i=new Intl.RelativeTimeFormat(e,t),P.set(s,i)),i}(e,n))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&i){const n="days"===e;switch(t){case 1:return n?"tomorrow":`next ${s[e][0]}`;case-1:return n?"yesterday":`last ${s[e][0]}`;case 0:return n?"today":`this ${s[e][0]}`}}const a=Object.is(t,-0)||t<0,o=Math.abs(t),u=1===o,l=s[e],c=r?u?l[1]:l[2]||l[1]:u?s[e][0]:e;return a?`${o} ${c} ago`:`in ${o} ${c}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const ne={firstDay:1,minimalDays:4,weekend:[6,7]};class re{static fromOpts(e){return re.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,n,r,s=!1){const i=e||Se.defaultLocale,a=i||(s?"en-US":J||(J=(new Intl.DateTimeFormat).resolvedOptions().locale,J)),o=t||Se.defaultNumberingSystem,u=n||Se.defaultOutputCalendar,l=Re(r)||Se.defaultWeekSettings;return new re(a,o,u,l,i)}static resetCache(){J=null,R.clear(),H.clear(),P.clear(),G.clear(),Q.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:n,weekSettings:r}={}){return re.create(e,t,n,r)}constructor(e,t,n,r,s){const[i,a,o]=function(e){const t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(-1===n)return[e];{let t,r;try{t=Y(e).resolvedOptions(),r=e}catch(s){const i=e.substring(0,n);t=Y(i).resolvedOptions(),r=i}const{numberingSystem:s,calendar:i}=t;return[r,s,i]}}(e);this.locale=i,this.numberingSystem=t||a||null,this.outputCalendar=n||o||null,this.weekSettings=r,this.intl=function(e,t,n){return n||t?(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===B(e.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?re.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Re(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return K(this,e,mt,()=>{const n="ja"===this.intl||this.intl.startsWith("ja-"),r=(t&=!n)?{month:e,day:"numeric"}:{month:e},s=t?"format":"standalone";if(!this.monthsCache[s][e]){const t=n?e=>this.dtFormatter(e,r).format():e=>this.extract(e,r,"month");this.monthsCache[s][e]=function(e){const t=[];for(let n=1;n<=12;n++){const r=gr.utc(2009,n,1);t.push(e(r))}return t}(t)}return this.monthsCache[s][e]})}weekdays(e,t=!1){return K(this,e,wt,()=>{const n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},r=t?"format":"standalone";return this.weekdaysCache[r][e]||(this.weekdaysCache[r][e]=function(e){const t=[];for(let n=1;n<=7;n++){const r=gr.utc(2016,11,13+n);t.push(e(r))}return t}(e=>this.extract(e,n,"weekday"))),this.weekdaysCache[r][e]})}meridiems(){return K(this,void 0,()=>pt,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[gr.utc(2016,11,13,9),gr.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return K(this,e,bt,()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[gr.utc(-40,1,1),gr.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]})}extract(e,t,n){const r=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===n);return r?r.value:null}numberFormatter(e={}){return new X(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new ee(e,this.intl,t)}relFormatter(e={}){return new te(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const n=JSON.stringify([e,t]);let r=_[n];return r||(r=new Intl.ListFormat(e,t),_[n]=r),r}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||B(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ae()?function(e){let t=Q.get(e);if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in t||(t={...ne,...t}),Q.set(e,t)}return t}(this.locale):ne}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let se=null;class ie extends Z{static get utcInstance(){return null===se&&(se=new ie(0)),se}static instance(e){return 0===e?ie.utcInstance:new ie(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new ie(it(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ut(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ut(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return ut(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class ae extends Z{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function oe(e,t){if(Le(e)||null===e)return t;if(e instanceof Z)return e;if("string"==typeof e){const n=e.toLowerCase();return"default"===n?t:"local"===n||"system"===n?z.instance:"utc"===n||"gmt"===n?ie.utcInstance:ie.parseSpecifier(n)||U.create(e)}return ze(e)?ie.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new ae(e)}const ue={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},le={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},ce=ue.hanidec.replace(/[\[|\]]/g,"").split(""),he=new Map;function de({numberingSystem:e},t=""){const n=e||"latn";let r=he.get(n);void 0===r&&(r=new Map,he.set(n,r));let s=r.get(t);return void 0===s&&(s=new RegExp(`${ue[n]}${t}`),r.set(t,s)),s}let me,fe=()=>Date.now(),ye="system",ge=null,we=null,pe=null,ke=60,ve=null;class Se{static get now(){return fe}static set now(e){fe=e}static set defaultZone(e){ye=e}static get defaultZone(){return oe(ye,z.instance)}static get defaultLocale(){return ge}static set defaultLocale(e){ge=e}static get defaultNumberingSystem(){return we}static set defaultNumberingSystem(e){we=e}static get defaultOutputCalendar(){return pe}static set defaultOutputCalendar(e){pe=e}static get defaultWeekSettings(){return ve}static set defaultWeekSettings(e){ve=Re(e)}static get twoDigitCutoffYear(){return ke}static set twoDigitCutoffYear(e){ke=e%100}static get throwOnInvalid(){return me}static set throwOnInvalid(e){me=e}static resetCaches(){re.resetCache(),U.resetCache(),gr.resetCache(),he.clear()}}class be{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Te=[0,31,59,90,120,151,181,212,243,273,304,334],Oe=[0,31,60,91,121,152,182,213,244,274,305,335];function Ne(e,t){return new be("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Me(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return 0===s?7:s}function De(e,t,n){return n+(Qe(e)?Oe:Te)[t-1]}function Ie(e,t){const n=Qe(e)?Oe:Te,r=n.findIndex(e=>e<t);return{month:r+1,day:t-n[r]}}function Ve(e,t){return(e-t+7)%7+1}function Ee(e,t=4,n=1){const{year:r,month:s,day:i}=e,a=De(r,s,i),o=Ve(Me(r,s,i),n);let u,l=Math.floor((a-o+14-t)/7);return l<1?(u=r-1,l=nt(u,t,n)):l>nt(r,t,n)?(u=r+1,l=1):u=r,{weekYear:u,weekNumber:l,weekday:o,...lt(e)}}function xe(e,t=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=e,a=Ve(Me(r,1,t),n),o=Ke(r);let u,l=7*s+i-a-7+t;l<1?(u=r-1,l+=Ke(u)):l>o?(u=r+1,l-=Ke(r)):u=r;const{month:c,day:h}=Ie(u,l);return{year:u,month:c,day:h,...lt(e)}}function Ce(e){const{year:t,month:n,day:r}=e;return{year:t,ordinal:De(t,n,r),...lt(e)}}function Fe(e){const{year:t,ordinal:n}=e,{month:r,day:s}=Ie(t,n);return{year:t,month:r,day:s,...lt(e)}}function $e(e,t){if(!Le(e.localWeekday)||!Le(e.localWeekNumber)||!Le(e.localWeekYear)){if(!Le(e.weekday)||!Le(e.weekNumber)||!Le(e.weekYear))throw new o("Cannot mix locale-based week fields with ISO-based week fields");return Le(e.localWeekday)||(e.weekday=e.localWeekday),Le(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Le(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function We(e){const t=je(e.year),n=Ye(e.month,1,12),r=Ye(e.day,1,Xe(e.year,e.month));return t?n?!r&&Ne("day",e.day):Ne("month",e.month):Ne("year",e.year)}function Ze(e){const{hour:t,minute:n,second:r,millisecond:s}=e,i=Ye(t,0,23)||24===t&&0===n&&0===r&&0===s,a=Ye(n,0,59),o=Ye(r,0,59),u=Ye(s,0,999);return i?a?o?!u&&Ne("millisecond",s):Ne("second",r):Ne("minute",n):Ne("hour",t)}function Le(e){return void 0===e}function ze(e){return"number"==typeof e}function je(e){return"number"==typeof e&&e%1==0}function qe(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function Ae(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function Ue(e,t,n){if(0!==e.length)return e.reduce((e,r)=>{const s=[t(r),r];return e&&n(e[0],s[0])===e[0]?e:s},null)[1]}function _e(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Re(e){if(null==e)return null;if("object"!=typeof e)throw new l("Week settings must be an object");if(!Ye(e.firstDay,1,7)||!Ye(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!Ye(e,1,7)))throw new l("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Ye(e,t,n){return je(e)&&e>=t&&e<=n}function He(e,t=2){let n;return n=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),n}function Pe(e){return Le(e)||null===e||""===e?void 0:parseInt(e,10)}function Je(e){return Le(e)||null===e||""===e?void 0:parseFloat(e)}function Ge(e){if(!Le(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function Be(e,t,n="round"){const r=10**t;switch(n){case"expand":return e>0?Math.ceil(e*r)/r:Math.floor(e*r)/r;case"trunc":return Math.trunc(e*r)/r;case"round":return Math.round(e*r)/r;case"floor":return Math.floor(e*r)/r;case"ceil":return Math.ceil(e*r)/r;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function Qe(e){return e%4==0&&(e%100!=0||e%400==0)}function Ke(e){return Qe(e)?366:365}function Xe(e,t){const n=(r=t-1)-12*Math.floor(r/12)+1;var r;return 2===n?Qe(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function et(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function tt(e,t,n){return-Ve(Me(e,1,t),n)+t-1}function nt(e,t=4,n=1){const r=tt(e,t,n),s=tt(e+1,t,n);return(Ke(e)-r+s)/7}function rt(e){return e>99?e:e>Se.twoDigitCutoffYear?1900+e:2e3+e}function st(e,t,n,r=null){const s=new Date(e),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const a={timeZoneName:t,...i},o=new Intl.DateTimeFormat(n,a).formatToParts(s).find(e=>"timezonename"===e.type.toLowerCase());return o?o.value:null}function it(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function at(e){const t=Number(e);if("boolean"==typeof e||""===e||!Number.isFinite(t))throw new l(`Invalid unit value ${e}`);return t}function ot(e,t){const n={};for(const r in e)if(_e(e,r)){const s=e[r];if(null==s)continue;n[t(r)]=at(s)}return n}function ut(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${He(n,2)}:${He(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${He(n,2)}${He(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function lt(e){return function(e){return["hour","minute","second","millisecond"].reduce((t,n)=>(t[n]=e[n],t),{})}(e)}const ct=["January","February","March","April","May","June","July","August","September","October","November","December"],ht=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dt=["J","F","M","A","M","J","J","A","S","O","N","D"];function mt(e){switch(e){case"narrow":return[...dt];case"short":return[...ht];case"long":return[...ct];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ft=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],yt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],gt=["M","T","W","T","F","S","S"];function wt(e){switch(e){case"narrow":return[...gt];case"short":return[...yt];case"long":return[...ft];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const pt=["AM","PM"],kt=["Before Christ","Anno Domini"],vt=["BC","AD"],St=["B","A"];function bt(e){switch(e){case"narrow":return[...St];case"short":return[...vt];case"long":return[...kt];default:return null}}function Tt(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const Ot={D:f,DD:y,DDD:w,DDDD:p,t:k,tt:v,ttt:S,tttt:b,T,TT:O,TTT:N,TTTT:M,f:D,ff:V,fff:C,ffff:$,F:I,FF:E,FFF:F,FFFF:W};class Nt{static create(e,t={}){return new Nt(e,t)}static parseFormat(e){let t=null,n="",r=!1;const s=[];for(let i=0;i<e.length;i++){const a=e.charAt(i);"'"===a?((n.length>0||r)&&s.push({literal:r||/^\s+$/.test(n),val:""===n?"'":n}),t=null,n="",r=!r):r||a===t?n+=a:(n.length>0&&s.push({literal:/^\s+$/.test(n),val:n}),n=a,t=a)}return n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),s}static macroTokenToFormatOpts(e){return Ot[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,n=void 0){if(this.opts.forceSimple)return He(e,t);const r={...this.opts};return t>0&&(r.padTo=t),n&&(r.signDisplay=n),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(t,n)=>this.loc.extract(e,t,n),i=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",a=(t,r)=>n?function(e,t){return mt(t)[e.month-1]}(e,t):s(r?{month:t}:{month:t,day:"numeric"},"month"),o=(t,r)=>n?function(e,t){return wt(t)[e.weekday-1]}(e,t):s(r?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),u=t=>{const n=Nt.macroTokenToFormatOpts(t);return n?this.formatWithSystemDefault(e,n):t},l=t=>n?function(e,t){return bt(t)[e.year<0?0:1]}(e,t):s({era:t},"era");return Tt(Nt.parseFormat(t),t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return n?function(e){return pt[e.hour<12?0:1]}(e):s({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return r?s({day:"numeric"},"day"):this.num(e.day);case"dd":return r?s({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return r?s({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return r?s({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return r?s({month:"numeric"},"month"):this.num(e.month);case"MM":return r?s({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return r?s({year:"numeric"},"year"):this.num(e.year);case"yy":return r?s({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return r?s({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return r?s({year:"numeric"},"year"):this.num(e.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(t)}})}formatDurationFromString(e,t){const n="negativeLargestOnly"===this.opts.signMode?-1:1,r=e=>{switch(e[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},s=Nt.parseFormat(t),i=s.reduce((e,{literal:t,val:n})=>t?e:e.concat(n),[]),a=e.shiftTo(...i.map(r).filter(e=>e));return Tt(s,((e,t)=>s=>{const i=r(s);if(i){const r=t.isNegativeDuration&&i!==t.largestUnit?n:1;let a;return a="negativeLargestOnly"===this.opts.signMode&&i!==t.largestUnit?"never":"all"===this.opts.signMode?"always":"auto",this.num(e.get(i)*r,s.length,a)}return s})(a,{isNegativeDuration:a<0,largestUnit:Object.keys(a.values)[0]}))}}const Mt=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Dt(...e){const t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function It(...e){return t=>e.reduce(([e,n,r],s)=>{const[i,a,o]=s(t,r);return[{...e,...i},a||n,o]},[{},null,1]).slice(0,2)}function Vt(e,...t){if(null==e)return[null,null];for(const[n,r]of t){const t=n.exec(e);if(t)return r(t)}return[null,null]}function Et(...e){return(t,n)=>{const r={};let s;for(s=0;s<e.length;s++)r[e[s]]=Pe(t[n+s]);return[r,null,n+s]}}const xt=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Ct=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ft=RegExp(`${Ct.source}(?:${xt.source}?(?:\\[(${Mt.source})\\])?)?`),$t=RegExp(`(?:[Tt]${Ft.source})?`),Wt=Et("weekYear","weekNumber","weekDay"),Zt=Et("year","ordinal"),Lt=RegExp(`${Ct.source} ?(?:${xt.source}|(${Mt.source}))?`),zt=RegExp(`(?: ${Lt.source})?`);function jt(e,t,n){const r=e[t];return Le(r)?n:Pe(r)}function qt(e,t){return[{hours:jt(e,t,0),minutes:jt(e,t+1,0),seconds:jt(e,t+2,0),milliseconds:Ge(e[t+3])},null,t+4]}function At(e,t){const n=!e[t]&&!e[t+1],r=it(e[t+1],e[t+2]);return[{},n?null:ie.instance(r),t+3]}function Ut(e,t){return[{},e[t]?U.create(e[t]):null,t+1]}const _t=RegExp(`^T?${Ct.source}$`),Rt=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Yt(e){const[t,n,r,s,i,a,o,u,l]=e,c="-"===t[0],h=u&&"-"===u[0],d=(e,t=!1)=>void 0!==e&&(t||e&&c)?-e:e;return[{years:d(Je(n)),months:d(Je(r)),weeks:d(Je(s)),days:d(Je(i)),hours:d(Je(a)),minutes:d(Je(o)),seconds:d(Je(u),"-0"===u),milliseconds:d(Ge(l),h)}]}const Ht={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Pt(e,t,n,r,s,i,a){const o={year:2===t.length?rt(Pe(t)):Pe(t),month:ht.indexOf(n)+1,day:Pe(r),hour:Pe(s),minute:Pe(i)};return a&&(o.second=Pe(a)),e&&(o.weekday=e.length>3?ft.indexOf(e)+1:yt.indexOf(e)+1),o}const Jt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Gt(e){const[,t,n,r,s,i,a,o,u,l,c,h]=e,d=Pt(t,s,r,n,i,a,o);let m;return m=u?Ht[u]:l?0:it(c,h),[d,new ie(m)]}const Bt=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Qt=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Kt=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Xt(e){const[,t,n,r,s,i,a,o]=e;return[Pt(t,s,r,n,i,a,o),ie.utcInstance]}function en(e){const[,t,n,r,s,i,a,o]=e;return[Pt(t,o,n,r,s,i,a),ie.utcInstance]}const tn=Dt(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,$t),nn=Dt(/(\d{4})-?W(\d\d)(?:-?(\d))?/,$t),rn=Dt(/(\d{4})-?(\d{3})/,$t),sn=Dt(Ft),an=It(function(e,t){return[{year:jt(e,t),month:jt(e,t+1,1),day:jt(e,t+2,1)},null,t+3]},qt,At,Ut),on=It(Wt,qt,At,Ut),un=It(Zt,qt,At,Ut),ln=It(qt,At,Ut),cn=It(qt),hn=Dt(/(\d{4})-(\d\d)-(\d\d)/,zt),dn=Dt(Lt),mn=It(qt,At,Ut),fn="Invalid Duration",yn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},gn={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...yn},wn={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...yn},pn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],kn=pn.slice(0).reverse();function vn(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new On(r)}function Sn(e,t){let n=t.milliseconds??0;for(const r of kn.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function bn(e,t){const n=Sn(e,t)<0?-1:1;pn.reduceRight((r,s)=>{if(Le(t[s]))return r;if(r){const i=t[r]*n,a=e[s][r],o=Math.floor(i/a);t[s]+=o*n,t[r]-=o*a*n}return s},null),pn.reduce((n,r)=>{if(Le(t[r]))return n;if(n){const s=t[n]%1;t[n]-=s,t[r]+=s*e[n][r]}return r},null)}function Tn(e){const t={};for(const[n,r]of Object.entries(e))0!==r&&(t[n]=r);return t}class On{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let n=t?wn:gn;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||re.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,t){return On.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new l("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new On({values:ot(e,On.normalizeUnit),loc:re.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(ze(e))return On.fromMillis(e);if(On.isDuration(e))return e;if("object"==typeof e)return On.fromObject(e);throw new l(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[n]=function(e){return Vt(e,[Rt,Yt])}(e);return n?On.fromObject(n,t):On.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[n]=function(e){return Vt(e,[_t,cn])}(e);return n?On.fromObject(n,t):On.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new l("need to specify a reason the Duration is invalid");const n=e instanceof be?e:new be(e,t);if(Se.throwOnInvalid)throw new a(n);return new On({invalid:n})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new u(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const n={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?Nt.create(this.loc,n).formatDurationFromString(this,e):fn}toHuman(e={}){if(!this.isValid)return fn;const t=!1!==e.showZeros,n=pn.map(n=>{const r=this.values[n];return Le(r)||0===r&&!t?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:n.slice(0,-1)}).format(r)}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=Be(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},gr.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Sn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=On.fromDurationLike(e),n={};for(const e of pn)(_e(t.values,e)||_e(this.values,e))&&(n[e]=t.get(e)+this.get(e));return vn(this,{values:n},!0)}minus(e){if(!this.isValid)return this;const t=On.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=at(e(this.values[n],n));return vn(this,{values:t},!0)}get(e){return this[On.normalizeUnit(e)]}set(e){return this.isValid?vn(this,{values:{...this.values,...ot(e,On.normalizeUnit)}}):this}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:n,matrix:r}={}){return vn(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:r,conversionAccuracy:n})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return bn(this.matrix,e),vn(this,{values:e},!0)}rescale(){return this.isValid?vn(this,{values:Tn(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...e){if(!this.isValid)return this;if(0===e.length)return this;e=e.map(e=>On.normalizeUnit(e));const t={},n={},r=this.toObject();let s;for(const i of pn)if(e.indexOf(i)>=0){s=i;let e=0;for(const t in n)e+=this.matrix[t][i]*n[t],n[t]=0;ze(r[i])&&(e+=r[i]);const a=Math.trunc(e);t[i]=a,n[i]=(1e3*e-1e3*a)/1e3}else ze(r[i])&&(n[i]=r[i]);for(const e in n)0!==n[e]&&(t[s]+=e===s?n[e]:n[e]/this.matrix[s][e]);return bn(this.matrix,t),vn(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return vn(this,{values:e},!0)}removeZeros(){return this.isValid?vn(this,{values:Tn(this.values)},!0):this}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;function t(e,t){return void 0===e||0===e?void 0===t||0===t:e===t}for(const n of pn)if(!t(this.values[n],e.values[n]))return!1;return!0}}const Nn="Invalid Interval";class Mn{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new l("need to specify a reason the Interval is invalid");const n=e instanceof be?e:new be(e,t);if(Se.throwOnInvalid)throw new i(n);return new Mn({invalid:n})}static fromDateTimes(e,t){const n=wr(e),r=wr(t),s=function(e,t){return e&&e.isValid?t&&t.isValid?t<e?Mn.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null:Mn.invalid("missing or invalid end"):Mn.invalid("missing or invalid start")}(n,r);return s??new Mn({start:n,end:r})}static after(e,t){const n=On.fromDurationLike(t),r=wr(e);return Mn.fromDateTimes(r,r.plus(n))}static before(e,t){const n=On.fromDurationLike(t),r=wr(e);return Mn.fromDateTimes(r.minus(n),r)}static fromISO(e,t){const[n,r]=(e||"").split("/",2);if(n&&r){let e,s,i,a;try{e=gr.fromISO(n,t),s=e.isValid}catch(r){s=!1}try{i=gr.fromISO(r,t),a=i.isValid}catch(r){a=!1}if(s&&a)return Mn.fromDateTimes(e,i);if(s){const n=On.fromISO(r,t);if(n.isValid)return Mn.after(e,n)}else if(a){const e=On.fromISO(n,t);if(e.isValid)return Mn.before(i,e)}}return Mn.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;const n=this.start.startOf(e,t);let r;return r=t?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(e,t),Math.floor(r.diff(n,e).get(e))+(r.valueOf()!==this.end.valueOf())}hasSame(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!!this.isValid&&this.s>e}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&this.s<=e&&this.e>e}set({start:e,end:t}={}){return this.isValid?Mn.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(wr).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),n=[];let{s:r}=this,s=0;for(;r<this.e;){const e=t[s]||this.e,i=+e>+this.e?this.e:e;n.push(Mn.fromDateTimes(r,i)),r=i,s+=1}return n}splitBy(e){const t=On.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let n,{s:r}=this,s=1;const i=[];for(;r<this.e;){const e=this.start.plus(t.mapUnits(e=>e*s));n=+e>+this.e?this.e:e,i.push(Mn.fromDateTimes(r,n)),r=n,s+=1}return i}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!!this.isValid&&+this.e===+e.s}abutsEnd(e){return!!this.isValid&&+e.e===+this.s}engulfs(e){return!!this.isValid&&this.s<=e.s&&this.e>=e.e}equals(e){return!(!this.isValid||!e.isValid)&&this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return t>=n?null:Mn.fromDateTimes(t,n)}union(e){if(!this.isValid)return this;const t=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return Mn.fromDateTimes(t,n)}static merge(e){const[t,n]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],n)=>t?t.overlaps(n)||t.abutsStart(n)?[e,t.union(n)]:[e.concat([t]),n]:[e,n],[[],null]);return n&&t.push(n),t}static xor(e){let t=null,n=0;const r=[],s=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]),i=Array.prototype.concat(...s).sort((e,t)=>e.time-t.time);for(const e of i)n+="s"===e.type?1:-1,1===n?t=e.time:(t&&+t!==+e.time&&r.push(Mn.fromDateTimes(t,e.time)),t=null);return Mn.merge(r)}difference(...e){return Mn.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Nn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=f,t={}){return this.isValid?Nt.create(this.s.loc.clone(t),e).formatInterval(this):Nn}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Nn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Nn}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Nn}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:Nn}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):On.invalid(this.invalidReason)}mapEndpoints(e){return Mn.fromDateTimes(e(this.s),e(this.e))}}class Dn{static hasDST(e=Se.defaultZone){const t=gr.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return U.isValidZone(e)}static normalizeZone(e){return oe(e,Se.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||re.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||re.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||re.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||re.create(t,n,s)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||re.create(t,n,s)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||re.create(t,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||re.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return re.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return re.create(t,null,"gregory").eras(e)}static features(){return{relative:qe(),localeWeek:Ae()}}}function In(e,t){const n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(On.fromMillis(r).as("days"))}function Vn(e,t=e=>e){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(-1!==e[n].search(ue.hanidec))t+=ce.indexOf(e[n]);else for(const e in le){const[n,s]=le[e];r>=n&&r<=s&&(t+=r-n)}}return parseInt(t,10)}return t}(e))}}const En=`[ ${String.fromCharCode(160)}]`,xn=new RegExp(En,"g");function Cn(e){return e.replace(/\./g,"\\.?").replace(xn,En)}function Fn(e){return e.replace(/\./g,"").replace(xn," ").toLowerCase()}function $n(e,t){return null===e?null:{regex:RegExp(e.map(Cn).join("|")),deser:([n])=>e.findIndex(e=>Fn(n)===Fn(e))+t}}function Wn(e,t){return{regex:e,deser:([,e,t])=>it(e,t),groups:t}}function Zn(e){return{regex:e,deser:([e])=>e}}const Ln={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let zn=null;function jn(e,t){return Array.prototype.concat(...e.map(e=>function(e,t){if(e.literal)return e;const n=Un(Nt.macroTokenToFormatOpts(e.val),t);return null==n||n.includes(void 0)?e:n}(e,t)))}class qn{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=jn(Nt.parseFormat(t),e),this.units=this.tokens.map(t=>function(e,t){const n=de(t),r=de(t,"{2}"),s=de(t,"{3}"),i=de(t,"{4}"),a=de(t,"{6}"),o=de(t,"{1,2}"),u=de(t,"{1,3}"),l=de(t,"{1,6}"),c=de(t,"{1,9}"),h=de(t,"{2,4}"),d=de(t,"{4,6}"),m=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},f=(f=>{if(e.literal)return m(f);switch(f.val){case"G":return $n(t.eras("short"),0);case"GG":return $n(t.eras("long"),0);case"y":return Vn(l);case"yy":case"kk":return Vn(h,rt);case"yyyy":case"kkkk":return Vn(i);case"yyyyy":return Vn(d);case"yyyyyy":return Vn(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Vn(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Vn(r);case"MMM":return $n(t.months("short",!0),1);case"MMMM":return $n(t.months("long",!0),1);case"LLL":return $n(t.months("short",!1),1);case"LLLL":return $n(t.months("long",!1),1);case"o":case"S":return Vn(u);case"ooo":case"SSS":return Vn(s);case"u":return Zn(c);case"uu":return Zn(o);case"uuu":case"E":case"c":return Vn(n);case"a":return $n(t.meridiems(),0);case"EEE":return $n(t.weekdays("short",!1),1);case"EEEE":return $n(t.weekdays("long",!1),1);case"ccc":return $n(t.weekdays("short",!0),1);case"cccc":return $n(t.weekdays("long",!0),1);case"Z":case"ZZ":return Wn(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return Wn(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return Zn(/[a-z_+-/]{1,256}?/i);case" ":return Zn(/[^\S\n\r]/);default:return m(f)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=e,f}(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){const[e,t]=[`^${(n=this.units).map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"")}$`,n];this.regex=RegExp(e,"i"),this.handlers=t}var n}explainFromTokens(e){if(this.isValid){const[t,n]=function(e,t,n){const r=e.match(t);if(r){const e={};let t=1;for(const s in n)if(_e(n,s)){const i=n[s],a=i.groups?i.groups+1:1;!i.literal&&i.token&&(e[i.token.val[0]]=i.deser(r.slice(t,t+a))),t+=a}return[r,e]}return[r,{}]}(e,this.regex,this.handlers),[r,s,i]=n?function(e){let t,n=null;return Le(e.z)||(n=U.create(e.z)),Le(e.Z)||(n||(n=new ie(e.Z)),t=e.Z),Le(e.q)||(e.M=3*(e.q-1)+1),Le(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),Le(e.u)||(e.S=Ge(e.u)),[Object.keys(e).reduce((t,n)=>{const r=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(t[r]=e[n]),t},{}),n,t]}(n):[null,null,void 0];if(_e(n,"a")&&_e(n,"H"))throw new o("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:n,result:r,zone:s,specificOffset:i}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function An(e,t,n){return new qn(e,n).explainFromTokens(t)}function Un(e,t){if(!e)return null;const n=Nt.create(t,e).dtFormatter((zn||(zn=gr.fromMillis(1555555555555)),zn)),r=n.formatToParts(),s=n.resolvedOptions();return r.map(t=>function(e,t,n){const{type:r,value:s}=e;if("literal"===r){const e=/^\s+$/.test(s);return{literal:!e,val:e?" ":s}}const i=t[r];let a=r;"hour"===r&&(a=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let o=Ln[a];if("object"==typeof o&&(o=o[i]),o)return{literal:!1,val:o}}(t,e,s))}const _n="Invalid DateTime",Rn=864e13;function Yn(e){return new be("unsupported zone",`the zone "${e.name}" is not supported`)}function Hn(e){return null===e.weekData&&(e.weekData=Ee(e.c)),e.weekData}function Pn(e){return null===e.localWeekData&&(e.localWeekData=Ee(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function Jn(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new gr({...n,...t,old:n})}function Gn(e,t,n){let r=e-60*t*1e3;const s=n.offset(r);if(t===s)return[r,t];r-=60*(s-t)*1e3;const i=n.offset(r);return s===i?[r,s]:[e-60*Math.min(s,i)*1e3,Math.max(s,i)]}function Bn(e,t){const n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Qn(e,t,n){return Gn(et(e),t,n)}function Kn(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),i={...e.c,year:r,month:s,day:Math.min(e.c.day,Xe(r,s))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},a=On.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),o=et(i);let[u,l]=Gn(o,n,e.zone);return 0!==a&&(u+=a,l=e.zone.offset(u)),{ts:u,o:l}}function Xn(e,t,n,r,s,i){const{setZone:a,zone:o}=n;if(e&&0!==Object.keys(e).length||t){const r=t||o,s=gr.fromObject(e,{...n,zone:r,specificOffset:i});return a?s:s.setZone(o)}return gr.invalid(new be("unparsable",`the input "${s}" can't be parsed as ${r}`))}function er(e,t,n=!0){return e.isValid?Nt.create(re.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function tr(e,t,n){const r=e.c.year>9999||e.c.year<0;let s="";if(r&&e.c.year>=0&&(s+="+"),s+=He(e.c.year,r?6:4),"year"===n)return s;if(t){if(s+="-",s+=He(e.c.month),"month"===n)return s;s+="-"}else if(s+=He(e.c.month),"month"===n)return s;return s+=He(e.c.day),s}function nr(e,t,n,r,s,i,a){let o=!n||0!==e.c.millisecond||0!==e.c.second,u="";switch(a){case"day":case"month":case"year":break;default:if(u+=He(e.c.hour),"hour"===a)break;if(t){if(u+=":",u+=He(e.c.minute),"minute"===a)break;o&&(u+=":",u+=He(e.c.second))}else{if(u+=He(e.c.minute),"minute"===a)break;o&&(u+=He(e.c.second))}if("second"===a)break;!o||r&&0===e.c.millisecond||(u+=".",u+=He(e.c.millisecond,3))}return s&&(e.isOffsetFixed&&0===e.offset&&!i?u+="Z":e.o<0?(u+="-",u+=He(Math.trunc(-e.o/60)),u+=":",u+=He(Math.trunc(-e.o%60))):(u+="+",u+=He(Math.trunc(e.o/60)),u+=":",u+=He(Math.trunc(e.o%60)))),i&&(u+="["+e.zone.ianaName+"]"),u}const rr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},sr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ir={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ar=["year","month","day","hour","minute","second","millisecond"],or=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ur=["year","ordinal","hour","minute","second","millisecond"];function lr(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new u(e);return t}function cr(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return lr(e)}}function hr(e,t){const n=oe(t.zone,Se.defaultZone);if(!n.isValid)return gr.invalid(Yn(n));const r=re.fromObject(t);let s,i;if(Le(e.year))s=Se.now();else{for(const t of ar)Le(e[t])&&(e[t]=rr[t]);const t=We(e)||Ze(e);if(t)return gr.invalid(t);const r=function(e){if(void 0===fr&&(fr=Se.now()),"iana"!==e.type)return e.offset(fr);const t=e.name;let n=yr.get(t);return void 0===n&&(n=e.offset(fr),yr.set(t,n)),n}(n);[s,i]=Qn(e,r,n)}return new gr({ts:s,zone:n,loc:r,o:i})}function dr(e,t,n){const r=!!Le(n.round)||n.round,s=Le(n.rounding)?"trunc":n.rounding,i=(e,i)=>(e=Be(e,r||n.calendary?0:2,n.calendary?"round":s),t.loc.clone(n).relFormatter(n).format(e,i)),a=r=>n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r);if(n.unit)return i(a(n.unit),n.unit);for(const e of n.units){const t=a(e);if(Math.abs(t)>=1)return i(t,e)}return i(e>t?-0:0,n.units[n.units.length-1])}function mr(e){let t,n={};return e.length>0&&"object"==typeof e[e.length-1]?(n=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[n,t]}let fr;const yr=new Map;class gr{constructor(e){const t=e.zone||Se.defaultZone;let n=e.invalid||(Number.isNaN(e.ts)?new be("invalid input"):null)||(t.isValid?null:Yn(t));this.ts=Le(e.ts)?Se.now():e.ts;let r=null,s=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[r,s]=[e.old.c,e.old.o];else{const i=ze(e.o)&&!e.old?e.o:t.offset(this.ts);r=Bn(this.ts,i),n=Number.isNaN(r.year)?new be("invalid input"):null,r=n?null:r,s=n?null:i}this._zone=t,this.loc=e.loc||re.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new gr({})}static local(){const[e,t]=mr(arguments),[n,r,s,i,a,o,u]=t;return hr({year:n,month:r,day:s,hour:i,minute:a,second:o,millisecond:u},e)}static utc(){const[e,t]=mr(arguments),[n,r,s,i,a,o,u]=t;return e.zone=ie.utcInstance,hr({year:n,month:r,day:s,hour:i,minute:a,second:o,millisecond:u},e)}static fromJSDate(e,t={}){const n=(r=e,"[object Date]"===Object.prototype.toString.call(r)?e.valueOf():NaN);var r;if(Number.isNaN(n))return gr.invalid("invalid input");const s=oe(t.zone,Se.defaultZone);return s.isValid?new gr({ts:n,zone:s,loc:re.fromObject(t)}):gr.invalid(Yn(s))}static fromMillis(e,t={}){if(ze(e))return e<-Rn||e>Rn?gr.invalid("Timestamp out of range"):new gr({ts:e,zone:oe(t.zone,Se.defaultZone),loc:re.fromObject(t)});throw new l(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(ze(e))return new gr({ts:1e3*e,zone:oe(t.zone,Se.defaultZone),loc:re.fromObject(t)});throw new l("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const n=oe(t.zone,Se.defaultZone);if(!n.isValid)return gr.invalid(Yn(n));const r=re.fromObject(t),s=ot(e,cr),{minDaysInFirstWeek:i,startOfWeek:a}=$e(s,r),u=Se.now(),l=Le(t.specificOffset)?n.offset(u):t.specificOffset,c=!Le(s.ordinal),h=!Le(s.year),d=!Le(s.month)||!Le(s.day),m=h||d,f=s.weekYear||s.weekNumber;if((m||c)&&f)throw new o("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&c)throw new o("Can't mix ordinal dates with month/day");const y=f||s.weekday&&!m;let g,w,p=Bn(u,l);y?(g=or,w=sr,p=Ee(p,i,a)):c?(g=ur,w=ir,p=Ce(p)):(g=ar,w=rr);let k=!1;for(const e of g)Le(s[e])?s[e]=k?w[e]:p[e]:k=!0;const v=y?function(e,t=4,n=1){const r=je(e.weekYear),s=Ye(e.weekNumber,1,nt(e.weekYear,t,n)),i=Ye(e.weekday,1,7);return r?s?!i&&Ne("weekday",e.weekday):Ne("week",e.weekNumber):Ne("weekYear",e.weekYear)}(s,i,a):c?function(e){const t=je(e.year),n=Ye(e.ordinal,1,Ke(e.year));return t?!n&&Ne("ordinal",e.ordinal):Ne("year",e.year)}(s):We(s),S=v||Ze(s);if(S)return gr.invalid(S);const b=y?xe(s,i,a):c?Fe(s):s,[T,O]=Qn(b,l,n),N=new gr({ts:T,zone:n,o:O,loc:r});return s.weekday&&m&&e.weekday!==N.weekday?gr.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${N.toISO()}`):N.isValid?N:gr.invalid(N.invalid)}static fromISO(e,t={}){const[n,r]=function(e){return Vt(e,[tn,an],[nn,on],[rn,un],[sn,ln])}(e);return Xn(n,r,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[n,r]=function(e){return Vt(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Jt,Gt])}(e);return Xn(n,r,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[n,r]=function(e){return Vt(e,[Bt,Xt],[Qt,Xt],[Kt,en])}(e);return Xn(n,r,t,"HTTP",t)}static fromFormat(e,t,n={}){if(Le(e)||Le(t))throw new l("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=n,i=re.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[a,o,u,c]=function(e,t,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=An(e,t,n);return[r,s,i,a]}(i,e,t);return c?gr.invalid(c):Xn(a,o,n,`format ${t}`,e,u)}static fromString(e,t,n={}){return gr.fromFormat(e,t,n)}static fromSQL(e,t={}){const[n,r]=function(e){return Vt(e,[hn,an],[dn,mn])}(e);return Xn(n,r,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new l("need to specify a reason the DateTime is invalid");const n=e instanceof be?e:new be(e,t);if(Se.throwOnInvalid)throw new s(n);return new gr({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const n=Un(e,re.fromObject(t));return n?n.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){return jn(Nt.parseFormat(e),re.fromObject(t)).map(e=>e.val).join("")}static resetCache(){fr=void 0,yr.clear()}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hn(this).weekYear:NaN}get weekNumber(){return this.isValid?Hn(this).weekNumber:NaN}get weekday(){return this.isValid?Hn(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Pn(this).weekday:NaN}get localWeekNumber(){return this.isValid?Pn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Pn(this).weekYear:NaN}get ordinal(){return this.isValid?Ce(this.c).ordinal:NaN}get monthShort(){return this.isValid?Dn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Dn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Dn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Dn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,t=6e4,n=et(this.c),r=this.zone.offset(n-e),s=this.zone.offset(n+e),i=this.zone.offset(n-r*t),a=this.zone.offset(n-s*t);if(i===a)return[this];const o=n-i*t,u=n-a*t,l=Bn(o,i),c=Bn(u,a);return l.hour===c.hour&&l.minute===c.minute&&l.second===c.second&&l.millisecond===c.millisecond?[Jn(this,{ts:o}),Jn(this,{ts:u})]:[this]}get isInLeapYear(){return Qe(this.year)}get daysInMonth(){return Xe(this.year,this.month)}get daysInYear(){return this.isValid?Ke(this.year):NaN}get weeksInWeekYear(){return this.isValid?nt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?nt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:n,calendar:r}=Nt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:n,outputCalendar:r}}toUTC(e=0,t={}){return this.setZone(ie.instance(e),t)}toLocal(){return this.setZone(Se.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:n=!1}={}){if((e=oe(e,Se.defaultZone)).equals(this.zone))return this;if(e.isValid){let r=this.ts;if(t||n){const t=e.offset(this.ts),n=this.toObject();[r]=Qn(n,t,e)}return Jn(this,{ts:r,zone:e})}return gr.invalid(Yn(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:n}={}){return Jn(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:n})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=ot(e,cr),{minDaysInFirstWeek:n,startOfWeek:r}=$e(t,this.loc),s=!Le(t.weekYear)||!Le(t.weekNumber)||!Le(t.weekday),i=!Le(t.ordinal),a=!Le(t.year),u=!Le(t.month)||!Le(t.day),l=a||u,c=t.weekYear||t.weekNumber;if((l||i)&&c)throw new o("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&i)throw new o("Can't mix ordinal dates with month/day");let h;s?h=xe({...Ee(this.c,n,r),...t},n,r):Le(t.ordinal)?(h={...this.toObject(),...t},Le(t.day)&&(h.day=Math.min(Xe(h.year,h.month),h.day))):h=Fe({...Ce(this.c),...t});const[d,m]=Qn(h,this.o,this.zone);return Jn(this,{ts:d,o:m})}plus(e){return this.isValid?Jn(this,Kn(this,On.fromDurationLike(e))):this}minus(e){return this.isValid?Jn(this,Kn(this,On.fromDurationLike(e).negate())):this}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const n={},r=On.normalizeUnit(e);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===r)if(t){const e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(n.weekNumber=this.weekNumber-1),n.weekday=e}else n.weekday=1;if("quarters"===r){const e=Math.ceil(this.month/3);n.month=3*(e-1)+1}return this.set(n)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?Nt.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):_n}toLocaleString(e=f,t={}){return this.isValid?Nt.create(this.loc.clone(t),e).formatDateTime(this):_n}toLocaleParts(e={}){return this.isValid?Nt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:s=!1,precision:i="milliseconds"}={}){if(!this.isValid)return null;const a="extended"===e;let o=tr(this,a,i=lr(i));return ar.indexOf(i)>=3&&(o+="T"),o+=nr(this,a,t,n,r,s,i),o}toISODate({format:e="extended",precision:t="day"}={}){return this.isValid?tr(this,"extended"===e,lr(t)):null}toISOWeekDate(){return er(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:s=!1,format:i="extended",precision:a="milliseconds"}={}){return this.isValid?(a=lr(a),(r&&ar.indexOf(a)>=3?"T":"")+nr(this,"extended"===i,t,e,n,s,a)):null}toRFC2822(){return er(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return er(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?tr(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(t||e)&&(n&&(r+=" "),t?r+="z":e&&(r+="ZZ")),er(this,r,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():_n}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",n={}){if(!this.isValid||!e.isValid)return On.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...n},s=(o=t,Array.isArray(o)?o:[o]).map(On.normalizeUnit),i=e.valueOf()>this.valueOf(),a=function(e,t,n,r){let[s,i,a,o]=function(e,t,n){const r=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+4*(t.year-e.year)],["months",(e,t)=>t.month-e.month+12*(t.year-e.year)],["weeks",(e,t)=>{const n=In(e,t);return(n-n%7)/7}],["days",In]],s={},i=e;let a,o;for(const[u,l]of r)n.indexOf(u)>=0&&(a=u,s[u]=l(e,t),o=i.plus(s),o>t?(s[u]--,(e=i.plus(s))>t&&(o=e,s[u]--,e=i.plus(s))):e=o);return[e,s,o,a]}(e,t,n);const u=t-s,l=n.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===l.length&&(a<t&&(a=s.plus({[o]:1})),a!==s&&(i[o]=(i[o]||0)+u/(a-s)));const c=On.fromObject(i,r);return l.length>0?On.fromMillis(u,r).shiftTo(...l).plus(c):c}(i?this:e,i?e:this,s,r);var o;return i?a.negate():a}diffNow(e="milliseconds",t={}){return this.diff(gr.now(),e,t)}until(e){return this.isValid?Mn.fromDateTimes(this,e):this}hasSame(e,t,n){if(!this.isValid)return!1;const r=e.valueOf(),s=this.setZone(e.zone,{keepLocalTime:!0});return s.startOf(t,n)<=r&&r<=s.endOf(t,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||gr.fromObject({},{zone:this.zone}),n=e.padding?this<t?-e.padding:e.padding:0;let r=["years","months","days","hours","minutes","seconds"],s=e.unit;return Array.isArray(e.unit)&&(r=e.unit,s=void 0),dr(t,this.plus(n),{...e,numeric:"always",units:r,unit:s})}toRelativeCalendar(e={}){return this.isValid?dr(e.base||gr.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(gr.isDateTime))throw new l("min requires all arguments be DateTimes");return Ue(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(gr.isDateTime))throw new l("max requires all arguments be DateTimes");return Ue(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,n={}){const{locale:r=null,numberingSystem:s=null}=n;return An(re.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,n={}){return gr.fromFormatExplain(e,t,n)}static buildFormatParser(e,t={}){const{locale:n=null,numberingSystem:r=null}=t,s=re.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});return new qn(s,e)}static fromFormatParser(e,t,n={}){if(Le(e)||Le(t))throw new l("fromFormatParser requires an input string and a format parser");const{locale:r=null,numberingSystem:s=null}=n,i=re.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});if(!i.equals(t.locale))throw new l(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${t.locale}`);const{result:a,zone:o,specificOffset:u,invalidReason:c}=t.explainFromTokens(e);return c?gr.invalid(c):Xn(a,o,n,`format ${t.format}`,e,u)}static get DATE_SHORT(){return f}static get DATE_MED(){return y}static get DATE_MED_WITH_WEEKDAY(){return g}static get DATE_FULL(){return w}static get DATE_HUGE(){return p}static get TIME_SIMPLE(){return k}static get TIME_WITH_SECONDS(){return v}static get TIME_WITH_SHORT_OFFSET(){return S}static get TIME_WITH_LONG_OFFSET(){return b}static get TIME_24_SIMPLE(){return T}static get TIME_24_WITH_SECONDS(){return O}static get TIME_24_WITH_SHORT_OFFSET(){return N}static get TIME_24_WITH_LONG_OFFSET(){return M}static get DATETIME_SHORT(){return D}static get DATETIME_SHORT_WITH_SECONDS(){return I}static get DATETIME_MED(){return V}static get DATETIME_MED_WITH_SECONDS(){return E}static get DATETIME_MED_WITH_WEEKDAY(){return x}static get DATETIME_FULL(){return C}static get DATETIME_FULL_WITH_SECONDS(){return F}static get DATETIME_HUGE(){return $}static get DATETIME_HUGE_WITH_SECONDS(){return W}}function wr(e){if(gr.isDateTime(e))return e;if(e&&e.valueOf&&ze(e.valueOf()))return gr.fromJSDate(e);if(e&&"object"==typeof e)return gr.fromObject(e);throw new l(`Unknown datetime argument: ${e}, of type ${typeof e}`)}},32198(e,t,n){function r(e,t,n,r){var s,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(a=(i<3?s(a):i>3?s(t,n,a):s(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function s(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,s;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(s=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");s&&(r=function(){try{s.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}n.d(t,{Cg:()=>r,hk:()=>a,mS:()=>s}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function a(e){function t(t){e.error=e.hasError?new i(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function s(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(s);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(s,function(e){return t(e),s()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(Array.isArray(self.webpackChunkRemoteClient)?self.webpackChunkRemoteClient:self.webpackChunkRemoteClient=[]).push([[4038],{84038(e,t,s){s.r(t),s.d(t,{exportGLTF:()=>z,modelNameGlb:()=>P,modelNameGltf:()=>v,toBinaryGLTF:()=>V});var i=s(17676),r=s(4576);class n{constructor(){this.copyright="",this.defaultScene=0,this.generator="",this._scenes=[]}addScene(e){if(this._scenes.includes(e))throw Error("Scene already added");this._scenes.push(e)}removeScene(e){(0,r.TF)(this._scenes,e)}forEachScene(e){this._scenes.forEach(e)}}class a{static{this.HEADER_SIZE=12}static{this.CHUNK_HEADER_SIZE=8}static{this.MAGIC=1179937895}static{this.VERSION=2}constructor(e,t){if(!e)throw Error("GLB requires a JSON gltf chunk");this._length=a.HEADER_SIZE,this._length+=a.CHUNK_HEADER_SIZE;let s=function(e){return(new TextEncoder).encode(e).buffer}(e);if(this._length+=o(s.byteLength,4),t&&(this._length+=a.CHUNK_HEADER_SIZE,this._length+=t.byteLength,t.byteLength%4))throw Error("Expected BIN chunk length to be divisible by 4 at this point");this.buffer=new ArrayBuffer(this._length),this._outView=new DataView(this.buffer),this._writeHeader();let i=this._writeChunk(s,12,1313821514,32);t&&this._writeChunk(t,i,5130562)}_writeHeader(){this._outView.setUint32(0,a.MAGIC,!0),this._outView.setUint32(4,a.VERSION,!0),this._outView.setUint32(8,this._length,!0)}_writeChunk(e,t,s,i=0){let r=o(e.byteLength,4);for(this._outView.setUint32(t,r,!0),this._outView.setUint32(t+=4,s,!0),function(e,t,s,i,r){new Uint8Array(e,s,r).set(new Uint8Array(t,0,r),0)}(this._outView.buffer,e,t+=4,0,e.byteLength),t+=e.byteLength;t%4;)i&&this._outView.setUint8(t,i),t++;return t}}function o(e,t){return t*Math.ceil(e/t)}var l=s(53966),h=s(91869),u=s(34727),f=s(67026),c=s(82534),_=s(35522),d=s(51850),p=s(80882),m=s(72258),g=s(63907);class T{constructor(e,t,s,i,r){this._buffer=e,this._componentType=s,this._dataType=i,this._data=[],this._isFinalized=!1,this._accessorIndex=-1,this._accessorAttribute=null,this._accessorMin=null,this._accessorMax=null,t.bufferViews||=[],this.index=t.bufferViews.length,this._bufferView={buffer:e.index,byteLength:-1,target:r};let n=this._getElementSize();n>=4&&34963!==r&&(this._bufferView.byteStride=n),t.bufferViews.push(this._bufferView),this._numComponentsForDataType=this._calculateNumComponentsForDataType()}push(e){let t=this._data.length;if(this._data.push(e),this._accessorIndex>=0){let s=t%this._numComponentsForDataType,i=this._accessorMin[s];this._accessorMin[s]="number"==typeof i?Math.min(i,e):e;let r=this._accessorMax[s];this._accessorMax[s]="number"==typeof r?Math.max(r,e):e}}get dataSize(){return this._data.length*this._sizeComponentType()}get byteSize(){return function(e){return 4*Math.ceil(e/4)}(this.dataSize)}getByteOffset(){if(!this._isFinalized)throw Error("Cannot get BufferView offset until it is finalized");return this._buffer.getByteOffset(this)}get byteOffset(){if(!this._isFinalized)throw Error("Cannot get BufferView offset until it is finalized");return this._buffer.getByteOffset(this)}_createTypedArray(e,t){switch(this._componentType){case g.pe.BYTE:return new Int8Array(e,t);case g.pe.FLOAT:return new Float32Array(e,t);case g.pe.SHORT:return new Int16Array(e,t);case g.pe.UNSIGNED_BYTE:return new Uint8Array(e,t);case g.pe.UNSIGNED_INT:return new Uint32Array(e,t);case g.pe.UNSIGNED_SHORT:return new Uint16Array(e,t)}}writeOutToBuffer(e,t){this._createTypedArray(e,t).set(this._data)}writeAsync(e){if(this._asyncWritePromise)throw Error("Can't write multiple bufferView values asynchronously");return this._asyncWritePromise=e.then(e=>{let t=new Uint8Array(e);for(let e=0;e<t.length;++e)this._data.push(t[e]);delete this._asyncWritePromise}),this._asyncWritePromise}startAccessor(e){if(this._accessorIndex>=0)throw Error("Accessor was started without ending the previous one");this._accessorIndex=this._data.length,this._accessorAttribute=e;let t=this._numComponentsForDataType;this._accessorMin=Array(t),this._accessorMax=Array(t)}endAccessor(){if(this._accessorIndex<0)throw Error("An accessor was not started, but was attempted to be ended");let e=this._getElementSize(),t=this._numComponentsForDataType,s=(this._data.length-this._accessorIndex)/t;if(s%1)throw Error("An accessor was ended with missing component values");for(let e=0;e<this._accessorMin.length;++e)"number"!=typeof this._accessorMin[e]&&(this._accessorMin[e]=0),"number"!=typeof this._accessorMax[e]&&(this._accessorMax[e]=0);let i={byteOffset:e*(this._accessorIndex/t),componentType:this._componentType,count:s,type:this._dataType,min:this._accessorMin,max:this._accessorMax,name:this._accessorAttribute};switch(this._accessorAttribute){case"TEXCOORD_0":case"TEXCOORD_1":case"COLOR_0":case"WEIGHTS_0":switch(this._componentType){case g.pe.UNSIGNED_BYTE:case g.pe.UNSIGNED_SHORT:i.normalized=!0}}return this._accessorIndex=-1,this._accessorAttribute=null,this._accessorMin=null,this._accessorMax=null,i}get finalized(){return this._finalizedPromise?this._finalizedPromise:this._finalizedPromise=this._isFinalized?Promise.resolve():new Promise(e=>this._finalizedPromiseResolve=e)}async finalize(){let e=this._bufferView,t=this._buffer.getViewFinalizePromises(this);this._asyncWritePromise&&t.push(this._asyncWritePromise),await Promise.allSettled(t),this._isFinalized=!0,e.byteOffset=this.getByteOffset(),e.byteLength=this.dataSize,this._finalizedPromiseResolve&&this._finalizedPromiseResolve()}_getElementSize(){return this._sizeComponentType()*this._numComponentsForDataType}_sizeComponentType(){switch(this._componentType){case g.pe.BYTE:case g.pe.UNSIGNED_BYTE:return 1;case g.pe.SHORT:case g.pe.UNSIGNED_SHORT:return 2;case g.pe.UNSIGNED_INT:case g.pe.FLOAT:return 4}}_calculateNumComponentsForDataType(){switch(this._dataType){case"SCALAR":return 1;case"VEC2":return 2;case"VEC3":return 3;case"VEC4":case"MAT2":return 4;case"MAT3":return 9;case"MAT4":return 16}}}class E{constructor(e){this._gltf=e,this._bufferViews=[],this._isFinalized=!1,e.buffers||=[],this.index=e.buffers.length;let t={byteLength:-1};e.buffers.push(t),this._buffer=t}addBufferView(e,t,s){if(this._finalizePromise)throw Error("Cannot add buffer view after fiinalizing buffer");let i=new T(this,this._gltf,e,t,s);return this._bufferViews.push(i),i}getByteOffset(e){let t=0;for(let s of this._bufferViews){if(s===e)return t;t+=s.byteSize}throw Error("Given bufferView was not present in this buffer")}getViewFinalizePromises(e){let t=[];for(let s of this._bufferViews){if(e&&s===e)return t;t.push(s.finalized)}return t}getArrayBuffer(){if(!this._isFinalized)throw Error("Cannot get ArrayBuffer from Buffer before it is finalized");let e=this._getTotalSize(),t=new ArrayBuffer(e),s=0;for(let e of this._bufferViews)e.writeOutToBuffer(t,s),s+=e.byteSize;return t}finalize(){if(this._finalizePromise)throw Error(`Buffer ${this.index} was already finalized`);return this._finalizePromise=Promise.allSettled(this.getViewFinalizePromises()).then(()=>{this._isFinalized=!0;let e=this.getArrayBuffer();this._buffer.byteLength=e.byteLength,this._buffer.uri=e}),this._gltf.extras.promises.push(this._finalizePromise),this._finalizePromise}_getTotalSize(){let e=0;for(let t of this._bufferViews)e+=t.byteSize;return e}}function R(e,t){if(e.components)for(let s of e.components)s.faces&&"smooth"===s.shading&&S(s.faces,t)}function S(e,t){t.normal??=new Float32Array(t.position.length);let{position:s,normal:i}=t,r=e.length/3;for(let t=0;t<r;++t){let r=3*e[3*t],n=3*e[3*t+1],a=3*e[3*t+2],o=(0,_.hZ)(w,s[r],s[r+1],s[r+2]),l=(0,_.hZ)(b,s[n],s[n+1],s[n+2]),h=(0,_.hZ)(A,s[a],s[a+1],s[a+2]),u=(0,_.Re)(l,l,o),f=(0,_.Re)(h,h,o),c=(0,_.$A)(u,u,f);i[r]+=c[0],i[r+1]+=c[1],i[r+2]+=c[2],i[n]+=c[0],i[n+1]+=c[1],i[n+2]+=c[2],i[a]+=c[0],i[a+1]+=c[1],i[a+2]+=c[2]}for(let e=0;e<i.length;e+=3)(0,_.hZ)(N,i[e],i[e+1],i[e+2]),(0,_.S8)(N,N),i[e]=N[0],i[e+1]=N[1],i[e+2]=N[2]}const w=(0,d.vt)(),b=(0,d.vt)(),A=(0,d.vt)(),N=(0,d.vt)();var y=s(49186),I=s(84952);async function x(e,t){let s=O(e);if(null==s)throw new y.A("imageToArrayBuffer","Unsupported image type");let r=function(e){if(!(e instanceof HTMLImageElement))return"image/png";let t=e.src;if((0,I.DB)(t)){let e=(0,I.r$)(t);return"image/jpeg"===e?.mediaType?e.mediaType:"image/png"}return/\.png$/i.test(t)?"image/png":/\.(jpg|jpeg)$/i.test(t)?"image/jpeg":"image/png"}(e),n=await new Promise(e=>s.toBlob(e,r));if((0,i.Te)(t),!n)throw new y.A("imageToArrayBuffer","Failed to encode image");let a=await n.arrayBuffer();return(0,i.Te)(t),{data:a,type:r}}function O(e){if(e instanceof HTMLCanvasElement)return e;if(e instanceof HTMLVideoElement)return null;let t=document.createElement("canvas");t.width=e.width,t.height=e.height;let s=t.getContext("2d");return e instanceof HTMLImageElement?s.drawImage(e,0,0,e.width,e.height):e instanceof ImageData&&s.putImageData(e,0,0),t}var C=s(51530);const B=()=>l.A.getLogger("esri.geometry.support.meshUtils.exporters.gltf.gltf");class G{constructor(e,t){this.options=t,this._materialMap=[],this._imageMap=new Map,this._textureMap=new Map,this.gltf={asset:{version:"2.0",copyright:e.copyright,generator:e.generator},extras:{output:t.output,binChunkBuffer:null,promises:[]}},this._addScenes(e)}_addScenes(e){this.gltf.scene=e.defaultScene;let t=this.gltf.extras,s=2===t.output.buffer||2===t.output.image;s&&(t.binChunkBuffer=new E(this.gltf)),e.forEachScene(e=>{this._addScene(e)}),s&&t.binChunkBuffer.finalize()}_addScene(e){this.gltf.scenes||(this.gltf.scenes=[]);let t={};e.name&&(t.name=e.name),e.forEachNode(e=>{t.nodes||=[],t.nodes.push(...this._addNodes(e))}),this.gltf.scenes.push(t)}_addNodes(e){this.gltf.nodes||(this.gltf.nodes=[]);let t={};e.name&&(t.name=e.name);let s=e.translation;(0,_.t2)(s,d.uY)||(t.translation=(0,d.o8)(s));let i=e.rotation;(0,f.t2)(i,c.zK)||(t.rotation=(0,c.o8)(i));let r=e.scale;(0,_.t2)(r,d.Un)||(t.scale=(0,d.o8)(r));let n=this.gltf.nodes.length;if(this.gltf.nodes.push(t),e.mesh&&e.mesh.vertexAttributes.position){let s=this._createMeshes(e.mesh),i=[n];if(1===s.length)this._addMesh(t,s[0]);else for(let e of s){let t={};this._addMesh(t,e),i.push(this.gltf.nodes.length),this.gltf.nodes.push(t)}return i}return e.forEachNode(e=>{t.children||=[],t.children.push(...this._addNodes(e))}),[n]}_addMesh(e,t){this.gltf.meshes??=[];let s=this.gltf.meshes.length;this.gltf.meshes.push(t),e.mesh=s}_createMeshes(e){let t,s=this.gltf.extras,i=2===s.output.buffer;t=i?s.binChunkBuffer:new E(this.gltf);let r=this.options.origin,n=e.vertexSpace.clone();n.origin=[r.x,r.y,r.z??0];let a=(0,m.UR)({vertexAttributes:e.vertexAttributes,vertexSpace:e.vertexSpace,transform:this.options?.ignoreLocalTransform?null:e.transform,spatialReference:e.spatialReference},n,{targetUnit:this.options.unitConversionDisabled?void 0:"meters"});if(!a)return[];R(e,a),M(a);let o,l,h,u,{position:f,normal:c,tangent:_}=a,{uv:d,color:p}=e.vertexAttributes,T=t.addBufferView(g.pe.FLOAT,"VEC3",34962);c&&(o=t.addBufferView(g.pe.FLOAT,"VEC3",34962)),d&&(l=t.addBufferView(g.pe.FLOAT,"VEC2",34962)),_&&(h=t.addBufferView(g.pe.FLOAT,"VEC4",34962)),p&&(u=t.addBufferView(g.pe.FLOAT,"VEC4",34962)),T.startAccessor("POSITION"),o&&o.startAccessor("NORMAL"),l&&l.startAccessor("TEXCOORD_0"),h&&h.startAccessor("TANGENT"),u&&u.startAccessor("COLOR_0");let S=a.position.length/3;for(let e=0;e<S;++e)T.push(f[3*e]),T.push(f[3*e+1]),T.push(f[3*e+2]),o&&null!=c&&(o.push(c[3*e]),o.push(c[3*e+1]),o.push(c[3*e+2])),l&&null!=d&&(l.push(d[2*e]),l.push(d[2*e+1])),h&&null!=_&&(h.push(_[4*e]),h.push(_[4*e+1]),h.push(_[4*e+2]),h.push(_[4*e+3])),u&&null!=p&&(u.push(D(p[4*e]/255)),u.push(D(p[4*e+1]/255)),u.push(D(p[4*e+2]/255)),u.push(p[4*e+3]/255));let w,b,A,N,y=T.endAccessor(),I=this._addAccessor(T.index,y);if(o){let e=o.endAccessor();w=this._addAccessor(o.index,e)}if(l){let e=l.endAccessor();b=this._addAccessor(l.index,e)}if(h){let e=h.endAccessor();A=this._addAccessor(h.index,e)}if(u){let e=u.endAccessor();N=this._addAccessor(u.index,e)}let x,O=[];return e.components&&e.components.length>0&&e.components[0].faces?(x=t.addBufferView(g.pe.UNSIGNED_INT,"SCALAR",34963),this._addMeshVertexIndexed(x,e.components,O,I,w,b,A,N)):this._addMeshVertexNonIndexed(e.components,O,I,w,b,A,N),T.finalize(),o?.finalize(),l?.finalize(),h?.finalize(),x?.finalize(),u?.finalize(),i||t.finalize(),O}_addMaterial(e){if(null==e)return;let t=this._materialMap.indexOf(e);if(-1!==t)return t;this.gltf.materials||(this.gltf.materials=[]);let s={};switch(e.alphaMode){case"mask":s.alphaMode="MASK";break;case"auto":case"blend":s.alphaMode="BLEND"}s.alphaCutoff=e.alphaCutoff,e.doubleSided&&(s.doubleSided=e.doubleSided),s.pbrMetallicRoughness={};let i=e=>{let t=e.toRgba();return t[0]=D(t[0]/255),t[1]=D(t[1]/255),t[2]=D(t[2]/255),t};if(null!=e.color&&(s.pbrMetallicRoughness.baseColorFactor=i(e.color)),null!=e.colorTexture&&(s.pbrMetallicRoughness.baseColorTexture=this._createTextureInfo(e.colorTexture,e.colorTextureTransform)),null!=e.normalTexture&&(s.normalTexture=this._createTextureInfo(e.normalTexture,e.normalTextureTransform)),e instanceof p.A){if(null!=e.emissiveTexture&&(s.emissiveTexture=this._createTextureInfo(e.emissiveTexture,e.emissiveTextureTransform)),e.unlit&&(s.extensions??={},s.extensions.KHR_materials_unlit={}),null!=e.emissiveColor){let t=i(e.emissiveColor);s.emissiveFactor=[t[0],t[1],t[2]]}null!=e.emissiveStrength&&(s.extensions??={},s.extensions.KHR_materials_emissive_strength={emissiveStrength:e.emissiveStrength}),null!=e.occlusionTexture&&(s.occlusionTexture=this._createTextureInfo(e.occlusionTexture,e.occlusionTextureTransform)),null!=e.metallicRoughnessTexture&&(s.pbrMetallicRoughness.metallicRoughnessTexture=this._createTextureInfo(e.metallicRoughnessTexture,e.metallicRoughnessTextureTransform)),s.pbrMetallicRoughness.metallicFactor=e.metallic,s.pbrMetallicRoughness.roughnessFactor=e.roughness}else s.pbrMetallicRoughness.metallicFactor=1,s.pbrMetallicRoughness.roughnessFactor=1,B().warnOnce("Meshes exported to GLTF without MeshMaterialMetallicRoughness material will appear different when imported back.");let r=this.gltf.materials.length;return this.gltf.materials.push(s),this._materialMap.push(e),r}_createTextureInfo(e,t){let s={index:this._addTexture(e)};return t&&(s.extensions||={},s.extensions.KHR_texture_transform={scale:t.scale,offset:t.offset,rotation:(0,u.kU)(t.rotation)}),s}_addTexture(e){let t=this.gltf.textures??[];return this.gltf.textures=t,(0,h.tE)(this._textureMap,e,()=>{let s={sampler:this._addSampler(e),source:this._addImage(e)},i=t.length;return t.push(s),i})}_addImage(e){let t=this._imageMap.get(e);if(null!=t)return t;this.gltf.images||(this.gltf.images=[]);let s={};if(e.url)s.uri=e.url;else{let t=e.data;s.extras=t;for(let e=0;e<this.gltf.images.length;++e)if(t===this.gltf.images[e].extras)return e;let i=this.gltf.extras;switch(i.output.image){case 2:{let e=i.binChunkBuffer.addBufferView(g.pe.UNSIGNED_BYTE,"SCALAR");if((0,C.x3)(t))null!=t.data&&e.writeOutToBuffer(t.data.buffer,0);else{let r=x(t,this.options.signal).then(({data:e,type:t})=>(s.mimeType=t,e));i.promises.push(e.writeAsync(r).then(()=>e.finalize()))}s.bufferView=e.index;break}case 1:if((0,C.x3)(t)){B().warnOnce("Image export for basis compressed textures not available.");break}s.uri=function(e){let t=O(e);return null==t?"":t.toDataURL()}(t);break;default:if((0,C.x3)(t)){B().warnOnce("Image export for basis compressed textures not available.");break}i.promises.push(x(t,this.options.signal).then(({data:e,type:t})=>{s.uri=e,s.mimeType=t}))}}let i=this.gltf.images.length;return this.gltf.images.push(s),this._imageMap.set(e,i),i}_addSampler(e){this.gltf.samplers||(this.gltf.samplers=[]);let t=10497,s=10497;if("string"==typeof e.wrap)switch(e.wrap){case"clamp":t=33071,s=33071;break;case"mirror":t=33648,s=33648}else{switch(e.wrap.vertical){case"clamp":s=33071;break;case"mirror":s=33648}switch(e.wrap.horizontal){case"clamp":t=33071;break;case"mirror":t=33648}}let i={wrapS:t,wrapT:s};for(let e=0;e<this.gltf.samplers.length;++e)if(JSON.stringify(i)===JSON.stringify(this.gltf.samplers[e]))return e;let r=this.gltf.samplers.length;return this.gltf.samplers.push(i),r}_addAccessor(e,t){this.gltf.accessors||(this.gltf.accessors=[]);let s={bufferView:e,byteOffset:t.byteOffset,componentType:t.componentType,count:t.count,type:t.type,min:t.min,max:t.max,name:t.name};t.normalized&&(s.normalized=!0);let i=this.gltf.accessors.length;return this.gltf.accessors.push(s),i}_addMeshVertexIndexed(e,t,s,i,r,n,a,o){let l=new Map;for(let h of t){if(e.startAccessor("INDICES"),h.faces)for(let t=0;t<h.faces.length;++t)e.push(h.faces[t]);let t=e.endAccessor(),u={attributes:{POSITION:i},indices:this._addAccessor(e.index,t),material:this._addMaterial(h.material)};r&&"flat"!==h.shading&&(u.attributes.NORMAL=r),n&&(u.attributes.TEXCOORD_0=n),a&&"flat"!==h.shading&&(u.attributes.TANGENT=a),o&&(u.attributes.COLOR_0=o);let f=l.get(h.name);if(f)f.primitives.push(u);else{let e={name:h.name,primitives:[u]};l.set(h.name,e),s.push(e)}}}_addMeshVertexNonIndexed(e,t,s,i,r,n,a){let o={primitives:[]};t.push(o);let l={attributes:{POSITION:s}};i&&(l.attributes.NORMAL=i),r&&(l.attributes.TEXCOORD_0=r),n&&(l.attributes.TANGENT=n),a&&(l.attributes.COLOR_0=a),e&&(l.material=this._addMaterial(e[0].material)),o.primitives.push(l)}}function M({position:e,normal:t,tangent:s}){U(e,3),U(t,3),U(s,4)}function U(e,t){if(null!=e)for(let s=1,i=2;s<e.length;s+=t,i+=t){let t=e[s],r=e[i];e[s]=r,e[i]=-t}}function D(e){return e**2.2}class L{constructor(e){this.mesh=e,this.name="",this.translation=(0,d.vt)(),this.rotation=(0,c.vt)(),this.scale=(0,d.o8)(d.Un),this._nodes=[]}addNode(e){if(this._nodes.includes(e))throw Error("Node already added");this._nodes.push(e)}forEachNode(e){this._nodes.forEach(e)}set rotationAngles(e){(0,f.A6)(this.rotation,e[0],e[1],e[2])}}class F{constructor(){this.name="",this._nodes=[]}addNode(e){if(this._nodes.includes(e))throw Error("Node already added");this._nodes.push(e)}forEachNode(e){this._nodes.forEach(e)}}const v="model.gltf",P="model.glb";async function z(e,t){let s=new G(e,t).gltf,r=s.extras.promises,n=1,o=1,l=null;await Promise.allSettled(r),(0,i.Te)(t.signal);let h=t.jsonSpacing??4,u=new Map,f=JSON.stringify(s,(e,s)=>{if("extras"!==e){if(s instanceof ArrayBuffer){if(function(e){if(e.byteLength<8)return!1;let t=new Uint8Array(e);return 137===t[0]&&80===t[1]&&78===t[2]&&71===t[3]&&13===t[4]&&10===t[5]&&26===t[6]&&10===t[7]}(s))switch(t.output?.image){case 1:case 2:break;default:{let e=`img${o}.png`;return o++,u.set(e,s),e}}switch(t.output?.buffer){case 1:return function(e){let t=[],s=new Uint8Array(e);for(let e=0;e<s.length;e++)t.push(String.fromCharCode(s[e]));return"data:application/octet-stream;base64,"+btoa(t.join(""))}(s);case 2:if(l)throw Error("Already encountered an ArrayBuffer, there should only be one in the GLB format.");return void(l=s);default:{let e=`data${n}.bin`;return n++,u.set(e,s),e}}}return s}},h);return 2===t.output?.buffer||2===t.output?.image?u.set(P,new a(f,l).buffer):u.set(v,f),u}async function V(e,t){let s=new n,i=new F;return s.addScene(i),i.addNode(new L(e)),await async function(e,t){let s=(await z(e,{output:{buffer:2,image:2},jsonSpacing:0,...t})).get(P);if(!(s&&s instanceof ArrayBuffer))throw Error("failed to export to glb");return s}(s,{origin:e.origin,...t})}},51530(e,t,s){s.d(t,{KB:()=>a,Xi:()=>r,pn:()=>o,x3:()=>n});var i=s(44208);class r{constructor(e){this.data=e,this.type="encoded-mesh-texture",this.encoding="image/ktx2"}}function n(e){return"encoded-mesh-texture"===e?.type}async function a(e){let t=await new Blob([e]).text();return JSON.parse(t)}async function o(e,t){if("image/ktx2"===t)return new r(e);let s=new Blob([e],{type:t}),n=URL.createObjectURL(s);switch(t){case"image/jpeg":n+="#.jpg";break;case"image/png":n+="#.png"}let a=new Image;if((0,i.A)("esri-iPhone"))return new Promise((e,t)=>{let s=()=>{r(),e(a)},i=e=>{r(),t(e)},r=()=>{URL.revokeObjectURL(n),a.removeEventListener("load",s),a.removeEventListener("error",i)};a.addEventListener("load",s),a.addEventListener("error",i),a.src=n});try{a.src=n,await a.decode()}catch{}return URL.revokeObjectURL(n),a}},63907(e,t,s){const i={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},r={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},n=Object.values(r),a={FLOAT:i.FLOAT,UNSIGNED_BYTE:i.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:i.BYTE,UNSIGNED_SHORT:i.UNSIGNED_SHORT,SHORT:i.SHORT,UNSIGNED_INT:i.UNSIGNED_INT,INT:i.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};s.d(t,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,r,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,n,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,a,"pe",0,i,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);
|