@esri/solutions-components 0.11.12 → 0.11.14
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/basemap-gallery_7.cjs.entry.js +258 -49
- package/dist/cjs/buffer-tools_2.cjs.entry.js +122 -28
- package/dist/cjs/card-manager_3.cjs.entry.js +427 -98
- package/dist/cjs/consent-manager.cjs.entry.js +54 -12
- package/dist/cjs/create-feature_4.cjs.entry.js +247 -53
- package/dist/cjs/create-related-feature_3.cjs.entry.js +166 -35
- package/dist/cjs/crowdsource-manager.cjs.entry.js +247 -58
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +213 -52
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +37 -8
- package/dist/cjs/downloadUtils-1935500f.js +3223 -0
- package/dist/cjs/effects-3607d1ba.js +83 -0
- package/dist/cjs/feature-list.cjs.entry.js +95 -24
- package/dist/cjs/helpers-b511b55e.js +867 -0
- package/dist/cjs/index-b2821254.js +201 -0
- package/dist/cjs/index-b936ec03.js +1903 -0
- package/dist/cjs/index.es-3c2404c3.js +11195 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +20 -20
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +826 -20
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +817 -10
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-popover.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
- package/dist/cjs/json-editor_7.cjs.entry.js +227 -49
- package/dist/cjs/languageSwitcher-19a22439.js +52 -0
- package/dist/cjs/loadModules-e9d8977c.js +23 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/locale-4187fc82.js +943 -0
- package/dist/cjs/locale-98346201.js +160 -0
- package/dist/cjs/map-layer-picker.cjs.entry.js +112 -27
- package/dist/cjs/map-select-tools_3.cjs.entry.js +229 -50
- package/dist/cjs/pci-calculator.cjs.entry.js +15 -2
- package/dist/cjs/popupUtils-c0921a77.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +194 -44
- package/dist/cjs/publicNotificationStore-76755c44.js +47 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +52 -17
- package/dist/cjs/solution-contents_3.cjs.entry.js +84 -18
- package/dist/cjs/solution-item-accordion.cjs.entry.js +39 -9
- package/dist/cjs/solution-item-icon.cjs.entry.js +18 -4
- package/dist/cjs/solution-store-a2a8422d.js +1105 -0
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +45 -10
- package/dist/cjs/store-manager.cjs.entry.js +21 -6
- package/dist/cjs/utils-16dbc236.js +153 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +19 -5
- package/dist/collection/components/buffer-tools/buffer-tools.js +52 -13
- package/dist/collection/components/card-manager/card-manager.js +71 -17
- package/dist/collection/components/consent-manager/consent-manager.js +52 -12
- package/dist/collection/components/create-feature/create-feature.js +68 -16
- package/dist/collection/components/create-related-feature/create-related-feature.js +44 -10
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +245 -58
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +211 -52
- package/dist/collection/components/delete-button/delete-button.js +55 -13
- package/dist/collection/components/delete-dialog/delete-dialog.js +35 -8
- package/dist/collection/components/edit-card/edit-card.js +43 -10
- package/dist/collection/components/feature-details/feature-details.js +70 -17
- package/dist/collection/components/feature-list/feature-list.js +91 -22
- package/dist/collection/components/floor-filter/floor-filter.js +19 -5
- package/dist/collection/components/info-card/info-card.js +77 -18
- package/dist/collection/components/json-editor/json-editor.js +28 -7
- package/dist/collection/components/layer-list/layer-list.js +50 -12
- package/dist/collection/components/layer-table/layer-table.js +171 -41
- package/dist/collection/components/map-card/map-card.js +182 -43
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +66 -15
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +18 -4
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +108 -25
- package/dist/collection/components/map-legend/map-legend.js +15 -4
- package/dist/collection/components/map-picker/map-picker.js +35 -8
- package/dist/collection/components/map-search/map-search.js +35 -8
- package/dist/collection/components/map-select-tools/map-select-tools.js +138 -32
- package/dist/collection/components/map-tools/map-tools.js +115 -27
- package/dist/collection/components/pci-calculator/pci-calculator.js +14 -3
- package/dist/collection/components/pdf-download/pdf-download.js +27 -6
- package/dist/collection/components/public-notification/public-notification.js +189 -41
- package/dist/collection/components/refine-selection/refine-selection.js +59 -13
- package/dist/collection/components/solution-configuration/solution-configuration.js +48 -13
- package/dist/collection/components/solution-contents/solution-contents.js +13 -4
- package/dist/collection/components/solution-item/solution-item.js +36 -9
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +0 -4
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +36 -8
- package/dist/collection/components/solution-item-details/solution-item-details.js +35 -16
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +17 -5
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +27 -6
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +24 -6
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +36 -8
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +31 -7
- package/dist/collection/components/solution-template-data/solution-template-data.js +49 -8
- package/dist/collection/components/solution-variables/solution-variables.js +24 -6
- package/dist/collection/components/spatial-ref/spatial-ref.js +43 -8
- package/dist/collection/components/store-manager/store-manager.js +18 -5
- package/dist/collection/vendor/calcite-components/2BGOXXHV.js +4 -0
- package/dist/collection/vendor/calcite-components/2EBGD5ZQ.js +4 -0
- package/dist/collection/vendor/calcite-components/2HEEVITF.js +4 -0
- package/dist/collection/vendor/calcite-components/2QBRISAS.js +4 -0
- package/dist/collection/vendor/calcite-components/2SKIGCTJ.js +4 -0
- package/dist/collection/vendor/calcite-components/2ZPEMPPG.js +4 -0
- package/dist/collection/vendor/calcite-components/36DTW2EC.js +4 -0
- package/dist/collection/vendor/calcite-components/36E6CTNX.js +4 -0
- package/dist/collection/vendor/calcite-components/36HITQ3A.js +4 -0
- package/dist/collection/vendor/calcite-components/3FJPBCHI.js +4 -0
- package/dist/collection/vendor/calcite-components/3TINKPLC.js +4 -0
- package/dist/collection/vendor/calcite-components/3TXD2SW4.js +4 -0
- package/dist/collection/vendor/calcite-components/43C4CZJO.js +4 -0
- package/dist/collection/vendor/calcite-components/44DZGTF5.js +4 -0
- package/dist/collection/vendor/calcite-components/4IWRJJPT.js +4 -0
- package/dist/collection/vendor/calcite-components/4L6L5YMT.js +4 -0
- package/dist/collection/vendor/calcite-components/4NZHY4FQ.js +4 -0
- package/dist/collection/vendor/calcite-components/4OSJHPNQ.js +4 -0
- package/dist/collection/vendor/calcite-components/4ZNEZOAP.js +4 -0
- package/dist/collection/vendor/calcite-components/4ZTXEQT4.js +4 -0
- package/dist/collection/vendor/calcite-components/57U74PDQ.js +4 -0
- package/dist/collection/vendor/calcite-components/5BEKT6RT.js +4 -0
- package/dist/collection/vendor/calcite-components/5JAMHCQS.js +6 -0
- package/dist/collection/vendor/calcite-components/5UP5TQJN.js +4 -0
- package/dist/collection/vendor/calcite-components/5VK77MGP.js +4 -0
- package/dist/collection/vendor/calcite-components/5ZFIOILW.js +4 -0
- package/dist/collection/vendor/calcite-components/62G23PKY.js +4 -0
- package/dist/collection/vendor/calcite-components/6A464LBG.js +4 -0
- package/dist/collection/vendor/calcite-components/6KXUZBIZ.js +4 -0
- package/dist/collection/vendor/calcite-components/6OCJIDQZ.js +4 -0
- package/dist/collection/vendor/calcite-components/6PBZNCIY.js +4 -0
- package/dist/collection/vendor/calcite-components/6SREDGMN.js +4 -0
- package/dist/collection/vendor/calcite-components/73K4GSAV.js +4 -0
- package/dist/collection/vendor/calcite-components/757M5TSP.js +5 -0
- package/dist/collection/vendor/calcite-components/7F6EUEAO.js +4 -0
- package/dist/collection/vendor/calcite-components/7GOGBJPD.js +4 -0
- package/dist/collection/vendor/calcite-components/7PLD33LH.js +4 -0
- package/dist/collection/vendor/calcite-components/7TNMI44V.js +4 -0
- package/dist/collection/vendor/calcite-components/7VZFYJY5.js +4 -0
- package/dist/collection/vendor/calcite-components/7XZR3QPX.js +4 -0
- package/dist/collection/vendor/calcite-components/A3M4FM7N.js +4 -0
- package/dist/collection/vendor/calcite-components/A5WZ32T6.js +4 -0
- package/dist/collection/vendor/calcite-components/A6H6UTO7.js +4 -0
- package/dist/collection/vendor/calcite-components/AA6WUYLQ.js +4 -0
- package/dist/collection/vendor/calcite-components/ADRZSXZD.js +4 -0
- package/dist/collection/vendor/calcite-components/AKXBPGJ4.js +4 -0
- package/dist/collection/vendor/calcite-components/ALGCYGFE.js +4 -0
- package/dist/collection/vendor/calcite-components/B3YKMJGM.js +4 -0
- package/dist/collection/vendor/calcite-components/B6DZ4O5H.js +4 -0
- package/dist/collection/vendor/calcite-components/B747CT5Q.js +5 -0
- package/dist/collection/vendor/calcite-components/BAHKYVUM.js +4 -0
- package/dist/collection/vendor/calcite-components/BTHSKXWS.js +4 -0
- package/dist/collection/vendor/calcite-components/BWCV737I.js +4 -0
- package/dist/collection/vendor/calcite-components/BZV465ZG.js +4 -0
- package/dist/collection/vendor/calcite-components/C4A2PCZ4.js +4 -0
- package/dist/collection/vendor/calcite-components/C5MKAGNV.js +4 -0
- package/dist/collection/vendor/calcite-components/CK3TASCY.js +4 -0
- package/dist/collection/vendor/calcite-components/D2MINRBA.js +4 -0
- package/dist/collection/vendor/calcite-components/DDOM5RYZ.js +4 -0
- package/dist/collection/vendor/calcite-components/DJ4JGNMM.js +4 -0
- package/dist/collection/vendor/calcite-components/DL75ZJBG.js +4 -0
- package/dist/collection/vendor/calcite-components/DO4RITGJ.js +4 -0
- package/dist/collection/vendor/calcite-components/DSL2FNLA.js +4 -0
- package/dist/collection/vendor/calcite-components/DTEHSI7W.js +4 -0
- package/dist/collection/vendor/calcite-components/DUTPXINY.js +4 -0
- package/dist/collection/vendor/calcite-components/DY22I2GZ.js +4 -0
- package/dist/collection/vendor/calcite-components/DYN74HSB.js +4 -0
- package/dist/collection/vendor/calcite-components/E3CWAGXE.js +4 -0
- package/dist/collection/vendor/calcite-components/E3QBKOQQ.js +4 -0
- package/dist/collection/vendor/calcite-components/EBFZRB3A.js +4 -0
- package/dist/collection/vendor/calcite-components/ECGXAEDQ.js +4 -0
- package/dist/collection/vendor/calcite-components/EGC7NBN5.js +4 -0
- package/dist/collection/vendor/calcite-components/EILXZAAH.js +4 -0
- package/dist/collection/vendor/calcite-components/EISHHIYI.js +4 -0
- package/dist/collection/vendor/calcite-components/EN6Y5YN5.js +4 -0
- package/dist/collection/vendor/calcite-components/ERDL4UCD.js +4 -0
- package/dist/collection/vendor/calcite-components/EYPFBUR7.js +4 -0
- package/dist/collection/vendor/calcite-components/F6DYUGAJ.js +4 -0
- package/dist/collection/vendor/calcite-components/FAQ7B73H.js +4 -0
- package/dist/collection/vendor/calcite-components/FAULLEJY.js +4 -0
- package/dist/collection/vendor/calcite-components/FH7G4JPL.js +28 -0
- package/dist/collection/vendor/calcite-components/FHAH57CK.js +4 -0
- package/dist/collection/vendor/calcite-components/FHGZNYTT.js +4 -0
- package/dist/collection/vendor/calcite-components/FLXOWNYW.js +4 -0
- package/dist/collection/vendor/calcite-components/FVABUFOH.js +4 -0
- package/dist/collection/vendor/calcite-components/G2JF63JV.js +4 -0
- package/dist/collection/vendor/calcite-components/G63OZT6W.js +4 -0
- package/dist/collection/vendor/calcite-components/GESC7PRY.js +4 -0
- package/dist/collection/vendor/calcite-components/GIAH7CPN.js +4 -0
- package/dist/collection/vendor/calcite-components/GNZIY4A2.js +4 -0
- package/dist/collection/vendor/calcite-components/GPNKRGK6.js +4 -0
- package/dist/collection/vendor/calcite-components/GSUR5POR.js +4 -0
- package/dist/collection/vendor/calcite-components/GY22257T.js +4 -0
- package/dist/collection/vendor/calcite-components/H2PEX7CU.js +4 -0
- package/dist/collection/vendor/calcite-components/H2UMFA24.js +4 -0
- package/dist/collection/vendor/calcite-components/H7D6N2ZS.js +4 -0
- package/dist/collection/vendor/calcite-components/HALAA7KD.js +4 -0
- package/dist/collection/vendor/calcite-components/HHC7VSD3.js +4 -0
- package/dist/collection/vendor/calcite-components/HNGJKPNS.js +4 -0
- package/dist/collection/vendor/calcite-components/HQLH54Q4.js +4 -0
- package/dist/collection/vendor/calcite-components/HZLG5SUR.js +4 -0
- package/dist/collection/vendor/calcite-components/HZUKYZNP.js +4 -0
- package/dist/collection/vendor/calcite-components/IHBCPOXF.js +4 -0
- package/dist/collection/vendor/calcite-components/IIERNP6W.js +4 -0
- package/dist/collection/vendor/calcite-components/ILJVRQHM.js +4 -0
- package/dist/collection/vendor/calcite-components/IQTGVLQG.js +4 -0
- package/dist/collection/vendor/calcite-components/IRW4MFB4.js +4 -0
- package/dist/collection/vendor/calcite-components/J4KGM5S7.js +5 -0
- package/dist/collection/vendor/calcite-components/JCQBVDTR.js +4 -0
- package/dist/collection/vendor/calcite-components/JCZIZMKQ.js +4 -0
- package/dist/collection/vendor/calcite-components/JE5DGAJR.js +4 -0
- package/dist/collection/vendor/calcite-components/JL7OLH3T.js +4 -0
- package/dist/collection/vendor/calcite-components/JTWLPIB2.js +4 -0
- package/dist/collection/vendor/calcite-components/K53JENHF.js +4 -0
- package/dist/collection/vendor/calcite-components/K5ODBKLP.js +4 -0
- package/dist/collection/vendor/calcite-components/KC4IYMUL.js +4 -0
- package/dist/collection/vendor/calcite-components/KE7WVOAV.js +4 -0
- package/dist/collection/vendor/calcite-components/KGJ4OJVP.js +4 -0
- package/dist/collection/vendor/calcite-components/KI2CJ7JL.js +4 -0
- package/dist/collection/vendor/calcite-components/KNE7ABCR.js +4 -0
- package/dist/collection/vendor/calcite-components/KOFGYSC5.js +4 -0
- package/dist/collection/vendor/calcite-components/KOH6G4XV.js +4 -0
- package/dist/collection/vendor/calcite-components/KRO7CG2Q.js +4 -0
- package/dist/collection/vendor/calcite-components/KRZW2DWF.js +4 -0
- package/dist/collection/vendor/calcite-components/KSFXKRML.js +4 -0
- package/dist/collection/vendor/calcite-components/KTJZCONU.js +4 -0
- package/dist/collection/vendor/calcite-components/KXJRCIPX.js +4 -0
- package/dist/collection/vendor/calcite-components/L5DK3NJQ.js +4 -0
- package/dist/collection/vendor/calcite-components/LEAJPPH4.js +4 -0
- package/dist/collection/vendor/calcite-components/LKNGKUUT.js +4 -0
- package/dist/collection/vendor/calcite-components/LLYFYC3S.js +4 -0
- package/dist/collection/vendor/calcite-components/LLYVXFI4.js +4 -0
- package/dist/collection/vendor/calcite-components/LMPMNF4U.js +4 -0
- package/dist/collection/vendor/calcite-components/LNUDHR7T.js +4 -0
- package/dist/collection/vendor/calcite-components/LRXQU7WR.js +4 -0
- package/dist/collection/vendor/calcite-components/MDS5OEJ4.js +4 -0
- package/dist/collection/vendor/calcite-components/MEXPAXRW.js +4 -0
- package/dist/collection/vendor/calcite-components/MI3K57KT.js +4 -0
- package/dist/collection/vendor/calcite-components/MIOMFK6B.js +4 -0
- package/dist/collection/vendor/calcite-components/MJII73PP.js +4 -0
- package/dist/collection/vendor/calcite-components/MJIKLRLZ.js +4 -0
- package/dist/collection/vendor/calcite-components/MQSDYLGW.js +4 -0
- package/dist/collection/vendor/calcite-components/MWJLXQ5U.js +4 -0
- package/dist/collection/vendor/calcite-components/N2PDJVSE.js +4 -0
- package/dist/collection/vendor/calcite-components/NERFG233.js +4 -0
- package/dist/collection/vendor/calcite-components/NIUBMFXO.js +4 -0
- package/dist/collection/vendor/calcite-components/NK25FAZ6.js +4 -0
- package/dist/collection/vendor/calcite-components/NK4ED4IH.js +5 -0
- package/dist/collection/vendor/calcite-components/NOJTDKA6.js +4 -0
- package/dist/collection/vendor/calcite-components/NUY7EYNX.js +4 -0
- package/dist/collection/vendor/calcite-components/NWA7UYBI.js +4 -0
- package/dist/collection/vendor/calcite-components/NWNWCSUO.js +4 -0
- package/dist/collection/vendor/calcite-components/NYJ2KJKN.js +4 -0
- package/dist/collection/vendor/calcite-components/O6RKIBH2.js +4 -0
- package/dist/collection/vendor/calcite-components/OP2QHRHR.js +4 -0
- package/dist/collection/vendor/calcite-components/P5ZVYEQW.js +4 -0
- package/dist/collection/vendor/calcite-components/P6BFNJVU.js +4 -0
- package/dist/collection/vendor/calcite-components/P6VB45CQ.js +4 -0
- package/dist/collection/vendor/calcite-components/PNTWJB75.js +4 -0
- package/dist/collection/vendor/calcite-components/PTUZR2XV.js +4 -0
- package/dist/collection/vendor/calcite-components/QBNHVQWS.js +4 -0
- package/dist/collection/vendor/calcite-components/QD6WQCPN.js +4 -0
- package/dist/collection/vendor/calcite-components/QEBXFL3K.js +4 -0
- package/dist/collection/vendor/calcite-components/QNRLRRZZ.js +4 -0
- package/dist/collection/vendor/calcite-components/QTGKBVAW.js +4 -0
- package/dist/collection/vendor/calcite-components/QVLHSABE.js +4 -0
- package/dist/collection/vendor/calcite-components/RATZT6K7.js +4 -0
- package/dist/collection/vendor/calcite-components/RAWIO5CJ.js +4 -0
- package/dist/collection/vendor/calcite-components/RC4M4Q6U.js +4 -0
- package/dist/collection/vendor/calcite-components/ROTKUEC4.js +4 -0
- package/dist/collection/vendor/calcite-components/RRR3UCDP.js +4 -0
- package/dist/collection/vendor/calcite-components/RXJQR5VC.js +4 -0
- package/dist/collection/vendor/calcite-components/RYBJ6HQX.js +4 -0
- package/dist/collection/vendor/calcite-components/S2CHZ5WW.js +4 -0
- package/dist/collection/vendor/calcite-components/S5QILLXK.js +4 -0
- package/dist/collection/vendor/calcite-components/S5WUGWLI.js +4 -0
- package/dist/collection/vendor/calcite-components/SLILJOTA.js +4 -0
- package/dist/collection/vendor/calcite-components/SZIQPAWB.js +4 -0
- package/dist/collection/vendor/calcite-components/T2EFD7MK.js +4 -0
- package/dist/collection/vendor/calcite-components/TJ6U6Y2A.js +4 -0
- package/dist/collection/vendor/calcite-components/TRXE64SN.js +4 -0
- package/dist/collection/vendor/calcite-components/TVXUNVVJ.js +4 -0
- package/dist/collection/vendor/calcite-components/TZPOTIWO.js +4 -0
- package/dist/collection/vendor/calcite-components/UKOMGWYV.js +4 -0
- package/dist/collection/vendor/calcite-components/ULI2WHN6.js +4 -0
- package/dist/collection/vendor/calcite-components/UPO2OA2C.js +4 -0
- package/dist/collection/vendor/calcite-components/V7QQRUYR.js +4 -0
- package/dist/collection/vendor/calcite-components/VA6SEF3H.js +4 -0
- package/dist/collection/vendor/calcite-components/VCGYS6AC.js +4 -0
- package/dist/collection/vendor/calcite-components/VHIVTMYL.js +22 -0
- package/dist/collection/vendor/calcite-components/VIFJTMJE.js +4 -0
- package/dist/collection/vendor/calcite-components/VKUXTBMA.js +4 -0
- package/dist/collection/vendor/calcite-components/VYBRMYZA.js +4 -0
- package/dist/collection/vendor/calcite-components/VYSYUSUT.js +4 -0
- package/dist/collection/vendor/calcite-components/WHQERKO3.js +4 -0
- package/dist/collection/vendor/calcite-components/WLKZ6TCC.js +4 -0
- package/dist/collection/vendor/calcite-components/WRRV2226.js +4 -0
- package/dist/collection/vendor/calcite-components/X5OT5VWP.js +4 -0
- package/dist/collection/vendor/calcite-components/X7WD2RXW.js +4 -0
- package/dist/collection/vendor/calcite-components/XGGCYCLU.js +4 -0
- package/dist/collection/vendor/calcite-components/XJUGTTYP.js +4 -0
- package/dist/collection/vendor/calcite-components/XK6ESUWM.js +4 -0
- package/dist/collection/vendor/calcite-components/XODNGXTR.js +4 -0
- package/dist/collection/vendor/calcite-components/XP22SQKN.js +4 -0
- package/dist/collection/vendor/calcite-components/XUCLKKAR.js +4 -0
- package/dist/collection/vendor/calcite-components/XWO5T62V.js +4 -0
- package/dist/collection/vendor/calcite-components/XY7DR573.js +4 -0
- package/dist/collection/vendor/calcite-components/Y4WWNYQO.js +4 -0
- package/dist/collection/vendor/calcite-components/YF3UCGCR.js +4 -0
- package/dist/collection/vendor/calcite-components/YH3WSHXS.js +4 -0
- package/dist/collection/vendor/calcite-components/YOI4NTGG.js +4 -0
- package/dist/collection/vendor/calcite-components/YP2GEKXK.js +4 -0
- package/dist/collection/vendor/calcite-components/YQDF2N5J.js +4 -0
- package/dist/collection/vendor/calcite-components/YRCGG4BE.js +4 -0
- package/dist/collection/vendor/calcite-components/YTSHEMU3.js +4 -0
- package/dist/collection/vendor/calcite-components/YUQIXR5A.js +4 -0
- package/dist/collection/vendor/calcite-components/ZAY3SU5H.js +4 -0
- package/dist/collection/vendor/calcite-components/ZFGK5MNZ.js +4 -0
- package/dist/collection/vendor/calcite-components/ZITAONDY.js +4 -0
- package/dist/collection/vendor/calcite-components/ZLW5U3G6.js +4 -0
- package/dist/collection/vendor/calcite-components/ZNMXPSOQ.js +4 -0
- package/dist/collection/vendor/calcite-components/ZSLV2NNR.js +4 -0
- package/dist/collection/vendor/calcite-components/assets/icon/crosshair16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/crosshair24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/crosshair32.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer32.json +1 -0
- package/dist/collection/vendor/calcite-components/calcite.esm.js +4 -6
- package/dist/components/basemap-gallery2.js +19 -3
- package/dist/components/buffer-tools2.js +52 -11
- package/dist/components/card-manager2.js +71 -15
- package/dist/components/consent-manager.js +52 -10
- package/dist/components/create-feature2.js +68 -14
- package/dist/components/create-related-feature2.js +44 -8
- package/dist/components/crowdsource-manager.js +245 -56
- package/dist/components/crowdsource-reporter.js +211 -50
- package/dist/components/delete-button2.js +55 -11
- package/dist/components/delete-dialog2.js +35 -6
- package/dist/components/edit-card2.js +43 -8
- package/dist/components/feature-details2.js +70 -15
- package/dist/components/feature-list2.js +91 -20
- package/dist/components/floor-filter2.js +19 -3
- package/dist/components/index.es.js +6 -5
- package/dist/components/info-card2.js +77 -16
- package/dist/components/instant-apps-keyboard-shortcuts.js +17 -17
- package/dist/components/instant-apps-language-switcher.js +815 -9
- package/dist/components/instant-apps-language-translator2.js +1 -1
- package/dist/components/json-editor2.js +28 -5
- package/dist/components/layer-list2.js +50 -10
- package/dist/components/layer-table2.js +171 -39
- package/dist/components/loadModules2.js +1 -1
- package/dist/components/map-card2.js +182 -41
- package/dist/components/map-draw-tools2.js +66 -13
- package/dist/components/map-fullscreen2.js +18 -2
- package/dist/components/map-layer-picker2.js +108 -23
- package/dist/components/map-legend2.js +15 -2
- package/dist/components/map-picker2.js +35 -6
- package/dist/components/map-search2.js +35 -6
- package/dist/components/map-select-tools2.js +138 -30
- package/dist/components/map-tools2.js +115 -25
- package/dist/components/pci-calculator.js +14 -1
- package/dist/components/pdf-download2.js +27 -4
- package/dist/components/public-notification.js +189 -39
- package/dist/components/refine-selection2.js +59 -11
- package/dist/components/solution-configuration.js +48 -13
- package/dist/components/solution-contents2.js +13 -2
- package/dist/components/solution-item-accordion.js +37 -7
- package/dist/components/solution-item-details2.js +35 -14
- package/dist/components/solution-item-icon2.js +17 -3
- package/dist/components/solution-item-sharing2.js +27 -4
- package/dist/components/solution-item2.js +36 -7
- package/dist/components/solution-organization-variables2.js +24 -4
- package/dist/components/solution-resource-item2.js +36 -6
- package/dist/components/solution-spatial-ref2.js +31 -5
- package/dist/components/solution-template-data2.js +49 -8
- package/dist/components/solution-variables2.js +24 -4
- package/dist/components/spatial-ref.js +43 -8
- package/dist/components/store-manager.js +18 -3
- package/dist/esm/basemap-gallery_7.entry.js +258 -49
- package/dist/esm/buffer-tools_2.entry.js +122 -28
- package/dist/esm/card-manager_3.entry.js +427 -98
- package/dist/esm/consent-manager.entry.js +54 -12
- package/dist/esm/create-feature_4.entry.js +247 -53
- package/dist/esm/create-related-feature_3.entry.js +166 -35
- package/dist/esm/crowdsource-manager.entry.js +247 -58
- package/dist/esm/crowdsource-reporter.entry.js +213 -52
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +37 -8
- package/dist/esm/downloadUtils-3f4d34a4.js +3217 -0
- package/dist/esm/effects-38bc1195.js +81 -0
- package/dist/esm/feature-list.entry.js +95 -24
- package/dist/esm/helpers-5df33e11.js +841 -0
- package/dist/esm/index-000c7a7c.js +1870 -0
- package/dist/esm/index-f7533fcc.js +199 -0
- package/dist/esm/index.es-87662946.js +11108 -0
- package/dist/esm/instant-apps-app-guide.entry.js +3 -3
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +2 -2
- package/dist/esm/instant-apps-create.entry.js +3 -3
- package/dist/esm/instant-apps-export-views.entry.js +3 -3
- package/dist/esm/instant-apps-export.entry.js +3 -3
- package/dist/esm/instant-apps-filter-list_2.entry.js +3 -3
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +20 -20
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +820 -14
- package/dist/esm/instant-apps-language-translator.entry.js +813 -6
- package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
- package/dist/esm/instant-apps-measurement.entry.js +3 -3
- package/dist/esm/instant-apps-popover.entry.js +3 -3
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +3 -3
- package/dist/esm/instant-apps-sign-in.entry.js +3 -3
- package/dist/esm/instant-apps-splash.entry.js +3 -3
- package/dist/esm/instant-apps-time-filter.entry.js +5 -5
- package/dist/esm/json-editor_7.entry.js +227 -49
- package/dist/esm/languageSwitcher-49bad3f4.js +49 -0
- package/dist/esm/loadModules-947ccfd4.js +21 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-857bb2e4.js +938 -0
- package/dist/esm/locale-fd7f8659.js +155 -0
- package/dist/esm/map-layer-picker.entry.js +112 -27
- package/dist/esm/map-select-tools_3.entry.js +229 -50
- package/dist/esm/pci-calculator.entry.js +15 -2
- package/dist/esm/popupUtils-43fafc2f.js +119 -0
- package/dist/esm/public-notification.entry.js +194 -44
- package/dist/esm/publicNotificationStore-e5306ea6.js +45 -0
- package/dist/esm/solution-configuration.entry.js +52 -17
- package/dist/esm/solution-contents_3.entry.js +84 -18
- package/dist/esm/solution-item-accordion.entry.js +39 -9
- package/dist/esm/solution-item-icon.entry.js +18 -4
- package/dist/esm/solution-store-26e3d8c6.js +1103 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +45 -10
- package/dist/esm/store-manager.entry.js +21 -6
- package/dist/esm/utils-ebba7c2e.js +142 -0
- package/dist/solutions-components/p-056d4371.entry.js +6 -0
- package/dist/solutions-components/p-0592d206.entry.js +6 -0
- package/dist/solutions-components/p-075979ef.js +36 -0
- package/dist/solutions-components/p-08ad0b7a.js +6 -0
- package/dist/solutions-components/p-0b974e3c.entry.js +6 -0
- package/dist/solutions-components/p-0db26b05.entry.js +6 -0
- package/dist/solutions-components/p-1309ac58.js +129 -0
- package/dist/solutions-components/p-174fa218.js +6 -0
- package/dist/solutions-components/p-193034c9.entry.js +6 -0
- package/dist/solutions-components/p-1a1791ae.entry.js +21 -0
- package/dist/solutions-components/p-1b6461c5.entry.js +6 -0
- package/dist/solutions-components/p-1e57a3bd.entry.js +6 -0
- package/dist/solutions-components/p-21b280a8.js +21 -0
- package/dist/solutions-components/p-2672ee69.entry.js +6 -0
- package/dist/solutions-components/p-2937baee.js +6 -0
- package/dist/solutions-components/p-3c1c2ca5.entry.js +11 -0
- package/dist/solutions-components/p-3d7eeb2d.js +488 -0
- package/dist/solutions-components/p-3de6e5d8.entry.js +6 -0
- package/dist/solutions-components/p-40578f4b.entry.js +6 -0
- package/dist/solutions-components/p-48fcfd06.entry.js +6 -0
- package/dist/solutions-components/p-4db43d2c.entry.js +6 -0
- package/dist/solutions-components/p-4e34c101.entry.js +6 -0
- package/dist/solutions-components/p-4f683af6.entry.js +6 -0
- package/dist/solutions-components/p-529325da.entry.js +6 -0
- package/dist/solutions-components/p-5c05f28a.entry.js +6 -0
- package/dist/solutions-components/p-5dfab24b.entry.js +6 -0
- package/dist/solutions-components/p-60bdf635.entry.js +6 -0
- package/dist/solutions-components/p-73ba31c4.entry.js +6 -0
- package/dist/solutions-components/p-7c958237.entry.js +6 -0
- package/dist/solutions-components/p-8169d4af.entry.js +6 -0
- package/dist/solutions-components/p-89cae891.entry.js +6 -0
- package/dist/solutions-components/p-89fbc318.js +6 -0
- package/dist/solutions-components/p-8c40bdec.js +7 -0
- package/dist/solutions-components/p-a5069229.entry.js +6 -0
- package/dist/solutions-components/p-a5073249.entry.js +6 -0
- package/dist/solutions-components/p-a5c51211.entry.js +6 -0
- package/dist/solutions-components/p-a940dc0c.entry.js +6 -0
- package/dist/solutions-components/p-b6422554.entry.js +6 -0
- package/dist/solutions-components/p-b67ff61f.entry.js +6 -0
- package/dist/solutions-components/p-b711a822.entry.js +6 -0
- package/dist/solutions-components/p-bf007c87.js +21 -0
- package/dist/solutions-components/p-c19c273f.entry.js +6 -0
- package/dist/solutions-components/p-c223bd87.js +6 -0
- package/dist/solutions-components/p-c25ebd5a.entry.js +6 -0
- package/dist/solutions-components/p-c63ce830.entry.js +6 -0
- package/dist/solutions-components/p-c691c1d1.entry.js +6 -0
- package/dist/solutions-components/p-c9e111d7.entry.js +6 -0
- package/dist/solutions-components/p-cc3e637d.entry.js +6 -0
- package/dist/solutions-components/p-d1d8e331.entry.js +6 -0
- package/dist/solutions-components/p-dc188d13.js +61 -0
- package/dist/solutions-components/p-ded33011.entry.js +6 -0
- package/dist/solutions-components/p-e133f9b2.entry.js +6 -0
- package/dist/solutions-components/p-e16bb956.entry.js +6 -0
- package/dist/solutions-components/p-e6158877.entry.js +6 -0
- package/dist/solutions-components/p-ea19f91b.js +6 -0
- package/dist/solutions-components/p-f1faec42.entry.js +6 -0
- package/dist/solutions-components/p-f24d6b3e.entry.js +6 -0
- package/dist/solutions-components/p-f71dc88a.entry.js +21 -0
- package/dist/solutions-components/p-f7c10b7f.entry.js +6 -0
- package/dist/solutions-components/p-fa639501.js +6 -0
- package/dist/solutions-components/p-fb4dfcbe.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/2BGOXXHV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2EBGD5ZQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2HEEVITF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2QBRISAS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2SKIGCTJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2ZPEMPPG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36DTW2EC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36E6CTNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36HITQ3A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3FJPBCHI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TINKPLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TXD2SW4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/43C4CZJO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/44DZGTF5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4IWRJJPT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4L6L5YMT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4NZHY4FQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4OSJHPNQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4ZNEZOAP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4ZTXEQT4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/57U74PDQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5BEKT6RT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5JAMHCQS.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/5UP5TQJN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5VK77MGP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5ZFIOILW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/62G23PKY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6A464LBG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6KXUZBIZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6OCJIDQZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6PBZNCIY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6SREDGMN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/73K4GSAV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/757M5TSP.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/7F6EUEAO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7GOGBJPD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7PLD33LH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7TNMI44V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7VZFYJY5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7XZR3QPX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A3M4FM7N.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A5WZ32T6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A6H6UTO7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AA6WUYLQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ADRZSXZD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AKXBPGJ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ALGCYGFE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B3YKMJGM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B6DZ4O5H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B747CT5Q.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/BAHKYVUM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BTHSKXWS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BWCV737I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BZV465ZG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C4A2PCZ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C5MKAGNV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CK3TASCY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D2MINRBA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DDOM5RYZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DJ4JGNMM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DL75ZJBG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DO4RITGJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DSL2FNLA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DTEHSI7W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DUTPXINY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DY22I2GZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DYN74HSB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E3CWAGXE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E3QBKOQQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EBFZRB3A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ECGXAEDQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EGC7NBN5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EILXZAAH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EISHHIYI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EN6Y5YN5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ERDL4UCD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EYPFBUR7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F6DYUGAJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FAQ7B73H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FAULLEJY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FH7G4JPL.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/FHAH57CK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FHGZNYTT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FLXOWNYW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FVABUFOH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G2JF63JV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G63OZT6W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GESC7PRY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GIAH7CPN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GNZIY4A2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GPNKRGK6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GSUR5POR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GY22257T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H2PEX7CU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H2UMFA24.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H7D6N2ZS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HALAA7KD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HHC7VSD3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HNGJKPNS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HQLH54Q4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZLG5SUR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZUKYZNP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IHBCPOXF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IIERNP6W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ILJVRQHM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IQTGVLQG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IRW4MFB4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J4KGM5S7.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/JCQBVDTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JCZIZMKQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JE5DGAJR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JL7OLH3T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JTWLPIB2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K53JENHF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K5ODBKLP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KC4IYMUL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KE7WVOAV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KGJ4OJVP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KI2CJ7JL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KNE7ABCR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KOFGYSC5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KOH6G4XV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KRO7CG2Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KRZW2DWF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KSFXKRML.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KTJZCONU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KXJRCIPX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L5DK3NJQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LEAJPPH4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LKNGKUUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLYFYC3S.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLYVXFI4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LMPMNF4U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LNUDHR7T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LRXQU7WR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MDS5OEJ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MEXPAXRW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MI3K57KT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MIOMFK6B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MJII73PP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MJIKLRLZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MQSDYLGW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MWJLXQ5U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N2PDJVSE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NERFG233.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NIUBMFXO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NK25FAZ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NK4ED4IH.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/NOJTDKA6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NUY7EYNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NWA7UYBI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NWNWCSUO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NYJ2KJKN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O6RKIBH2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OP2QHRHR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P5ZVYEQW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P6BFNJVU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P6VB45CQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PNTWJB75.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PTUZR2XV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBNHVQWS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QD6WQCPN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QEBXFL3K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QNRLRRZZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QTGKBVAW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QVLHSABE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RATZT6K7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RAWIO5CJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RC4M4Q6U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ROTKUEC4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RRR3UCDP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RXJQR5VC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RYBJ6HQX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S2CHZ5WW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S5QILLXK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S5WUGWLI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SLILJOTA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SZIQPAWB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T2EFD7MK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TJ6U6Y2A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TRXE64SN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TVXUNVVJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TZPOTIWO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UKOMGWYV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ULI2WHN6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UPO2OA2C.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V7QQRUYR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VA6SEF3H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VCGYS6AC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VHIVTMYL.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/VIFJTMJE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VKUXTBMA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VYBRMYZA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VYSYUSUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WHQERKO3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WLKZ6TCC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WRRV2226.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X5OT5VWP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X7WD2RXW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XGGCYCLU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XJUGTTYP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XK6ESUWM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XODNGXTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XP22SQKN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XUCLKKAR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XWO5T62V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XY7DR573.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y4WWNYQO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YF3UCGCR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YH3WSHXS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YOI4NTGG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YP2GEKXK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YQDF2N5J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YRCGG4BE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YTSHEMU3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YUQIXR5A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZAY3SU5H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZFGK5MNZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZITAONDY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZLW5U3G6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZNMXPSOQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZSLV2NNR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +4 -6
- package/dist/solutions-components_commit.txt +6 -6
- package/package.json +2 -2
- package/dist/cjs/constants-bed33322.js +0 -860
- package/dist/cjs/downloadUtils-9ce90176.js +0 -3223
- package/dist/cjs/effects-fdd163a9.js +0 -83
- package/dist/cjs/helpers-6a222aa7.js +0 -867
- package/dist/cjs/index-af14245a.js +0 -1828
- package/dist/cjs/index-ffd12cb0.js +0 -201
- package/dist/cjs/index.es-6549e26a.js +0 -11194
- package/dist/cjs/loadModules-df8b13ca.js +0 -23
- package/dist/cjs/locale-1c60be9c.js +0 -160
- package/dist/cjs/locale-2dd3020a.js +0 -943
- package/dist/cjs/popupUtils-93b14f86.js +0 -121
- package/dist/cjs/publicNotificationStore-beb782de.js +0 -47
- package/dist/cjs/solution-store-3cf25b71.js +0 -1105
- package/dist/cjs/utils-53383d03.js +0 -153
- package/dist/collection/vendor/calcite-components/2OHLWTVV.js +0 -6
- package/dist/collection/vendor/calcite-components/2YNPAPXX.js +0 -6
- package/dist/collection/vendor/calcite-components/3MV46GBB.js +0 -6
- package/dist/collection/vendor/calcite-components/3OQ2ZMWE.js +0 -6
- package/dist/collection/vendor/calcite-components/3VYZVKRG.js +0 -6
- package/dist/collection/vendor/calcite-components/3YAQ3WXL.js +0 -6
- package/dist/collection/vendor/calcite-components/3YMYDWGD.js +0 -6
- package/dist/collection/vendor/calcite-components/4BBHRHVO.js +0 -6
- package/dist/collection/vendor/calcite-components/4Y32YCMF.js +0 -6
- package/dist/collection/vendor/calcite-components/52M672S5.js +0 -6
- package/dist/collection/vendor/calcite-components/5DHYCNO3.js +0 -6
- package/dist/collection/vendor/calcite-components/5MCURGUM.js +0 -6
- package/dist/collection/vendor/calcite-components/5O6ZNC7G.js +0 -6
- package/dist/collection/vendor/calcite-components/5RROROO5.js +0 -6
- package/dist/collection/vendor/calcite-components/5WC57GPQ.js +0 -6
- package/dist/collection/vendor/calcite-components/5WSY45L7.js +0 -6
- package/dist/collection/vendor/calcite-components/5XKYFEBC.js +0 -6
- package/dist/collection/vendor/calcite-components/66KPC4YV.js +0 -6
- package/dist/collection/vendor/calcite-components/67MILQAM.js +0 -6
- package/dist/collection/vendor/calcite-components/67YJME3J.js +0 -7
- package/dist/collection/vendor/calcite-components/6BG6DXGU.js +0 -6
- package/dist/collection/vendor/calcite-components/6J7J7RFI.js +0 -6
- package/dist/collection/vendor/calcite-components/6KJHPKLM.js +0 -6
- package/dist/collection/vendor/calcite-components/6LBWQVLS.js +0 -6
- package/dist/collection/vendor/calcite-components/6LOB5NKS.js +0 -6
- package/dist/collection/vendor/calcite-components/74AHNYT6.js +0 -6
- package/dist/collection/vendor/calcite-components/75LS6AUK.js +0 -6
- package/dist/collection/vendor/calcite-components/7AC4OZRT.js +0 -6
- package/dist/collection/vendor/calcite-components/7CTQOYNN.js +0 -6
- package/dist/collection/vendor/calcite-components/7IMTQM3A.js +0 -6
- package/dist/collection/vendor/calcite-components/7NNFVP5Y.js +0 -6
- package/dist/collection/vendor/calcite-components/7PLH76D5.js +0 -6
- package/dist/collection/vendor/calcite-components/7SRUH72U.js +0 -6
- package/dist/collection/vendor/calcite-components/7WIMMB52.js +0 -6
- package/dist/collection/vendor/calcite-components/A3TZO3T4.js +0 -6
- package/dist/collection/vendor/calcite-components/A4JSLISH.js +0 -7
- package/dist/collection/vendor/calcite-components/A77L2PAE.js +0 -6
- package/dist/collection/vendor/calcite-components/AAJZVCOQ.js +0 -6
- package/dist/collection/vendor/calcite-components/AK7JTREX.js +0 -6
- package/dist/collection/vendor/calcite-components/APJDJGRX.js +0 -6
- package/dist/collection/vendor/calcite-components/B7XAXKYO.js +0 -6
- package/dist/collection/vendor/calcite-components/B7YRQCNE.js +0 -6
- package/dist/collection/vendor/calcite-components/BAAOO7UE.js +0 -6
- package/dist/collection/vendor/calcite-components/BKJX2UVI.js +0 -6
- package/dist/collection/vendor/calcite-components/BMTT77MQ.js +0 -6
- package/dist/collection/vendor/calcite-components/BMULWGQL.js +0 -6
- package/dist/collection/vendor/calcite-components/BOOD43TE.js +0 -6
- package/dist/collection/vendor/calcite-components/BT6BGDUQ.js +0 -6
- package/dist/collection/vendor/calcite-components/C4BI2I6X.js +0 -6
- package/dist/collection/vendor/calcite-components/CARSEP6Y.js +0 -6
- package/dist/collection/vendor/calcite-components/CARUWMRC.js +0 -6
- package/dist/collection/vendor/calcite-components/CGP5NAVZ.js +0 -6
- package/dist/collection/vendor/calcite-components/CHPU2ORW.js +0 -6
- package/dist/collection/vendor/calcite-components/CKCZ6NNQ.js +0 -6
- package/dist/collection/vendor/calcite-components/CLWQ573O.js +0 -6
- package/dist/collection/vendor/calcite-components/COVTDEEB.js +0 -6
- package/dist/collection/vendor/calcite-components/CSDMYGZU.js +0 -6
- package/dist/collection/vendor/calcite-components/CSR5Q44Q.js +0 -6
- package/dist/collection/vendor/calcite-components/CWDZ4NQP.js +0 -6
- package/dist/collection/vendor/calcite-components/D7V3NS2J.js +0 -6
- package/dist/collection/vendor/calcite-components/DHITRFFR.js +0 -6
- package/dist/collection/vendor/calcite-components/DL6GCZF7.js +0 -6
- package/dist/collection/vendor/calcite-components/DPLQUB7Z.js +0 -6
- package/dist/collection/vendor/calcite-components/DQWJPC22.js +0 -6
- package/dist/collection/vendor/calcite-components/DRM7BNH3.js +0 -6
- package/dist/collection/vendor/calcite-components/DWIP44NC.js +0 -6
- package/dist/collection/vendor/calcite-components/E3RER5S3.js +0 -6
- package/dist/collection/vendor/calcite-components/ECWNOIEW.js +0 -6
- package/dist/collection/vendor/calcite-components/EPKORG4B.js +0 -6
- package/dist/collection/vendor/calcite-components/ERE76CER.js +0 -6
- package/dist/collection/vendor/calcite-components/EU5GIDX7.js +0 -6
- package/dist/collection/vendor/calcite-components/FB6NATRQ.js +0 -6
- package/dist/collection/vendor/calcite-components/FHAIE7PW.js +0 -6
- package/dist/collection/vendor/calcite-components/FITCS5RA.js +0 -6
- package/dist/collection/vendor/calcite-components/FJUGYL5W.js +0 -6
- package/dist/collection/vendor/calcite-components/FP5CKCOM.js +0 -6
- package/dist/collection/vendor/calcite-components/FQ6G6HKC.js +0 -6
- package/dist/collection/vendor/calcite-components/FQTOWUOI.js +0 -6
- package/dist/collection/vendor/calcite-components/FSBJYIK7.js +0 -6
- package/dist/collection/vendor/calcite-components/FUR5QRYV.js +0 -6
- package/dist/collection/vendor/calcite-components/FV5F4TOB.js +0 -30
- package/dist/collection/vendor/calcite-components/GHRW2Z4J.js +0 -6
- package/dist/collection/vendor/calcite-components/GKLGNYAX.js +0 -6
- package/dist/collection/vendor/calcite-components/GRGOLBJ6.js +0 -6
- package/dist/collection/vendor/calcite-components/H2QNORW6.js +0 -6
- package/dist/collection/vendor/calcite-components/H6JENZS2.js +0 -6
- package/dist/collection/vendor/calcite-components/HE6ZJBOG.js +0 -6
- package/dist/collection/vendor/calcite-components/HEYQRNVV.js +0 -6
- package/dist/collection/vendor/calcite-components/HJ7LTJIL.js +0 -6
- package/dist/collection/vendor/calcite-components/HUXUCABV.js +0 -6
- package/dist/collection/vendor/calcite-components/HVG3FNW6.js +0 -6
- package/dist/collection/vendor/calcite-components/I5RDDH5E.js +0 -6
- package/dist/collection/vendor/calcite-components/IGLINVEB.js +0 -6
- package/dist/collection/vendor/calcite-components/IH6XHUKC.js +0 -6
- package/dist/collection/vendor/calcite-components/IN4OTIGO.js +0 -6
- package/dist/collection/vendor/calcite-components/IOQ5NGFA.js +0 -6
- package/dist/collection/vendor/calcite-components/ITIJ42U7.js +0 -6
- package/dist/collection/vendor/calcite-components/ITILALYC.js +0 -6
- package/dist/collection/vendor/calcite-components/J3NSY2Y7.js +0 -6
- package/dist/collection/vendor/calcite-components/J4RAJYKF.js +0 -6
- package/dist/collection/vendor/calcite-components/J6IGXQYQ.js +0 -6
- package/dist/collection/vendor/calcite-components/JA2ML5I6.js +0 -6
- package/dist/collection/vendor/calcite-components/JOTIQZAS.js +0 -6
- package/dist/collection/vendor/calcite-components/JULIKI65.js +0 -6
- package/dist/collection/vendor/calcite-components/JW6QBCWN.js +0 -6
- package/dist/collection/vendor/calcite-components/JWIQZFGO.js +0 -6
- package/dist/collection/vendor/calcite-components/K4HQ6WGE.js +0 -6
- package/dist/collection/vendor/calcite-components/K4OPLD7F.js +0 -6
- package/dist/collection/vendor/calcite-components/KHULIKKP.js +0 -7
- package/dist/collection/vendor/calcite-components/KRZMNBJS.js +0 -6
- package/dist/collection/vendor/calcite-components/LDAXCWWP.js +0 -6
- package/dist/collection/vendor/calcite-components/LMRFYM2J.js +0 -6
- package/dist/collection/vendor/calcite-components/LSUXEOMN.js +0 -6
- package/dist/collection/vendor/calcite-components/M5BOCCQL.js +0 -6
- package/dist/collection/vendor/calcite-components/M5XI6NNV.js +0 -6
- package/dist/collection/vendor/calcite-components/M7MOBM7M.js +0 -6
- package/dist/collection/vendor/calcite-components/MA2YIQZL.js +0 -6
- package/dist/collection/vendor/calcite-components/MBJAGWVS.js +0 -6
- package/dist/collection/vendor/calcite-components/MI3BWAKN.js +0 -6
- package/dist/collection/vendor/calcite-components/MOO4BCRV.js +0 -6
- package/dist/collection/vendor/calcite-components/MVHJMI6L.js +0 -6
- package/dist/collection/vendor/calcite-components/MZRLL3GR.js +0 -6
- package/dist/collection/vendor/calcite-components/N2FZGLE3.js +0 -6
- package/dist/collection/vendor/calcite-components/N2UM5A2L.js +0 -6
- package/dist/collection/vendor/calcite-components/NNL2N4OB.js +0 -6
- package/dist/collection/vendor/calcite-components/NP3SY2AL.js +0 -6
- package/dist/collection/vendor/calcite-components/NPYZ3JS7.js +0 -6
- package/dist/collection/vendor/calcite-components/NS47CSEP.js +0 -6
- package/dist/collection/vendor/calcite-components/NSL6XZ2B.js +0 -6
- package/dist/collection/vendor/calcite-components/NW4BVBVD.js +0 -6
- package/dist/collection/vendor/calcite-components/O66NAEPJ.js +0 -6
- package/dist/collection/vendor/calcite-components/OA55VNGP.js +0 -6
- package/dist/collection/vendor/calcite-components/OHEBCS4O.js +0 -6
- package/dist/collection/vendor/calcite-components/OI755RA3.js +0 -6
- package/dist/collection/vendor/calcite-components/OUC47AKY.js +0 -6
- package/dist/collection/vendor/calcite-components/PIOS7EUM.js +0 -6
- package/dist/collection/vendor/calcite-components/PJPFKU6T.js +0 -6
- package/dist/collection/vendor/calcite-components/PJT7DMRY.js +0 -6
- package/dist/collection/vendor/calcite-components/QDTRI7C7.js +0 -6
- package/dist/collection/vendor/calcite-components/QIG2J5PE.js +0 -6
- package/dist/collection/vendor/calcite-components/QO6KDHE7.js +0 -6
- package/dist/collection/vendor/calcite-components/QP3WP6XK.js +0 -6
- package/dist/collection/vendor/calcite-components/QRMUPTEN.js +0 -6
- package/dist/collection/vendor/calcite-components/QS2H5WWV.js +0 -7
- package/dist/collection/vendor/calcite-components/QSXIXUQG.js +0 -6
- package/dist/collection/vendor/calcite-components/R4UWD64I.js +0 -6
- package/dist/collection/vendor/calcite-components/R6R2QDCZ.js +0 -6
- package/dist/collection/vendor/calcite-components/R7BOWUQR.js +0 -6
- package/dist/collection/vendor/calcite-components/RBX4II3R.js +0 -6
- package/dist/collection/vendor/calcite-components/RGXKBYDS.js +0 -6
- package/dist/collection/vendor/calcite-components/RIG4ZWVJ.js +0 -6
- package/dist/collection/vendor/calcite-components/RM7DO3WC.js +0 -6
- package/dist/collection/vendor/calcite-components/RM7JYDOG.js +0 -6
- package/dist/collection/vendor/calcite-components/RS3QB5Z6.js +0 -6
- package/dist/collection/vendor/calcite-components/RTNOQY3F.js +0 -6
- package/dist/collection/vendor/calcite-components/RXFQEBLZ.js +0 -6
- package/dist/collection/vendor/calcite-components/S72C3HDO.js +0 -6
- package/dist/collection/vendor/calcite-components/SCVHHYPP.js +0 -6
- package/dist/collection/vendor/calcite-components/SH3ZYF5Y.js +0 -6
- package/dist/collection/vendor/calcite-components/SLRX7WEV.js +0 -6
- package/dist/collection/vendor/calcite-components/SQBCUXGV.js +0 -6
- package/dist/collection/vendor/calcite-components/SUMUVN3S.js +0 -6
- package/dist/collection/vendor/calcite-components/SUOP4NP6.js +0 -6
- package/dist/collection/vendor/calcite-components/SV2NJMD7.js +0 -6
- package/dist/collection/vendor/calcite-components/T5H4BCFU.js +0 -6
- package/dist/collection/vendor/calcite-components/T5XJU6AI.js +0 -24
- package/dist/collection/vendor/calcite-components/T6NZYTYO.js +0 -6
- package/dist/collection/vendor/calcite-components/TEFAP3AK.js +0 -6
- package/dist/collection/vendor/calcite-components/TEGL7RHQ.js +0 -6
- package/dist/collection/vendor/calcite-components/TGH5IJQY.js +0 -6
- package/dist/collection/vendor/calcite-components/TGYJTTJS.js +0 -6
- package/dist/collection/vendor/calcite-components/TITRCHWJ.js +0 -6
- package/dist/collection/vendor/calcite-components/TRYKNJDA.js +0 -6
- package/dist/collection/vendor/calcite-components/TYYR7NIL.js +0 -8
- package/dist/collection/vendor/calcite-components/TZEZTECF.js +0 -6
- package/dist/collection/vendor/calcite-components/U2E5SVFR.js +0 -6
- package/dist/collection/vendor/calcite-components/U5VSHGIS.js +0 -6
- package/dist/collection/vendor/calcite-components/U64XMC5X.js +0 -6
- package/dist/collection/vendor/calcite-components/UK4SFYVV.js +0 -6
- package/dist/collection/vendor/calcite-components/UKF62PNM.js +0 -6
- package/dist/collection/vendor/calcite-components/UOL6J47W.js +0 -6
- package/dist/collection/vendor/calcite-components/UV7H22PE.js +0 -6
- package/dist/collection/vendor/calcite-components/UXOOSEIU.js +0 -6
- package/dist/collection/vendor/calcite-components/UXZ36VC5.js +0 -6
- package/dist/collection/vendor/calcite-components/UY67UAZN.js +0 -6
- package/dist/collection/vendor/calcite-components/VFBARPZ3.js +0 -6
- package/dist/collection/vendor/calcite-components/VGYCDODV.js +0 -6
- package/dist/collection/vendor/calcite-components/VHXHAFDO.js +0 -6
- package/dist/collection/vendor/calcite-components/VN2EAAQF.js +0 -6
- package/dist/collection/vendor/calcite-components/VOECRNMH.js +0 -6
- package/dist/collection/vendor/calcite-components/VQRNTTAX.js +0 -6
- package/dist/collection/vendor/calcite-components/VVXJONZL.js +0 -6
- package/dist/collection/vendor/calcite-components/W5CGAHOI.js +0 -6
- package/dist/collection/vendor/calcite-components/WA7LZURK.js +0 -6
- package/dist/collection/vendor/calcite-components/WAAS66H6.js +0 -6
- package/dist/collection/vendor/calcite-components/WAE55O4U.js +0 -6
- package/dist/collection/vendor/calcite-components/WAXI7XKE.js +0 -6
- package/dist/collection/vendor/calcite-components/WEFAANMG.js +0 -6
- package/dist/collection/vendor/calcite-components/WH772PDM.js +0 -6
- package/dist/collection/vendor/calcite-components/X43KWDQ7.js +0 -6
- package/dist/collection/vendor/calcite-components/X5W76SNV.js +0 -6
- package/dist/collection/vendor/calcite-components/X6IC7EBC.js +0 -6
- package/dist/collection/vendor/calcite-components/XBYWX3OD.js +0 -6
- package/dist/collection/vendor/calcite-components/XIJN5ZXM.js +0 -6
- package/dist/collection/vendor/calcite-components/XKQ2CMVV.js +0 -6
- package/dist/collection/vendor/calcite-components/YBQG5R2L.js +0 -6
- package/dist/collection/vendor/calcite-components/YHWNAASP.js +0 -6
- package/dist/collection/vendor/calcite-components/YMNUCKVA.js +0 -6
- package/dist/collection/vendor/calcite-components/YMR2Q5CU.js +0 -6
- package/dist/collection/vendor/calcite-components/YNGSTQ4R.js +0 -6
- package/dist/collection/vendor/calcite-components/YP2D5DKM.js +0 -6
- package/dist/collection/vendor/calcite-components/YPRJFE6R.js +0 -6
- package/dist/collection/vendor/calcite-components/YVIEKCN2.js +0 -6
- package/dist/collection/vendor/calcite-components/YWM7TWVP.js +0 -6
- package/dist/collection/vendor/calcite-components/YZ3FOSUR.js +0 -6
- package/dist/collection/vendor/calcite-components/YZG67JHT.js +0 -6
- package/dist/collection/vendor/calcite-components/ZBSXA5F6.js +0 -6
- package/dist/collection/vendor/calcite-components/ZFAXCWF5.js +0 -6
- package/dist/collection/vendor/calcite-components/ZFKXMQJP.js +0 -6
- package/dist/collection/vendor/calcite-components/ZK7O524P.js +0 -6
- package/dist/collection/vendor/calcite-components/ZKNKPGVW.js +0 -6
- package/dist/collection/vendor/calcite-components/ZLFRGGT3.js +0 -6
- package/dist/esm/constants-637a40f5.js +0 -856
- package/dist/esm/downloadUtils-1179f077.js +0 -3217
- package/dist/esm/effects-d42ccf96.js +0 -81
- package/dist/esm/helpers-bd1ff401.js +0 -841
- package/dist/esm/index-c247b62b.js +0 -199
- package/dist/esm/index-df5db8e9.js +0 -1795
- package/dist/esm/index.es-6b399444.js +0 -11107
- package/dist/esm/loadModules-d5a25252.js +0 -21
- package/dist/esm/locale-4744c8a4.js +0 -938
- package/dist/esm/locale-7874c756.js +0 -155
- package/dist/esm/popupUtils-cfe51dfd.js +0 -119
- package/dist/esm/publicNotificationStore-9ec5e22a.js +0 -45
- package/dist/esm/solution-store-4c39c654.js +0 -1103
- package/dist/esm/utils-04fffcaf.js +0 -142
- package/dist/solutions-components/p-1d1d7e63.entry.js +0 -6
- package/dist/solutions-components/p-28858c2f.entry.js +0 -6
- package/dist/solutions-components/p-2a16aa29.entry.js +0 -6
- package/dist/solutions-components/p-30ea587b.entry.js +0 -6
- package/dist/solutions-components/p-318f5c87.entry.js +0 -6
- package/dist/solutions-components/p-3335285a.js +0 -21
- package/dist/solutions-components/p-33d03eb9.entry.js +0 -6
- package/dist/solutions-components/p-34b50565.entry.js +0 -6
- package/dist/solutions-components/p-37ae171f.entry.js +0 -6
- package/dist/solutions-components/p-37fe59a0.entry.js +0 -6
- package/dist/solutions-components/p-38814554.entry.js +0 -6
- package/dist/solutions-components/p-3f14b242.entry.js +0 -6
- package/dist/solutions-components/p-3f83917b.entry.js +0 -6
- package/dist/solutions-components/p-404cbf48.js +0 -36
- package/dist/solutions-components/p-4695cfab.js +0 -6
- package/dist/solutions-components/p-48242dd4.js +0 -61
- package/dist/solutions-components/p-4b98adf3.entry.js +0 -6
- package/dist/solutions-components/p-552fb1c0.entry.js +0 -6
- package/dist/solutions-components/p-6369b974.entry.js +0 -6
- package/dist/solutions-components/p-648b5a9e.js +0 -6
- package/dist/solutions-components/p-64a6162f.entry.js +0 -6
- package/dist/solutions-components/p-64f814dd.entry.js +0 -6
- package/dist/solutions-components/p-6f4e5c19.entry.js +0 -6
- package/dist/solutions-components/p-72d04c7a.entry.js +0 -11
- package/dist/solutions-components/p-7dc7d3dc.entry.js +0 -6
- package/dist/solutions-components/p-7dc95675.js +0 -6
- package/dist/solutions-components/p-80262cb7.js +0 -6
- package/dist/solutions-components/p-83ba1288.entry.js +0 -6
- package/dist/solutions-components/p-8585c128.entry.js +0 -6
- package/dist/solutions-components/p-8717729a.js +0 -6
- package/dist/solutions-components/p-8d281f47.js +0 -488
- package/dist/solutions-components/p-95d1c104.entry.js +0 -6
- package/dist/solutions-components/p-97f33e9f.js +0 -6
- package/dist/solutions-components/p-980d9473.entry.js +0 -6
- package/dist/solutions-components/p-9e3a40bc.entry.js +0 -6
- package/dist/solutions-components/p-b536e583.entry.js +0 -21
- package/dist/solutions-components/p-bc8d8128.entry.js +0 -6
- package/dist/solutions-components/p-be16bc80.entry.js +0 -6
- package/dist/solutions-components/p-c2e57b81.entry.js +0 -6
- package/dist/solutions-components/p-c50ff9f1.entry.js +0 -6
- package/dist/solutions-components/p-c9686e6c.entry.js +0 -6
- package/dist/solutions-components/p-d001e961.js +0 -6
- package/dist/solutions-components/p-d099573a.entry.js +0 -6
- package/dist/solutions-components/p-d1551601.entry.js +0 -6
- package/dist/solutions-components/p-d324196d.entry.js +0 -6
- package/dist/solutions-components/p-d59fb1a7.entry.js +0 -6
- package/dist/solutions-components/p-da1e098c.js +0 -129
- package/dist/solutions-components/p-dafc6680.entry.js +0 -6
- package/dist/solutions-components/p-dc704bc6.entry.js +0 -6
- package/dist/solutions-components/p-e3e35c14.entry.js +0 -6
- package/dist/solutions-components/p-e43c8944.entry.js +0 -21
- package/dist/solutions-components/p-e5cb329f.entry.js +0 -6
- package/dist/solutions-components/p-e6859850.js +0 -21
- package/dist/solutions-components/p-e996c38f.js +0 -7
- package/dist/solutions-components/p-ea09b078.entry.js +0 -6
- package/dist/solutions-components/p-ed443a0b.entry.js +0 -6
- package/dist/solutions-components/p-ee3bb943.entry.js +0 -6
- package/dist/solutions-components/p-f0b1b6f6.entry.js +0 -6
- package/dist/solutions-components/p-f9deadd7.entry.js +0 -6
- package/dist/solutions-components/p-fe9b2c74.entry.js +0 -6
- package/dist/solutions-components/p-ffe1e3a3.entry.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/2OHLWTVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/2YNPAPXX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3MV46GBB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3OQ2ZMWE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3VYZVKRG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3YAQ3WXL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3YMYDWGD.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/4BBHRHVO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/4Y32YCMF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/52M672S5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5DHYCNO3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5MCURGUM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5O6ZNC7G.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5RROROO5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5WC57GPQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5WSY45L7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5XKYFEBC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/66KPC4YV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/67MILQAM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/67YJME3J.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/6BG6DXGU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6J7J7RFI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6KJHPKLM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6LBWQVLS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6LOB5NKS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/74AHNYT6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/75LS6AUK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7AC4OZRT.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7CTQOYNN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7IMTQM3A.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7NNFVP5Y.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7PLH76D5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7SRUH72U.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7WIMMB52.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/A3TZO3T4.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/A4JSLISH.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/A77L2PAE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/AAJZVCOQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/AK7JTREX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/APJDJGRX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/B7XAXKYO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/B7YRQCNE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BAAOO7UE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BKJX2UVI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BMTT77MQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BMULWGQL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BOOD43TE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BT6BGDUQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/C4BI2I6X.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CARSEP6Y.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CARUWMRC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CGP5NAVZ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CHPU2ORW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CKCZ6NNQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CLWQ573O.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/COVTDEEB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CSDMYGZU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CSR5Q44Q.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CWDZ4NQP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/D7V3NS2J.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DHITRFFR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DL6GCZF7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DPLQUB7Z.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DQWJPC22.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DRM7BNH3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DWIP44NC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/E3RER5S3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ECWNOIEW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/EPKORG4B.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ERE76CER.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/EU5GIDX7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FB6NATRQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FHAIE7PW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FITCS5RA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FJUGYL5W.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FP5CKCOM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FQ6G6HKC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FQTOWUOI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FSBJYIK7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FUR5QRYV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FV5F4TOB.js +0 -30
- package/dist/solutions-components/vendor/calcite-components/GHRW2Z4J.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/GKLGNYAX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/GRGOLBJ6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/H2QNORW6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/H6JENZS2.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HE6ZJBOG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HEYQRNVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HJ7LTJIL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HUXUCABV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HVG3FNW6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/I5RDDH5E.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IGLINVEB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IH6XHUKC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IN4OTIGO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IOQ5NGFA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ITIJ42U7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ITILALYC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/J3NSY2Y7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/J4RAJYKF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/J6IGXQYQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JA2ML5I6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JOTIQZAS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JULIKI65.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JW6QBCWN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JWIQZFGO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/K4HQ6WGE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/K4OPLD7F.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/KHULIKKP.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/KRZMNBJS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/LDAXCWWP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/LMRFYM2J.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/LSUXEOMN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/M5BOCCQL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/M5XI6NNV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/M7MOBM7M.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MA2YIQZL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MBJAGWVS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MI3BWAKN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MOO4BCRV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MVHJMI6L.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MZRLL3GR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/N2FZGLE3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/N2UM5A2L.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NNL2N4OB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NP3SY2AL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NPYZ3JS7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NS47CSEP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NSL6XZ2B.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NW4BVBVD.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/O66NAEPJ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OA55VNGP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OHEBCS4O.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OI755RA3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OUC47AKY.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/PIOS7EUM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/PJPFKU6T.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/PJT7DMRY.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QDTRI7C7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QIG2J5PE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QO6KDHE7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QP3WP6XK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QRMUPTEN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QS2H5WWV.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/QSXIXUQG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/R4UWD64I.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/R6R2QDCZ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/R7BOWUQR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RBX4II3R.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RGXKBYDS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RIG4ZWVJ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RM7DO3WC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RM7JYDOG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RS3QB5Z6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RTNOQY3F.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RXFQEBLZ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/S72C3HDO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SCVHHYPP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SH3ZYF5Y.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SLRX7WEV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SQBCUXGV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SUMUVN3S.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SUOP4NP6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SV2NJMD7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/T5H4BCFU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/T5XJU6AI.js +0 -24
- package/dist/solutions-components/vendor/calcite-components/T6NZYTYO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TEFAP3AK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TEGL7RHQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TGH5IJQY.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TGYJTTJS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TITRCHWJ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TRYKNJDA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TYYR7NIL.js +0 -8
- package/dist/solutions-components/vendor/calcite-components/TZEZTECF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/U2E5SVFR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/U5VSHGIS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/U64XMC5X.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UK4SFYVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UKF62PNM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UOL6J47W.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UV7H22PE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UXOOSEIU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UXZ36VC5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UY67UAZN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VFBARPZ3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VGYCDODV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VHXHAFDO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VN2EAAQF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VOECRNMH.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VQRNTTAX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VVXJONZL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/W5CGAHOI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WA7LZURK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WAAS66H6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WAE55O4U.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WAXI7XKE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WEFAANMG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WH772PDM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/X43KWDQ7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/X5W76SNV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/X6IC7EBC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/XBYWX3OD.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/XIJN5ZXM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/XKQ2CMVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YBQG5R2L.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YHWNAASP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YMNUCKVA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YMR2Q5CU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YNGSTQ4R.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YP2D5DKM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YPRJFE6R.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YVIEKCN2.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YWM7TWVP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YZ3FOSUR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YZG67JHT.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZBSXA5F6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZFAXCWF5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZFKXMQJP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZK7O524P.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZKNKPGVW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZLFRGGT3.js +0 -6
@@ -0,0 +1,21 @@
|
|
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 t,r as e,h as i,H as n}from"./p-8c40bdec.js";import{g as r,a as s,b as o}from"./p-f6e81cf8.js";import{s as a}from"./p-1309ac58.js";import"./p-4f236b5d.js";import{g as h}from"./p-075979ef.js";import{r as c,N as u,c as l,e as f,A as d}from"./p-0668e30d.js";import"./p-80cb7c73.js";import"./p-570b13d9.js";import"./p-fa639501.js";import"./p-d4056c1c.js";import"./p-0a24ad5f.js";
|
7
|
+
/*! *****************************************************************************
|
8
|
+
Copyright (c) Microsoft Corporation.
|
9
|
+
|
10
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
11
|
+
purpose with or without fee is hereby granted.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
14
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
15
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
16
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
17
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
18
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
19
|
+
PERFORMANCE OF THIS SOFTWARE.
|
20
|
+
***************************************************************************** */
|
21
|
+
var p=function(){return p=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},p.apply(this,arguments)};function w(t,e){var i=e;return i.rawResponse=!1,c(t,i).then((function(t){var e={token:t.access_token,username:t.username,expires:new Date(Date.now()+(1e3*t.expires_in-1e3)),ssl:!0===t.ssl};return t.refresh_token&&(e.refreshToken=t.refresh_token),e}))}function m(t,e){var i=e;return i.params.referer="undefined"!=typeof window&&window.location&&window.location.host?window.location.host:u,c(t,i)}var g=/^https?:\/\/(\S+)\.arcgis\.com.+/;function v(t){return g.test(t)}function b(t){if(!g.test(t))return null;var e=t.match(g)[1].split(".").pop();return e.includes("dev")?"dev":e.includes("qa")?"qa":"production"}var k=function(){function t(t){if(this.clientId=t.clientId,this._refreshToken=t.refreshToken,this._refreshTokenExpires=t.refreshTokenExpires,this.username=t.username,this.password=t.password,this._token=t.token,this._tokenExpires=t.tokenExpires,this.portal=t.portal?l(t.portal):"https://www.arcgis.com/sharing/rest",this.ssl=t.ssl,this.provider=t.provider||"arcgis",this.tokenDuration=t.tokenDuration||20160,this.redirectUri=t.redirectUri,this.refreshTokenTTL=t.refreshTokenTTL||20160,this.server=t.server,this.federatedServers={},this.trustedDomains=[],t.server){var e=this.getServerRootUrl(t.server);this.federatedServers[e]={token:t.token,expires:t.tokenExpires}}this._pendingTokenRequests={}}return Object.defineProperty(t.prototype,"token",{get:function(){return this._token},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tokenExpires",{get:function(){return this._tokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshToken",{get:function(){return this._refreshToken},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshTokenExpires",{get:function(){return this._refreshTokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trustedServers",{get:function(){return console.log("DEPRECATED: use federatedServers instead"),this.federatedServers},enumerable:!1,configurable:!0}),t.beginOAuth2=function(e,i){void 0===i&&(i=window),e.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var n,r=p({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",state:e.clientId,locale:""},e),s=r.portal,o=r.provider,a=r.clientId,h=r.expiration,c=r.redirectUri,u=r.popup,l=r.popupWindowFeatures,w=r.state,m=r.locale,g=r.params;if(n="arcgis"===o?s+"/oauth2/authorize?client_id="+a+"&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m:s+"/oauth2/social/authorize?client_id="+a+"&socialLoginProviderName="+o+"&autoAccountCreateForSocial=true&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m,g&&(n=n+"&"+f(g)),u){var v,b=((v={promise:null,resolve:null,reject:null}).promise=new Promise((function(t,e){v.resolve=t,v.reject=e})),v);return i["__ESRI_REST_AUTH_HANDLER_"+a]=function(e,i){if(e){var n=JSON.parse(e);b.reject(new d(n.errorMessage,n.error))}else if(i){var r=JSON.parse(i);b.resolve(new t({clientId:a,portal:s,ssl:r.ssl,token:r.token,tokenExpires:new Date(r.expires),username:r.username}))}},i.open(n,"oauth-window",l),b.promise}i.location.href=n},t.completeOAuth2=function(e,i){void 0===i&&(i=window);var n=p({portal:"https://www.arcgis.com/sharing/rest",popup:!0},e),r=n.portal,s=n.clientId,o=n.popup;function a(e,n){try{var a=void 0,h="__ESRI_REST_AUTH_HANDLER_"+s;if(o&&(i.opener?i.opener.parent&&i.opener.parent[h]?a=i.opener.parent[h]:i.opener&&i.opener[h]&&(a=i.opener[h]):i!==i.parent&&i.parent&&i.parent[h]&&(a=i.parent[h]),a))return a(e?JSON.stringify(e):void 0,JSON.stringify(n)),void i.close()}catch(t){throw new d('Unable to complete authentication. It\'s possible you specified popup based oAuth2 but no handler from "beginOAuth2()" present. This generally happens because the "popup" option differs between "beginOAuth2()" and "completeOAuth2()".')}if(e)throw new d(e.errorMessage,e.error);return new t({clientId:s,portal:r,ssl:n.ssl,token:n.token,tokenExpires:n.expires,username:n.username})}var h=i.location.hash.replace(/^#/,"").split("&").reduce((function(t,e){var i=function(t){var e=t.split("="),i=e[1];return{key:decodeURIComponent(e[0]),value:decodeURIComponent(i)}}(e);return t[i.key]=i.value,t}),{});if(!h.access_token){var c=void 0,u="Unknown error";return h.error&&(c=h.error,u=h.error_description),a({error:c,errorMessage:u})}return a(void 0,{token:h.access_token,expires:new Date(Date.now()+1e3*parseInt(h.expires_in,10)-6e4),ssl:"true"===h.ssl,username:h.username})},t.fromParent=function(e,i){var n;return!i&&window&&(i=window),new Promise((function(r,s){i.addEventListener("message",n=function(e){if(e.source===i.parent&&e.data)try{return r(t.parentMessageHandler(e))}catch(t){return s(t)}},!1),i.parent.postMessage({type:"arcgis:auth:requestCredential"},e)})).then((function(t){return i.removeEventListener("message",n,!1),t}))},t.authorize=function(t,e){t.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var i=p({portal:"https://arcgis.com/sharing/rest",expiration:20160},t);e.writeHead(301,{Location:i.portal+"/oauth2/authorize?client_id="+i.clientId+"&expiration="+(t.duration||i.expiration)+"&response_type=code&redirect_uri="+encodeURIComponent(i.redirectUri)}),e.end()},t.exchangeAuthorizationCode=function(e,i){var n=p({portal:"https://www.arcgis.com/sharing/rest",refreshTokenTTL:20160},e),r=n.portal,s=n.clientId,o=n.redirectUri,a=n.refreshTokenTTL;return w(r+"/oauth2/token",{params:{grant_type:"authorization_code",client_id:s,redirect_uri:o,code:i}}).then((function(e){return new t({clientId:s,portal:r,ssl:e.ssl,redirectUri:o,refreshToken:e.refreshToken,refreshTokenTTL:a,refreshTokenExpires:new Date(Date.now()+60*(a-1)*1e3),token:e.token,tokenExpires:e.expires,username:e.username})}))},t.deserialize=function(e){var i=JSON.parse(e);return new t({clientId:i.clientId,refreshToken:i.refreshToken,refreshTokenExpires:new Date(i.refreshTokenExpires),username:i.username,password:i.password,token:i.token,tokenExpires:new Date(i.tokenExpires),portal:i.portal,ssl:i.ssl,tokenDuration:i.tokenDuration,redirectUri:i.redirectUri,refreshTokenTTL:i.refreshTokenTTL})},t.fromCredential=function(e){var i=void 0===e.ssl||e.ssl,n=e.expires||Date.now()+72e5;return new t({portal:e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest",ssl:i,token:e.token,username:e.userId,tokenExpires:new Date(n)})},t.parentMessageHandler=function(e){if("arcgis:auth:credential"===e.data.type)return t.fromCredential(e.data.credential);if("arcgis:auth:error"===e.data.type){var i=new Error(e.data.error.message);throw i.name=e.data.error.name,i}throw new Error("Unknown message type.")},t.prototype.toCredential=function(){return{expires:this.tokenExpires.getTime(),server:this.portal,ssl:this.ssl,token:this.token,userId:this.username}},t.prototype.getUser=function(t){var e=this;if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);var i=this.portal+"/community/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingUserRequest=c(i,n).then((function(t){return e._user=t,e._pendingUserRequest=null,t})),this._pendingUserRequest},t.prototype.getPortal=function(t){var e=this;if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);var i=this.portal+"/portals/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingPortalRequest=c(i,n).then((function(t){return e._portalInfo=t,e._pendingPortalRequest=null,t})),this._pendingPortalRequest},t.prototype.getUsername=function(){return this.username?Promise.resolve(this.username):this._user?Promise.resolve(this._user.username):this.getUser().then((function(t){return t.username}))},t.prototype.getToken=function(t,e){return n=t,r=v(i=this.portal),s=v(n),o=b(i),a=b(n),r&&s&&o===a||new RegExp(this.portal,"i").test(t)?this.getFreshToken(e):this.getTokenForServer(t,e);var i,n,r,s,o,a},t.prototype.validateAppAccess=function(t){return this.getToken(this.portal).then((function(e){return function(t,e,i){return void 0===i&&(i="https://www.arcgis.com/sharing/rest"),c(i+"/oauth2/validateAppAccess",{method:"POST",params:{f:"json",client_id:e,token:t}})}(e,t)}))},t.prototype.toJSON=function(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,refreshTokenTTL:this.refreshTokenTTL}},t.prototype.serialize=function(){return JSON.stringify(this)},t.prototype.enablePostMessageAuth=function(t,e){!e&&window&&(e=window),this._hostHandler=this.createPostMessageHandler(t),e.addEventListener("message",this._hostHandler,!1)},t.prototype.disablePostMessageAuth=function(t){!t&&window&&(t=window),t.removeEventListener("message",this._hostHandler,!1)},t.prototype.refreshSession=function(t){return this._user=null,this.username&&this.password?this.refreshWithUsernameAndPassword(t):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new d("Unable to refresh token."))},t.prototype.getServerRootUrl=function(t){var e=l(t).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/)[0].match(/(https?:\/\/)(.+)/),i=e[1],n=e[2].split("/"),r=n[0],s=n.slice(1);return""+i+r.toLowerCase()+"/"+s.join("/")},t.prototype.getDomainCredentials=function(t){return this.trustedDomains&&this.trustedDomains.length&&this.trustedDomains.some((function(e){return t.startsWith(e)}))?"include":"same-origin"},t.prototype.createPostMessageHandler=function(t){var e=this;return function(i){var n=t.indexOf(i.origin)>-1,r="arcgis:auth:requestCredential"===i.data.type,s=e.tokenExpires.getTime()>Date.now();if(n&&r){var o={};if(s){var a=e.toCredential();a.server=a.server.replace("/sharing/rest",""),o={type:"arcgis:auth:credential",credential:a}}else o={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Session token was expired, and not returned to the child application"}};i.source.postMessage(o,i.origin)}}},t.prototype.getTokenForServer=function(t,e){var i=this,n=this.getServerRootUrl(t),r=this.federatedServers[n];return r&&r.expires&&r.expires.getTime()>Date.now()?Promise.resolve(r.token):(this._pendingTokenRequests[n]||(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then((function(){return c(n+"/rest/info",{credentials:i.getDomainCredentials(t)}).then((function(r){if(r.owningSystemUrl){if(s=r.owningSystemUrl,o=l(function(t){if(!g.test(t))return t;switch(b(t)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}(i.portal)).replace(/https?:\/\//,""),a=l(s).replace(/https?:\/\//,""),new RegExp(a,"i").test(o))return c(r.owningSystemUrl+"/sharing/rest/info",e);throw new d(t+" is not federated with "+i.portal+".","NOT_FEDERATED")}var s,o,a;if(r.authInfo&&void 0!==i.federatedServers[n])return Promise.resolve({authInfo:r.authInfo});throw new d(t+" is not federated with any portal and is not explicitly trusted.","NOT_FEDERATED")})).then((function(t){return t.authInfo.tokenServicesUrl})).then((function(e){return i.token&&i.tokenExpires.getTime()>Date.now()?m(e,{params:{token:i.token,serverUrl:t,expiration:i.tokenDuration,client:"referer"}}):m(e,{params:{username:i.username,password:i.password,expiration:i.tokenDuration,client:"referer"}}).then((function(t){return i._token=t.token,i._tokenExpires=new Date(t.expires),t}))})).then((function(t){return i.federatedServers[n]={expires:new Date(t.expires),token:t.token},delete i._pendingTokenRequests[n],t.token}))}))),this._pendingTokenRequests[n])},t.prototype.getFreshToken=function(t){var e=this;return this.token&&!this.tokenExpires||this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshSession(t).then((function(t){return e._pendingTokenRequests[e.portal]=null,t.token}))),this._pendingTokenRequests[this.portal])},t.prototype.refreshWithUsernameAndPassword=function(t){var e=this,i=p({params:{username:this.username,password:this.password,expiration:this.tokenDuration}},t);return m(this.portal+"/generateToken",i).then((function(t){return e._token=t.token,e._tokenExpires=new Date(t.expires),e}))},t.prototype.refreshWithRefreshToken=function(t){var e=this;if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()<Date.now())return this.refreshRefreshToken(t);var i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e}))},t.prototype.refreshRefreshToken=function(t){var e=this,i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e._refreshToken=t.refreshToken,e._refreshTokenExpires=new Date(Date.now()+60*(e.refreshTokenTTL-1)*1e3),e}))},t.prototype.fetchAuthorizedDomains=function(){var t=this;return this.server||!this.portal?Promise.resolve(this):this.getPortal().then((function(e){return e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(t.trustedDomains=e.authorizedCrossOriginDomains.filter((function(t){return!t.startsWith("http://")})).map((function(t){return t.startsWith("https://")?t:"https://"+t}))),t}))},t}();const y=class{get el(){return t(this)}authentication=new k({});locale;serializedAuthentication="";async serializedAuthenticationWatchHandler(){this.authentication=this.serializedAuthentication?k.deserialize(this.serializedAuthentication):new k({})}solutionItemId="";async valueWatchHandler(){await this._loadSolution(this.solutionItemId)}showLoading=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}constructor(t){e(this,t),this.serializedAuthentication&&(this.authentication=k.deserialize(this.serializedAuthentication)),this._loadSolution(this.solutionItemId),window.addEventListener("solutionStoreHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges=t.detail,this._solutionEditorHasChanges,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges=t.detail,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasErrors",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges,this._solutionEditorHasErrors=t.detail)}))}async componentWillLoad(){return this._getTranslations()}render(){const t=a.getStoreInfo("spatialReferenceInfo"),e=a.getStoreInfo("featureServices").length>0,o=a.getStoreInfo("solutionData");return this._solutionVariables=JSON.stringify(r(o.templates,this._translations)),this._organizationVariables=JSON.stringify(s(this._translations)),i(n,{key:"f35438d2bb88a8d3bc41d33af02e2fe36e2471de"},this._solutionIsLoaded?null:i("calcite-loader",{label:""}),i("div",{key:"cb9773d8ab59089cde1de594960e0d978ec6b1fb",class:"configuration-container"},i("div",{key:"b72462547e2930c170552816ea6bd1640326e67e",class:"configuration"},i("calcite-tabs",{key:"4d2f673c9463a6ad40a64e9dd4ea7771be1658cf",class:"config-tabs"},i("calcite-tab-nav",{key:"850511fd6a627da0117e8b93451fe5da0ef7ad8c",slot:"tab-nav"},i("calcite-tab-title",{key:"8b3db2665846b1529c4fcd4829516b854705028b"},this._translations.definitionTab),e?i("calcite-tab-title",null,this._translations.spatialReferenceTab):null),i("calcite-tab",{key:"6298bbcc14066f2ffce75076718a5b802bc7dcb1",class:"config-tab",selected:!0},i("div",{key:"6876e11323dce264ead965243d476abff1e0d3f4",class:"config-solution"},i("div",{key:"011f8114fa18676728410ef45eccdec512c81f93",class:this._treeOpen?"config-inventory":"config-inventory-hide"},i("solution-contents",{id:"configInventory",key:`${this.solutionItemId}-contents`,ref:t=>this._solutionContentsComponent=t})),i("calcite-button",{key:"e38b67164540f2a0bd8aa7ceb19b1944e6c30a49",appearance:"transparent",class:"collapse-btn","icon-start":this._treeOpen?"chevrons-left":"chevrons-right",id:"collapse-vars",onClick:()=>this._toggleTree(),scale:"s",title:this._treeOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"26e352cfd8e3f701bac219afc10e8f33f22042c0",class:"config-item"},i("solution-item",{authentication:this.authentication,"item-id":this._currentEditItemId,key:`${this.solutionItemId}-item`,locale:this.locale,"organization-variables":this._organizationVariables,"solution-item-id":this.solutionItemId,"solution-variables":this._solutionVariables})))),e?i("calcite-tab",{class:"config-tab"},i("div",{class:"config-solution"},i("solution-spatial-ref",{enableDefault:!!t.default,enabled:t?.enabled,featureServices:a.getStoreInfo("featureServices").map((t=>t.name)),id:"configure-solution-spatial-ref",key:`${this.solutionItemId}-spatial-ref`,locale:this.locale}))):null))))}_currentEditItemId="";_organizationVariables="";_solutionContentsComponent;_solutionIsLoaded=!1;_solutionVariables="";_templateHierarchy=[];_translations;_treeOpen=!0;_solutionStoreHasChanges=!1;_solutionEditorHasChanges=!1;_solutionEditorHasErrors=!1;_canSave=!1;_solutionItemSelected(t){this._currentEditItemId=t.detail}async getSpatialReferenceInfo(){return Promise.resolve(a.getStoreInfo("spatialReferenceInfo"))}async saveSolution(){this._solutionIsLoaded=!1,await a.saveSolution(),this._solutionIsLoaded=!0,this.solutionItemId=null}async unloadSolution(){this.solutionItemId=null}_initProps(){const t=a.getStoreInfo("solutionData");let e;this._templateHierarchy=[...o(t.templates)],this._solutionContentsComponent&&(this._solutionContentsComponent.templateHierarchy=this._templateHierarchy),this._templateHierarchy.length>0&&(e=a.getItemInfo(this._templateHierarchy[0].id)),this._currentEditItemId=e?e.itemId:""}async _loadSolution(t){return t?(this._solutionIsLoaded=!1,await a.loadSolution(t,this.authentication),this._initProps(),this._solutionIsLoaded=!0):this._reset(),Promise.resolve()}_reset(){this._currentEditItemId="",this._organizationVariables="",this._solutionVariables="",this._templateHierarchy=[]}_toggleTree(){this._treeOpen=!this._treeOpen}_updateSaveability(t,e,i){const n=(t||e)&&!i;this._canSave!==n&&window.dispatchEvent(new CustomEvent("solutionCanSave",{detail:n,bubbles:!0,cancelable:!1,composed:!0})),this._canSave=n}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{serializedAuthentication:["serializedAuthenticationWatchHandler"],solutionItemId:["valueWatchHandler"],locale:["localeWatchHandler"]}}};y.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%}.config-solution{position:absolute;top:3.5rem;right:-1px;bottom:-1px;left:-1px;display:flex;padding:0.5rem}.config-inventory{display:inline;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-inventory-hide{display:none;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-item{position:relative;display:inline;flex-grow:1;overflow-y:auto;margin-inline-start:0.5rem}solution-contents{position:relative;height:100%}solution-item{position:relative;height:100%}solution-spatial-ref{position:relative;height:100%;width:100%;overflow-y:auto}";export{y as solution_configuration}
|
@@ -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 n,c as t,h as i,H as e,g as o}from"./p-8c40bdec.js";import{l as a}from"./p-08ad0b7a.js";import{g as s}from"./p-ea19f91b.js";import{g as r}from"./p-a9a72626.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const p="instant-apps-export calcite-mode-light",c="instant-apps-export-print",l="instant-apps-export-print__legend-container",d="instant-apps-export-print__compass-container",h="instant-apps-export-print__scale-bar-container",u="instant-apps-export-print__popup-container",v="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",x="instant-apps-export-print__view",b="instant-apps-export-print__view-container",g="instant-apps-export-print__views-container",f="instant-apps-export-print__view-wrapper",m="instant-apps-export-print__view-content",w="instant-apps-export-print__view-header",k=class{constructor(i){n(this,i),this.exportOutputUpdated=t(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(n){var t;n&&(null===(t=this.exportViews)||void 0===t||t.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);null!=i&&this.updateLegend(n,t,i)})))}watchView(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}async componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,s(this),await this.initializeModules()}componentDidLoad(){var n;this.printContainerEl.prepend(this.printEl),null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}componentDidUpdate(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);this.updateLegend(n,t,i)}))}async initializeModules(){const[n,t]=await a(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new n,this.reactiveUtils=t,Promise.resolve()}render(){const n="popover"===this.mode?this.renderPopover():this.renderPanel();return i(e,{key:"52f53735afba2085f45bdd8ba64e8e37b48318bb"},i("div",{key:"ac8fc3e66ccc5f9c27e25642bbe640c3fc8c7d33",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},n))}renderPopover(){var n,t,e;const o=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(n=this.messages)||void 0===n?void 0:n.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:n=>this.popoverEl=n},o),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(t=this.messages)||void 0===t?void 0:t.exportBtn,text:null===(e=this.messages)||void 0===e?void 0:e.exportBtn})]}renderPanel(){var n;const t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,o=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},t,e,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},null===(n=this.messages)||void 0===n?void 0:n.export),o)}renderSwitch(n,t){var e;const o=null!=t?t:null===(e=this.messages)||void 0===e?void 0:e[n];return i("calcite-label",{layout:"inline-space-between"},o,i("calcite-switch",{checked:this[n],value:n,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const n=this.showIncludeHeader?this.renderSwitch("includeHeader","Include header"):null,t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,e=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,n,t,e)}renderPrint(){var n;return i("div",{ref:n=>this.printContainerEl=n},i("div",{class:c,ref:n=>this.printEl=n},i("div",{class:g},null===(n=this.exportViews)||void 0===n?void 0:n.map((({title:n,view:t},e)=>{var o,a;const s=null===(a=null===(o=t.map)||void 0===o?void 0:o.portalItem)||void 0===a?void 0:a.id,r=this.includeMap?this.renderPrintMap(n,e):null,p=this.includeMap&&this.showIncludeLegend?this.renderLegend(e):null,c=this.includeMap&&this.showIncludePopup?this.renderPopup(e):null;return i("div",{key:s,id:`print-${e}`,class:m},r,p,c)})))))}renderPrintMap(n,t){return i("div",{id:`view-container-${t}`,class:b},i("div",{id:`view-wrapper-${t}`,class:f},this.includeHeader&&n?i("div",{class:w},i("h1",null,n)):null,i("img",{id:`view-${t}`,class:x}),i("div",{id:`scalebar-container-${t}`,class:h})))}renderLegend(n){return i("div",{id:`legend-${n}`,class:l})}renderCompass(n){return i("div",{id:`compass-${n}`,class:d})}renderPopup(n){return i("div",{id:`popup-${n}`,class:u},i("div",{id:`popup-title-${n}`,class:_}),i("div",{id:`popup-content-${n}`,class:v}))}optionOnChange(n){const{checked:t,value:i}=n.target;this[i]=t,this.updateExportOutput()}async exportOnClick(){var n;await this.beforeExport(),(null===(n=this.exportViews)||void 0===n?void 0:n.length)?(this.addPrintStyling(),document.body.prepend(this.printEl),this.exportViews.forEach((({view:n},t)=>{this.handleViewExportOnClick(n,t)})),this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(n,t){this.includeMap&&(this.updateScaleBar(n,t),this.updatePopupToPrint(n,t),this.viewScreenshot(n,t),this.handleLegendSetup(t))}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n instant-apps-header {\n height: 50px;\n display: block;\n }\n\n\n .instant-apps-export-print {\n z-index: -999;\n color: #323232 !important;\n display: grid;\n grid-auto-flow: row;\n --esri-calcite-mode-name: "light";\n position: absolute;\n }\n\n .instant-apps-export-print__view-header {\n background: #fff;\n }\n\n .instant-apps-export-print__view-header h1 {\n font-size: 16px;\n font-weight: 500;\n color: #323232;\n margin: 6px;\n }\n\n .instant-apps-export-print__views-container {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .instant-apps-export-print__view-content:first-child {\n page-break-before: unset;\n } \n\n .instant-apps-export-print__view-content {\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 32px;\n page-break-before: always;\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 100%;\n width: 100%;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: min-content;\n position: relative;\n display: flex;\n flex-direction: column;\n border: 2pt solid #323232;\n overflow: hidden;\n }\n\n .instant-apps-export-print__view {\n max-height: 60vh;\n max-width: calc(100vw - .25in);\n object-fit: contain;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 350px;\n display: none;\n color: #323232;\n background: #fff;\n border: 1pt solid #323232;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n background: #fff;\n overflow: unset;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 2pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 4px;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n width: 100%;\n position: absolute;\n bottom: 15px;\n margin: 0 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n font-size: 10px;\n padding: 0 4px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {\n height: 16px;\n overflow: hidden;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {\n bottom: 1px;\n }\n \n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {\n height: 10px;\n padding: 0 2px;\n line-height: 11px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n width: var(--instant-apps-scale-bar-top) !important;\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {\n width: var(--instant-apps-scale-bar-bottom) !important;\n border-top: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {\n position: unset;\n margin: 0 2px;\n background-color: rgba(255, 255, 255, 0.66);\n height: 10px;\n display: flex;\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}resetPrintContent(){}async updatePopupToPrint(n,t){var i,e;const o=this.printEl.querySelector(`#popup-${t}`);if(null!=o&&(o.style.display=this.includePopup&&n.popup.visible?"block":"none",this.checkPopupOpen(n,t)),n.popup.visible&&null!=n.popup.selectedFeature){const o=document.createElement(`h${null!==(i=n.popup.headingLevel)&&void 0!==i?i:2}`);o.innerHTML=null!==(e=n.popup.title)&&void 0!==e?e:"",o.className="esri-widget__heading esri-popup__header-title";const a=this.printEl.querySelector(`#popup-title-${t}`);null!=a&&(a.style.display=n.popup.title?"block":"none",a.innerHTML="",a.prepend(o))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){const n=document.title;window.print(),document.title=n,setTimeout((()=>{this.resetPrintContent()}),1e3)}handleLegendSetup(n){var t;const i=this.printEl.querySelector(`#legend-${n}`);if(this.showIncludeLegend&&this.includeMap&&i){const e=this.legends[n],o=null!=e&&(null===(t=e.activeLayerInfos)||void 0===t?void 0:t.length)>0;i.style.display=this.includeLegend&&o?"block":"none"}}handleWidgetCreation(){var n;this.includeMap&&(null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleLegendCreation(n,t)})))}handleIncludePopup(n,t){var i,e;if(this.showIncludePopup){const o=`includePopup-${t}`;null===(i=this.handles)||void 0===i||i.remove(o),null===(e=this.reactiveUtils)||void 0===e||e.whenOnce((()=>null==n?void 0:n.ready)).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t;return null===(t=null==n?void 0:n.popup)||void 0===t?void 0:t.visible}),(n=>{this.includePopup=n})),o)}))}}handleLegendCreation(n,t){var i,e,o,a;const s=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&null!=s){const r=n.map,p=this.legends[t],c=null===(i=null==p?void 0:p.view)||void 0===i?void 0:i.map;null!=(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)&&(null===(o=null==r?void 0:r.portalItem)||void 0===o?void 0:o.id)===(null===(a=null==c?void 0:c.portalItem)||void 0===a?void 0:a.id)||this.updateLegend(n,t,s)}}async updateLegend(n,t,i){null==n||n.when((async n=>{if(null==this.legends[t]&&null!=i){i.innerHTML="";const e=document.createElement("div");i.append(e);const[o]=await a(["esri/widgets/Legend"]);this.legends[t]=new o({id:`legend-widget-${t}`,container:e,view:n,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(n,t){var i,e,o;const a=this.compassContainerEl.querySelector(`#compass-${t}`);if(null!=a){const s=n.map,r=this.compasses[t],p=null===(i=null==r?void 0:r.view)||void 0===i?void 0:i.map;(null===(e=null==s?void 0:s.portalItem)||void 0===e?void 0:e.id)===(null===(o=null==p?void 0:p.portalItem)||void 0===o?void 0:o.id)||this.updateCompass(n,t,a)}}updateCompass(n,t,i){null==n||n.when((async n=>{const e=document.createElement("div");if(null==i)return;i.append(e);const[o]=await a(["esri/widgets/Compass"]);this.compasses[t]=new o({id:`compass-widget-${t}`,container:e,view:n})}))}updateScaleBar(n,t){const i=this.printEl.querySelector(`#scalebar-container-${t}`);if(i&&null!=n&&(i.innerHTML="",this.showScaleBar)){const t=n.ui.getComponents(),e=null==t?void 0:t.find((({container:n})=>{var t;return null===(t=null==n?void 0:n.className)||void 0===t?void 0:t.includes("esri-scale-bar")}));null!=(null==e?void 0:e.container)&&"string"!=typeof e.container&&i.append(e.container.cloneNode(!0))}}async viewScreenshot(n,t){if(this.includeMap){const i=this.printEl.querySelector(`#scalebar-container-${t}`);null==i||i.classList.toggle("instant-apps-export-print__scale-bar-container--position",n.width>1e3);const e=await n.takeScreenshot({width:2*n.width,height:2*n.height});this.handleScaleBarSize(n,e,i);const o=this.printEl.querySelector(`#view-${t}`);null!=e&&null!=o&&(o.src=e.dataUrl)}}checkPopupOpen(n,t){const i=n.popup.container,e=null==i?void 0:i.querySelector(".esri-popup .esri-feature__main-container");if(null!=e){const n=e.querySelectorAll("canvas"),i=this.printEl.querySelector(`#popup-content-${t}`);if(null==i)return;i.innerHTML="",i.append(e.cloneNode(!0));const o=i.querySelectorAll("canvas");n.forEach(((n,t)=>{var i;const e=n.toDataURL(),a=document.createElement("img");a.src=e;const s=n.getAttribute("style");s&&a.setAttribute("style",s);const r=o[t];null!=r&&(r.replaceWith(a),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(i=a.parentElement)||void 0===i?void 0:i.parentElement)&&(a.parentElement.style.background="#242424",a.parentElement.parentElement.style.background="#242424"))}))}}handleScaleBarSize(n,t,i){if(this.showScaleBar&&"2d"===(null==n?void 0:n.type)&&null!=i){const n=i.querySelector(".esri-scale-bar__line--top"),e=i.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,i,n,"top"),this.setScalebarWidth(t,i,e,"bottom")}}setScalebarWidth(n,t,i,e){if(null!=i&&null!=n){const o=n.data.width/2,a=Number(i.style.width.replace("px",""));null==t||t.style.setProperty(`--instant-apps-scale-bar-${e}`,a/o*100+"%")}}get el(){return o(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};k.style=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-export .calcite-mode-dark calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";export{k as instant_apps_export_views}
|
@@ -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 e,h as s}from"./p-8c40bdec.js";import{l as a,g as n}from"./p-075979ef.js";import{P as h}from"./p-21b280a8.js";import{g as l,c as r,h as o}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-3d7eeb2d.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-80cb7c73.js";const c=class{constructor(e){t(this,e),this.featureSelect=i(this,"featureSelect",7)}get el(){return e(this)}selectedLayerId;mapView;noFeaturesFoundMsg;pageSize=100;highlightOnMap=!1;highlightOnHover=!1;locale;sortingInfo;whereClause;textSize="large";showInitialLoading=!0;showErrorWhenNoFeatures=!0;showUserImageInList=!1;showFeatureSymbol=!1;applyLayerViewFilter=!1;reportingOptions;_featureItems=[];_featuresCount=0;_isLoading=!1;_translations;Color;esriConfig;symbolUtils;_popupUtils;_selectedLayer;_highlightHandle;_highlights;_pagination;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await l(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new h,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await l(this.mapView,this.selectedLayerId))}async componentDidLoad(){await this.initializeFeatureItems()}render(){return s("calcite-panel",{key:"6b6214a3dba7df7c2035203750d547945407ecde","full-height":!0,"full-width":!0},this._isLoading&&s("calcite-loader",{key:"1b05d96de0b4d396b13f448311db76315e28b81b",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&s("calcite-notice",{key:"abe755f0bc5c7ff064249159c3154c9ca1c27594",class:"error-msg",icon:"feature-details",kind:"info",open:!0},s("div",{key:"5a8ead1d47151cf088ae9e359052cf35129b09d3",slot:"message"},this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),s("calcite-list",{key:"cd7049462fb654dad0c4c05f127cf3e5d06bc5de",label:"","selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&s("div",{key:"b65b1f491800e489790d79054affc0ddcd089d1f",class:"width-full",slot:"footer"},s("calcite-pagination",{key:"280aa2b17c78f53a4f110f8dc021e630241ebbe0",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,e]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=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 r(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()};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}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}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),e=await r(this.mapView,this.selectedLayerId);this._highlightHandle=await o([i],e,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,e=i.createQuery();e.returnGeometry=!0,e.objectIds=[t.getObjectId()];const s=await i.queryFeatures(e);this.featureSelect.emit(s.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),e=await r(this.mapView,this.selectedLayerId);this._highlights&&(e.highlights=JSON.parse(this._highlights)),e.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(e.highlights),this._highlightHandle=e.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,e=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,s=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),n={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON()};e&&s&&(n.orderByFields=[e.toString()+" "+s]);const h=await i.queryFeatures(n);return await this.createFeatureItem(h)}async createFeatureItem(t){const i=t?.features,e=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,s=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let s,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(s=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),e&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,s)}));return Promise.all(s)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,e=this.reportingOptions[i.id].likeField;i.fields.forEach((s=>{if(this._validFieldTypes.indexOf(s.type)>-1&&s.name===e&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[e]||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,e,a){const n=t.attributes[this._selectedLayer.objectIdField].toString();i=i??n;const h=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),l="small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title",r=this.showUserImageInList||this.showFeatureSymbol?"feature-list-popup-title-padding-reduced":"feature-list-popup-title-padding";return s("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:n},this.showUserImageInList&&s("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&&s("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(e),slot:"content-start"}),s("div",{class:`${l} ${r}`,slot:"content-start"},i),this._likeFieldAvailable&&s("div",{class:"like-container",id:n.concat("like"),slot:"content-end"},s("span",null,this._abbreviatedLikeCount),s("calcite-icon",{icon:"thumbs-up",scale:"s"}),s("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":n.concat("like")},h)),s("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 e=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const s=this.mapView.map.portalItem.portal?.credential?.token;s&&(e+=`&token=${s}`);const a=await fetch(e),n=await a.json();let h=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${n?.username??t.attributes[i]}/info/blob.png`;return n?.access&&s&&(h+=`?token=${s}`),n.userProfileUrl=h,n}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")),e=Number(t.getAttribute("width"));e>30?t.setAttribute("width","30"):e<19&&t.setAttribute("width","20"),t.setAttribute("viewBox",`0 0 ${e} ${i}`)}}})),i}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"]}}};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-padding{padding:10px 12px}.feature-list-popup-title-padding-reduced{padding:10px 0}.profile-img{margin:0 0.75rem;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:3px 10px;min-width:30px;display:flex;justify-content:center}";export{c as feature_list}
|
@@ -0,0 +1,21 @@
|
|
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{_ as t}from"./p-3d7eeb2d.js";import{l as s}from"./p-075979ef.js";
|
7
|
+
/** @license
|
8
|
+
* Copyright 2022 Esri
|
9
|
+
*
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
* you may not use this file except in compliance with the License.
|
12
|
+
* You may obtain a copy of the License at
|
13
|
+
*
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
*
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
* See the License for the specific language governing permissions and
|
20
|
+
* limitations under the License.
|
21
|
+
*/class e{arcade;intl;async getPopupTitle(s,e){this.arcade||await this._initModules();let i={};for(const[t,e]of Object.entries(s.attributes))i={...i,[`{${t.toUpperCase()}}`]:e};const a=s.layer,o=this._removeTags(a?.popupTemplate?.title);if(o.includes("{expression/expr")&&null!=a?.popupTemplate?.expressionInfos)for(let t=0;t<a.popupTemplate?.expressionInfos.length;t++){const o=a.popupTemplate.expressionInfos[t],n=this.arcade.createArcadeProfile("popup");try{const t=await this.arcade.createArcadeExecutor(o.expression,n),r=await t.executeAsync({$feature:s,$layer:a,$map:e});null==r&&""===r||(i[`{expression/${o.name}}`.toUpperCase()]=r)}catch(t){console.error(t);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach((e=>{const o=s.attributes[e.name],n=a.popupTemplate.fieldInfos.find((t=>t.fieldName.toLowerCase()===e.name.toLowerCase())),r=t(o,e.type,e.domain,n?.format,this.intl);i[`{${e.name.toUpperCase()}}`]=r??o})),o?.replace(/{.*?}/g,(t=>null!=i[t.toUpperCase()]?i[t.toUpperCase()]:""))}_removeTags(t){return null==t||""===t?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){const[t,e]=await s(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=e}}export{e as P}
|
@@ -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 e,c as t,g as a,h as i,H as s}from"./p-8c40bdec.js";import{s as l}from"./p-1309ac58.js";import{g as c}from"./p-075979ef.js";import{n}from"./p-8850bd21.js";import{C as r,g as o}from"./p-80cb7c73.js";import"./p-fa639501.js";import"./p-4f236b5d.js";import"./p-d4056c1c.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-0a24ad5f.js";const h=class{constructor(a){e(this,a),this.solutionItemSelected=t(this,"solutionItemSelected",7)}get el(){return a(this)}selectedItemId;templateHierarchy=[];valueWatchHandler(e,t){e&&e!==t&&Array.isArray(e)&&e.length>0&&this._treeItemSelected(e[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return i(s,{key:"37e448ea1e2f90ba78d409253ac92443309fcb10"},i("calcite-tree",{key:"57eba99bbbabaf2b46817d1faab158b915ecd9a7"},this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(e){return e.map((e=>{const t=this.selectedItemId&&this.selectedItemId===e.id;return e.dependencies&&e.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},i("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),i("span",{class:"icon-text",title:e.title},e.title),i("calcite-tree",{slot:"children"},this.renderHierarchy(e.dependencies))):i("calcite-tree-item",{onClick:t=>this._treeItemSelected(e.id,t),selected:t},i("solution-item-icon",{type:e.type,typeKeywords:e.typeKeywords}),i("span",{class:"icon-text",title:e.title},e.title))}))}solutionItemSelected;_treeItemSelected(e,t){const a=t?.target?.closest("calcite-tree-item");a&&(a.expanded=!a?.expanded),this.selectedItemId=e,this.solutionItemSelected.emit(e)}static get assetsDirs(){return["item-type-icons"]}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};h.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const d=class{constructor(t){e(this,t)}get el(){return a(this)}authentication;itemId="";itemIdWatchHandler(){const e=l.getItemInfo(this.itemId);this.itemType=e.type}locale;solutionVariables="";organizationVariables="";async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"3985a0dbb1f383a629cb5dcbc7be3a3e58ee2c7f"},i("div",{key:"d75f55817d693dea817bfa2c5bdf17179aef115c",class:"configuration-container"},i("div",{key:"3a5ba206e78d1c7db76dd4329296a4c155573de0",class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}itemType;_translations;_showGroupTabs(e){return i("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},i("calcite-tab-nav",{slot:"tab-nav"},i("calcite-tab-title",null,this._translations.groupDetailsTab),i("calcite-tab-title",null,this._translations.sharingTab)),i("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},i("solution-item-details",{"item-id":this.itemId,locale:this.locale})),i("calcite-tab",{class:"config-tab",id:"share-tab"},i("solution-item-sharing",{"group-id":this.itemId,locale:this.locale})))}_showItemTabs(e){return i("calcite-tabs",{class:"config-tabs",style:{display:e?"inherit":"none"}},i("calcite-tab-nav",{slot:"tab-nav"},i("calcite-tab-title",null,this._translations.itemDetailsTab),i("calcite-tab-title",null,this._translations.dataTab),i("calcite-tab-title",null,this._translations.propertiesTab),i("calcite-tab-title",null,this._translations.resourcesTab)),i("calcite-tab",{class:"config-tab",selected:!0},i("solution-item-details",{"item-id":this.itemId,locale:this.locale})),i("calcite-tab",{class:"config-tab",id:"data-tab"},i("solution-template-data",{instanceid:"data","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),i("calcite-tab",{class:"config-tab",id:"props-tab"},i("solution-template-data",{instanceid:"properties","item-id":this.itemId,locale:this.locale,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),i("calcite-tab",{class:"config-tab",id:"resources-tab"},i("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId,locale:this.locale})))}async _getTranslations(){const e=await c(this.el);this._translations=e[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};d.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const b="3857",f=class{constructor(a){e(this,a),this.featureServiceSpatialReferenceChange=t(this,"featureServiceSpatialReferenceChange",7),this.enableDefaultSpatialReferenceChange=t(this,"enableDefaultSpatialReferenceChange",7),this.enabledSpatialReferenceChange=t(this,"enabledSpatialReferenceChange",7)}get el(){return a(this)}enabled=!1;enabledChanged(){this._handleSpatialRefParamChange()}enableDefault=!1;enableDefaultChanged(){this._handleDefaultSpatialRefParamChange()}featureServices=[];locale;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentWillLoad(){return this._updateUIFromStore(),this._getTranslations()}render(){return this._updateUIFromStore(),i(s,{key:"b137587cf67e4f3bd498166c2c482894dd94e66d"},i("label",{key:"728399a596edc07757ec9c34cfe149c8ae65da3f",class:"switch-label"},i("calcite-switch",{key:"bd3310bae9296b86bb0f77474d200c430b974196",checked:this.enabled,class:"spatial-ref-switch",onCalciteSwitchChange:e=>this.enabled=e.target.checked,scale:"m"}),this._translations.enableSpatialReference),i("br",{key:"7f247a248515aff35d96125e1813ca40d1935c07"}),i("div",{key:"a2415c6cbb9cca553544106b24bb7268c4ff5bd2",class:"spatial-ref-component",id:"spatialRefDefn"},this._renderFeatureServicesList(this.featureServices)),i("label",{key:"46fccf4ef6cb409d1a74f62832d7fabd9f88cf44",class:"switch-label spatial-ref-component"},i("calcite-switch",{key:"74e3afca88b1770421be663ec0075ade8faf7a64",checked:this.enableDefault,class:"spatial-ref-switch",disabled:!this.enabled,onCalciteSwitchChange:e=>this.enableDefault=e.target.checked,scale:"m"}),this._translations.enableDefaultSpatialReference))}_translations;featureServiceSpatialReferenceChange;enableDefaultSpatialReferenceChange;enabledSpatialReferenceChange;solutionStoreHasChanges(){this.featureServices=l.getStoreInfo("featureServices")}async _testAccess(e,t,a,i){switch(e){case"_parameterizeWkid":return Promise.resolve(this._parameterizeWkid(t));case"_unparameterizeWkid":return Promise.resolve(this._unparameterizeWkid(t))}return Promise.resolve(null)}_clearFeatureServiceDefaults(e){n(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((e=>e.checked=!1)),e.forEach((e=>this._updateEnabledServices({detail:{switched:!1}},e)))}_handleDefaultSpatialRefParamChange(){this._updateStore(),this.enableDefaultSpatialReferenceChange.emit({defaultWkid:this.enableDefault?b:""})}_handleSpatialRefParamChange(){this.enabled||(this.enableDefault=!1,this._clearFeatureServiceDefaults(this.featureServices)),this._updateStore(),this.enabledSpatialReferenceChange.emit({enabled:this.enabled})}_parameterizeWkid(e){return e?e.toString().startsWith(r)?e:`${r}${e}${o}`:e}_renderFeatureServicesList(e){const t=l.getStoreInfo("spatialReferenceInfo"),a=e.filter((e=>Object.keys(t.services).some((t=>t===e.id))));return a.length>0?i("div",null,i("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),i("ul",{class:"spatial-ref-services-list"},a.map((e=>i("li",{class:"spatial-ref-services-list-item"},i("label",{class:"switch-label"},i("calcite-switch",{checked:t.services[e.id],class:"spatial-ref-item-switch",disabled:!this.enabled,onCalciteSwitchChange:t=>this._updateEnabledServices(t,e),scale:"m"}),e.name)))))):null}_updateEnabledServices(e,t){const a=l.getStoreInfo("spatialReferenceInfo");a.services[t.id]=void 0!==e.detail?.switched?e.detail.switched:void 0===e.target?.checked||e.target.checked,l.setStoreInfo("spatialReferenceInfo",a),this._updateStore(),this.featureServiceSpatialReferenceChange.emit(t)}_unparameterizeWkid(e){return e&&e.toString().startsWith(r)?e.substring(r.length,e.length-o.length):e}_updateFeatureServices(e){e.enabled||Object.keys(e.services).forEach((t=>{e.services[t]=!1})),this.featureServices.forEach((t=>{t.enabled=e.services[t.id],t.wkid=t.enabled?this._parameterizeWkid(t.wkid):this._unparameterizeWkid(t.wkid)})),l.setStoreInfo("featureServices",this.featureServices)}_updateStore(){const e=l.getStoreInfo("spatialReferenceInfo");e.enabled=this.enabled,this.enabled&&this.enableDefault?e.default=b:e.hasOwnProperty("default")&&delete e.default,l.setStoreInfo("spatialReferenceInfo",e),this._updateFeatureServices(e)}_updateUIFromStore(){const e=l.getStoreInfo("spatialReferenceInfo");this.enabled=e.enabled,this.enableDefault=!!e.default,this.featureServices=l.getStoreInfo("featureServices")}async _getTranslations(){const e=await c(this.el);this._translations=e[0]}static get watchers(){return{enabled:["enabledChanged"],enableDefault:["enableDefaultChanged"],locale:["localeWatchHandler"]}}};f.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{font-size:0.875rem;line-height:1.25rem}.spatial-ref-services-list{margin-block-start:0.5em;margin-block-end:0.5em;list-style-type:none;padding-inline-start:2em}.spatial-ref-services-list-item{margin-top:0.25rem}";export{h as solution_contents,d as solution_item,f as solution_spatial_ref}
|
@@ -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{b as n}from"./p-ea19f91b.js";import{c as t}from"./p-fa639501.js";var e,l,a,o;!function(n){n.User="user",n.Translation="translation"}(e||(e={})),function(n){n.String="string",n.TextEditor="textEditor"}(l||(l={})),function(n){n.ExpandCollapse="list-merge",n.SettingIndicator="list-button",n.Popover="information",n.Expanded="chevron-down",n.Collapsed="chevron-right",n.Copy="copy-to-clipboard",n.Breadcrumb="chevron-right",n.DefaultIcon="language",n.Title="title",n.Subtitle="subheading",n.Text="text",n.Description="description",n.Button="button",n.String="string"}(a||(a={})),function(n){n.Light="calcite-mode-light",n.Dark="calcite-mode-dark"}(o||(o={}));const u=t({uiData:null,currentLanguage:null,lastSave:null,saving:!1,currentLocaleSettingItem:null,portalItemResource:null,portalItemResourceT9n:null}),c=u.state,i=u;function r(n,t){var e;if(!n)return;const l=i.get("uiData"),a=new Map;a.set("locales",t),a.set("translatedLanguageLabels",Object.assign({},n.translatedLanguageLabels)),n.content.forEach((n=>{var t,e;const{type:o,label:u,value:c,uiLocation:i}=n,r=null==l?void 0:l.get(n.id);a.set(n.id,{userLocaleData:{type:null!=o?o:null,label:null!=u?u:null,value:null!=c?c:null},expanded:!0,selected:null!==(t=null==r?void 0:r.selected)&&void 0!==t&&t,uiLocation:i,tip:null!==(e=null==n?void 0:n.tip)&&void 0!==e?e:null})}));const o=n.content.map((n=>n.id)),u=o.every((n=>!a.get(n).selected)),c=a.get(o[0]);if(u&&c){const n=null==l?void 0:l.get(o[0]);c.selected=null===(e=null==n?void 0:n.selected)||void 0===e||e}return a}async function s(t){return(await n(t))[0]}function d(){var n;const t=[];return null===(n=c.uiData)||void 0===n||n.forEach(((n,e)=>{"locales"!==e&&"translatedLanguageLabels"!==e&&t.push(e)})),t}function v(n,t){const e=i.get("portalItemResourceT9n");let l;return(null==e?void 0:e[n])||(e[n]={}),l=Object.assign(Object.assign({},e),{[n]:Object.assign(Object.assign({},e[n]),t)}),l}function p(n){var t;return null!==(t=null==n?void 0:n.map((n=>n.locale)))&&void 0!==t?t:[]}function f(){return document.body.classList.contains(o.Dark)}function g(){const n=document.createElement("style");n.innerHTML="\n .instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {\n margin-left: 30px !important;\n }\n",document.head.appendChild(n)}async function b(n){const t=i.get("portalItemResourceT9n"),e=Date.now();i.set("lastSave",e);const l=JSON.stringify(Object.assign(Object.assign({},t),{lastSave:e})),a=new Blob([l],{type:"application/json"});n.update(a)}export{a as E,r as a,p as b,d as c,l as d,f as e,o as f,s as g,e as h,g as i,v as j,c as l,i as s,b as u}
|
@@ -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-8c40bdec.js";import{g as o}from"./p-075979ef.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";import"./p-0a24ad5f.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"),z=C.bind(null,"toLowerCase");function L(t,n){void 0===n&&(n=!0);var e=function(t){return W(t)?D("null"):"object"==typeof t?function(t){return $(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?z(e):e}function U(t,n){return typeof n===t}var $=U.bind(null,"function"),R=U.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=L(new t(""));if(function(t){return t instanceof Error||R(t.message)&&t.constructor&&function(t){return"number"===L(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(L(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}U.bind(null,"undefined"),U.bind(null,"boolean"),U.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",zt="reducer",Lt="@@redux/",Ut=Lt+"INIT",$t=Lt+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(zt+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 "+zt);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:Ut}),Tt({dispatch:l,subscribe:f,getState:s,replaceReducer:function(t){if(At(t)!==Ct)throw new Error("next "+zt+Wt);r=t,l({type:Ut})}},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()||"?")+zt+" "+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 zn(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 Ln(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 Un(t,n,e){return n&&Ln(t.prototype,n),e&&Ln(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}var $n=Un((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 $n,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}),zn(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:Ut}))===Dt||At(e(void 0,{type:$t}))===Dt)throw new Error(zt+" "+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 z=Object.keys(u);D.dispatch({type:tn.bootstrap,plugins:z,config:N,params:w,user:b,initialUser:e,persistedUser:m});var L=z.filter((function(t){return r.pluginEnabled[t]})),U=z.filter((function(t){return!r.pluginEnabled[t]}));return D.dispatch({type:tn.registerPlugins,plugins:z,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:L,disabled:U})})),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 ze=Se(),Le=xe(),Ue=ge();function $e(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 ze&&Fe(t,Oe)}function He(t){return Ue&&Fe(t,pe)}function qe(t){return Le&&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:$e,removeItem:function(t,n){if(t){var e=Re(n),r=$e(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 $r(t)?Mr("null"):"object"==typeof t?function(t){return Lr(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?Cr(e):e}function zr(t,n){return typeof n===t}var Lr=zr.bind(null,"function"),Ur=zr.bind(null,"string");function $r(t){return null===t}function Rr(t,n){if("object"!=typeof n||$r(n))return!1;if(n instanceof t)return!0;var e=Dr(new t(""));if(function(t){return t instanceof Error||Ur(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))}}zr.bind(null,"undefined"),zr.bind(null,"boolean"),zr.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(Ur(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 Ur(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&&Lr(window[t])?(e=window[t],r=n,void 0===(i=window)&&(i=null),Lr(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 zi(){return Li.apply(this,arguments)}function Li(){return Li=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))&&(Ui(h,v),Ae(Ci))),p=$i(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",Ui(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",Ui(h,n));case 50:case"end":return t.stop()}}),t)}))),Li.apply(this,arguments)}function Ui(t,n){var e=Pi(t),r="string"==typeof n?n:JSON.stringify(n);return Ee(e,r),n}function $i(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,zi(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,zi(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);zi({},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)}get el(){return e(this)}amazonAppId;amazonAppName;amazonUserPoolID;amazonVersion;firstUseVar;locale;measurementIds;portal;_open;_translations;_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"},r("calcite-alert",{key:"93eaac2efe214be10c0b5a0ff511404e74861bd0",kind:"brand",label:this._translations.trackingAlertLabel,onCalciteAlertClose:()=>this._alertClosed(),open:this._open},r("div",{key:"791bf8851d3f7fd5cec537afcd369071127701a4",slot:"message"},this._translations.message),r("calcite-button",{key:"a3708023545b76ab30fc085d6de8c853a986a5a6",alignment:"center",appearance:"solid",kind:"brand",onClick:()=>this._accept(),scale:"m",slot:"actions-end",style:{margin:"auto"},type:"button"},this._translations.accept)))}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}
|