@arcgis/core 5.1.0-next.13 → 5.1.0-next.15
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/Camera.d.ts +1 -1
- package/Ground.d.ts +7 -7
- package/PopupTemplate.d.ts +6 -6
- package/WebScene.d.ts +1 -1
- package/analysis/AreaMeasurementAnalysis.d.ts +1 -1
- package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
- package/analysis/LengthDimension.d.ts +4 -4
- package/analysis/ShadowCastAnalysis.d.ts +3 -3
- package/analysis/SliceAnalysis.d.ts +1 -1
- package/analysis/SlicePlane.d.ts +1 -1
- package/applications/Components/SketchTooltipControls.d.ts +3 -2
- package/applications/Components/SketchTooltipControls.js +1 -1
- package/assets/esri/core/t9n/Units_ar.json +1 -1
- package/assets/esri/core/t9n/Units_bg.json +1 -1
- package/assets/esri/core/t9n/Units_bs.json +1 -1
- package/assets/esri/core/t9n/Units_ca.json +1 -1
- package/assets/esri/core/t9n/Units_cs.json +1 -1
- package/assets/esri/core/t9n/Units_da.json +1 -1
- package/assets/esri/core/t9n/Units_de.json +1 -1
- package/assets/esri/core/t9n/Units_el.json +1 -1
- package/assets/esri/core/t9n/Units_es.json +1 -1
- package/assets/esri/core/t9n/Units_et.json +1 -1
- package/assets/esri/core/t9n/Units_fi.json +1 -1
- package/assets/esri/core/t9n/Units_fr.json +1 -1
- package/assets/esri/core/t9n/Units_he.json +1 -1
- package/assets/esri/core/t9n/Units_hr.json +1 -1
- package/assets/esri/core/t9n/Units_hu.json +1 -1
- package/assets/esri/core/t9n/Units_id.json +1 -1
- package/assets/esri/core/t9n/Units_it.json +1 -1
- package/assets/esri/core/t9n/Units_ja.json +1 -1
- package/assets/esri/core/t9n/Units_ko.json +1 -1
- package/assets/esri/core/t9n/Units_lt.json +1 -1
- package/assets/esri/core/t9n/Units_lv.json +1 -1
- package/assets/esri/core/t9n/Units_nl.json +1 -1
- package/assets/esri/core/t9n/Units_no.json +1 -1
- package/assets/esri/core/t9n/Units_pl.json +1 -1
- package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
- package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
- package/assets/esri/core/t9n/Units_ro.json +1 -1
- package/assets/esri/core/t9n/Units_ru.json +1 -1
- package/assets/esri/core/t9n/Units_sk.json +1 -1
- package/assets/esri/core/t9n/Units_sl.json +1 -1
- package/assets/esri/core/t9n/Units_sr.json +1 -1
- package/assets/esri/core/t9n/Units_sv.json +1 -1
- package/assets/esri/core/t9n/Units_th.json +1 -1
- package/assets/esri/core/t9n/Units_tr.json +1 -1
- package/assets/esri/core/t9n/Units_uk.json +1 -1
- package/assets/esri/core/t9n/Units_vi.json +1 -1
- package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
- package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
- package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/0184b4c0c92c76c60ab2.js +1 -0
- package/assets/esri/core/workers/chunks/07317f6b57c1314db442.js +1 -0
- package/assets/esri/core/workers/chunks/{56a296cb5c1ae1ea5ab2.js → 08616877b58b518e7461.js} +1 -1
- package/assets/esri/core/workers/chunks/089cef7124173a5cd5f9.js +1 -0
- package/assets/esri/core/workers/chunks/{4d438627dd3509f65d5a.js → 0baa0d66003d23cc76a7.js} +1 -1
- package/assets/esri/core/workers/chunks/0e216f0075fd531c3a2b.js +1 -0
- package/assets/esri/core/workers/chunks/{d5314786df52b6be5307.js → 0e6ffb02a929130ddb50.js} +1 -1
- package/assets/esri/core/workers/chunks/{ae0a555b047b11aa68eb.js → 1219b588f983b4f35033.js} +1 -1
- package/assets/esri/core/workers/chunks/{41fe4d8fe97388498f73.js → 13512a23655258fa77f4.js} +1 -1
- package/assets/esri/core/workers/chunks/{ee34f14bbfe619b85a80.js → 13e913aa5f5113fceb16.js} +1 -1
- package/assets/esri/core/workers/chunks/{d621cdd0aef6d77986f0.js → 1469e6d1d0d4e310b8f8.js} +1 -1
- package/assets/esri/core/workers/chunks/{b9e90875943703486227.js → 15ba0296403dd4152b88.js} +1 -1
- package/assets/esri/core/workers/chunks/{7595c52b1647f092c61a.js → 16abc548724e428c325a.js} +1 -1
- package/assets/esri/core/workers/chunks/{dddcae86e434d93b10c0.js → 189e22df73414a1a3989.js} +1 -1
- package/assets/esri/core/workers/chunks/{90aeef17af12cfbecb36.js → 1d124a55f6804be19e09.js} +1 -1
- package/assets/esri/core/workers/chunks/{63831996ad82bd3b1ca9.js → 1e29a114c1cfe21121c4.js} +1 -1
- package/assets/esri/core/workers/chunks/{153a9d087e0fe7072af4.js → 1ede5fa7a16839ed9444.js} +1 -1
- package/assets/esri/core/workers/chunks/{6b1e1fb4e9010873c171.js → 1f30558e3ad6ac68bdb8.js} +1 -1
- package/assets/esri/core/workers/chunks/{9c06b803912fcafa7f52.js → 24dd404612c35f6a3fc3.js} +1 -1
- package/assets/esri/core/workers/chunks/{b6e155b42a4a423139e7.js → 27d1f8279df34d8b15b5.js} +1 -1
- package/assets/esri/core/workers/chunks/{401af6d07c9f458ae067.js → 2c69d8bb1c950b95278d.js} +1 -1
- package/assets/esri/core/workers/chunks/{22d12c309af9c19a1a48.js → 2c7e5b78d94e5850537b.js} +1 -1
- package/assets/esri/core/workers/chunks/{120a5fa9b46084cd0c45.js → 2d376f82cdf020e1fca9.js} +1 -1
- package/assets/esri/core/workers/chunks/{8c321c6bc344544ebb51.js → 2d52b137ee64469a46b2.js} +1 -1
- package/assets/esri/core/workers/chunks/{5b3f2bad61a0d993bf16.js → 2e63e18df96e5a2461de.js} +1 -1
- package/assets/esri/core/workers/chunks/{d4da3abbd3d88cd63cb9.js → 454150571b5b664b576a.js} +1 -1
- package/assets/esri/core/workers/chunks/4740d319f233b7f528fe.js +1 -0
- package/assets/esri/core/workers/chunks/{78ce6fcb72e97d3dc087.js → 499d594dc0d282dfe777.js} +1 -1
- package/assets/esri/core/workers/chunks/49d58bacb5b397246978.js +1 -0
- package/assets/esri/core/workers/chunks/4ba4aa6c75e3f8950e65.js +1 -0
- package/assets/esri/core/workers/chunks/{61ce373f00a0cad113ed.js → 4f2c29168c9de0b08741.js} +1 -1
- package/assets/esri/core/workers/chunks/{5789898948cc0da78b8b.js → 552e5c413828e181f89a.js} +1 -1
- package/assets/esri/core/workers/chunks/{5210bde0a05ab172ab28.js → 59f955c7d6b0589e7cc6.js} +1 -1
- package/assets/esri/core/workers/chunks/{5fe0bed2a0a9f8eadb28.js → 5a347b1d87eb6f710136.js} +1 -1
- package/assets/esri/core/workers/chunks/5b97cdeb5949822fbef3.js +1 -0
- package/assets/esri/core/workers/chunks/{d9dc3962535616a06e2f.js → 5cd614f50e8925eeeaf4.js} +1 -1
- package/assets/esri/core/workers/chunks/{178c91fabf4a87bbb50b.js → 620d7cd0b0885122aa0f.js} +1 -1
- package/assets/esri/core/workers/chunks/6321680c8070dffa3b6c.js +1 -0
- package/assets/esri/core/workers/chunks/6997b4d5bcc9c4755375.js +1 -0
- package/assets/esri/core/workers/chunks/{b79cceeee3ed46f218a0.js → 69ab42b965bccc3bad4f.js} +1 -1
- package/assets/esri/core/workers/chunks/{bb4c75479cfea67cf8a2.js → 6af14a0217077d9ab47f.js} +1 -1
- package/assets/esri/core/workers/chunks/{672542d0435fbfd0647c.js → 6b3d8280a24f7a3aac40.js} +1 -1
- package/assets/esri/core/workers/chunks/{3d78e9b3c97c0ce21d16.js → 7017c2e621236c7a7da4.js} +1 -1
- package/assets/esri/core/workers/chunks/7407a1e0cef508116a0b.js +1 -0
- package/assets/esri/core/workers/chunks/{da188d0e22ba1639928e.js → 75907e5d009b71ce723b.js} +1 -1
- package/assets/esri/core/workers/chunks/{1ab4289195f5e46c6fe8.js → 78936c591fd49ff955a9.js} +1 -1
- package/assets/esri/core/workers/chunks/{f0b8de5b3cfbe9223df6.js → 796f5265747ce8be910e.js} +1 -1
- package/assets/esri/core/workers/chunks/{ac62411b9b4cf85a4722.js → 7a037fbfd91dd22e3bf0.js} +1 -1
- package/assets/esri/core/workers/chunks/{50661f65a9c191f528bc.js → 7ee7529fcbd0d169047c.js} +1 -1
- package/assets/esri/core/workers/chunks/7f60309d211c49721265.js +1 -0
- package/assets/esri/core/workers/chunks/7f9b0ef7f9b3f3fd3df9.js +1 -0
- package/assets/esri/core/workers/chunks/{82a446e8befe9d29c8f0.js → 822a115c7d718e4e3d2b.js} +1 -1
- package/assets/esri/core/workers/chunks/{6789ddaa61e6d8f20d04.js → 8eea620f770576d18809.js} +1 -1
- package/assets/esri/core/workers/chunks/{10c4f5afe14c0addc418.js → 9332db133a0925d522fe.js} +1 -1
- package/assets/esri/core/workers/chunks/{bc87890d00d6dba979b2.js → 99c9f35a29f9f6c9e4ce.js} +1 -1
- package/assets/esri/core/workers/chunks/{455fbddd814e4681f0c0.js → a5e91cf150f6cf6a5d2a.js} +1 -1
- package/assets/esri/core/workers/chunks/{948ce2c199973f793651.js → a60a84c8c45f6d03443f.js} +1 -1
- package/assets/esri/core/workers/chunks/{eb4a2dc5efdb873a7f25.js → aef2832902b270f1a594.js} +1 -1
- package/assets/esri/core/workers/chunks/{b5fc0a2480a229e8891a.js → b5f291e8ed7f7cac158d.js} +1 -1
- package/assets/esri/core/workers/chunks/bd05e68b00b9878d0266.js +1 -0
- package/assets/esri/core/workers/chunks/{9a43065e51df9c21c9fa.js → bdb4f216ae8881b98604.js} +1 -1
- package/assets/esri/core/workers/chunks/c080e189764d8bb9cf25.js +1 -0
- package/assets/esri/core/workers/chunks/{bf9b2aa2e67ca746ec7c.js → c15f0769a64863cccef0.js} +1 -1
- package/assets/esri/core/workers/chunks/{27c8dea6154eb8c36fed.js → c53048b0f153b251d792.js} +1 -1
- package/assets/esri/core/workers/chunks/c6e0ada6f2ad74fddfec.js +1 -0
- package/assets/esri/core/workers/chunks/cf09408cb7729126caae.js +1 -0
- package/assets/esri/core/workers/chunks/e0565849281ffbe8269e.js +1 -0
- package/assets/esri/core/workers/chunks/e1ba6f857ca12f154e77.js +1 -0
- package/assets/esri/core/workers/chunks/{4ef60a76eeca20bcafb1.js → e4f1e584f89ffb86206b.js} +1 -1
- package/assets/esri/core/workers/chunks/{2889e782ed81bb05b9e5.js → e508f8e707eb3207cfcc.js} +1 -1
- package/assets/esri/core/workers/chunks/{2216264b22a605a0f1ce.js → e60684918100666bb892.js} +1 -1
- package/assets/esri/core/workers/chunks/{4550b7620932cd6de20e.js → e94448b371cd17d7a472.js} +1 -1
- package/assets/esri/core/workers/chunks/{bb8530ade7c40a1ed7c4.js → eb9e913fe0dfcc71cf92.js} +1 -1
- package/assets/esri/core/workers/chunks/ede1d1cc2f315a34f4ca.js +1 -0
- package/assets/esri/core/workers/chunks/{a5bd7e5d71cffde68f89.js → ee89564d11c077169b31.js} +1 -1
- package/assets/esri/core/workers/chunks/f17a301516f008abef3a.js +1 -0
- package/assets/esri/core/workers/chunks/{b3cc7f6d953bfbc3a70d.js → f62e37863a549f72093c.js} +1 -1
- package/assets/esri/core/workers/chunks/fc98b8351be567d3eb62.js +1 -0
- package/assets/esri/core/workers/chunks/fda0f4469d9cda637af4.js +1 -0
- package/assets/esri/core/workers/chunks/{554f389f99db430b309c.js → ff961bb6d29ab3fe129d.js} +1 -1
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/assets/esri/themes/base/widgets/_Attribution.scss +4 -2
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_ar.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_bg.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_bs.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_ca.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_cs.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_da.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_de.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_el.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_es.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_et.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_fi.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_fr.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_he.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_hr.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_hu.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_id.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_it.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_ja.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_ko.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_lt.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_lv.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_nl.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_no.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_pl.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_pt-BR.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_pt-PT.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_ro.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_ru.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_sk.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_sl.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_sr.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_sv.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_th.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_tr.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_uk.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_vi.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_zh-CN.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_zh-HK.json +1 -1
- package/assets/esri/widgets/Directions/t9n/Directions_zh-TW.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_no.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
- package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ar.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bg.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bs.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ca.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_cs.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_da.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_de.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_el.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_es.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_et.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fi.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fr.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_he.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hr.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hu.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_id.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_it.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ja.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ko.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lt.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lv.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_nl.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_no.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pl.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-BR.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-PT.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ro.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ru.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sk.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sl.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sr.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sv.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_th.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_tr.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_uk.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_vi.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-CN.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-HK.json +1 -1
- package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-TW.json +1 -1
- package/chunks/Fog.glsl.js +1 -1
- package/config.js +1 -1
- package/core/has.js +1 -1
- package/core/sql/types.d.ts +398 -86
- package/core/types.d.ts +5 -0
- package/core/workers/workerFactory.js +1 -1
- package/editing/sharedTemplates/executor/builders/radialLines.js +1 -1
- package/editing/sharedTemplates/executor/builders/support/shapeUtils.js +1 -1
- package/effects/FocusAreas.d.ts +1 -1
- package/form/elements/FieldElement.d.ts +1 -1
- package/form/elements/GroupElement.d.ts +1 -1
- package/form/elements/TextElement.d.ts +1 -1
- package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
- package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
- package/form/elements/inputs/SwitchInput.d.ts +1 -1
- package/geometry/Mesh.d.ts +7 -7
- package/geometry/operators/alphaShapeOperator.d.ts +1 -1
- package/geometry/operators/areaOperator.d.ts +1 -1
- package/geometry/operators/bufferOperator.d.ts +1 -1
- package/geometry/operators/centroidOperator.d.ts +1 -1
- package/geometry/operators/clipOperator.d.ts +1 -1
- package/geometry/operators/containsOperator.d.ts +1 -1
- package/geometry/operators/convexHullOperator.d.ts +1 -1
- package/geometry/operators/crossesOperator.d.ts +1 -1
- package/geometry/operators/cutOperator.d.ts +1 -1
- package/geometry/operators/densifyOperator.d.ts +1 -1
- package/geometry/operators/differenceOperator.d.ts +1 -1
- package/geometry/operators/disjointOperator.d.ts +1 -1
- package/geometry/operators/distanceOperator.d.ts +1 -1
- package/geometry/operators/generalizeOperator.d.ts +1 -1
- package/geometry/operators/geodesicProximityOperator.d.ts +1 -1
- package/geometry/operators/geodeticDistanceOperator.d.ts +1 -1
- package/geometry/operators/geodeticUtilsOperator.d.ts +2 -2
- package/geometry/operators/graphicBufferOperator.d.ts +1 -1
- package/geometry/operators/intersectionOperator.d.ts +1 -1
- package/geometry/operators/intersectsOperator.d.ts +1 -1
- package/geometry/operators/isNearOperator.d.ts +1 -1
- package/geometry/operators/lengthOperator.d.ts +1 -1
- package/geometry/operators/locateBetweenOperator.d.ts +1 -1
- package/geometry/operators/multiPartToSinglePartOperator.d.ts +1 -1
- package/geometry/operators/offsetOperator.d.ts +5 -5
- package/geometry/operators/overlapsOperator.d.ts +1 -1
- package/geometry/operators/proximityOperator.d.ts +1 -1
- package/geometry/operators/simplifyOGCOperator.d.ts +1 -1
- package/geometry/operators/simplifyOperator.d.ts +1 -1
- package/geometry/operators/support/Transformation.d.ts +6 -6
- package/geometry/operators/symmetricDifferenceOperator.d.ts +1 -1
- package/geometry/operators/touchesOperator.d.ts +1 -1
- package/geometry/operators/unionOperator.d.ts +1 -1
- package/geometry/operators/withinOperator.d.ts +1 -1
- package/geometry/projectionUtils.js +1 -1
- package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
- package/geometry/support/curves/curveUtils.js +1 -1
- package/kernel.js +1 -1
- package/layers/BuildingSceneLayer.d.ts +4 -4
- package/layers/CSVLayer.d.ts +4 -4
- package/layers/CatalogLayer.d.ts +2 -2
- package/layers/ElevationLayer.d.ts +1 -1
- package/layers/FeatureLayer.d.ts +2 -2
- package/layers/GaussianSplatLayer.d.ts +77 -10
- package/layers/GeoJSONLayer.d.ts +3 -3
- package/layers/GeoRSSLayer.d.ts +1 -1
- package/layers/GraphicsLayer.d.ts +2 -2
- package/layers/ImageryLayer.d.ts +3 -3
- package/layers/ImageryTileLayer.d.ts +2 -2
- package/layers/IntegratedMesh3DTilesLayer.d.ts +6 -6
- package/layers/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/IntegratedMeshLayer.d.ts +7 -7
- package/layers/Layer.d.ts +2 -0
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/MapImageLayer.d.ts +1 -1
- package/layers/MediaLayer.d.ts +1 -1
- package/layers/OGCFeatureLayer.d.ts +2 -2
- package/layers/PointCloudLayer.d.ts +1 -1
- package/layers/SceneLayer.d.ts +9 -9
- package/layers/StreamLayer.d.ts +2 -2
- package/layers/VectorTileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +1 -1
- package/layers/VoxelLayer.d.ts +8 -8
- package/layers/WFSLayer.d.ts +6 -6
- package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/data/SnappingCandidate.js +1 -1
- package/layers/mixins/BlendLayer.d.ts +6 -6
- package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
- package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
- package/layers/support/ControlPointsGeoreference.d.ts +2 -2
- package/layers/support/ControlPointsGeoreference.js +1 -1
- package/layers/support/CornersGeoreference.d.ts +2 -2
- package/layers/support/CornersGeoreference.js +1 -1
- package/layers/support/DimensionalDefinition.d.ts +2 -2
- package/layers/support/ExtentAndRotationGeoreference.d.ts +2 -2
- package/layers/support/ExtentAndRotationGeoreference.js +1 -1
- package/layers/support/FeatureEffect.d.ts +4 -4
- package/layers/support/FeatureFilter.d.ts +17 -17
- package/layers/support/FeatureReductionBinning.d.ts +1 -1
- package/layers/support/FeatureReductionCluster.d.ts +9 -9
- package/layers/support/FeatureReductionSelection.d.ts +1 -1
- package/layers/support/GeoreferenceBaseMixin.js +2 -0
- package/layers/support/LabelClass.d.ts +2 -2
- package/layers/support/RasterFunction.d.ts +1 -1
- package/layers/support/SceneFilter.d.ts +2 -2
- package/layers/support/SceneModification.d.ts +3 -3
- package/layers/support/mediaUtils.js +1 -1
- package/layers/support/relativeTimeQueryUtils.js +1 -1
- package/layers/support/serviceCapabilitiesUtils.js +1 -1
- package/layers/types.d.ts +24 -10
- package/package.json +1 -1
- package/popup/content/AttachmentsContent.d.ts +1 -1
- package/popup/content/BarChartMediaInfo.d.ts +1 -1
- package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
- package/popup/content/FieldsContent.d.ts +1 -1
- package/popup/content/ImageMediaInfo.d.ts +1 -1
- package/popup/content/LineChartMediaInfo.d.ts +1 -1
- package/popup/content/MediaContent.d.ts +1 -1
- package/popup/content/PieChartMediaInfo.d.ts +1 -1
- package/popup/content/RelationshipContent.d.ts +1 -1
- package/popup/content/TextContent.d.ts +1 -1
- package/renderers/ClassBreaksRenderer.d.ts +1 -1
- package/renderers/DictionaryRenderer.d.ts +1 -1
- package/renderers/DotDensityRenderer.d.ts +46 -3
- package/renderers/DotDensityRenderer.js +1 -1
- package/renderers/FlowRenderer.d.ts +6 -6
- package/renderers/HeatmapRenderer.d.ts +3 -3
- package/renderers/PieChartRenderer.d.ts +1 -1
- package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
- package/renderers/Renderer.d.ts +4 -4
- package/renderers/SimpleRenderer.d.ts +2 -2
- package/renderers/UniqueValueRenderer.d.ts +2 -2
- package/renderers/VectorFieldRenderer.d.ts +1 -1
- package/renderers/mixins/VisualVariablesMixin.d.ts +12 -12
- package/renderers/visualVariables/ColorVariable.d.ts +1 -1
- package/renderers/visualVariables/OpacityVariable.d.ts +1 -1
- package/renderers/visualVariables/RotationVariable.d.ts +1 -1
- package/renderers/visualVariables/SizeVariable.d.ts +1 -1
- package/renderers/visualVariables/VisualVariable.d.ts +1 -1
- package/rest/featureService/FeatureService.js +1 -1
- package/rest/print.js +1 -1
- package/rest/query/operations/pbfFlatFeatureSet.js +1 -1
- package/rest/query/support/AttachmentInfo.d.ts +1 -1
- package/rest/support/AutoIntervalBinParameters.d.ts +1 -1
- package/rest/support/DateBinParameters.d.ts +1 -1
- package/rest/support/FixedBoundariesBinParameters.d.ts +1 -1
- package/rest/support/FixedIntervalBinParameters.d.ts +1 -1
- package/smartMapping/labels/clusters.d.ts +1 -1
- package/smartMapping/popup/clusters.d.ts +2 -2
- package/smartMapping/popup/templates.d.ts +1 -1
- package/smartMapping/raster/renderers/flow.d.ts +2 -2
- package/smartMapping/renderers/color.d.ts +12 -12
- package/smartMapping/renderers/predominance.d.ts +3 -3
- package/smartMapping/renderers/relationship.d.ts +15 -15
- package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
- package/smartMapping/symbology/color.d.ts +4 -4
- package/smartMapping/symbology/flow.d.ts +2 -2
- package/smartMapping/symbology/types.d.ts +18 -18
- package/support/actions/ActionButton.d.ts +1 -1
- package/support/revision.js +1 -1
- package/symbols/CIMSymbol.d.ts +1 -1
- package/symbols/ExtrudeSymbol3DLayer.d.ts +21 -11
- package/symbols/FillSymbol3DLayer.d.ts +39 -19
- package/symbols/IconSymbol3DLayer.d.ts +1 -1
- package/symbols/LabelSymbol3D.d.ts +2 -2
- package/symbols/LineStyleMarker3D.d.ts +7 -7
- package/symbols/LineSymbol3D.d.ts +2 -2
- package/symbols/LineSymbol3DLayer.d.ts +7 -7
- package/symbols/LineSymbolMarker.d.ts +6 -6
- package/symbols/MarkerSymbol.d.ts +1 -1
- package/symbols/MeshSymbol3D.d.ts +2 -2
- package/symbols/ObjectSymbol3DLayer.d.ts +29 -7
- package/symbols/PathSymbol3DLayer.d.ts +32 -20
- package/symbols/PictureFillSymbol.d.ts +1 -1
- package/symbols/PictureMarkerSymbol.d.ts +1 -1
- package/symbols/PointSymbol3D.d.ts +3 -3
- package/symbols/PolygonSymbol3D.d.ts +7 -7
- package/symbols/SimpleFillSymbol.d.ts +8 -8
- package/symbols/SimpleLineSymbol.d.ts +20 -20
- package/symbols/SimpleMarkerSymbol.d.ts +7 -7
- package/symbols/Symbol3DLayer.d.ts +16 -16
- package/symbols/TextSymbol.d.ts +1 -1
- package/symbols/TextSymbol3DLayer.d.ts +1 -1
- package/symbols/WaterSymbol3DLayer.d.ts +3 -3
- package/symbols/WebStyleSymbol.d.ts +1 -1
- package/symbols/callouts/Callout3D.d.ts +1 -1
- package/symbols/callouts/LineCallout3D.d.ts +3 -3
- package/symbols/cim/CIMSymbolHelper.js +1 -1
- package/symbols/cim/rasterizingUtils.js +1 -1
- package/symbols/cim/types.d.ts +23 -23
- package/symbols/edges/Edges3D.d.ts +1 -1
- package/symbols/edges/SolidEdges3D.d.ts +1 -1
- package/symbols/patterns/LineStylePattern3D.d.ts +11 -11
- package/symbols/patterns/StylePattern3D.d.ts +8 -8
- package/symbols/support/ElevationInfo.d.ts +4 -4
- package/symbols/support/IconSymbol3DLayerResource.d.ts +6 -6
- package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -7
- package/symbols/support/Symbol3DEmissive.d.ts +19 -6
- package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
- package/time/TimeExtent.d.ts +1 -1
- package/versionManagement/VersionManagementService.d.ts +4 -0
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/interactive/SnappingVisualizer2D.js +1 -1
- package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
- package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
- package/views/2d/layers/features/sources/FeatureSourceQueryInfo.js +1 -1
- package/views/2d/layers/features/sources/strategies/FeaturePagedTileLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/FeatureSnapshotLoadStrategy.js +1 -1
- package/views/2d/layers/features/sources/strategies/chunks/SourceChunkStore.js +1 -1
- package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
- package/views/2d/types.d.ts +3 -3
- package/views/3d/environment/CloudyWeather.d.ts +1 -1
- package/views/3d/environment/Environment.d.ts +4 -4
- package/views/3d/environment/FoggyWeather.d.ts +1 -1
- package/views/3d/environment/RainyWeather.d.ts +1 -1
- package/views/3d/environment/SnowyWeather.d.ts +1 -1
- package/views/3d/environment/SunLighting.d.ts +1 -1
- package/views/3d/environment/SunnyWeather.d.ts +1 -1
- package/views/3d/environment/VirtualLighting.d.ts +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/polygonUtils.js +1 -1
- package/views/3d/layers/support/featureTileQuery3D.js +1 -1
- package/views/3d/webgl/RenderNode.d.ts +2 -2
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
- package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineCalloutMaterialBaseInstance.js +2 -0
- package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/PatternTechniqueConfiguration.js +1 -1
- package/views/3d/webgl.d.ts +1 -1
- package/views/LinkChartView.d.ts +1 -1
- package/views/Magnifier.d.ts +3 -3
- package/views/MapView.d.ts +8 -8
- package/views/SceneView.d.ts +18 -18
- package/views/View.d.ts +2 -2
- package/views/input/types.d.ts +1 -1
- package/views/interactive/keybindings.js +1 -1
- package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
- package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
- package/views/interactive/snapping/SnappingOptions.d.ts +7 -7
- package/views/interactive/snapping/candidates/EdgeSnappingCandidate.js +1 -1
- package/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +1 -1
- package/views/interactive/snapping/featureSources/queryEngineUtils.js +1 -1
- package/views/interactive/snapping/featureSources/snappingCandidateElevationAlignment.js +1 -1
- package/views/interactive/snapping/featureSources/snappingCandidateElevationFilter.js +1 -1
- package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/layers/support/WhereClauseVisitor.js +1 -1
- package/views/support/HighlightOptions.d.ts +1 -1
- package/views/ui/DefaultUI.d.ts +2 -2
- package/views/webgl/BufferObject.js +1 -1
- package/views/webgl/RenderingContext.js +1 -1
- package/webscene/Environment.d.ts +16 -11
- package/webscene/Glow.d.ts +9 -2
- package/webscene/background/ColorBackground.d.ts +1 -1
- package/widgets/AreaMeasurement2D.d.ts +1 -1
- package/widgets/AreaMeasurement3D.d.ts +2 -2
- package/widgets/Attachments.d.ts +1 -1
- package/widgets/Attribution.d.ts +1 -1
- package/widgets/BasemapGallery.d.ts +1 -1
- package/widgets/BasemapLayerList.d.ts +3 -3
- package/widgets/BasemapToggle.d.ts +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +1 -2
- package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
- package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +0 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +1 -1
- package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
- package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +2 -11
- package/widgets/BatchAttributeForm/inputs/TextElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/textElementInputUtils.js +2 -0
- package/widgets/BatchAttributeForm/templates/TextElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/constants.js +2 -0
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/textElementTemplateUtils.js +2 -0
- package/widgets/BatchAttributeForm.d.ts +0 -2
- package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +1 -1
- package/widgets/Bookmarks.d.ts +2 -2
- package/widgets/BuildingExplorer.d.ts +1 -1
- package/widgets/CatalogLayerList.d.ts +3 -3
- package/widgets/Compass.d.ts +2 -2
- package/widgets/CoordinateConversion.d.ts +1 -1
- package/widgets/Daylight.d.ts +5 -5
- package/widgets/DirectLineMeasurement3D.d.ts +2 -2
- package/widgets/Directions.d.ts +4 -4
- package/widgets/DistanceMeasurement2D.d.ts +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
- package/widgets/Editor/EditorViewModel.js +1 -1
- package/widgets/Editor/components/Settings.js +1 -1
- package/widgets/Editor.d.ts +8 -8
- package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
- package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
- package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
- package/widgets/ElevationProfile.d.ts +3 -3
- package/widgets/Expand.d.ts +1 -1
- package/widgets/FeatureForm.d.ts +1 -1
- package/widgets/FeatureTable/ActionColumn.d.ts +2 -2
- package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -3
- package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
- package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
- package/widgets/FeatureTable/VisibleElements.d.ts +1 -1
- package/widgets/FeatureTable.d.ts +10 -10
- package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +5 -5
- package/widgets/FeatureTemplates.d.ts +8 -8
- package/widgets/Features/FeaturesViewModel.d.ts +2 -2
- package/widgets/Features/FeaturesViewModel.js +1 -1
- package/widgets/Features/FeaturesVisibleElements.d.ts +2 -2
- package/widgets/Features.d.ts +1 -1
- package/widgets/Histogram.d.ts +2 -2
- package/widgets/HistogramRangeSlider.d.ts +1 -1
- package/widgets/Home.d.ts +1 -1
- package/widgets/LayerList/ListItemPanel.d.ts +1 -1
- package/widgets/LayerList.d.ts +4 -4
- package/widgets/Legend.d.ts +8 -8
- package/widgets/LineOfSight.d.ts +1 -1
- package/widgets/Locate.d.ts +2 -2
- package/widgets/Measurement.d.ts +1 -1
- package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
- package/widgets/NavigationToggle.d.ts +3 -3
- package/widgets/Popup/PopupVisibleElements.d.ts +2 -2
- package/widgets/Popup.d.ts +5 -5
- package/widgets/Print/CustomTemplate.d.ts +1 -1
- package/widgets/Print/PrintViewModel.js +1 -1
- package/widgets/Print/TemplateOptions.d.ts +4 -4
- package/widgets/ScaleRangeSlider.d.ts +1 -1
- package/widgets/Search/SearchViewModel.d.ts +4 -4
- package/widgets/Search.d.ts +5 -5
- package/widgets/ShadowCast.d.ts +3 -3
- package/widgets/Sketch/SketchViewModel.d.ts +39 -39
- package/widgets/Sketch.d.ts +43 -43
- package/widgets/Sketch.js +1 -1
- package/widgets/Slice.d.ts +2 -2
- package/widgets/Slider/SliderViewModel.d.ts +2 -2
- package/widgets/Slider.d.ts +9 -9
- package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
- package/widgets/Swipe.d.ts +2 -2
- package/widgets/TableList/ListItemPanel.d.ts +1 -1
- package/widgets/TableList.d.ts +1 -1
- package/widgets/TimeSlider/TimeSliderViewModel.d.ts +9 -11
- package/widgets/TimeSlider/types.d.ts +1 -1
- package/widgets/TimeSlider.d.ts +12 -14
- package/widgets/Track.d.ts +2 -2
- package/widgets/UtilityNetworkAssociations.d.ts +3 -3
- package/widgets/UtilityNetworkTrace.d.ts +4 -4
- package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
- package/widgets/ValuePicker.d.ts +5 -5
- package/widgets/VideoPlayer.d.ts +1 -1
- package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
- package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
- package/widgets/smartMapping/ColorSizeSlider.d.ts +2 -2
- package/widgets/smartMapping/ColorSlider.d.ts +1 -1
- package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
- package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
- package/widgets/smartMapping/SizeSlider.d.ts +1 -1
- package/widgets/smartMapping/SmartMappingSliderBase.d.ts +4 -4
- package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +6 -6
- package/widgets/support/GridControls.d.ts +1 -1
- package/widgets/support/SketchTooltipControls.js +1 -1
- package/widgets/support/SnappingControls/VisibleElements.d.ts +1 -1
- package/widgets/support/SnappingControls.d.ts +6 -6
- package/assets/esri/core/workers/chunks/008887a8014b61f837ae.js +0 -1
- package/assets/esri/core/workers/chunks/0c8a676599821b9871c2.js +0 -1
- package/assets/esri/core/workers/chunks/2b7615cccbaeda1649f3.js +0 -1
- package/assets/esri/core/workers/chunks/2f0ea91afc9aa8ee9cad.js +0 -1
- package/assets/esri/core/workers/chunks/3a850b5e847b6b0ea53f.js +0 -1
- package/assets/esri/core/workers/chunks/449cf6ae6b6e6c2795e5.js +0 -1
- package/assets/esri/core/workers/chunks/529dbf16ffbbd39f3fa2.js +0 -1
- package/assets/esri/core/workers/chunks/58cf3d35771b87bd74e5.js +0 -1
- package/assets/esri/core/workers/chunks/652bb1b53782cdd3103c.js +0 -1
- package/assets/esri/core/workers/chunks/6acab23acf3b044f5215.js +0 -1
- package/assets/esri/core/workers/chunks/6c2a7bac3f8e32c83292.js +0 -1
- package/assets/esri/core/workers/chunks/6d26e5368e8952003669.js +0 -1
- package/assets/esri/core/workers/chunks/7c01e5eaab97a9ae80ad.js +0 -1
- package/assets/esri/core/workers/chunks/7cb6ccee9bcef449caea.js +0 -1
- package/assets/esri/core/workers/chunks/8235b8267489e1213ce8.js +0 -1
- package/assets/esri/core/workers/chunks/879e8439a513cb333b61.js +0 -1
- package/assets/esri/core/workers/chunks/956237a2baa30760c256.js +0 -1
- package/assets/esri/core/workers/chunks/a027da22acdaa6d6baa3.js +0 -1
- package/assets/esri/core/workers/chunks/b60337c471e2b855d02a.js +0 -1
- package/assets/esri/core/workers/chunks/bd1bbf1820e12d7a27f6.js +0 -1
- package/assets/esri/core/workers/chunks/c546c49960eace69d20a.js +0 -1
- package/assets/esri/core/workers/chunks/c9067667290e93407dd7.js +0 -1
- package/assets/esri/core/workers/chunks/e4eb14952b7660feecc7.js +0 -1
- package/assets/esri/core/workers/chunks/e71d08c6f545c2c70174.js +0 -1
- package/assets/esri/core/workers/chunks/f347dee99faa9ee5eef1.js +0 -1
- package/layers/support/GeoreferenceBase.d.ts +0 -4
- package/layers/support/GeoreferenceBase.js +0 -2
- package/widgets/BatchAttributeForm/inputs/support/textInputElementUtils.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9641],{159(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),s=n(69622),o=n(91429),l=n(99157);let a=r=class extends s.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,o.MZ)({type:[l.A],nonNullable:!0})],a.prototype,"steps",void 0),a=r=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},4197(e,t,n){n.d(t,{Vj:()=>u,cj:()=>a,jh:()=>s,l5:()=>l,xm:()=>o});var r=n(34275),i=n(9093);function s(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function l(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,vt:()=>r,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:r,fromValues:function(e,t,n,r,i,s,o,l,a,u,c,p,f,h,g,y){return[e,t,n,r,i,s,o,l,a,u,c,p,f,h,g,y]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(49208);function i(e,t,n,i,s,o,l=Math.floor(e.length/3)){const a=(0,r.jd)(t,s);if(null==a)return!1;if(a===r.pO){if(e===i&&n===o)return!0;const t=n+3*l;for(let r=n,s=o;r<t;r++,s++)i[s]=e[r]??0;return!0}const u=n+3*l;for(let t=n,r=o;t<u;t+=3,r+=3)a(e,t,i,r);return!0}},13069(e,t,n){n.d(t,{AG:()=>l,lk:()=>i,vD:()=>o,yS:()=>s});const r="randomUUID"in crypto;function i(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${i().toUpperCase()}}`}function o(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},17136(e,t,n){n.d(t,{Y_:()=>_,O7:()=>R,el:()=>T});var r=n(92602),i=n(69052),s=n(49186),o=n(53966),l=n(39829),a=n(82799),u=n(16930),c=n(80754),p=n(21325),f=n(28735),h=n(11254),g=n(60408),y=n(65864),d=n(2272),m=n(84952),M=n(92300);const v=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function b(e){return"polygon"===e[0].type}function w(e){return"polyline"===e[0].type}function A(e,t,n){if(t){const t=function(e,t){if(!(e instanceof a.A||e instanceof l.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw v().error(e),new s.A("internal:geometry",e)}const n=(0,c.r8)(e),r=[];for(const e of n){const n=[];r.push(n),n.push([e[0][0],e[0][1]]);for(let r=0;r<e.length-1;r++){const i=e[r][0],s=e[r][1],o=e[r+1][0],l=e[r+1][1],a=Math.sqrt((o-i)*(o-i)+(l-s)*(l-s)),u=(l-s)/a,c=(o-i)/a,p=a/t;if(p>1){for(let e=1;e<=p-1;e++){const r=e*t,o=c*r+i,l=u*r+s;n.push([o,l])}const e=(a+Math.floor(p-1)*t)/2,r=c*e+i,o=u*e+s;n.push([r,o])}n.push([o,l])}}return function(e){return"polygon"===e.type}(e)?new l.A({rings:r,spatialReference:e.spatialReference}):new a.A({paths:r,spatialReference:e.spatialReference})}(e,1e6);e=(0,f.ci)(t,!0)}return n&&(e=(0,c.kS)(e,n)),e}function x(e,t,n){if(Array.isArray(e)){const r=e[0];if(r>t){const n=(0,c.kd)(r,t);e[0]=r+n*(-2*t)}else if(r<n){const t=(0,c.kd)(r,n);e[0]=r+t*(-2*n)}}else{const r=e.x;if(r>t){const n=(0,c.kd)(r,t);e=e.clone().offset(n*(-2*t),0)}else if(r<n){const t=(0,c.kd)(r,n);e=e.clone().offset(t*(-2*n),0)}}return e}function S(e,t){let n=-1;for(let r=0;r<t.cutIndexes.length;r++){const i=t.cutIndexes[r],s=t.geometries[r],o=(0,c.r8)(s);for(let e=0;e<o.length;e++){const t=o[e];t.some(n=>{if(n[0]<180)return!0;{let n=0;for(let e=0;e<t.length;e++){const r=t[e][0];n=r>n?r:n}n=Number(n.toFixed(9));const r=-360*(0,c.kd)(n,180);for(let n=0;n<t.length;n++){const t=s.getPoint(e,n);s.setPoint(e,n,t.clone().offset(r,0))}return!0}})}if(i===n){if(b(e))for(const t of(0,c.r8)(s))e[i]=e[i].addRing(t);else if(w(e))for(const t of(0,c.r8)(s))e[i]=e[i].addPath(t)}else n=i,e[i]=s}return e}async function T(e,t,n){if(!Array.isArray(e))return T([e],t);t&&"string"!=typeof t&&v().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const i="string"==typeof t?t:t?.url??r.A.geometryServiceUrl;let s,o,u,b,w,R,I,_,C=0;const j=[],O=[];for(const t of e)if(null!=t)if(s||(s=t.spatialReference,o=(0,p.Vp)(s),u=s.isWebMercator,R=u?102100:4326,b=c.j7[R].maxX,w=c.j7[R].minX,I=c.j7[R].plus180Line,_=c.j7[R].minus180Line),o)if("mesh"===t.type)O.push(t);else if("point"===t.type)O.push(x(t.clone(),b,w));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>x(e,b,w)),O.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,o);O.push(e.rings?new l.A(e):e)}else if(t.extent){const e=t.extent,n=(0,c.kd)(e.xmin,w)*(2*b);let r=0===n?t.clone():(0,c.kS)(t.clone(),n);e.offset(n,0);let{xmin:i,xmax:s}=e;i=Number(i.toFixed(9)),s=Number(s.toFixed(9)),e.intersects(I)&&s!==b?(C=s>C?s:C,r=A(r,u),j.push(r),O.push("cut")):e.intersects(_)&&i!==w?(C=s*(2*b)>C?s*(2*b):C,r=A(r,u,360),j.push(r),O.push("cut")):O.push(r)}else O.push(t.clone());else O.push(t);else O.push(t);let P=(0,c.kd)(C,b),N=-90;const Z=P,L=new a.A;for(;P>0;){const e=360*P-180;L.addPath([[e,N],[e,-1*N]]),N*=-1,P--}if(j.length>0&&Z>0){const t=S(j,await async function(e,t,n,r){const i=(0,d.Dl)(e),s=t[0].spatialReference,o={...r,responseType:"json",query:{...i.query,f:"json",sr:(0,p.YX)(s),target:JSON.stringify({geometryType:(0,g.$B)(t[0]),geometries:t}),cutter:JSON.stringify(n)}},l=await(0,h.A)(i.path+"/cut",o),{cutIndexes:a,geometries:u=[]}=l.data;return{cutIndexes:a,geometries:u.map(e=>{const t=(0,y.rS)(e);return t.spatialReference=s,t})}}(i,j,L,n)),r=[],s=[];for(let n=0;n<O.length;n++){const i=O[n];if("cut"!==i)s.push(i);else{const i=t.shift(),o=e[n];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&i.rings.length>=o.rings.length?(r.push(i),s.push("simplify")):s.push(u?(0,f.Gh)(i):i)}}if(!r.length)return s;const o=await async function(e,t,n){const r="string"==typeof e?(0,m.An)(e):e,i=t[0].spatialReference,s=(0,g.$B)(t[0]),o={...n,query:{...r.query,f:"json",sr:(0,p.YX)(i),geometries:JSON.stringify((0,M.X)(t))}},{data:l}=await(0,h.A)(r.path+"/simplify",o);return(0,M.V)(l.geometries,s,i)}(i,r,n),l=[];for(let e=0;e<s.length;e++){const t=s[e];"simplify"!==t?l.push(t):l.push(u?(0,f.Gh)(o.shift()):o.shift())}return l}const k=[];for(let e=0;e<O.length;e++){const t=O[e];if("cut"!==t)k.push(t);else{const e=j.shift();k.push(!0===u?(0,f.Gh)(e):e)}}return k}function R(e,t,n){const r=(0,p.Vp)(n);if(null==r)return e;const[i,s]=r.valid,o=2*s;let l=0,a=0;t>s?l=Math.ceil(Math.abs(t-s)/o):t<i&&(l=-Math.ceil(Math.abs(t-i)/o)),e>s?a=Math.ceil(Math.abs(e-s)/o):e<i&&(a=-Math.ceil(Math.abs(e-i)/o));let u=e+(l-a)*o;const c=u-t;return c>s?u-=o:c<i&&(u+=o),u}function I(e){const t=(0,p.Vp)(e);if(null==t)return null;const[n,r]=t.valid;return new i.hr(n,r)}const _=I(u.A.WGS84);I(u.A.WebMercator)},22671(e,t,n){n.d(t,{A:()=>M});var r,i=n(5482),s=n(52106),o=n(66552),l=n(25482),a=n(4718),u=n(91429),c=n(16930),p=n(60408),f=n(65864),h=n(50498),g=n(20437),y=n(36005),d=n(43937);const m=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let M=r=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,n,r){if(e)return void m.write(e,t,n,r);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void m.write(e.geometry.type,t,n,r)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,r=(0,f.rS)(e);return r&&!n&&t.spatialReference&&(r.spatialReference=c.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const r=t.features[n];if(r.geometry){const t=e?.[n];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,n],translate:[r,i]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-r)/t),e=>Math.round((i-e)/n));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:n}=this;if(!n)return this;const{translate:[r,i],scale:[s,o]}=n;let l=null,a=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;l=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;a=n=>null==n?n:n*t+e}const u=this._getHydrationFunction(e,e=>e*s+r,e=>i-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,n){const r=c.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const s=e[t],o=n.fromJSON(s),l=s.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=r);const a=s.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],n=a[e],i=n?.spatialReference;null==t||i||(t.spatialReference=r)}i.push(o)}return i}_quantizePoints(e,t,n){let r,i;const s=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=n(l[1]);e===r&&o===i||(s.push([e-r,o-i]),r=e,i=o)}else r=t(l[0]),i=n(l[1]),s.push([r,i])}return s.length>0?s:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,p.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,s=r.length;e<s;e++){const s=r[e],o=this._quantizePoints(s,t,n);o&&i.push(o)}return i.length>0?((0,p.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,n);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,r,i){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,p.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];for(let e=0,i=r.length;e<i;e++){const i=r[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=n(l)}}if(r&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2]),n[3]=i(n[3])}}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=i(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];e>0?(o+=r[0],l+=r[1]):(o=r[0],l=r[1]),r[0]=t(o),r[1]=n(l)}if(r&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2]),t[3]=i(t[3])}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],M.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],M.prototype,"features",void 0),(0,i.Cg)([(0,y.w)("features")],M.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[g.A],json:{write:!0}})],M.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],M.prototype,"geometryType",void 0),(0,i.Cg)([(0,d.K)("geometryType")],M.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:h.yR,json:{write:!0}})],M.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,y.w)("queryGeometry")],M.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],M.prototype,"spatialReference",void 0),(0,i.Cg)([(0,d.K)("spatialReference")],M.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],M.prototype,"transform",void 0),M=r=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],M),M.prototype.toJSON.isDefaultToJSON=!0},34403(e,t,n){n.d(t,{TP:()=>o});var r=n(79258);Math.PI;const i=r.$O.radius,s=r.$O.eccentricitySquared,o={a1:i*s,a2:i*s*i*s,a3:i*s*s/2,a4:i*s*i*s*2.5,a5:i*s+i*s*s/2,a6:1-s};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},49208(e,t,n){n.d(t,{Tp:()=>p,jd:()=>c,pO:()=>h,w5:()=>u});var r=n(34727),i=n(86211),s=n(73941),o=n(79258),l=n(34403),a=n(21325);const u={2:{5:h,7:null,9:null,10:h,1:w,6:null,8:null,0:null,3:y,11:d,2:h,4:R},5:{5:h,7:null,9:null,10:h,1:w,6:null,8:null,0:null,3:y,11:d,2:h,4:R},7:{5:null,7:h,9:null,10:h,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(e,t,n,r){const i=e[t]/P,s=O-2*Math.atan(Math.exp(-e[t+1]/P)),o=P+(e[t+2]??0),l=Math.cos(s)*o;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(s)*o},6:null,8:null,0:null,3:h,11:function(e,t,n,r){g(e,t,n,r),d(n,r,n,r)},2:g,4:function(e,t,n,r){g(e,t,n,r),R(n,r,n,r)}},4:{5:I,7:null,9:null,10:I,1:function(e,t,n,r){I(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){I(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){I(e,t,n,r),d(n,r,n,r)},2:I,4:h},1:{5:T,7:null,9:null,10:T,1:h,6:null,8:null,0:null,3:function(e,t,n,r){T(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){T(e,t,n,r),d(n,r,n,r)},2:T,4:function(e,t,n,r){T(e,t,n,r),R(n,r,n,r)}},6:{5:null,7:S,9:null,10:S,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:x,10:x,1:null,6:null,8:h,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:w,6:b,8:v,0:null,3:y,11:d,2:h,4:R},11:{5:m,7:null,9:null,10:m,1:function(e,t,n,r){m(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){m(e,t,n,r),y(n,r,n,r)},11:h,2:m,4:function(e,t,n,r){m(e,t,n,r),R(n,r,n,r)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(_.source.spatialReference===e&&_.dest.spatialReference===t)return _;const n=f(e,_.source),r=f(t,_.dest);return 0===n&&0===r?(0,a.aI)(e,t)?_.projector=h:_.projector=null:_.projector=u[n][r],_}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function g(e,t,n,r){n[r]=j*(e[t]/P),n[r+1]=j*(O-2*Math.atan(Math.exp(-e[t+1]/P))),n[r+2]=e[t+2]??0}function y(e,t,n,i){!function(e,t,n,i,s){const o=.4999999*Math.PI,l=(0,r.qE)(C*e[t+1],-o,o),a=Math.sin(l);n[i++]=C*e[t]*s.radius,n[i++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[i]=e[t+2]??0}(e,t,n,i,o.$O)}function d(e,t,n,r){n[r]=e[t]*N,n[r+1]=e[t+1]*N,n[r+2]=e[t+2]??0}function m(e,t,n,r){n[r]=e[t]*Z,n[r+1]=e[t+1]*Z,n[r+2]=e[t+2]??0}function M(e,t,n,r,i){const s=i+(e[t+2]??0),o=C*e[t],l=C*e[t+1],a=Math.cos(l)*s;n[r]=Math.cos(o)*a,n[r+1]=Math.sin(o)*a,n[r+2]=Math.sin(l)*s}function v(e,t,n,r){M(e,t,n,r,o.Sw.radius)}function b(e,t,n,r){M(e,t,n,r,o.sH.radius)}function w(e,t,n,r){M(e,t,n,r,o.$O.radius)}function A(e,t,n,i,s){const o=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(o*o+l*l+a*a),c=(0,r.YN)(a/(0===u?1:u)),p=Math.atan2(l,o);n[i++]=j*p,n[i++]=j*c,n[i]=u-s}function x(e,t,n,r){A(e,t,n,r,o.Sw.radius)}function S(e,t,n,r){A(e,t,n,r,o.sH.radius)}function T(e,t,n,r){A(e,t,n,r,o.$O.radius)}function R(e,t,n,r){!function(e,t,n,r,i){const s=C*e[t],o=C*e[t+1],l=e[t+2]??0,a=Math.sin(o),u=Math.cos(o),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);n[r++]=(c+l)*u*Math.cos(s),n[r++]=(c+l)*u*Math.sin(s),n[r++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,n,r,o.$O)}function I(e,t,n,r){const i=l.TP,s=e[t],a=e[t+1],u=e[t+2]??0;let c,p,f,h,g,y,d,m,M,v,b,w,A,x,S,T,R,I,_,C,O;c=Math.abs(u),p=s*s+a*a,f=Math.sqrt(p),h=p+u*u,g=Math.sqrt(h),C=Math.atan2(a,s),y=u*u/h,d=p/h,x=i.a2/g,S=i.a3-i.a4/g,d>.3?(m=c/g*(1+d*(i.a1+x+y*S)/g),_=Math.asin(m),v=m*m,M=Math.sqrt(1-v)):(M=f/g*(1-y*(i.a5-x-d*S)/g),_=Math.acos(M),v=1-M*M,m=Math.sqrt(v)),b=1-o.$O.eccentricitySquared*v,w=o.$O.radius/Math.sqrt(b),A=i.a6*w,x=f-w*M,S=c-A*m,R=M*x+m*S,T=M*S-m*x,I=T/(A/b+R),_+=I,O=R+T*I/2,u<0&&(_=-_),n[r++]=j*C,n[r++]=j*_,n[r]=O}const _={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},C=(0,r.kU)(1),j=(0,r.KJ)(1),O=.5*Math.PI,P=o.$O.radius,N=P*Math.PI/180,Z=180/(P*Math.PI)},52106(e,t,n){n.d(t,{A:()=>x});var r,i,s=n(5482),o=n(37838),l=n(69540),a=n(51447),u=n(25482),c=n(53966),p=n(36708),f=n(24326),h=n(91429),g=n(12195),y=n(65864),d=n(50498),m=n(55156),M=n(60950),v=n(54339),b=n(94128),w=n(33910);function A(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let x=class extends((0,l.OU)(u.o)){static{r=b.Z}static{i=this}constructor(e){super(e),this[r]=!0,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,f.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,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;const t=(0,M.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,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){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,m.I)(this.origin);if(e)return(0,v.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){const e=(0,m.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:A(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,g.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.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,p.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&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",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,s.Cg)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,y.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],x.prototype,"aggregateGeometries",null),(0,s.Cg)([(0,h.MZ)({value:null})],x.prototype,"attributes",null),(0,s.Cg)([(0,h.MZ)({value:null,types:d.yR,json:{read:y.rS}})],x.prototype,"geometry",null),(0,s.Cg)([(0,h.MZ)({type:Boolean})],x.prototype,"isAggregate",void 0),(0,s.Cg)([(0,h.MZ)({clonable:!1})],x.prototype,"layer",void 0),(0,s.Cg)([(0,h.MZ)({clonable:"reference"})],x.prototype,"origin",void 0),(0,s.Cg)([(0,h.MZ)({type:o.A,value:null})],x.prototype,"popupTemplate",null),(0,s.Cg)([(0,h.MZ)({clonable:"reference"})],x.prototype,"sourceLayer",void 0),(0,s.Cg)([(0,h.MZ)({value:null,types:w.Es})],x.prototype,"symbol",null),(0,s.Cg)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],x.prototype,"_version",void 0),(0,s.Cg)([(0,h.MZ)({type:Boolean,value:!0})],x.prototype,"visible",null),x=i=(0,s.Cg)([(0,h.$K)("esri.Graphic")],x)},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},55156(e,t,n){n.d(t,{I:()=>i,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}},69052(e,t,n){n.d(t,{hr:()=>i,ie:()=>a,uC:()=>l});var r=n(34727);class i{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,n=!1){return s(this.range,this.min,this.max,e,t,n)}clamp(e,t=0){return(0,r.qE)(e-t,this.min,this.max)+t}monotonic(e,t,n){return e<t?t:t+o(this.range,e-t,n)}minimalMonotonic(e,t,n){return s(this.range,e,e+this.range,t,n)}center(e,t,n){return t=this.monotonic(e,t,n),this.normalize((e+t)/2,n)}diff(e,t,n){return this.monotonic(e,t,n)-e}shortestSignedDiff(e,t){e=this.normalize(e);const n=(t=this.normalize(t))-e,r=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(n)<Math.abs(r)?n:r}contains(e,t,n){return t=this.minimalMonotonic(e,t),(n=this.minimalMonotonic(e,n))>e&&n<t}}function s(e,t,n,r,i=0,s=!1){return(r-=i)<t?r+=o(e,t-r):r>n&&(r-=o(e,r-n)),s&&r===n&&(r=t),r+i}function o(e,t,n=0){return Math.ceil((t-n)/e)*e+n}const l=new i(0,2*Math.PI),a=(new i(-Math.PI,Math.PI),new i(0,360))},70328(e,t,n){n.d(t,{BI:()=>v,DC:()=>p,Ej:()=>h,Ie:()=>m,Jt:()=>M,Ne:()=>g,RF:()=>c,aI:()=>w,fA:()=>o,gE:()=>a,hZ:()=>d,iT:()=>f,is:()=>b,qv:()=>A,vI:()=>y,vY:()=>l,v_:()=>x,vt:()=>s,w1:()=>u});var r=n(5443),i=(n(19419),n(4197));function s(e=x){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,n,r,i,o,l=s()){return l[0]=e,l[1]=t,l[2]=n,l[3]=r,l[4]=i,l[5]=o,l}function l(e,t=s()){return function(e,t,n,r=s()){return d(r,A),function(e,t,n=0,r=t.length/3){let i=e[0],s=e[1],o=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),s=Math.min(s,t[n+3*e+1]),o=Math.min(o,t[n+3*e+2]),l=Math.max(l,t[n+3*e]),a=Math.max(a,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=l,e[4]=a,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[n,r,s,o,l,a]=e;return t[0]=n,t[1]=r,t[2]=s,t[3]=n,t[4]=r,t[5]=a,t[6]=n,t[7]=l,t[8]=s,t[9]=n,t[10]=l,t[11]=a,t[12]=o,t[13]=r,t[14]=s,t[15]=o,t[16]=r,t[17]=a,t[18]=o,t[19]=l,t[20]=s,t[21]=o,t[22]=l,t[23]=a,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function f(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function h(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function g(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function y(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function d(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function m(e){return e?d(e,A):s(A)}function M(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function v(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function w(e,t,n){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const A=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];s()},71756(e,t,n){n.r(t),n.d(t,{default:()=>L});var r,i=n(5482),s=n(11254),o=n(49186),l=n(81583),a=n(25728),u=n(74887),c=n(84952),p=n(91429),f=n(16930),h=n(4146),g=n(52136),y=n(89186),d=n(98534),m=n(18768),M=n(63074),v=n(69208),b=n(16131),w=n(8303),A=n(54310),x=n(25036),S=n(91921),T=n(60694),R=n(10873),I=n(33446),_=n(15775),C=n(88625),j=n(36005),O=n(43937);const P=["Canvas/World_Dark_Gray_Base","Canvas/World_Dark_Gray_Reference","Canvas/World_Light_Gray_Base","Canvas/World_Light_Gray_Reference","Elevation/World_Hillshade","Elevation/World_Hillshade_Dark","Ocean/World_Ocean_Base","Ocean/World_Ocean_Reference","Ocean_Basemap","Reference/World_Boundaries_and_Places","Reference/World_Boundaries_and_Places_Alternate","Reference/World_Transportation","World_Imagery","World_Street_Map","World_Topo_Map"];let N=r=class extends((0,M.dM)((0,x.j)((0,S.I)((0,y.f)((0,d.V)((0,b.q)((0,w.A)((0,m.b)((0,a.M)((0,A.J)((0,g.p)((0,v.d)(h.A))))))))))))){constructor(...e){super(...e),this.listMode="show",this.elevationInfo=new C.A({mode:"on-the-ground"}),this.isReference=null,this.operationalLayerType="ArcGISTiledMapServiceLayer",this.resampling=!0,this.sourceJSON=null,this.spatialReference=null,this.path=null,this.sublayers=null,this.type="tile",this.url=null}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Map Service"]},e).catch(u.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}get attributionDataUrl(){const e=this.parsedUrl?.path.toLowerCase();return e?this._getDefaultAttribution(this._getMapName(e)):null}get hasAttributionData(){return super.hasAttributionData}readSpatialReference(e,t){return(e=e||t.tileInfo?.spatialReference)&&f.A.fromJSON(e)}writeSublayers(e,t,n,r){if(!this.loaded||!e)return;const i=e.slice().reverse().flatten(({sublayers:e})=>e&&e.toArray().reverse()).toArray(),s=[],o={writeSublayerStructure:!1,...r};i.forEach(e=>{const t=e.write({},o);s.push(t)}),s.some(e=>Object.keys(e).length>1)&&(t.layers=s)}get tileServers(){return this._getDefaultTileServers(this.parsedUrl?.path)}castTileServers(e){return Array.isArray(e)?e.map(e=>(0,c.An)(e).path):null}fetchTile(e,t,n,r={}){const{signal:i}=r,o=this.getTileUrl(e,t,n),l={responseType:"image",signal:i,query:{...this.refreshParameters}};return(0,s.A)(o,l).then(e=>e.data)}async fetchImageBitmapTile(e,t,n,i={}){const{signal:o}=i;if(this.fetchTile!==r.prototype.fetchTile){const r=await this.fetchTile(e,t,n,i);return(0,I.C)(r,e,t,n,o)}const l=this.getTileUrl(e,t,n),a={responseType:"blob",signal:o,query:{...this.refreshParameters}},{data:u}=await(0,s.A)(l,a);return(0,I.C)(u,e,t,n,o)}getTileUrl(e,t,n){const r=!this.capabilities.operations.supportsTileMap&&this.supportsBlankTile,i=(0,c.x0)({...this.parsedUrl?.query,blankTile:!r&&null,...this.customParameters,token:this.apiKey}),s=this.tileServers;return`${s&&s.length?s[t%s.length]:this.parsedUrl?.path}/tile/${e}/${t}/${n}${i?"?"+i:""}`}loadAll(){return(0,l.g)(this,e=>{e(this.allSublayers)})}_fetchService(e){return new Promise((t,n)=>{if(this.sourceJSON){if(null!=this.sourceJSON.bandCount&&null!=this.sourceJSON.pixelSizeX)throw new o.A("tile-layer:unsupported-url","use ImageryTileLayer to open a tiled image service");return void t({data:this.sourceJSON})}if(!this.parsedUrl)throw new o.A("tile-layer:undefined-url","layer's url is not defined");const r=(0,T.qg)(this.parsedUrl.path);if(null!=r&&"ImageServer"===r.serverType)throw new o.A("tile-layer:unsupported-url","use ImageryTileLayer to open a tiled image service");(0,s.A)(this.parsedUrl.path,{query:{f:"json",...this.parsedUrl.query,...this.customParameters,token:this.apiKey},responseType:"json",signal:e}).then(t,n)}).then(t=>{let n=this.url;if(t.ssl&&(n=this.url=n.replace(/^http:/i,"https:")),this.sourceJSON=t.data,this.read(t.data,{origin:"service",url:this.parsedUrl}),10.1===this.version&&!(0,T.Wo)(n))return this._fetchServerVersion(n,e).then(e=>{this.read({currentVersion:e})}).catch(()=>{})})}_fetchServerVersion(e,t){if(!(0,T.Fi)(e))return Promise.reject();const n=e.replace(/(.*\/rest)\/.*/i,"$1")+"/info";return(0,s.A)(n,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:t}).then(e=>{if(e.data?.currentVersion)return e.data.currentVersion;throw new o.A("tile-layer:version-not-available","Server did not provide a version")})}_getMapName(e){const t=e.match(/^(?:https?:)?\/\/(server\.arcgisonline\.com|services\.arcgisonline\.com|ibasemaps-api\.arcgis\.com)\/arcgis\/rest\/services\/([^/]+(\/[^/]+)*)\/mapserver/i);return t?t[2]:void 0}_getDefaultAttribution(e){if(null==e)return null;let t;e=e.toLowerCase();for(let n=0,r=P.length;n<r;n++)if(t=P[n],t.toLowerCase().includes(e))return(0,c.s2)("//static.arcgis.com/attribution/"+t);return null}_getDefaultTileServers(e){if(null==e)return[];const t=-1!==e.search(/^(?:https?:)?\/\/server\.arcgisonline\.com/i),n=-1!==e.search(/^(?:https?:)?\/\/services\.arcgisonline\.com/i);return t||n?[e,e.replace(t?/server\.arcgisonline/i:/services\.arcgisonline/i,t?"services.arcgisonline":"server.arcgisonline")]:[]}get hasOverriddenFetchTile(){return!this.fetchTile[Z]}};(0,i.Cg)([(0,p.MZ)({readOnly:!0})],N.prototype,"attributionDataUrl",null),(0,i.Cg)([(0,p.MZ)({type:["show","hide","hide-children"]})],N.prototype,"listMode",void 0),(0,i.Cg)([(0,p.MZ)({json:{read:!0,write:!0}})],N.prototype,"blendMode",void 0),(0,i.Cg)([(0,p.MZ)()],N.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],N.prototype,"isReference",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0,type:["ArcGISTiledMapServiceLayer"]})],N.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean})],N.prototype,"resampling",void 0),(0,i.Cg)([(0,p.MZ)()],N.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,p.MZ)({type:f.A})],N.prototype,"spatialReference",void 0),(0,i.Cg)([(0,j.w)("spatialReference",["spatialReference","tileInfo"])],N.prototype,"readSpatialReference",null),(0,i.Cg)([(0,p.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],N.prototype,"path",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],N.prototype,"sublayers",void 0),(0,i.Cg)([(0,O.K)("sublayers",{layers:{type:[_.A]}})],N.prototype,"writeSublayers",null),(0,i.Cg)([(0,p.MZ)({json:{read:!1,write:!1}})],N.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,p.MZ)()],N.prototype,"tileServers",null),(0,i.Cg)([(0,p.wg)("tileServers")],N.prototype,"castTileServers",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0,json:{read:!1}})],N.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)(R.OZ)],N.prototype,"url",void 0),N=r=(0,i.Cg)([(0,p.$K)("esri.layers.TileLayer")],N);const Z=Symbol("default-fetch-tile");N.prototype.fetchTile[Z]=!0;const L=N},80754(e,t,n){n.d(t,{j7:()=>o,kS:()=>a,kd:()=>l,r8:()=>u});var r=n(82799),i=n(16930),s=n(60408);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:i.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:i.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function a(e,t){const n=u(e);for(const e of n)for(const n of e)n[0]+=t;return e}function u(e){return(0,s.Bi)(e)?e.rings:e.paths}},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>$,initializeProjection:()=>D,isEqualBaseGCS:()=>E,isLoaded:()=>O,isLoadedOrLoad:()=>P,isLoadedOrLoadFor:()=>N,load:()=>L,project:()=>k,projectAsync:()=>B,projectExtent:()=>re,projectMany:()=>G,projectMultipoint:()=>H,projectOrLoad:()=>F,projectOrLoadMany:()=>z,projectPoint:()=>K,projectPolygon:()=>te,projectPolyline:()=>Q,projectWithoutEngine:()=>V,requiresLoad:()=>Z,test:()=>U,tryProject:()=>q,unload:()=>W});var r=n(49186),i=n(74887),s=n(62788),o=n(95488),l=n(51850),a=n(21276),u=n(73941),c=n(5443),p=n(91075),f=n(48526),h=n(86738),g=n(39829),y=n(82799),d=n(16930),m=n(98764),M=n(159),v=n(9762),b=n(49208);function w(e,t,n,r,i,s){return A[0]=e,A[1]=t,A[2]=n,(0,v.projectBuffer)(A,r,0,i,s,0)}const A=(0,l.vt)();var x=n(21325),S=n(52006);let T=null,R=null,I=null,_=null,C={};const j=new o.I;function O(){return!!(R?.isLoaded()&&I?.isLoaded()&&_?.isLoaded())}function P(){return!!O()||((0,s.gc)(j),L(),!1)}function N(e,t){return!e||!t||$(e,t)||P()}function Z(e,t){return!$(e,t)&&!O()}async function L(e){null==T&&(T=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(R=e,R.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(I=e,I.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(_=e,_.load()))])),await T,(0,i.Te)(e),j.notify()}function k(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),G(e,e[0].spatialReference,t,n)):((0,a.f)(e),G([e],e.spatialReference,t,n)[0])}function G(e,t,n,r){if(null==t||null==n)return e;if(!e.some(e=>(0,S.Ed)(e))&&$(t,n,r))return e.map(e=>V(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return G(e.map(e=>V(e,t,d.A.WGS84)),d.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return G(e,t,d.A.WGS84).map(e=>V(e,d.A.WGS84,n));if(!O())throw new J;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:_.getTransformation(t,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=C[e];i||(i=_.getTransformation(t,n)||new M.A,C[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?R.executeMany(e,n,r):I.executeMany(e,n,r)}function q(e,t,n){try{return k(e,t,n)}catch(e){return null}}function F(e,t){const n=z([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function z(e,t,n){if(!O())for(const n of e)if(null!=n&&!(0,x.aI)(n.spatialReference,t)&&(0,x.fn)(n.spatialReference)&&(0,x.fn)(t)&&!$(n.spatialReference,t))return(0,s.gc)(j),{pending:L(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,x.aI)(e.spatialReference,t)?e:(0,x.fn)(e.spatialReference)&&(0,x.fn)(t)?k(e,t,n):null)}}class J extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function W(){T=null,R=null,I=null,_=null,C={}}const U={get loadPromise(){return T}};async function B(e,t,n){if((0,i.Te)(n),!e)return e;const r=z(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),B(e,t,n);const s=r.geometries??[];return Array.isArray(e)?s:s[0]}function $(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,x.aI)(e,t)||(0,x.fn)(e)&&(0,x.fn)(t)&&!!(0,b.jd)(e,t))}function E(e,t){if((0,x.aI)(e,t))return!0;if(!(0,x.fn)(e)||!(0,x.fn)(t))return!1;const n=(0,x.oT)(e)||(0,x.K8)(e)||(0,x.x1)(e),r=(0,x.oT)(t)||(0,x.K8)(t)||(0,x.x1)(t);return n&&r}async function D(e,t,n,r){if(O())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!$(t,n,i))return L(r)}else if(e&&t&&!$(e,t,n))return L(r);return(0,i.NO)(r)}function V(e,t,n){return e?"x"in e?Y(e,t,new h.A,n,0):"xmin"in e?ie(e,t,new c.A,n,0):"rings"in e?ne(e,t,new g.A,n,0):"paths"in e?ee(e,t,new y.A,n,0):"points"in e?X(e,t,new f.A,n,0):null:null}function K(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,n,r)}function Y(e,t,n,r,i){le[0]=e.x,le[1]=e.y;const s=e.z;return le[2]=void 0!==s?s:i,(0,v.projectBuffer)(le,t,0,le,r,0)?(n.x=le[0],n.y=le[1],n.spatialReference=r,void 0!==s||(0,u.xP)(r)?(n.z=le[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function H(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,r)}function X(e,t,n,r,i){const{points:s,hasZ:o,hasM:l}=e,a=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],o?e[2]:i);if(!(0,v.projectBuffer)(c,t,0,c,r,0,u))return null;const p=oe(o,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];p&&l?a.push([n,r,c[t+2],s[e][3]]):p?a.push([n,r,c[t+2]]):l?a.push([n,r,s[e][2]]):a.push([n,r])}return n.points=a,n.spatialReference=r,n.hasZ=o,n.hasM=l,n}function Q(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ee(e,e.spatialReference,t,n,r)}function ee(e,t,n,r,i){const{paths:s,hasZ:o,hasM:l}=e,a=[];if(!se(s,o??!1,l??!1,t,a,r,i))return null;const u=oe(o,r);return n.paths=a,n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function te(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ne(e,e.spatialReference,t,n,r)}function ne(e,t,n,r,i){const{rings:s,hasZ:o,hasM:l}=e,a=[];if(!se(s,o??!1,l??!1,t,a,r,i))return null;const u=oe(o,r);return n.rings=a,n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function re(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ie(e,e.spatialReference,t,n,r)}function ie(e,t,n,r,i){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:u,hasM:c}=e;if(!w(s,o,u?e.zmin:i,t,le,r))return null;const p=oe(u,r);return n.xmin=le[0],n.ymin=le[1],p&&(n.zmin=le[2]),w(l,a,u?e.zmax:i,t,le,r)?(n.xmax=le[0],n.ymax=le[1],p&&(n.zmax=le[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function se(e,t,n,r,i,s,o=0){const l=new Array;for(const n of e)for(const e of n)l.push(e[0],e[1],t?e[2]:o);if(!(0,v.projectBuffer)(l,r,0,l,s,0))return!1;let a=0;i.length=0;const u=oe(t,s);for(const t of e){const e=new Array;for(const r of t)u&&n?e.push([l[a++],l[a++],l[a++],r[3]]):u?e.push([l[a++],l[a++],l[a++]]):n?(e.push([l[a++],l[a++],r[2]]),a++):(e.push([l[a++],l[a++]]),a++);i.push(e)}return!0}function oe(e,t){return e||(0,u.xP)(t)||(0,x.aI)(t,m.Y0)}const le=(0,l.vt)()},92300(e,t,n){n.d(t,{V:()=>o,X:()=>s});var r=n(60408),i=n(65864);function s(e){return{geometryType:(0,r.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function o(e,t,n){const r=(0,i.xD)(t);return e.map(e=>{const t=r.fromJSON(e);return t.spatialReference=n,t})}},98764(e,t,n){n.d(t,{GD:()=>o,Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),s=n(21325);const o=new i.A(r.fv),l=new i.A(r.FY),a=new i.A(r.LJ),u=new i.A(r.Ro);function c(e){const t=p.get(e);if(t)return t;let n=o;if(e)if(e===l)n=l;else if(e===a)n=a;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,s.tl)(t)||(0,s.tl)(r)?n=l:((0,s.ZL)(t)||(0,s.ZL)(r))&&(n=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?n=l:e===h&&(n=a)}}}return p.set(e,n),n}const p=new Map,f=l.wkt.toUpperCase(),h=a.wkt.toUpperCase()},99157(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),s=n(69622),o=n(91429);let l=r=class extends s.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,o.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9641],{159(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),s=n(69622),o=n(91429),l=n(99157);let a=r=class extends s.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,o.MZ)({type:[l.A],nonNullable:!0})],a.prototype,"steps",void 0),a=r=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},4197(e,t,n){n.d(t,{Vj:()=>u,cj:()=>a,jh:()=>s,l5:()=>l,xm:()=>o});var r=n(34275),i=n(9093);function s(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function l(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,vt:()=>r,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:r,fromValues:function(e,t,n,r,i,s,o,l,a,u,c,p,f,h,g,y){return[e,t,n,r,i,s,o,l,a,u,c,p,f,h,g,y]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(49208);function i(e,t,n,i,s,o,l=Math.floor(e.length/3)){const a=(0,r.jd)(t,s);if(null==a)return!1;if(a===r.pO){if(e===i&&n===o)return!0;const t=n+3*l;for(let r=n,s=o;r<t;r++,s++)i[s]=e[r]??0;return!0}const u=n+3*l;for(let t=n,r=o;t<u;t+=3,r+=3)a(e,t,i,r);return!0}},13069(e,t,n){n.d(t,{AG:()=>l,lk:()=>i,vD:()=>o,yS:()=>s});const r="randomUUID"in crypto;function i(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${i().toUpperCase()}}`}function o(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},17136(e,t,n){n.d(t,{Y_:()=>_,O7:()=>R,el:()=>S});var r=n(92602),i=n(69052),s=n(49186),o=n(53966),l=n(39829),a=n(82799),u=n(16930),c=n(80754),p=n(21325),f=n(28735),h=n(11254),g=n(60408),y=n(65864),d=n(2272),m=n(84952),M=n(92300);const v=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function b(e){return"polygon"===e[0].type}function w(e){return"polyline"===e[0].type}function A(e,t,n){if(t){const t=function(e,t){if(!(e instanceof a.A||e instanceof l.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw v().error(e),new s.A("internal:geometry",e)}const n=(0,c.r8)(e),r=[];for(const e of n){const n=[];r.push(n),n.push([e[0][0],e[0][1]]);for(let r=0;r<e.length-1;r++){const i=e[r][0],s=e[r][1],o=e[r+1][0],l=e[r+1][1],a=Math.sqrt((o-i)*(o-i)+(l-s)*(l-s)),u=(l-s)/a,c=(o-i)/a,p=a/t;if(p>1){for(let e=1;e<=p-1;e++){const r=e*t,o=c*r+i,l=u*r+s;n.push([o,l])}const e=(a+Math.floor(p-1)*t)/2,r=c*e+i,o=u*e+s;n.push([r,o])}n.push([o,l])}}return function(e){return"polygon"===e.type}(e)?new l.A({rings:r,spatialReference:e.spatialReference}):new a.A({paths:r,spatialReference:e.spatialReference})}(e,1e6);e=(0,f.ci)(t,!0)}return n&&(e=(0,c.kS)(e,n)),e}function x(e,t,n){if(Array.isArray(e)){const r=e[0];if(r>t){const n=(0,c.kd)(r,t);e[0]=r+n*(-2*t)}else if(r<n){const t=(0,c.kd)(r,n);e[0]=r+t*(-2*n)}}else{const r=e.x;if(r>t){const n=(0,c.kd)(r,t);e=e.clone().offset(n*(-2*t),0)}else if(r<n){const t=(0,c.kd)(r,n);e=e.clone().offset(t*(-2*n),0)}}return e}function T(e,t){let n=-1;for(let r=0;r<t.cutIndexes.length;r++){const i=t.cutIndexes[r],s=t.geometries[r],o=(0,c.r8)(s);for(let e=0;e<o.length;e++){const t=o[e];t.some(n=>{if(n[0]<180)return!0;{let n=0;for(let e=0;e<t.length;e++){const r=t[e][0];n=r>n?r:n}n=Number(n.toFixed(9));const r=-360*(0,c.kd)(n,180);for(let n=0;n<t.length;n++){const t=s.getPoint(e,n);s.setPoint(e,n,t.clone().offset(r,0))}return!0}})}if(i===n){if(b(e))for(const t of(0,c.r8)(s))e[i]=e[i].addRing(t);else if(w(e))for(const t of(0,c.r8)(s))e[i]=e[i].addPath(t)}else n=i,e[i]=s}return e}async function S(e,t,n){if(!Array.isArray(e))return S([e],t);t&&"string"!=typeof t&&v().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const i="string"==typeof t?t:t?.url??r.A.geometryServiceUrl;let s,o,u,b,w,R,I,_,C=0;const j=[],O=[];for(const t of e)if(null!=t)if(s||(s=t.spatialReference,o=(0,p.Vp)(s),u=s.isWebMercator,R=u?102100:4326,b=c.j7[R].maxX,w=c.j7[R].minX,I=c.j7[R].plus180Line,_=c.j7[R].minus180Line),o)if("mesh"===t.type)O.push(t);else if("point"===t.type)O.push(x(t.clone(),b,w));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>x(e,b,w)),O.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,o);O.push(e.rings?new l.A(e):e)}else if(t.extent){const e=t.extent,n=(0,c.kd)(e.xmin,w)*(2*b);let r=0===n?t.clone():(0,c.kS)(t.clone(),n);e.offset(n,0);let{xmin:i,xmax:s}=e;i=Number(i.toFixed(9)),s=Number(s.toFixed(9)),e.intersects(I)&&s!==b?(C=s>C?s:C,r=A(r,u),j.push(r),O.push("cut")):e.intersects(_)&&i!==w?(C=s*(2*b)>C?s*(2*b):C,r=A(r,u,360),j.push(r),O.push("cut")):O.push(r)}else O.push(t.clone());else O.push(t);else O.push(t);let P=(0,c.kd)(C,b),N=-90;const Z=P,L=new a.A;for(;P>0;){const e=360*P-180;L.addPath([[e,N],[e,-1*N]]),N*=-1,P--}if(j.length>0&&Z>0){const t=T(j,await async function(e,t,n,r){const i=(0,d.Dl)(e),s=t[0].spatialReference,o={...r,responseType:"json",query:{...i.query,f:"json",sr:(0,p.YX)(s),target:JSON.stringify({geometryType:(0,g.$B)(t[0]),geometries:t}),cutter:JSON.stringify(n)}},l=await(0,h.A)(i.path+"/cut",o),{cutIndexes:a,geometries:u=[]}=l.data;return{cutIndexes:a,geometries:u.map(e=>{const t=(0,y.rS)(e);return t.spatialReference=s,t})}}(i,j,L,n)),r=[],s=[];for(let n=0;n<O.length;n++){const i=O[n];if("cut"!==i)s.push(i);else{const i=t.shift(),o=e[n];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&i.rings.length>=o.rings.length?(r.push(i),s.push("simplify")):s.push(u?(0,f.Gh)(i):i)}}if(!r.length)return s;const o=await async function(e,t,n){const r="string"==typeof e?(0,m.An)(e):e,i=t[0].spatialReference,s=(0,g.$B)(t[0]),o={...n,query:{...r.query,f:"json",sr:(0,p.YX)(i),geometries:JSON.stringify((0,M.X)(t))}},{data:l}=await(0,h.A)(r.path+"/simplify",o);return(0,M.V)(l.geometries,s,i)}(i,r,n),l=[];for(let e=0;e<s.length;e++){const t=s[e];"simplify"!==t?l.push(t):l.push(u?(0,f.Gh)(o.shift()):o.shift())}return l}const k=[];for(let e=0;e<O.length;e++){const t=O[e];if("cut"!==t)k.push(t);else{const e=j.shift();k.push(!0===u?(0,f.Gh)(e):e)}}return k}function R(e,t,n){const r=(0,p.Vp)(n);if(null==r)return e;const[i,s]=r.valid,o=2*s;let l=0,a=0;t>s?l=Math.ceil(Math.abs(t-s)/o):t<i&&(l=-Math.ceil(Math.abs(t-i)/o)),e>s?a=Math.ceil(Math.abs(e-s)/o):e<i&&(a=-Math.ceil(Math.abs(e-i)/o));let u=e+(l-a)*o;const c=u-t;return c>s?u-=o:c<i&&(u+=o),u}function I(e){const t=(0,p.Vp)(e);if(null==t)return null;const[n,r]=t.valid;return new i.hr(n,r)}const _=I(u.A.WGS84);I(u.A.WebMercator)},22671(e,t,n){n.d(t,{A:()=>M});var r,i=n(5482),s=n(52106),o=n(66552),l=n(25482),a=n(4718),u=n(91429),c=n(16930),p=n(60408),f=n(65864),h=n(50498),g=n(20437),y=n(36005),d=n(43937);const m=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let M=r=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,n,r){if(e)return void m.write(e,t,n,r);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void m.write(e.geometry.type,t,n,r)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,r=(0,f.rS)(e);return r&&!n&&t.spatialReference&&(r.spatialReference=c.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const r=t.features[n];if(r.geometry){const t=e?.[n];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,n],translate:[r,i]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-r)/t),e=>Math.round((i-e)/n));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:n}=this;if(!n)return this;const{translate:[r,i],scale:[s,o]}=n;let l=null,a=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;l=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;a=n=>null==n?n:n*t+e}const u=this._getHydrationFunction(e,e=>e*s+r,e=>i-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,n){const r=c.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const s=e[t],o=n.fromJSON(s),l=s.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=r);const a=s.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],n=a[e],i=n?.spatialReference;null==t||i||(t.spatialReference=r)}i.push(o)}return i}_quantizePoints(e,t,n){let r,i;const s=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=n(l[1]);e===r&&o===i||(s.push([e-r,o-i]),r=e,i=o)}else r=t(l[0]),i=n(l[1]),s.push([r,i])}return s.length>0?s:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,p.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,s=r.length;e<s;e++){const s=r[e],o=this._quantizePoints(s,t,n);o&&i.push(o)}return i.length>0?((0,p.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,n);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,r,i){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,p.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];for(let e=0,i=r.length;e<i;e++){const i=r[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=n(l)}}if(r&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2]),n[3]=i(n[3])}}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=i(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,l;for(let e=0,r=s.length;e<r;e++){const r=s[e];e>0?(o+=r[0],l+=r[1]):(o=r[0],l=r[1]),r[0]=t(o),r[1]=n(l)}if(r&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2]),t[3]=i(t[3])}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],M.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],M.prototype,"features",void 0),(0,i.Cg)([(0,y.w)("features")],M.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[g.A],json:{write:!0}})],M.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],M.prototype,"geometryType",void 0),(0,i.Cg)([(0,d.K)("geometryType")],M.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:h.yR,json:{write:!0}})],M.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,y.w)("queryGeometry")],M.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],M.prototype,"spatialReference",void 0),(0,i.Cg)([(0,d.K)("spatialReference")],M.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],M.prototype,"transform",void 0),M=r=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],M),M.prototype.toJSON.isDefaultToJSON=!0},34403(e,t,n){n.d(t,{TP:()=>o});var r=n(79258);Math.PI;const i=r.$O.radius,s=r.$O.eccentricitySquared,o={a1:i*s,a2:i*s*i*s,a3:i*s*s/2,a4:i*s*i*s*2.5,a5:i*s+i*s*s/2,a6:1-s};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},49208(e,t,n){n.d(t,{Tp:()=>p,jd:()=>c,pO:()=>h,w5:()=>u});var r=n(34727),i=n(86211),s=n(73941),o=n(79258),l=n(34403),a=n(21325);const u={2:{5:h,7:null,9:null,10:h,1:w,6:null,8:null,0:null,3:y,11:d,2:h,4:R},5:{5:h,7:null,9:null,10:h,1:w,6:null,8:null,0:null,3:y,11:d,2:h,4:R},7:{5:null,7:h,9:null,10:h,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(e,t,n,r){const i=e[t]/P,s=O-2*Math.atan(Math.exp(-e[t+1]/P)),o=P+(e[t+2]??0),l=Math.cos(s)*o;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(s)*o},6:null,8:null,0:null,3:h,11:function(e,t,n,r){g(e,t,n,r),d(n,r,n,r)},2:g,4:function(e,t,n,r){g(e,t,n,r),R(n,r,n,r)}},4:{5:I,7:null,9:null,10:I,1:function(e,t,n,r){I(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){I(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){I(e,t,n,r),d(n,r,n,r)},2:I,4:h},1:{5:S,7:null,9:null,10:S,1:h,6:null,8:null,0:null,3:function(e,t,n,r){S(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){S(e,t,n,r),d(n,r,n,r)},2:S,4:function(e,t,n,r){S(e,t,n,r),R(n,r,n,r)}},6:{5:null,7:T,9:null,10:T,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:x,10:x,1:null,6:null,8:h,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:w,6:b,8:v,0:null,3:y,11:d,2:h,4:R},11:{5:m,7:null,9:null,10:m,1:function(e,t,n,r){m(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){m(e,t,n,r),y(n,r,n,r)},11:h,2:m,4:function(e,t,n,r){m(e,t,n,r),R(n,r,n,r)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(_.source.spatialReference===e&&_.dest.spatialReference===t)return _;const n=f(e,_.source),r=f(t,_.dest);return 0===n&&0===r?(0,a.aI)(e,t)?_.projector=h:_.projector=null:_.projector=u[n][r],_}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function g(e,t,n,r){n[r]=j*(e[t]/P),n[r+1]=j*(O-2*Math.atan(Math.exp(-e[t+1]/P))),n[r+2]=e[t+2]??0}function y(e,t,n,i){!function(e,t,n,i,s){const o=.4999999*Math.PI,l=(0,r.qE)(C*e[t+1],-o,o),a=Math.sin(l);n[i++]=C*e[t]*s.radius,n[i++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[i]=e[t+2]??0}(e,t,n,i,o.$O)}function d(e,t,n,r){n[r]=e[t]*N,n[r+1]=e[t+1]*N,n[r+2]=e[t+2]??0}function m(e,t,n,r){n[r]=e[t]*Z,n[r+1]=e[t+1]*Z,n[r+2]=e[t+2]??0}function M(e,t,n,r,i){const s=i+(e[t+2]??0),o=C*e[t],l=C*e[t+1],a=Math.cos(l)*s;n[r]=Math.cos(o)*a,n[r+1]=Math.sin(o)*a,n[r+2]=Math.sin(l)*s}function v(e,t,n,r){M(e,t,n,r,o.Sw.radius)}function b(e,t,n,r){M(e,t,n,r,o.sH.radius)}function w(e,t,n,r){M(e,t,n,r,o.$O.radius)}function A(e,t,n,i,s){const o=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(o*o+l*l+a*a),c=(0,r.YN)(a/(0===u?1:u)),p=Math.atan2(l,o);n[i++]=j*p,n[i++]=j*c,n[i]=u-s}function x(e,t,n,r){A(e,t,n,r,o.Sw.radius)}function T(e,t,n,r){A(e,t,n,r,o.sH.radius)}function S(e,t,n,r){A(e,t,n,r,o.$O.radius)}function R(e,t,n,r){!function(e,t,n,r,i){const s=C*e[t],o=C*e[t+1],l=e[t+2]??0,a=Math.sin(o),u=Math.cos(o),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);n[r++]=(c+l)*u*Math.cos(s),n[r++]=(c+l)*u*Math.sin(s),n[r++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,n,r,o.$O)}function I(e,t,n,r){const i=l.TP,s=e[t],a=e[t+1],u=e[t+2]??0;let c,p,f,h,g,y,d,m,M,v,b,w,A,x,T,S,R,I,_,C,O;c=Math.abs(u),p=s*s+a*a,f=Math.sqrt(p),h=p+u*u,g=Math.sqrt(h),C=Math.atan2(a,s),y=u*u/h,d=p/h,x=i.a2/g,T=i.a3-i.a4/g,d>.3?(m=c/g*(1+d*(i.a1+x+y*T)/g),_=Math.asin(m),v=m*m,M=Math.sqrt(1-v)):(M=f/g*(1-y*(i.a5-x-d*T)/g),_=Math.acos(M),v=1-M*M,m=Math.sqrt(v)),b=1-o.$O.eccentricitySquared*v,w=o.$O.radius/Math.sqrt(b),A=i.a6*w,x=f-w*M,T=c-A*m,R=M*x+m*T,S=M*T-m*x,I=S/(A/b+R),_+=I,O=R+S*I/2,u<0&&(_=-_),n[r++]=j*C,n[r++]=j*_,n[r]=O}const _={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},C=(0,r.kU)(1),j=(0,r.KJ)(1),O=.5*Math.PI,P=o.$O.radius,N=P*Math.PI/180,Z=180/(P*Math.PI)},52106(e,t,n){n.d(t,{A:()=>x});var r,i,s=n(5482),o=n(37838),l=n(69540),a=n(51447),u=n(25482),c=n(53966),p=n(36708),f=n(24326),h=n(91429),g=n(12195),y=n(65864),d=n(50498),m=n(55156),M=n(60950),v=n(54339),b=n(94128),w=n(33910);function A(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let x=class extends((0,l.OU)(u.o)){static{r=b.Z}static{i=this}constructor(e){super(e),this[r]=!0,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,f.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,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;const t=(0,M.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,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){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,m.I)(this.origin);if(e)return(0,v.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){const e=(0,m.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:A(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,g.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.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,p.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&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",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,s.Cg)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,y.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],x.prototype,"aggregateGeometries",null),(0,s.Cg)([(0,h.MZ)({value:null})],x.prototype,"attributes",null),(0,s.Cg)([(0,h.MZ)({value:null,types:d.yR,json:{read:y.rS}})],x.prototype,"geometry",null),(0,s.Cg)([(0,h.MZ)({type:Boolean})],x.prototype,"isAggregate",void 0),(0,s.Cg)([(0,h.MZ)({clonable:!1})],x.prototype,"layer",void 0),(0,s.Cg)([(0,h.MZ)({clonable:"reference"})],x.prototype,"origin",void 0),(0,s.Cg)([(0,h.MZ)({type:o.A,value:null})],x.prototype,"popupTemplate",null),(0,s.Cg)([(0,h.MZ)({clonable:"reference"})],x.prototype,"sourceLayer",void 0),(0,s.Cg)([(0,h.MZ)({value:null,types:w.Es})],x.prototype,"symbol",null),(0,s.Cg)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],x.prototype,"_version",void 0),(0,s.Cg)([(0,h.MZ)({type:Boolean,value:!0})],x.prototype,"visible",null),x=i=(0,s.Cg)([(0,h.$K)("esri.Graphic")],x)},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},55156(e,t,n){n.d(t,{I:()=>i,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}},69052(e,t,n){n.d(t,{hr:()=>i,ie:()=>a,uC:()=>l});var r=n(34727);class i{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,n=!1){return s(this.range,this.min,this.max,e,t,n)}clamp(e,t=0){return(0,r.qE)(e-t,this.min,this.max)+t}monotonic(e,t,n){return e<t?t:t+o(this.range,e-t,n)}minimalMonotonic(e,t,n){return s(this.range,e,e+this.range,t,n)}center(e,t,n){return t=this.monotonic(e,t,n),this.normalize((e+t)/2,n)}diff(e,t,n){return this.monotonic(e,t,n)-e}shortestSignedDiff(e,t){e=this.normalize(e);const n=(t=this.normalize(t))-e,r=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(n)<Math.abs(r)?n:r}contains(e,t,n){return t=this.minimalMonotonic(e,t),(n=this.minimalMonotonic(e,n))>e&&n<t}}function s(e,t,n,r,i=0,s=!1){return(r-=i)<t?r+=o(e,t-r):r>n&&(r-=o(e,r-n)),s&&r===n&&(r=t),r+i}function o(e,t,n=0){return Math.ceil((t-n)/e)*e+n}const l=new i(0,2*Math.PI),a=(new i(-Math.PI,Math.PI),new i(0,360))},70328(e,t,n){n.d(t,{BI:()=>v,DC:()=>p,Ej:()=>h,Ie:()=>m,Jt:()=>M,Ne:()=>g,RF:()=>c,aI:()=>w,fA:()=>o,gE:()=>a,hZ:()=>d,iT:()=>f,is:()=>b,qv:()=>A,vI:()=>y,vY:()=>l,v_:()=>x,vt:()=>s,w1:()=>u});var r=n(5443),i=(n(19419),n(4197));function s(e=x){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,n,r,i,o,l=s()){return l[0]=e,l[1]=t,l[2]=n,l[3]=r,l[4]=i,l[5]=o,l}function l(e,t=s()){return function(e,t,n,r=s()){return d(r,A),function(e,t,n=0,r=t.length/3){let i=e[0],s=e[1],o=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),s=Math.min(s,t[n+3*e+1]),o=Math.min(o,t[n+3*e+2]),l=Math.max(l,t[n+3*e]),a=Math.max(a,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=l,e[4]=a,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[n,r,s,o,l,a]=e;return t[0]=n,t[1]=r,t[2]=s,t[3]=n,t[4]=r,t[5]=a,t[6]=n,t[7]=l,t[8]=s,t[9]=n,t[10]=l,t[11]=a,t[12]=o,t[13]=r,t[14]=s,t[15]=o,t[16]=r,t[17]=a,t[18]=o,t[19]=l,t[20]=s,t[21]=o,t[22]=l,t[23]=a,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function f(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function h(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function g(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function y(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function d(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function m(e){return e?d(e,A):s(A)}function M(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function v(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function w(e,t,n){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const A=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];s()},71756(e,t,n){n.r(t),n.d(t,{default:()=>L});var r,i=n(5482),s=n(11254),o=n(49186),l=n(81583),a=n(25728),u=n(74887),c=n(84952),p=n(91429),f=n(16930),h=n(4146),g=n(52136),y=n(89186),d=n(98534),m=n(18768),M=n(63074),v=n(69208),b=n(16131),w=n(8303),A=n(54310),x=n(25036),T=n(91921),S=n(60694),R=n(10873),I=n(33446),_=n(15775),C=n(88625),j=n(36005),O=n(43937);const P=["Canvas/World_Dark_Gray_Base","Canvas/World_Dark_Gray_Reference","Canvas/World_Light_Gray_Base","Canvas/World_Light_Gray_Reference","Elevation/World_Hillshade","Elevation/World_Hillshade_Dark","Ocean/World_Ocean_Base","Ocean/World_Ocean_Reference","Ocean_Basemap","Reference/World_Boundaries_and_Places","Reference/World_Boundaries_and_Places_Alternate","Reference/World_Transportation","World_Imagery","World_Street_Map","World_Topo_Map"];let N=r=class extends((0,M.dM)((0,x.j)((0,T.I)((0,y.f)((0,d.V)((0,b.q)((0,w.A)((0,m.b)((0,a.M)((0,A.J)((0,g.p)((0,v.d)(h.A))))))))))))){constructor(...e){super(...e),this.listMode="show",this.elevationInfo=new C.A({mode:"on-the-ground"}),this.isReference=null,this.operationalLayerType="ArcGISTiledMapServiceLayer",this.resampling=!0,this.sourceJSON=null,this.spatialReference=null,this.path=null,this.sublayers=null,this.type="tile",this.url=null}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Map Service"]},e).catch(u.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}get attributionDataUrl(){const e=this.parsedUrl?.path.toLowerCase();return e?this._getDefaultAttribution(this._getMapName(e)):null}get hasAttributionData(){return super.hasAttributionData}readSpatialReference(e,t){return(e=e||t.tileInfo?.spatialReference)&&f.A.fromJSON(e)}writeSublayers(e,t,n,r){if(!this.loaded||!e)return;const i=e.slice().reverse().flatten(({sublayers:e})=>e&&e.toArray().reverse()).toArray(),s=[],o={writeSublayerStructure:!1,...r};i.forEach(e=>{const t=e.write({},o);s.push(t)}),s.some(e=>Object.keys(e).length>1)&&(t.layers=s)}get tileServers(){return this._getDefaultTileServers(this.parsedUrl?.path)}castTileServers(e){return Array.isArray(e)?e.map(e=>(0,c.An)(e).path):null}fetchTile(e,t,n,r={}){const{signal:i}=r,o=this.getTileUrl(e,t,n),l={responseType:"image",signal:i,query:{...this.refreshParameters}};return(0,s.A)(o,l).then(e=>e.data)}async fetchImageBitmapTile(e,t,n,i={}){const{signal:o}=i;if(this.fetchTile!==r.prototype.fetchTile){const r=await this.fetchTile(e,t,n,i);return(0,I.C)(r,e,t,n,o)}const l=this.getTileUrl(e,t,n),a={responseType:"blob",signal:o,query:{...this.refreshParameters}},{data:u}=await(0,s.A)(l,a);return(0,I.C)(u,e,t,n,o)}getTileUrl(e,t,n){const r=!this.capabilities.operations.supportsTileMap&&this.supportsBlankTile,i=(0,c.x0)({...this.parsedUrl?.query,blankTile:!r&&null,...this.customParameters,token:this.apiKey}),s=this.tileServers;return`${s&&s.length?s[t%s.length]:this.parsedUrl?.path}/tile/${e}/${t}/${n}${i?"?"+i:""}`}loadAll(){return(0,l.g)(this,e=>{e(this.allSublayers)})}_fetchService(e){return new Promise((t,n)=>{if(this.sourceJSON){if(null!=this.sourceJSON.bandCount&&null!=this.sourceJSON.pixelSizeX)throw new o.A("tile-layer:unsupported-url","use ImageryTileLayer to open a tiled image service");return void t({data:this.sourceJSON})}if(!this.parsedUrl)throw new o.A("tile-layer:undefined-url","layer's url is not defined");const r=(0,S.qg)(this.parsedUrl.path);if(null!=r&&"ImageServer"===r.serverType)throw new o.A("tile-layer:unsupported-url","use ImageryTileLayer to open a tiled image service");(0,s.A)(this.parsedUrl.path,{query:{f:"json",...this.parsedUrl.query,...this.customParameters,token:this.apiKey},responseType:"json",signal:e}).then(t,n)}).then(t=>{let n=this.url;if(t.ssl&&(n=this.url=n.replace(/^http:/i,"https:")),this.sourceJSON=t.data,this.read(t.data,{origin:"service",url:this.parsedUrl}),10.1===this.version&&!(0,S.Wo)(n))return this._fetchServerVersion(n,e).then(e=>{this.read({currentVersion:e})}).catch(()=>{})})}_fetchServerVersion(e,t){if(!(0,S.Fi)(e))return Promise.reject();const n=e.replace(/(.*\/rest)\/.*/i,"$1")+"/info";return(0,s.A)(n,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:t}).then(e=>{if(e.data?.currentVersion)return e.data.currentVersion;throw new o.A("tile-layer:version-not-available","Server did not provide a version")})}_getMapName(e){const t=e.match(/^(?:https?:)?\/\/(server\.arcgisonline\.com|services\.arcgisonline\.com|ibasemaps-api\.arcgis\.com)\/arcgis\/rest\/services\/([^/]+(\/[^/]+)*)\/mapserver/i);return t?t[2]:void 0}_getDefaultAttribution(e){if(null==e)return null;let t;e=e.toLowerCase();for(let n=0,r=P.length;n<r;n++)if(t=P[n],t.toLowerCase().includes(e))return(0,c.s2)("//static.arcgis.com/attribution/"+t);return null}_getDefaultTileServers(e){if(null==e)return[];const t=-1!==e.search(/^(?:https?:)?\/\/server\.arcgisonline\.com/i),n=-1!==e.search(/^(?:https?:)?\/\/services\.arcgisonline\.com/i);return t||n?[e,e.replace(t?/server\.arcgisonline/i:/services\.arcgisonline/i,t?"services.arcgisonline":"server.arcgisonline")]:[]}get hasOverriddenFetchTile(){return!this.fetchTile[Z]}};(0,i.Cg)([(0,p.MZ)({readOnly:!0})],N.prototype,"attributionDataUrl",null),(0,i.Cg)([(0,p.MZ)({type:["show","hide","hide-children"]})],N.prototype,"listMode",void 0),(0,i.Cg)([(0,p.MZ)({json:{read:!0,write:!0}})],N.prototype,"blendMode",void 0),(0,i.Cg)([(0,p.MZ)()],N.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],N.prototype,"isReference",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0,type:["ArcGISTiledMapServiceLayer"]})],N.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean})],N.prototype,"resampling",void 0),(0,i.Cg)([(0,p.MZ)()],N.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,p.MZ)({type:f.A})],N.prototype,"spatialReference",void 0),(0,i.Cg)([(0,j.w)("spatialReference",["spatialReference","tileInfo"])],N.prototype,"readSpatialReference",null),(0,i.Cg)([(0,p.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],N.prototype,"path",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],N.prototype,"sublayers",void 0),(0,i.Cg)([(0,O.K)("sublayers",{layers:{type:[_.A]}})],N.prototype,"writeSublayers",null),(0,i.Cg)([(0,p.MZ)({json:{read:!1,write:!1}})],N.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,p.MZ)()],N.prototype,"tileServers",null),(0,i.Cg)([(0,p.wg)("tileServers")],N.prototype,"castTileServers",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0,json:{read:!1}})],N.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)(R.OZ)],N.prototype,"url",void 0),N=r=(0,i.Cg)([(0,p.$K)("esri.layers.TileLayer")],N);const Z=Symbol("default-fetch-tile");N.prototype.fetchTile[Z]=!0;const L=N},80754(e,t,n){n.d(t,{j7:()=>o,kS:()=>a,kd:()=>l,r8:()=>u});var r=n(82799),i=n(16930),s=n(60408);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:i.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:i.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function a(e,t){const n=u(e);for(const e of n)for(const n of e)n[0]+=t;return e}function u(e){return(0,s.Bi)(e)?e.rings:e.paths}},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>D,initializeProjection:()=>V,isEqualBaseGCS:()=>E,isLoaded:()=>P,isLoadedOrLoad:()=>N,isLoadedOrLoadFor:()=>Z,load:()=>k,project:()=>G,projectAsync:()=>$,projectExtent:()=>ie,projectMany:()=>q,projectMultipoint:()=>X,projectOrLoad:()=>z,projectOrLoadMany:()=>J,projectPoint:()=>Y,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>K,requiresLoad:()=>L,test:()=>B,tryProject:()=>F,unload:()=>U});var r=n(49186),i=n(74887),s=n(62788),o=n(95488),l=n(51850),a=n(21276),u=n(73941),c=n(5443),p=n(91075),f=n(48526),h=n(86738),g=n(39829),y=n(82799),d=n(16930),m=n(98764),M=n(159),v=n(9762),b=n(49208);function w(e,t,n,r,i,s){return A[0]=e,A[1]=t,A[2]=n,(0,v.projectBuffer)(A,r,0,i,s,0)}const A=(0,l.vt)();var x=n(60408),T=n(21325),S=n(52006);let R=null,I=null,_=null,C=null,j={};const O=new o.I;function P(){return!!(I?.isLoaded()&&_?.isLoaded()&&C?.isLoaded())}function N(){return!!P()||((0,s.gc)(O),k(),!1)}function Z(e,t){return!e||!t||D(e,t)||N()}function L(e,t){return!D(e,t)&&!P()}async function k(e){null==R&&(R=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(I=e,I.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(_=e,_.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(C=e,C.load()))])),await R,(0,i.Te)(e),O.notify()}function G(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),q(e,e[0].spatialReference,t,n)):((0,a.f)(e),q([e],e.spatialReference,t,n)[0])}function q(e,t,n,r){if(null==t||null==n)return e;if(D(t,n,r))return e.map(e=>K(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return q(e.map(e=>K(e,t,d.A.WGS84)),d.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return q(e,t,d.A.WGS84).map(e=>K(e,d.A.WGS84,n));if(!P())throw new W;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:C.getTransformation(t,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=j[e];i||(i=C.getTransformation(t,n)||new M.A,j[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?I.executeMany(e,n,r):_.executeMany(e,n,r)}function F(e,t,n){try{return G(e,t,n)}catch(e){return null}}function z(e,t){const n=J([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function J(e,t,n){if(!P())for(const n of e)if(null!=n&&!(0,T.aI)(n.spatialReference,t)&&(0,T.fn)(n.spatialReference)&&(0,T.fn)(t)&&!D(n.spatialReference,t))return(0,s.gc)(O),{pending:k(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,T.aI)(e.spatialReference,t)?e:(0,T.fn)(e.spatialReference)&&(0,T.fn)(t)?G(e,t,n):null)}}class W extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function U(){R=null,I=null,_=null,C=null,j={}}const B={get loadPromise(){return R}};async function $(e,t,n){if((0,i.Te)(n),!e)return e;const r=J(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),$(e,t,n);const s=r.geometries??[];return Array.isArray(e)?s:s[0]}function D(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,T.aI)(e,t)||(0,T.fn)(e)&&(0,T.fn)(t)&&!!(0,b.jd)(e,t))}function E(e,t){if((0,T.aI)(e,t))return!0;if(!(0,T.fn)(e)||!(0,T.fn)(t))return!1;const n=(0,T.oT)(e)||(0,T.K8)(e)||(0,T.x1)(e),r=(0,T.oT)(t)||(0,T.K8)(t)||(0,T.x1)(t);return n&&r}async function V(e,t,n,r){if(P())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!D(t,n,i))return k(r)}else if(e&&t&&!D(e,t,n))return k(r);return(0,i.NO)(r)}function K(e,t,n){return e?(0,x.fT)(e)?H(e,t,new h.A,n,0):(0,x.ZC)(e)?se(e,t,new c.A,n,0):(0,x.Bi)(e)?re(e,t,new g.A,n,0):(0,x.Rg)(e)?te(e,t,new y.A,n,0):(0,x.U9)(e)?Q(e,t,new f.A,n,0):null:null}function Y(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=H(e,e.spatialReference,t,n,r)}function H(e,t,n,r,i){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:i,(0,v.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==s||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function X(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,r)}function Q(e,t,n,r,i){const{points:s,hasZ:o,hasM:l}=e,a=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],o?e[2]:i);if(!(0,v.projectBuffer)(c,t,0,c,r,0,u))return null;const p=ae(o,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];p&&l?a.push([n,r,c[t+2],s[e][3]]):p?a.push([n,r,c[t+2]]):l?a.push([n,r,s[e][2]]):a.push([n,r])}return n.points=a,n.spatialReference=r,n.hasZ=o,n.hasM=l,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,i){const{curvePaths:s,paths:o,hasZ:l,hasM:a}=e;if(!(s?le(s,l??!1,a??!1,t,n.curvePaths=[],r,i):oe(o,l??!1,a??!1,t,n.paths,r,i)))return null;const u=ae(l,r);return n.spatialReference=r,n.hasZ=u,n.hasM=a,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,i){const{curveRings:s,rings:o,hasZ:l,hasM:a}=e;return(s?le(s,l??!1,a??!1,t,n.curveRings=[],r,i):oe(o,l??!1,a??!1,t,n.rings,r,i))?(n.spatialReference=r,n.hasZ=ae(l,r),n.hasM=a,n):null}function ie(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=se(e,e.spatialReference,t,n,r)}function se(e,t,n,r,i){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:u,hasM:c}=e;if(!w(s,o,u?e.zmin:i,t,ue,r))return null;const p=ae(u,r);return n.xmin=ue[0],n.ymin=ue[1],p&&(n.zmin=ue[2]),w(l,a,u?e.zmax:i,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],p&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function oe(e,t,n,r,i,s,o=0){const l=new Array;for(const n of e)for(const e of n)l.push(e[0],e[1],t?e[2]:o);if(!(0,v.projectBuffer)(l,r,0,l,s,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const r of t){const t=l.slice(a,a+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}i.push(e)}return!0}function le(e,t,n,r,i,s,o=0){const l=new Array;for(const n of e)for(const e of n){if((0,S.FG)(e))return!1;if((0,S.aO)(e)){const[n,r]=e.c;l.push(n[0],n[1],t?n[2]:o,r[0],r[1],o);continue}if((0,S.n1)(e)){const[n,r,i]=e.b;l.push(n[0],n[1],t?n[2]:o,r[0],r[1],o,i[0],i[1],o);continue}const n=e;l.push(n[0],n[1],t?n[2]:o)}if(!(0,v.projectBuffer)(l,r,0,l,s,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const r of t){const t=l.slice(a,a+=3);if(c||t.pop(),n&&t.push((0,S.yP)(r)[u]),(0,S.FG)(r))return!1;if((0,S.aO)(r)){const n=l[a++],r=l[a++];++a,e.push({c:[t,[n,r]]});continue}if((0,S.n1)(r)){const n=l[a++],r=l[a++];++a;const i=l[a++],s=l[a++];++a,e.push({b:[t,[n,r],[i,s]]});continue}e.push(t)}i.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,T.aI)(t,m.Y0)}const ue=(0,l.vt)()},92300(e,t,n){n.d(t,{V:()=>o,X:()=>s});var r=n(60408),i=n(65864);function s(e){return{geometryType:(0,r.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function o(e,t,n){const r=(0,i.xD)(t);return e.map(e=>{const t=r.fromJSON(e);return t.spatialReference=n,t})}},98764(e,t,n){n.d(t,{GD:()=>o,Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),s=n(21325);const o=new i.A(r.fv),l=new i.A(r.FY),a=new i.A(r.LJ),u=new i.A(r.Ro);function c(e){const t=p.get(e);if(t)return t;let n=o;if(e)if(e===l)n=l;else if(e===a)n=a;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,s.tl)(t)||(0,s.tl)(r)?n=l:((0,s.ZL)(t)||(0,s.ZL)(r))&&(n=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?n=l:e===h&&(n=a)}}}return p.set(e,n),n}const p=new Map,f=l.wkt.toUpperCase(),h=a.wkt.toUpperCase()},99157(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),s=n(69622),o=n(91429);let l=r=class extends s.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,o.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5165,7546],{159(e,t,r){r.d(t,{A:()=>a});var n,i=r(5482),s=r(69622),o=r(91429),l=r(99157);let a=n=class extends s.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,o.MZ)({type:[l.A],nonNullable:!0})],a.prototype,"steps",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},8303(e,t,r){r.d(t,{A:()=>I});var n=r(5482),i=r(92602),s=r(70333),o=r(11254),l=r(60999),a=r(49186),u=r(53966),c=r(97768),p=r(74887),f=r(84952),h=r(91429),d=r(77548),g=r(20655),y=r(80812),m=r(41318),v=r(10407),w=r(36005),M=r(43937);const I=e=>{const t=e;let I=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,c.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new y.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await r.e(1204).then(r.bind(r,41204));return(0,p.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,p.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,p.QP)(e),!0)))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:n},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,p.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!s.id?.findCredential(this.url),i=e===r.id;if(i&&r.portal.user)return this._getUserPrivileges(r,n);let o,l;if(i)o=r.portal.url;else try{o=await(0,d.wI)(this.url,t)}catch(e){(0,p.QP)(e)}if(!o||!(0,f.b8)(o,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;l=await(s.id?.getCredential(`${o}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,p.QP)(e)}const a=!0,u=!1,c=!1;if(!l)return{features:{edit:a,fullEdit:u},content:{updateItem:c}};try{if(i?await r.reload():(r=new y.default({id:e,portal:{url:o}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,n)}catch(e){(0,p.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const r=(0,v.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,p.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=_.credential===t?_.user:await this._fetchEditingUser(e);return _.credential=t,_.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const n=`${r.owningSystemUrl}/sharing/rest`,i=g.A.getDefault();if(i&&i.loaded&&(0,f.S8)(i.restUrl)===(0,f.S8)(n))return i.user;const a=`${n}/community/self`,u=null!=e?e.signal:null,c=await(0,l.Ke)((0,o.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?m.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return r&&n&&!(0,f.ut)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n.Cg)([(0,h.MZ)({type:y.default})],I.prototype,"portalItem",null),(0,n.Cg)([(0,w.w)("web-document","portalItem",["itemId"])],I.prototype,"readPortalItem",null),(0,n.Cg)([(0,M.K)("web-document","portalItem",{itemId:{type:String}})],I.prototype,"writePortalItem",null),(0,n.Cg)([(0,h.MZ)({clonable:!1})],I.prototype,"resourceReferences",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasFullEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasUpdateItemPrivileges",void 0),I=(0,n.Cg)([(0,h.$K)("esri.layers.mixins.PortalLayer")],I),I},_={credential:null,user:null}},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(49208);function i(e,t,r,i,s,o,l=Math.floor(e.length/3)){const a=(0,n.jd)(t,s);if(null==a)return!1;if(a===n.pO){if(e===i&&r===o)return!0;const t=r+3*l;for(let n=r,s=o;n<t;n++,s++)i[s]=e[n]??0;return!0}const u=r+3*l;for(let t=r,n=o;t<u;t+=3,n+=3)a(e,t,i,n);return!0}},10407(e,t,r){r.d(t,{It:()=>h,LG:()=>o,OM:()=>u,Sm:()=>c,Y:()=>l,bK:()=>a,mm:()=>f,sQ:()=>p});var n=r(91218),i=r(16930),s=r(28735);function o(e,t){if(!l(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return l(e,f.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?o(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const r=i.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const f={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function h(e){const{portal:t,isOrgItem:r,itemControl:n}=e,i=t.user?.privileges;let s=!i||i.includes("features:user:edit"),o=!!r&&!!i?.includes("features:user:fullEdit");const l="update"===n||"admin"===n;return l?o=s=!0:o&&(s=!0),{features:{edit:s,fullEdit:o},content:{updateItem:l}}}},25728(e,t,r){r.d(t,{M:()=>w});var n=r(5482),i=r(69622),s=r(76953),o=r(4718),l=r(35666);class a{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(l.AU),this._values=new Map,this.multipleOriginsSupported=!0}clone(e){const t=new a,r=this._originStores[0];r&&r.forEach((e,r)=>{t.set(r,(0,o.o8)(e),0)});for(let r=2;r<l.AU;r++){const n=this._originStores[r];n&&n.forEach((n,i)=>{e&&e.has(i)||t.set(i,(0,o.o8)(n),r)})}return t}get(e,t){const r=void 0===t?this._values:this._originStores[t];return r?r.get(e):void 0}keys(e){const t=null==e?this._values:this._originStores[e];return t?[...t.keys()]:[]}set(e,t,r=7){let n=this._originStores[r];if(n||(n=new Map,this._originStores[r]=n),n.set(e,t),!this._values.has(e)||this._propertyOriginMap.get(e)<=r){const n=this._values.get(e);return this._values.set(e,t),this._propertyOriginMap.set(e,r),n!==t}return!1}delete(e,t=7){const r=this._originStores[t];if(!r)return;const n=r.get(e);if(r.delete(e),this._values.has(e)&&this._propertyOriginMap.get(e)===t){this._values.delete(e);for(let r=t-1;r>=0;r--){const t=this._originStores[r];if(t&&t.has(e)){this._values.set(e,t.get(e)),this._propertyOriginMap.set(e,r);break}}}return n}has(e,t){const r=void 0===t?this._values:this._originStores[t];return!!r&&r.has(e)}revert(e,t){for(;t>0&&!this.has(e,t);)--t;const r=this._originStores[t],n=r?.get(e),i=this._values.get(e);return this._values.set(e,n),this._propertyOriginMap.set(e,t),i!==n}originOf(e){return this._propertyOriginMap.get(e)||0}isAtOrigin(e,t){return this.has(e,t)&&this.originOf(e)===t}isBelowOrigin(e,t){return!this.has(e)||this.originOf(e)<t}forEach(e){this._values.forEach(e)}}var u=r(45917),c=r(88620),p=r(64108);const f=e=>{const t=e;let r=class extends t{constructor(...e){super(...e);const t=(0,c.oY)(this),r=t.store,n=new a;t.store=n,(0,s.k)(t,r,n)}read(e,t){(0,u.L)(this,e,t)}getAtOrigin(e,t){const r=h(this),n=(0,l.aB)(t);return r.get(e,n)}originOf(e){return(0,l.OL)(this.originIdOf(e))}originIdOf(e){return h(this).originOf(e)}revertToOrigin(e,t){const r=h(this),n=(0,l.aB)(t),i=(0,c.oY)(this);"*"===e&&r.keys(n).forEach(e=>this.revertToOrigin(e,t)),i.invalidate(e),r.revert(e,n),i.commit(e)}revertAllToOrigin(e){const t=h(this),r=(0,l.aB)(e);t.keys(r).forEach(t=>this.revertToOrigin(t,e))}};return r=(0,n.Cg)([(0,p.$)("esri.core.ReadOnlyMultiOriginJSONSupport")],r),r};function h(e){return(0,c.oY)(e).store}f(i.A);var d=r(91429),g=r(16649),y=r(49422);const m=e=>{const t=e;let r=class extends t{constructor(...e){super(...e)}clear(e,t="user"){(0,c.oY)(this).clearOrigin(e,(0,l.aB)(t))}write(e,t){return(0,y.M)(this,e=e||{},t),e}setAtOrigin(e,t,r){(0,c.oY)(this).setAtOrigin(e,t,(0,l.aB)(r))}removeOrigin(e){const t=v(this),r=(0,l.aB)(e),n=t.keys(r);for(const e of n)t.originOf(e)===r&&t.set(e,t.get(e,r),7)}updateOrigin(e,t){const r=v(this),n=(0,l.aB)(t),i=(0,g.Jt)(this,e);for(let t=n+1;t<l.AU;++t)r.delete(e,t);r.set(e,i,n)}toJSON(e){return this.write({},e)}};return r=(0,n.Cg)([(0,d.$K)("esri.core.WriteableMultiOriginJSONMixin")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function v(e){return(0,c.oY)(e).store}const w=e=>{const t=m(f(e));let r=class extends t{};return r=(0,n.Cg)([(0,p.$)("esri.core.MultiOriginJSONSupport")],r),r};w(i.A)},34403(e,t,r){r.d(t,{TP:()=>o});var n=r(79258);Math.PI;const i=n.$O.radius,s=n.$O.eccentricitySquared,o={a1:i*s,a2:i*s*i*s,a3:i*s*s/2,a4:i*s*i*s*2.5,a5:i*s+i*s*s/2,a6:1-s};n.$O.radius,n.$O.flattening,n.Sw.radius,n.Sw.flattening,n.sH.radius,n.sH.flattening,n.sH.radius},45165(e,t,r){r.r(t),r.d(t,{default:()=>p});var n=r(5482),i=r(49186),s=r(25728),o=r(76030),l=r(91429),a=r(4146),u=r(8303);let c=class extends((0,u.A)((0,s.M)(a.A))){constructor(e){super(e),this.resourceInfo=null,this.persistenceEnabled=!0,this.type="unsupported"}initialize(){this.addResolvingPromise(new Promise((e,t)=>{(0,o._)(()=>{const e=this.resourceInfo&&(this.resourceInfo.layerType||this.resourceInfo.type);let r="Unsupported layer type";e&&(r+=" "+e),t(new i.A("layer:unsupported-layer-type",r,{layerType:e}))})}))}read(e,t){const r={resourceInfo:e};null!=e.id&&(r.id=e.id),null!=e.title&&(r.title=e.title),super.read(r,t)}write(e,t){return Object.assign(e||{},this.resourceInfo,{id:this.id})}};(0,n.Cg)([(0,l.MZ)({readOnly:!0})],c.prototype,"resourceInfo",void 0),(0,n.Cg)([(0,l.MZ)({type:["show","hide"]})],c.prototype,"listMode",void 0),(0,n.Cg)([(0,l.MZ)({type:Boolean,readOnly:!1})],c.prototype,"persistenceEnabled",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!1},readOnly:!0,value:"unsupported"})],c.prototype,"type",void 0),c=(0,n.Cg)([(0,l.$K)("esri.layers.UnsupportedLayer")],c);const p=c},49208(e,t,r){r.d(t,{Tp:()=>p,jd:()=>c,pO:()=>h,w5:()=>u});var n=r(34727),i=r(86211),s=r(73941),o=r(79258),l=r(34403),a=r(21325);const u={2:{5:h,7:null,9:null,10:h,1:I,6:null,8:null,0:null,3:g,11:y,2:h,4:P},5:{5:h,7:null,9:null,10:h,1:I,6:null,8:null,0:null,3:g,11:y,2:h,4:P},7:{5:null,7:h,9:null,10:h,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:w,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(e,t,r,n){const i=e[t]/k,s=T-2*Math.atan(Math.exp(-e[t+1]/k)),o=k+(e[t+2]??0),l=Math.cos(s)*o;r[n]=Math.cos(i)*l,r[n+1]=Math.sin(i)*l,r[n+2]=Math.sin(s)*o},6:null,8:null,0:null,3:h,11:function(e,t,r,n){d(e,t,r,n),y(r,n,r,n)},2:d,4:function(e,t,r,n){d(e,t,r,n),P(r,n,r,n)}},4:{5:S,7:null,9:null,10:S,1:function(e,t,r,n){S(e,t,r,n),I(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){S(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){S(e,t,r,n),y(r,n,r,n)},2:S,4:h},1:{5:R,7:null,9:null,10:R,1:h,6:null,8:null,0:null,3:function(e,t,r,n){R(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){R(e,t,r,n),y(r,n,r,n)},2:R,4:function(e,t,r,n){R(e,t,r,n),P(r,n,r,n)}},6:{5:null,7:O,9:null,10:O,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:A,10:A,1:null,6:null,8:h,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:I,6:M,8:w,0:null,3:g,11:y,2:h,4:P},11:{5:m,7:null,9:null,10:m,1:function(e,t,r,n){m(e,t,r,n),I(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){m(e,t,r,n),g(r,n,r,n)},11:h,2:m,4:function(e,t,r,n){m(e,t,r,n),P(r,n,r,n)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(E.source.spatialReference===e&&E.dest.spatialReference===t)return E;const r=f(e,E.source),n=f(t,E.dest);return 0===r&&0===n?(0,a.aI)(e,t)?E.projector=h:E.projector=null:E.projector=u[r][n],E}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function d(e,t,r,n){r[n]=b*(e[t]/k),r[n+1]=b*(T-2*Math.atan(Math.exp(-e[t+1]/k))),r[n+2]=e[t+2]??0}function g(e,t,r,i){!function(e,t,r,i,s){const o=.4999999*Math.PI,l=(0,n.qE)(C*e[t+1],-o,o),a=Math.sin(l);r[i++]=C*e[t]*s.radius,r[i++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),r[i]=e[t+2]??0}(e,t,r,i,o.$O)}function y(e,t,r,n){r[n]=e[t]*L,r[n+1]=e[t+1]*L,r[n+2]=e[t+2]??0}function m(e,t,r,n){r[n]=e[t]*U,r[n+1]=e[t+1]*U,r[n+2]=e[t+2]??0}function v(e,t,r,n,i){const s=i+(e[t+2]??0),o=C*e[t],l=C*e[t+1],a=Math.cos(l)*s;r[n]=Math.cos(o)*a,r[n+1]=Math.sin(o)*a,r[n+2]=Math.sin(l)*s}function w(e,t,r,n){v(e,t,r,n,o.Sw.radius)}function M(e,t,r,n){v(e,t,r,n,o.sH.radius)}function I(e,t,r,n){v(e,t,r,n,o.$O.radius)}function _(e,t,r,i,s){const o=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(o*o+l*l+a*a),c=(0,n.YN)(a/(0===u?1:u)),p=Math.atan2(l,o);r[i++]=b*p,r[i++]=b*c,r[i]=u-s}function A(e,t,r,n){_(e,t,r,n,o.Sw.radius)}function O(e,t,r,n){_(e,t,r,n,o.sH.radius)}function R(e,t,r,n){_(e,t,r,n,o.$O.radius)}function P(e,t,r,n){!function(e,t,r,n,i){const s=C*e[t],o=C*e[t+1],l=e[t+2]??0,a=Math.sin(o),u=Math.cos(o),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);r[n++]=(c+l)*u*Math.cos(s),r[n++]=(c+l)*u*Math.sin(s),r[n++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,r,n,o.$O)}function S(e,t,r,n){const i=l.TP,s=e[t],a=e[t+1],u=e[t+2]??0;let c,p,f,h,d,g,y,m,v,w,M,I,_,A,O,R,P,S,E,C,T;c=Math.abs(u),p=s*s+a*a,f=Math.sqrt(p),h=p+u*u,d=Math.sqrt(h),C=Math.atan2(a,s),g=u*u/h,y=p/h,A=i.a2/d,O=i.a3-i.a4/d,y>.3?(m=c/d*(1+y*(i.a1+A+g*O)/d),E=Math.asin(m),w=m*m,v=Math.sqrt(1-w)):(v=f/d*(1-g*(i.a5-A-y*O)/d),E=Math.acos(v),w=1-v*v,m=Math.sqrt(w)),M=1-o.$O.eccentricitySquared*w,I=o.$O.radius/Math.sqrt(M),_=i.a6*I,A=f-I*v,O=c-_*m,P=v*A+m*O,R=v*O-m*A,S=R/(_/M+P),E+=S,T=P+R*S/2,u<0&&(E=-E),r[n++]=b*C,r[n++]=b*E,r[n]=T}const E={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},C=(0,n.kU)(1),b=(0,n.KJ)(1),T=.5*Math.PI,k=o.$O.radius,L=k*Math.PI/180,U=180/(k*Math.PI)},60999(e,t,r){r.d(t,{DZ:()=>d,Ke:()=>h,Tj:()=>c,UT:()=>g,aD:()=>m,jJ:()=>u});var n=r(5482),i=r(69622),s=r(97768),o=r(74887),l=r(10107),a=r(64108);function u(e,t,r){return(0,o.Lx)(e.map((e,n)=>t.apply(r,[e,n])))}async function c(e,t,r){return(await(0,o.Lx)(e.map((e,n)=>t.apply(r,[e,n])))).map(e=>e.value)}function p(e){return{ok:!0,value:e}}function f(e){return{ok:!1,error:e}}async function h(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return p(await e)}catch(e){return f(e)}}async function d(e){try{return p(await e)}catch(e){return(0,o.QP)(e),f(e)}}function g(e,t){return new y(e,t)}let y=class extends i.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,s.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=p(e),this._cleanup()},e=>{this._result=f(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,n.Cg)([(0,l.MZ)()],y.prototype,"value",null),(0,n.Cg)([(0,l.MZ)()],y.prototype,"error",null),(0,n.Cg)([(0,l.MZ)()],y.prototype,"finished",null),(0,n.Cg)([(0,l.MZ)()],y.prototype,"promise",void 0),(0,n.Cg)([(0,l.MZ)()],y.prototype,"_result",void 0),y=(0,n.Cg)([(0,a.$)("esri.core.asyncUtils.ReactiveTask")],y);class m{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,n.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}}},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>z,initializeProjection:()=>J,isEqualBaseGCS:()=>N,isLoaded:()=>k,isLoadedOrLoad:()=>L,isLoadedOrLoadFor:()=>U,load:()=>j,project:()=>Z,projectAsync:()=>K,projectExtent:()=>ie,projectMany:()=>$,projectMultipoint:()=>V,projectOrLoad:()=>B,projectOrLoadMany:()=>G,projectPoint:()=>W,projectPolygon:()=>re,projectPolyline:()=>ee,projectWithoutEngine:()=>F,requiresLoad:()=>x,test:()=>q,tryProject:()=>H,unload:()=>Y});var n=r(49186),i=r(74887),s=r(62788),o=r(95488),l=r(51850),a=r(21276),u=r(73941),c=r(5443),p=r(91075),f=r(48526),h=r(86738),d=r(39829),g=r(82799),y=r(16930),m=r(98764),v=r(159),w=r(9762),M=r(49208);function I(e,t,r,n,i,s){return _[0]=e,_[1]=t,_[2]=r,(0,w.projectBuffer)(_,n,0,i,s,0)}const _=(0,l.vt)();var A=r(60408),O=r(21325),R=r(52006);let P=null,S=null,E=null,C=null,b={};const T=new o.I;function k(){return!!(S?.isLoaded()&&E?.isLoaded()&&C?.isLoaded())}function L(){return!!k()||((0,s.gc)(T),j(),!1)}function U(e,t){return!e||!t||z(e,t)||L()}function x(e,t){return!z(e,t)&&!k()}async function j(e){null==P&&(P=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(S=e,S.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(E=e,E.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(C=e,C.load()))])),await P,(0,i.Te)(e),T.notify()}function Z(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),$(e,e[0].spatialReference,t,r)):((0,a.f)(e),$([e],e.spatialReference,t,r)[0])}function $(e,t,r,n){if(null==t||null==r)return e;if(z(t,r,n))return e.map(e=>F(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return $(e.map(e=>F(e,t,y.A.WGS84)),y.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return $(e,t,y.A.WGS84).map(e=>F(e,y.A.WGS84,r));if(!k())throw new D;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:C.getTransformation(t,r,n.areaOfInterestExtent)||new v.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=b[e];i||(i=C.getTransformation(t,r)||new v.A,b[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?S.executeMany(e,r,n):E.executeMany(e,r,n)}function H(e,t,r){try{return Z(e,t,r)}catch(e){return null}}function B(e,t){const r=G([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function G(e,t,r){if(!k())for(const r of e)if(null!=r&&!(0,O.aI)(r.spatialReference,t)&&(0,O.fn)(r.spatialReference)&&(0,O.fn)(t)&&!z(r.spatialReference,t))return(0,s.gc)(T),{pending:j(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,O.aI)(e.spatialReference,t)?e:(0,O.fn)(e.spatialReference)&&(0,O.fn)(t)?Z(e,t,r):null)}}class D extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function Y(){P=null,S=null,E=null,C=null,b={}}const q={get loadPromise(){return P}};async function K(e,t,r){if((0,i.Te)(r),!e)return e;const n=G(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),K(e,t,r);const s=n.geometries??[];return Array.isArray(e)?s:s[0]}function z(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,O.aI)(e,t)||(0,O.fn)(e)&&(0,O.fn)(t)&&!!(0,M.jd)(e,t))}function N(e,t){if((0,O.aI)(e,t))return!0;if(!(0,O.fn)(e)||!(0,O.fn)(t))return!1;const r=(0,O.oT)(e)||(0,O.K8)(e)||(0,O.x1)(e),n=(0,O.oT)(t)||(0,O.K8)(t)||(0,O.x1)(t);return r&&n}async function J(e,t,r,n){if(k())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!z(t,r,i))return j(n)}else if(e&&t&&!z(e,t,r))return j(n);return(0,i.NO)(n)}function F(e,t,r){return e?(0,A.fT)(e)?Q(e,t,new h.A,r,0):(0,A.ZC)(e)?se(e,t,new c.A,r,0):(0,A.Bi)(e)?ne(e,t,new d.A,r,0):(0,A.Rg)(e)?te(e,t,new g.A,r,0):(0,A.U9)(e)?X(e,t,new f.A,r,0):null:null}function W(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=Q(e,e.spatialReference,t,r,n)}function Q(e,t,r,n,i){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:i,(0,w.projectBuffer)(ue,t,0,ue,n,0)?(r.x=ue[0],r.y=ue[1],r.spatialReference=n,void 0!==s||(0,u.xP)(n)?(r.z=ue[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function V(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,n)}function X(e,t,r,n,i){const{points:s,hasZ:o,hasM:l}=e,a=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],o?e[2]:i);if(!(0,w.projectBuffer)(c,t,0,c,n,0,u))return null;const p=ae(o,n);for(let e=0;e<u;++e){const t=3*e,r=c[t],n=c[t+1];p&&l?a.push([r,n,c[t+2],s[e][3]]):p?a.push([r,n,c[t+2]]):l?a.push([r,n,s[e][2]]):a.push([r,n])}return r.points=a,r.spatialReference=n,r.hasZ=o,r.hasM=l,r}function ee(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=te(e,e.spatialReference,t,r,n)}function te(e,t,r,n,i){const{curvePaths:s,paths:o,hasZ:l,hasM:a}=e;if(!(s?le(s,l??!1,a??!1,t,r.curvePaths=[],n,i):oe(o,l??!1,a??!1,t,r.paths,n,i)))return null;const u=ae(l,n);return r.spatialReference=n,r.hasZ=u,r.hasM=a,r}function re(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ne(e,e.spatialReference,t,r,n)}function ne(e,t,r,n,i){const{curveRings:s,rings:o,hasZ:l,hasM:a}=e;return(s?le(s,l??!1,a??!1,t,r.curveRings=[],n,i):oe(o,l??!1,a??!1,t,r.rings,n,i))?(r.spatialReference=n,r.hasZ=ae(l,n),r.hasM=a,r):null}function ie(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=se(e,e.spatialReference,t,r,n)}function se(e,t,r,n,i){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:u,hasM:c}=e;if(!I(s,o,u?e.zmin:i,t,ue,n))return null;const p=ae(u,n);return r.xmin=ue[0],r.ymin=ue[1],p&&(r.zmin=ue[2]),I(l,a,u?e.zmax:i,t,ue,n)?(r.xmax=ue[0],r.ymax=ue[1],p&&(r.zmax=ue[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function oe(e,t,r,n,i,s,o=0){const l=new Array;for(const r of e)for(const e of r)l.push(e[0],e[1],t?e[2]:o);if(!(0,w.projectBuffer)(l,n,0,l,s,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const n of t){const t=l.slice(a,a+=3);c||t.pop(),r&&t.push(n[u]),e.push(t)}i.push(e)}return!0}function le(e,t,r,n,i,s,o=0){const l=new Array;for(const r of e)for(const e of r){if((0,R.FG)(e))return!1;if((0,R.aO)(e)){const[r,n]=e.c;l.push(r[0],r[1],t?r[2]:o,n[0],n[1],o);continue}if((0,R.n1)(e)){const[r,n,i]=e.b;l.push(r[0],r[1],t?r[2]:o,n[0],n[1],o,i[0],i[1],o);continue}const r=e;l.push(r[0],r[1],t?r[2]:o)}if(!(0,w.projectBuffer)(l,n,0,l,s,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const n of t){const t=l.slice(a,a+=3);if(c||t.pop(),r&&t.push((0,R.yP)(n)[u]),(0,R.FG)(n))return!1;if((0,R.aO)(n)){const r=l[a++],n=l[a++];++a,e.push({c:[t,[r,n]]});continue}if((0,R.n1)(n)){const r=l[a++],n=l[a++];++a;const i=l[a++],s=l[a++];++a,e.push({b:[t,[r,n],[i,s]]});continue}e.push(t)}i.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,O.aI)(t,m.Y0)}const ue=(0,l.vt)()},98764(e,t,r){r.d(t,{GD:()=>o,Y0:()=>u,lO:()=>c});var n=r(73941),i=r(16930),s=r(21325);const o=new i.A(n.fv),l=new i.A(n.FY),a=new i.A(n.LJ),u=new i.A(n.Ro);function c(e){const t=p.get(e);if(t)return t;let r=o;if(e)if(e===l)r=l;else if(e===a)r=a;else{const t=e.wkid,n=e.latestWkid;if(null!=t||null!=n)(0,s.tl)(t)||(0,s.tl)(n)?r=l:((0,s.ZL)(t)||(0,s.ZL)(n))&&(r=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?r=l:e===h&&(r=a)}}}return p.set(e,r),r}const p=new Map,f=l.wkt.toUpperCase(),h=a.wkt.toUpperCase()},99157(e,t,r){r.d(t,{A:()=>l});var n,i=r(5482),s=r(69622),o=r(91429);let l=n=class extends s.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,o.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,o.MZ)()],l.prototype,"wkid",void 0),l=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1666,2261,3931,4642,6061,6312,7992,8125,9169,9397],{4197(t,e,r){r.d(e,{Vj:()=>h,cj:()=>u,jh:()=>i,l5:()=>o,xm:()=>a});var n=r(34275),s=r(9093);function i(t){return t<=n.y9?new Array(t).fill(0):new Float64Array(t)}function a(t){return((0,n.iu)(t)?t.byteLength/8:t.length)<=n.y9?Array.from(t):new Float64Array(t)}function o(t,e,r){return Array.isArray(t)?t.slice(e,e+r):t.subarray(e,e+r)}function u(t){return[...t]}function h(t){const e=(0,s.vt)();for(let r=0;r<16;++r)e[r]=t[r];return e}},9093(t,e,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(e,{o8:()=>s,vt:()=>n,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:n,fromValues:function(t,e,r,n,s,i,a,o,u,h,c,l,f,m,g,x){return[t,e,r,n,s,i,a,o,u,h,c,l,f,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},61691(t,e,r){r.d(e,{G:()=>n});class n{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},69397(t,e,r){r.d(e,{Qf:()=>u,Qh:()=>a,RS:()=>s,Ul:()=>m,lM:()=>i,qK:()=>c});var n=r(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=l;for(let n=0;n<e;n++)r+=o(t[n]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?a(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,n.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,m=64},70328(t,e,r){r.d(e,{BI:()=>v,DC:()=>l,Ej:()=>m,Ie:()=>y,Jt:()=>d,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>a,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>M,qv:()=>E,vI:()=>x,vY:()=>o,v_:()=>P,vt:()=>i,w1:()=>h});var n=r(5443),s=(r(19419),r(4197));function i(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function a(t,e,r,n,s,a,o=i()){return o[0]=t,o[1]=e,o[2]=r,o[3]=n,o[4]=s,o[5]=a,o}function o(t,e=i()){return function(t,e,r,n=i()){return p(n,E),function(t,e,r=0,n=e.length/3){let s=t[0],i=t[1],a=t[2],o=t[3],u=t[4],h=t[5];for(let t=0;t<n;t++)s=Math.min(s,e[r+3*t]),i=Math.min(i,e[r+3*t+1]),a=Math.min(a,e[r+3*t+2]),o=Math.max(o,e[r+3*t]),u=Math.max(u,e[r+3*t+1]),h=Math.max(h,e[r+3*t+2]);t[0]=s,t[1]=i,t[2]=a,t[3]=o,t[4]=u,t[5]=h}(n,t,e,r),n}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[r,n,i,a,o,u]=t;return e[0]=r,e[1]=n,e[2]=i,e[3]=r,e[4]=n,e[5]=u,e[6]=r,e[7]=o,e[8]=i,e[9]=r,e[10]=o,e[11]=u,e[12]=a,e[13]=n,e[14]=i,e[15]=a,e[16]=n,e[17]=u,e[18]=a,e[19]=o,e[20]=i,e[21]=a,e[22]=o,e[23]=u,e}function h(t,e){const r=isFinite(t[2])||isFinite(t[5]);return new n.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,r=t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function x(t,e,r=t){return r[3]=e[0],r[4]=e[1],r[5]=e[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function y(t){return t?p(t,E):i(E)}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function v(t,e,r,n,s){return t[0]=e,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=n,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function M(t){return 6===t.length}function C(t,e,r){if(null==t||null==e)return t===e;if(!M(t)||!M(e))return!1;if(r){for(let n=0;n<t.length;n++)if(!r(t[n],e[n]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];i()},76061(t,e,r){r.d(e,{S:()=>s});var n=r(61691);class s extends n.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>A,toGeometry:()=>P,toMultipoint:()=>V,toPoint:()=>I,toPolygon:()=>_,toPolyline:()=>w});var n=r(83661),s=(r(79187),r(55537)),i=r(95213),a=r(88885),o=r(5443),u=r(48526),h=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function x(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return M(t);case"polygon":return v(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new a.M,r=new i.P,n=t.points,s=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,i=n.length;t<i;t++){const i=n[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),s&&r.setM(i[u]??NaN),e.add(r)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:r,hasZ:n,rings:s}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:n,rings:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:r,hasZ:n,paths:s}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:n,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:r,hasZ:n,paths:s}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:n,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function E(t){return(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return I(t,e);case s.G.enumEnvelope:return A(t,e);case s.G.enumMultiPoint:return V(t,e);case s.G.enumPolyline:return w(t,e);case s.G.enumPolygon:return _(t,e)}return null}function A(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),n=t.getDescription();if(n.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(n.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(m,t),r}function V(t,e){if(t.isEmpty())return null;const r=t.getDescription(),n=r.hasM(),s=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];s&&r.push(o.getZ()),n&&r.push(o.getM()),a.push(r)}const h=new u.A({hasM:n,hasZ:s,points:a,spatialReference:e});return h.setCacheValue(m,t),h}function I(t,e){if(t instanceof n.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(r.m=t.getM()),s.hasZ()&&(r.z=t.getZ()),r.setCacheValue(m,t),r}function _(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(m,t),r}function w(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(m,t),r}},85503(t,e,r){r.d(e,{d:()=>c,e:()=>u});var n=r(4576),s=r(34727),i=r(86211),a=r(91735),o=r(78125);function u(t,e,r={}){let{maxAngleInDegrees:n=0,maxDeviation:u=0,unit:h}=r;const c=(0,o.getSpatialReference)(t);return h&&(e=(0,i.UW)(e,h,c),u&&(u=(0,i.UW)(u,h,c))),(0,o.toGeometry)((0,a.g7)((0,o.fromGeometry)(t),e,u,(0,s.kU)(n)),c)}const h=(0,a.fz)(),c=Object.freeze(Object.defineProperty({__proto__:null,execute:u,executeMany:function(t,e,r={}){let{maxAngleInDegrees:u=0,maxDeviation:h=0,unit:c}=r;const l=t.map(o.fromGeometry),f=(0,o.getSpatialReference)(t);return c&&(e=(0,i.UW)(e,c,f),h&&(h=(0,i.UW)(h,c,f))),(0,a.zo)(l,e,h,(0,s.kU)(u)).map(t=>(0,o.toGeometry)(t,f)).filter(n.Ru)},supportsCurves:h},Symbol.toStringTag,{value:"Module"}))},87992(t,e,r){r.d(e,{JR:()=>V,ME:()=>E,MY:()=>I,NO:()=>C,Nh:()=>A,V2:()=>R,_s:()=>S,e6:()=>Y,gh:()=>P,tr:()=>N,uX:()=>p});var n=r(5482),s=r(69397),i=r(16930),a=(r(70328),r(19419)),o=r(60408),u=r(21325),h=r(513),c=r(50954),l=r(79567),f=r(52006),m=r(49663),g=r(46068),x=r(92722);class p{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:n,vertexZ:s,vertexM:i,partCount:a,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=n,this.vertexZ=s,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:n,hasM:s,segmentCountArc:i,segmentCountBezier:a}=this,o=R(t,e,r,n,s,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:n,segmentParamCount:s}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(n.subarray(0,s),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return new y(this)}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=O(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new M(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class M{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=O(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],n=e[r++],s=e[r++],i=e[r++];return{b:[this.end,[t,n],[s,i]]}}const n=e[r++],s=e[r++],i=e[r++],a=e[r++],o=e[r++],u=e[r++];r++,r++;const h=e[r++],c=e[r++];if(!Boolean(4&n)&&1===i)return{c:[this.end,[h,c]]};const l=2&n?0:1,f=1&n?0:1;return{a:[this.end,[o,u],l,f,a,s,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,n.mS)(r,new _(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:s,vertexZ:i,vertexM:o}=t,u=w(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,n.mS)(r,new _(t,["vertexZ","vertexM"]),!1);const s=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(s,t,r),t=(0,f.yP)(r)}const[i,o,h,c]=s;e={xmin:i,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}else{let t,n,i,a;t=n=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=s[2*e],o=s[2*e+1];t=Math.min(t,r),i=Math.max(i,r),n=Math.min(n,o),a=Math.max(a,o)}e={xmin:t,ymin:n,xmax:i,ymax:a,spatialReference:u}}if(i){let t=1/0,r=-1/0;for(const e of i)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}function E(t){let e,r,n;if((0,o.fT)(t)){n="point";const{x:s,y:i,z:a,m:o}=t,u=[s,i];null!=a&&u.push(a),null!=o&&u.push(o),r=[[u]],e=1}else(0,o.U9)(t)?(n="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(n="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(n="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,Z(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=R(n,e,n.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:a,vertexXY:u,vertexZ:h,vertexM:c}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),a&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of r[0])l(t);return s}const x="polygon"===n,{partOffsets:p}=s;let y=0;if(!s.hasCurves()){for(const t of r){if(p[y++]=g,0===t.length)continue;let e=t.length;if(x&&Z(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,n]=t[r];u[2*g]=e,u[2*g+1]=n,++g}}return p[y]=g,s}function d(t){const e=v+t;if(e<=(s.segmentParams?.length??0))return;let r=e*G;r=20*Math.ceil(r/20);const n=s.segmentParams;s.segmentParams=new Float64Array(r),null!=n&&s.segmentParams.set(n)}let v=0;for(const t of r){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const n=t[e];l(r);const i=g-1;(0,f.wY)(n)?(d(10),++s.segmentCountArc,v=S(r,n,s,i,v),r=n.a[0]):(0,f.DA)(n)?(d(10),++s.segmentCountArc,v=b(r,n,s,i,v),r=n.a[0]):(0,f.aO)(n)?(d(10),++s.segmentCountArc,v=Y(r,n,s,i,v),r=n.c[0]):(0,f.n1)(n)?(d(4),++s.segmentCountBezier,v=N(0,n,s,i,v),r=n.b[0]):r=n}x&&Z(e,r)||l(r)}return s.partOffsets[y]=g,s}function P(t){const e=O(t),{vertexCount:r,partCount:n,hasZ:s,hasM:i}=t,a=w(t);if("point"===t.type){const[e,r]=t.vertexXY,n=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:r,z:n,m:s,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let s=0;s<n;++s){const n=t.partOffsets[s+1],i=new Array;for(;o<n;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:s,hasM:i,spatialReference:a}:{paths:r,hasZ:s,hasM:i,spatialReference:a}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:a}}function A(t,{lengths:e,coords:r,hasZ:n,hasM:s},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);n??=!1,s??=!1;const h=R(t,u,a,n,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],n&&(h.vertexZ[t]=r[e++]),s&&(h.vertexM[t]=r[e++]);return h}const c=2+Number(n)+Number(s);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],i=e+t-Number(o);h.partOffsets[++f]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[l++],h.vertexXY[2*t+1]=r[l++],n&&(h.vertexZ[t]=r[l++]),s&&(h.vertexM[t]=r[l++]);o&&(l+=c)}return h}function V({type:t,vertexCount:e,vertexXY:r,vertexZ:n,vertexM:s,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new x.A([],[],o,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=h.coords.length;for(let t=l;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(n[t]),u&&h.coords.push(s[t]);if(c){const t=l;h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(n[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-f)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let n=t.getLatestID();(n<=0||n===r)&&(n=void 0);const s=t.getVCS();if(null==s)return{wkid:r,latestWkid:n,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:n,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class _{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function w({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function O({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?n=>[t[2*n],t[2*n+1],e[n],r[n]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function Z(t,e){return t.every((t,r)=>t===e[r])}function R(t,e,r,n,s,i,a,o){a??=0,o??=0;const u=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,n&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(T),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,r+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,r+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function S(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){r[i]=4,n[i]=a;const[o,[u,h],c,l,f,m,x]=e.a;let p=4;l||(p|=1),c||(p|=2);const y=(0,g.SW)(t,e),[d,v]=(0,g.Uk)(y,.5);return s[a++]=p,s[a++]=m,s[a++]=x,s[a++]=f,s[a++]=u,s[a++]=h,s[a++]=y.u2-y.u1,s[a++]=y.u1,s[a++]=d,s[a++]=v,a}function b(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){r[i]=4,n[i]=a;const o=(0,m.i)(t,e);return F(o,4,...(0,h.mq)(o,.5),s,a)}function Y(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){return r[i]=4,n[i]=a,F((0,c.pM)(t,e),0,...e.c[1],s,a)}function F(t,e,r,n,s,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=a,s[i++]=o,s[i++]=h-u,s[i++]=u,s[i++]=r,s[i++]=n,i}function N(t,{b:[e,[r,n],[s,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,c){return a[h]=2,o[h]=c,u[c++]=r,u[c++]=n,u[c++]=s,u[c++]=i,c}const G=1.61803,T=-1},88411(t,e,r){r.d(e,{execute:()=>n.e}),r(4576),r(34727),r(86211),r(91735),r(78125);var n=r(85503)},91735(t,e,r){r.d(e,{fz:()=>o,g7:()=>i,zo:()=>a});var n=r(76061);const s=new(r(5247).O);function i(t,e,r,n){return s.execute(t,e,r,n,null)}function a(t,e,r,i){const a=s.executeMany(new n.S(t),e,r,i,null);return Array.from(a)}function o(){return s.supportsCurves()}},92722(t,e,r){r.d(e,{A:()=>s});var n=r(69397);class s{constructor(t=[],e=[],r=!1,n=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=n}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:n}){return new s(t,e,r||!1,n||!1)}static fromRect([t,e,r,n]){const i=r-t,a=n-e;return new s([5],[t,e,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,n.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:n}=this;let s=this.coords[n*e],i=this.coords[n*e+1];for(let a=1;a<r;a+=1){const r=n*(e+a),o=this.coords[r],u=this.coords[r+1];t+=-.5*(o-s)*(u+i),s=o,i=u}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const n of this.lengths){for(let s=0;s<n;s++){const n=r*(e+s);t(this.coords[n],this.coords[n+1])}e+=n}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let n=0;const{stride:s}=this;for(const t of r){for(let r=1;r<t;r++){const t=s*(n+r);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}n+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:n}=this,i=this.coords.slice(0,n*r);return t?(t.set(i),new s(e,t)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,n=0;e<r.length;e+=t)r[n++]=this.coords[e],r[n++]=this.coords[e+1];return new s(this.lengths,r,!1,!1)}}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,2261,4642,6061,6312,7992,8125,9169,9397],{4197(t,e,r){r.d(e,{Vj:()=>h,cj:()=>u,jh:()=>i,l5:()=>o,xm:()=>a});var n=r(34275),s=r(9093);function i(t){return t<=n.y9?new Array(t).fill(0):new Float64Array(t)}function a(t){return((0,n.iu)(t)?t.byteLength/8:t.length)<=n.y9?Array.from(t):new Float64Array(t)}function o(t,e,r){return Array.isArray(t)?t.slice(e,e+r):t.subarray(e,e+r)}function u(t){return[...t]}function h(t){const e=(0,s.vt)();for(let r=0;r<16;++r)e[r]=t[r];return e}},9093(t,e,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(e,{o8:()=>s,vt:()=>n,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:n,fromValues:function(t,e,r,n,s,i,a,o,u,h,c,l,f,m,g,x){return[t,e,r,n,s,i,a,o,u,h,c,l,f,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},61691(t,e,r){r.d(e,{G:()=>n});class n{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},69397(t,e,r){r.d(e,{Qf:()=>u,Qh:()=>a,RS:()=>s,Ul:()=>m,lM:()=>i,qK:()=>c});var n=r(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=l;for(let n=0;n<e;n++)r+=o(t[n]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?a(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,n.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,m=64},70328(t,e,r){r.d(e,{BI:()=>v,DC:()=>l,Ej:()=>m,Ie:()=>y,Jt:()=>d,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>a,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>M,qv:()=>E,vI:()=>x,vY:()=>o,v_:()=>P,vt:()=>i,w1:()=>h});var n=r(5443),s=(r(19419),r(4197));function i(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function a(t,e,r,n,s,a,o=i()){return o[0]=t,o[1]=e,o[2]=r,o[3]=n,o[4]=s,o[5]=a,o}function o(t,e=i()){return function(t,e,r,n=i()){return p(n,E),function(t,e,r=0,n=e.length/3){let s=t[0],i=t[1],a=t[2],o=t[3],u=t[4],h=t[5];for(let t=0;t<n;t++)s=Math.min(s,e[r+3*t]),i=Math.min(i,e[r+3*t+1]),a=Math.min(a,e[r+3*t+2]),o=Math.max(o,e[r+3*t]),u=Math.max(u,e[r+3*t+1]),h=Math.max(h,e[r+3*t+2]);t[0]=s,t[1]=i,t[2]=a,t[3]=o,t[4]=u,t[5]=h}(n,t,e,r),n}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[r,n,i,a,o,u]=t;return e[0]=r,e[1]=n,e[2]=i,e[3]=r,e[4]=n,e[5]=u,e[6]=r,e[7]=o,e[8]=i,e[9]=r,e[10]=o,e[11]=u,e[12]=a,e[13]=n,e[14]=i,e[15]=a,e[16]=n,e[17]=u,e[18]=a,e[19]=o,e[20]=i,e[21]=a,e[22]=o,e[23]=u,e}function h(t,e){const r=isFinite(t[2])||isFinite(t[5]);return new n.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,r=t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function x(t,e,r=t){return r[3]=e[0],r[4]=e[1],r[5]=e[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function y(t){return t?p(t,E):i(E)}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function v(t,e,r,n,s){return t[0]=e,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=n,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function M(t){return 6===t.length}function C(t,e,r){if(null==t||null==e)return t===e;if(!M(t)||!M(e))return!1;if(r){for(let n=0;n<t.length;n++)if(!r(t[n],e[n]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];i()},76061(t,e,r){r.d(e,{S:()=>s});var n=r(61691);class s extends n.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>A,toGeometry:()=>P,toMultipoint:()=>V,toPoint:()=>I,toPolygon:()=>_,toPolyline:()=>w});var n=r(83661),s=(r(79187),r(55537)),i=r(95213),a=r(88885),o=r(5443),u=r(48526),h=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function x(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return M(t);case"polygon":return v(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new a.M,r=new i.P,n=t.points,s=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,i=n.length;t<i;t++){const i=n[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),s&&r.setM(i[u]??NaN),e.add(r)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:r,hasZ:n,rings:s}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:n,rings:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:r,hasZ:n,paths:s}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:n,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:r,hasZ:n,paths:s}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:n,paths:s});t.setCacheValue(m,i)}return t.getCacheValue(m)}function E(t){return(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return I(t,e);case s.G.enumEnvelope:return A(t,e);case s.G.enumMultiPoint:return V(t,e);case s.G.enumPolyline:return w(t,e);case s.G.enumPolygon:return _(t,e)}return null}function A(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),n=t.getDescription();if(n.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(n.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(m,t),r}function V(t,e){if(t.isEmpty())return null;const r=t.getDescription(),n=r.hasM(),s=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];s&&r.push(o.getZ()),n&&r.push(o.getM()),a.push(r)}const h=new u.A({hasM:n,hasZ:s,points:a,spatialReference:e});return h.setCacheValue(m,t),h}function I(t,e){if(t instanceof n.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(r.m=t.getM()),s.hasZ()&&(r.z=t.getZ()),r.setCacheValue(m,t),r}function _(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(m,t),r}function w(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(m,t),r}},85503(t,e,r){r.d(e,{d:()=>c,e:()=>u});var n=r(4576),s=r(34727),i=r(86211),a=r(91735),o=r(78125);function u(t,e,r={}){let{maxAngleInDegrees:n=0,maxDeviation:u=0,unit:h}=r;const c=(0,o.getSpatialReference)(t);return h&&(e=(0,i.UW)(e,h,c),u&&(u=(0,i.UW)(u,h,c))),(0,o.toGeometry)((0,a.g7)((0,o.fromGeometry)(t),e,u,(0,s.kU)(n)),c)}const h=(0,a.fz)(),c=Object.freeze(Object.defineProperty({__proto__:null,execute:u,executeMany:function(t,e,r={}){let{maxAngleInDegrees:u=0,maxDeviation:h=0,unit:c}=r;const l=t.map(o.fromGeometry),f=(0,o.getSpatialReference)(t);return c&&(e=(0,i.UW)(e,c,f),h&&(h=(0,i.UW)(h,c,f))),(0,a.zo)(l,e,h,(0,s.kU)(u)).map(t=>(0,o.toGeometry)(t,f)).filter(n.Ru)},supportsCurves:h},Symbol.toStringTag,{value:"Module"}))},87992(t,e,r){r.d(e,{JR:()=>V,ME:()=>E,MY:()=>I,NO:()=>C,Nh:()=>A,V2:()=>R,_s:()=>S,e6:()=>Y,gh:()=>P,tr:()=>N,uX:()=>p});var n=r(5482),s=r(69397),i=r(16930),a=(r(70328),r(19419)),o=r(60408),u=r(21325),h=r(513),c=r(50954),l=r(79567),f=r(52006),m=r(49663),g=r(46068),x=r(92722);class p{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:n,vertexZ:s,vertexM:i,partCount:a,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=n,this.vertexZ=s,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:n,hasM:s,segmentCountArc:i,segmentCountBezier:a}=this,o=R(t,e,r,n,s,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:n,segmentParamCount:s}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(n.subarray(0,s),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return new y(this)}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=O(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new M(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class M{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=O(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],n=e[r++],s=e[r++],i=e[r++];return{b:[this.end,[t,n],[s,i]]}}const n=e[r++],s=e[r++],i=e[r++],a=e[r++],o=e[r++],u=e[r++];r++,r++;const h=e[r++],c=e[r++];if(!Boolean(4&n)&&1===i)return{c:[this.end,[h,c]]};const l=2&n?0:1,f=1&n?0:1;return{a:[this.end,[o,u],l,f,a,s,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,n.mS)(r,new _(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:s,vertexZ:i,vertexM:o}=t,u=w(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,n.mS)(r,new _(t,["vertexZ","vertexM"]),!1);const s=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(s,t,r),t=(0,f.yP)(r)}const[i,o,h,c]=s;e={xmin:i,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}else{let t,n,i,a;t=n=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=s[2*e],o=s[2*e+1];t=Math.min(t,r),i=Math.max(i,r),n=Math.min(n,o),a=Math.max(a,o)}e={xmin:t,ymin:n,xmax:i,ymax:a,spatialReference:u}}if(i){let t=1/0,r=-1/0;for(const e of i)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}function E(t){let e,r,n;if((0,o.fT)(t)){n="point";const{x:s,y:i,z:a,m:o}=t,u=[s,i];null!=a&&u.push(a),null!=o&&u.push(o),r=[[u]],e=1}else(0,o.U9)(t)?(n="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(n="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(n="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,Z(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=R(n,e,n.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:a,vertexXY:u,vertexZ:h,vertexM:c}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),a&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of r[0])l(t);return s}const x="polygon"===n,{partOffsets:p}=s;let y=0;if(!s.hasCurves()){for(const t of r){if(p[y++]=g,0===t.length)continue;let e=t.length;if(x&&Z(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,n]=t[r];u[2*g]=e,u[2*g+1]=n,++g}}return p[y]=g,s}function d(t){const e=v+t;if(e<=(s.segmentParams?.length??0))return;let r=e*G;r=20*Math.ceil(r/20);const n=s.segmentParams;s.segmentParams=new Float64Array(r),null!=n&&s.segmentParams.set(n)}let v=0;for(const t of r){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const n=t[e];l(r);const i=g-1;(0,f.wY)(n)?(d(10),++s.segmentCountArc,v=S(r,n,s,i,v),r=n.a[0]):(0,f.DA)(n)?(d(10),++s.segmentCountArc,v=b(r,n,s,i,v),r=n.a[0]):(0,f.aO)(n)?(d(10),++s.segmentCountArc,v=Y(r,n,s,i,v),r=n.c[0]):(0,f.n1)(n)?(d(4),++s.segmentCountBezier,v=N(0,n,s,i,v),r=n.b[0]):r=n}x&&Z(e,r)||l(r)}return s.partOffsets[y]=g,s}function P(t){const e=O(t),{vertexCount:r,partCount:n,hasZ:s,hasM:i}=t,a=w(t);if("point"===t.type){const[e,r]=t.vertexXY,n=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:r,z:n,m:s,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let s=0;s<n;++s){const n=t.partOffsets[s+1],i=new Array;for(;o<n;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:s,hasM:i,spatialReference:a}:{paths:r,hasZ:s,hasM:i,spatialReference:a}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:a}}function A(t,{lengths:e,coords:r,hasZ:n,hasM:s},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);n??=!1,s??=!1;const h=R(t,u,a,n,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],n&&(h.vertexZ[t]=r[e++]),s&&(h.vertexM[t]=r[e++]);return h}const c=2+Number(n)+Number(s);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],i=e+t-Number(o);h.partOffsets[++f]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[l++],h.vertexXY[2*t+1]=r[l++],n&&(h.vertexZ[t]=r[l++]),s&&(h.vertexM[t]=r[l++]);o&&(l+=c)}return h}function V({type:t,vertexCount:e,vertexXY:r,vertexZ:n,vertexM:s,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new x.A([],[],o,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=h.coords.length;for(let t=l;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(n[t]),u&&h.coords.push(s[t]);if(c){const t=l;h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(n[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-f)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let n=t.getLatestID();(n<=0||n===r)&&(n=void 0);const s=t.getVCS();if(null==s)return{wkid:r,latestWkid:n,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:n,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class _{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function w({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function O({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?n=>[t[2*n],t[2*n+1],e[n],r[n]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function Z(t,e){return t.every((t,r)=>t===e[r])}function R(t,e,r,n,s,i,a,o){a??=0,o??=0;const u=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,n&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(T),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,r+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,r+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function S(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){r[i]=4,n[i]=a;const[o,[u,h],c,l,f,m,x]=e.a;let p=4;l||(p|=1),c||(p|=2);const y=(0,g.SW)(t,e),[d,v]=(0,g.Uk)(y,.5);return s[a++]=p,s[a++]=m,s[a++]=x,s[a++]=f,s[a++]=u,s[a++]=h,s[a++]=y.u2-y.u1,s[a++]=y.u1,s[a++]=d,s[a++]=v,a}function b(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){r[i]=4,n[i]=a;const o=(0,m.i)(t,e);return F(o,4,...(0,h.mq)(o,.5),s,a)}function Y(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){return r[i]=4,n[i]=a,F((0,c.pM)(t,e),0,...e.c[1],s,a)}function F(t,e,r,n,s,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=a,s[i++]=o,s[i++]=h-u,s[i++]=u,s[i++]=r,s[i++]=n,i}function N(t,{b:[e,[r,n],[s,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,c){return a[h]=2,o[h]=c,u[c++]=r,u[c++]=n,u[c++]=s,u[c++]=i,c}const G=1.61803,T=-1},88411(t,e,r){r.d(e,{execute:()=>n.e}),r(4576),r(34727),r(86211),r(91735),r(78125);var n=r(85503)},91735(t,e,r){r.d(e,{fz:()=>o,g7:()=>i,zo:()=>a});var n=r(76061);const s=new(r(5247).O);function i(t,e,r,n){return s.execute(t,e,r,n,null)}function a(t,e,r,i){const a=s.executeMany(new n.S(t),e,r,i,null);return Array.from(a)}function o(){return s.supportsCurves()}},92722(t,e,r){r.d(e,{A:()=>s});var n=r(69397);class s{constructor(t=[],e=[],r=!1,n=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=n}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:n}){return new s(t,e,r||!1,n||!1)}static fromRect([t,e,r,n]){const i=r-t,a=n-e;return new s([5],[t,e,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,n.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:n}=this;let s=this.coords[n*e],i=this.coords[n*e+1];for(let a=1;a<r;a+=1){const r=n*(e+a),o=this.coords[r],u=this.coords[r+1];t+=-.5*(o-s)*(u+i),s=o,i=u}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const n of this.lengths){for(let s=0;s<n;s++){const n=r*(e+s);t(this.coords[n],this.coords[n+1])}e+=n}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let n=0;const{stride:s}=this;for(const t of r){for(let r=1;r<t;r++){const t=s*(n+r);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}n+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:n}=this,i=this.coords.slice(0,n*r);return t?(t.set(i),new s(e,t)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,n=0;e<r.length;e+=t)r[n++]=this.coords[e],r[n++]=this.coords[e+1];return new s(this.lengths,r,!1,!1)}}}}]);
|