@esri/solutions-components 0.11.36 → 0.11.38
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/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +1 -1
- package/dist/cjs/buffer-tools_2.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +6 -4
- package/dist/cjs/consent-manager.cjs.entry.js +3 -3
- package/dist/cjs/create-feature_4.cjs.entry.js +7 -7
- package/dist/cjs/create-related-feature_3.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +1 -1
- package/dist/cjs/downloadUtils-a5154543.js +5377 -0
- package/dist/cjs/feature-list.cjs.entry.js +4 -4
- package/dist/cjs/index.es-3c2404c3.js +11195 -0
- package/dist/cjs/json-editor_7.cjs.entry.js +1 -1
- package/dist/cjs/map-layer-picker.cjs.entry.js +5 -3
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/popupUtils-7b26453a.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +3 -3
- package/dist/cjs/purify-3d951edc.js +1364 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/components/info-card/info-card.css +4 -0
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/layer-table/layer-table.js +3 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +4 -2
- package/dist/collection/vendor/calcite-components/2ADYSLPZ.js +4 -0
- package/dist/collection/vendor/calcite-components/2BYCWVAC.js +4 -0
- package/dist/collection/vendor/calcite-components/2DJLQG4A.js +4 -0
- package/dist/collection/vendor/calcite-components/2KN7VFV3.js +4 -0
- package/dist/collection/vendor/calcite-components/2QQE6RBG.js +4 -0
- package/dist/collection/vendor/calcite-components/2W46C5IT.js +4 -0
- package/dist/collection/vendor/calcite-components/2WEHZC4R.js +4 -0
- package/dist/collection/vendor/calcite-components/2YD4Z56B.js +4 -0
- package/dist/collection/vendor/calcite-components/2YU4JUQK.js +4 -0
- package/dist/collection/vendor/calcite-components/323UDHL6.js +4 -0
- package/dist/collection/vendor/calcite-components/35N5CZK3.js +4 -0
- package/dist/collection/vendor/calcite-components/3GWF5ELI.js +4 -0
- package/dist/collection/vendor/calcite-components/3JWBMHMV.js +4 -0
- package/dist/collection/vendor/calcite-components/3NUUOJEI.js +4 -0
- package/dist/collection/vendor/calcite-components/3O4S27LQ.js +4 -0
- package/dist/collection/vendor/calcite-components/3O5VK4VN.js +4 -0
- package/dist/collection/vendor/calcite-components/3OFHBVGT.js +4 -0
- package/dist/collection/vendor/calcite-components/3XJDMBMJ.js +4 -0
- package/dist/collection/vendor/calcite-components/3YYHU67H.js +4 -0
- package/dist/collection/vendor/calcite-components/44ZIVGS7.js +4 -0
- package/dist/collection/vendor/calcite-components/4BEUN427.js +4 -0
- package/dist/collection/vendor/calcite-components/4G4MW34F.js +4 -0
- package/dist/collection/vendor/calcite-components/4GGWE4M3.js +4 -0
- package/dist/collection/vendor/calcite-components/4HF2MH3F.js +4 -0
- package/dist/collection/vendor/calcite-components/4KGTT6I3.js +4 -0
- package/dist/collection/vendor/calcite-components/4QHW2KCC.js +4 -0
- package/dist/collection/vendor/calcite-components/52AGH4NW.js +4 -0
- package/dist/collection/vendor/calcite-components/5A4SCMTT.js +4 -0
- package/dist/collection/vendor/calcite-components/5B6WX2DL.js +4 -0
- package/dist/collection/vendor/calcite-components/5BW6OEX4.js +4 -0
- package/dist/collection/vendor/calcite-components/5FDKP64C.js +4 -0
- package/dist/collection/vendor/calcite-components/5MAYMOZA.js +4 -0
- package/dist/collection/vendor/calcite-components/5UXZD2PW.js +4 -0
- package/dist/collection/vendor/calcite-components/5WEHUHTX.js +4 -0
- package/dist/collection/vendor/calcite-components/5ZOOOTHO.js +4 -0
- package/dist/collection/vendor/calcite-components/6C6KOC25.js +4 -0
- package/dist/collection/vendor/calcite-components/6DU5XIRS.js +4 -0
- package/dist/collection/vendor/calcite-components/6IRQP6SO.js +4 -0
- package/dist/collection/vendor/calcite-components/6M4MQUQE.js +4 -0
- package/dist/collection/vendor/calcite-components/6MCHN6SO.js +4 -0
- package/dist/collection/vendor/calcite-components/6NCXFBVI.js +4 -0
- package/dist/collection/vendor/calcite-components/6NJ2XB5D.js +4 -0
- package/dist/collection/vendor/calcite-components/6NPZR4ED.js +4 -0
- package/dist/collection/vendor/calcite-components/74XIV7EB.js +6 -0
- package/dist/collection/vendor/calcite-components/77RD52T4.js +4 -0
- package/dist/collection/vendor/calcite-components/7BOAE3LM.js +4 -0
- package/dist/collection/vendor/calcite-components/7DY27BCZ.js +5 -0
- package/dist/collection/vendor/calcite-components/7EIGV5FV.js +4 -0
- package/dist/collection/vendor/calcite-components/7MV5X5YY.js +4 -0
- package/dist/collection/vendor/calcite-components/7SAECUZA.js +4 -0
- package/dist/collection/vendor/calcite-components/7SFM2X2V.js +4 -0
- package/dist/collection/vendor/calcite-components/7SQTVACB.js +4 -0
- package/dist/collection/vendor/calcite-components/7U3ECTM6.js +4 -0
- package/dist/collection/vendor/calcite-components/7WRGOM4T.js +4 -0
- package/dist/collection/vendor/calcite-components/7XDJ54GY.js +4 -0
- package/dist/collection/vendor/calcite-components/ABXKDQDM.js +4 -0
- package/dist/collection/vendor/calcite-components/AN6BRRC4.js +4 -0
- package/dist/collection/vendor/calcite-components/AS3OWJAM.js +4 -0
- package/dist/collection/vendor/calcite-components/AUQ7MLX2.js +4 -0
- package/dist/collection/vendor/calcite-components/AWXNBIWS.js +4 -0
- package/dist/collection/vendor/calcite-components/AZOHNXOH.js +4 -0
- package/dist/collection/vendor/calcite-components/B45JROQX.js +4 -0
- package/dist/collection/vendor/calcite-components/B4YIOD3M.js +4 -0
- package/dist/collection/vendor/calcite-components/B7HWVLZ4.js +4 -0
- package/dist/collection/vendor/calcite-components/B7IG4G6I.js +4 -0
- package/dist/collection/vendor/calcite-components/B7MQCVNK.js +4 -0
- package/dist/collection/vendor/calcite-components/BFDAS53F.js +4 -0
- package/dist/collection/vendor/calcite-components/BHTF7FU6.js +4 -0
- package/dist/collection/vendor/calcite-components/BKNRSH5I.js +4 -0
- package/dist/collection/vendor/calcite-components/BTOGKDPW.js +4 -0
- package/dist/collection/vendor/calcite-components/BZAVOPTZ.js +4 -0
- package/dist/collection/vendor/calcite-components/CATJWSUR.js +4 -0
- package/dist/collection/vendor/calcite-components/CY5CVEEO.js +4 -0
- package/dist/collection/vendor/calcite-components/D4CU2ELJ.js +4 -0
- package/dist/collection/vendor/calcite-components/DFFLO6RQ.js +4 -0
- package/dist/collection/vendor/calcite-components/DIIIRTRD.js +4 -0
- package/dist/collection/vendor/calcite-components/DJ65IGAJ.js +4 -0
- package/dist/collection/vendor/calcite-components/DR6TNPNP.js +4 -0
- package/dist/collection/vendor/calcite-components/DSV6O5SN.js +4 -0
- package/dist/collection/vendor/calcite-components/DWSKOILM.js +4 -0
- package/dist/collection/vendor/calcite-components/E2K7V264.js +4 -0
- package/dist/collection/vendor/calcite-components/E5276FGO.js +4 -0
- package/dist/collection/vendor/calcite-components/EJZAAUYU.js +4 -0
- package/dist/collection/vendor/calcite-components/EO6WGEPM.js +4 -0
- package/dist/collection/vendor/calcite-components/EOTHRH2D.js +4 -0
- package/dist/collection/vendor/calcite-components/F3XJA6O4.js +4 -0
- package/dist/collection/vendor/calcite-components/F4EMKIHK.js +4 -0
- package/dist/collection/vendor/calcite-components/FA3NO5EU.js +4 -0
- package/dist/collection/vendor/calcite-components/FA3WMFEB.js +22 -0
- package/dist/collection/vendor/calcite-components/FKBMHLD3.js +4 -0
- package/dist/collection/vendor/calcite-components/FP7FM2VM.js +4 -0
- package/dist/collection/vendor/calcite-components/FP7S2M3E.js +4 -0
- package/dist/collection/vendor/calcite-components/FTPC7ETT.js +4 -0
- package/dist/collection/vendor/calcite-components/FWYDKVOD.js +4 -0
- package/dist/collection/vendor/calcite-components/G3CCZ6XE.js +4 -0
- package/dist/collection/vendor/calcite-components/G5S7W2IC.js +4 -0
- package/dist/collection/vendor/calcite-components/GEURCF7X.js +4 -0
- package/dist/collection/vendor/calcite-components/GFAN7OST.js +4 -0
- package/dist/collection/vendor/calcite-components/GGSSFQEY.js +4 -0
- package/dist/collection/vendor/calcite-components/GIAPPW2B.js +4 -0
- package/dist/collection/vendor/calcite-components/GQAZQ3S4.js +4 -0
- package/dist/collection/vendor/calcite-components/GQUIDXCJ.js +4 -0
- package/dist/collection/vendor/calcite-components/GUUZ7ZDV.js +4 -0
- package/dist/collection/vendor/calcite-components/H3XVYGU3.js +4 -0
- package/dist/collection/vendor/calcite-components/H6E5FODU.js +4 -0
- package/dist/collection/vendor/calcite-components/HBMJPX74.js +4 -0
- package/dist/collection/vendor/calcite-components/HEHWLTET.js +4 -0
- package/dist/collection/vendor/calcite-components/HHWADIGN.js +4 -0
- package/dist/collection/vendor/calcite-components/HJBKJ56M.js +4 -0
- package/dist/collection/vendor/calcite-components/HMAFQQAN.js +4 -0
- package/dist/collection/vendor/calcite-components/HMNR3FGX.js +28 -0
- package/dist/collection/vendor/calcite-components/HO6YJDQ6.js +4 -0
- package/dist/collection/vendor/calcite-components/HXRFWMNM.js +4 -0
- package/dist/collection/vendor/calcite-components/HZNGZAMK.js +4 -0
- package/dist/collection/vendor/calcite-components/HZSC2XKV.js +4 -0
- package/dist/collection/vendor/calcite-components/I7NALNEM.js +4 -0
- package/dist/collection/vendor/calcite-components/I7S2F2P2.js +4 -0
- package/dist/collection/vendor/calcite-components/J22MUGVD.js +4 -0
- package/dist/collection/vendor/calcite-components/J2XEN4PC.js +4 -0
- package/dist/collection/vendor/calcite-components/JHSTZGJJ.js +4 -0
- package/dist/collection/vendor/calcite-components/JNK6UYNK.js +4 -0
- package/dist/collection/vendor/calcite-components/JR5RWSNX.js +4 -0
- package/dist/collection/vendor/calcite-components/JSHY6EAI.js +4 -0
- package/dist/collection/vendor/calcite-components/JZB5GBZP.js +4 -0
- package/dist/collection/vendor/calcite-components/JZBTEL4E.js +4 -0
- package/dist/collection/vendor/calcite-components/KE362XQL.js +4 -0
- package/dist/collection/vendor/calcite-components/KGBDVMSN.js +4 -0
- package/dist/collection/vendor/calcite-components/KHFQ3CWL.js +4 -0
- package/dist/collection/vendor/calcite-components/KJ5QSHIV.js +4 -0
- package/dist/collection/vendor/calcite-components/KK2GYQJN.js +4 -0
- package/dist/collection/vendor/calcite-components/KPOLTNRY.js +4 -0
- package/dist/collection/vendor/calcite-components/KUJZNT2T.js +4 -0
- package/dist/collection/vendor/calcite-components/KW5SSXI2.js +4 -0
- package/dist/collection/vendor/calcite-components/KZLGID44.js +4 -0
- package/dist/collection/vendor/calcite-components/L64PNSJ7.js +4 -0
- package/dist/collection/vendor/calcite-components/LBEGPJNS.js +4 -0
- package/dist/collection/vendor/calcite-components/LDPDJTKP.js +4 -0
- package/dist/collection/vendor/calcite-components/LHPTWBKI.js +4 -0
- package/dist/collection/vendor/calcite-components/LPMWWCXO.js +4 -0
- package/dist/collection/vendor/calcite-components/M2Z3Q7XS.js +4 -0
- package/dist/collection/vendor/calcite-components/MADH6ZCD.js +4 -0
- package/dist/collection/vendor/calcite-components/MED7DXL5.js +4 -0
- package/dist/collection/vendor/calcite-components/MN6JS3SO.js +4 -0
- package/dist/collection/vendor/calcite-components/MNQ67HJJ.js +4 -0
- package/dist/collection/vendor/calcite-components/MOOKY73S.js +4 -0
- package/dist/collection/vendor/calcite-components/N3RCOT5M.js +4 -0
- package/dist/collection/vendor/calcite-components/N6SVU4LG.js +4 -0
- package/dist/collection/vendor/calcite-components/NE3OUQ5Q.js +4 -0
- package/dist/collection/vendor/calcite-components/NFHTQLBP.js +4 -0
- package/dist/collection/vendor/calcite-components/NHLJM63F.js +4 -0
- package/dist/collection/vendor/calcite-components/NLWFZFB3.js +4 -0
- package/dist/collection/vendor/calcite-components/NSBYYOY2.js +4 -0
- package/dist/collection/vendor/calcite-components/NSHGJK73.js +4 -0
- package/dist/collection/vendor/calcite-components/NUDAXIBZ.js +4 -0
- package/dist/collection/vendor/calcite-components/O5SN3SJX.js +4 -0
- package/dist/collection/vendor/calcite-components/OEWDESOU.js +4 -0
- package/dist/collection/vendor/calcite-components/OTB6UDF3.js +4 -0
- package/dist/collection/vendor/calcite-components/OXCCRWE7.js +4 -0
- package/dist/collection/vendor/calcite-components/PG3U4QAJ.js +4 -0
- package/dist/collection/vendor/calcite-components/PMUHOU3H.js +4 -0
- package/dist/collection/vendor/calcite-components/PRPWC5NA.js +4 -0
- package/dist/collection/vendor/calcite-components/PSOUNIL7.js +4 -0
- package/dist/collection/vendor/calcite-components/Q6VXEGD5.js +4 -0
- package/dist/collection/vendor/calcite-components/Q752TMWW.js +4 -0
- package/dist/collection/vendor/calcite-components/QMGTBEVK.js +4 -0
- package/dist/collection/vendor/calcite-components/QNL5HVWX.js +4 -0
- package/dist/collection/vendor/calcite-components/QQ2QONXU.js +4 -0
- package/dist/collection/vendor/calcite-components/QQCFFW4X.js +4 -0
- package/dist/collection/vendor/calcite-components/QSRM5BPK.js +4 -0
- package/dist/collection/vendor/calcite-components/QXDDQX5X.js +4 -0
- package/dist/collection/vendor/calcite-components/R4TXKGB3.js +4 -0
- package/dist/collection/vendor/calcite-components/R546VITU.js +4 -0
- package/dist/collection/vendor/calcite-components/RGOMC52G.js +4 -0
- package/dist/collection/vendor/calcite-components/RIMAR2EG.js +4 -0
- package/dist/collection/vendor/calcite-components/RJV2JRQS.js +4 -0
- package/dist/collection/vendor/calcite-components/RLVRPIQB.js +4 -0
- package/dist/collection/vendor/calcite-components/RR6NYECR.js +4 -0
- package/dist/collection/vendor/calcite-components/RVEN4NOD.js +4 -0
- package/dist/collection/vendor/calcite-components/RXONMM2F.js +4 -0
- package/dist/collection/vendor/calcite-components/RYOCULDB.js +4 -0
- package/dist/collection/vendor/calcite-components/SCKKZTVU.js +5 -0
- package/dist/collection/vendor/calcite-components/SKGKFH23.js +4 -0
- package/dist/collection/vendor/calcite-components/SUCAF23Q.js +4 -0
- package/dist/collection/vendor/calcite-components/SWZ5F3MV.js +4 -0
- package/dist/collection/vendor/calcite-components/SX5X4EI7.js +4 -0
- package/dist/collection/vendor/calcite-components/SXYTJEOC.js +4 -0
- package/dist/collection/vendor/calcite-components/SY3OC64V.js +4 -0
- package/dist/collection/vendor/calcite-components/SYD5OQF5.js +4 -0
- package/dist/collection/vendor/calcite-components/SZONZQBZ.js +4 -0
- package/dist/collection/vendor/calcite-components/TEDXU7XB.js +4 -0
- package/dist/collection/vendor/calcite-components/TL6JRD7M.js +5 -0
- package/dist/collection/vendor/calcite-components/TOC7BSNI.js +4 -0
- package/dist/collection/vendor/calcite-components/TYTRJYZL.js +4 -0
- package/dist/collection/vendor/calcite-components/U3FS2FCE.js +4 -0
- package/dist/collection/vendor/calcite-components/UIWDOEUD.js +4 -0
- package/dist/collection/vendor/calcite-components/URGYWK4W.js +4 -0
- package/dist/collection/vendor/calcite-components/V5LFQL3E.js +4 -0
- package/dist/collection/vendor/calcite-components/VGEM6KFP.js +4 -0
- package/dist/collection/vendor/calcite-components/VH2EYQHG.js +4 -0
- package/dist/collection/vendor/calcite-components/VHAES5IP.js +4 -0
- package/dist/collection/vendor/calcite-components/VJ5DDNTG.js +4 -0
- package/dist/collection/vendor/calcite-components/VTUEWQVZ.js +5 -0
- package/dist/collection/vendor/calcite-components/VXIKRCVR.js +4 -0
- package/dist/collection/vendor/calcite-components/W4BKGWAR.js +4 -0
- package/dist/collection/vendor/calcite-components/WB6MZBXE.js +4 -0
- package/dist/collection/vendor/calcite-components/WBAUVVNW.js +4 -0
- package/dist/collection/vendor/calcite-components/WCZACGMB.js +4 -0
- package/dist/collection/vendor/calcite-components/WEHMJO3D.js +4 -0
- package/dist/collection/vendor/calcite-components/WGTFNY3J.js +4 -0
- package/dist/collection/vendor/calcite-components/WHHZYHGQ.js +4 -0
- package/dist/collection/vendor/calcite-components/WOM5JCSF.js +4 -0
- package/dist/collection/vendor/calcite-components/X37LIRIJ.js +4 -0
- package/dist/collection/vendor/calcite-components/XVCE2OUE.js +4 -0
- package/dist/collection/vendor/calcite-components/XVQRC56A.js +4 -0
- package/dist/collection/vendor/calcite-components/XYA7Z3GN.js +4 -0
- package/dist/collection/vendor/calcite-components/YED3P76Q.js +4 -0
- package/dist/collection/vendor/calcite-components/YJZ2YI4N.js +4 -0
- package/dist/collection/vendor/calcite-components/YW6WV5X7.js +4 -0
- package/dist/collection/vendor/calcite-components/Z3IB3JHI.js +4 -0
- package/dist/collection/vendor/calcite-components/Z64MBKLN.js +4 -0
- package/dist/collection/vendor/calcite-components/Z762LC4M.js +4 -0
- package/dist/collection/vendor/calcite-components/ZHYECVB4.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQALJZYZ.js +4 -0
- package/dist/collection/vendor/calcite-components/ZXJF7S7L.js +4 -0
- package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ar.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bg.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bs.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ca.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.cs.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.da.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.de.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.el.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.es.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.et.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fi.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.he.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hu.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.id.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.it.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ja.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ko.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lt.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lv.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.nl.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.no.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pl.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-BR.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-PT.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ro.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ru.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sk.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sl.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sv.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.th.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.tr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.uk.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.vi.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-CN.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-HK.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-TW.json +2 -2
- package/dist/collection/vendor/instant-apps-components/instant-apps-components.esm.js +1 -1
- package/dist/collection/vendor/instant-apps-components/p-005a2711.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-032bc629.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-05080364.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-05080364.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-050b8c6e.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-0e4ff0a9.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-2162260c.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-2751b893.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-2751b893.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-2e588fed.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-34b74df9.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-34b74df9.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-40992282.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-45a300a8.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-50b205e8.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-50b205e8.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-5d5a1e7d.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-5d67f7d1.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-625b0358.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-6ab370d8.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-75b6ba72.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-82b50b9d.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-85727adc.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-88c9829f.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-9ef92300.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-a2fbebc1.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-a2fbebc1.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-af343e04.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-b346c8fa.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-b346c8fa.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-b8c8fb6f.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-bbc047f2.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-c0385dc5.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-cda36aea.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-e3d0321c.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-e3d0321c.entry.js.map +1 -0
- package/dist/components/downloadUtils.js +2 -2
- package/dist/components/info-card2.js +3 -3
- package/dist/components/layer-table2.js +3 -1
- package/dist/components/map-layer-picker2.js +4 -2
- package/dist/components/purify.js +491 -684
- package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
- package/dist/esm/basemap-gallery_7.entry.js +1 -1
- package/dist/esm/buffer-tools_2.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +6 -4
- package/dist/esm/consent-manager.entry.js +3 -3
- package/dist/esm/create-feature_4.entry.js +7 -7
- package/dist/esm/create-related-feature_3.entry.js +1 -1
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +1 -1
- package/dist/esm/downloadUtils-b0527cde.js +5371 -0
- package/dist/esm/feature-list.entry.js +4 -4
- package/dist/esm/index.es-87662946.js +11108 -0
- package/dist/esm/json-editor_7.entry.js +1 -1
- package/dist/esm/map-layer-picker.entry.js +5 -3
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/popupUtils-e38099ea.js +119 -0
- package/dist/esm/public-notification.entry.js +3 -3
- package/dist/esm/purify-ff5f3331.js +1362 -0
- package/dist/esm/solution-configuration.entry.js +1 -1
- package/dist/esm/solution-contents_3.entry.js +1 -1
- package/dist/esm/solution-item-accordion.entry.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/p-0a60707c.entry.js +6 -0
- package/dist/solutions-components/p-0ce0ccf6.entry.js +6 -0
- package/dist/solutions-components/p-105278a7.entry.js +6 -0
- package/dist/solutions-components/p-1aad0b63.entry.js +6 -0
- package/dist/solutions-components/p-2dc3849e.js +7 -0
- package/dist/solutions-components/p-47b7670b.entry.js +6 -0
- package/dist/solutions-components/p-4a2870b0.entry.js +21 -0
- package/dist/solutions-components/p-4fa0753d.entry.js +6 -0
- package/dist/solutions-components/p-50b4945e.entry.js +21 -0
- package/dist/solutions-components/p-5b481f0d.entry.js +6 -0
- package/dist/solutions-components/p-60b1fe27.entry.js +6 -0
- package/dist/solutions-components/p-6667e88e.entry.js +6 -0
- package/dist/solutions-components/p-7f36cfb0.entry.js +6 -0
- package/dist/solutions-components/p-83c42cc2.js +21 -0
- package/dist/solutions-components/p-956a987d.entry.js +6 -0
- package/dist/solutions-components/p-974e8883.js +498 -0
- package/dist/solutions-components/p-9ee56d38.entry.js +6 -0
- package/dist/solutions-components/p-b04179db.entry.js +11 -0
- package/dist/solutions-components/p-bcdf6872.entry.js +6 -0
- package/dist/solutions-components/p-c83b1a4a.entry.js +6 -0
- package/dist/solutions-components/p-d65f8b73.js +6 -0
- package/dist/solutions-components/p-dc188d13.js +61 -0
- package/dist/solutions-components/p-f6d19f6d.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/2ADYSLPZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2BYCWVAC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2DJLQG4A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2KN7VFV3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2QQE6RBG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2W46C5IT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2WEHZC4R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2YD4Z56B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2YU4JUQK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/323UDHL6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/35N5CZK3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3GWF5ELI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3JWBMHMV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3NUUOJEI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3O4S27LQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3O5VK4VN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3OFHBVGT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3XJDMBMJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3YYHU67H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/44ZIVGS7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4BEUN427.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4G4MW34F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4GGWE4M3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4HF2MH3F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4KGTT6I3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4QHW2KCC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/52AGH4NW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5A4SCMTT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5B6WX2DL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5BW6OEX4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5FDKP64C.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5MAYMOZA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5UXZD2PW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5WEHUHTX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5ZOOOTHO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6C6KOC25.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6DU5XIRS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6IRQP6SO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6M4MQUQE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6MCHN6SO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6NCXFBVI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6NJ2XB5D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6NPZR4ED.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/74XIV7EB.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/77RD52T4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7BOAE3LM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7DY27BCZ.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/7EIGV5FV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7MV5X5YY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7SAECUZA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7SFM2X2V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7SQTVACB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7U3ECTM6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7WRGOM4T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7XDJ54GY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ABXKDQDM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AN6BRRC4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AS3OWJAM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AUQ7MLX2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AWXNBIWS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AZOHNXOH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B45JROQX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B4YIOD3M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B7HWVLZ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B7IG4G6I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B7MQCVNK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BFDAS53F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BHTF7FU6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BKNRSH5I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BTOGKDPW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BZAVOPTZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CATJWSUR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CY5CVEEO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D4CU2ELJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DFFLO6RQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DIIIRTRD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DJ65IGAJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DR6TNPNP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DSV6O5SN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DWSKOILM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E2K7V264.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E5276FGO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EJZAAUYU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EO6WGEPM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EOTHRH2D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F3XJA6O4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F4EMKIHK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FA3NO5EU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FA3WMFEB.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/FKBMHLD3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FP7FM2VM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FP7S2M3E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FTPC7ETT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FWYDKVOD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G3CCZ6XE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G5S7W2IC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GEURCF7X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GFAN7OST.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GGSSFQEY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GIAPPW2B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GQAZQ3S4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GQUIDXCJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GUUZ7ZDV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H3XVYGU3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H6E5FODU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HBMJPX74.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HEHWLTET.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HHWADIGN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HJBKJ56M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HMAFQQAN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HMNR3FGX.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/HO6YJDQ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HXRFWMNM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZNGZAMK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZSC2XKV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I7NALNEM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I7S2F2P2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J22MUGVD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J2XEN4PC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JHSTZGJJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JNK6UYNK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JR5RWSNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JSHY6EAI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JZB5GBZP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JZBTEL4E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KE362XQL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KGBDVMSN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KHFQ3CWL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KJ5QSHIV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KK2GYQJN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KPOLTNRY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KUJZNT2T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KW5SSXI2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KZLGID44.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L64PNSJ7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LBEGPJNS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LDPDJTKP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LHPTWBKI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LPMWWCXO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M2Z3Q7XS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MADH6ZCD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MED7DXL5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MN6JS3SO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MNQ67HJJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MOOKY73S.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N3RCOT5M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N6SVU4LG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NE3OUQ5Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NFHTQLBP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NHLJM63F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NLWFZFB3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NSBYYOY2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NSHGJK73.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NUDAXIBZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O5SN3SJX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OEWDESOU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OTB6UDF3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OXCCRWE7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PG3U4QAJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PMUHOU3H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PRPWC5NA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PSOUNIL7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q6VXEGD5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q752TMWW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QMGTBEVK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QNL5HVWX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQ2QONXU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQCFFW4X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QSRM5BPK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QXDDQX5X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R4TXKGB3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R546VITU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RGOMC52G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RIMAR2EG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RJV2JRQS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RLVRPIQB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RR6NYECR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RVEN4NOD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RXONMM2F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RYOCULDB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SCKKZTVU.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/SKGKFH23.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SUCAF23Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SWZ5F3MV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SX5X4EI7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SXYTJEOC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SY3OC64V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SYD5OQF5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SZONZQBZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TEDXU7XB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TL6JRD7M.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/TOC7BSNI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TYTRJYZL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U3FS2FCE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UIWDOEUD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/URGYWK4W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V5LFQL3E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VGEM6KFP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VH2EYQHG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VHAES5IP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VJ5DDNTG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VTUEWQVZ.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/VXIKRCVR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W4BKGWAR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WB6MZBXE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WBAUVVNW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WCZACGMB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WEHMJO3D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WGTFNY3J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WHHZYHGQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WOM5JCSF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X37LIRIJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XVCE2OUE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XVQRC56A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XYA7Z3GN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YED3P76Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YJZ2YI4N.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YW6WV5X7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z3IB3JHI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z64MBKLN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z762LC4M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZHYECVB4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQALJZYZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZXJF7S7L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ar.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bg.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bs.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ca.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.cs.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.da.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.de.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.el.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.es.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.et.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fi.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.he.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hu.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.id.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.it.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ja.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ko.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lt.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lv.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.nl.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.no.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pl.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-BR.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-PT.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ro.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ru.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sk.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sl.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sv.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.th.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.tr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.uk.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.vi.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-CN.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-HK.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-TW.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/instant-apps-components.esm.js +1 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-005a2711.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-032bc629.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-05080364.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-05080364.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-050b8c6e.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-0e4ff0a9.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2162260c.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2751b893.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2751b893.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2e588fed.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-34b74df9.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-34b74df9.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-40992282.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-45a300a8.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-50b205e8.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-50b205e8.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-5d5a1e7d.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-5d67f7d1.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-625b0358.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-6ab370d8.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-75b6ba72.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-82b50b9d.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-85727adc.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-88c9829f.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-9ef92300.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a2fbebc1.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a2fbebc1.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-af343e04.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b346c8fa.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b346c8fa.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b8c8fb6f.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-bbc047f2.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-c0385dc5.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-cda36aea.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-e3d0321c.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-e3d0321c.entry.js.map +1 -0
- package/dist/solutions-components_commit.txt +7 -7
- package/package.json +6 -6
- package/dist/cjs/asyncToGenerator-ccb3278b.js +0 -92
- package/dist/cjs/downloadUtils-fefa863b.js +0 -5377
- package/dist/cjs/index.es-0441a948.js +0 -11195
- package/dist/cjs/popupUtils-a68a20db.js +0 -121
- package/dist/cjs/purify-34cd0c00.js +0 -1557
- package/dist/collection/vendor/calcite-components/22RQB3WE.js +0 -4
- package/dist/collection/vendor/calcite-components/24SER2VV.js +0 -4
- package/dist/collection/vendor/calcite-components/2BGMAPSV.js +0 -4
- package/dist/collection/vendor/calcite-components/2JKKAEPM.js +0 -4
- package/dist/collection/vendor/calcite-components/2M4WCGKG.js +0 -4
- package/dist/collection/vendor/calcite-components/2YAXZHP2.js +0 -4
- package/dist/collection/vendor/calcite-components/345Q4UHX.js +0 -4
- package/dist/collection/vendor/calcite-components/36DMRAV2.js +0 -4
- package/dist/collection/vendor/calcite-components/3DGJ6ZQI.js +0 -4
- package/dist/collection/vendor/calcite-components/3GICXOBQ.js +0 -4
- package/dist/collection/vendor/calcite-components/3IV6JSC2.js +0 -4
- package/dist/collection/vendor/calcite-components/3TOVZEQB.js +0 -4
- package/dist/collection/vendor/calcite-components/45GA6INB.js +0 -4
- package/dist/collection/vendor/calcite-components/46U4MKUU.js +0 -4
- package/dist/collection/vendor/calcite-components/4BSCJ722.js +0 -4
- package/dist/collection/vendor/calcite-components/4SEPDFCP.js +0 -5
- package/dist/collection/vendor/calcite-components/4TQLSUKH.js +0 -4
- package/dist/collection/vendor/calcite-components/4YZ27QWL.js +0 -4
- package/dist/collection/vendor/calcite-components/4Z7JRTON.js +0 -4
- package/dist/collection/vendor/calcite-components/5AVZLE2Q.js +0 -4
- package/dist/collection/vendor/calcite-components/5EPP4MG3.js +0 -4
- package/dist/collection/vendor/calcite-components/66B2H27W.js +0 -4
- package/dist/collection/vendor/calcite-components/6LW27BEV.js +0 -4
- package/dist/collection/vendor/calcite-components/6OZRZ36X.js +0 -4
- package/dist/collection/vendor/calcite-components/6X2SD2PW.js +0 -4
- package/dist/collection/vendor/calcite-components/6XTYGXNG.js +0 -4
- package/dist/collection/vendor/calcite-components/6ZTWHW63.js +0 -4
- package/dist/collection/vendor/calcite-components/7D3VEEUX.js +0 -4
- package/dist/collection/vendor/calcite-components/7E342YOK.js +0 -4
- package/dist/collection/vendor/calcite-components/7KSGVDSR.js +0 -4
- package/dist/collection/vendor/calcite-components/7PWETOIU.js +0 -4
- package/dist/collection/vendor/calcite-components/7QHUEK5R.js +0 -4
- package/dist/collection/vendor/calcite-components/7SX3RD7P.js +0 -4
- package/dist/collection/vendor/calcite-components/7U7FF3Y4.js +0 -4
- package/dist/collection/vendor/calcite-components/7WG5I3MP.js +0 -4
- package/dist/collection/vendor/calcite-components/A5GGYTUQ.js +0 -4
- package/dist/collection/vendor/calcite-components/AI3R3SU6.js +0 -28
- package/dist/collection/vendor/calcite-components/ARHYATTG.js +0 -4
- package/dist/collection/vendor/calcite-components/ATHBUWBY.js +0 -4
- package/dist/collection/vendor/calcite-components/AXXJNFKZ.js +0 -4
- package/dist/collection/vendor/calcite-components/AYZ73RWQ.js +0 -4
- package/dist/collection/vendor/calcite-components/BAHIPAHM.js +0 -4
- package/dist/collection/vendor/calcite-components/BRTDMTZ3.js +0 -4
- package/dist/collection/vendor/calcite-components/BRTESQOJ.js +0 -4
- package/dist/collection/vendor/calcite-components/BSRMWMHQ.js +0 -4
- package/dist/collection/vendor/calcite-components/BZKF5ZXQ.js +0 -4
- package/dist/collection/vendor/calcite-components/C46JYVUP.js +0 -4
- package/dist/collection/vendor/calcite-components/C54C5E23.js +0 -4
- package/dist/collection/vendor/calcite-components/CBSMKHOY.js +0 -4
- package/dist/collection/vendor/calcite-components/CFRBQXK4.js +0 -4
- package/dist/collection/vendor/calcite-components/CIV3PH3Z.js +0 -4
- package/dist/collection/vendor/calcite-components/CJYTY62F.js +0 -4
- package/dist/collection/vendor/calcite-components/CK6HQQX6.js +0 -4
- package/dist/collection/vendor/calcite-components/CMO3X257.js +0 -4
- package/dist/collection/vendor/calcite-components/CNO6NFH5.js +0 -4
- package/dist/collection/vendor/calcite-components/CWPRBG3T.js +0 -4
- package/dist/collection/vendor/calcite-components/CY6C2FDZ.js +0 -4
- package/dist/collection/vendor/calcite-components/D2HDFE7S.js +0 -22
- package/dist/collection/vendor/calcite-components/D36VWSDW.js +0 -4
- package/dist/collection/vendor/calcite-components/DBVNMM6Q.js +0 -4
- package/dist/collection/vendor/calcite-components/DDJ75RTI.js +0 -4
- package/dist/collection/vendor/calcite-components/DH4ISGHV.js +0 -4
- package/dist/collection/vendor/calcite-components/DNYBIAUI.js +0 -4
- package/dist/collection/vendor/calcite-components/DT67ZFPX.js +0 -4
- package/dist/collection/vendor/calcite-components/DTL2LM6T.js +0 -4
- package/dist/collection/vendor/calcite-components/E3R5SMVW.js +0 -4
- package/dist/collection/vendor/calcite-components/E4NMFIKN.js +0 -4
- package/dist/collection/vendor/calcite-components/EAML4EDI.js +0 -5
- package/dist/collection/vendor/calcite-components/ECEZ4R6E.js +0 -4
- package/dist/collection/vendor/calcite-components/EFI2G5WL.js +0 -4
- package/dist/collection/vendor/calcite-components/EHZCT5YZ.js +0 -4
- package/dist/collection/vendor/calcite-components/EOHVH6PN.js +0 -4
- package/dist/collection/vendor/calcite-components/ESBOJTBS.js +0 -4
- package/dist/collection/vendor/calcite-components/F6EGRKXW.js +0 -4
- package/dist/collection/vendor/calcite-components/FCN5RMLA.js +0 -4
- package/dist/collection/vendor/calcite-components/FDIM6DYL.js +0 -4
- package/dist/collection/vendor/calcite-components/FE3A3YUN.js +0 -4
- package/dist/collection/vendor/calcite-components/FHBFGCTR.js +0 -4
- package/dist/collection/vendor/calcite-components/FNFWOOMR.js +0 -4
- package/dist/collection/vendor/calcite-components/FNM4DZZH.js +0 -4
- package/dist/collection/vendor/calcite-components/G2KHDAZD.js +0 -4
- package/dist/collection/vendor/calcite-components/G3LH75CQ.js +0 -4
- package/dist/collection/vendor/calcite-components/G3ZJ2KQT.js +0 -4
- package/dist/collection/vendor/calcite-components/G7WFYVUC.js +0 -5
- package/dist/collection/vendor/calcite-components/GAAXSGWK.js +0 -4
- package/dist/collection/vendor/calcite-components/GE63ETFI.js +0 -4
- package/dist/collection/vendor/calcite-components/GFC7NS6P.js +0 -4
- package/dist/collection/vendor/calcite-components/GGO5TMB4.js +0 -4
- package/dist/collection/vendor/calcite-components/GKKCWEZX.js +0 -4
- package/dist/collection/vendor/calcite-components/GN5CPLSJ.js +0 -4
- package/dist/collection/vendor/calcite-components/GNUSLZWJ.js +0 -4
- package/dist/collection/vendor/calcite-components/GOOHYN3D.js +0 -4
- package/dist/collection/vendor/calcite-components/GPUFLCIT.js +0 -4
- package/dist/collection/vendor/calcite-components/GSXEMGSW.js +0 -4
- package/dist/collection/vendor/calcite-components/GYQTRH4V.js +0 -4
- package/dist/collection/vendor/calcite-components/HFIRIAQA.js +0 -4
- package/dist/collection/vendor/calcite-components/HGTV36FX.js +0 -4
- package/dist/collection/vendor/calcite-components/HKHPJJ34.js +0 -4
- package/dist/collection/vendor/calcite-components/HMVKZP47.js +0 -4
- package/dist/collection/vendor/calcite-components/I2OIH73C.js +0 -4
- package/dist/collection/vendor/calcite-components/I32TMNTO.js +0 -4
- package/dist/collection/vendor/calcite-components/I62DUDHI.js +0 -4
- package/dist/collection/vendor/calcite-components/IH4RXHJJ.js +0 -4
- package/dist/collection/vendor/calcite-components/IJCTXZQB.js +0 -4
- package/dist/collection/vendor/calcite-components/IXRMDUEL.js +0 -4
- package/dist/collection/vendor/calcite-components/IYDN67SF.js +0 -4
- package/dist/collection/vendor/calcite-components/JCWM5Z43.js +0 -4
- package/dist/collection/vendor/calcite-components/JEX42CPR.js +0 -4
- package/dist/collection/vendor/calcite-components/JFYDLHH7.js +0 -4
- package/dist/collection/vendor/calcite-components/JLZYAYOL.js +0 -4
- package/dist/collection/vendor/calcite-components/JUNCR7R2.js +0 -4
- package/dist/collection/vendor/calcite-components/JVNEJ36Z.js +0 -4
- package/dist/collection/vendor/calcite-components/K3ZBW4GY.js +0 -4
- package/dist/collection/vendor/calcite-components/KBDXI6DJ.js +0 -4
- package/dist/collection/vendor/calcite-components/KBNS3CCT.js +0 -4
- package/dist/collection/vendor/calcite-components/KI2NOBMU.js +0 -4
- package/dist/collection/vendor/calcite-components/KSNEQFZX.js +0 -4
- package/dist/collection/vendor/calcite-components/KSVYAIHK.js +0 -4
- package/dist/collection/vendor/calcite-components/KULDQOV2.js +0 -4
- package/dist/collection/vendor/calcite-components/KVSCG5E3.js +0 -6
- package/dist/collection/vendor/calcite-components/KW57BHXD.js +0 -4
- package/dist/collection/vendor/calcite-components/KWOOGTG2.js +0 -4
- package/dist/collection/vendor/calcite-components/L5FDXQMT.js +0 -4
- package/dist/collection/vendor/calcite-components/LB5ATL5Q.js +0 -4
- package/dist/collection/vendor/calcite-components/LH7KSBQC.js +0 -4
- package/dist/collection/vendor/calcite-components/LHSAAMYQ.js +0 -4
- package/dist/collection/vendor/calcite-components/LILDCWFX.js +0 -4
- package/dist/collection/vendor/calcite-components/LLSB73WA.js +0 -4
- package/dist/collection/vendor/calcite-components/LOZEGKG2.js +0 -4
- package/dist/collection/vendor/calcite-components/MBQZPRQ5.js +0 -4
- package/dist/collection/vendor/calcite-components/MCSX2S5T.js +0 -4
- package/dist/collection/vendor/calcite-components/MIKGJ3NM.js +0 -4
- package/dist/collection/vendor/calcite-components/MPAVJ7UH.js +0 -4
- package/dist/collection/vendor/calcite-components/MPX2M2VX.js +0 -4
- package/dist/collection/vendor/calcite-components/MQYH4ONZ.js +0 -4
- package/dist/collection/vendor/calcite-components/MUWK32IE.js +0 -4
- package/dist/collection/vendor/calcite-components/MZRO54UT.js +0 -4
- package/dist/collection/vendor/calcite-components/N2BVYYYP.js +0 -4
- package/dist/collection/vendor/calcite-components/N4MN6VQ7.js +0 -4
- package/dist/collection/vendor/calcite-components/N55N67N5.js +0 -4
- package/dist/collection/vendor/calcite-components/NODC2JA6.js +0 -4
- package/dist/collection/vendor/calcite-components/NVBNX55L.js +0 -4
- package/dist/collection/vendor/calcite-components/NWVCPRVB.js +0 -4
- package/dist/collection/vendor/calcite-components/O4O3TSE5.js +0 -4
- package/dist/collection/vendor/calcite-components/OE2AH2NC.js +0 -4
- package/dist/collection/vendor/calcite-components/OGED6PPP.js +0 -4
- package/dist/collection/vendor/calcite-components/OHOS32IT.js +0 -4
- package/dist/collection/vendor/calcite-components/OLMX7G3J.js +0 -4
- package/dist/collection/vendor/calcite-components/OOSULFCY.js +0 -4
- package/dist/collection/vendor/calcite-components/OPBQNK7J.js +0 -4
- package/dist/collection/vendor/calcite-components/OTHVFLNW.js +0 -4
- package/dist/collection/vendor/calcite-components/OTUG3NVT.js +0 -4
- package/dist/collection/vendor/calcite-components/PNHR5K2L.js +0 -4
- package/dist/collection/vendor/calcite-components/PT2XMADA.js +0 -4
- package/dist/collection/vendor/calcite-components/PZLVQQMT.js +0 -4
- package/dist/collection/vendor/calcite-components/QAYSDI3M.js +0 -5
- package/dist/collection/vendor/calcite-components/QCGLMLKW.js +0 -4
- package/dist/collection/vendor/calcite-components/QHASLHZN.js +0 -4
- package/dist/collection/vendor/calcite-components/QK2H5T7J.js +0 -4
- package/dist/collection/vendor/calcite-components/QLKHJI4P.js +0 -4
- package/dist/collection/vendor/calcite-components/QQ67AVDV.js +0 -4
- package/dist/collection/vendor/calcite-components/QU33PBBI.js +0 -4
- package/dist/collection/vendor/calcite-components/QYGED6CL.js +0 -4
- package/dist/collection/vendor/calcite-components/R3HMG2D6.js +0 -4
- package/dist/collection/vendor/calcite-components/R4RMVIKH.js +0 -4
- package/dist/collection/vendor/calcite-components/R6GNPMSV.js +0 -4
- package/dist/collection/vendor/calcite-components/RAFCSOOQ.js +0 -4
- package/dist/collection/vendor/calcite-components/RAQWKUOJ.js +0 -4
- package/dist/collection/vendor/calcite-components/RESHLE2Y.js +0 -4
- package/dist/collection/vendor/calcite-components/RJLKHCRB.js +0 -4
- package/dist/collection/vendor/calcite-components/RLSQLIV6.js +0 -4
- package/dist/collection/vendor/calcite-components/RMGYRZXR.js +0 -4
- package/dist/collection/vendor/calcite-components/RSAEDAEX.js +0 -4
- package/dist/collection/vendor/calcite-components/RUTUU2EH.js +0 -4
- package/dist/collection/vendor/calcite-components/RVMVJW6K.js +0 -4
- package/dist/collection/vendor/calcite-components/RVQMJBNS.js +0 -4
- package/dist/collection/vendor/calcite-components/S76CXQTI.js +0 -4
- package/dist/collection/vendor/calcite-components/SBZ6VJ75.js +0 -4
- package/dist/collection/vendor/calcite-components/SJKTCGW6.js +0 -4
- package/dist/collection/vendor/calcite-components/SKDMJE3X.js +0 -4
- package/dist/collection/vendor/calcite-components/SMUXJLDL.js +0 -4
- package/dist/collection/vendor/calcite-components/SYEQSDHG.js +0 -4
- package/dist/collection/vendor/calcite-components/T3NRBBZP.js +0 -4
- package/dist/collection/vendor/calcite-components/T5UPGHU3.js +0 -4
- package/dist/collection/vendor/calcite-components/T6HODD4B.js +0 -4
- package/dist/collection/vendor/calcite-components/TNR5VZG2.js +0 -4
- package/dist/collection/vendor/calcite-components/TQIVV2F7.js +0 -4
- package/dist/collection/vendor/calcite-components/TQTAM3XB.js +0 -4
- package/dist/collection/vendor/calcite-components/TSJJLMPA.js +0 -4
- package/dist/collection/vendor/calcite-components/TVDZM7WT.js +0 -4
- package/dist/collection/vendor/calcite-components/U3WK4DZT.js +0 -4
- package/dist/collection/vendor/calcite-components/U725E4ID.js +0 -4
- package/dist/collection/vendor/calcite-components/UELGJSYH.js +0 -4
- package/dist/collection/vendor/calcite-components/UJL3BWDH.js +0 -4
- package/dist/collection/vendor/calcite-components/URM3R65T.js +0 -4
- package/dist/collection/vendor/calcite-components/US3PQV6O.js +0 -4
- package/dist/collection/vendor/calcite-components/V4JZRN7T.js +0 -4
- package/dist/collection/vendor/calcite-components/VCSXFNPO.js +0 -4
- package/dist/collection/vendor/calcite-components/VG7BJBFG.js +0 -4
- package/dist/collection/vendor/calcite-components/VJD4CRQ3.js +0 -4
- package/dist/collection/vendor/calcite-components/VMRLYKNI.js +0 -4
- package/dist/collection/vendor/calcite-components/VNQNKQ2J.js +0 -4
- package/dist/collection/vendor/calcite-components/VST65PDC.js +0 -4
- package/dist/collection/vendor/calcite-components/WKTGTKRJ.js +0 -4
- package/dist/collection/vendor/calcite-components/WPAMFFBY.js +0 -4
- package/dist/collection/vendor/calcite-components/WSGL37LB.js +0 -4
- package/dist/collection/vendor/calcite-components/WWUBU6N5.js +0 -4
- package/dist/collection/vendor/calcite-components/X2UHFJHG.js +0 -4
- package/dist/collection/vendor/calcite-components/XBZLGRRI.js +0 -4
- package/dist/collection/vendor/calcite-components/XOVG6UH3.js +0 -4
- package/dist/collection/vendor/calcite-components/XT32TCZG.js +0 -4
- package/dist/collection/vendor/calcite-components/XXZIOSXQ.js +0 -4
- package/dist/collection/vendor/calcite-components/Y6VF7HSM.js +0 -4
- package/dist/collection/vendor/calcite-components/YA5A7PJR.js +0 -4
- package/dist/collection/vendor/calcite-components/YMRTHS5X.js +0 -4
- package/dist/collection/vendor/calcite-components/YTRT5XZT.js +0 -4
- package/dist/collection/vendor/calcite-components/YXLQFMOA.js +0 -4
- package/dist/collection/vendor/calcite-components/YYJSHQR3.js +0 -4
- package/dist/collection/vendor/calcite-components/Z6GA347Y.js +0 -4
- package/dist/collection/vendor/calcite-components/Z7VNUC77.js +0 -4
- package/dist/collection/vendor/calcite-components/ZA76CHET.js +0 -4
- package/dist/collection/vendor/calcite-components/ZGXTLCGJ.js +0 -4
- package/dist/collection/vendor/calcite-components/ZQO6E4FO.js +0 -4
- package/dist/collection/vendor/calcite-components/ZV442E6X.js +0 -4
- package/dist/collection/vendor/instant-apps-components/p-0b1b0a5a.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-1c4428aa.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-1c4428aa.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-3ce7e35f.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-3e5898bb.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-3e5898bb.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-491aed47.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-4ad06857.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-51f2e0b2.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-51f2e0b2.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-525c0e1c.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-5f6af6b4.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-6c1383dc.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-6e858759.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-946ed90b.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-9f85433e.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-a271203d.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-a72c317d.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-ab4ac65e.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-ab4ac65e.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-ac95a4be.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-b291a1e6.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-b291a1e6.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-b355f972.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-b9eed273.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-c5932580.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-c77b3b1b.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-cd7eea90.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-cfc94a85.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-cfc94a85.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-ef8e7a97.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-f146c213.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-fa2be703.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-fa2be703.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-fcbd42f5.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-fedaae5b.entry.js +0 -2
- package/dist/esm/asyncToGenerator-48cd21fe.js +0 -88
- package/dist/esm/downloadUtils-7ef5420f.js +0 -5371
- package/dist/esm/index.es-c379ea10.js +0 -11108
- package/dist/esm/popupUtils-ef89df87.js +0 -119
- package/dist/esm/purify-b49e5991.js +0 -1555
- package/dist/solutions-components/p-11ad8edc.entry.js +0 -6
- package/dist/solutions-components/p-1325fa9e.entry.js +0 -6
- package/dist/solutions-components/p-1a65c187.entry.js +0 -6
- package/dist/solutions-components/p-2be59c38.entry.js +0 -6
- package/dist/solutions-components/p-4379cc5f.js +0 -498
- package/dist/solutions-components/p-5096280f.entry.js +0 -6
- package/dist/solutions-components/p-51033697.entry.js +0 -6
- package/dist/solutions-components/p-51e04c86.js +0 -21
- package/dist/solutions-components/p-605597cf.entry.js +0 -6
- package/dist/solutions-components/p-62a0aa8e.js +0 -6
- package/dist/solutions-components/p-681a41f3.entry.js +0 -6
- package/dist/solutions-components/p-6d1ee086.js +0 -61
- package/dist/solutions-components/p-7eec82e3.entry.js +0 -21
- package/dist/solutions-components/p-8b05b49c.entry.js +0 -6
- package/dist/solutions-components/p-93ebcb9b.entry.js +0 -6
- package/dist/solutions-components/p-a9c9ff86.entry.js +0 -6
- package/dist/solutions-components/p-ad83a5ba.js +0 -7
- package/dist/solutions-components/p-b1f11c67.entry.js +0 -11
- package/dist/solutions-components/p-b3b5dca4.entry.js +0 -6
- package/dist/solutions-components/p-c45ba7dd.entry.js +0 -6
- package/dist/solutions-components/p-de3ba7be.entry.js +0 -21
- package/dist/solutions-components/p-debeb4dc.entry.js +0 -6
- package/dist/solutions-components/p-f2cfed3a.entry.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/22RQB3WE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/24SER2VV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2BGMAPSV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2JKKAEPM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2M4WCGKG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2YAXZHP2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/345Q4UHX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36DMRAV2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3DGJ6ZQI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3GICXOBQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3IV6JSC2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3TOVZEQB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/45GA6INB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/46U4MKUU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4BSCJ722.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4SEPDFCP.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/4TQLSUKH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4YZ27QWL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4Z7JRTON.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5AVZLE2Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5EPP4MG3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/66B2H27W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6LW27BEV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6OZRZ36X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6X2SD2PW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6XTYGXNG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6ZTWHW63.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7D3VEEUX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7E342YOK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7KSGVDSR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7PWETOIU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7QHUEK5R.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7SX3RD7P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7U7FF3Y4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7WG5I3MP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A5GGYTUQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AI3R3SU6.js +0 -28
- package/dist/solutions-components/vendor/calcite-components/ARHYATTG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ATHBUWBY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AXXJNFKZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AYZ73RWQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BAHIPAHM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BRTDMTZ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BRTESQOJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BSRMWMHQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BZKF5ZXQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C46JYVUP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C54C5E23.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CBSMKHOY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CFRBQXK4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CIV3PH3Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CJYTY62F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CK6HQQX6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CMO3X257.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CNO6NFH5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CWPRBG3T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CY6C2FDZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D2HDFE7S.js +0 -22
- package/dist/solutions-components/vendor/calcite-components/D36VWSDW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DBVNMM6Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DDJ75RTI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DH4ISGHV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DNYBIAUI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DT67ZFPX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DTL2LM6T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E3R5SMVW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E4NMFIKN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EAML4EDI.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/ECEZ4R6E.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EFI2G5WL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EHZCT5YZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EOHVH6PN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ESBOJTBS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/F6EGRKXW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FCN5RMLA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FDIM6DYL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FE3A3YUN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FHBFGCTR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FNFWOOMR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FNM4DZZH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G2KHDAZD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G3LH75CQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G3ZJ2KQT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G7WFYVUC.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/GAAXSGWK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GE63ETFI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GFC7NS6P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GGO5TMB4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GKKCWEZX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GN5CPLSJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GNUSLZWJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GOOHYN3D.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GPUFLCIT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GSXEMGSW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GYQTRH4V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HFIRIAQA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HGTV36FX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HKHPJJ34.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HMVKZP47.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I2OIH73C.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I32TMNTO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I62DUDHI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IH4RXHJJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IJCTXZQB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IXRMDUEL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IYDN67SF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JCWM5Z43.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JEX42CPR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JFYDLHH7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JLZYAYOL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JUNCR7R2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JVNEJ36Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K3ZBW4GY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KBDXI6DJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KBNS3CCT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KI2NOBMU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KSNEQFZX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KSVYAIHK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KULDQOV2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KVSCG5E3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/KW57BHXD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KWOOGTG2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L5FDXQMT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LB5ATL5Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LH7KSBQC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LHSAAMYQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LILDCWFX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LLSB73WA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LOZEGKG2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MBQZPRQ5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MCSX2S5T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MIKGJ3NM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MPAVJ7UH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MPX2M2VX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MQYH4ONZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MUWK32IE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MZRO54UT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N2BVYYYP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N4MN6VQ7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N55N67N5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NODC2JA6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NVBNX55L.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NWVCPRVB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/O4O3TSE5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OE2AH2NC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OGED6PPP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OHOS32IT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OLMX7G3J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OOSULFCY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OPBQNK7J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OTHVFLNW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OTUG3NVT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PNHR5K2L.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PT2XMADA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PZLVQQMT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QAYSDI3M.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/QCGLMLKW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QHASLHZN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QK2H5T7J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QLKHJI4P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QQ67AVDV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QU33PBBI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QYGED6CL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R3HMG2D6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R4RMVIKH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R6GNPMSV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RAFCSOOQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RAQWKUOJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RESHLE2Y.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RJLKHCRB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RLSQLIV6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RMGYRZXR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RSAEDAEX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RUTUU2EH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RVMVJW6K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RVQMJBNS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/S76CXQTI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SBZ6VJ75.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SJKTCGW6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SKDMJE3X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SMUXJLDL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SYEQSDHG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T3NRBBZP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T5UPGHU3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T6HODD4B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TNR5VZG2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TQIVV2F7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TQTAM3XB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TSJJLMPA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TVDZM7WT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U3WK4DZT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U725E4ID.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UELGJSYH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UJL3BWDH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/URM3R65T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/US3PQV6O.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/V4JZRN7T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VCSXFNPO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VG7BJBFG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VJD4CRQ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VMRLYKNI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VNQNKQ2J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VST65PDC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WKTGTKRJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WPAMFFBY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WSGL37LB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WWUBU6N5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X2UHFJHG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XBZLGRRI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XOVG6UH3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XT32TCZG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XXZIOSXQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y6VF7HSM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YA5A7PJR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YMRTHS5X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YTRT5XZT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YXLQFMOA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YYJSHQR3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z6GA347Y.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z7VNUC77.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZA76CHET.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZGXTLCGJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZQO6E4FO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZV442E6X.js +0 -4
- package/dist/solutions-components/vendor/instant-apps-components/p-0b1b0a5a.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-1c4428aa.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-1c4428aa.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-3ce7e35f.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-3e5898bb.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-3e5898bb.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-491aed47.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-4ad06857.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-51f2e0b2.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-51f2e0b2.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-525c0e1c.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-5f6af6b4.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-6c1383dc.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-6e858759.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-946ed90b.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-9f85433e.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-a271203d.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-a72c317d.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-ab4ac65e.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-ab4ac65e.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-ac95a4be.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-b291a1e6.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-b291a1e6.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-b355f972.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-b9eed273.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-c5932580.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-c77b3b1b.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-cd7eea90.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-cfc94a85.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-cfc94a85.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-ef8e7a97.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-f146c213.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-fa2be703.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-fa2be703.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-fcbd42f5.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-fedaae5b.entry.js +0 -2
- /package/dist/cjs/{locale-81070bd9.js → locale-809dbc6e.js} +0 -0
- /package/dist/cjs/{typeof-920a4426.js → typeof-2a7e2dec.js} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-c5932580.js.map → p-005a2711.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-b355f972.entry.js.map → p-032bc629.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-4ad06857.entry.js.map → p-050b8c6e.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-946ed90b.entry.js.map → p-0e4ff0a9.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-491aed47.entry.js.map → p-2162260c.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-9f85433e.entry.js.map → p-2e588fed.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-c77b3b1b.js.map → p-40992282.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-f146c213.js.map → p-45a300a8.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-3ce7e35f.entry.js.map → p-5d5a1e7d.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-5f6af6b4.entry.js.map → p-5d67f7d1.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-ef8e7a97.entry.js.map → p-625b0358.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-a72c317d.entry.js.map → p-6ab370d8.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-6c1383dc.entry.js.map → p-75b6ba72.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-0b1b0a5a.entry.js.map → p-82b50b9d.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-525c0e1c.entry.js.map → p-85727adc.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-b9eed273.entry.js.map → p-88c9829f.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-a271203d.entry.js.map → p-9ef92300.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-fcbd42f5.entry.js.map → p-af343e04.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-6e858759.entry.js.map → p-b8c8fb6f.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-ac95a4be.entry.js.map → p-bbc047f2.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-cd7eea90.entry.js.map → p-c0385dc5.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-fedaae5b.entry.js.map → p-cda36aea.entry.js.map} +0 -0
- /package/dist/esm/{locale-4be8e04f.js → locale-fa8258bf.js} +0 -0
- /package/dist/esm/{typeof-2511410e.js → typeof-ef2a007d.js} +0 -0
- /package/dist/solutions-components/{p-af7e43e0.js → p-4fe489cf.js} +0 -0
- /package/dist/solutions-components/{p-8a74a780.js → p-57be3b9d.js} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-c5932580.js.map → p-005a2711.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-b355f972.entry.js.map → p-032bc629.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-4ad06857.entry.js.map → p-050b8c6e.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-946ed90b.entry.js.map → p-0e4ff0a9.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-491aed47.entry.js.map → p-2162260c.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-9f85433e.entry.js.map → p-2e588fed.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-c77b3b1b.js.map → p-40992282.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-f146c213.js.map → p-45a300a8.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-3ce7e35f.entry.js.map → p-5d5a1e7d.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-5f6af6b4.entry.js.map → p-5d67f7d1.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-ef8e7a97.entry.js.map → p-625b0358.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-a72c317d.entry.js.map → p-6ab370d8.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-6c1383dc.entry.js.map → p-75b6ba72.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-0b1b0a5a.entry.js.map → p-82b50b9d.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-525c0e1c.entry.js.map → p-85727adc.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-b9eed273.entry.js.map → p-88c9829f.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-a271203d.entry.js.map → p-9ef92300.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-fcbd42f5.entry.js.map → p-af343e04.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-6e858759.entry.js.map → p-b8c8fb6f.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-ac95a4be.entry.js.map → p-bbc047f2.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-cd7eea90.entry.js.map → p-c0385dc5.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-fedaae5b.entry.js.map → p-cda36aea.entry.js.map} +0 -0
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as s,h as e}from"./p-934e8935.js";import{l as a,g as h}from"./p-57be3b9d.js";import{P as l}from"./p-83c42cc2.js";import{g as n,c as o,h as r}from"./p-5693ce7a.js";import"./p-d4056c1c.js";import"./p-974e8883.js";import"./p-4fe489cf.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-80cb7c73.js";const c=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.locale=void 0,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.reportingOptions=void 0,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=void 0,this._translations=void 0}get el(){return s(this)}Color;esriConfig;symbolUtils;reactiveUtils;_popupUtils;_selectedLayer;_highlightHandle;_filterByMapExtentHandle;_highlights;_pagination;_calciteList;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;_searchExpression;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await n(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentHandler(t){t?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new l,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await n(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async componentDidLoad(){await this.initializeFeatureItems()}render(){const t=this._canShowFullTextSearch();return e("calcite-panel",{key:"da51d35e66ceea64f32ddf7872ac7133f98bfc48","full-height":!0,"full-width":!0},t&&e("calcite-input",{key:"04a50538873d5a87eb194edca98fa5a86818bfc4",class:"search",clearable:!0,icon:"search",onCalciteInputChange:this._searchTextChanged.bind(this),placeholder:this._searchPlaceHolder,title:"",type:"search"}),this._isLoading&&e("calcite-loader",{key:"f89602c8d36c41d8ed5b028619853ba8e1dedbc9",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&e("calcite-notice",{key:"147d2072a916b9a0ec34d3819a8c88ded50673b1",class:"error-msg",icon:"feature-details",kind:"info",open:!0},e("div",{key:"ab769558c1489e9b24eff945b970230b5015a35c",slot:"message"},this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),e("calcite-list",{key:"aa05260aa25bd5023be842969f6660950269221e",class:"small"!==this.textSize||this.showFullTitle?"":"overflow-hidden",label:"",ref:t=>this._calciteList=t,"selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&e("div",{key:"6db2614c585cc95605998c2ddd96e9d8980ed875",class:"width-full",slot:"footer"},e("calcite-pagination",{key:"59f0c7e97b02215ec717d902fdf6294ed7c82a67",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,s,e]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=s,this.reactiveUtils=e}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await o(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(()=>{this.initializeFeatureItems()}),{initial:!0})}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}_canShowFullTextSearch(){return((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._selectedLayer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._selectedLayer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let t=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){const i=this._selectedLayer.createQuery();i.fullText=this._fullTextSearchInfo,t=await this._selectedLayer.queryObjectIds(i),await this._updateSearchDefinitionExpression(t?.length?t:[-1])}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(t){const i=this._selectedLayer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._selectedLayer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_clearSearchDefinitionExpression(){const t=this._selectedLayer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._selectedLayer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await o(this.mapView,this.selectedLayerId);this._highlightHandle=await r([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await o(this.mapView,this.selectedLayerId);this._highlights&&(s.highlights=JSON.parse(this._highlights)),s.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(s.highlights),this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,s=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,e=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),h={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView.extent:null};s&&e&&(h.orderByFields=[s.toString()+" "+e]);const l=await i.queryFeatures(h);return await this.createFeatureItem(l)}async createFeatureItem(t){const i=t?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,e=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let e,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(e=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),s&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,e)}));return Promise.all(e)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,s=this.reportingOptions[i.id].likeField;i.fields.forEach((e=>{if(this._validFieldTypes.indexOf(e.type)>-1&&e.name===s&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[s]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,s,a){const h=t.attributes[this._selectedLayer.objectIdField].toString();i=i??h;const l=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),n="small"!==this.textSize||this.showFullTitle?"small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title":"feature-list-popup-title-small-ellipsis",o=this._calciteList.offsetWidth-(this.showUserImageInList?115:65);return e("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:h},this.showUserImageInList&&e("calcite-avatar",{class:"profile-img","full-name":a?.fullName,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl,userId:a?.id,username:a?.fullName?a.username:void 0}),this.showFeatureSymbol&&e("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(s),slot:"content-start"}),e("div",{class:`popup-title ${n}`,slot:"content-start",style:{maxWidth:"large"===this.textSize?"none":`${o}px`}},i),this._likeFieldAvailable&&e("div",{class:"like-container",id:h.concat("like"),slot:"content-end"},e("span",null,this._abbreviatedLikeCount),e("calcite-icon",{icon:"thumbs-up",scale:"s"}),e("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":h.concat("like")},l)),e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t){let i=this._selectedLayer.editFieldsInfo?.creatorField;t.attributes.hasOwnProperty(i.toLowerCase())?i=i.toLowerCase():t.attributes.hasOwnProperty(i.toUpperCase())&&(i=i.toUpperCase());let s=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const e=this.mapView.map.portalItem.portal?.credential?.token;e&&(s+=`&token=${e}`);const a=await fetch(s),h=await a.json();let l=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${h?.username??t.attributes[i]}/info/blob.png`;return h?.access&&e&&(l+=`?token=${e}`),h.userProfileUrl=l,h}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),s=Number(t.getAttribute("width"));s>30&&t.setAttribute("width","30"),i>30&&t.setAttribute("height","30"),t.setAttribute("viewBox",`0 0 ${s} ${i}`)}}})),i}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"],filterByMapExtent:["filterByMapExtentHandler"]}}};c.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap !important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3)}";export{c as feature_list}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as n,g as e,h as r,H as i}from"./p-934e8935.js";import{g as o}from"./p-57be3b9d.js";import{g as u,c as a}from"./p-d4056c1c.js";import{d as c,_ as s,a as f}from"./p-d65f8b73.js";import{_ as l,t as d}from"./p-4fe489cf.js";import{r as h,_ as v,g as p,u as w}from"./p-0668e30d.js";const m={storage:{},memory:!0,get(t){let n;try{n=window.localStorage&&window.localStorage.getItem(t)||this.storage[t]}catch(e){n=this.storage[t]}if(n)try{return JSON.parse(n)}catch(t){return}},set(t,n){const e=JSON.stringify(n);try{window.localStorage.setItem(t,e)}catch(e){this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[t]=n}},delete(t){try{window.localStorage.removeItem(t)}catch(n){this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[t]}}},b="esri-telemetry";class y extends Error{}const g=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"];class j{constructor(t){var n,e,r;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=function(t={}){const{disabled:n,portal:e}=t;return!(!n&&!1!==(null==e?void 0:e.eueiEnabled)&&(!e||function(t){return t.eueiEnabled&&t.user&&t.user.orgId===t.id}(e)||function(t){return t.user&&!t.user.orgId&&"US"===t.ipCntryCode}(e)||function(t){return!t.user&&"US"===t.ipCntryCode}(e)))}(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");const i=(null===(n=t.portal)||void 0===n?void 0:n.user)||t.user;i&&this.setUser(i,null===(r=null===(e=t.portal)||void 0===e?void 0:e.subscriptionInfo)||void 0===r?void 0:r.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map((t=>t.getScriptTags&&t.getScriptTags())).join("")}async init(){const t=this.trackers.map((t=>t.init()));await Promise.all(t)}setUser(t={},n="Public"){let e;if(this.user=t="string"==typeof t?{username:t}:t,this.user.accountType=n,t.email&&t.email.split){const n=t.email.split("@")[1];e=g.filter((t=>n===t)).length>0}(e||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},e={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;const r=this.trackers.filter((({disabled:t,hasError:n})=>!t&&!n));if(!r.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;const i=this.preProcess(n,e);this.debug&&this.logger.info("Tracking page view",JSON.stringify(i));const o=r.map((n=>n.logPageView(t,i)));return Promise.all(o).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;const e=this.trackers.filter((({disabled:t,hasError:n})=>!t&&!n));if(!e.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;const r=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(r));const i=e.map((t=>t.logEvent(r)));return Promise.all(i).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){const e={name:t,start:Date.now(),steps:[],workflowId:Math.floor(17592186044416*(1+Math.random())).toString(16)};this.saveWorkflow(e);const r=Object.assign({name:t,step:"start"},n);return this.logWorkflow(r),e}stepWorkflow(t,n,e={}){const r=Object.assign({name:t,step:n,details:"string"==typeof e?e:e.details},e);this.logWorkflow(r)}endWorkflow(t,n={}){const e=Object.assign({name:t,step:"finish"},n);this.logWorkflow(e)}cancelWorkflow(t,n={}){const e=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(e)}getWorkflow(t){const n=m.get(`TELEMETRY-WORKFLOW:${t}`);if(n){if(Date.now()-n.start<18e5)return n;this.deleteWorkflow(n)}}saveWorkflow(t){m.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){m.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);const e=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(e)}preProcess(t={},n={}){let e={};return this.user&&(e={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),e)).reduce((r=n.omitComplexData,i=this.logger,function(t,[n,e]){return function(t){return["string","number","boolean","undefined"].includes(typeof t)||t&&"string"==typeof t.valueOf()}(e)?t[n]=e:r||(i.warn(`You are trying to log a non-primitive value, ${n}:${JSON.stringify(e)}. This will get logged as [object Object]`),t[n]=e),t}),{});var r,i}disableTracker(t){var n;const e=this.trackers.find((({name:n})=>n===t));e&&!e.hasError&&(e.disabled=!0,null===(n=e.disable)||void 0===n||n.call(e))}enableTracker(t){var n;const e=this.trackers.find((({name:n})=>n===t));e&&!e.hasError&&(e.disabled=!1,null===(n=e.enable)||void 0===n||n.call(e))}}function O(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(e[r[i]]=t[r[i]])}return e}"function"==typeof SuppressedError&&SuppressedError;class S{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},"undefined"!=typeof window&&!(null===(n=null==t?void 0:t.measurementIds)||void 0===n?void 0:n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return this._getScripts().map((t=>{const n=[];return["src","id","dataAttribute","type"].forEach((e=>{let r=e;"dataAttribute"===e&&(r="data-esri-telemetry"),t[e]&&n.push(`${r}="${t[e]}"`)})),["async","defer"].forEach((e=>{t[e]&&n.push(`${e}`)})),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`})).join("")}async init(){if("undefined"==typeof window)throw new y("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map((t=>{return n=t,new Promise(((t,e)=>{n.onload=t,n.onerror=e;const r=function(t){const{body:n,src:e,id:r,dataAttribute:i,section:o="body",type:u="text/javascript",async:a=!1,defer:c=!1,onload:s,onerror:f}=t;if("undefined"==typeof window)throw new y("Window is undefined: Cannot add script element.");if(function(t){const{id:n,dataAttribute:e}=t;return!!document.getElementById(n)||!!document.querySelector(`[data-${b}="${e}"]`)}(t))return void console.log(`script (${r||i}) is already present, skipping`);const l=function({id:t,dataAttribute:n,type:e,async:r,defer:i,body:o,src:u,onload:a,onerror:c}){const s=document.createElement("script");return t&&(s.id=t),n&&s.setAttribute(`data-${b}`,n),u&&(s.src=u),o&&(s.innerText=o),s.type=e,s.async=r,s.defer=i,a&&(s.onload=a),c&&(s.onerror=c),s}({id:r,dataAttribute:i,type:u,async:a,defer:c,body:n,src:e,onload:s,onerror:f});return"body"===o?document.body.appendChild(l):document.head.appendChild(l)}(n);r&&!n.body||t()}));var n}))),this.injectConfig()}logPageView(t,n={}){const e=this.buildCustomParams(n),r=Object.assign({page_title:t||window.location.pathname},e);return window.gtag("event","page_view",r),!0}logEvent(t){let{action:n}=t,e=O(t,["action"]);const r=n||"other",i=this.buildCustomParams(e);return window.gtag("event",r,i),!0}disable(){this.measurementIds&&this.measurementIds.forEach((t=>{window[`ga-disable-${t}`]=!0}))}enable(){this.measurementIds&&this.measurementIds.forEach((t=>{window[`ga-disable-${t}`]=void 0}))}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);const t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach((n=>{window.gtag("config",n,t)}))}buildCustomParams(t){let n,{category:e,label:r}=t;return n=this.verifyCustomDimensionAndMetrics(t),e&&(n=Object.assign(Object.assign({},n),{event_category:e})),r&&(n=Object.assign(Object.assign({},n),{event_label:r})),n}verifyCustomDimensionAndMetrics(t){const n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),e=Object.values(n);return Object.keys(t).filter((t=>e.includes(t))).reduce(((n,e)=>Object.assign(n,{[e]:t[e]})),{})}createDimensionsAndMetricsCustomMap(t={},n={}){const e=this.createMetricCustomMap(n),r=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},e),r)}createMetricCustomMap(t={}){return Object.keys(t).map((function(n){return{key:`metric${t[n]}`,value:n}})).filter((t=>t)).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}createDimensionCustomMap(t={}){return Object.keys(t).map((function(n){return{key:`dimension${t[n]}`,value:n}})).filter((t=>t)).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}}const k="TELEMETRY_COGNITO_CREDENTIALS";function E({telemetryData:t,dimensionLookup:n={},excludeKeys:e=[]}){return Object.keys(t).filter((t=>!e.includes(t))).map((e=>n[e]?{key:I(n,e),value:t[e]}:{key:e,value:A(t,e)})).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}function A(t,n){return"json"===n?t[n]?JSON.stringify(t[n]):"null":void 0===t[n]?"null":t[n].toString()}function I(t,n){return`dimension${t[n]}`}const x=["size","duration","position","number","count"];function T(t,n={}){return Object.keys(t).filter((t=>n[t]||x.includes(t))).map((e=>n[e]?{key:N(n,e),value:t[e]}:{key:e,value:t[e]})).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}function N(t,n){return`metric${t[n]}`}var _={exports:function(t,n,e,r,i){for(n=n.split?n.split("."):n,r=0;r<n.length;r++)t=t?t[n[r]]:i;return t===i?e:t}};const P=_.exports;"undefined"==typeof process||process;var M="undefined"!=typeof document;function C(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,M&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var D=C.bind(null,"toUpperCase"),L=C.bind(null,"toLowerCase");function z(t,n){void 0===n&&(n=!0);var e=function(t){return W(t)?D("null"):"object"==typeof t?function(t){return U(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?L(e):e}function $(t,n){return typeof n===t}var U=$.bind(null,"function"),R=$.bind(null,"string");function W(t){return null===t}function H(t,n){if("object"!=typeof n||W(n))return!1;if(n instanceof t)return!0;var e=z(new t(""));if(function(t){return t instanceof Error||R(t.message)&&t.constructor&&function(t){return"number"===z(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(z(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function q(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function V(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}function F(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function G(t,n,e){for(var r=n.length-1,i=0;i<r;++i){var o=n[i];if("__proto__"===o||"constructor"===o)break;o in t||(t[o]={}),t=t[o]}t[n[r]]=e}function J(){for(var t="",n=0,e=4294967295*Math.random()|0;n++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[n-1],i=15&e;t+="-"==r||"4"==r?r:("x"==r?i:3&i|8).toString(16),e=n%8==0?4294967295*Math.random()|0:e>>4}return t}$.bind(null,"undefined"),$.bind(null,"boolean"),$.bind(null,"symbol"),H.bind(null,TypeError),H.bind(null,SyntaxError),V(q,"form"),V(q,"button"),V(q,"input"),V(q,"select");var X="undefined",K="object";"undefined"==typeof process||process;var B="undefined"!=typeof document;function Y(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,B&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var Z=Y.bind(null,"toUpperCase"),Q=Y.bind(null,"toLowerCase");function tt(t,n){void 0===n&&(n=!0);var e=function(t){return it(t)?Z("null"):"object"==typeof t?function(t){return et(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?Q(e):e}function nt(t,n){return typeof n===t}var et=nt.bind(null,"function"),rt=nt.bind(null,"string");function it(t){return null===t}function ot(t,n){if("object"!=typeof n||it(n))return!1;if(n instanceof t)return!0;var e=tt(new t(""));if(function(t){return t instanceof Error||rt(t.message)&&t.constructor&&function(t){return"number"===tt(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(tt(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function ut(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function at(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}nt.bind(null,"undefined"),nt.bind(null,"boolean"),nt.bind(null,"symbol"),ot.bind(null,TypeError),ot.bind(null,SyntaxError),at(ut,"form"),at(ut,"button"),at(ut,"input"),at(ut,"select");var ct="global",st="__global__",ft=typeof self===K&&self.self===self&&self||typeof global===K&&global.global===global&&global||void 0;function lt(t){return ft[st][t]}function dt(t,n){return ft[st][t]=n}function ht(t){delete ft[st][t]}function vt(t,n,e){var r;try{if(wt(t)){var i=window[t];r=i[n].bind(i)}}catch(t){}return r||e}ft[st]||(ft[st]={});var pt={};function wt(t){if(typeof pt[t]!==X)return pt[t];try{var n=window[t];n.setItem(X,X),n.removeItem(X)}catch(n){return pt[t]=!1}return pt[t]=!0}"undefined"==typeof process||process;var mt="undefined"!=typeof window;function bt(t,n){return typeof n===t}"undefined"!=typeof Deno&&Deno,mt&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var yt=bt.bind(null,"function"),gt=bt.bind(null,"string");bt.bind(null,"undefined");var jt=bt.bind(null,"boolean");function Ot(t){if(!function(t){return t&&("object"==typeof t||null!==t)}(t))return!1;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}function St(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function kt(t,n){if(t){if("string"==typeof t)return St(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?St(t,n):void 0}}function Et(t){return function(t){if(Array.isArray(t))return St(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||kt(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function At(t){return At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},At(t)}function It(t,n,e,r,i,o,u){try{var a=t[o](u),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,i)}function xt(t){return function(){var n=this,e=arguments;return new Promise((function(r,i){var o=t.apply(n,e);function u(t){It(o,r,i,u,a,"next",t)}function a(t){It(o,r,i,u,a,"throw",t)}u(void 0)}))}}function Tt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Nt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function _t(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Nt(Object(e),!0).forEach((function(n){Tt(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Nt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var Pt={};!function(){var t=function(t){var n,e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function c(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(t){c=function(t,n,e){return t[n]=e}}function s(t,n,e,r){var i=Object.create((n&&n.prototype instanceof w?n:w).prototype),o=new x(r||[]);return i._invoke=function(t,n,e){var r=l;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===v){if("throw"===i)throw o;return N()}for(e.method=i,e.arg=o;;){var u=e.delegate;if(u){var a=E(u,e);if(a){if(a===p)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(r===l)throw r=v,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r=h;var c=f(t,n,e);if("normal"===c.type){if(r=e.done?v:d,c.arg===p)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(r=v,e.method="throw",e.arg=c.arg)}}}(t,e,o),i}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",d="suspendedYield",h="executing",v="completed",p={};function w(){}function m(){}function b(){}var y={};c(y,o,(function(){return this}));var g=Object.getPrototypeOf,j=g&&g(g(T([])));j&&j!==e&&r.call(j,o)&&(y=j);var O=b.prototype=w.prototype=Object.create(y);function S(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function k(t,n){function e(i,o,u,a){var c=f(t[i],t,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?n.resolve(l.__await).then((function(t){e("next",t,u,a)}),(function(t){e("throw",t,u,a)})):n.resolve(l).then((function(t){s.value=t,u(s)}),(function(t){return e("throw",t,u,a)}))}a(c.arg)}var i;this._invoke=function(t,r){function o(){return new n((function(n,i){e(t,r,n,i)}))}return i=i?i.then(o,o):o()}}function E(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,E(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=f(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,p;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function A(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function I(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,u=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=n,e.done=!0,e};return u.next=u}}return{next:N}}function N(){return{value:n,done:!0}}return m.prototype=b,c(O,"constructor",b),c(b,"constructor",m),m.displayName=c(b,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===m||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,a,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},S(k.prototype),c(k.prototype,u,(function(){return this})),t.AsyncIterator=k,t.async=function(n,e,r,i,o){void 0===o&&(o=Promise);var u=new k(s(n,e,r,i),o);return t.isGeneratorFunction(e)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},S(O),c(O,a,"Generator"),c(O,o,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(I),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return a.type="throw",a.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var u=this.tryEntries[o],a=u.completion;if("root"===u.tryLoc)return i("end");if(u.tryLoc<=this.prev){var c=r.call(u,"catchLoc"),s=r.call(u,"finallyLoc");if(c&&s){if(this.prev<u.catchLoc)return i(u.catchLoc,!0);if(this.prev<u.finallyLoc)return i(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return i(u.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return i(u.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=t,u.arg=n,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(u)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),p},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),I(e),p}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;I(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),p}},t}(Pt);try{regeneratorRuntime=t}catch(n){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}();var Mt=Pt,Ct="function",Dt="undefined",Lt="reducer",zt="@@redux/",$t=zt+"INIT",Ut=zt+Math.random().toString(36),Rt=function(){return("undefined"==typeof Symbol?"undefined":At(Symbol))===Ct&&Symbol.observable||"@@observable"}(),Wt=" != "+Ct;function Ht(t,n,e){if(At(n)===Ct&&At(e)===Dt&&(e=n,n=void 0),At(e)!==Dt){if(At(e)!==Ct)throw new Error("enhancer"+Wt);return e(Ht)(t,n)}if(At(t)!==Ct)throw new Error(Lt+Wt);var r=t,i=n,o=[],u=o,a=!1;function c(){u===o&&(u=o.slice())}function s(){return i}function f(t){if(At(t)!==Ct)throw new Error("Listener"+Wt);var n=!0;return c(),u.push(t),function(){if(n){n=!1,c();var e=u.indexOf(t);u.splice(e,1)}}}function l(t){if(!Ot(t))throw new Error("Act != obj");if(At(t.type)===Dt)throw new Error("ActType "+Dt);if(a)throw new Error("Dispatch in "+Lt);try{a=!0,i=r(i,t)}finally{a=!1}for(var n=o=u,e=0;e<n.length;e++)(0,n[e])();return t}return l({type:$t}),Tt({dispatch:l,subscribe:f,getState:s,replaceReducer:function(t){if(At(t)!==Ct)throw new Error("next "+Lt+Wt);r=t,l({type:$t})}},Rt,(function(){var t=f;return Tt({subscribe:function(n){if("object"!==At(n))throw new TypeError("Observer != obj");function e(){n.next&&n.next(s())}return e(),{unsubscribe:t(e)}}},Rt,(function(){return this}))}))}function qt(t,n){var e=n&&n.type;return"action "+(e&&e.toString()||"?")+Lt+" "+t+" returns "+Dt}function Vt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return 0===n.length?function(t){return t}:1===n.length?n[0]:n.reduce((function(t,n){return function(){return t(n.apply(void 0,arguments))}}))}function Ft(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return function(t){return function(e,r,i){var o,u=t(e,r,i),a=u.dispatch,c={getState:u.getState,dispatch:function(t){return a(t)}};return o=n.map((function(t){return t(c)})),a=Vt.apply(void 0,Et(o))(u.dispatch),_t(_t({},u),{},{dispatch:a})}}}var Gt="__anon_id",Jt="__user_id",Xt="__user_traits",Kt="analytics",Bt="userId",Yt="anonymousId",Zt=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],Qt=["name","EVENTS","config","loaded"],tn=Zt.reduce((function(t,n){return t[n]=n,t}),{registerPluginType:function(t){return"registerPlugin:".concat(t)},pluginReadyType:function(t){return"ready:".concat(t)}}),nn=/^utm_/,en=/^an_prop_/,rn=/^an_trait_/;function on(t){var n=t.storage.setItem;return function(e){return function(r){return function(i){if(i.type===tn.bootstrap){var o=i.params,u=i.user,a=i.persistedUser,c=i.initialUser,s=a.userId===u.userId;a.anonymousId!==u.anonymousId&&n(Gt,u.anonymousId),s||n(Jt,u.userId),c.traits&&n(Xt,_t(_t({},s&&a.traits?a.traits:{}),c.traits));var f=Object.keys(i.params);if(f.length){var l=o.an_uid,d=o.an_event,h=f.reduce((function(t,n){if(n.match(nn)||n.match(/^(d|g)clid/)){var e=n.replace(nn,"");t.campaign["campaign"===e?"name":e]=o[n]}return n.match(en)&&(t.props[n.replace(en,"")]=o[n]),n.match(rn)&&(t.traits[n.replace(rn,"")]=o[n]),t}),{campaign:{},props:{},traits:{}});e.dispatch(_t(_t({type:tn.params,raw:o},h),l?{userId:l}:{})),l&&setTimeout((function(){return t.identify(l,h.traits)}),0),d&&setTimeout((function(){return t.track(d,h.props)}),0),Object.keys(h.campaign).length&&e.dispatch({type:tn.campaign,campaign:h.campaign})}}return r(i)}}}}function un(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.type===tn.setItemEnd){if(e.key===Gt)return _t(_t({},n),{anonymousId:e.value});if(e.key===Jt)return _t(_t({},n),{userId:e.value})}switch(e.type){case tn.identify:return Object.assign({},n,{userId:e.userId,traits:_t(_t({},n.traits),e.traits)});case tn.reset:return[Jt,Gt,Xt].forEach((function(n){t.removeItem(n)})),Object.assign({},n,{userId:null,anonymousId:null,traits:{}});default:return n}}}function an(t){return{userId:t.getItem(Jt),anonymousId:t.getItem(Gt),traits:t.getItem(Xt)}}var cn=function(t){return"__TEMP__"+t};function sn(t){var n=t.storage,e=n.setItem,r=n.removeItem,i=n.getItem;return function(t){return function(n){return function(o){var u=o.userId,a=o.traits,c=o.options;if(o.type===tn.reset&&([Jt,Xt,Gt].forEach((function(t){r(t)})),[Bt,Yt,"traits"].forEach((function(t){ht(cn(t))}))),o.type===tn.identify){i(Gt)||e(Gt,J());var s=i(Jt),f=i(Xt)||{};s&&s!==u&&t.dispatch({type:tn.userIdChanged,old:{userId:s,traits:f},new:{userId:u,traits:a},options:c}),u&&e(Jt,u),a&&e(Xt,_t(_t({},f),a))}return n(o)}}}}var fn={};function ln(t,n){fn[t]&&yt(fn[t])&&(fn[t](n),delete fn[t])}function dn(t,n,e){return new Promise((function(r,i){return n()?r(t):e<1?i(_t(_t({},t),{},{queue:!0})):new Promise((function(t){return setTimeout(t,10)})).then((function(){return dn(t,n,e-10).then(r,i)}))}))}function hn(t,n,e){var r=n(),i=t.getState(),o=i.plugins,u=i.queue,a=i.user;if(!i.context.offline&&u&&u.actions&&u.actions.length){var c=u.actions.reduce((function(t,n,e){return o[n.plugin].loaded?(t.process.push(n),t.processIndex.push(e)):(t.requeue.push(n),t.requeueIndex.push(e)),t}),{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(c.processIndex&&c.processIndex.length){c.processIndex.forEach((function(n){var i=u.actions[n],c=i.plugin,s=i.payload.type,f=r[c][s];if(f&&yt(f)){var l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[Bt,Yt].reduce((function(e,r){return t.hasOwnProperty(r)&&n[r]&&n[r]!==t[r]&&(e[r]=n[r]),e}),t)}(i.payload,a);f({payload:l,config:o[c].config,instance:e});var d="".concat(s,":").concat(c);t.dispatch(_t(_t({},l),{},{type:d,_:{called:d,from:"queueDrain"}}))}}));var s=u.actions.filter((function(t,n){return!~c.processIndex.indexOf(n)}));u.actions=s}}}function vn(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(t).filter((function(t){var r=e.plugins||{};return jt(r[t])?r[t]:!1!==r.all&&(!n[t]||!1!==n[t].enabled)})).map((function(n){return t[n]}))}var pn=/Start$/,wn=/^bootstrap/,mn=/^ready/;function bn(t,n,e,r,i){return yn.apply(this,arguments)}function yn(){return yn=xt(Mt.mark((function t(n,e,r,i,o){var u,a,c,s,f,l,d,h,v,p,w;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(u=yt(e)?e():e,c=(a=n.type).replace(pn,""),!n._||!n._.called){t.next=5;break}return t.abrupt("return",n);case 5:return s=r.getState(),f=vn(u,s.plugins,n.options),a===tn.initializeStart&&n.fromEnable&&(f=Object.keys(s.plugins).filter((function(t){var e=s.plugins[t];return n.plugins.includes(t)&&!e.initialized})).map((function(t){return u[t]}))),l=f.map((function(t){return t.name})),d=An(a,f),t.next=12,gn({action:n,data:{exact:d.before,namespaced:d.beforeNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 12:if(!xn(h=t.sent,l.length)){t.next=15;break}return t.abrupt("return",h);case 15:if(a!==c){t.next=19;break}v=h,t.next=22;break;case 19:return t.next=21,gn({action:_t(_t({},h),{},{type:c}),data:{exact:d.during,namespaced:d.duringNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 21:v=t.sent;case 22:if(!a.match(pn)){t.next=28;break}return p="".concat(c,"End"),t.next=26,gn({action:_t(_t({},v),{},{type:p}),data:{exact:d.after,namespaced:d.afterNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 26:(w=t.sent).meta&&w.meta.hasCallback&&ln(w.meta.rid,{payload:w});case 28:return t.abrupt("return",h);case 29:case"end":return t.stop()}}),t)}))),yn.apply(this,arguments)}function gn(t){return jn.apply(this,arguments)}function jn(){return jn=xt(Mt.mark((function t(n){var e,r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.data,i=n.instance,u=n.allPlugins,a=n.allMatches,c=n.store,s=n.EVENTS,f=(o=n.state).plugins,l=o.context,h=(d=(r=n.action).type).match(pn),v=e.exact.map((function(t){return t.pluginName})),h&&(v=a.during.map((function(t){return t.pluginName}))),p=_n(i,v),w=e.exact.reduce((function(t,n){var e=n.pluginName,r=n.methodName,i=!1;return r.match(/^initialize/)||r.match(/^reset/)||(i=!f[e].loaded),l.offline&&r.match(/^(page|track|identify)/)&&(i=!0),t["".concat(e)]=i,t}),{}),t.next=10,e.exact.reduce(function(){var t=xt(Mt.mark((function t(n,o){var a,c;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=o.pluginName,t.next=3,n;case 3:if(c=t.sent,!e.namespaced||!e.namespaced[a]){t.next=11;break}return t.next=7,e.namespaced[a].reduce(function(){var t=xt(Mt.mark((function t(n,e){var r,o,c,s;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=function(t,n,e){return function(r,i){var o=e||n;return _t(_t({},t),{},{abort:{reason:r,plugins:i||[n],caller:d,from:o}})}},t.next=3,n;case 3:if(r=t.sent,e.method&&yt(e.method)){t.next=6;break}return t.abrupt("return",r);case 6:return Pn(e.methodName,e.pluginName),t.next=9,e.method({payload:r,instance:i,abort:o(r,a,e.pluginName),config:Sn(e.pluginName,f,u),plugins:f});case 9:return s=Ot(c=t.sent)?c:{},t.abrupt("return",Promise.resolve(_t(_t({},r),s)));case 12:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve(r));case 7:c[a]=t.sent,t.next=12;break;case 11:c[a]=r;case 12:return t.abrupt("return",Promise.resolve(c));case 13:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve({}));case 10:return m=t.sent,t.next=13,e.exact.reduce(function(){var t=xt(Mt.mark((function t(n,r,o){var a,s,l,v,b,y,g,j,O,S,k;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.exact.length===o+1,l=u[s=r.pluginName],t.next=5,n;case 5:if(v=t.sent,b=m[s]?m[s]:{},h&&(b=v),!In(b,s)){t.next=11;break}return On({data:b,method:d,instance:i,pluginName:s,store:c}),t.abrupt("return",Promise.resolve(v));case 11:if(!In(v,s)){t.next=14;break}return a&&On({data:v,method:d,instance:i,store:c}),t.abrupt("return",Promise.resolve(v));case 14:if(!w.hasOwnProperty(s)||!0!==w[s]){t.next=17;break}return c.dispatch({type:"queue",plugin:s,payload:b,_:{called:"queue",from:"queueMechanism"}}),t.abrupt("return",Promise.resolve(v));case 17:return y=p(m[s],u[s]),t.next=20,l[d]({abort:y.abort,payload:b,instance:i,config:Sn(s,f,u),plugins:f});case 20:return j=Ot(g=t.sent)?g:{},O=_t(_t({},v),j),In(S=m[s],s)?On({data:S,method:d,instance:i,pluginName:s,store:c}):((k="".concat(d,":").concat(s)).match(/:/g)||[]).length<2&&!d.match(wn)&&!d.match(mn)&&i.dispatch(_t(_t({},h?O:b),{},{type:k,_:{called:k,from:"submethod"}})),t.abrupt("return",Promise.resolve(O));case 26:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve(r));case 13:if(b=t.sent,d.match(pn)||d.match(/^registerPlugin/)||d.match(mn)||d.match(wn)||d.match(/^params/)||d.match(/^userIdChanged/)){t.next=21;break}if(s.plugins.includes(d),!b._||b._.originalAction!==d){t.next=18;break}return t.abrupt("return",b);case 18:y=_t(_t({},b),{_:{originalAction:b.type,called:b.type,from:"engineEnd"}}),xn(b,e.exact.length)&&!d.match(/End$/)&&(y=_t(_t({},y),{type:b.type+"Aborted"})),c.dispatch(y);case 21:return t.abrupt("return",b);case 22:case"end":return t.stop()}}),t)}))),jn.apply(this,arguments)}function On(t){var n=t.pluginName,e=t.method+"Aborted"+(n?":"+n:"");t.store.dispatch(_t(_t({},t.data),{},{type:e,_:{called:e,from:"abort"}}))}function Sn(t,n,e){var r=n[t]||e[t];return r&&r.config?r.config:{}}function kn(t,n){return n.reduce((function(n,e){return e[t]?n.concat({methodName:t,pluginName:e.name,method:e[t]}):n}),[])}function En(t,n){var e=t.replace(pn,""),r=n?":".concat(n):"";return["".concat(t).concat(r),"".concat(e).concat(r),"".concat(e,"End").concat(r)]}function An(t,n){var e=En(t).map((function(t){return kn(t,n)}));return n.reduce((function(e,r){var i=r.name,o=function(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o=[],u=!0,a=!1;try{for(e=e.call(t);!(u=(r=e.next()).done)&&(o.push(r.value),!n||o.length!==n);u=!0);}catch(t){a=!0,i=t}finally{try{u||null==e.return||e.return()}finally{if(a)throw i}}return o}}(t,n)||kt(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(En(t,i).map((function(t){return kn(t,n)})),3),u=o[0],a=o[1],c=o[2];return u.length&&(e.beforeNS[i]=u),a.length&&(e.duringNS[i]=a),c.length&&(e.afterNS[i]=c),e}),{before:e[0],beforeNS:{},during:e[1],duringNS:{},after:e[2],afterNS:{}})}function In(t,n){var e=t.abort;return!!e&&(!0===e||Nn(e,n)||e&&Nn(e.plugins,n))}function xn(t,n){var e=t.abort;if(!e)return!1;if(!0===e||gt(e))return!0;var r=e.plugins;return Tn(e)&&e.length===n||Tn(r)&&r.length===n}function Tn(t){return Array.isArray(t)}function Nn(t,n){return!(!t||!Tn(t))&&t.includes(n)}function _n(t,n){return function(e,r,i){var o=r.config,u=r.name,a="".concat(u,".").concat(e.type);i&&(a=i.event);var c=e.type.match(pn)?function(t,n,e,r,i){return function(o,u){var a=r?r.name:t,c=u&&Tn(u)?u:e;if(r&&(!(c=u&&Tn(u)?u:[t]).includes(t)||1!==c.length))throw new Error("Method ".concat(n," can only abort ").concat(t," plugin. ").concat(JSON.stringify(c)," input valid"));return _t(_t({},i),{},{abort:{reason:o,plugins:c,caller:n,_:a}})}}(u,a,n,i,e):function(t,n){return function(){throw new Error(t.type+" action not cancellable. Remove abort in "+n)}}(e,a);return{payload:Cn(e),instance:t,config:o||{},abort:c}}}function Pn(t,n){var e=Mn(t);if(e&&e.name===n){var r=Mn(e.method),i=r?"or "+r.method:"";throw new Error([n+" plugin is calling method "+t,"Plugins cant call self","Use ".concat(e.method," ").concat(i," in ").concat(n," plugin insteadof ").concat(t)].join("\n"))}}function Mn(t){var n=t.match(/(.*):(.*)/);return!!n&&{method:n[1],name:n[2]}}function Cn(t){return Object.keys(t).reduce((function(n,e){return"type"===e||(n[e]=Ot(t[e])?Object.assign({},t[e]):t[e]),n}),{})}function Dn(t,n,e){var r={};return function(i){return function(o){return function(){var u=xt(Mt.mark((function u(a){var c,s,f,l,d,h,v,p,w,m;return Mt.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(c=a.type,s=a.plugins,f=a,!a.abort){u.next=4;break}return u.abrupt("return",o(a));case 4:if(c===tn.enablePlugin&&i.dispatch({type:tn.initializeStart,plugins:s,disabled:[],fromEnable:!0,meta:a.meta}),c===tn.disablePlugin&&setTimeout((function(){return ln(a.meta.rid,{payload:a})}),0),c===tn.initializeEnd&&(l=n(),d=Object.keys(l),h=d.filter((function(t){return s.includes(t)})).map((function(t){return l[t]})),v=[],p=[],w=a.disabled,m=h.map((function(t){var n=t.name;return dn(t,t.loaded,1e4).then((function(){return r[n]||(i.dispatch({type:tn.pluginReadyType(n),name:n,events:Object.keys(t).filter((function(t){return!Qt.includes(t)}))}),r[n]=!0),v=v.concat(n),t})).catch((function(t){if(t instanceof Error)throw new Error(t);return p=p.concat(t.name),t}))})),Promise.all(m).then((function(){var t={plugins:v,failed:p,disabled:w};setTimeout((function(){d.length===m.length+w.length&&i.dispatch(_t(_t({},{type:tn.ready}),t))}),0)}))),c===tn.bootstrap){u.next=13;break}return/^ready:([^:]*)$/.test(c)&&setTimeout((function(){return hn(i,n,t)}),0),u.next=11,bn(a,n,t,i,e);case 11:return u.abrupt("return",o(u.sent));case 13:return u.abrupt("return",o(f));case 14:case"end":return u.stop()}}),u)})));return function(t){return u.apply(this,arguments)}}()}}}function Ln(t){return function(){return function(n){return function(e){var r=e.type,i=e.key,o=e.value,u=e.options;if(r===tn.setItem||r===tn.removeItem){if(e.abort)return n(e);r===tn.setItem?t.setItem(i,o,u):t.removeItem(i,u)}return n(e)}}}}function zn(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $n(t,n,e){return n&&zn(t.prototype,n),e&&zn(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}var Un=$n((function t(){var n=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),Tt(this,"before",[]),Tt(this,"after",[]),Tt(this,"addMiddleware",(function(t,e){n[e]=n[e].concat(t)})),Tt(this,"removeMiddleware",(function(t,e){var r=n[e].findIndex((function(n){return n===t}));-1!==r&&(n[e]=[].concat(Et(n[e].slice(0,r)),Et(n[e].slice(r+1))))})),Tt(this,"dynamicMiddlewares",(function(t){return function(e){return function(r){return function(i){var o={getState:e.getState,dispatch:function(t){return e.dispatch(t)}},u=n[t].map((function(t){return t(o)}));return Vt.apply(void 0,Et(u))(r)(i)}}}}))}));function Rn(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r={};if("initialize:aborted"===e.type)return n;if(/^registerPlugin:([^:]*)$/.test(e.type)){var i=Wn(e.type,"registerPlugin"),o=t()[i];if(!o||!i)return n;var u=e.enabled;return r[i]={enabled:u,initialized:!!u&&Boolean(!o.initialize),loaded:!!u&&Boolean(o.loaded()),config:o.config||{}},_t(_t({},n),r)}if(/^initialize:([^:]*)$/.test(e.type)){var a=Wn(e.type,tn.initialize),c=t()[a];return c&&a?(r[a]=_t(_t({},n[a]),{initialized:!0,loaded:Boolean(c.loaded())}),_t(_t({},n),r)):n}if(/^ready:([^:]*)$/.test(e.type))return r[e.name]=_t(_t({},n[e.name]),{loaded:!0}),_t(_t({},n),r);switch(e.type){case tn.disablePlugin:return _t(_t({},n),Hn(e.plugins,!1,n));case tn.enablePlugin:return _t(_t({},n),Hn(e.plugins,!0,n));default:return n}}}function Wn(t,n){return t.substring(n.length+1,t.length)}function Hn(t,n,e){return t.reduce((function(t,r){return t[r]=_t(_t({},e[r]),{enabled:n}),t}),e)}function qn(t){try{return JSON.parse(JSON.stringify(t))}catch(t){}return t}var Vn={last:{},history:[]};function Fn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vn,n=arguments.length>1?arguments[1]:void 0,e=n.options,r=n.meta;if(n.type===tn.track){var i=qn(_t(_t({event:n.event,properties:n.properties},Object.keys(e).length&&{options:e}),{},{meta:r}));return _t(_t({},t),{last:i,history:t.history.concat(i)})}return t}var Gn={actions:[]};function Jn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gn,n=arguments.length>1?arguments[1]:void 0,e=n.payload;switch(n.type){case"queue":var r;return r=e&&e.type&&e.type===tn.identify?[n].concat(t.actions):t.actions.concat(n),_t(_t({},t),{},{actions:r});case"dequeue":return[];default:return t}}var Xn=/#.*$/;function Kn(t){var n=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(t);return"/"+(n&&n[3]?n[3].split("?")[0].replace(Xn,""):"")}var Bn,Yn,Zn,Qn,te=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt)return t;var n=document,e=n.title,r=n.referrer,i=window,o=i.location,u=i.innerWidth,a=i.innerHeight,c=o.hash,s=o.search,f=function(t){var n=function(){if(mt)for(var t,n=document.getElementsByTagName("link"),e=0;t=n[e];e++)if("canonical"===t.getAttribute("rel"))return t.getAttribute("href")}();return n?n.match(/\?/)?n:n+t:window.location.href.replace(Xn,"")}(s),l={title:e,url:f,path:Kn(f),hash:c,search:s,width:u,height:a};return r&&""!==r&&(l.referrer=r),_t(_t({},l),t)},ne={last:{},history:[]};function ee(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne,n=arguments.length>1?arguments[1]:void 0,e=n.options;if(n.type===tn.page){var r=qn(_t({properties:n.properties,meta:n.meta},Object.keys(e).length&&{options:e}));return _t(_t({},t),{last:r,history:t.history.concat(r)})}return t}Bn=function(){if(!mt)return!1;var t=navigator.appVersion;return~t.indexOf("Win")?"Windows":~t.indexOf("Mac")?"MacOS":~t.indexOf("X11")?"UNIX":~t.indexOf("Linux")?"Linux":"Unknown OS"}(),Yn=mt?document.referrer:null,Zn=function(){if(M){var t=navigator,n=t.languages;return t.userLanguage||(n&&n.length?n[0]:t.language)}}(),Qn=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){}}();var re={initialized:!1,sessionId:J(),app:null,version:null,debug:!1,offline:!!mt&&!navigator.onLine,os:{name:Bn},userAgent:mt?navigator.userAgent:"node",library:{name:Kt,version:"0.10.22"},timezone:Qn,locale:Zn,campaign:{},referrer:Yn};function ie(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,n=arguments.length>1?arguments[1]:void 0,e=t.initialized,r=n.campaign;switch(n.type){case tn.campaign:return _t(_t({},t),{campaign:r});case tn.offline:return _t(_t({},t),{offline:!0});case tn.online:return _t(_t({},t),{offline:!1});default:return e?t:_t(_t(_t({},re),t),{initialized:!0})}}var oe=["plugins","reducers","storage"];function ue(t,n,e){if(mt){var r=window[(e?"add":"remove")+"EventListener"];t.split(" ").forEach((function(t){r(t,n)}))}}function ae(t){var n=ue.bind(null,"online offline",(function(){return Promise.resolve(!navigator.onLine).then(t)}));return n(!0),function(){return n(!1)}}function ce(){return dt(Kt,[]),function(t){return function(n,e,r){var i=t(n,e,r),o=i.dispatch;return Object.assign(i,{dispatch:function(t){return ft[st][Kt].push(t.action||t),o(t)}})}}}function se(){return function(){return Vt(Vt.apply(null,arguments),ce())}}function fe(t){return t?function(t){return"[object Array]"===Object.prototype.toString.call(t)}(t)?t:[t]:[]}function le(){var t,n,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,o=J();return r&&(fn[o]=(t=r,n=function(t){for(var n,e=t||Array.prototype.slice.call(arguments),r=0;r<e.length;r++)if(yt(e[r])){n=e[r];break}return n}(i),function(e){n&&n(e),t(e)})),_t(_t({},e),{},{rid:o,ts:(new Date).getTime()},r?{hasCallback:!0}:{})}function de(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.reducers||{},e=t.initialUser||{},r=(t.plugins||[]).reduce((function(t,n){if(yt(n))return t.middlewares=t.middlewares.concat(n),t;if(n.NAMESPACE&&(n.name=n.NAMESPACE),!n.name)throw new Error("https://lytics.dev/errors/1");var e=n.EVENTS?Object.keys(n.EVENTS).map((function(t){return n.EVENTS[t]})):[];t.pluginEnabled[n.name]=!(!1===n.enabled||n.config&&!1===n.config.enabled),delete n.enabled,n.methods&&(t.methods[n.name]=Object.keys(n.methods).reduce((function(t,e){var r;return t[e]=(r=n.methods[e],function(){for(var t=Array.prototype.slice.call(arguments),n=new Array(r.length),e=0;e<t.length;e++)n[e]=t[e];return n[n.length]=S,r.apply({instance:S},n)}),t}),{}),delete n.methods);var r=Object.keys(n).concat(e),i=new Set(t.events.concat(r));if(t.events=Array.from(i),t.pluginsArray=t.pluginsArray.concat(n),t.plugins[n.name])throw new Error(n.name+"AlreadyLoaded");return t.plugins[n.name]=n,t.plugins[n.name].loaded||(t.plugins[n.name].loaded=function(){return!0}),t}),{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=t.storage?t.storage:{getItem:lt,setItem:dt,removeItem:ht},o=function(t){return function(n,e,r){return e.getState("user")[n]||(r&&Ot(r)&&r[n]?r[n]:an(t)[n]||lt(cn(n))||null)}}(i),u=r.plugins,a=r.events.filter((function(t){return!Qt.includes(t)})).sort(),c=new Set(a.concat(Zt).filter((function(t){return!Qt.includes(t)}))),s=Array.from(c).sort(),f=function(){return u},l=new Un,d=l.addMiddleware,h=l.removeMiddleware,v=l.dynamicMiddlewares,p=function(){throw new Error("Abort disabled inListener")},w=function(t){for(var n,e=Object.create(null),r=/([^&=]+)=?([^&]*)/g;n=r.exec(t);){var i=F(n[1]),o=F(n[2]);if(i)if("[]"===i.substring(i.length-2)){var u=e[i=i.substring(0,i.length-2)]||(e[i]=[]);e[i]=Array.isArray(u)?u:[],e[i].push(o)}else e[i]=""===o||o}for(var a in e){var c=a.split("[");c.length>1&&(G(e,c.map((function(t){return t.replace(/[?[\]\\ ]/g,"")})),e[a]),delete e[a])}return e}(function(t){if(t){var n=t.match(/\?(.*)/);return n&&n[1]?n[1].split("#")[0]:""}return M&&window.location.search.substring(1)}(void 0)),m=an(i),b=_t(_t(_t(_t({},m),e),w.an_uid?{userId:w.an_uid}:{}),w.an_aid?{anonymousId:w.an_aid}:{});b.anonymousId||(b.anonymousId=J());var y,g,j,O=_t({enable:function(t,n){return new Promise((function(e){D.dispatch({type:tn.enablePlugin,plugins:fe(t),_:{originalAction:tn.enablePlugin}},e,[n])}))},disable:function(t,n){return new Promise((function(e){D.dispatch({type:tn.disablePlugin,plugins:fe(t),_:{originalAction:tn.disablePlugin}},e,[n])}))}},r.methods),S={identify:(j=xt(Mt.mark((function t(n,e,r,i){var u,a,c,s,f;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=gt(n)?n:null,a=Ot(n)?n:e,c=r||{},s=S.user(),dt(cn(Bt),u),f=u||a.userId||o(Bt,S,a),t.abrupt("return",new Promise((function(t){D.dispatch(_t({type:tn.identifyStart,userId:f,traits:a||{},options:c,anonymousId:s.anonymousId},s.id&&s.id!==u&&{previousId:s.id}),t,[e,r,i])})));case 7:case"end":return t.stop()}}),t)}))),function(t,n,e,r){return j.apply(this,arguments)}),track:(g=xt(Mt.mark((function t(n,e,r,i){var u,a,c;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((u=Ot(n)?n.event:n)&>(u)){t.next=3;break}throw new Error("EventMissing");case 3:return a=Ot(n)?n:e||{},c=Ot(r)?r:{},t.abrupt("return",new Promise((function(t){D.dispatch({type:tn.trackStart,event:u,properties:a,options:c,userId:o(Bt,S,e),anonymousId:o(Yt,S,e)},t,[e,r,i])})));case 6:case"end":return t.stop()}}),t)}))),function(t,n,e,r){return g.apply(this,arguments)}),page:(y=xt(Mt.mark((function t(n,e,r){var i,u;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=Ot(n)?n:{},u=Ot(e)?e:{},t.abrupt("return",new Promise((function(t){D.dispatch({type:tn.pageStart,properties:te(i),options:u,userId:o(Bt,S,i),anonymousId:o(Yt,S,i)},t,[n,e,r])})));case 3:case"end":return t.stop()}}),t)}))),function(t,n,e){return y.apply(this,arguments)}),user:function(t){if(t===Bt||"id"===t)return o(Bt,S);if(t===Yt||"anonId"===t)return o(Yt,S);var n=S.getState("user");return t?P(n,t):n},reset:function(t){return new Promise((function(n){D.dispatch({type:tn.resetStart},n,t)}))},ready:function(t){return S.on(tn.ready,t)},on:function(t,n){if(!t||!yt(n))return!1;if(t===tn.bootstrap)throw new Error(".on disabled for "+t);var e=/Start$|Start:/;if("*"===t){var r=function(){return function(t){return function(r){return r.type.match(e)&&n({payload:r,instance:S,plugins:u}),t(r)}}},i=function(){return function(t){return function(r){return r.type.match(e)||n({payload:r,instance:S,plugins:u}),t(r)}}};return d(r,he),d(i,ve),function(){h(r,he),h(i,ve)}}var o=t.match(e)?he:ve,a=function(){return function(e){return function(r){return r.type===t&&n({payload:r,instance:S,plugins:u,abort:p}),e(r)}}};return d(a,o),function(){return h(a,o)}},once:function(t,n){if(!t||!yt(n))return!1;if(t===tn.bootstrap)throw new Error(".once disabled for "+t);var e=S.on(t,(function(t){n({payload:t.payload,instance:S,plugins:u,abort:p}),e()}));return e},getState:function(t){var n=D.getState();return t?P(n,t):Object.assign({},n)},dispatch:function(t){var n=gt(t)?{type:t}:t;if(Zt.includes(n.type))throw new Error("reserved action "+n.type);var e=t._||{},r=_t(_t({},n),{},{_:_t({originalAction:n.type},e)});D.dispatch(r)},enablePlugin:O.enable,disablePlugin:O.disable,plugins:O,storage:{getItem:i.getItem,setItem:function(t,n,e){D.dispatch({type:tn.setItemStart,key:t,value:n,options:e})},removeItem:function(t,n){D.dispatch({type:tn.removeItemStart,key:t,options:n})}},setAnonymousId:function(t,n){S.storage.setItem(Gt,t,n)},events:{all:s,core:Zt,plugins:a}},k=r.middlewares.concat([function(){return function(t){return function(n){return n.meta||(n.meta=le()),t(n)}}},v(he),Dn(S,f,{all:s,plugins:a}),Ln(i),on(S),sn(S),v(ve)]),E={context:ie,user:un(i),page:ee,track:Fn,plugins:Rn(f),queue:Jn},A=Vt,I=Vt;if(mt&&t.debug){var x=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;x&&(A=x({trace:!0,traceLimit:25})),I=function(){return 0===arguments.length?ce():Ot(At(arguments[0]))?se():se().apply(null,arguments)}}var T,N=function(t){return Object.keys(t).reduce((function(n,e){return oe.includes(e)||(n[e]=t[e]),n}),{})}(t),_=r.pluginsArray.reduce((function(t,n){var e=n.name,i=n.config,o=n.loaded,u=r.pluginEnabled[e];return t[e]={enabled:u,initialized:!!u&&Boolean(!n.initialize),loaded:Boolean(o()),config:i||{}},t}),{}),C={context:N,user:b,plugins:_},D=Ht(function(t){for(var n=Object.keys(t),e={},r=0;r<n.length;r++){var i=n[r];At(t[i])===Ct&&(e[i]=t[i])}var o,u=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(n){var e=t[n];if(At(e(void 0,{type:$t}))===Dt||At(e(void 0,{type:Ut}))===Dt)throw new Error(Lt+" "+n+" "+Dt)}))}(e)}catch(t){o=t}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(o)throw o;for(var r=!1,i={},a=0;a<u.length;a++){var c=u[a],s=t[c],f=(0,e[c])(s,n);if(At(f)===Dt){var l=qt(c,n);throw new Error(l)}i[c]=f,r=r||f!==s}return r?i:t}}(_t(_t({},E),n)),C,I(A(Ft.apply(void 0,Et(k)))));D.dispatch=(T=D.dispatch,function(t,n,e){var r=le(t.meta,n,fe(e)),i=_t(_t({},t),{meta:r});return T.apply(null,[i])});var L=Object.keys(u);D.dispatch({type:tn.bootstrap,plugins:L,config:N,params:w,user:b,initialUser:e,persistedUser:m});var z=L.filter((function(t){return r.pluginEnabled[t]})),$=L.filter((function(t){return!r.pluginEnabled[t]}));return D.dispatch({type:tn.registerPlugins,plugins:L,enabled:r.pluginEnabled}),r.pluginsArray.map((function(t,n){var e=t.bootstrap,i=t.config,o=t.name;e&&yt(e)&&e({instance:S,config:i,payload:t}),D.dispatch({type:tn.registerPluginType(o),name:o,enabled:r.pluginEnabled[o],plugin:t}),r.pluginsArray.length===n+1&&D.dispatch({type:tn.initializeStart,plugins:z,disabled:$})})),ae((function(t){D.dispatch({type:t?tn.offline:tn.online})})),function(t,n,e){setInterval((function(){return hn(t,n,e)}),3e3)}(D,f,S),S}var he="before",ve="after",pe="cookie",we=ge(),me=je,be=je;function ye(t){return we?je(t,"",-1):ht(t)}function ge(){if(void 0!==we)return we;var t="cookiecookie";try{je(t,t),we=-1!==document.cookie.indexOf(t),ye(t)}catch(t){we=!1}return we}function je(t,n,e,r,i,o){if("undefined"!=typeof window){var u=arguments.length>1;return!1===we&&(u?dt(t,n):lt(t)),u?document.cookie=t+"="+encodeURIComponent(n)+(e?"; expires="+new Date(+new Date+1e3*e).toUTCString()+(r?"; path="+r:"")+(i?"; domain="+i:"")+(o?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+t+"=")[1]||"").split(";")[0])}}var Oe="localStorage",Se=wt.bind(null,"localStorage"),ke=vt("localStorage","getItem",lt),Ee=vt("localStorage","setItem",dt),Ae=vt("localStorage","removeItem",ht),Ie="sessionStorage",xe=wt.bind(null,"sessionStorage");vt("sessionStorage","getItem",lt),vt("sessionStorage","setItem",dt),vt("sessionStorage","removeItem",ht);var Te="any",Ne="*";"undefined"==typeof process||process;var _e="undefined"!=typeof window;function Pe(t,n){return typeof n===t}"undefined"!=typeof Deno&&Deno,_e&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Pe.bind(null,"function");var Me=Pe.bind(null,"string"),Ce=Pe.bind(null,"undefined");function De(t){var n=t;try{if("true"===(n=JSON.parse(t)))return!0;if("false"===n)return!1;if(function(t){if(!function(t){return t&&("object"==typeof t||null!==t)}(t))return!1;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}(n))return n;parseFloat(n)===n&&(n=parseFloat(n))}catch(t){}if(null!==n&&""!==n)return n}Pe.bind(null,"boolean");var Le=Se(),ze=xe(),$e=ge();function Ue(t,n){if(t){var e=Re(n),r=!Ve(e),i=We(e)?De(localStorage.getItem(t)):void 0;if(r&&!Ce(i))return i;var o=He(e)?De(me(t)):void 0;if(r&&o)return o;var u=qe(e)?De(sessionStorage.getItem(t)):void 0;if(r&&u)return u;var a=lt(t);return r?a:{localStorage:i,sessionStorage:u,cookie:o,global:a}}}function Re(t){return t?Me(t)?t:t.storage:Te}function We(t){return Le&&Fe(t,Oe)}function He(t){return $e&&Fe(t,pe)}function qe(t){return ze&&Fe(t,Ie)}function Ve(t){return t===Ne||"all"===t}function Fe(t,n){return t===Te||t===n||Ve(t)}function Ge(t,n,e){return{location:t,current:n,previous:e}}var Je={setItem:function(t,n,e){if(t&&!Ce(n)){var r={},i=Re(e),o=JSON.stringify(n),u=!Ve(i);return We(i)&&(r[Oe]=Ge(Oe,n,De(localStorage.getItem(t))),localStorage.setItem(t,o),u)?r[Oe]:He(i)&&(r[pe]=Ge(pe,n,De(me(t))),be(t,o),u)?r[pe]:qe(i)&&(r[Ie]=Ge(Ie,n,De(sessionStorage.getItem(t))),sessionStorage.setItem(t,o),u)?r[Ie]:(r[ct]=Ge(ct,n,lt(t)),dt(t,n),u?r[ct]:r)}},getItem:Ue,removeItem:function(t,n){if(t){var e=Re(n),r=Ue(t,Ne),i={};return!Ce(r.localStorage)&&We(e)&&(localStorage.removeItem(t),i[Oe]=r.localStorage),!Ce(r.cookie)&&He(e)&&(ye(t),i[pe]=r.cookie),!Ce(r.sessionStorage)&&qe(e)&&(sessionStorage.removeItem(t),i[Ie]=r.sessionStorage),!Ce(r.global)&&Fe(e,ct)&&(ht(t),i[ct]=r.global),i}}};const Xe=Je;function Ke(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Be(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ye(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Be(Object(e),!0).forEach((function(n){Ke(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Be(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var Ze={exports:{}};!function(t){var n=c.exports;function e(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}t.exports=function(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}return t},t.exports.__esModule=!0,t.exports.default=t.exports}(Ze);const Qe=u(Ze.exports);var tr={exports:{}};!function(t){var n=l.exports.default;function e(){t.exports=e=function(){return i},t.exports.__esModule=!0,t.exports.default=t.exports;var r,i={},o=Object.prototype,u=o.hasOwnProperty,a=Object.defineProperty||function(t,n,e){t[n]=e.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",f=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function d(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{d({},"")}catch(r){d=function(t,n,e){return t[n]=e}}function h(t,n,e,r){var i=Object.create((n&&n.prototype instanceof g?n:g).prototype),o=new M(r||[]);return a(i,"_invoke",{value:T(t,e,o)}),i}function v(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}i.wrap=h;var p="suspendedStart",w="suspendedYield",m="executing",b="completed",y={};function g(){}function j(){}function O(){}var S={};d(S,s,(function(){return this}));var k=Object.getPrototypeOf,E=k&&k(k(C([])));E&&E!==o&&u.call(E,s)&&(S=E);var A=O.prototype=g.prototype=Object.create(S);function I(t){["next","throw","return"].forEach((function(n){d(t,n,(function(t){return this._invoke(n,t)}))}))}function x(t,e){function r(i,o,a,c){var s=v(t[i],t,o);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==n(l)&&u.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return r("throw",t,a,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}})}function T(t,n,e){var i=p;return function(o,u){if(i===m)throw Error("Generator is already running");if(i===b){if("throw"===o)throw u;return{value:r,done:!0}}for(e.method=o,e.arg=u;;){var a=e.delegate;if(a){var c=N(a,e);if(c){if(c===y)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===p)throw i=b,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=m;var s=v(t,n,e);if("normal"===s.type){if(i=e.done?b:w,s.arg===y)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(i=b,e.method="throw",e.arg=s.arg)}}}function N(t,n){var e=n.method,i=t.iterator[e];if(i===r)return n.delegate=null,"throw"===e&&t.iterator.return&&(n.method="return",n.arg=r,N(t,n),"throw"===n.method)||"return"!==e&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+e+"' method")),y;var o=v(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var u=o.arg;return u?u.done?(n[t.resultName]=u.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=r),n.delegate=null,y):u:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function _(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function P(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function C(t){if(t||""===t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(u.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=r,n.done=!0,n};return o.next=o}}throw new TypeError(n(t)+" is not iterable")}return j.prototype=O,a(A,"constructor",{value:O,configurable:!0}),a(O,"constructor",{value:j,configurable:!0}),j.displayName=d(O,l,"GeneratorFunction"),i.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===j||"GeneratorFunction"===(n.displayName||n.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,d(t,l,"GeneratorFunction")),t.prototype=Object.create(A),t},i.awrap=function(t){return{__await:t}},I(x.prototype),d(x.prototype,f,(function(){return this})),i.AsyncIterator=x,i.async=function(t,n,e,r,o){void 0===o&&(o=Promise);var u=new x(h(t,n,e,r),o);return i.isGeneratorFunction(n)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},I(A),d(A,l,"Generator"),d(A,s,(function(){return this})),d(A,"toString",(function(){return"[object Generator]"})),i.keys=function(t){var n=Object(t),e=[];for(var r in n)e.push(r);return e.reverse(),function t(){for(;e.length;){var r=e.pop();if(r in n)return t.value=r,t.done=!1,t}return t.done=!0,t}},i.values=C,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&u.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function e(e,i){return a.type="throw",a.arg=t,n.next=e,i&&(n.method="next",n.arg=r),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var c=u.call(o,"catchLoc"),s=u.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&u.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=n,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),y},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),P(e),y}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;P(e)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:C(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=r),y}},i}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(tr);var nr=tr.exports(),er=nr;try{regeneratorRuntime=nr}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=nr:Function("r","regeneratorRuntime = r")(nr)}var rr=function(){};wt.bind(null,"sessionStorage");var ir=vt("sessionStorage","getItem",lt),or=vt("sessionStorage","setItem",dt);vt("sessionStorage","removeItem",ht);var ur="__session",ar=["id","createdAt","created"];function cr(t){var n=t?new Date(t):new Date;return[n.toISOString(),n.getTime()]}function sr(){var t=cr(),n=t[0],e=t[1];return{id:J(),created:e,createdAt:n}}var fr={session:[ir,or],page:[lt,dt]};function lr(t,n){for(var e=fr[t],r=e[0],i=e[1],o=sr(),u=!1,a={},c=0;c<ar.length;c++){var s=ar[c],f="__"+t+"__session__"+s,l=r(f);u=n||!l,(n||!n&&!l)&&i(f,o[s]);var d=l&&!n?l:o[s],h="created"!==s?d:Number(d);a[s]=h}return dr(a,u)}function dr(t,n){var e=Date.now();return t.elapsed=e-t.created,t.expires&&(t.remaining=Math.max(t.expires-e,0),t.isExpired=0===t.remaining),t.isNew=n,t}function hr(t,n){void 0===t&&(t=30);var e=me(ur),r=e?JSON.parse(e):vr(t);return n?r:dr(r,!e)}function vr(t,n,e){void 0===t&&(t=30);var r=e?hr(t,!0):sr(),i=60*t,o=r.created;if(e){var u=cr(),a=u[0],c=u[1];r.modified=c,r.modifiedAt=a,o=c}var s=cr(o+1e3*i),f=s[0];return r.expires=s[1],r.expiresAt=f,r.duration=1e3*i,n&&(r=Object.assign(r,n)),be(ur,JSON.stringify(r),i),dr(r,!e)}var pr=lr.bind(null,"session"),wr=lr.bind(null,"session",!0),mr=lr.bind(null,"page"),br=lr.bind(null,"page",!0),yr="undefined"!=typeof window;function gr(t){return"boolean"==typeof t}var jr=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var n=Object.prototype.toString.call(t);return"[object RegExp]"===n||"[object Date]"===n||function(t){return t.$$typeof===Or}(t)}(t)},Or="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Sr(t,n){return!1!==n.clone&&n.isMergeableObject(t)?Ir(Array.isArray(t)?[]:{},t,n):t}function kr(t,n,e){return t.concat(n).map((function(t){return Sr(t,e)}))}function Er(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(n){return Object.propertyIsEnumerable.call(t,n)})):[]}(t))}function Ar(t,n){try{return n in t}catch(t){return!1}}function Ir(t,n,e){(e=e||{}).arrayMerge=e.arrayMerge||kr,e.isMergeableObject=e.isMergeableObject||jr,e.cloneUnlessOtherwiseSpecified=Sr;var r=Array.isArray(n);return r===Array.isArray(t)?r?e.arrayMerge(t,n,e):function(t,n,e){var r={};return e.isMergeableObject(t)&&Er(t).forEach((function(n){r[n]=Sr(t[n],e)})),Er(n).forEach((function(i){(function(t,n){return Ar(t,n)&&!(Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))})(t,i)||(r[i]=Ar(t,i)&&e.isMergeableObject(n[i])?function(t,n){if(!n.customMerge)return Ir;var e=n.customMerge(t);return"function"==typeof e?e:Ir}(i,e)(t[i],n[i],e):Sr(n[i],e))})),r}(t,n,e):Sr(n,e)}Ir.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,e){return Ir(t,e,n)}),{})};var xr=Ir,Tr={exports:{}};!function(t){
|
7
|
+
/**
|
8
|
+
* @license MIT <https://opensource.org/licenses/MIT>
|
9
|
+
* @copyright Michael Hart 2024
|
10
|
+
*/
|
11
|
+
const n=new TextEncoder,e={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},r=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]);class i{constructor({method:t,url:n,headers:i,body:o,accessKeyId:u,secretAccessKey:a,sessionToken:c,service:f,region:l,cache:d,datetime:h,signQuery:v,appendSessionToken:p,allHeaders:w,singleEncode:m}){if(null==n)throw new TypeError("url is a required option");if(null==u)throw new TypeError("accessKeyId is a required option");if(null==a)throw new TypeError("secretAccessKey is a required option");let b,y;this.method=t||(o?"POST":"GET"),this.url=new URL(n),this.headers=new Headers(i||{}),this.body=o,this.accessKeyId=u,this.secretAccessKey=a,this.sessionToken=c,f&&l||([b,y]=function(t,n){const{hostname:r,pathname:i}=t;if(r.endsWith(".on.aws")){const t=r.match(/^[^.]{1,63}\.lambda-url\.([^.]{1,63})\.on\.aws$/);return null!=t?["lambda",t[1]||""]:["",""]}if(r.endsWith(".r2.cloudflarestorage.com"))return["s3","auto"];if(r.endsWith(".backblazeb2.com")){const t=r.match(/^(?:[^.]{1,63}\.)?s3\.([^.]{1,63})\.backblazeb2\.com$/);return null!=t?["s3",t[1]||""]:["",""]}const o=r.replace("dualstack.","").match(/([^.]{1,63})\.(?:([^.]{0,63})\.)?amazonaws\.com(?:\.cn)?$/);let u=o&&o[1]||"",a=o&&o[2];if("us-gov"===a)a="us-gov-west-1";else if("s3"===a||"s3-accelerate"===a)a="us-east-1",u="s3";else if("iot"===u)u=r.startsWith("iot.")?"execute-api":r.startsWith("data.jobs.iot.")?"iot-jobs-data":"/mqtt"===i?"iotdevicegateway":"iotdata";else if("autoscaling"===u){const t=(n.get("X-Amz-Target")||"").split(".")[0];"AnyScaleFrontendService"===t?u="application-autoscaling":"AnyScaleScalingPlannerFrontendService"===t&&(u="autoscaling-plans")}else null==a&&u.startsWith("s3-")?(a=u.slice(3).replace(/^fips-|^external-1/,""),u="s3"):u.endsWith("-fips")?u=u.slice(0,-5):a&&/-\d$/.test(u)&&!/-\d$/.test(a)&&([u,a]=[a,u]);return[e[u]||u,a||""]}(this.url,this.headers)),this.service=f||b||"",this.region=l||y||"us-east-1",this.cache=d||new Map,this.datetime=h||(new Date).toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=v,this.appendSessionToken=p||"iotdevicegateway"===this.service,this.headers.delete("Host"),"s3"!==this.service||this.signQuery||this.headers.has("X-Amz-Content-Sha256")||this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");const g=this.signQuery?this.url.searchParams:this.headers;if(g.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&g.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter((t=>w||!r.has(t))).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map((t=>t+":"+("host"===t?this.url.host:(this.headers.get(t)||"").replace(/\s+/g," ")))).join("\n"),this.credentialString=[this.datetime.slice(0,8),this.region,this.service,"aws4_request"].join("/"),this.signQuery&&("s3"!==this.service||g.has("X-Amz-Expires")||g.set("X-Amz-Expires","86400"),g.set("X-Amz-Algorithm","AWS4-HMAC-SHA256"),g.set("X-Amz-Credential",this.accessKeyId+"/"+this.credentialString),g.set("X-Amz-SignedHeaders",this.signedHeaders)),"s3"===this.service)try{this.encodedPath=decodeURIComponent(this.url.pathname.replace(/\+/g," "))}catch(t){this.encodedPath=this.url.pathname}else this.encodedPath=this.url.pathname.replace(/\/+/g,"/");m||(this.encodedPath=encodeURIComponent(this.encodedPath).replace(/%2F/g,"/")),this.encodedPath=s(this.encodedPath);const j=new Set;this.encodedSearch=[...this.url.searchParams].filter((([t])=>{if(!t)return!1;if("s3"===this.service){if(j.has(t))return!1;j.add(t)}return!0})).map((t=>t.map((t=>s(encodeURIComponent(t)))))).sort((([t,n],[e,r])=>t<e?-1:t>e?1:n<r?-1:n>r?1:0)).map((t=>t.join("="))).join("&")}async sign(){return this.signQuery?(this.url.searchParams.set("X-Amz-Signature",await this.signature()),this.sessionToken&&this.appendSessionToken&&this.url.searchParams.set("X-Amz-Security-Token",this.sessionToken)):this.headers.set("Authorization",await this.authHeader()),{method:this.method,url:this.url,headers:this.headers,body:this.body}}async authHeader(){return["AWS4-HMAC-SHA256 Credential="+this.accessKeyId+"/"+this.credentialString,"SignedHeaders="+this.signedHeaders,"Signature="+await this.signature()].join(", ")}async signature(){const t=this.datetime.slice(0,8),n=[this.secretAccessKey,t,this.region,this.service].join();let e=this.cache.get(n);if(!e){const r=await o("AWS4"+this.secretAccessKey,t),i=await o(r,this.region),u=await o(i,this.service);e=await o(u,"aws4_request"),this.cache.set(n,e)}return c(await o(e,await this.stringToSign()))}async stringToSign(){return["AWS4-HMAC-SHA256",this.datetime,this.credentialString,c(await u(await this.canonicalString()))].join("\n")}async canonicalString(){return[this.method.toUpperCase(),this.encodedPath,this.encodedSearch,this.canonicalHeaders+"\n",this.signedHeaders,await this.hexBodyHash()].join("\n")}async hexBodyHash(){let t=this.headers.get("X-Amz-Content-Sha256")||("s3"===this.service&&this.signQuery?"UNSIGNED-PAYLOAD":null);if(null==t){if(this.body&&"string"!=typeof this.body&&!("byteLength"in this.body))throw new Error("body must be a string, ArrayBuffer or ArrayBufferView, unless you include the X-Amz-Content-Sha256 header");t=c(await u(this.body||""))}return t}}async function o(t,e){const r=await crypto.subtle.importKey("raw","string"==typeof t?n.encode(t):t,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]);return crypto.subtle.sign("HMAC",r,n.encode(e))}async function u(t){return crypto.subtle.digest("SHA-256","string"==typeof t?n.encode(t):t)}const a=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function c(t){const n=new Uint8Array(t);let e="";for(let t=0;t<n.length;t++){const r=n[t];e+=a[r>>>4&15],e+=a[15&r]}return e}function s(t){return t.replace(/[!'()*]/g,(t=>"%"+t.charCodeAt(0).toString(16).toUpperCase()))}t.AwsClient=class{constructor({accessKeyId:t,secretAccessKey:n,sessionToken:e,service:r,region:i,cache:o,retries:u,initRetryMs:a}){if(null==t)throw new TypeError("accessKeyId is a required option");if(null==n)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=t,this.secretAccessKey=n,this.sessionToken=e,this.service=r,this.region=i,this.cache=o||new Map,this.retries=null!=u?u:10,this.initRetryMs=a||50}async sign(t,n){if(t instanceof Request){const{method:e,url:r,headers:i,body:o}=t;null==(n=Object.assign({method:e,url:r,headers:i},n)).body&&i.has("Content-Type")&&(n.body=null!=o&&i.has("X-Amz-Content-Sha256")?o:await t.clone().arrayBuffer()),t=r}const e=new i(Object.assign({url:t.toString()},n,this,n&&n.aws)),r=Object.assign({},n,await e.sign());delete r.aws;try{return new Request(r.url.toString(),r)}catch(t){if(t instanceof TypeError)return new Request(r.url.toString(),Object.assign({duplex:"half"},r));throw t}}async fetch(t,n){for(let e=0;e<=this.retries;e++){const r=fetch(await this.sign(t,n));if(e===this.retries)return r;const i=await r;if(i.status<500&&429!==i.status)return i;await new Promise((t=>setTimeout(t,Math.random()*this.initRetryMs*Math.pow(2,e))))}throw new Error("An unknown error occurred, ensure retries is not negative")}},t.AwsV4Signer=i,Object.defineProperty(t,"__esModule",{value:!0})}(Tr.exports);var Nr=function(){};"undefined"==typeof process||process;var _r="undefined"!=typeof document;function Pr(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,_r&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var Mr=Pr.bind(null,"toUpperCase"),Cr=Pr.bind(null,"toLowerCase");function Dr(t,n){void 0===n&&(n=!0);var e=function(t){return Ur(t)?Mr("null"):"object"==typeof t?function(t){return zr(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?Cr(e):e}function Lr(t,n){return typeof n===t}var zr=Lr.bind(null,"function"),$r=Lr.bind(null,"string");function Ur(t){return null===t}function Rr(t,n){if("object"!=typeof n||Ur(n))return!1;if(n instanceof t)return!0;var e=Dr(new t(""));if(function(t){return t instanceof Error||$r(t.message)&&t.constructor&&function(t){return"number"===Dr(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(Dr(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function Wr(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function Hr(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}Lr.bind(null,"undefined"),Lr.bind(null,"boolean"),Lr.bind(null,"symbol"),Rr.bind(null,TypeError),Rr.bind(null,SyntaxError),Hr(Wr,"form"),Hr(Wr,"button"),Hr(Wr,"input"),Hr(Wr,"select");var qr="EventListener";function Vr(t,n){if($r(t))return n?Vr(document.querySelectorAll(t)):(e=t).split(e.indexOf(",")>-1?",":" ").map((function(t){return t.trim()}));var e;if(NodeList.prototype.isPrototypeOf(t)){for(var r=[],i=t.length>>>0;i--;)r[i]=t[i];return r}var o=function(t){return t?function(t){return"array"===Dr(t)}(t)?t:[t]:[]}(t);return n?o.map((function(t){return $r(t)?Vr(t,!0):t})).flat():o}function Fr(t,n){var e;return function(){return t&&(e=t.apply(n||this,arguments),t=null),e}}var Gr=function(t,n,e,r){var i=e||Nr,o=r||!1;if(!_r)return i;var u=Vr(n),a=Vr(t,!0);if(!a.length)throw new Error("noElements");if(!u.length)throw new Error("noEvent");var c=[];return function t(n){n&&(c=[]);for(var e=n?"add"+qr:"remove"+qr,r=0;r<a.length;r++){var s=a[r];c[r]=n?o&&o.once?Fr(i):i:c[r]||i;for(var f=0;f<u.length;f++)s[e]?s["on"+u[f]]=n?c[r]:null:s[e](u[f],c[r],o)}return t.bind(null,!n)}("Event")};function Jr(t,n){return _r&&zr(window[t])?(e=window[t],r=n,void 0===(i=window)&&(i=null),zr(e)?function(){e.apply(i,arguments),r.apply(i,arguments)}:r):window[t]=n;var e,r,i}Jr.bind(null,"onerror"),Jr.bind(null,"onload");var Xr="undefined"==typeof window,Kr="hidden";var Br=["mousemove","mousedown","touchmove","touchstart","touchend","keydown"];function Yr(t,n){void 0===n&&(n={});var e=function(t,n){var e=this,r=!1;return function(i){r||(t.call(e,i),r=!0,setTimeout((function(){return r=!1}),n))}}(t,n.throttle||1e4),r=[];function i(){var t=function(t){if(Xr)return!1;var n=Xr||Kr in document?Kr:["webkit","moz","ms","o"].reduce((function(t,n){var e=n+"Hidden";return!t&&e in document?e:t}),null),e="".concat(n.replace(/[H|h]idden/,""),"visibilitychange"),r=function(){return t(Boolean(document[n]))},i=function(){return document.addEventListener(e,r)};return i(),function(){return document.removeEventListener(e,r),i}}((function(t){t||e({type:"tabVisible"})}));return r=[t].concat(Br.map((function(t){return Gr(document,t,e)}))).concat(Gr(window,"load",e)).concat(Gr(window,"scroll",e,{capture:!0,passive:!0})),o}function o(){r.map((function(t){return t()}))}return i(),function(){return o(),i}}function Zr(t,n){return n?0:Math.round((new Date-t)/1e3)}var Qr="object",ti="string",ni="name",ei="version",ri="",ii="function",oi="undefined",ui={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ai=[[/microsoft (windows) (vista|xp)/i],[ni,ei],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[ni,[ei,si,ui]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[ni,"Windows"],[ei,si,ui]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[ei,/_/g,"."],[ni,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[ni,"MacOS"],[ei,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[ei,ni],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[ni,ei],[/\(bb(10);/i],[ei,[ni,"BlackBerry"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[ei,[ni,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[ei,[ni,"webOS"]],[/crkey\/([\d\.]+)/i],[ei,[ni,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[ni,"Chromium OS"],ei],[/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/(unix) ?([\w\.]*)/i],[ni,ei]];function ci(t,n){for(var e,r,i,o,u,a,c=0;c<n.length&&!u;){var s=n[c],f=n[c+1];for(e=r=0;e<s.length&&!u;)if(u=s[e++].exec(t))for(i=0;i<f.length;i++)a=u[++r],d(o=f[i])===Qr&&o.length>0?2==o.length?this[o[0]]=d(o[1])==ii?o[1].call(this,a):o[1]:3==o.length?this[o[0]]=d(o[1])!==ii||o[1].exec&&o[1].test?a?a.replace(o[1],o[2]):void 0:a?o[1].call(this,a,o[2]):void 0:4==o.length&&(this[o[0]]=a?o[3].call(this,a.replace(o[1],o[2])):void 0):this[o]=a||void 0;c+=2}}function si(t,n){for(var e in n)if(d(n[e])===Qr&&n[e].length>0){for(var r=0;r<n[e].length;r++)if(fi(n[e][r],t))return"?"===e?void 0:e}else if(fi(n[e],t))return"?"===e?void 0:e;return t}function fi(t,n){return d(t)===ti&&-1!==li(n).indexOf(li(t))}function li(t){return t.toLowerCase()}function di(t){var n=t||(("undefined"==typeof window?"undefined":d(window))!==oi&&window.navigator&&window.navigator.userAgent?window.navigator.userAgent:ri),e={};return e[ni]=void 0,e[ei]=void 0,ci.call(e,n,ai),e}var hi="Brave";function vi(){if("undefined"==typeof window)return{};if(!window.navigator)return{};var t,n,e,r,i,o=window.navigator,u=o.platform,a=o.product,c=o.vendor,s=function(t){var n=t.userAgent,e=/.+(Opera[\s[A-Z]*|OPR[\sA-Z]*)\/([0-9\.]+).*/i.exec(n);if(e)return{type:e[1],version:e[2]};var r=/.+(Trident|Edge)\/([0-9\.]+).*/i.exec(n);if(r)return{type:r[1],version:r[2]};var i=/(headlesschrome)(?:\/([\w\.]+)| )/i.exec(n);if(i)return{type:i[1],version:i[2]};var o=/.+(Chrome|Firefox|FxiOS)\/([0-9\.]+).*/i.exec(n);if(o)return{type:t.brave&&t.brave.isBrave?hi:o[1],version:o[2]};var u=/.+(Safari)\/([0-9\.]+).*/i.exec(n);if(u)return{type:u[1],version:u[2]};var a=/.+(AppleWebKit)\/([0-9\.]+).*/i.exec(n);if(a)return{type:a[1],version:a[2]};var c=/.*([A-Z]+)\/([0-9\.]+).*/i.exec(n)||["","NA","0.0.0"];return{type:c[1],version:c[2]}}(window.navigator),f=s.type,l=s.version,d=f===hi?f:(c||"").split(" ")[0];return{platform:u,os:di(),make:d||a,model:f,version:l,name:[f,l].join("/"),language:(n=window.navigator,e=n.language,r=n.browserLanguage,i=n.languages,(e||r||(i||["en_US"])[0]).toLowerCase().replace("-","_")),timezone:(t=/\(([A-Za-z\s].*)\)/.exec((new Date).toString()),t&&t[1]||"")}}function pi(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})[t]||t}function wi(t){return mi.apply(this,arguments)}function mi(){return mi=s(er.mark((function t(n){var e,r,i,o,u,a,c=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=c.length>1&&void 0!==c[1]&&c[1],r={},t.t0=er.keys(n);case 3:if((t.t1=t.t0()).done){t.next=13;break}return i=t.t1.value,o=Array.isArray(n[i])?n[i]:[n[i]],u=e?o:o[0],t.next=9,gi(u,Oi);case 9:Ei(a=t.sent)||(r[i]=a),t.next=3;break;case 13:return t.abrupt("return",r);case 14:case"end":return t.stop()}}),t)}))),mi.apply(this,arguments)}function bi(t){return yi.apply(this,arguments)}function yi(){return(yi=s(er.mark((function t(n){var e,r;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e={},t.t0=er.keys(n);case 2:if((t.t1=t.t0()).done){t.next=9;break}return r=t.t1.value,t.next=6,gi(n[r],Si);case 6:e[r]=t.sent,t.next=2;break;case 9:return t.abrupt("return",e);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function gi(t,n){return ji.apply(this,arguments)}function ji(){return(ji=s(er.mark((function t(n,e){return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n){t.next=4;break}return t.next=3,n();case 3:n=t.sent;case 4:return t.abrupt("return",e(n));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Oi(t){if(null!=t)return Array.isArray(t)?t.filter(ki).map((function(t){return t.toString()})):Ei(t)?t:t.toString()}function Si(t){return parseFloat(Number(Array.isArray(t)?t[0]:t))}function ki(t){return null!=t}function Ei(t){return null==t}var Ai="_session.start",Ii="_session.stop",xi="pageView";function Ti(t){return Ni.apply(this,arguments)}function Ni(){return Ni=s(er.mark((function t(n){var e,r,i,o,u,a,c,s,l,d,h,v,p,w,m,b,y,g,j,O,S,k,E,A,I,x,T,N,_,P=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=P.length>1&&void 0!==P[1]?P[1]:{},i=(r=P.length>2&&void 0!==P[2]?P[2]:{}).appTitle,o=r.appPackageName,u=r.appVersionCode,a=r.enrichEventAttributes,c=r.enrichEventMetrics,s=r.debug?console.log:function(){},l=pi(n,r.eventMapping),d=hr(),h=e.sessionId||d.id,v=e.sessionStart||d.createdAt,p=e.sessionStart?new Date(e.sessionStart).getTime():d.created,s("event sessionData ",JSON.stringify(d)),yr&&(w=mr(),m=pr(),s("event pageSessionInfo",JSON.stringify(w)),s("event tabSessionData ",JSON.stringify(m))),b=e.attributes||{},y=e.eventId||J(),g=e.time?new Date(e.time):new Date,j=g.toISOString(),O=g.getTime()-p,S=Qe({date:j,sessionId:h},yr?{pageSession:w.id}:{}),!a){t.next=23;break}return t.next=20,a();case 20:t.t0=t.sent,t.next=24;break;case 23:t.t0={};case 24:if(k=t.t0,E=Qe(Qe(Qe({},S),k),b),A=e.metrics||{},I={sessionTime:d.elapsed||O,hour:g.getHours(),day:g.getDay()+1,month:g.getMonth()+1,year:g.getFullYear()},!c){t.next=34;break}return t.next=31,c();case 31:t.t1=t.sent,t.next=35;break;case 34:t.t1={};case 35:return x=t.t1,T=Qe(Qe(Qe({},I),x),A),t.next=39,wi(E);case 39:return t.t2=t.sent,t.next=42,bi(T);case 42:return t.t3=t.sent,N={attributes:t.t2,metrics:t.t3},s("".concat(y,":").concat(l)),s("eventAttributes",N.attributes),s("eventMetrics",N.metrics),yr&&s("clientInfo",vi()),_=f({},y,Qe(Qe({EventType:l,Timestamp:j,AppPackageName:o,AppTitle:i},u?{AppVersionCode:u}:{}),{},{Attributes:N.attributes,Metrics:N.metrics,Session:{Id:h,StartTimestamp:v}})),n===Ii&&(_[y].Session.Duration=O,_[y].Session.StopTimestamp=j),t.abrupt("return",_);case 51:case"end":return t.stop()}}),t)}))),Ni.apply(this,arguments)}var _i="__endpoint";function Pi(t){return"".concat(_i,".").concat(t)}var Mi,Ci="__endpoint",Di=!1;function Li(){return zi.apply(this,arguments)}function zi(){return zi=s(er.mark((function t(){var n,e,r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y,g,j,O=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=O.length>0&&void 0!==O[0]?O[0]:{},r=(e=O.length>1&&void 0!==O[1]?O[1]:{}).getUserId,i=e.getEndpointId,o=e.endpointMigration,u=qi(e),a=u.sessionKey?u.sessionKey():"sessions",c=u.pageViewKey?u.pageViewKey():"pageViews",yr&&(l=vi(),s=mr(),f=s.id),d=hr(),t.next=10,i();case 10:if(h=t.sent,Di||(Di=!0,(v=ke(Ci))&&($i(h,v),Ae(Ci))),p=Ui(h),w=Wi(e),m=Ri(w,l),b={Attributes:{},Demographic:m,Location:{},Metrics:{}},yr&&(l.device&&l.device.vendor&&(b.Attributes.DeviceMake=[l.device.vendor]),l.device&&l.device.model&&(b.Attributes.DeviceModel=[l.device.model]),l.device&&l.device.type&&(b.Attributes.DeviceType=[l.device.type])),!(n=xr.all([p,b,n],{arrayMerge:Hi})).User||!n.User.UserId){t.next=23;break}return t.next=21,r();case 21:n.User.UserId!==(y=t.sent)&&(n.User.UserId=y);case 23:if(n.User&&n.User.UserId){t.next=28;break}return t.next=26,r();case 26:(g=t.sent)&&(n.User=n.User||{},n.User.UserId=g);case 28:if(!n.User||!n.User.UserAttributes){t.next=32;break}return t.next=31,wi(n.User.UserAttributes,!0);case 31:n.User.UserAttributes=t.sent;case 32:return t.next=34,wi(n.Attributes,!0);case 34:return n.Attributes=t.sent,t.next=37,bi(n.Metrics);case 37:if(n.Metrics=t.sent,n.Metrics[a]||(n.Metrics[a]=1),n.Metrics[c]||(n.Metrics[c]=1),o&&(n=o(h,n)),j=n.Attributes.lastSession){t.next=47;break}return n.Attributes.lastSessionDate=[d.createdAt],n.Attributes.lastSession=[d.id],f&&(n.Attributes.lastPageSession=[f]),t.abrupt("return",$i(h,n));case 47:return j&&j[0]!==d.id&&(n.Attributes.lastSessionDate=[d.createdAt],n.Attributes.lastSession=[d.id],n.Metrics[a]+=1),n.Attributes&&n.Attributes.lastPageSession&&Array.isArray(n.Attributes.lastPageSession)&&n.Attributes.lastPageSession.length>0&&n.Attributes.lastPageSession[0]!==f&&(n.Attributes.lastPageSession=[f],n.Metrics[c]+=1),t.abrupt("return",$i(h,n));case 50:case"end":return t.stop()}}),t)}))),zi.apply(this,arguments)}function $i(t,n){var e=Pi(t),r="string"==typeof n?n:JSON.stringify(n);return Ee(e,r),n}function Ui(t){try{return JSON.parse(ke(Pi(t)))||{}}catch(t){}return{}}function Ri(t,n){return yr?function(t,n){var e={AppVersion:t,Locale:n.language,Make:n.make,Model:n.model,ModelVersion:n.version,Platform:n.os.name||n.platform};return n.os&&n.os.version&&(e.PlatformVersion=n.os.version),e}(t,n):function(t){return{AppVersion:t,Make:"generic server",Platform:"Node.js",PlatformVersion:process.version}}(t)}function Wi(t){var n=t.appTitle||t.appPackageName||"",e=t.appVersionCode||"0.0.0";return n?"".concat(n,"@").concat(e):e}function Hi(t,n){return n}function qi(t){var n=t.getContext;return"function"==typeof n?n():n}var Vi=[429,500],Fi=[202],Gi=400;function Ji(t,n){return Xi.apply(this,arguments)}function Xi(){return Xi=s(er.mark((function t(n,e){var r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.pinpointRegion,i=e.pinpointAppId,o=e.lambdaArn,u=e.lambdaRegion,a=e.credentials,c=e.getCredentials,s=e.debug,t.next=3,Ki(a,c);case 3:return f=t.sent,s&&console.log("pinpoint auth",f),l=r||u,d=!0===e.fips?"-fips":"",h="https://lambda.".concat(u||r,".amazonaws.com/2015-03-31/functions/").concat(o,"/invocations"),v="https://pinpoint".concat(d,".").concat(l,".amazonaws.com/v1/apps/").concat(i,"/events"),p=o?h:v,b={body:JSON.stringify(n)},w=new Tr.exports.AwsClient(f),t.next=16,w.fetch(p,b).then((function(t){return t.json()}));case 16:m=t.sent,t.next=24;break;case 19:return w=new Mi.PinpointClient({credentials:f,region:r}),y=new Mi.PutEventsCommand({ApplicationId:i,EventsRequest:n}),t.next=23,w.send(y);case 23:m=t.sent;case 24:return m&&m.Results&&Object.keys(m.Results).map((function(t){return m.Results[t]})).forEach((function(t){var n=t.EndpointItemResponse||{},e=t.EventsItemResponse||{};Object.keys(n).length&&(Fi.includes(n.StatusCode)||Vi.includes(n.StatusCode)||Yi(n,Endpoint));var r=Object.keys(e);r.length&&r.forEach((function(){}))})),t.abrupt("return",m);case 26:case"end":return t.stop()}}),t)}))),Xi.apply(this,arguments)}function Ki(t,n){return Bi.apply(this,arguments)}function Bi(){return(Bi=s(er.mark((function t(n,e){var r;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n,Object.keys(r).length||!e){t.next=11;break}return t.prev=2,t.next=5,e();case 5:r=t.sent,t.next=11;break;case 8:throw t.prev=8,t.t0=t.catch(2),new Error(t.t0);case 11:return t.abrupt("return",{accessKeyId:r.accessKeyId||r.AccessKeyId,secretAccessKey:r.secretAccessKey||r.SecretKey,sessionToken:r.sessionToken||r.SessionToken,retries:5});case 13:case"end":return t.stop()}}),t,null,[[2,8]])})))).apply(this,arguments)}function Yi(t){var n=t.Message;if(t.StatusCode===Gi){if(n.startsWith("Missing ChannelType"))throw new Error("Missing ChannelType");if(n.startsWith("Exceeded maximum endpoint per user count"))throw new Error("Exceeded maximum endpoint per user count")}}var Zi=["PUSH","GCM","APNS","APNS_SANDBOX","APNS_VOIP","APNS_VOIP_SANDBOX","ADM","SMS","VOICE","EMAIL","BAIDU","CUSTOM"].reduce((function(t,n){return t[n]=n,t}),{}),Qi=vi(),to=Ai,no=Ii,eo=/.+\@.+\..+/;function ro(t){try{return JSON.parse(ke(Pi(t)))||{}}catch(t){}return{}}function io(t){return t.sort((function(t,n){var e=t.EventType,r=n.EventType;return e==to?-1:r==to||e==no?1:r==no?-1:void 0})).reduce((function(t,n){return Qe(Qe({},n),t)}),{})}function oo(t,n,e){return{BatchItem:f({},t,{Endpoint:n,Events:e})}}var uo=Ii;function ao(){return{}}function co(){throw new Error("Pinpoint not loaded")}function so(t){var n=t.config,e=t.instance;n&&n.disableAnonymousTraffic&&!e.user("userId")&&e.once("identifyStart",(function(t){t.plugins["aws-pinpoint"].loaded()||e.loadPlugin("aws-pinpoint")}))}var fo={disableAnonymousTraffic:!1,pinpointRegion:"us-east-1",eventMapping:{}},lo=function(){var t,n,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!1;return{name:"aws-pinpoint",config:Qe(Qe({},fo),e),bootstrap:so,initialize:function(r){var i=r.config,o=r.instance,u=i.disableAnonymousTraffic,a=i.debug?console.log:function(){},c=o.getState(),f=c.user||{},l=f.userId,h=f.anonymousId,v=c.context||{},p=v.app,w=v.version,m=v.campaign,b=mr(),y=pr(),g=hr();if(a("initPageSession",b),a("initTabSession",y),a("initSessionData",g),g&&g.anonId&&g.anonId!==h){a("anonId different refresh session details"),br(),wr();var j=vr(30,{anonId:h,userId:l});a("newSessionForNewUser",j)}if(!l&&u)return!1;var O=Object.keys(m).reduce((function(t,n){return t["utm_".concat(n)]=m[n],t}),{}),S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Qe({getContext:t.getContext||ao,credentials:t.credentials||{},getEndpointId:t.getEndpointId},t),e=n.debug?console.log:function(){},r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getEndpointId,e=t.debug;return function(){var r=s(er.mark((function r(){var i,o,u,a,c,s,f,l,h,v=arguments;return er.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=v.length>0&&void 0!==v[0]?v[0]:[],o=v.length>1&&void 0!==v[1]?v[1]:{},r.next=4,n();case 4:if(u=r.sent){r.next=8;break}return console.error("No endpoint id. check getEndpointId()"),r.abrupt("return");case 8:if("object"===d(o)&&Object.keys(o).length){r.next=13;break}r.t0=ro(u),r.next=16;break;case 13:return r.next=15,Li(o,t);case 15:r.t0=r.sent;case 16:return c=(a=r.t0).ChannelType,a.Address&&eo.test(a.Address)&&(c=Zi.EMAIL),!c&&a.Address&&(c="android"===Qi.platform?c||Zi.GCM:c||Zi.APNS),e&&(console.log("Endpoint",a),console.log("CHANNEL_TYPE",c)),a.RequestId=J(),a.ChannelType=c,a.Address&&(a.OptOut=a.OptOut||"NONE"),s=io(i),f=oo(u,a,s),r.prev=26,r.next=29,Ji(f,t);case 29:l=r.sent,r.next=36;break;case 32:r.prev=32,r.t1=r.catch(26),console.log("Error calling AWS",r.t1),h=r.t1;case 36:return r.abrupt("return",{endpoint:a,response:l,error:h,events:i});case 37:case"end":return r.stop()}}),r,null,[[26,32]])})));return function(){return r.apply(this,arguments)}}()}(n),i=function(t,n){var e,r,i,o=(n=n||{}).initial||[],u=n.max||1/0,a=n.interval||1e4,c=n.onEmpty||rr,s=n.onPause||rr;function f(n){clearInterval(e);var r=o.splice(0,u);return r.length&&t(r,o),o.length?n?f():l():(i=!1,c(o))}function l(){i=!0,e=setInterval(f,a)}return o.length&&l(),{flush:function(t){f(t)},resume:f,push:function(t){return(r=o.push(t))>=u&&!n.throttle&&f(),i||l(),r},size:function(){return o.length},pause:function(t){t&&f(),clearInterval(e),i=!1,s(o)}}}(function(){var t=s(er.mark((function t(n){return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.forEach((function(t){return e("> Queue event",t)})),t.next=3,r(n,{});case 3:e("> Queue response",t.sent);case 5:case"end":return t.stop()}}),t)})));return function(n,e){return t.apply(this,arguments)}}(),{max:10,interval:t.flushInterval||3e3,throttle:!0}),o=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){var e=s(er.mark((function e(r){var i,o,u,a,c=arguments;return er.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=c.length>2&&void 0!==c[2]?c[2]:{},u=c.length>3&&void 0!==c[3]&&c[3],gr(i=c.length>1&&void 0!==c[1]?c[1]:{})&&(u=i={}),gr(o)&&(u=o={}),e.next=7,Ti(r,i,n);case 7:if(a=e.sent,!Object.entries(o).length&&r!==xi){e.next=12;break}return e.next=11,Li(o,n);case 11:o=e.sent;case 12:if(t.push(a),!u){e.next=17;break}return e.abrupt("return",t.flush());case 17:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}(i,n);Li({},t);var u=function(t){if(!yr)return ao;var n=function(t){return function(){t(uo,!0)}}(t);return window.addEventListener("beforeunload",n),function(){return window.removeEventListener("beforeunload",n)}}(o);return{updateEndpoint:function(t){return r([],t)},recordEvent:o,disable:function(){u()}}}(Qe(Qe({},i),{},{appTitle:i.appTitle||p,appPackageName:i.appPackageName||p,appVersionCode:i.appVersionCode||w,eventMapping:i.eventMapping,getEndpointId:function(){return o.user("anonymousId")},getUserId:function(){return o.user("userId")},getContext:function(){return{sessionKey:i.sessionKey,pageViewKey:i.pageViewKey,initialSession:g}},enrichEventAttributes:function(){return Qe({anonId:o.user("anonymousId"),userId:o.user("userId"),hash:window.location.hash,path:window.location.pathname,referrer:document.referrer,search:window.location.search,title:document.title,host:window.location.hostname,url:window.location.origin+window.location.pathname},O)},enrichUserAttributes:i.enrichUserAttributes,enrichEventMetrics:function(){return{}}}));t=S.recordEvent,n=S.updateEndpoint,g&&g.isNew&&(a("Start brand new session because cookie not found"),t(Ai)),function(t){var n,e,r=t.onIdle,i=t.onWakeUp,o=t.onHeartbeat,u=t.timeout,a=void 0===u?1e4:u,c=t.throttle,s=void 0===c?2e3:c,f=!1,l=new Date;Yr((function(t){clearTimeout(n),o&&!f&&o(Zr(l),t),i&&f&&(f=!1,i(Zr(e),t),l=new Date),n=setTimeout((function(){f=!0,r&&(e=new Date,r(Zr(l),t))}),a)}),{throttle:s})}({timeout:18e5,throttle:2e4,onIdle:function(n){var r;a("Session idle. Active ".concat(n," seconds")),r=hr(),e.debug&&console.log("Stop session",r),t(Ii,!0)},onWakeUp:function(n){var r;a("Session wakeup. Idle ".concat(n," seconds")),r=vr(30),e.debug&&console.log("START SESSION",r),t(Ai)},onHeartbeat:function(t){a("ping session",new Date),a("total active time",t);var n=o.user();!function(t,n){void 0===t&&(t=30),vr(t||1,n,!0)}(30,{anonId:n.anonymousId,userId:n.userId})}})},page:function(){if(!t)return co();r&&br(),t(xi),r=!0},track:function(n){var e=n.payload,r=n.config;if(!t)return co();if(!r.disableAnonymousTraffic||e.userId){var i,o=(i=e.properties,Object.keys(i).reduce((function(t,n){var e=i[n];return"number"==typeof e&&(t.metrics[n]=e),"string"!=typeof e&&"boolean"!=typeof e||(t.attributes[n]=e),t}),{attributes:{},metrics:{}}));t(e.event,o)}},identify:function(t){var e=t.payload,r=e.userId,i=e.traits;if(!n)return co();var o={},u={};r&&(u.UserId=r),i&&Object.keys(i).length&&(u.UserAttributes=i),Object.keys(u).length&&(o.User=u),n(o,!0)},reset:function(t){var n=Pi(t.instance.user("anonymousId"));Ae(n)},loaded:function(){return!!t}}};function ho(t,n){var e=vo(t,n),r=v({httpMethod:"GET"},n);return h(e,r)}var vo=function(t,n){return("string"==typeof n?n:p(n))+"/content/items/"+t};class po{constructor(t){this.name="amazon";const{app:n={},fips:e,userPoolID:r}=t;this.analytics=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return de(Ye(Ye({},{storage:Xe}),t))}({app:n.name,version:n.version,plugins:[lo({fips:e,pinpointAppId:n.id,getCredentials:()=>function(t,n={}){const e=`https://cognito-identity${!0===n.fips?"-fips":""}.us-east-1.amazonaws.com/`;let r=m.get(k);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);const i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:t})};return fetch(e,i).then((t=>{if(!t.ok)throw new Error(t.statusText);return t.json()})).then((t=>{const{IdentityId:n}=t,r={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:n})};return fetch(e,r)})).then((t=>{if(!t.ok)throw new Error(t.statusText);return t.json()})).then((({Credentials:t})=>(m.set(k,t),t)))}(r,{fips:e})})]}),Object.assign(this,t)}init(){return Promise.resolve()}static async setAccessPermissions({id:t,authentication:n,username:e,accessChangeset:r}){return async function({id:t,authentication:n,username:e,accessChangeset:r}){const{properties:i={}}=await ho(t,{authentication:n}),o=i.telemetry,u=void 0===o?{}:o,{arcgis:{access:a={}}={}}=u,c=O(u,["arcgis"]),s=function(t,n,e){return e.reduce(((n,e)=>{const{action:r,targetProperty:i}=e;return"add"===r?n[i]={updatedAt:new Date,updatedBy:t}:"remove"===r&&delete n[i],n}),n)}(e,a,r);return w({item:{id:t,properties:Object.assign(Object.assign({},i),{telemetry:Object.assign(Object.assign({},c),{arcgis:{access:Object.assign({},s)}})})},authentication:n})}({id:t,authentication:n,username:e,accessChangeset:r})}static async getAccessPermissions({id:t,authentication:n}){return async function({id:t,authentication:n}){const{properties:{telemetry:{arcgis:{access:e={}}={}}={}}}=await ho(t,{authentication:n});return{access:e}}({id:t,authentication:n})}logPageView(t,n){const e=function({page:t,previousPage:n={},options:e={},dimensionLookup:r={},metricLookup:i={}}){const o=T(e,i),u=E({telemetryData:e,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:a,title:c}=document||{},{hostname:s,pathname:f}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:a,hostname:s,path:t||f,pageUrl:t||f,pageName:c,previousPageUrl:n.pageUrl,previousPageName:n.pageName},u),o)}({page:t,previousPage:this.previousPage,options:n,dimensionLookup:this.dimensions,metricLookup:this.metrics}),{pageUrl:r,pageName:i}=e;this.previousPage={pageUrl:r,pageName:i},this.analytics.track("pageView",e)}logEvent(t={}){const n=function({event:t={},dimensionLookup:n={},metricLookup:e={}}){var r,i;const{pathname:o,eventType:u="other"}=t,a=T(t,e),c=E({telemetryData:Object.assign({eventType:u},t),dimensionLookup:n,excludeKeys:["workflow","pathname",...Object.keys(a),...Object.keys(e)]}),s=Object.assign(Object.assign({name:u},c),a);return"undefined"!=typeof document&&document.referrer&&(s.referrer=document.referrer),"undefined"==typeof window||s.hostname||(s.hostname=null===(r=window.location)||void 0===r?void 0:r.hostname),s.path="undefined"!=typeof window&&window.location.pathname?null===(i=window.location)||void 0===i?void 0:i.pathname:o,s}({event:t,dimensionLookup:this.dimensions,metricLookup:this.metrics}),{name:e}=n;this.analytics.track(e,n)}}const wo=class{constructor(e){t(this,e),this.consentGranted=n(this,"consentGranted",7),this.amazonAppId=void 0,this.amazonAppName=void 0,this.amazonUserPoolID=void 0,this.amazonVersion=void 0,this.firstUseVar=void 0,this.locale=void 0,this.measurementIds=void 0,this.portal=void 0,this._open=void 0,this._translations=void 0}get el(){return e(this)}_loaded=!1;_telemetryInstance;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async getInstance(){return"true"===localStorage.getItem(this.firstUseVar)||this.portal.eueiEnabled?(await this._init(),this._telemetryInstance):void 0}consentGranted;async componentWillLoad(){await this._getTranslations(),this._open=null===localStorage.getItem(this.firstUseVar)}render(){return r(i,{key:"6b5a4571e972d6d79948cbf186119372456b5e1e"})}async componentDidLoad(){this.consentGranted.emit({granted:"true"===localStorage.getItem(this.firstUseVar)})}async _init(){if(!this._loaded){const t={plugins:[],portal:this.portal};if(this.measurementIds?.length>0){const n=new S({measurementIds:this.measurementIds});t.plugins.push(n)}if(this.amazonUserPoolID){const n=new po({userPoolID:this.amazonUserPoolID,app:{name:this.amazonAppName,id:this.amazonAppId,version:this.amazonVersion}});t.plugins.push(n)}this._telemetryInstance=new j(t),await this._telemetryInstance.init(),this._loaded=!0}}_alertClosed(){this._open=!1,"true"!==localStorage.getItem(this.firstUseVar)&&localStorage.setItem(this.firstUseVar,"false")}_accept(){localStorage.setItem(this.firstUseVar,"true"),this.consentGranted.emit({granted:!0}),this._open=!1}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};wo.style=":host{display:block}.consent-panel{position:fixed;display:block;z-index:5000;bottom:0;left:0;width:100%;height:auto;text-align:center}.cookie-consent-popup-container{position:relative;display:block;bottom:0;left:0;width:100%;margin:0;padding-top:1rem;padding-bottom:1rem;transition:transform 0.5s ease-out 0s;background-color:rgba(51, 51, 51, 0.95);color:#fff}.button-container{position:static;margin-bottom:1rem;display:flex;justify-content:center;flex-wrap:wrap}.padding-end-1{padding-inline-end:1rem}.link-text{--calcite-ui-text-link:var(--calcite-color-text-inverse);--calcite-ui-brand:var(--calcite-color-text-inverse);--calcite-color-text-link:var(--calcite-color-text-inverse);--calcite-color-brand-underline:var(--calcite-color-text-inverse);--calcite-color-brand:var(--calcite-color-text-inverse)}";export{wo as consent_manager}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as i,c as t,g as e,h as s,H as a}from"./p-934e8935.js";import{a as h,l,g as n}from"./p-57be3b9d.js";import{e as o,h as r,i as c,j as d,c as p,k as b,l as f,m as g}from"./p-5693ce7a.js";import{a as y,e as m,f as u}from"./p-80cb7c73.js";import{s as w}from"./p-5e7369d1.js";import{d as v,a as _}from"./p-974e8883.js";import"./p-d4056c1c.js";import"./p-c6e42ad1.js";import"./p-4fe489cf.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const S=class{constructor(e){i(this,e),this.selectionSetChange=t(this,"selectionSetChange",7),this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this.searchDistanceEnabled=!1,this.useLayerFeaturesEnabled=!1,this._numSelected=0,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0}get el(){return e(this)}_esriRequest;FeatureLayer;Graphic;GraphicsLayer;Search;_geometryEngine;_bufferGeometry;_bufferGraphicsLayer;_bufferTools;_distance;_drawTools;_labelName;_selectLayers;_searchElement;_searchResult;_searchWidget;_selectedIds=[];_selectionLabel="";_skipGeomOIDs;_sketchGraphic;_graphics=[];_unit;_workflowType;_featuresCollection={};async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(i,t){i&&i!==t&&await this._init()}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&await this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools?.distance,download:!0,unit:this._bufferTools?.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this.searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this.useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}selectionSetChange;searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}async distanceChanged(i){await this._distanceChanged(i.detail)}async unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,await this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init()}render(){const i=this.enableSketchTools?"":"display-none",t=this.enableSketchTools?"padding-top-1":"";return s(a,{key:"1c312d53b800ca401726c653e12465e92abf0eef"},this._getMapLayerPicker(),s("div",{key:"2da9eb5316656769ec2f80dfa5fbdc190c62b1cb",class:"border-bottom"}),s("div",{key:"b21d332e5da0aa8cfb34fdab7a1075bfbd5efb42",class:"padding-top-sides-1"},s("div",{key:"2dd59511d4f07cc2cd43b5b5c2a8037303d21546",class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{key:"1149bcd2f36171b82f6902fbf89bb0400383fdde",class:t},s("map-draw-tools",{key:"2d3b1b91a108bf2bb2db463e7ffd4574f4a36dac",active:!0,class:i,editGraphicsEnabled:!this.useLayerFeaturesEnabled,graphics:this._graphics,locale:this.locale,mapView:this.mapView,onSketchGraphicsChange:i=>{this._sketchGraphicsChanged(i)},pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this.enableSearchDistance?this._getBufferOptions():void 0,this.enableLayerFeatures?this._getUseLayerFeaturesOptions():void 0,this._getNumSelected()),s("div",{key:"d4068bef106e1f4226b1f9c104a626fe0a0f6700",class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){this.enableSearchDistanceOnLoad&&(this.searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);const i=this.searchDistanceEnabled?"search-distance":"div-not-visible",t="number"==typeof this.selectionSet?.distance?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this.searchDistanceEnabled,onCalciteSwitchChange:()=>this.searchDistanceEnabled=!this.searchDistanceEnabled})),s("div",{class:i},s("buffer-tools",{disabled:!this.searchDistanceEnabled,distance:t,geometries:this.geometries,locale:this.locale,onBufferComplete:i=>{this._bufferComplete(i)},ref:i=>this._bufferTools=i,unit:this.selectionSet?.unit||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){this.enableLayerFeaturesOnLoad&&(this.useLayerFeaturesEnabled=!0,this.enableLayerFeaturesOnLoad=!1);const i=this.useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this.useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id)),showTables:!1})))}_getNumSelected(){const i=h(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._inputLayerSelectionChange(i)},selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],showTables:!1})))}async _initModules(){const[i,t,e,s,a,h]=await l(["esri/request","esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this._esriRequest=i,this.GraphicsLayer=t,this.Graphic=e,this.Search=s,this._geometryEngine=a,this.FeatureLayer=h}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),await this._initSearchWidget()}async _initSelectionSet(){this.selectionSet&&(this._searchTerm=this.selectionSet.searchResult?.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this.searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this.useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...this.selectionSet?.geometries||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=this.selectionSet?.label,this.useLayerFeaturesEnabled||await(this._drawTools?.updateGraphics()),await o(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}async _initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t={view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm,...i};this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{this._selectResult(i.result)})),await this._searchWidget.when((()=>{this._searchWidget.allPlaceholder=this.searchConfiguration?.allPlaceholder&&"find address or place"!==this.searchConfiguration.allPlaceholder.toLowerCase()?this.searchConfiguration.allPlaceholder:this._translations.placeholder}))}}async _selectResult(i){if(i){this._searchResult=i;const t=i.feature,e=t?.layer,s=this.selectLayerView.layer,a=t?.getObjectId();let h,l;e?.sourceJSON?.isView&&(h=await this._getViewSourceUrl(e.url)),s?.sourceJSON?.isView&&(l=await this._getViewSourceUrl(s.url));const n=e?.url?.toLowerCase(),o=h?.toLowerCase(),r=s?.url?.toLowerCase(),c=l?.toLowerCase(),d=n&&r&&(n===r||n===c||o===r||o===c)&&!isNaN(a),p=d?[a]:void 0;this._workflowType=y.SEARCH,this._updateLabel();const b=[i.feature];this._updateSelection(b,d,p),this._drawTools.graphics=b,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}async _getViewSourceUrl(i){let t="";const e=`${i}/sources?f=json`;try{const i=await this._esriRequest(e,{query:{f:"json"}});1===i?.data?.services?.length&&(t=i.data.services[0].url)}catch(i){console.log(i)}return t}_searchClearLabel(){return this._searchResult?.name&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const e=i?.sources;return e?.length>0?(i={...i,includeDefaultSources:!1},e.forEach((i=>{if(i.hasOwnProperty("layer")){const e=i,s=e.layer?.id,a=s?t.map.findLayerById(s):null,h=e?.layer?.url;a?e.layer=a:h&&(e.layer=new this.FeatureLayer(h))}})),e?.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===t?.name&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i={...i,includeDefaultSources:!0},i}_initGraphicsLayer(){const i=this._translations.bufferLayer;if(this.mapView){const t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),w.managedLayers[i]="buffer";const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}async _sketchGraphicsChanged(i,t=!1){const e=i.detail.graphics;if(e.length>0&&e[0])if(t||(this._sketchGraphic=e[0]),this._workflowType=this.useLayerFeaturesEnabled?y.SELECT:y.SKETCH,this._workflowType===y.SKETCH&&await this._drawTools.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this.useLayerFeaturesEnabled&&!t){const i=Array.isArray(e)?e.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=e.reduce(((i,t)=>(t?.layer?.objectIdField?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i)),[]),s=i.detail.useOIDs&&t.length>0;this._updateSelection(e,s,t),s&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){return this._skipGeomOIDs?.length>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){w.removeHandles(),i.length>0&&w.highlightHandles.push(await r(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await c(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,e=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),e=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:e})}_geomQuery(i){const t=d(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName&&(this._labelName.value="")),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),w.removeHandles(),this._drawTools?.clear&&(this._graphics=[],await this._drawTools.clear()),this._numSelected=this._selectedIds.length,this.selectionSetChange.emit(this._numSelected)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,e){this._selectedIds=t&&e?e:this._selectedIds,this._skipGeomOIDs=t?e:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}async _updateLabel(){if(this.enableSearchDistance){const i=this._selectionLabel.indexOf(this._translations.sketch)>-1,t=this._selectionLabel.indexOf(this._translations.select)>-1,e=this._selectionLabel.indexOf(this._searchResult?.name)>-1,s=this._workflowType===y.SEARCH?this._searchResult?.name:this._workflowType===y.SELECT?this._translations.select:this._translations.sketch,a=this._unit?this._unit:this._bufferTools.unit,h=await this._bufferTools.getTranslatedUnit(a),l=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=i||t||e||!this._selectionLabel?`${s} ${l} ${h}`:this._selectionLabel,this._labelName.value=this._selectionLabel}}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>p(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){const t=i?.detail?.length>0?i.detail[0]:"";this.selectLayerView&&t===this.selectLayerView.layer.id||(this.selectLayerView=await p(this.mapView,t),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,await this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],b(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((e=>{t=t.concat(i[e])}))}));let e=!1;t.forEach((i=>{const t=i.geometry;i.symbol="point"===t.type?this.sketchPointSymbol:"polyline"===t.type?this.sketchLineSymbol:"polygon"===t.type?this.sketchPolygonSymbol:void 0,e=i?.layer?.hasOwnProperty("objectIdField")||i.hasOwnProperty("getObjectId")}));const s=this.layerViews[0].layer,a=this.selectLayerView.layer,h=e&&s.url===a.url&&a.layerId===s.layerId;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:h}},!0)}))}_useLayerFeaturesEnabledChanged(){this.useLayerFeaturesEnabled=!this.useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}static get watchers(){return{geometries:["watchGeometriesHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};S.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),k=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this.locale=void 0,this._translations=void 0}get el(){return e(this)}_labelInfoElement;_intl;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async downloadCSV(i,t,e,s=!0){return v(i,t,!0,e,s)}async downloadPDF(i,t,e=!1,s="",a=""){return _(i,t,this._labelInfoElement.selectedOption?.value,e,s,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(a,{key:"7ab69f7de831fc9e095b29a930e4256318ea6417"},s("calcite-select",{key:"e865dbfee1e05e856171e86d2b8376de7e251964",disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await l(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="‎"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"‏";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const e=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),s=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return e<s?-1:e>s?1:0})).forEach(((i,t)=>{const e=document.createElement("calcite-option");e.value=i,e.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(e),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(e.selected=!0)}))}static get watchers(){return{locale:["localeWatchHandler"]}}};k.style=":host{display:block}";const x=class{constructor(e){i(this,e),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this.addresseeLayer=void 0,this.enabledLayerIds=[],this.locale=void 0,this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=m.ADD,this._refineLayer=void 0}get el(){return e(this)}_addEnabled=!0;_drawTools;_refineSets=[];_enabledLayerIds=[];_layerPicker;_featuresCollection={};_refineSelectionSet;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}selectionLoadingChange;selectionSetsChanged;async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){return s(a,{key:"efa77aec940afdb80051b36300a492ac5764a413"},s("div",{key:"ac59062ad6b3bb15727d1d88ac99ba983c7a2ff9",class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{key:"27599ce74e9f7d6133f6cbfa40db4acfa8c00eeb",class:"display-flex"},s("calcite-label",{key:"b8acd5160effc68b7ee03a85ba8d6d2a5966c3e8",class:"font-bold width-full label-margin-0"},s("div",{key:"b2185de868b979281984019dbea9cf58a8bdef59",class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{key:"3bd42d1897e3d4374c9affeb20a4af09866645b4",class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{key:"3c7202cb44db02ff2650aa2075af55a51f180018",enabledLayerIds:this._enabledLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id],showTables:!1})),s("calcite-popover",{key:"90c204cd9c0b7fb339e857ca82d4038aaf133cc1",closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"refine-input-layer"},s("span",{key:"3ab34165e2d0cf5bdf2615ef938b22b135867831",class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{key:"6066dc8d8e02d05f7e1d2cfb93a52e9ce68f13e3",class:"padding-1"},s("div",{key:"61191f20e96c2bf7d6ac0e36bf6788cc03d76f81",class:"padding-bottom-1"},s("calcite-segmented-control",{key:"c02207e0a112ef9060e4dfe76a05720bd6d2f226",class:"w-100",width:"full"},s("calcite-segmented-control-item",{key:"5879edf2aa7423abd211fd3d8419cde372d30a9b",checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.ADD),value:m.ADD},s("span",{key:"29645f694e4df08d3bcfcaed745f1913fe46037a",class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{key:"f813c4601a40f8d945ca32b95df3a335e9b3d4ff",checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.REMOVE),value:m.REMOVE},s("span",{key:"801cf62e0a90d908357efe83f705c1484d11dbc9",class:"font-weight-500"},this._translations.remove)))),s("div",{key:"0b687ff2e7e4f3997c4559a4dbdb40d4c37fd5bc"},s("map-draw-tools",{key:"23084e78ffa344ae31df39a13cf8abcf0f313b83",active:!0,drawMode:u.REFINE,locale:this.locale,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:this._refineSelectionSet?.redoStack.length>0,ref:i=>{this._drawTools=i},undoEnabled:this._refineSelectionSet?.undoStack.length>0})),s("br",{key:"839e5ecbc67cee44924057e197ebb0897c2cbe28"}),s("calcite-list",{key:"7ad6b634078bab2f02c2b117e05b2385c6988aa5",class:"list-border",label:""},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){const t=i.detail?.graphics[0].geometry;this._selectFeatures(t)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{const e=t?.layerView?.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===y.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===y.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const e={};e[i]={addIds:[],removeIds:[],layerView:await p(this.mapView,i)},t?t.refineInfos={...t.refineInfos,...e}:(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:y.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:e,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===y.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=f(i);return Object.keys(t).reduce(((i,e)=>i+t[e].ids.length),0)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}async _selectFeatures(i){this.selectionLoadingChange.emit(!0),this._featuresCollection[this._refineLayer?.layer.id]=[];const t=await b(0,this._refineLayer?.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let e=[];Object.keys(t).forEach((i=>{i===this._refineLayer?.layer.id&&(e=e.concat(t[i]))}));const s=Array.isArray(e)?e.map((i=>i.attributes[i?.layer?.objectIdField])):[];await this._updateIds(s,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),w.highlightHandles=await g(this.selectionSets)}_clearHighlight(){w.removeHandles()}async _updateIds(i,t,e,s){let a=!1;const h=this._refineSelectionSet.refineInfos,l=s.layer.id,n={};n[l]={addIds:[],removeIds:[],layerView:s};const o=Object.keys(h).indexOf(l)>-1?h[l]:n[l];if(t===m.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&e.push({ids:i,mode:t,layerView:s}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const h=this.selectionSets.reduce(((t,e)=>(i.forEach((i=>{e.workflowType!==y.REFINE?e.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(e.refineInfos).some((a=>{const h=e.refineInfos[a];if(h.layerView.layer.id===s.layer.id&&h.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...h,...o.removeIds])],o.addIds=o.addIds.filter((i=>h.indexOf(i)<0)),o.removeIds.length>0&&e.push({ids:h,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==y.REFINE&&t.layerView.layer.id===s.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[l]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}static get watchers(){return{locale:["localeWatchHandler"]}}};x.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110, 110, 110, .3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110, 110, 110, .3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}';export{S as map_select_tools,k as pdf_download,x as refine_selection}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as s,h as e,H as a,F as h}from"./p-934e8935.js";import{l,g as o}from"./p-57be3b9d.js";import{g as n,a as c,b as r,c as d,h as u,d as p,q as f}from"./p-5693ce7a.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const m=class{constructor(s){t(this,s),this.togglePanel=i(this,"togglePanel",7),this.center=void 0,this.commentButtonText=void 0,this.commentSubmittedMessage=void 0,this.defaultWebmap="",this.description=void 0,this.enableAnonymousAccess=void 0,this.enableAnonymousComments=void 0,this.enableComments=void 0,this.enableHome=!0,this.enableLogin=void 0,this.enableNewReports=void 0,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=void 0,this.layerExpressions=[],this.layerId=void 0,this.level=void 0,this.locale=void 0,this.loginTitle=void 0,this.mapInfos=[],this.mapView=void 0,this.objectId=void 0,this.reportButtonText=void 0,this.reportingOptions=void 0,this.reportsHeader=void 0,this.reportSubmittedMessage=void 0,this.searchConfiguration=void 0,this.showComments=void 0,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage=void 0,this.theme="light",this.zoomToScale=void 0,this.floorLevel=void 0,this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this._featureCreationFailedErrorMsg=void 0,this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._mapInfo=void 0,this._reportSubmitted=!1,this._selectedLayerName=void 0,this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=void 0,this._updatedProgressBarStatus=25,this._updatedSorting=void 0,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1}get el(){return s(this)}_createFeature;_currentFeatureId;_defaultCenter;_defaultLevel;_editableLayerIds;_featureDetails;_featureList;_currentFeature;_selectedRelatedFeature;_relatedTable;_filterList;_highlightHandle;_layerList;_createRelatedFeature;_layers;_mapChange;_mapClickHandle;reactiveUtils;FeatureFilter;_selectedFeature;_selectedFeatureIndex;_selectedLayerId;_shareNode;_urlParamsLoaded;_validLayers;_nonVisibleValidLayers;_selectedLayer;_layerItemsHash;_showFullPanel;_floorExpression;_formElements=[];_prevSelectedLayerId;_currentLayerExpressions;_initDefExpressions;_t9nLayerExpressions;async isMobileWatchHandler(t){this.updatePanelState(!1,this._showFullPanel),t&&"filter-panel"===this._flowItems[this._flowItems.length-1]?(await this.backFromFilterPanel(),this._filterOpen=!0):!t&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{this.setInitExpressions(),await this.setMapView()}))}async floorLevelWatchHandler(){if(this._editableLayerIds)for(const t of this._editableLayerIds){const i=await n(this.mapView,t);i.floorInfo?.floorField&&this._updateFloorDefinitionExpression(i)}"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&await this._layerList.refresh(),this._featureList&&this._featureList.refresh(),this._createFeature&&this._createFeature.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await(this._featureList?.refresh())}async showFeatureSymbolWatchHandler(){await(this._featureList?.refresh())}async updateLayerExpressionsT9n(t){if(this._t9nLayerExpressions=t||this.layerExpressions,null!=this._filterList)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(null!=this._currentLayerExpressions){const t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}togglePanel;async componentWillLoad(){this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(this.mapView?.when((async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible)):[],this.setInitExpressions(),await this.setMapView()})))}componentWillRender(){(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return e(a,{key:"67b22ff121842ed855d42c6e95f506da7a27fc03"},this._reportSubmitted&&e("calcite-alert",{key:"a4687bb0a46e215f830418c934156adc1ca22d28","auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},e("div",{key:"75c7f06e0c997cff02f2d03cf165a0d96556a99e",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&e("calcite-alert",{key:"db289e06eeff7d79511b0f2d94681931347b40ed","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},e("div",{key:"9f8c4ef83cafb13d17fd1051d308e59e00c277d5",slot:"title"},this._translations.error),e("div",{key:"c18221f220f9b1d28b296a9bab89b838f0884323",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&e("calcite-alert",{key:"086aff48b20dbabcddb68fca5b57d7a14101c8d0","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},e("div",{key:"02125cd052ba81cc1fce0ac65ab517ae0eb46d13",slot:"message"},this.commentSubmittedMessage||this._translations.commentSubmittedMsg)),this._addingCommentFailed&&e("calcite-alert",{key:"c1e0966dde08f7f22f54cdadfc85f3024616fc77","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},e("div",{key:"0dd5af761fef31a4b85bfa0f66dff82e04b1cced",slot:"title"},this._translations.error),e("div",{key:"e8b8667855147b417cfc43d19e0c0a04f8870bfd",slot:"message"},this._translations.addingCommentFailedMsg)),e("div",{key:"10c4c2d1673d63a8ced357312d57acf7faa46f0a"},e("calcite-shell",{key:"8262117bc32e033f25f2864f4c5aa8a1bdde85ff","content-behind":!0},this._getReporter())),this.isMobile&&this.filterModal())}async _initModules(){const[t,i]=await l(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter"]);this.reactiveUtils=t,this.FeatureFilter=i}async setSelectedLayer(t,i){this._selectedLayerId=t,this._selectedLayer=await n(this.mapView,t),this._selectedLayerName=i,this._validLayers.forEach((i=>{this._nonVisibleValidLayers.find((t=>t.id===i.id))||i.set("visible",!t||i.id===t)}))}_getLayersConfig(t){return this.reportingOptions&&this.reportingOptions[t]?this.reportingOptions[t]:null}_getReporter(){const t=[];return this._flowItems.forEach((i=>{switch(i){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":t.push(this.getFilterPanel());break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem());break;case"comment-details":t.push(this.getCommentDetailsFlowItem());break;case"add-comment":t.push(this.getAddCommentFlowItem())}})),e("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?e("calcite-flow",null,t?.length>0&&t):e("calcite-loader",{label:"",scale:"m"}))}filterModal(){return(this.layerExpressions?this.layerExpressions.filter((t=>t.id===this._selectedLayerId)):[]).length>0&&e("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName)),e("div",{slot:"content"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>{this._filterActive=!1,this._featureList.refresh()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList?.filterCount>0)},ref:t=>this._filterList=t,resetBtn:!0,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions())}async sortOptionClick(t,i,s){this._updatedSorting={field:t,order:i},this._updatedSortOption=s}_toggleSort(){const t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return e("calcite-popover",{autoClose:!0,label:"",offsetDistance:0,placement:this.isMobile?"leading-start":"bottom-start",pointerDisabled:!0,referenceElement:"sort-popover"},e("calcite-list",{label:"","selection-mode":"single-persist"},e("calcite-list-item",{label:this._translations.sortNewest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")},selected:"newest"===this._updatedSortOption,value:"newest"}),e("calcite-list-item",{label:this._translations.sortOldest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")},selected:"oldest"===this._updatedSortOption,value:"oldest"}),t&&e(h,null,e("calcite-list-item",{label:this._translations.sortHighestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"desc","highestVoted")},selected:"highestVoted"===this._updatedSortOption,value:"highestVoted"}),e("calcite-list-item",{label:this._translations.sortLowestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"asc","lowestVoted")},selected:"lowestVoted"===this._updatedSortOption,value:"lowestVoted"}))))}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(t){this._showLoadingIndicator=!0,this._filterActive=t,await this._featureList.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader,selected:"layer-list"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&e("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0,"full-width":!0},e("layer-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",filterByMapExtent:this.filterByMapExtent,layers:this._editableLayerIds?.length>0?this._editableLayerIds:this._layers,locale:this.locale,mapView:this.mapView,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){const t=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd)):[];return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"reporting-layer-list"===this._flowItems[this._flowItems.length-1]},e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{slot:"message"},this._translations.chooseCategoryMsg)),e("layer-list",{class:"height-full",layers:t,locale:this.locale,mapView:this.mapView,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this),selected:"feature-create"===this._flowItems[this._flowItems.length-1]},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("create-feature",{customizeSubmit:!0,enableSearch:!0,enableSnapping:this.enableSnapping,floorLevel:this.floorLevel,formElements:this._formElements.find((t=>t.id===this._selectedLayerId)),isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onDrawComplete:this.onFormReady.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onModeChanged:this.backFromCreateFeaturePanel.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId,submitNewReportsMessage:this.submitNewReportsMessage})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onFormReady(){this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onCreateFeatureSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&this.updateNonVisibleLayersOnMap(!1),this.backFromSelectedPanel()}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature&&this._createRelatedFeature.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(t){console.error(t.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,await this._featureDetails.refresh(this._currentFeature),setTimeout((()=>{this._showLoadingIndicator=!1}),300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList&&await this._layerList.refresh(),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(t){this._nonVisibleValidLayers.find((t=>t.id===this._selectedLayerId))&&this._selectedLayer.set("visible",t)}async layerListLoaded(t){if(this._layerList&&"layer-list"===this._flowItems[this._flowItems.length-1]||"feature-list"===this._flowItems[0]){const i=t.detail,s=await c(this.mapView),e=[];this._validLayers=[],this._nonVisibleValidLayers=[],s.forEach((t=>{i.includes(t.id)&&(this._validLayers.push(t),t.visible||this._nonVisibleValidLayers.push(t),this._getLayersConfig(t.id)?.reporting&&this._layerItemsHash[t.id]&&this._layerItemsHash[t.id].supportsAdd&&e.push(t.id))})),this.handleMapClick(),this._hasValidLayers=e.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}}async displayFeaturesList(t){await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}updateSortingOptions(){const t=""===this.sortOption?"newest":this.sortOption,i="oldest"===t||"lowestVoted"===t?"asc":"desc",s=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"";this._updatedSorting={field:"newest"===t||"oldest"===t?this._selectedLayer.objectIdField:s,order:i},this._updatedSortOption=s||"highestVoted"!==t&&"lowestVoted"!==t?t:"newest"}async backFromFilterPanel(){null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),await this._featureList.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;const t=[...this._flowItems];"comment-details"!==t[t.length-1]&&"add-comment"!==t[t.length-1]&&this.clearHighlights(),"reporting-layer-list"!==t[t.length-1]&&("feature-create"!==t[t.length-1]||"feature-list"!==t[0]&&"feature-list"!==t[t.length-2])||this.updatePanelState(this._sidePanelCollapsed,!1),t.pop(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(t,i){this._sidePanelCollapsed=t,this._showFullPanel=i,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(t){this._showLoadingIndicator=!0,await this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){const t=this._currentFeature.layer,i=await r(this.mapView);t.relationships.some((s=>{const e=i.filter((i=>t.url===i.url&&i.layerId===s.relatedTableId));if(e&&e.length>0)return this._relatedTable=e[0],!0}))}async updatingFeatureDetails(t){this._showLoadingIndicator=t}async selectionChanged(t){this.updatingFeatureDetails(!0),await this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this._selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(t){this._selectedRelatedFeature=[t.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(t,i){const s=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash[this._selectedLayerId].supportsAdd,a=this._currentLayerExpressions?.length>0;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:i,loading:!this.isMobile&&this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-list"===this._flowItems[this._flowItems.length-1]},this._toggleSort(),e("calcite-action",{icon:"sort-ascending-arrow",id:"sort-popover",slot:"header-actions-end",text:this._translations.sort,title:this._translations.sort}),a&&e("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]},slot:"header-actions-end",text:this._translations.filter,title:this._translations.filter}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&s&&e("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0},e("feature-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",filterByMapExtent:this.filterByMapExtent,highlightOnHover:!0,locale:this.locale,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,reportingOptions:this.reportingOptions,selectedLayerId:t,showFeatureSymbol:this.showFeatureSymbol,sortingInfo:this._updatedSorting})))}getFilterPanel(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName),loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromFilterPanel.bind(this),selected:"filter-panel"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",disabled:!this._filterActive,onClick:this.resetFilterList.bind(this),width:"full"},this._translations.resetFilter),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromFilterPanel.bind(this),width:"full"},this._translations.close))),e("calcite-panel",{"full-height":!0},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtnOnClick:()=>{},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList?.filterCount>0)},ref:t=>this._filterList=t,resetBtn:!1,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}getFeatureDetailsFlowItem(){const t=this._getLayersConfig(this._selectedLayerId)?.comment&&this._selectedLayer.relationships.length>0&&this._relatedTable;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"share-node",embed:!1,flipRtl:!0,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,removePopoverOffset:!0,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),this._selectedFeature.length>1&&this.getFeaturesPagination(),e("calcite-panel",null,e("feature-details",{class:"full-height",enableSnapping:this.enableSnapping,graphics:this._selectedFeature,layerItemsHash:this._layerItemsHash,locale:this.locale,mapView:this.mapView,onAddComment:this.showAddCommentsPanel.bind(this),onCommentSelect:this.onCommentSelectFromList.bind(this),onFeatureSelectionChange:this.selectionChanged.bind(this),onLikeOrDislikeClicked:()=>{this._featureList.refresh(!0)},onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions,showFullCommentTitle:this.showFullCommentTitle,showUserImageInCommentsList:this.showUserImageInCommentsList}),t&&e("calcite-button",{appearance:"solid",onClick:this.showAddCommentsPanel.bind(this),slot:"footer",width:"full"},this.commentButtonText||this._translations.comment)))}getFeaturesPagination(){return e("div",{class:"feature-pagination"},e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},e("span",null,this._translations.back))),e("calcite-button",{appearance:"transparent",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},e("span",{class:"pagination-count"},this._getCount())),e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),e("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},e("span",null,this._translations.next))))}getCommentDetailsFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"comment-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("calcite-panel",{"full-height":!0},e("info-card",{allowEditing:!1,enableSnapping:this.enableSnapping,graphics:this._selectedRelatedFeature,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,paginationEnabled:!1})))}getAddCommentFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromCreateRelatedFeaturePanel.bind(this),selected:"add-comment"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateRelatedFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateRelatedFeaturePanel.bind(this),width:"full"},this._translations.cancel))),e("calcite-panel",null,e("create-related-feature",{customizeSubmit:!0,enableSnapping:this.enableSnapping,locale:this.locale,mapView:this.mapView,onFail:this.addCommentFailed.bind(this),onFormReady:this.onFormReady.bind(this),onIsActionPending:this.showSubmitCancelButton.bind(this),onSuccess:this.onCommentSubmitted.bind(this),ref:t=>this._createRelatedFeature=t,selectedFeature:this._currentFeature,table:this._relatedTable})))}async setSelectedFeatures(t){this._selectedFeature=t,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}async setCurrentFeature(t){if(this._currentFeature=t,t&&t.layer){const i=t.layer;this.setSelectedLayer(i.id,i.title),this._currentFeatureId=t.attributes[i.objectIdField],this._getLayersConfig(i.id)?.comment&&i.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const i=await d(this.mapView,t.layer.id);i.highlightOptions=null,this._highlightHandle=await u([t.getObjectId()],i,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return e("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),1===this._editableLayerIds?.length?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const i=await this.mapView.hitTest(t);if(i.results.length>0){const t=[];i.results.forEach((function(i){"graphic"===i.type&&t.push(i.graphic)}));const s=t.filter((t=>this._validLayers.includes(t.layer))),e=t.filter((t=>!this._validLayers.includes(t.layer)&&t?.layer?.popupEnabled&&t?.layer?.id));if(s.length>0&&(await this.setSelectedFeatures(s),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),e.length>0){this.mapView.popupEnabled=!0;const t={features:e,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this._selectedFeatureIndex+1).toString(),i=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}_updateFloorDefinitionExpression(t){const i=`${t.floorInfo.floorField} = '${this.floorLevel}'`,s=t.definitionExpression;t.definitionExpression=s?.indexOf(this._floorExpression)>-1?s.replace(this._floorExpression,i):i,this._floorExpression=i}_getFormElements(){const t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i&&this.floorLevel&&t?.formTemplate){const i=this._formElements.find((i=>i.id===t.id));0!==this._formElements.length&&i||this._formElements.push({id:t.id,orgElements:t.formTemplate.elements,orgExpressionInfos:t.formTemplate.expressionInfos})}}reduceToConfiguredLayers(t,i){return Object.keys(t).reduce(((s,e)=>{const a=this.reportingOptions?this._getLayersConfig(e)?.visible:t[e].supportsAdd;return!i.includes(e)&&a&&s.push(e),s}),[])}refreshLists(){setTimeout((()=>{this._layerList&&"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList.refresh(),this._featureList&&this._featureList.refresh()}),50)}async _updateFeatures(){for(const t of this._editableLayerIds){const i=await d(this.mapView,t);await this._showMyFeaturesOnly(i);const s=i.layer?.floorInfo?.floorField;s&&this.floorLevel&&this._updateFloorDefinitionExpression(i.layer)}}async _showMyFeaturesOnly(t){const i=this.mapView.map.portalItem.portal?.credential?.userId;if(i){const s=t.layer.editFieldsInfo?.creatorField.toLowerCase();t.filter=this.showMyReportsOnly&&s?new this.FeatureFilter({where:s+"='"+i+"'"}):null}}async getLayersToShowInList(){const t=await p(this.mapView,!0),i=await c(this.mapView),s=[];i.forEach((i=>{"feature"===i?.type&&i?.editingEnabled&&i?.capabilities?.operations?.supportsAdd&&(t[i.id].supportsAdd=!0),i?.editingEnabled||s.push(i.id)})),this._editableLayerIds=this.reduceToConfiguredLayers(t,s),this._layerItemsHash=t}async renderFeaturesList(){this._flowItems=["feature-list"];const t={detail:this._editableLayerIds};await this.layerListLoaded(t),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title),this.updateSortingOptions(),this.handleSelectedLayersFilter()}_updateShareURL(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._selectedLayerId?i.searchParams.set("layerid",this._selectedLayerId):i.searchParams.delete("layerid"),this._selectedFeature?.length?i.searchParams.set("oid",this._currentFeatureId):i.searchParams.delete("oid"),this._shareNode.shareUrl=i.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await n(this.mapView,this.layerId);if(t){const i=await f([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);i.length&&(await this.setSelectedFeatures(i),this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){const t=this.layerExpressions?structuredClone(this.layerExpressions.filter((t=>t.id===this._selectedLayerId))):[];null!=this._t9nLayerExpressions&&this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){const t=await n(this.mapView,this._prevSelectedLayerId);t&&(t.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList?.forceReset(),null!=this._selectedLayer&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(null==this._selectedLayer)return;const t=[];if(this._currentLayerExpressions?.length>0){const i=this._currentLayerExpressions[0];for(const s of i.expressions){const{active:i,definitionExpression:e}=s;i&&e&&t.push(`(${e})`)}this._filterActive=t.length>0,this.updateFilterLayerDefExpression(t,i.operator)}}updateFilterLayerDefExpression(t,i){const s=this._initDefExpressions[this._selectedLayerId],e=t?.length>0&&null!=s?`(${t.join(i)}) AND (${s})`:t.length>0?t.join(i):s;this._selectedLayer.definitionExpression=e}setInitExpressions(){if(this._initDefExpressions={},null==this.mapView)return;const t=this.mapView.map;t.allLayers.concat(t.allTables).forEach((t=>{"feature"===t.type&&(this._initDefExpressions[t.id]=t.definitionExpression)}))}handleLayerExpressionsT9n(t,i){t?.forEach((t=>{const s=i?.find((i=>i.id===t.id));null!=s&&(t.title=s.title,t.expressions?.forEach((t=>{const i=s.expressions?.find((i=>i.id===t.id));null!=i&&(t.name=i.name)})))}))}static get watchers(){return{isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],floorLevel:["floorLevelWatchHandler"],showMyReportsOnly:["showMyReportsOnlyWatchHandler"],sortOption:["sortOptionWatchHandler"],filterByMapExtent:["filterByMapExtentChangeWatchHandler"],layerExpressions:["layerExpressionsWatchHandler"],showFeatureSymbol:["showFeatureSymbolWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";export{m as crowdsource_reporter}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{g as r}from"./p-d4056c1c.js";import{_ as t}from"./p-4fe489cf.js";var n,o,e={exports:{}},i={exports:{}},u={exports:{}};o=t.exports.default,(n=u).exports=function(r,t){if("object"!=o(r)||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var e=n.call(r,t||"default");if("object"!=o(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(r)},n.exports.__esModule=!0,n.exports.default=n.exports,function(r){var n=t.exports.default,o=u.exports;r.exports=function(r){var t=o(r,"string");return"symbol"==n(t)?t:t+""},r.exports.__esModule=!0,r.exports.default=r.exports}(i),function(r){var t=i.exports;r.exports=function(r,n,o){return(n=t(n))in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,r},r.exports.__esModule=!0,r.exports.default=r.exports}(e);const a=r(e.exports);var c={exports:{}};!function(r){function t(r,t,n,o,e,i,u){try{var a=r[i](u),c=a.value}catch(r){return void n(r)}a.done?t(c):Promise.resolve(c).then(o,e)}r.exports=function(r){return function(){var n=this,o=arguments;return new Promise((function(e,i){var u=r.apply(n,o);function a(r){t(u,e,i,a,c,"next",r)}function c(r){t(u,e,i,a,c,"throw",r)}a(void 0)}))}},r.exports.__esModule=!0,r.exports.default=r.exports}(c);const f=r(c.exports);export{f as _,a,e as d}
|