@esri/solutions-components 1.2.0-next.24 → 1.2.0-next.26
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/README.md +1 -5
- package/dist/cdn/{OJG6HIKN.js → 24KLA2WP.js} +2 -2
- package/dist/cdn/{BLIFIP2J.js → 26PRQQXA.js} +2 -2
- package/dist/cdn/{JIREIGOU.js → 27JLOUCD.js} +2 -2
- package/dist/cdn/{H2UXJKPU.js → 2E65E2R5.js} +1 -1
- package/dist/cdn/{T6KDHTIZ.js → 2FXH5IFF.js} +2 -2
- package/dist/cdn/{TKRGPMED.js → 2K3D4PUK.js} +2 -2
- package/dist/cdn/{YWXJ2RX3.js → 2K42LZML.js} +2 -2
- package/dist/cdn/2KGAPBDA.js +4 -0
- package/dist/cdn/{HP4JIDLF.js → 2KWGOUSP.js} +2 -2
- package/dist/cdn/{LYXGPO4K.js → 2PE7MVDM.js} +1 -1
- package/dist/cdn/{VK5SHRI7.js → 2XCNU24T.js} +2 -2
- package/dist/cdn/{34HAWRGI.js → 2YXTQZ2M.js} +2 -2
- package/dist/cdn/{ZT7KJDTU.js → 32EE3BJJ.js} +2 -2
- package/dist/cdn/336D6QU2.js +4 -0
- package/dist/cdn/{6JJBGLJE.js → 374JGWU7.js} +2 -2
- package/dist/cdn/{WUTY55ZF.js → 3ARUJDS5.js} +1 -1
- package/dist/cdn/{DED6BDXL.js → 3DMU4F6J.js} +2 -2
- package/dist/cdn/{X5FANKH6.js → 3HFPZ2M5.js} +2 -2
- package/dist/cdn/{3G3I5XU7.js → 3HYLAH6Q.js} +2 -2
- package/dist/cdn/{CELVLTD3.js → 3LW4ZKOW.js} +2 -2
- package/dist/cdn/{UQVFINXF.js → 3SXUN3QE.js} +2 -2
- package/dist/cdn/3X2KUHTY.js +18 -0
- package/dist/cdn/3XPNU7BI.js +18 -0
- package/dist/cdn/{W75YFHYB.js → 3XSBXJ4X.js} +2 -2
- package/dist/cdn/{4SOCIVF6.js → 42MWP46P.js} +1 -1
- package/dist/cdn/{WOXREBHW.js → 45665FH2.js} +2 -2
- package/dist/cdn/{G7OBBNFQ.js → 45OKFNZ2.js} +2 -2
- package/dist/cdn/{3VUSEXMB.js → 4C52EB73.js} +2 -2
- package/dist/cdn/{FLA5RSAG.js → 4ERQXLFA.js} +2 -2
- package/dist/cdn/4JVMPJCO.js +18 -0
- package/dist/cdn/{HRKWHIYV.js → 4LC5QHLO.js} +2 -2
- package/dist/cdn/{KSO7CXKH.js → 4MEHIVYA.js} +2 -2
- package/dist/cdn/{PRIALFET.js → 4NPMWF3B.js} +2 -2
- package/dist/cdn/{OC7V7KCG.js → 4PNJYQGR.js} +2 -2
- package/dist/cdn/{VX2H4KEW.js → 4R3STD7G.js} +2 -2
- package/dist/cdn/{NBZ4SJV4.js → 4TN73SUG.js} +2 -2
- package/dist/cdn/{5V5O4IVZ.js → 4VMPLQZP.js} +2 -2
- package/dist/cdn/{XCDDDB5R.js → 56NF367P.js} +2 -2
- package/dist/cdn/{TNHXSGP4.js → 56RMHUL3.js} +2 -2
- package/dist/cdn/{ZVYGJ3ZV.js → 5A2Y5ZFB.js} +2 -2
- package/dist/cdn/{GKD47RX5.js → 5CKOR2L6.js} +1 -1
- package/dist/cdn/{BR65SFX2.js → 5DRAJUEZ.js} +1 -1
- package/dist/cdn/{LNFEAJAZ.js → 5FZXFZOF.js} +2 -2
- package/dist/cdn/{TDZ7C2M7.js → 62R2473V.js} +2 -2
- package/dist/cdn/{QGWCUXVU.js → 62Y7ETSQ.js} +2 -2
- package/dist/cdn/{H34VS27L.js → 6AV5GFKS.js} +2 -2
- package/dist/cdn/{4BXRZ62B.js → 6DHRO6RA.js} +1 -1
- package/dist/cdn/6DSHNSXV.js +18 -0
- package/dist/cdn/{27VT6FGO.js → 6ESVYRQV.js} +1 -1
- package/dist/cdn/{NDJVE732.js → 6R45U63P.js} +2 -2
- package/dist/cdn/{CSH7RK4L.js → 6SYXTJP7.js} +2 -2
- package/dist/cdn/{XIKGCL6Z.js → 6WLLVDOT.js} +1 -1
- package/dist/cdn/{WNFEGMNZ.js → 72JGKJQE.js} +2 -2
- package/dist/cdn/{YOIQKWPE.js → 7FGP4726.js} +2 -2
- package/dist/cdn/{NEDCAXJL.js → 7IOXGCXM.js} +2 -2
- package/dist/cdn/{I5JM65X6.js → 7KVQG3XG.js} +2 -2
- package/dist/cdn/{FLMVVIYI.js → 7NF5X427.js} +2 -2
- package/dist/cdn/{FWE4FUJH.js → 7P3IUHDL.js} +2 -2
- package/dist/cdn/{AAXTQRZG.js → 7RH6MIWB.js} +2 -2
- package/dist/cdn/{RPY6EG62.js → A5S6W3ON.js} +2 -2
- package/dist/cdn/{YAYHUH5G.js → AHXERPRN.js} +2 -2
- package/dist/cdn/{E4JZL5IT.js → APDFHZ74.js} +2 -2
- package/dist/cdn/{SZNJD54W.js → AYVYACFY.js} +1 -1
- package/dist/cdn/{DCNEHZTW.js → B5CDNQXT.js} +2 -2
- package/dist/cdn/{J4UA37P6.js → BBGM24NN.js} +2 -2
- package/dist/cdn/{F37UKUAV.js → BFJAMA4P.js} +2 -2
- package/dist/cdn/{JKYLZXQW.js → BJ5Q672G.js} +2 -2
- package/dist/cdn/{GWYYMTWP.js → BLC5IKHB.js} +2 -2
- package/dist/cdn/BNC25SSV.js +4 -0
- package/dist/cdn/{6R6WIO6H.js → BVY3FHES.js} +2 -2
- package/dist/cdn/{5AERAR2L.js → BXQI3ZMZ.js} +1 -1
- package/dist/cdn/{RGGUA4QF.js → BXZEMWKO.js} +2 -2
- package/dist/cdn/{KTJDLUIU.js → C2Q4A3RV.js} +2 -2
- package/dist/cdn/{CZIXYCET.js → CLD74LLR.js} +2 -2
- package/dist/cdn/CLLIH2ZL.js +4 -0
- package/dist/cdn/{NWOOAUG7.js → CLNFH4AB.js} +2 -2
- package/dist/cdn/{T3HXN3EN.js → CSOWDE4B.js} +2 -2
- package/dist/cdn/{36BDQG6C.js → CW4WK6UQ.js} +2 -2
- package/dist/cdn/{TZ4BYOUZ.js → CXQBUQIR.js} +2 -2
- package/dist/cdn/{443EHILD.js → CY5N72KD.js} +2 -2
- package/dist/cdn/{55A2KYUG.js → D2BXHG6B.js} +2 -2
- package/dist/cdn/{GHD3JMA4.js → D2LUCAAV.js} +2 -2
- package/dist/cdn/{WFZWW33X.js → DCZGPVZS.js} +2 -2
- package/dist/cdn/{FAFTQRQY.js → DD7IRMU2.js} +2 -2
- package/dist/cdn/{LOIGPO5O.js → DPSJLIG2.js} +2 -2
- package/dist/cdn/{BTLVFHR2.js → DQJS2BRD.js} +1 -1
- package/dist/cdn/{RFLU2ZRI.js → DRWQMKPL.js} +2 -2
- package/dist/cdn/{WYDM2CB5.js → DTLBV43H.js} +2 -2
- package/dist/cdn/{5TKI4FG4.js → DVB6GNMC.js} +2 -2
- package/dist/cdn/{NZO56NNR.js → DVGMUBNT.js} +2 -2
- package/dist/cdn/{VJU2J222.js → DXDM36O6.js} +2 -2
- package/dist/cdn/DXS7UOD7.js +18 -0
- package/dist/cdn/E2CWYXA3.js +18 -0
- package/dist/cdn/{6Z7A2SPS.js → E2VNGWSV.js} +2 -2
- package/dist/cdn/{VW2WEXVP.js → E4IY2TLO.js} +1 -1
- package/dist/cdn/{4JCL7LZR.js → E5NMCTJI.js} +2 -2
- package/dist/cdn/{EYIL3WCN.js → E7ZSOO5U.js} +2 -2
- package/dist/cdn/{HBOBM65G.js → EAEMSYLV.js} +2 -2
- package/dist/cdn/{WL4NQCES.js → EC5SUG3Q.js} +2 -2
- package/dist/cdn/{STHO3HPO.js → EJIOAJIG.js} +2 -2
- package/dist/cdn/{GJEPJCWP.js → EUG54QVH.js} +2 -2
- package/dist/cdn/{FLMS2TR4.js → EUO5OQ77.js} +2 -2
- package/dist/cdn/{2M4ILWS4.js → EV7VDGQ3.js} +2 -2
- package/dist/cdn/EYX3CJXI.js +18 -0
- package/dist/cdn/{DFO6WKOY.js → F63I4BUN.js} +2 -2
- package/dist/cdn/{XH2Q2TTU.js → FE3Y2N3O.js} +2 -2
- package/dist/cdn/{3DQY36BR.js → FF4CBWT2.js} +2 -2
- package/dist/cdn/FHA6I7IB.js +18 -0
- package/dist/cdn/{RY2JRQIA.js → FI4EBVUK.js} +2 -2
- package/dist/cdn/{UMEH46X4.js → FJ7O47AQ.js} +2 -2
- package/dist/cdn/{VDTXZ2OC.js → FJAIG4PZ.js} +2 -2
- package/dist/cdn/{IJEJXWF7.js → FJFXKCW3.js} +2 -2
- package/dist/cdn/{NI64NXLH.js → FVQTX4DX.js} +1 -1
- package/dist/cdn/{7QBFHK6I.js → G2K266CK.js} +2 -2
- package/dist/cdn/{SU5NQO2Y.js → G3OR3RD4.js} +2 -2
- package/dist/cdn/{K2VMZCUX.js → G4JVAMYO.js} +2 -2
- package/dist/cdn/{V2K3CARG.js → G7J6NS5P.js} +2 -2
- package/dist/cdn/GBCQDVGN.js +18 -0
- package/dist/cdn/{FDGI4V7M.js → GLD6QMMM.js} +2 -2
- package/dist/cdn/{4RNO5M22.js → GLORY2Q3.js} +2 -2
- package/dist/cdn/{6EHWI7JM.js → GM3NQPFV.js} +2 -2
- package/dist/cdn/{4EQVVEVL.js → GNI64PEL.js} +2 -2
- package/dist/cdn/{K4HRSAES.js → GOYLOPJ3.js} +2 -2
- package/dist/cdn/GQCSOOLC.js +4 -0
- package/dist/cdn/{HXHGWVUO.js → GQWKR6ZH.js} +2 -2
- package/dist/cdn/{CO3TU24E.js → GRGSWHAS.js} +2 -2
- package/dist/cdn/{FCJJ2E2N.js → GS5HDZIE.js} +2 -2
- package/dist/cdn/{EAS42GZC.js → GTPA67XZ.js} +1 -1
- package/dist/cdn/{4WOSAZZE.js → GYRRBG6L.js} +2 -2
- package/dist/cdn/{EROCJUGG.js → HBZNFHQK.js} +2 -2
- package/dist/cdn/{L2WHYM3J.js → HCBYY275.js} +1 -1
- package/dist/cdn/{ZL7IV42Y.js → HEDBXJM7.js} +2 -2
- package/dist/cdn/HESZ3C6M.js +18 -0
- package/dist/cdn/{5NLABLUG.js → HFRCOLMH.js} +2 -2
- package/dist/cdn/{KZD2C2ML.js → HPT7FTOX.js} +2 -2
- package/dist/cdn/{7LEW57R4.js → HSCFJPMS.js} +2 -2
- package/dist/cdn/{XUNRNHCK.js → HTCTIT57.js} +2 -2
- package/dist/cdn/{4JHKVR7I.js → HXMNNJXU.js} +2 -2
- package/dist/cdn/HXWJEHNQ.js +18 -0
- package/dist/cdn/{QC34FER4.js → HYRSJC32.js} +2 -2
- package/dist/cdn/{URRLKSMA.js → HZO7UEFB.js} +2 -2
- package/dist/cdn/{CQIWHMR3.js → I2FGXEDE.js} +1 -1
- package/dist/cdn/{QUO6TIFZ.js → I2YPPOOM.js} +1 -1
- package/dist/cdn/{KRZ6DGKX.js → IJFJWLYK.js} +2 -2
- package/dist/cdn/{EOZZELAV.js → ILLNJSZ5.js} +2 -2
- package/dist/cdn/{PZ5GGYLN.js → ITJXBRWP.js} +2 -2
- package/dist/cdn/{O4ZKMCDY.js → IV45DYHD.js} +1 -1
- package/dist/cdn/{QBBC7A4Y.js → IXNDA5VZ.js} +1 -1
- package/dist/cdn/{J5GBXHV7.js → IXOCAJWG.js} +2 -2
- package/dist/cdn/{NAUVQEGN.js → IZUHNA5W.js} +2 -2
- package/dist/cdn/J3QX7P6J.js +18 -0
- package/dist/cdn/{A65SF5TP.js → JB2P6SXN.js} +2 -2
- package/dist/cdn/{BUQMZQDZ.js → JB5NDXDH.js} +2 -2
- package/dist/cdn/{GFXNHLR7.js → JEF4UV2K.js} +2 -2
- package/dist/cdn/{FBAY6DO3.js → JFPBJLVG.js} +2 -2
- package/dist/cdn/{PSACJE2J.js → JGHCMS5P.js} +2 -2
- package/dist/cdn/{VHW5YMZI.js → JLO4K7LS.js} +2 -2
- package/dist/cdn/{GHZ256AS.js → JNUMH3BN.js} +4 -4
- package/dist/cdn/{OPFB2Y4V.js → JP4K6XQE.js} +2 -2
- package/dist/cdn/JRTPZ6ES.js +18 -0
- package/dist/cdn/{2PC724CH.js → JWY4OWS3.js} +2 -2
- package/dist/cdn/{7OW5IQNG.js → K2BWFQJM.js} +2 -2
- package/dist/cdn/{XSE22DX2.js → K4J34WLO.js} +2 -2
- package/dist/cdn/{HST46P5Y.js → K4MCLE46.js} +2 -2
- package/dist/cdn/{5XHMHEC7.js → K5Q2KDOU.js} +2 -2
- package/dist/cdn/{JGT3UVSS.js → KCEWHR2X.js} +2 -2
- package/dist/cdn/{B6DL7APO.js → KD6VFEYI.js} +2 -2
- package/dist/cdn/{PFXC7WOR.js → KDVE3TUH.js} +2 -2
- package/dist/cdn/{2AI475Q6.js → KEFQKJ6B.js} +2 -2
- package/dist/cdn/{EIXF5OZH.js → KFX3THDY.js} +1 -1
- package/dist/cdn/{ANWXMLC5.js → KJJM3OEK.js} +2 -2
- package/dist/cdn/{R6MJ3BWC.js → KLPZNVNH.js} +1 -1
- package/dist/cdn/{2BLFCKKA.js → KOCZ4OFZ.js} +2 -2
- package/dist/cdn/{DWL4LXGS.js → KONPCHXM.js} +3 -3
- package/dist/cdn/{6Z47NIFS.js → KQFR7R2N.js} +2 -2
- package/dist/cdn/{VEUQH5L3.js → KQULX67Q.js} +2 -2
- package/dist/cdn/{QH2BEMM6.js → KVV4M7BE.js} +2 -2
- package/dist/cdn/{67TNRLBR.js → KVVPA63Y.js} +2 -2
- package/dist/cdn/{R22HIDGZ.js → KYAKBPGR.js} +2 -2
- package/dist/cdn/{KESHQJDL.js → L42KDYQE.js} +2 -2
- package/dist/cdn/{OLKLMVT2.js → L5MLUGPD.js} +2 -2
- package/dist/cdn/{MWLY3N7C.js → L6PQQN5H.js} +2 -2
- package/dist/cdn/{TEY2ATFL.js → L7H2XLV6.js} +2 -2
- package/dist/cdn/{DW7PYNVR.js → L7T2IR73.js} +2 -2
- package/dist/cdn/{YEKIMYDO.js → L7WBMNMV.js} +2 -2
- package/dist/cdn/LCGASXTT.js +18 -0
- package/dist/cdn/{FY6XKBZS.js → LCNXICCQ.js} +2 -2
- package/dist/cdn/{EOLIKK4H.js → LCZQP4VM.js} +2 -2
- package/dist/cdn/{TOEQLEDG.js → LHP76MB7.js} +2 -2
- package/dist/cdn/{WWSSJEOD.js → LIQPYHJK.js} +2 -2
- package/dist/cdn/{II25P5CO.js → LKHIMH3W.js} +2 -2
- package/dist/cdn/{QJRGXDSI.js → LTYO7BRS.js} +2 -2
- package/dist/cdn/{X4DEDSCC.js → LWGGLCXI.js} +2 -2
- package/dist/cdn/LXAALX4E.js +18 -0
- package/dist/cdn/{Z2EMCTSK.js → M3ZIJZJ3.js} +2 -2
- package/dist/cdn/{DVGLTRJU.js → MAYQRSPQ.js} +1 -1
- package/dist/cdn/{P7H776WT.js → MBZH2YNN.js} +2 -2
- package/dist/cdn/{LG6DSYZW.js → MCMZEYAP.js} +2 -2
- package/dist/cdn/{T74GGRMS.js → MEQMYPP3.js} +2 -2
- package/dist/cdn/{OABMD66T.js → MHQOCO5S.js} +2 -2
- package/dist/cdn/{UIGYM74T.js → MN2543D7.js} +2 -2
- package/dist/cdn/{7UWI5KWK.js → MNAFT2GX.js} +2 -2
- package/dist/cdn/MOJYKPVX.js +4 -0
- package/dist/cdn/{ZAL2JPN6.js → MSKT77WV.js} +1 -1
- package/dist/cdn/{6MECJUZM.js → MT7G72VG.js} +2 -2
- package/dist/cdn/N22RCG3K.js +4 -0
- package/dist/cdn/NFU4CVAT.js +18 -0
- package/dist/cdn/{P3LUAT4F.js → NGTTND2O.js} +2 -2
- package/dist/cdn/{MTH7WCDT.js → NICJBX5S.js} +2 -2
- package/dist/cdn/{FEODTSQT.js → NJ3BAM2B.js} +2 -2
- package/dist/cdn/{SKGMLLPH.js → NOONCQZF.js} +7 -7
- package/dist/cdn/{P6OT3PMN.js → NPRJ2MDW.js} +2 -2
- package/dist/cdn/NQUDNN5L.js +18 -0
- package/dist/cdn/{5D7BHC5A.js → NZVTYNMW.js} +2 -2
- package/dist/cdn/{27YRRENY.js → O45B5X3J.js} +2 -2
- package/dist/cdn/{SKZURFAS.js → O7JHHK3X.js} +2 -2
- package/dist/cdn/{KG4IFWCZ.js → OFEX5K4J.js} +2 -2
- package/dist/cdn/{2KZX4PSI.js → OGAMGH5M.js} +2 -2
- package/dist/cdn/{CYG5JUF7.js → OIRXB4BU.js} +1 -1
- package/dist/cdn/{ASC5OMBD.js → OVQLLUEP.js} +2 -2
- package/dist/cdn/{GZK6A527.js → OWPILYU5.js} +2 -2
- package/dist/cdn/{SNLUBEJI.js → P5D72UDZ.js} +2 -2
- package/dist/cdn/{HF6CCTGX.js → P6QBSSBF.js} +2 -2
- package/dist/cdn/{JEWJNGE6.js → PHRVNU5S.js} +2 -2
- package/dist/cdn/{4QNOYSPY.js → PLADJNNW.js} +2 -2
- package/dist/cdn/{SVTYAHMC.js → PLKB5BAY.js} +2 -2
- package/dist/cdn/{WP7F5HRM.js → PMAEYX5B.js} +2 -2
- package/dist/cdn/{PHHVQRLL.js → PMCKR77M.js} +2 -2
- package/dist/cdn/{AVA46ODH.js → PN3EXCUI.js} +2 -2
- package/dist/cdn/{4Y7ZVP46.js → PNC7GJX5.js} +2 -2
- package/dist/cdn/{3E3IBLXH.js → PNEXLQI2.js} +2 -2
- package/dist/cdn/{CYADZ6PK.js → POF72VTV.js} +2 -2
- package/dist/cdn/{ERSOKPXT.js → POKCZ3V4.js} +2 -2
- package/dist/cdn/{WOZIGPUB.js → PV2RRQIK.js} +2 -2
- package/dist/cdn/{ZJ5VS3XI.js → Q3RYWEUP.js} +2 -2
- package/dist/cdn/Q7LKYYVG.js +18 -0
- package/dist/cdn/{R47VKS7S.js → QALG5MCX.js} +2 -2
- package/dist/cdn/{T6DIELVZ.js → QF54B5PZ.js} +2 -2
- package/dist/cdn/{AO32HRV6.js → QG3USF4Y.js} +2 -2
- package/dist/cdn/{YFOSFQMV.js → QGW5FNJT.js} +1 -1
- package/dist/cdn/{BF6B5YPC.js → QKALFXP5.js} +1 -1
- package/dist/cdn/{43NXLAVY.js → QLCJCIZJ.js} +2 -2
- package/dist/cdn/{GKS4SDRE.js → QM4W7JMJ.js} +2 -2
- package/dist/cdn/{35KLNGC5.js → QMYZGGJI.js} +2 -2
- package/dist/cdn/{DK5FUIGH.js → QO6KCGB7.js} +1 -1
- package/dist/cdn/{BGC5OXBC.js → QQKQSMEB.js} +2 -2
- package/dist/cdn/{EHS77SRG.js → QRMAFUI4.js} +2 -2
- package/dist/cdn/{KXKFOLKN.js → QTTDHRAA.js} +1 -1
- package/dist/cdn/{IBLOFUUX.js → QUMKP3MN.js} +2 -2
- package/dist/cdn/{FFLBALPH.js → QXVWOTDR.js} +2 -2
- package/dist/cdn/{SSHAOTEK.js → R5UYZSKU.js} +2 -2
- package/dist/cdn/{GYIUJFGM.js → R6QDW36Y.js} +2 -2
- package/dist/cdn/REQ6SUUW.js +18 -0
- package/dist/cdn/{QYQTOIF6.js → RIALL5SY.js} +1 -1
- package/dist/cdn/RPEOATB5.js +18 -0
- package/dist/cdn/{NX4JHBIH.js → RR6DYONH.js} +2 -2
- package/dist/cdn/{WTVABM3O.js → RUBBHHA2.js} +2 -2
- package/dist/cdn/{VBGQ7FE6.js → RWPAQKNE.js} +2 -2
- package/dist/cdn/{BEV4LNQI.js → RYCN2WNH.js} +2 -2
- package/dist/cdn/RZGCWE6B.js +4 -0
- package/dist/cdn/{SMZGBF7A.js → S35DEH4O.js} +2 -2
- package/dist/cdn/{Q4ZZ6NDL.js → S4ZGRNK3.js} +2 -2
- package/dist/cdn/{T6FIJDJK.js → S6KONP5D.js} +2 -2
- package/dist/cdn/{TO6ZG5LX.js → S7WZDGWE.js} +1 -1
- package/dist/cdn/SCFWJINO.js +18 -0
- package/dist/cdn/{LH3A7YCF.js → SH3KFLOT.js} +3 -3
- package/dist/cdn/{KIUNRSQA.js → SIL26OVP.js} +2 -2
- package/dist/cdn/{MSBJECJS.js → SL2WOYUA.js} +2 -2
- package/dist/cdn/{2JWUVZ2L.js → SLMZ3EXF.js} +1 -1
- package/dist/cdn/{KWTCG2SE.js → SOQQPZYP.js} +2 -2
- package/dist/cdn/{2KHJ7DAR.js → SXNTJLJ5.js} +2 -2
- package/dist/cdn/{GGQUPRRV.js → SYR63WS4.js} +2 -2
- package/dist/cdn/SYYINKMJ.js +18 -0
- package/dist/cdn/T2ZL626B.js +64 -0
- package/dist/cdn/{BOHI7OOB.js → T4GHTIOI.js} +1 -1
- package/dist/cdn/{7GAWPJYN.js → T7PSBD2K.js} +2 -2
- package/dist/cdn/{QXX2SNE5.js → TCNQHM62.js} +2 -2
- package/dist/cdn/{QO2AZMFP.js → TCSANST6.js} +2 -2
- package/dist/cdn/{T7GSBDIG.js → TDOLI3MJ.js} +2 -2
- package/dist/cdn/{REW2XBKZ.js → TEZMIOXN.js} +1 -1
- package/dist/cdn/{IKBTX6QZ.js → TF7EVNSZ.js} +2 -2
- package/dist/cdn/{KOT36X5I.js → TP2TOJCY.js} +2 -2
- package/dist/cdn/{PHLPFYN3.js → TYK2KN46.js} +1 -1
- package/dist/cdn/{UNOFD42Q.js → U2DYOKUT.js} +1 -1
- package/dist/cdn/U5Q7L7IV.js +18 -0
- package/dist/cdn/{RRNRGQVC.js → UEUGCRSS.js} +2 -2
- package/dist/cdn/{CLFLK4OG.js → UEYUMFJR.js} +2 -2
- package/dist/cdn/{73OBTSKG.js → UFBKZY2Y.js} +2 -2
- package/dist/cdn/{3WHGZJJS.js → UFLRMHOA.js} +2 -2
- package/dist/cdn/{3WPZIU5L.js → UTXJRKVN.js} +2 -2
- package/dist/cdn/{SERCADIE.js → UVO4N63O.js} +2 -2
- package/dist/cdn/{2YG6C32T.js → V2XWGRQ4.js} +2 -2
- package/dist/cdn/{2S3FX57Y.js → V3TOUD4G.js} +2 -2
- package/dist/cdn/{MLY5XS76.js → V5B2ANE5.js} +2 -2
- package/dist/cdn/{FFZY7CPX.js → V6N2BOHM.js} +2 -2
- package/dist/cdn/{2ZWVBNPH.js → VBJBCOA4.js} +2 -2
- package/dist/cdn/VCHF7VKK.js +21 -0
- package/dist/cdn/{CFRDPWXR.js → VESAWDFI.js} +2 -2
- package/dist/cdn/{OQF6YVUK.js → VI5QNKY4.js} +2 -2
- package/dist/cdn/{ENUF5QK4.js → VIH4XUBT.js} +2 -2
- package/dist/cdn/{CHNYABSO.js → VLEOLXN7.js} +2 -2
- package/dist/cdn/{L6PIPEF2.js → VP644CSD.js} +2 -2
- package/dist/cdn/{6WW2DA2G.js → VYZBZ6Y7.js} +1 -1
- package/dist/cdn/{XVG5AXU3.js → W5J5NEH6.js} +2 -2
- package/dist/cdn/{OYGODC65.js → WBTYMW42.js} +2 -2
- package/dist/cdn/{LQVI3NR7.js → WCQUEVMF.js} +2 -2
- package/dist/cdn/WHOYKD3P.js +18 -0
- package/dist/cdn/{BUJ7HMXE.js → WIOAHEDF.js} +2 -2
- package/dist/cdn/{VK3OPHNA.js → WJWYDP5A.js} +2 -2
- package/dist/cdn/WLTAPFFM.js +18 -0
- package/dist/cdn/{4HFOPNFI.js → WOYZGDP4.js} +2 -2
- package/dist/cdn/{C7RFHH22.js → WPIWNKXJ.js} +2 -2
- package/dist/cdn/{76RER7LN.js → WRDZQGLN.js} +2 -2
- package/dist/cdn/{KX7PNFBK.js → WUCV5AYV.js} +2 -2
- package/dist/cdn/{Z2MGL6AZ.js → X463GSCH.js} +2 -2
- package/dist/cdn/{E23BMOKL.js → X5S5VG6G.js} +2 -2
- package/dist/cdn/{3P4LQ4TN.js → XBSAUMWE.js} +2 -2
- package/dist/cdn/{GQYBA7GH.js → XCJNZ6FA.js} +2 -2
- package/dist/cdn/{CE2PWV2T.js → XDQBYMET.js} +2 -2
- package/dist/cdn/XF4KJ7M4.js +18 -0
- package/dist/cdn/{T5CPOSYR.js → XF7HMOOJ.js} +1 -1
- package/dist/cdn/XFUMVODK.js +18 -0
- package/dist/cdn/XLWTPCSP.js +18 -0
- package/dist/cdn/{6XXBH32V.js → XOB3RAC7.js} +2 -2
- package/dist/cdn/XQ55W7BG.js +18 -0
- package/dist/cdn/{IMPPWVVG.js → XU4C7MA6.js} +2 -2
- package/dist/cdn/{UM5O6SR4.js → XWNG4K3N.js} +2 -2
- package/dist/cdn/{OUYGAAGX.js → YBQZUOZZ.js} +2 -2
- package/dist/cdn/{75CES5F2.js → YFOOZMDL.js} +2 -2
- package/dist/cdn/{HBNX26U7.js → YGQDCOUP.js} +2 -2
- package/dist/cdn/{W6XHOAIY.js → YJBALGDU.js} +2 -2
- package/dist/cdn/{W5O6BHYJ.js → YJGETEBD.js} +2 -2
- package/dist/cdn/{ANOEINZT.js → YRHLAWNX.js} +2 -2
- package/dist/cdn/{YMNTHO2F.js → Z2XWW7ZN.js} +2 -2
- package/dist/cdn/{G24DNHCB.js → Z5IRLGOP.js} +2 -2
- package/dist/cdn/{G37T64CV.js → Z7LU4D7Q.js} +2 -2
- package/dist/cdn/{JOSEALSV.js → Z7ML4UNP.js} +2 -2
- package/dist/cdn/{ZGXAJOK6.js → ZBDMKHIL.js} +2 -2
- package/dist/cdn/{YHMAN2VX.js → ZF56DPTU.js} +2 -2
- package/dist/cdn/{74AIX5RH.js → ZFEVJ556.js} +1 -1
- package/dist/cdn/{SGEGTSUZ.js → ZGS6ENKJ.js} +2 -2
- package/dist/cdn/{63DFPGXG.js → ZL6AJSDF.js} +2 -2
- package/dist/cdn/{7HWYZVCJ.js → ZMG4Y2N6.js} +2 -2
- 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 +12 -10
- package/dist/components/solution-deploy-dialog/customElement.js +2 -2
- package/dist/components/solution-deployed-card/customElement.js +8 -8
- package/dist/components/solution-deployed-card-panel/customElement.js +20 -19
- 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 +20 -33
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +46 -53
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +2 -2
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +2 -2
- 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 +34 -31
- package/dist/components/solutions-all-shell/index.d.ts +1 -1
- package/dist/components/solutions-all-shell/index.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +3 -3
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +70 -31
- package/dist/components/solutions-deploy-app-nav/index.d.ts +4 -1
- package/dist/components/solutions-deploy-app-nav/index.js +4 -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 +12 -15
- package/dist/components/solutions-deployed-shell/index.d.ts +0 -1
- package/dist/components/solutions-deployed-shell/index.js +0 -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.d.ts +2 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.js +73 -63
- package/dist/components/solutions-searchsort-toolbar/index.d.ts +1 -1
- package/dist/components/solutions-searchsort-toolbar/index.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +74 -55
- package/dist/docs/docs.json +57 -33
- package/dist/docs/vscode.html-custom-data.json +17 -17
- package/dist/docs/web-types.json +57 -47
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -0
- package/dist/types/preact.d.ts +1 -0
- package/dist/types/preact10.d.ts +1 -0
- package/dist/types/react.d.ts +1 -0
- package/dist/types/stencil.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cdn/2CCBXSKK.js +0 -4
- package/dist/cdn/2PHLVPTR.js +0 -4
- package/dist/cdn/3LF35Q54.js +0 -4
- package/dist/cdn/4RTC5XWR.js +0 -18
- package/dist/cdn/5JZITWD2.js +0 -18
- package/dist/cdn/5N7W6CKG.js +0 -18
- package/dist/cdn/5ROXJJIZ.js +0 -18
- package/dist/cdn/C5H65524.js +0 -18
- package/dist/cdn/D67LKKO3.js +0 -18
- package/dist/cdn/D7WDGASK.js +0 -65
- package/dist/cdn/DQZF7IPW.js +0 -18
- package/dist/cdn/DUYSEICC.js +0 -18
- package/dist/cdn/EE3RLK54.js +0 -18
- package/dist/cdn/EJX4TNGV.js +0 -18
- package/dist/cdn/EY4LNEPF.js +0 -18
- package/dist/cdn/FVLOODPF.js +0 -18
- package/dist/cdn/GDO7SFZU.js +0 -18
- package/dist/cdn/HFSAMU3B.js +0 -18
- package/dist/cdn/HWKBNZEW.js +0 -18
- package/dist/cdn/ILRIV2PZ.js +0 -18
- package/dist/cdn/JYBZAUFS.js +0 -18
- package/dist/cdn/K2C56RZ4.js +0 -21
- package/dist/cdn/K3OZMGZ3.js +0 -4
- package/dist/cdn/LCZYX2MS.js +0 -18
- package/dist/cdn/LPQM324E.js +0 -18
- package/dist/cdn/MZVQVHJA.js +0 -18
- package/dist/cdn/OOSMF7MX.js +0 -18
- package/dist/cdn/P7A24J32.js +0 -18
- package/dist/cdn/QU33YK2I.js +0 -4
- package/dist/cdn/RXDDH7T7.js +0 -4
- package/dist/cdn/T6NNOIF5.js +0 -4
- package/dist/cdn/TRN3X66C.js +0 -18
- package/dist/cdn/TW7EJR75.js +0 -18
- package/dist/cdn/VGHU623Q.js +0 -18
- package/dist/cdn/XDEV64FQ.js +0 -18
- package/dist/cdn/Y5S76IXI.js +0 -4
- package/dist/cdn/ZDTIXH2P.js +0 -18
- package/dist/cdn/ZF5KTUHD.js +0 -18
- package/dist/cdn/ZLEHSIQE.js +0 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{c as d}from"./
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import{c as d}from"./VYZBZ6Y7.js";var r=class extends Event{constructor(t,e,n,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=n,this.subscribe=s??!1}};var a=class{constructor(t,e,n,s){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(o,c)=>{this.unsubscribe&&(this.unsubscribe!==c&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=o,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(o,c)),this.unsubscribe=c},this.host=t,e.context!==void 0){let o=e;this.context=o.context,this.callback=o.callback,this.subscribe=o.subscribe??!1}else this.context=e,this.callback=n,this.subscribe=s??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new r(this.context,this.host,this.t,this.subscribe))}};var u=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let n=e||!Object.is(t,this.o);this.o=t,n&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:n}]of this.subscriptions)e(this.o,n)},t!==void 0&&(this.value=t)}addCallback(t,e,n){if(!n)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:s}=this.subscriptions.get(t);t(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var l=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},h=class extends u{constructor(t,e,n){super(e.context!==void 0?e.initialValue:n),this.onContextRequest=s=>{if(s.context!==this.context)return;let o=s.contextTarget??s.composedPath()[0];o!==this.host&&(s.stopPropagation(),this.addCallback(s.callback,o,s.subscribe))},this.onProviderRequest=s=>{if(s.context!==this.context||(s.contextTarget??s.composedPath()[0])===this.host)return;let o=new Set;for(let[c,{consumerHost:x}]of this.subscriptions)o.has(c)||(o.add(c),x.dispatchEvent(new r(this.context,x,c,!0)));s.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new l(this.context,this.host))}};var A=i=>{let t=d(),e=new h(t.el,i);return t.addController(e),e},B=i=>{let t=d(),e=new a(t.el,i);return t.addController(e),e};export{A as a,B as b};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
4
|
var P=function(){return P=Object.assign||function(r){for(var t,a=1,s=arguments.length;a<s;a++){t=arguments[a];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},P.apply(this,arguments)},z={exports:{}},g={},W={exports:{}},w={};function q(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function le(e,r,t){}function fe(e,r,t){}var ue=/javascript\s*\:/img;function ce(e,r){return ue.test(r)?"":r}w.whiteList=q();w.getDefaultWhiteList=q;w.onAttr=le;w.onIgnoreAttr=fe;w.safeAttrValue=ce;var ge={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},L=ge;function de(e,r){e=L.trimRight(e),e[e.length-1]!==";"&&(e+=";");var t=e.length,a=!1,s=0,i=0,l="";function o(){if(!a){var u=L.trim(e.slice(s,i)),f=u.indexOf(":");if(f!==-1){var d=L.trim(u.slice(0,f)),p=L.trim(u.slice(f+1));if(d){var h=r(s,l.length,d,p,u);h&&(l+=h+"; ")}}}s=i+1}for(;i<t;i++){var n=e[i];if(n==="/"&&e[i+1]==="*"){var c=e.indexOf("*/",i+2);if(c===-1)break;i=c+1,s=i+1,a=!1}else n==="("?a=!0:n===")"?a=!1:n===";"?a||o():n===`
|
|
5
5
|
`&&o()}return L.trim(l)}var pe=de,O=w,he=pe;function G(e){return e==null}function ve(e){var r={};for(var t in e)r[t]=e[t];return r}function B(e){e=ve(e||{}),e.whiteList=e.whiteList||O.whiteList,e.onAttr=e.onAttr||O.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||O.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||O.safeAttrValue,this.options=e}B.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onAttr,i=t.onIgnoreAttr,l=t.safeAttrValue,o=he(e,function(n,c,u,f,d){var p=a[u],h=!1;if(p===!0?h=p:typeof p=="function"?h=p(f):p instanceof RegExp&&(h=p.test(f)),h!==!0&&(h=!1),f=l(u,f),!!f){var m={position:c,sourcePosition:n,source:d,isWhite:h};if(h){var v=s(u,f,m);return G(v)?u+":"+f:v}else{var v=i(u,f,m);if(!G(v))return v}}});return o};var me=B;(function(e,r){var t=w,a=me;function s(l,o){var n=new a(o);return n.process(l)}r=e.exports=s,r.FilterCSS=a;for(var i in t)r[i]=t[i]})(W,W.exports);var $=W.exports,N={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,t=r.exec(e);return t?t.index:-1}},be=$.FilterCSS,ye=$.getDefaultWhiteList,F=N;function Q(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var M=new be;function we(e,r,t){}function Ae(e,r,t){}function xe(e,r,t){}function Te(e,r,t){}function Z(e){return e.replace(ke,"<").replace(Le,">")}function Se(e,r,t,a){if(t=re(t),r==="href"||r==="src"){if(t=F.trim(t),t==="#")return"#";if(!(t.substr(0,7)==="http://"||t.substr(0,8)==="https://"||t.substr(0,7)==="mailto:"||t.substr(0,4)==="tel:"||t.substr(0,11)==="data:image/"||t.substr(0,6)==="ftp://"||t.substr(0,2)==="./"||t.substr(0,3)==="../"||t[0]==="#"||t[0]==="/"))return""}else if(r==="background"){if(_.lastIndex=0,_.test(t))return""}else if(r==="style"){if(D.lastIndex=0,D.test(t)||(j.lastIndex=0,j.test(t)&&(_.lastIndex=0,_.test(t))))return"";a!==!1&&(a=a||M,t=a.process(t))}return t=ae(t),t}var ke=/</g,Le=/>/g,Ee=/"/g,Oe=/"/g,_e=/&#([a-zA-Z0-9]*);?/gim,Ce=/:?/gim,Ie=/&newline;?/gim,_=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,D=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,j=/u\s*r\s*l\s*\(.*/gi;function J(e){return e.replace(Ee,""")}function K(e){return e.replace(Oe,'"')}function Y(e){return e.replace(_e,function(t,a){return a[0]==="x"||a[0]==="X"?String.fromCharCode(parseInt(a.substr(1),16)):String.fromCharCode(parseInt(a,10))})}function ee(e){return e.replace(Ce,":").replace(Ie," ")}function te(e){for(var r="",t=0,a=e.length;t<a;t++)r+=e.charCodeAt(t)<32?" ":e.charAt(t);return F.trim(r)}function re(e){return e=K(e),e=Y(e),e=ee(e),e=te(e),e}function ae(e){return e=J(e),e=Z(e),e}function Pe(){return""}function Fe(e,r){typeof r!="function"&&(r=function(){});var t=!Array.isArray(e);function a(l){return t?!0:F.indexOf(e,l)!==-1}var s=[],i=!1;return{onIgnoreTag:function(l,o,n){if(a(l))if(n.isClosing){var c="[/removed]",u=n.position+c.length;return s.push([i!==!1?i:n.position,u]),i=!1,c}else return i||(i=n.position),"[removed]";else return r(l,o,n)},remove:function(l){var o="",n=0;return F.forEach(s,function(c){o+=l.slice(n,c[0]),n=c[1]}),o+=l.slice(n),o}}}function Ve(e){for(var r="",t=0;t<e.length;){var a=e.indexOf("<!--",t);if(a===-1){r+=e.slice(t);break}r+=e.slice(t,a);var s=e.indexOf("-->",a);if(s===-1)break;t=s+3}return r}function Re(e){var r=e.split("");return r=r.filter(function(t){var a=t.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),r.join("")}g.whiteList=Q();g.getDefaultWhiteList=Q;g.onTag=we;g.onIgnoreTag=Ae;g.onTagAttr=xe;g.onIgnoreTagAttr=Te;g.safeAttrValue=Se;g.escapeHtml=Z;g.escapeQuote=J;g.unescapeQuote=K;g.escapeHtmlEntities=Y;g.escapeDangerHtml5Entities=ee;g.clearNonPrintableCharacter=te;g.friendlyAttrValue=re;g.escapeAttrValue=ae;g.onIgnoreTagStripAll=Pe;g.StripTagBody=Fe;g.stripCommentTag=Ve;g.stripBlankChar=Re;g.cssFilter=M;g.getDefaultCSSWhiteList=ye;var V={},y=N;function ze(e){var r=y.spaceIndex(e),t;return r===-1?t=e.slice(1,-1):t=e.slice(1,r+1),t=y.trim(t).toLowerCase(),t.slice(0,1)==="/"&&(t=t.slice(1)),t.slice(-1)==="/"&&(t=t.slice(0,-1)),t}function We(e){return e.slice(0,2)==="</"}function $e(e,r,t){var a="",s=0,i=!1,l=!1,o=0,n=e.length,c="",u="";e:for(o=0;o<n;o++){var f=e.charAt(o);if(i===!1){if(f==="<"){i=o;continue}}else if(l===!1){if(f==="<"){a+=t(e.slice(s,o)),i=o,s=o;continue}if(f===">"){a+=t(e.slice(s,i)),u=e.slice(i,o+1),c=ze(u),a+=r(i,a.length,c,u,We(u)),s=o+1,i=!1;continue}if(f==='"'||f==="'")for(var d=1,p=e.charAt(o-d);p.trim()===""||p==="=";){if(p==="="){l=f;continue e}p=e.charAt(o-++d)}}else if(f===l){l=!1;continue}}return s<e.length&&(a+=t(e.substr(s))),a}var Ne=/[^a-zA-Z0-9\\_:.-]/gim;function Ue(e,r){var t=0,a=0,s=[],i=!1,l=e.length;function o(d,p){if(d=y.trim(d),d=d.replace(Ne,"").toLowerCase(),!(d.length<1)){var h=r(d,p||"");h&&s.push(h)}}for(var n=0;n<l;n++){var c=e.charAt(n),u,f;if(i===!1&&c==="="){i=e.slice(t,n),t=n+1,a=e.charAt(t)==='"'||e.charAt(t)==="'"?t:Ge(e,n+1);continue}if(i!==!1&&n===a){if(f=e.indexOf(c,n+1),f===-1)break;u=y.trim(e.slice(a+1,f)),o(i,u),i=!1,n=f,t=n+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(f=Xe(e,n),f===-1){u=y.trim(e.slice(t,n)),o(u),i=!1,t=n+1;continue}else{n=f-1;continue}else if(f=De(e,n-1),f===-1){u=y.trim(e.slice(t,n)),u=H(u),o(i,u),i=!1,t=n+1;continue}else continue}return t<e.length&&(i===!1?o(e.slice(t)):o(i,H(y.trim(e.slice(t))))),y.trim(s.join(" "))}function Xe(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="="?r:-1}}function Ge(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="'"||t==='"'?r:-1}}function De(e,r){for(;r>0;r--){var t=e[r];if(t!==" ")return t==="="?r:-1}}function je(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function H(e){return je(e)?e.substr(1,e.length-2):e}V.parseTag=$e;V.parseAttr=Ue;var He=$.FilterCSS,b=g,ie=V,qe=ie.parseTag,Be=ie.parseAttr,I=N;function C(e){return e==null}function Qe(e){var r=I.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=I.trim(e.slice(r+1,-1));var t=e[e.length-1]==="/";return t&&(e=I.trim(e.slice(0,-1))),{html:e,closing:t}}function Me(e){var r={};for(var t in e)r[t]=e[t];return r}function Ze(e){var r={};for(var t in e)Array.isArray(e[t])?r[t.toLowerCase()]=e[t].map(function(a){return a.toLowerCase()}):r[t.toLowerCase()]=e[t];return r}function se(e){e=Me(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=b.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=Ze(e.whiteList||e.allowList):e.whiteList=b.whiteList,e.onTag=e.onTag||b.onTag,e.onTagAttr=e.onTagAttr||b.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||b.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||b.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||b.safeAttrValue,e.escapeHtml=e.escapeHtml||b.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new He(e.css))}se.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onTag,i=t.onIgnoreTag,l=t.onTagAttr,o=t.onIgnoreTagAttr,n=t.safeAttrValue,c=t.escapeHtml,u=r.cssFilter;t.stripBlankChar&&(e=b.stripBlankChar(e)),t.allowCommentTag||(e=b.stripCommentTag(e));var f=!1;t.stripIgnoreTagBody&&(f=b.StripTagBody(t.stripIgnoreTagBody,i),i=f.onIgnoreTag);var d=qe(e,function(p,h,m,v,ne){var E={sourcePosition:p,position:h,isClosing:ne,isWhite:Object.prototype.hasOwnProperty.call(a,m)},S=s(m,v,E);if(!C(S))return S;if(E.isWhite){if(E.isClosing)return"</"+m+">";var U=Qe(v),oe=a[m],X=Be(U.html,function(A,x){var R=I.indexOf(oe,A)!==-1,k=l(m,A,x,R);return C(k)?R?(x=n(m,A,x,u),x?A+'="'+x+'"':A):(k=o(m,A,x,R),C(k)?void 0:k):k});return v="<"+m,X&&(v+=" "+X),U.closing&&(v+=" /"),v+=">",v}else return S=i(m,v,E),C(S)?c(v):S},c);return f&&(d=f.remove(d)),d};var Je=se;(function(e,r){var t=g,a=V,s=Je;function i(o,n){var c=new s(n);return c.process(o)}r=e.exports=i,r.filterXSS=i,r.FilterXSS=s,(function(){for(var o in t)r[o]=t[o];for(var n in a)r[n]=a[n]})();function l(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}l()&&(self.filterXSS=e.exports)})(z,z.exports);var T=z.exports,Ke=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},Ye=(function(){function e(r,t){var a=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=P(P({},T.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(i,l,o,n){return i==="a"&&l==="href"||(i==="img"||i==="source")&&l==="src"?a.sanitizeUrl(o):T.safeAttrValue(i,l,o,n)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var s;r&&!t?s=r:r&&t?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(i){if(i==="whiteList")s.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,r.whiteList||{}]);else if(i==="css"){var l=r.css.whiteList;l!=null&&r.css instanceof Object&&Object.keys(l).forEach(function(o){return s.css.whiteList[o]=l[o]})}else s[i]=r[i]})):(s=Object.create(this.arcgisFilterOptions),s.whiteList=this.arcgisWhiteList,s.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=s,this._xssFilter=new T.FilterXSS(s)}return e.prototype.sanitize=function(r,t){switch(t===void 0&&(t={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,t);default:return t.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,t){var a=(t??{}).isProtocolRequired,s=a===void 0?!0:a,i=this._trim(r.substring(0,r.indexOf(":"))),l=r==="/",o=/^#/.test(r),n=i&&this.allowedProtocols.indexOf(i.toLowerCase())>-1;return l||o||n?T.escapeAttrValue(r):!i&&!s?T.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,t,a,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,t,a,s):T.safeAttrValue(r,t,a,s)},e.prototype.validate=function(r,t){t===void 0&&(t={});var a=this.sanitize(r,t);return{isValid:r===a,sanitized:a}},e.prototype.encodeHTML=function(r){var t=this;return String(r).replace(/[&<>"'\/]/g,function(a){return t._entityMap[a]})},e.prototype.encodeAttrValue=function(r){var t=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(a,s){return t.test(a)?a:"&#x".concat(Number(r.charCodeAt(s)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var t={};return r.forEach(function(a){Object.keys(a).forEach(function(s){Array.isArray(a[s])&&Array.isArray(t[s])?t[s]=t[s].concat(a[s]):t[s]=a[s]})}),t},e.prototype._iterateOverObject=function(r,t){var a=this;t===void 0&&(t={});try{var s=!1,i=void 0;if(Array.isArray(r))i=r.reduce(function(o,n){var c=a.validate(n,t);return c.isValid?o.concat([n]):(s=!0,o.concat([c.sanitized]))},[]);else if(Ke(r)){var l=Object.keys(r);i=l.reduce(function(o,n){var c=r[n],u=a.validate(c,t);return u.isValid?o[n]=c:(s=!0,o[n]=u.sanitized),o},{})}else return t.allowUndefined&&typeof r>"u"?void 0:null;return s?i:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e})();export{Ye as a};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import b from"./WUCV5AYV.js";import{d as f}from"./MAYQRSPQ.js";import a from"./XWNG4K3N.js";import{b as m}from"./S6KONP5D.js";import"./4MEHIVYA.js";import"./JEF4UV2K.js";import"./OIRXB4BU.js";import"./PNEXLQI2.js";import"./HBZNFHQK.js";import"./4R3STD7G.js";import"./HCBYY275.js";import"./MSKT77WV.js";import"./VIH4XUBT.js";import"./T4GHTIOI.js";import"./QTTDHRAA.js";import"./6WLLVDOT.js";import"./E7ZSOO5U.js";import"./XU4C7MA6.js";import"./Z2XWW7ZN.js";import"./42MWP46P.js";import"./KLPZNVNH.js";import"./5A2Y5ZFB.js";import"./ZFEVJ556.js";import"./XF7HMOOJ.js";import{a as u}from"./ITJXBRWP.js";import"./6ESVYRQV.js";import{a as h}from"./G4JVAMYO.js";import"./56RMHUL3.js";import"./DVB6GNMC.js";import{b as g}from"./CY5N72KD.js";import{E as p,I as n,h as d,i,o}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";export default $arcgis.t(([,{d:s,h:x,i:b}])=>{var w=d`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.font-weight-med{font-weight:var(--calcite-font-weight-medium)}.font-weight-bold{font-weight:var(--calcite-font-weight-bold)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.font-1{font-size:var(--calcite-spacing-xxl)}.display-flex{display:flex}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.icon-color{color:var(--calcite-color-text-3)}.padding-bottom-lg{padding-bottom:var(--calcite-spacing-lg)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.align-items-center{align-items:center}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.background-color-2{background-color:var(--calcite-color-foreground-2)}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.position-relative{position:relative}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-foreground-2);background-color:var(--calcite-color-foreground-2)}.panel-background-1{--calcite-panel-background-color: var(--calcite-color-foreground-1);--calcite-shell-panel-background-color: var(--calcite-color-foreground-1)}.border-none{border:none}.font-color-1{color:var(--calcite-color-text-1)}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.bottom-border{border-bottom:solid var(--calcite-spacing-px);color:var(--calcite-color-border-1)}.margin-start-end-xxl{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.justify-between{justify-content:space-between}.items-baseline{align-items:baseline}.padding-xxl{padding:var(--calcite-spacing-xxl)}.padding-top-xxl{padding-top:var(--calcite-spacing-xxl)}.padding-top-lg{padding-top:var(--calcite-spacing-lg)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}.padding-start-sm{padding-inline-start:var(--calcite-spacing-sm)}.padding-start-xxl{padding-inline-start:var(--calcite-spacing-xxl)}.image-width{width:395px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.image-width{flex-grow:2;flex-shrink:.5}}img{max-width:100%;height:auto;overflow-clip-margin:content-box;overflow:clip}.margin-xl{margin:var(--calcite-spacing-xl)}.line-height-1{line-height:1.1}@media(max-width:800px){.image-width{display:none}}calcite-shell-panel{--calcite-shell-panel-max-width: 20rem;--calcite-shell-panel-width: 24vw}calcite-shell{overflow:auto;block-size:unset}`,c=class extends p{constructor(){super(),this.diagramKey="",this.open=!1,this.showSuccessAlert=!1,this.templateInfos=[],this._accordionLoading=!1,this._configureTitlesOpen=!1,this._deleteDialogOpen=!1,this._hasNewVersion=!1,this._isDiagramOpen=!1,this._isNameConflict=!1,this._invalidNameMessage="",this._showFailedAlert=!1,this._showItemUpdateLoading=!1,this._templateInfoGraph=[],this._translations=h({name:"solution-deployed-card-panel",blocking:!0}),this._configContextConsumer=m({context:f,subscribe:!0}),this.navTabSelected=o(),this.sortTypeChanged=o(),this.solutionConfigureDialogClose=o(),this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected)}static{this.properties={card:0,cardRef:1,diagramKey:1,open:5,showSuccessAlert:5,templateInfos:0,_accordionLoading:16,_configureTitlesOpen:16,_deleteDialogOpen:16,_hasNewVersion:16,_isDiagramOpen:16,_isNameConflict:16,_invalidNameMessage:16,_showFailedAlert:16,_showItemUpdateLoading:16,_templateInfoGraph:16,_translations:16}}static{this.styles=w}render(){return i`<calcite-shell class="position-relative background-color-2"><calcite-panel class="padding-end-xxl panel-background-2 border-none" slot=panel-bottom><div class="display-flex flex-direction-column overflow-hidden"><div class="background-color-2 padding-top-xxl">${this._getSolutionPanel()}</div>${this._getSolutionContents()}</div></calcite-panel><calcite-shell-panel class="panel-background-1" slot=panel-end>${this._getButtons()}${this._getOwnerSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getSolutionVersionCard()}</calcite-shell-panel>${this._renderDiagramDialog()}${this._getConfigureTitlesDialog()}${this._getDeleteDialog()}</calcite-shell>`}async _deployedCardSelected(e){let t=e.detail;this.card=t.card,this.cardRef=t.cardRef,this.templateInfos=[],this._accordionLoading=!0,this.cardRef.getTemplates().then(l=>{this.templateInfos=l,this._accordionLoading=!1});let a=x(this._configContextConsumer.value?.allCards||[],this.card.deployCommonId),r=!1;if(a){let l=s(a),v=s(this.card);r=l>v}this._hasNewVersion=r}_handleDeployAppTabSelected(e){e.detail==="deployed-card"&&this.sortTypeChanged.emit("")}_getButtons(){return i`<div class="display-flex flex-direction-column padding-xxl"><calcite-button appearance=outline class="padding-bottom-lg" icon-start=model kind=neutral @click=${this._openDiagram}>${this._translations.viewTheDiagram}</calcite-button><calcite-button appearance=outline class="padding-bottom-lg" icon-start=edit-attributes kind=neutral @click=${this._openConfigureTitlesDialog}>${this._translations.updateTitles}</calcite-button><calcite-button appearance=outline class="padding-bottom-lg" icon-start=file-text kind=neutral @click=${this._viewDocumentation}>${this._translations.solutionDocumentation}</calcite-button><calcite-button appearance=outline class="padding-bottom-lg" icon-start=launch kind=neutral @click=${this._openItemDetails}>${this._translations.itemDetails}</calcite-button><calcite-button appearance=outline class="padding-bottom-lg" icon-start=trash kind=neutral @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-button></div>`}_openConfigureTitlesDialog(){this._configureTitlesOpen=!0}_getConfigureTitlesDialog(){return this._configureTitlesOpen?i`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${()=>{this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this.templateInfos=await this.cardRef.getTemplates()}} .open=${this._configureTitlesOpen} .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_viewDocumentation(e){e.stopPropagation(),window.open(this.card.learnMoreUrl,"_blank")}_openItemDetails(e){e.stopPropagation(),window.open(this.card.itemUrl,"_blank")}_getOwnerSection(){return i`<div class="display-flex padding-bottom-xxl margin-start-end-xxl flex-direction-column"><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override" layout=inline scale=l>${this._translations.aboutYourSolutionOwner}</calcite-label><calcite-button appearance=transparent kind=neutral icon-start=pencil @click=${()=>{}}>${this._translations.editSolutionOwner}</calcite-button></div>${u(this.card?.owner,i`<arcgis-user-popup api=4 appearance=outline .baseUrl=${this._configContextConsumer?.value?.orgUrl} class="padding-top-lg" .portal=${this._configContextConsumer?.value?.authentication?.Portal} scale=l show-avatar show-name show-username underline .username=${this.card?.owner}></arcgis-user-popup>`)}</div>`}async _openDiagram(e){e.stopPropagation(),this.cardRef&&(this._templateInfoGraph=await this.cardRef.getTemplates(),this._isDiagramOpen=!0)}_getSolutionVersionCard(){console.log("someting up with the href...this is for debugging"),console.log(window.location.href.replace(/deployments\/.+/,"title"));let e=this._hasNewVersion?this._translations.newVersionAvailable:this._translations.youHaveTheLatestVersion;return i`<div class="padding-xxl display-flex flex-direction-column"><calcite-label class="font-weight-med label-override" layout=inline scale=l slot=heading>${this._translations.solutionVersion}</calcite-label><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center"><calcite-icon class="icon-color" icon=clock-forward scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="font-weight-bold font-color-1">${this.card?.deployVersion}</span><span>${e}</span></div></div></div>${this._hasNewVersion?i`<calcite-button appearance=outline class="padding-top-lg" kind=neutral @click=${this._openNewVersionSolution} width=full>${this._translations.viewNewVersion}</calcite-button>`:""}</div>`}_openNewVersionSolution(e){e.stopPropagation();let t=b(this._configContextConsumer.value.allCards,this.card.deployCommonId),a=window.location.href;t&&window.open(a.replace(/deployments\/.+/,t),"_blank")}_getSolutionPanel(){let e=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400"),t=this._configContextConsumer.value?.userSession;return i`<calcite-panel class="font-size-override panel-background-1"><div class="display-flex flex-direction-row"><div class="image-width margin-xl"><img alt=${this.card?.title??n} src=${`${e}&token=${t?.token}`}></div><div class="display-flex flex-direction-column"><h1 class="title-font margin-block-start-end-0 padding-end-xxl padding-start-sm padding-top-xxl padding-bottom-xxl line-height-1">${this.card?.title}</h1><div class="display-flex flex-direction-column padding-bottom-xxl padding-start-sm"><div class="display-flex align-items-start padding-bottom-xxl"><calcite-label class="font-1 padding-end-xxl" scale=l>${this.card?.snippet}</calcite-label></div><div class="display-flex"><div class="display-flex"><calcite-label class="label-override icon-color" layout=inline><calcite-icon class="icon-color" icon=projects scale=s></calcite-icon>${this._translations.aboutYourSolutionDeployedDate.replace("{{deployedDate}}",this.card?.created||"")}</calcite-label></div></div></div></div></div></calcite-panel>`}_getSolutionContents(){return i`<calcite-panel class="panel-background-1 padding-top-xxl"><calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded><div class="margin-block-start-end-0 heading-font " slot=content-start>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}",this.templateInfos.length.toString())}</div><div class="overflow-auto">${this._accordionLoading?i`<calcite-loader label=this._isLoadingText scale=m></calcite-loader>`:i`<solution-item-accordion list-selection-mode=single .templateInfos=${this.templateInfos} .typeKeywords=${this.card?.typeKeywords}></solution-item-accordion>`}</div></calcite-accordion-item></calcite-accordion></calcite-panel>`}_getDeleteDialog(){return this._deleteDialogOpen?i`<solution-delete-dialog .card=${this.card} @solutionDeleted=${()=>setTimeout(()=>this.navTabSelected.emit({tabType:"deployments"}),100)} @solutionDeleteDialogBeforeClose=${()=>{this._deleteDialogOpen=!1}} .open=${this._deleteDialogOpen}></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?i`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")} id=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")??n} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled scale=m width=l><solution-item-diagram .diagramKey=${this.diagramKey!==""?this.diagramKey:this._configContextConsumer.value?.diagramKey??""} .templateInfoGraph=${this._templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>`:""}async _deleteSolution(){this._deleteDialogOpen=!0}};g("solution-deployed-card-panel",c);return c},a,b)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as f}from"./
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import{a as f}from"./POF72VTV.js";import{a as m,c as u}from"./MAYQRSPQ.js";import{b as l}from"./S6KONP5D.js";import"./4MEHIVYA.js";import"./JEF4UV2K.js";import"./OIRXB4BU.js";import"./PNEXLQI2.js";import"./HBZNFHQK.js";import"./4R3STD7G.js";import"./HCBYY275.js";import"./MSKT77WV.js";import"./VIH4XUBT.js";import"./T4GHTIOI.js";import"./QTTDHRAA.js";import"./6WLLVDOT.js";import"./E7ZSOO5U.js";import"./XU4C7MA6.js";import"./Z2XWW7ZN.js";import"./42MWP46P.js";import"./KLPZNVNH.js";import"./5A2Y5ZFB.js";import"./ZFEVJ556.js";import"./XF7HMOOJ.js";import{a as g}from"./G4JVAMYO.js";import"./56RMHUL3.js";import"./DVB6GNMC.js";import{b as p}from"./CY5N72KD.js";import{C as o,D as s,E as h,I as i,h as r,i as t,j as c,o as d}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var w=r`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -15,4 +15,4 @@ import{a as f}from"./CYADZ6PK.js";import{a as m,c as u}from"./DVGLTRJU.js";impor
|
|
|
15
15
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
16
|
* See the License for the specific language governing permissions and
|
|
17
17
|
* limitations under the License.
|
|
18
|
-
*/calcite-card{width:295px;height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(20%);filter:brightness(20%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:var(--calcite-spacing-base) solid var(--calcite-ui-brand);box-sizing:content-box;cursor:pointer}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}.cursor-default{cursor:default}`,n=class extends h{constructor(){super(...arguments),this.allowDelete=!1,this.deployedDate="",this.description="",this.diagramKey="",this.heading="",this.itemId="",this.owner="",this.thumbnail="",this.updateAvailable=!1,this.templateInfos=[],this._isDeleteOpen=!1,this._isDiagramOpen=!1,this.templateInfoGraph=[],this._configureTitlesOpen=!1,this._translations=g({name:"solution-deployed-card",blocking:!0}),this._authContextConsumer=l({context:u,subscribe:!0}),this._deleteDialogRef=o(),this._diagramDialogRef=o(),this._userSessionContextConsumer=l({context:m,subscribe:!0}),this.deployedCardSelected=d()}static{this.properties={allowDelete:5,card:0,deployedDate:1,description:1,diagramKey:1,heading:1,itemId:1,owner:1,thumbnail:1,updateAvailable:5,templateInfos:0,_isDeleteOpen:16,_isDiagramOpen:16,templateInfoGraph:16,_configureTitlesOpen:16,_translations:16}}static{this.styles=w}async renderConfigureDialog(){this._cardSelected()}async renderDeleteDialog(){return this._isDeleteOpen=!0,this._renderDeleteDialog(),this._deleteDialogRef.value}async renderDiagramDialog(e){return await this._viewDiagram(e),await this._renderDiagramDialog(),this._diagramDialogRef.value}async getTemplates(){return this._processTemplates(this.card)}willUpdate(e){e.has("card")&&this._processTemplates(this.card).then(a=>{this.templateInfos=a})}render(){return t`<calcite-card .label=${this.description} @click=${this._cardSelected}>${this._getImage()}${this._getHeader()}<p
|
|
18
|
+
*/calcite-card{width:295px;height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(20%);filter:brightness(20%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:var(--calcite-spacing-base) solid var(--calcite-ui-brand);box-sizing:content-box;cursor:pointer}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}.cursor-default{cursor:default}`,n=class extends h{constructor(){super(...arguments),this.allowDelete=!1,this.deployedDate="",this.description="",this.diagramKey="",this.heading="",this.itemId="",this.owner="",this.thumbnail="",this.updateAvailable=!1,this.templateInfos=[],this._isDeleteOpen=!1,this._isDiagramOpen=!1,this.templateInfoGraph=[],this._configureTitlesOpen=!1,this._translations=g({name:"solution-deployed-card",blocking:!0}),this._authContextConsumer=l({context:u,subscribe:!0}),this._deleteDialogRef=o(),this._diagramDialogRef=o(),this._userSessionContextConsumer=l({context:m,subscribe:!0}),this.deployedCardSelected=d()}static{this.properties={allowDelete:5,card:0,deployedDate:1,description:1,diagramKey:1,heading:1,itemId:1,owner:1,thumbnail:1,updateAvailable:5,templateInfos:0,_isDeleteOpen:16,_isDiagramOpen:16,templateInfoGraph:16,_configureTitlesOpen:16,_translations:16}}static{this.styles=w}async renderConfigureDialog(){this._cardSelected()}async renderDeleteDialog(){return this._isDeleteOpen=!0,this._renderDeleteDialog(),this._deleteDialogRef.value}async renderDiagramDialog(e){return await this._viewDiagram(e),await this._renderDiagramDialog(),this._diagramDialogRef.value}async getTemplates(){return this._processTemplates(this.card)}willUpdate(e){e.has("card")&&this._processTemplates(this.card).then(a=>{this.templateInfos=a})}render(){return t`<calcite-card .label=${this.description} @click=${this._cardSelected}>${this._getImage()}${this._getHeader()}<p class="font-color-text-2 font-line-height font-size-size--1" slot=description>${this.description}</p><div class="width-full display-flex flex-direction-column" slot=footer-start><div class="padding-bottom-1-2">${this._getOwnerLabel()}${this._getDeployedDate()}</div>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}${this._renderDiagramDialog()}${this._renderConfigureTitlesDialog()}`}_getImage(){let e=this._userSessionContextConsumer.value;return t`<div class="card-image-wrap" slot=thumbnail><img alt=${this.heading??i} class="thumbnail card-image" src=${`${this.thumbnail}&token=${e?.token}`}><div class="hover-text">${this._translations.openSolution}</div></div>`}_getHeader(){return t`<div class="display-flex justify-content-space-between header-line-height" slot=heading><calcite-label layout=inline-space-between scale=l>${this.heading}</calcite-label></div>`}_getOwnerLabel(){return t`<calcite-label class="font-weight-400 padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.owner}</calcite-link></calcite-label>`}_getDeployedDate(){return t`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${c`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}",this.deployedDate)}</calcite-label></div>`}_getConfigureButton(){return t`<calcite-split-button appearance=outline aria-label=${this._translations.openSolution??i} dropdown-label=${this._translations.moreActions??i} kind=neutral @calciteSplitButtonPrimaryClick=${()=>{this.deployedCardSelected.emit({card:this.card,cardRef:this.el})}} @click=${e=>e.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.openSolution??i} width=full><calcite-dropdown-group selection-mode=none><calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=model @click=${this._viewDiagram}>${this._translations.viewDiagram}</calcite-dropdown-item><calcite-dropdown-item icon-start=edit-attributes @click=${()=>{this._configureTitlesOpen=!0}}>${this._translations.renameItems}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails}>${this._translations.viewItemDetails}</calcite-dropdown-item>${this.allowDelete&&t`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-dropdown-item>`||""}</calcite-dropdown-group></calcite-split-button>`}_renderDeleteDialog(){return this._isDeleteOpen?t`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${e=>{this._isDeleteOpen=e.detail}} .open=${this._isDeleteOpen} ${s(this._deleteDialogRef)}></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?t`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}",this.card?.title??"")} id=${this._translations.diagramTitle.replace("{{solution}}",this.card?.title??"")??i} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled scale=m width=l ${s(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>`:""}_renderConfigureTitlesDialog(){return this._configureTitlesOpen?t`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${()=>{this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this._processTemplates(this.card).then(e=>{this.templateInfos=e})}} .open=${this._configureTitlesOpen} .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_cardSelected(){this.deployedCardSelected.emit({card:this.card,cardRef:this.el})}async _viewDiagram(e){e.stopPropagation(),this.card&&(this.templateInfoGraph=await this._processTemplates(this.card),this._isDiagramOpen=!0)}_viewDocumentation(e){e.stopPropagation(),window.open(this.card.learnMoreUrl,"_blank")}_viewItemDetails(e){e.stopPropagation(),window.open(this.card.itemUrl,"_blank")}_deleteSolution(e){e.stopPropagation(),this._isDeleteOpen=!0}_openUserProfile(e){e.stopPropagation();let a=this._authContextConsumer.value?.PortalSubset?.orgUrl;a&&window.open(`${a}/home/user.html?user=${this.owner}`,"_blank")}async _processTemplates(e){return await f(e.id,this._userSessionContextConsumer.value)}};p("solution-deployed-card",n);export{n as SolutionDeployedCard};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{l as c}from"./
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import{l as c}from"./VIH4XUBT.js";import{a as o}from"./ZFEVJ556.js";import{a as n}from"./I2FGXEDE.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{c as t}from"./
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import{c as t}from"./I2FGXEDE.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./IXNDA5VZ.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
4
|
var o={user:"user",group:"group",groupAdmin:"group-admin",org:"org",orgAdmin:"org-admin",authenticated:"authenticated",anonymous:"anonymous",owner:"owner"};export{o as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import"./GTPA67XZ.js";var a="Sinulla ei ole riitt\xE4v\xE4sti krediittej\xE4 t\xE4m\xE4n toiminnon toteuttamiseen. Pyyd\xE4 apua ArcGIS-j\xE4rjestelm\xE4n p\xE4\xE4k\xE4ytt\xE4j\xE4lt\xE4.",t="T\xE4m\xE4 ty\xF6kalu on julkaistu muistikirjasta. Organisaatiosi ArcGIS Notebooks -k\xE4ytt\xF6oikeus on ev\xE4tty. Ota yhteys p\xE4\xE4k\xE4ytt\xE4j\xE4\xE4n asetuksen muuttamista varten.",e="Kohteessa ${ dataPath } ei saa olla kohdetta ${ additionalProperty }.",i="Kohteen ${ dataPath } on vastattava jotakin n\xE4ist\xE4 skeemoista: ${ schemaOptions }.",s="Yrit\xE4 tallentaa kartta uudelleen.",o="Krediitin arviointi ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja arvioi krediitit uudelleen.",n="Analyysia suorittaessa tapahtui virhe.",r="Kohteen ${ dataPath } tulee olla yht\xE4 suuri kuin jokin n\xE4ist\xE4 sallituista arvoista: ${ allowedValues }.",l="Analyysihistorian tallennus ep\xE4onnistui",u="Historian tallennustila on t\xE4ynn\xE4. Poista joitain kohteita analyysihistoriasta ja yrit\xE4 tallentaa uudelleen.",d="Palvelun nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin.",k="Tilap\xE4isen karttatason tallennusta is\xE4nn\xF6ityn\xE4 karttatasona ei suoritettu loppuun.",m="Avainominaisuuksien nouto ep\xE4onnistui.",y="Karttatason lataus ep\xE4onnistui.",h="Karttataso ei ole k\xE4ytett\xE4viss\xE4.",v="Kohteessa ${ dataPath } ei saa olla yli ${ limit } kohdetta.",c="Mallia tallennettaessa tapahtui virhe. Yrit\xE4 tallentaa uudelleen.",p="Kohteessa ${ dataPath } ei saa olla alle ${ limit } kohdetta.",P="${ dataPath } ei saa olla alle ${ limit } merkki\xE4 pitk\xE4.",E="Mallikohteen lataus ep\xE4onnistui. Varmista, ett\xE4 malli on olemassa ja ett\xE4 k\xE4ytt\xF6oikeus on my\xF6nnetty.",j="Pyynn\xF6n suorittaminen ep\xE4onnistui.",S="Sinulla ei ole t\xE4m\xE4n ty\xF6kalun suoritusoikeutta. <calcite-link target='_blank' href='${ docLink }'>Lis\xE4tietoja</calcite-link>",T="Portaaliin kirjautuminen ep\xE4onnistui.",$="L\xE4ht\xF6tietojen luku ep\xE4onnistui.",f="Kohteesta ${ dataPath } puuttuu ominaisuus ${ missingProperty }.",F="T\xE4m\xE4n niminen tuloskarttataso on jo olemassa. Tuloskarttatasot on nimett\xE4v\xE4 yksil\xF6llisesti koko organisaatiossa. K\xE4yt\xE4 toista nime\xE4.",I="Tulosaineiston nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin. <a href='${docLink}' target='_blank'>Lue lis\xE4\xE4.</a>",L="Tilap\xE4isen karttatason julkaiseminen is\xE4nn\xF6ityn\xE4 karttatasona ei onnistunut v\xE4hint\xE4\xE4n yhden virheellisen kent\xE4n vuoksi. Suorita ty\xF6kalu uudelleen, jos haluat luoda karttatason kelvollisilla kentill\xE4.",K="Ty\xF6n l\xE4hetys ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja suorita analyysi uudelleen.",V="Kohteessa ${ dataPath } on oltava v\xE4hint\xE4\xE4n yksi muu kuin v\xE4limerkki.",g={InsufficientCreditsError:a,accessBlocked:t,additionalProperty:e,anyOfValues:i,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:n,enumValues:r,failedToSaveHistory:l,fullSessionStorage:u,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:h,maxItems:v,mbFailedToSave:c,minItems:p,minLength:P,modelNotFound:E,networkError:j,noPermissionToAccessTool:S,portalLoadError:T,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:L,toolValidationError:K,whiteSpacePattern:V};export{a as InsufficientCreditsError,t as accessBlocked,e as additionalProperty,i as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,g as default,n as defaultError,r as enumValues,l as failedToSaveHistory,u as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,h as layerUnavailable,v as maxItems,c as mbFailedToSave,p as minItems,P as minLength,E as modelNotFound,j as networkError,S as noPermissionToAccessTool,T as portalLoadError,$ as queryFeaturesError,f as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,K as toolValidationError,V as whiteSpacePattern};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as v}from"./
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import{a as v}from"./QO6KCGB7.js";import{b as I}from"./S6KONP5D.js";import{a as w,b as f,d as y}from"./KYAKBPGR.js";import"./6ESVYRQV.js";import"./6DHRO6RA.js";import{a as L}from"./G4JVAMYO.js";import"./56RMHUL3.js";import"./DVB6GNMC.js";import{b as u}from"./CY5N72KD.js";import{C as o,D as d,E as g,G as p,H as c,h as b,i as a,l,o as h,r as _}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var $=b`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a}from"./
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import{a}from"./G4JVAMYO.js";import"./56RMHUL3.js";import"./DVB6GNMC.js";import{b as n}from"./CY5N72KD.js";import{E as r,I as e,h as s,i as t}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var c=s`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import{a as G}from"./QO6KCGB7.js";import{b as R}from"./S6KONP5D.js";import{c as b,h as V,i as O}from"./KYAKBPGR.js";import{d as r,e as f,g as C}from"./6ESVYRQV.js";import{d as D}from"./6DHRO6RA.js";import{b as x}from"./AYVYACFY.js";import{a as $}from"./G4JVAMYO.js";import"./56RMHUL3.js";import"./DVB6GNMC.js";import{b as E}from"./CY5N72KD.js";import{C as y,D as _,E as v,G as k,h as I,i as h,o as m,r as L}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var T=I`@layer{/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{display:block}.div-not-visible{display:none!important}.border{outline:1px solid var(--calcite-color-border-input)}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:Avenir Next,Helvetica Neue,Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}.esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:700}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom: 0}.padding-start-1-2{padding-inline-start:.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}}`,w=class extends v{constructor(){super(),this.enabledLayerIds=[],this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.searchDistanceEnabled=!1,this.selectionSets=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.geometries=[],this._translations=$({name:"refine-selection",blocking:!0}),this._selectionMode=r.ADD,this._addEnabled=!0,this._drawTools=y(),this._enabledLayerIds=[],this._layerPicker=y(),this._featuresCollection={},this._pnContextConsumer=R({context:G,subscribe:!0}),this._bufferTools=y(),this.selectionLoadingChange=m(),this.selectionSetsChanged=m(),this.listenOn(window,"distanceChanged",this.distanceChanged),this.listenOn(window,"unitChanged",this.unitChanged)}static{this.properties={addresseeLayer:0,enabledLayerIds:0,enableSearchDistance:5,enableSearchDistanceOnLoad:5,mapView:0,searchDistanceEnabled:5,selectionSets:0,sketchLineSymbol:0,sketchPointSymbol:0,sketchPolygonSymbol:0,defaultBufferUnit:1,bufferColor:1,bufferOutlineColor:1,defaultBufferDistance:9,geometries:0,_translations:16,_selectionMode:16,_refineLayer:16}}static{this.styles=T}static{this.shadowRootOptions=L}willUpdate(e){e.has("defaultBufferUnit")&&this.hasUpdated&&this._refineSelectionSet&&(this._refineSelectionSet.unit=this.defaultBufferUnit),e.has("defaultBufferDistance")&&this.hasUpdated&&this._refineSelectionSet&&(this._refineSelectionSet.distance=this.defaultBufferDistance)}async distanceChanged(e){e.detail.newValue!==e.detail.oldValue&&this._refineSelectionSet&&(this._refineSelectionSet.distance=e.detail.newValue)}async unitChanged(e){e.detail.newValue!==e.detail.oldValue&&this._refineSelectionSet&&(this._refineSelectionSet.unit=e.detail.newValue)}async load(){await this._initModules(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}async loaded(){await this._init()}render(){let e=this._enabledLayerIds.length>1?"display-block":"display-none";return h`<div class=${`${e} padding-top-sides-1`}><div class="display-flex"><calcite-label class="font-bold width-full label-margin-0"><div class="display-flex">${this._translations.inputLayer}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=refine-input-layer scale=s></calcite-icon></div><map-layer-picker .enabledLayerIds=${this._enabledLayerIds} .mapView=${this.mapView} @layerSelectionChange=${t=>{this._layerSelectionChange(t)}} .selectedIds=${this._refineLayer?[this._refineLayer.layer.id]:[]} ${_(this._layerPicker)}></map-layer-picker></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=refine-input-layer><span class="tooltip-message">${this._translations.inputLayerTip}</span></calcite-popover></div></div><div class="padding-1"><div class="padding-bottom-1"><calcite-segmented-control class="w-100" width=full><calcite-segmented-control-item .checked=${this._addEnabled} class="w-50 word-wrap-anywhere" @click=${()=>this._setSelectionMode(r.ADD)} .value=${r.ADD}><span class="font-weight-500">${this._translations.add}</span></calcite-segmented-control-item><calcite-segmented-control-item .checked=${!this._addEnabled} class="w-50 word-wrap-anywhere" @click=${()=>this._setSelectionMode(r.REMOVE)} .value=${r.REMOVE}><span class="font-weight-500">${this._translations.remove}</span></calcite-segmented-control-item></calcite-segmented-control></div><div><map-draw-tools active .drawMode=${C.REFINE} .mapView=${this.mapView} @drawRedo=${()=>this._redo()} @drawUndo=${()=>this._undo()} @sketchGraphicsChange=${this._sketchGraphicsChanged} .pointSymbol=${this.sketchPointSymbol} .polygonSymbol=${this.sketchPolygonSymbol} .polylineSymbol=${this.sketchLineSymbol} .redoEnabled=${this._refineSelectionSet?.redoStack&&this._refineSelectionSet.redoStack.length>0} .undoEnabled=${this._refineSelectionSet?.undoStack&&this._refineSelectionSet.undoStack.length>0} ${_(this._drawTools)}></map-draw-tools></div>${this.enableSearchDistance?this._getBufferOptions():void 0}<br>${h`<calcite-list class="list-border" label>${this._getRefineSelectionSetList()}</calcite-list>`}</div>`}async _initModules(){let[e,t]=await x(["esri/layers/GraphicsLayer","esri/Graphic"]);this.GraphicsLayer=e,this.Graphic=t}async _init(){this._initGraphicsLayer()}_initGraphicsLayer(){let e=this._translations.bufferLayer;if(this.mapView){let t=this.mapView.map.layers.findIndex(i=>i.title===e);if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else if(this._bufferGraphicsLayer=this.GraphicsLayer&&new this.GraphicsLayer({title:e,listMode:"hide"}),this._bufferGraphicsLayer){let i=this.mapView.map.layers.findIndex(s=>s.title===this._translations.sketchLayer);i>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,i):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}_layerSelectionChange(e){let t=e.detail[0];this._setRefineSet(t)}_setSelectionMode(e){this._selectionMode=e}_sketchGraphicsChanged(e){let t=(e.detail?.graphics[0]).geometry;this.geometries=[t],this._selectFeatures(t)}_getEnabledLayerIds(){return this.selectionSets.reduce((e,t)=>{let i=t?.layerView?.layer.id;return i&&e.indexOf(i)<0?e.push(i):t.workflowType===f.REFINE&&Object.keys(t.refineInfos).forEach(s=>{e.indexOf(s)<0&&e.push(s)}),e},[])}async _setRefineSet(e){this.selectionSets.some(t=>t.workflowType===f.REFINE?(this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(e)>-1):!1)||await this._initRefineSet(e,this._refineSelectionSet),this._refineSelectionSet&&(this._refineLayer=this._refineSelectionSet.refineInfos[e].layerView)}async _initRefineSet(e,t){let i={};i[e]={addIds:[],removeIds:[],layerView:this.mapView&&await b(this.mapView,e)},t?t.refineInfos={...t.refineInfos,...i}:(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:this.defaultBufferDistance||0,download:!0,unit:this.defaultBufferUnit||"feet",label:"Refine",selectedIds:[],layerView:this.mapView&&await b(this.mapView,e),geometries:[],graphics:[],selectLayers:[],workflowType:f.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:i,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){if(this._refineSelectionSet){let e=this._refineSelectionSet.undoStack&&this._refineSelectionSet.undoStack.pop();e&&this._refineSelectionSet.redoStack&&this._updateIds(e.ids,e.mode===r.ADD?r.REMOVE:r.ADD,this._refineSelectionSet.redoStack,e.layerView)}}_redo(){if(this._refineSelectionSet){let e=this._refineSelectionSet.redoStack&&this._refineSelectionSet.redoStack.pop();e&&this._refineSelectionSet.undoStack&&this._updateIds(e.ids,e.mode===r.ADD?r.REMOVE:r.ADD,this._refineSelectionSet.undoStack,e.layerView)}}_getBufferOptions(){this.enableSearchDistanceOnLoad&&this._refineSelectionSet&&(this._refineSelectionSet.searchDistanceEnabled=!0,this.searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);let e=this._refineSelectionSet?.searchDistanceEnabled?"search-distance":"div-not-visible";return h`<div><div class="padding-top-1 display-flex"><calcite-label class="label-margin-0 w-100" layout=inline-space-between><div class="tooltip-container">${this._translations.searchDistance}<calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=search-distance-icon scale=s></calcite-icon></div></calcite-label><calcite-popover closable label overlay-positioning=fixed reference-element=search-distance-icon><span class="tooltip-message">${this._translations.useSearchDistanceTootip}</span></calcite-popover><calcite-switch .checked=${this._refineSelectionSet?.searchDistanceEnabled} @calciteSwitchChange=${()=>{this.searchDistanceEnabled=!this.searchDistanceEnabled,this._refineSelectionSet&&(this._refineSelectionSet.searchDistanceEnabled=this.searchDistanceEnabled)}}></calcite-switch></div><div class=${k(e)}><buffer-tools .disabled=${!this.searchDistanceEnabled} .distance=${this._refineSelectionSet?.distance} .geometries=${this.geometries} @bufferComplete=${t=>void this._bufferComplete(t)} .unit=${this._refineSelectionSet?.unit} ${_(this._bufferTools)}></buffer-tools></div></div>`}async _bufferComplete(e){if(this._bufferGeometry=Array.isArray(e.detail)?e.detail[0]:e.detail,this._bufferGeometry){let t={type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}},i=this.Graphic&&new this.Graphic({geometry:this._bufferGeometry,symbol:t});this._bufferGraphicsLayer&&i&&this.mapView&&(this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures(this._bufferGeometry))}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll()}_getRefineSelectionSetList(){let e=this._getTotal(this.selectionSets),t;this.selectionSets.some(c=>c.workflowType===f.REFINE?(t=c,!0):!1);let i=0,s=0;t?.refineInfos&&Object.keys(t.refineInfos).forEach(c=>{i+=t.refineInfos[c].addIds.length,s+=t.refineInfos[c].removeIds.length});let a=this._translations.featuresAdded,S=this._translations.featuresRemoved,d=this._translations.totalSelected;return[h`<calcite-list-item .label=${a.replace("{{n}}",i.toString())}></calcite-list-item>`,h`<calcite-list-item .label=${S.replace("{{n}}",s.toString())}></calcite-list-item>`,h`<calcite-list-item .label=${d.replace("{{n}}",e.toString())}></calcite-list-item>`]}_getTotal(e){let t=O(e);return Object.keys(t).reduce((i,s)=>{let a=t[s];return i+=a.ids.length,i},0)}async _selectFeatures(e){if(this.selectionLoadingChange.emit(!0),this._refineLayer){this._featuresCollection[this._refineLayer?.layer.id]=[];let t=await D(0,this._refineLayer?.layer,e,this._featuresCollection);this.selectionLoadingChange.emit(!1);let i=[];Object.keys(t).forEach(a=>{a===this._refineLayer?.layer.id&&(i=i.concat(t[a]))});let s=Array.isArray(i)?i.map(a=>a.attributes[a?.layer?.objectIdField]):[];this._refineSelectionSet?.undoStack&&await this._updateIds(s,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._bufferGraphicsLayer&&this._refineSelectionSet&&this._refineSelectionSet.distance>0&&(await new Promise(a=>setTimeout(a,1e3)),this._bufferGraphicsLayer.removeAll()),this.geometries=[],this._drawTools.value&&this._drawTools.value.clear()}}async _highlightFeatures(){let e=this._pnContextConsumer.value;e.removeHandles(),e.highlightHandles=await V(this.selectionSets)}async _updateIds(e,t,i,s){let a=!1,S=this._refineSelectionSet?.refineInfos,d=s.layer.id,c={};c[d]={addIds:[],removeIds:[],layerView:s};let n=S&&Object.keys(S).indexOf(d)>-1?S[d]:c[d];if(t===r.ADD)n.addIds=[...new Set([...e,...n.addIds])],n.addIds.length>0&&i.push({ids:e,mode:t,layerView:s}),n.removeIds.length>0&&(n.removeIds=n.removeIds.filter(u=>e.indexOf(u)<0));else{let u=this.selectionSets.reduce((o,l)=>(e.forEach(p=>{l.workflowType!==f.REFINE?l.selectedIds.indexOf(p)>-1&&o.push(p):Object.keys(l.refineInfos).some(A=>{let g=l.refineInfos[A];return g.layerView.layer.id===s.layer.id&&g.addIds.indexOf(p)>-1?(o.push(p),!0):!1})}),o),[]);n.removeIds=[...new Set([...u,...n.removeIds])],n.addIds=n.addIds.filter(o=>u.indexOf(o)<0),n.removeIds.length>0&&i.push({ids:u,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce((o,l)=>(l.workflowType!==f.REFINE&&l.layerView.layer.id===s.layer.id?(l.selectedIds=l.selectedIds.filter(p=>n.removeIds.indexOf(p)<0),l.selectedIds.length>0?o.push(l):a=!0):o.push(l),o),[])}this._refineSelectionSet&&(this._refineSelectionSet.refineInfos[d]=n),this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}};E("refine-selection",w);export{w as RefineSelection};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import{a as ge}from"./G4JVAMYO.js";import"./56RMHUL3.js";import"./DVB6GNMC.js";import{b as de}from"./CY5N72KD.js";import{D as O,E as pe,G as ue,I as q,h as ie,i as b,k as ae,l as Z,o as le,t as oe,u as ce,v as he}from"./VYZBZ6Y7.js";import"./GTPA67XZ.js";var R=class extends he{constructor(e){if(super(e),this.it=Z,e.type!==oe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Z||e==null)return this._t=void 0,this.it=e;if(e===ae)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let s=[e];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}};R.directiveName="unsafeHTML",R.resultType=1;var ke=ce(R);var Ee=ie`: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}`;var Pe="https://www.arcgis.com/sharing/rest/content/items/";async function Me(n){return await Be(n)}async function Be(n){let e=Pe+n+"?f=json";try{let s=await fetch(e,{method:"GET"});if(!s.ok)throw new Error(`HTTP error! Status: ${s.status}`);return await s.json()}catch(s){return{error:s.message}}}function G(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var S=G();function ye(n){S=n}var z={exec:()=>null};function p(n,e=""){let s=typeof n=="string"?n:n.source,r={replace:(t,a)=>{let i=typeof a=="string"?a:a.source;return i=i.replace(m.caret,"$1"),s=s.replace(t,i),r},getRegex:()=>new RegExp(s,e)};return r}var Qe=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),m={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")},De=/^(?:[ \t]*(?:\n|$))+/,Ne=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ze=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,C=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Oe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,X=/(?:[*+-]|\d{1,9}[.)])/,$e=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Se=p($e).replace(/bull/g,X).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(),je=p($e).replace(/bull/g,X).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(),W=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Fe=/^[^\n]+/,J=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,He=p(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",J).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ue=p(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,X).getRegex(),B="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",K=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ge=p("^ {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",K).replace("tag",B).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_e=p(W).replace("hr",C).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",B).getRegex(),Xe=p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_e).getRegex(),V={blockquote:Xe,code:Ne,def:He,fences:Ze,heading:Oe,hr:C,html:Ge,lheading:Se,list:Ue,newline:De,paragraph:_e,table:z,text:Fe},fe=p("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",C).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",B).getRegex(),We={...V,lheading:je,table:fe,paragraph:p(W).replace("hr",C).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",fe).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",B).getRegex()},Je={...V,html:p(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",K).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:z,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:p(W).replace("hr",C).replace("heading",` *#{1,6} *[^
|
|
5
|
+
]`).replace("lheading",Se).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ke=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Ve=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Re=/^( {2,}|\\)\n(?!\s*$)/,Ye=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Q=/[\p{P}\p{S}]/u,Y=/[\s\p{P}\p{S}]/u,Te=/[^\s\p{P}\p{S}]/u,et=p(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Y).getRegex(),Ie=/(?!~)[\p{P}\p{S}]/u,tt=/(?!~)[\s\p{P}\p{S}]/u,st=/(?:[^\s\p{P}\p{S}]|~)/u,nt=p(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Qe?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Ae=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,rt=p(Ae,"u").replace(/punct/g,Q).getRegex(),it=p(Ae,"u").replace(/punct/g,Ie).getRegex(),ze="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",at=p(ze,"gu").replace(/notPunctSpace/g,Te).replace(/punctSpace/g,Y).replace(/punct/g,Q).getRegex(),lt=p(ze,"gu").replace(/notPunctSpace/g,st).replace(/punctSpace/g,tt).replace(/punct/g,Ie).getRegex(),ot=p("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Te).replace(/punctSpace/g,Y).replace(/punct/g,Q).getRegex(),ct=p(/\\(punct)/,"gu").replace(/punct/g,Q).getRegex(),ht=p(/^<(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(),pt=p(K).replace("(?:-->|$)","-->").getRegex(),ut=p("^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",pt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),E=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,dt=p(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",E).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ce=p(/^!?\[(label)\]\[(ref)\]/).replace("label",E).replace("ref",J).getRegex(),qe=p(/^!?\[(ref)\](?:\[\])?/).replace("ref",J).getRegex(),gt=p("reflink|nolink(?!\\()","g").replace("reflink",Ce).replace("nolink",qe).getRegex(),be=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ee={_backpedal:z,anyPunctuation:ct,autolink:ht,blockSkip:nt,br:Re,code:Ve,del:z,emStrongLDelim:rt,emStrongRDelimAst:at,emStrongRDelimUnd:ot,escape:Ke,link:dt,nolink:qe,punctuation:et,reflink:Ce,reflinkSearch:gt,tag:ut,text:Ye,url:z},kt={...ee,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",E).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",E).getRegex()},j={...ee,emStrongRDelimAst:lt,emStrongLDelim:it,url:p(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",be).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:p(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",be).getRegex()},ft={...j,br:p(Re).replace("{2,}","*").getRegex(),text:p(j.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},L={normal:V,gfm:We,pedantic:Je},T={normal:ee,gfm:j,breaks:ft,pedantic:kt},bt={"&":"&","<":"<",">":">",'"':""","'":"'"},me=n=>bt[n];function y(n,e){if(e){if(m.escapeTest.test(n))return n.replace(m.escapeReplace,me)}else if(m.escapeTestNoEncode.test(n))return n.replace(m.escapeReplaceNoEncode,me);return n}function xe(n){try{n=encodeURI(n).replace(m.percentDecode,"%")}catch{return null}return n}function we(n,e){let s=n.replace(m.findPipe,(a,i,o)=>{let l=!1,h=i;for(;--h>=0&&o[h]==="\\";)l=!l;return l?"|":" |"}),r=s.split(m.splitPipe),t=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length<e;)r.push("");for(;t<r.length;t++)r[t]=r[t].trim().replace(m.slashPipe,"|");return r}function I(n,e,s){let r=n.length;if(r===0)return"";let t=0;for(;t<r&&n.charAt(r-t-1)===e;)t++;return n.slice(0,r-t)}function mt(n,e){if(n.indexOf(e[1])===-1)return-1;let s=0;for(let r=0;r<n.length;r++)if(n[r]==="\\")r++;else if(n[r]===e[0])s++;else if(n[r]===e[1]&&(s--,s<0))return r;return s>0?-2:-1}function ve(n,e,s,r,t){let a=e.href,i=e.title||null,o=n[1].replace(t.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:n[0].charAt(0)==="!"?"image":"link",raw:s,href:a,title:i,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,l}function xt(n,e,s){let r=n.match(s.other.indentCodeCompensation);if(r===null)return e;let t=r[1];return e.split(`
|
|
6
|
+
`).map(a=>{let i=a.match(s.other.beginningSpace);if(i===null)return a;let[o]=i;return o.length>=t.length?a.slice(t.length):a}).join(`
|
|
7
|
+
`)}var P=class{options;rules;lexer;constructor(n){this.options=n||S}space(n){let e=this.rules.block.newline.exec(n);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(n){let e=this.rules.block.code.exec(n);if(e){let s=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?s:I(s,`
|
|
8
|
+
`)}}}fences(n){let e=this.rules.block.fences.exec(n);if(e){let s=e[0],r=xt(s,e[3]||"",this.rules);return{type:"code",raw:s,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(n){let e=this.rules.block.heading.exec(n);if(e){let s=e[2].trim();if(this.rules.other.endingHash.test(s)){let r=I(s,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(s=r.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(n){let e=this.rules.block.hr.exec(n);if(e)return{type:"hr",raw:I(e[0],`
|
|
9
|
+
`)}}blockquote(n){let e=this.rules.block.blockquote.exec(n);if(e){let s=I(e[0],`
|
|
10
|
+
`).split(`
|
|
11
|
+
`),r="",t="",a=[];for(;s.length>0;){let i=!1,o=[],l;for(l=0;l<s.length;l++)if(this.rules.other.blockquoteStart.test(s[l]))o.push(s[l]),i=!0;else if(!i)o.push(s[l]);else break;s=s.slice(l);let h=o.join(`
|
|
12
|
+
`),c=h.replace(this.rules.other.blockquoteSetextReplace,`
|
|
13
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
|
|
14
|
+
${h}`:h,t=t?`${t}
|
|
15
|
+
${c}`:c;let g=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,a,!0),this.lexer.state.top=g,s.length===0)break;let u=a.at(-1);if(u?.type==="code")break;if(u?.type==="blockquote"){let f=u,k=f.raw+`
|
|
16
|
+
`+s.join(`
|
|
17
|
+
`),x=this.blockquote(k);a[a.length-1]=x,r=r.substring(0,r.length-f.raw.length)+x.raw,t=t.substring(0,t.length-f.text.length)+x.text;break}else if(u?.type==="list"){let f=u,k=f.raw+`
|
|
18
|
+
`+s.join(`
|
|
19
|
+
`),x=this.list(k);a[a.length-1]=x,r=r.substring(0,r.length-u.raw.length)+x.raw,t=t.substring(0,t.length-f.raw.length)+x.raw,s=k.substring(a.at(-1).raw.length).split(`
|
|
20
|
+
`);continue}}return{type:"blockquote",raw:r,tokens:a,text:t}}}list(n){let e=this.rules.block.list.exec(n);if(e){let s=e[1].trim(),r=s.length>1,t={type:"list",raw:"",ordered:r,start:r?+s.slice(0,-1):"",loose:!1,items:[]};s=r?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=r?s:"[*+-]");let a=this.rules.other.listItemRegex(s),i=!1;for(;n;){let l=!1,h="",c="";if(!(e=a.exec(n))||this.rules.block.hr.test(n))break;h=e[0],n=n.substring(h.length);let g=e[2].split(`
|
|
21
|
+
`,1)[0].replace(this.rules.other.listReplaceTabs,D=>" ".repeat(3*D.length)),u=n.split(`
|
|
22
|
+
`,1)[0],f=!g.trim(),k=0;if(this.options.pedantic?(k=2,c=g.trimStart()):f?k=e[1].length+1:(k=e[2].search(this.rules.other.nonSpaceChar),k=k>4?1:k,c=g.slice(k),k+=e[1].length),f&&this.rules.other.blankLine.test(u)&&(h+=u+`
|
|
23
|
+
`,n=n.substring(u.length+1),l=!0),!l){let D=this.rules.other.nextBulletRegex(k),se=this.rules.other.hrRegex(k),ne=this.rules.other.fencesBeginRegex(k),re=this.rules.other.headingBeginRegex(k),Le=this.rules.other.htmlBeginRegex(k);for(;n;){let N=n.split(`
|
|
24
|
+
`,1)[0],_;if(u=N,this.options.pedantic?(u=u.replace(this.rules.other.listReplaceNesting," "),_=u):_=u.replace(this.rules.other.tabCharGlobal," "),ne.test(u)||re.test(u)||Le.test(u)||D.test(u)||se.test(u))break;if(_.search(this.rules.other.nonSpaceChar)>=k||!u.trim())c+=`
|
|
25
|
+
`+_.slice(k);else{if(f||g.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||ne.test(g)||re.test(g)||se.test(g))break;c+=`
|
|
26
|
+
`+u}!f&&!u.trim()&&(f=!0),h+=N+`
|
|
27
|
+
`,n=n.substring(N.length+1),g=_.slice(k)}}t.loose||(i?t.loose=!0:this.rules.other.doubleBlankLine.test(h)&&(i=!0));let x=null;this.options.gfm&&(x=this.rules.other.listIsTask.exec(c),x&&(c=c.replace(this.rules.other.listReplaceTask,""))),t.items.push({type:"list_item",raw:h,task:!!x,loose:!1,text:c,tokens:[]}),t.raw+=h}let o=t.items.at(-1);if(o)o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd();else return;t.raw=t.raw.trimEnd();for(let l of t.items){if(this.lexer.state.top=!1,l.tokens=this.lexer.blockTokens(l.text,[]),l.task){let h=this.rules.other.listTaskCheckbox.exec(l.raw);if(h){let c={type:"checkbox",raw:h[0]+" ",checked:h[0]!=="[ ]"};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)}}if(!t.loose){let h=l.tokens.filter(g=>g.type==="space"),c=h.length>0&&h.some(g=>this.rules.other.anyLine.test(g.raw));t.loose=c}}if(t.loose)for(let l of t.items){l.loose=!0;for(let h of l.tokens)h.type==="text"&&(h.type="paragraph")}return t}}html(n){let e=this.rules.block.html.exec(n);if(e)return{type:"html",block:!0,raw:e[0],pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:e[0]}}def(n){let e=this.rules.block.def.exec(n);if(e){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];return{type:"def",tag:s,raw:e[0],href:r,title:t}}}table(n){let e=this.rules.block.table.exec(n);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let s=we(e[1]),r=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),t=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
28
|
+
`):[],a={type:"table",raw:e[0],header:[],align:[],rows:[]};if(s.length===r.length){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);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]});for(let i of t)a.rows.push(we(i,a.header.length).map((o,l)=>({text:o,tokens:this.lexer.inline(o),header:!1,align:a.align[l]})));return a}}lheading(n){let e=this.rules.block.lheading.exec(n);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(n){let e=this.rules.block.paragraph.exec(n);if(e){let s=e[1].charAt(e[1].length-1)===`
|
|
29
|
+
`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:s,tokens:this.lexer.inline(s)}}}text(n){let e=this.rules.block.text.exec(n);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(n){let e=this.rules.inline.escape.exec(n);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(n){let e=this.rules.inline.tag.exec(n);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]}}link(n){let e=this.rules.inline.link.exec(n);if(e){let s=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(s)){if(!this.rules.other.endAngleBracket.test(s))return;let a=I(s.slice(0,-1),"\\");if((s.length-a.length)%2===0)return}else{let a=mt(e[2],"()");if(a===-2)return;if(a>-1){let i=(e[0].indexOf("!")===0?5:4)+e[1].length+a;e[2]=e[2].substring(0,a),e[0]=e[0].substring(0,i).trim(),e[3]=""}}let r=e[2],t="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(r);a&&(r=a[1],t=a[3])}else t=e[3]?e[3].slice(1,-1):"";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)),ve(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)}}reflink(n,e){let s;if((s=this.rules.inline.reflink.exec(n))||(s=this.rules.inline.nolink.exec(n))){let r=(s[2]||s[1]).replace(this.rules.other.multipleSpaceGlobal," "),t=e[r.toLowerCase()];if(!t){let a=s[0].charAt(0);return{type:"text",raw:a,text:a}}return ve(s,t,s[0],this.lexer,this.rules)}}emStrong(n,e,s=""){let r=this.rules.inline.emStrongLDelim.exec(n);if(!(!r||r[3]&&s.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!s||this.rules.inline.punctuation.exec(s))){let t=[...r[0]].length-1,a,i,o=t,l=0,h=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(h.lastIndex=0,e=e.slice(-1*n.length+t);(r=h.exec(e))!=null;){if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!a)continue;if(i=[...a].length,r[3]||r[4]){o+=i;continue}else if((r[5]||r[6])&&t%3&&!((t+i)%3)){l+=i;continue}if(o-=i,o>0)continue;i=Math.min(i,i+o+l);let c=[...r[0]][0].length,g=n.slice(0,t+r.index+c+i);if(Math.min(t,i)%2){let f=g.slice(1,-1);return{type:"em",raw:g,text:f,tokens:this.lexer.inlineTokens(f)}}let u=g.slice(2,-2);return{type:"strong",raw:g,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(n){let e=this.rules.inline.code.exec(n);if(e){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);return r&&t&&(s=s.substring(1,s.length-1)),{type:"codespan",raw:e[0],text:s}}}br(n){let e=this.rules.inline.br.exec(n);if(e)return{type:"br",raw:e[0]}}del(n){let e=this.rules.inline.del.exec(n);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(n){let e=this.rules.inline.autolink.exec(n);if(e){let s,r;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}]}}}url(n){let e;if(e=this.rules.inline.url.exec(n)){let s,r;if(e[2]==="@")s=e[0],r="mailto:"+s;else{let t;do t=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(t!==e[0]);s=e[0],e[1]==="www."?r="http://"+e[0]:r=e[0]}return{type:"link",raw:e[0],text:s,href:r,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(n){let e=this.rules.inline.text.exec(n);if(e){let s=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:s}}}},w=class F{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||S,this.options.tokenizer=this.options.tokenizer||new P,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let s={other:m,block:L.normal,inline:T.normal};this.options.pedantic?(s.block=L.pedantic,s.inline=T.pedantic):this.options.gfm&&(s.block=L.gfm,this.options.breaks?s.inline=T.breaks:s.inline=T.gfm),this.tokenizer.rules=s}static get rules(){return{block:L,inline:T}}static lex(e,s){return new F(s).lex(e)}static lexInline(e,s){return new F(s).inlineTokens(e)}lex(e){e=e.replace(m.carriageReturn,`
|
|
30
|
+
`),this.blockTokens(e,this.tokens);for(let s=0;s<this.inlineQueue.length;s++){let r=this.inlineQueue[s];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,s=[],r=!1){for(this.options.pedantic&&(e=e.replace(m.tabCharGlobal," ").replace(m.spaceLine,""));e;){let t;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;if(t=this.tokenizer.space(e)){e=e.substring(t.raw.length);let i=s.at(-1);t.raw.length===1&&i!==void 0?i.raw+=`
|
|
31
|
+
`:s.push(t);continue}if(t=this.tokenizer.code(e)){e=e.substring(t.raw.length);let i=s.at(-1);i?.type==="paragraph"||i?.type==="text"?(i.raw+=(i.raw.endsWith(`
|
|
32
|
+
`)?"":`
|
|
33
|
+
`)+t.raw,i.text+=`
|
|
34
|
+
`+t.text,this.inlineQueue.at(-1).src=i.text):s.push(t);continue}if(t=this.tokenizer.fences(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.heading(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.hr(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.blockquote(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.list(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.html(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.def(e)){e=e.substring(t.raw.length);let i=s.at(-1);i?.type==="paragraph"||i?.type==="text"?(i.raw+=(i.raw.endsWith(`
|
|
35
|
+
`)?"":`
|
|
36
|
+
`)+t.raw,i.text+=`
|
|
37
|
+
`+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));continue}if(t=this.tokenizer.table(e)){e=e.substring(t.raw.length),s.push(t);continue}if(t=this.tokenizer.lheading(e)){e=e.substring(t.raw.length),s.push(t);continue}let a=e;if(this.options.extensions?.startBlock){let i=1/0,o=e.slice(1),l;this.options.extensions.startBlock.forEach(h=>{l=h.call({lexer:this},o),typeof l=="number"&&l>=0&&(i=Math.min(i,l))}),i<1/0&&i>=0&&(a=e.substring(0,i+1))}if(this.state.top&&(t=this.tokenizer.paragraph(a))){let i=s.at(-1);r&&i?.type==="paragraph"?(i.raw+=(i.raw.endsWith(`
|
|
38
|
+
`)?"":`
|
|
39
|
+
`)+t.raw,i.text+=`
|
|
40
|
+
`+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);continue}if(t=this.tokenizer.text(e)){e=e.substring(t.raw.length);let i=s.at(-1);i?.type==="text"?(i.raw+=(i.raw.endsWith(`
|
|
41
|
+
`)?"":`
|
|
42
|
+
`)+t.raw,i.text+=`
|
|
43
|
+
`+t.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):s.push(t);continue}if(e){let i="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(i);break}else throw new Error(i)}}return this.state.top=!0,s}inline(e,s=[]){return this.inlineQueue.push({src:e,tokens:s}),s}inlineTokens(e,s=[]){let r=e,t=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);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))}for(;(t=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,t.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let a;for(;(t=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)a=t[2]?t[2].length:0,r=r.slice(0,t.index+a)+"["+"a".repeat(t[0].length-a-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let i=!1,o="";for(;e;){i||(o=""),i=!1;let l;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;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);let c=s.at(-1);l.type==="text"&&c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):s.push(l);continue}if(l=this.tokenizer.emStrong(e,r,o)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),s.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),s.push(l);continue}let h=e;if(this.options.extensions?.startInline){let c=1/0,g=e.slice(1),u;this.options.extensions.startInline.forEach(f=>{u=f.call({lexer:this},g),typeof u=="number"&&u>=0&&(c=Math.min(c,u))}),c<1/0&&c>=0&&(h=e.substring(0,c+1))}if(l=this.tokenizer.inlineText(h)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(o=l.raw.slice(-1)),i=!0;let c=s.at(-1);c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):s.push(l);continue}if(e){let c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return s}},M=class{options;parser;constructor(n){this.options=n||S}space(n){return""}code({text:n,lang:e,escaped:s}){let r=(e||"").match(m.notSpaceStart)?.[0],t=n.replace(m.endingNewline,"")+`
|
|
44
|
+
`;return r?'<pre><code class="language-'+y(r)+'">'+(s?t:y(t,!0))+`</code></pre>
|
|
45
|
+
`:"<pre><code>"+(s?t:y(t,!0))+`</code></pre>
|
|
46
|
+
`}blockquote({tokens:n}){return`<blockquote>
|
|
47
|
+
${this.parser.parse(n)}</blockquote>
|
|
48
|
+
`}html({text:n}){return n}def(n){return""}heading({tokens:n,depth:e}){return`<h${e}>${this.parser.parseInline(n)}</h${e}>
|
|
49
|
+
`}hr(n){return`<hr>
|
|
50
|
+
`}list(n){let e=n.ordered,s=n.start,r="";for(let i=0;i<n.items.length;i++){let o=n.items[i];r+=this.listitem(o)}let t=e?"ol":"ul",a=e&&s!==1?' start="'+s+'"':"";return"<"+t+a+`>
|
|
51
|
+
`+r+"</"+t+`>
|
|
52
|
+
`}listitem(n){return`<li>${this.parser.parse(n.tokens)}</li>
|
|
53
|
+
`}checkbox({checked:n}){return"<input "+(n?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:n}){return`<p>${this.parser.parseInline(n)}</p>
|
|
54
|
+
`}table(n){let e="",s="";for(let t=0;t<n.header.length;t++)s+=this.tablecell(n.header[t]);e+=this.tablerow({text:s});let r="";for(let t=0;t<n.rows.length;t++){let a=n.rows[t];s="";for(let i=0;i<a.length;i++)s+=this.tablecell(a[i]);r+=this.tablerow({text:s})}return r&&(r=`<tbody>${r}</tbody>`),`<table>
|
|
55
|
+
<thead>
|
|
56
|
+
`+e+`</thead>
|
|
57
|
+
`+r+`</table>
|
|
58
|
+
`}tablerow({text:n}){return`<tr>
|
|
59
|
+
${n}</tr>
|
|
60
|
+
`}tablecell(n){let e=this.parser.parseInline(n.tokens),s=n.header?"th":"td";return(n.align?`<${s} align="${n.align}">`:`<${s}>`)+e+`</${s}>
|
|
61
|
+
`}strong({tokens:n}){return`<strong>${this.parser.parseInline(n)}</strong>`}em({tokens:n}){return`<em>${this.parser.parseInline(n)}</em>`}codespan({text:n}){return`<code>${y(n,!0)}</code>`}br(n){return"<br>"}del({tokens:n}){return`<del>${this.parser.parseInline(n)}</del>`}link({href:n,title:e,tokens:s}){let r=this.parser.parseInline(s),t=xe(n);if(t===null)return r;n=t;let a='<a href="'+n+'"';return e&&(a+=' title="'+y(e)+'"'),a+=">"+r+"</a>",a}image({href:n,title:e,text:s,tokens:r}){r&&(s=this.parser.parseInline(r,this.parser.textRenderer));let t=xe(n);if(t===null)return y(s);n=t;let a=`<img src="${n}" alt="${s}"`;return e&&(a+=` title="${y(e)}"`),a+=">",a}text(n){return"tokens"in n&&n.tokens?this.parser.parseInline(n.tokens):"escaped"in n&&n.escaped?n.text:y(n.text)}},te=class{strong({text:n}){return n}em({text:n}){return n}codespan({text:n}){return n}del({text:n}){return n}html({text:n}){return n}text({text:n}){return n}link({text:n}){return""+n}image({text:n}){return""+n}br(){return""}checkbox({raw:n}){return n}},v=class H{options;renderer;textRenderer;constructor(e){this.options=e||S,this.options.renderer=this.options.renderer||new M,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new te}static parse(e,s){return new H(s).parse(e)}static parseInline(e,s){return new H(s).parseInline(e)}parse(e){let s="";for(let r=0;r<e.length;r++){let t=e[r];if(this.options.extensions?.renderers?.[t.type]){let i=t,o=this.options.extensions.renderers[i.type].call({parser:this},i);if(o!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(i.type)){s+=o||"";continue}}let a=t;switch(a.type){case"space":{s+=this.renderer.space(a);break}case"hr":{s+=this.renderer.hr(a);break}case"heading":{s+=this.renderer.heading(a);break}case"code":{s+=this.renderer.code(a);break}case"table":{s+=this.renderer.table(a);break}case"blockquote":{s+=this.renderer.blockquote(a);break}case"list":{s+=this.renderer.list(a);break}case"checkbox":{s+=this.renderer.checkbox(a);break}case"html":{s+=this.renderer.html(a);break}case"def":{s+=this.renderer.def(a);break}case"paragraph":{s+=this.renderer.paragraph(a);break}case"text":{s+=this.renderer.text(a);break}default:{let i='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(i),"";throw new Error(i)}}}return s}parseInline(e,s=this.renderer){let r="";for(let t=0;t<e.length;t++){let a=e[t];if(this.options.extensions?.renderers?.[a.type]){let o=this.options.extensions.renderers[a.type].call({parser:this},a);if(o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){r+=o||"";continue}}let i=a;switch(i.type){case"escape":{r+=s.text(i);break}case"html":{r+=s.html(i);break}case"link":{r+=s.link(i);break}case"image":{r+=s.image(i);break}case"checkbox":{r+=s.checkbox(i);break}case"strong":{r+=s.strong(i);break}case"em":{r+=s.em(i);break}case"codespan":{r+=s.codespan(i);break}case"br":{r+=s.br(i);break}case"del":{r+=s.del(i);break}case"text":{r+=s.text(i);break}default:{let o='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return r}},A=class{options;block;constructor(n){this.options=n||S}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(n){return n}postprocess(n){return n}processAllTokens(n){return n}emStrongMask(n){return n}provideLexer(){return this.block?w.lex:w.lexInline}provideParser(){return this.block?v.parse:v.parseInline}},wt=class{defaults=G();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=v;Renderer=M;TextRenderer=te;Lexer=w;Tokenizer=P;Hooks=A;constructor(...n){this.use(...n)}walkTokens(n,e){let s=[];for(let r of n)switch(s=s.concat(e.call(this,r)),r.type){case"table":{let t=r;for(let a of t.header)s=s.concat(this.walkTokens(a.tokens,e));for(let a of t.rows)for(let i of a)s=s.concat(this.walkTokens(i.tokens,e));break}case"list":{let t=r;s=s.concat(this.walkTokens(t.items,e));break}default:{let t=r;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(a=>{let i=t[a].flat(1/0);s=s.concat(this.walkTokens(i,e))}):t.tokens&&(s=s.concat(this.walkTokens(t.tokens,e)))}}return s}use(...n){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(s=>{let r={...s};if(r.async=this.defaults.async||r.async||!1,s.extensions&&(s.extensions.forEach(t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){let a=e.renderers[t.name];a?e.renderers[t.name]=function(...i){let o=t.renderer.apply(this,i);return o===!1&&(o=a.apply(this,i)),o}:e.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||t.level!=="block"&&t.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let a=e[t.level];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]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),r.extensions=e),s.renderer){let t=this.defaults.renderer||new M(this.defaults);for(let a in s.renderer){if(!(a in t))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;let i=a,o=s.renderer[i],l=t[i];t[i]=(...h)=>{let c=o.apply(t,h);return c===!1&&(c=l.apply(t,h)),c||""}}r.renderer=t}if(s.tokenizer){let t=this.defaults.tokenizer||new P(this.defaults);for(let a in s.tokenizer){if(!(a in t))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;let i=a,o=s.tokenizer[i],l=t[i];t[i]=(...h)=>{let c=o.apply(t,h);return c===!1&&(c=l.apply(t,h)),c}}r.tokenizer=t}if(s.hooks){let t=this.defaults.hooks||new A;for(let a in s.hooks){if(!(a in t))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;let i=a,o=s.hooks[i],l=t[i];A.passThroughHooks.has(a)?t[i]=h=>{if(this.defaults.async&&A.passThroughHooksRespectAsync.has(a))return(async()=>{let g=await o.call(t,h);return l.call(t,g)})();let c=o.call(t,h);return l.call(t,c)}:t[i]=(...h)=>{if(this.defaults.async)return(async()=>{let g=await o.apply(t,h);return g===!1&&(g=await l.apply(t,h)),g})();let c=o.apply(t,h);return c===!1&&(c=l.apply(t,h)),c}}r.hooks=t}if(s.walkTokens){let t=this.defaults.walkTokens,a=s.walkTokens;r.walkTokens=function(i){let o=[];return o.push(a.call(this,i)),t&&(o=o.concat(t.call(this,i))),o}}this.defaults={...this.defaults,...r}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,e){return w.lex(n,e??this.defaults)}parser(n,e){return v.parse(n,e??this.defaults)}parseMarkdown(n){return(e,s)=>{let r={...s},t={...this.defaults,...r},a=this.onError(!!t.silent,!!t.async);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."));if(typeof e>"u"||e===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(t.hooks&&(t.hooks.options=t,t.hooks.block=n),t.async)return(async()=>{let i=t.hooks?await t.hooks.preprocess(e):e,o=await(t.hooks?await t.hooks.provideLexer():n?w.lex:w.lexInline)(i,t),l=t.hooks?await t.hooks.processAllTokens(o):o;t.walkTokens&&await Promise.all(this.walkTokens(l,t.walkTokens));let h=await(t.hooks?await t.hooks.provideParser():n?v.parse:v.parseInline)(l,t);return t.hooks?await t.hooks.postprocess(h):h})().catch(a);try{t.hooks&&(e=t.hooks.preprocess(e));let i=(t.hooks?t.hooks.provideLexer():n?w.lex:w.lexInline)(e,t);t.hooks&&(i=t.hooks.processAllTokens(i)),t.walkTokens&&this.walkTokens(i,t.walkTokens);let o=(t.hooks?t.hooks.provideParser():n?v.parse:v.parseInline)(i,t);return t.hooks&&(o=t.hooks.postprocess(o)),o}catch(i){return a(i)}}}onError(n,e){return s=>{if(s.message+=`
|
|
62
|
+
Please report this to https://github.com/markedjs/marked.`,n){let r="<p>An error occurred:</p><pre>"+y(s.message+"",!0)+"</pre>";return e?Promise.resolve(r):r}if(e)return Promise.reject(s);throw s}}},$=new wt;function d(n,e){return $.parse(n,e)}d.options=d.setOptions=function(n){return $.setOptions(n),d.defaults=$.defaults,ye(d.defaults),d};d.getDefaults=G;d.defaults=S;d.use=function(...n){return $.use(...n),d.defaults=$.defaults,ye(d.defaults),d};d.walkTokens=function(n,e){return $.walkTokens(n,e)};d.parseInline=$.parseInline;d.Parser=v;d.parser=v.parse;d.Renderer=M;d.TextRenderer=te;d.Lexer=w;d.lexer=w.lex;d.Tokenizer=P;d.Hooks=A;d.parse=d;d.options;d.setOptions;d.use;d.walkTokens;d.parseInline;v.parse;w.lex;var U=class extends pe{constructor(){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={conversationId:null,inquiryId:null,ackSequenceNumber:null},this._isLoading=!1,this._isLoadingText="",this.messages=[],this._translations=ge({name:"arcgis-solutions-assistant",blocking:!0}),this.closeAssistant=le(),this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setMessageContainerRef=e=>{this._chatContainer=e},this._setInputRef=e=>{this._inputRef=e,this._inputRef.addEventListener("keydown",s=>{s.key==="Enter"&&!s.shiftKey&&(s.preventDefault(),this.handleSendMessage())}),setTimeout(()=>{this._inputRef?.focus()},100)},this._submitQuestion=e=>{this._inputRef&&(this._inputRef.value=e,this.handleSendMessage())},this.listenOn(window,"submitQuestion",e=>{this._submitQuestion(e.detail)})}static{this.properties={serverRoot:1,solutionAIurl:1,docAIurl:1,token:1,open:5,conversationStore:16,_isLoading:16,_isLoadingText:16,messages:16,_translations:16}}static{this.styles=Ee}async handleSendMessage(){if(!this._inputRef?.value.trim())return;this._isLoading=!0;let e=this._inputRef.value.trim();this._inputRef.value="";let s={message:e,context:{debug:!1,kind:"SolutionRequest"}};if(this.conversationStore.conversationId!==null){if(s.conversationId=this.conversationStore.conversationId,this.token){let r={author:"human",conversationId:this.conversationStore.conversationId?this.conversationStore.conversationId:"",message:e,render:this._renderSimpleTextMessage(e,"human","","Other")};this.messages=[...this.messages,r];let t=await this.requestAIServer(s,this.token,this.solutionAIurl);this.loopRequest(t,this.token,this.solutionAIurl)}}else if(this.token){let r={author:"human",message:e,render:this._renderSimpleTextMessage(e,"human","","Other")};this.messages=[...this.messages,r];let t=await this.requestAIServer(s,this.token,this.solutionAIurl);this.conversationStore.conversationId=t.conversationId,this.conversationStore.inquiryId=t.inquiryId,this.conversationStore.ackSequenceNumber=t.sequenceNumber,this.loopRequest(t,this.token,this.solutionAIurl)}}async loopRequest(e,s,r){let t=e;for(this._isLoading=!0;t.hasMore;){let a={conversationId:t.conversationId,ackSequenceNumber:t.sequenceNumber,inquiryId:t.inquiryId};if(t=await this.requestAIServer(a,s,r),t.context)if(this.conversationStore.context=t.context,t.context.intent)switch(t.context.intent){case"Solution question":this.messages.push({author:"ai",conversationId:t.conversationId,intent:"Solution question",message:t.message??""});let i={message:t.message,conversationId:a.conversationId,context:{kind:"DocAIAssistantRequest",filters:{products:"ArcGIS Solutions"}}};t=await this.requestAIServer(i,s,this.docAIurl);break;case"Recommend solution":if(t.context.results&&t.context.results?.length>0){let o={author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Recommend solution",render:this._renderSuggestedSolutions(t.message??"",t.context.results,t.conversationId,"Recommend solution")};this.messages.push(o)}break;default:this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Other",render:this._renderSimpleTextMessage(t.message??"","ai",t.conversationId,"Other")});break}else if(t.context.results){for(let i of t.context.results)if(i.reply!==""){this._isLoadingText="";let o=await Promise.resolve(d(i.reply));this.messages.push({message:o,author:"ai",conversationId:t.conversationId,intent:"Solution question",render:this._renderDocAssistantResults(o,i.reply,i.ref,i.followupQuestions,t.conversationId,"Solution question")})}}else{t.context.kind&&t.context.kind.toLowerCase()==="ArcGISErrorAsContext".toLowerCase()?this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Error",render:this._renderSimpleTextMessage(this._translations.genericErrorMessage,"ai",t.conversationId,"Error")}):this.messages.push({author:"ai",conversationId:t.conversationId,message:t.message??"",intent:"Other",render:this._renderSimpleTextMessage(t.message??"","ai",t.conversationId,"Error")});break}}this._isLoading=!1}async requestAIServer(e,s,r){try{let t=await(await fetch(r,{method:"POST",headers:{"Content-Type":"application/json",token:s},body:JSON.stringify(e)})).json();if(t)return t;throw new Error("No data returned")}catch(t){throw new Error(`Request failed: ${t}`)}}resetChat(){let e=this.messages[this.messages.length-1];if(e.author!=="system"&&e.conversationId!=="-1"){this._resetConversation();let s={author:"system",conversationId:"-1",message:this._translations.newConversationStarted,render:this._renderSimpleTextMessage(this._translations.newConversationStarted,"system","","Other","speech-bubble-plus")};this.messages=[...this.messages,s],this._inputRef&&(this._inputRef.value="")}}willUpdate(e){this.messages.length===0&&this._translations.defaultStartUpMessage&&(this.messages=[{author:"ai",conversationId:"",message:this._translations.defaultStartUpMessage,render:this._renderSimpleTextMessage(this._translations.defaultStartUpMessage,"ai","","Other")}])}updated(e){(e.size||this._isLoading)&&this._scrollToBottom()}_renderFeedback(e,s,r,t){return b`<div><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-up label="position feedback" kind=neutral @click=${()=>{this._sendFeedback(e,s,"Good",r,t)}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-down label="position feedback" kind=neutral @click=${()=>{this._sendFeedback(e,s,"Bad",r,t)}}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=copy label="position feedback" kind=neutral @click=${a=>{this._copyResponseToClipboard(e,a)}}></calcite-button></div>`}_renderSolutionQuestionReferences(e){return e.map(s=>b`<div class="message-content-pad"><a href=${s.url??q} target=_blank>${s.title}</a></div>`)}_renderSolutionQuestionFollowup(e){return e.map(s=>b`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${s} @click=${()=>{this._submitFollowupQuestion(s)}}>${s}</calcite-chip>`)}_renderSolutionsQuestionTable(e,s,r){let t=this._renderSolutionQuestionReferences(s),a=this._renderSolutionQuestionFollowup(r);return b`<div><div slot=description class="message-content">${ke(e)}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${i=>{let o=i.currentTarget.parentElement?.nextElementSibling;o.classList.toggle("collapsed"),i.currentTarget.setAttribute("icon-end",o.classList.contains("collapsed")?"chevron-down":"chevron-up")}}>${`${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>`}_renderSolutionCard(e,s){return b`<a class="solution-card" id=${s??q} @click=${()=>{this._emitItemIdFromAI(s)}}>${b`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail??q} 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>`}_renderExistingSolutionsTable(e,s){let r=s.map(t=>{let a=t.thumbnail.match(/\/items\/([a-f0-9]+)\//);return a?this._renderSolutionCard(t,a[1]):null}).filter(t=>t!==null);return b`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${r}</div></div>`}_renderSimpleTextMessage(e,s,r,t,a){let i=this.messages.length>=2?this._getMostRecentQuestion():"",o=typeof i=="string"?"":i?.message??"";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=${ue(s==="human"?"user-message":"system-message")}><div class="message-content">${e}${s==="ai"&&r!==""&&this._renderFeedback(e,o,r,t)||""}</div></calcite-card>`}_renderDocAssistantResults(e,s,r,t,a,i){let o=this._getMostRecentQuestion();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>`}_renderSuggestedSolutions(e,s,r,t){let a=this._getMostRecentQuestion(),i=s.map(o=>`- ${o.title}`).join(`
|
|
63
|
+
`);return b`<calcite-card class="system-message"><div class="message-content">${this._renderExistingSolutionsTable(e,s)}${this._renderFeedback(e+`
|
|
64
|
+
`+i.toString(),a?.message??"",r,t)}</div></calcite-card>`}render(){return b`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${()=>{this.closeAssistant.emit(!0),this.open=!1}}><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" ${O(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 ${O(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>`}_scrollToBottom(){this._chatContainer&&setTimeout(()=>{this._chatContainer&&(this._chatContainer.scrollTop=this._chatContainer.scrollHeight)},100)}_emitItemIdFromAI(e){this._querySolutions(e).then(s=>{let r=s.typeKeywords.filter(a=>a.includes("solutionid")),t=new CustomEvent("solutionIDFromAssistant",{detail:r.length>0?r[0]:e,bubbles:!0,composed:!0});window.dispatchEvent(t)})}_submitFollowupQuestion(e){let s=new CustomEvent("submitQuestion",{detail:e,bubbles:!0,composed:!0});window.dispatchEvent(s)}_getMostRecentQuestion(){return[...this.messages].reverse().find(e=>e.author==="human")||null}async _querySolutions(e){let s=await Me(e);if("error"in s)throw new Error(s.error);return s}_sendFeedback(e,s,r,t,a){let 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")}`;window.open(i,"_blank")}_copyResponseToClipboard(e,s){navigator.clipboard.writeText(e);let r=s.currentTarget;r.iconStart="check",setTimeout(()=>{r.iconStart="copy"},3e3)}};de("arcgis-solutions-assistant",U);export{U as ArcgisSolutionsAssistant};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
4
|
function a(t){let e=t;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://qaext.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://devext.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(e="https://www.arcgis.com"),e}export{a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e}from"./
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import{a as e}from"./SL2WOYUA.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e}from"./
|
|
3
|
+
v1.2.0-next.26 */
|
|
4
|
+
import{a as e}from"./SL2WOYUA.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
|