@arcgis/core 4.23.0-next.20220106 → 4.23.0-next.20220124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/components/assets/calcite-date-picker/nls/bg.json +31 -0
- package/assets/components/assets/calcite-icon/centerAlign16.json +1 -0
- package/assets/components/assets/calcite-icon/centerAlign24.json +1 -0
- package/assets/components/assets/calcite-icon/centerAlign32.json +1 -0
- package/assets/components/assets/calcite-icon/checkSquareF16.json +1 -0
- package/assets/components/assets/calcite-icon/checkSquareF24.json +1 -0
- package/assets/components/assets/calcite-icon/checkSquareF32.json +1 -0
- package/assets/components/assets/calcite-icon/convert16.json +1 -0
- package/assets/components/assets/calcite-icon/convert24.json +1 -0
- package/assets/components/assets/calcite-icon/convert32.json +1 -0
- package/assets/components/assets/calcite-icon/explore16.json +1 -0
- package/assets/components/assets/calcite-icon/explore24.json +1 -0
- package/assets/components/assets/calcite-icon/explore32.json +1 -0
- package/assets/components/assets/calcite-icon/formDropdown16.json +1 -0
- package/assets/components/assets/calcite-icon/formDropdown24.json +1 -0
- package/assets/components/assets/calcite-icon/formDropdown32.json +1 -0
- package/assets/components/assets/calcite-icon/language16.json +1 -0
- package/assets/components/assets/calcite-icon/language24.json +1 -0
- package/assets/components/assets/calcite-icon/language32.json +1 -0
- package/assets/components/assets/calcite-icon/languageTranslate16.json +1 -0
- package/assets/components/assets/calcite-icon/languageTranslate24.json +1 -0
- package/assets/components/assets/calcite-icon/languageTranslate32.json +1 -0
- package/assets/components/assets/calcite-icon/leftAlign16.json +1 -0
- package/assets/components/assets/calcite-icon/leftAlign24.json +1 -0
- package/assets/components/assets/calcite-icon/leftAlign32.json +1 -0
- package/assets/components/assets/calcite-icon/lineSolid4.json +1 -0
- package/assets/components/assets/calcite-icon/partlyCloudy16.json +1 -0
- package/assets/components/assets/calcite-icon/partlyCloudy24.json +1 -0
- package/assets/components/assets/calcite-icon/partlyCloudy32.json +1 -0
- package/assets/components/assets/calcite-icon/rightAlign16.json +1 -0
- package/assets/components/assets/calcite-icon/rightAlign24.json +1 -0
- package/assets/components/assets/calcite-icon/rightAlign32.json +1 -0
- package/assets/components/assets/calcite-icon/screenshotMode16.json +1 -0
- package/assets/components/assets/calcite-icon/screenshotMode24.json +1 -0
- package/assets/components/assets/calcite-icon/screenshotMode32.json +1 -0
- package/assets/components/assets/calcite-icon/squareF16.json +1 -0
- package/assets/components/assets/calcite-icon/squareF24.json +1 -0
- package/assets/components/assets/calcite-icon/squareF32.json +1 -0
- package/assets/components/assets/calcite-icon/terminal16.json +1 -0
- package/assets/components/assets/calcite-icon/terminal24.json +1 -0
- package/assets/components/assets/calcite-icon/terminal32.json +1 -0
- package/assets/components/assets/calcite-icon/touch16.json +1 -0
- package/assets/components/assets/calcite-icon/touch24.json +1 -0
- package/assets/components/assets/calcite-icon/touch32.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagon16.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagon24.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagon32.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagonF16.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagonF24.json +1 -0
- package/assets/components/assets/calcite-icon/xHexagonF32.json +1 -0
- package/assets/components/assets/calcite-icon/xOctagonF16.json +1 -0
- package/assets/components/assets/calcite-icon/xOctagonF24.json +1 -0
- package/assets/components/assets/calcite-icon/xOctagonF32.json +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/09da224052976e290828.js +1 -0
- package/assets/esri/core/workers/chunks/0bf079e752ab79468478.js +1 -0
- package/assets/esri/core/workers/chunks/{ce5ca5e95b2378ec55b9.js → 1305ef8717da6e902a55.js} +1 -1
- package/assets/esri/core/workers/chunks/199670a3a564ebe3bd79.js +1 -0
- package/assets/esri/core/workers/chunks/1e4d37c2b9dc83d20a11.js +1 -0
- package/assets/esri/core/workers/chunks/20411bb8e04703962ce6.js +1 -0
- package/assets/esri/core/workers/chunks/2416f8bf8bbd2ec786ab.js +1 -0
- package/assets/esri/core/workers/chunks/25a3e9bc0b4c7e0d3165.js +1 -0
- package/assets/esri/core/workers/chunks/{99f0d896c17dd09cd285.js → 2629adf79e7fd9f25f07.js} +1 -1
- package/assets/esri/core/workers/chunks/{9c417740bf3707a0d465.js → 2c607d30ff8ca1b61286.js} +1 -1
- package/assets/esri/core/workers/chunks/2e445a8735ea2adb641a.js +1 -0
- package/assets/esri/core/workers/chunks/37a7bd30352b1309b8f8.js +1 -0
- package/assets/esri/core/workers/chunks/390d9021169e65c10eb8.js +1 -0
- package/assets/esri/core/workers/chunks/{3d5169ea9810d10caf0d.js → 3a9740dccda6a733313c.js} +1 -1
- package/assets/esri/core/workers/chunks/{8a250ec51097f16feb66.js → 40a1e713f63ec77110c0.js} +1 -1
- package/assets/esri/core/workers/chunks/43cdff2418325e163420.js +1 -0
- package/assets/esri/core/workers/chunks/4c9084a04948b6924749.js +1 -0
- package/assets/esri/core/workers/chunks/{4beba242e7540ee3182b.js → 5538639a49c7cc2eca63.js} +1 -1
- package/assets/esri/core/workers/chunks/57c67e260267a1dbc5e3.js +1 -0
- package/assets/esri/core/workers/chunks/5a4a5585ec8027079f32.js +1 -0
- package/assets/esri/core/workers/chunks/5ac4c1d54b94c7d87835.js +1 -0
- package/assets/esri/core/workers/chunks/60371c0f750cde87656d.js +1 -0
- package/assets/esri/core/workers/chunks/{ba6fdaed6c315dc13981.js → 625d2663daa8e0cf64b0.js} +1 -1
- package/assets/esri/core/workers/chunks/{3a2b2dc3e938d53faa30.js → 64276aacaafa4c8a15bd.js} +1 -1
- package/assets/esri/core/workers/chunks/{75466e0c8c8da499b150.js → 662d13f68cf3ec92439b.js} +1 -1
- package/assets/esri/core/workers/chunks/663ad15b86936eb06b69.js +1 -0
- package/assets/esri/core/workers/chunks/67162b3e2cc1b5dc6818.js +1 -0
- package/assets/esri/core/workers/chunks/68a59ce98177d8513337.js +1 -0
- package/assets/esri/core/workers/chunks/6cdfe175c965918b741b.js +1 -0
- package/assets/esri/core/workers/chunks/739e579150bf466d43ae.js +1 -0
- package/assets/esri/core/workers/chunks/74df1f3e1e2e524a89d2.js +1 -0
- package/assets/esri/core/workers/chunks/76eef4799f6c5fff7e2d.js +1 -0
- package/assets/esri/core/workers/chunks/{ea05f870dda27bca4fe8.js → 7a8764ae8a0041e1151d.js} +2 -2
- package/assets/esri/core/workers/chunks/{ea05f870dda27bca4fe8.js.LICENSE.txt → 7a8764ae8a0041e1151d.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/7baf6b1f3f050aa67ae4.js +1 -0
- package/assets/esri/core/workers/chunks/{f52b6d5037e4205b035c.js → 7bc5cc5dbf1b7b70ddac.js} +1 -1
- package/assets/esri/core/workers/chunks/85e27fd949475f9a6bbc.js +1 -0
- package/assets/esri/core/workers/chunks/8967288145f8fbd20e7d.js +1 -0
- package/assets/esri/core/workers/chunks/8cbb04a9065aa3756638.js +1 -0
- package/assets/esri/core/workers/chunks/8fa0a14165d43ffe87a5.js +1 -0
- package/assets/esri/core/workers/chunks/94b8dbf859df71858d1c.js +1 -0
- package/assets/esri/core/workers/chunks/96ab518eb6ba11333dee.js +1 -0
- package/assets/esri/core/workers/chunks/99a777693e4539f0b03b.js +1 -0
- package/assets/esri/core/workers/chunks/9cb2ae42a8e328b1d98d.js +1 -0
- package/assets/esri/core/workers/chunks/9d3c58a0ef634d95b7bd.js +1 -0
- package/assets/esri/core/workers/chunks/9d77467aa71d345fc1b6.js +1 -0
- package/assets/esri/core/workers/chunks/9f8b7b6b4e95f9a794fc.js +1 -0
- package/assets/esri/core/workers/chunks/a78757b9c7e8cbea08fa.js +1 -0
- package/assets/esri/core/workers/chunks/{9b7c51ff3d2b42aa62f5.js → a7b1b75643ed31489495.js} +1 -1
- package/assets/esri/core/workers/chunks/a8b13fb804bb775e4967.js +1 -0
- package/assets/esri/core/workers/chunks/a8c13529367c037cdd94.js +1 -0
- package/assets/esri/core/workers/chunks/a96afc176041f698c7a1.js +1 -0
- package/assets/esri/core/workers/chunks/aa861b8eae6c85f3dad4.js +1 -0
- package/assets/esri/core/workers/chunks/ac8dca61ade28c542ae2.js +1 -0
- package/assets/esri/core/workers/chunks/ad081d8e49e7f90c3c26.js +1 -0
- package/assets/esri/core/workers/chunks/afa6912454f2a5ffadce.js +1 -0
- package/assets/esri/core/workers/chunks/b0b036ad3ad3cd956747.js +1 -0
- package/assets/esri/core/workers/chunks/{2a39d520b192b8e552b5.js → b2ae5fc4f787ea568b88.js} +1 -1
- package/assets/esri/core/workers/chunks/b2beb6e1fd2ee6503830.js +1 -0
- package/assets/esri/core/workers/chunks/{b87bc1481a49b38109f4.js → b9c177524b3e7de1ffd1.js} +1 -1
- package/assets/esri/core/workers/chunks/ba615f118a3a8970ef25.js +1 -0
- package/assets/esri/core/workers/chunks/{7c1b9ae141112a63b446.js → ba6654a885be4b7a43f0.js} +1 -1
- package/assets/esri/core/workers/chunks/bab1cfd0a901181622af.js +1 -0
- package/assets/esri/core/workers/chunks/be2b7cce79fd41627931.js +1 -0
- package/assets/esri/core/workers/chunks/bf6dda4a2af14c4b7716.js +1 -0
- package/assets/esri/core/workers/chunks/{ed0297fc61014e848c18.js → c080114a69fa95b88d22.js} +1 -1
- package/assets/esri/core/workers/chunks/c13dfdd548dcb1bdb294.js +1 -0
- package/assets/esri/core/workers/chunks/c36f84daa7736878418d.js +1 -0
- package/assets/esri/core/workers/chunks/c6f94b92e866b881d9b9.js +1 -0
- package/assets/esri/core/workers/chunks/{573dc3064e84ca86844d.js → c959e0d1cf7dce0421b9.js} +1 -1
- package/assets/esri/core/workers/chunks/{1fd48459afb58a6cf14f.js → ca2f5faa01d99c21ec14.js} +1 -1
- package/assets/esri/core/workers/chunks/cbb291412fd1a5261aa9.js +1 -0
- package/assets/esri/core/workers/chunks/{7aa543a97f055cddea99.js → cc146c57bbdac8029fd8.js} +1 -1
- package/assets/esri/core/workers/chunks/cd7d83d127e085d52584.js +1 -0
- package/assets/esri/core/workers/chunks/cef4af64860ebbfc1c47.js +1 -0
- package/assets/esri/core/workers/chunks/d1454155ee1b8a421cbb.js +1 -0
- package/assets/esri/core/workers/chunks/{0cd583c3233573cb8468.js → d24c4fbc567486b1188f.js} +1 -1
- package/assets/esri/core/workers/chunks/d52108864136c5a8a618.js +1 -0
- package/assets/esri/core/workers/chunks/d72488db62fcf39447b6.js +1 -0
- package/assets/esri/core/workers/chunks/de03439ca2c9782bf325.js +1 -0
- package/assets/esri/core/workers/chunks/de6cff7b6cbbf99b20d1.js +981 -0
- package/assets/esri/core/workers/chunks/e079cb1d53aca15b7df2.js +1 -0
- package/assets/esri/core/workers/chunks/e59764ee8cf25d4f74e2.js +1 -0
- package/assets/esri/core/workers/chunks/e6df9839b551569fbc62.js +1 -0
- package/assets/esri/core/workers/chunks/e97e986120aaadad7d4c.js +1 -0
- package/assets/esri/core/workers/chunks/{2f66fcb8670b108af549.js → ed0bcc66fb1e0ee75a4b.js} +1 -1
- package/assets/esri/core/workers/chunks/f8e7755240a94b499e1f.js +1 -0
- package/assets/esri/core/workers/chunks/{b4ed7856cd9c98434477.js → fe864d01e72aa24574b6.js} +1 -1
- package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
- package/assets/esri/themes/base/icons/fonts/CalciteWebCoreIcons.svg +1 -0
- package/assets/esri/themes/base/icons/fonts/CalciteWebCoreIcons.ttf +0 -0
- package/assets/esri/themes/base/icons/fonts/CalciteWebCoreIcons.woff +0 -0
- package/assets/esri/themes/base/icons/selection.json +1 -1
- package/assets/esri/themes/base/icons/style.css +4 -0
- package/assets/esri/themes/base/icons/style.scss +6 -0
- package/assets/esri/themes/base/icons/variables.scss +1 -0
- package/assets/esri/themes/base/widgets/_FeatureTable.scss +6 -0
- package/assets/esri/themes/base/widgets/_Weather.scss +1 -1
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/dark-blue/main.css +1 -1
- package/assets/esri/themes/dark-green/main.css +1 -1
- package/assets/esri/themes/dark-purple/main.css +1 -1
- package/assets/esri/themes/dark-red/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/themes/light-blue/main.css +1 -1
- package/assets/esri/themes/light-green/main.css +1 -1
- package/assets/esri/themes/light-purple/main.css +1 -1
- package/assets/esri/themes/light-red/main.css +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_nb.json +1 -1
- package/assets/esri/widgets/Editor/t9n/Editor_nl.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/ElevationProfile/t9n/ElevationProfile_ja.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ar.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_bg.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_bs.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ca.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_cs.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_da.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_de.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_el.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_es.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_et.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_fi.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_fr.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_he.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_hr.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_hu.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_id.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_it.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ja.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ko.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_lt.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_lv.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_nb.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_nl.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_pl.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_pt-BR.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_pt-PT.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ro.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_ru.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_sk.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_sl.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_sr.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_sv.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_th.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_tr.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_uk.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_vi.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_zh-CN.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_zh-HK.json +1 -1
- package/assets/esri/widgets/FeatureTemplates/t9n/FeatureTemplates_zh-TW.json +1 -1
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_cs.json +1 -1
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_el.json +1 -1
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_fr.json +1 -1
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_lv.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ar.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_bg.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_bs.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ca.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_cs.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_da.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_de.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_el.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_es.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_et.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_fi.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_fr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_he.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_hr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_hu.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_id.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_it.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ja.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ko.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_lt.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_lv.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_nb.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_nl.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_pl.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_pt-BR.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_pt-PT.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ro.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ru.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sk.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sl.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sv.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_th.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_tr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_uk.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_vi.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_zh-CN.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_zh-HK.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_zh-TW.json +1 -1
- package/chunks/Clouds.glsl.js +14 -14
- package/chunks/CloudsComposition.glsl.js +4 -4
- package/chunks/DefaultMaterial.glsl.js +2 -2
- package/chunks/HUDMaterial.glsl.js +22 -21
- package/chunks/RibbonLine.glsl.js +10 -14
- package/chunks/persistableUrlUtils.js +1 -1
- package/chunks/vec32.js +1 -1
- package/chunks/vec42.js +1 -1
- package/chunks/vxlLayer.js +1 -1
- package/core/accessorSupport/ensureType.js +1 -1
- package/core/accessorSupport/get.js +1 -1
- package/core/accessorSupport/set.js +1 -1
- package/core/has.js +1 -1
- package/core/urlUtils.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/form/elements/FieldElement.js +1 -1
- package/geometry/support/buffer/math/common.js +1 -1
- package/geometry/support/heightModelInfoUtils.js +1 -1
- package/interfaces.d.ts +372 -126
- package/layers/FeatureLayer.js +1 -1
- package/layers/RouteLayer.js +1 -1
- package/layers/SubtypeGroupLayer.js +1 -1
- package/layers/VectorTileLayer.js +1 -1
- package/layers/VoxelLayer.js +1 -1
- package/layers/VoxelWasmPerScene.js +1 -1
- package/layers/WMSLayer.js +1 -1
- package/layers/graphics/controllers/FeatureTileController3D.js +1 -1
- package/layers/graphics/data/QueryEngineCapabilities.js +1 -1
- package/layers/graphics/sources/OGCFeatureSource.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/mixins/OperationalLayer.js +1 -1
- package/layers/ogc/crsUtils.js +5 -0
- package/layers/support/RasterFunction.js +1 -1
- package/layers/support/RasterWorker.js +1 -1
- package/layers/support/capabilities.js +1 -1
- package/layers/support/rasterDatasets/BaseRaster.js +1 -1
- package/layers/support/rasterDatasets/WCSRaster.js +1 -1
- package/layers/support/rasterDatasets/wcsCoverageParser.js +1 -1
- package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
- package/layers/support/vectorTileLayerLoader.js +1 -1
- package/layers/support/wmsUtils.js +1 -1
- package/layers/support/wmtsUtils.js +1 -1
- package/libs/vxl/enums.js +1 -1
- package/package.json +5 -5
- package/portal/schemas/buildingSceneLayerItem.js +1 -1
- package/portal/schemas/definitions.js +1 -1
- package/portal/schemas/integratedMeshLayerItem.js +1 -1
- package/portal/schemas/pointCloudLayerItem.js +1 -1
- package/portal/schemas/sceneLayerItem.js +1 -1
- package/portal/schemas/webScene.js +1 -1
- package/rasterRenderers.js +1 -1
- package/renderers/support/RasterSymbolizer.js +1 -1
- package/request.js +1 -1
- package/rest/find.js +1 -1
- package/rest/geometryService/generalize.js +1 -1
- package/rest/geometryService/lengths.js +1 -1
- package/rest/geometryService/offset.js +1 -1
- package/rest/geometryService/relation.js +1 -1
- package/rest/geometryService/trimExtend.js +1 -1
- package/rest/identify.js +1 -1
- package/{tasks → rest}/operations/find.js +0 -0
- package/{tasks → rest}/operations/generalize.js +0 -0
- package/rest/operations/identify.js +5 -0
- package/{tasks → rest}/operations/lengths.js +0 -0
- package/{tasks → rest}/operations/offset.js +0 -0
- package/{tasks → rest}/operations/relation.js +0 -0
- package/{tasks → rest}/operations/trimExtend.js +0 -0
- package/{tasks → rest}/operations/urlUtils.js +0 -0
- package/rest/print.js +1 -1
- package/rest/query/operations/query.js +1 -1
- package/rest/query/operations/queryAttachments.js +1 -1
- package/rest/query/operations/queryRelatedRecords.js +1 -1
- package/rest/query/operations/queryTopFeatures.js +1 -1
- package/rest/route/utils.js +1 -1
- package/rest/support/ImageIdentifyParameters.js +1 -1
- package/rest/support/NetworkServiceDescription.js +1 -1
- package/rest/support/RouteInfo.js +1 -1
- package/rest/support/RouteParameters.js +1 -1
- package/rest/support/RouteSettings.js +5 -0
- package/rest/support/StatisticDefinition.js +1 -1
- package/rest/support/Stop.js +1 -1
- package/rest/support/networkEnums.js +1 -1
- package/smartMapping/renderers/univariateColorSize.js +1 -1
- package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
- package/support/featureFlags.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/ExtrudeSymbol3DLayer.js +1 -1
- package/symbols/Font.js +1 -1
- package/symbols/IconSymbol3DLayer.js +1 -1
- package/symbols/ObjectSymbol3DLayer.js +1 -1
- package/symbols/PathSymbol3DLayer.js +1 -1
- package/symbols/TextSymbol.js +1 -1
- package/symbols/TextSymbol3DLayer.js +1 -1
- package/symbols/cim/placements/PlacementAlongLineSameSize.js +1 -1
- package/symbols/support/Symbol3DHalo.js +1 -1
- package/symbols/support/Symbol3DMaterial.js +1 -1
- package/symbols/support/cimSymbolUtils.js +1 -1
- package/symbols/support/textUtils.js +5 -0
- package/symbols/support/utils.js +1 -1
- package/views/2d/engine/Stage.js +1 -1
- package/views/2d/engine/vectorTiles/TileHandler.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/VTLMaterialManager.js +1 -1
- package/views/2d/engine/vectorTiles/style/VectorTileSource.js +1 -1
- package/views/2d/engine/vectorTiles/style/VectorTilesRequestManager.js +5 -0
- package/views/2d/engine/webgl/BitBlitRenderer.js +1 -1
- package/views/2d/engine/webgl/MaterialManager.js +1 -1
- package/views/2d/engine/webgl/alignmentUtils.js +1 -1
- package/views/2d/engine/webgl/effects/BlendEffect.js +1 -1
- package/views/2d/engine/webgl/materialKey/MaterialKey.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/WGLLabelTemplate.js +1 -1
- package/views/2d/engine/webgl/shaders/BlendPrograms.js +1 -1
- package/views/2d/engine/webgl/shaders/MaterialPrograms.js +1 -1
- package/views/2d/layers/BaseLayerView2D.js +1 -1
- package/views/2d/layers/BaseLayerViewGL2D.js +1 -1
- package/views/2d/layers/GraphicsLayerView2D.js +1 -1
- package/views/2d/layers/ImageryLayerView2D.js +1 -1
- package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
- package/views/2d/layers/LayerView2D.js +1 -1
- package/views/2d/layers/MapNotesLayerView2D.js +1 -1
- package/views/2d/layers/RouteLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/WMSLayerView2D.js +1 -1
- package/views/2d/layers/WMTSLayerView2D.js +1 -1
- package/views/2d/layers/features/sources/BaseFeatureSource.js +1 -1
- package/views/2d/layers/features/support/AttributeStore.js +1 -1
- package/views/2d/layers/graphics/GraphicBoundsRenderer.js +1 -1
- package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
- package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
- package/views/2d/support/engineHelpers.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
- package/views/3d/environment/CloudsComposition.glsl.js +1 -1
- package/views/3d/environment/CloudsComposition.js +1 -1
- package/views/3d/environment/CloudsGenerator.js +1 -1
- package/views/3d/environment/CloudyWeather.js +1 -1
- package/views/3d/environment/Fog.js +1 -1
- package/views/3d/environment/FoggyWeather.js +1 -1
- package/views/3d/environment/NoiseTextureAtlas.js +1 -1
- package/views/3d/environment/RainyWeather.js +1 -1
- package/views/3d/environment/Stars.js +1 -1
- package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
- package/views/3d/layers/DynamicLayerView3D.js +1 -1
- package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
- package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
- package/views/3d/layers/GraphicsLayerView3D.js +1 -1
- package/views/3d/layers/GraphicsView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/ImageryLayerView3D.js +1 -1
- package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
- package/views/3d/layers/MapImageLayerView3D.js +1 -1
- package/views/3d/layers/OGCFeatureLayerView3D.js +1 -1
- package/views/3d/layers/PointCloudLayerView3D.js +1 -1
- package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
- package/views/3d/layers/SceneLayerView3D.js +1 -1
- package/views/3d/layers/VectorTileLayerView3D.js +1 -1
- package/views/3d/layers/VoxelLayerView3D.js +1 -1
- package/views/3d/layers/WMSLayerView3D.js +1 -1
- package/views/3d/layers/WMTSLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DDrapedGraphicLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DElevationAlignment.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +5 -0
- package/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPointSymbol.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DScaleVisibility.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolCreationContext.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/GraphicsProcessor.js +5 -0
- package/views/3d/layers/graphics/IGraphics3DFeatureProcessor.js +4 -0
- package/views/3d/layers/graphics/Labeler.js +1 -1
- package/views/3d/layers/graphics/QueryEngine.js +1 -1
- package/views/3d/layers/support/FeatureTileTree3DDebugger.js +1 -1
- package/views/3d/state/controllers/RotateController.js +1 -1
- package/views/3d/state/controllers/global/PinchAndPanController.js +1 -1
- package/views/3d/state/controllers/global/ZoomController.js +1 -1
- package/views/3d/state/controllers/global/ZoomStepController.js +1 -1
- package/views/3d/state/controllers/local/PinchAndPanController.js +1 -1
- package/views/3d/state/controllers/local/ZoomStepController.js +1 -1
- package/views/3d/support/debugFlags.js +1 -1
- package/views/3d/support/sunUtils.js +1 -1
- package/views/3d/terrain/Overlay.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js +7 -1
- package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +28 -24
- package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +19 -14
- package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +12 -14
- package/views/3d/webgl-engine/lib/GridLocalOriginFactory.js +1 -1
- package/views/3d/webgl-engine/lib/InstanceParameters.js +5 -0
- package/views/3d/webgl-engine/lib/{localOrigin.js → LocalOriginFactory.js} +0 -0
- package/views/3d/webgl-engine/lib/OffscreenRendering.js +1 -1
- package/views/3d/webgl-engine/lib/Program.js +1 -1
- package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
- package/views/3d/webgl-engine/lib/RenderTargetHelper.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/RenderingContext.js +1 -1
- package/views/3d/webgl-engine/lib/SSAOHelper.js +1 -1
- package/views/3d/webgl-engine/lib/TextRenderParameters.js +1 -1
- package/views/3d/webgl-engine/lib/TextRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/intersectorUtilsConversions.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/parts/Model.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/parts/ScreenshotManager.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/RealisticTreeTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/LayerViewManager.js +1 -1
- package/views/MapView.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
- package/views/interactive/snapping/featureSources/FeatureServiceSnappingSource.js +1 -1
- package/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +1 -1
- package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
- package/views/layers/ImageryTileLayerView.js +1 -1
- package/views/layers/LayerView.js +1 -1
- package/views/layers/OGCFeatureLayerView.js +1 -1
- package/views/layers/RefreshableLayerView.js +1 -1
- package/views/overlay/ViewOverlay.js +1 -1
- package/views/support/DefaultsFromMap.js +1 -1
- package/views/support/WatchUpdatingTracking.js +1 -1
- package/views/support/imageReprojection.js +1 -1
- package/views/webgl/BufferObject.js +1 -1
- package/views/webgl/ContextState.js +1 -1
- package/views/webgl/FramebufferObject.js +1 -1
- package/views/webgl/Program.js +1 -1
- package/views/webgl/ProgramCache.js +1 -1
- package/views/webgl/ProgramTemplate.js +1 -1
- package/views/webgl/Renderbuffer.js +1 -1
- package/views/webgl/RenderingContext.js +1 -1
- package/views/webgl/ShaderTranspiler.js +1 -1
- package/views/webgl/Texture.js +1 -1
- package/views/webgl/UniformBufferLayout.js +5 -0
- package/views/webgl/UniformBufferObject.js +5 -0
- package/views/webgl/Util.js +1 -1
- package/views/webgl/enums.js +1 -1
- package/views/webgl/rasterUtils.js +1 -1
- package/views/webgl/storageLayouts.js +5 -0
- package/views/webgl/testDoublePrecisionArithmetic.js +1 -1
- package/views/webgl/testFloatBufferBlend.js +1 -1
- package/views/webgl/testSVGPremultipliedAlpha.js +1 -1
- package/views/webgl/testSamplerPrecision.js +1 -1
- package/views/webgl/tests/SimpleDraw.js +1 -1
- package/widgets/BasemapLayerList.js +1 -1
- package/widgets/BuildingExplorer/BuildingDisciplinesViewModel.js +1 -1
- package/widgets/Editor/BatchCreateWorkflow.js +1 -1
- package/widgets/Editor/CreateWorkflow.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/ElevationProfile/components/SettingsButton.js +1 -1
- package/widgets/ElevationProfile.js +1 -1
- package/widgets/Feature/FeatureExpression/FeatureExpressionViewModel.js +1 -1
- package/widgets/Feature/FeatureExpression.js +1 -1
- package/widgets/Feature/FeatureMedia/FeatureMediaViewModel.js +1 -1
- package/widgets/Feature/FeatureMedia.js +1 -1
- package/widgets/Feature/FeatureViewModel.js +1 -1
- package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
- package/widgets/FeatureForm/InputField.js +1 -1
- package/widgets/FeatureForm/InputFieldGroup.js +1 -1
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTable/Grid/Grid.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/FeatureTemplates.js +1 -1
- package/widgets/FloorFilter.js +1 -1
- package/widgets/LayerList/LayerListViewModel.js +1 -1
- package/widgets/LayerList/ListItemPanel.js +1 -1
- package/widgets/LayerList/support/layerListUtils.js +1 -1
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/Popup.js +1 -1
- package/widgets/Print.js +1 -1
- package/widgets/Search.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Weather/CoverageSlider.js +5 -0
- package/widgets/Weather/WeatherViewModel.js +1 -1
- package/widgets/Weather/css.js +1 -1
- package/widgets/Weather.js +1 -1
- package/widgets/support/geolocationUtils.js +1 -1
- package/assets/esri/core/workers/chunks/0881ce46b10362861f87.js +0 -1
- package/assets/esri/core/workers/chunks/0c0a02770eeeb3e28ea1.js +0 -1
- package/assets/esri/core/workers/chunks/0d2effbd84a9482eb639.js +0 -1
- package/assets/esri/core/workers/chunks/0f04246c1b591a3ac74d.js +0 -1
- package/assets/esri/core/workers/chunks/1ac6be0dc25e16c75d06.js +0 -1
- package/assets/esri/core/workers/chunks/1f8110ea12d65ca94b55.js +0 -1
- package/assets/esri/core/workers/chunks/2025d0fd61a64876c81b.js +0 -1
- package/assets/esri/core/workers/chunks/241859d74c0daac62e11.js +0 -1
- package/assets/esri/core/workers/chunks/2c9af2ebd72d9b55329b.js +0 -1
- package/assets/esri/core/workers/chunks/331be347c1b1ca0be2d2.js +0 -1
- package/assets/esri/core/workers/chunks/39af317388ecebb4387d.js +0 -1
- package/assets/esri/core/workers/chunks/39be2893a7dbdecfd65a.js +0 -1
- package/assets/esri/core/workers/chunks/3a20f66b0b7d08064e34.js +0 -1
- package/assets/esri/core/workers/chunks/445099d037affd139ed0.js +0 -1
- package/assets/esri/core/workers/chunks/45848fecec88ed2da33d.js +0 -1
- package/assets/esri/core/workers/chunks/48d3a3abc53abe6a4017.js +0 -1
- package/assets/esri/core/workers/chunks/5005b8c1fdd5cb9a4c19.js +0 -1
- package/assets/esri/core/workers/chunks/52e4c367c72ea7cc3457.js +0 -1
- package/assets/esri/core/workers/chunks/5d8170f6207dbeb4de1b.js +0 -1
- package/assets/esri/core/workers/chunks/615aa2d3ecafe30c80c0.js +0 -1
- package/assets/esri/core/workers/chunks/642c38ac00a962f35d44.js +0 -1
- package/assets/esri/core/workers/chunks/64459604505647e9c714.js +0 -1
- package/assets/esri/core/workers/chunks/653d1550dd1a4867a9fc.js +0 -1
- package/assets/esri/core/workers/chunks/65f73fbbc3c7c60c6d3d.js +0 -1
- package/assets/esri/core/workers/chunks/6db7081d344bea26ef64.js +0 -1
- package/assets/esri/core/workers/chunks/6deac533bb455be4004b.js +0 -1
- package/assets/esri/core/workers/chunks/6e13dab8ec43f7494297.js +0 -1
- package/assets/esri/core/workers/chunks/722a10c65456844d72b9.js +0 -1
- package/assets/esri/core/workers/chunks/7bd4c3ee43fb038b88d8.js +0 -1
- package/assets/esri/core/workers/chunks/803de5097a8a2c4b58a8.js +0 -1
- package/assets/esri/core/workers/chunks/8298231a0fd0129b0d5c.js +0 -1
- package/assets/esri/core/workers/chunks/8500c6c011400af1b7bd.js +0 -1
- package/assets/esri/core/workers/chunks/8b322a2a47dfdbb59b45.js +0 -1
- package/assets/esri/core/workers/chunks/8f83bebef9174c3f15da.js +0 -1
- package/assets/esri/core/workers/chunks/904332faa22bc0e876cb.js +0 -1
- package/assets/esri/core/workers/chunks/950565d1e682fc4072e1.js +0 -1
- package/assets/esri/core/workers/chunks/9846098704ee38bf6350.js +0 -1
- package/assets/esri/core/workers/chunks/a247ddd84245c81112c8.js +0 -1
- package/assets/esri/core/workers/chunks/a721342a32541717324d.js +0 -1
- package/assets/esri/core/workers/chunks/a9ffa806df20130ecfb6.js +0 -1
- package/assets/esri/core/workers/chunks/af13e534e4160636bd3d.js +0 -1
- package/assets/esri/core/workers/chunks/b2f62234ebb8b6158baa.js +0 -1
- package/assets/esri/core/workers/chunks/b51261a9a9ab62388839.js +0 -971
- package/assets/esri/core/workers/chunks/b58eba403bd517a7bb15.js +0 -1
- package/assets/esri/core/workers/chunks/b5bb7cfa26b1f0cec67a.js +0 -1
- package/assets/esri/core/workers/chunks/b8666d1a4e4fff7a4703.js +0 -1
- package/assets/esri/core/workers/chunks/bea1da9e3f878e0e2c83.js +0 -1
- package/assets/esri/core/workers/chunks/c1b6c31fa3ec1542f996.js +0 -1
- package/assets/esri/core/workers/chunks/c32a4fbdc87225f84019.js +0 -1
- package/assets/esri/core/workers/chunks/c67fea81f69a60c0eaef.js +0 -1
- package/assets/esri/core/workers/chunks/cb68db7169b9dfd1c3ff.js +0 -1
- package/assets/esri/core/workers/chunks/cc96608b2802fbfe7a08.js +0 -1
- package/assets/esri/core/workers/chunks/cd02fe27eb07681cb366.js +0 -1
- package/assets/esri/core/workers/chunks/d336afd5890dcdbf5341.js +0 -1
- package/assets/esri/core/workers/chunks/da69e3e5949fe1716e34.js +0 -1
- package/assets/esri/core/workers/chunks/daa9c450b2e2a5371249.js +0 -1
- package/assets/esri/core/workers/chunks/dd63ba77b7e4c3c9c594.js +0 -1
- package/assets/esri/core/workers/chunks/dfa57982d28c9aeb97b9.js +0 -1
- package/assets/esri/core/workers/chunks/e01812116b27874948f0.js +0 -1
- package/assets/esri/core/workers/chunks/e5c9d8482b913cf3580a.js +0 -1
- package/assets/esri/core/workers/chunks/eeadd92f0bede9fc8745.js +0 -1
- package/assets/esri/core/workers/chunks/fbb67cb6224aed2cce16.js +0 -1
- package/assets/esri/core/workers/chunks/feeaf61424336e9eac88.js +0 -1
- package/assets/esri/core/workers/chunks/ff02295329a8986d0568.js +0 -1
- package/tasks/operations/identify.js +0 -5
- package/views/2d/engine/webgl/mesh/templates/meshUtils.js +0 -5
- package/views/3d/layers/graphics/Graphics3DFeatureLikeLayerView.js +0 -5
- package/views/3d/layers/graphics/Graphics3DGraphicLikeLayerView.js +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4889,3172],{80539:(e,t,i)=>{i.d(t,{Z:()=>F});var r,s=i(43697),o=i(3894),n=i(32448),a=i(22974),l=i(70586),u=i(71143);!function(e){e[e.ADD=1]="ADD",e[e.REMOVE=2]="REMOVE",e[e.MOVE=4]="MOVE"}(r||(r={}));var p,d=i(1654),c=i(5600),m=i(75215),h=i(52421),b=i(52011),y=i(58971),f=i(39020);class v{constructor(){this._observers=[]}observe(e){return this._observers.includes(e)||this._observers.push(e),new f.X(this._observers,e)}notify(){const e=this._observers.slice();for(let t=0;t<e.length;++t){const i=e[t];i.onInvalidated(),i.onCommitted()}}}const g=new u.Z(class{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}},void 0,(e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1})),C=()=>{};function T(e){return e?e instanceof D?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function S(e){if(e&&e.length)return e[0]}function _(e,t,i,r){const s=Math.min(e.length-i,t.length-r);let o=0;for(;o<s&&e[i+o]===t[r+o];)o++;return o}function w(e,t,i,r){t&&t.forEach(((t,s,o)=>{e.push(t),w(e,i.call(r,t,s,o),i,r)}))}const O=new Set,N=new Set,I=new Set,x=new Map;let E=0,D=p=class extends n.Z.EventedAccessor{constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._timer=null,this._observable=new v,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:E++})}static isCollection(e){return null!=e&&e instanceof p}normalizeCtorArgs(e){return e?Array.isArray(e)||e instanceof p?{items:e}:e:{}}destroy(){this.removeAll()}*[Symbol.iterator](){yield*this.items}get items(){return(0,y.it)(this._observable),this._items}set items(e){this._emitBeforeChanges(r.ADD)||(this._splice(0,this.length,T(e)),this._emitAfterChanges(r.ADD))}hasEventListener(e){return"change"===e?this._chgListeners.length>0:this._emitter.hasEventListener(e)}on(e,t){if("change"===e){const e=this._chgListeners,i={removed:!1,callback:t};return e.push(i),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),{remove(){this.remove=C,i.removed=!0,e.splice(e.indexOf(i),1)}}}return this._emitter.on(e,t)}once(e,t){const i=this.on(e,t);return{remove(){i.remove()}}}add(e,t){if((0,y.it)(this._observable),this._emitBeforeChanges(r.ADD))return this;const i=this.getNextIndex(null!=t?t:null);return this._splice(i,0,[e]),this._emitAfterChanges(r.ADD),this}addMany(e,t=this._items.length){if((0,y.it)(this._observable),!e||!e.length)return this;if(this._emitBeforeChanges(r.ADD))return this;const i=this.getNextIndex(t);return this._splice(i,0,T(e)),this._emitAfterChanges(r.ADD),this}removeAll(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(r.REMOVE))return[];const e=this._splice(0,this.length)||[];return this._emitAfterChanges(r.REMOVE),e}clone(){return(0,y.it)(this._observable),this._createNewInstance({items:this._items.map(a.d9)})}concat(...e){(0,y.it)(this._observable);const t=e.map(T);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(r.REMOVE))return;const i=(0,l.j0)(this._splice(0,this.length)),s=i.length;for(let r=0;r<s;r++)e.call(t,i[r],r,i);this._emitAfterChanges(r.REMOVE)}every(e,t){return(0,y.it)(this._observable),this._items.every(e,t)}filter(e,t){let i;return(0,y.it)(this._observable),i=2===arguments.length?this._items.filter(e,t):this._items.filter(e),this._createNewInstance({items:i})}find(e,t){return(0,y.it)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,y.it)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,y.it)(this._observable);const i=[];return w(i,this,e,t),new p(i)}forEach(e,t){return(0,y.it)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,y.it)(this._observable),this._items[e]}getNextIndex(e){(0,y.it)(this._observable);const t=this.length;return(e=null==e?t:e)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,y.it)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,y.it)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,y.it)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,y.it)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,y.it)(this._observable);const i=this._items.map(e,t);return new p({items:i})}reorder(e,t=this.length-1){(0,y.it)(this._observable);const i=this.indexOf(e);if(-1!==i){if(t<0?t=0:t>=this.length&&(t=this.length-1),i!==t){if(this._emitBeforeChanges(r.MOVE))return e;this._splice(i,1),this._splice(t,0,[e]),this._emitAfterChanges(r.MOVE)}return e}}pop(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(r.REMOVE))return;const e=S(this._splice(this.length-1,1));return this._emitAfterChanges(r.REMOVE),e}push(...e){return(0,y.it)(this._observable),this._emitBeforeChanges(r.ADD)||(this._splice(this.length,0,e),this._emitAfterChanges(r.ADD)),this.length}reduce(e,t){(0,y.it)(this._observable);const i=this._items;return 2===arguments.length?i.reduce(e,t):i.reduce(e)}reduceRight(e,t){(0,y.it)(this._observable);const i=this._items;return 2===arguments.length?i.reduceRight(e,t):i.reduceRight(e)}remove(e){return(0,y.it)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,y.it)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(r.REMOVE))return;const t=S(this._splice(e,1));return this._emitAfterChanges(r.REMOVE),t}removeMany(e){if((0,y.it)(this._observable),!e||!e.length||this._emitBeforeChanges(r.REMOVE))return[];const t=e instanceof p?e.toArray():e,i=this._items,s=[],o=t.length;for(let e=0;e<o;e++){const r=t[e],o=i.indexOf(r);if(o>-1){const r=1+_(t,i,e+1,o+1),n=this._splice(o,r);n&&n.length>0&&s.push.apply(s,n),e+=r-1}}return this._emitAfterChanges(r.REMOVE),s}reverse(){if((0,y.it)(this._observable),this._emitBeforeChanges(r.MOVE))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(r.MOVE),this}shift(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(r.REMOVE))return;const e=S(this._splice(0,1));return this._emitAfterChanges(r.REMOVE),e}slice(e=0,t=this.length){return(0,y.it)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,y.it)(this._observable),this._items.some(e,t)}sort(e){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(r.MOVE))return this;const t=(0,l.j0)(this._splice(0,this.length));return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(r.MOVE),this}splice(e,t,...i){(0,y.it)(this._observable);const s=(t?r.REMOVE:0)|(i.length?r.ADD:0);if(this._emitBeforeChanges(s))return[];const o=this._splice(e,t,i)||[];return this._emitAfterChanges(s),o}toArray(){return(0,y.it)(this._observable),this._items.slice()}toJSON(){return(0,y.it)(this._observable),this.toArray()}toLocaleString(){return(0,y.it)(this._observable),this._items.toLocaleString()}toString(){return(0,y.it)(this._observable),this._items.toString()}unshift(...e){return(0,y.it)(this._observable),!e.length||this._emitBeforeChanges(r.ADD)||(this._splice(0,0,e),this._emitAfterChanges(r.ADD)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,i){const r=this._items,s=this.itemType;let o,n;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._timer=(0,d.Os)((()=>this._dispatchChange()))),t){if(n=r.splice(e,t),this.hasEventListener("before-remove")){const t=g.acquire();t.target=this,t.cancellable=!0;for(let i=0,s=n.length;i<s;i++)o=n[i],t.reset(o),this.emit("before-remove",t),t.defaultPrevented&&(n.splice(i,1),r.splice(e,0,o),e+=1,i-=1,s-=1);g.release(t)}if(this.length=this._items.length,this.hasEventListener("after-remove")){const e=g.acquire();e.target=this,e.cancellable=!1;const t=n.length;for(let i=0;i<t;i++)e.reset(n[i]),this.emit("after-remove",e);g.release(e)}}if(i&&i.length){if(s){const e=[];for(const t of i){const i=s.ensureType(t);null==i&&null!=t||e.push(i)}i=e}const t=this.hasEventListener("before-add"),o=this.hasEventListener("after-add"),n=e===this.length;if(t||o){const s=g.acquire();s.target=this,s.cancellable=!0;const a=g.acquire();a.target=this,a.cancellable=!1;for(const l of i)t?(s.reset(l),this.emit("before-add",s),s.defaultPrevented||(n?r.push(l):r.splice(e++,0,l),this._set("length",r.length),o&&(a.reset(l),this.emit("after-add",a)))):(n?r.push(l):r.splice(e++,0,l),this._set("length",r.length),a.reset(l),this.emit("after-add",a));g.release(a),g.release(s)}else{if(n)for(const e of i)r.push(e);else r.splice(e,0,...i);this._set("length",r.length)}}return(i&&i.length||n&&n.length)&&this._notifyChangeEvent(i,n),n}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const i=g.acquire();i.target=this,i.cancellable=!0,i.type=e,this.emit("before-changes",i),t=i.defaultPrevented,g.release(i)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=g.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),g.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;O.clear(),N.clear(),I.clear();for(const{added:t,removed:i}of e){if(t)if(0===I.size&&0===N.size)for(const e of t)O.add(e);else for(const e of t)N.has(e)?(I.add(e),N.delete(e)):I.has(e)||O.add(e);if(i)if(0===I.size&&0===O.size)for(const e of i)N.add(e);else for(const e of i)O.has(e)?O.delete(e):(I.delete(e),N.add(e))}const i=o.Z.acquire();O.forEach((e=>{i.push(e)}));const r=o.Z.acquire();N.forEach((e=>{r.push(e)}));const s=this._items,n=t.items,a=o.Z.acquire();if(I.forEach((e=>{n.indexOf(e)!==s.indexOf(e)&&a.push(e)})),t.listeners&&(i.length||r.length||a.length)){const e={target:this,added:i,removed:r,moved:a},s=t.listeners.length;for(let i=0;i<s;i++){const r=t.listeners[i];r.removed||r.callback.call(this,e)}}o.Z.release(i),o.Z.release(r),o.Z.release(a)}O.clear(),N.clear(),I.clear()}};D.ofType=e=>{if(!e)return p;if(x.has(e))return x.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const i in e.typeMap){const r=e.typeMap[i].prototype.declaredClass;t?t+=` | ${r}`:t=r}let i=class extends p{};return(0,s._)([(0,h.c)({Type:e,ensureType:"function"==typeof e?(0,m.se)(e):(0,m.N7)(e)})],i.prototype,"itemType",void 0),i=(0,s._)([(0,b.j)(`esri.core.Collection<${t}>`)],i),x.set(e,i),i},(0,s._)([(0,c.Cb)()],D.prototype,"length",void 0),(0,s._)([(0,c.Cb)()],D.prototype,"items",null),D=p=(0,s._)([(0,b.j)("esri.core.Collection")],D);const F=D},32448:(e,t,i)=>{i.d(t,{Z:()=>l});var r=i(43697),s=i(15923),o=i(50758),n=i(52011);class a{constructor(){this._emitter=new a.EventEmitter(this)}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}}!function(e){class t{constructor(e=null){this.target=e,this._listenersMap=null}clear(){this._listenersMap&&this._listenersMap.clear(),this._listenersMap=null}emit(e,t){const i=this._listenersMap&&this._listenersMap.get(e);if(!i)return!1;const r=this.target||this;return[...i].forEach((e=>{e.call(r,t)})),i.length>0}on(e,t){if(Array.isArray(e)){const i=e.map((e=>this.on(e,t)));return(0,o.AL)(i)}if(e.indexOf(",")>-1)throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap||(this._listenersMap=new Map);const i=this._listenersMap.get(e)||[];return i.push(t),this._listenersMap.set(e,i),{remove:()=>{const i=this._listenersMap&&this._listenersMap.get(e)||[],r=i.indexOf(t);r>=0&&i.splice(r,1)}}}once(e,t){const i=this.on(e,(e=>{i.remove(),t.call(null,e)}));return i}hasEventListener(e){const t=this._listenersMap&&this._listenersMap.get(e);return null!=t&&t.length>0}}e.EventEmitter=t,e.EventedMixin=e=>{let i=class extends e{constructor(){super(...arguments),this._emitter=new t}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};return i=(0,r._)([(0,n.j)("esri.core.Evented")],i),i};let i=class extends s.Z{constructor(){super(...arguments),this._emitter=new a.EventEmitter(this)}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};i=(0,r._)([(0,n.j)("esri.core.Evented")],i),e.EventedAccessor=i}(a||(a={}));const l=a},16453:(e,t,i)=>{i.d(t,{R:()=>g,w:()=>C});var r=i(43697),s=i(15923),o=i(70586),n=i(41103),a=i(22974),l=i(31263);class u{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(l.kk),this._values=new Map,this.multipleOriginsSupported=!0}clone(e){const t=new u,i=this._originStores[l.s3.DEFAULTS];i&&i.forEach(((e,i)=>{t.set(i,(0,a.d9)(e),l.s3.DEFAULTS)}));for(let i=l.s3.SERVICE;i<l.kk;i++){const r=this._originStores[i];r&&r.forEach(((r,s)=>{e&&e.has(s)||t.set(s,(0,a.d9)(r),i)}))}return t}get(e,t){const i=void 0===t?this._values:this._originStores[t];return i?i.get(e):void 0}keys(e){const t=null==e?this._values:this._originStores[e];return t?[...t.keys()]:[]}set(e,t,i=l.s3.USER){let r=this._originStores[i];if(r||(r=new Map,this._originStores[i]=r),r.set(e,t),!this._values.has(e)||(0,o.j0)(this._propertyOriginMap.get(e))<=i){const r=this._values.get(e);return this._values.set(e,t),this._propertyOriginMap.set(e,i),r!==t}return!1}delete(e,t=l.s3.USER){const i=this._originStores[t];if(!i)return;const r=i.get(e);if(i.delete(e),this._values.has(e)&&this._propertyOriginMap.get(e)===t){this._values.delete(e);for(let i=t-1;i>=0;i--){const t=this._originStores[i];if(t&&t.has(e)){this._values.set(e,t.get(e)),this._propertyOriginMap.set(e,i);break}}}return r}has(e,t){const i=void 0===t?this._values:this._originStores[t];return!!i&&i.has(e)}revert(e,t){for(;t>0&&!this.has(e,t);)--t;const i=this._originStores[t],r=i&&i.get(e),s=this._values.get(e);return this._values.set(e,r),this._propertyOriginMap.set(e,t),s!==r}originOf(e){return this._propertyOriginMap.get(e)||l.s3.DEFAULTS}forEach(e){this._values.forEach(e)}}var p=i(50549),d=i(1153),c=i(52011);const m=e=>{let t=class extends e{constructor(...e){super(...e);const t=(0,o.j0)((0,d.vw)(this)),i=t.store,r=new u;t.store=r,(0,n.M)(t,i,r)}read(e,t){(0,p.ij)(this,e,t)}getAtOrigin(e,t){const i=h(this),r=(0,l.M9)(t);if("string"==typeof e)return i.get(e,r);const s={};return e.forEach((e=>{s[e]=i.get(e,r)})),s}originOf(e){return(0,l.x3)(this.originIdOf(e))}originIdOf(e){return h(this).originOf(e)}revert(e,t){const i=h(this),r=(0,l.M9)(t),s=(0,d.vw)(this);let o;o="string"==typeof e?"*"===e?i.keys(r):[e]:e,o.forEach((e=>{s.invalidate(e),i.revert(e,r),s.commit(e)}))}};return t=(0,r._)([(0,c.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],t),t};function h(e){return(0,d.vw)(e).store}let b=class extends(m(s.Z)){};b=(0,r._)([(0,c.j)("esri.core.ReadOnlyMultiOriginJSONSupport")],b);var y=i(76169);const f=e=>{let t=class extends e{constructor(...e){super(...e)}clear(e,t="user"){return v(this).delete(e,(0,l.M9)(t))}write(e={},t){return(0,y.cW)(this,e=e||{},t),e}setAtOrigin(e,t,i){(0,d.vw)(this).setAtOrigin(e,t,(0,l.M9)(i))}removeOrigin(e){const t=v(this),i=(0,l.M9)(e),r=t.keys(i);for(const e of r)t.originOf(e)===i&&t.set(e,t.get(e,i),l.s3.USER)}updateOrigin(e,t){const i=v(this),r=(0,l.M9)(t),s=this.get(e);for(let t=r+1;t<l.kk;++t)i.delete(e,t);i.set(e,s,r)}toJSON(e){return this.write({},e)}};return t=(0,r._)([(0,c.j)("esri.core.WriteableMultiOriginJSONSupport")],t),t.prototype.toJSON.isDefaultToJSON=!0,t};function v(e){return(0,d.vw)(e).store}const g=e=>{let t=class extends(f(m(e))){constructor(...e){super(...e)}};return t=(0,r._)([(0,c.j)("esri.core.MultiOriginJSONSupport")],t),t};let C=class extends(g(s.Z)){};C=(0,r._)([(0,c.j)("esri.core.MultiOriginJSONSupport")],C)},52421:(e,t,i)=>{function r(e){return(t,i)=>{t[i]=e}}i.d(t,{c:()=>r})},74085:(e,t,i)=>{function r(e){}i.d(t,{Bg:()=>r}),i(80442)},67900:(e,t,i)=>{i.d(t,{gV:()=>P,En:()=>_,Z7:()=>E,c9:()=>x,_R:()=>N,qE:()=>B,cM:()=>I,hd:()=>p,ty:()=>w,Jo:()=>U,$C:()=>O}),i(80442);var r=i(35454),s=i(70586),o=i(24678),n=i(82971),a=i(68441),l=i(8744),u=i(58116);const p=39.37,d=a.sv.radius*Math.PI/200,c=/UNIT\[([^\]]+)\]\]$/i,m=u.Z,h=/UNIT\[([^\]]+)\]/i,b=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),y=(0,r.wY)()({meter:"meters",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",yard_clarke:"clarke-yards",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",chain_benoit_1895_b:"benoit-1895-b-chains",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",foot_gold_coast:"gold-coast-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers"}),f=e=>e*e,v=e=>e*e*e,g={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},decimeters:{inBaseUnits:.1},meters:{inBaseUnits:1},kilometers:{inBaseUnits:1e3},inches:{inBaseUnits:.0254},feet:{inBaseUnits:.3048},yards:{inBaseUnits:.9144},miles:{inBaseUnits:1609.344},"nautical-miles":{inBaseUnits:1852},"us-feet":{inBaseUnits:1200/3937}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:f(.001)},"square-centimeters":{inBaseUnits:f(.01)},"square-decimeters":{inBaseUnits:f(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:f(1e3)},"square-inches":{inBaseUnits:f(.0254)},"square-feet":{inBaseUnits:f(.3048)},"square-yards":{inBaseUnits:f(.9144)},"square-miles":{inBaseUnits:f(1609.344)},"square-us-feet":{inBaseUnits:f(1200/3937)},acres:{inBaseUnits:.0015625*f(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*v(.001)},"cubic-centimeters":{inBaseUnits:1e3*v(.01)},"cubic-decimeters":{inBaseUnits:1e3*v(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*v(1e3)},"cubic-inches":{inBaseUnits:1e3*v(.0254)},"cubic-feet":{inBaseUnits:1e3*v(.3048)},"cubic-yards":{inBaseUnits:1e3*v(.9144)},"cubic-miles":{inBaseUnits:1e3*v(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},C=function(){const e={};for(const t in g)for(const i in g[t].units)e[i]=t;return e}();function T(e){const t=C[e];if(t)return t;throw new Error("unknown measure")}function S(e,t=null){return t=t||T(e),g[t].baseUnit===e}function _(e,t,i){if(t===i)return e;const r=T(t);if(r!==T(i))throw new Error("incompatible units");const s=S(t,r)?e:function(e,t,i){return e*g[i].units[t].inBaseUnits}(e,t,r);return S(i,r)?s:function(e,t,i){return e/g[i].units[t].inBaseUnits}(s,i,r)}function w(e,t,i){return _(e,t,"meters")/(i*Math.PI/180)}function O(e){return y.fromJSON(e.toLowerCase())||null}function N(e){if(e&&"object"==typeof e&&!(0,l.N$)(e))return 1;const t=x(e);return t>1e5?1:t}function I(e){return x(e)>=(e instanceof n.Z?(0,o.Iu)(e).metersPerDegree:1e5)?"meters":B(e)}function x(e,t=a.sv.metersPerDegree){return E(e,!0)||t}function E(e,t=!1){let i,r,s=null;if(null!=e&&("object"==typeof e?(i=e.wkid,r=e.wkt):"number"==typeof e?i=e:"string"==typeof e&&(r=e)),i){if((0,l.o$)(i))return a.yr.metersPerDegree;if((0,l.ME)(i))return a.Z1.metersPerDegree;s=m.values[m[i]],!s&&t&&b.has(i)&&(s=d)}else r&&(j(r)?s=D(c.exec(r),s):A(r)&&(s=D(h.exec(r),s)));return s}function D(e,t){return e&&e[1]?F(e[1]):t}function F(e){return parseFloat(e.split(",")[1])}function B(e){let t,i,r=null;if(null!=e&&("object"==typeof e?(t=e.wkid,i=e.wkt):"number"==typeof e?t=e:"string"==typeof e&&(i=e)),t)r=m.units[m[t]];else if(i){const e=j(i)?c:A(i)?h:null;if(e){const t=e.exec(i);t&&t[1]&&(r=function(e){const t=/[\\"\\']{1}([^\\"\\']+)/.exec(e);let i=t&&t[1];if(!i||-1===m.units.indexOf(i)){const t=F(e);i=null;const r=m.values;for(let e=0;e<r.length;++e)if(Math.abs(t-r[e])<1e-7){i=m.units[e];break}}return i}(t[1]))}}return(0,s.pC)(r)?O(r):null}function A(e){return/^GEOCCS/i.test(e)}function j(e){return/^PROJCS/i.test(e)}const M={esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"},L={esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"},P=(0,r.wY)()(M),U=(0,r.wY)()(L);(0,r.wY)()({...M,...L})},24678:(e,t,i)=>{i.d(t,{GG:()=>a,HQ:()=>l,VY:()=>u,wY:()=>p,Iu:()=>c,e8:()=>m,rS:()=>d});var r=i(82971),s=i(68441),o=i(8744);function n(e){return new r.Z({wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${e.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`})}const a=n(s.sv),l=n(s.yr),u=n(s.Z1),p=new r.Z({wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${s.sv.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`});function d(e){return e&&((0,o.BZ)(e)||e===l)?l:e&&((0,o.V2)(e)||e===u)?u:a}function c(e){return e&&((0,o.BZ)(e)||e===l)?s.yr:e&&((0,o.V2)(e)||e===u)?s.Z1:s.sv}function m(e){return(0,o.o$)(e)?s.yr:(0,o.ME)(e)?s.Z1:s.sv}},38581:(e,t,i)=>{i.d(t,{aX:()=>T});var r=i(68773),s=i(20102),o=i(92604),n=i(70586),a=i(17332),l=i(58901),u=i(73913),p=i(8744),d=i(40488),c=(i(66577),i(3172)),m=i(17452),h=i(33955);const b=o.Z.getLogger("esri.geometry.support.normalizeUtils");function y(e){return"polygon"===e[0].type}function f(e){return"polyline"===e[0].type}function v(e,t,i){if(t){const t=function(e,t){if(!(e instanceof l.Z||e instanceof a.Z)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw b.error(e),new s.Z(e)}const i=(0,u.x3)(e),r=[];for(const e of i){const i=[];r.push(i),i.push([e[0][0],e[0][1]]);for(let r=0;r<e.length-1;r++){const s=e[r][0],o=e[r][1],n=e[r+1][0],a=e[r+1][1],l=Math.sqrt((n-s)*(n-s)+(a-o)*(a-o)),u=(a-o)/l,p=(n-s)/l,d=l/t;if(d>1){for(let e=1;e<=d-1;e++){const r=e*t,n=p*r+s,a=u*r+o;i.push([n,a])}const e=(l+Math.floor(d-1)*t)/2,r=p*e+s,n=u*e+o;i.push([r,n])}i.push([n,a])}}return function(e){return"polygon"===e.type}(e)?new a.Z({rings:r,spatialReference:e.spatialReference}):new l.Z({paths:r,spatialReference:e.spatialReference})}(e,1e6);e=(0,d.Sx)(t,!0)}return i&&(e=(0,u.Sy)(e,i)),e}function g(e,t,i){if(Array.isArray(e)){const r=e[0];if(r>t){const i=(0,u.XZ)(r,t);e[0]=r+i*(-2*t)}else if(r<i){const t=(0,u.XZ)(r,i);e[0]=r+t*(-2*i)}}else{const r=e.x;if(r>t){const i=(0,u.XZ)(r,t);e=e.clone().offset(i*(-2*t),0)}else if(r<i){const t=(0,u.XZ)(r,i);e=e.clone().offset(t*(-2*i),0)}}return e}function C(e,t){let i=-1;for(let r=0;r<t.cutIndexes.length;r++){const s=t.cutIndexes[r],o=t.geometries[r],n=(0,u.x3)(o);for(let e=0;e<n.length;e++){const t=n[e];t.some((i=>{if(i[0]<180)return!0;{let i=0;for(let e=0;e<t.length;e++){const r=t[e][0];i=r>i?r:i}i=Number(i.toFixed(9));const r=-360*(0,u.XZ)(i,180);for(let i=0;i<t.length;i++){const t=o.getPoint(e,i);o.setPoint(e,i,t.clone().offset(r,0))}return!0}}))}if(s===i){if(y(e))for(const t of(0,u.x3)(o))e[s]=e[s].addRing(t);else if(f(e))for(const t of(0,u.x3)(o))e[s]=e[s].addPath(t)}else i=s,e[s]=o}return e}async function T(e,t,i){var s;if(!Array.isArray(e))return T([e],t);const o=null!=(s=null==t?void 0:t.url)?s:r.Z.geometryServiceUrl;let b,y,f,S,_,w,O,N,I=0;const x=[],E=[];for(const t of e)if((0,n.Wi)(t))E.push(t);else if(b||(b=t.spatialReference,y=(0,p.C5)(b),f=b.isWebMercator,w=f?102100:4326,S=u.UZ[w].maxX,_=u.UZ[w].minX,O=u.UZ[w].plus180Line,N=u.UZ[w].minus180Line),y)if("mesh"===t.type)E.push(t);else if("point"===t.type)E.push(g(t.clone(),S,_));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map((e=>g(e,S,_))),E.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,y);E.push(e.rings?new a.Z(e):e)}else if(t.extent){const e=t.extent,i=(0,u.XZ)(e.xmin,_)*(2*S);let r=0===i?t.clone():(0,u.Sy)(t.clone(),i);e.offset(i,0),e.intersects(O)&&e.xmax!==S?(I=e.xmax>I?e.xmax:I,r=v(r,f),x.push(r),E.push("cut")):e.intersects(N)&&e.xmin!==_?(I=e.xmax*(2*S)>I?e.xmax*(2*S):I,r=v(r,f,360),x.push(r),E.push("cut")):E.push(r)}else E.push(t.clone());else E.push(t);let D=(0,u.XZ)(I,S),F=-90;const B=D,A=new l.Z;for(;D>0;){const e=360*D-180;A.addPath([[e,F],[e,-1*F]]),F*=-1,D--}if(x.length>0&&B>0){const t=C(x,await async function(e,t,i,r){const s="string"==typeof e?(0,m.mN)(e):e,o=t[0].spatialReference,n={...r,query:{...s.query,f:"json",sr:JSON.stringify(o),target:JSON.stringify({geometryType:(0,h.Ji)(t[0]),geometries:t}),cutter:JSON.stringify(i)}},a=await(0,c.default)(s.path+"/cut",n),{cutIndexes:l,geometries:u=[]}=a.data;return{cutIndexes:l,geometries:u.map((e=>{const t=(0,h.im)(e);return t.spatialReference=o,t}))}}(o,x,A,i)),r=[],s=[];for(let i=0;i<E.length;i++){const o=E[i];if("cut"!==o)s.push(o);else{const o=t.shift(),a=e[i];(0,n.pC)(a)&&"polygon"===a.type&&a.rings&&a.rings.length>1&&o.rings.length>=a.rings.length?(r.push(o),s.push("simplify")):s.push(f?(0,d.$)(o):o)}}if(!r.length)return s;const a=await async function(e,t,i){const r="string"==typeof e?(0,m.mN)(e):e,s=t[0].spatialReference,o=(0,h.Ji)(t[0]),n={...i,query:{...r.query,f:"json",sr:s.wkid?s.wkid:JSON.stringify(s),geometries:JSON.stringify((a=t,{geometryType:(0,h.Ji)(a[0]),geometries:a.map((e=>e.toJSON()))}))}};var a;return function(e,t,i){const r=(0,h.q9)(t);return e.map((e=>{const t=r.fromJSON(e);return t.spatialReference=i,t}))}((await(0,c.default)(r.path+"/simplify",n)).data,o,s)}(o,r,i),l=[];for(let e=0;e<s.length;e++){const t=s[e];"simplify"!==t?l.push(t):l.push(f?(0,d.$)(a.shift()):a.shift())}return l}const j=[];for(let e=0;e<E.length;e++){const t=E[e];if("cut"!==t)j.push(t);else{const e=x.shift();j.push(!0===f?(0,d.$)(e):e)}}return Promise.resolve(j)}},73913:(e,t,i)=>{i.d(t,{UZ:()=>n,x3:()=>u,XZ:()=>a,Sy:()=>l});var r=i(58901),s=i(82971),o=i(33955);const n={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.Z({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:s.Z.WebMercator}),minus180Line:new r.Z({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:s.Z.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.Z({paths:[[[180,-180],[180,180]]],spatialReference:s.Z.WGS84}),minus180Line:new r.Z({paths:[[[-180,-180],[-180,180]]],spatialReference:s.Z.WGS84})}};function a(e,t){return Math.ceil((e-t)/(2*t))}function l(e,t){const i=u(e);for(const e of i)for(const i of e)i[0]+=t;return e}function u(e){return(0,o.oU)(e)?e.rings:e.paths}},40330:(e,t,i)=>{i.d(t,{Dp:()=>u,id:()=>a,qh:()=>l,i8:()=>o,Nv:()=>n});var r=i(80442),s=i(17452);const o="4.23",n={async request(e,t){var r;const{default:o}=await i.e(3172).then(i.bind(i,3172)),n=e.options,a=n.responseType;n.signal=null==t?void 0:t.signal,n.responseType="native"===a||"native-request-init"===a?"native-request-init":["blob","json","text"].includes(a)&&null!=(r=(0,s.oh)(e.url))&&r.after?a:"array-buffer";const l=await o(e.url,n),u={data:l.data,ssl:l.ssl};switch(l.requestOptions.responseType){case"native-request-init":return delete u.data.signal,u;case"blob":u.data=await u.data.arrayBuffer();break;case"json":u.data=(new TextEncoder).encode(JSON.stringify(u.data)).buffer;break;case"text":u.data=(new TextEncoder).encode(u.data).buffer}return{result:u,transferList:[u.data]}}};let a;function l(e){a=e}function u(e){const t=a&&a.findCredential(e);return t&&t.token?(0,s.ZN)(e,"token",t.token):e}(0,r.Z)("host-webworker")||((0,r.Z)("edge")||(0,r.Z)("trident"))&&console.warn("Deprecated browser - see http://esriurl.com/oldbrowser")},29600:(e,t,i)=>{i.d(t,{Z:()=>C});var r=i(43697),s=i(68773),o=(i(66577),i(3172)),n=i(20102),a=i(32448),l=i(10699),u=i(83379),p=i(92604),d=i(95330),c=i(17452),m=i(5600),h=(i(67676),i(80442),i(75215),i(52011)),b=i(6570),y=i(82971);let f=0;const v=p.Z.getLogger("esri.layers.Layer");let g=class extends(a.Z.EventedMixin((0,l.I)(u.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new b.Z(-180,-90,180,90,y.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+f++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=y.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e,r=await i.e(3529).then(i.bind(i,63529));try{return await r.fromUrl(t)}catch(e){throw v.error("#fromArcGISServerUrl({ url: '"+t.url+"'})","Failed to create layer from arcgis server url",e),e}}static async fromPortalItem(e){const t="portalItem"in e?e:{portalItem:e},r=await i.e(4579).then(i.bind(i,44579));try{return await r.fromItem(t)}catch(e){const i=t&&t.portalItem,r=i&&i.id||"unset",o=i&&i.portal&&i.portal.url||s.Z.portalUrl;throw v.error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+o+"', id: '"+r+"')",e),e}}initialize(){this.when().catch((e=>{var t,i;(0,d.D_)(e)||p.Z.getLogger(this.declaredClass).error("#load()",`Failed to load layer (title: '${null!=(t=this.title)?t:"no title"}', id: '${null!=(i=this.id)?i:"no id"}')`,{error:e})}))}destroy(){if(this.parent){const e=this,t=this.parent;"layers"in t&&t.layers.includes(e)?t.layers.remove(e):"tables"in t&&t.tables.includes(e)?t.tables.remove(e):"baseLayers"in t&&t.baseLayers.includes(e)?t.baseLayers.remove(e):"baseLayers"in t&&t.referenceLayers.includes(e)&&t.referenceLayers.remove(e)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){const e=this.url;return e?(0,c.mN)(e):null}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,o.default)(e,{query:{f:"json"},responseType:"json"})).data;throw new n.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,r._)([(0,m.Cb)({type:String})],g.prototype,"attributionDataUrl",void 0),(0,r._)([(0,m.Cb)({type:b.Z})],g.prototype,"fullExtent",void 0),(0,r._)([(0,m.Cb)({readOnly:!0})],g.prototype,"hasAttributionData",null),(0,r._)([(0,m.Cb)({type:String})],g.prototype,"id",void 0),(0,r._)([(0,m.Cb)({type:Boolean,nonNullable:!0})],g.prototype,"legendEnabled",void 0),(0,r._)([(0,m.Cb)({type:["show","hide","hide-children"]})],g.prototype,"listMode",void 0),(0,r._)([(0,m.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],g.prototype,"opacity",void 0),(0,r._)([(0,m.Cb)()],g.prototype,"parent",void 0),(0,r._)([(0,m.Cb)({readOnly:!0})],g.prototype,"parsedUrl",null),(0,r._)([(0,m.Cb)({type:Boolean})],g.prototype,"popupEnabled",void 0),(0,r._)([(0,m.Cb)({type:Boolean})],g.prototype,"attributionVisible",void 0),(0,r._)([(0,m.Cb)({type:y.Z})],g.prototype,"spatialReference",void 0),(0,r._)([(0,m.Cb)({type:String})],g.prototype,"title",void 0),(0,r._)([(0,m.Cb)({type:String,readOnly:!0,json:{read:!1}})],g.prototype,"type",void 0),(0,r._)([(0,m.Cb)()],g.prototype,"url",void 0),(0,r._)([(0,m.Cb)({type:Boolean,nonNullable:!0})],g.prototype,"visible",void 0),g=(0,r._)([(0,h.j)("esri.layers.Layer")],g);const C=g},66277:(e,t,i)=>{i.r(t),i.d(t,{default:()=>Be});var r=i(43697),s=i(68773),o=(i(66577),i(1692)),n=i(51773),a=(i(16050),i(12501),i(95088),i(79056),i(5499),i(84382),i(30687),i(91423)),l=i(80539),u=i(20102),p=i(70586),d=i(16453),c=i(78286),m=i(67900),h=i(5600),b=(i(67676),i(80442),i(75215)),y=i(71715),f=i(52011),v=i(30556),g=i(6570),C=i(8744),T=i(29600),S=i(71612),_=i(38009),w=i(16859),O=i(72965),N=i(78223),I=i(96674),x=i(4095),E=i(77987),D=i(20256),F=i(37898);let B=class extends I.wq{constructor(){super(...arguments),this.directionLines=new x.Z({color:[0,122,194],width:6}),this.directionPoints=new E.Z({color:[255,255,255],size:6,outline:{color:[0,122,194],width:2}}),this.pointBarriers=new E.Z({style:"x",size:10,outline:{color:[255,0,0],width:3}}),this.polygonBarriers=new D.Z({color:[255,170,0,.6],outline:{width:7.5,color:[255,0,0,.6]}}),this.polylineBarriers=new x.Z({width:7.5,color:[255,85,0,.7]}),this.routeInfo=new x.Z({width:8,color:[20,89,127]}),this.firstStop=new F.Z({width:23,height:23,url:`data:image/svg+xml;base64,${btoa('<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><g fill-rule="nonzero" fill="none"><path d="M15.15.3C6.9.3.3 6.9.3 15.15S6.9 29.7 15.15 29.7 29.7 23.1 29.7 15.15C29.7 6.9 23.25.3 15.15.3z" fill="#FFFFFF"/><path d="M15 4.8C9.3 4.8 4.8 9.45 4.8 15c0 5.55 4.65 10.2 10.2 10.2 5.55 0 10.2-4.5 10.2-10.2 0-5.55-4.5-10.2-10.2-10.2z" fill="#00FF00"/></g></svg>')}`}),this.middleStop=new E.Z({color:[51,51,51,1],size:12,outline:{color:[0,122,194],width:3}}),this.lastStop=new F.Z({width:23,height:23,url:`data:image/svg+xml;base64,${btoa('<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><g fill-rule="nonzero" fill="none"><path d="M15.15.3C6.9.3.3 6.9.3 15.15S6.9 29.7 15.15 29.7 29.7 23.1 29.7 15.15C29.7 6.9 23.25.3 15.15.3z" fill="#FFFFFF"/><path d="M15 4.8C9.3 4.8 4.8 9.45 4.8 15c0 5.55 4.65 10.2 10.2 10.2 5.55 0 10.2-4.5 10.2-10.2 0-5.55-4.5-10.2-10.2-10.2z" fill="#FF0000"/><path fill="#FFFFFF" d="M10.5 10.5h9v9h-9z"/></g></svg>')}`}),this.invalidStop=new F.Z({height:18,width:18,url:`data:image/svg+xml;base64,${btoa('<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M10.1.2C4.6.2.2 4.6.2 10.1s4.4 9.7 9.9 9.7 9.7-4.4 9.7-9.7c0-5.5-4.3-9.9-9.7-9.9z" fill="#FFFFFF" fill-rule="nonzero"/><path d="M10 2.7c-4.08 0-7.3 3.328-7.3 7.3s3.328 7.3 7.3 7.3 7.3-3.22 7.3-7.3c0-3.972-3.22-7.3-7.3-7.3z" fill="#FF0000" fill-rule="nonzero"/><path d="M11.414 10l5.304-5.303-1.415-1.415L10 8.586 4.697 3.282 3.282 4.697 8.586 10l-5.304 5.303 1.415 1.415L10 11.414l5.303 5.304 1.415-1.415L11.414 10z" fill="#FFFFFF"/></g></svg>')}`}),this.waypointStop=new E.Z({color:[255,255,255],size:12,outline:{color:[0,122,194],width:3}}),this.breakStop=new E.Z({color:[255,255,255],size:12,outline:{color:[0,122,194],width:3}})}};(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"directionLines",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"directionPoints",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"pointBarriers",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"polygonBarriers",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"polylineBarriers",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"routeInfo",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"firstStop",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"middleStop",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"lastStop",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"invalidStop",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"waypointStop",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,types:N.LB})],B.prototype,"breakStop",void 0),B=(0,r._)([(0,f.j)("esri.layers.support.DefaultSymbols")],B);const A=B;var j,M=i(93924),L=i(23334),P=i(58901),U=i(49352),V=i(21878);let R=j=class extends I.wq{constructor(e){super(e),this.directionLineType=null,this.directionPointId=null,this.distance=null,this.duration=null,this.fromLevel=null,this.geometry=null,this.objectId=null,this.popupTemplate=null,this.routeId=null,this.symbol=null,this.toLevel=null}static fromPortalJSON(e){var t,i,r;return new j({directionLineType:U.td.fromJSON(e.attributes.DirectionLineType),directionPointId:e.attributes.DirectionPointID,distance:e.attributes.Meters,duration:e.attributes.Minutes,fromLevel:null!=(t=e.attributes.FromLevel)?t:null,geometry:P.Z.fromJSON(e.geometry),objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,routeId:null!=(i=e.attributes.RouteID)?i:null,symbol:(0,p.pC)(e.symbol)?(0,V.i)(e.symbol):null,toLevel:null!=(r=e.attributes.ToLevel)?r:null})}toPortalJSON(){const e={geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),DirectionLineType:(0,p.pC)(this.directionLineType)?U.td.toJSON(this.directionLineType):null,DirectionPointID:(0,p.Wg)(this.directionPointId),Meters:(0,p.Wg)(this.distance),Minutes:(0,p.Wg)(this.duration)},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null};return(0,p.pC)(this.routeId)&&(e.attributes.RouteID=this.routeId),(0,p.pC)(this.fromLevel)&&(e.attributes.FromLevel=this.fromLevel),(0,p.pC)(this.toLevel)&&(e.attributes.ToLevel=this.toLevel),e}};R.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"DirectionPointID",alias:"Direction Point ID",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!1},{name:"DirectionLineType",alias:"Line Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriDirectionsLineType",codedValues:[{name:"Unknown",code:0},{name:"Segment",code:1},{name:"Maneuver Segment",code:2},{name:"Restriction violation",code:3},{name:"Scale cost barrier crossing",code:4},{name:"Heavy Traffic",code:5},{name:"Slow Traffic",code:6},{name:"Moderate Traffic",code:7}]}},{name:"Meters",alias:"Length in Meters",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"Minutes",alias:"Duration in Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"FromLevel",alias:"Start from 3D Level",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!1},{name:"ToLevel",alias:"End at 3D Level",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!1}],R.popupInfo={title:"Direction Lines",fieldInfos:[{fieldName:"DirectionLineType",label:"Line Type",isEditable:!1,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"Meters",label:"Length in Meters",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Minutes",label:"Duration in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"DirectionPointID",label:"Direction Point ID",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"FromLevel",label:"Start from 3D Level",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ToLevel",label:"End at 3D Level",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,h.Cb)({type:U.td.apiValues,json:{read:{source:"attributes.DirectionLineType",reader:U.td.read}}})],R.prototype,"directionLineType",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.DirectionPointID"}}})],R.prototype,"directionPointId",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.Meters"}}})],R.prototype,"distance",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.Minutes"}}})],R.prototype,"duration",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.FromLevel"}}})],R.prototype,"fromLevel",void 0),(0,r._)([(0,h.Cb)({type:P.Z})],R.prototype,"geometry",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.ObjectID"}}})],R.prototype,"objectId",void 0),(0,r._)([(0,h.Cb)({type:n.Z,json:{read:!1}})],R.prototype,"popupTemplate",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.RouteID"}}})],R.prototype,"routeId",void 0),(0,r._)([(0,h.Cb)({types:N.LB,json:{read:!1}})],R.prototype,"symbol",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.ToLevel"}}})],R.prototype,"toLevel",void 0),R=j=(0,r._)([(0,f.j)("esri.layers.support.DirectionLine")],R);const J=R;var Z,W=i(13473);let q=Z=class extends I.wq{constructor(e){super(e),this.alternateName=null,this.arrivalTime=null,this.arrivalTimeOffset=null,this.azimuth=null,this.branchName=null,this.directionPointType=null,this.displayText=null,this.exitName=null,this.geometry=null,this.intersectingName=null,this.level=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.routeId=null,this.sequence=null,this.shortVoiceInstruction=null,this.stopId=null,this.symbol=null,this.towardName=null,this.voiceInstruction=null}readArrivalTime(e,t){return(0,p.pC)(t.attributes.ArrivalTime)?new Date(t.attributes.ArrivalTime):null}static fromPortalJSON(e){var t,i,r,s,o,a,l,u,d,c,m,h,b,y;return new Z({alternateName:null!=(t=e.attributes.AlternateName)?t:null,arrivalTime:(0,p.pC)(e.attributes.ArrivalTime)?new Date(e.attributes.ArrivalTime):null,arrivalTimeOffset:null!=(i=e.attributes.ArrivalUTCOffset)?i:null,azimuth:null!=(r=e.attributes.Azimuth)?r:null,branchName:null!=(s=e.attributes.BranchName)?s:null,directionPointType:U.cW.fromJSON(e.attributes.DirectionPointType),displayText:null!=(o=e.attributes.DisplayText)?o:null,exitName:null!=(a=e.attributes.ExitName)?a:null,geometry:W.Z.fromJSON(e.geometry),intersectingName:null!=(l=e.attributes.IntersectingName)?l:null,level:null!=(u=e.attributes.Level)?u:null,name:null!=(d=e.attributes.Name)?d:null,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,routeId:null!=(c=e.attributes.RouteID)?c:null,sequence:e.attributes.Sequence,shortVoiceInstruction:null!=(m=e.attributes.ShortVoiceInstruction)?m:null,stopId:null!=(h=e.attributes.StopID)?h:null,symbol:(0,p.pC)(e.symbol)?(0,V.i)(e.symbol):null,towardName:null!=(b=e.attributes.TowardName)?b:null,voiceInstruction:null!=(y=e.attributes.VoiceInstruction)?y:null})}toPortalJSON(){const e={geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),DirectionPointType:(0,p.pC)(this.directionPointType)?U.cW.toJSON(this.directionPointType):null,Sequence:(0,p.Wg)(this.sequence),StopID:this.stopId},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null};return(0,p.pC)(this.alternateName)&&(e.attributes.AlternateName=this.alternateName),(0,p.pC)(this.arrivalTime)&&(e.attributes.ArrivalTime=this.arrivalTime.getTime()),(0,p.pC)(this.arrivalTimeOffset)&&(e.attributes.ArrivalUTCOffset=this.arrivalTimeOffset),(0,p.pC)(this.azimuth)&&(e.attributes.Azimuth=this.azimuth),(0,p.pC)(this.branchName)&&(e.attributes.BranchName=this.branchName),(0,p.pC)(this.displayText)&&(e.attributes.DisplayText=this.displayText),(0,p.pC)(this.exitName)&&(e.attributes.ExitName=this.exitName),(0,p.pC)(this.intersectingName)&&(e.attributes.IntersectingName=this.intersectingName),(0,p.pC)(this.level)&&(e.attributes.Level=this.level),(0,p.pC)(this.name)&&(e.attributes.Name=this.name),(0,p.pC)(this.shortVoiceInstruction)&&(e.attributes.ShortVoiceInstruction=this.shortVoiceInstruction),(0,p.pC)(this.towardName)&&(e.attributes.TowardName=this.towardName),(0,p.pC)(this.voiceInstruction)&&(e.attributes.VoiceInstruction=this.voiceInstruction),e}};q.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"Sequence",alias:"Sequence",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"StopID",alias:"Stop ID",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"DirectionPointType",alias:"Directions Item Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriDirectionPointType",codedValues:[{name:"Unknown",code:0},{name:"",code:1},{name:"Arrive at stop",code:50},{name:"Depart at stop",code:51},{name:"Go straight",code:52},{name:"Take ferry",code:100},{name:"Take off ferry",code:101},{name:"Keep center at fork",code:102},{name:"Take roundabout",code:103},{name:"Make U-Turn",code:104},{name:"Pass the door",code:150},{name:"Take stairs",code:151},{name:"",code:152},{name:"Take escalator",code:153},{name:"Take pedestrian ramp",code:154},{name:"Keep left at fork",code:200},{name:"Ramp left",code:201},{name:"Take left-handed roundabout",code:202},{name:"Make left-handed U-Turn",code:203},{name:"Bear left",code:204},{name:"Turn left",code:205},{name:"Make sharp left",code:206},{name:"Turn left, followed by turn left",code:207},{name:"Turn left, followed by turn right",code:208},{name:"Keep right at fork",code:300},{name:"Ramp right",code:301},{name:"Take right-handed roundabout",code:302},{name:"Make right-handed U-Turn",code:303},{name:"Bear right",code:304},{name:"Turn right",code:305},{name:"Make sharp right",code:306},{name:"Turn right, followed by turn left",code:307},{name:"Turn right, followed by turn right",code:308},{name:"Indicates up direction of elevator",code:400},{name:"Indicates up direction of escalator",code:401},{name:"Take up-stairs",code:402},{name:"Indicates down direction of elevator",code:500},{name:"Indicates down direction of escalator",code:501},{name:"Take down-stairs",code:502},{name:"General event",code:1e3},{name:"Landmark",code:1001},{name:"Time zone change",code:1002},{name:"Heavy traffic segment",code:1003},{name:"Scale cost barrier crossing",code:1004},{name:"Administrative Border crossing",code:1005},{name:"Restriction violation",code:1006}]}},{name:"DisplayText",alias:"Text to Display",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"ArrivalTime",alias:"Maneuver Starts at",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!0},{name:"ArrivalUTCOffset",alias:"Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"Azimuth",alias:"Azimuth",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"Name",alias:"Primary Feature Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"AlternateName",alias:"Alternative Feature Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"ExitName",alias:"Highway Exit Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"IntersectingName",alias:"Intersecting Feature Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"BranchName",alias:"Signpost Branch Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"TowardName",alias:"Signpost Toward Name",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"ShortVoiceInstruction",alias:"Voice Instruction",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"VoiceInstruction",alias:"Voice Full Instruction",type:"esriFieldTypeString",length:2048,editable:!0,nullable:!0,visible:!0,domain:null},{name:"Level",alias:"3D Logical Level",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0}],q.popupInfo={title:"{Name}",fieldInfos:[{fieldName:"Name",label:"Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"RouteName",label:"Route Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"Sequence",label:"Sequence",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ArrivalTime",label:"Arrival Time",isEditable:!0,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"ArrivalUTCOffset",label:"Arrival Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"DepartureTime",label:"Departure Time",isEditable:!0,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"DepartureUTCOffset",label:"Departure Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CurbApproach",label:"Curb Approach",isEditable:!0,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ArrivalCurbApproach",label:"Arrival Curb Approach",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"DepartureCurbApproach",label:"Departure Curb Approach",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Status",label:"Status",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"LocationType",label:"Location Type",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TimeWindowStart",label:"Time Window Start",isEditable:!0,tooltip:"",visible:!1,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"TimeWindowStartUTCOffset",label:"Time Window Start: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TimeWindowEnd",label:"Time Window End",isEditable:!0,tooltip:"",visible:!1,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"TimeWindowEndUTCOffset",label:"Time Window End: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceMinutes",label:"Service Minutes",isEditable:!0,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceMeters",label:"Service Meters",isEditable:!0,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceCosts",label:"Service Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"CumulativeMinutes",label:"Cumulative Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CumulativeMeters",label:"Cumulative Meters",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CumulativeCosts",label:"Cumulative Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"LateMinutes",label:"Minutes Late",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"WaitMinutes",label:"Minutes Early",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,h.Cb)({json:{read:!1}})],q.prototype,"alternateName",void 0),(0,r._)([(0,h.Cb)()],q.prototype,"arrivalTime",void 0),(0,r._)([(0,y.r)("arrivalTime",["attributes.ArrivalTime"])],q.prototype,"readArrivalTime",null),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.ArrivalUTCOffset"}}})],q.prototype,"arrivalTimeOffset",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.Azimuth"}}})],q.prototype,"azimuth",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.BranchName"}}})],q.prototype,"branchName",void 0),(0,r._)([(0,h.Cb)({type:U.cW.apiValues,json:{read:{source:"attributes.DirectionPointType",reader:U.cW.read}}})],q.prototype,"directionPointType",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.DisplayText"}}})],q.prototype,"displayText",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.ExitName"}}})],q.prototype,"exitName",void 0),(0,r._)([(0,h.Cb)({type:W.Z})],q.prototype,"geometry",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],q.prototype,"intersectingName",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],q.prototype,"level",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.Name"}}})],q.prototype,"name",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.ObjectID"}}})],q.prototype,"objectId",void 0),(0,r._)([(0,h.Cb)({type:n.Z,json:{read:!1}})],q.prototype,"popupTemplate",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.RouteID"}}})],q.prototype,"routeId",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.Sequence"}}})],q.prototype,"sequence",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],q.prototype,"shortVoiceInstruction",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.StopID"}}})],q.prototype,"stopId",void 0),(0,r._)([(0,h.Cb)({types:N.LB,json:{read:!1}})],q.prototype,"symbol",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.TowardName"}}})],q.prototype,"towardName",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],q.prototype,"voiceInstruction",void 0),q=Z=(0,r._)([(0,f.j)("esri.layers.support.DirectionPoint")],q);const k=q;var z,G=i(22974);function $(e,t){if((0,p.Wi)(e))return null;const i={},r=new RegExp(`^${t}`,"i");for(const s in e)e.hasOwnProperty(s)&&r.test(s)&&(i[s.substring(t.length)]=e[s]);return i}function H(e,t){return(0,p.Wi)(e)||(0,p.Wi)(t)?null:Math.round((e-t)/6e4)}let X=z=class extends I.wq{constructor(e){super(e),this.addedCost=null,this.barrierType=null,this.costs=null,this.curbApproach=null,this.fullEdge=null,this.geometry=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.sideOfEdge=null,this.sourceId=null,this.sourceOid=null,this.status=null,this.symbol=null}readCosts(e,t){return $(t.attributes,"Attr_")}writeCosts(e,t){if(!(0,p.Wi)(e)){t.attributes||(t.attributes={});for(const i in e)t.attributes[`Attr_${i}`]=e[i]}}static fromPortalJSON(e){var t,i;return new z({addedCost:null!=(t=e.attributes.AddedCost)?t:null,barrierType:(0,p.pC)(e.attributes.BarrierType)?U.oi.fromJSON(e.attributes.BarrierType):null,costs:(0,p.pC)(e.attributes.Costs)?JSON.parse(e.attributes.Costs):null,curbApproach:(0,p.pC)(e.attributes.CurbApproach)?U.W7.fromJSON(e.attributes.CurbApproach):null,fullEdge:(0,p.pC)(e.attributes.FullEdge)?U.Dd.fromJSON(e.attributes.FullEdge):null,geometry:W.Z.fromJSON(e.geometry),name:null!=(i=e.attributes.Name)?i:null,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,status:(0,p.pC)(e.attributes.Status)?U.SS.fromJSON(e.attributes.Status):null,symbol:(0,p.pC)(e.symbol)?(0,V.i)(e.symbol):null})}clone(){return new z((0,G.d9)({addedCost:this.addedCost,barrierType:this.barrierType,costs:this.costs,curbApproach:this.curbApproach,fullEdge:this.fullEdge,geometry:this.geometry,name:this.name,objectId:this.objectId,popupTemplate:this.popupTemplate,sideOfEdge:this.sideOfEdge,sourceId:this.sourceId,sourceOid:this.sourceOid,status:this.status,symbol:this.symbol}))}toPortalJSON(){return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),AddedCost:this.addedCost,BarrierType:(0,p.pC)(this.barrierType)?U.oi.toJSON(this.barrierType):null,Costs:(0,p.pC)(this.costs)?JSON.stringify(this.costs):null,CurbApproach:(0,p.pC)(this.curbApproach)?U.W7.toJSON(this.curbApproach):null,FullEdge:(0,p.pC)(this.fullEdge)?U.Dd.toJSON(this.fullEdge):null,Name:this.name,Status:(0,p.pC)(this.status)?U.SS.toJSON(this.status):null},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null}}};X.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"BarrierType",alias:"Barrier Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNABarrierType",codedValues:[{name:"Restriction",code:0},{name:"Scaled Cost",code:1},{name:"Added Cost",code:2}]}},{name:"Costs",alias:"Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"CurbApproach",alias:"Curb Approach",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!1,domain:{type:"codedValue",name:"esriNACurbApproachType",codedValues:[{name:"Either side",code:0},{name:"From the right",code:1},{name:"From the left",code:2},{name:"Depart in the same direction",code:3}]}},{name:"FullEdge",alias:"Full Edge",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNAIntYesNo",codedValues:[{name:"No",code:0},{name:"Yes",code:1}]}},{name:"Name",alias:"Name",type:"esriFieldTypeString",length:255,editable:!0,nullable:!0,visible:!0},{name:"Status",alias:"Status",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNAObjectStatus",codedValues:[{name:"OK",code:0},{name:"Not Located on Network",code:1},{name:"Network Unbuilt",code:2},{name:"Prohibited Street",code:3},{name:"Invalid Field Values",code:4},{name:"Cannot Reach",code:5},{name:"Time Window Violation",code:6}]}}],X.popupInfo={title:"Point Barriers",fieldInfos:[{fieldName:"Name",label:"Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"BarrierType",label:"Barrier Type",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"Costs",label:"Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,h.Cb)({json:{read:!1}})],X.prototype,"addedCost",void 0),(0,r._)([(0,h.Cb)({type:U.oi.apiValues,json:{name:"attributes.BarrierType",read:{reader:U.oi.read},write:{writer:U.oi.write}}})],X.prototype,"barrierType",void 0),(0,r._)([(0,h.Cb)()],X.prototype,"costs",void 0),(0,r._)([(0,y.r)("costs",["attributes"])],X.prototype,"readCosts",null),(0,r._)([(0,v.c)("costs")],X.prototype,"writeCosts",null),(0,r._)([(0,h.Cb)({type:U.W7.apiValues,json:{read:{source:"attributes.CurbApproach",reader:U.W7.read}}})],X.prototype,"curbApproach",void 0),(0,r._)([(0,h.Cb)({type:U.Dd.apiValues,json:{name:"attributes.FullEdge",read:{reader:U.Dd.read},write:{writer:U.Dd.write}}})],X.prototype,"fullEdge",void 0),(0,r._)([(0,h.Cb)({type:W.Z,json:{write:!0}})],X.prototype,"geometry",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.Name",write:!0}})],X.prototype,"name",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.ObjectID",write:!0}})],X.prototype,"objectId",void 0),(0,r._)([(0,h.Cb)({type:n.Z,json:{read:!1}})],X.prototype,"popupTemplate",void 0),(0,r._)([(0,h.Cb)({type:U.BW.apiValues,json:{read:{source:"attributes.SideOfEdge",reader:U.BW.read}}})],X.prototype,"sideOfEdge",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.SourceID"}}})],X.prototype,"sourceId",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.SourceOID"}}})],X.prototype,"sourceOid",void 0),(0,r._)([(0,h.Cb)({type:U.SS.apiValues,json:{read:{source:"attributes.Status",reader:U.SS.read}}})],X.prototype,"status",void 0),(0,r._)([(0,h.Cb)({types:N.LB,json:{read:!1}})],X.prototype,"symbol",void 0),X=z=(0,r._)([(0,f.j)("esri.layers.support.PointBarrier")],X);const Y=X;var K,Q=i(17332);let ee=K=class extends I.wq{constructor(e){super(e),this.barrierType=null,this.costs=null,this.geometry=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.scaleFactor=null,this.symbol=null}readCosts(e,t){return $(t.attributes,"Attr_")}writeCosts(e,t){if(!(0,p.Wi)(e)){t.attributes||(t.attributes={});for(const i in e)t.attributes[`Attr_${i}`]=e[i]}}static fromPortalJSON(e){var t,i;return new K({barrierType:(0,p.pC)(e.attributes.BarrierType)?U.oi.fromJSON(e.attributes.BarrierType):null,costs:(0,p.pC)(e.attributes.Costs)?JSON.parse(e.attributes.Costs):null,geometry:Q.Z.fromJSON(e.geometry),name:null!=(t=e.attributes.Name)?t:null,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,scaleFactor:null!=(i=e.attributes.ScaleFactor)?i:null,symbol:(0,p.pC)(e.symbol)?(0,V.i)(e.symbol):null})}clone(){return new K((0,G.d9)({barrierType:this.barrierType,costs:this.costs,geometry:this.geometry,name:this.name,objectId:this.objectId,popupTemplate:this.popupTemplate,scaleFactor:this.scaleFactor,symbol:this.symbol}))}toPortalJSON(){var e,t;return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),BarrierType:(0,p.pC)(this.barrierType)?U.oi.toJSON(this.barrierType):null,Costs:(0,p.pC)(this.costs)?JSON.stringify(this.costs):null,Name:null!=(e=this.name)?e:null,ScaleFactor:null!=(t=this.scaleFactor)?t:null},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null}}};ee.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"BarrierType",alias:"Barrier Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNABarrierType",codedValues:[{name:"Restriction",code:0},{name:"Scaled Cost",code:1},{name:"Added Cost",code:2}]}},{name:"Costs",alias:"Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"Name",alias:"Name",type:"esriFieldTypeString",length:255,editable:!0,nullable:!0,visible:!0},{name:"ScaleFactor",alias:"Scale Factor",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0}],ee.popupInfo={title:"Line Barriers",fieldInfos:[{fieldName:"Name",label:"Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"BarrierType",label:"Barrier Type",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"ScaleFactor",isEditable:!0,tooltip:"",visible:!0,format:{places:3,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Costs",label:"Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,h.Cb)({type:U.oi.apiValues,json:{name:"attributes.BarrierType",read:{reader:U.oi.read},write:{writer:U.oi.write}}})],ee.prototype,"barrierType",void 0),(0,r._)([(0,h.Cb)()],ee.prototype,"costs",void 0),(0,r._)([(0,y.r)("costs",["attributes"])],ee.prototype,"readCosts",null),(0,r._)([(0,v.c)("costs")],ee.prototype,"writeCosts",null),(0,r._)([(0,h.Cb)({type:Q.Z,json:{write:!0}})],ee.prototype,"geometry",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.Name",write:!0}})],ee.prototype,"name",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.ObjectID",write:!0}})],ee.prototype,"objectId",void 0),(0,r._)([(0,h.Cb)({type:n.Z,json:{read:!1}})],ee.prototype,"popupTemplate",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],ee.prototype,"scaleFactor",void 0),(0,r._)([(0,h.Cb)({types:N.LB,json:{read:!1}})],ee.prototype,"symbol",void 0),ee=K=(0,r._)([(0,f.j)("esri.layers.support.PolygonBarrier")],ee);const te=ee;var ie;let re=ie=class extends I.wq{constructor(e){super(e),this.barrierType=null,this.costs=null,this.geometry=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.scaleFactor=null,this.symbol=null}readCosts(e,t){return $(t.attributes,"Attr_")}static fromPortalJSON(e){var t,i;return new ie({barrierType:(0,p.pC)(e.attributes.BarrierType)?U.oi.fromJSON(e.attributes.BarrierType):null,costs:(0,p.pC)(e.attributes.Costs)?JSON.parse(e.attributes.Costs):null,geometry:P.Z.fromJSON(e.geometry),name:null!=(t=e.attributes.Name)?t:null,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,scaleFactor:null!=(i=e.attributes.ScaleFactor)?i:null,symbol:(0,p.pC)(e.symbol)?(0,V.i)(e.symbol):null})}clone(){return new ie((0,G.d9)({barrierType:this.barrierType,costs:this.costs,geometry:this.geometry,name:this.name,objectId:this.objectId,popupTemplate:this.popupTemplate,scaleFactor:this.scaleFactor,symbol:this.symbol}))}toPortalJSON(){return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),BarrierType:(0,p.pC)(this.barrierType)?U.oi.toJSON(this.barrierType):null,Costs:(0,p.pC)(this.costs)?JSON.stringify(this.costs):null,Name:this.name,ScaleFactor:this.scaleFactor},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null}}};re.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"Name",alias:"Name",type:"esriFieldTypeString",length:255,editable:!0,nullable:!0,visible:!0},{name:"BarrierType",alias:"Barrier Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNABarrierType",codedValues:[{name:"Restriction",code:0},{name:"Scaled Cost",code:1},{name:"Added Cost",code:2}]}},{name:"ScaleFactor",alias:"Scale Factor",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"Costs",alias:"Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null}],re.popupInfo={title:"Line Barriers",fieldInfos:[{fieldName:"Name",label:"Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"BarrierType",label:"Barrier Type",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"ScaleFactor",isEditable:!0,tooltip:"",visible:!0,format:{places:3,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Costs",label:"Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,h.Cb)({type:U.oi.apiValues,json:{read:{source:"attributes.BarrierType",reader:U.oi.read}}})],re.prototype,"barrierType",void 0),(0,r._)([(0,h.Cb)()],re.prototype,"costs",void 0),(0,r._)([(0,y.r)("costs",["attributes"])],re.prototype,"readCosts",null),(0,r._)([(0,h.Cb)({type:P.Z,json:{write:!0}})],re.prototype,"geometry",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.Name",write:!0}})],re.prototype,"name",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.ObjectID",write:!0}})],re.prototype,"objectId",void 0),(0,r._)([(0,h.Cb)({type:n.Z,json:{read:!1}})],re.prototype,"popupTemplate",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],re.prototype,"scaleFactor",void 0),(0,r._)([(0,h.Cb)({types:N.LB,json:{read:!1}})],re.prototype,"symbol",void 0),re=ie=(0,r._)([(0,f.j)("esri.layers.support.PolylineBarrier")],re);const se=re;var oe=i(49827);let ne=class extends I.wq{constructor(e){super(e),this.accumulateAttributes=null,this.directionsLanguage=null,this.findBestSequence=null,this.preserveFirstStop=null,this.preserveLastStop=null,this.startTimeIsUTC=null,this.timeWindowsAreUTC=null,this.travelMode=null}};(0,r._)([(0,h.Cb)({type:[String],json:{read:{source:"accumulateAttributeNames"},write:{target:"accumulateAttributeNames"}}})],ne.prototype,"accumulateAttributes",void 0),(0,r._)([(0,h.Cb)({type:String,json:{write:!0}})],ne.prototype,"directionsLanguage",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],ne.prototype,"findBestSequence",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],ne.prototype,"preserveFirstStop",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],ne.prototype,"preserveLastStop",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],ne.prototype,"startTimeIsUTC",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],ne.prototype,"timeWindowsAreUTC",void 0),(0,r._)([(0,h.Cb)({type:oe.Z,json:{write:!0}})],ne.prototype,"travelMode",void 0),ne=(0,r._)([(0,f.j)("esri.layers.support.RouteSettings")],ne);const ae=ne;var le;let ue=le=class extends I.wq{constructor(e){super(e),this.analysisSettings=null,this.endTime=null,this.endTimeOffset=null,this.firstStopId=null,this.geometry=null,this.lastStopId=null,this.messages=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.startTime=null,this.startTimeOffset=null,this.stopCount=null,this.symbol=null,this.totalCosts=null,this.totalDistance=null,this.totalDuration=null,this.totalLateDuration=null,this.totalViolations=null,this.totalWait=null,this.totalWaitDuration=null,this.version="1.0.0"}readEndTime(e,t){return(0,p.pC)(t.attributes.EndTimeUTC)?new Date(t.attributes.EndTimeUTC):null}readEndTimeOffset(e,t){return H(t.attributes.EndTime,t.attributes.EndTimeUTC)}readStartTime(e,t){return(0,p.pC)(t.attributes.StartTimeUTC)?new Date(t.attributes.StartTimeUTC):null}readStartTimeOffset(e,t){return H(t.attributes.StartTime,t.attributes.StartTimeUTC)}readTotalCosts(e,t){return $(t.attributes,"Total_")}readTotalViolations(e,t){return $(t.attributes,"TotalViolation_")}readTotalWait(e,t){return $(t.attributes,"TotalWait_")}static fromPortalJSON(e){var t,i,r,s,o,a;return new le({analysisSettings:(0,p.pC)(e.attributes.AnalysisSettings)?ae.fromJSON(JSON.parse(e.attributes.AnalysisSettings)):null,endTime:(0,p.pC)(e.attributes.EndTime)?new Date(e.attributes.EndTime):null,endTimeOffset:null!=(t=e.attributes.EndUTCOffset)?t:null,geometry:P.Z.fromJSON(e.geometry),messages:(0,p.pC)(e.attributes.Messages)?JSON.parse(e.attributes.Messages):null,name:e.attributes.RouteName,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,startTime:(0,p.pC)(e.attributes.StartTime)?new Date(e.attributes.StartTime):null,startTimeOffset:null!=(i=e.attributes.StartUTCOffset)?i:null,symbol:(0,p.pC)(e.symbol)?(0,V.i)(e.symbol):null,totalCosts:(0,p.pC)(e.attributes.TotalCosts)?JSON.parse(e.attributes.TotalCosts):null,totalDistance:null!=(r=e.attributes.TotalMeters)?r:null,totalDuration:null!=(s=e.attributes.TotalMinutes)?s:null,totalLateDuration:null!=(o=e.attributes.TotalLateMinutes)?o:null,totalWaitDuration:null!=(a=e.attributes.TotalWaitMinutes)?a:null,version:e.attributes.Version})}toPortalJSON(){return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),AnalysisSettings:(0,p.pC)(this.analysisSettings)?JSON.stringify(this.analysisSettings.toJSON()):null,EndTime:(0,p.pC)(this.endTime)?this.endTime.getTime():null,EndUTCOffset:this.endTimeOffset,Messages:(0,p.pC)(this.messages)?JSON.stringify(this.messages):null,RouteName:(0,p.Wg)(this.name),StartTime:(0,p.pC)(this.startTime)?this.startTime.getTime():null,StartUTCOffset:this.startTimeOffset,TotalCosts:(0,p.pC)(this.totalCosts)?JSON.stringify(this.totalCosts):null,TotalLateMinutes:this.totalLateDuration,TotalMeters:this.totalDistance,TotalMinutes:this.totalDuration,TotalWaitMinutes:this.totalWaitDuration,Version:(0,p.Wg)(this.version)},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null}}};ue.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"RouteName",alias:"Route Name",type:"esriFieldTypeString",length:1024,editable:!0,nullable:!0,visible:!0,domain:null},{name:"TotalMinutes",alias:"Total Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"TotalMeters",alias:"Total Meters",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"TotalLateMinutes",alias:"Total Late Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1},{name:"TotalWaitMinutes",alias:"Total Wait Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1},{name:"TotalCosts",alias:"Total Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"StartTime",alias:"Start Time",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!0},{name:"StartUTCOffset",alias:"Start Time: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"EndTime",alias:"End Time",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!0},{name:"EndUTCOffset",alias:"End Time: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"Messages",alias:"Analysis Messages",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"AnalysisSettings",alias:"Analysis Settings",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"Version",alias:"Version",type:"esriFieldTypeString",length:16,editable:!0,nullable:!0,visible:!0,domain:null}],ue.popupInfo={title:"Route Details",fieldInfos:[{fieldName:"RouteName",label:"Route Name",isEditable:!1,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"TotalMinutes",label:"Total Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TotalMeters",label:"Total Meters",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TotalLateMinutes",label:"Total Late Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TotalWaitMinutes",label:"Total Wait Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TotalCosts",label:"Total Costs",isEditable:!1,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"StartTime",label:"Start Time",isEditable:!1,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"StartUTCOffset",label:"Start Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"EndTime",label:"End Time",isEditable:!1,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"EndUTCOffset",label:"End Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Messages",label:"Analysis Messages",isEditable:!1,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"SolverSettings",isEditable:!1,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"Version",label:"Version",isEditable:!1,tooltip:"",visible:!0,stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,h.Cb)({json:{read:!1}})],ue.prototype,"analysisSettings",void 0),(0,r._)([(0,h.Cb)()],ue.prototype,"endTime",void 0),(0,r._)([(0,y.r)("endTime",["attributes.EndTimeUTC"])],ue.prototype,"readEndTime",null),(0,r._)([(0,h.Cb)()],ue.prototype,"endTimeOffset",void 0),(0,r._)([(0,y.r)("endTimeOffset",["attributes.EndTime","attributes.EndTimeUTC"])],ue.prototype,"readEndTimeOffset",null),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.FirstStopID"}}})],ue.prototype,"firstStopId",void 0),(0,r._)([(0,h.Cb)({type:P.Z})],ue.prototype,"geometry",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.LastStopID"}}})],ue.prototype,"lastStopId",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],ue.prototype,"messages",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.Name"}}})],ue.prototype,"name",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.ObjectID"}}})],ue.prototype,"objectId",void 0),(0,r._)([(0,h.Cb)({type:n.Z,json:{read:!1}})],ue.prototype,"popupTemplate",void 0),(0,r._)([(0,h.Cb)()],ue.prototype,"startTime",void 0),(0,r._)([(0,y.r)("startTime",["attributes.StartTimeUTC"])],ue.prototype,"readStartTime",null),(0,r._)([(0,h.Cb)()],ue.prototype,"startTimeOffset",void 0),(0,r._)([(0,y.r)("startTimeOffset",["attributes.StartTime","attributes.StartTimeUTC"])],ue.prototype,"readStartTimeOffset",null),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.StopCount"}}})],ue.prototype,"stopCount",void 0),(0,r._)([(0,h.Cb)({types:N.LB,json:{read:!1}})],ue.prototype,"symbol",void 0),(0,r._)([(0,h.Cb)()],ue.prototype,"totalCosts",void 0),(0,r._)([(0,y.r)("totalCosts",["attributes"])],ue.prototype,"readTotalCosts",null),(0,r._)([(0,h.Cb)({json:{read:!1}})],ue.prototype,"totalDistance",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],ue.prototype,"totalDuration",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],ue.prototype,"totalLateDuration",void 0),(0,r._)([(0,h.Cb)()],ue.prototype,"totalViolations",void 0),(0,r._)([(0,y.r)("totalViolations",["attributes"])],ue.prototype,"readTotalViolations",null),(0,r._)([(0,h.Cb)()],ue.prototype,"totalWait",void 0),(0,r._)([(0,y.r)("totalWait",["attributes"])],ue.prototype,"readTotalWait",null),(0,r._)([(0,h.Cb)({json:{read:!1}})],ue.prototype,"totalWaitDuration",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],ue.prototype,"version",void 0),ue=le=(0,r._)([(0,f.j)("esri.layers.support.RouteInfo")],ue);const pe=ue;var de=i(36030);const ce={type:String,json:{read:{source:"token"},write:{target:"token"}}};var me,he=i(82971);let be=me=class extends I.wq{constructor(e){super(e),this.accumulateAttributes=null,this.apiKey=null,this.attributeParameterValues=null,this.directionsLanguage=null,this.directionsLengthUnits=null,this.directionsOutputType=null,this.directionsStyleName=null,this.directionsTimeAttribute=null,this.findBestSequence=null,this.ignoreInvalidLocations=null,this.impedanceAttribute=null,this.outputGeometryPrecision=null,this.outputGeometryPrecisionUnits=null,this.outputLines="true-shape",this.outSpatialReference=null,this.pointBarriers=null,this.polygonBarriers=null,this.polylineBarriers=null,this.preserveFirstStop=null,this.preserveLastStop=null,this.restrictionAttributes=null,this.restrictUTurns=null,this.returnBarriers=!1,this.returnDirections=!1,this.returnPolygonBarriers=!1,this.returnPolylineBarriers=!1,this.returnRoutes=!0,this.returnStops=!1,this.returnZ=!0,this.startTime=null,this.startTimeIsUTC=!0,this.stops=null,this.timeWindowsAreUTC=null,this.travelMode=null,this.useHierarchy=null,this.useTimeWindows=null}static from(e){return(0,b.TJ)(me,e)}writePointBarriers(e,t,i){this._writeNetworkFeatures(e,t,i)}writePolygonBarrier(e,t,i){this._writeNetworkFeatures(e,t,i)}writePolylineBarrier(e,t,i){this._writeNetworkFeatures(e,t,i)}readStartTime(e,t){return null!=t.startTime?new Date(t.startTime):null}writeStartTime(e,t){t.startTime=e?e.getTime():null}writeStops(e,t,i){this._writeNetworkFeatures(e,t,i)}clone(){return new me((0,G.d9)({accumulateAttributes:this.accumulateAttributes,apiKey:this.apiKey,attributeParameterValues:this.attributeParameterValues,directionsLanguage:this.directionsLanguage,directionsLengthUnits:this.directionsLengthUnits,directionsOutputType:this.directionsOutputType,directionsStyleName:this.directionsStyleName,directionsTimeAttribute:this.directionsTimeAttribute,findBestSequence:this.findBestSequence,ignoreInvalidLocations:this.ignoreInvalidLocations,impedanceAttribute:this.impedanceAttribute,outputGeometryPrecision:this.outputGeometryPrecision,outputGeometryPrecisionUnits:this.outputGeometryPrecisionUnits,outputLines:this.outputLines,outSpatialReference:this.outSpatialReference,pointBarriers:this.pointBarriers,polygonBarriers:this.polygonBarriers,polylineBarriers:this.polylineBarriers,preserveFirstStop:this.preserveFirstStop,preserveLastStop:this.preserveLastStop,restrictionAttributes:this.restrictionAttributes,restrictUTurns:this.restrictUTurns,returnBarriers:this.returnBarriers,returnDirections:this.returnDirections,returnPolygonBarriers:this.returnPolygonBarriers,returnPolylineBarriers:this.returnPolylineBarriers,returnRoutes:this.returnRoutes,returnStops:this.returnStops,returnZ:this.returnZ,startTime:this.startTime,startTimeIsUTC:this.startTimeIsUTC,stops:this.stops,timeWindowsAreUTC:this.timeWindowsAreUTC,travelMode:this.travelMode,useHierarchy:this.useHierarchy,useTimeWindows:this.useTimeWindows}))}_writeNetworkFeatures(e,t,i){t[i]=l.Z.isCollection(e)?{features:e.toArray().map((e=>e.toJSON()))}:e.toJSON()}};(0,r._)([(0,h.Cb)({type:[String],json:{name:"accumulateAttributeNames",write:!0}})],be.prototype,"accumulateAttributes",void 0),(0,r._)([(0,h.Cb)(ce)],be.prototype,"apiKey",void 0),(0,r._)([(0,h.Cb)({json:{write:!0}})],be.prototype,"attributeParameterValues",void 0),(0,r._)([(0,h.Cb)({type:String,json:{write:!0}})],be.prototype,"directionsLanguage",void 0),(0,r._)([(0,de.J)(U.GX)],be.prototype,"directionsLengthUnits",void 0),(0,r._)([(0,de.J)(U.$7)],be.prototype,"directionsOutputType",void 0),(0,r._)([(0,h.Cb)({type:String,json:{write:!0}})],be.prototype,"directionsStyleName",void 0),(0,r._)([(0,h.Cb)({type:String,json:{write:!0}})],be.prototype,"directionsTimeAttribute",void 0),(0,r._)([(0,h.Cb)({json:{write:!0}})],be.prototype,"findBestSequence",void 0),(0,r._)([(0,h.Cb)({json:{write:!0}})],be.prototype,"ignoreInvalidLocations",void 0),(0,r._)([(0,h.Cb)({type:String,json:{read:{source:"impedanceAttributeName"},write:{target:"impedanceAttributeName"}}})],be.prototype,"impedanceAttribute",void 0),(0,r._)([(0,h.Cb)({type:Number,json:{write:!0}})],be.prototype,"outputGeometryPrecision",void 0),(0,r._)([(0,de.J)(U.q$)],be.prototype,"outputGeometryPrecisionUnits",void 0),(0,r._)([(0,de.J)(U.no)],be.prototype,"outputLines",void 0),(0,r._)([(0,h.Cb)({type:he.Z,json:{write:!0}})],be.prototype,"outSpatialReference",void 0),(0,r._)([(0,h.Cb)({json:{write:!0}})],be.prototype,"pointBarriers",void 0),(0,r._)([(0,v.c)("pointBarriers")],be.prototype,"writePointBarriers",null),(0,r._)([(0,h.Cb)({json:{write:!0}})],be.prototype,"polygonBarriers",void 0),(0,r._)([(0,v.c)("polygonBarriers")],be.prototype,"writePolygonBarrier",null),(0,r._)([(0,h.Cb)({json:{write:!0}})],be.prototype,"polylineBarriers",void 0),(0,r._)([(0,v.c)("polylineBarriers")],be.prototype,"writePolylineBarrier",null),(0,r._)([(0,h.Cb)({json:{write:!0}})],be.prototype,"preserveFirstStop",void 0),(0,r._)([(0,h.Cb)({json:{write:!0}})],be.prototype,"preserveLastStop",void 0),(0,r._)([(0,h.Cb)({type:[String],json:{write:!0}})],be.prototype,"restrictionAttributes",void 0),(0,r._)([(0,de.J)(U.ip)],be.prototype,"restrictUTurns",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],be.prototype,"returnBarriers",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],be.prototype,"returnDirections",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],be.prototype,"returnPolygonBarriers",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],be.prototype,"returnPolylineBarriers",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],be.prototype,"returnRoutes",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],be.prototype,"returnStops",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],be.prototype,"returnZ",void 0),(0,r._)([(0,h.Cb)({type:Date,json:{type:Number,write:!0}})],be.prototype,"startTime",void 0),(0,r._)([(0,y.r)("startTime")],be.prototype,"readStartTime",null),(0,r._)([(0,v.c)("startTime")],be.prototype,"writeStartTime",null),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],be.prototype,"startTimeIsUTC",void 0),(0,r._)([(0,h.Cb)({json:{write:!0}})],be.prototype,"stops",void 0),(0,r._)([(0,v.c)("stops")],be.prototype,"writeStops",null),(0,r._)([(0,h.Cb)({json:{write:!0}})],be.prototype,"timeWindowsAreUTC",void 0),(0,r._)([(0,h.Cb)({type:oe.Z,json:{write:!0}})],be.prototype,"travelMode",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],be.prototype,"useHierarchy",void 0),(0,r._)([(0,h.Cb)({type:Boolean,json:{write:!0}})],be.prototype,"useTimeWindows",void 0),be=me=(0,r._)([(0,f.j)("esri.rest.support.RouteParameters")],be);const ye=be;var fe;let ve=fe=class extends I.wq{constructor(e){super(e),this.arriveCurbApproach=null,this.arriveTime=null,this.arriveTimeOffset=null,this.bearing=null,this.bearingTol=null,this.cumulativeCosts=null,this.cumulativeDistance=null,this.cumulativeDuration=null,this.curbApproach=null,this.departCurbApproach=null,this.departTime=null,this.departTimeOffset=null,this.distanceToNetworkInMeters=null,this.geometry=null,this.lateDuration=null,this.locationType=null,this.name=null,this.navLatency=null,this.objectId=null,this.popupTemplate=null,this.posAlong=null,this.routeName=null,this.serviceCosts=null,this.serviceDistance=null,this.serviceDuration=null,this.sequence=null,this.sideOfEdge=null,this.snapX=null,this.snapY=null,this.snapZ=null,this.sourceId=null,this.sourceOid=null,this.status=null,this.symbol=null,this.timeWindowEnd=null,this.timeWindowEndOffset=null,this.timeWindowStart=null,this.timeWindowStartOffset=null,this.violations=null,this.waitDuration=null,this.wait=null}readArriveTimeOffset(e,t){return H(t.attributes.ArriveTime,t.attributes.ArriveTimeUTC)}readCumulativeCosts(e,t){return $(t.attributes,"Cumul_")}readDepartTimeOffset(e,t){return H(t.attributes.DepartTime,t.attributes.DepartTimeUTC)}readServiceCosts(e,t){return $(t.attributes,"Attr_")}writeServiceCosts(e,t){if(!(0,p.Wi)(e)){t.attributes||(t.attributes={});for(const i in e)t.attributes[`Attr_${i}`]=e[i]}}writeTimeWindowEnd(e,t){(0,p.Wi)(e)||(t.attributes||(t.attributes={}),t.attributes.TimeWindowEnd=e.getTime())}writeTimeWindowStart(e,t){(0,p.Wi)(e)||(t.attributes||(t.attributes={}),t.attributes.TimeWindowStart=e.getTime())}readViolations(e,t){return $(t.attributes,"Violation_")}readWait(e,t){return $(t.attributes,"Wait_")}static fromPortalJSON(e){var t,i,r,s,o,a,l,u,d,c;return new fe({arriveCurbApproach:(0,p.pC)(e.attributes.ArrivalCurbApproach)?U.W7.fromJSON(e.attributes.ArrivalCurbApproach):null,arriveTime:(0,p.pC)(e.attributes.ArrivalTime)?new Date(e.attributes.ArrivalTime):null,arriveTimeOffset:e.attributes.ArrivalUTCOffset,cumulativeCosts:(0,p.pC)(e.attributes.CumulativeCosts)?JSON.parse(e.attributes.CumulativeCosts):null,cumulativeDistance:null!=(t=e.attributes.CumulativeMeters)?t:null,cumulativeDuration:null!=(i=e.attributes.CumulativeMinutes)?i:null,curbApproach:(0,p.pC)(e.attributes.CurbApproach)?U.W7.fromJSON(e.attributes.CurbApproach):null,departCurbApproach:(0,p.pC)(e.attributes.DepartureCurbApproach)?U.W7.fromJSON(e.attributes.DepartureCurbApproach):null,departTime:(0,p.pC)(e.attributes.DepartureTime)?new Date(e.attributes.DepartureTime):null,departTimeOffset:null!=(r=e.attributes.DepartureUTCOffset)?r:null,geometry:W.Z.fromJSON(e.geometry),lateDuration:null!=(s=e.attributes.LateMinutes)?s:null,locationType:(0,p.pC)(e.attributes.LocationType)?U.yP.fromJSON(e.attributes.LocationType):null,name:e.attributes.Name,objectId:e.attributes.__OBJECTID,popupTemplate:(0,p.pC)(e.popupInfo)?n.Z.fromJSON(e.popupInfo):null,routeName:e.attributes.RouteName,sequence:null!=(o=e.attributes.Sequence)?o:null,serviceCosts:(0,p.pC)(e.attributes.ServiceCosts)?JSON.parse(e.attributes.ServiceCosts):null,serviceDistance:null!=(a=e.attributes.ServiceMeters)?a:null,serviceDuration:null!=(l=e.attributes.ServiceMinutes)?l:null,status:(0,p.pC)(e.attributes.Status)?U.SS.fromJSON(e.attributes.Status):null,symbol:(0,p.pC)(e.symbol)?(0,V.i)(e.symbol):null,timeWindowEnd:(0,p.pC)(e.attributes.TimeWindowEnd)?new Date(e.attributes.TimeWindowEnd):null,timeWindowEndOffset:null!=(u=e.attributes.TimeWindowEndUTCOffset)?u:null,timeWindowStart:(0,p.pC)(e.attributes.TimeWindowStart)?new Date(e.attributes.TimeWindowStart):null,timeWindowStartOffset:null!=(d=e.attributes.TimeWindowStartUTCOffset)?d:null,waitDuration:null!=(c=e.attributes.WaitMinutes)?c:null})}clone(){return new fe((0,G.d9)({arriveCurbApproach:this.arriveCurbApproach,arriveTime:this.arriveTime,arriveTimeOffset:this.arriveTimeOffset,bearing:this.bearing,bearingTol:this.bearingTol,cumulativeCosts:this.cumulativeCosts,cumulativeDistance:this.cumulativeDistance,cumulativeTime:this.cumulativeDuration,curbApproach:this.curbApproach,departCurbApproach:this.departCurbApproach,departTime:this.departTime,departTimeOffset:this.departTimeOffset,distanceToNetworkInMeters:this.distanceToNetworkInMeters,geometry:this.geometry,lateDuration:this.lateDuration,locationType:this.locationType,name:this.name,navLatency:this.navLatency,objectId:this.objectId,popupTemplate:this.popupTemplate,posAlong:this.posAlong,routeName:this.routeName,serviceCosts:this.serviceCosts,serviceDistance:this.serviceDistance,serviceDuration:this.serviceDuration,sequence:this.sequence,sideOfEdge:this.sideOfEdge,snapX:this.snapX,snapY:this.snapY,snapZ:this.snapZ,sourceId:this.sourceId,sourceOid:this.sourceOid,status:this.status,symbol:this.symbol,timeWindowEnd:this.timeWindowEnd,timeWindowEndOffset:this.timeWindowEndOffset,timeWindowStart:this.timeWindowStart,timeWindowStartOffset:this.timeWindowStartOffset,waitDuration:this.waitDuration}))}toPortalJSON(){var e,t;return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,attributes:{__OBJECTID:(0,p.Wg)(this.objectId),ArrivalCurbApproach:(0,p.pC)(this.arriveCurbApproach)?U.W7.toJSON(this.arriveCurbApproach):null,ArrivalTime:(0,p.pC)(this.arriveTime)?this.arriveTime.getTime():null,ArrivalUTCOffset:this.arriveTimeOffset,CumulativeCosts:(0,p.pC)(this.cumulativeCosts)?JSON.stringify(this.cumulativeCosts):null,CumulativeMeters:this.cumulativeDistance,CumulativeMinutes:this.cumulativeDuration,CurbApproach:(0,p.pC)(this.curbApproach)?U.W7.toJSON(this.curbApproach):null,DepartureCurbApproach:(0,p.pC)(this.departCurbApproach)?U.W7.toJSON(this.departCurbApproach):null,DepartureTime:(0,p.pC)(this.departTime)?this.departTime.getTime():null,DepartureUTCOffset:this.departTimeOffset,LateMinutes:this.lateDuration,LocationType:(0,p.pC)(this.locationType)?U.yP.toJSON(this.locationType):null,Name:(0,p.Wg)(this.name),RouteName:(0,p.Wg)(this.routeName),Sequence:this.sequence,ServiceCosts:(0,p.pC)(this.serviceCosts)?JSON.stringify(this.serviceCosts):null,ServiceMeters:this.serviceDistance,ServiceMinutes:this.serviceDuration,Status:(0,p.pC)(this.status)?U.SS.toJSON(this.status):null,TimeWindowEnd:(0,p.pC)(this.timeWindowEnd)?this.timeWindowEnd.getTime():null,TimeWindowEndUTCOffset:null!=(e=this.timeWindowEndOffset)?e:this.arriveTimeOffset,TimeWindowStart:(0,p.pC)(this.timeWindowStart)?this.timeWindowStart.getTime():null,TimeWindowStartUTCOffset:null!=(t=this.timeWindowEndOffset)?t:this.arriveTimeOffset,WaitMinutes:this.waitDuration},symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,popupInfo:(0,p.pC)(this.popupTemplate)?this.popupTemplate.toJSON():null}}};ve.fields=[{name:"__OBJECTID",alias:"OBJECTID",type:"esriFieldTypeOID",editable:!1,nullable:!1,domain:null},{name:"ArrivalCurbApproach",alias:"Arrival Curb Approach",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNACurbApproachType",codedValues:[{name:"Either side",code:0},{name:"From the right",code:1},{name:"From the left",code:2},{name:"Depart in the same direction",code:3}]}},{name:"ArrivalTime",alias:"Arrival Time",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!0},{name:"ArrivalUTCOffset",alias:"Arrival Time: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"CumulativeCosts",alias:"Cumulative Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"CumulativeMeters",alias:"Cumulative Meters",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"CumulativeMinutes",alias:"Cumulative Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!0},{name:"CurbApproach",alias:"Curb Approach",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!1,domain:{type:"codedValue",name:"esriNACurbApproachType",codedValues:[{name:"Either side",code:0},{name:"From the right",code:1},{name:"From the left",code:2},{name:"Depart in the same direction",code:3}]}},{name:"DepartureCurbApproach",alias:"Departure Curb Approach",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNACurbApproachType",codedValues:[{name:"Either side",code:0},{name:"From the right",code:1},{name:"From the left",code:2},{name:"Depart in the same direction",code:3}]}},{name:"DepartureTime",alias:"Departure Time",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!0},{name:"DepartureUTCOffset",alias:"Departure Time: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"LateMinutes",alias:"Minutes Late",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1},{name:"LocationType",alias:"Location Type",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNALocationType",codedValues:[{name:"Stop",code:0},{name:"Waypoint",code:1}]}},{name:"Name",alias:"Name",type:"esriFieldTypeString",length:255,editable:!0,nullable:!0,visible:!0},{name:"RouteName",alias:"Route Name",type:"esriFieldTypeString",length:255,editable:!0,nullable:!0,visible:!0},{name:"Sequence",alias:"Sequence",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"ServiceCosts",alias:"Service Costs",type:"esriFieldTypeString",length:1048576,editable:!0,nullable:!0,visible:!1,domain:null},{name:"ServiceMeters",alias:"Service Meters",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1},{name:"ServiceMinutes",alias:"Service Minutes",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1},{name:"Status",alias:"Status",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0,domain:{type:"codedValue",name:"esriNAObjectStatus",codedValues:[{name:"OK",code:0},{name:"Not Located on Network",code:1},{name:"Network Unbuilt",code:2},{name:"Prohibited Street",code:3},{name:"Invalid Field Values",code:4},{name:"Cannot Reach",code:5},{name:"Time Window Violation",code:6}]}},{name:"TimeWindowEnd",alias:"Time Window End",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!1},{name:"TimeWindowEndUTCOffset",alias:"Time Window End: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"TimeWindowStart",alias:"Time Window Start",type:"esriFieldTypeDate",length:36,editable:!0,nullable:!0,visible:!1},{name:"TimeWindowStartUTCOffset",alias:"Time Window Start: Offset from UTC in Minutes",type:"esriFieldTypeInteger",editable:!0,nullable:!0,visible:!0},{name:"WaitMinutes",alias:"Minutes Early",type:"esriFieldTypeDouble",editable:!0,nullable:!0,visible:!1}],ve.popupInfo={title:"{Name}",fieldInfos:[{fieldName:"Name",label:"Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"RouteName",label:"Route Name",isEditable:!0,tooltip:"",visible:!0,stringFieldOption:"textbox"},{fieldName:"Sequence",label:"Sequence",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ArrivalTime",label:"Arrival Time",isEditable:!0,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"ArrivalUTCOffset",label:"Arrival Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"DepartureTime",label:"Departure Time",isEditable:!0,tooltip:"",visible:!0,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"DepartureUTCOffset",label:"Departure Time: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CurbApproach",label:"Curb Approach",isEditable:!0,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ArrivalCurbApproach",label:"Arrival Curb Approach",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"DepartureCurbApproach",label:"Departure Curb Approach",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"Status",label:"Status",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"LocationType",label:"Location Type",isEditable:!1,tooltip:"",visible:!0,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TimeWindowStart",label:"Time Window Start",isEditable:!0,tooltip:"",visible:!1,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"TimeWindowStartUTCOffset",label:"Time Window Start: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"TimeWindowEnd",label:"Time Window End",isEditable:!0,tooltip:"",visible:!1,format:{dateFormat:"shortDateShortTime24"},stringFieldOption:"textbox"},{fieldName:"TimeWindowEndUTCOffset",label:"Time Window End: Offset from UTC in Minutes",isEditable:!1,tooltip:"",visible:!1,format:{places:0,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceMinutes",label:"Service Minutes",isEditable:!0,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceMeters",label:"Service Meters",isEditable:!0,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"ServiceCosts",label:"Service Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"CumulativeMinutes",label:"Cumulative Minutes",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CumulativeMeters",label:"Cumulative Meters",isEditable:!1,tooltip:"",visible:!0,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"CumulativeCosts",label:"Cumulative Costs",isEditable:!0,tooltip:"",visible:!1,stringFieldOption:"textbox"},{fieldName:"LateMinutes",label:"Minutes Late",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"},{fieldName:"WaitMinutes",label:"Minutes Early",isEditable:!1,tooltip:"",visible:!1,format:{places:2,digitSeparator:!0},stringFieldOption:"textbox"}],description:null,showAttachments:!1,mediaInfos:[]},(0,r._)([(0,h.Cb)({type:U.W7.apiValues,json:{read:{source:"attributes.ArrivalCurbApproach",reader:U.W7.read}}})],ve.prototype,"arriveCurbApproach",void 0),(0,r._)([(0,h.Cb)({type:Date,json:{read:{source:"attributes.ArriveTimeUTC"}}})],ve.prototype,"arriveTime",void 0),(0,r._)([(0,h.Cb)()],ve.prototype,"arriveTimeOffset",void 0),(0,r._)([(0,y.r)("arriveTimeOffset",["attributes.ArriveTime","attributes.ArriveTimeUTC"])],ve.prototype,"readArriveTimeOffset",null),(0,r._)([(0,h.Cb)({json:{name:"attributes.Bearing",read:!1,write:!0}})],ve.prototype,"bearing",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.BearingTol",read:!1,write:!0}})],ve.prototype,"bearingTol",void 0),(0,r._)([(0,h.Cb)()],ve.prototype,"cumulativeCosts",void 0),(0,r._)([(0,y.r)("cumulativeCosts",["attributes"])],ve.prototype,"readCumulativeCosts",null),(0,r._)([(0,h.Cb)({json:{read:!1}})],ve.prototype,"cumulativeDistance",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],ve.prototype,"cumulativeDuration",void 0),(0,r._)([(0,h.Cb)({type:U.W7.apiValues,json:{name:"attributes.CurbApproach",read:{reader:U.W7.read},write:{writer:U.W7.write}}})],ve.prototype,"curbApproach",void 0),(0,r._)([(0,h.Cb)({type:U.W7.apiValues,json:{read:{source:"attributes.DepartCurbApproach",reader:U.W7.read}}})],ve.prototype,"departCurbApproach",void 0),(0,r._)([(0,h.Cb)({type:Date,json:{read:{source:"attributes.DepartTimeUTC"}}})],ve.prototype,"departTime",void 0),(0,r._)([(0,h.Cb)()],ve.prototype,"departTimeOffset",void 0),(0,r._)([(0,y.r)("departTimeOffset",["attributes.DepartTime","attributes.DepartTimeUTC"])],ve.prototype,"readDepartTimeOffset",null),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.DistanceToNetworkInMeters"}}})],ve.prototype,"distanceToNetworkInMeters",void 0),(0,r._)([(0,h.Cb)({type:W.Z,json:{write:!0}})],ve.prototype,"geometry",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.LateMinutes",read:!1}})],ve.prototype,"lateDuration",void 0),(0,r._)([(0,h.Cb)({type:U.yP.apiValues,json:{name:"attributes.LocationType",read:{reader:U.yP.read},write:{writer:U.yP.write}}})],ve.prototype,"locationType",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.Name",write:!0}})],ve.prototype,"name",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.NavLatency"}}})],ve.prototype,"navLatency",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.ObjectID",write:!0}})],ve.prototype,"objectId",void 0),(0,r._)([(0,h.Cb)({type:n.Z,json:{read:!1}})],ve.prototype,"popupTemplate",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.PosAlong"}}})],ve.prototype,"posAlong",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.RouteName",write:!0}})],ve.prototype,"routeName",void 0),(0,r._)([(0,h.Cb)()],ve.prototype,"serviceCosts",void 0),(0,r._)([(0,y.r)("serviceCosts",["attributes"])],ve.prototype,"readServiceCosts",null),(0,r._)([(0,v.c)("serviceCosts")],ve.prototype,"writeServiceCosts",null),(0,r._)([(0,h.Cb)({json:{read:!1}})],ve.prototype,"serviceDistance",void 0),(0,r._)([(0,h.Cb)({json:{read:!1}})],ve.prototype,"serviceDuration",void 0),(0,r._)([(0,h.Cb)({json:{name:"attributes.Sequence",write:!0}})],ve.prototype,"sequence",void 0),(0,r._)([(0,h.Cb)({type:U.BW.apiValues,json:{read:{source:"attributes.SideOfEdge",reader:U.BW.read}}})],ve.prototype,"sideOfEdge",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.SnapX"}}})],ve.prototype,"snapX",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.SnapY"}}})],ve.prototype,"snapY",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.SnapZ"}}})],ve.prototype,"snapZ",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.SourceID"}}})],ve.prototype,"sourceId",void 0),(0,r._)([(0,h.Cb)({json:{read:{source:"attributes.SourceOID"}}})],ve.prototype,"sourceOid",void 0),(0,r._)([(0,h.Cb)({type:U.SS.apiValues,json:{read:{source:"attributes.Status",reader:U.SS.read}}})],ve.prototype,"status",void 0),(0,r._)([(0,h.Cb)({types:N.LB,json:{read:!1}})],ve.prototype,"symbol",void 0),(0,r._)([(0,h.Cb)({type:Date,json:{name:"attributes.TimeWindowEnd"}})],ve.prototype,"timeWindowEnd",void 0),(0,r._)([(0,v.c)("timeWindowEnd")],ve.prototype,"writeTimeWindowEnd",null),(0,r._)([(0,h.Cb)({json:{read:!1}})],ve.prototype,"timeWindowEndOffset",void 0),(0,r._)([(0,h.Cb)({type:Date,json:{name:"attributes.TimeWindowStart"}})],ve.prototype,"timeWindowStart",void 0),(0,r._)([(0,v.c)("timeWindowStart")],ve.prototype,"writeTimeWindowStart",null),(0,r._)([(0,h.Cb)({json:{read:!1}})],ve.prototype,"timeWindowStartOffset",void 0),(0,r._)([(0,h.Cb)()],ve.prototype,"violations",void 0),(0,r._)([(0,y.r)("violations",["attributes"])],ve.prototype,"readViolations",null),(0,r._)([(0,h.Cb)({json:{read:!1}})],ve.prototype,"waitDuration",void 0),(0,r._)([(0,h.Cb)()],ve.prototype,"wait",void 0),(0,r._)([(0,y.r)("wait",["attributes"])],ve.prototype,"readWait",null),ve=fe=(0,r._)([(0,f.j)("esri.layers.support.Stop")],ve);const ge=ve;var Ce=i(65091);function Te(e){return e.length?e:null}function Se(e){return"layers"in e}function _e(e,t){switch(t){case"seconds":return e/60;case"hours":return 60*e;case"days":return 60*e*24;default:return e}}function we(e,t){return"decimal-degrees"===t||"points"===t?e:(0,m.En)(e,t,"meters")}const Oe=l.Z.ofType(J),Ne=l.Z.ofType(k),Ie=l.Z.ofType(Y),xe=l.Z.ofType(te),Ee=l.Z.ofType(se),De=l.Z.ofType(ge);let Fe=class extends((0,S.h)((0,O.M)((0,_.q)((0,w.I)((0,d.R)(T.Z)))))){constructor(...e){super(...e),this._featureCollection=null,this._type="Feature Collection",this.defaultSymbols=new A,this.directionLines=null,this.directionPoints=null,this.featureCollectionType="route",this.legendEnabled=!1,this.maxScale=0,this.minScale=0,this.pointBarriers=new Ie,this.polygonBarriers=new xe,this.polylineBarriers=new Ee,this.routeInfo=null,this.spatialReference=he.Z.WGS84,this.stops=new De,this.title="Route",this.type="route"}writeFeatureCollectionWebmap(e,t){const i=[this._writePolygonBarriers(),this._writePolylineBarriers(),this._writePointBarriers(),this._writeRouteInfo(),this._writeDirectionLines(),this._writeDirectionPoints(),this._writeStops()].filter((e=>!!e)),r=i.map(((e,t)=>t));(0,c.RB)("featureCollection.layers",i,t),t.opacity=this.opacity,t.visibility=this.visible,t.visibleLayers=r}readDirectionLines(e,t){return this._getNetworkFeatures(t,"DirectionLines",(e=>J.fromPortalJSON(e)))}readDirectionPoints(e,t){return this._getNetworkFeatures(t,"DirectionPoints",(e=>k.fromPortalJSON(e)))}get fullExtent(){if((0,p.pC)(this.routeInfo)&&(0,p.pC)(this.routeInfo.geometry))return this.routeInfo.geometry.extent;if(this.stops.length>1){const{spatialReference:e}=this.stops[0],t=new Ce.Z({spatialReference:e}),i=this.stops.toArray().map((e=>e.geometry));for(const e of i)(0,p.pC)(e)&&t.addPoint(e);return t.extent}return new g.Z({xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:he.Z.WGS84})}readMaxScale(e,t){var i;const r=(Se(t)?t.layers:t.featureCollection.layers).find((e=>(0,p.pC)(e.layerDefinition.maxScale)));return null!=(i=null==r?void 0:r.layerDefinition.maxScale)?i:0}readMinScale(e,t){var i;const r=(Se(t)?t.layers:t.featureCollection.layers).find((e=>(0,p.pC)(e.layerDefinition.minScale)));return null!=(i=null==r?void 0:r.layerDefinition.minScale)?i:0}readPointBarriers(e,t){return this._getNetworkFeatures(t,"Barriers",(e=>Y.fromPortalJSON(e)))}readPolygonBarriers(e,t){return this._getNetworkFeatures(t,"PolygonBarriers",(e=>te.fromPortalJSON(e)))}readPolylineBarriers(e,t){return this._getNetworkFeatures(t,"PolylineBarriers",(e=>se.fromPortalJSON(e)))}readRouteInfo(e,t){const i=this._getNetworkFeatures(t,"RouteInfo",(e=>pe.fromPortalJSON(e)));return i.length>0?i.getItemAt(0):null}get routeServiceUrl(){var e,t,i,r;return null!=(e=this.portalItem)&&e.id&&null!=(t=null==(i=this.portalItem.portal.helperServices)||null==(r=i.route)?void 0:r.url)?t:s.Z.routeServiceUrl}readSpatialReference(e,t){var i,r;const s=Se(t)?t.layers:t.featureCollection.layers;if(!s.length)return he.Z.WGS84;const{layerDefinition:o}=s[0],n=null!=(i=null!=(r=o.spatialReference)?r:o.extent.spatialReference)?i:C.Zn;return he.Z.fromJSON(n)}readStops(e,t){return this._getNetworkFeatures(t,"Stops",(e=>ge.fromPortalJSON(e)),(e=>this._setStopSymbol(e)))}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Feature Collection"]},e)),Promise.resolve(this)}async solve(e,t){var i,r,s,o;const n=null!=(i=null==e?void 0:e.stops)?i:this.stops,a=null!=(r=null==e?void 0:e.pointBarriers)?r:Te(this.pointBarriers),d=null!=(s=null==e?void 0:e.polylineBarriers)?s:Te(this.polylineBarriers),c=null!=(o=null==e?void 0:e.polygonBarriers)?o:Te(this.polygonBarriers);if((0,p.Wi)(n))throw new u.Z("routelayer:undefined-stops","the route layer must have stops defined in the route parameters.");if((function(e){return"esri.rest.support.FeatureSet"===e.declaredClass}(n)||function(e){return"esri.rest.support.NetworkFeatureSet"===e.declaredClass}(n))&&n.features.length<2||l.Z.isCollection(n)&&n.length<2)throw new u.Z("routelayer:insufficent-stops","the route layer must have two or more stops to solve a route.");const m=await(0,M.bI)(this.routeServiceUrl,null==e?void 0:e.apiKey,t),h={startTime:new Date},b={directionsOutputType:"featuresets",ignoreInvalidLocations:!0,pointBarriers:a,polylineBarriers:d,polygonBarriers:c,preserveFirstStop:!0,preserveLastStop:!0,returnBarriers:!!a,returnDirections:!0,returnPolygonBarriers:!!c,returnPolylineBarriers:!!d,returnRoutes:!0,returnStops:!0,stops:n},y=e?ye.from(e):new ye;for(const e in h)null==y[e]&&(y[e]=h[e]);y.set(b);const f=await(0,L.F)(this.routeServiceUrl,y,t),v=this._toRouteLayerSolution(f);return function(e,t,i){var r,s,o,n,a,l,d,c,m,h,b;const y=t.networkDataset.networkAttributes.filter((e=>"esriNAUTCost"===e.usageType)),f=t.supportedTravelModes.find((e=>e.id===t.defaultTravelMode)),v=null!=(r=i.travelMode)?r:f,{timeAttributeName:g,distanceAttributeName:C}=v,T=y.find((e=>e.name===g)),S=y.find((e=>e.name===C)),_=null!=(s=null!=(o=null==(n=i.travelMode)?void 0:n.impedanceAttributeName)?o:i.impedanceAttribute)?s:t.impedance,w=U.hB.fromJSON(null==T?void 0:T.units),O=U.GX.fromJSON(null==S?void 0:S.units);if(!w||!O)throw new u.Z("routelayer:unknown-impedance-units","the units of either the distance or time impedance are unknown");const N=null!=(a=i.directionsLanguage)?a:t.directionsLanguage,I=null!=(l=null!=(d=i.accumulateAttributes)?d:t.accumulateAttributeNames)?l:[],x=new Set(y.filter((({name:e})=>e===g||e===C||e===_||I.includes(e))).map((({name:e})=>e))),E=e=>{for(const t in e)x.has(t)||delete e[t]};for(const t of e.pointBarriers){var D;(0,p.pC)(t.costs)&&(t.addedCost=null!=(D=t.costs[_])?D:0,E(t.costs))}for(const t of e.polygonBarriers){var F;(0,p.pC)(t.costs)&&(t.scaleFactor=null!=(F=t.costs[_])?F:1,E(t.costs))}for(const t of e.polylineBarriers){var B;(0,p.pC)(t.costs)&&(t.scaleFactor=null!=(B=t.costs[_])?B:1,E(t.costs))}const{routeInfo:A}=e,{findBestSequence:j,preserveFirstStop:M,preserveLastStop:L,startTimeIsUTC:P,timeWindowsAreUTC:V}=i;A.analysisSettings=new ae({accumulateAttributes:I,directionsLanguage:N,findBestSequence:j,preserveFirstStop:M,preserveLastStop:L,startTimeIsUTC:P,timeWindowsAreUTC:V,travelMode:v}),A.totalDuration=_e(null!=(c=A.totalCosts[g])?c:0,w),A.totalDistance=we(null!=(m=A.totalCosts[C])?m:0,O),A.totalLateDuration=_e(null!=(h=A.totalViolations[g])?h:0,w),A.totalWaitDuration=_e(null!=(b=A.totalWait[g])?b:0,w),(0,p.pC)(A.totalCosts)&&E(A.totalCosts),(0,p.pC)(A.totalViolations)&&E(A.totalViolations),(0,p.pC)(A.totalWait)&&E(A.totalWait);for(const t of e.stops){var R,J,Z,W,q,k;(0,p.pC)(t.serviceCosts)&&(t.serviceDuration=_e(null!=(R=t.serviceCosts[g])?R:0,w),t.serviceDistance=we(null!=(J=t.serviceCosts[C])?J:0,O),E(t.serviceCosts)),(0,p.pC)(t.cumulativeCosts)&&(t.cumulativeDuration=_e(null!=(Z=t.cumulativeCosts[g])?Z:0,w),t.cumulativeDistance=we(null!=(W=t.cumulativeCosts[C])?W:0,O),E(t.cumulativeCosts)),(0,p.pC)(t.violations)&&(t.lateDuration=_e(null!=(q=t.violations[g])?q:0,w),E(t.violations)),(0,p.pC)(t.wait)&&(t.waitDuration=_e(null!=(k=t.wait[g])?k:0,w),E(t.wait))}}(v,m,y),v}update(e){const{stops:t,directionLines:i,directionPoints:r,pointBarriers:s,polylineBarriers:o,polygonBarriers:n,routeInfo:a}=e;this.set({stops:t,pointBarriers:s,polylineBarriers:o,polygonBarriers:n}),this._set("directionLines",i),this._set("directionPoints",r),this._set("routeInfo",a)}_getLayerDefinition(){return{capabilities:"Query,Update,Editing",extent:this.fullExtent.toJSON(),hasM:!1,hasZ:!1,maxScale:this.maxScale,minScale:this.minScale,objectIdField:"__OBJECTID",spatialReference:this.spatialReference.toJSON(),type:"Feature Layer",typeIdField:""}}_getNetworkFeatures(e,t,i,r){const s=(Se(e)?e.layers:e.featureCollection.layers).find((e=>e.layerDefinition.name===t));if((0,p.Wi)(s))return new l.Z;const{layerDefinition:u,popupInfo:d,featureSet:c}=s,m=u.drawingInfo.renderer,{features:h}=c,b=m&&(0,a.a)(m),y=h.map((e=>{var r;const s=i(e),{attributes:a}=e,l=new o.Z({attributes:a});return null!=s.symbol||(s.symbol=null!=(r=null==b?void 0:b.getSymbol(l))?r:this._getNetworkSymbol(t)),null!=s.popupTemplate||(s.popupTemplate=d&&n.Z.fromJSON(d)),s}));return r&&y.some((e=>!e.symbol))&&r(y),new l.Z(y)}_getNetworkSymbol(e){switch(e){case"Barriers":return this.defaultSymbols.pointBarriers;case"DirectionPoints":return this.defaultSymbols.directionPoints;case"DirectionLines":return this.defaultSymbols.directionLines;case"PolylineBarriers":return this.defaultSymbols.polylineBarriers;case"PolygonBarriers":return this.defaultSymbols.polygonBarriers;case"RouteInfo":return this.defaultSymbols.routeInfo;case"Stops":return null}}_setStopSymbol(e){if(!e)return;if(e.length<2){for(const t of e)t.symbol=this.defaultSymbols.invalidStop;return}const t=e.map((e=>e.sequence)).filter((e=>(0,p.pC)(e))),i=Math.min(...t),r=Math.max(...t);for(const t of e)t.sequence!==i?t.sequence!==r?"ok"===t.status||"not-located-on-closest"===t.status?"waypoint"!==t.locationType?"break"!==t.locationType?t.symbol=this.defaultSymbols.middleStop:t.symbol=this.defaultSymbols.breakStop:t.symbol=this.defaultSymbols.waypointStop:t.symbol=this.defaultSymbols.invalidStop:t.symbol=this.defaultSymbols.lastStop:t.symbol=this.defaultSymbols.firstStop}_toRouteLayerSolution(e){var t,i,r;const s=e.routeResults[0].stops.map((e=>ge.fromJSON(e.toJSON())));this._setStopSymbol(s);const o=new De(s),n=new xe(null==(t=e.polygonBarriers)?void 0:t.map((e=>{const t=te.fromJSON(e.toJSON());return t.symbol=this.defaultSymbols.polygonBarriers,t}))),a=new Ee(null==(i=e.polylineBarriers)?void 0:i.map((e=>{const t=se.fromJSON(e.toJSON());return t.symbol=this.defaultSymbols.polylineBarriers,t}))),l=new Ie(null==(r=e.pointBarriers)?void 0:r.map((e=>{const t=Y.fromJSON(e.toJSON());return t.symbol=this.defaultSymbols.pointBarriers,t}))),u=pe.fromJSON(e.routeResults[0].route.toJSON());u.symbol=this.defaultSymbols.routeInfo;const p=new Ne(e.routeResults[0].directionPoints.features.map((e=>{const t=k.fromJSON(e.toJSON());return t.symbol=this.defaultSymbols.directionPoints,t})));return{directionLines:new Oe(e.routeResults[0].directionLines.features.map((e=>{const t=J.fromJSON(e.toJSON());return t.symbol=this.defaultSymbols.directionLines,t}))),directionPoints:p,pointBarriers:l,polygonBarriers:n,polylineBarriers:a,routeInfo:u,stops:o}}_writeDirectionLines(){return(0,p.Wi)(this.directionLines)||!this.directionLines.length?null:{featureSet:{features:this.directionLines.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPolyline"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.directionLines.toJSON()}},fields:J.fields,geometryType:"esriGeometryPolyline",name:"DirectionLines",title:"Direction Lines"},popupInfo:J.popupInfo}}_writeDirectionPoints(){return(0,p.Wi)(this.directionPoints)||!this.directionPoints.length?null:{featureSet:{features:this.directionPoints.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPoint"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.directionPoints.toJSON()}},fields:k.fields,geometryType:"esriGeometryPoint",name:"DirectionPoints",title:"Direction Points"},popupInfo:k.popupInfo}}_writePointBarriers(){return(0,p.Wi)(this.pointBarriers)||!this.pointBarriers.length?null:{featureSet:{features:this.pointBarriers.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPoint"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.pointBarriers.toJSON()}},fields:Y.fields,geometryType:"esriGeometryPoint",name:"Barrier",title:"Point Barrier"},popupInfo:Y.popupInfo}}_writePolygonBarriers(){return(0,p.Wi)(this.polygonBarriers)||!this.polygonBarriers.length?null:{featureSet:{features:this.polygonBarriers.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPolygon"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.polygonBarriers.toJSON()}},fields:te.fields,geometryType:"esriGeometryPolygon",name:"PolygonBarriers",title:"Polygon Barriers"},popupInfo:te.popupInfo}}_writePolylineBarriers(){return(0,p.Wi)(this.polylineBarriers)||!this.polylineBarriers.length?null:{featureSet:{features:this.polylineBarriers.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPolyline"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.polylineBarriers.toJSON()}},fields:se.fields,geometryType:"esriGeometryPolyline",name:"PolylineBarriers",title:"Line Barriers"},popupInfo:se.popupInfo}}_writeRouteInfo(){return(0,p.Wi)(this.routeInfo)?null:{featureSet:{features:[this.routeInfo.toPortalJSON()],geometryType:"esriGeometryPolyline"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"simple",symbol:this.defaultSymbols.routeInfo.toJSON()}},fields:pe.fields,geometryType:"esriGeometryPolyline",name:"RouteInfo",title:"Route Details"},popupInfo:pe.popupInfo}}_writeStops(){return(0,p.Wi)(this.stops)||!this.stops.length?null:{featureSet:{features:this.stops.toArray().map((e=>e.toPortalJSON())),geometryType:"esriGeometryPoint"},layerDefinition:{...this._getLayerDefinition(),drawingInfo:{renderer:{type:"uniqueValue",field1:"Sequence",defaultSymbol:this.defaultSymbols.middleStop.toJSON(),uniqueValueInfos:[{value:"1",symbol:this.defaultSymbols.firstStop.toJSON(),label:"First Stop"},{value:`${this.stops.length}`,symbol:this.defaultSymbols.lastStop.toJSON(),label:"Last Stop"}]}},fields:ge.fields,geometryType:"esriGeometryPoint",name:"Stops",title:"Stops"},popupInfo:ge.popupInfo}}};(0,r._)([(0,h.Cb)({readOnly:!0,json:{read:!1,origins:{"web-map":{write:{overridePolicy(){return{allowNull:!0,ignoreOrigin:null==this.portalItem}}}}}}})],Fe.prototype,"_featureCollection",void 0),(0,r._)([(0,v.c)("web-map","_featureCollection")],Fe.prototype,"writeFeatureCollectionWebmap",null),(0,r._)([(0,h.Cb)({readOnly:!0,json:{read:!1,origins:{"web-map":{write:{target:"type",overridePolicy(){return{ignoreOrigin:null!=this.portalItem}}}}}}})],Fe.prototype,"_type",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,type:A})],Fe.prototype,"defaultSymbols",void 0),(0,r._)([(0,h.Cb)({readOnly:!0})],Fe.prototype,"directionLines",void 0),(0,r._)([(0,y.r)(["web-map","portal-item"],"directionLines",["layers","featureCollection.layers"])],Fe.prototype,"readDirectionLines",null),(0,r._)([(0,h.Cb)({readOnly:!0})],Fe.prototype,"directionPoints",void 0),(0,r._)([(0,y.r)(["web-map","portal-item"],"directionPoints",["layers","featureCollection.layers"])],Fe.prototype,"readDirectionPoints",null),(0,r._)([(0,h.Cb)({readOnly:!0,json:{read:!1,origins:{"web-map":{write:{ignoreOrigin:!0}}}}})],Fe.prototype,"featureCollectionType",void 0),(0,r._)([(0,h.Cb)({readOnly:!0})],Fe.prototype,"fullExtent",null),(0,r._)([(0,h.Cb)({json:{origins:{"web-map":{name:"featureCollection.showLegend"}},write:!0}})],Fe.prototype,"legendEnabled",void 0),(0,r._)([(0,h.Cb)({type:["show","hide"]})],Fe.prototype,"listMode",void 0),(0,r._)([(0,h.Cb)({type:Number,nonNullable:!0,json:{write:!1}})],Fe.prototype,"maxScale",void 0),(0,r._)([(0,y.r)(["web-map","portal-item"],"maxScale",["layers","featureCollection.layers"])],Fe.prototype,"readMaxScale",null),(0,r._)([(0,h.Cb)({type:Number,nonNullable:!0,json:{write:!1}})],Fe.prototype,"minScale",void 0),(0,r._)([(0,y.r)(["web-map","portal-item"],"minScale",["layers","featureCollection.layers"])],Fe.prototype,"readMinScale",null),(0,r._)([(0,h.Cb)({type:["ArcGISFeatureLayer"],value:"ArcGISFeatureLayer"})],Fe.prototype,"operationalLayerType",void 0),(0,r._)([(0,h.Cb)({nonNullable:!0,type:l.Z.ofType(Y)})],Fe.prototype,"pointBarriers",void 0),(0,r._)([(0,y.r)(["web-map","portal-item"],"pointBarriers",["layers","featureCollection.layers"])],Fe.prototype,"readPointBarriers",null),(0,r._)([(0,h.Cb)({nonNullable:!0,type:l.Z.ofType(te)})],Fe.prototype,"polygonBarriers",void 0),(0,r._)([(0,y.r)(["web-map","portal-item"],"polygonBarriers",["layers","featureCollection.layers"])],Fe.prototype,"readPolygonBarriers",null),(0,r._)([(0,h.Cb)({nonNullable:!0,type:l.Z.ofType(se)})],Fe.prototype,"polylineBarriers",void 0),(0,r._)([(0,y.r)(["web-map","portal-item"],"polylineBarriers",["layers","featureCollection.layers"])],Fe.prototype,"readPolylineBarriers",null),(0,r._)([(0,h.Cb)({readOnly:!0})],Fe.prototype,"routeInfo",void 0),(0,r._)([(0,y.r)(["web-map","portal-item"],"routeInfo",["layers","featureCollection.layers"])],Fe.prototype,"readRouteInfo",null),(0,r._)([(0,h.Cb)({nonNullable:!0})],Fe.prototype,"routeServiceUrl",null),(0,r._)([(0,h.Cb)({type:he.Z})],Fe.prototype,"spatialReference",void 0),(0,r._)([(0,y.r)(["web-map","portal-item"],"spatialReference",["layers","featureCollection.layers"])],Fe.prototype,"readSpatialReference",null),(0,r._)([(0,h.Cb)({nonNullable:!0,type:l.Z.ofType(ge)})],Fe.prototype,"stops",void 0),(0,r._)([(0,y.r)(["web-map","portal-item"],"stops",["layers","featureCollection.layers"])],Fe.prototype,"readStops",null),(0,r._)([(0,h.Cb)()],Fe.prototype,"title",void 0),(0,r._)([(0,h.Cb)({readOnly:!0,json:{read:!1}})],Fe.prototype,"type",void 0),Fe=(0,r._)([(0,f.j)("esri.layers.RouteLayer")],Fe);const Be=Fe},16859:(e,t,i)=>{i.d(t,{I:()=>C});var r=i(43697),s=i(40330),o=i(3172),n=i(66643),a=i(20102),l=i(92604),u=i(70586),p=i(95330),d=i(17452),c=i(5600),m=(i(67676),i(80442),i(75215),i(71715)),h=i(52011),b=i(30556),y=i(65587),f=i(15235),v=i(86082);const g=l.Z.getLogger("esri.layers.mixins.PortalLayer"),C=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0}destroy(){var e;null==(e=this.portalItem)||e.destroy(),this.portalItem=null}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,i){if(t.itemId)return new f.default({id:t.itemId,portal:i&&i.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const r=await i.e(8062).then(i.bind(i,18062));return(0,p.k_)(t),await r.load({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData},t)}catch(e){throw(0,p.D_)(e)||g.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.r9)(e),!0))))}async _fetchUserHasEditingPrivileges(e){const t=this.url?null==s.id?void 0:s.id.findCredential(this.url):null;if(!t)return!0;const i=T.credential===t?T.user:await this._fetchEditingUser(e);return T.credential=t,T.user=i,(0,u.Wi)(i)||null==i.privileges||i.privileges.includes("features:user:edit")}async _fetchEditingUser(e){var t,i;const r=null==(t=this.portalItem)||null==(i=t.portal)?void 0:i.user;if(r)return r;const a=s.id.findServerInfo(this.url);if(null==a||!a.owningSystemUrl)return null;const l=`${a.owningSystemUrl}/sharing/rest`,p=y.Z.getDefault();if(p&&p.loaded&&(0,d.Fv)(p.restUrl)===(0,d.Fv)(l))return p.user;const c=`${l}/community/self`,m=(0,u.pC)(e)?e.signal:null,h=await(0,n.q6)((0,o.default)(c,{authMode:"no-prompt",query:{f:"json"},signal:m}));return h.ok?v.default.fromJSON(h.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const i=t&&t.portal,r=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||y.Z.getDefault());return i&&r&&!(0,d.tm)(r.restUrl,i.restUrl)?(t.messages&&t.messages.push(new a.Z("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 the scene, set the layer.portalItem to null or save the scene to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,r._)([(0,c.Cb)({type:f.default})],t.prototype,"portalItem",null),(0,r._)([(0,m.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,r._)([(0,b.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,r._)([(0,c.Cb)()],t.prototype,"resourceReferences",void 0),(0,r._)([(0,c.Cb)({readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),t=(0,r._)([(0,h.j)("esri.layers.mixins.PortalLayer")],t),t},T={credential:null,user:null}},1231:(e,t,i)=>{i.d(t,{Z:()=>y});var r,s=i(43697),o=i(35454),n=i(96674),a=i(5600),l=(i(67676),i(80442),i(75215)),u=i(36030),p=i(71715),d=i(52011),c=i(72729),m=i(86719);const h=new o.Xn({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",dateAndTime:"date-and-time",description:"description",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let b=r=class extends n.wq{constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=-1,this.name=null,this.nullable=!0,this.type=null,this.valueType=null}readDescription(e,{description:t}){let i;try{i=JSON.parse(t)}catch(e){}return i?i.value:null}readValueType(e,{description:t}){let i;try{i=JSON.parse(t)}catch(e){}return i?h.fromJSON(i.fieldValueType):null}clone(){return new r({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain&&this.domain.clone()||null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType})}};(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],b.prototype,"alias",void 0),(0,s._)([(0,a.Cb)({type:[String,Number],json:{write:{allowNull:!0}}})],b.prototype,"defaultValue",void 0),(0,s._)([(0,a.Cb)()],b.prototype,"description",void 0),(0,s._)([(0,p.r)("description")],b.prototype,"readDescription",null),(0,s._)([(0,a.Cb)({types:c.V5,json:{read:{reader:c.im},write:!0}})],b.prototype,"domain",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"editable",void 0),(0,s._)([(0,a.Cb)({type:l.z8,json:{write:!0}})],b.prototype,"length",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],b.prototype,"name",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"nullable",void 0),(0,s._)([(0,u.J)(m.v)],b.prototype,"type",void 0),(0,s._)([(0,a.Cb)()],b.prototype,"valueType",void 0),(0,s._)([(0,p.r)("valueType",["description"])],b.prototype,"readValueType",null),b=r=(0,s._)([(0,d.j)("esri.layers.support.Field")],b);const y=b},72729:(e,t,i)=>{i.d(t,{im:()=>O,V5:()=>w}),i(80442);var r,s=i(43697),o=i(22974),n=i(5600),a=(i(75215),i(36030)),l=i(52011),u=i(96674);i(67676);let p=r=class extends u.wq{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,s._)([(0,n.Cb)({type:[String,Number],json:{write:!0}})],p.prototype,"code",void 0),p=r=(0,s._)([(0,l.j)("esri.layers.support.CodedValue")],p);const d=p,c=new(i(35454).Xn)({inherited:"inherited",codedValue:"coded-value",range:"range"});let m=class extends u.wq{constructor(e){super(e),this.name=null,this.type=null}};(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,s._)([(0,a.J)(c)],m.prototype,"type",void 0),m=(0,s._)([(0,l.j)("esri.layers.support.Domain")],m);const h=m;var b;let y=b=class extends h{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const i=String(e);this.codedValues.some((e=>(String(e.code)===i&&(t=e.name),!!t)))}return t}clone(){return new b({codedValues:(0,o.d9)(this.codedValues),name:this.name})}};(0,s._)([(0,n.Cb)({type:[d],json:{write:!0}})],y.prototype,"codedValues",void 0),(0,s._)([(0,a.J)({codedValue:"coded-value"})],y.prototype,"type",void 0),y=b=(0,s._)([(0,l.j)("esri.layers.support.CodedValueDomain")],y);const f=y;var v;i(92604),i(37697);let g=v=class extends h{constructor(e){super(e),this.type="inherited"}clone(){return new v}};(0,s._)([(0,a.J)({inherited:"inherited"})],g.prototype,"type",void 0),g=v=(0,s._)([(0,l.j)("esri.layers.support.InheritedDomain")],g);const C=g;var T;let S=T=class extends h{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new T({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,s._)([(0,n.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,i){t[i]=[this.minValue||0,e]}}}})],S.prototype,"maxValue",void 0),(0,s._)([(0,n.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[0]},write:{target:"range",writer(e,t,i){t[i]=[e,this.maxValue||0]}}}})],S.prototype,"minValue",void 0),(0,s._)([(0,a.J)({range:"range"})],S.prototype,"type",void 0),S=T=(0,s._)([(0,l.j)("esri.layers.support.RangeDomain")],S);const _=S,w={key:"type",base:h,typeMap:{range:S,"coded-value":f,inherited:C}};function O(e){if(!e||!e.type)return null;switch(e.type){case"range":return _.fromJSON(e);case"codedValue":return f.fromJSON(e);case"inherited":return C.fromJSON(e)}return null}},86719:(e,t,i)=>{i.d(t,{v:()=>r});const r=new(i(35454).Xn)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml"})},12501:(e,t,i)=>{i.r(t),i.d(t,{default:()=>O});var r,s=i(43697),o=i(22303),n=i(3172),a=i(20102),l=i(22974),u=i(92604),p=i(13867),d=i(70586),c=i(95330),m=i(19153),h=i(5600),b=(i(75215),i(52011)),y=i(30556),f=i(35671),v=i(5499),g=i(12571),C=i(59266),T=i(17386);const S=u.Z.getLogger("esri.renderers.DictionaryRenderer"),_={type:"CIMSimpleLineCallout",lineSymbol:{type:"CIMLineSymbol",symbolLayers:[{type:"CIMSolidStroke",width:.5,color:[0,0,0,255]}]}};let w=r=class extends((0,g.W)(v.Z)){constructor(e){super(e),this._ongoingRequests=new Map,this._symbolCache=new p.Z(100),this.config=null,this.fieldMap=null,this.scaleExpression=null,this.scaleExpressionTitle=null,this.url=null,this.type="dictionary"}writeData(e,t){e&&(t.scalingExpressionInfo={expression:e,returnType:"number"})}writeVisualVariables(e,t,i,r){null!=r&&r.origin||super.writeVisualVariables(e,t,i,r)}clone(){return new r({config:(0,l.d9)(this.config),scaleExpression:this.scaleExpression,scaleExpressionTitle:this.scaleExpressionTitle,fieldMap:(0,l.d9)(this.fieldMap),url:(0,l.d9)(this.url),visualVariables:(0,l.d9)(this.visualVariables)})}async getSymbolAsync(e,t){let i;this._dictionaryPromise||(this._dictionaryPromise=this.fetchResources(t));try{i=await this._dictionaryPromise}catch(e){if((0,c.D_)(e))return this._dictionaryPromise=null,null}const r={};if(this.fieldMap)for(const t of this._symbolFields){const i=this.fieldMap[t];if(i&&null!==e.attributes[i]&&void 0!==e.attributes[i]){const s=""+e.attributes[i];r[t]=s}else r[t]=""}const s=i(r,t);if(!s||"string"!=typeof s)return null;const n=(0,m.hP)(s).toString(),a=this._symbolCache.get(n);if(a)return a.catch((()=>{this._symbolCache.pop(n)})),a;const l=s.split(";"),u=[],p=[];for(const e of l)if(e&&0!==e.length)if(-1===e.indexOf("po:"))if(-1!==e.indexOf("|")){for(const t of e.split("|"))if(this._itemNames.has(t)){u.push(t);break}}else this._itemNames.has(e)&&u.push(e);else{const t=e.substr(3).split("|");if(3===t.length){const e=t[0],i=t[1];let r=t[2];if("DashTemplate"===i)r=r.split(" ").map((e=>Number(e)));else if("Color"===i){const e=new o.Z(r).toRgba();r=[e[0],e[1],e[2],255*e[3]]}else r=Number(r);p.push({primitiveName:e,propertyName:i,value:r})}}const h=!(0,d.pC)(e.geometry)||!e.geometry.hasZ&&"point"===e.geometry.type,b=this._cimPartsToCIMSymbol(u,p,h,t);return this._symbolCache.put(n,b,1),b}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t),this.scaleExpression&&await(0,f.io)(e,t,this.scaleExpression);for(const i in this.fieldMap){const r=this.fieldMap[i];t.has(r)&&e.add(r)}}get arcadeRequired(){return!0}async fetchResources(e){if(this._dictionaryPromise)return this._dictionaryPromise;if(!this.url)return void S.error("no valid URL!");const t=(0,d.pC)(e)?e.abortOptions:null,i=(0,n.default)(this.url+"/resources/styles/dictionary-info.json",{responseType:"json",query:{f:"json"},...t}),[{data:r}]=await Promise.all([i,(0,C.LC)()]);if(!r)throw this._dictionaryPromise=null,new a.Z("esri.renderers.DictionaryRenderer","Bad dictionary data!");const s=r.expression,o=r.authoringInfo;this._refSymbolUrlTemplate=this.url+"/"+r.cimRefTemplateUrl,this._itemNames=new Set(r.itemsNames),this._symbolFields=o.symbol;const l={};if(this.config){const e=this.config;for(const t in e)l[t]=e[t]}if(o.configuration)for(const e of o.configuration)l.hasOwnProperty(e.name)||(l[e.name]=e.value);const u=[];if((0,d.pC)(e)&&e.fields&&this.fieldMap)for(const t of this._symbolFields){const i=this.fieldMap[t],r=e.fields.filter((e=>e.name===i));r.length>0&&u.push({...r[0],name:t})}return this._dictionaryPromise=(0,C.pp)(s,(0,d.pC)(e)?e.spatialReference:null,u,l).then((e=>{const t={scale:0};return(i,r)=>{const s=e.repurposeFeature({geometry:null,attributes:i});return t.scale=(0,d.pC)(r)?r.scale:void 0,e.evaluate({$feature:s,$view:t})}})).catch((e=>(S.error("Creating dictinoary expression failed:",e),null))),this._dictionaryPromise}getSymbol(){return null}getSymbols(){return[]}getAttributeHash(){return this.visualVariables&&this.visualVariables.reduce(((e,t)=>e+t.getAttributeHash()),"")}getMeshHash(){return`${this.url}-${JSON.stringify(this.fieldMap)}`}getSymbolFields(){return this._symbolFields}async _getSymbolPart(e,t){if(this._ongoingRequests.has(e))return this._ongoingRequests.get(e).then((e=>e.data));const i=this._refSymbolUrlTemplate.replace(/\{itemName\}/gi,e),r=(0,n.default)(i,{responseType:"json",query:{f:"json"},...t});this._ongoingRequests.set(e,r);try{return(await r).data}catch(t){return this._ongoingRequests.delete(e),Promise.reject(t)}}_combineSymbolParts(e,t,i){if(!e||0===e.length)return null;const r={...e[0]};if(e.length>1){r.symbolLayers=[];for(const t of e){const e=t;r.symbolLayers.unshift(...e.symbolLayers)}}return i&&(r.callout=_),{type:"CIMSymbolReference",symbol:r,primitiveOverrides:t}}async _cimPartsToCIMSymbol(e,t,i,r){const s=new Array(e.length);for(let t=0;t<e.length;t++)s[t]=this._getSymbolPart(e[t],r);const o=await Promise.all(s);return new T.Z({data:this._combineSymbolParts(o,t,i)})}};(0,s._)([(0,h.Cb)({type:Object,json:{read:{source:"configuration"},write:{target:"configuration"}}})],w.prototype,"config",void 0),(0,s._)([(0,h.Cb)({type:Object,json:{write:!0}})],w.prototype,"fieldMap",void 0),(0,s._)([(0,h.Cb)({type:String,json:{read:{source:"scalingExpressionInfo.expression"},write:!0}})],w.prototype,"scaleExpression",void 0),(0,s._)([(0,y.c)("scaleExpression")],w.prototype,"writeData",null),(0,s._)([(0,h.Cb)({type:String,json:{read:{source:"scalingExpressionInfo.title"},write:{target:"scalingExpressionInfo.title",overridePolicy(e){return{enabled:!!e&&!!this.scaleExpression}}}}})],w.prototype,"scaleExpressionTitle",void 0),(0,s._)([(0,h.Cb)({type:String,json:{write:!0}})],w.prototype,"url",void 0),(0,s._)([(0,y.c)("visualVariables")],w.prototype,"writeVisualVariables",null),w=r=(0,s._)([(0,b.j)("esri.renderers.DictionaryRenderer")],w);const O=w},95088:(e,t,i)=>{i.d(t,{Z:()=>x});var r,s=i(43697),o=i(22303),n=i(22974),a=i(44422),l=i(75215),u=i(36030),p=i(5600),d=i(52011),c=i(35671),m=i(5499),h=i(12571),b=i(96674),y=i(92604),f=(i(67676),i(80442),i(90578));const v=y.Z.getLogger("esri.renderers.support.AttributeColorInfo");let g=r=class extends b.wq{constructor(e){super(e),this.color=null,this.field=null,this.label=null,this.valueExpression=null,this.valueExpressionTitle=null}castField(e){return null==e?e:"function"==typeof e?(v.error(".field: field must be a string value"),null):(0,l.Zs)(e)}getAttributeHash(){return`${this.field}-${this.valueExpression}`}clone(){return new r({color:this.color&&this.color.clone(),field:this.field,label:this.label,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,s._)([(0,p.Cb)({type:o.Z,json:{type:[Number],write:!0}})],g.prototype,"color",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],g.prototype,"field",void 0),(0,s._)([(0,f.p)("field")],g.prototype,"castField",null),(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],g.prototype,"label",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],g.prototype,"valueExpression",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],g.prototype,"valueExpressionTitle",void 0),g=r=(0,s._)([(0,d.j)("esri.renderers.support.AttributeColorInfo")],g);const C=g;var T;let S=T=class extends b.wq{constructor(){super(...arguments),this.unit=null}clone(){return new T({unit:this.unit})}};(0,s._)([(0,p.Cb)({type:String,json:{write:!0}})],S.prototype,"unit",void 0),S=T=(0,s._)([(0,d.j)("esri.renderers.support.DotDensityLegendOptions")],S);const _=S;var w,O=i(20256),N=i(4095);let I=w=class extends((0,h.W)(m.Z)){constructor(e){super(e),this.attributes=null,this.backgroundColor=new o.Z([0,0,0,0]),this.blendDots=!0,this.dotBlendingEnabled=!0,this.dotShape="square",this.dotSize=1,this.legendOptions=null,this.outline=new N.Z,this.dotValue=null,this.referenceDotValue=null,this.referenceScale=null,this.seed=1,this.type="dot-density"}calculateDotValue(e){if(null==this.referenceScale)return this.dotValue;const t=e/this.referenceScale*this.dotValue;return t<1?1:t}getSymbol(){return new O.Z({outline:this.outline})}async getSymbolAsync(){return this.getSymbol()}getSymbols(){return[this.getSymbol()]}getAttributeHash(){return this.attributes&&this.attributes.reduce(((e,t)=>e+t.getAttributeHash()),"")}getMeshHash(){return JSON.stringify(this.outline)}clone(){return new w({attributes:(0,n.d9)(this.attributes),backgroundColor:(0,n.d9)(this.backgroundColor),dotBlendingEnabled:(0,n.d9)(this.dotBlendingEnabled),dotShape:(0,n.d9)(this.dotShape),dotSize:(0,n.d9)(this.dotSize),dotValue:(0,n.d9)(this.dotValue),legendOptions:(0,n.d9)(this.legendOptions),outline:(0,n.d9)(this.outline),referenceScale:(0,n.d9)(this.referenceScale),visualVariables:(0,n.d9)(this.visualVariables),authoringInfo:this.authoringInfo&&this.authoringInfo.clone()})}getControllerHash(){return`${this.attributes.map((e=>e.field||e.valueExpression||""))}-${this.outline&&JSON.stringify(this.outline.toJSON())||""}`}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const i of this.attributes)i.valueExpression&&await(0,c.io)(e,t,i.valueExpression),i.field&&e.add(i.field)}};(0,s._)([(0,p.Cb)({type:[C],json:{write:!0}})],I.prototype,"attributes",void 0),(0,s._)([(0,p.Cb)({type:o.Z,json:{write:!0}})],I.prototype,"backgroundColor",void 0),(0,s._)([(0,p.Cb)({type:Boolean}),(0,a.B)("dotBlendingEnabled")],I.prototype,"blendDots",void 0),(0,s._)([(0,p.Cb)({type:Boolean,json:{write:!0}})],I.prototype,"dotBlendingEnabled",void 0),(0,s._)([(0,p.Cb)({type:String,json:{write:!1}})],I.prototype,"dotShape",void 0),(0,s._)([(0,p.Cb)({type:Number,json:{write:!1}})],I.prototype,"dotSize",void 0),(0,s._)([(0,p.Cb)({type:_,json:{write:!0}})],I.prototype,"legendOptions",void 0),(0,s._)([(0,p.Cb)({type:N.Z,json:{default:null,write:!0}})],I.prototype,"outline",void 0),(0,s._)([(0,p.Cb)({type:Number,json:{write:!0}})],I.prototype,"dotValue",void 0),(0,s._)([(0,p.Cb)({type:Number}),(0,a.B)("dotValue")],I.prototype,"referenceDotValue",void 0),(0,s._)([(0,p.Cb)({type:Number,json:{write:!0}})],I.prototype,"referenceScale",void 0),(0,s._)([(0,p.Cb)({type:Number,json:{write:!0}})],I.prototype,"seed",void 0),(0,s._)([(0,u.J)({dotDensity:"dot-density"})],I.prototype,"type",void 0),I=w=(0,s._)([(0,d.j)("esri.renderers.DotDensityRenderer")],I);const x=I},79056:(e,t,i)=>{i.d(t,{Z:()=>f});var r,s=i(43697),o=i(22303),n=i(22974),a=i(5600),l=(i(75215),i(36030)),u=i(52011),p=i(35671),d=i(5499),c=i(96674);i(67676),i(80442);let m=r=class extends c.wq{constructor(e){super(e),this.color=null,this.ratio=null}clone(){return new r({color:this.color,ratio:this.ratio})}};(0,s._)([(0,a.Cb)({type:o.Z,json:{write:!0}})],m.prototype,"color",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],m.prototype,"ratio",void 0),m=r=(0,s._)([(0,u.j)("esri.renderers.support.HeatmapColorStop")],m);const h=m;var b;let y=b=class extends d.Z{constructor(e){super(e),this.blurRadius=10,this.colorStops=[new h({ratio:0,color:new o.Z("rgba(255, 140, 0, 0)")}),new h({ratio:.75,color:new o.Z("rgba(255, 140, 0, 1)")}),new h({ratio:.9,color:new o.Z("rgba(255, 0, 0, 1)")})],this.field=null,this.fieldOffset=0,this.maxPixelIntensity=100,this.minPixelIntensity=0,this.type="heatmap"}async collectRequiredFields(e,t){const i=this.field;i&&"string"==typeof i&&(0,p.AB)(e,t,i)}getAttributeHash(){return null}getMeshHash(){return`${JSON.stringify(this.colorStops)}.${this.blurRadius}.${this.field}`}clone(){return new b({blurRadius:this.blurRadius,colorStops:(0,n.d9)(this.colorStops),field:this.field,maxPixelIntensity:this.maxPixelIntensity,minPixelIntensity:this.minPixelIntensity})}};(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],y.prototype,"blurRadius",void 0),(0,s._)([(0,a.Cb)({type:[h],json:{write:!0}})],y.prototype,"colorStops",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],y.prototype,"field",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:{overridePolicy:(e,t,i)=>({enabled:null==i})}}})],y.prototype,"fieldOffset",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],y.prototype,"maxPixelIntensity",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],y.prototype,"minPixelIntensity",void 0),(0,s._)([(0,l.J)({heatmap:"heatmap"})],y.prototype,"type",void 0),y=b=(0,s._)([(0,u.j)("esri.renderers.HeatmapRenderer")],y);const f=y},84382:(e,t,i)=>{i.d(t,{Z:()=>m});var r,s=i(43697),o=i(22974),n=i(5600),a=(i(75215),i(36030)),l=i(52011),u=i(5499),p=i(12571),d=i(9833);let c=r=class extends((0,p.W)(u.Z)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.type="simple"}async collectRequiredFields(e,t){await Promise.all([this.collectSymbolFields(e,t),this.collectVVRequiredFields(e,t)])}async collectSymbolFields(e,t){await Promise.all(this.getSymbols().map((i=>i.collectRequiredFields(e,t))))}getSymbol(e,t){return this.symbol}async getSymbolAsync(e,t){return this.symbol}getSymbols(){return this.symbol?[this.symbol]:[]}getAttributeHash(){return this.visualVariables&&this.visualVariables.reduce(((e,t)=>e+t.getAttributeHash()),"")}getMeshHash(){return this.getSymbols().reduce(((e,t)=>e+JSON.stringify(t)),"")}get arcadeRequired(){return this.arcadeRequiredForVisualVariables}clone(){return new r({description:this.description,label:this.label,symbol:this.symbol&&this.symbol.clone(),visualVariables:(0,o.d9)(this.visualVariables),authoringInfo:this.authoringInfo&&this.authoringInfo.clone()})}};(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],c.prototype,"description",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],c.prototype,"label",void 0),(0,s._)([(0,n.Cb)(d.G)],c.prototype,"symbol",void 0),(0,s._)([(0,a.J)({simple:"simple"})],c.prototype,"type",void 0),c=r=(0,s._)([(0,l.j)("esri.renderers.SimpleRenderer")],c);const m=c},91423:(e,t,i)=>{i.d(t,{a:()=>a});var r=i(20941),s=i(63213),o=i(32400);const n=(0,s.d)({types:o.A});function a(e,t,i){return e?e&&(e.styleName||e.styleUrl)&&"uniqueValue"!==e.type?(i&&i.messages&&i.messages.push(new r.Z("renderer:unsupported","Only UniqueValueRenderer can be referenced from a web style, but found '"+e.type+"'",{definition:e,context:i})),null):n(e,t,i):null}},99282:(e,t,i)=>{i.d(t,{a:()=>o});var r=i(67900),s=i(68441);const o={inches:(0,r.En)(1,"meters","inches"),feet:(0,r.En)(1,"meters","feet"),"us-feet":(0,r.En)(1,"meters","us-feet"),yards:(0,r.En)(1,"meters","yards"),miles:(0,r.En)(1,"meters","miles"),"nautical-miles":(0,r.En)(1,"meters","nautical-miles"),millimeters:(0,r.En)(1,"meters","millimeters"),centimeters:(0,r.En)(1,"meters","centimeters"),decimeters:(0,r.En)(1,"meters","decimeters"),meters:(0,r.En)(1,"meters","meters"),kilometers:(0,r.En)(1,"meters","kilometers"),"decimal-degrees":1/(0,r.ty)(1,"meters",s.sv.radius)}},32400:(e,t,i)=>{i.d(t,{A:()=>p,o:()=>d});var r=i(16050),s=i(12501),o=i(95088),n=i(79056),a=i(5499),l=i(84382),u=i(30687);const p={key:"type",base:a.Z,typeMap:{heatmap:n.Z,simple:l.Z,"unique-value":u.Z,"class-breaks":r.Z,"dot-density":o.Z,dictionary:s.default},errorContext:"renderer"},d={key:"type",base:a.Z,typeMap:{simple:l.Z,"unique-value":u.Z,"class-breaks":r.Z},errorContext:"renderer"}},51706:(e,t,i)=>{var r,s;function o(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function n(e){return null!=e&&!isNaN(e)&&isFinite(e)}function a(e){return e.valueExpression?r.Expression:e.field&&"string"==typeof e.field?r.Field:r.Unknown}function l(e,t){const i=t||a(e),o=e.valueUnit||"unknown";return i===r.Unknown?s.Constant:e.stops?s.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?s.ClampedLinear:"unknown"===o?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?s.Proportional:s.Additive:s.Identity:s.RealWorldSize}i.d(t,{RY:()=>r,hL:()=>s,PS:()=>a,QW:()=>l,iY:()=>o,qh:()=>n}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(r||(r={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(s||(s={}))},28101:(e,t,i)=>{i.d(t,{PR:()=>S,Lq:()=>h,Km:()=>b,cM:()=>y,ap:()=>f,V3:()=>C,B3:()=>m});var r=i(22303),s=i(1692),o=i(74085),n=i(92604),a=i(70586),l=i(99282),u=i(51706);const p=n.Z.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),d=new s.Z,c=Math.PI,m=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function h(e,t,i){const s="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"color"===e.type))[0]:e;if(!s)return;if("esri.renderers.visualVariables.ColorVariable"!==s.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable");const o="number"==typeof t,n=o?null:t,l=n&&n.attributes;let u=o?t:null;const d=s.field,{ipData:c,hasExpression:m}=s.cache;let h=s.cache.compiledFunc;if(!d&&!m){const e=s.stops;return e&&e[0]&&e[0].color}if("number"!=typeof u)if(m){if(!(0,a.pC)(i)||!(0,a.pC)(i.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},t=i.arcade.arcadeUtils,r=t.getViewInfo(e),o=t.createExecContext(n,r);if(!h){const e=t.createSyntaxTree(s.valueExpression);h=t.createFunction(e),s.cache.compiledFunc=h}u=t.executeFunction(h,o)}else l&&(u=l[d]);const b=s.normalizationField,y=l?parseFloat(l[b]):void 0;if(null!=u&&(!b||o||!isNaN(y)&&0!==y)){isNaN(y)||o||(u/=y);const e=T(u,c);if(e){const t=e[0],o=e[1],n=t===o?s.stops[t].color:r.Z.blendColors(s.stops[t].color,s.stops[o].color,e[2],(0,a.pC)(i)?i.color:void 0);return new r.Z(n)}}}function b(e,t,i){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"opacity"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.OpacityVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable");const s="number"==typeof t,o=s?null:t,n=o&&o.attributes;let l=s?t:null;const u=r.field,{ipData:d,hasExpression:c}=r.cache;let m=r.cache.compiledFunc;if(!u&&!c){const e=r.stops;return e&&e[0]&&e[0].opacity}if("number"!=typeof l)if(c){if((0,a.Wi)(i)||(0,a.Wi)(i.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},t=i.arcade.arcadeUtils,s=t.getViewInfo(e),n=t.createExecContext(o,s);if(!m){const e=t.createSyntaxTree(r.valueExpression);m=t.createFunction(e),r.cache.compiledFunc=m}l=t.executeFunction(m,n)}else n&&(l=n[u]);const h=r.normalizationField,b=n?parseFloat(n[h]):void 0;if(null!=l&&(!h||s||!isNaN(b)&&0!==b)){isNaN(b)||s||(l/=b);const e=T(l,d);if(e){const t=e[0],i=e[1];if(t===i)return r.stops[t].opacity;{const s=r.stops[t].opacity;return s+(r.stops[i].opacity-s)*e[2]}}}}function y(e,t,i){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"rotation"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.RotationVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable");const s=r.axis||"heading",o="heading"===s&&"arithmetic"===r.rotationType?90:0,n="heading"===s&&"arithmetic"===r.rotationType?-1:1,l="number"==typeof t?null:t,u=l&&l.attributes,d=r.field,{hasExpression:c}=r.cache;let m=r.cache.compiledFunc,h=0;if(!d&&!c)return h;if(c){if((0,a.Wi)(i)||(0,a.Wi)(i.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},t=i.arcade.arcadeUtils,s=t.getViewInfo(e),o=t.createExecContext(l,s);if(!m){const e=t.createSyntaxTree(r.valueExpression);m=t.createFunction(e),r.cache.compiledFunc=m}h=t.executeFunction(m,o)}else u&&(h=u[d]||0);return h="number"!=typeof h||isNaN(h)?null:o+n*h,h}function f(e,t,i){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"size"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.SizeVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable");const s=function(e,t,i,r,s){switch(t.transformationType){case u.hL.Additive:return function(e,t,i,r){return e+(v(t.minSize,i,r)||t.minDataValue)}(e,t,i,r);case u.hL.Constant:return function(e,t,i){const r=e.stops;let s=r&&r.length&&r[0].size;return null==s&&(s=e.minSize),v(s,t,i)}(t,i,r);case u.hL.ClampedLinear:return function(e,t,i,r){const s=(e-t.minDataValue)/(t.maxDataValue-t.minDataValue),o=v(t.minSize,i,r),n=v(t.maxSize,i,r),l=(0,a.pC)(r)?r.shape:void 0;if(e<=t.minDataValue)return o;if(e>=t.maxDataValue)return n;if("area"===t.scaleBy&&l){const e="circle"===l,t=e?c*(o/2)**2:o*o,i=t+s*((e?c*(n/2)**2:n*n)-t);return e?2*Math.sqrt(i/c):Math.sqrt(i)}return o+s*(n-o)}(e,t,i,r);case u.hL.Proportional:return function(e,t,i,r){const s=(0,a.pC)(r)?r.shape:void 0,o=e/t.minDataValue,n=v(t.minSize,i,r),l=v(t.maxSize,i,r);let u=null;return u="circle"===s?2*Math.sqrt(o*(n/2)**2):"square"===s||"diamond"===s||"image"===s?Math.sqrt(o*n**2):o*n,g(u,n,l)}(e,t,i,r);case u.hL.Stops:return function(e,t,i,r,s){const[o,n,a]=T(e,s);if(o===n)return v(t.stops[o].size,i,r);{const e=v(t.stops[o].size,i,r);return e+(v(t.stops[n].size,i,r)-e)*a}}(e,t,i,r,s);case u.hL.RealWorldSize:return function(e,t,i,r){const s=((0,a.pC)(r)&&r.resolution?r.resolution:1)*l.a[t.valueUnit],o=v(t.minSize,i,r),n=v(t.maxSize,i,r),{valueRepresentation:u}=t;let p=null;return p="area"===u?2*Math.sqrt(e/c)/s:"radius"===u||"distance"===u?2*e/s:e/s,g(p,o,n)}(e,t,i,r);case u.hL.Identity:return e;case u.hL.Unknown:return null}}(function(e,t,i){const r="number"==typeof t,s=r?null:t,o=s&&s.attributes;let n=r?t:null;const{isScaleDriven:l}=e.cache;let d=e.cache.compiledFunc;if(l){const t=(0,a.pC)(i)?i.scale:void 0,r=(0,a.pC)(i)?i.view:void 0;n=null==t||"3d"===r?function(e){let t=null,i=null;const r=e.stops;return r?(t=r[0].value,i=r[r.length-1].value):(t=e.minDataValue||0,i=e.maxDataValue||0),(t+i)/2}(e):t}else if(!r)switch(e.inputValueType){case u.RY.Expression:{if((0,a.Wi)(i)||(0,a.Wi)(i.arcade))return void p.error("Use of arcade expressions requires an arcade context");const t={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},r=i.arcade.arcadeUtils,o=r.getViewInfo(t),l=r.createExecContext(s,o);if(!d){const t=r.createSyntaxTree(e.valueExpression);d=r.createFunction(t),e.cache.compiledFunc=d}n=r.executeFunction(d,l);break}case u.RY.Field:o&&(n=o[e.field]);break;case u.RY.Unknown:n=null}if(!(0,u.qh)(n))return null;if(r||!e.normalizationField)return n;const c=o?parseFloat(o[e.normalizationField]):null;return(0,u.qh)(c)&&0!==c?n/c:null}(r,t,i),r,t,i,r.cache.ipData);return null==s||isNaN(s)?0:s}function v(e,t,i){return null==e?null:(0,u.iY)(e)?f(e,t,i):(0,u.qh)(e)?e:null}function g(e,t,i){return(0,u.qh)(i)&&e>i?i:(0,u.qh)(t)&&e<t?t:e}function C(e,t,i){const{isScaleDriven:r}=e.cache;if(!(r&&"3d"===i||t))return null;const s={scale:t,view:i};let o=v(e.minSize,d,s),n=v(e.maxSize,d,s);if(null!=o||null!=n){if(o>n){const e=n;n=o,o=e}return{minSize:o,maxSize:n}}}function T(e,t){if(!t)return;let i=0,r=t.length-1;return t.some(((t,s)=>e<t?(r=s,!0):(i=s,!1))),[i,r,(e-t[i])/(t[r]-t[i])]}function S(e,t,i){const r=["proportional","proportional","proportional"];for(const s of e){const e=s.useSymbolValue?"symbol-value":f(s,t,i);switch(s.axis){case"width":r[0]=e;break;case"depth":r[1]=e;break;case"height":r[2]=e;break;case"width-and-depth":r[0]=e,r[1]=e;break;case"all":case void 0:case null:r[0]=e,r[1]=e,r[2]=e;break;default:(0,o.Bg)(s.axis)}}return r}},3172:(e,t,i)=>{i.r(t),i.d(t,{default:()=>m});var r=i(68773),s=i(40330),o=i(20102),n=i(80442),a=i(22974),l=i(70586),u=i(95330),p=i(17452),d=i(71058),c=i(85958);async function m(e,t){var a;const c=(0,p.HK)(e),f=(0,p.jc)(e);f||c||(e=(0,p.Fv)(e));const v={url:e,requestOptions:{...(0,l.Wg)(t)}};let g=(0,p.oh)(e);if(g){const e=await async function(e,t){if(null!=e.responseData)return e.responseData;if(e.headers&&(t.requestOptions.headers={...t.requestOptions.headers,...e.headers}),e.query&&(t.requestOptions.query={...t.requestOptions.query,...e.query}),e.before){let i,r;try{r=await e.before(t)}catch(e){i=_("request:interceptor",e,t)}if((r instanceof Error||r instanceof o.Z)&&(i=_("request:interceptor",r,t)),i)throw e.error&&e.error(i),i;return r}}(g,v);if(null!=e)return{data:e,getHeader:C,requestOptions:v.requestOptions,url:v.url};g.after||g.error||(g=null)}if(e=v.url,"image"===(t=v.requestOptions).responseType){if((0,n.Z)("host-webworker")||(0,n.Z)("host-node"))throw _("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),v)}else if(c)throw _("request:invalid-parameters",new Error("Data URLs are not supported for responseType = "+t.responseType),v);if("head"===t.method){if(t.body)throw _("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),v);if(c||f)throw _("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),v)}if(await async function(){(0,n.Z)("host-webworker")?h||(h=await Promise.all([i.e(102),i.e(9884)]).then(i.bind(i,29884))):m._abortableFetch||(m._abortableFetch=globalThis.fetch.bind(globalThis))}(),h)return h.execute(e,t);const T=new AbortController;(0,u.fu)(t,(()=>T.abort()));const S={controller:T,credential:null,credentialToken:null,fetchOptions:null,hasToken:!1,interceptor:g,params:v,redoRequest:!1,useIdentity:b.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},I=await async function(e){var t,i;let o,n;await async function(e){const t=e.params.url,i=e.params.requestOptions,o=e.controller.signal,n=i.body;let a=null,l=null,p=null;if(y&&"HTMLFormElement"in globalThis&&(n instanceof FormData?a=n:n instanceof HTMLFormElement&&(l=n,a=new FormData(l))),"string"==typeof n&&(p=n),e.fetchOptions={cache:i.cacheBust&&!m._abortableFetch.polyfill?"no-cache":"default",credentials:"same-origin",headers:i.headers||{},method:"head"===i.method?"HEAD":"GET",mode:"cors",redirect:"follow",signal:o},(a||p)&&(e.fetchOptions.body=a||p),"anonymous"===i.authMode&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(t)||i.query&&i.query.token||a&&a.get&&a.get("token")||l&&l.elements.token),!e.hasToken&&r.Z.apiKey&&(0,d.r)(t)&&(i.query||(i.query={}),i.query.token=r.Z.apiKey,e.hasToken=!0),e.useIdentity&&!e.hasToken&&!e.credentialToken&&!O(t)&&!(0,u.Hc)(o)){let r;"immediate"===i.authMode?(await w(),r=await s.id.getCredential(t,{signal:o}),e.credential=r):"no-prompt"===i.authMode?(await w(),r=await s.id.getCredential(t,{prompt:!1,signal:o}).catch((()=>{})),e.credential=r):s.id&&(r=s.id.findCredential(t)),r&&(e.credentialToken=r.token,e.useSSL=!!r.ssl)}}(e);try{do{[o,n]=await N(e)}while(!await x(e,o,n))}catch(t){const i=_("request:server",t,e.params,o);throw i.details.ssl=e.useSSL,e.interceptor&&e.interceptor.error&&e.interceptor.error(i),i}const a=e.params.url;if(/\/sharing\/rest\/(accounts|portals)\/self/i.test(a)&&!e.hasToken&&!e.credentialToken&&null!=(t=n)&&null!=(i=t.user)&&i.username&&!(0,p.kl)(a)){const e=(0,p.P$)(a,!0);e&&b.trustedServers.push(e)}const l=e.credential;if(l&&s.id){const e=s.id.findServerInfo(l.server);let t=e&&e.owningSystemUrl;if(t){t=t.replace(/\/?$/,"/sharing");const e=s.id.findCredential(t,l.userId);e&&-1===s.id._getIdenticalSvcIdx(t,e)&&e.resources.unshift(t)}}return{data:n,getHeader:o?e=>o.headers.get(e):C,requestOptions:e.params.requestOptions,ssl:e.useSSL,url:e.params.url}}(S);return null==(a=g)||null==a.after||a.after(I),I}let h;const b=r.Z.request,y="FormData"in globalThis,f=[499,498,403,401],v=["COM_0056","COM_0057","SB_0008"],g=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i],C=()=>null,T=Symbol();function S(e){const t=(0,p.P$)(e);return!t||t.endsWith(".arcgis.com")||m._corsServers.includes(t)||(0,p.kl)(t)}function _(e,t,i,r){let s="Error";const n={url:i.url,requestOptions:i.requestOptions,getHeader:C,ssl:!1};if(t instanceof o.Z)return t.details?(t.details=(0,a.d9)(t.details),t.details.url=i.url,t.details.requestOptions=i.requestOptions):t.details=n,t;if(t){const e=r&&(e=>r.headers.get(e)),i=r&&r.status,o=t.message;o&&(s=o),e&&(n.getHeader=e),n.httpStatus=(null!=t.httpCode?t.httpCode:t.code)||i||0,n.subCode=t.subcode,n.messageCode=t.messageCode,"string"==typeof t.details?n.messages=[t.details]:n.messages=t.details,n.raw=T in t?t[T]:t}return(0,u.D_)(t)?(0,u.zE)():new o.Z(e,s,n)}async function w(){s.id||await Promise.all([i.e(280),i.e(2785),i.e(102),i.e(8536)]).then(i.bind(i,85976))}function O(e){return g.some((t=>t.test(e)))}async function N(e){let t=e.params.url;const i=e.params.requestOptions,r=e.fetchOptions,o=(0,p.jc)(t)||(0,p.HK)(t),a=i.responseType||"json",l=o?0:null!=i.timeout?i.timeout:b.timeout;let d=!1;if(!o){e.useSSL&&(t=(0,p.hO)(t)),i.cacheBust&&"default"===r.cache&&(t=(0,p.ZN)(t,"request.preventCache",Date.now()));let o={...i.query};e.credentialToken&&(o.token=e.credentialToken);let a=(0,p.B7)(o);(0,n.Z)("esri-url-encodes-apostrophe")&&(a=a.replace(/'/g,"%27"));const l=t.length+1+a.length;let u;d="delete"===i.method||"post"===i.method||"put"===i.method||!!i.body||l>b.maxUrlLength;const c=i.useProxy||!!(0,p.ed)(t);if(c){const e=(0,p.b7)(t);u=e.path,!d&&u.length+1+l>b.maxUrlLength&&(d=!0),e.query&&(o={...e.query,...o})}if("HEAD"===r.method&&(d||c)){if(d){if(l>b.maxUrlLength)throw _("request:invalid-parameters",new Error("URL exceeds maximum length"),e.params);throw _("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.params)}if(c)throw _("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.params)}if(d?(r.method="delete"===i.method?"DELETE":"put"===i.method?"PUT":"POST",i.body?t=(0,p.fl)(t,o):(r.body=(0,p.B7)(o),r.headers["Content-Type"]="application/x-www-form-urlencoded")):t=(0,p.fl)(t,o),c&&(e.useProxy=!0,t=`${u}?${t}`),o.token&&y&&r.body instanceof FormData){const e=r.body;e.set?e.set("token",o.token):e.append("token",o.token)}if(i.hasOwnProperty("withCredentials"))e.withCredentials=i.withCredentials;else if(!(0,p.D6)(t,(0,p.TI)()))if((0,p.kl)(t))e.withCredentials=!0;else if(s.id){const i=s.id.findServerInfo(t);i&&i.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(r.credentials="include")}let c,h,f=0,v=!1;l>0&&(f=setTimeout((()=>{v=!0,e.controller.abort()}),l));try{if("native-request-init"===i.responseType)h=r,h.url=t;else if("image"!==i.responseType||"default"!==r.cache||"GET"!==r.method||d||function(e){if(e)for(const t of Object.getOwnPropertyNames(e))if(e[t])return!0;return!1}(i.headers)||!o&&!e.useProxy&&b.proxyUrl&&!S(t)){if(c=await m._abortableFetch(t,r),e.useProxy||function(e){const t=(0,p.P$)(e);t&&!m._corsServers.includes(t)&&m._corsServers.push(t)}(t),"native"===i.responseType)h=c;else if("HEAD"!==r.method)if(c.ok){switch(a){case"array-buffer":h=await c.arrayBuffer();break;case"blob":case"image":h=await c.blob();break;default:h=await c.text()}if(f&&(clearTimeout(f),f=0),"json"===a||"xml"===a||"document"===a)if(h)switch(a){case"json":h=JSON.parse(h);break;case"xml":h=I(h,"application/xml");break;case"document":h=I(h,"text/html")}else h=null;if(h){if("array-buffer"===a||"blob"===a){const e=c.headers.get("Content-Type");if(/application\/json|text\/plain/i.test(e)&&h["blob"===a?"size":"byteLength"]<=750)try{const e=await new Response(h).json();e.error&&(h=e)}catch{}}"image"===a&&h instanceof Blob&&(h=await E(URL.createObjectURL(h),e,!0))}}else h=await c.text()}else h=await E(t,e)}catch(r){if("AbortError"===r.name){if(v)throw new Error("Timeout exceeded");throw(0,u.zE)("Request canceled")}if(!(!c&&r instanceof TypeError&&b.proxyUrl)||i.body||"delete"===i.method||"head"===i.method||"post"===i.method||"put"===i.method||e.useProxy||S(t))throw r;e.redoRequest=!0,(0,p.tD)({proxyUrl:b.proxyUrl,urlPrefix:(0,p.P$)(t)})}finally{f&&clearTimeout(f)}return[c,h]}function I(e,t){let i;try{i=(new DOMParser).parseFromString(e,t)}catch{}if(!i||i.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return i}async function x(e,t,i){if(e.redoRequest)return e.redoRequest=!1,!1;const r=e.params.requestOptions;if(!t||"native"===r.responseType||"native-request-init"===r.responseType)return!0;let o,n,a,l;if(!t.ok)throw o=new Error(`Unable to load ${t.url} status: ${t.status}`),o[T]=i,o;null!=i&&i.error&&(o=i.error),o&&(n=Number(o.code),a=o.hasOwnProperty("subcode")?Number(o.subcode):null,l=o.messageCode,l=l&&l.toUpperCase());const u=r.authMode;if(403===n&&(4===a||o.message&&o.message.toLowerCase().indexOf("ssl")>-1&&-1===o.message.toLowerCase().indexOf("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==u||498===n)&&-1!==f.indexOf(n)&&!O(e.params.url)&&(403!==n||-1===v.indexOf(l)&&(null==a||2===a&&e.credentialToken))){await w();try{const t=await s.id.getCredential(e.params.url,{error:_("request:server",o,e.params),prompt:"no-prompt"!==u,signal:e.controller.signal,token:e.credentialToken});return e.credential=t,e.credentialToken=t.token,e.useSSL=e.useSSL||t.ssl,!1}catch(t){if("no-prompt"===u)return e.credential=null,e.credentialToken=null,!1;o=t}}if(o)throw o;return!0}function E(e,t,i=!1){const r=t.controller.signal,s=new Image;return t.withCredentials?s.crossOrigin="use-credentials":s.crossOrigin="anonymous",s.alt="",s.src=e,(0,c.f)(s,e,i,r)}m._abortableFetch=null,m._corsServers=["https://server.arcgisonline.com","https://services.arcgisonline.com"]},23334:(e,t,i)=>{i.d(t,{F:()=>O});var r=i(3172),s=i(70586),o=i(28263),n=i(38581),a=i(93924),l=i(11282),u=i(43697),p=i(1692),d=i(96674),c=i(5600),m=(i(67676),i(80442),i(75215),i(71715)),h=i(52011),b=i(74889),y=i(79166),f=i(95642);let v=class extends d.wq{constructor(e){super(e),this.directionLines=null,this.directionPoints=null,this.directions=null,this.route=null,this.routeName=null,this.stops=null}};(0,u._)([(0,c.Cb)({type:b.default,json:{write:!0}})],v.prototype,"directionLines",void 0),(0,u._)([(0,c.Cb)({type:b.default,json:{write:!0}})],v.prototype,"directionPoints",void 0),(0,u._)([(0,c.Cb)({type:f.Z,json:{write:!0}})],v.prototype,"directions",void 0),(0,u._)([(0,c.Cb)({type:p.Z,json:{write:!0}})],v.prototype,"route",void 0),(0,u._)([(0,c.Cb)({type:String,json:{write:!0}})],v.prototype,"routeName",void 0),(0,u._)([(0,c.Cb)({type:[p.Z],json:{write:!0}})],v.prototype,"stops",void 0),v=(0,u._)([(0,h.j)("esri.rest.support.RouteResult")],v);const g=v;function C(e){return e&&b.default.fromJSON(e).features.map((e=>e))}let T=class extends d.wq{constructor(e){super(e),this.messages=null,this.pointBarriers=null,this.polylineBarriers=null,this.polygonBarriers=null,this.routeResults=null}readPointBarriers(e,t){return C(t.barriers)}readPolylineBarriers(e){return C(e)}readPolygonBarriers(e){return C(e)}};(0,u._)([(0,c.Cb)({type:[y.Z]})],T.prototype,"messages",void 0),(0,u._)([(0,c.Cb)({type:[p.Z]})],T.prototype,"pointBarriers",void 0),(0,u._)([(0,m.r)("pointBarriers",["barriers"])],T.prototype,"readPointBarriers",null),(0,u._)([(0,c.Cb)({type:[p.Z]})],T.prototype,"polylineBarriers",void 0),(0,u._)([(0,m.r)("polylineBarriers")],T.prototype,"readPolylineBarriers",null),(0,u._)([(0,c.Cb)({type:[p.Z]})],T.prototype,"polygonBarriers",void 0),(0,u._)([(0,m.r)("polygonBarriers")],T.prototype,"readPolygonBarriers",null),(0,u._)([(0,c.Cb)({type:[g]})],T.prototype,"routeResults",void 0),T=(0,u._)([(0,h.j)("esri.rest.support.RouteSolveResult")],T);const S=T,_=(0,o.E)({accumulateAttributes:{name:"accumulateAttributeNames"},attributeParameterValues:!0,directionsTimeAttribute:{name:"directionsTimeAttributeName"},impedanceAttribute:{name:"impedanceAttributeName"},outSpatialReference:{name:"outSR",getter:e=>e.outSpatialReference.wkid},pointBarriers:{name:"barriers"},polylineBarriers:!0,polygonBarriers:!0,restrictionAttributes:{name:"restrictionAttributeNames"},stops:!0,travelMode:!0});function w(e){return"esri.rest.support.FeatureSet"===(null==e?void 0:e.declaredClass)}async function O(e,t,i){const o=[],u=[],p={},d={},c=(0,l.en)(e),{path:m}=c;w(t.stops)&&(0,a.et)(t.stops.features,u,"stops.features",p),w(t.pointBarriers)&&(0,a.et)(t.pointBarriers.features,u,"pointBarriers.features",p),w(t.polylineBarriers)&&(0,a.et)(t.polylineBarriers.features,u,"polylineBarriers.features",p),w(t.polygonBarriers)&&(0,a.et)(t.polygonBarriers.features,u,"polygonBarriers.features",p);const h=await(0,n.aX)(u);for(const e in p){const t=p[e];o.push(e),d[e]=h.slice(t[0],t[1])}if((0,a.Wf)(d,o)){let e=null;try{e=await(0,a.bI)(m,t.apiKey,i)}catch{}e&&!e.hasZ&&(0,a.ef)(d,o)}for(const e in d)d[e].forEach(((i,r)=>{t.get(e)[r].geometry=i}));const b={...i,query:{...c.query,..._.toQueryParams(t),f:"json"}},y=m.endsWith("/solve")?m:`${m}/solve`,{data:f}=await(0,r.default)(y,b);return function(e){var t,i,r,o,n;const a=new Map,{directionLines:l,directionPoints:u,directions:p,routes:d,stops:c,barriers:m,polygonBarriers:h,polylineBarriers:b,messages:y}=e,f=null!=(t=null!=(i=null!=(r=null!=(o=null==d?void 0:d.spatialReference)?o:null==c?void 0:c.spatialReference)?r:null==m?void 0:m.spatialReference)?i:null==h?void 0:h.spatialReference)?t:null==b?void 0:b.spatialReference;null==d||d.features.forEach((e=>{const t=e.attributes.Name,i=e.attributes.ObjectID;a.has(t)?(a.get(t).route=e,a.get(t).routeId=i):a.set(t,{route:e,routeId:i,routeName:t}),(0,s.pC)(e.geometry)&&(e.geometry.spatialReference=f)})),null==p||p.forEach((e=>{const t=e.routeName;a.has(t)?a.get(t).directions=e:a.set(t,{routeName:t,directions:e})})),null==c||c.features.forEach((e=>{var t;const i=null!=(t=e.attributes.RouteName)?t:null;a.has(i)?a.get(i).stops?a.get(i).stops.push(e):a.get(i).stops=[e]:a.set(i,{stops:[e],routeName:i}),(0,s.pC)(e.geometry)&&(e.geometry.spatialReference=f)}));const v=null==(n=null==c?void 0:c.features.every((e=>null==e.attributes.RouteName)))||n;if((null==c?void 0:c.features.length)>0&&v){const e=Array.from(a.keys())[0];a.get(e).stops=a.get(null).stops,a.delete(null)}null==l||l.features.forEach((e=>{var t;const i=e.attributes.RouteID,r=null==(t=Array.from(a.values()).find((e=>e.routeId===i)))?void 0:t.routeName;if(r)if(a.has(r))if(a.get(r).directionLines)a.get(r).directionLines.features.push(e);else{const{fieldAliases:t,geometryType:i,spatialReference:s}=l;a.get(r).directionLines={features:[e],fieldAliases:t,geometryType:i,spatialReference:s}}else{const{fieldAliases:t,geometryType:i,spatialReference:s}=l;a.set(r,{routeName:r,directionLines:{features:[e],fieldAliases:t,geometryType:i,spatialReference:s}})}})),null==u||u.features.forEach((e=>{var t;const i=e.attributes.RouteID,r=null==(t=Array.from(a.values()).find((e=>e.routeId===i)))?void 0:t.routeName;if(r)if(a.has(r))if(a.get(r).directionPoints)a.get(r).directionPoints.features.push(e);else{const{fieldAliases:t,geometryType:i,spatialReference:s}=u;a.get(r).directionPoints={features:[e],fieldAliases:t,geometryType:i,spatialReference:s}}else{const{fieldAliases:t,geometryType:i,spatialReference:s}=u;a.set(r,{routeName:r,directionPoints:{features:[e],fieldAliases:t,geometryType:i,spatialReference:s}})}}));const g=Array.from(a.values());return S.fromJSON({routeResults:g,barriers:m,polygonBarriers:h,polylineBarriers:b,messages:y})}(f)}},71058:(e,t,i)=>{i.d(t,{r:()=>o});var r=i(17452);const s=["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"];function o(e){const t=(0,r.P$)(e,!0);return t&&t.endsWith(".arcgis.com")&&!s.includes(t)&&!e.endsWith("/sharing/rest/generateToken")}},85958:(e,t,i)=>{i.d(t,{f:()=>n});var r=i(80442),s=i(70586),o=i(95330);function n(e,t,i=!1,n){return new Promise(((l,u)=>{if((0,o.Hc)(n))return void u(a());let p=()=>{m(),u(new Error(`Unable to load ${t}`))},d=()=>{const t=e;m(),l(t)},c=()=>{if(!e)return;const t=e;m(),t.src="",u(a())};const m=()=>{(0,r.Z)("esri-image-decode")||(e.removeEventListener("error",p),e.removeEventListener("load",d)),p=null,d=null,e=null,(0,s.pC)(n)&&n.removeEventListener("abort",c),c=null,i&&URL.revokeObjectURL(t)};(0,s.pC)(n)&&n.addEventListener("abort",c),(0,r.Z)("esri-image-decode")?e.decode().then(d,p):(e.addEventListener("error",p),e.addEventListener("load",d))}))}function a(){try{return new DOMException("Aborted","AbortError")}catch{const e=new Error;return e.name="AbortError",e}}}}]);
|