@esri/solutions-components 1.2.0-next.2 → 1.2.0-next.20
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/assets/config/appConfig.json.d.ts +1 -0
- package/dist/cdn/24NXLO23.js +4 -0
- package/dist/cdn/2A43GCOV.js +18 -0
- package/dist/cdn/2ALMQ2ZF.js +18 -0
- package/dist/cdn/2AZTXL4Y.js +18 -0
- package/dist/cdn/2CK7SB3E.js +4 -0
- package/dist/cdn/2E2FE2UD.js +4 -0
- package/dist/cdn/2I5JVFLV.js +4 -0
- package/dist/cdn/2KDPEGNM.js +4 -0
- package/dist/cdn/2KGL2KRL.js +4 -0
- package/dist/cdn/2LPVFJKJ.js +5 -0
- package/dist/cdn/2R7AUPQI.js +4 -0
- package/dist/cdn/2U37MMSW.js +18 -0
- package/dist/cdn/3C4ETSRM.js +4 -0
- package/dist/cdn/3D3RNQXF.js +4 -0
- package/dist/cdn/3J6DNKCB.js +4 -0
- package/dist/cdn/3JEP4BL5.js +4 -0
- package/dist/cdn/3JTKRUV2.js +4 -0
- package/dist/cdn/3RRAETYC.js +4 -0
- package/dist/cdn/3SE34IUW.js +18 -0
- package/dist/cdn/3SZISG5C.js +4 -0
- package/dist/cdn/3UHWOBFU.js +4 -0
- package/dist/cdn/3XMYR6AO.js +4 -0
- package/dist/cdn/44X6QKRO.js +4 -0
- package/dist/cdn/4EKEBZDH.js +82 -0
- package/dist/cdn/4H5JZV3N.js +4 -0
- package/dist/cdn/4KSQVRTW.js +9 -0
- package/dist/cdn/4KVLYOZL.js +4 -0
- package/dist/cdn/4L4Y76VM.js +4 -0
- package/dist/cdn/4VB4MJKS.js +4 -0
- package/dist/cdn/4W4KYXC7.js +18 -0
- package/dist/cdn/5BCHBBEG.js +4 -0
- package/dist/cdn/5CLHQWXO.js +18 -0
- package/dist/cdn/5FQDPXO7.js +4 -0
- package/dist/cdn/5GMJ5YD4.js +18 -0
- package/dist/cdn/5IY7QON3.js +4 -0
- package/dist/cdn/5JWBQM5X.js +4 -0
- package/dist/cdn/5K27OV6X.js +4 -0
- package/dist/cdn/5LCZHYVJ.js +4 -0
- package/dist/cdn/5Q45QLUW.js +4 -0
- package/dist/cdn/5RB6LGBC.js +4 -0
- package/dist/cdn/5UFQVWVZ.js +4 -0
- package/dist/cdn/5UKVAD54.js +4 -0
- package/dist/cdn/5VCN4HJU.js +5 -0
- package/dist/cdn/5Y5WZKXD.js +20 -0
- package/dist/cdn/62MLOWEA.js +4 -0
- package/dist/cdn/67PFFTBT.js +4 -0
- package/dist/cdn/6HKQWPJC.js +29 -0
- package/dist/cdn/6JLUJWH6.js +18 -0
- package/dist/cdn/6JWFKDA2.js +4 -0
- package/dist/cdn/6PHCJUDM.js +18 -0
- package/dist/cdn/6TG2EO2Z.js +4 -0
- package/dist/cdn/6TJU76R3.js +4 -0
- package/dist/cdn/6VXUORBY.js +4 -0
- package/dist/cdn/6WZU5A27.js +18 -0
- package/dist/cdn/6ZG44WOK.js +4 -0
- package/dist/cdn/73ILD7CJ.js +4 -0
- package/dist/cdn/7B2JUGRA.js +4 -0
- package/dist/cdn/7CGF4Q2X.js +4 -0
- package/dist/cdn/7GMOCOVS.js +4 -0
- package/dist/cdn/7JBU7L6F.js +18 -0
- package/dist/cdn/7KMYAWJ5.js +4 -0
- package/dist/cdn/7L3YSULP.js +18 -0
- package/dist/cdn/7M2CWJFQ.js +4 -0
- package/dist/cdn/7MLWYGOM.js +18 -0
- package/dist/cdn/7QNFIYHN.js +18 -0
- package/dist/cdn/7RFFTMJS.js +4 -0
- package/dist/cdn/7XIYLGPM.js +4 -0
- package/dist/cdn/A2NUNLI7.js +4 -0
- package/dist/cdn/A4BQL2K3.js +4 -0
- package/dist/cdn/A7N6WDBV.js +4 -0
- package/dist/cdn/A7TYO73E.js +4 -0
- package/dist/cdn/AA4EWK4C.js +18 -0
- package/dist/cdn/ABVF5BMO.js +4 -0
- package/dist/cdn/AFTQSX7I.js +4 -0
- package/dist/cdn/AHNRTMIR.js +4 -0
- package/dist/cdn/AKYZ7MV4.js +4 -0
- package/dist/cdn/ALEZMHWP.js +18 -0
- package/dist/cdn/AMM6V7TB.js +4 -0
- package/dist/cdn/AUEIJUOE.js +18 -0
- package/dist/cdn/AWYWTRXR.js +4 -0
- package/dist/cdn/B2WOMW43.js +4 -0
- package/dist/cdn/B53MK47Y.js +18 -0
- package/dist/cdn/BCVMTQ7X.js +18 -0
- package/dist/cdn/BFY7RHIE.js +18 -0
- package/dist/cdn/BHQ5RFLI.js +18 -0
- package/dist/cdn/BP2CHTVW.js +4 -0
- package/dist/cdn/BYHVLFM4.js +4 -0
- package/dist/cdn/BZ4SCSVK.js +4 -0
- package/dist/cdn/C2HOCMY5.js +4 -0
- package/dist/cdn/C2NWD2IM.js +4 -0
- package/dist/cdn/C3V5DJBO.js +19 -0
- package/dist/cdn/C3XGN444.js +4 -0
- package/dist/cdn/C6F4HO5U.js +4 -0
- package/dist/cdn/CA3G4QAA.js +4 -0
- package/dist/cdn/CBW6ZCMO.js +4 -0
- package/dist/cdn/CCSUXK4Q.js +4 -0
- package/dist/cdn/CDI76SS4.js +18 -0
- package/dist/cdn/CEDUDGY3.js +4 -0
- package/dist/cdn/CHWH5FGQ.js +4 -0
- package/dist/cdn/CKIAT6FZ.js +4 -0
- package/dist/cdn/CL2HUELG.js +4 -0
- package/dist/cdn/CNQYI77D.js +4 -0
- package/dist/cdn/CP4KQ5JU.js +4 -0
- package/dist/cdn/CRA26J6U.js +4 -0
- package/dist/cdn/CVPWFU5K.js +18 -0
- package/dist/cdn/D6U22V3H.js +4 -0
- package/dist/cdn/D7VLL243.js +18 -0
- package/dist/cdn/D7VNUZC6.js +4 -0
- package/dist/cdn/DEGZEHFA.js +18 -0
- package/dist/cdn/DFADPAZK.js +4 -0
- package/dist/cdn/DGGOQ3L4.js +6 -0
- package/dist/cdn/DMHPJDKF.js +4 -0
- package/dist/cdn/DMWBD2QY.js +4 -0
- package/dist/cdn/DOFGLV3C.js +18 -0
- package/dist/cdn/DPD4MWDN.js +4 -0
- package/dist/cdn/DTS4PRW6.js +4 -0
- package/dist/cdn/DZPWOUEC.js +4 -0
- package/dist/cdn/DZVV6CD7.js +4 -0
- package/dist/cdn/E3DHDSJM.js +4 -0
- package/dist/cdn/EA2CRCAW.js +4 -0
- package/dist/cdn/EDGKUXXH.js +4 -0
- package/dist/cdn/EJ6BXACD.js +4 -0
- package/dist/cdn/EL22VV3P.js +4 -0
- package/dist/cdn/EM3ALNIJ.js +4 -0
- package/dist/cdn/EMC4J76D.js +4 -0
- package/dist/cdn/ERJ3FGFF.js +4 -0
- package/dist/cdn/ET53ODBH.js +4 -0
- package/dist/cdn/F3N33DMK.js +4 -0
- package/dist/cdn/FDRN4UNS.js +4 -0
- package/dist/cdn/FDYQ2FKY.js +4 -0
- package/dist/cdn/FF3XYEI3.js +4 -0
- package/dist/cdn/FGMT2KHY.js +4 -0
- package/dist/cdn/FJUDCABT.js +18 -0
- package/dist/cdn/G2V4X4JH.js +4 -0
- package/dist/cdn/G577XEWY.js +4 -0
- package/dist/cdn/G7XF4ZJ4.js +18 -0
- package/dist/cdn/GEUPVEDN.js +4 -0
- package/dist/cdn/GKEQBFSS.js +18 -0
- package/dist/cdn/GKZFHOW2.js +4 -0
- package/dist/cdn/GLAVWPYD.js +4 -0
- package/dist/cdn/GLDIEU4P.js +4 -0
- package/dist/cdn/GMXSVE5F.js +4 -0
- package/dist/cdn/GUBSZEOJ.js +4 -0
- package/dist/cdn/GZ45JBXT.js +4 -0
- package/dist/cdn/HA4BRCZL.js +4 -0
- package/dist/cdn/HETCA2TC.js +4 -0
- package/dist/cdn/HGSRS4G7.js +4 -0
- package/dist/cdn/HJMB6XLQ.js +4 -0
- package/dist/cdn/HUP3H66T.js +4 -0
- package/dist/cdn/HVJNKZ76.js +18 -0
- package/dist/cdn/HWXHOMUP.js +4 -0
- package/dist/cdn/HYVUWU6M.js +4 -0
- package/dist/cdn/I3DKKF5F.js +4 -0
- package/dist/cdn/I3PEU4E4.js +4 -0
- package/dist/cdn/I4PXPOT7.js +4 -0
- package/dist/cdn/I5BUX6M6.js +4 -0
- package/dist/cdn/I6MYM6IJ.js +18 -0
- package/dist/cdn/I7DFBRAW.js +4 -0
- package/dist/cdn/I7PYIEVL.js +18 -0
- package/dist/cdn/IP5RAZNL.js +4 -0
- package/dist/cdn/IQ653RQE.js +4 -0
- package/dist/cdn/IW5AHPNH.js +18 -0
- package/dist/cdn/IWS4I3HA.js +4 -0
- package/dist/cdn/IXDDY2QM.js +4 -0
- package/dist/cdn/IXMHUULQ.js +25 -0
- package/dist/cdn/J27HWMOU.js +4 -0
- package/dist/cdn/J6IBYFB7.js +4 -0
- package/dist/cdn/JE7GMEC2.js +18 -0
- package/dist/cdn/JWKBLBHU.js +4 -0
- package/dist/cdn/K2RFNUWO.js +4 -0
- package/dist/cdn/K5R7D36H.js +4 -0
- package/dist/cdn/KCUSGNOT.js +4 -0
- package/dist/cdn/KHN6DAWC.js +4 -0
- package/dist/cdn/KHVQFIOO.js +4 -0
- package/dist/cdn/KI2VCUWI.js +4 -0
- package/dist/cdn/KIB3SJXC.js +4 -0
- package/dist/cdn/KLYMYJXG.js +4 -0
- package/dist/cdn/KM5ULZP3.js +18 -0
- package/dist/cdn/KUAZYP5Z.js +18 -0
- package/dist/cdn/KVXQDAG4.js +4 -0
- package/dist/cdn/KWTHKTQ3.js +4 -0
- package/dist/cdn/KX5726AR.js +4 -0
- package/dist/cdn/KYROOFA3.js +294 -0
- package/dist/cdn/L5IXOZ6K.js +4 -0
- package/dist/cdn/L5L3D2MP.js +4 -0
- package/dist/cdn/LA57LCMB.js +4 -0
- package/dist/cdn/LBN2RTAD.js +4 -0
- package/dist/cdn/LCJL63FQ.js +4 -0
- package/dist/cdn/LEJ63S6Y.js +4 -0
- package/dist/cdn/LEMWW4ED.js +4 -0
- package/dist/cdn/LHSOZNOH.js +4 -0
- package/dist/cdn/LIXADYN2.js +4 -0
- package/dist/cdn/LLCAUOLE.js +4 -0
- package/dist/cdn/LQHGJORU.js +4 -0
- package/dist/cdn/LSNSP3E4.js +4 -0
- package/dist/cdn/M2ZJDR4T.js +4 -0
- package/dist/cdn/M67UKJWV.js +4 -0
- package/dist/cdn/M7J53CH4.js +18 -0
- package/dist/cdn/MPEIFNG5.js +21 -0
- package/dist/cdn/MQ6QXIYX.js +4 -0
- package/dist/cdn/MQUYDV5R.js +4 -0
- package/dist/cdn/N4AIZVPV.js +4 -0
- package/dist/cdn/NF4TQGZG.js +18 -0
- package/dist/cdn/NFAELL2V.js +4 -0
- package/dist/cdn/NHSZXNZV.js +18 -0
- package/dist/cdn/NKYODIPR.js +18 -0
- package/dist/cdn/NL5HFA2J.js +4 -0
- package/dist/cdn/NMG2ID6N.js +4 -0
- package/dist/cdn/NMIFRQTZ.js +4 -0
- package/dist/cdn/NOPHLD4K.js +4 -0
- package/dist/cdn/NPAJ34CV.js +4 -0
- package/dist/cdn/NPOGRCJT.js +4 -0
- package/dist/cdn/NQHBEVOL.js +4 -0
- package/dist/cdn/NQP4W34S.js +8 -0
- package/dist/cdn/NUYH6NTK.js +4 -0
- package/dist/cdn/OJYHZLP5.js +18 -0
- package/dist/cdn/OK6VX227.js +19 -0
- package/dist/cdn/OKERLMQE.js +4 -0
- package/dist/cdn/OL22QE26.js +4 -0
- package/dist/cdn/OPR2BXKC.js +4 -0
- package/dist/cdn/OTUN2NKK.js +18 -0
- package/dist/cdn/OUD44QTO.js +4 -0
- package/dist/cdn/OX3SGCCQ.js +18 -0
- package/dist/cdn/P3BJE2HN.js +4 -0
- package/dist/cdn/PFGY7OJD.js +4 -0
- package/dist/cdn/PKJNXMVR.js +4 -0
- package/dist/cdn/PNIMBHES.js +4 -0
- package/dist/cdn/PSMIHRUH.js +4 -0
- package/dist/cdn/PTF4V2H4.js +4 -0
- package/dist/cdn/PXQKI3CA.js +4 -0
- package/dist/cdn/PYISYGHM.js +4 -0
- package/dist/cdn/Q5CNUDGT.js +4 -0
- package/dist/cdn/Q62F7PR4.js +4 -0
- package/dist/cdn/QCFLEL57.js +4 -0
- package/dist/cdn/QEIXC65L.js +4 -0
- package/dist/cdn/QFF7V4PQ.js +4 -0
- package/dist/cdn/QFJYWPYF.js +4 -0
- package/dist/cdn/QTFLAIE5.js +4 -0
- package/dist/cdn/QU42CF6F.js +18 -0
- package/dist/cdn/R4NHUKQL.js +18 -0
- package/dist/cdn/RBY4RRXS.js +4 -0
- package/dist/cdn/RCFLYQVH.js +4 -0
- package/dist/cdn/RCKQ7IME.js +18 -0
- package/dist/cdn/RFFJFE4V.js +4 -0
- package/dist/cdn/RGTERX4S.js +4 -0
- package/dist/cdn/RJBUFP4Z.js +4 -0
- package/dist/cdn/RLZYJMK2.js +4 -0
- package/dist/cdn/RT3O7MJA.js +18 -0
- package/dist/cdn/RXAFOSW5.js +4 -0
- package/dist/cdn/RYLMXGYK.js +4 -0
- package/dist/cdn/S6R6G6MM.js +4 -0
- package/dist/cdn/SCSYXJ7N.js +18 -0
- package/dist/cdn/SHFBCRKO.js +4 -0
- package/dist/cdn/SKNE6RLM.js +4 -0
- package/dist/cdn/SNAXFCRD.js +4 -0
- package/dist/cdn/SRGIOXPX.js +6 -0
- package/dist/cdn/ST3O4SWS.js +8 -0
- package/dist/cdn/SV5GS7VD.js +4 -0
- package/dist/cdn/SWAZYX4I.js +63 -0
- package/dist/cdn/T47XNO3L.js +4 -0
- package/dist/cdn/T4BKHW4Q.js +4 -0
- package/dist/cdn/T6EN2LQT.js +4 -0
- package/dist/cdn/TJBM3R6U.js +18 -0
- package/dist/cdn/TS3DBIH4.js +4 -0
- package/dist/cdn/TXQG7PH5.js +18 -0
- package/dist/cdn/TZ4JYL26.js +4 -0
- package/dist/cdn/UEBQNKZH.js +4 -0
- package/dist/cdn/UHDBPQAZ.js +4 -0
- package/dist/cdn/UI7FKZHS.js +4 -0
- package/dist/cdn/UMFU7KU2.js +4 -0
- package/dist/cdn/UNXBX2LJ.js +4 -0
- package/dist/cdn/UNXJMJFU.js +4 -0
- package/dist/cdn/UQHNT6NC.js +4 -0
- package/dist/cdn/USDRTL75.js +4 -0
- package/dist/cdn/UV3OCW2R.js +4 -0
- package/dist/cdn/UWAVF2GP.js +18 -0
- package/dist/cdn/V272SPSH.js +4 -0
- package/dist/cdn/V5XAPNIN.js +19 -0
- package/dist/cdn/VC3ONQSP.js +4 -0
- package/dist/cdn/VCA7V37B.js +4 -0
- package/dist/cdn/VEILQFP2.js +4 -0
- package/dist/cdn/VHUKKY5C.js +4 -0
- package/dist/cdn/VIKALXXD.js +4 -0
- package/dist/cdn/VKQSUS2D.js +18 -0
- package/dist/cdn/VLVHNMFY.js +4 -0
- package/dist/cdn/VMS64XK4.js +18 -0
- package/dist/cdn/VP76CX4U.js +18 -0
- package/dist/cdn/VRYNGE64.js +4 -0
- package/dist/cdn/VX7VTV2U.js +4 -0
- package/dist/cdn/VZ2AGJN5.js +4 -0
- package/dist/cdn/VZ4GI3Y5.js +4 -0
- package/dist/cdn/W6PJINLH.js +4 -0
- package/dist/cdn/W7I2RFAY.js +4 -0
- package/dist/cdn/WBZEJCYL.js +4 -0
- package/dist/cdn/WEUFVO6F.js +4 -0
- package/dist/cdn/WGNE3DPP.js +4 -0
- package/dist/cdn/WJAN6LLL.js +9 -0
- package/dist/cdn/WL5TY3AP.js +4 -0
- package/dist/cdn/WO3K4V6S.js +18 -0
- package/dist/cdn/WOC7MJRV.js +4 -0
- package/dist/cdn/WPCGB26M.js +18 -0
- package/dist/cdn/WPRUSW2K.js +4 -0
- package/dist/cdn/WS4XMXPD.js +4 -0
- package/dist/cdn/WTEOQ6IU.js +4 -0
- package/dist/cdn/WX2Q5L3D.js +18 -0
- package/dist/cdn/WX6CMXEK.js +4 -0
- package/dist/cdn/WXWPPR6B.js +89 -0
- package/dist/cdn/X3CQIPF3.js +18 -0
- package/dist/cdn/X4HZQF3T.js +4 -0
- package/dist/cdn/X7HNESXH.js +8 -0
- package/dist/cdn/XBNCRUBM.js +4 -0
- package/dist/cdn/XBVQ745C.js +18 -0
- package/dist/cdn/XHLRAGQ2.js +4 -0
- package/dist/cdn/XHXMDQDA.js +4 -0
- package/dist/cdn/XIEML7FT.js +18 -0
- package/dist/cdn/XLNL32C3.js +18 -0
- package/dist/cdn/XOT6KGWE.js +387 -0
- package/dist/cdn/XX4ZM5IC.js +4 -0
- package/dist/cdn/XY6XTEZB.js +4 -0
- package/dist/cdn/XYCXFP2Q.js +4 -0
- package/dist/cdn/Y5GTJ73V.js +4 -0
- package/dist/cdn/YESTJISJ.js +4 -0
- package/dist/cdn/YFSAZFMI.js +4 -0
- package/dist/cdn/YIFZSXOX.js +4 -0
- package/dist/cdn/YIXPGCUC.js +4 -0
- package/dist/cdn/YKBX525C.js +4 -0
- package/dist/cdn/YKPVSW3B.js +4 -0
- package/dist/cdn/YLYRRWJW.js +4 -0
- package/dist/cdn/YRBA2ZGR.js +4 -0
- package/dist/cdn/YTTUHU2O.js +4 -0
- package/dist/cdn/YWYPENHD.js +4 -0
- package/dist/cdn/Z2FUMODE.js +4 -0
- package/dist/cdn/Z2V2BGBO.js +4 -0
- package/dist/cdn/Z2XSUUH4.js +18 -0
- package/dist/cdn/Z3JRVSB5.js +4 -0
- package/dist/cdn/Z56HKANV.js +18 -0
- package/dist/cdn/ZE3EUHXG.js +4 -0
- package/dist/cdn/ZF2XHMQZ.js +4 -0
- package/dist/cdn/ZFAAOHYX.js +4 -0
- package/dist/cdn/ZFZ663TV.js +4 -0
- package/dist/cdn/ZIAGI22J.js +4 -0
- package/dist/cdn/ZUQRVCPO.js +18 -0
- package/dist/cdn/ZV5K3H2V.js +4 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -0
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solutions-resources/t9n/messages.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +14 -14
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +13 -10
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +30 -20
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +30 -25
- package/dist/chunks/interfaces.js +3 -3
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +96 -9
- package/dist/components/arcgis-solutions-assistant/customElement.js +1366 -60
- package/dist/components/arcgis-solutions-assistant/index.d.ts +4 -4
- package/dist/components/arcgis-solutions-assistant/index.js +4 -4
- package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +22 -0
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +3 -3
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +16 -16
- package/dist/components/map-card/customElement.js +14 -14
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +6 -0
- package/dist/components/map-layer-picker/customElement.js +25 -19
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +22 -19
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +3 -3
- package/dist/components/solution-deployed-card/customElement.d.ts +4 -5
- package/dist/components/solution-deployed-card/customElement.js +35 -34
- package/dist/components/solution-deployed-card/index.d.ts +0 -1
- package/dist/components/solution-deployed-card/index.js +0 -1
- package/dist/components/solution-deployed-card-panel/customElement.d.ts +40 -0
- package/dist/components/solution-deployed-card-panel/customElement.js +118 -0
- package/dist/components/solution-deployed-card-panel/index.d.ts +15 -0
- package/dist/components/solution-deployed-card-panel/index.js +15 -0
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +6 -6
- package/dist/components/solution-details-panel/customElement.js +72 -72
- package/dist/components/solution-details-panel/index.d.ts +1 -1
- package/dist/components/solution-details-panel/index.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
- package/dist/components/solution-item-accordion/customElement.js +13 -9
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.d.ts +37 -0
- package/dist/components/solution-resource-card/customElement.js +49 -0
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.d.ts +6 -2
- package/dist/components/solutions-all-panel/customElement.js +66 -50
- package/dist/components/solutions-all-panel/index.d.ts +1 -0
- package/dist/components/solutions-all-panel/index.js +1 -0
- package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
- package/dist/components/solutions-all-shell/customElement.js +38 -33
- package/dist/components/solutions-deploy-app/customElement.d.ts +3 -2
- package/dist/components/solutions-deploy-app/customElement.js +65 -58
- package/dist/components/solutions-deploy-app/index.d.ts +2 -1
- package/dist/components/solutions-deploy-app/index.js +2 -1
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +4 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +52 -29
- package/dist/components/solutions-deploy-app-nav/index.d.ts +5 -2
- package/dist/components/solutions-deploy-app-nav/index.js +5 -2
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.d.ts +4 -2
- package/dist/components/solutions-deployed-panel/customElement.js +45 -40
- package/dist/components/solutions-deployed-shell/customElement.js +11 -11
- package/dist/components/solutions-filter-panel/customElement.d.ts +12 -0
- package/dist/components/solutions-filter-panel/customElement.js +79 -62
- package/dist/components/solutions-filter-panel/index.d.ts +1 -0
- package/dist/components/solutions-filter-panel/index.js +1 -0
- package/dist/components/solutions-resource-panel/customElement.d.ts +17 -0
- package/dist/components/solutions-resource-panel/customElement.js +43 -0
- package/dist/components/solutions-resources/customElement.d.ts +7 -0
- package/dist/components/solutions-resources/customElement.js +105 -0
- package/dist/components/solutions-resources/index.d.ts +12 -0
- package/dist/components/solutions-resources/index.js +12 -0
- package/dist/components/solutions-resources-shell/customElement.d.ts +7 -0
- package/dist/components/solutions-resources-shell/customElement.js +43 -0
- package/dist/components/solutions-resources-shell/index.d.ts +5 -0
- package/dist/components/solutions-resources-shell/index.js +5 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +9 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.js +47 -37
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +2577 -2001
- package/dist/docs/docs.json +1566 -1028
- package/dist/docs/vscode.html-custom-data.json +143 -106
- package/dist/docs/web-types.json +460 -310
- package/dist/index.d.ts +89 -70
- package/dist/index.js +1 -1
- package/dist/loader.js +14 -14
- package/dist/types/lumina.d.ts +41 -35
- package/dist/types/preact.d.ts +46 -40
- package/dist/types/preact10.d.ts +51 -45
- package/dist/types/react.d.ts +51 -45
- package/dist/types/stencil.d.ts +41 -35
- package/dist/utils/cardsHelpers.d.ts +14 -0
- package/dist/utils/helpers.d.ts +8 -1
- package/dist/utils/interfaces.d.ts +43 -24
- package/package.json +2 -2
- package/dist/cdn/22BFHC2I.js +0 -4
- package/dist/cdn/22LLS6WR.js +0 -18
- package/dist/cdn/24C3TAJY.js +0 -4
- package/dist/cdn/24PILRZT.js +0 -4
- package/dist/cdn/26NSAUFX.js +0 -4
- package/dist/cdn/2AUDRMU3.js +0 -4
- package/dist/cdn/2BOM63KQ.js +0 -18
- package/dist/cdn/2FFHB27Z.js +0 -4
- package/dist/cdn/2IPTMHFY.js +0 -4
- package/dist/cdn/2JQUC3UP.js +0 -4
- package/dist/cdn/2KXRE3QQ.js +0 -4
- package/dist/cdn/2LK2MZZR.js +0 -4
- package/dist/cdn/2LLZMSJV.js +0 -4
- package/dist/cdn/2QP26HSW.js +0 -4
- package/dist/cdn/2RVVSM5J.js +0 -4
- package/dist/cdn/2ZUX4PI4.js +0 -4
- package/dist/cdn/32275IZ5.js +0 -4
- package/dist/cdn/327AKQNH.js +0 -18
- package/dist/cdn/32GCN42P.js +0 -4
- package/dist/cdn/35KI2UZP.js +0 -4
- package/dist/cdn/3AXQAZAI.js +0 -4
- package/dist/cdn/3ENATMAV.js +0 -4
- package/dist/cdn/3MGV3QJV.js +0 -4
- package/dist/cdn/3MON3AIB.js +0 -6
- package/dist/cdn/3NETFEHL.js +0 -18
- package/dist/cdn/3SH6IZWK.js +0 -4
- package/dist/cdn/3UMQAY7D.js +0 -4
- package/dist/cdn/3VJ5JQ7K.js +0 -4
- package/dist/cdn/3VXS23LI.js +0 -4
- package/dist/cdn/3YPL6RCD.js +0 -18
- package/dist/cdn/45ANCG22.js +0 -18
- package/dist/cdn/4CD2LCWF.js +0 -5
- package/dist/cdn/4J6A5LH5.js +0 -4
- package/dist/cdn/4JWTHCFT.js +0 -4
- package/dist/cdn/4NVR4X3L.js +0 -4
- package/dist/cdn/4UUIRHC6.js +0 -4
- package/dist/cdn/4XJKKLD3.js +0 -4
- package/dist/cdn/4XYYUSUA.js +0 -6
- package/dist/cdn/4YNKTXJZ.js +0 -4
- package/dist/cdn/53GNUN6U.js +0 -82
- package/dist/cdn/56QASSI7.js +0 -4
- package/dist/cdn/57S3EVKQ.js +0 -4
- package/dist/cdn/5CCXGSYJ.js +0 -4
- package/dist/cdn/5E2ADQM6.js +0 -18
- package/dist/cdn/5GQ6DHYL.js +0 -4
- package/dist/cdn/5GW6VGYE.js +0 -4
- package/dist/cdn/5HDW32N3.js +0 -4
- package/dist/cdn/5J7IGLEN.js +0 -4
- package/dist/cdn/5K2GKQME.js +0 -4
- package/dist/cdn/5LNUHS4F.js +0 -4
- package/dist/cdn/5T6EZRNO.js +0 -4
- package/dist/cdn/5WP2S2ZH.js +0 -4
- package/dist/cdn/62JXAZTH.js +0 -4
- package/dist/cdn/62NI5UX7.js +0 -4
- package/dist/cdn/62WGZZJQ.js +0 -4
- package/dist/cdn/63PHQLZJ.js +0 -4
- package/dist/cdn/64KPWKOZ.js +0 -4
- package/dist/cdn/67H5AKUO.js +0 -18
- package/dist/cdn/6FCQB3AG.js +0 -4
- package/dist/cdn/6GSFOGSD.js +0 -4
- package/dist/cdn/6M2T3Q2M.js +0 -4
- package/dist/cdn/6QHOYKEI.js +0 -18
- package/dist/cdn/6RJ3S2N4.js +0 -4
- package/dist/cdn/6RN2G5UX.js +0 -18
- package/dist/cdn/6Y4X3UOF.js +0 -4
- package/dist/cdn/73RE22QT.js +0 -4
- package/dist/cdn/7GJSEVPA.js +0 -4
- package/dist/cdn/7L7OMOMR.js +0 -4
- package/dist/cdn/7LML2KAO.js +0 -4
- package/dist/cdn/7M65VSDO.js +0 -4
- package/dist/cdn/7TVK2JZJ.js +0 -18
- package/dist/cdn/7UBRL7BT.js +0 -4
- package/dist/cdn/7XNXOLSM.js +0 -294
- package/dist/cdn/A2D7SAO5.js +0 -18
- package/dist/cdn/A54VVFMV.js +0 -4
- package/dist/cdn/AGNDZTZ6.js +0 -4
- package/dist/cdn/AMP4ZNCP.js +0 -18
- package/dist/cdn/AV64MW2C.js +0 -4
- package/dist/cdn/AZZRAFZ2.js +0 -4
- package/dist/cdn/B37JGOGF.js +0 -18
- package/dist/cdn/B5X7FR3W.js +0 -4
- package/dist/cdn/BBLEZ5WS.js +0 -18
- package/dist/cdn/BCPDT6MV.js +0 -4
- package/dist/cdn/BGMDKWE7.js +0 -4
- package/dist/cdn/BHXQ7QW6.js +0 -18
- package/dist/cdn/BJWPKYKV.js +0 -4
- package/dist/cdn/BL4KF37N.js +0 -18
- package/dist/cdn/BL7TUTFB.js +0 -4
- package/dist/cdn/BN34E5SA.js +0 -4
- package/dist/cdn/BPB3TNH6.js +0 -18
- package/dist/cdn/BS533JHX.js +0 -18
- package/dist/cdn/BSCXWZZC.js +0 -4
- package/dist/cdn/BTHNNVZX.js +0 -4
- package/dist/cdn/BVRRREAU.js +0 -18
- package/dist/cdn/C42K62PR.js +0 -18
- package/dist/cdn/C4GYOXKY.js +0 -4
- package/dist/cdn/C5FQOPJR.js +0 -4
- package/dist/cdn/CFB6TU6B.js +0 -4
- package/dist/cdn/CHPW5FJW.js +0 -4
- package/dist/cdn/CLIXTMET.js +0 -4
- package/dist/cdn/CPC2M7AK.js +0 -18
- package/dist/cdn/CRGYVR4L.js +0 -4
- package/dist/cdn/CUBFKAV6.js +0 -4
- package/dist/cdn/CXJUQMCV.js +0 -4
- package/dist/cdn/DDP5UCZA.js +0 -4
- package/dist/cdn/DH3SAWQO.js +0 -4
- package/dist/cdn/DKRHACVW.js +0 -4
- package/dist/cdn/DM633MDA.js +0 -18
- package/dist/cdn/DMECGLC4.js +0 -4
- package/dist/cdn/DMMMW2BR.js +0 -18
- package/dist/cdn/DMW55L65.js +0 -4
- package/dist/cdn/DXGUMM4O.js +0 -4
- package/dist/cdn/DZ76G2RX.js +0 -4
- package/dist/cdn/DZHVGBZB.js +0 -4
- package/dist/cdn/E4V5RLGM.js +0 -18
- package/dist/cdn/EALUH4BU.js +0 -4
- package/dist/cdn/EBKAKZZU.js +0 -18
- package/dist/cdn/ECKRAOTK.js +0 -4
- package/dist/cdn/ECVB7DM6.js +0 -4
- package/dist/cdn/EG2JBWTE.js +0 -4
- package/dist/cdn/EM5Z3TCD.js +0 -4
- package/dist/cdn/ENS7CZX3.js +0 -18
- package/dist/cdn/EWQ7E45G.js +0 -18
- package/dist/cdn/F23TKPQ3.js +0 -4
- package/dist/cdn/FDZWMY22.js +0 -4
- package/dist/cdn/FELH7PBD.js +0 -4
- package/dist/cdn/FGUX7O4N.js +0 -4
- package/dist/cdn/FHLHSJYN.js +0 -4
- package/dist/cdn/FJ5G5F6F.js +0 -18
- package/dist/cdn/FJYGYKU7.js +0 -4
- package/dist/cdn/FMF65JWL.js +0 -4
- package/dist/cdn/FNLWKSSH.js +0 -4
- package/dist/cdn/FTJZYC6F.js +0 -4
- package/dist/cdn/FUYHWE6S.js +0 -4
- package/dist/cdn/FYFIZWH7.js +0 -18
- package/dist/cdn/FYQALD4I.js +0 -4
- package/dist/cdn/FZW3ZZPU.js +0 -4
- package/dist/cdn/G5MR5SG5.js +0 -4
- package/dist/cdn/G7UTMYYA.js +0 -4
- package/dist/cdn/GA5KNLFJ.js +0 -4
- package/dist/cdn/GK4O6X2B.js +0 -4
- package/dist/cdn/GRC5KYBB.js +0 -4
- package/dist/cdn/GU3R45TN.js +0 -4
- package/dist/cdn/GYZWPVGD.js +0 -4
- package/dist/cdn/H7YFIIKJ.js +0 -18
- package/dist/cdn/HAYDHL6E.js +0 -8
- package/dist/cdn/HCEYPHXZ.js +0 -4
- package/dist/cdn/HJCGCJHG.js +0 -4
- package/dist/cdn/HKUMRXKS.js +0 -4
- package/dist/cdn/HN6L7MEZ.js +0 -4
- package/dist/cdn/HOCJSK24.js +0 -4
- package/dist/cdn/HR44MJZ4.js +0 -9
- package/dist/cdn/HSGU3NPM.js +0 -9
- package/dist/cdn/HV23NBKM.js +0 -4
- package/dist/cdn/HWBSZWSI.js +0 -25
- package/dist/cdn/I3IHBW4I.js +0 -4
- package/dist/cdn/I4E7TVY4.js +0 -18
- package/dist/cdn/I5X57Y6X.js +0 -4
- package/dist/cdn/IAMELUPG.js +0 -4
- package/dist/cdn/IBIR3MNF.js +0 -4
- package/dist/cdn/IGUMVL7J.js +0 -4
- package/dist/cdn/II4ZEXAJ.js +0 -4
- package/dist/cdn/IIBBHZ5N.js +0 -18
- package/dist/cdn/IN3OKM7F.js +0 -4
- package/dist/cdn/IPIW25QW.js +0 -4
- package/dist/cdn/ITIM5MBI.js +0 -4
- package/dist/cdn/IUWPOFEU.js +0 -4
- package/dist/cdn/IWN7UDRD.js +0 -4
- package/dist/cdn/J3AFQ2U2.js +0 -4
- package/dist/cdn/J5HRIE3W.js +0 -4
- package/dist/cdn/J5U3NOSX.js +0 -8
- package/dist/cdn/J6IINHXU.js +0 -4
- package/dist/cdn/JDDI6RWH.js +0 -18
- package/dist/cdn/JDMCVY5U.js +0 -4
- package/dist/cdn/JHPYHESZ.js +0 -4
- package/dist/cdn/JKVDTJCD.js +0 -4
- package/dist/cdn/JOOTU2MN.js +0 -4
- package/dist/cdn/JSMMX4OW.js +0 -4
- package/dist/cdn/JVHOB5XV.js +0 -18
- package/dist/cdn/JWXSAYHC.js +0 -4
- package/dist/cdn/JYKNVSA4.js +0 -4
- package/dist/cdn/JZ2AJ7NV.js +0 -4
- package/dist/cdn/K3ZT5FZ2.js +0 -4
- package/dist/cdn/K5U7ZHCS.js +0 -4
- package/dist/cdn/KCTOUFKC.js +0 -4
- package/dist/cdn/KJEGNTYQ.js +0 -4
- package/dist/cdn/KORLC5U7.js +0 -4
- package/dist/cdn/KQHBJ2QB.js +0 -4
- package/dist/cdn/KQM2NMJJ.js +0 -4
- package/dist/cdn/KSKZZDYX.js +0 -4
- package/dist/cdn/KURD67WP.js +0 -4
- package/dist/cdn/KVSY5222.js +0 -18
- package/dist/cdn/KXEXXT56.js +0 -18
- package/dist/cdn/KXKBIVFJ.js +0 -18
- package/dist/cdn/KYYMWKPV.js +0 -4
- package/dist/cdn/KZ2V3URW.js +0 -4
- package/dist/cdn/L2O6CXOR.js +0 -18
- package/dist/cdn/LA735BCX.js +0 -4
- package/dist/cdn/LETYH73H.js +0 -4
- package/dist/cdn/LNOZBYMZ.js +0 -4
- package/dist/cdn/LPJPNWKA.js +0 -18
- package/dist/cdn/LUKTYB6E.js +0 -18
- package/dist/cdn/LZIYOPAC.js +0 -4
- package/dist/cdn/LZUM3H4J.js +0 -4
- package/dist/cdn/M2TJWZ2F.js +0 -89
- package/dist/cdn/M46DOI6W.js +0 -4
- package/dist/cdn/MB2DM6NF.js +0 -4
- package/dist/cdn/MDL3GASV.js +0 -18
- package/dist/cdn/MEM675A5.js +0 -18
- package/dist/cdn/MGON4SLN.js +0 -4
- package/dist/cdn/MK3C2NWT.js +0 -18
- package/dist/cdn/MNBZZ6G3.js +0 -4
- package/dist/cdn/MOAD2WOZ.js +0 -4
- package/dist/cdn/MOKFQR6C.js +0 -19
- package/dist/cdn/MQDP5X2Y.js +0 -4
- package/dist/cdn/MQE2DTF5.js +0 -4
- package/dist/cdn/MTQRP42U.js +0 -4
- package/dist/cdn/MZFDMEQW.js +0 -4
- package/dist/cdn/NAFDFLKN.js +0 -4
- package/dist/cdn/NAWCG6BY.js +0 -4
- package/dist/cdn/NF5TB4T5.js +0 -4
- package/dist/cdn/NLWFERKV.js +0 -21
- package/dist/cdn/NM6FSLHS.js +0 -4
- package/dist/cdn/NNT3DJXP.js +0 -4
- package/dist/cdn/NR4TU43I.js +0 -18
- package/dist/cdn/NSJNK5YX.js +0 -4
- package/dist/cdn/NTN5IKQX.js +0 -4
- package/dist/cdn/NVBXPDWS.js +0 -4
- package/dist/cdn/NVOMEAQG.js +0 -5
- package/dist/cdn/NW5D2PXR.js +0 -4
- package/dist/cdn/NWAXN6PC.js +0 -4
- package/dist/cdn/NYH5N4UB.js +0 -4
- package/dist/cdn/O3ZWY3L2.js +0 -19
- package/dist/cdn/O6WPAEXC.js +0 -4
- package/dist/cdn/O7K2BTNK.js +0 -18
- package/dist/cdn/O7KVFY2I.js +0 -4
- package/dist/cdn/OFMGQCKQ.js +0 -4
- package/dist/cdn/OGKY3OCB.js +0 -8
- package/dist/cdn/OHBU7SZN.js +0 -4
- package/dist/cdn/OI7TKT4E.js +0 -18
- package/dist/cdn/OLVN3BUK.js +0 -4
- package/dist/cdn/OS2R7DZG.js +0 -18
- package/dist/cdn/OWSYDJWA.js +0 -18
- package/dist/cdn/OXW67XUN.js +0 -4
- package/dist/cdn/OY2ZL2MH.js +0 -4
- package/dist/cdn/P4SJ4TW3.js +0 -18
- package/dist/cdn/PCXV5WCW.js +0 -4
- package/dist/cdn/PDD2INCO.js +0 -18
- package/dist/cdn/PDM2TVRE.js +0 -4
- package/dist/cdn/PHK7ECEK.js +0 -4
- package/dist/cdn/PKW5U5JD.js +0 -4
- package/dist/cdn/PMVAYDID.js +0 -4
- package/dist/cdn/PTQNSUMQ.js +0 -4
- package/dist/cdn/PV3NKFWO.js +0 -385
- package/dist/cdn/Q4ILVP7M.js +0 -4
- package/dist/cdn/Q5JBWZWR.js +0 -4
- package/dist/cdn/Q63YUEPK.js +0 -4
- package/dist/cdn/QAQPOJT3.js +0 -4
- package/dist/cdn/QDOOFKZT.js +0 -4
- package/dist/cdn/QHDUDNQB.js +0 -4
- package/dist/cdn/QK7H3QEZ.js +0 -4
- package/dist/cdn/QLGVQPSP.js +0 -4
- package/dist/cdn/QT7SOK6K.js +0 -18
- package/dist/cdn/QTPWQXFC.js +0 -4
- package/dist/cdn/QVZEI2LS.js +0 -4
- package/dist/cdn/QWFYFDGT.js +0 -4
- package/dist/cdn/R3MDKVZV.js +0 -18
- package/dist/cdn/R5IZJTD3.js +0 -4
- package/dist/cdn/R5SUWIAX.js +0 -18
- package/dist/cdn/RHR64B37.js +0 -4
- package/dist/cdn/RQXTVQCL.js +0 -4
- package/dist/cdn/RR4VEAAE.js +0 -4
- package/dist/cdn/RWC6IC3I.js +0 -4
- package/dist/cdn/RY4AM746.js +0 -4
- package/dist/cdn/S6NACDB2.js +0 -4
- package/dist/cdn/SPZK2YXW.js +0 -4
- package/dist/cdn/SS3YAHMD.js +0 -4
- package/dist/cdn/T3RNILJN.js +0 -4
- package/dist/cdn/T5OCPOMY.js +0 -4
- package/dist/cdn/T5SK6ZJW.js +0 -4
- package/dist/cdn/TB2NFORT.js +0 -4
- package/dist/cdn/TCJAIPWL.js +0 -4
- package/dist/cdn/TCORLZCI.js +0 -4
- package/dist/cdn/TFT2UUZJ.js +0 -20
- package/dist/cdn/TJYHQJCY.js +0 -4
- package/dist/cdn/TMEKDW2G.js +0 -4
- package/dist/cdn/TMNFYXWD.js +0 -4
- package/dist/cdn/TMRDI3WC.js +0 -4
- package/dist/cdn/TTAAIUU3.js +0 -4
- package/dist/cdn/U2MIR3HL.js +0 -4
- package/dist/cdn/U3QZIS3C.js +0 -4
- package/dist/cdn/U3VTY66Y.js +0 -4
- package/dist/cdn/U5XUYD32.js +0 -4
- package/dist/cdn/UBTE3LJB.js +0 -4
- package/dist/cdn/UGI2HCBX.js +0 -18
- package/dist/cdn/ULELHCUW.js +0 -4
- package/dist/cdn/ULHGH3CX.js +0 -4
- package/dist/cdn/UNCK4FW5.js +0 -4
- package/dist/cdn/UQGQFHTP.js +0 -4
- package/dist/cdn/URMO7GLW.js +0 -4
- package/dist/cdn/USO4FEJS.js +0 -4
- package/dist/cdn/UVMWA227.js +0 -18
- package/dist/cdn/UXPF53LA.js +0 -4
- package/dist/cdn/UXZC7IGT.js +0 -4
- package/dist/cdn/V2II4COO.js +0 -4
- package/dist/cdn/V623WVLR.js +0 -4
- package/dist/cdn/V74LH3IK.js +0 -18
- package/dist/cdn/V7H6MEIS.js +0 -4
- package/dist/cdn/VFRHV2HY.js +0 -18
- package/dist/cdn/VLRXMBNG.js +0 -4
- package/dist/cdn/VPFAWHJS.js +0 -4
- package/dist/cdn/W45EDCYZ.js +0 -18
- package/dist/cdn/WBO3VKCK.js +0 -4
- package/dist/cdn/WDPM64EG.js +0 -4
- package/dist/cdn/WJKAHLIO.js +0 -29
- package/dist/cdn/WKQNA7HE.js +0 -4
- package/dist/cdn/WNLGN4CE.js +0 -4
- package/dist/cdn/WTU7JILZ.js +0 -4
- package/dist/cdn/WV4ZCFFT.js +0 -4
- package/dist/cdn/XFW3K5OF.js +0 -18
- package/dist/cdn/XFZNGT7C.js +0 -4
- package/dist/cdn/XINUYSXZ.js +0 -18
- package/dist/cdn/XLHINQDA.js +0 -4
- package/dist/cdn/XQYYFNOC.js +0 -4
- package/dist/cdn/XSERGQVD.js +0 -4
- package/dist/cdn/XUXRXNUV.js +0 -4
- package/dist/cdn/XWYN5XJT.js +0 -4
- package/dist/cdn/XYIEX7QB.js +0 -4
- package/dist/cdn/Y2YYJ66T.js +0 -18
- package/dist/cdn/Y7U5BQY2.js +0 -18
- package/dist/cdn/YFJ3R7UO.js +0 -18
- package/dist/cdn/YGKTKWJH.js +0 -18
- package/dist/cdn/YJUZZNM3.js +0 -4
- package/dist/cdn/YOCF54TS.js +0 -4
- package/dist/cdn/YODKEVX7.js +0 -4
- package/dist/cdn/Z7QQNFJ7.js +0 -4
- package/dist/cdn/ZG7Z2ZV5.js +0 -4
- package/dist/cdn/ZH5IG5IH.js +0 -19
- package/dist/cdn/ZJFAIID3.js +0 -4
- package/dist/cdn/ZN7CNQRT.js +0 -4
- package/dist/cdn/ZSPXSDH4.js +0 -4
- package/dist/cdn/ZTCFEMKZ.js +0 -4
- package/dist/cdn/ZYEOJZ6Z.js +0 -4
- package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-article-card/t9n/messages.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +0 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.json +0 -1
- package/dist/components/solution-article-card/customElement.d.ts +0 -37
- package/dist/components/solution-article-card/customElement.js +0 -49
- package/dist/components/solution-configure-dialog/customElement.d.ts +0 -30
- package/dist/components/solution-configure-dialog/customElement.js +0 -131
- package/dist/components/solution-configure-dialog/index.d.ts +0 -13
- package/dist/components/solution-configure-dialog/index.js +0 -13
- package/dist/components/solutions-article-panel/customElement.d.ts +0 -17
- package/dist/components/solutions-article-panel/customElement.js +0 -43
- package/dist/components/solutions-articles/customElement.d.ts +0 -7
- package/dist/components/solutions-articles/customElement.js +0 -79
- package/dist/components/solutions-articles/index.d.ts +0 -11
- package/dist/components/solutions-articles/index.js +0 -11
- package/dist/components/solutions-articles-shell/customElement.d.ts +0 -7
- package/dist/components/solutions-articles-shell/customElement.js +0 -43
- package/dist/components/solutions-articles-shell/index.d.ts +0 -5
- package/dist/components/solutions-articles-shell/index.js +0 -5
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-TW.json +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.d.ts +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.js +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.d.ts +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.js +0 -0
|
@@ -1,81 +1,1387 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { LitElement as
|
|
1
|
+
import { c as we } from "../../chunks/runtime.js";
|
|
2
|
+
import { ref as se } from "lit/directives/ref.js";
|
|
3
|
+
import { u as ve } from "../../chunks/useT9n.js";
|
|
4
|
+
import { LitElement as ye, createEvent as $e, nothing as O, safeClassMap as Se } from "@arcgis/lumina";
|
|
5
|
+
import { css as _e, html as k } from "lit";
|
|
6
|
+
import { unsafeHTML as Re } from "lit/directives/unsafe-html.js";
|
|
5
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
8
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
7
|
-
v1.2.0-next.
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
9
|
+
v1.2.0-next.20 */
|
|
10
|
+
const Te = _e`:host{display:block;height:100%}.display-flex-row{display:flex;flex-direction:row}.padding-left-10{padding-left:10px}.chat-container{display:flex;flex-direction:column;gap:0px;max-width:600px;height:75%;background-color:var(--calcite-color-foreground-3);padding:1px}.chat-container_expanded{display:flex;flex-direction:column;gap:0px;max-width:100%;height:95%;background-color:var(--calcite-color-background);border-radius:10px;padding:10px}.chat-panel{--calcite-panel-header-background-color: var(--calcite-color-brand);--calcite-panel-action-background-color: var(--calcite-color-brand);--calcite-panel-heading-text-color: var(--calcite-color-background);--calcite-dialog-min-size-y: 90vh;--calcite-dialog-max-size-y: 90vh}.chat-panel-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.chat-messages{display:flex;flex-direction:column;gap:20px;padding:4px;height:100%;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-brand);--calcite-card-border-color: var(--calcite-color-brand);color:var(--calcite-color-background);text-align:left}.system-message{align-self:flex-start;background:var(--calcite-color-foreground-2);border-radius:8px;max-width:90%;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3);text-align:left}.loader-message{align-self:flex-start;background:var(--calcite-color-foreground-3);border-radius:8px;--calcite-card-corner-radius: 8px;--calcite-card-background-color: var(--calcite-color-foreground-3);--calcite-card-border-color: var(--calcite-color-foreground-3)}.message-content{padding:0;font-size:14px}.message-content p:first-child{margin-top:0}.message-content img{max-width:100%;height:auto;display:block;object-fit:contain}.message-content-pad{padding-bottom:10px;font-size:14px}.message-content-summary{padding-bottom:14px}.message-content-alignment{display:flex;align-items:center;gap:var(--calcite-spacing-md);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}.padding-top-10{padding-top:10px}.padding-right-8{padding-right:8px}.chip-content{padding:5px 5px 5px 0}.chat-input{display:flex;flex-direction:row;flex-grow:1}.table-cell{--calcite-table-cell-background: var(--calcite-color-foreground-3)}.cursor-pointer{cursor:pointer}.notice-border-color{--temp-initial-brand: var(--calcite-color-brand)}.notice-border-color calcite-notice{--calcite-color-brand: #ddd;--calcite-icon-color: var(--temp-initial-brand)}.notice-border-color calcite-notice *{--calcite-color-brand: var(--temp-initial-brand)}.solution-card{padding:5px 0;text-decoration:none;display:block;width:100%;cursor:pointer}.solution-card calcite-card{display:flex;flex-direction:column;max-height:132px;overflow:hidden;--calcite-card-corner-radius: var(--calcite-corner-radius-round) !important;--calcite-card-shadow: var(--calcite-shadow-sm);--calcite-card-background-color: var(--calcite-card-background-color) }.solution-card div[slot=thumbnail]{max-height:100%;width:100%;position:relative;&:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;transition:all .15s ease-in-out}}.solution-card div[slot=thumbnail] img{max-height:100%;width:100%;object-fit:cover}.solution-card span[slot=description]{padding-top:10px}.solution-card calcite-chip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;opacity:0;transition:all .15s ease-in-out;z-index:9999}.solution-card:hover calcite-chip{visibility:visible;opacity:1}.solution-card:hover div[slot=thumbnail]:after{background-color:#00000080}.solution-card:hover h3{text-decoration:underline}.references-container{padding-top:10px;display:block}.references-container.collapsed{display:none}.width-100{width:100%}.disclaimer-div{display:flex;gap:var(--calcite-spacing-sm);font-size:var(--calcite-font-size--0);color:var(--calcite-color-text-1)}.height-32-flex-auto{height:32px;flex:0 0 auto}`;
|
|
11
|
+
/**
|
|
12
|
+
* @license
|
|
13
|
+
* Copyright 2025 Esri
|
|
14
|
+
*
|
|
15
|
+
* Licensed under the Apache License, Version 2.0 (the 'License');
|
|
16
|
+
* you may not use this file except in compliance with the License.
|
|
17
|
+
* You may obtain a copy of the License at
|
|
18
|
+
*
|
|
19
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
20
|
+
*
|
|
21
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
22
|
+
* distributed under the License is distributed on an 'AS IS' BASIS,
|
|
23
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
24
|
+
* See the License for the specific language governing permissions and
|
|
25
|
+
* limitations under the License.
|
|
26
|
+
*/
|
|
27
|
+
const Ie = "https://www.arcgis.com/sharing/rest/content/items/";
|
|
28
|
+
async function Ae(n) {
|
|
29
|
+
return await ze(n);
|
|
30
|
+
}
|
|
31
|
+
async function ze(n) {
|
|
32
|
+
const e = Ie + n + "?f=json";
|
|
33
|
+
try {
|
|
34
|
+
const s = await fetch(
|
|
35
|
+
e,
|
|
36
|
+
{ method: "GET" }
|
|
37
|
+
);
|
|
38
|
+
if (!s.ok)
|
|
39
|
+
throw new Error(`HTTP error! Status: ${s.status}`);
|
|
40
|
+
return await s.json();
|
|
41
|
+
} catch (s) {
|
|
42
|
+
return { error: s.message };
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function U() {
|
|
46
|
+
return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
|
|
47
|
+
}
|
|
48
|
+
var S = U();
|
|
49
|
+
function oe(n) {
|
|
50
|
+
S = n;
|
|
51
|
+
}
|
|
52
|
+
var A = { exec: () => null };
|
|
53
|
+
function u(n, e = "") {
|
|
54
|
+
let s = typeof n == "string" ? n : n.source, r = { replace: (t, a) => {
|
|
55
|
+
let i = typeof a == "string" ? a : a.source;
|
|
56
|
+
return i = i.replace(x.caret, "$1"), s = s.replace(t, i), r;
|
|
57
|
+
}, getRegex: () => new RegExp(s, e) };
|
|
58
|
+
return r;
|
|
59
|
+
}
|
|
60
|
+
var x = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (n) => new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}#`), htmlBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}<(?:[a-z].*>|!--)`, "i") }, Ce = /^(?:[ \t]*(?:\n|$))+/, qe = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Le = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, z = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ee = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, j = /(?:[*+-]|\d{1,9}[.)])/, ce = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, he = u(ce).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Me = u(ce).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), F = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pe = /^[^\n]+/, G = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Be = u(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", G).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Qe = u(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, j).getRegex(), M = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", H = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Oe = u("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", H).replace("tag", M).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ue = u(F).replace("hr", z).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", M).getRegex(), Ze = u(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ue).getRegex(), K = { blockquote: Ze, code: qe, def: Be, fences: Le, heading: Ee, hr: z, html: Oe, lheading: he, list: Qe, newline: Ce, paragraph: ue, table: A, text: Pe }, ne = u("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", z).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", M).getRegex(), De = { ...K, lheading: Me, table: ne, paragraph: u(F).replace("hr", z).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ne).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", M).getRegex() }, Ne = { ...K, html: u(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", H).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: A, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: u(F).replace("hr", z).replace("heading", ` *#{1,6} *[^
|
|
61
|
+
]`).replace("lheading", he).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Ue = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, je = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, pe = /^( {2,}|\\)\n(?!\s*$)/, Fe = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, P = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, de = /[^\s\p{P}\p{S}]/u, Ge = u(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), ge = /(?!~)[\p{P}\p{S}]/u, He = /(?!~)[\s\p{P}\p{S}]/u, Ke = /(?:[^\s\p{P}\p{S}]|~)/u, We = /\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g, fe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Xe = u(fe, "u").replace(/punct/g, P).getRegex(), Je = u(fe, "u").replace(/punct/g, ge).getRegex(), ke = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ve = u(ke, "gu").replace(/notPunctSpace/g, de).replace(/punctSpace/g, W).replace(/punct/g, P).getRegex(), Ye = u(ke, "gu").replace(/notPunctSpace/g, Ke).replace(/punctSpace/g, He).replace(/punct/g, ge).getRegex(), et = u("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, de).replace(/punctSpace/g, W).replace(/punct/g, P).getRegex(), tt = u(/\\(punct)/, "gu").replace(/punct/g, P).getRegex(), st = u(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), nt = u(H).replace("(?:-->|$)", "-->").getRegex(), rt = u("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", nt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/, it = u(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), me = u(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", G).getRegex(), xe = u(/^!?\[(ref)\](?:\[\])?/).replace("ref", G).getRegex(), at = u("reflink|nolink(?!\\()", "g").replace("reflink", me).replace("nolink", xe).getRegex(), X = { _backpedal: A, anyPunctuation: tt, autolink: st, blockSkip: We, br: pe, code: je, del: A, emStrongLDelim: Xe, emStrongRDelimAst: Ve, emStrongRDelimUnd: et, escape: Ue, link: it, nolink: xe, punctuation: Ge, reflink: me, reflinkSearch: at, tag: rt, text: Fe, url: A }, lt = { ...X, link: u(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: u(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, Z = { ...X, emStrongRDelimAst: Ye, emStrongLDelim: Je, url: u(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/ }, ot = { ...Z, br: u(pe).replace("{2,}", "*").getRegex(), text: u(Z.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, C = { normal: K, gfm: De, pedantic: Ne }, R = { normal: X, gfm: Z, breaks: ot, pedantic: lt }, ct = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, re = (n) => ct[n];
|
|
62
|
+
function w(n, e) {
|
|
63
|
+
if (e) {
|
|
64
|
+
if (x.escapeTest.test(n)) return n.replace(x.escapeReplace, re);
|
|
65
|
+
} else if (x.escapeTestNoEncode.test(n)) return n.replace(x.escapeReplaceNoEncode, re);
|
|
66
|
+
return n;
|
|
67
|
+
}
|
|
68
|
+
function ie(n) {
|
|
69
|
+
try {
|
|
70
|
+
n = encodeURI(n).replace(x.percentDecode, "%");
|
|
71
|
+
} catch {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return n;
|
|
75
|
+
}
|
|
76
|
+
function ae(n, e) {
|
|
77
|
+
let s = n.replace(x.findPipe, (a, i, l) => {
|
|
78
|
+
let o = !1, c = i;
|
|
79
|
+
for (; --c >= 0 && l[c] === "\\"; ) o = !o;
|
|
80
|
+
return o ? "|" : " |";
|
|
81
|
+
}), r = s.split(x.splitPipe), t = 0;
|
|
82
|
+
if (r[0].trim() || r.shift(), r.length > 0 && !r.at(-1)?.trim() && r.pop(), e) if (r.length > e) r.splice(e);
|
|
83
|
+
else for (; r.length < e; ) r.push("");
|
|
84
|
+
for (; t < r.length; t++) r[t] = r[t].trim().replace(x.slashPipe, "|");
|
|
85
|
+
return r;
|
|
86
|
+
}
|
|
87
|
+
function T(n, e, s) {
|
|
88
|
+
let r = n.length;
|
|
89
|
+
if (r === 0) return "";
|
|
90
|
+
let t = 0;
|
|
91
|
+
for (; t < r && n.charAt(r - t - 1) === e; )
|
|
92
|
+
t++;
|
|
93
|
+
return n.slice(0, r - t);
|
|
94
|
+
}
|
|
95
|
+
function ht(n, e) {
|
|
96
|
+
if (n.indexOf(e[1]) === -1) return -1;
|
|
97
|
+
let s = 0;
|
|
98
|
+
for (let r = 0; r < n.length; r++) if (n[r] === "\\") r++;
|
|
99
|
+
else if (n[r] === e[0]) s++;
|
|
100
|
+
else if (n[r] === e[1] && (s--, s < 0)) return r;
|
|
101
|
+
return s > 0 ? -2 : -1;
|
|
102
|
+
}
|
|
103
|
+
function le(n, e, s, r, t) {
|
|
104
|
+
let a = e.href, i = e.title || null, l = n[1].replace(t.other.outputLinkReplace, "$1");
|
|
105
|
+
r.state.inLink = !0;
|
|
106
|
+
let o = { type: n[0].charAt(0) === "!" ? "image" : "link", raw: s, href: a, title: i, text: l, tokens: r.inlineTokens(l) };
|
|
107
|
+
return r.state.inLink = !1, o;
|
|
108
|
+
}
|
|
109
|
+
function ut(n, e, s) {
|
|
110
|
+
let r = n.match(s.other.indentCodeCompensation);
|
|
111
|
+
if (r === null) return e;
|
|
112
|
+
let t = r[1];
|
|
113
|
+
return e.split(`
|
|
114
|
+
`).map((a) => {
|
|
115
|
+
let i = a.match(s.other.beginningSpace);
|
|
116
|
+
if (i === null) return a;
|
|
117
|
+
let [l] = i;
|
|
118
|
+
return l.length >= t.length ? a.slice(t.length) : a;
|
|
119
|
+
}).join(`
|
|
120
|
+
`);
|
|
121
|
+
}
|
|
122
|
+
var L = class {
|
|
123
|
+
options;
|
|
124
|
+
rules;
|
|
125
|
+
lexer;
|
|
126
|
+
constructor(n) {
|
|
127
|
+
this.options = n || S;
|
|
128
|
+
}
|
|
129
|
+
space(n) {
|
|
130
|
+
let e = this.rules.block.newline.exec(n);
|
|
131
|
+
if (e && e[0].length > 0) return { type: "space", raw: e[0] };
|
|
132
|
+
}
|
|
133
|
+
code(n) {
|
|
134
|
+
let e = this.rules.block.code.exec(n);
|
|
135
|
+
if (e) {
|
|
136
|
+
let s = e[0].replace(this.rules.other.codeRemoveIndent, "");
|
|
137
|
+
return { type: "code", raw: e[0], codeBlockStyle: "indented", text: this.options.pedantic ? s : T(s, `
|
|
138
|
+
`) };
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
fences(n) {
|
|
142
|
+
let e = this.rules.block.fences.exec(n);
|
|
143
|
+
if (e) {
|
|
144
|
+
let s = e[0], r = ut(s, e[3] || "", this.rules);
|
|
145
|
+
return { type: "code", raw: s, lang: e[2] ? e[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : e[2], text: r };
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
heading(n) {
|
|
149
|
+
let e = this.rules.block.heading.exec(n);
|
|
150
|
+
if (e) {
|
|
151
|
+
let s = e[2].trim();
|
|
152
|
+
if (this.rules.other.endingHash.test(s)) {
|
|
153
|
+
let r = T(s, "#");
|
|
154
|
+
(this.options.pedantic || !r || this.rules.other.endingSpaceChar.test(r)) && (s = r.trim());
|
|
155
|
+
}
|
|
156
|
+
return { type: "heading", raw: e[0], depth: e[1].length, text: s, tokens: this.lexer.inline(s) };
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
hr(n) {
|
|
160
|
+
let e = this.rules.block.hr.exec(n);
|
|
161
|
+
if (e) return { type: "hr", raw: T(e[0], `
|
|
162
|
+
`) };
|
|
163
|
+
}
|
|
164
|
+
blockquote(n) {
|
|
165
|
+
let e = this.rules.block.blockquote.exec(n);
|
|
166
|
+
if (e) {
|
|
167
|
+
let s = T(e[0], `
|
|
168
|
+
`).split(`
|
|
169
|
+
`), r = "", t = "", a = [];
|
|
170
|
+
for (; s.length > 0; ) {
|
|
171
|
+
let i = !1, l = [], o;
|
|
172
|
+
for (o = 0; o < s.length; o++) if (this.rules.other.blockquoteStart.test(s[o])) l.push(s[o]), i = !0;
|
|
173
|
+
else if (!i) l.push(s[o]);
|
|
174
|
+
else break;
|
|
175
|
+
s = s.slice(o);
|
|
176
|
+
let c = l.join(`
|
|
177
|
+
`), h = c.replace(this.rules.other.blockquoteSetextReplace, `
|
|
178
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2, "");
|
|
179
|
+
r = r ? `${r}
|
|
180
|
+
${c}` : c, t = t ? `${t}
|
|
181
|
+
${h}` : h;
|
|
182
|
+
let g = this.lexer.state.top;
|
|
183
|
+
if (this.lexer.state.top = !0, this.lexer.blockTokens(h, a, !0), this.lexer.state.top = g, s.length === 0) break;
|
|
184
|
+
let d = a.at(-1);
|
|
185
|
+
if (d?.type === "code") break;
|
|
186
|
+
if (d?.type === "blockquote") {
|
|
187
|
+
let m = d, f = m.raw + `
|
|
188
|
+
` + s.join(`
|
|
189
|
+
`), b = this.blockquote(f);
|
|
190
|
+
a[a.length - 1] = b, r = r.substring(0, r.length - m.raw.length) + b.raw, t = t.substring(0, t.length - m.text.length) + b.text;
|
|
191
|
+
break;
|
|
192
|
+
} else if (d?.type === "list") {
|
|
193
|
+
let m = d, f = m.raw + `
|
|
194
|
+
` + s.join(`
|
|
195
|
+
`), b = this.list(f);
|
|
196
|
+
a[a.length - 1] = b, r = r.substring(0, r.length - d.raw.length) + b.raw, t = t.substring(0, t.length - m.raw.length) + b.raw, s = f.substring(a.at(-1).raw.length).split(`
|
|
197
|
+
`);
|
|
198
|
+
continue;
|
|
24
199
|
}
|
|
25
|
-
} else if (this.token) {
|
|
26
|
-
const s = await this.requestAIServer(i, this.token);
|
|
27
|
-
this.conversationStore.conversationId = s.conversationId, this.conversationStore.inquiryId = s.inquiryId, this.conversationStore.ackSequenceNumber = s.sequenceNumber, this.loopRequest(s, this.token);
|
|
28
200
|
}
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
201
|
+
return { type: "blockquote", raw: r, tokens: a, text: t };
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
list(n) {
|
|
205
|
+
let e = this.rules.block.list.exec(n);
|
|
206
|
+
if (e) {
|
|
207
|
+
let s = e[1].trim(), r = s.length > 1, t = { type: "list", raw: "", ordered: r, start: r ? +s.slice(0, -1) : "", loose: !1, items: [] };
|
|
208
|
+
s = r ? `\\d{1,9}\\${s.slice(-1)}` : `\\${s}`, this.options.pedantic && (s = r ? s : "[*+-]");
|
|
209
|
+
let a = this.rules.other.listItemRegex(s), i = !1;
|
|
210
|
+
for (; n; ) {
|
|
211
|
+
let o = !1, c = "", h = "";
|
|
212
|
+
if (!(e = a.exec(n)) || this.rules.block.hr.test(n)) break;
|
|
213
|
+
c = e[0], n = n.substring(c.length);
|
|
214
|
+
let g = e[2].split(`
|
|
215
|
+
`, 1)[0].replace(this.rules.other.listReplaceTabs, (B) => " ".repeat(3 * B.length)), d = n.split(`
|
|
216
|
+
`, 1)[0], m = !g.trim(), f = 0;
|
|
217
|
+
if (this.options.pedantic ? (f = 2, h = g.trimStart()) : m ? f = e[1].length + 1 : (f = e[2].search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, h = g.slice(f), f += e[1].length), m && this.rules.other.blankLine.test(d) && (c += d + `
|
|
218
|
+
`, n = n.substring(d.length + 1), o = !0), !o) {
|
|
219
|
+
let B = this.rules.other.nextBulletRegex(f), Y = this.rules.other.hrRegex(f), ee = this.rules.other.fencesBeginRegex(f), te = this.rules.other.headingBeginRegex(f), be = this.rules.other.htmlBeginRegex(f);
|
|
220
|
+
for (; n; ) {
|
|
221
|
+
let Q = n.split(`
|
|
222
|
+
`, 1)[0], _;
|
|
223
|
+
if (d = Q, this.options.pedantic ? (d = d.replace(this.rules.other.listReplaceNesting, " "), _ = d) : _ = d.replace(this.rules.other.tabCharGlobal, " "), ee.test(d) || te.test(d) || be.test(d) || B.test(d) || Y.test(d)) break;
|
|
224
|
+
if (_.search(this.rules.other.nonSpaceChar) >= f || !d.trim()) h += `
|
|
225
|
+
` + _.slice(f);
|
|
226
|
+
else {
|
|
227
|
+
if (m || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || ee.test(g) || te.test(g) || Y.test(g)) break;
|
|
228
|
+
h += `
|
|
229
|
+
` + d;
|
|
230
|
+
}
|
|
231
|
+
!m && !d.trim() && (m = !0), c += Q + `
|
|
232
|
+
`, n = n.substring(Q.length + 1), g = _.slice(f);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
t.loose || (i ? t.loose = !0 : this.rules.other.doubleBlankLine.test(c) && (i = !0));
|
|
236
|
+
let b = null, V;
|
|
237
|
+
this.options.gfm && (b = this.rules.other.listIsTask.exec(h), b && (V = b[0] !== "[ ] ", h = h.replace(this.rules.other.listReplaceTask, ""))), t.items.push({ type: "list_item", raw: c, task: !!b, checked: V, loose: !1, text: h, tokens: [] }), t.raw += c;
|
|
238
|
+
}
|
|
239
|
+
let l = t.items.at(-1);
|
|
240
|
+
if (l) l.raw = l.raw.trimEnd(), l.text = l.text.trimEnd();
|
|
241
|
+
else return;
|
|
242
|
+
t.raw = t.raw.trimEnd();
|
|
243
|
+
for (let o = 0; o < t.items.length; o++) if (this.lexer.state.top = !1, t.items[o].tokens = this.lexer.blockTokens(t.items[o].text, []), !t.loose) {
|
|
244
|
+
let c = t.items[o].tokens.filter((g) => g.type === "space"), h = c.length > 0 && c.some((g) => this.rules.other.anyLine.test(g.raw));
|
|
245
|
+
t.loose = h;
|
|
246
|
+
}
|
|
247
|
+
if (t.loose) for (let o = 0; o < t.items.length; o++) t.items[o].loose = !0;
|
|
248
|
+
return t;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
html(n) {
|
|
252
|
+
let e = this.rules.block.html.exec(n);
|
|
253
|
+
if (e) return { type: "html", block: !0, raw: e[0], pre: e[1] === "pre" || e[1] === "script" || e[1] === "style", text: e[0] };
|
|
254
|
+
}
|
|
255
|
+
def(n) {
|
|
256
|
+
let e = this.rules.block.def.exec(n);
|
|
257
|
+
if (e) {
|
|
258
|
+
let s = e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal, " "), r = e[2] ? e[2].replace(this.rules.other.hrefBrackets, "$1").replace(this.rules.inline.anyPunctuation, "$1") : "", t = e[3] ? e[3].substring(1, e[3].length - 1).replace(this.rules.inline.anyPunctuation, "$1") : e[3];
|
|
259
|
+
return { type: "def", tag: s, raw: e[0], href: r, title: t };
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
table(n) {
|
|
263
|
+
let e = this.rules.block.table.exec(n);
|
|
264
|
+
if (!e || !this.rules.other.tableDelimiter.test(e[2])) return;
|
|
265
|
+
let s = ae(e[1]), r = e[2].replace(this.rules.other.tableAlignChars, "").split("|"), t = e[3]?.trim() ? e[3].replace(this.rules.other.tableRowBlankLine, "").split(`
|
|
266
|
+
`) : [], a = { type: "table", raw: e[0], header: [], align: [], rows: [] };
|
|
267
|
+
if (s.length === r.length) {
|
|
268
|
+
for (let i of r) this.rules.other.tableAlignRight.test(i) ? a.align.push("right") : this.rules.other.tableAlignCenter.test(i) ? a.align.push("center") : this.rules.other.tableAlignLeft.test(i) ? a.align.push("left") : a.align.push(null);
|
|
269
|
+
for (let i = 0; i < s.length; i++) a.header.push({ text: s[i], tokens: this.lexer.inline(s[i]), header: !0, align: a.align[i] });
|
|
270
|
+
for (let i of t) a.rows.push(ae(i, a.header.length).map((l, o) => ({ text: l, tokens: this.lexer.inline(l), header: !1, align: a.align[o] })));
|
|
271
|
+
return a;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
lheading(n) {
|
|
275
|
+
let e = this.rules.block.lheading.exec(n);
|
|
276
|
+
if (e) return { type: "heading", raw: e[0], depth: e[2].charAt(0) === "=" ? 1 : 2, text: e[1], tokens: this.lexer.inline(e[1]) };
|
|
277
|
+
}
|
|
278
|
+
paragraph(n) {
|
|
279
|
+
let e = this.rules.block.paragraph.exec(n);
|
|
280
|
+
if (e) {
|
|
281
|
+
let s = e[1].charAt(e[1].length - 1) === `
|
|
282
|
+
` ? e[1].slice(0, -1) : e[1];
|
|
283
|
+
return { type: "paragraph", raw: e[0], text: s, tokens: this.lexer.inline(s) };
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
text(n) {
|
|
287
|
+
let e = this.rules.block.text.exec(n);
|
|
288
|
+
if (e) return { type: "text", raw: e[0], text: e[0], tokens: this.lexer.inline(e[0]) };
|
|
289
|
+
}
|
|
290
|
+
escape(n) {
|
|
291
|
+
let e = this.rules.inline.escape.exec(n);
|
|
292
|
+
if (e) return { type: "escape", raw: e[0], text: e[1] };
|
|
293
|
+
}
|
|
294
|
+
tag(n) {
|
|
295
|
+
let e = this.rules.inline.tag.exec(n);
|
|
296
|
+
if (e) return !this.lexer.state.inLink && this.rules.other.startATag.test(e[0]) ? this.lexer.state.inLink = !0 : this.lexer.state.inLink && this.rules.other.endATag.test(e[0]) && (this.lexer.state.inLink = !1), !this.lexer.state.inRawBlock && this.rules.other.startPreScriptTag.test(e[0]) ? this.lexer.state.inRawBlock = !0 : this.lexer.state.inRawBlock && this.rules.other.endPreScriptTag.test(e[0]) && (this.lexer.state.inRawBlock = !1), { type: "html", raw: e[0], inLink: this.lexer.state.inLink, inRawBlock: this.lexer.state.inRawBlock, block: !1, text: e[0] };
|
|
297
|
+
}
|
|
298
|
+
link(n) {
|
|
299
|
+
let e = this.rules.inline.link.exec(n);
|
|
300
|
+
if (e) {
|
|
301
|
+
let s = e[2].trim();
|
|
302
|
+
if (!this.options.pedantic && this.rules.other.startAngleBracket.test(s)) {
|
|
303
|
+
if (!this.rules.other.endAngleBracket.test(s)) return;
|
|
304
|
+
let a = T(s.slice(0, -1), "\\");
|
|
305
|
+
if ((s.length - a.length) % 2 === 0) return;
|
|
306
|
+
} else {
|
|
307
|
+
let a = ht(e[2], "()");
|
|
308
|
+
if (a === -2) return;
|
|
309
|
+
if (a > -1) {
|
|
310
|
+
let i = (e[0].indexOf("!") === 0 ? 5 : 4) + e[1].length + a;
|
|
311
|
+
e[2] = e[2].substring(0, a), e[0] = e[0].substring(0, i).trim(), e[3] = "";
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
let r = e[2], t = "";
|
|
315
|
+
if (this.options.pedantic) {
|
|
316
|
+
let a = this.rules.other.pedanticHrefTitle.exec(r);
|
|
317
|
+
a && (r = a[1], t = a[3]);
|
|
318
|
+
} else t = e[3] ? e[3].slice(1, -1) : "";
|
|
319
|
+
return r = r.trim(), this.rules.other.startAngleBracket.test(r) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(s) ? r = r.slice(1) : r = r.slice(1, -1)), le(e, { href: r && r.replace(this.rules.inline.anyPunctuation, "$1"), title: t && t.replace(this.rules.inline.anyPunctuation, "$1") }, e[0], this.lexer, this.rules);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
reflink(n, e) {
|
|
323
|
+
let s;
|
|
324
|
+
if ((s = this.rules.inline.reflink.exec(n)) || (s = this.rules.inline.nolink.exec(n))) {
|
|
325
|
+
let r = (s[2] || s[1]).replace(this.rules.other.multipleSpaceGlobal, " "), t = e[r.toLowerCase()];
|
|
326
|
+
if (!t) {
|
|
327
|
+
let a = s[0].charAt(0);
|
|
328
|
+
return { type: "text", raw: a, text: a };
|
|
329
|
+
}
|
|
330
|
+
return le(s, t, s[0], this.lexer, this.rules);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
emStrong(n, e, s = "") {
|
|
334
|
+
let r = this.rules.inline.emStrongLDelim.exec(n);
|
|
335
|
+
if (!(!r || r[3] && s.match(this.rules.other.unicodeAlphaNumeric)) && (!(r[1] || r[2]) || !s || this.rules.inline.punctuation.exec(s))) {
|
|
336
|
+
let t = [...r[0]].length - 1, a, i, l = t, o = 0, c = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
|
|
337
|
+
for (c.lastIndex = 0, e = e.slice(-1 * n.length + t); (r = c.exec(e)) != null; ) {
|
|
338
|
+
if (a = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !a) continue;
|
|
339
|
+
if (i = [...a].length, r[3] || r[4]) {
|
|
340
|
+
l += i;
|
|
341
|
+
continue;
|
|
342
|
+
} else if ((r[5] || r[6]) && t % 3 && !((t + i) % 3)) {
|
|
343
|
+
o += i;
|
|
344
|
+
continue;
|
|
345
|
+
}
|
|
346
|
+
if (l -= i, l > 0) continue;
|
|
347
|
+
i = Math.min(i, i + l + o);
|
|
348
|
+
let h = [...r[0]][0].length, g = n.slice(0, t + r.index + h + i);
|
|
349
|
+
if (Math.min(t, i) % 2) {
|
|
350
|
+
let m = g.slice(1, -1);
|
|
351
|
+
return { type: "em", raw: g, text: m, tokens: this.lexer.inlineTokens(m) };
|
|
352
|
+
}
|
|
353
|
+
let d = g.slice(2, -2);
|
|
354
|
+
return { type: "strong", raw: g, text: d, tokens: this.lexer.inlineTokens(d) };
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
codespan(n) {
|
|
359
|
+
let e = this.rules.inline.code.exec(n);
|
|
360
|
+
if (e) {
|
|
361
|
+
let s = e[2].replace(this.rules.other.newLineCharGlobal, " "), r = this.rules.other.nonSpaceChar.test(s), t = this.rules.other.startingSpaceChar.test(s) && this.rules.other.endingSpaceChar.test(s);
|
|
362
|
+
return r && t && (s = s.substring(1, s.length - 1)), { type: "codespan", raw: e[0], text: s };
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
br(n) {
|
|
366
|
+
let e = this.rules.inline.br.exec(n);
|
|
367
|
+
if (e) return { type: "br", raw: e[0] };
|
|
368
|
+
}
|
|
369
|
+
del(n) {
|
|
370
|
+
let e = this.rules.inline.del.exec(n);
|
|
371
|
+
if (e) return { type: "del", raw: e[0], text: e[2], tokens: this.lexer.inlineTokens(e[2]) };
|
|
372
|
+
}
|
|
373
|
+
autolink(n) {
|
|
374
|
+
let e = this.rules.inline.autolink.exec(n);
|
|
375
|
+
if (e) {
|
|
376
|
+
let s, r;
|
|
377
|
+
return e[2] === "@" ? (s = e[1], r = "mailto:" + s) : (s = e[1], r = s), { type: "link", raw: e[0], text: s, href: r, tokens: [{ type: "text", raw: s, text: s }] };
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
url(n) {
|
|
381
|
+
let e;
|
|
382
|
+
if (e = this.rules.inline.url.exec(n)) {
|
|
383
|
+
let s, r;
|
|
384
|
+
if (e[2] === "@") s = e[0], r = "mailto:" + s;
|
|
385
|
+
else {
|
|
386
|
+
let t;
|
|
387
|
+
do
|
|
388
|
+
t = e[0], e[0] = this.rules.inline._backpedal.exec(e[0])?.[0] ?? "";
|
|
389
|
+
while (t !== e[0]);
|
|
390
|
+
s = e[0], e[1] === "www." ? r = "http://" + e[0] : r = e[0];
|
|
391
|
+
}
|
|
392
|
+
return { type: "link", raw: e[0], text: s, href: r, tokens: [{ type: "text", raw: s, text: s }] };
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
inlineText(n) {
|
|
396
|
+
let e = this.rules.inline.text.exec(n);
|
|
397
|
+
if (e) {
|
|
398
|
+
let s = this.lexer.state.inRawBlock;
|
|
399
|
+
return { type: "text", raw: e[0], text: e[0], escaped: s };
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}, v = class D {
|
|
403
|
+
tokens;
|
|
404
|
+
options;
|
|
405
|
+
state;
|
|
406
|
+
tokenizer;
|
|
407
|
+
inlineQueue;
|
|
408
|
+
constructor(e) {
|
|
409
|
+
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || S, this.options.tokenizer = this.options.tokenizer || new L(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, top: !0 };
|
|
410
|
+
let s = { other: x, block: C.normal, inline: R.normal };
|
|
411
|
+
this.options.pedantic ? (s.block = C.pedantic, s.inline = R.pedantic) : this.options.gfm && (s.block = C.gfm, this.options.breaks ? s.inline = R.breaks : s.inline = R.gfm), this.tokenizer.rules = s;
|
|
412
|
+
}
|
|
413
|
+
static get rules() {
|
|
414
|
+
return { block: C, inline: R };
|
|
415
|
+
}
|
|
416
|
+
static lex(e, s) {
|
|
417
|
+
return new D(s).lex(e);
|
|
418
|
+
}
|
|
419
|
+
static lexInline(e, s) {
|
|
420
|
+
return new D(s).inlineTokens(e);
|
|
421
|
+
}
|
|
422
|
+
lex(e) {
|
|
423
|
+
e = e.replace(x.carriageReturn, `
|
|
424
|
+
`), this.blockTokens(e, this.tokens);
|
|
425
|
+
for (let s = 0; s < this.inlineQueue.length; s++) {
|
|
426
|
+
let r = this.inlineQueue[s];
|
|
427
|
+
this.inlineTokens(r.src, r.tokens);
|
|
428
|
+
}
|
|
429
|
+
return this.inlineQueue = [], this.tokens;
|
|
430
|
+
}
|
|
431
|
+
blockTokens(e, s = [], r = !1) {
|
|
432
|
+
for (this.options.pedantic && (e = e.replace(x.tabCharGlobal, " ").replace(x.spaceLine, "")); e; ) {
|
|
433
|
+
let t;
|
|
434
|
+
if (this.options.extensions?.block?.some((i) => (t = i.call({ lexer: this }, e, s)) ? (e = e.substring(t.raw.length), s.push(t), !0) : !1)) continue;
|
|
435
|
+
if (t = this.tokenizer.space(e)) {
|
|
436
|
+
e = e.substring(t.raw.length);
|
|
437
|
+
let i = s.at(-1);
|
|
438
|
+
t.raw.length === 1 && i !== void 0 ? i.raw += `
|
|
439
|
+
` : s.push(t);
|
|
440
|
+
continue;
|
|
441
|
+
}
|
|
442
|
+
if (t = this.tokenizer.code(e)) {
|
|
443
|
+
e = e.substring(t.raw.length);
|
|
444
|
+
let i = s.at(-1);
|
|
445
|
+
i?.type === "paragraph" || i?.type === "text" ? (i.raw += (i.raw.endsWith(`
|
|
446
|
+
`) ? "" : `
|
|
447
|
+
`) + t.raw, i.text += `
|
|
448
|
+
` + t.text, this.inlineQueue.at(-1).src = i.text) : s.push(t);
|
|
449
|
+
continue;
|
|
450
|
+
}
|
|
451
|
+
if (t = this.tokenizer.fences(e)) {
|
|
452
|
+
e = e.substring(t.raw.length), s.push(t);
|
|
453
|
+
continue;
|
|
454
|
+
}
|
|
455
|
+
if (t = this.tokenizer.heading(e)) {
|
|
456
|
+
e = e.substring(t.raw.length), s.push(t);
|
|
457
|
+
continue;
|
|
458
|
+
}
|
|
459
|
+
if (t = this.tokenizer.hr(e)) {
|
|
460
|
+
e = e.substring(t.raw.length), s.push(t);
|
|
461
|
+
continue;
|
|
462
|
+
}
|
|
463
|
+
if (t = this.tokenizer.blockquote(e)) {
|
|
464
|
+
e = e.substring(t.raw.length), s.push(t);
|
|
465
|
+
continue;
|
|
466
|
+
}
|
|
467
|
+
if (t = this.tokenizer.list(e)) {
|
|
468
|
+
e = e.substring(t.raw.length), s.push(t);
|
|
469
|
+
continue;
|
|
470
|
+
}
|
|
471
|
+
if (t = this.tokenizer.html(e)) {
|
|
472
|
+
e = e.substring(t.raw.length), s.push(t);
|
|
473
|
+
continue;
|
|
474
|
+
}
|
|
475
|
+
if (t = this.tokenizer.def(e)) {
|
|
476
|
+
e = e.substring(t.raw.length);
|
|
477
|
+
let i = s.at(-1);
|
|
478
|
+
i?.type === "paragraph" || i?.type === "text" ? (i.raw += (i.raw.endsWith(`
|
|
479
|
+
`) ? "" : `
|
|
480
|
+
`) + t.raw, i.text += `
|
|
481
|
+
` + t.raw, this.inlineQueue.at(-1).src = i.text) : this.tokens.links[t.tag] || (this.tokens.links[t.tag] = { href: t.href, title: t.title }, s.push(t));
|
|
482
|
+
continue;
|
|
483
|
+
}
|
|
484
|
+
if (t = this.tokenizer.table(e)) {
|
|
485
|
+
e = e.substring(t.raw.length), s.push(t);
|
|
486
|
+
continue;
|
|
487
|
+
}
|
|
488
|
+
if (t = this.tokenizer.lheading(e)) {
|
|
489
|
+
e = e.substring(t.raw.length), s.push(t);
|
|
490
|
+
continue;
|
|
491
|
+
}
|
|
492
|
+
let a = e;
|
|
493
|
+
if (this.options.extensions?.startBlock) {
|
|
494
|
+
let i = 1 / 0, l = e.slice(1), o;
|
|
495
|
+
this.options.extensions.startBlock.forEach((c) => {
|
|
496
|
+
o = c.call({ lexer: this }, l), typeof o == "number" && o >= 0 && (i = Math.min(i, o));
|
|
497
|
+
}), i < 1 / 0 && i >= 0 && (a = e.substring(0, i + 1));
|
|
498
|
+
}
|
|
499
|
+
if (this.state.top && (t = this.tokenizer.paragraph(a))) {
|
|
500
|
+
let i = s.at(-1);
|
|
501
|
+
r && i?.type === "paragraph" ? (i.raw += (i.raw.endsWith(`
|
|
502
|
+
`) ? "" : `
|
|
503
|
+
`) + t.raw, i.text += `
|
|
504
|
+
` + t.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = i.text) : s.push(t), r = a.length !== e.length, e = e.substring(t.raw.length);
|
|
505
|
+
continue;
|
|
506
|
+
}
|
|
507
|
+
if (t = this.tokenizer.text(e)) {
|
|
508
|
+
e = e.substring(t.raw.length);
|
|
509
|
+
let i = s.at(-1);
|
|
510
|
+
i?.type === "text" ? (i.raw += (i.raw.endsWith(`
|
|
511
|
+
`) ? "" : `
|
|
512
|
+
`) + t.raw, i.text += `
|
|
513
|
+
` + t.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = i.text) : s.push(t);
|
|
514
|
+
continue;
|
|
515
|
+
}
|
|
516
|
+
if (e) {
|
|
517
|
+
let i = "Infinite loop on byte: " + e.charCodeAt(0);
|
|
518
|
+
if (this.options.silent) {
|
|
519
|
+
console.error(i);
|
|
520
|
+
break;
|
|
521
|
+
} else throw new Error(i);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
return this.state.top = !0, s;
|
|
525
|
+
}
|
|
526
|
+
inline(e, s = []) {
|
|
527
|
+
return this.inlineQueue.push({ src: e, tokens: s }), s;
|
|
528
|
+
}
|
|
529
|
+
inlineTokens(e, s = []) {
|
|
530
|
+
let r = e, t = null;
|
|
531
|
+
if (this.tokens.links) {
|
|
532
|
+
let l = Object.keys(this.tokens.links);
|
|
533
|
+
if (l.length > 0) for (; (t = this.tokenizer.rules.inline.reflinkSearch.exec(r)) != null; ) l.includes(t[0].slice(t[0].lastIndexOf("[") + 1, -1)) && (r = r.slice(0, t.index) + "[" + "a".repeat(t[0].length - 2) + "]" + r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
|
|
534
|
+
}
|
|
535
|
+
for (; (t = this.tokenizer.rules.inline.anyPunctuation.exec(r)) != null; ) r = r.slice(0, t.index) + "++" + r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
|
|
536
|
+
for (; (t = this.tokenizer.rules.inline.blockSkip.exec(r)) != null; ) r = r.slice(0, t.index) + "[" + "a".repeat(t[0].length - 2) + "]" + r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
|
|
537
|
+
r = this.options.hooks?.emStrongMask?.call({ lexer: this }, r) ?? r;
|
|
538
|
+
let a = !1, i = "";
|
|
539
|
+
for (; e; ) {
|
|
540
|
+
a || (i = ""), a = !1;
|
|
541
|
+
let l;
|
|
542
|
+
if (this.options.extensions?.inline?.some((c) => (l = c.call({ lexer: this }, e, s)) ? (e = e.substring(l.raw.length), s.push(l), !0) : !1)) continue;
|
|
543
|
+
if (l = this.tokenizer.escape(e)) {
|
|
544
|
+
e = e.substring(l.raw.length), s.push(l);
|
|
545
|
+
continue;
|
|
546
|
+
}
|
|
547
|
+
if (l = this.tokenizer.tag(e)) {
|
|
548
|
+
e = e.substring(l.raw.length), s.push(l);
|
|
549
|
+
continue;
|
|
550
|
+
}
|
|
551
|
+
if (l = this.tokenizer.link(e)) {
|
|
552
|
+
e = e.substring(l.raw.length), s.push(l);
|
|
553
|
+
continue;
|
|
554
|
+
}
|
|
555
|
+
if (l = this.tokenizer.reflink(e, this.tokens.links)) {
|
|
556
|
+
e = e.substring(l.raw.length);
|
|
557
|
+
let c = s.at(-1);
|
|
558
|
+
l.type === "text" && c?.type === "text" ? (c.raw += l.raw, c.text += l.text) : s.push(l);
|
|
559
|
+
continue;
|
|
560
|
+
}
|
|
561
|
+
if (l = this.tokenizer.emStrong(e, r, i)) {
|
|
562
|
+
e = e.substring(l.raw.length), s.push(l);
|
|
563
|
+
continue;
|
|
564
|
+
}
|
|
565
|
+
if (l = this.tokenizer.codespan(e)) {
|
|
566
|
+
e = e.substring(l.raw.length), s.push(l);
|
|
567
|
+
continue;
|
|
568
|
+
}
|
|
569
|
+
if (l = this.tokenizer.br(e)) {
|
|
570
|
+
e = e.substring(l.raw.length), s.push(l);
|
|
571
|
+
continue;
|
|
572
|
+
}
|
|
573
|
+
if (l = this.tokenizer.del(e)) {
|
|
574
|
+
e = e.substring(l.raw.length), s.push(l);
|
|
575
|
+
continue;
|
|
576
|
+
}
|
|
577
|
+
if (l = this.tokenizer.autolink(e)) {
|
|
578
|
+
e = e.substring(l.raw.length), s.push(l);
|
|
579
|
+
continue;
|
|
580
|
+
}
|
|
581
|
+
if (!this.state.inLink && (l = this.tokenizer.url(e))) {
|
|
582
|
+
e = e.substring(l.raw.length), s.push(l);
|
|
583
|
+
continue;
|
|
584
|
+
}
|
|
585
|
+
let o = e;
|
|
586
|
+
if (this.options.extensions?.startInline) {
|
|
587
|
+
let c = 1 / 0, h = e.slice(1), g;
|
|
588
|
+
this.options.extensions.startInline.forEach((d) => {
|
|
589
|
+
g = d.call({ lexer: this }, h), typeof g == "number" && g >= 0 && (c = Math.min(c, g));
|
|
590
|
+
}), c < 1 / 0 && c >= 0 && (o = e.substring(0, c + 1));
|
|
591
|
+
}
|
|
592
|
+
if (l = this.tokenizer.inlineText(o)) {
|
|
593
|
+
e = e.substring(l.raw.length), l.raw.slice(-1) !== "_" && (i = l.raw.slice(-1)), a = !0;
|
|
594
|
+
let c = s.at(-1);
|
|
595
|
+
c?.type === "text" ? (c.raw += l.raw, c.text += l.text) : s.push(l);
|
|
596
|
+
continue;
|
|
597
|
+
}
|
|
598
|
+
if (e) {
|
|
599
|
+
let c = "Infinite loop on byte: " + e.charCodeAt(0);
|
|
600
|
+
if (this.options.silent) {
|
|
601
|
+
console.error(c);
|
|
602
|
+
break;
|
|
603
|
+
} else throw new Error(c);
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
return s;
|
|
607
|
+
}
|
|
608
|
+
}, E = class {
|
|
609
|
+
options;
|
|
610
|
+
parser;
|
|
611
|
+
constructor(n) {
|
|
612
|
+
this.options = n || S;
|
|
613
|
+
}
|
|
614
|
+
space(n) {
|
|
615
|
+
return "";
|
|
616
|
+
}
|
|
617
|
+
code({ text: n, lang: e, escaped: s }) {
|
|
618
|
+
let r = (e || "").match(x.notSpaceStart)?.[0], t = n.replace(x.endingNewline, "") + `
|
|
619
|
+
`;
|
|
620
|
+
return r ? '<pre><code class="language-' + w(r) + '">' + (s ? t : w(t, !0)) + `</code></pre>
|
|
621
|
+
` : "<pre><code>" + (s ? t : w(t, !0)) + `</code></pre>
|
|
622
|
+
`;
|
|
623
|
+
}
|
|
624
|
+
blockquote({ tokens: n }) {
|
|
625
|
+
return `<blockquote>
|
|
626
|
+
${this.parser.parse(n)}</blockquote>
|
|
627
|
+
`;
|
|
628
|
+
}
|
|
629
|
+
html({ text: n }) {
|
|
630
|
+
return n;
|
|
631
|
+
}
|
|
632
|
+
def(n) {
|
|
633
|
+
return "";
|
|
634
|
+
}
|
|
635
|
+
heading({ tokens: n, depth: e }) {
|
|
636
|
+
return `<h${e}>${this.parser.parseInline(n)}</h${e}>
|
|
637
|
+
`;
|
|
638
|
+
}
|
|
639
|
+
hr(n) {
|
|
640
|
+
return `<hr>
|
|
641
|
+
`;
|
|
642
|
+
}
|
|
643
|
+
list(n) {
|
|
644
|
+
let e = n.ordered, s = n.start, r = "";
|
|
645
|
+
for (let i = 0; i < n.items.length; i++) {
|
|
646
|
+
let l = n.items[i];
|
|
647
|
+
r += this.listitem(l);
|
|
648
|
+
}
|
|
649
|
+
let t = e ? "ol" : "ul", a = e && s !== 1 ? ' start="' + s + '"' : "";
|
|
650
|
+
return "<" + t + a + `>
|
|
651
|
+
` + r + "</" + t + `>
|
|
652
|
+
`;
|
|
653
|
+
}
|
|
654
|
+
listitem(n) {
|
|
655
|
+
let e = "";
|
|
656
|
+
if (n.task) {
|
|
657
|
+
let s = this.checkbox({ checked: !!n.checked });
|
|
658
|
+
n.loose ? n.tokens[0]?.type === "paragraph" ? (n.tokens[0].text = s + " " + n.tokens[0].text, n.tokens[0].tokens && n.tokens[0].tokens.length > 0 && n.tokens[0].tokens[0].type === "text" && (n.tokens[0].tokens[0].text = s + " " + w(n.tokens[0].tokens[0].text), n.tokens[0].tokens[0].escaped = !0)) : n.tokens.unshift({ type: "text", raw: s + " ", text: s + " ", escaped: !0 }) : e += s + " ";
|
|
659
|
+
}
|
|
660
|
+
return e += this.parser.parse(n.tokens, !!n.loose), `<li>${e}</li>
|
|
661
|
+
`;
|
|
662
|
+
}
|
|
663
|
+
checkbox({ checked: n }) {
|
|
664
|
+
return "<input " + (n ? 'checked="" ' : "") + 'disabled="" type="checkbox">';
|
|
665
|
+
}
|
|
666
|
+
paragraph({ tokens: n }) {
|
|
667
|
+
return `<p>${this.parser.parseInline(n)}</p>
|
|
668
|
+
`;
|
|
669
|
+
}
|
|
670
|
+
table(n) {
|
|
671
|
+
let e = "", s = "";
|
|
672
|
+
for (let t = 0; t < n.header.length; t++) s += this.tablecell(n.header[t]);
|
|
673
|
+
e += this.tablerow({ text: s });
|
|
674
|
+
let r = "";
|
|
675
|
+
for (let t = 0; t < n.rows.length; t++) {
|
|
676
|
+
let a = n.rows[t];
|
|
677
|
+
s = "";
|
|
678
|
+
for (let i = 0; i < a.length; i++) s += this.tablecell(a[i]);
|
|
679
|
+
r += this.tablerow({ text: s });
|
|
680
|
+
}
|
|
681
|
+
return r && (r = `<tbody>${r}</tbody>`), `<table>
|
|
682
|
+
<thead>
|
|
683
|
+
` + e + `</thead>
|
|
684
|
+
` + r + `</table>
|
|
685
|
+
`;
|
|
686
|
+
}
|
|
687
|
+
tablerow({ text: n }) {
|
|
688
|
+
return `<tr>
|
|
689
|
+
${n}</tr>
|
|
690
|
+
`;
|
|
691
|
+
}
|
|
692
|
+
tablecell(n) {
|
|
693
|
+
let e = this.parser.parseInline(n.tokens), s = n.header ? "th" : "td";
|
|
694
|
+
return (n.align ? `<${s} align="${n.align}">` : `<${s}>`) + e + `</${s}>
|
|
695
|
+
`;
|
|
696
|
+
}
|
|
697
|
+
strong({ tokens: n }) {
|
|
698
|
+
return `<strong>${this.parser.parseInline(n)}</strong>`;
|
|
699
|
+
}
|
|
700
|
+
em({ tokens: n }) {
|
|
701
|
+
return `<em>${this.parser.parseInline(n)}</em>`;
|
|
702
|
+
}
|
|
703
|
+
codespan({ text: n }) {
|
|
704
|
+
return `<code>${w(n, !0)}</code>`;
|
|
705
|
+
}
|
|
706
|
+
br(n) {
|
|
707
|
+
return "<br>";
|
|
708
|
+
}
|
|
709
|
+
del({ tokens: n }) {
|
|
710
|
+
return `<del>${this.parser.parseInline(n)}</del>`;
|
|
711
|
+
}
|
|
712
|
+
link({ href: n, title: e, tokens: s }) {
|
|
713
|
+
let r = this.parser.parseInline(s), t = ie(n);
|
|
714
|
+
if (t === null) return r;
|
|
715
|
+
n = t;
|
|
716
|
+
let a = '<a href="' + n + '"';
|
|
717
|
+
return e && (a += ' title="' + w(e) + '"'), a += ">" + r + "</a>", a;
|
|
718
|
+
}
|
|
719
|
+
image({ href: n, title: e, text: s, tokens: r }) {
|
|
720
|
+
r && (s = this.parser.parseInline(r, this.parser.textRenderer));
|
|
721
|
+
let t = ie(n);
|
|
722
|
+
if (t === null) return w(s);
|
|
723
|
+
n = t;
|
|
724
|
+
let a = `<img src="${n}" alt="${s}"`;
|
|
725
|
+
return e && (a += ` title="${w(e)}"`), a += ">", a;
|
|
726
|
+
}
|
|
727
|
+
text(n) {
|
|
728
|
+
return "tokens" in n && n.tokens ? this.parser.parseInline(n.tokens) : "escaped" in n && n.escaped ? n.text : w(n.text);
|
|
729
|
+
}
|
|
730
|
+
}, J = class {
|
|
731
|
+
strong({ text: n }) {
|
|
732
|
+
return n;
|
|
733
|
+
}
|
|
734
|
+
em({ text: n }) {
|
|
735
|
+
return n;
|
|
736
|
+
}
|
|
737
|
+
codespan({ text: n }) {
|
|
738
|
+
return n;
|
|
739
|
+
}
|
|
740
|
+
del({ text: n }) {
|
|
741
|
+
return n;
|
|
742
|
+
}
|
|
743
|
+
html({ text: n }) {
|
|
744
|
+
return n;
|
|
745
|
+
}
|
|
746
|
+
text({ text: n }) {
|
|
747
|
+
return n;
|
|
748
|
+
}
|
|
749
|
+
link({ text: n }) {
|
|
750
|
+
return "" + n;
|
|
751
|
+
}
|
|
752
|
+
image({ text: n }) {
|
|
753
|
+
return "" + n;
|
|
754
|
+
}
|
|
755
|
+
br() {
|
|
756
|
+
return "";
|
|
757
|
+
}
|
|
758
|
+
}, y = class N {
|
|
759
|
+
options;
|
|
760
|
+
renderer;
|
|
761
|
+
textRenderer;
|
|
762
|
+
constructor(e) {
|
|
763
|
+
this.options = e || S, this.options.renderer = this.options.renderer || new E(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new J();
|
|
764
|
+
}
|
|
765
|
+
static parse(e, s) {
|
|
766
|
+
return new N(s).parse(e);
|
|
767
|
+
}
|
|
768
|
+
static parseInline(e, s) {
|
|
769
|
+
return new N(s).parseInline(e);
|
|
770
|
+
}
|
|
771
|
+
parse(e, s = !0) {
|
|
772
|
+
let r = "";
|
|
773
|
+
for (let t = 0; t < e.length; t++) {
|
|
774
|
+
let a = e[t];
|
|
775
|
+
if (this.options.extensions?.renderers?.[a.type]) {
|
|
776
|
+
let l = a, o = this.options.extensions.renderers[l.type].call({ parser: this }, l);
|
|
777
|
+
if (o !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(l.type)) {
|
|
778
|
+
r += o || "";
|
|
779
|
+
continue;
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
let i = a;
|
|
783
|
+
switch (i.type) {
|
|
784
|
+
case "space": {
|
|
785
|
+
r += this.renderer.space(i);
|
|
786
|
+
continue;
|
|
787
|
+
}
|
|
788
|
+
case "hr": {
|
|
789
|
+
r += this.renderer.hr(i);
|
|
790
|
+
continue;
|
|
791
|
+
}
|
|
792
|
+
case "heading": {
|
|
793
|
+
r += this.renderer.heading(i);
|
|
794
|
+
continue;
|
|
795
|
+
}
|
|
796
|
+
case "code": {
|
|
797
|
+
r += this.renderer.code(i);
|
|
798
|
+
continue;
|
|
799
|
+
}
|
|
800
|
+
case "table": {
|
|
801
|
+
r += this.renderer.table(i);
|
|
802
|
+
continue;
|
|
803
|
+
}
|
|
804
|
+
case "blockquote": {
|
|
805
|
+
r += this.renderer.blockquote(i);
|
|
806
|
+
continue;
|
|
807
|
+
}
|
|
808
|
+
case "list": {
|
|
809
|
+
r += this.renderer.list(i);
|
|
810
|
+
continue;
|
|
811
|
+
}
|
|
812
|
+
case "html": {
|
|
813
|
+
r += this.renderer.html(i);
|
|
814
|
+
continue;
|
|
815
|
+
}
|
|
816
|
+
case "def": {
|
|
817
|
+
r += this.renderer.def(i);
|
|
818
|
+
continue;
|
|
819
|
+
}
|
|
820
|
+
case "paragraph": {
|
|
821
|
+
r += this.renderer.paragraph(i);
|
|
822
|
+
continue;
|
|
823
|
+
}
|
|
824
|
+
case "text": {
|
|
825
|
+
let l = i, o = this.renderer.text(l);
|
|
826
|
+
for (; t + 1 < e.length && e[t + 1].type === "text"; ) l = e[++t], o += `
|
|
827
|
+
` + this.renderer.text(l);
|
|
828
|
+
s ? r += this.renderer.paragraph({ type: "paragraph", raw: o, text: o, tokens: [{ type: "text", raw: o, text: o, escaped: !0 }] }) : r += o;
|
|
829
|
+
continue;
|
|
830
|
+
}
|
|
831
|
+
default: {
|
|
832
|
+
let l = 'Token with "' + i.type + '" type was not found.';
|
|
833
|
+
if (this.options.silent) return console.error(l), "";
|
|
834
|
+
throw new Error(l);
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
return r;
|
|
839
|
+
}
|
|
840
|
+
parseInline(e, s = this.renderer) {
|
|
841
|
+
let r = "";
|
|
842
|
+
for (let t = 0; t < e.length; t++) {
|
|
843
|
+
let a = e[t];
|
|
844
|
+
if (this.options.extensions?.renderers?.[a.type]) {
|
|
845
|
+
let l = this.options.extensions.renderers[a.type].call({ parser: this }, a);
|
|
846
|
+
if (l !== !1 || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(a.type)) {
|
|
847
|
+
r += l || "";
|
|
848
|
+
continue;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
let i = a;
|
|
852
|
+
switch (i.type) {
|
|
853
|
+
case "escape": {
|
|
854
|
+
r += s.text(i);
|
|
855
|
+
break;
|
|
856
|
+
}
|
|
857
|
+
case "html": {
|
|
858
|
+
r += s.html(i);
|
|
859
|
+
break;
|
|
860
|
+
}
|
|
861
|
+
case "link": {
|
|
862
|
+
r += s.link(i);
|
|
863
|
+
break;
|
|
864
|
+
}
|
|
865
|
+
case "image": {
|
|
866
|
+
r += s.image(i);
|
|
867
|
+
break;
|
|
868
|
+
}
|
|
869
|
+
case "strong": {
|
|
870
|
+
r += s.strong(i);
|
|
871
|
+
break;
|
|
872
|
+
}
|
|
873
|
+
case "em": {
|
|
874
|
+
r += s.em(i);
|
|
875
|
+
break;
|
|
876
|
+
}
|
|
877
|
+
case "codespan": {
|
|
878
|
+
r += s.codespan(i);
|
|
879
|
+
break;
|
|
880
|
+
}
|
|
881
|
+
case "br": {
|
|
882
|
+
r += s.br(i);
|
|
883
|
+
break;
|
|
884
|
+
}
|
|
885
|
+
case "del": {
|
|
886
|
+
r += s.del(i);
|
|
887
|
+
break;
|
|
888
|
+
}
|
|
889
|
+
case "text": {
|
|
890
|
+
r += s.text(i);
|
|
891
|
+
break;
|
|
892
|
+
}
|
|
893
|
+
default: {
|
|
894
|
+
let l = 'Token with "' + i.type + '" type was not found.';
|
|
895
|
+
if (this.options.silent) return console.error(l), "";
|
|
896
|
+
throw new Error(l);
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
return r;
|
|
901
|
+
}
|
|
902
|
+
}, I = class {
|
|
903
|
+
options;
|
|
904
|
+
block;
|
|
905
|
+
constructor(n) {
|
|
906
|
+
this.options = n || S;
|
|
907
|
+
}
|
|
908
|
+
static passThroughHooks = /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"]);
|
|
909
|
+
static passThroughHooksRespectAsync = /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"]);
|
|
910
|
+
preprocess(n) {
|
|
911
|
+
return n;
|
|
912
|
+
}
|
|
913
|
+
postprocess(n) {
|
|
914
|
+
return n;
|
|
915
|
+
}
|
|
916
|
+
processAllTokens(n) {
|
|
917
|
+
return n;
|
|
918
|
+
}
|
|
919
|
+
emStrongMask(n) {
|
|
920
|
+
return n;
|
|
921
|
+
}
|
|
922
|
+
provideLexer() {
|
|
923
|
+
return this.block ? v.lex : v.lexInline;
|
|
924
|
+
}
|
|
925
|
+
provideParser() {
|
|
926
|
+
return this.block ? y.parse : y.parseInline;
|
|
927
|
+
}
|
|
928
|
+
}, pt = class {
|
|
929
|
+
defaults = U();
|
|
930
|
+
options = this.setOptions;
|
|
931
|
+
parse = this.parseMarkdown(!0);
|
|
932
|
+
parseInline = this.parseMarkdown(!1);
|
|
933
|
+
Parser = y;
|
|
934
|
+
Renderer = E;
|
|
935
|
+
TextRenderer = J;
|
|
936
|
+
Lexer = v;
|
|
937
|
+
Tokenizer = L;
|
|
938
|
+
Hooks = I;
|
|
939
|
+
constructor(...n) {
|
|
940
|
+
this.use(...n);
|
|
941
|
+
}
|
|
942
|
+
walkTokens(n, e) {
|
|
943
|
+
let s = [];
|
|
944
|
+
for (let r of n) switch (s = s.concat(e.call(this, r)), r.type) {
|
|
945
|
+
case "table": {
|
|
946
|
+
let t = r;
|
|
947
|
+
for (let a of t.header) s = s.concat(this.walkTokens(a.tokens, e));
|
|
948
|
+
for (let a of t.rows) for (let i of a) s = s.concat(this.walkTokens(i.tokens, e));
|
|
949
|
+
break;
|
|
950
|
+
}
|
|
951
|
+
case "list": {
|
|
952
|
+
let t = r;
|
|
953
|
+
s = s.concat(this.walkTokens(t.items, e));
|
|
954
|
+
break;
|
|
955
|
+
}
|
|
956
|
+
default: {
|
|
957
|
+
let t = r;
|
|
958
|
+
this.defaults.extensions?.childTokens?.[t.type] ? this.defaults.extensions.childTokens[t.type].forEach((a) => {
|
|
959
|
+
let i = t[a].flat(1 / 0);
|
|
960
|
+
s = s.concat(this.walkTokens(i, e));
|
|
961
|
+
}) : t.tokens && (s = s.concat(this.walkTokens(t.tokens, e)));
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
return s;
|
|
965
|
+
}
|
|
966
|
+
use(...n) {
|
|
967
|
+
let e = this.defaults.extensions || { renderers: {}, childTokens: {} };
|
|
968
|
+
return n.forEach((s) => {
|
|
969
|
+
let r = { ...s };
|
|
970
|
+
if (r.async = this.defaults.async || r.async || !1, s.extensions && (s.extensions.forEach((t) => {
|
|
971
|
+
if (!t.name) throw new Error("extension name required");
|
|
972
|
+
if ("renderer" in t) {
|
|
973
|
+
let a = e.renderers[t.name];
|
|
974
|
+
a ? e.renderers[t.name] = function(...i) {
|
|
975
|
+
let l = t.renderer.apply(this, i);
|
|
976
|
+
return l === !1 && (l = a.apply(this, i)), l;
|
|
977
|
+
} : e.renderers[t.name] = t.renderer;
|
|
978
|
+
}
|
|
979
|
+
if ("tokenizer" in t) {
|
|
980
|
+
if (!t.level || t.level !== "block" && t.level !== "inline") throw new Error("extension level must be 'block' or 'inline'");
|
|
981
|
+
let a = e[t.level];
|
|
982
|
+
a ? a.unshift(t.tokenizer) : e[t.level] = [t.tokenizer], t.start && (t.level === "block" ? e.startBlock ? e.startBlock.push(t.start) : e.startBlock = [t.start] : t.level === "inline" && (e.startInline ? e.startInline.push(t.start) : e.startInline = [t.start]));
|
|
983
|
+
}
|
|
984
|
+
"childTokens" in t && t.childTokens && (e.childTokens[t.name] = t.childTokens);
|
|
985
|
+
}), r.extensions = e), s.renderer) {
|
|
986
|
+
let t = this.defaults.renderer || new E(this.defaults);
|
|
987
|
+
for (let a in s.renderer) {
|
|
988
|
+
if (!(a in t)) throw new Error(`renderer '${a}' does not exist`);
|
|
989
|
+
if (["options", "parser"].includes(a)) continue;
|
|
990
|
+
let i = a, l = s.renderer[i], o = t[i];
|
|
991
|
+
t[i] = (...c) => {
|
|
992
|
+
let h = l.apply(t, c);
|
|
993
|
+
return h === !1 && (h = o.apply(t, c)), h || "";
|
|
994
|
+
};
|
|
995
|
+
}
|
|
996
|
+
r.renderer = t;
|
|
997
|
+
}
|
|
998
|
+
if (s.tokenizer) {
|
|
999
|
+
let t = this.defaults.tokenizer || new L(this.defaults);
|
|
1000
|
+
for (let a in s.tokenizer) {
|
|
1001
|
+
if (!(a in t)) throw new Error(`tokenizer '${a}' does not exist`);
|
|
1002
|
+
if (["options", "rules", "lexer"].includes(a)) continue;
|
|
1003
|
+
let i = a, l = s.tokenizer[i], o = t[i];
|
|
1004
|
+
t[i] = (...c) => {
|
|
1005
|
+
let h = l.apply(t, c);
|
|
1006
|
+
return h === !1 && (h = o.apply(t, c)), h;
|
|
1007
|
+
};
|
|
1008
|
+
}
|
|
1009
|
+
r.tokenizer = t;
|
|
1010
|
+
}
|
|
1011
|
+
if (s.hooks) {
|
|
1012
|
+
let t = this.defaults.hooks || new I();
|
|
1013
|
+
for (let a in s.hooks) {
|
|
1014
|
+
if (!(a in t)) throw new Error(`hook '${a}' does not exist`);
|
|
1015
|
+
if (["options", "block"].includes(a)) continue;
|
|
1016
|
+
let i = a, l = s.hooks[i], o = t[i];
|
|
1017
|
+
I.passThroughHooks.has(a) ? t[i] = (c) => {
|
|
1018
|
+
if (this.defaults.async && I.passThroughHooksRespectAsync.has(a)) return Promise.resolve(l.call(t, c)).then((g) => o.call(t, g));
|
|
1019
|
+
let h = l.call(t, c);
|
|
1020
|
+
return o.call(t, h);
|
|
1021
|
+
} : t[i] = (...c) => {
|
|
1022
|
+
let h = l.apply(t, c);
|
|
1023
|
+
return h === !1 && (h = o.apply(t, c)), h;
|
|
1024
|
+
};
|
|
1025
|
+
}
|
|
1026
|
+
r.hooks = t;
|
|
1027
|
+
}
|
|
1028
|
+
if (s.walkTokens) {
|
|
1029
|
+
let t = this.defaults.walkTokens, a = s.walkTokens;
|
|
1030
|
+
r.walkTokens = function(i) {
|
|
1031
|
+
let l = [];
|
|
1032
|
+
return l.push(a.call(this, i)), t && (l = l.concat(t.call(this, i))), l;
|
|
1033
|
+
};
|
|
1034
|
+
}
|
|
1035
|
+
this.defaults = { ...this.defaults, ...r };
|
|
1036
|
+
}), this;
|
|
1037
|
+
}
|
|
1038
|
+
setOptions(n) {
|
|
1039
|
+
return this.defaults = { ...this.defaults, ...n }, this;
|
|
1040
|
+
}
|
|
1041
|
+
lexer(n, e) {
|
|
1042
|
+
return v.lex(n, e ?? this.defaults);
|
|
1043
|
+
}
|
|
1044
|
+
parser(n, e) {
|
|
1045
|
+
return y.parse(n, e ?? this.defaults);
|
|
1046
|
+
}
|
|
1047
|
+
parseMarkdown(n) {
|
|
1048
|
+
return (e, s) => {
|
|
1049
|
+
let r = { ...s }, t = { ...this.defaults, ...r }, a = this.onError(!!t.silent, !!t.async);
|
|
1050
|
+
if (this.defaults.async === !0 && r.async === !1) return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
|
|
1051
|
+
if (typeof e > "u" || e === null) return a(new Error("marked(): input parameter is undefined or null"));
|
|
1052
|
+
if (typeof e != "string") return a(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(e) + ", string expected"));
|
|
1053
|
+
t.hooks && (t.hooks.options = t, t.hooks.block = n);
|
|
1054
|
+
let i = t.hooks ? t.hooks.provideLexer() : n ? v.lex : v.lexInline, l = t.hooks ? t.hooks.provideParser() : n ? y.parse : y.parseInline;
|
|
1055
|
+
if (t.async) return Promise.resolve(t.hooks ? t.hooks.preprocess(e) : e).then((o) => i(o, t)).then((o) => t.hooks ? t.hooks.processAllTokens(o) : o).then((o) => t.walkTokens ? Promise.all(this.walkTokens(o, t.walkTokens)).then(() => o) : o).then((o) => l(o, t)).then((o) => t.hooks ? t.hooks.postprocess(o) : o).catch(a);
|
|
47
1056
|
try {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
1057
|
+
t.hooks && (e = t.hooks.preprocess(e));
|
|
1058
|
+
let o = i(e, t);
|
|
1059
|
+
t.hooks && (o = t.hooks.processAllTokens(o)), t.walkTokens && this.walkTokens(o, t.walkTokens);
|
|
1060
|
+
let c = l(o, t);
|
|
1061
|
+
return t.hooks && (c = t.hooks.postprocess(c)), c;
|
|
1062
|
+
} catch (o) {
|
|
1063
|
+
return a(o);
|
|
51
1064
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
1065
|
+
};
|
|
1066
|
+
}
|
|
1067
|
+
onError(n, e) {
|
|
1068
|
+
return (s) => {
|
|
1069
|
+
if (s.message += `
|
|
1070
|
+
Please report this to https://github.com/markedjs/marked.`, n) {
|
|
1071
|
+
let r = "<p>An error occurred:</p><pre>" + w(s.message + "", !0) + "</pre>";
|
|
1072
|
+
return e ? Promise.resolve(r) : r;
|
|
1073
|
+
}
|
|
1074
|
+
if (e) return Promise.reject(s);
|
|
1075
|
+
throw s;
|
|
1076
|
+
};
|
|
1077
|
+
}
|
|
1078
|
+
}, $ = new pt();
|
|
1079
|
+
function p(n, e) {
|
|
1080
|
+
return $.parse(n, e);
|
|
1081
|
+
}
|
|
1082
|
+
p.options = p.setOptions = function(n) {
|
|
1083
|
+
return $.setOptions(n), p.defaults = $.defaults, oe(p.defaults), p;
|
|
1084
|
+
};
|
|
1085
|
+
p.getDefaults = U;
|
|
1086
|
+
p.defaults = S;
|
|
1087
|
+
p.use = function(...n) {
|
|
1088
|
+
return $.use(...n), p.defaults = $.defaults, oe(p.defaults), p;
|
|
1089
|
+
};
|
|
1090
|
+
p.walkTokens = function(n, e) {
|
|
1091
|
+
return $.walkTokens(n, e);
|
|
1092
|
+
};
|
|
1093
|
+
p.parseInline = $.parseInline;
|
|
1094
|
+
p.Parser = y;
|
|
1095
|
+
p.parser = y.parse;
|
|
1096
|
+
p.Renderer = E;
|
|
1097
|
+
p.TextRenderer = J;
|
|
1098
|
+
p.Lexer = v;
|
|
1099
|
+
p.lexer = v.lex;
|
|
1100
|
+
p.Tokenizer = L;
|
|
1101
|
+
p.Hooks = I;
|
|
1102
|
+
p.parse = p;
|
|
1103
|
+
p.options;
|
|
1104
|
+
p.setOptions;
|
|
1105
|
+
p.use;
|
|
1106
|
+
p.walkTokens;
|
|
1107
|
+
p.parseInline;
|
|
1108
|
+
y.parse;
|
|
1109
|
+
v.lex;
|
|
1110
|
+
class dt extends ye {
|
|
1111
|
+
constructor() {
|
|
1112
|
+
super(), this.serverRoot = "https://aiservices-beta.arcgis.com/", this.solutionAIurl = `${this.serverRoot}skills/solution_deployment/chat`, this.docAIurl = `${this.serverRoot}skills/doc_ai_assistant/chat`, this.token = null, this.open = !1, this.conversationStore = {
|
|
57
1113
|
conversationId: null,
|
|
58
1114
|
inquiryId: null,
|
|
59
1115
|
ackSequenceNumber: null
|
|
60
|
-
}, this.
|
|
1116
|
+
}, this._isLoading = !1, this._isLoadingText = "", this.messages = [], this._translations = ve({ name: "arcgis-solutions-assistant", blocking: !0 }), this.closeAssistant = $e(), this._resetConversation = () => {
|
|
1117
|
+
this.conversationStore.conversationId = null, this.conversationStore.inquiryId = null, this.conversationStore.ackSequenceNumber = null;
|
|
1118
|
+
}, this._setMessageContainerRef = (e) => {
|
|
1119
|
+
this._chatContainer = e;
|
|
1120
|
+
}, this._setInputRef = (e) => {
|
|
1121
|
+
this._inputRef = e, this._inputRef.addEventListener("keydown", (s) => {
|
|
1122
|
+
s.key === "Enter" && !s.shiftKey && (s.preventDefault(), this.handleSendMessage());
|
|
1123
|
+
}), setTimeout(() => {
|
|
1124
|
+
this._inputRef?.focus();
|
|
1125
|
+
}, 100);
|
|
1126
|
+
}, this._submitQuestion = (e) => {
|
|
1127
|
+
this._inputRef && (this._inputRef.value = e, this.handleSendMessage());
|
|
1128
|
+
}, this.listenOn(window, "submitQuestion", (e) => {
|
|
1129
|
+
this._submitQuestion(e.detail);
|
|
1130
|
+
});
|
|
61
1131
|
}
|
|
62
1132
|
static {
|
|
63
|
-
this.properties = {
|
|
1133
|
+
this.properties = { serverRoot: 1, solutionAIurl: 1, docAIurl: 1, token: 1, open: 5, conversationStore: 16, _isLoading: 16, _isLoadingText: 16, messages: 16, _translations: 16 };
|
|
64
1134
|
}
|
|
65
1135
|
static {
|
|
66
|
-
this.styles =
|
|
1136
|
+
this.styles = Te;
|
|
1137
|
+
}
|
|
1138
|
+
async handleSendMessage() {
|
|
1139
|
+
if (!this._inputRef?.value.trim())
|
|
1140
|
+
return;
|
|
1141
|
+
this._isLoading = !0;
|
|
1142
|
+
const e = this._inputRef.value.trim();
|
|
1143
|
+
this._inputRef.value = "";
|
|
1144
|
+
let s = {
|
|
1145
|
+
message: e,
|
|
1146
|
+
context: {
|
|
1147
|
+
debug: !1,
|
|
1148
|
+
kind: "SolutionRequest"
|
|
1149
|
+
}
|
|
1150
|
+
};
|
|
1151
|
+
if (this.conversationStore.conversationId !== null) {
|
|
1152
|
+
if (s.conversationId = this.conversationStore.conversationId, this.token) {
|
|
1153
|
+
const r = {
|
|
1154
|
+
author: "human",
|
|
1155
|
+
conversationId: this.conversationStore.conversationId ? this.conversationStore.conversationId : "",
|
|
1156
|
+
message: e,
|
|
1157
|
+
render: this._renderSimpleTextMessage(e, "human", "", "Other")
|
|
1158
|
+
};
|
|
1159
|
+
this.messages = [...this.messages, r];
|
|
1160
|
+
const t = await this.requestAIServer(s, this.token, this.solutionAIurl);
|
|
1161
|
+
this.loopRequest(t, this.token, this.solutionAIurl);
|
|
1162
|
+
}
|
|
1163
|
+
} else if (this.token) {
|
|
1164
|
+
const r = {
|
|
1165
|
+
author: "human",
|
|
1166
|
+
message: e,
|
|
1167
|
+
render: this._renderSimpleTextMessage(e, "human", "", "Other")
|
|
1168
|
+
};
|
|
1169
|
+
this.messages = [...this.messages, r];
|
|
1170
|
+
const t = await this.requestAIServer(s, this.token, this.solutionAIurl);
|
|
1171
|
+
this.conversationStore.conversationId = t.conversationId, this.conversationStore.inquiryId = t.inquiryId, this.conversationStore.ackSequenceNumber = t.sequenceNumber, this.loopRequest(t, this.token, this.solutionAIurl);
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
async loopRequest(e, s, r) {
|
|
1175
|
+
let t = e;
|
|
1176
|
+
for (this._isLoading = !0; t.hasMore; ) {
|
|
1177
|
+
const a = {
|
|
1178
|
+
conversationId: t.conversationId,
|
|
1179
|
+
ackSequenceNumber: t.sequenceNumber,
|
|
1180
|
+
inquiryId: t.inquiryId
|
|
1181
|
+
};
|
|
1182
|
+
if (t = await this.requestAIServer(a, s, r), t.context)
|
|
1183
|
+
if (this.conversationStore.context = t.context, t.context.intent)
|
|
1184
|
+
switch (t.context.intent) {
|
|
1185
|
+
case "Solution question":
|
|
1186
|
+
this.messages.push({
|
|
1187
|
+
author: "ai",
|
|
1188
|
+
conversationId: t.conversationId,
|
|
1189
|
+
intent: "Solution question",
|
|
1190
|
+
message: t.message ?? ""
|
|
1191
|
+
});
|
|
1192
|
+
const i = {
|
|
1193
|
+
message: t.message,
|
|
1194
|
+
conversationId: a.conversationId,
|
|
1195
|
+
context: { kind: "DocAIAssistantRequest", filters: { products: "ArcGIS Solutions" } }
|
|
1196
|
+
};
|
|
1197
|
+
t = await this.requestAIServer(i, s, this.docAIurl);
|
|
1198
|
+
break;
|
|
1199
|
+
case "Recommend solution":
|
|
1200
|
+
if (t.context.results && t.context.results?.length > 0) {
|
|
1201
|
+
const o = {
|
|
1202
|
+
author: "ai",
|
|
1203
|
+
conversationId: t.conversationId,
|
|
1204
|
+
message: t.message ?? "",
|
|
1205
|
+
intent: "Recommend solution",
|
|
1206
|
+
render: this._renderSuggestedSolutions(t.message ?? "", t.context.results, t.conversationId, "Recommend solution")
|
|
1207
|
+
};
|
|
1208
|
+
this.messages.push(o);
|
|
1209
|
+
}
|
|
1210
|
+
break;
|
|
1211
|
+
default:
|
|
1212
|
+
this.messages.push({
|
|
1213
|
+
author: "ai",
|
|
1214
|
+
conversationId: t.conversationId,
|
|
1215
|
+
message: t.message ?? "",
|
|
1216
|
+
intent: "Other",
|
|
1217
|
+
render: this._renderSimpleTextMessage(t.message ?? "", "ai", t.conversationId, "Other")
|
|
1218
|
+
});
|
|
1219
|
+
break;
|
|
1220
|
+
}
|
|
1221
|
+
else if (t.context.results) {
|
|
1222
|
+
for (const i of t.context.results)
|
|
1223
|
+
if (i.reply !== "") {
|
|
1224
|
+
this._isLoadingText = "";
|
|
1225
|
+
const l = await Promise.resolve(p(i.reply));
|
|
1226
|
+
this.messages.push({
|
|
1227
|
+
message: l,
|
|
1228
|
+
author: "ai",
|
|
1229
|
+
conversationId: t.conversationId,
|
|
1230
|
+
intent: "Solution question",
|
|
1231
|
+
render: this._renderDocAssistantResults(l, i.reply, i.ref, i.followupQuestions, t.conversationId, "Solution question")
|
|
1232
|
+
});
|
|
1233
|
+
}
|
|
1234
|
+
} else {
|
|
1235
|
+
t.context.kind && t.context.kind.toLowerCase() === "ArcGISErrorAsContext".toLowerCase() ? this.messages.push({
|
|
1236
|
+
author: "ai",
|
|
1237
|
+
conversationId: t.conversationId,
|
|
1238
|
+
message: t.message ?? "",
|
|
1239
|
+
intent: "Error",
|
|
1240
|
+
render: this._renderSimpleTextMessage(this._translations.genericErrorMessage, "ai", t.conversationId, "Error")
|
|
1241
|
+
}) : this.messages.push({
|
|
1242
|
+
author: "ai",
|
|
1243
|
+
conversationId: t.conversationId,
|
|
1244
|
+
message: t.message ?? "",
|
|
1245
|
+
intent: "Other",
|
|
1246
|
+
render: this._renderSimpleTextMessage(t.message ?? "", "ai", t.conversationId, "Error")
|
|
1247
|
+
});
|
|
1248
|
+
break;
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
this._isLoading = !1;
|
|
1252
|
+
}
|
|
1253
|
+
async requestAIServer(e, s, r) {
|
|
1254
|
+
try {
|
|
1255
|
+
const a = await (await fetch(r, {
|
|
1256
|
+
method: "POST",
|
|
1257
|
+
headers: {
|
|
1258
|
+
"Content-Type": "application/json",
|
|
1259
|
+
token: s
|
|
1260
|
+
},
|
|
1261
|
+
body: JSON.stringify(e)
|
|
1262
|
+
})).json();
|
|
1263
|
+
if (a)
|
|
1264
|
+
return a;
|
|
1265
|
+
throw new Error("No data returned");
|
|
1266
|
+
} catch (t) {
|
|
1267
|
+
throw new Error(`Request failed: ${t}`);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
resetChat() {
|
|
1271
|
+
const e = this.messages[this.messages.length - 1];
|
|
1272
|
+
if (e.author !== "system" && e.conversationId !== "-1") {
|
|
1273
|
+
this._resetConversation();
|
|
1274
|
+
const s = {
|
|
1275
|
+
author: "system",
|
|
1276
|
+
conversationId: "-1",
|
|
1277
|
+
message: this._translations.newConversationStarted,
|
|
1278
|
+
render: this._renderSimpleTextMessage(this._translations.newConversationStarted, "system", "", "Other", "speech-bubble-plus")
|
|
1279
|
+
};
|
|
1280
|
+
this.messages = [...this.messages, s], this._inputRef && (this._inputRef.value = "");
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
willUpdate(e) {
|
|
1284
|
+
this.messages.length === 0 && this._translations.defaultStartUpMessage && (this.messages = [
|
|
1285
|
+
{
|
|
1286
|
+
author: "ai",
|
|
1287
|
+
conversationId: "",
|
|
1288
|
+
message: this._translations.defaultStartUpMessage,
|
|
1289
|
+
render: this._renderSimpleTextMessage(this._translations.defaultStartUpMessage, "ai", "", "Other")
|
|
1290
|
+
}
|
|
1291
|
+
]);
|
|
1292
|
+
}
|
|
1293
|
+
updated(e) {
|
|
1294
|
+
(e.size || this._isLoading) && this._scrollToBottom();
|
|
67
1295
|
}
|
|
68
|
-
|
|
69
|
-
return
|
|
1296
|
+
_renderFeedback(e, s, r, t) {
|
|
1297
|
+
return k`<div><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-up label="position feedback" kind=neutral @click=${() => {
|
|
1298
|
+
this._sendFeedback(e, s, "Good", r, t);
|
|
1299
|
+
}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-down label="position feedback" kind=neutral @click=${() => {
|
|
1300
|
+
this._sendFeedback(e, s, "Bad", r, t);
|
|
1301
|
+
}}></calcite-button></div>`;
|
|
1302
|
+
}
|
|
1303
|
+
_renderSolutionQuestionReferences(e) {
|
|
1304
|
+
return e.map((s) => k`<div class="message-content-pad"><a href=${s.url ?? O} target=_blank>${s.title}</a></div>`);
|
|
1305
|
+
}
|
|
1306
|
+
_renderSolutionQuestionFollowup(e) {
|
|
1307
|
+
return e.map((s) => k`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${s} @click=${() => {
|
|
1308
|
+
this._submitFollowupQuestion(s);
|
|
1309
|
+
}}>${s}</calcite-chip>`);
|
|
1310
|
+
}
|
|
1311
|
+
_renderSolutionsQuestionTable(e, s, r) {
|
|
1312
|
+
const t = this._renderSolutionQuestionReferences(s), a = this._renderSolutionQuestionFollowup(r);
|
|
1313
|
+
return k`<div><div slot=description class="message-content">${Re(e)}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${(i) => {
|
|
1314
|
+
const l = i.currentTarget.parentElement?.nextElementSibling;
|
|
1315
|
+
l.classList.toggle("collapsed"), i.currentTarget.setAttribute("icon-end", l.classList.contains("collapsed") ? "chevron-down" : "chevron-up");
|
|
1316
|
+
}}>${`${s.length} ${s.length === 1 ? this._translations.solutionsDocReference : this._translations.solutionsDocReferences}`}</calcite-button></div><div class="references-container collapsed">${t}</div></div><div class="padding-top-10">${a}</div></div>`;
|
|
1317
|
+
}
|
|
1318
|
+
_renderSolutionCard(e, s) {
|
|
1319
|
+
return k`<a class="solution-card" id=${s ?? O} @click=${() => {
|
|
1320
|
+
this._emitItemIdFromAI(s);
|
|
1321
|
+
}}>${k`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail ?? O} alt=Thumbnail><calcite-chip icon=launch label="View solution">${this._translations.viewSolutionInApp}</calcite-chip></div><h3 slot=heading><b>${e.title}</b></h3><span slot=description>${e.snippet}</span></calcite-card>`}</a>`;
|
|
1322
|
+
}
|
|
1323
|
+
_renderExistingSolutionsTable(e, s) {
|
|
1324
|
+
const r = s.map((t) => {
|
|
1325
|
+
const a = t.thumbnail.match(/\/items\/([a-f0-9]+)\//);
|
|
1326
|
+
return a ? this._renderSolutionCard(t, a[1]) : null;
|
|
1327
|
+
}).filter((t) => t !== null);
|
|
1328
|
+
return k`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${r}</div></div>`;
|
|
1329
|
+
}
|
|
1330
|
+
_renderSimpleTextMessage(e, s, r, t, a) {
|
|
1331
|
+
const i = this.messages.length >= 2 ? this._getMostRecentQuestion() : "", l = typeof i == "string" ? "" : i?.message ?? "";
|
|
1332
|
+
return s === "system" ? k`<div class="message-content message-content-alignment">${a && k`<calcite-icon .icon=${a}></calcite-icon>` || ""}${e}</div>` : k`<calcite-card class=${Se(s === "human" ? "user-message" : "system-message")}><div class="message-content">${e}${s === "ai" && r !== "" && this._renderFeedback(e, l, r, t) || ""}</div></calcite-card>`;
|
|
1333
|
+
}
|
|
1334
|
+
_renderDocAssistantResults(e, s, r, t, a, i) {
|
|
1335
|
+
const l = this._getMostRecentQuestion();
|
|
1336
|
+
return k`<calcite-card class="system-message"><div class="message-content">${this._renderSolutionsQuestionTable(e, r, t)}${this._renderFeedback(s, l?.message ?? "", a, i)}</div></calcite-card>`;
|
|
1337
|
+
}
|
|
1338
|
+
_renderSuggestedSolutions(e, s, r, t) {
|
|
1339
|
+
const a = this._getMostRecentQuestion(), i = s.map((l) => l.title);
|
|
1340
|
+
return k`<calcite-card class="system-message"><div class="message-content">${this._renderExistingSolutionsTable(e, s)}${this._renderFeedback(e + "(" + i.toString() + ")", a?.message ?? "", r, t)}</div></calcite-card>`;
|
|
70
1341
|
}
|
|
71
1342
|
render() {
|
|
72
|
-
return
|
|
1343
|
+
return k`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${() => {
|
|
1344
|
+
this.closeAssistant.emit(!0), this.open = !1;
|
|
1345
|
+
}}><span class="chat-panel-heading" slot=header-content><span class="padding-right-8">${this._translations.solutionAssistantTitle}</span><calcite-chip .label=${this._translations.betaTag} .value=${this._translations.betaTag}>${this._translations.betaTag}</calcite-chip></span>${this.messages.length > 1 ? k`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent icon-end=speech-bubble-plus label="New conversation" kind=neutral></calcite-button>` : ""}<div class="chat-messages" ${se(this._setMessageContainerRef)}>${this.messages.map((e) => e.render)}${this._isLoading && k`<calcite-card class="loader-message"><div class="message-content display-flex-row"><calcite-loader .label=${this._isLoadingText} inline scale=s></calcite-loader>${this._isLoadingText != "" && k`<div class="padding-left-10">${this._isLoadingText}</div>` || ""}</div></calcite-card>` || ""}</div><div slot=footer class="width-100"><div class="chat-input"><calcite-text-area resize=none rows=3 .placeholder=${this._translations.sendMessage} value ${se(this._setInputRef)}></calcite-text-area><calcite-button icon-start=send appearance=outline kind=neutral @click=${this.handleSendMessage} .disabled=${!!this._isLoading}></calcite-button></div><div class="disclaimer-div padding-top-10" slot=footer><calcite-icon icon=information scale=s></calcite-icon>${this._translations.disclaimerMessage}<a href=https://trust.arcgis.com/en/security-concern/ target=_blank>${this._translations.reportConcern}</a></div></div></calcite-dialog>`;
|
|
1346
|
+
}
|
|
1347
|
+
_scrollToBottom() {
|
|
1348
|
+
this._chatContainer && setTimeout(() => {
|
|
1349
|
+
this._chatContainer && (this._chatContainer.scrollTop = this._chatContainer.scrollHeight);
|
|
1350
|
+
}, 100);
|
|
1351
|
+
}
|
|
1352
|
+
_emitItemIdFromAI(e) {
|
|
1353
|
+
this._querySolutions(e).then((s) => {
|
|
1354
|
+
const t = s.typeKeywords.filter((i) => i.includes("solutionid")), a = new CustomEvent("solutionIDFromAssistant", {
|
|
1355
|
+
detail: t.length > 0 ? t[0] : e,
|
|
1356
|
+
bubbles: !0,
|
|
1357
|
+
composed: !0
|
|
1358
|
+
});
|
|
1359
|
+
window.dispatchEvent(a);
|
|
1360
|
+
});
|
|
1361
|
+
}
|
|
1362
|
+
_submitFollowupQuestion(e) {
|
|
1363
|
+
const s = new CustomEvent("submitQuestion", {
|
|
1364
|
+
detail: e,
|
|
1365
|
+
bubbles: !0,
|
|
1366
|
+
composed: !0
|
|
1367
|
+
});
|
|
1368
|
+
window.dispatchEvent(s);
|
|
1369
|
+
}
|
|
1370
|
+
_getMostRecentQuestion() {
|
|
1371
|
+
return [...this.messages].reverse().find((e) => e.author === "human") || null;
|
|
1372
|
+
}
|
|
1373
|
+
async _querySolutions(e) {
|
|
1374
|
+
const s = await Ae(e);
|
|
1375
|
+
if ("error" in s)
|
|
1376
|
+
throw new Error(s.error);
|
|
1377
|
+
return s;
|
|
73
1378
|
}
|
|
74
|
-
|
|
75
|
-
|
|
1379
|
+
_sendFeedback(e, s, r, t, a) {
|
|
1380
|
+
const i = `https://survey123.arcgis.com/share/6e349a50b4504ca6b6107216d568db5f?field:_source=${encodeURIComponent("Solutions Assistant")}&field:user_evaluation=${encodeURIComponent(r)}&field:question=${encodeURIComponent(s)}&field:answer=${encodeURIComponent(e)}&field:context=${encodeURIComponent(JSON.stringify({ intent: a }))}&field:conversation_id=${encodeURIComponent(t)}&field:version=${encodeURIComponent("v1")}`;
|
|
1381
|
+
window.open(i, "_blank");
|
|
76
1382
|
}
|
|
77
1383
|
}
|
|
78
|
-
|
|
1384
|
+
we("arcgis-solutions-assistant", dt);
|
|
79
1385
|
export {
|
|
80
|
-
|
|
1386
|
+
dt as ArcgisSolutionsAssistant
|
|
81
1387
|
};
|