@esri/solutions-components 1.0.5 → 1.1.0-next.20250731
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/2BAYNM47.js +4 -0
- package/dist/cdn/{XK7SWBXE.js → 2EYV4IEN.js} +3 -3
- package/dist/cdn/{WCEUO2OS.js → 2GJB6LPB.js} +3 -3
- package/dist/cdn/{VXJY4QCS.js → 2GTBGQOU.js} +3 -3
- package/dist/cdn/{IFPYTV3R.js → 2GXV72MB.js} +2 -2
- package/dist/cdn/{OORGXTFY.js → 2H7BTHDT.js} +3 -3
- package/dist/cdn/{WZYGUEIV.js → 2HGA22GQ.js} +3 -3
- package/dist/cdn/{IREZCPC5.js → 2IUFUH3X.js} +3 -3
- package/dist/cdn/2JS7ZGBH.js +4 -0
- package/dist/cdn/{5K5LGI4X.js → 2KNQIZBY.js} +3 -3
- package/dist/cdn/{EJ7VKYZG.js → 2KTL7SDF.js} +3 -3
- package/dist/cdn/{XFANWHPY.js → 2MMYXU2V.js} +3 -3
- package/dist/cdn/{M3L66GKK.js → 2MXF6QYM.js} +4 -4
- package/dist/cdn/{UISRG6AV.js → 2VNDJQDM.js} +4 -4
- package/dist/cdn/{AHHA6SMZ.js → 36VPKEOS.js} +3 -3
- package/dist/cdn/{5LOTR4DW.js → 3BRZABO6.js} +3 -3
- package/dist/cdn/{WIVOL6CT.js → 3C7RF6EE.js} +2 -2
- package/dist/cdn/{ONL3NL26.js → 3CSOCHXH.js} +3 -3
- package/dist/cdn/{Q66CZJP6.js → 3I27Y3IK.js} +2 -2
- package/dist/cdn/{SH3RI2GK.js → 3IR5ZGJG.js} +3 -3
- package/dist/cdn/3VNPNVLC.js +25 -0
- package/dist/cdn/{QUCDVIOQ.js → 3YCVXZXV.js} +3 -3
- package/dist/cdn/{XU3KAISP.js → 426N4ARK.js} +2 -2
- package/dist/cdn/42JDQQWZ.js +4 -0
- package/dist/cdn/43XTD4IU.js +4 -0
- package/dist/cdn/{6N7ZWEZT.js → 44QRT6VW.js} +3 -3
- package/dist/cdn/473S2HEB.js +4 -0
- package/dist/cdn/4DN5TKSJ.js +4 -0
- package/dist/cdn/{EHUPQ5JP.js → 4FVROE4F.js} +3 -3
- package/dist/cdn/{QVLJY52I.js → 4OTSILUI.js} +3 -3
- package/dist/cdn/{4SF42JCK.js → 4PMO37VX.js} +4 -4
- package/dist/cdn/{36RPCHBW.js → 4RSWECR2.js} +4 -4
- package/dist/cdn/4SPV77R7.js +6 -0
- package/dist/cdn/4TIB4MUE.js +4 -0
- package/dist/cdn/4UBZI6H4.js +4 -0
- package/dist/cdn/{4527TPFQ.js → 4YPZC3SC.js} +2 -2
- package/dist/cdn/{TKDGIQNC.js → 52CFR4FY.js} +4 -4
- package/dist/cdn/{7NDRZHL6.js → 57GJVOPC.js} +3 -3
- package/dist/cdn/5BVTK7W7.js +294 -0
- package/dist/cdn/{7WZE34BF.js → 5CMVRFP2.js} +3 -3
- package/dist/cdn/{RWQELBMY.js → 5FRA4XTD.js} +3 -3
- package/dist/cdn/{HOTDMMJJ.js → 5JLZNB5T.js} +3 -3
- package/dist/cdn/5MCVEF6T.js +18 -0
- package/dist/cdn/5SPXP7OA.js +4 -0
- package/dist/cdn/{H4HFWY3H.js → 5ZCCNW3O.js} +3 -3
- package/dist/cdn/{GE2KFI4B.js → 643TMSPT.js} +3 -3
- package/dist/cdn/6A467XYI.js +4 -0
- package/dist/cdn/6EADJLFD.js +4 -0
- package/dist/cdn/{DSA7P4FN.js → 6KNAAPD7.js} +4 -4
- package/dist/cdn/{IVWP7URA.js → 6P3R6TWO.js} +3 -3
- package/dist/cdn/6PPTO6S3.js +18 -0
- package/dist/cdn/{RCDWSNVF.js → 6QCLIAW4.js} +3 -3
- package/dist/cdn/72AKOONQ.js +18 -0
- package/dist/cdn/72OOEYKH.js +18 -0
- package/dist/cdn/{RYQCNLW7.js → 74BIDOVU.js} +3 -3
- package/dist/cdn/{ODVL6BLS.js → 75RBPT4I.js} +3 -3
- package/dist/cdn/7EQTPI6S.js +18 -0
- package/dist/cdn/{N5MNRNS4.js → 7HYIF2AM.js} +3 -3
- package/dist/cdn/7ONRREX7.js +4 -0
- package/dist/cdn/7YOP5RPI.js +4 -0
- package/dist/cdn/{EV22N3KD.js → 7Z2ZZO4J.js} +3 -3
- package/dist/cdn/A2XGC2XD.js +4 -0
- package/dist/cdn/{IAHPQU5I.js → A4RGKVUV.js} +3 -3
- package/dist/cdn/{Z4FNCV4E.js → A5MPX75A.js} +3 -3
- package/dist/cdn/A5YDOTO7.js +8 -0
- package/dist/cdn/{RC3IVWI3.js → AAKWBZCL.js} +2 -2
- package/dist/cdn/{GJ2UG6YP.js → ADCQDBN4.js} +3 -3
- package/dist/cdn/{WQKEPPJH.js → ADW2XIW4.js} +2 -2
- package/dist/cdn/{MURI73WZ.js → AH2HQH4E.js} +3 -3
- package/dist/cdn/{SUSAZ65X.js → AK6ON7DB.js} +3 -3
- package/dist/cdn/AM2AI6MS.js +5 -0
- package/dist/cdn/{OTYGSW7W.js → AMGVTGKQ.js} +3 -3
- package/dist/cdn/AOCVFEIQ.js +4 -0
- package/dist/cdn/AOWA2AZQ.js +4 -0
- package/dist/cdn/APIMARV7.js +18 -0
- package/dist/cdn/AR3U6TSD.js +4 -0
- package/dist/cdn/ARFLHAGD.js +4 -0
- package/dist/cdn/ASBZNVPC.js +18 -0
- package/dist/cdn/{S5TXHJGZ.js → AVA5QVU2.js} +3 -3
- package/dist/cdn/AWQPMZLL.js +18 -0
- package/dist/cdn/AY7IK4RK.js +18 -0
- package/dist/cdn/B33KRB3L.js +4 -0
- package/dist/cdn/B7GPWN3T.js +4 -0
- package/dist/cdn/{UCI3QQAA.js → B7MFQJBB.js} +2 -2
- package/dist/cdn/{7ATYJT4O.js → BFSXMTKW.js} +3 -3
- package/dist/cdn/{NTJ65ON3.js → BG27OJBT.js} +3 -3
- package/dist/cdn/{Z3XBAPZC.js → BGIYWXGF.js} +2 -2
- package/dist/cdn/BOC3JHHJ.js +18 -0
- package/dist/cdn/BYJWVMEI.js +4 -0
- package/dist/cdn/{WBAN3UIC.js → BYZPDGIL.js} +3 -3
- package/dist/cdn/{7OEQCUDV.js → C7DUXXD3.js} +2 -2
- package/dist/cdn/{VOFDMTBC.js → C7L5TIYI.js} +3 -3
- package/dist/cdn/{JMMD7YBL.js → CA6EE6KQ.js} +3 -3
- package/dist/cdn/{34BPQSHF.js → CJKIUVFT.js} +3 -3
- package/dist/cdn/CUTWA2HF.js +4 -0
- package/dist/cdn/CY2MIOJN.js +4 -0
- package/dist/cdn/{M6GEH5RY.js → D35BLKR3.js} +3 -3
- package/dist/cdn/DC4UGQFD.js +4 -0
- package/dist/cdn/{IS4CHLDX.js → DCHRUUUX.js} +3 -3
- package/dist/cdn/DIBDPEA6.js +4 -0
- package/dist/cdn/DNWGIXXT.js +4 -0
- package/dist/cdn/{TVGUICDI.js → DP3S6KA3.js} +3 -3
- package/dist/cdn/{VIRNYXF5.js → DXJEOQCH.js} +3 -3
- package/dist/cdn/{3RLVYGV7.js → DZNTDZ24.js} +4 -4
- package/dist/cdn/E3NR4YOE.js +4 -0
- package/dist/cdn/{AC7K2P6S.js → EFUMGP3I.js} +3 -3
- package/dist/cdn/{G2PAP4HL.js → EP3R46LX.js} +4 -4
- package/dist/cdn/ERTZ6M46.js +4 -0
- package/dist/cdn/{U4LWP3KK.js → EU3Y2SAR.js} +2 -2
- package/dist/cdn/{G7LK4PDL.js → EUIE25QG.js} +3 -3
- package/dist/cdn/EXMV37QM.js +4 -0
- package/dist/cdn/EYQQR5HY.js +4 -0
- package/dist/cdn/EYVBQ4G4.js +4 -0
- package/dist/cdn/{CYHKUA3T.js → F3D65BRW.js} +3 -3
- package/dist/cdn/F6Y7C5KP.js +4 -0
- package/dist/cdn/{QQPQDFEM.js → FEQ4AT3P.js} +3 -3
- package/dist/cdn/{I3SHQQXU.js → FHDBHLB5.js} +3 -3
- package/dist/cdn/FHNTUSFH.js +4 -0
- package/dist/cdn/{WCVUN6XF.js → FS3XGDFG.js} +3 -3
- package/dist/cdn/FSPGUSSO.js +29 -0
- package/dist/cdn/FUKJHT5H.js +4 -0
- package/dist/cdn/{WNFUARBO.js → FWW6GXHG.js} +3 -3
- package/dist/cdn/FXFX5L3X.js +4 -0
- package/dist/cdn/GBDK7FHD.js +3 -0
- package/dist/cdn/{QZAU4Z6W.js → GF52MLTL.js} +3 -3
- package/dist/cdn/GLZTL7RA.js +4 -0
- package/dist/cdn/{S3AWAGTI.js → GVBOBWPJ.js} +3 -3
- package/dist/cdn/{OG4FHSPI.js → H272DO6V.js} +2 -2
- package/dist/cdn/{SBX54Z43.js → H3UGTCXB.js} +3 -3
- package/dist/cdn/{M4VZ4CMY.js → H5A32K7K.js} +3 -3
- package/dist/cdn/{33UPFZYZ.js → H5TWBIAR.js} +3 -3
- package/dist/cdn/HDQF6VWQ.js +4 -0
- package/dist/cdn/HETMWJIP.js +9 -0
- package/dist/cdn/{LG2N3IDQ.js → HIKKZ25D.js} +3 -3
- package/dist/cdn/HJB23WDQ.js +18 -0
- package/dist/cdn/{E4626BS2.js → HJO2CQWJ.js} +3 -3
- package/dist/cdn/HJYJB5W7.js +4 -0
- package/dist/cdn/{MK7N6OTA.js → HK4XTNBP.js} +2 -2
- package/dist/cdn/HKN3HPEK.js +4 -0
- package/dist/cdn/{W7Z3ORQY.js → HMOHKHAT.js} +3 -3
- package/dist/cdn/I57GNKUQ.js +4 -0
- package/dist/cdn/{JOWT5YJ4.js → I6WXPX3C.js} +3 -3
- package/dist/cdn/{5JHZFHQW.js → IF2ZKI6T.js} +3 -3
- package/dist/cdn/IH7ADVLR.js +4 -0
- package/dist/cdn/{YXHSDCRJ.js → ISALH4VC.js} +3 -3
- package/dist/cdn/{WZ764LLN.js → IZJLYME2.js} +2 -2
- package/dist/cdn/{4J5HYMPQ.js → JE2TWCAC.js} +4 -4
- package/dist/cdn/{TIUXVXYM.js → JEOSE5RW.js} +3 -3
- package/dist/cdn/{LUCYOE4G.js → JH4YZBYG.js} +3 -3
- package/dist/cdn/{HKKUMEH5.js → JJULCE5N.js} +2 -2
- package/dist/cdn/{ZLTHON4G.js → JKJSY7DJ.js} +3 -3
- package/dist/cdn/{FKCBARKI.js → JQ5ZHTF2.js} +3 -3
- package/dist/cdn/JSKKYZHM.js +18 -0
- package/dist/cdn/{PLTCACVO.js → JURDSMKY.js} +3 -3
- package/dist/cdn/{UR7ODANG.js → JWMNXRYC.js} +3 -3
- package/dist/cdn/K25LOYJZ.js +18 -0
- package/dist/cdn/{5WNLR3DS.js → K5BGQ3OZ.js} +4 -4
- package/dist/cdn/{GUN44VYU.js → K5MNQDI2.js} +3 -3
- package/dist/cdn/{JJJAHCRO.js → K5UZCUIP.js} +3 -3
- package/dist/cdn/{22F7LFMG.js → KBMAILOS.js} +3 -3
- package/dist/cdn/{MO5VIHBL.js → KCHTD25J.js} +3 -3
- package/dist/cdn/KDKEERTI.js +4 -0
- package/dist/cdn/KGAHJ54L.js +18 -0
- package/dist/cdn/{D2SOXDMW.js → KHDYOQUJ.js} +4 -4
- package/dist/cdn/{5JYWXCER.js → KPA6IPU7.js} +3 -3
- package/dist/cdn/{7OZSPB2F.js → KSIFYNKF.js} +4 -4
- package/dist/cdn/{76DZHGT4.js → KSJPYPQO.js} +3 -3
- package/dist/cdn/{CXOHKJLR.js → KT5WRAHK.js} +2 -2
- package/dist/cdn/{A4L4EUDH.js → KTXVM52W.js} +3 -3
- package/dist/cdn/{S6GQFWK7.js → KVFCBXED.js} +4 -4
- package/dist/cdn/{J252EEIH.js → KWAIKYS3.js} +3 -3
- package/dist/cdn/{TXB56MNF.js → KWLCMSMA.js} +3 -3
- package/dist/cdn/{5CGYAFLG.js → KX5WGRIQ.js} +3 -3
- package/dist/cdn/{3LJQBCLM.js → L3PU33PW.js} +4 -4
- package/dist/cdn/{UVRRN3AM.js → L6QFXG3S.js} +3 -3
- package/dist/cdn/LFYHIKU3.js +4 -0
- package/dist/cdn/{W7HZRPHM.js → LQQXXTMC.js} +3 -3
- package/dist/cdn/{AGGLKLN3.js → LRGKVD4T.js} +3 -3
- package/dist/cdn/{YEFAWRXP.js → MHXAIQAV.js} +3 -3
- package/dist/cdn/MIIMDMHL.js +4 -0
- package/dist/cdn/MO2JO46H.js +4 -0
- package/dist/cdn/{7244YR36.js → MSFLB63B.js} +3 -3
- package/dist/cdn/{PKKVL46F.js → N4LNMEDY.js} +3 -3
- package/dist/cdn/{WV2ZROZJ.js → N62UO6II.js} +3 -3
- package/dist/cdn/N6NAF62S.js +4 -0
- package/dist/cdn/{AYBHICHM.js → NBU35YHR.js} +4 -4
- package/dist/cdn/{N54CIKSY.js → NBZYKYQZ.js} +3 -3
- package/dist/cdn/NCLQJSMX.js +18 -0
- package/dist/cdn/{M35TRRGF.js → NEO6JGNW.js} +2 -2
- package/dist/cdn/{PGB7D5V5.js → NO3D7QT7.js} +3 -3
- package/dist/cdn/{ZV3QGDX6.js → NTOLQYQU.js} +3 -3
- package/dist/cdn/NYUDOFOD.js +4 -0
- package/dist/cdn/{GFTGPFHL.js → O7LMFSMD.js} +3 -3
- package/dist/cdn/{KQIW24JY.js → OB7VIGCH.js} +3 -3
- package/dist/cdn/{HM7EBFPG.js → OOZKB3ZN.js} +4 -4
- package/dist/cdn/{2QFMILDU.js → OQU4LYMF.js} +3 -3
- package/dist/cdn/OSUVDV6H.js +4 -0
- package/dist/cdn/{64ETTMNQ.js → PIB7ZZVG.js} +3 -3
- package/dist/cdn/PIKKLXM7.js +18 -0
- package/dist/cdn/{PNZFKJGE.js → PQTSGLNC.js} +3 -3
- package/dist/cdn/{GGBJCIO7.js → PQUXZAPF.js} +3 -3
- package/dist/cdn/{ZLU7K6TK.js → PV3AWYMW.js} +3 -3
- package/dist/cdn/{R5UFCXCH.js → Q3MXWDPL.js} +3 -3
- package/dist/cdn/QA2YCJ4O.js +4 -0
- package/dist/cdn/{M7HD332R.js → QB6N6BBC.js} +2 -2
- package/dist/cdn/{QNXFXUZA.js → QERJ6PIW.js} +3 -3
- package/dist/cdn/{GKBVNMEW.js → QLUP4VRI.js} +3 -3
- package/dist/cdn/QR5GDMMI.js +18 -0
- package/dist/cdn/QVENWOO2.js +4 -0
- package/dist/cdn/{CGZZGJLP.js → QYFSBDDP.js} +3 -3
- package/dist/cdn/{EW3T5VLB.js → R4SJJIO3.js} +3 -3
- package/dist/cdn/{56FAI7QX.js → R4YCPJ6L.js} +4 -4
- package/dist/cdn/R5SDMUXC.js +4 -0
- package/dist/cdn/{6U4PV22I.js → R6PTVOZ7.js} +2 -2
- package/dist/cdn/{C6WPV722.js → R7PTJALL.js} +3 -3
- package/dist/cdn/{VTS75E4I.js → RHAMAZRC.js} +4 -4
- package/dist/cdn/{RIQFARZP.js → RIWMTGJG.js} +3 -3
- package/dist/cdn/{UMIQ4XRZ.js → RKWOVJQK.js} +3 -3
- package/dist/cdn/{FLX4QZPY.js → RKYG5W3S.js} +5 -5
- package/dist/cdn/{OQJGVRY2.js → RQNJFE3E.js} +3 -3
- package/dist/cdn/RTDSKN7R.js +4 -0
- package/dist/cdn/{DHVPMGLT.js → RTG6AS6O.js} +3 -3
- package/dist/cdn/{2RWXUIPE.js → RW7QCD4F.js} +3 -3
- package/dist/cdn/RY3EYSFT.js +4 -0
- package/dist/cdn/S3TN6CM3.js +18 -0
- package/dist/cdn/{TENNMXGF.js → S4N6CMM4.js} +2 -2
- package/dist/cdn/{H72WOGJ7.js → SBBYIAQT.js} +3 -3
- package/dist/cdn/SEILZAED.js +4 -0
- package/dist/cdn/{6XYUDJQ2.js → SFNRHY6G.js} +2 -2
- package/dist/cdn/{AYDTR35F.js → SHNFODTH.js} +4 -4
- package/dist/cdn/{RVTHLBJL.js → SJIT5M3S.js} +3 -3
- package/dist/cdn/{SHWG5PCG.js → SJKDQVYZ.js} +3 -3
- package/dist/cdn/{7YFBO4YO.js → TEH3EUZ4.js} +3 -3
- package/dist/cdn/{CFPXLHXR.js → TO5I7SJD.js} +3 -3
- package/dist/cdn/{FDNO4BVO.js → TSC436KC.js} +4 -4
- package/dist/cdn/{4ULTYKHN.js → U5YGMCQ4.js} +3 -3
- package/dist/cdn/U6H7FPZF.js +4 -0
- package/dist/cdn/{43R5NRNV.js → UBCWEODS.js} +2 -2
- package/dist/cdn/{AQZ3QIKE.js → UCURZHST.js} +3 -3
- package/dist/cdn/UDXPAJPC.js +81 -0
- package/dist/cdn/{XXM424DO.js → UGOSMDSY.js} +3 -3
- package/dist/cdn/{2A6DDRTH.js → UH4VIVOW.js} +3 -3
- package/dist/cdn/{KJOPUX6H.js → UHQPR2Z7.js} +3 -3
- package/dist/cdn/{CJFK6TKW.js → UOOG3U5R.js} +3 -3
- package/dist/cdn/{7B2MAX64.js → UQGDAXCI.js} +2 -2
- package/dist/cdn/{5QHONC74.js → UT7SAFAT.js} +3 -3
- package/dist/cdn/UW764P2Z.js +4 -0
- package/dist/cdn/{76JQ5L7D.js → UYXBFGVH.js} +2 -2
- package/dist/cdn/{I3ZD6IV4.js → V6E6GKRI.js} +2 -2
- package/dist/cdn/{XFM3FD2A.js → V6KCSC7C.js} +3 -3
- package/dist/cdn/{FZV7IALP.js → VA34CFR6.js} +4 -4
- package/dist/cdn/VBD2TD57.js +4 -0
- package/dist/cdn/{RMU2WXMJ.js → VE3XMXHB.js} +4 -4
- package/dist/cdn/VKGJAPNM.js +4 -0
- package/dist/cdn/VMLP2N3H.js +4 -0
- package/dist/cdn/{NNNUOKAQ.js → VNSEZL7N.js} +4 -4
- package/dist/cdn/VRV234EZ.js +4 -0
- package/dist/cdn/VRXLMGXU.js +4 -0
- package/dist/cdn/{HPUAGDRV.js → VS5ENMWB.js} +3 -3
- package/dist/cdn/VULFBK5I.js +379 -0
- package/dist/cdn/VZZMNDQT.js +4 -0
- package/dist/cdn/W5OOALH7.js +4 -0
- package/dist/cdn/{7NMV3XFP.js → WB2BLNBK.js} +2 -2
- package/dist/cdn/{JUVS4QTT.js → WBA5I2LS.js} +3 -3
- package/dist/cdn/{YC7HMH6M.js → WKX6ZFFH.js} +3 -3
- package/dist/cdn/{PP6K5WOA.js → WQHLWDDX.js} +3 -3
- package/dist/cdn/{AOOQAYSR.js → WU2UAJRL.js} +3 -3
- package/dist/cdn/WVJ4W65Q.js +4 -0
- package/dist/cdn/{FFJCM7BG.js → WZLKEYSW.js} +3 -3
- package/dist/cdn/{ZEPG4DE3.js → X274AXPH.js} +3 -3
- package/dist/cdn/{2LVUHNL4.js → X5FEIO3K.js} +4 -4
- package/dist/cdn/XBAV4FHC.js +4 -0
- package/dist/cdn/XIX6F4S2.js +4 -0
- package/dist/cdn/{2IRIOH44.js → XJMXNPLZ.js} +3 -3
- package/dist/cdn/XVUQRP24.js +4 -0
- package/dist/cdn/{B4PHULG7.js → Y3A4SAQS.js} +3 -3
- package/dist/cdn/{TYVJSPBM.js → Y6FQBFJX.js} +3 -3
- package/dist/cdn/YF53VJZO.js +4 -0
- package/dist/cdn/YIM6J4NU.js +4 -0
- package/dist/cdn/{35ZVLYI7.js → YMD26PDD.js} +3 -3
- package/dist/cdn/{WFUAPKTB.js → YVWUFTSW.js} +3 -3
- package/dist/cdn/{IPXTSW43.js → YWBNDBUN.js} +3 -3
- package/dist/cdn/{ZRLT4TEH.js → YXHBNWUK.js} +3 -3
- package/dist/cdn/{65NNPWV7.js → Z23LS2SM.js} +2 -2
- package/dist/cdn/{EX6HJQ4X.js → Z2SCCFO4.js} +3 -3
- package/dist/cdn/Z42YUKU2.js +4 -0
- package/dist/cdn/ZBVOYBCH.js +4 -0
- package/dist/cdn/ZDFNLOHU.js +4 -0
- package/dist/cdn/ZMECVIEZ.js +4 -0
- package/dist/cdn/{D2XDABCT.js → ZNB3TLHZ.js} +3 -3
- package/dist/cdn/ZPFJXRFD.js +18 -0
- package/dist/cdn/ZSELGBFW.js +4 -0
- package/dist/cdn/{5WAZGRRD.js → ZWAN2LQ2.js} +3 -3
- package/dist/cdn/{EEECQWVR.js → ZYPY7D74.js} +3 -3
- package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-article-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-social-share/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-social-share/t9n/messages.json +1 -0
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/index.js +3 -3
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +2 -2
- package/dist/chunks/appConfig.js +2 -2
- package/dist/chunks/cardFetchingUtils.js +2 -2
- package/dist/chunks/common.js +2 -2
- package/dist/chunks/deployAppContexts.js +2 -2
- package/dist/chunks/downloadUtils.js +2 -2
- package/dist/chunks/helpers.js +46 -33
- package/dist/chunks/index.js +325 -413
- package/dist/chunks/interfaces.js +2 -2
- package/dist/chunks/loadModules.js +2 -2
- package/dist/chunks/mapViewUtils.js +2 -2
- package/dist/chunks/pciUtils.js +2 -2
- package/dist/chunks/popupUtils.js +2 -2
- package/dist/chunks/prepareDataForSolutionDisplay.js +2 -2
- package/dist/chunks/privilegeUtils.js +2 -2
- package/dist/chunks/publicNotificationStore.js +2 -2
- package/dist/chunks/queryUtils.js +2 -2
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/solution-store.js +2 -2
- package/dist/chunks/templates.js +2 -2
- package/dist/chunks/useT9n.js +2 -2
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +9 -10
- package/dist/components/basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/basemap-gallery/customElement.js +9 -10
- package/dist/components/buffer-tools/customElement.d.ts +1 -1
- package/dist/components/buffer-tools/customElement.js +9 -10
- package/dist/components/card-manager/customElement.d.ts +1 -1
- package/dist/components/card-manager/customElement.js +15 -16
- package/dist/components/consent-manager/customElement.d.ts +1 -1
- package/dist/components/consent-manager/customElement.js +1780 -1724
- package/dist/components/create-feature/customElement.d.ts +1 -1
- package/dist/components/create-feature/customElement.js +7 -8
- package/dist/components/create-related-feature/customElement.d.ts +1 -1
- package/dist/components/create-related-feature/customElement.js +8 -9
- package/dist/components/crowdsource-manager/customElement.d.ts +4 -2
- package/dist/components/crowdsource-manager/customElement.js +10 -11
- package/dist/components/crowdsource-manager/index.d.ts +1 -1
- package/dist/components/crowdsource-manager/index.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.d.ts +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +8 -9
- package/dist/components/crowdsource-reporter/index.d.ts +2 -2
- package/dist/components/crowdsource-reporter/index.js +2 -2
- package/dist/components/deduct-calculator/customElement.d.ts +1 -1
- package/dist/components/deduct-calculator/customElement.js +9 -10
- package/dist/components/delete-button/customElement.d.ts +1 -1
- package/dist/components/delete-button/customElement.js +7 -8
- package/dist/components/delete-dialog/customElement.d.ts +1 -1
- package/dist/components/delete-dialog/customElement.js +9 -10
- package/dist/components/edit-card/customElement.d.ts +1 -1
- package/dist/components/edit-card/customElement.js +10 -11
- package/dist/components/feature-details/customElement.d.ts +1 -1
- package/dist/components/feature-details/customElement.js +8 -9
- package/dist/components/feature-list/customElement.d.ts +1 -1
- package/dist/components/feature-list/customElement.js +9 -10
- package/dist/components/field-selection/customElement.d.ts +1 -1
- package/dist/components/field-selection/customElement.js +10 -11
- package/dist/components/floor-filter/customElement.d.ts +1 -1
- package/dist/components/floor-filter/customElement.js +9 -10
- package/dist/components/info-card/customElement.d.ts +1 -1
- package/dist/components/info-card/customElement.js +8 -9
- package/dist/components/json-editor/customElement.d.ts +1 -1
- package/dist/components/json-editor/customElement.js +10 -11
- package/dist/components/layer-list/customElement.d.ts +1 -1
- package/dist/components/layer-list/customElement.js +7 -8
- package/dist/components/layer-table/customElement.d.ts +4 -2
- package/dist/components/layer-table/customElement.js +7 -8
- package/dist/components/layer-table/index.d.ts +1 -1
- package/dist/components/layer-table/index.js +1 -1
- package/dist/components/map-card/customElement.d.ts +1 -1
- package/dist/components/map-card/customElement.js +7 -8
- package/dist/components/map-card/index.d.ts +1 -1
- package/dist/components/map-card/index.js +1 -1
- package/dist/components/map-draw-tools/customElement.d.ts +1 -1
- package/dist/components/map-draw-tools/customElement.js +10 -11
- package/dist/components/map-fullscreen/customElement.d.ts +1 -1
- package/dist/components/map-fullscreen/customElement.js +12 -13
- package/dist/components/map-layer-picker/customElement.d.ts +1 -1
- package/dist/components/map-layer-picker/customElement.js +11 -12
- package/dist/components/map-legend/customElement.d.ts +1 -1
- package/dist/components/map-legend/customElement.js +9 -10
- package/dist/components/map-picker/customElement.d.ts +1 -1
- package/dist/components/map-picker/customElement.js +7 -8
- package/dist/components/map-search/customElement.d.ts +1 -1
- package/dist/components/map-search/customElement.js +11 -12
- package/dist/components/map-select-tools/customElement.d.ts +1 -1
- package/dist/components/map-select-tools/customElement.js +9 -10
- package/dist/components/map-tools/customElement.d.ts +1 -1
- package/dist/components/map-tools/customElement.js +6 -7
- package/dist/components/pci-calculator/customElement.d.ts +1 -1
- package/dist/components/pci-calculator/customElement.js +11 -12
- package/dist/components/pdf-download/customElement.d.ts +1 -1
- package/dist/components/pdf-download/customElement.js +24 -25
- package/dist/components/public-notification/customElement.d.ts +1 -1
- package/dist/components/public-notification/customElement.js +20 -21
- package/dist/components/refine-selection/customElement.d.ts +1 -1
- package/dist/components/refine-selection/customElement.js +17 -18
- package/dist/components/selection-tool/customElement.d.ts +1 -1
- package/dist/components/selection-tool/customElement.js +3 -3
- package/dist/components/solution-article-card/customElement.d.ts +33 -1
- package/dist/components/solution-article-card/customElement.js +24 -19
- package/dist/components/solution-article-card/index.d.ts +1 -0
- package/dist/components/solution-article-card/index.js +1 -0
- package/dist/components/solution-configuration/customElement.d.ts +1 -1
- package/dist/components/solution-configuration/customElement.js +11 -12
- package/dist/components/solution-configure-dialog/customElement.d.ts +6 -7
- package/dist/components/solution-configure-dialog/customElement.js +121 -46
- package/dist/components/solution-configure-dialog/index.d.ts +1 -0
- package/dist/components/solution-configure-dialog/index.js +1 -0
- package/dist/components/solution-configure-titles/customElement.d.ts +3 -1
- package/dist/components/solution-configure-titles/customElement.js +39 -23
- package/dist/components/solution-contents/customElement.d.ts +1 -1
- package/dist/components/solution-contents/customElement.js +8 -9
- package/dist/components/solution-delete-dialog/customElement.d.ts +9 -11
- package/dist/components/solution-delete-dialog/customElement.js +55 -59
- package/dist/components/solution-deploy-dialog/customElement.d.ts +2 -10
- package/dist/components/solution-deploy-dialog/customElement.js +132 -83
- package/dist/components/solution-deployed-card/customElement.d.ts +1 -9
- package/dist/components/solution-deployed-card/customElement.js +29 -29
- package/dist/components/solution-deploying-dialog/customElement.d.ts +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +11 -12
- package/dist/components/solution-details-card/customElement.d.ts +1 -1
- package/dist/components/solution-details-card/customElement.js +9 -10
- package/dist/components/solution-details-panel/customElement.d.ts +1 -7
- package/dist/components/solution-details-panel/customElement.js +97 -91
- package/dist/components/solution-details-panel/index.d.ts +1 -0
- package/dist/components/solution-details-panel/index.js +1 -0
- package/dist/components/solution-item/customElement.d.ts +1 -1
- package/dist/components/solution-item/customElement.js +7 -8
- package/dist/components/solution-item-accordion/customElement.d.ts +1 -1
- package/dist/components/solution-item-accordion/customElement.js +8 -9
- package/dist/components/solution-item-details/customElement.d.ts +1 -1
- package/dist/components/solution-item-details/customElement.js +10 -11
- package/dist/components/solution-item-diagram/customElement.d.ts +1 -1
- package/dist/components/solution-item-diagram/customElement.js +9 -10
- package/dist/components/solution-item-icon/customElement.d.ts +1 -1
- package/dist/components/solution-item-icon/customElement.js +8 -9
- package/dist/components/solution-item-sharing/customElement.d.ts +1 -1
- package/dist/components/solution-item-sharing/customElement.js +14 -15
- package/dist/components/solution-organization-variables/customElement.d.ts +1 -1
- package/dist/components/solution-organization-variables/customElement.js +7 -8
- package/dist/components/solution-resource-item/customElement.d.ts +1 -1
- package/dist/components/solution-resource-item/customElement.js +15 -16
- package/dist/components/solution-snapshot-gallery/customElement.d.ts +1 -6
- package/dist/components/solution-snapshot-gallery/customElement.js +15 -15
- package/dist/components/solution-social-share/customElement.d.ts +117 -0
- package/dist/components/solution-social-share/customElement.js +178 -0
- package/dist/components/solution-social-share/index.d.ts +5 -0
- package/dist/components/solution-social-share/index.js +5 -0
- package/dist/components/solution-spatial-ref/customElement.d.ts +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +19 -20
- package/dist/components/solution-template-data/customElement.d.ts +1 -1
- package/dist/components/solution-template-data/customElement.js +8 -9
- package/dist/components/solution-variables/customElement.d.ts +1 -1
- package/dist/components/solution-variables/customElement.js +8 -9
- package/dist/components/solutions-all-panel/customElement.d.ts +1 -9
- package/dist/components/solutions-all-panel/customElement.js +18 -18
- package/dist/components/solutions-all-shell/customElement.d.ts +3 -1
- package/dist/components/solutions-all-shell/customElement.js +19 -16
- package/dist/components/solutions-article-panel/customElement.d.ts +13 -1
- package/dist/components/solutions-article-panel/customElement.js +18 -19
- package/dist/components/solutions-articles/customElement.d.ts +3 -1
- package/dist/components/solutions-articles/customElement.js +54 -16
- package/dist/components/solutions-articles/index.d.ts +10 -0
- package/dist/components/solutions-articles/index.js +10 -0
- package/dist/components/solutions-articles-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +10 -11
- package/dist/components/solutions-articles-shell/index.d.ts +3 -0
- package/dist/components/solutions-articles-shell/index.js +3 -0
- package/dist/components/solutions-deployed-panel/customElement.d.ts +3 -11
- package/dist/components/solutions-deployed-panel/customElement.js +44 -40
- package/dist/components/solutions-deployed-panel/index.d.ts +1 -0
- package/dist/components/solutions-deployed-panel/index.js +1 -0
- package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +16 -16
- package/dist/components/solutions-filter-panel/customElement.d.ts +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +13 -12
- package/dist/components/spatial-ref/customElement.d.ts +1 -1
- package/dist/components/spatial-ref/customElement.js +8 -9
- package/dist/components/store-manager/customElement.d.ts +1 -1
- package/dist/components/store-manager/customElement.js +2 -2
- package/dist/docs/api.json +1351 -474
- package/dist/docs/docs.json +990 -484
- package/dist/docs/vscode.css-custom-data.json +30 -1
- package/dist/docs/vscode.html-custom-data.json +313 -16
- package/dist/docs/web-types.json +528 -104
- package/dist/index.d.ts +24 -2
- package/dist/index.js +2 -2
- package/dist/loader.js +14 -13
- package/dist/types/lumina.d.ts +18 -9
- package/dist/types/preact.d.ts +19 -9
- package/dist/types/react.d.ts +20 -9
- package/dist/types/stencil.d.ts +18 -9
- package/dist/utils/helpers.d.ts +20 -1
- package/dist/utils/interfaces.d.ts +27 -23
- package/package.json +33 -28
- package/dist/cdn/25FEJN5O.js +0 -4
- package/dist/cdn/25JM7WUJ.js +0 -4
- package/dist/cdn/2BDPGGKC.js +0 -18
- package/dist/cdn/2TT2EKLS.js +0 -4
- package/dist/cdn/2VXYY4NW.js +0 -4
- package/dist/cdn/3IMXMLFS.js +0 -4
- package/dist/cdn/4HAO722I.js +0 -4
- package/dist/cdn/4UCCOTIL.js +0 -4
- package/dist/cdn/5S2FZKYO.js +0 -18
- package/dist/cdn/5TRSWX6M.js +0 -4
- package/dist/cdn/6LUI2X3G.js +0 -18
- package/dist/cdn/7M5YUYGE.js +0 -4
- package/dist/cdn/AXDYNDWC.js +0 -3
- package/dist/cdn/AYND4SCK.js +0 -4
- package/dist/cdn/B2AAEHPJ.js +0 -4
- package/dist/cdn/B5754CLI.js +0 -4
- package/dist/cdn/BRSXWNGO.js +0 -4
- package/dist/cdn/CBITJT5D.js +0 -82
- package/dist/cdn/CDBDE4TC.js +0 -18
- package/dist/cdn/CXN63GPC.js +0 -18
- package/dist/cdn/D2UIHI5N.js +0 -4
- package/dist/cdn/D3RXCR6Q.js +0 -6
- package/dist/cdn/DC2VXLYA.js +0 -4
- package/dist/cdn/DCYHSAL2.js +0 -4
- package/dist/cdn/DO5IRX2P.js +0 -4
- package/dist/cdn/DP2E5JFM.js +0 -4
- package/dist/cdn/DZ75SULS.js +0 -4
- package/dist/cdn/EL5KWKMD.js +0 -4
- package/dist/cdn/EPYFVSXR.js +0 -4
- package/dist/cdn/FQTZU3Z2.js +0 -29
- package/dist/cdn/G56M322A.js +0 -18
- package/dist/cdn/GFTMWJE2.js +0 -4
- package/dist/cdn/H36GDFY7.js +0 -4
- package/dist/cdn/H3C4GIDZ.js +0 -9
- package/dist/cdn/H3FM5UM6.js +0 -4
- package/dist/cdn/HCCTS5WV.js +0 -4
- package/dist/cdn/HNUCWI6T.js +0 -4
- package/dist/cdn/HR2HFJXC.js +0 -8
- package/dist/cdn/HRBMV6MS.js +0 -18
- package/dist/cdn/HZILY6RQ.js +0 -18
- package/dist/cdn/IHQISHAM.js +0 -4
- package/dist/cdn/IMFE25FS.js +0 -4
- package/dist/cdn/IMYZB3YV.js +0 -18
- package/dist/cdn/JAMFZUE3.js +0 -4
- package/dist/cdn/JRMGFAZK.js +0 -4
- package/dist/cdn/JYDRZHOB.js +0 -4
- package/dist/cdn/KQPN7NFG.js +0 -4
- package/dist/cdn/KUFJAMWI.js +0 -18
- package/dist/cdn/LIXHHHMQ.js +0 -3
- package/dist/cdn/ML3FDA7I.js +0 -4
- package/dist/cdn/MTDAXKJA.js +0 -4
- package/dist/cdn/MVAWCLJQ.js +0 -4
- package/dist/cdn/NTSPFMPN.js +0 -18
- package/dist/cdn/O4U6ZUNI.js +0 -4
- package/dist/cdn/OGRHFK6Y.js +0 -4
- package/dist/cdn/OOX6G6UE.js +0 -18
- package/dist/cdn/OZWDP6Y7.js +0 -4
- package/dist/cdn/PJSBBGLJ.js +0 -4
- package/dist/cdn/PSUWSWTK.js +0 -4
- package/dist/cdn/PWM7PIST.js +0 -18
- package/dist/cdn/Q5QONQ6T.js +0 -4
- package/dist/cdn/QBIXFYYE.js +0 -5
- package/dist/cdn/QH2LKILS.js +0 -4
- package/dist/cdn/QP26HSVE.js +0 -4
- package/dist/cdn/QU55HNGY.js +0 -25
- package/dist/cdn/QYU6USHT.js +0 -4
- package/dist/cdn/SCOCPPIV.js +0 -383
- package/dist/cdn/SMY4IACN.js +0 -4
- package/dist/cdn/T6PMIZLP.js +0 -4
- package/dist/cdn/TA3ZXQAF.js +0 -4
- package/dist/cdn/TBU33TUJ.js +0 -18
- package/dist/cdn/TNEFDIIG.js +0 -4
- package/dist/cdn/TTDNDVCB.js +0 -4
- package/dist/cdn/UDYWBQQB.js +0 -4
- package/dist/cdn/UITEOOYI.js +0 -4
- package/dist/cdn/UUY24OGE.js +0 -4
- package/dist/cdn/UZTSBHXN.js +0 -294
- package/dist/cdn/V3XFBVJ2.js +0 -4
- package/dist/cdn/VCL4EPUN.js +0 -18
- package/dist/cdn/VH4DOQZ4.js +0 -4
- package/dist/cdn/VJF6Y7HU.js +0 -4
- package/dist/cdn/VLNWSZVR.js +0 -4
- package/dist/cdn/VUZA56M3.js +0 -4
- package/dist/cdn/W3GV4JXP.js +0 -4
- package/dist/cdn/WBRXMEMP.js +0 -4
- package/dist/cdn/WIE3EFBI.js +0 -8
- package/dist/cdn/WN54HJON.js +0 -4
- package/dist/cdn/XYGVP2FK.js +0 -4
- package/dist/cdn/YMUVFR3U.js +0 -18
- package/dist/cdn/YQFYU4G2.js +0 -18
- package/dist/cdn/Z4WD3SG2.js +0 -4
- package/dist/cdn/ZUQZHS53.js +0 -18
- package/dist/cdn/ZY74MRCW.js +0 -4
package/dist/cdn/HNUCWI6T.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{b as p,v as m}from"./HCCTS5WV.js";import"./Q5QONQ6T.js";import"./25FEJN5O.js";import{e as g}from"./25JM7WUJ.js";import{c as o,t as c,u as d,y as l,z as h}from"./QP26HSVE.js";import"./H3FM5UM6.js";import{a as v,c as r,e as f,h as w}from"./ML3FDA7I.js";import"./UITEOOYI.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
|
package/dist/cdn/HR2HFJXC.js
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
var y={allRenderFn:!1,element:!0,event:!0,hasRenderFn:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},we="app",Re=Object.defineProperty,xe=(e,t)=>{for(var o in t)Re(e,o,{get:t[o],enumerable:!0})},Se="http://www.w3.org/2000/svg",Te="http://www.w3.org/1999/xhtml",_e=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},q=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),X="http://www.w3.org/1999/xlink",w=typeof window<"u"?window:{};w.HTMLElement;var N={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,n)=>e.addEventListener(t,o,n),rel:(e,t,o,n)=>e.removeEventListener(t,o,n),ce:(e,t)=>new CustomEvent(e,t)},ke=e=>Promise.resolve(e),j=!1,G=[],ie=[],Ee=(e,t)=>o=>{e.push(o),j||(j=!0,t&&N.$flags$&4?K(D):N.raf(D))},J=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){I(o)}e.length=0},D=()=>{J(G),J(ie),(j=G.length>0)&&N.raf(D)},K=e=>ke().then(e),Ce=Ee(ie,!0),Le=e=>e!=null&&e!==void 0,$e=e=>(e=typeof e,e==="object"||e==="function"),Ae=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Oe={};xe(Oe,{err:()=>ce,map:()=>Fe,ok:()=>U,unwrap:()=>Me,unwrapErr:()=>Pe});var U=e=>({isOk:!0,isErr:!1,value:e}),ce=e=>({isOk:!1,isErr:!0,value:e});function Fe(e,t){if(e.isOk){let o=t(e.value);return o instanceof Promise?o.then(n=>U(n)):U(o)}if(e.isErr){let o=e.value;return ce(o)}throw"should never get here"}var Me=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},de=e=>{let t=ee(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&fe(t,e.tagName).forEach(n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(De(n,Q(n),!1).length?n.hidden=!0:n.hidden=!1)});let o=0;for(o=0;o<t.length;o++){let n=t[o];n.nodeType===1&&ee(n,"childNodes").length&&de(n)}},je=e=>{let t=[];for(let o=0;o<e.length;o++){let n=e[o]["s-nr"]||void 0;n&&n.isConnected&&t.push(n)}return t};function fe(e,t,o){let n=0,s=[],l;for(;n<e.length;n++)l=e[n],l["s-sr"]&&(!t||l["s-hn"]===t)&&o===void 0&&s.push(l),s=[...s,...fe(l.childNodes,t,o)];return s}var De=(e,t,o=!0)=>{let n=[];(o&&e["s-sr"]||!e["s-sr"])&&n.push(e);let s=e;for(;s=s.nextSibling;)Q(s)===t&&(o||!s["s-sr"])&&n.push(s);return n},Z=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Q=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ue(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;let t=o=>function(n){let s=[],l=this["s-sn"];n?.flatten&&console.error(`
|
5
|
-
Flattening is not supported for Stencil non-shadow slots.
|
6
|
-
You can use \`.childNodes\` to nested slot fallback content.
|
7
|
-
If you have a particular use case, please open an issue on the Stencil repo.
|
8
|
-
`);let r=this["s-cr"].parentElement;return(r.__childNodes?r.childNodes:je(r.childNodes)).forEach($=>{l===Q($)&&s.push($)}),o?s.filter($=>$.nodeType===1):s}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function ee(e,t){if("__"+t in e){let o=e["__"+t];return typeof o!="function"?o:o.bind(e)}else return typeof e[t]!="function"?e[t]:e[t].bind(e)}var A=(e,t="")=>()=>{},Be=(e,t,...o)=>{let n=null,s=null,l=null,r=!1,$=!1,d=[],f=i=>{for(let c=0;c<i.length;c++)n=i[c],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((r=!$e(n))&&(n=String(n)),r&&$?d[d.length-1].$text$+=n:d.push(r?B(null,n):n),$=r)};f(o);let u=B(e,null);return u.$attrs$=t,d.length>0&&(u.$children$=d),u.$key$=s,u.$name$=l,u},B=(e,t)=>{let o={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return o.$attrs$=null,o.$key$=null,o.$name$=null,o},We={},ze=e=>e&&e.$tag$===We,V=e=>{let t=Ae(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};V("::slotted");V(":host");V(":host-context");var He=(e,t,o)=>{let n=N.ce(t,o);return e.dispatchEvent(n),n},te=(e,t,o,n,s,l,r)=>{if(o===n)return;let $=q(e,t),d=t.toLowerCase();if(t==="class"){let f=e.classList,u=ne(o),i=ne(n);f.remove(...u.filter(c=>c&&!i.includes(c))),f.add(...i.filter(c=>c&&!u.includes(c)))}else if(t==="style"){for(let f in o)(!n||n[f]==null)&&(f.includes("-")?e.style.removeProperty(f):e.style[f]="");for(let f in n)(!o||n[f]!==o[f])&&(f.includes("-")?e.style.setProperty(f,n[f]):e.style[f]=n[f])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):q(w,d)?t=d.slice(2):t=d[2]+t.slice(3),o||n){let f=t.endsWith(ue);t=t.replace(Ke,""),o&&N.rel(e,t,o,f),n&&N.ael(e,t,n,f)}}else{let f=$e(n);if(($||f&&n!==null)&&!s)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{let i=n??"";t==="list"?$=!1:(o==null||e[t]!=i)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=i:e.setAttribute(t,i))}}catch{}let u=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(t=d,u=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(u?e.removeAttributeNS(X,t):e.removeAttribute(t)):(!$||l&4||s)&&!f&&e.nodeType===1&&(n=n===!0?"":n,u?e.setAttributeNS(X,t,n):e.setAttribute(t,n))}},Ie=/\s/,ne=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(Ie)),ue="Capture",Ke=new RegExp(ue+"$"),W=(e,t,o,n)=>{let s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,l=e&&e.$attrs$||{},r=t.$attrs$||{};for(let $ of oe(Object.keys(l)))$ in r||te(s,$,l[$],void 0,o,t.$flags$);for(let $ of oe(Object.keys(r)))te(s,$,l[$],r[$],o,t.$flags$)};function oe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,O,T,z=!1,F=!1,Y=!1,h=!1,M=(e,t,o)=>{var n;let s=t.$children$[o],l=0,r,$,d;if(z||(Y=!0,s.$tag$==="slot"&&(s.$flags$|=s.$children$?2:1)),s.$text$!==null)r=s.$elm$=w.document.createTextNode(s.$text$);else if(s.$flags$&1)r=s.$elm$=w.document.createTextNode(""),W(null,s,h);else{if(h||(h=s.$tag$==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(r=s.$elm$=w.document.createElementNS(h?Se:Te,!z&&y.slotRelocation&&s.$flags$&2?"slot-fb":s.$tag$),h&&s.$tag$==="foreignObject"&&(h=!1),W(null,s,h),Le(L)&&r["s-si"]!==L&&r.classList.add(r["s-si"]=L),s.$children$)for(l=0;l<s.$children$.length;++l)$=M(e,s,l),$&&r.appendChild($);s.$tag$==="svg"?h=!1:r.tagName==="foreignObject"&&(h=!0)}return r["s-hn"]=T,s.$flags$&3&&(r["s-sr"]=!0,r["s-cr"]=O,r["s-sn"]=s.$name$||"",r["s-rf"]=(n=s.$attrs$)==null?void 0:n.ref,Ue(r),d=e&&e.$children$&&e.$children$[o],d&&d.$tag$===s.$tag$&&e.$elm$&&_(e.$elm$,!1),ve(O,r,t.$elm$,e?.$elm$)),r},_=(e,t)=>{N.$flags$|=1;let o=Array.from(e.__childNodes||e.childNodes);e["s-sr"]&&y.experimentalSlotFixes;for(let n=o.length-1;n>=0;n--){let s=o[n];s["s-hn"]!==T&&s["s-ol"]&&(R(k(s).parentNode,s,k(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,Y=!0),t&&_(s,t)}N.$flags$&=-2},pe=(e,t,o,n,s,l)=>{let r=e["s-cr"]&&e["s-cr"].parentNode||e,$;for(r.shadowRoot&&r.tagName===T&&(r=r.shadowRoot);s<=l;++s)n[s]&&($=M(null,o,s),$&&(n[s].$elm$=$,R(r,$,k(t))))},he=(e,t,o)=>{for(let n=t;n<=o;++n){let s=e[n];if(s){let l=s.$elm$;me(s),l&&(F=!0,l["s-ol"]?l["s-ol"].remove():_(l,!0),l.remove())}}},Qe=(e,t,o,n,s=!1)=>{let l=0,r=0,$=0,d=0,f=t.length-1,u=t[0],i=t[f],c=n.length-1,a=n[0],p=n[c],v,m;for(;l<=f&&r<=c;)if(u==null)u=t[++l];else if(i==null)i=t[--f];else if(a==null)a=n[++r];else if(p==null)p=n[--c];else if(C(u,a,s))x(u,a,s),u=t[++l],a=n[++r];else if(C(i,p,s))x(i,p,s),i=t[--f],p=n[--c];else if(C(u,p,s))(u.$tag$==="slot"||p.$tag$==="slot")&&_(u.$elm$.parentNode,!1),x(u,p,s),R(e,u.$elm$,i.$elm$.nextSibling),u=t[++l],p=n[--c];else if(C(i,a,s))(u.$tag$==="slot"||p.$tag$==="slot")&&_(i.$elm$.parentNode,!1),x(i,a,s),R(e,i.$elm$,u.$elm$),i=t[--f],a=n[++r];else{for($=-1,d=l;d<=f;++d)if(t[d]&&t[d].$key$!==null&&t[d].$key$===a.$key$){$=d;break}$>=0?(m=t[$],m.$tag$!==a.$tag$?v=M(t&&t[r],o,$):(x(m,a,s),t[$]=void 0,v=m.$elm$),a=n[++r]):(v=M(t&&t[r],o,r),a=n[++r]),v&&R(k(u.$elm$).parentNode,v,k(u.$elm$))}l>f?pe(e,n[c+1]==null?null:n[c+1].$elm$,o,n,r,c):r>c&&he(t,l,f)},C=(e,t,o=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:o?(o&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,k=e=>e&&e["s-ol"]||e,x=(e,t,o=!1)=>{let n=t.$elm$=e.$elm$,s=e.$children$,l=t.$children$,r=t.$tag$,$=t.$text$,d;$===null?(h=r==="svg"?!0:r==="foreignObject"?!1:h,W(e,t,h),s!==null&&l!==null?Qe(n,s,t,l,o):l!==null?(e.$text$!==null&&(n.textContent=""),pe(n,null,t,l,0,l.length-1)):!o&&y.updatable&&s!==null&&he(s,0,s.length-1),h&&r==="svg"&&(h=!1)):(d=n["s-cr"])?d.parentNode.textContent=$:e.$text$!==$&&(n.data=$)},b=[],ge=e=>{let t,o,n,s=e.__childNodes||e.childNodes;for(let l of s){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;let r=l["s-sn"];for(n=o.length-1;n>=0;n--)if(t=o[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"])if(Z(t,r)){let $=b.find(d=>d.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||r,$?($.$nodeToRelocate$["s-sh"]=l["s-hn"],$.$slotRefNode$=l):(t["s-sh"]=l["s-hn"],b.push({$slotRefNode$:l,$nodeToRelocate$:t})),t["s-sr"]&&b.map(d=>{Z(d.$nodeToRelocate$,t["s-sn"])&&($=b.find(f=>f.$nodeToRelocate$===t),$&&!d.$slotRefNode$&&(d.$slotRefNode$=$.$slotRefNode$))})}else b.some($=>$.$nodeToRelocate$===t)||b.push({$nodeToRelocate$:t})}l.nodeType===1&&ge(l)}},me=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(me)},R=(e,t,o)=>(typeof t["s-sn"]=="string"&&t["s-sr"]&&t["s-cr"]&&ve(t["s-cr"],t,e,t.parentElement),e?.insertBefore(t,o));function ve(e,t,o,n){var s,l;let r;if(e&&typeof t["s-sn"]=="string"&&t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(r=t["s-si"]||e.parentNode["s-sc"])){let $=t["s-sn"],d=t["s-hn"];if((s=o.classList)==null||s.add(r+"-s"),n&&(l=n.classList)!=null&&l.contains(r+"-s")){let f=(n.__childNodes||n.childNodes)[0],u=!1;for(;f;){if(f["s-sn"]!==$&&f["s-hn"]===d&&f["s-sr"]){u=!0;break}f=f.nextSibling}u||n.classList.remove(r+"-s")}}}var Ve=(e,t,o=!1)=>{var n,s,l,r,$;let d=e.$hostElement$,f=e.$cmpMeta$,u=e.$vnode$||B(null,null),i=ze(t)?t:Be(null,null,t);if(T=d.tagName,f.$attrsToReflect$&&(i.$attrs$=i.$attrs$||{},f.$attrsToReflect$.map(([c,a])=>i.$attrs$[a]=d[c])),o&&i.$attrs$)for(let c of Object.keys(i.$attrs$))d.hasAttribute(c)&&!["key","ref","style","class"].includes(c)&&(i.$attrs$[c]=d[c]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=u.$elm$=d.shadowRoot||d,L=d["s-sc"],z=!!(f.$flags$&1)&&!(f.$flags$&128),O=d["s-cr"],F=!1,x(u,i,o);{if(N.$flags$|=1,Y){ge(i.$elm$);for(let c of b){let a=c.$nodeToRelocate$;if(!a["s-ol"]&&w.document){let p=w.document.createTextNode("");p["s-nr"]=a,R(a.parentNode,a["s-ol"]=p,a)}}for(let c of b){let a=c.$nodeToRelocate$,p=c.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(n=a["s-ol"])==null?void 0:n.previousSibling;for(;E;){let g=(s=E["s-nr"])!=null?s:null;if(g&&g["s-sn"]===a["s-sn"]&&v===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===a||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}let Ne=a.__parentNode||a.parentNode,be=a.__nextSibling||a.nextSibling;(!m&&v!==Ne||be!==m)&&a!==m&&(!a["s-hn"]&&a["s-ol"]&&(a["s-hn"]=a["s-ol"].parentNode.nodeName),R(v,a,m),a.nodeType===1&&a.tagName!=="SLOT-FB"&&(a.hidden=(l=a["s-ih"])!=null?l:!1)),a&&typeof p["s-rf"]=="function"&&p["s-rf"](p)}else a.nodeType===1&&(o&&(a["s-ih"]=(r=a.hidden)!=null?r:!1),a.hidden=!0)}}F&&de(i.$elm$),N.$flags$&=-2,b.length=0}if(y.experimentalScopedSlotChanges&&f.$flags$&2){let c=i.$elm$.__childNodes||i.$elm$.childNodes;for(let a of c)a["s-hn"]!==T&&!a["s-sh"]&&(o&&a["s-ih"]==null&&(a["s-ih"]=($=a.hidden)!=null?$:!1),a.hidden=!0)}O=void 0},Ye=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){let o=t["s-p"].push(new Promise(n=>e.$onRenderResolve$=()=>{t["s-p"].splice(o-1,1),n()}))}},ye=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Ye(e,e.$ancestorComponent$),Ce(()=>qe(e,t))},qe=(e,t)=>{let o=e.$hostElement$,n=A("scheduleUpdate",e.$cmpMeta$.$tagName$),s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=S(s,"componentWillUpdate",void 0,o),l=se(l,()=>S(s,"componentWillRender",void 0,o)),n(),se(l,()=>Ge(e,s,t))},se=(e,t)=>Xe(e)?e.then(t).catch(o=>{console.error(o),t()}):t(),Xe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ge=async(e,t,o)=>{var n;let s=e.$hostElement$,l=A("update",e.$cmpMeta$.$tagName$),r=s["s-rc"],$=A("render",e.$cmpMeta$.$tagName$);Je(e,t,s,o),r&&(r.map(d=>d()),s["s-rc"]=void 0),$(),l();{let d=(n=s["s-p"])!=null?n:[],f=()=>Ze(e);d.length===0?f():(Promise.all(d).then(f),e.$flags$|=4,d.length=0)}},H=null,Je=(e,t,o,n)=>{try{H=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(y.hasRenderFn||y.reflect)&&(y.vdomRender||y.reflect)&&(y.hydrateServerSide||Ve(e,t,n))}catch(s){I(s,e.$hostElement$)}return H=null,null},le=()=>H,Ze=e=>{let t=e.$cmpMeta$.$tagName$,o=e.$hostElement$,n=A("postUpdate",t),s=o,l=e.$ancestorComponent$;S(s,"componentDidRender",void 0,o),e.$flags$&64?(S(s,"componentDidUpdate",void 0,o),n()):(e.$flags$|=64,tt(o),S(s,"componentDidLoad",void 0,o),n(),e.$onReadyResolve$(o),l||et()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&K(()=>ye(e,!1)),e.$flags$&=-517},re=e=>{{let t=_e(e),o=t.$hostElement$.isConnected;return o&&(t.$flags$&18)===2&&ye(t,!1),o}},et=e=>{K(()=>He(w,"appload",{detail:{namespace:we}}))},S=(e,t,o,n)=>{if(e&&e[t])try{return e[t](o)}catch(s){I(s,n)}},tt=e=>{var t;return e.classList.add((t=y.hydratedSelectorName)!=null?t:"hydrated")},nt=(e,t,o)=>{let n=e.get(t);n?n.includes(o)||n.push(o):e.set(t,[o])},ot=(e,t)=>{let o;return(...n)=>{o&&clearTimeout(o),o=setTimeout(()=>{o=0,e(...n)},t)}},st=e=>!("isConnected"in e)||e.isConnected,ae=ot(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(st))},2e3),lt=()=>{if(typeof le!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let o=le();o&&nt(e,t,o)},set:t=>{let o=e.get(t);o&&e.set(t,o.filter(re)),ae(e)},reset:()=>{e.forEach(t=>t.forEach(re)),ae(e)}}},P=e=>typeof e=="function"?e():e,rt=(e,t=(o,n)=>o!==n)=>{let o=P(e),n=new Map(Object.entries(o??{})),s={dispose:[],get:[],set:[],reset:[]},l=()=>{n=new Map(Object.entries(P(e)??{})),s.reset.forEach(i=>i())},r=()=>{s.dispose.forEach(i=>i()),l()},$=i=>(s.get.forEach(c=>c(i)),n.get(i)),d=(i,c)=>{let a=n.get(i);t(c,a,i)&&(n.set(i,c),s.set.forEach(p=>p(i,c,a)))},f=typeof Proxy>"u"?{}:new Proxy(o,{get(i,c){return $(c)},ownKeys(i){return Array.from(n.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(i,c){return n.has(c)},set(i,c,a){return d(c,a),!0}}),u=(i,c)=>(s[i].push(c),()=>{at(s[i],c)});return{state:f,get:$,set:d,on:u,onChange:(i,c)=>{let a=u("set",(v,m)=>{v===i&&c(m)}),p=u("reset",()=>c(P(e)[i]));return()=>{a(),p()}},use:(...i)=>{let c=i.reduce((a,p)=>(p.set&&a.push(u("set",p.set)),p.get&&a.push(u("get",p.get)),p.reset&&a.push(u("reset",p.reset)),p.dispose&&a.push(u("dispose",p.dispose)),a),[]);return()=>c.forEach(a=>a())},dispose:r,reset:l,forceUpdate:i=>{let c=n.get(i);s.set.forEach(a=>a(i,c,c))}}},at=(e,t)=>{let o=e.indexOf(t);o>=0&&(e[o]=e[e.length-1],e.length--)},it=(e,t)=>{let o=rt(e,t);return o.use(lt()),o};export{it as a};
|
package/dist/cdn/HRBMV6MS.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import b from"./FKCBARKI.js";import a from"./JAMFZUE3.js";import{c as p}from"./H36GDFY7.js";import"./FLX4QZPY.js";import"./2IRIOH44.js";import"./I3ZD6IV4.js";import"./RIQFARZP.js";import"./GKBVNMEW.js";import"./IHQISHAM.js";import"./Q66CZJP6.js";import"./2VXYY4NW.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import{a as l,b as h}from"./OZWDP6Y7.js";import{a as d}from"./TA3ZXQAF.js";import{B as i,D as c,c as o,d as t,x as n,y as r}from"./D3RXCR6Q.js";import"./UITEOOYI.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @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
|
-
*/.display-flex{display:flex}.align-items-center{align-items:center}.justify-content-center{justify-content:center}.footer{width:100%}.footer-override{--calcite-dialog-footer-space: 0px}.footer-card{width:200px;height:100px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.background-black{background-color:#151515}`,a=class extends r{constructor(){super(...arguments),this.authContextConsumer=n({context:p,subscribe:!0}),this.open=!1,this._translations=d({name:"solution-snapshot-gallery",blocking:!0}),this._displayText="",this._paginationControl=l(),this._screenshotNames=[],this._screenshots=[]}static{this.properties={authContextConsumer:0,card:0,screenshot:0,itemProperties:0,open:5,_translations:16}}static{this.styles=u}willUpdate(e){e.has("screenshot")&&this.screenshot&&(this._displayText=this.screenshot.alt),e.has("itemProperties")&&this.itemProperties&&(this._screenshots=this.itemProperties.preview,this._screenshotNames=this._screenshots.map(s=>s.name))}render(){return t`<calcite-dialog class="footer-override" .heading=${this.card?.title} modal @calciteDialogClose=${()=>this.open=!1} .open=${this.open} outside-close-disabled width=l>${this._getScreenshotView()}${this._getFooter()}</calcite-dialog>`}_getScreenshotView(){return this.screenshot?t`<div class="display-flex justify-content-center">${this._getImage(this.screenshot)}</div>`:""}_getFooter(){let e=this._screenshotNames.indexOf(this.screenshot?.name||"");return t`<div class="footer" slot=footer><div class="calcite-mode-dark display-flex align-items-center padding-start-1 padding-top-1-2 background-black"><calcite-label layout=inline><calcite-pagination class="padding-end-1" @calcitePaginationChange=${this._changeScreenshot} page-size=1 start-item=${e+1} total-items=${this.itemProperties?.preview.length??i} ${h(this._paginationControl)}></calcite-pagination>${this._displayText}</calcite-label></div>${this._getCards()}</div>`}_changeScreenshot(){this.screenshot=this._screenshots[this._paginationControl.value.startItem-1]}_getCards(){return t`<calcite-card-group class="card-group padding-1" label selection-mode=single>${this._screenshots.map(e=>t`<calcite-card class="footer-card" .label=${e.alt} @click=${()=>this._showScreenshot(e)} .selected=${e.name===this.screenshot?.name}>${this._getImage(e,"thumbnail")}</calcite-card>`)}</calcite-card-group>`}_getImage(e,s){return t`<img alt=${e.alt??i} slot=${s??i} src=${this._getSource(this.authContextConsumer.value,this.card?.id||"",e.name)??i}>`}_showScreenshot(e){this.screenshot=e}_getSource(e,s,m){return e?g(s||"",m,e):""}};c("solution-snapshot-gallery",a);return a},a,b)
|
package/dist/cdn/HZILY6RQ.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import c from"./ONL3NL26.js";import b from"./JAMFZUE3.js";import{a as y,c as v}from"./H36GDFY7.js";import"./FLX4QZPY.js";import"./2IRIOH44.js";import"./I3ZD6IV4.js";import"./RIQFARZP.js";import"./GKBVNMEW.js";import"./IHQISHAM.js";import"./Q66CZJP6.js";import"./2VXYY4NW.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import{k as S,l as C,p as w,q as l,r as f}from"./76JQ5L7D.js";import{a as _}from"./TA3ZXQAF.js";import{D as p,c as u,d as a,e as g,n as o,x as n,y as m}from"./D3RXCR6Q.js";import"./UITEOOYI.js";export default $arcgis.t(([,{a:c,b:x}])=>{var A=u`/** @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
|
-
*/calcite-panel{width:100%;height:100%}.card-group{overflow:hidden;padding:.5rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`,h=class extends m{constructor(){super(...arguments),this.authContextConsumer=n({context:v,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="numviews",this.userSessionContextConsumer=n({context:y,subscribe:!0}),this.cards=[],this._translations=_({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${l} OR ${f}`,this._allCards=[],this._baseAgoTerms=l,this._categories=[],this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="numviews",this._sortOrder="desc",this.cardsFetched=o(),this.allCardsFetched=o()}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,cards:16,_translations:16}}static{this.styles=A}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this.cards=await this._getSolutions()}async load(){this._cardsFetcher=new c(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new c(this.locale,this.orgUrl,this.portalUrl),this.cards=await this._getSolutions(),this.allCardsFetched.emit(this.cards),await this._getDeployedSolutions()}render(){return a`<calcite-panel><calcite-card-group class="card-group" label>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>a`<solution-details-card .card=${e}></solution-details-card>`):a`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this.agoSolutionsGroupId,"",this.userSessionContextConsumer.value,{num:1e3}),t="/Categories/New Release",i=e?.cards.length?e.cards:[];this.sortType==="new"&&i.sort((s,r)=>s.categories.includes(t)&&!r.categories.includes(t)?-1:!s.categories.includes(t)&&r.categories.includes(t)?1:s.categories.includes(t)&&r.categories.includes(t)?s.categories.length-r.categories.length:0);let d=i.map(s=>{let r=s.categories.indexOf(t)>-1;return s.chip=r?"updated":"none",s});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this.cardsFetched.emit(d.length),d}async _getDeployedSolutions(){let e=this.authContextConsumer.value,t=this.userSessionContextConsumer.value;if(e&&t){let i=await x(e,t,this._cardsFetcher,this._cardsFetcherDeployed,w,"created");i&&(this._relatedSolutions=i.relatedSolutions,console.log(this._relatedSolutions))}}_getSolutionsBriefcase(){return a`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${g`<path 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" fill=#ccc /><path 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" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":(t==="relevance"||t==="title"||t==="numviews")&&(t==="title"&&(this._sortOrder="asc"),this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let i=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${i}`]}else this._categories=[`/Categories/${t}`];this._getSolutions()}}_getDomainValue(e){return C[e]}_getIndustryValue(e){return e==="AEC"?"AEC":S[e]}_clearFilterCategories(){this._categories=[]}};p("solutions-all-panel",h);return h},b,c)
|
package/dist/cdn/IHQISHAM.js
DELETED
package/dist/cdn/IMFE25FS.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{a as r}from"./MTDAXKJA.js";import{a as o,b as h}from"./QBIXFYYE.js";import{b as i}from"./H3FM5UM6.js";import{a as l,c as t,d,e as p,f as g}from"./ML3FDA7I.js";import"./UITEOOYI.js";var _=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}",f=_,a={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},u=class{constructor(e){l(this,e),this.infoIsOpenChanged=g(this,"infoIsOpenChanged",6),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText="",this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=r.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=i(this.el),this.handleMobileBreakpoints(),this.dir=i(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){let e=this.logoImage==="undefined"||this.logoImage?.split("?")?.[0]==="undefined"||this.logoImage?.split("?")?.[0]===""||!this.logoImage,s=this.renderLogo(e),n=this.renderTitle(),c=this.headerAlignment==="right"||this.headerAlignment==="center"?a.headerContent.concat(" ",a.alignment[this.headerAlignment]):a.headerContent,m=o(this.fontFamily);return t(d,{key:"67508c680a63356bffe44968e023768d34a3a8d1"},this.customHeaderHtml?[t("style",null,this.customHeaderCss),t("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:t("header",{class:`${a.base}${this.dir==="rtl"?` ${a.flipRtl}`:""}${this.logoImage&&!e?` ${a.logoHeight}${this.logoScale}`:` ${a.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:m}},t("div",{class:a.headerContainer},t("span",{class:c},s,n,this.infoButton?t("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),t("div",{class:a.actionsEndContainer},t("slot",{name:"actions-end"})))))}renderLogo(e){let s=this.logoScale??"m",n=`${a.logoScale}${s}`;return e?"":this.logoImage&&this.logoLink?t("a",{href:this.logoLink,target:"_blank"},t("img",{class:n,src:this.logoImage,alt:this.logoImageAltText})):this.logoImage?t("img",{class:n,src:this.logoImage,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?t("a",{style:{color:this.textColor},href:this.titleTextLink,rel:"noopener noreferrer",target:"_blank"},t("h1",{style:{color:this.textColor}},this.titleText)):t("h1",{style:{color:this.textColor}},this.titleText)}async toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),await Promise.resolve()}mqlCallback(){return e=>{let{matches:s}=e;if(s){this.logoScale="s";return}this.logoScale=this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;let e=`(max-width: ${this.mobileWidthBreakpoint}px)`,s=window.matchMedia(e);s.matches&&(this.logoScale="s"),s.addEventListener("change",this.mqlCallback())}get el(){return p(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};u.style=f;export{u as instant_apps_header};
|
package/dist/cdn/IMYZB3YV.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{c as f}from"./H36GDFY7.js";import{a,b as s}from"./OZWDP6Y7.js";import{a as g}from"./TA3ZXQAF.js";import{D as m,c as r,d as i,n as d,x as p,y as h,z as u}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var w=r`/** @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
|
-
*/.minor-card{width:200px}.center{justify-content:center;align-items:center}.align-self-center{align-self:center}.font-weight-semibold{font-weight:var(--calcite-font-weight-semibold)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.icon-color{color:var(--calcite-color-text-3)}.font-weight-normal{font-weight:var(--calcite-font-weight-normal)}.font-weight-medium{font-weight:var(--calcite-font-weight-medium)}.no-space{--calcite-label-margin-bottom: 0px}.font-color{color:red}.padding-end-1-2{padding-inline-end:.5rem}.padding-end-1{padding-inline-end:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.edit-button-position{position:absolute;right:1rem}html[dir=rtl] .edit-button-position{position:absolute;left:1rem}.max-width-20{max-width:20vw}.max-width-35{max-width:35vw}.max-width-40{max-width:40vw}.btn-center{width:100%;display:grid;place-items:center}.width-full{width:100%}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.width-400{width:400px}.padding-3-4{padding:.75rem}.margin-0{margin:0}`,n=class extends h{constructor(){super(...arguments),this.authContextConsumer=p({context:f,subscribe:!0}),this.open=!1,this.showSuccessAlert=!1,this.templateInfos=[],this._configureTitlesOpen=!1,this._displayClass="",this._translations=g({name:"solution-configure-dialog",blocking:!0}),this._editSummaryRef=a(),this._editSummaryPopoverRef=a(),this._editNameRef=a(),this._editNamePopoverRef=a(),this._typeKeywords=[],this.solutionConfigureDialogClose=d()}static{this.properties={authContextConsumer:0,card:0,cardRef:1,open:5,showSuccessAlert:5,templateInfos:0,_configureTitlesOpen:16,_displayClass:16,_translations:16}}static{this.styles=w}async load(){this.templateInfos=await this.cardRef.getTemplates()}updated(t){if(t.has("open")){let e=t.get("open");this.open&&!e&&this.cardRef.getTemplates().then(o=>{this.templateInfos=o})}}render(){return i`<div><calcite-dialog class=${u(this._displayClass)} .heading=${this.card?.title} modal @calciteDialogClose=${()=>{this.open=!1,this.solutionConfigureDialogClose.emit(),this._cleanupPanel(),this.card=void 0,this.templateInfos=[]}} .open=${this.open} outside-close-disabled width=l><div class="display-flex flex-direction-column"><div class="display-flex flex-direction-row padding-bottom-1"><calcite-card-group label>${this._getStartHereCard()}${this._getDiagramCard()}${this._getSolutionCard()}${this._getSolutionVersionCard()}</calcite-card-group></div>${this._getSolutionContents()}</div><div slot=footer-start></div><calcite-button appearance=outline @click=${this._close} slot=footer-end>${this._translations.closeTheDialog}</calcite-button>${this._getSuccessAlert()}</calcite-dialog>${this._getConfigureTitlesDialog()}</div>`}_getConfigureTitlesDialog(){return this._configureTitlesOpen?i`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${()=>{this._displayClass="",this._configureTitlesOpen=!1}} .open=${this._configureTitlesOpen} .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_getSuccessAlert(){return this.showSuccessAlert?i`<calcite-alert auto-close icon=check-circle kind=success .label=${this.card?.title||""} @calciteAlertClose=${()=>{this.showSuccessAlert=!1}} .open=${this.showSuccessAlert}><div slot=message>${this._translations.deploySuccessAlert.replace("{{solutionTitle}}",this.card?.title||"")}</div></calcite-alert>`:""}_getDiagramCard(){return this._getBasicCard(this._translations.diagramOfTheSolution,this._translations.diagramSubText,"model",this._translations.openTheDiagram,"outline",this._openDiagram,void 0)}async _openDiagram(t){this._displayClass="display-none";let e=await this.cardRef.renderDiagramDialog(t);e&&this.listenOn(e,"calciteDialogBeforeClose",()=>{this._displayClass=""})}_getStartHereCard(){return this._getBasicCard(this._translations.startHere,this._translations.startHereSubText,"file-text",this._translations.openTheDiagram,"solid")}_getSolutionVersionCard(){return this._getBasicCard(this._translations.solutionVersion,this._translations.youHaveTheLatestVersion,"check-shield",void 0,void 0,void 0,"Version 3.2")}_getBasicCard(t,e,o,l,_,v,c){return i`<calcite-card class="minor-card max-width-20 font-size-override"><span class="font-weight-medium" slot=heading>${t}</span><div class="display-flex center"><div class="display-flex flex-direction-column center"><calcite-icon class="icon-color" .icon=${o} scale=l></calcite-icon>${c?i`<span class="font-weight-medium">${c}</span>`:""}<p>${e}</p></div></div>${l?i`<div class="btn-center" slot=footer-start><calcite-button .appearance=${_} kind=brand @click=${v}>${l}</calcite-button></div>`:""}</calcite-card>`}_getSolutionCard(){let t="configure-edit-solution-name",e="configure-edit-solution-summary";return i`<calcite-card class="max-width-40 font-size-override"><calcite-label class="font-weight-medium" scale=l slot=heading>${this._translations.aboutYourSolution}</calcite-label><div class="display-flex flex-direction-column"><div class="display-flex align-items-start padding-bottom-1-2"><calcite-label class="font-weight-medium no-space padding-end-1-2" layout=inline>${this._translations.aboutYourSolutionName}</calcite-label><span class="font-weight-medium width-full align-self-start">${this.card?.title}</span><calcite-button appearance=transparent icon-start=pencil id=${t} kind=neutral ${s(this._editNameRef)}></calcite-button></div><div class="display-flex align-items-start padding-bottom-1-2"><calcite-label class="font-weight-medium no-space padding-end-1-2" layout=inline>${this._translations.aboutYourSolutionSummary}</calcite-label><span class="font-weight-medium width-full align-self-center">${this.card?.snippet}</span><calcite-button appearance=transparent icon-start=pencil id=${e} kind=neutral ${s(this._editSummaryRef)}></calcite-button></div><div class="display-flex"><calcite-label class="font-weight-medium no-space padding-end-1" layout=inline>${this._translations.aboutYourSolutionOwner}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.card?.owner}</calcite-link></calcite-label><div class="display-flex"><calcite-label class="no-space icon-color" layout=inline><calcite-icon class="icon-color" icon=projects scale=s></calcite-icon>${this.card?.created}</calcite-label></div></div></div><div slot=footer-start><calcite-button appearance=outline class="padding-end-1" icon-start=arrow-up-down kind=brand @click=${this._showChangeOwner}>${this._translations.changeOwner}</calcite-button><calcite-button appearance=outline class="padding-end-1" icon-start=share kind=brand @click=${this._showItemDetails}>${this._translations.itemDetails}</calcite-button></div><calcite-button appearance=outline icon-start=trash kind=brand @click=${this._deleteSolution} slot=footer-end>${this._translations.deleteSolution}</calcite-button>${this._getEditNamePopover(t)}${this._getEditSummaryPopover(e)}</calcite-card>`}_getSolutionContents(){return i`<div><calcite-label class="font-weight-medium" layout=inline scale=l>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}",this.templateInfos.length.toString())}<calcite-button appearance=outline icon-start=pencil kind=brand @click=${()=>{this._configureTitlesOpen=!0,this._displayClass="display-none"}}>${this._translations.updateTitles}</calcite-button></calcite-label><solution-item-accordion list-selection-mode=single .templateInfos=${this.templateInfos} .typeKeywords=${this._typeKeywords}></solution-item-accordion></div>`}async _deleteSolution(){this._displayClass="display-none";let t=await this.cardRef.renderDeleteDialog();t&&(this.listenOn(t,"calciteDialogBeforeClose",async()=>{this._displayClass="",this.templateInfos=await this.cardRef.getTemplates()}),this.listenOn(t,"solutionDeleted",()=>{this._close()}))}_showItemDetails(){window.open(this.card.itemUrl,"_blank")}_openUserProfile(t){t.stopPropagation();let e=this.authContextConsumer.value?.PortalSubset?.orgUrl;e&&window.open(`${e}/home/user.html`,"_blank")}_showChangeOwner(){}_getEditSummaryPopover(t){return i`<calcite-popover .heading=${this._translations.updateSolutionSummary} label overlay-positioning=fixed .referenceElement=${t} ${s(this._editSummaryPopoverRef)}><calcite-text-area class="padding-3-4 margin-0 width-400" rows=6 .value=${this.card?.snippet||""}></calcite-text-area><div class="display-flex flex-direction-row padding-3-4 margin-0"><calcite-button appearance=outline @click=${()=>this._closeSummaryChangePopup(!1)} width=full>${this._translations.cancelTheDialog}</calcite-button><calcite-button width=full @click=${()=>this._closeSummaryChangePopup(!0)}>${this._translations.ok}</calcite-button></div></calcite-popover>`}_closeSummaryChangePopup(t){console.log(t),this._editSummaryPopoverRef.value&&(this._editSummaryPopoverRef.value.open=!1)}_getEditNamePopover(t){return i`<calcite-popover .heading=${this._translations.updateSolutionName} .label=${this.card?.title||""} overlay-positioning=fixed .referenceElement=${t} ${s(this._editNamePopoverRef)}><calcite-input class="padding-3-4 margin-0 width-400" .value=${this.card?.title}></calcite-input><div class="display-flex flex-direction-row padding-3-4 margin-0"><calcite-button appearance=outline @click=${()=>this._closeNameChangePopup(!1)} width=full>${this._translations.cancelTheDialog}</calcite-button><calcite-button width=full @click=${()=>this._closeNameChangePopup(!0)}>${this._translations.ok}</calcite-button></div></calcite-popover>`}_closeNameChangePopup(t){console.log(t),this._editNamePopoverRef.value&&(this._editNamePopoverRef.value.open=!1)}_close(){this.open=!1}_cleanupPanel(){this._editSummaryPopoverRef.value?.open&&(this._editSummaryPopoverRef.value.open=!1),this._editNamePopoverRef.value?.open&&(this._editNamePopoverRef.value.open=!1)}};m("solution-configure-dialog",n);export{n as SolutionConfigureDialog};
|
package/dist/cdn/JAMFZUE3.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{kc as i}from"./FLX4QZPY.js";export default $arcgis.t(([])=>{function u(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function m(e){return e?i(e,{}).then(t=>Promise.resolve(!!t)):Promise.resolve(!1)}function f(e){if(e){let t=e.trim();return t?"<div>"+t+"</div>":""}else return""}function o(e){let t="",r="?";return e.forEach(n=>{n.k&&n.v&&(t+=r+n.k+"="+n.v,r="&")}),t}function l(e,t,r,n){let s="";return t?s=n+"/sharing/rest/content/items/"+e+"/info/"+t+o([{k:"w",v:"400"}]):s=r,s}function h(e){let t=e?e.replace("https://","").replace("www.",""):"";return t.endsWith("devext.arcgis.com")||t.endsWith("mapsqa.arcgis.com")||t.endsWith("qaext.arcgis.com")?e??"https://www.arcgis.com":"https://www.arcgis.com"}function w(e,t,r){return t.some(n=>n.wkid===e?(r=n.defaultExtent,!0):!1),r}function g(e,t="en"){return new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(e)}function d(e,t){let r="";return e.some(n=>n.startsWith(t)?(r=n.substring(t.length),!0):!1),r}return{a:u,b:m,c:f,d:o,e:l,f:h,g:w,h:g,i:d}},"intl")
|
package/dist/cdn/JRMGFAZK.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{e as o}from"./25JM7WUJ.js";import"./QP26HSVE.js";import"./H3FM5UM6.js";import{a as l,c as i,d,e as h}from"./ML3FDA7I.js";import"./UITEOOYI.js";var c=class{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(t){this.pages=t,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}},u=":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}",_=u,p={contentList:"instant-apps-app-guide__content-list",contentListItem:"instant-apps-app-guide__content-list--item",contentWrapper:"instant-apps-app-guide__content-wrapper"},m=class{constructor(e){l(this,e),this._viewModel=new c,this.header=!0,this.data=void 0,this.messages=void 0,this.headerText=void 0}watchPropHandler(e){this._setContent(e)}watchStateHandler(e){this._viewModel.headerText=e}componentWillLoad(){this._setContent(this?.data)}componentDidLoad(){o(this)}render(){let e=this._renderAppGuidePages(this._viewModel.pages),t=this._renderAppGuideHeader();return i(d,{key:"17ec07719a7ea4692912d8c5e51a0ccfcf4fe448"},i("calcite-panel",{key:"fc659c5fcd7ee8370d79e8c6506cc6f55e784e74",scale:"s"},t,i("calcite-carousel",{key:"aa9b07f8ada18253b1a0fb0bfe228e04c81c6021",label:"App Guide",onCalciteCarouselChange:()=>this._updateHeaderText(),ref:a=>this._carouselRef=a,"arrow-type":this._getArrowType()},e)))}_setContent(e){this._viewModel.setPages(e),this.headerText=this._viewModel.headerText}_updateHeaderText(){let{_viewModel:e,_carouselRef:t,messages:a}=this;if(!(e&&t))return;let n=Array.from(t.childNodes).indexOf(t.selectedItem),r=e?.pages,g=r?.[n]??r[0];this.headerText=g?.title||a?.headerText}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}_renderAppGuideHeader(){let{messages:e,header:t,headerText:a}=this,s=!!t&&e?.headerText,n=a||e?.headerText;return s?i("span",{slot:"header-content"},n," ",i("calcite-icon",{icon:"lightbulb",scale:"s"})):null}_renderAppGuidePages(e){return e.map((t,a)=>{let{content:s,type:n,title:r}=t;return i("calcite-carousel-item",{label:r,key:`page_${a}`},i("div",{class:p.contentWrapper},this._renderContentItems(s,n)))})}_renderContentItems(e,t){switch(t){case"list":return i("ol",{class:p.contentList},e.map((a,s)=>i("li",{key:`content-list-item-${s}`,class:p.contentListItem},a)));case"paragraphs":default:return e.map((a,s)=>i("p",{key:`content-paragraph-${s}`},a))}}get el(){return h(this)}static get watchers(){return{data:["watchPropHandler"],headerText:["watchStateHandler"]}}};m.style=_;export{m as instant_apps_app_guide};
|
package/dist/cdn/JYDRZHOB.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{a}from"./RYQCNLW7.js";import"./65NNPWV7.js";import"./QVLJY52I.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import"./UITEOOYI.js";export{a as buildUiSchema};
|
package/dist/cdn/KQPN7NFG.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{a as D,b as w}from"./PJSBBGLJ.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./WIE3EFBI.js";import"./25FEJN5O.js";import{a as _,b as L}from"./25JM7WUJ.js";import{C as S,D as y}from"./QP26HSVE.js";import"./H3FM5UM6.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./ML3FDA7I.js";import"./UITEOOYI.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
|
package/dist/cdn/KUFJAMWI.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{a as n}from"./TA3ZXQAF.js";import{D as r,c as i,d as s,y as t}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var o=i`/** @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
|
-
*/`,e=class extends t{constructor(){super(...arguments),this._translations=n({name:"solutions-articles",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=o}render(){return s`<div></div>`}};r("solutions-articles",e);export{e as SolutionsArticles};
|
package/dist/cdn/LIXHHHMQ.js
DELETED
package/dist/cdn/ML3FDA7I.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{b as ee}from"./UITEOOYI.js";var Ue=ee({"./instant-apps-app-guide.entry.js":()=>import("./JRMGFAZK.js"),"./instant-apps-ckeditor-wrapper_3.entry.js":()=>import("./FQTZU3Z2.js"),"./instant-apps-control-panel.entry.js":()=>import("./V3XFBVJ2.js"),"./instant-apps-create.entry.js":()=>import("./3IMXMLFS.js"),"./instant-apps-export-views.entry.js":()=>import("./UZTSBHXN.js"),"./instant-apps-export.entry.js":()=>import("./SCOCPPIV.js"),"./instant-apps-filter-list.entry.js":()=>import("./VUZA56M3.js"),"./instant-apps-header.entry.js":()=>import("./IMFE25FS.js"),"./instant-apps-interactive-legend-classic.entry.js":()=>import("./2TT2EKLS.js"),"./instant-apps-interactive-legend-count_2.entry.js":()=>import("./DO5IRX2P.js"),"./instant-apps-interactive-legend-group-legend-element-caption.entry.js":()=>import("./UDYWBQQB.js"),"./instant-apps-interactive-legend-group-legend-element_5.entry.js":()=>import("./H3C4GIDZ.js"),"./instant-apps-interactive-legend.entry.js":()=>import("./HNUCWI6T.js"),"./instant-apps-keyboard-shortcuts.entry.js":()=>import("./GFTMWJE2.js"),"./instant-apps-landing-page.entry.js":()=>import("./YXHSDCRJ.js"),"./instant-apps-language-switcher.entry.js":()=>import("./TNEFDIIG.js"),"./instant-apps-language-translator.entry.js":()=>import("./KQPN7NFG.js"),"./instant-apps-measurement-tool.entry.js":()=>import("./D2UIHI5N.js"),"./instant-apps-measurement.entry.js":()=>import("./DZ75SULS.js"),"./instant-apps-popover.entry.js":()=>import("./VJF6Y7HU.js"),"./instant-apps-popovers.entry.js":()=>import("./XYGVP2FK.js"),"./instant-apps-scoreboard.entry.js":()=>import("./MVAWCLJQ.js"),"./instant-apps-sign-in.entry.js":()=>import("./UUY24OGE.js"),"./instant-apps-social-share.entry.js":()=>import("./O4U6ZUNI.js"),"./instant-apps-splash.entry.js":()=>import("./7M5YUYGE.js"),"./instant-apps-time-filter.entry.js":()=>import("./EL5KWKMD.js")});var ze="instant-apps-components",P={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!0,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},Fe=Object.defineProperty,De=(e,t)=>{for(var s in t)Fe(e,s,{get:t[s],enumerable:!0})},K=new WeakMap,b=e=>K.get(e),Ct=(e,t)=>K.set(t.$lazyInstance$=e,t),He=(e,t)=>{let s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onInstancePromise$=new Promise(n=>s.$onInstanceResolve$=n),s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],K.set(e,s)},te=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),se=new Map,Be=(e,t,s)=>{let n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;let l=se.get(r);if(l)return l[n];return Ue(`./${r}.entry.js`).then(i=>(se.set(r,i),i[n]),w)},j=new Map,qe="{visibility:hidden}.hydrated{visibility:inherit}",pe="slot-fb{display:contents}slot-fb[hidden]{display:none}",ne="http://www.w3.org/1999/xlink",R=typeof window<"u"?window:{},m=R.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},We=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Me=e=>Promise.resolve(e),Xe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),B=!1,re=[],he=[],Ge=(e,t)=>s=>{e.push(s),B||(B=!0,t&&g.$flags$&4?Q(q):g.raf(q))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){w(s)}e.length=0},q=()=>{le(re),le(he),(B=re.length>0)&&g.raf(q)},Q=e=>Me().then(e),Ke=Ge(he,!0),It=e=>{let t=new URL(e,g.$resourcesUrl$);return t.origin!==R.location.origin?t.href:t.pathname},ae={},Qe="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Je=e=>e!=null,Y=e=>(e=typeof e,e==="object"||e==="function");function ge(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Ze={};De(Ze,{err:()=>ye,map:()=>Ve,ok:()=>W,unwrap:()=>et,unwrapErr:()=>tt});var W=e=>({isOk:!0,isErr:!1,value:e}),ye=e=>({isOk:!1,isErr:!0,value:e});function Ve(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(n=>W(n)):W(s)}if(e.isErr){let s=e.value;return ye(s)}throw"should never get here"}var et=e=>{if(e.isOk)return e.value;throw e.value},tt=e=>{if(e.isErr)return e.value;throw e.value},L=(e,t="")=>()=>{},st=(e,t)=>()=>{},me=(e,t,...s)=>{let n=null,r=null,l=null,i=!1,a=!1,o=[],f=d=>{for(let c=0;c<d.length;c++)n=d[c],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((i=typeof e!="function"&&!Y(n))&&(n=String(n)),i&&a?o[o.length-1].$text$+=n:o.push(i?U(null,n):n),a=i)};if(f(s),t){t.key&&(r=t.key),t.name&&(l=t.name);{let d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(c=>d[c]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,lt);let $=U(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$.$name$=l,$},U=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},nt={},rt=e=>e&&e.$tag$===nt,lt={forEach:(e,t)=>e.map(oe).forEach(t),map:(e,t)=>e.map(oe).map(t).map(at)},oe=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),at=e=>{if(typeof e.vtag=="function"){let s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),me(e.vtag,s,...e.vchildren||[])}let t=U(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},ot=(e,t)=>e!=null&&!Y(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,it=e=>b(e).$hostElement$,Ot=(e,t,s)=>{let n=it(e);return{emit:r=>Se(n,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:r})}},Se=(e,t,s)=>{let n=g.ce(t,s);return e.dispatchEvent(n),n},ie=new WeakMap,$t=(e,t,s)=>{let n=j.get(e);Xe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,j.set(e,n)},ct=(e,t,s)=>{var n;let r=be(t),l=j.get(r);if(e=e.nodeType===11?e:m,l)if(typeof l=="string"){e=e.head||e;let i=ie.get(e),a;if(i||ie.set(e,i=new Set),!i.has(r)){{a=m.createElement("style"),a.innerHTML=l;let o=(n=g.$nonce$)!=null?n:ge(m);o!=null&&a.setAttribute("nonce",o),(!(t.$flags$&1)||t.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(a,e.querySelector("link"))}t.$flags$&4&&(a.innerHTML+=pe),i&&i.add(r)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return r},ft=e=>{let t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=L("attachStyles",t.$tagName$),l=ct(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&n&2&&(s["s-sc"]=l,s.classList.add(l+"-h"),n&2&&s.classList.add(l+"-s")),r()},be=(e,t)=>"sc-"+e.$tagName$,$e=(e,t,s,n,r,l)=>{if(s!==n){let i=te(e,t),a=t.toLowerCase();if(t==="class"){let o=e.classList,f=ce(s),$=ce(n);o.remove(...f.filter(d=>d&&!$.includes(d))),o.add(...$.filter(d=>d&&!f.includes(d)))}else if(t==="style"){for(let o in s)(!n||n[o]==null)&&(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(let o in n)(!s||n[o]!==s[o])&&(o.includes("-")?e.style.setProperty(o,n[o]):e.style[o]=n[o])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):te(R,a)?t=a.slice(2):t=a[2]+t.slice(3),s||n){let o=t.endsWith(ke);t=t.replace(ut,""),s&&g.rel(e,t,s,o),n&&g.ael(e,t,n,o)}}else{let o=Y(n);if((i||o&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{let $=n??"";t==="list"?i=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let f=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,f=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(f?e.removeAttributeNS(ne,t):e.removeAttribute(t)):(!i||l&4||r)&&!o&&(n=n===!0?"":n,f?e.setAttributeNS(ne,t,n):e.setAttribute(t,n))}}},dt=/\s/,ce=e=>e?e.split(dt):[],ke="Capture",ut=new RegExp(ke+"$"),Te=(e,t,s)=>{let n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||ae,l=t.$attrs$||ae;for(let i of fe(Object.keys(r)))i in l||$e(n,i,r[i],void 0,s,t.$flags$);for(let i of fe(Object.keys(l)))$e(n,i,r[i],l[i],s,t.$flags$)};function fe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,M,C,z=!1,F=!1,J=!1,S=!1,D=(e,t,s,n)=>{var r;let l=t.$children$[s],i=0,a,o,f;if(z||(J=!0,l.$tag$==="slot"&&(A&&n.classList.add(A+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)a=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)a=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),a=l.$elm$=m.createElementNS(S?Qe:Ye,!z&&P.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),S&&l.$tag$==="foreignObject"&&(S=!1),Te(null,l,S),!!a.getRootNode().querySelector("body")&&P.scoped&&Je(A)&&a["s-si"]!==A&&a.classList.add(a["s-si"]=A),V(a,n),l.$children$)for(i=0;i<l.$children$.length;++i)o=D(e,l,i,a),o&&a.appendChild(o);l.$tag$==="svg"?S=!1:a.tagName==="foreignObject"&&(S=!0)}return a["s-hn"]=C,l.$flags$&3&&(a["s-sr"]=!0,a["s-cr"]=M,a["s-sn"]=l.$name$||"",a["s-rf"]=(r=l.$attrs$)==null?void 0:r.ref,f=e&&e.$children$&&e.$children$[s],f&&f.$tag$===l.$tag$&&e.$elm$&&I(e.$elm$,!1)),a},I=(e,t)=>{g.$flags$|=1;let s=Array.from(e.childNodes);if(e["s-sr"]&&P.experimentalSlotFixes){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===C&&s.push(n)}for(let n=s.length-1;n>=0;n--){let r=s[n];r["s-hn"]!==C&&r["s-ol"]&&(E(Ee(r),r,Z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,J=!0),t&&I(r,t)}g.$flags$&=-2},xe=(e,t,s,n,r,l)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);r<=l;++r)n[r]&&(a=D(null,s,r,e),a&&(n[r].$elm$=a,E(i,a,Z(t))))},Le=(e,t,s)=>{for(let n=t;n<=s;++n){let r=e[n];if(r){let l=r.$elm$;_e(r),l&&(F=!0,l["s-ol"]?l["s-ol"].remove():I(l,!0),l.remove())}}},vt=(e,t,s,n,r=!1)=>{let l=0,i=0,a=0,o=0,f=t.length-1,$=t[0],d=t[f],c=n.length-1,u=n[0],p=n[c],h,y;for(;l<=f&&i<=c;)if($==null)$=t[++l];else if(d==null)d=t[--f];else if(u==null)u=n[++i];else if(p==null)p=n[--c];else if(N($,u,r))_($,u,r),$=t[++l],u=n[++i];else if(N(d,p,r))_(d,p,r),d=t[--f],p=n[--c];else if(N($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&I($.$elm$.parentNode,!1),_($,p,r),E(e,$.$elm$,d.$elm$.nextSibling),$=t[++l],p=n[--c];else if(N(d,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&I(d.$elm$.parentNode,!1),_(d,u,r),E(e,d.$elm$,$.$elm$),d=t[--f],u=n[++i];else{for(a=-1,o=l;o<=f;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){a=o;break}a>=0?(y=t[a],y.$tag$!==u.$tag$?h=D(t&&t[i],s,a,e):(_(y,u,r),t[a]=void 0,h=y.$elm$),u=n[++i]):(h=D(t&&t[i],s,i,e),u=n[++i]),h&&E(Ee($.$elm$),h,Z($.$elm$))}l>f?xe(e,n[c+1]==null?null:n[c+1].$elm$,s,n,i,c):i>c&&Le(t,l,f)},N=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,Z=e=>e&&e["s-ol"]||e,Ee=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t,s=!1)=>{let n=t.$elm$=e.$elm$,r=e.$children$,l=t.$children$,i=t.$tag$,a=t.$text$,o;a===null?(S=i==="svg"?!0:i==="foreignObject"?!1:S,i==="slot"&&!z||Te(e,t,S),r!==null&&l!==null?vt(n,r,t,l,s):l!==null?(e.$text$!==null&&(n.textContent=""),xe(n,null,t,l,0,l.length-1)):!s&&P.updatable&&r!==null&&Le(r,0,r.length-1),S&&i==="svg"&&(S=!1)):(o=n["s-cr"])?o.parentNode.textContent=a:e.$text$!==a&&(n.data=a)},we=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let n=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||n!==""){if(r.nodeType===1&&(n===r.getAttribute("slot")||n===r["s-sn"])||r.nodeType===3&&n===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}we(s)}},T=[],Ae=e=>{let t,s,n;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let l=r["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"]&&!P.experimentalSlotFixes)if(de(t,l)){let i=T.find(a=>a.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||l,i?(i.$nodeToRelocate$["s-sh"]=r["s-hn"],i.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],T.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&T.map(a=>{de(a.$nodeToRelocate$,t["s-sn"])&&(i=T.find(o=>o.$nodeToRelocate$===t),i&&!a.$slotRefNode$&&(a.$slotRefNode$=i.$slotRefNode$))})}else T.some(i=>i.$nodeToRelocate$===t)||T.push({$nodeToRelocate$:t})}r.nodeType===1&&Ae(r)}},de=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",_e=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(_e)},E=(e,t,s)=>{let n=e?.insertBefore(t,s);return V(t,e),n},Pe=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...Pe(e.parentElement)),t},V=(e,t,s=!1)=>{var n;if(e&&t&&e.nodeType===1){let r=new Set(Pe(t).filter(Boolean));if(r.size&&((n=e.classList)==null||n.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let l of Array.from(e.childNodes))V(l,e,!0)}},pt=(e,t,s=!1)=>{var n,r,l,i;let a=e.$hostElement$,o=e.$cmpMeta$,f=e.$vnode$||U(null,null),$=rt(t)?t:me(null,null,t);if(C=a.tagName,o.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},o.$attrsToReflect$.map(([d,c])=>$.$attrs$[c]=a[d])),s&&$.$attrs$)for(let d of Object.keys($.$attrs$))a.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=a[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=f.$elm$=a.shadowRoot||a,A=a["s-sc"],z=(o.$flags$&1)!==0,M=a["s-cr"],F=!1,_(f,$,s);{if(g.$flags$|=1,J){Ae($.$elm$);for(let d of T){let c=d.$nodeToRelocate$;if(!c["s-ol"]){let u=m.createTextNode("");u["s-nr"]=c,E(c.parentNode,c["s-ol"]=u,c)}}for(let d of T){let c=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){let p=u.parentNode,h=u.nextSibling;{let y=(n=c["s-ol"])==null?void 0:n.previousSibling;for(;y;){let v=(r=y["s-nr"])!=null?r:null;if(v&&v["s-sn"]===c["s-sn"]&&p===v.parentNode){for(v=v.nextSibling;v===c||v?.["s-sr"];)v=v?.nextSibling;if(!v||!v["s-nr"]){h=v;break}}y=y.previousSibling}}(!h&&p!==c.parentNode||c.nextSibling!==h)&&c!==h&&(!c["s-hn"]&&c["s-ol"]&&(c["s-hn"]=c["s-ol"].parentNode.nodeName),E(p,c,h),c.nodeType===1&&(c.hidden=(l=c["s-ih"])!=null?l:!1)),c&&typeof u["s-rf"]=="function"&&u["s-rf"](c)}else c.nodeType===1&&(s&&(c["s-ih"]=(i=c.hidden)!=null?i:!1),c.hidden=!0)}}F&&we($.$elm$),g.$flags$&=-2,T.length=0}M=void 0},Re=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Re(e,e.$ancestorComponent$),Ke(()=>ht(e,t))},ht=(e,t)=>{let s=e.$hostElement$,n=L("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t?(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([i,a])=>x(r,i,a)),e.$queuedListeners$=void 0),l=x(r,"componentWillLoad")):l=x(r,"componentWillUpdate"),l=ue(l,()=>x(r,"componentWillRender")),n(),ue(l,()=>yt(e,r,t))},ue=(e,t)=>gt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),gt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",yt=async(e,t,s)=>{var n;let r=e.$hostElement$,l=L("update",e.$cmpMeta$.$tagName$),i=r["s-rc"];s&&ft(e);let a=L("render",e.$cmpMeta$.$tagName$);mt(e,t,r,s),i&&(i.map(o=>o()),r["s-rc"]=void 0),a(),l();{let o=(n=r["s-p"])!=null?n:[],f=()=>St(e);o.length===0?f():(Promise.all(o).then(f),e.$flags$|=4,o.length=0)}},X=null,mt=(e,t,s,n)=>{try{X=t,t=t.render(),e.$flags$&=-17,e.$flags$|=2,pt(e,t,n)}catch(r){w(r,e.$hostElement$)}return X=null,null},Nt=()=>X,St=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=L("postUpdate",t),r=e.$lazyInstance$,l=e.$ancestorComponent$;x(r,"componentDidRender"),e.$flags$&64?(x(r,"componentDidUpdate"),n()):(e.$flags$|=64,Ie(s),x(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),l||Ce()),e.$onInstanceResolve$(s),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Q(()=>H(e,!1)),e.$flags$&=-517},jt=e=>{{let t=b(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&H(t,!1),s}},Ce=e=>{Ie(m.documentElement),Q(()=>Se(R,"appload",{detail:{namespace:ze}}))},x=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){w(n)}},Ie=e=>{var t;return e.classList.add((t=P.hydratedSelectorName)!=null?t:"hydrated")},bt=(e,t)=>b(e).$instanceValues$.get(t),kt=(e,t,s,n)=>{let r=b(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);let l=r.$hostElement$,i=r.$instanceValues$.get(t),a=r.$flags$,o=r.$lazyInstance$;s=ot(s,n.$members$[t][0]);let f=Number.isNaN(i)&&Number.isNaN(s),$=s!==i&&!f;if((!(a&8)||i===void 0)&&$&&(r.$instanceValues$.set(t,s),o)){if(n.$watchers$&&a&128){let d=n.$watchers$[t];d&&d.map(c=>{try{o[c](s,i,t)}catch(u){w(u,l)}})}(a&18)===2&&H(r,!1)}},Oe=(e,t,s)=>{var n,r;let l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);let i=Object.entries((n=t.$members$)!=null?n:{});if(i.map(([a,[o]])=>{o&31||s&2&&o&32?Object.defineProperty(l,a,{get(){return bt(this,a)},set(f){kt(this,a,f,t)},configurable:!0,enumerable:!0}):s&1&&o&64&&Object.defineProperty(l,a,{value(...f){var $;let d=b(this);return($=d?.$onInstancePromise$)==null?void 0:$.then(()=>{var c;return(c=d.$lazyInstance$)==null?void 0:c[a](...f)})}})}),s&1){let a=new Map;l.attributeChangedCallback=function(o,f,$){g.jmp(()=>{var d;let c=a.get(o);if(this.hasOwnProperty(c))$=this[c],delete this[c];else{if(l.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==$)return;if(c==null){let u=b(this),p=u?.$flags$;if(p&&!(p&8)&&p&128&&$!==f){let h=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[o];y?.forEach(v=>{h[v]!=null&&h[v].call(h,$,f,o)})}return}}this[c]=$===null&&typeof this[c]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...i.filter(([o,f])=>f[0]&15).map(([o,f])=>{var $;let d=f[1]||o;return a.set(d,o),f[0]&512&&(($=t.$attrsToReflect$)==null||$.push([o,d])),d})]))}}return e},Tt=async(e,t,s,n)=>{let r;if((t.$flags$&32)===0){if(t.$flags$|=32,s.$lazyBundleId$){let o=Be(s);if(o&&"then"in o){let $=st();r=await o,$()}else r=o;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,Oe(r,s,2),r.isProxied=!0);let f=L("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,f(),G(t.$lazyInstance$)}else{r=e.constructor;let o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);let f=be(s);if(!j.has(f)){let $=L("registerStyles",s.$tagName$);$t(f,o,!!(s.$flags$&1)),$()}}}let l=t.$ancestorComponent$,i=()=>H(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()},G=e=>{x(e,"connectedCallback")},xt=e=>{if((g.$flags$&1)===0){let t=b(e),s=t.$cmpMeta$,n=L("connectedCallback",s.$tagName$);if(t.$flags$&1)Ne(e,t,s.$listeners$),t?.$lazyInstance$?G(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>G(t.$lazyInstance$));else{t.$flags$|=1,s.$flags$&12&&Lt(e);{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[l]])=>{if(l&31&&e.hasOwnProperty(r)){let i=e[r];delete e[r],e[r]=i}}),Tt(e,t,s)}n()}},Lt=e=>{let t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,E(e,t,e.firstChild)},ve=e=>{x(e,"disconnectedCallback")},Et=async e=>{if((g.$flags$&1)===0){let t=b(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t?.$lazyInstance$?ve(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ve(t.$lazyInstance$))}},Ut=(e,t={})=>{var s;let n=L(),r=[],l=t.exclude||[],i=R.customElements,a=m.head,o=a.querySelector("meta[charset]"),f=m.createElement("style"),$=[],d,c=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(h=>{var y;let v={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};v.$flags$&4&&(u=!0),v.$members$=h[2],v.$listeners$=h[3],v.$attrsToReflect$=[],v.$watchers$=(y=h[4])!=null?y:{};let O=v.$tagName$,je=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,He(k,v),v.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){let k=b(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),c?$.push(this):g.jmp(()=>xt(this))}disconnectedCallback(){g.jmp(()=>Et(this))}componentOnReady(){return b(this).$onReadyPromise$}};v.$lazyBundleId$=p[0],!l.includes(O)&&!i.get(O)&&(r.push(O),i.define(O,Oe(je,v,1)))})}),r.length>0&&(u&&(f.textContent+=pe),f.textContent+=r.sort()+qe,f.innerHTML.length)){f.setAttribute("data-styles","");let p=(s=g.$nonce$)!=null?s:ge(m);p!=null&&f.setAttribute("nonce",p),a.insertBefore(f,o?o.nextSibling:a.firstChild)}c=!1,$.length?$.map(p=>p.connectedCallback()):g.jmp(()=>d=setTimeout(Ce,30)),n()},zt=(e,t)=>t,Ne=(e,t,s,n)=>{s&&s.map(([r,l,i])=>{let a=At(e,r),o=wt(t,i),f=_t(r);g.ael(a,l,o,f),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(a,l,o,f))})},wt=(e,t)=>s=>{var n;try{e.$flags$&256?(n=e.$lazyInstance$)==null||n[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(r){w(r)}},At=(e,t)=>t&8?R:e,_t=e=>We?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;export{Ct as a,It as b,me as c,nt as d,it as e,Ot as f,Nt as g,jt as h,Ut as i,zt as j};
|
package/dist/cdn/MTDAXKJA.js
DELETED
package/dist/cdn/MVAWCLJQ.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{d as I}from"./25JM7WUJ.js";import{C as x,b as g,c as w,z as v}from"./QP26HSVE.js";import{a as V}from"./MTDAXKJA.js";import"./H3FM5UM6.js";import{a as L,c,d as E,e as S,f as P}from"./ML3FDA7I.js";import"./UITEOOYI.js";var D=":host{display:block;--instant-apps-scoreboard-background-color:var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color:var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom:0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0px 3px 15px rgba(0, 0, 0, 0.2);border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding:1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%, -15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:0.5vh;padding-bottom:0.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}",$=D,u="instant-apps-scoreboard",U=6,C=`${u}--`,p=`${u}__`,F=V.medium[1],m={BASE:u,itemsContainer:`${p}items-container`,items:`${p}items`,item:`${p}item`,label:`${p}item-label`,value:`${p}item-value`,valuePlaceholder:`${p}item-value-placeholder`,position:{bottom:`${p}position--bottom`,side:`${p}position--side`,left:`${p}position--left`,right:`${p}position--right`},mode:{floating:`${p}mode--floating`,pinned:`${p}mode--pinned`}},A=class{constructor(t){L(this,t),this.scoreboardItemsUpdated=P(this,"scoreboardItemsUpdated",7),this.view=void 0,this.items=void 0,this.position="bottom",this.mode="floating",this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.state="loading",this.messages=void 0,this.itemIndex=0,this.layers=void 0,this.layerViews=void 0,this.isMobile=!1}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state="calculating",await(this.view?.map).loadAll();let t=this.items.map(e=>e?.layer?.id),s=e=>e.type!=="feature"||!e.isTable,o=e=>e.type==="feature"||e.type==="scene",i=e=>t.includes(e.id),a=e=>s(e)&&o(e)&&i(e);this.layers=this.view?.map?.allLayers?.filter(e=>a(e)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(e=>e.outFields=["*"]);let t=[];this.layers.forEach(e=>{let n=e,r=this.view?.whenLayerView(n);t.push(r)});let i=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled"&&e.value).map(e=>e.value),a=[];i.forEach(e=>a.push(this.reactiveUtils?.whenOnce(()=>!e.updating))),await Promise.all(a),this.layerViews=await g([...i])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state="calculating";let t=[...this.items],s=[];this.queryStatDefinitions(t,s);let o=await Promise.all(s);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(i=>this.items.push(i)),this.state="complete",this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async componentWillLoad(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});this.el?.parentElement&&t.observe(this.el.parentElement);try{this.state="loading",await this.initMessages()}catch{return this.state="disabled",Promise.reject(new Error("Failed to load messages"))}finally{if(!this.view||!this.items)this.state="disabled";else try{await this.initModules()}catch{this.state="disabled"}}}async componentDidLoad(){if(this.state!=="disabled")try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state="disabled",console.error(`${u}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){this.state="disabled",this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initMessages(){let t;try{return t=(await I(this.el))[0],this.messages={...this.messages,...t},Promise.resolve()}catch{console.error("FAILED TO LOAD MESSAGES")}}async initModules(){try{let[t,s]=await Promise.all([v(),x()]);return this.reactiveUtils=t,this.intl=s,this.handles=await w(),this.layers=await g([]),this.layerViews=await g([]),Promise.resolve()}catch(t){throw console.error(t),this.state="disabled",new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,s=t;try{return await s.loadAll(),Promise.resolve()}catch(o){throw console.error(o),this.state="disabled",new Error("Failed to load map resources")}}}generateUID(){return t=>{let s=Math.random(),o=Math.floor(Math.random()*10)+11,a=s.toString(o).replace("0.","");t.uid=a}}render(){let{state:t}=this,s=t==="loading",o=t==="calculating",i=t==="disabled",a=s||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null,e=this.getPositionClass,n=this.getStyleClass;return c(E,{key:"2ec5b4e44c244ee935453d96887e07633f2abf37",class:`${e} ${n}`},i?null:[a,this.items?.length>0?this.renderBase():null])}renderBase(){return c("div",{key:"instant-apps-scoreboard-base",class:u},this.renderContent())}renderContent(){let{state:t}=this;return t==="loading"?this.renderLoader():t==="calculating"||t==="complete"?this.renderItemsContainer():null}renderItemsContainer(){let[t,s]=this.renderPreviousNextButtons();return c("div",{class:m.itemsContainer},t,this.renderItems(),s)}renderPreviousNextButtons(){let t=this.getItemLimit(),s=this.items.filter(k=>k.visible)?.length<=t,o=this.itemIndex===0,i=this.isEnd,a=this.isMobile?!0:this.position==="bottom",e=a?"start":"center",l={previous:a?"chevron-left":"chevron-up",next:a?"chevron-right":"chevron-down"},d=o||s?"blank":l.previous,h=i||s?"blank":l.next,b={previous:o||s,next:i||s},_="transparent",f=this.isMobile?"s":"l",y={previous:this.messages?.previous,next:this.messages?.next};return[c("calcite-action",{onClick:this.previousItem.bind(this),icon:d,disabled:b.previous,alignment:e,scale:f,appearance:_,text:y.previous??"",label:y.previous}),c("calcite-action",{onClick:this.nextItem.bind(this),icon:h,disabled:b.next,alignment:e,scale:f,appearance:_,text:y.next??"",label:y.next})]}renderItems(){let{items:t}=m,o=this.getItemsToDisplay.map(i=>this.renderItem(i));return c("ul",{class:t},o)}renderItem(t){let{label:s}=t;return c("li",{class:m.item},c("span",{class:m.label,title:s},s),this.renderValue(t))}renderValue(t){let{displayValue:s}=t,o=this.state==="calculating",i=this.state==="disabled",a=s===void 0&&o,e=s||this.messages?.NA,r=!this.layers?.find(d=>t?.layer?.id===d.id)?.visible,l=a?this.renderValuePlaceholder():i?"":r?c("calcite-icon",{icon:"view-hide",scale:"l",title:this.messages?.layerVisibilityOff}):e;return c("span",{class:m.value},l)}renderValuePlaceholder(){return c("span",{class:m.valuePlaceholder})}renderProgress(){let t=`${C}calcite-`;return c("calcite-progress",{key:`${t}progress`,type:"indeterminate"})}renderLoader(){let t=`${C}calcite-`,s=this.messages?.loading;return c("calcite-loader",{key:`${t}loader`,label:s??"",text:s,scale:"m"})}get getPositionClass(){let{bottom:t,left:s,right:o,side:i}=m.position,a=`${this.position==="left"?s:o} ${i}`;return this.isMobile||this.position==="bottom"?t:a}get getStyleClass(){let{floating:t,pinned:s}=m.mode;return this.isMobile?s:this.mode==="floating"?t:s}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<F:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(s=>s.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),o=this.items.slice(this.items.length-t).map(a=>a.uid),i=this.items.slice(this.itemIndex,this.itemIndex+t).map(a=>a.uid);return o.every((a,e)=>a===i[e])}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,s){let o=e=>{let{field:n,operation:r}=e,l=n,d=`${n}_${r}`;return{onStatisticField:l,outStatisticFieldName:d,statisticType:r}},i=(e,n)=>{let r=this.queryType==="layer"?e.layer.createQuery():e.createQuery(),l=[n],d=this.geometry?this.geometry:this.view?.extent;r.outStatistics=l,r.geometry=d;let h=e?.filter?.timeExtent??e?.featureEffect?.filter?.timeExtent??null;return h&&(r.timeExtent=h),r},a=()=>async e=>{let n=this.layerViews?.find(h=>h.layer.id===e?.layer?.id);if(!n)return;let r=o(e),l=i(n,r),d=this.queryType==="layer"?n.layer.queryFeatures(l):n.queryFeatures(l);s.push(d)};t.forEach(a())}handleQueryFeaturesResponses(t,s){let o=e=>{let r=e.features[0],{attributes:l}=r;return Object.values(l)[0]},i=()=>({notation:"compact",compactDisplay:"short"}),a=()=>(e,n)=>{let r=o(e),l=i(),d=r!==null,h=d?this.intl.formatNumber(r,l):null,b=d?`${h}`:"";s[n].displayValue=b,s[n].value=r};t.forEach(a())}initStationaryWatcher(){let t={once:!0,initial:!0},s=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>s()),i="stationary-watcher-key";this.handles?.has(i)&&this.handles.remove(i),this.handles?.add(o(),i)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let s=[],o=i=>{let a=async()=>{let n=await this.view?.whenLayerView(i);await this.reactiveUtils.whenOnce(()=>!n?.updating),this.calculateScoreboardItemValues()},e=this.reactiveUtils.watch(()=>i?.visible,async()=>await a());s.push(e)};this.layers.forEach(o),this.handles?.add([...s],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?U:this.itemLimit}get el(){return S(this)}static get watchers(){return{items:["generateUIDs","storeLayers"],layers:["storeLayerViews"],geometry:["calculateScoreboardItemValuesFromGeometry"],layerViews:["calculateScoreboardItemValues"]}}};A.style=$;export{A as instant_apps_scoreboard};
|
package/dist/cdn/NTSPFMPN.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import"./LIXHHHMQ.js";import a from"./TXB56MNF.js";import{a as v,b as o,c as w,d as C,e as c}from"./Z4WD3SG2.js";import{a as g,b as m,c as _}from"./H36GDFY7.js";import"./FLX4QZPY.js";import"./2IRIOH44.js";import"./I3ZD6IV4.js";import"./RIQFARZP.js";import"./GKBVNMEW.js";import"./IHQISHAM.js";import"./Q66CZJP6.js";import"./2VXYY4NW.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import{a as f,b}from"./OZWDP6Y7.js";import{a as y}from"./TA3ZXQAF.js";import{A as s,B as n,D as u,c as p,d as i,n as r,w as l,y as h}from"./D3RXCR6Q.js";import"./UITEOOYI.js";export default $arcgis.t(([x])=>{var $=p`/** @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
|
-
*/.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:.5rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}`,d=class extends h{constructor(){super(),this.solutionsCount=0,this.sortType="created",this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=y({name:"solutions-deployed-shell",blocking:!0}),this._solutionsDeployedPanelRef=f(),this._authContextProvider=l({context:_}),this._isMobileContextProvider=l({context:m}),this._userSessionContextProvider=l({context:g}),this.filterRemoved=r(),this.tokenRefreshed=r(),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={solutionsCount:9,sortType:1,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=$}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){let e=new x(v,o,c);await e.init(),e.SignedIn||e.signIn(),this._authContextProvider.setValue(e),e.RestUserSession&&this._userSessionContextProvider.setValue(e.RestUserSession)}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab" icon-start=${e??n} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="border-override header-override background-override"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}</div><div slot=header-actions-end>${this._renderDropdown()}</div>${this.isMobile&&this.filterOpen&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}_getFilterPanel(){let e=this.filterOpen?{display:"block"}:"";return this.isMobile?i`<calcite-panel class="filter background-override" id=solutions-all-shell-panel-start style=${s(e)}><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start slot=panel-start style=${s(e)} position=start><solutions-filter-panel @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-deployed-panel .agoSolutionsGroupId=${w} .enterpriseSolutionsGroupId=${C} .locale=${c} .orgUrl=${o} @deployedCardsFetched=${this._updateSolutionCount} .portalUrl=${o} .sortType=${this.sortType} style=${s(e)} ${b(this._solutionsDeployedPanelRef)}></solutions-deployed-panel>`}_renderChips(){return this.filters.length>0?this.filters.map(e=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${e.displayValue} @calciteChipClose=${()=>this._chipClosed(e.displayValue)} .value=${e.displayValue}>${e.displayValue}</calcite-chip>`):void 0}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByDateDeployed,sortType:"created"}];return i`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??n}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"created":t=this._translations.sortByDateDeployed;break;case"relevance":t=this._translations.sortByRelevance;break;case"title":t=this._translations.sortByTitle;break}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this._solutionsDeployedPanelRef.value?.searchSolutions({sortType:e})}_chipClosed(e){let t=this.filters.filter(a=>a.displayValue===e);this.filters=this.filters.filter(a=>a.displayValue!==e),this._solutionsDeployedPanelRef.value?.searchSolutions(),t.length>0&&this.filterRemoved.emit(t[0])}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){e.detail?("displayValue"in e.detail&&"type"in e.detail&&e.detail.type==="industry"&&(this.filters=this.filters.filter(t=>t.type!=="industry"),this.filters.push(e.detail)),this._solutionsDeployedPanelRef.value?.searchSolutions(e.detail)):(this.filters=[],this._solutionsDeployedPanelRef.value?.searchSolutions())}};u("solutions-deployed-shell",d);return d},a)
|
package/dist/cdn/O4U6ZUNI.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{e as P}from"./25JM7WUJ.js";import{A as R,C,D as L,d as k,e as y}from"./QP26HSVE.js";import"./H3FM5UM6.js";import{a as S,c as e,d as E,e as $}from"./ML3FDA7I.js";import"./UITEOOYI.js";var j=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}",Z=j,o="instant-apps-social-share",I=".calcite-mode-dark",a={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},q={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},G="https://arcg.is/prod/shorten",T="1",X=class{constructor(t){S(this,t),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let s=t.target,i=this.shareListRef.children[0],r=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&s===i?(t.preventDefault(),r.focus()):!t.shiftKey&&s===r&&(t.preventDefault(),i.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let s=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(s)}else{let s=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(s)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:a.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),s=this.shareIconsLayout==="vertical"?` ${a.layout.vertical}`:` ${a.layout.horizontal}`,i=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,r=e("div",{key:"28cd0fbc9f67a770aa7b060119daadc755016c50",ref:n=>this.dialogContentRef=n,class:`${a.dialog}${s}${i}`},t),h=this.removePopoverOffset?0:6;return e(E,{key:"6a12464d22a64daa885e29f0fad2dce2dc22d4ec"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:n=>{n&&(this.popoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":h,"pointer-disabled":this.removePopoverOffset},r),this.renderButton()]:[r,e("calcite-popover",{ref:n=>{n&&(this.copyLinkPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:n=>{n&&(this.copyEmbedPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:i=>{this.isNativeShareEnabled?(i.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(i)},id:"shareButton",class:a.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},s=e("div",{class:a.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,kind:this.shareButtonColor,appearance:"transparent"},s):e("calcite-action",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,appearance:"transparent",text:"",alignment:"center"},s)}renderSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,s=document.dir==="rtl"?` ${a.rtl.optionText}`:"";return e("ul",{ref:i=>this.shareListRef=i,class:a.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${a.optionText}${s}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderFacebookIcon()),e("span",{class:`${a.optionText}${s}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderXIcon()),e("span",{class:`${a.optionText}${s}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderLinkedInIcon()),e("span",{class:`${a.optionText}${s}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderBlueSkyIcon()),e("span",{class:`${a.optionText}${s}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return s=>{let i=s.code;(i==="Space"||i==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?a.xLogo.dark:a.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("path",{d:"M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:a.tipContainer},e("span",{class:a.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:a.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,s=document.dir==="rtl"?` ${a.rtl.textArea}`:"";return e("div",{class:a.embed.container},e("span",{class:a.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:a.embed.embedCode.container},e("div",{class:a.embed.embedCode.textArea},e("textarea",{ref:i=>this.embedCodeRef=i,cols:30,rows:5,readonly:!0,class:s,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:a.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:a.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:a.embed.dimensions.container},e("label",{class:a.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:i=>this.embedWidthRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:a.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:i=>this.embedHeightRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let s=t==="width"?this.embedWidthRef:this.embedHeightRef,i=t==="width"?"embedWidth":"embedHeight";return()=>{s&&Number.parseFloat(s.value)<=0&&(this[i]=Number.parseInt(T),s.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let s=null,i=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!i;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let c=s||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(c),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let n;r&&(n=window.open("","_blank"),this.shortenShareUrl&&(c=await this.shortenUrl(this.shareUrl)||c));let p={url:encodeURI(c)},b=t==="x"?{...p,text:this.shareText}:p,f=(await C()).substitute(q[t],b);this.mode==="popover"&&this.closePopover(),r&&n?(n.location=f,n.focus()):window.open(encodeURI(f),"_blank")}break;case"native-share":let h={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(c)};navigator?.canShare(h)?navigator.share(h).catch(n=>{console.error("Error using native share:",n)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let r=(await(await L())(G,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(r)return r.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:s}=this.view.center,{spatialReference:i}=this.view,r=await y({...i.toJSON()}),c=await k({x:t,y:s,spatialReference:r}),h=await this.processPoint(c),{isWGS84:n,isWebMercator:p}=h.spatialReference,b=n||p;return this.generateShareUrlParams(h,b)}async processPoint(t){let{isWGS84:s,isWebMercator:i}=t.spatialReference;if(s||i)return t;let r=await R(),c=await y({wkid:4326}),h=this.view?.spatialReference??c;try{await r.load();let n=r.execute(t,h);return Promise.resolve(n)}catch(n){console.error("Failed to project point to outSpatialReference",n);try{let p=r.execute(t,c);return Promise.resolve(p)}catch(p){return console.error("Failed to project point to fallbackOutSpatialReference",p),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(t,s){let{longitude:i,latitude:r,x:c,y:h}=t;if(i===void 0||r===void 0)return this.shareUrl;let n=this.roundValue(s?i:c),p=this.roundValue(s?r:h),{zoom:b}=this.view,w=this.roundValue(b),f=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,v,_;if(f&&z&&f?.layer?.type==="feature"){let u=f?.layer;g=u?.id,v=f.attributes[u.objectIdField]}_=this.view.map?.allLayers.filter(u=>!u.visible).toArray().map(u=>u.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:d}=l;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),U==="3d"){let{camera:u}=this.view,{heading:D,position:O,tilt:B}=u,{longitude:A,latitude:H,x:M,y:N,z:F}=O,K=s?A:M,W=s?H:N,x={longitude:this.roundValue(K,8),latitude:this.roundValue(W,8),z:this.roundValue(F,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},V=`cam:${x.longitude},${x.latitude},${x.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",V),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${n};${p}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}roundValue(t,s=4){return Number.parseFloat(t.toFixed(s))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};X.style=Z;export{X as instant_apps_social_share};
|
package/dist/cdn/OGRHFK6Y.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{a,b}from"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";export{a as SiteEditorTypes,b as getSiteSchema};
|
package/dist/cdn/OOX6G6UE.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{a as r}from"./TA3ZXQAF.js";import{D as o,c as t,d as i,p as s,y as n}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var a=t`@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
|
-
*/}`,e=class extends n{constructor(){super(...arguments),this._translations=r({name:"solutions-article-panel",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=a}static{this.shadowRootOptions=s}render(){return i`<calcite-panel></calcite-panel>`}};o("solutions-article-panel",e);export{e as SolutionsArticlePanel};
|
package/dist/cdn/OZWDP6Y7.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{f as c,r as $,s as d,t as f,u as A}from"./D3RXCR6Q.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
|
package/dist/cdn/PJSBBGLJ.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{j as n}from"./QP26HSVE.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w as b};
|
package/dist/cdn/PSUWSWTK.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.5 */
|
4
|
-
import{a,b}from"./CGZZGJLP.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";export{a as PageEditorTypes,b as PageSchema};
|