@esri/solutions-components 1.1.0-next.20250821.1 → 1.1.0-next.20250821.2
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/{ZB42626S.js → 22D2GNVK.js} +2 -2
- package/dist/cdn/{6RBPF6YT.js → 235ZLOWS.js} +2 -2
- package/dist/cdn/{YHD7EEMT.js → 25FWEEDO.js} +2 -2
- package/dist/cdn/{VB5WN4BU.js → 26QJ6HVY.js} +2 -2
- package/dist/cdn/{XEEWUKZB.js → 2L2LYXAF.js} +2 -2
- package/dist/cdn/{5I7C3JNJ.js → 2MPP7TLB.js} +2 -2
- package/dist/cdn/{WGGU2HPZ.js → 2OCWJGO5.js} +2 -2
- package/dist/cdn/{H56NGIIN.js → 2ONRGEDI.js} +1 -1
- package/dist/cdn/{4JO7DM7O.js → 2Q6RFLIR.js} +2 -2
- package/dist/cdn/2SXEZ7CP.js +4 -0
- package/dist/cdn/{IPYJPOI6.js → 2SXOYN6G.js} +2 -2
- package/dist/cdn/{UUWJU2VO.js → 2W6KIE5P.js} +2 -2
- package/dist/cdn/{URWY7PHQ.js → 3253F3UY.js} +2 -2
- package/dist/cdn/{FRDR4YX3.js → 3GD3JAJJ.js} +2 -2
- package/dist/cdn/{H4PO74Y6.js → 3J23AOO7.js} +1 -1
- package/dist/cdn/{DTBYU6FN.js → 3NCTD2EX.js} +2 -2
- package/dist/cdn/3P4C36A4.js +4 -0
- package/dist/cdn/{LRFFK2TK.js → 3TAJ7NC2.js} +2 -2
- package/dist/cdn/{AOH34Q5Q.js → 3XIKAT2B.js} +2 -2
- package/dist/cdn/{VZPO4VJ3.js → 3XJVGSL6.js} +2 -2
- package/dist/cdn/{SE34BZAK.js → 4AXYFP6H.js} +2 -2
- package/dist/cdn/{KXXE7OHI.js → 4DSFARVO.js} +1 -1
- package/dist/cdn/{UXPG2CGK.js → 4EM5LGWW.js} +2 -2
- package/dist/cdn/{EP4DMPRV.js → 4FWQ3PCZ.js} +2 -2
- package/dist/cdn/{ODPP23TA.js → 4GGPYMIY.js} +2 -2
- package/dist/cdn/{XZBFWMKC.js → 4HA4HORS.js} +2 -2
- package/dist/cdn/{IPRCI6WC.js → 4IGGDWXU.js} +2 -2
- package/dist/cdn/{7V2XLX7S.js → 4J5FMWGE.js} +2 -2
- package/dist/cdn/{ND6KIIUF.js → 4PI6FXSY.js} +2 -2
- package/dist/cdn/4UDK7B7E.js +4 -0
- package/dist/cdn/{Z74FSVQE.js → 4WH5U7J5.js} +2 -2
- package/dist/cdn/{DY6Z6CWO.js → 57CWLS5B.js} +1 -1
- package/dist/cdn/{SQABXB4K.js → 5E3SWD22.js} +2 -2
- package/dist/cdn/{5WGFXMKO.js → 5F4MLI72.js} +2 -2
- package/dist/cdn/{BMQJU4PP.js → 5GZLTD5C.js} +1 -1
- package/dist/cdn/{XDAYQDNQ.js → 5IQ36CWQ.js} +2 -2
- package/dist/cdn/{S3BAOT4T.js → 5LUICGWK.js} +2 -2
- package/dist/cdn/{HY5OVZRH.js → 5VAAY35S.js} +2 -2
- package/dist/cdn/{IKWHFVB2.js → 5VXIJT2B.js} +2 -2
- package/dist/cdn/{QNZ44IUV.js → 5WXG753H.js} +1 -1
- package/dist/cdn/{ZUF4TG5H.js → 67NVU3K2.js} +2 -2
- package/dist/cdn/{4DRVMACI.js → 67RFX4YC.js} +2 -2
- package/dist/cdn/{NHIKSDLK.js → 67ZETFD5.js} +2 -2
- package/dist/cdn/{NE7DMIOD.js → 6DBOXLNP.js} +1 -1
- package/dist/cdn/{5OPRJTO2.js → 6DEYLEFF.js} +4 -4
- package/dist/cdn/{GD6BYLYO.js → 6GCMHMMB.js} +2 -2
- package/dist/cdn/{IBUA6242.js → 6L5ERBSS.js} +2 -2
- package/dist/cdn/{CMKUJGYP.js → 6WTFWOJG.js} +2 -2
- package/dist/cdn/{KXD4D73B.js → 6ZW62KPY.js} +2 -2
- package/dist/cdn/{IYOVRIOS.js → 72C67EMH.js} +2 -2
- package/dist/cdn/{FEBU7G47.js → 72Y6PQRX.js} +2 -2
- package/dist/cdn/{ELQ7KMPD.js → 7CD7AAYK.js} +2 -2
- package/dist/cdn/{JKNSL66L.js → 7CQQ34I7.js} +2 -2
- package/dist/cdn/{3XRGCQGX.js → 7D7PU7OO.js} +2 -2
- package/dist/cdn/{OLFKZLHH.js → 7MRRUVFN.js} +1 -1
- package/dist/cdn/{FXY7VL2A.js → 7NTWBVQ5.js} +2 -2
- package/dist/cdn/{M7WY2OOJ.js → 7QRF2ECB.js} +2 -2
- package/dist/cdn/{IK7V47KX.js → 7RLVSCO2.js} +2 -2
- package/dist/cdn/{HE37WIWY.js → 7RTJEJB4.js} +1 -1
- package/dist/cdn/{NR524ZYR.js → A3EIPCJ6.js} +2 -2
- package/dist/cdn/{ACFQRQP5.js → A4RPIULL.js} +1 -1
- package/dist/cdn/{B5J3B6GS.js → ACK6BSS2.js} +2 -2
- package/dist/cdn/{T7SV6QHL.js → ADKDRGWO.js} +2 -2
- package/dist/cdn/{CHEZWMZB.js → AG3ILNSJ.js} +1 -1
- package/dist/cdn/{3L2WIY7E.js → AL47HGBU.js} +2 -2
- package/dist/cdn/{254IFXAY.js → B7U2SXWQ.js} +1 -1
- package/dist/cdn/{WPIXCZIG.js → BDZTM3ZY.js} +2 -2
- package/dist/cdn/{IJRMND3U.js → BEJSBRDT.js} +2 -2
- package/dist/cdn/{DOLGZT4N.js → BFFA7RG7.js} +2 -2
- package/dist/cdn/{ZWAYSKK3.js → BNP4IWJK.js} +2 -2
- package/dist/cdn/{IAYULSC4.js → BSCO2QHI.js} +2 -2
- package/dist/cdn/{WDK4545G.js → C2XGQ36E.js} +2 -2
- package/dist/cdn/{Y2QFWRD6.js → CDWAH2WV.js} +1 -1
- package/dist/cdn/{KOJKMHOS.js → CEY4X7HF.js} +2 -2
- package/dist/cdn/{O23MZ2HY.js → CNLXEAWS.js} +2 -2
- package/dist/cdn/{FZGVYT6B.js → CRGA7SBE.js} +2 -2
- package/dist/cdn/{BI64BKJY.js → CTDCYCZ5.js} +2 -2
- package/dist/cdn/{PGYDY3AE.js → CZEG4PXJ.js} +2 -2
- package/dist/cdn/{KW4NRC6U.js → DFNUDBH6.js} +2 -2
- package/dist/cdn/{7LTC6OL4.js → DHWAG6ES.js} +2 -2
- package/dist/cdn/{G77N5QTT.js → DK7CN6FA.js} +2 -2
- package/dist/cdn/{ZOEYADP4.js → DKOAK7A2.js} +2 -2
- package/dist/cdn/{ZGWN6PLE.js → DNXMTQ56.js} +2 -2
- package/dist/cdn/{IEELFMVJ.js → DOT7KVHF.js} +1 -1
- package/dist/cdn/{ND2ABBOH.js → DSTBRSHD.js} +2 -2
- package/dist/cdn/{3QZS3V5C.js → DUI6YFUX.js} +2 -2
- package/dist/cdn/{LZAKF6FZ.js → DV2EV7X5.js} +2 -2
- package/dist/cdn/{6DDNPKAF.js → DVZ2CEEK.js} +1 -1
- package/dist/cdn/{CWOTJOTT.js → DYGCUCS5.js} +2 -2
- package/dist/cdn/{W6T3KVF3.js → DZPOUMWV.js} +2 -2
- package/dist/cdn/{LOOPPDX6.js → EA2J4E7K.js} +2 -2
- package/dist/cdn/{KC56ZZOU.js → EB7KPOC2.js} +2 -2
- package/dist/cdn/{IGR3VB5D.js → ECXGB6JO.js} +1 -1
- package/dist/cdn/{UXHXEWVR.js → EFZS6ECU.js} +2 -2
- package/dist/cdn/{DGRDEQBA.js → EJ6QXYLA.js} +2 -2
- package/dist/cdn/{P5X4S5GD.js → EKQNIUD5.js} +1 -1
- package/dist/cdn/{NRHBU2UC.js → EY66U5YX.js} +2 -2
- package/dist/cdn/{7KHOAVNQ.js → F2K2LMIP.js} +2 -2
- package/dist/cdn/{HVOKTLFC.js → FE6I6UKL.js} +2 -2
- package/dist/cdn/{35CHUZSE.js → FGY7SBZ7.js} +2 -2
- package/dist/cdn/{CZ5P6RVW.js → FI2XYNST.js} +2 -2
- package/dist/cdn/{6GGPCOWX.js → FLIKWNOK.js} +2 -2
- package/dist/cdn/FODLMNUK.js +4 -0
- package/dist/cdn/{UEJGR6L6.js → FZ2SU5XQ.js} +2 -2
- package/dist/cdn/G5HGYGJC.js +18 -0
- package/dist/cdn/{57AT2WHX.js → G6YJXYAC.js} +1 -1
- package/dist/cdn/{CGMZBNGJ.js → GEB6FFHF.js} +2 -2
- package/dist/cdn/{BXP64OAM.js → GEC5HUDM.js} +2 -2
- package/dist/cdn/{BQ4QTDZO.js → GFC5L42C.js} +2 -2
- package/dist/cdn/{LU7PNBTE.js → GIV63LP5.js} +2 -2
- package/dist/cdn/{ZZ2F3UU2.js → GJRILFIB.js} +2 -2
- package/dist/cdn/{MXQMAGDW.js → GOFIYE6T.js} +2 -2
- package/dist/cdn/{BIQDPZL4.js → GRT5RI2Z.js} +2 -2
- package/dist/cdn/{IJDE4LLP.js → H3647ALI.js} +2 -2
- package/dist/cdn/{6Q442TOF.js → HBMWR4KR.js} +2 -2
- package/dist/cdn/{A5P7J673.js → HFDHSN5A.js} +2 -2
- package/dist/cdn/{ATL6PRR2.js → HJ6U4KMS.js} +1 -1
- package/dist/cdn/{MQMO4Y32.js → HJRX5DVQ.js} +2 -2
- package/dist/cdn/{ABVESFCH.js → HN6NENNQ.js} +2 -2
- package/dist/cdn/{ZIU64YKN.js → HNZDIHAM.js} +2 -2
- package/dist/cdn/{ISIWKXKW.js → HOKAZXQ6.js} +2 -2
- package/dist/cdn/HPXDUFIA.js +4 -0
- package/dist/cdn/{VFEV47B2.js → HTD6FQ57.js} +2 -2
- package/dist/cdn/{UPELMKX3.js → HTQ4CNV5.js} +2 -2
- package/dist/cdn/{WHAIRVI3.js → HZBLGTKN.js} +2 -2
- package/dist/cdn/{CMV7WBWK.js → ICUVP2SD.js} +2 -2
- package/dist/cdn/{LMSEDJEU.js → ICZYQN4L.js} +2 -2
- package/dist/cdn/{KQGFMPHM.js → IERUJQ7A.js} +2 -2
- package/dist/cdn/{HPM62TUA.js → IGYSQ5RX.js} +2 -2
- package/dist/cdn/{DF266WQH.js → II5VNJMW.js} +2 -2
- package/dist/cdn/{2HM46W6X.js → IKRAYIIV.js} +2 -2
- package/dist/cdn/{JX3KJ75U.js → INRHA7B4.js} +2 -2
- package/dist/cdn/{JEPSZR4T.js → IYEI6NBF.js} +2 -2
- package/dist/cdn/{Z3ZK5E4T.js → J26WVBKN.js} +2 -2
- package/dist/cdn/{6CC62FCX.js → J3CYR3SE.js} +2 -2
- package/dist/cdn/{IG5EC5CW.js → J6YDOSKR.js} +2 -2
- package/dist/cdn/{Q6SLUCPJ.js → JHOA5ULB.js} +2 -2
- package/dist/cdn/{UESJ3BFX.js → JNUQHNPE.js} +2 -2
- package/dist/cdn/{ZYH7WAMN.js → JWV42KCO.js} +2 -2
- package/dist/cdn/K436XCO7.js +4 -0
- package/dist/cdn/{B5L7CGDA.js → KFZR5RML.js} +2 -2
- package/dist/cdn/{3P6SAGHA.js → KJULMP7K.js} +2 -2
- package/dist/cdn/{QZ7WCTVM.js → KNXYJPPW.js} +2 -2
- package/dist/cdn/{J2F6YJJI.js → KTKLTG5F.js} +2 -2
- package/dist/cdn/{C7YL4M7G.js → KTZ4DR7O.js} +2 -2
- package/dist/cdn/{4CV5QGLL.js → L4GQXK2K.js} +2 -2
- package/dist/cdn/{AIA3IQP5.js → L5AQCYF7.js} +2 -2
- package/dist/cdn/{WDAAZMMW.js → LA4AZXV7.js} +2 -2
- package/dist/cdn/{R2VZGW6W.js → LAD657YO.js} +1 -1
- package/dist/cdn/{4RTVVW2I.js → LBMPQZOE.js} +2 -2
- package/dist/cdn/{Y2SHTVTY.js → LHU7BBX4.js} +2 -2
- package/dist/cdn/{KFSZX7VI.js → LHWT5M7Y.js} +1 -1
- package/dist/cdn/{LX46XVEZ.js → LL6H6R2M.js} +2 -2
- package/dist/cdn/{NNN7INQV.js → LLOACCOD.js} +2 -2
- package/dist/cdn/{MDRGRMXD.js → LLXTU6JG.js} +1 -1
- package/dist/cdn/{NSWA5NNM.js → LPCM254I.js} +2 -2
- package/dist/cdn/{4IASNN3N.js → LPI6A3CS.js} +2 -2
- package/dist/cdn/{QBFTUWV4.js → LQ4K5UXA.js} +2 -2
- package/dist/cdn/{UW5XCDFL.js → LQXLMUCY.js} +2 -2
- package/dist/cdn/{PWGN3TVP.js → LVJDZOTD.js} +2 -2
- package/dist/cdn/{IO7PPTWN.js → LXTFNRQF.js} +2 -2
- package/dist/cdn/{J4YCVM2C.js → LY6IETPF.js} +2 -2
- package/dist/cdn/{2RIXNG3D.js → M4TQQW4B.js} +2 -2
- package/dist/cdn/{M4G5EUVY.js → M5R4QFWT.js} +2 -2
- package/dist/cdn/{7PZD2ILA.js → M6VQFP25.js} +2 -2
- package/dist/cdn/{J3BM33RO.js → MATHUKG5.js} +2 -2
- package/dist/cdn/{RGAGXZ32.js → MGG24MZE.js} +2 -2
- package/dist/cdn/{WRC4Z2PN.js → MGHYG3C7.js} +2 -2
- package/dist/cdn/{M24E2NEB.js → MJOLWMV3.js} +1 -1
- package/dist/cdn/{3JNKW4H2.js → MKPL5WIV.js} +2 -2
- package/dist/cdn/{XAFAFVWV.js → MKZ7I4E7.js} +1 -1
- package/dist/cdn/{AAUTJ4OS.js → MOS25L6I.js} +2 -2
- package/dist/cdn/{7U7SPNZL.js → MSSQIWGQ.js} +2 -2
- package/dist/cdn/{KREC5NIM.js → MU2MQEF7.js} +2 -2
- package/dist/cdn/{JDNCGDB3.js → MZIWREBJ.js} +2 -2
- package/dist/cdn/{A2VIQV3C.js → N6K2SQMD.js} +2 -2
- package/dist/cdn/{QNIEFGZB.js → N7IYPK44.js} +2 -2
- package/dist/cdn/{TM2E5RVA.js → ND6B7QXV.js} +2 -2
- package/dist/cdn/{UKWSZJWR.js → NEE7XYRC.js} +2 -2
- package/dist/cdn/{GK3FEB25.js → NFU6BM43.js} +1 -1
- package/dist/cdn/{CFLPRYXO.js → NI35527Z.js} +2 -2
- package/dist/cdn/{XCNHHXTJ.js → NN73YGAG.js} +2 -2
- package/dist/cdn/{6USK5YFB.js → NT446MKH.js} +2 -2
- package/dist/cdn/{SOR4ZTQ2.js → NYILF6EE.js} +2 -2
- package/dist/cdn/{CC35CIFM.js → O65N3Q3Q.js} +2 -2
- package/dist/cdn/{D5P2DBSI.js → O7CE6CJX.js} +2 -2
- package/dist/cdn/{GAHRVBKC.js → O7NRP5ZM.js} +2 -2
- package/dist/cdn/{UOP4GIXO.js → OAQ6F5XI.js} +2 -2
- package/dist/cdn/{VEFFAHTR.js → ODKVGI7C.js} +2 -2
- package/dist/cdn/{4TB3CAKB.js → OLMSZ33F.js} +2 -2
- package/dist/cdn/{FDIBCB2C.js → OPUVT2E4.js} +2 -2
- package/dist/cdn/{RM7DZK7P.js → OUA5MN7Q.js} +2 -2
- package/dist/cdn/{PCHAYQAL.js → OVZH363F.js} +2 -2
- package/dist/cdn/{OES4NJCE.js → P5MCWT5K.js} +2 -2
- package/dist/cdn/{TSD3HLMQ.js → PGEHETS4.js} +2 -2
- package/dist/cdn/{WTTKEM75.js → PHQXVAYC.js} +2 -2
- package/dist/cdn/{4W2WJZ77.js → PKPETRRY.js} +2 -2
- package/dist/cdn/{QIN4LVOX.js → Q6PN7IYZ.js} +2 -2
- package/dist/cdn/{HPOSTYMK.js → QAE3QVEM.js} +2 -2
- package/dist/cdn/{PZKWN4J5.js → QC3EJ7RF.js} +2 -2
- package/dist/cdn/{JO3PMCNF.js → QCMPPQ6P.js} +2 -2
- package/dist/cdn/{MXHARE5H.js → QQC3A6XE.js} +1 -1
- package/dist/cdn/{6H3R6HWX.js → QQF6AYVF.js} +2 -2
- package/dist/cdn/{MARHZKSF.js → QU2FDLB2.js} +2 -2
- package/dist/cdn/{VPN2VHF4.js → R6JWGLMT.js} +2 -2
- package/dist/cdn/{FNF5UBE3.js → R6RJ5DKH.js} +2 -2
- package/dist/cdn/{SN5SLVHN.js → RCYSJTLV.js} +1 -1
- package/dist/cdn/{Q7HIGBLW.js → RFRFKYLK.js} +2 -2
- package/dist/cdn/{LLGKMMXR.js → RGLR76RT.js} +2 -2
- package/dist/cdn/{HGLLAS5F.js → RQNFOYPS.js} +2 -2
- package/dist/cdn/{EOTNZQ2Y.js → RRMI35JG.js} +2 -2
- package/dist/cdn/{FC7HVBYZ.js → RTZYL5OO.js} +2 -2
- package/dist/cdn/{BYFFPGXK.js → RUYIYE6Q.js} +1 -1
- package/dist/cdn/{4LK67XEX.js → RY5YR46A.js} +2 -2
- package/dist/cdn/{Z2RKTVNS.js → S2MPCRRG.js} +2 -2
- package/dist/cdn/{BBCMZDHQ.js → S6VODQOO.js} +2 -2
- package/dist/cdn/{KOTCJ7Z5.js → SEOIIYXG.js} +2 -2
- package/dist/cdn/{PCJSDOGC.js → SFLTQAQV.js} +1 -1
- package/dist/cdn/{YUFXRYJE.js → SGLL5B7D.js} +2 -2
- package/dist/cdn/{LJDSHD6P.js → SHDA2EET.js} +2 -2
- package/dist/cdn/{JOLQ3XD3.js → SJW7XW2D.js} +2 -2
- package/dist/cdn/{LZQXH3JQ.js → SK7YKPRG.js} +2 -2
- package/dist/cdn/{42JULDLM.js → SLXUO3IO.js} +2 -2
- package/dist/cdn/{PRVCF5BX.js → SQGGV3CR.js} +2 -2
- package/dist/cdn/{3D7TJTYP.js → SRW7JMDH.js} +2 -2
- package/dist/cdn/{GI4MCPRS.js → SWWZRIFA.js} +1 -1
- package/dist/cdn/{IBYRYOIO.js → T4YZZ2EP.js} +2 -2
- package/dist/cdn/{277JPAMQ.js → T62ZACJ3.js} +2 -2
- package/dist/cdn/{SPNUPQXN.js → T6L5KVDF.js} +2 -2
- package/dist/cdn/TBR2PYI7.js +4 -0
- package/dist/cdn/{VCXK6NDO.js → TH2ZVPVU.js} +2 -2
- package/dist/cdn/{N6ZSSMWU.js → TKEN37X2.js} +2 -2
- package/dist/cdn/{BVAH7WKC.js → TO2IGJ6I.js} +2 -2
- package/dist/cdn/{CK452ZLN.js → TT33C32K.js} +2 -2
- package/dist/cdn/{LJZHYKAW.js → TU7HOYL4.js} +2 -2
- package/dist/cdn/{3GDSE3LF.js → U345EXTE.js} +1 -1
- package/dist/cdn/{F4SYR5R7.js → U3FBEWKT.js} +2 -2
- package/dist/cdn/{KDJCXPLB.js → U7T2FT5I.js} +1 -1
- package/dist/cdn/{AHBDIHB3.js → UBM5EWWL.js} +2 -2
- package/dist/cdn/{TUBV2IJT.js → UEZV5F7Z.js} +1 -1
- package/dist/cdn/{YBXQXFOK.js → UFZVMBY5.js} +2 -2
- package/dist/cdn/{WDJYTCRU.js → UGQ7YOCK.js} +2 -2
- package/dist/cdn/{N4MZGZLV.js → UN4FJ5ME.js} +2 -2
- package/dist/cdn/{JKKPXWS7.js → UTGYC6TX.js} +2 -2
- package/dist/cdn/{2WOOLAFN.js → UVTAZX6K.js} +2 -2
- package/dist/cdn/{QPXVV2UU.js → UWPDTKEX.js} +2 -2
- package/dist/cdn/{GBXYS4J2.js → UZ3MF2VH.js} +2 -2
- package/dist/cdn/{AEAON7B4.js → UZI7TM5Q.js} +2 -2
- package/dist/cdn/{DJUHHSMC.js → V3OUDD2C.js} +2 -2
- package/dist/cdn/{FHXVL46X.js → V5LDPJ3S.js} +2 -2
- package/dist/cdn/{JCWEA37F.js → VHNFY5G4.js} +2 -2
- package/dist/cdn/{M3SBQ24H.js → VNVMRSTN.js} +1 -1
- package/dist/cdn/{KNGQKZRL.js → VOIL7H3F.js} +2 -2
- package/dist/cdn/{BZHDNZWO.js → VOPLTYDK.js} +2 -2
- package/dist/cdn/{3FW5CG2V.js → VPUXRKMP.js} +1 -1
- package/dist/cdn/{IWXA6ODG.js → VQXAIEGC.js} +2 -2
- package/dist/cdn/{BKXTHSLE.js → VRXKYI3X.js} +2 -2
- package/dist/cdn/{L6TNRTGN.js → VS4YEHXM.js} +2 -2
- package/dist/cdn/{B5B7VTXP.js → VZE36YRV.js} +2 -2
- package/dist/cdn/{5TNVE74E.js → W72VEUHA.js} +1 -1
- package/dist/cdn/{Y457BW7G.js → WB7TGR6E.js} +2 -2
- package/dist/cdn/{VF77JXIX.js → WBVTIKJ4.js} +2 -2
- package/dist/cdn/{S5KYBPXD.js → WCFFROVL.js} +2 -2
- package/dist/cdn/{EHXBEHOD.js → WQJJOF3T.js} +2 -2
- package/dist/cdn/{V5H3PM5C.js → WX7WXK3Q.js} +2 -2
- package/dist/cdn/{672V3UYL.js → X4XY6I2O.js} +2 -2
- package/dist/cdn/{PH5YWXIM.js → XAIYAJF6.js} +2 -2
- package/dist/cdn/{FSGNN3XD.js → XIGK6ZJV.js} +2 -2
- package/dist/cdn/{JJPJKSCR.js → XJ7MYRCO.js} +2 -2
- package/dist/cdn/{7Z7LM7TT.js → XLRRVO3N.js} +2 -2
- package/dist/cdn/{WUBLNYES.js → XMGXLMZ3.js} +2 -2
- package/dist/cdn/{Y4TZWVVR.js → XW2YCY3G.js} +2 -2
- package/dist/cdn/{QM4AUWCD.js → XX5ML2ZE.js} +2 -2
- package/dist/cdn/Y7OMOCGV.js +4 -0
- package/dist/cdn/{XB25R3AM.js → Y7TIPS2F.js} +2 -2
- package/dist/cdn/{JCLY5OTX.js → YCJHECRE.js} +2 -2
- package/dist/cdn/{YZKSOJVU.js → YE4NSO6E.js} +1 -1
- package/dist/cdn/{H5QGO2X7.js → YG24KG4L.js} +2 -2
- package/dist/cdn/{CEHATEMR.js → YHWBJAXQ.js} +2 -2
- package/dist/cdn/{6C52IE3Q.js → YIL6U6QS.js} +2 -2
- package/dist/cdn/{A4L6QKSJ.js → YQHOJUK5.js} +2 -2
- package/dist/cdn/{YJOA5KHE.js → YVBRVF36.js} +2 -2
- package/dist/cdn/{OSSILY4D.js → YWFK7XQ4.js} +1 -1
- package/dist/cdn/{W7ZP7LXH.js → YZCCKORE.js} +2 -2
- package/dist/cdn/{QTQU2LCC.js → Z4UN47VL.js} +2 -2
- package/dist/cdn/{46UNYVC4.js → Z52BJJDB.js} +2 -2
- package/dist/cdn/{TZTCCS6P.js → ZA3BPLIF.js} +2 -2
- package/dist/cdn/{6T4N66W3.js → ZCQ6ZKD4.js} +2 -2
- package/dist/cdn/{P2FB7C35.js → ZD5F2PAL.js} +2 -2
- package/dist/cdn/{TNDLTBVC.js → ZDMIR62Y.js} +2 -2
- package/dist/cdn/{WZF5C7OO.js → ZEC2BOMT.js} +2 -2
- package/dist/cdn/{MW465SXQ.js → ZHL3LRPG.js} +2 -2
- package/dist/cdn/{6HAKNRI4.js → ZO32IE32.js} +2 -2
- package/dist/cdn/{UXF7OIZX.js → ZSRZI2TY.js} +1 -1
- package/dist/cdn/{YNEF2JSN.js → ZYYIMZU4.js} +2 -2
- package/dist/cdn/{6PRIBQ2Z.js → ZZXGIL2G.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +3 -3
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/2DRJNGHJ.js +0 -4
- package/dist/cdn/7PLICD7W.js +0 -4
- package/dist/cdn/BCOJQNLC.js +0 -4
- package/dist/cdn/GXD4ME5R.js +0 -4
- package/dist/cdn/PKS74MOM.js +0 -18
- package/dist/cdn/Q4VLP4HA.js +0 -4
- package/dist/cdn/QETF3YRS.js +0 -4
- package/dist/cdn/TKKWBQFT.js +0 -4
- package/dist/cdn/WAKNLMA4.js +0 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import e from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import e from"./IYEI6NBF.js";import{b as x}from"./TO2IGJ6I.js";import b from"./FLIKWNOK.js";import{b as l,c as C,e as v}from"./2OCWJGO5.js";import"./EY66U5YX.js";import"./HJ6U4KMS.js";import"./S2MPCRRG.js";import"./M4TQQW4B.js";import"./LPI6A3CS.js";import"./BFFA7RG7.js";import"./A4RPIULL.js";import"./5WXG753H.js";import"./LA4AZXV7.js";import"./RUYIYE6Q.js";import"./U345EXTE.js";import"./VNVMRSTN.js";import"./WB7TGR6E.js";import"./II5VNJMW.js";import"./RGLR76RT.js";import"./5GZLTD5C.js";import"./7MRRUVFN.js";import"./SEOIIYXG.js";import"./2ONRGEDI.js";import"./SWWZRIFA.js";import{k as y,l as w,m as f,o as a}from"./AG3ILNSJ.js";import{a as m}from"./DYGCUCS5.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{b as g}from"./M5R4QFWT.js";import{D as u,E as _,G as o,h,i as s,j as d,l as c,o as p}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";export default $arcgis.t(([,{a:i,b:S}])=>{var D=h`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a as O}from"./FZGVYT6B.js";import{A as H,C as M,D as F,d as B,e as L}from"./IEELFMVJ.js";import{b as U}from"./PRVCF5BX.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./KFSZX7VI.js";import"./MDRGRMXD.js";var ee=T`: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;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 .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:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}: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:700;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 .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)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={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}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,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.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}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({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>${w`<g><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=${b({fill:"#1877f2",fillRule:"nonzero"})} /><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=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><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=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<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" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({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>${w`<g id=g5891><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=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><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=${b({fill:"#fff",fillRule:"nonzero"})} /><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=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a as O}from"./CRGA7SBE.js";import{A as H,C as M,D as F,d as B,e as L}from"./DOT7KVHF.js";import{b as U}from"./SQGGV3CR.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var ee=T`: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;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 .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:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}: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:700;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 .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)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={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}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,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.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}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({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>${w`<g><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=${b({fill:"#1877f2",fillRule:"nonzero"})} /><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=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><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=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<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" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({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>${w`<g id=g5891><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=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><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=${b({fill:"#fff",fillRule:"nonzero"})} /><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=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a as $}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a as $}from"./2MPP7TLB.js";import{a as I}from"./ZSRZI2TY.js";import{a as E}from"./CRGA7SBE.js";import{c as k,t as P,z as S}from"./DOT7KVHF.js";import{b as y}from"./SQGGV3CR.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{C as d,D as h,E as f,G as p,h as _,i as o,l as w,o as m}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var L=`
|
5
5
|
@media print {
|
6
6
|
@page {
|
7
7
|
size: Portrait;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a as e}from"./2MPP7TLB.js";import{a as _}from"./CRGA7SBE.js";import{b as f}from"./SQGGV3CR.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{C as d,D as v,E as h,G as o,I as a,h as l,i as t,r as m}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var $=l`@layer{:host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2: transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:400;font-size:.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3: transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px}}`,n={content:"instant-apps-popover__content",buttonContainer:"instant-apps-popover__button-container",action:"instant-apps-popover__action",actionDisabled:"instant-apps-popover--action-disabled",img:"instant-apps-popover__img",footer:"instant-apps-popover__footer"},p=class extends h{constructor(){super(...arguments),this._messages=_({name:"instant-apps-popover"}),this.popoverEl=d(),this.popoverTitle="",this.subtitle="",this.content="",this.placement="trailing-start",this.pagination=!1,this.disableAction=!1}static{this.properties={popoverTitle:3,subtitle:3,content:3,imgSrc:3,imgAlt:3,mediaSrc:3,index:11,referenceElement:3,parent:0,placement:1,refId:1,pagination:7,disableAction:7,popoverAction:0,messageOverrides:0}}static{this.styles=$}static{this.shadowRootOptions=m}updated(){!this.hasUpdated&&this.popoverEl.value&&(this.popoverEl.value.referenceElement=this.referenceElement)}render(){return t`<calcite-popover .heading=${this.popoverTitle} auto-close .placement=${this.placement} .messageOverrides=${{close:this._messages.close}} trigger-disabled ref-id=${this.refId??a} closable .referenceElement=${this.referenceElement} .label=${this.popoverTitle} ${v(this.popoverEl)}><div class=${`${n.content}${this.disableAction?` ${n.actionDisabled}`:""}`}>${this.disableAction?null:e("popover-action",t`<calcite-action class=${o(n.action)} @click=${this.popoverAction} .icon=${document.dir==="rtl"?"chevron-right":"chevron-left"} text-enabled .text=${this._messages.back??""}></calcite-action>`)}<section><span id=subtitle>${this.subtitle}</span><p>${this.content}</p>${this.imgSrc?e(`iac-popover-img-${this.refId}`,t`<img class=${o(n.img)} src=${this.imgSrc??a} alt=${(this.imgAlt?this.imgAlt:"")??a}>`):null}</section>${this.pagination?e(`iac-popover-footer-${this.index}`,t`<div class=${o(n.footer)}><span>${this.index+1} ${this._messages?.of} ${this.parent?.instantAppsPopovers?.size}</span>${this.renderPagination()}</div>`):null}</div></calcite-popover>`}renderPagination(){let{index:r,_messages:s,parent:i}=this;if(!i)return null;let g=i.instantAppsPopovers.size,u=r===0,c=r===g-1;return e("pagination-button-container",t`<div class=${o(n.buttonContainer)}>${u?null:e("prev",t`<calcite-button @click=${async()=>await i?.previous()} appearance=outline kind=neutral>${s.back}</calcite-button>`)}${e("next",t`<calcite-button @click=${async()=>{c?await i?.done():await i?.next()}}>${c?s.done:s.next}</calcite-button>`)}</div>`)}};f("instant-apps-popover",p);export{p as InstantAppsPopover};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a}from"./DYGCUCS5.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{b as r}from"./M5R4QFWT.js";import{E as n,I as e,h as t,i as s}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var o=t`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{l as r,u as s,v as i,y as o}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{l as r,u as s,v as i,y as o}from"./LHWT5M7Y.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{c as d}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{c as d}from"./LHWT5M7Y.js";var r=class extends Event{constructor(t,e,n,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=n,this.subscribe=s??!1}};var a=class{constructor(t,e,n,s){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(o,c)=>{this.unsubscribe&&(this.unsubscribe!==c&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=o,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(o,c)),this.unsubscribe=c},this.host=t,e.context!==void 0){let o=e;this.context=o.context,this.callback=o.callback,this.subscribe=o.subscribe??!1}else this.context=e,this.callback=n,this.subscribe=s??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new r(this.context,this.host,this.t,this.subscribe))}};var u=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let n=e||!Object.is(t,this.o);this.o=t,n&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:n}]of this.subscriptions)e(this.o,n)},t!==void 0&&(this.value=t)}addCallback(t,e,n){if(!n)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:s}=this.subscriptions.get(t);t(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var l=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},h=class extends u{constructor(t,e,n){super(e.context!==void 0?e.initialValue:n),this.onContextRequest=s=>{if(s.context!==this.context)return;let o=s.contextTarget??s.composedPath()[0];o!==this.host&&(s.stopPropagation(),this.addCallback(s.callback,o,s.subscribe))},this.onProviderRequest=s=>{if(s.context!==this.context||(s.contextTarget??s.composedPath()[0])===this.host)return;let o=new Set;for(let[c,{consumerHost:x}]of this.subscriptions)o.has(c)||(o.add(c),x.dispatchEvent(new r(this.context,x,c,!0)));s.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new l(this.context,this.host))}};var A=i=>{let t=d(),e=new h(t.el,i);return t.addController(e),e},B=i=>{let t=d(),e=new a(t.el,i);return t.addController(e),e};var J="UserSession",K="isMobile",Q="Auth";export{A as a,B as b,J as c,K as d,Q as e};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
4
|
var u=(i,r)=>r.split(".").reduce(function(e,n){let l=n.match(/\[(.*?)\]$/);if(l){let t=l[1],s=n.replace(l[0],"");if(parseInt(t,10)>-1){let a=parseInt(t,10);return Array.isArray(e[s])&&e[s][a]?e[s][a]:void 0}else return o(e[s],t)}else return e&&e[n]!==void 0?e[n]!==null&&e[n].$use?u(i,e[n].$use):e[n]:void 0},i);function o(i,r){let e=r.split("(");if(!e||e.length!==2)return;let n,l=e[0],t=e[1].replace(")","").split(",").map(s=>s.trim());switch(l){case"findBy":let s=t[0],a;d(t[1])?a=parseFloat(t[1]):a=t[1].replace(/'/g,""),n=i.find(f=>f[s]===a);break;default:n=void 0}return n}function d(i){return!isNaN(parseFloat(i))}export{u as a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a as r}from"./72Y6PQRX.js";import{b as o}from"./M5R4QFWT.js";import{E as n,I as e,h as i,i as s}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var a=i`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{b as e,e as r}from"./IKRAYIIV.js";import"./LAD657YO.js";import"./LY6IETPF.js";import"./G6YJXYAC.js";import{c as t}from"./CDWAH2WV.js";import"./BFFA7RG7.js";import"./MKZ7I4E7.js";import"./LA4AZXV7.js";import"./RUYIYE6Q.js";import"./U345EXTE.js";import"./VNVMRSTN.js";import"./II5VNJMW.js";import"./RGLR76RT.js";import"./5GZLTD5C.js";import"./SEOIIYXG.js";import"./2ONRGEDI.js";import"./SWWZRIFA.js";import"./LLXTU6JG.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{b}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{b}from"./RCYSJTLV.js";import{a as f}from"./DYGCUCS5.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{b as u}from"./M5R4QFWT.js";import{C as l,D as a,E as w,G as o,h as _,i as h,l as c}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var $=_`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{d as g}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{d as g}from"./UZI7TM5Q.js";import"./AG3ILNSJ.js";import{b as m}from"./ECXGB6JO.js";import{a as u}from"./DYGCUCS5.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{b as p}from"./M5R4QFWT.js";import{C as c,D as h,E as d,h as n,i,o as a,r as l}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var C=n`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a as _}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a as _}from"./MGHYG3C7.js";import"./SFLTQAQV.js";import{c as g,g as $,j as F}from"./UZI7TM5Q.js";import{e as d}from"./AG3ILNSJ.js";import{a as E,d as O,f as T}from"./ECXGB6JO.js";import{b as I}from"./RCYSJTLV.js";import{a as k}from"./DYGCUCS5.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{b as G}from"./M5R4QFWT.js";import{C as u,D as p,E as C,G as y,H as V,h as L,i as c,o as S,r as v}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var N=L`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a as o}from"./DZPOUMWV.js";import{d as r}from"./II5VNJMW.js";import"./SEOIIYXG.js";import"./2ONRGEDI.js";import{a as s}from"./ICUVP2SD.js";import"./SJW7XW2D.js";import"./SWWZRIFA.js";import"./MZIWREBJ.js";import"./MGG24MZE.js";import"./LLOACCOD.js";import"./S6VODQOO.js";import"./5F4MLI72.js";import"./AL47HGBU.js";import"./NYILF6EE.js";import"./U7T2FT5I.js";import"./R6JWGLMT.js";import"./7RTJEJB4.js";import"./DVZ2CEEK.js";import"./ICZYQN4L.js";import"./GEC5HUDM.js";import"./KTZ4DR7O.js";import"./YE4NSO6E.js";import"./J6YDOSKR.js";import"./NEE7XYRC.js";import"./T6L5KVDF.js";import"./VPUXRKMP.js";import"./B7U2SXWQ.js";import"./LLXTU6JG.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
4
|
var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a as m}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a as m}from"./MGHYG3C7.js";import"./SFLTQAQV.js";import{a as f,b as I,d as y}from"./UZI7TM5Q.js";import"./AG3ILNSJ.js";import"./ECXGB6JO.js";import{a as w}from"./DYGCUCS5.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{b as L}from"./M5R4QFWT.js";import{C as o,D as d,E as u,G as p,H as c,h as _,i as a,l,o as h,r as g}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var v=_`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a,b}from"./GEC5HUDM.js";import"./KTZ4DR7O.js";import"./YE4NSO6E.js";import"./T6L5KVDF.js";import"./VPUXRKMP.js";import"./B7U2SXWQ.js";import"./LLXTU6JG.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a as w}from"./5I7C3JNJ.js";import{a as M}from"./FZGVYT6B.js";import{C as T,b as v,c as F,z as P}from"./IEELFMVJ.js";import{a as q}from"./DY6Z6CWO.js";import{b as S}from"./PRVCF5BX.js";import"./JJPJKSCR.js";import"./4CV5QGLL.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./KFSZX7VI.js";import"./MDRGRMXD.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`: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:0 3px 15px #0003;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:.5vh;padding-bottom:.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}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.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}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}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 e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a as w}from"./2MPP7TLB.js";import{a as M}from"./CRGA7SBE.js";import{C as T,b as v,c as F,z as P}from"./DOT7KVHF.js";import{a as q}from"./57CWLS5B.js";import{b as S}from"./SQGGV3CR.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`: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:0 3px 15px #0003;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:.5vh;padding-bottom:.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}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.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}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}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 e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import"./LLXTU6JG.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a as p}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a as p}from"./57CWLS5B.js";import{a as m}from"./4DSFARVO.js";import{a as c}from"./YWFK7XQ4.js";import{b as g}from"./SQGGV3CR.js";import{E as d,G as o,H as a,h as l,i as e,l as i,o as r}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";var u=l`: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 .header{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 .header-container{display:flex;align-items:center;width:100%;height:inherit}:host .header-container slot{display:flex;height:inherit}:host .header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .header-container ::slotted(*) calcite-button{height:100%}:host .header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .header-content img{margin:10px}:host .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 .header-content #infoButton{margin-inline-start:10px}:host .header-content.center{justify-content:center}:host .header-content.right{justify-content:end}:host .header.height-s{height:var(--instant-apps-header-height--logo-scale--s)}:host .header.height-s h1{font-size:1.125rem}:host .header.height-s img{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .header.height-m{height:var(--instant-apps-header-height--logo-scale--m)}:host .header.height-m img{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .header.height-l{height:var(--instant-apps-header-height--logo-scale--l)}:host .header.height-l h1{font-size:1.375rem}:host .header.height-l img{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}`,s={base:"header",headerContainer:"header-container",headerContent:"header-content",actionsEndContainer:"actions-end-container"},h=class extends d{constructor(){super(...arguments),this._sanitizer=new c({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.handleMobileMediaQueryChange=t=>{let{matches:n}=t;if(n){this.logoScale="s";return}this.logoScale=this.initialScale},this.initialScale="m",this.titleText="",this.logoScale="m",this.infoButton=!1,this.infoIsOpen=!1,this.headerAlignment="left",this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=p.medium[1],this.infoIsOpenChanged=r({cancelable:!1})}static{this.properties={initialScale:16,titleText:1,titleTextLink:1,backgroundColor:1,textColor:1,logoImage:1,logoScale:3,logoImageAltText:1,logoLink:1,infoButton:7,infoIsOpen:7,infoTitleText:1,customHeaderHtml:1,headerAlignment:1,customHeaderCss:1,fontFamily:3,mobileWidthBreakpoint:9}}static{this.styles=u}async toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}load(){this.handleMobileBreakpoints(),this.sanitizeCustomHeaderHtml()}willUpdate(t){t.has("customHeaderHtml")&&this.sanitizeCustomHeaderHtml()}disconnectedCallback(){super.disconnectedCallback(),this._mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaQueryChange)}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}handleMobileBreakpoints(){this.initialScale=this.logoScale,this._mobileMediaQuery=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`),this._mobileMediaQuery.matches&&(this.logoScale="s"),this._mobileMediaQuery.addEventListener("change",this.handleMobileMediaQueryChange)}get hasEmptyLogo(){return this.logoImage==="undefined"||this.logoImage?.split("?")[0]==="undefined"||this.logoImage?.split("?")[0]===""||!this.logoImage}render(){let t=this.renderLogo(),n=this.renderTitle(),f=m(this.fontFamily);return this.customHeaderHtml?[e`<style>${this.customHeaderCss}</style>`,e`<div id=customHeader .innerHTML=${this.customHeaderHtml??""}></div>`]:e`<header class=${o({[s.base]:s.base,[`height-${this.logoScale}`]:!!t})} style=${a({backgroundColor:this.backgroundColor,fontFamily:f})}><div class=${o(s.headerContainer)}><span class=${`${s.headerContent} ${this.headerAlignment}`}>${t}${n}${this.infoButton?e`<calcite-button style=${a({"--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??i} @click=${this.toggleInfo}></calcite-button>`:null}</span><div class=${o(s.actionsEndContainer)}><slot name=actions-end></slot></div></div></header>`}renderLogo(){if(this.hasEmptyLogo)return null;let t=e`<img src=${this.logoImage??i} alt=${this.logoImageAltText??i}>`;return this.logoLink?e`<a href=${this.logoLink??i} target=_blank>${t}</a>`:t}renderTitle(){return this.titleText&&this.titleTextLink?e`<a style=${a({color:this.textColor})} href=${this.titleTextLink??i} rel="noopener noreferrer" target=_blank>${e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}</a>`:e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}};g("instant-apps-header",h);export{h as InstantAppsHeader};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a as s}from"./MJOLWMV3.js";import{c as x}from"./HJ6U4KMS.js";import{a as X}from"./F2K2LMIP.js";import{a as J,b as H}from"./TKEN37X2.js";import{b as R,c as w}from"./4HA4HORS.js";import"./CDWAH2WV.js";import{h as V,i as z}from"./M4TQQW4B.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./LPI6A3CS.js";import"./BFFA7RG7.js";import"./A4RPIULL.js";import"./5WXG753H.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./LXTFNRQF.js";import"./MKZ7I4E7.js";import{i as G}from"./LA4AZXV7.js";import"./RUYIYE6Q.js";import{a as p}from"./U345EXTE.js";import"./VNVMRSTN.js";import"./QU2FDLB2.js";import"./WB7TGR6E.js";import"./II5VNJMW.js";import{k as O,s as j}from"./RGLR76RT.js";import"./5GZLTD5C.js";import"./7MRRUVFN.js";import"./SEOIIYXG.js";import{a as d}from"./2ONRGEDI.js";import"./SWWZRIFA.js";import"./VPUXRKMP.js";import"./LLXTU6JG.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
4
|
var n="'Avenir Next','Avenir','Helvetica Neue',sans-serif";function t(e){return e||n}export{t as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import{a as i}from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import{a as i}from"./SEOIIYXG.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250821.
|
4
|
-
import e from"./
|
3
|
+
v1.1.0-next.20250821.2 */
|
4
|
+
import e from"./EA2J4E7K.js";import{b as v}from"./W72VEUHA.js";import{a as o,c as m,d as y,e as _}from"./2OCWJGO5.js";import"./EY66U5YX.js";import"./HJ6U4KMS.js";import"./S2MPCRRG.js";import"./M4TQQW4B.js";import"./LPI6A3CS.js";import"./BFFA7RG7.js";import"./A4RPIULL.js";import"./5WXG753H.js";import"./LA4AZXV7.js";import"./RUYIYE6Q.js";import"./U345EXTE.js";import"./VNVMRSTN.js";import"./WB7TGR6E.js";import"./II5VNJMW.js";import"./RGLR76RT.js";import{g as b}from"./5GZLTD5C.js";import"./7MRRUVFN.js";import"./SEOIIYXG.js";import"./2ONRGEDI.js";import"./SWWZRIFA.js";import{a as g}from"./DYGCUCS5.js";import"./XJ7MYRCO.js";import"./L4GQXK2K.js";import{b as f}from"./M5R4QFWT.js";import{C as d,D as h,E as p,H as l,I as u,h as c,i,o as a}from"./LHWT5M7Y.js";import"./LLXTU6JG.js";export default $arcgis.t(([C])=>{var x=c`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|