@esri/solutions-components 1.2.0-next.23 → 1.2.0-next.25
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/cdn/{EXQYLCNA.js → 227OKUOP.js} +2 -2
- package/dist/cdn/{KNKXTRCQ.js → 22W4RE5H.js} +2 -2
- package/dist/cdn/{2M5HYDED.js → 25LXR3FP.js} +2 -2
- package/dist/cdn/{YCGRKQUE.js → 27CMSLNL.js} +2 -2
- package/dist/cdn/{ZSPVOJPN.js → 2BVJTFDE.js} +2 -2
- package/dist/cdn/{AS43PZG7.js → 2HGUUNMW.js} +2 -2
- package/dist/cdn/{YRYUTQZS.js → 2HIB2G57.js} +2 -2
- package/dist/cdn/{C3KUXIX3.js → 2HSHTUIQ.js} +2 -2
- package/dist/cdn/{XFHGN2VQ.js → 2PRJJVOV.js} +2 -2
- package/dist/cdn/{EI3T37W7.js → 2RKY4JS6.js} +2 -2
- package/dist/cdn/{WTAYRSWV.js → 2TQEX4B7.js} +2 -2
- package/dist/cdn/{34IW6ND5.js → 2WOROUAI.js} +2 -2
- package/dist/cdn/{WPCRI56Q.js → 2YWTZAMT.js} +2 -2
- package/dist/cdn/{5KPB4NR2.js → 33CKROVW.js} +2 -2
- package/dist/cdn/{GOOEDIPS.js → 37VDTBSA.js} +2 -2
- package/dist/cdn/{EIQYIC3K.js → 3G2ORHX5.js} +2 -2
- package/dist/cdn/{E5ITCSLM.js → 3KS7ECJI.js} +2 -2
- package/dist/cdn/{G2IK2BJY.js → 3QKECYXX.js} +14 -14
- package/dist/cdn/{JZTOFKTR.js → 3S5YMQNC.js} +2 -2
- package/dist/cdn/{ZPGG6M7Y.js → 3SQXJURM.js} +2 -2
- package/dist/cdn/{CGOZV2GW.js → 47LITZGW.js} +2 -2
- package/dist/cdn/{AYV2T2DU.js → 4CDBID3T.js} +1 -1
- package/dist/cdn/{ZI4I3QKV.js → 4JRBLZYN.js} +2 -2
- package/dist/cdn/{6ZODEDKU.js → 4L3TXAHQ.js} +2 -2
- package/dist/cdn/{2GT4SW6J.js → 4LD25VZ6.js} +2 -2
- package/dist/cdn/{EHCPDGSC.js → 4TNZ7VPX.js} +2 -2
- package/dist/cdn/{2MAG3IXY.js → 4V7AT3AA.js} +2 -2
- package/dist/cdn/{YSRBGBTX.js → 55OXSM7F.js} +2 -2
- package/dist/cdn/{S7BHNJLQ.js → 5BFB2DWR.js} +2 -2
- package/dist/cdn/{NFHTWLBJ.js → 5F66JCHM.js} +1 -1
- package/dist/cdn/{PCD7PZ5L.js → 5FG7JIL6.js} +1 -1
- package/dist/cdn/{EKXVOE2T.js → 5FO3BEAU.js} +2 -2
- package/dist/cdn/{OAPFPQ7T.js → 5H7XMH3U.js} +2 -2
- package/dist/cdn/{JHZIHFJQ.js → 5I3656PD.js} +2 -2
- package/dist/cdn/{I2YMTCN3.js → 5IGYCZUX.js} +2 -2
- package/dist/cdn/{4MUYN6M7.js → 5IR2J2MU.js} +2 -2
- package/dist/cdn/{UHXD3KCT.js → 5MVJVO5P.js} +2 -2
- package/dist/cdn/{UM75XTCN.js → 5OUPCMUR.js} +2 -2
- package/dist/cdn/{HXCXMMYQ.js → 5PRG5J4I.js} +2 -2
- package/dist/cdn/{DZHX7PCQ.js → 5QBB4PGR.js} +2 -2
- package/dist/cdn/5SL4YU5J.js +18 -0
- package/dist/cdn/{64ROMKAE.js → 5V5732QI.js} +1 -1
- package/dist/cdn/{AUB4DXBA.js → 66PCARXT.js} +2 -2
- package/dist/cdn/{IPOR2FPA.js → 6B3LITRW.js} +1 -1
- package/dist/cdn/{ZCW6M6OW.js → 6DG5GYU6.js} +1 -1
- package/dist/cdn/{WCUMS6MM.js → 6DNBPW3K.js} +2 -2
- package/dist/cdn/6F753QZS.js +18 -0
- package/dist/cdn/{OABJ6FAM.js → 6GTTRESX.js} +2 -2
- package/dist/cdn/{KN4FZEPG.js → 6HWRE6RG.js} +2 -2
- package/dist/cdn/{ARL6VS7K.js → 6LAMGJ6U.js} +2 -2
- package/dist/cdn/6RRQQGSF.js +18 -0
- package/dist/cdn/{PKMLCY5N.js → 6RSL6JCZ.js} +3 -3
- package/dist/cdn/6RUMIMNG.js +18 -0
- package/dist/cdn/6SPFZVPR.js +21 -0
- package/dist/cdn/{LZI6KYYE.js → 6TKZARJO.js} +2 -2
- package/dist/cdn/{OMECYQCA.js → 6UB7H5S7.js} +2 -2
- package/dist/cdn/{6BU4XFOB.js → 6UEXK7QG.js} +2 -2
- package/dist/cdn/{FG2CU36L.js → 6VC6BOD3.js} +2 -2
- package/dist/cdn/{OWPATX2P.js → 6W73UJJY.js} +1 -1
- package/dist/cdn/{3R26Q7T6.js → 6XW66PF7.js} +2 -2
- package/dist/cdn/{2WOYI26G.js → 73L6SXQT.js} +2 -2
- package/dist/cdn/{AACDL376.js → 7EF6XSGW.js} +2 -2
- package/dist/cdn/{XDZCTXYL.js → 7F33ZVRA.js} +1 -1
- package/dist/cdn/{6P6OXN3N.js → 7HYXPVC6.js} +2 -2
- package/dist/cdn/{DZU33CZC.js → 7LU2BDQN.js} +2 -2
- package/dist/cdn/{O7QUQWMN.js → 7VSEOVSU.js} +1 -1
- package/dist/cdn/{5J2BYWKN.js → A44QWUNI.js} +2 -2
- package/dist/cdn/{EUZPQTWY.js → A7HUHBZM.js} +2 -2
- package/dist/cdn/{YH7OKKNO.js → AAA6LMGT.js} +2 -2
- package/dist/cdn/{UX43ZU2H.js → AB7WV42B.js} +2 -2
- package/dist/cdn/{FA4FO6I5.js → AF4HG5KQ.js} +1 -1
- package/dist/cdn/{S4VTTGV4.js → AGTUYAIF.js} +2 -2
- package/dist/cdn/AIMB7S2N.js +4 -0
- package/dist/cdn/{ELIRAMGJ.js → AKWICKZH.js} +2 -2
- package/dist/cdn/{5C6YRKRX.js → ALYZCHUT.js} +2 -2
- package/dist/cdn/{GKFLVIV7.js → AOJ5FYFL.js} +1 -1
- package/dist/cdn/{3GUMV5O4.js → AQ4DO73M.js} +2 -2
- package/dist/cdn/{DADWRP33.js → ASKWOQAJ.js} +2 -2
- package/dist/cdn/{7PHW5SV3.js → AWTULYQZ.js} +2 -2
- package/dist/cdn/{3FMFTSSY.js → AZ4OSWBB.js} +2 -2
- package/dist/cdn/{OHFYM6YD.js → AZ5NWSFJ.js} +2 -2
- package/dist/cdn/{RA5UOWRS.js → BDHPB663.js} +2 -2
- package/dist/cdn/{LLOZ3PI2.js → BFF5G777.js} +2 -2
- package/dist/cdn/{CHPK2WLW.js → BPD7DNKI.js} +2 -2
- package/dist/cdn/{GFBXVBJT.js → BSKJHSLD.js} +2 -2
- package/dist/cdn/{GXA2JOF6.js → BTWGA4N5.js} +2 -2
- package/dist/cdn/{2OO632YT.js → BUGTCHMJ.js} +2 -2
- package/dist/cdn/{WC5UQNN4.js → BXCKPKDO.js} +2 -2
- package/dist/cdn/{KZXHGZIS.js → BXIJJQ7I.js} +2 -2
- package/dist/cdn/{KBRZ2E2B.js → BYY527IH.js} +2 -2
- package/dist/cdn/{LTHVPEMG.js → BZYNOZRI.js} +2 -2
- package/dist/cdn/{ZKOH4CPV.js → C2H742OR.js} +2 -2
- package/dist/cdn/{EWTEGPMF.js → C5FEFWP7.js} +2 -2
- package/dist/cdn/{ZFTONCP4.js → CCDEGHR5.js} +2 -2
- package/dist/cdn/{OGT3FBFB.js → CEJWVVDW.js} +2 -2
- package/dist/cdn/{EHX5BFXV.js → CEU3EJQG.js} +2 -2
- package/dist/cdn/{YFWPGFWZ.js → CI6ZSON4.js} +2 -2
- package/dist/cdn/{A5TA5B7Q.js → CMJVFQIK.js} +2 -2
- package/dist/cdn/{G2IJENMB.js → CNI6KQHC.js} +2 -2
- package/dist/cdn/{WWHHN66F.js → CR2GM5TB.js} +1 -1
- package/dist/cdn/{447QBBCZ.js → CR3Y76NS.js} +1 -1
- package/dist/cdn/{E2QEWS4T.js → CRL5EWVF.js} +2 -2
- package/dist/cdn/{QHOSUMUL.js → D3GW7DPE.js} +2 -2
- package/dist/cdn/D5Q2SMLV.js +18 -0
- package/dist/cdn/{4O2YHWLF.js → D5VBWDAK.js} +2 -2
- package/dist/cdn/{ZARLXUDC.js → D7KMXEBV.js} +2 -2
- package/dist/cdn/{Q7XUITQI.js → DAX6C2RK.js} +2 -2
- package/dist/cdn/{5M53YYS7.js → DK6ZOLTA.js} +2 -2
- package/dist/cdn/{TK5MJJZP.js → DKQV43MA.js} +2 -2
- package/dist/cdn/{RIDOZXO2.js → DPMOOEJX.js} +2 -2
- package/dist/cdn/{5RE4EQKC.js → DRULXPQW.js} +2 -2
- package/dist/cdn/{VW6CSBYE.js → DSCMJ63Y.js} +2 -2
- package/dist/cdn/{R5CSYGKM.js → DSJ4DCH7.js} +2 -2
- package/dist/cdn/{F3BATDTI.js → DTOU5IAO.js} +2 -2
- package/dist/cdn/{YIVC3N6V.js → DXWM5SOG.js} +2 -2
- package/dist/cdn/{CN5DJPHM.js → E6O4CC2T.js} +1 -1
- package/dist/cdn/{JOLRT72P.js → EAVQ5FCN.js} +2 -2
- package/dist/cdn/{L4WAQSYZ.js → EEKC5HMJ.js} +2 -2
- package/dist/cdn/{TJKDS62P.js → EH2FJOGU.js} +2 -2
- package/dist/cdn/{5KBIDMN6.js → ELYG6CH5.js} +2 -2
- package/dist/cdn/{YFNTPWQX.js → EV7CDQQX.js} +2 -2
- package/dist/cdn/{ETYGQEHV.js → F2GASC36.js} +2 -2
- package/dist/cdn/{ZP365LXA.js → F3MXJ7PK.js} +3 -3
- package/dist/cdn/{6FTTCCP6.js → F6HXDR37.js} +2 -2
- package/dist/cdn/{DOQVDYCN.js → F6M3XWTD.js} +2 -2
- package/dist/cdn/FBODKGEY.js +64 -0
- package/dist/cdn/FBVK2FLN.js +4 -0
- package/dist/cdn/FCEGEP53.js +18 -0
- package/dist/cdn/{XALVY5U7.js → FCSALOKB.js} +2 -2
- package/dist/cdn/{6LIDXZSZ.js → FKTPY2PG.js} +2 -2
- package/dist/cdn/{V2J3YHQS.js → FOHFIU2Q.js} +2 -2
- package/dist/cdn/{OPFS2EDA.js → FOSWULAV.js} +1 -1
- package/dist/cdn/{V7N3K5BW.js → FU3WID6I.js} +2 -2
- package/dist/cdn/{5EKBLXSV.js → G5ZAVHW6.js} +2 -2
- package/dist/cdn/{42WGOLD2.js → GBNNHDBN.js} +2 -2
- package/dist/cdn/{ZTNTEOUC.js → GBUQQPYG.js} +1 -1
- package/dist/cdn/GEM3SJHZ.js +4 -0
- package/dist/cdn/{SOSIOC3B.js → GIRT7FSE.js} +2 -2
- package/dist/cdn/{44RSFMVL.js → GTMB2D2L.js} +2 -2
- package/dist/cdn/{OUL7XO4D.js → GUAMRG2A.js} +2 -2
- package/dist/cdn/{73ZPUTT3.js → GWCKLSTR.js} +2 -2
- package/dist/cdn/{MNX4DCXY.js → GXL4PA3D.js} +2 -2
- package/dist/cdn/{XJGJXA5N.js → GXXNGMWJ.js} +2 -2
- package/dist/cdn/GZSKPM5F.js +4 -0
- package/dist/cdn/{NM4HWLOR.js → H35DFLHL.js} +2 -2
- package/dist/cdn/H5AUCOST.js +18 -0
- package/dist/cdn/{WVNSSHFD.js → H6EC52KA.js} +2 -2
- package/dist/cdn/{C4BPHR5L.js → HBLU4NNH.js} +2 -2
- package/dist/cdn/{ANFNJY23.js → HF6SJRK7.js} +2 -2
- package/dist/cdn/{3L6Z4QK3.js → HUJ6PAV5.js} +2 -2
- package/dist/cdn/{QDIFRW3Y.js → HY2YEKX4.js} +2 -2
- package/dist/cdn/{EXKTND6M.js → HYJAUXZR.js} +2 -2
- package/dist/cdn/{2QI7CPMT.js → I2NS6RAC.js} +2 -2
- package/dist/cdn/{3ZPCQCSG.js → I42BS5RN.js} +2 -2
- package/dist/cdn/{ECBQ4FMJ.js → I6F7SK7X.js} +2 -2
- package/dist/cdn/{6AUSDT74.js → IAOFW42G.js} +2 -2
- package/dist/cdn/{DQN7CICI.js → IARKQB6L.js} +2 -2
- package/dist/cdn/IKTBJIKZ.js +18 -0
- package/dist/cdn/{XWD4BRLE.js → IN5SSIXG.js} +2 -2
- package/dist/cdn/{BOMKSZ2W.js → IUMQQRBH.js} +2 -2
- package/dist/cdn/{4OQCCPF3.js → IVPONNZR.js} +1 -1
- package/dist/cdn/IXPZNMCD.js +18 -0
- package/dist/cdn/{KZWF25A7.js → J2XPTQU2.js} +2 -2
- package/dist/cdn/{F2IY43CU.js → J5AOMIJN.js} +2 -2
- package/dist/cdn/{U3N72MOY.js → J6P2QRWD.js} +2 -2
- package/dist/cdn/{G5ZC3LOB.js → JBVOLK4R.js} +1 -1
- package/dist/cdn/{AXU3N3SM.js → JDWBEXFG.js} +2 -2
- package/dist/cdn/{KS3H6HD6.js → JEMU5PFH.js} +2 -2
- package/dist/cdn/{WHLKZMOG.js → JPFMUBPN.js} +2 -2
- package/dist/cdn/{UNMHKHZ5.js → JRFE64QB.js} +2 -2
- package/dist/cdn/JULUVIZZ.js +18 -0
- package/dist/cdn/{EERCV4JC.js → JY7CESFO.js} +2 -2
- package/dist/cdn/{BHFPIIA5.js → K3PSKBFT.js} +2 -2
- package/dist/cdn/{W2PK53ZW.js → KBDQPISA.js} +2 -2
- package/dist/cdn/{5ACUN6IO.js → KDFFHJCE.js} +2 -2
- package/dist/cdn/{DXAGALWH.js → KJ5763CL.js} +2 -2
- package/dist/cdn/{7I46GKF5.js → KQ5G7HVB.js} +2 -2
- package/dist/cdn/{QC2AE5T3.js → KTOTBTIB.js} +2 -2
- package/dist/cdn/{WY3IXZWK.js → KUHCBGK5.js} +2 -2
- package/dist/cdn/KUQWCT6L.js +4 -0
- package/dist/cdn/{56WN2O6D.js → KVGWKRTF.js} +2 -2
- package/dist/cdn/{H55C6KB4.js → KX7RN2HN.js} +2 -2
- package/dist/cdn/{V2MVWBQC.js → KXRDDOMY.js} +1 -1
- package/dist/cdn/{LHADNET3.js → KY5MN2T4.js} +2 -2
- package/dist/cdn/{RIGVRNF5.js → KZ3UTDYW.js} +2 -2
- package/dist/cdn/{IGTA7PF3.js → L3KYVSGX.js} +1 -1
- package/dist/cdn/{GHIJAWRM.js → LBWBQTWE.js} +1 -1
- package/dist/cdn/{SKQS2WA5.js → LDHQ34KV.js} +2 -2
- package/dist/cdn/{NHDI6Y5W.js → LH4OLQ34.js} +2 -2
- package/dist/cdn/{A2Q74J27.js → LIWWQNG7.js} +2 -2
- package/dist/cdn/{VT3SBHVN.js → LJOG53B6.js} +2 -2
- package/dist/cdn/{F63E53WO.js → LOR4HLCD.js} +2 -2
- package/dist/cdn/{OUD56JVC.js → LPW522QH.js} +2 -2
- package/dist/cdn/{GCMVURP5.js → LQ2RKGNR.js} +1 -1
- package/dist/cdn/{ZBBWQLUR.js → LRQZMD7I.js} +2 -2
- package/dist/cdn/{73457ZF3.js → M3J7WFCT.js} +2 -2
- package/dist/cdn/{WY7IYTWF.js → M47E3HSB.js} +2 -2
- package/dist/cdn/{2AY2K3WZ.js → M6UH6Z5C.js} +2 -2
- package/dist/cdn/{HEPVNE4N.js → MM7HTB74.js} +2 -2
- package/dist/cdn/{SLEEVSYJ.js → MTJYX32S.js} +2 -2
- package/dist/cdn/{UZXP73OD.js → MVL3MXJS.js} +2 -2
- package/dist/cdn/{DBHD7PCZ.js → MYL46HPR.js} +2 -2
- package/dist/cdn/{SVLEHVDZ.js → NGCSRMGK.js} +2 -2
- package/dist/cdn/{DPCUAZSE.js → NGGKWS4K.js} +2 -2
- package/dist/cdn/{4IUIEMK6.js → NGXX4YBY.js} +2 -2
- package/dist/cdn/{F3MYECGZ.js → NH4QW36Q.js} +2 -2
- package/dist/cdn/{QB5AV6Z2.js → NJEFWFEN.js} +2 -2
- package/dist/cdn/{WUDVN65D.js → NL3W622Y.js} +1 -1
- package/dist/cdn/{3DKHJDV7.js → NQUVPAJI.js} +2 -2
- package/dist/cdn/{GWDTMNPJ.js → NRAOZEZJ.js} +2 -2
- package/dist/cdn/NUOI2YN5.js +4 -0
- package/dist/cdn/{KJQ7R2JY.js → NV7R5AHR.js} +2 -2
- package/dist/cdn/NWMLIPGH.js +18 -0
- package/dist/cdn/{VVCF2AUH.js → NWUKK5A6.js} +2 -2
- package/dist/cdn/{OJXOT76S.js → NZOYC75S.js} +2 -2
- package/dist/cdn/{B56YGTDU.js → O4FNQ6WI.js} +2 -2
- package/dist/cdn/{PIR7N5VR.js → OEYVI2ZO.js} +1 -1
- package/dist/cdn/OFFB46MS.js +18 -0
- package/dist/cdn/{X2BUY4SI.js → OLX2TCKA.js} +2 -2
- package/dist/cdn/{SKEK4QNX.js → OOILB3XG.js} +2 -2
- package/dist/cdn/{SRQOKDNI.js → OQFR5EBN.js} +2 -2
- package/dist/cdn/{6MEGF2SK.js → OSICGOI4.js} +2 -2
- package/dist/cdn/OSOP5UDV.js +18 -0
- package/dist/cdn/{VIAQLJWM.js → OX2XBEMJ.js} +2 -2
- package/dist/cdn/{TB5GWGCC.js → P3S3CHRK.js} +2 -2
- package/dist/cdn/{C3XOCOGN.js → P4GU4NJL.js} +2 -2
- package/dist/cdn/{SZQTGGCV.js → P4JDDNDS.js} +1 -1
- package/dist/cdn/{QAP7LJA2.js → PGYWV3NX.js} +2 -2
- package/dist/cdn/{X5XJRBMS.js → PL2DLTJ3.js} +1 -1
- package/dist/cdn/{ZZ7264B4.js → PM5ELFQG.js} +2 -2
- package/dist/cdn/{UDYQLKU2.js → PMDK5BSC.js} +2 -2
- package/dist/cdn/POXK5JYF.js +18 -0
- package/dist/cdn/{EUJDYYJR.js → PQD2UKJH.js} +2 -2
- package/dist/cdn/{EYORGOJD.js → PTEWBNCV.js} +2 -2
- package/dist/cdn/PTP3YNB4.js +18 -0
- package/dist/cdn/{USSXA4MT.js → PWDGPR5X.js} +2 -2
- package/dist/cdn/Q35B4TVR.js +18 -0
- package/dist/cdn/{H7OQMXZH.js → Q37G5WQQ.js} +2 -2
- package/dist/cdn/{RTBQFLPT.js → Q65LQ4DS.js} +2 -2
- package/dist/cdn/{7UZH3JSA.js → Q6KR2MGM.js} +2 -2
- package/dist/cdn/{SC3FNS6J.js → Q75J5FSF.js} +2 -2
- package/dist/cdn/{R5I3RSB5.js → QBUPFG4V.js} +2 -2
- package/dist/cdn/{R65XXC7W.js → QFU7UBJX.js} +1 -1
- package/dist/cdn/{7HEGK7MA.js → QKX7N74V.js} +2 -2
- package/dist/cdn/{2HQ3WQSS.js → QRTCQKT7.js} +1 -1
- package/dist/cdn/{L5CQLTKN.js → QSDAU6XO.js} +2 -2
- package/dist/cdn/{I7RPH5AQ.js → QYLZ7QMQ.js} +2 -2
- package/dist/cdn/{Z6Y6T5UD.js → R4NGPN22.js} +2 -2
- package/dist/cdn/{SWZKIHBT.js → R5E4K7RK.js} +2 -2
- package/dist/cdn/{SVIJAADO.js → R6HSLJZP.js} +3 -3
- package/dist/cdn/{JJYUMARO.js → R6NUZOUH.js} +2 -2
- package/dist/cdn/{GWZ45ROX.js → RCCI6MDJ.js} +2 -2
- package/dist/cdn/{4EJQCTSA.js → RDASDC76.js} +1 -1
- package/dist/cdn/RDXF2NUP.js +18 -0
- package/dist/cdn/RE424GHE.js +18 -0
- package/dist/cdn/RGM4NZOR.js +18 -0
- package/dist/cdn/{YHC7VJT6.js → ROF3LNEG.js} +2 -2
- package/dist/cdn/{3QZEC6GE.js → RR3CV4NP.js} +2 -2
- package/dist/cdn/{VJEGBA6P.js → RXUBLDCK.js} +2 -2
- package/dist/cdn/{LMDNSXHL.js → SGSS7BTV.js} +2 -2
- package/dist/cdn/SLN637AP.js +18 -0
- package/dist/cdn/{MISCRKYB.js → SPK5KP7G.js} +2 -2
- package/dist/cdn/{A7TN5NOD.js → SQQALD75.js} +2 -2
- package/dist/cdn/{3TKXL6UM.js → SR6U5ITN.js} +1 -1
- package/dist/cdn/{XC2RN3E4.js → SRGTODED.js} +2 -2
- package/dist/cdn/{4G3EIWB6.js → SUSD34WI.js} +2 -2
- package/dist/cdn/{5KQDWASO.js → T3QNUX7F.js} +2 -2
- package/dist/cdn/{ASRG36YH.js → T4S5GHIX.js} +2 -2
- package/dist/cdn/{OCHSVPPR.js → T7WZEKVF.js} +2 -2
- package/dist/cdn/{67KWMMGF.js → TA22B3PN.js} +2 -2
- package/dist/cdn/{YE4CWFPV.js → TB26F4TS.js} +2 -2
- package/dist/cdn/{A3SSEJRK.js → TCDTWQMN.js} +2 -2
- package/dist/cdn/{UZ374JOX.js → TE3EPYCD.js} +2 -2
- package/dist/cdn/{FA4MU7WH.js → TEC4FZSJ.js} +2 -2
- package/dist/cdn/{VRW57QNZ.js → TKIB7NRH.js} +7 -7
- package/dist/cdn/{2BZBRTJL.js → TND7L4TG.js} +2 -2
- package/dist/cdn/{QTGADA35.js → TNXXPVD3.js} +2 -2
- package/dist/cdn/{UGXZV4XN.js → TNYM6PF6.js} +1 -1
- package/dist/cdn/{6CFGY2BV.js → TOEUWHX7.js} +2 -2
- package/dist/cdn/{VESF2MVU.js → TXM5UUEF.js} +2 -2
- package/dist/cdn/{H6HGD575.js → U5REIPGX.js} +2 -2
- package/dist/cdn/{EJ3ZHDJE.js → UCGJMCLN.js} +1 -1
- package/dist/cdn/{XPYSSK2W.js → UFOHEGEB.js} +2 -2
- package/dist/cdn/{5TJ3WMQB.js → UGDU3FHG.js} +2 -2
- package/dist/cdn/{WGC7EQLN.js → UJ2HNPRI.js} +2 -2
- package/dist/cdn/{BFCOS4AK.js → UMOF3JJN.js} +2 -2
- package/dist/cdn/{EH6Q6O37.js → URQ5DYLW.js} +2 -2
- package/dist/cdn/{NNECIHO6.js → UZYJBWAL.js} +3 -3
- package/dist/cdn/{LSY7M7PM.js → V2Y4GO6L.js} +2 -2
- package/dist/cdn/{SNJYATF7.js → V63RSPHR.js} +1 -1
- package/dist/cdn/{AX74S37Z.js → VCB2O536.js} +2 -2
- package/dist/cdn/{72HWZD45.js → VGOUD4LG.js} +2 -2
- package/dist/cdn/{VPNGXGZ6.js → VJKKQU2K.js} +2 -2
- package/dist/cdn/{AFBDY226.js → VJW7W56T.js} +2 -2
- package/dist/cdn/{4DV66F6E.js → VMLHXPSN.js} +2 -2
- package/dist/cdn/VN7CGEIY.js +18 -0
- package/dist/cdn/{FNYNLM4T.js → VOCKL66I.js} +2 -2
- package/dist/cdn/{R5T7HNWM.js → VOYZKLLZ.js} +2 -2
- package/dist/cdn/{KGFHT5Z2.js → VSVGR3WH.js} +2 -2
- package/dist/cdn/{WGIZKN2R.js → W4Q2GGWI.js} +2 -2
- package/dist/cdn/{QGJJ24WW.js → W65FI6JK.js} +2 -2
- package/dist/cdn/{ZOZZYFSA.js → WFLBBSMB.js} +3 -3
- package/dist/cdn/{I3DV75YQ.js → WO6ZWZSX.js} +2 -2
- package/dist/cdn/{FRRPVDOH.js → WPAY2RXR.js} +2 -2
- package/dist/cdn/{RO4OHJS7.js → WVPQS2SL.js} +2 -2
- package/dist/cdn/{MI7LMOW6.js → WVXU4P7B.js} +2 -2
- package/dist/cdn/{XKMLZWOT.js → WXOAB4RS.js} +2 -2
- package/dist/cdn/{7RTQMKLE.js → WYFCB3NO.js} +1 -1
- package/dist/cdn/{XRUCHXKQ.js → X5BGIPQE.js} +1 -1
- package/dist/cdn/{DDNXBLQ6.js → X5CUQYP2.js} +2 -2
- package/dist/cdn/{GPWOWLEE.js → X65UTRJF.js} +2 -2
- package/dist/cdn/{U22NFDSK.js → X7GANTPZ.js} +2 -2
- package/dist/cdn/{7EZRADWR.js → XEUITAUW.js} +1 -1
- package/dist/cdn/{5J5YFGVC.js → XFOJ2YTI.js} +2 -2
- package/dist/cdn/{SVKG37NL.js → XGRYQZ2O.js} +2 -2
- package/dist/cdn/{7G4CGORU.js → XIT7U76G.js} +2 -2
- package/dist/cdn/{COF7QD2V.js → XKYABGIY.js} +2 -2
- package/dist/cdn/{UBSHVQ67.js → Y3UAZV7T.js} +2 -2
- package/dist/cdn/{4KCFAMJG.js → Y3Y2DGLC.js} +2 -2
- package/dist/cdn/{XVSMGFBN.js → Y6S5MFA2.js} +2 -2
- package/dist/cdn/{TWD2LUT7.js → Y7PX6YNW.js} +2 -2
- package/dist/cdn/{BJHTJAD5.js → Y7RAV3DP.js} +2 -2
- package/dist/cdn/{Y7J3WBQC.js → YDXLB56W.js} +2 -2
- package/dist/cdn/{6NXELV3J.js → YKVIFE2T.js} +2 -2
- package/dist/cdn/{2MAWBKAZ.js → YQZK5YIN.js} +2 -2
- package/dist/cdn/{N74X45H6.js → YSC2HFLQ.js} +2 -2
- package/dist/cdn/{S67DZUEG.js → YUK5EJDR.js} +1 -1
- package/dist/cdn/{2XPZGW6O.js → YWA44B7H.js} +4 -4
- package/dist/cdn/{BEXIUYEC.js → Z3INPQ3P.js} +2 -2
- package/dist/cdn/{IBJDYHC4.js → Z4HAQW7C.js} +2 -2
- package/dist/cdn/{LHZUH6KP.js → Z6AVKFEG.js} +2 -2
- package/dist/cdn/ZCQJ5AVG.js +4 -0
- package/dist/cdn/{PXGN7EKL.js → ZEKYDTVV.js} +2 -2
- package/dist/cdn/{5OGCE75U.js → ZJBXIMRS.js} +1 -1
- package/dist/cdn/{3MHDDQ5I.js → ZK6M2PX2.js} +2 -2
- package/dist/cdn/{ZLN7CJ4U.js → ZNHJLN3B.js} +2 -2
- package/dist/cdn/{CBD2XZXF.js → ZOT3V2FS.js} +2 -2
- package/dist/cdn/{N6PMPVQP.js → ZPQHS32Z.js} +2 -2
- package/dist/cdn/{DKQHLGWF.js → ZRNE7ON4.js} +2 -2
- package/dist/cdn/{TENRTCL5.js → ZRXPHGWK.js} +2 -2
- package/dist/cdn/{AEZ6WE4H.js → ZSOICD7A.js} +2 -2
- package/dist/cdn/{XDWAJV5E.js → ZUOFTXZA.js} +2 -2
- package/dist/cdn/{E6UCKZPA.js → ZWIILL33.js} +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- 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 +1 -1
- package/dist/chunks/interfaces.js +1 -1
- 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.js +148 -133
- package/dist/components/arcgis-solutions-assistant/index.d.ts +0 -1
- package/dist/components/arcgis-solutions-assistant/index.js +0 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.d.ts +2 -2
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.d.ts +1 -2
- package/dist/components/card-manager/customElement.js +2 -2
- package/dist/components/consent-manager/customElement.d.ts +5 -5
- package/dist/components/consent-manager/customElement.js +142 -142
- 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 +2 -2
- package/dist/components/crowdsource-reporter/customElement.d.ts +1 -6
- package/dist/components/crowdsource-reporter/customElement.js +6 -6
- package/dist/components/deduct-calculator/customElement.d.ts +0 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +2 -2
- package/dist/components/delete-dialog/customElement.js +2 -2
- package/dist/components/edit-card/customElement.js +6 -6
- package/dist/components/feature-details/customElement.d.ts +0 -2
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.d.ts +1 -1
- package/dist/components/feature-list/customElement.js +44 -45
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.d.ts +0 -1
- package/dist/components/info-card/customElement.js +2 -2
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.d.ts +0 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +1 -2
- package/dist/components/layer-table/customElement.js +12 -12
- package/dist/components/map-card/customElement.d.ts +6 -9
- package/dist/components/map-card/customElement.js +17 -27
- package/dist/components/map-draw-tools/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +7 -7
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +5 -5
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.d.ts +3 -5
- package/dist/components/map-select-tools/customElement.js +13 -13
- package/dist/components/map-tools/customElement.d.ts +4 -10
- package/dist/components/map-tools/customElement.js +7 -7
- package/dist/components/pci-calculator/customElement.js +9 -9
- package/dist/components/pdf-download/customElement.js +29 -37
- package/dist/components/public-notification/customElement.d.ts +5 -6
- package/dist/components/public-notification/customElement.js +6 -9
- package/dist/components/refine-selection/customElement.d.ts +1 -4
- package/dist/components/refine-selection/customElement.js +15 -15
- package/dist/components/selection-tool/customElement.d.ts +2 -2
- 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 +2 -2
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.d.ts +0 -1
- package/dist/components/solution-delete-dialog/customElement.js +2 -2
- package/dist/components/solution-deploy-dialog/customElement.js +2 -2
- package/dist/components/solution-deployed-card/customElement.js +3 -3
- package/dist/components/solution-deployed-card-panel/customElement.js +8 -7
- package/dist/components/solution-deployed-card-panel/index.d.ts +1 -0
- package/dist/components/solution-deployed-card-panel/index.js +1 -0
- package/dist/components/solution-deploying-dialog/customElement.js +13 -28
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +27 -30
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +116 -113
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +9 -6
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +2 -2
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +54 -54
- package/dist/docs/docs.json +31 -31
- package/dist/docs/vscode.html-custom-data.json +15 -15
- package/dist/docs/web-types.json +45 -45
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/24EMON2Y.js +0 -18
- package/dist/cdn/4FLU7OR4.js +0 -18
- package/dist/cdn/4WLBD3FW.js +0 -18
- package/dist/cdn/4XQU6E7M.js +0 -18
- package/dist/cdn/74U3DXGW.js +0 -4
- package/dist/cdn/AW4KQLYN.js +0 -18
- package/dist/cdn/DHV3NPQP.js +0 -18
- package/dist/cdn/DXGJ2ELP.js +0 -18
- package/dist/cdn/FORFKB3P.js +0 -18
- package/dist/cdn/FQB4KYBW.js +0 -4
- package/dist/cdn/GGAEFIZU.js +0 -4
- package/dist/cdn/HTTK52SH.js +0 -18
- package/dist/cdn/JMMOQDUW.js +0 -18
- package/dist/cdn/JRJCLFLU.js +0 -18
- package/dist/cdn/KFFWV5Q5.js +0 -4
- package/dist/cdn/KPPEOZKI.js +0 -18
- package/dist/cdn/MTF4VR24.js +0 -18
- package/dist/cdn/NVSJJXGC.js +0 -4
- package/dist/cdn/OPCZGSSX.js +0 -4
- package/dist/cdn/OQUWAIXQ.js +0 -18
- package/dist/cdn/QD7UTWID.js +0 -21
- package/dist/cdn/RTSU4IMM.js +0 -18
- package/dist/cdn/RVED3KDZ.js +0 -65
- package/dist/cdn/RXMDWQTK.js +0 -18
- package/dist/cdn/S4BF2WGT.js +0 -18
- package/dist/cdn/V5BRVAIY.js +0 -18
- package/dist/cdn/VDL3ORNG.js +0 -4
- package/dist/cdn/XNUPB5IP.js +0 -18
- package/dist/cdn/YBA7DTZL.js +0 -18
- package/dist/cdn/YBXI2IP4.js +0 -18
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { ref as
|
|
3
|
-
import { u as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as
|
|
6
|
-
import { unsafeHTML as
|
|
1
|
+
import { c as we } from "../../chunks/runtime.js";
|
|
2
|
+
import { ref as te } from "lit/directives/ref.js";
|
|
3
|
+
import { u as ve } from "../../chunks/useT9n.js";
|
|
4
|
+
import { LitElement as ye, createEvent as Se, nothing as O, safeClassMap as $e } from "@arcgis/lumina";
|
|
5
|
+
import { css as _e, html as b } from "lit";
|
|
6
|
+
import { unsafeHTML as Re } from "lit/directives/unsafe-html.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
9
|
-
v1.2.0-next.
|
|
10
|
-
const
|
|
9
|
+
v1.2.0-next.25 */
|
|
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
11
|
/**
|
|
12
12
|
* @license
|
|
13
13
|
* Copyright 2025 Esri
|
|
@@ -24,12 +24,12 @@ const Ie = Re`:host{display:block;height:100%}.display-flex-row{display:flex;fle
|
|
|
24
24
|
* See the License for the specific language governing permissions and
|
|
25
25
|
* limitations under the License.
|
|
26
26
|
*/
|
|
27
|
-
const
|
|
28
|
-
async function
|
|
29
|
-
return await
|
|
27
|
+
const Ie = "https://www.arcgis.com/sharing/rest/content/items/";
|
|
28
|
+
async function Ae(n) {
|
|
29
|
+
return await ze(n);
|
|
30
30
|
}
|
|
31
|
-
async function
|
|
32
|
-
const e =
|
|
31
|
+
async function ze(n) {
|
|
32
|
+
const e = Ie + n + "?f=json";
|
|
33
33
|
try {
|
|
34
34
|
const s = await fetch(
|
|
35
35
|
e,
|
|
@@ -45,9 +45,9 @@ async function Ce(n) {
|
|
|
45
45
|
function j() {
|
|
46
46
|
return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
|
|
47
47
|
}
|
|
48
|
-
var
|
|
49
|
-
function
|
|
50
|
-
|
|
48
|
+
var $ = j();
|
|
49
|
+
function oe(n) {
|
|
50
|
+
$ = n;
|
|
51
51
|
}
|
|
52
52
|
var A = { exec: () => null };
|
|
53
53
|
function u(n, e = "") {
|
|
@@ -57,21 +57,21 @@ function u(n, e = "") {
|
|
|
57
57
|
}, getRegex: () => new RegExp(s, e) };
|
|
58
58
|
return r;
|
|
59
59
|
}
|
|
60
|
-
var
|
|
60
|
+
var Ce = (() => {
|
|
61
61
|
try {
|
|
62
62
|
return !!new RegExp("(?<=1)(?<!1)");
|
|
63
63
|
} catch {
|
|
64
64
|
return !1;
|
|
65
65
|
}
|
|
66
|
-
})(), 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") },
|
|
67
|
-
]`).replace("lheading",
|
|
66
|
+
})(), 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]\] +/, listTaskCheckbox: /\[[ 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") }, qe = /^(?:[ \t]*(?:\n|$))+/, Le = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Ee = /^ {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+|$)/, Me = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = /(?:[*+-]|\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, F).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(), Pe = u(ce).replace(/bull/g, F).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(), U = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Be = /^[^\n]+/, H = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Qe = u(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", H).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Oe = u(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F).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", G = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Ze = 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", G).replace("tag", M).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ue = u(U).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(), De = u(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ue).getRegex(), K = { blockquote: De, code: Le, def: Qe, fences: Ee, heading: Me, hr: z, html: Ze, lheading: he, list: Oe, newline: qe, paragraph: ue, table: A, text: Be }, se = 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(), Ne = { ...K, lheading: Pe, table: se, paragraph: u(U).replace("hr", z).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", se).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() }, je = { ...K, html: u(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", G).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(U).replace("hr", z).replace("heading", ` *#{1,6} *[^
|
|
67
|
+
]`).replace("lheading", he).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Fe = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ue = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, pe = /^( {2,}|\\)\n(?!\s*$)/, He = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, P = /[\p{P}\p{S}]/u, X = /[\s\p{P}\p{S}]/u, de = /[^\s\p{P}\p{S}]/u, Ge = u(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, X).getRegex(), ge = /(?!~)[\p{P}\p{S}]/u, Ke = /(?!~)[\s\p{P}\p{S}]/u, Xe = /(?:[^\s\p{P}\p{S}]|~)/u, We = u(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Ce ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), fe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Je = u(fe, "u").replace(/punct/g, P).getRegex(), Ve = u(fe, "u").replace(/punct/g, ge).getRegex(), ke = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ye = u(ke, "gu").replace(/notPunctSpace/g, de).replace(/punctSpace/g, X).replace(/punct/g, P).getRegex(), et = u(ke, "gu").replace(/notPunctSpace/g, Xe).replace(/punctSpace/g, Ke).replace(/punct/g, ge).getRegex(), tt = u("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, de).replace(/punctSpace/g, X).replace(/punct/g, P).getRegex(), st = u(/\\(punct)/, "gu").replace(/punct/g, P).getRegex(), nt = 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(), rt = u(G).replace("(?:-->|$)", "-->").getRegex(), it = 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", rt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, at = u(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), be = u(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", H).getRegex(), xe = u(/^!?\[(ref)\](?:\[\])?/).replace("ref", H).getRegex(), lt = u("reflink|nolink(?!\\()", "g").replace("reflink", be).replace("nolink", xe).getRegex(), ne = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, W = { _backpedal: A, anyPunctuation: st, autolink: nt, blockSkip: We, br: pe, code: Ue, del: A, emStrongLDelim: Je, emStrongRDelimAst: Ye, emStrongRDelimUnd: tt, escape: Fe, link: at, nolink: xe, punctuation: Ge, reflink: be, reflinkSearch: lt, tag: it, text: He, url: A }, ot = { ...W, link: u(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: u(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, Z = { ...W, emStrongRDelimAst: et, emStrongLDelim: Ve, url: u(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", ne).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: u(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", ne).getRegex() }, ct = { ...Z, br: u(pe).replace("{2,}", "*").getRegex(), text: u(Z.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, C = { normal: K, gfm: Ne, pedantic: je }, R = { normal: W, gfm: Z, breaks: ct, pedantic: ot }, ht = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, re = (n) => ht[n];
|
|
68
68
|
function y(n, e) {
|
|
69
69
|
if (e) {
|
|
70
|
-
if (x.escapeTest.test(n)) return n.replace(x.escapeReplace,
|
|
71
|
-
} else if (x.escapeTestNoEncode.test(n)) return n.replace(x.escapeReplaceNoEncode,
|
|
70
|
+
if (x.escapeTest.test(n)) return n.replace(x.escapeReplace, re);
|
|
71
|
+
} else if (x.escapeTestNoEncode.test(n)) return n.replace(x.escapeReplaceNoEncode, re);
|
|
72
72
|
return n;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ie(n) {
|
|
75
75
|
try {
|
|
76
76
|
n = encodeURI(n).replace(x.percentDecode, "%");
|
|
77
77
|
} catch {
|
|
@@ -79,7 +79,7 @@ function ae(n) {
|
|
|
79
79
|
}
|
|
80
80
|
return n;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function ae(n, e) {
|
|
83
83
|
let s = n.replace(x.findPipe, (a, i, o) => {
|
|
84
84
|
let l = !1, h = i;
|
|
85
85
|
for (; --h >= 0 && o[h] === "\\"; ) l = !l;
|
|
@@ -98,7 +98,7 @@ function T(n, e, s) {
|
|
|
98
98
|
t++;
|
|
99
99
|
return n.slice(0, r - t);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function ut(n, e) {
|
|
102
102
|
if (n.indexOf(e[1]) === -1) return -1;
|
|
103
103
|
let s = 0;
|
|
104
104
|
for (let r = 0; r < n.length; r++) if (n[r] === "\\") r++;
|
|
@@ -106,13 +106,13 @@ function pt(n, e) {
|
|
|
106
106
|
else if (n[r] === e[1] && (s--, s < 0)) return r;
|
|
107
107
|
return s > 0 ? -2 : -1;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function le(n, e, s, r, t) {
|
|
110
110
|
let a = e.href, i = e.title || null, o = n[1].replace(t.other.outputLinkReplace, "$1");
|
|
111
111
|
r.state.inLink = !0;
|
|
112
112
|
let l = { type: n[0].charAt(0) === "!" ? "image" : "link", raw: s, href: a, title: i, text: o, tokens: r.inlineTokens(o) };
|
|
113
113
|
return r.state.inLink = !1, l;
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function pt(n, e, s) {
|
|
116
116
|
let r = n.match(s.other.indentCodeCompensation);
|
|
117
117
|
if (r === null) return e;
|
|
118
118
|
let t = r[1];
|
|
@@ -130,7 +130,7 @@ var L = class {
|
|
|
130
130
|
rules;
|
|
131
131
|
lexer;
|
|
132
132
|
constructor(n) {
|
|
133
|
-
this.options = n ||
|
|
133
|
+
this.options = n || $;
|
|
134
134
|
}
|
|
135
135
|
space(n) {
|
|
136
136
|
let e = this.rules.block.newline.exec(n);
|
|
@@ -147,7 +147,7 @@ var L = class {
|
|
|
147
147
|
fences(n) {
|
|
148
148
|
let e = this.rules.block.fences.exec(n);
|
|
149
149
|
if (e) {
|
|
150
|
-
let s = e[0], r =
|
|
150
|
+
let s = e[0], r = pt(s, e[3] || "", this.rules);
|
|
151
151
|
return { type: "code", raw: s, lang: e[2] ? e[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : e[2], text: r };
|
|
152
152
|
}
|
|
153
153
|
}
|
|
@@ -192,14 +192,14 @@ ${c}` : c;
|
|
|
192
192
|
if (p?.type === "blockquote") {
|
|
193
193
|
let k = p, f = k.raw + `
|
|
194
194
|
` + s.join(`
|
|
195
|
-
`),
|
|
196
|
-
a[a.length - 1] =
|
|
195
|
+
`), m = this.blockquote(f);
|
|
196
|
+
a[a.length - 1] = m, r = r.substring(0, r.length - k.raw.length) + m.raw, t = t.substring(0, t.length - k.text.length) + m.text;
|
|
197
197
|
break;
|
|
198
198
|
} else if (p?.type === "list") {
|
|
199
199
|
let k = p, f = k.raw + `
|
|
200
200
|
` + s.join(`
|
|
201
|
-
`),
|
|
202
|
-
a[a.length - 1] =
|
|
201
|
+
`), m = this.list(f);
|
|
202
|
+
a[a.length - 1] = m, r = r.substring(0, r.length - p.raw.length) + m.raw, t = t.substring(0, t.length - k.raw.length) + m.raw, s = f.substring(a.at(-1).raw.length).split(`
|
|
203
203
|
`);
|
|
204
204
|
continue;
|
|
205
205
|
}
|
|
@@ -222,15 +222,15 @@ ${c}` : c;
|
|
|
222
222
|
`, 1)[0], k = !g.trim(), f = 0;
|
|
223
223
|
if (this.options.pedantic ? (f = 2, c = g.trimStart()) : k ? f = e[1].length + 1 : (f = e[2].search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, c = g.slice(f), f += e[1].length), k && this.rules.other.blankLine.test(p) && (h += p + `
|
|
224
224
|
`, n = n.substring(p.length + 1), l = !0), !l) {
|
|
225
|
-
let B = this.rules.other.nextBulletRegex(f),
|
|
225
|
+
let B = this.rules.other.nextBulletRegex(f), V = this.rules.other.hrRegex(f), Y = this.rules.other.fencesBeginRegex(f), ee = this.rules.other.headingBeginRegex(f), me = this.rules.other.htmlBeginRegex(f);
|
|
226
226
|
for (; n; ) {
|
|
227
227
|
let Q = n.split(`
|
|
228
228
|
`, 1)[0], _;
|
|
229
|
-
if (p = Q, this.options.pedantic ? (p = p.replace(this.rules.other.listReplaceNesting, " "), _ = p) : _ = p.replace(this.rules.other.tabCharGlobal, " "),
|
|
229
|
+
if (p = Q, this.options.pedantic ? (p = p.replace(this.rules.other.listReplaceNesting, " "), _ = p) : _ = p.replace(this.rules.other.tabCharGlobal, " "), Y.test(p) || ee.test(p) || me.test(p) || B.test(p) || V.test(p)) break;
|
|
230
230
|
if (_.search(this.rules.other.nonSpaceChar) >= f || !p.trim()) c += `
|
|
231
231
|
` + _.slice(f);
|
|
232
232
|
else {
|
|
233
|
-
if (k || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 ||
|
|
233
|
+
if (k || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Y.test(g) || ee.test(g) || V.test(g)) break;
|
|
234
234
|
c += `
|
|
235
235
|
` + p;
|
|
236
236
|
}
|
|
@@ -239,18 +239,30 @@ ${c}` : c;
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
t.loose || (i ? t.loose = !0 : this.rules.other.doubleBlankLine.test(h) && (i = !0));
|
|
242
|
-
let
|
|
243
|
-
this.options.gfm && (
|
|
242
|
+
let m = null;
|
|
243
|
+
this.options.gfm && (m = this.rules.other.listIsTask.exec(c), m && (c = c.replace(this.rules.other.listReplaceTask, ""))), t.items.push({ type: "list_item", raw: h, task: !!m, loose: !1, text: c, tokens: [] }), t.raw += h;
|
|
244
244
|
}
|
|
245
245
|
let o = t.items.at(-1);
|
|
246
246
|
if (o) o.raw = o.raw.trimEnd(), o.text = o.text.trimEnd();
|
|
247
247
|
else return;
|
|
248
248
|
t.raw = t.raw.trimEnd();
|
|
249
|
-
for (let l
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
for (let l of t.items) {
|
|
250
|
+
if (this.lexer.state.top = !1, l.tokens = this.lexer.blockTokens(l.text, []), l.task) {
|
|
251
|
+
let h = this.rules.other.listTaskCheckbox.exec(l.raw);
|
|
252
|
+
if (h) {
|
|
253
|
+
let c = { type: "checkbox", raw: h[0] + " ", checked: h[0] !== "[ ]" };
|
|
254
|
+
l.checked = c.checked, t.loose ? l.tokens[0] && ["paragraph", "text"].includes(l.tokens[0].type) && "tokens" in l.tokens[0] && l.tokens[0].tokens ? (l.tokens[0].raw = c.raw + l.tokens[0].raw, l.tokens[0].text = c.raw + l.tokens[0].text, l.tokens[0].tokens.unshift(c)) : l.tokens.unshift({ type: "paragraph", raw: c.raw, text: c.raw, tokens: [c] }) : l.tokens.unshift(c);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
if (!t.loose) {
|
|
258
|
+
let h = l.tokens.filter((g) => g.type === "space"), c = h.length > 0 && h.some((g) => this.rules.other.anyLine.test(g.raw));
|
|
259
|
+
t.loose = c;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
if (t.loose) for (let l of t.items) {
|
|
263
|
+
l.loose = !0;
|
|
264
|
+
for (let h of l.tokens) h.type === "text" && (h.type = "paragraph");
|
|
252
265
|
}
|
|
253
|
-
if (t.loose) for (let l = 0; l < t.items.length; l++) t.items[l].loose = !0;
|
|
254
266
|
return t;
|
|
255
267
|
}
|
|
256
268
|
}
|
|
@@ -268,12 +280,12 @@ ${c}` : c;
|
|
|
268
280
|
table(n) {
|
|
269
281
|
let e = this.rules.block.table.exec(n);
|
|
270
282
|
if (!e || !this.rules.other.tableDelimiter.test(e[2])) return;
|
|
271
|
-
let s =
|
|
283
|
+
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(`
|
|
272
284
|
`) : [], a = { type: "table", raw: e[0], header: [], align: [], rows: [] };
|
|
273
285
|
if (s.length === r.length) {
|
|
274
286
|
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);
|
|
275
287
|
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] });
|
|
276
|
-
for (let i of t) a.rows.push(
|
|
288
|
+
for (let i of t) a.rows.push(ae(i, a.header.length).map((o, l) => ({ text: o, tokens: this.lexer.inline(o), header: !1, align: a.align[l] })));
|
|
277
289
|
return a;
|
|
278
290
|
}
|
|
279
291
|
}
|
|
@@ -310,7 +322,7 @@ ${c}` : c;
|
|
|
310
322
|
let a = T(s.slice(0, -1), "\\");
|
|
311
323
|
if ((s.length - a.length) % 2 === 0) return;
|
|
312
324
|
} else {
|
|
313
|
-
let a =
|
|
325
|
+
let a = ut(e[2], "()");
|
|
314
326
|
if (a === -2) return;
|
|
315
327
|
if (a > -1) {
|
|
316
328
|
let i = (e[0].indexOf("!") === 0 ? 5 : 4) + e[1].length + a;
|
|
@@ -322,7 +334,7 @@ ${c}` : c;
|
|
|
322
334
|
let a = this.rules.other.pedanticHrefTitle.exec(r);
|
|
323
335
|
a && (r = a[1], t = a[3]);
|
|
324
336
|
} else t = e[3] ? e[3].slice(1, -1) : "";
|
|
325
|
-
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)),
|
|
337
|
+
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);
|
|
326
338
|
}
|
|
327
339
|
}
|
|
328
340
|
reflink(n, e) {
|
|
@@ -333,7 +345,7 @@ ${c}` : c;
|
|
|
333
345
|
let a = s[0].charAt(0);
|
|
334
346
|
return { type: "text", raw: a, text: a };
|
|
335
347
|
}
|
|
336
|
-
return
|
|
348
|
+
return le(s, t, s[0], this.lexer, this.rules);
|
|
337
349
|
}
|
|
338
350
|
}
|
|
339
351
|
emStrong(n, e, s = "") {
|
|
@@ -412,7 +424,7 @@ ${c}` : c;
|
|
|
412
424
|
tokenizer;
|
|
413
425
|
inlineQueue;
|
|
414
426
|
constructor(e) {
|
|
415
|
-
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e ||
|
|
427
|
+
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || $, 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 };
|
|
416
428
|
let s = { other: x, block: C.normal, inline: R.normal };
|
|
417
429
|
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;
|
|
418
430
|
}
|
|
@@ -616,7 +628,7 @@ ${c}` : c;
|
|
|
616
628
|
options;
|
|
617
629
|
parser;
|
|
618
630
|
constructor(n) {
|
|
619
|
-
this.options = n ||
|
|
631
|
+
this.options = n || $;
|
|
620
632
|
}
|
|
621
633
|
space(n) {
|
|
622
634
|
return "";
|
|
@@ -659,16 +671,11 @@ ${this.parser.parse(n)}</blockquote>
|
|
|
659
671
|
`;
|
|
660
672
|
}
|
|
661
673
|
listitem(n) {
|
|
662
|
-
|
|
663
|
-
if (n.task) {
|
|
664
|
-
let s = this.checkbox({ checked: !!n.checked });
|
|
665
|
-
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 + " " + y(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 + " ";
|
|
666
|
-
}
|
|
667
|
-
return e += this.parser.parse(n.tokens, !!n.loose), `<li>${e}</li>
|
|
674
|
+
return `<li>${this.parser.parse(n.tokens)}</li>
|
|
668
675
|
`;
|
|
669
676
|
}
|
|
670
677
|
checkbox({ checked: n }) {
|
|
671
|
-
return "<input " + (n ? 'checked="" ' : "") + 'disabled="" type="checkbox">';
|
|
678
|
+
return "<input " + (n ? 'checked="" ' : "") + 'disabled="" type="checkbox"> ';
|
|
672
679
|
}
|
|
673
680
|
paragraph({ tokens: n }) {
|
|
674
681
|
return `<p>${this.parser.parseInline(n)}</p>
|
|
@@ -717,7 +724,7 @@ ${n}</tr>
|
|
|
717
724
|
return `<del>${this.parser.parseInline(n)}</del>`;
|
|
718
725
|
}
|
|
719
726
|
link({ href: n, title: e, tokens: s }) {
|
|
720
|
-
let r = this.parser.parseInline(s), t =
|
|
727
|
+
let r = this.parser.parseInline(s), t = ie(n);
|
|
721
728
|
if (t === null) return r;
|
|
722
729
|
n = t;
|
|
723
730
|
let a = '<a href="' + n + '"';
|
|
@@ -725,7 +732,7 @@ ${n}</tr>
|
|
|
725
732
|
}
|
|
726
733
|
image({ href: n, title: e, text: s, tokens: r }) {
|
|
727
734
|
r && (s = this.parser.parseInline(r, this.parser.textRenderer));
|
|
728
|
-
let t =
|
|
735
|
+
let t = ie(n);
|
|
729
736
|
if (t === null) return y(s);
|
|
730
737
|
n = t;
|
|
731
738
|
let a = `<img src="${n}" alt="${s}"`;
|
|
@@ -762,12 +769,15 @@ ${n}</tr>
|
|
|
762
769
|
br() {
|
|
763
770
|
return "";
|
|
764
771
|
}
|
|
772
|
+
checkbox({ raw: n }) {
|
|
773
|
+
return n;
|
|
774
|
+
}
|
|
765
775
|
}, v = class N {
|
|
766
776
|
options;
|
|
767
777
|
renderer;
|
|
768
778
|
textRenderer;
|
|
769
779
|
constructor(e) {
|
|
770
|
-
this.options = e ||
|
|
780
|
+
this.options = e || $, 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();
|
|
771
781
|
}
|
|
772
782
|
static parse(e, s) {
|
|
773
783
|
return new N(s).parse(e);
|
|
@@ -775,74 +785,75 @@ ${n}</tr>
|
|
|
775
785
|
static parseInline(e, s) {
|
|
776
786
|
return new N(s).parseInline(e);
|
|
777
787
|
}
|
|
778
|
-
parse(e
|
|
779
|
-
let
|
|
780
|
-
for (let
|
|
781
|
-
let
|
|
782
|
-
if (this.options.extensions?.renderers?.[
|
|
783
|
-
let
|
|
784
|
-
if (
|
|
785
|
-
|
|
788
|
+
parse(e) {
|
|
789
|
+
let s = "";
|
|
790
|
+
for (let r = 0; r < e.length; r++) {
|
|
791
|
+
let t = e[r];
|
|
792
|
+
if (this.options.extensions?.renderers?.[t.type]) {
|
|
793
|
+
let i = t, o = this.options.extensions.renderers[i.type].call({ parser: this }, i);
|
|
794
|
+
if (o !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(i.type)) {
|
|
795
|
+
s += o || "";
|
|
786
796
|
continue;
|
|
787
797
|
}
|
|
788
798
|
}
|
|
789
|
-
let
|
|
790
|
-
switch (
|
|
799
|
+
let a = t;
|
|
800
|
+
switch (a.type) {
|
|
791
801
|
case "space": {
|
|
792
|
-
|
|
793
|
-
|
|
802
|
+
s += this.renderer.space(a);
|
|
803
|
+
break;
|
|
794
804
|
}
|
|
795
805
|
case "hr": {
|
|
796
|
-
|
|
797
|
-
|
|
806
|
+
s += this.renderer.hr(a);
|
|
807
|
+
break;
|
|
798
808
|
}
|
|
799
809
|
case "heading": {
|
|
800
|
-
|
|
801
|
-
|
|
810
|
+
s += this.renderer.heading(a);
|
|
811
|
+
break;
|
|
802
812
|
}
|
|
803
813
|
case "code": {
|
|
804
|
-
|
|
805
|
-
|
|
814
|
+
s += this.renderer.code(a);
|
|
815
|
+
break;
|
|
806
816
|
}
|
|
807
817
|
case "table": {
|
|
808
|
-
|
|
809
|
-
|
|
818
|
+
s += this.renderer.table(a);
|
|
819
|
+
break;
|
|
810
820
|
}
|
|
811
821
|
case "blockquote": {
|
|
812
|
-
|
|
813
|
-
|
|
822
|
+
s += this.renderer.blockquote(a);
|
|
823
|
+
break;
|
|
814
824
|
}
|
|
815
825
|
case "list": {
|
|
816
|
-
|
|
817
|
-
|
|
826
|
+
s += this.renderer.list(a);
|
|
827
|
+
break;
|
|
828
|
+
}
|
|
829
|
+
case "checkbox": {
|
|
830
|
+
s += this.renderer.checkbox(a);
|
|
831
|
+
break;
|
|
818
832
|
}
|
|
819
833
|
case "html": {
|
|
820
|
-
|
|
821
|
-
|
|
834
|
+
s += this.renderer.html(a);
|
|
835
|
+
break;
|
|
822
836
|
}
|
|
823
837
|
case "def": {
|
|
824
|
-
|
|
825
|
-
|
|
838
|
+
s += this.renderer.def(a);
|
|
839
|
+
break;
|
|
826
840
|
}
|
|
827
841
|
case "paragraph": {
|
|
828
|
-
|
|
829
|
-
|
|
842
|
+
s += this.renderer.paragraph(a);
|
|
843
|
+
break;
|
|
830
844
|
}
|
|
831
845
|
case "text": {
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
` + this.renderer.text(o);
|
|
835
|
-
s ? r += this.renderer.paragraph({ type: "paragraph", raw: l, text: l, tokens: [{ type: "text", raw: l, text: l, escaped: !0 }] }) : r += l;
|
|
836
|
-
continue;
|
|
846
|
+
s += this.renderer.text(a);
|
|
847
|
+
break;
|
|
837
848
|
}
|
|
838
849
|
default: {
|
|
839
|
-
let
|
|
840
|
-
if (this.options.silent) return console.error(
|
|
841
|
-
throw new Error(
|
|
850
|
+
let i = 'Token with "' + a.type + '" type was not found.';
|
|
851
|
+
if (this.options.silent) return console.error(i), "";
|
|
852
|
+
throw new Error(i);
|
|
842
853
|
}
|
|
843
854
|
}
|
|
844
855
|
}
|
|
845
|
-
return
|
|
856
|
+
return s;
|
|
846
857
|
}
|
|
847
858
|
parseInline(e, s = this.renderer) {
|
|
848
859
|
let r = "";
|
|
@@ -873,6 +884,10 @@ ${n}</tr>
|
|
|
873
884
|
r += s.image(i);
|
|
874
885
|
break;
|
|
875
886
|
}
|
|
887
|
+
case "checkbox": {
|
|
888
|
+
r += s.checkbox(i);
|
|
889
|
+
break;
|
|
890
|
+
}
|
|
876
891
|
case "strong": {
|
|
877
892
|
r += s.strong(i);
|
|
878
893
|
break;
|
|
@@ -910,7 +925,7 @@ ${n}</tr>
|
|
|
910
925
|
options;
|
|
911
926
|
block;
|
|
912
927
|
constructor(n) {
|
|
913
|
-
this.options = n ||
|
|
928
|
+
this.options = n || $;
|
|
914
929
|
}
|
|
915
930
|
static passThroughHooks = /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"]);
|
|
916
931
|
static passThroughHooksRespectAsync = /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"]);
|
|
@@ -932,7 +947,7 @@ ${n}</tr>
|
|
|
932
947
|
provideParser() {
|
|
933
948
|
return this.block ? v.parse : v.parseInline;
|
|
934
949
|
}
|
|
935
|
-
},
|
|
950
|
+
}, dt = class {
|
|
936
951
|
defaults = j();
|
|
937
952
|
options = this.setOptions;
|
|
938
953
|
parse = this.parseMarkdown(!0);
|
|
@@ -1092,22 +1107,22 @@ Please report this to https://github.com/markedjs/marked.`, n) {
|
|
|
1092
1107
|
throw s;
|
|
1093
1108
|
};
|
|
1094
1109
|
}
|
|
1095
|
-
},
|
|
1110
|
+
}, S = new dt();
|
|
1096
1111
|
function d(n, e) {
|
|
1097
|
-
return
|
|
1112
|
+
return S.parse(n, e);
|
|
1098
1113
|
}
|
|
1099
1114
|
d.options = d.setOptions = function(n) {
|
|
1100
|
-
return
|
|
1115
|
+
return S.setOptions(n), d.defaults = S.defaults, oe(d.defaults), d;
|
|
1101
1116
|
};
|
|
1102
1117
|
d.getDefaults = j;
|
|
1103
|
-
d.defaults =
|
|
1118
|
+
d.defaults = $;
|
|
1104
1119
|
d.use = function(...n) {
|
|
1105
|
-
return
|
|
1120
|
+
return S.use(...n), d.defaults = S.defaults, oe(d.defaults), d;
|
|
1106
1121
|
};
|
|
1107
1122
|
d.walkTokens = function(n, e) {
|
|
1108
|
-
return
|
|
1123
|
+
return S.walkTokens(n, e);
|
|
1109
1124
|
};
|
|
1110
|
-
d.parseInline =
|
|
1125
|
+
d.parseInline = S.parseInline;
|
|
1111
1126
|
d.Parser = v;
|
|
1112
1127
|
d.parser = v.parse;
|
|
1113
1128
|
d.Renderer = E;
|
|
@@ -1124,13 +1139,13 @@ d.walkTokens;
|
|
|
1124
1139
|
d.parseInline;
|
|
1125
1140
|
v.parse;
|
|
1126
1141
|
w.lex;
|
|
1127
|
-
class
|
|
1142
|
+
class gt extends ye {
|
|
1128
1143
|
constructor() {
|
|
1129
1144
|
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 = {
|
|
1130
1145
|
conversationId: null,
|
|
1131
1146
|
inquiryId: null,
|
|
1132
1147
|
ackSequenceNumber: null
|
|
1133
|
-
}, this._isLoading = !1, this._isLoadingText = "", this.messages = [], this.
|
|
1148
|
+
}, this._isLoading = !1, this._isLoadingText = "", this.messages = [], this._translations = ve({ name: "arcgis-solutions-assistant", blocking: !0 }), this.closeAssistant = Se(), this._resetConversation = () => {
|
|
1134
1149
|
this.conversationStore.conversationId = null, this.conversationStore.inquiryId = null, this.conversationStore.ackSequenceNumber = null;
|
|
1135
1150
|
}, this._setMessageContainerRef = (e) => {
|
|
1136
1151
|
this._chatContainer = e;
|
|
@@ -1147,10 +1162,10 @@ class ft extends $e {
|
|
|
1147
1162
|
});
|
|
1148
1163
|
}
|
|
1149
1164
|
static {
|
|
1150
|
-
this.properties = { serverRoot: 1, solutionAIurl: 1, docAIurl: 1, token: 1, open: 5, conversationStore: 16, _isLoading: 16, _isLoadingText: 16, messages: 16,
|
|
1165
|
+
this.properties = { serverRoot: 1, solutionAIurl: 1, docAIurl: 1, token: 1, open: 5, conversationStore: 16, _isLoading: 16, _isLoadingText: 16, messages: 16, _translations: 16 };
|
|
1151
1166
|
}
|
|
1152
1167
|
static {
|
|
1153
|
-
this.styles =
|
|
1168
|
+
this.styles = Te;
|
|
1154
1169
|
}
|
|
1155
1170
|
async handleSendMessage() {
|
|
1156
1171
|
if (!this._inputRef?.value.trim())
|
|
@@ -1316,63 +1331,59 @@ class ft extends $e {
|
|
|
1316
1331
|
(e.size || this._isLoading) && this._scrollToBottom();
|
|
1317
1332
|
}
|
|
1318
1333
|
_renderFeedback(e, s, r, t) {
|
|
1319
|
-
return
|
|
1334
|
+
return b`<div><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-up label="position feedback" kind=neutral @click=${() => {
|
|
1320
1335
|
this._sendFeedback(e, s, "Good", r, t);
|
|
1321
1336
|
}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-down label="position feedback" kind=neutral @click=${() => {
|
|
1322
1337
|
this._sendFeedback(e, s, "Bad", r, t);
|
|
1323
|
-
}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=copy label="position feedback" kind=neutral @click=${() => {
|
|
1324
|
-
this._copyResponseToClipboard(e);
|
|
1338
|
+
}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=copy label="position feedback" kind=neutral @click=${(a) => {
|
|
1339
|
+
this._copyResponseToClipboard(e, a);
|
|
1325
1340
|
}}></calcite-button></div>`;
|
|
1326
1341
|
}
|
|
1327
1342
|
_renderSolutionQuestionReferences(e) {
|
|
1328
|
-
return e.map((s) =>
|
|
1343
|
+
return e.map((s) => b`<div class="message-content-pad"><a href=${s.url ?? O} target=_blank>${s.title}</a></div>`);
|
|
1329
1344
|
}
|
|
1330
1345
|
_renderSolutionQuestionFollowup(e) {
|
|
1331
|
-
return e.map((s) =>
|
|
1346
|
+
return e.map((s) => b`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${s} @click=${() => {
|
|
1332
1347
|
this._submitFollowupQuestion(s);
|
|
1333
1348
|
}}>${s}</calcite-chip>`);
|
|
1334
1349
|
}
|
|
1335
1350
|
_renderSolutionsQuestionTable(e, s, r) {
|
|
1336
1351
|
const t = this._renderSolutionQuestionReferences(s), a = this._renderSolutionQuestionFollowup(r);
|
|
1337
|
-
return
|
|
1352
|
+
return b`<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) => {
|
|
1338
1353
|
const o = i.currentTarget.parentElement?.nextElementSibling;
|
|
1339
1354
|
o.classList.toggle("collapsed"), i.currentTarget.setAttribute("icon-end", o.classList.contains("collapsed") ? "chevron-down" : "chevron-up");
|
|
1340
1355
|
}}>${`${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>`;
|
|
1341
1356
|
}
|
|
1342
1357
|
_renderSolutionCard(e, s) {
|
|
1343
|
-
return
|
|
1358
|
+
return b`<a class="solution-card" id=${s ?? O} @click=${() => {
|
|
1344
1359
|
this._emitItemIdFromAI(s);
|
|
1345
|
-
}}>${
|
|
1360
|
+
}}>${b`<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>`;
|
|
1346
1361
|
}
|
|
1347
1362
|
_renderExistingSolutionsTable(e, s) {
|
|
1348
1363
|
const r = s.map((t) => {
|
|
1349
1364
|
const a = t.thumbnail.match(/\/items\/([a-f0-9]+)\//);
|
|
1350
1365
|
return a ? this._renderSolutionCard(t, a[1]) : null;
|
|
1351
1366
|
}).filter((t) => t !== null);
|
|
1352
|
-
return
|
|
1367
|
+
return b`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${r}</div></div>`;
|
|
1353
1368
|
}
|
|
1354
1369
|
_renderSimpleTextMessage(e, s, r, t, a) {
|
|
1355
1370
|
const i = this.messages.length >= 2 ? this._getMostRecentQuestion() : "", o = typeof i == "string" ? "" : i?.message ?? "";
|
|
1356
|
-
return s === "system" ?
|
|
1371
|
+
return s === "system" ? b`<div class="message-content message-content-alignment">${a && b`<calcite-icon .icon=${a}></calcite-icon>` || ""}${e}</div>` : b`<calcite-card class=${$e(s === "human" ? "user-message" : "system-message")}><div class="message-content">${e}${s === "ai" && r !== "" && this._renderFeedback(e, o, r, t) || ""}</div></calcite-card>`;
|
|
1357
1372
|
}
|
|
1358
1373
|
_renderDocAssistantResults(e, s, r, t, a, i) {
|
|
1359
1374
|
const o = this._getMostRecentQuestion();
|
|
1360
|
-
return
|
|
1375
|
+
return b`<calcite-card class="system-message"><div class="message-content">${this._renderSolutionsQuestionTable(e, r, t)}${this._renderFeedback(s, o?.message ?? "", a, i)}</div></calcite-card>`;
|
|
1361
1376
|
}
|
|
1362
1377
|
_renderSuggestedSolutions(e, s, r, t) {
|
|
1363
1378
|
const a = this._getMostRecentQuestion(), i = s.map((o) => `- ${o.title}`).join(`
|
|
1364
1379
|
`);
|
|
1365
|
-
return
|
|
1380
|
+
return b`<calcite-card class="system-message"><div class="message-content">${this._renderExistingSolutionsTable(e, s)}${this._renderFeedback(e + `
|
|
1366
1381
|
` + i.toString(), a?.message ?? "", r, t)}</div></calcite-card>`;
|
|
1367
1382
|
}
|
|
1368
1383
|
render() {
|
|
1369
|
-
return
|
|
1384
|
+
return b`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${() => {
|
|
1370
1385
|
this.closeAssistant.emit(!0), this.open = !1;
|
|
1371
|
-
}}><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 ?
|
|
1372
|
-
this._showCopyAlert = !1;
|
|
1373
|
-
}} @calciteAlertClose=${() => {
|
|
1374
|
-
this._showCopyAlert = !1;
|
|
1375
|
-
}}><div slot=title>${this._translations.copyResponse}</div></calcite-alert></calcite-dialog>`;
|
|
1386
|
+
}}><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 ? b`<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" ${te(this._setMessageContainerRef)}>${this.messages.map((e) => e.render)}${this._isLoading && b`<calcite-card class="loader-message"><div class="message-content display-flex-row"><calcite-loader .label=${this._isLoadingText} inline scale=s></calcite-loader>${this._isLoadingText != "" && b`<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 ${te(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>`;
|
|
1376
1387
|
}
|
|
1377
1388
|
_scrollToBottom() {
|
|
1378
1389
|
this._chatContainer && setTimeout(() => {
|
|
@@ -1401,7 +1412,7 @@ class ft extends $e {
|
|
|
1401
1412
|
return [...this.messages].reverse().find((e) => e.author === "human") || null;
|
|
1402
1413
|
}
|
|
1403
1414
|
async _querySolutions(e) {
|
|
1404
|
-
const s = await
|
|
1415
|
+
const s = await Ae(e);
|
|
1405
1416
|
if ("error" in s)
|
|
1406
1417
|
throw new Error(s.error);
|
|
1407
1418
|
return s;
|
|
@@ -1410,11 +1421,15 @@ class ft extends $e {
|
|
|
1410
1421
|
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")}`;
|
|
1411
1422
|
window.open(i, "_blank");
|
|
1412
1423
|
}
|
|
1413
|
-
_copyResponseToClipboard(e) {
|
|
1414
|
-
navigator.clipboard.writeText(e)
|
|
1424
|
+
_copyResponseToClipboard(e, s) {
|
|
1425
|
+
navigator.clipboard.writeText(e);
|
|
1426
|
+
const r = s.currentTarget;
|
|
1427
|
+
r.iconStart = "check", setTimeout(() => {
|
|
1428
|
+
r.iconStart = "copy";
|
|
1429
|
+
}, 3e3);
|
|
1415
1430
|
}
|
|
1416
1431
|
}
|
|
1417
|
-
|
|
1432
|
+
we("arcgis-solutions-assistant", gt);
|
|
1418
1433
|
export {
|
|
1419
|
-
|
|
1434
|
+
gt as ArcgisSolutionsAssistant
|
|
1420
1435
|
};
|