@esri/solutions-components 1.2.0-next.59 → 1.2.0-next.60
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/{7GJZVYMJ.js → 22GH5WFX.js} +2 -2
- package/dist/cdn/{TQMR5HGV.js → 24IN4UPG.js} +2 -2
- package/dist/cdn/{LCLYBKCD.js → 25S4YYPR.js} +1 -1
- package/dist/cdn/{BBQXDOWW.js → 2CJ5ETBI.js} +2 -2
- package/dist/cdn/{IHBY23HX.js → 2EZ2T3HV.js} +2 -2
- package/dist/cdn/{CBZDTXQB.js → 2IAKNCRC.js} +2 -2
- package/dist/cdn/{DMBTOCEZ.js → 2KLTC6O5.js} +2 -2
- package/dist/cdn/{YJMOB55J.js → 2LQ6UZTT.js} +2 -2
- package/dist/cdn/{JDYZI422.js → 2QT4FWZI.js} +2 -2
- package/dist/cdn/{25B25ZXH.js → 2WAKVF6V.js} +2 -2
- package/dist/cdn/2ZAI2L2Z.js +4 -0
- package/dist/cdn/{RX3SI5Y3.js → 35CB3CIG.js} +2 -2
- package/dist/cdn/{VZNN27BA.js → 3C7EEW26.js} +2 -2
- package/dist/cdn/{6HYCSSIB.js → 3MXNBCEX.js} +2 -2
- package/dist/cdn/3Q7MPYBN.js +4 -0
- package/dist/cdn/{43PJPKFV.js → 3S7MAI7H.js} +2 -2
- package/dist/cdn/3TTOX4BB.js +4 -0
- package/dist/cdn/{DEQAS2SR.js → 3UZFYGDX.js} +2 -2
- package/dist/cdn/{CCWPI2S2.js → 3X5566EC.js} +2 -2
- package/dist/cdn/{X65LJF4A.js → 45S22WSU.js} +2 -2
- package/dist/cdn/{M3PFZFCV.js → 46UPVPEV.js} +1 -1
- package/dist/cdn/{E3VEVFOM.js → 4B2V45V5.js} +2 -2
- package/dist/cdn/{WNFSWEYG.js → 4B45SS3L.js} +2 -2
- package/dist/cdn/{EHKQB23N.js → 4KDH67ME.js} +1 -1
- package/dist/cdn/{37RKRUT7.js → 4KFYFEVG.js} +2 -2
- package/dist/cdn/{N4S2GKS4.js → 4MFPZMLB.js} +1 -1
- package/dist/cdn/{LVXMAQMH.js → 4N5CTUVM.js} +2 -2
- package/dist/cdn/{6HSZ4CIQ.js → 4VJV22PL.js} +2 -2
- package/dist/cdn/4VTDE7WM.js +4 -0
- package/dist/cdn/{6PUGDNEU.js → 4WNXJSEW.js} +2 -2
- package/dist/cdn/{D5F4NJD7.js → 4XUHKCM3.js} +2 -2
- package/dist/cdn/{JSLYUXDO.js → 4ZUI33B3.js} +2 -2
- package/dist/cdn/{OLGLXFX4.js → 542KFAVB.js} +2 -2
- package/dist/cdn/{DHQHELQN.js → 54ED5CXQ.js} +2 -2
- package/dist/cdn/{MALBTWOR.js → 55BTIKND.js} +2 -2
- package/dist/cdn/{ENLBWWOF.js → 5A33WQAT.js} +2 -2
- package/dist/cdn/{MD5I2SFA.js → 5BILAT4P.js} +2 -2
- package/dist/cdn/{M3YOYCLJ.js → 5CEVZOKP.js} +2 -2
- package/dist/cdn/{WBQWG3E2.js → 5CXNGEOT.js} +2 -2
- package/dist/cdn/{WP7SIAQC.js → 5KBG56UB.js} +2 -2
- package/dist/cdn/{KB4DWCEJ.js → 5MFTYGYS.js} +2 -2
- package/dist/cdn/{7NUTECWV.js → 5O4YCDNG.js} +2 -2
- package/dist/cdn/{6W24BQES.js → 5TEHU4A3.js} +2 -2
- package/dist/cdn/{JVUHIWEV.js → 5UHH33AX.js} +2 -2
- package/dist/cdn/{X7PMPPET.js → 64ZV5SC6.js} +2 -2
- package/dist/cdn/{YTZQHJWX.js → 65VZKYXC.js} +2 -2
- package/dist/cdn/{6BWLIZSJ.js → 66RDTM4T.js} +2 -2
- package/dist/cdn/{QMAH5HXL.js → 6AE27ENC.js} +2 -2
- package/dist/cdn/{WWB4B72X.js → 6AY42FOZ.js} +2 -2
- package/dist/cdn/{3RZEX2U3.js → 6BYDV3EW.js} +2 -2
- package/dist/cdn/{RZEEFQBW.js → 6CNOIOZQ.js} +2 -2
- package/dist/cdn/{BT7H2Z4P.js → 6FVZXZD6.js} +2 -2
- package/dist/cdn/{QVLTIXTS.js → 6GOVJOEP.js} +1 -1
- package/dist/cdn/{WFUQ3JOS.js → 6HTNO2RE.js} +2 -2
- package/dist/cdn/{7OQOH2NF.js → 6JWWLPWA.js} +2 -2
- package/dist/cdn/{LBABYSBX.js → 6KLBYZFM.js} +1 -1
- package/dist/cdn/{3DQJP7MM.js → 6N5NPFCF.js} +1 -1
- package/dist/cdn/{GVUNBPYT.js → 6YX67STC.js} +2 -2
- package/dist/cdn/{EBUWGWRS.js → 6ZX35J5Z.js} +2 -2
- package/dist/cdn/{NB6AUGD2.js → 77X5GFH7.js} +2 -2
- package/dist/cdn/{MZ7IE5RN.js → 7AEU6P43.js} +2 -2
- package/dist/cdn/{AHHXZV45.js → 7AH7N5XT.js} +2 -2
- package/dist/cdn/{3QUJWKYF.js → 7FQXWGOC.js} +2 -2
- package/dist/cdn/{JX2YC2NI.js → 7IB6W2XU.js} +2 -2
- package/dist/cdn/{P2IDE5OP.js → 7MHE37ND.js} +2 -2
- package/dist/cdn/{6JIQMVN5.js → 7UAODYVA.js} +2 -2
- package/dist/cdn/{VPYAKTHV.js → 7WO57UW7.js} +2 -2
- package/dist/cdn/7YYWVE2S.js +4 -0
- package/dist/cdn/{3B6DM4IK.js → 7ZR4MPQZ.js} +2 -2
- package/dist/cdn/{HGZ446BS.js → A3HBTAZT.js} +3 -3
- package/dist/cdn/{ZX3SVFKK.js → A6EVVFF5.js} +1 -1
- package/dist/cdn/{NFNNSMZV.js → AHRD7AGX.js} +2 -2
- package/dist/cdn/{6BZURHMF.js → AOTAJDNP.js} +2 -2
- package/dist/cdn/APHETGJW.js +4 -0
- package/dist/cdn/{XZBKRV2G.js → APPQU75R.js} +2 -2
- package/dist/cdn/{5PSL2TWL.js → AR6I4F7I.js} +2 -2
- package/dist/cdn/{EW7J3KH5.js → ARJYRYDO.js} +2 -2
- package/dist/cdn/{DDBK5RTK.js → AU6YGJUT.js} +2 -2
- package/dist/cdn/{BWMIWQM2.js → AURJV7BW.js} +2 -2
- package/dist/cdn/{G2RPRNB2.js → AXNUZSJ6.js} +2 -2
- package/dist/cdn/{DWBJS3UU.js → AXSGVQ6P.js} +2 -2
- package/dist/cdn/{QVEJGSWG.js → B72I6V6F.js} +2 -2
- package/dist/cdn/{7XZWHACO.js → BGAY3YMT.js} +2 -2
- package/dist/cdn/{DDFYGY3P.js → BJ7ITM4Z.js} +2 -2
- package/dist/cdn/{XRJP6JXR.js → BMUBVYWB.js} +2 -2
- package/dist/cdn/{PIIVS5YM.js → BTLCSZS6.js} +2 -2
- package/dist/cdn/{VLM7BVOC.js → BURTSBUG.js} +2 -2
- package/dist/cdn/{ETO5FRK3.js → BXPMHWOX.js} +2 -2
- package/dist/cdn/{FPGWP5VL.js → C2RIOHYE.js} +2 -2
- package/dist/cdn/{7WUMZFTS.js → C32KHGLO.js} +2 -2
- package/dist/cdn/{MNRZLJQR.js → C4C7KF52.js} +1 -1
- package/dist/cdn/{KDR33FHO.js → C5IIHI76.js} +2 -2
- package/dist/cdn/{DGGDUOI2.js → CBEROJ4E.js} +2 -2
- package/dist/cdn/{T23F3H3W.js → CFTL75CW.js} +2 -2
- package/dist/cdn/CGZFXEML.js +4 -0
- package/dist/cdn/{SHIKGCFR.js → CJZPJFAS.js} +2 -2
- package/dist/cdn/{XSRKYX35.js → CKNI5JQZ.js} +2 -2
- package/dist/cdn/{LEL5VZQY.js → CLGO7JPJ.js} +2 -2
- package/dist/cdn/{7MDJN2BV.js → CNDUM26C.js} +2 -2
- package/dist/cdn/{KJW6C53V.js → CNEHMBZW.js} +1 -1
- package/dist/cdn/{4FRJW5HL.js → CQ3N5OAF.js} +2 -2
- package/dist/cdn/{Q45TPXYT.js → CTCPMABN.js} +2 -2
- package/dist/cdn/{2EYNMSVI.js → CTLSDIIG.js} +2 -2
- package/dist/cdn/{3G3R2OZV.js → CTMUKS54.js} +2 -2
- package/dist/cdn/{VWS2JKA6.js → CZ7OZ7WB.js} +2 -2
- package/dist/cdn/{Y3C3OCUK.js → D4HJALUO.js} +2 -2
- package/dist/cdn/{5MAZ5ZVP.js → D7E2HKRL.js} +2 -2
- package/dist/cdn/{TAVLKZOW.js → DAU34542.js} +2 -2
- package/dist/cdn/{CX5FTZXB.js → DCZYU4L6.js} +2 -2
- package/dist/cdn/{DQFLJUCX.js → DHDV37FH.js} +2 -2
- package/dist/cdn/{TTG53ZSH.js → DHWSNW5P.js} +2 -2
- package/dist/cdn/{QWS5G4EH.js → DHZ5UA72.js} +1 -1
- package/dist/cdn/{5UMVW5IU.js → DSMKW3R5.js} +2 -2
- package/dist/cdn/{VPB2MNMR.js → DVPHVSDL.js} +2 -2
- package/dist/cdn/{VLJ2FMNG.js → E5D2NJVY.js} +2 -2
- package/dist/cdn/{KN5E4MQG.js → E6VAH377.js} +2 -2
- package/dist/cdn/{3LTVBZW2.js → E6ZJGJIL.js} +2 -2
- package/dist/cdn/{X4QRLB57.js → EDH5P6Q7.js} +2 -2
- package/dist/cdn/{E4EVKH7R.js → EGAV5W7I.js} +2 -2
- package/dist/cdn/{LL2N6WE4.js → EJK6FW2Z.js} +1 -1
- package/dist/cdn/{LJGIMINH.js → ENLS3ON7.js} +2 -2
- package/dist/cdn/{7ZCQHB4L.js → ERDVBBRX.js} +2 -2
- package/dist/cdn/{6CN3ZYLP.js → ERJ7WRMG.js} +2 -2
- package/dist/cdn/{RGGCXN32.js → EUGPRFL4.js} +2 -2
- package/dist/cdn/{VLXWVYFE.js → F2O4WKM6.js} +1 -1
- package/dist/cdn/F2RRVGZ2.js +4 -0
- package/dist/cdn/{VVHFDNIP.js → FC4NR45A.js} +2 -2
- package/dist/cdn/{MAHNU7KE.js → FNJ2SV5I.js} +2 -2
- package/dist/cdn/{J2YB64DJ.js → FOKCZWOQ.js} +2 -2
- package/dist/cdn/{BJWSTVLX.js → FRISKWYY.js} +2 -2
- package/dist/cdn/FS4FOH3D.js +4 -0
- package/dist/cdn/{IHBXCUXC.js → FSB6TM6Q.js} +2 -2
- package/dist/cdn/{L7SW75RR.js → FT22BE2Q.js} +2 -2
- package/dist/cdn/{JFXRBPOD.js → FTRTGXW7.js} +2 -2
- package/dist/cdn/{3KHQWDAE.js → FYBSJAMQ.js} +2 -2
- package/dist/cdn/{NUMSNTTV.js → G6LTOZJF.js} +2 -2
- package/dist/cdn/{F5LPHHYL.js → G72TLXN2.js} +2 -2
- package/dist/cdn/{DT7AW2GV.js → GDA44E5L.js} +2 -2
- package/dist/cdn/{4QGAJAMT.js → GDCPRSCH.js} +2 -2
- package/dist/cdn/GGIS4CC6.js +4 -0
- package/dist/cdn/{3Y3FMA7U.js → GK66FWMX.js} +2 -2
- package/dist/cdn/{I2F5BV6P.js → GONKLRTB.js} +2 -2
- package/dist/cdn/{SY3P6EMA.js → GORSVRD2.js} +2 -2
- package/dist/cdn/{UCYWBULG.js → GRW5JAFG.js} +2 -2
- package/dist/cdn/{44FUEGZZ.js → GUFWLMXD.js} +2 -2
- package/dist/cdn/{POIFA2UD.js → GXHJQQCL.js} +2 -2
- package/dist/cdn/{4WQLUSGK.js → H4MLUVTV.js} +2 -2
- package/dist/cdn/{VET7HBDC.js → H6QRA25K.js} +2 -2
- package/dist/cdn/HDKINGQW.js +4 -0
- package/dist/cdn/{GMCYP5CG.js → HEW7XMPJ.js} +2 -2
- package/dist/cdn/{A54TR2SR.js → HFOH5YAJ.js} +2 -2
- package/dist/cdn/{ISORN3KD.js → HIWCPXI4.js} +2 -2
- package/dist/cdn/HM4AHTQA.js +4 -0
- package/dist/cdn/{HCZYN74N.js → HMCZQXAN.js} +2 -2
- package/dist/cdn/{6ZK3CKFF.js → HOZY6EI4.js} +2 -2
- package/dist/cdn/{WLOHWAHJ.js → HWMTN5ZA.js} +2 -2
- package/dist/cdn/{AQYE5ZHB.js → HYKFAUBN.js} +2 -2
- package/dist/cdn/{EEEBLVFP.js → I2GKR2VA.js} +2 -2
- package/dist/cdn/{B5T26PJP.js → I2ZUPDGL.js} +2 -2
- package/dist/cdn/{32JOQV7W.js → I5XRY7QD.js} +2 -2
- package/dist/cdn/{XEUQIIFT.js → IIWGQLYN.js} +2 -2
- package/dist/cdn/{U32CZ5HV.js → IJ245FDS.js} +2 -2
- package/dist/cdn/{TKRHJCFT.js → IKCE3HR4.js} +2 -2
- package/dist/cdn/{HXNPMV7T.js → ILEKKEKK.js} +2 -2
- package/dist/cdn/{ODE7EDZN.js → J6VXDYLB.js} +1 -1
- package/dist/cdn/{OWYGZ3CC.js → JBY2LVLC.js} +2 -2
- package/dist/cdn/{UXFKDTYZ.js → JCODPNFL.js} +2 -2
- package/dist/cdn/{LSE4ZVG6.js → JHF5JR4C.js} +2 -2
- package/dist/cdn/{BAV2DQ4A.js → JISBULOQ.js} +2 -2
- package/dist/cdn/{YXQL3IPN.js → JJ7ZGFCV.js} +2 -2
- package/dist/cdn/{CCW5VHE2.js → JJKBP6VP.js} +2 -2
- package/dist/cdn/{KWUHBUOY.js → JNZZAE7R.js} +2 -2
- package/dist/cdn/{XA5T3ZWL.js → JOMW3W6X.js} +2 -2
- package/dist/cdn/{ZOJSFAMZ.js → JP6UDOIU.js} +2 -2
- package/dist/cdn/{PVDWBCF2.js → JPLACREE.js} +2 -2
- package/dist/cdn/{BMUSQVXD.js → JQKYSOGE.js} +1 -1
- package/dist/cdn/{FEFR3FRY.js → JQQORYBM.js} +2 -2
- package/dist/cdn/{CENVPG32.js → JQW2KPJK.js} +2 -2
- package/dist/cdn/{DWJYRIXW.js → JTMPBZCY.js} +2 -2
- package/dist/cdn/{JGDHGRVO.js → JUN72POY.js} +2 -2
- package/dist/cdn/{ITXB3UY7.js → JXNGGIST.js} +2 -2
- package/dist/cdn/{NMKEXRKI.js → K5GHIYOF.js} +2 -2
- package/dist/cdn/{OMFGYAGB.js → K6F7LOXC.js} +2 -2
- package/dist/cdn/{SB345CLE.js → K6NKAZBD.js} +1 -1
- package/dist/cdn/{PTEYVE2O.js → K7YP5PDD.js} +2 -2
- package/dist/cdn/{JLEQROY3.js → KAJZSBBY.js} +2 -2
- package/dist/cdn/{5BN6LD6R.js → KQJ5NCH6.js} +2 -2
- package/dist/cdn/{B7626KRT.js → KS2TXTJB.js} +1 -1
- package/dist/cdn/KST6M5H6.js +4 -0
- package/dist/cdn/{NCJTFCTZ.js → KU7YFFLU.js} +2 -2
- package/dist/cdn/{VUW4NIX5.js → KXCASIUR.js} +1 -1
- package/dist/cdn/{TVQMISGG.js → L5QIQ6XB.js} +2 -2
- package/dist/cdn/{HTQJOJTI.js → L6CDXESS.js} +2 -2
- package/dist/cdn/{PRBIN2BU.js → LC53SJ67.js} +2 -2
- package/dist/cdn/{P4RBDOR6.js → LDWBOY5O.js} +2 -2
- package/dist/cdn/{DIHWASFL.js → LHRZ7IBA.js} +4 -4
- package/dist/cdn/{MBQP2ZCK.js → LUGOSNDF.js} +2 -2
- package/dist/cdn/{A4XV4N4U.js → M3KP4ULO.js} +2 -2
- package/dist/cdn/{QDEJN7KB.js → M4JSPVOB.js} +2 -2
- package/dist/cdn/{W4H632T7.js → M7RJNNBQ.js} +2 -2
- package/dist/cdn/{KQDF42LD.js → MC5TSFO6.js} +2 -2
- package/dist/cdn/{7S55QL7L.js → MGTGTJF2.js} +2 -2
- package/dist/cdn/{SNHSCHSU.js → MJOCAQYG.js} +2 -2
- package/dist/cdn/{MVLXVTLA.js → N2EZQGSH.js} +2 -2
- package/dist/cdn/{4O4WAAXE.js → N2ZLUG26.js} +2 -2
- package/dist/cdn/{DNTG6VCZ.js → N3W52TLJ.js} +2 -2
- package/dist/cdn/{7DBUXIIV.js → N3WXY7EJ.js} +2 -2
- package/dist/cdn/{KPC2ODJP.js → N5V5PPBQ.js} +2 -2
- package/dist/cdn/{RK67BRJG.js → N6VW2C5V.js} +2 -2
- package/dist/cdn/{XLJX5VYK.js → NCOWGV7K.js} +2 -2
- package/dist/cdn/{NGSG7I2S.js → NF7C27BU.js} +2 -2
- package/dist/cdn/{GWZQ77OI.js → NIX6S7F4.js} +2 -2
- package/dist/cdn/{AC2VIC6A.js → NJDA4LPT.js} +2 -2
- package/dist/cdn/{YNMKRCJI.js → NJN5EPQ4.js} +2 -2
- package/dist/cdn/{XARJKYUN.js → NK5C67VR.js} +1 -1
- package/dist/cdn/{HFNJDY5O.js → NKNXRQAV.js} +2 -2
- package/dist/cdn/{CCQPRWZI.js → NLVAFEJX.js} +2 -2
- package/dist/cdn/{KKPHEGTZ.js → NMTVBRAS.js} +2 -2
- package/dist/cdn/{5RP4YGCC.js → NOGPPLBH.js} +2 -2
- package/dist/cdn/{GURFWBHZ.js → NRA2XWTH.js} +2 -2
- package/dist/cdn/{7F56MSPW.js → NRD46FCK.js} +2 -2
- package/dist/cdn/{LGRJQFUN.js → NRH5UT5G.js} +2 -2
- package/dist/cdn/{D5MWETEN.js → NTTL23B5.js} +2 -2
- package/dist/cdn/{GD64EVQX.js → NVQ6TXGS.js} +2 -2
- package/dist/cdn/{QCW7B6B5.js → NX6CRTAS.js} +2 -2
- package/dist/cdn/{ZKTW6VPN.js → NY4MAF55.js} +2 -2
- package/dist/cdn/{2LUJUNTI.js → O5PY3MEI.js} +2 -2
- package/dist/cdn/{LMA7VQL6.js → O7AV7GPK.js} +2 -2
- package/dist/cdn/{PHKWGZMN.js → OAIWU3G2.js} +2 -2
- package/dist/cdn/{CGAFT2XD.js → OB4IBA7J.js} +2 -2
- package/dist/cdn/{UEQ2M7OE.js → OBI4A4AA.js} +1 -1
- package/dist/cdn/{H2CANEYT.js → OSUCA7CY.js} +1 -1
- package/dist/cdn/{TLCC3WKK.js → OXWGYPXL.js} +2 -2
- package/dist/cdn/OY6SET3T.js +4 -0
- package/dist/cdn/{3KR4IDMY.js → P5F6E4BB.js} +2 -2
- package/dist/cdn/{3ROAGKJU.js → PKVTULHS.js} +2 -2
- package/dist/cdn/{6TGQHAFE.js → PLGFKWRR.js} +2 -2
- package/dist/cdn/{N367AMWJ.js → PTDYPOBH.js} +2 -2
- package/dist/cdn/{S3HX5IPM.js → PWZXYVX5.js} +1 -1
- package/dist/cdn/Q5VHOWDO.js +4 -0
- package/dist/cdn/{4E2QUIHI.js → QGEJHDKV.js} +2 -2
- package/dist/cdn/{I2BJW5OQ.js → QMT2B3M5.js} +2 -2
- package/dist/cdn/{KYIHDSUV.js → QU5W75PN.js} +2 -2
- package/dist/cdn/{WFIHKSYE.js → QVQG7XLV.js} +2 -2
- package/dist/cdn/{TRX2L7PJ.js → QZHTC427.js} +2 -2
- package/dist/cdn/{DVUXVX3H.js → RF3JRSKX.js} +2 -2
- package/dist/cdn/{HX7NQUEU.js → RFUX4G37.js} +2 -2
- package/dist/cdn/{EPGHDNIB.js → RFWZ3BG4.js} +2 -2
- package/dist/cdn/{B57ADFKI.js → RJ4NCL2V.js} +2 -2
- package/dist/cdn/{3PVHACQL.js → RKIQ5DUF.js} +1 -1
- package/dist/cdn/{RMA2JBKB.js → RLCYPEXM.js} +1 -1
- package/dist/cdn/{NIKIN4B5.js → RODDEQZP.js} +2 -2
- package/dist/cdn/{JGMQLYZN.js → RPRDW34S.js} +2 -2
- package/dist/cdn/{V7HEDLHM.js → RVQYDMMJ.js} +1 -1
- package/dist/cdn/{X2OGYKSC.js → RYTV4M2W.js} +2 -2
- package/dist/cdn/{HPWCOH2B.js → S2GLQ7ZY.js} +1 -1
- package/dist/cdn/{SIE4ZKUQ.js → SADSRCE6.js} +2 -2
- package/dist/cdn/{ZYDSFGZT.js → SBSDLWOC.js} +2 -2
- package/dist/cdn/{5NUKQCRO.js → SHP3U3JY.js} +2 -2
- package/dist/cdn/{JAP3AOW3.js → T2GOSVXE.js} +1 -1
- package/dist/cdn/{6YPLG3FF.js → T2KFMS3E.js} +2 -2
- package/dist/cdn/{ISA5XXM5.js → T7D3VOZH.js} +1 -1
- package/dist/cdn/{5JSUD3U7.js → TBBACRUK.js} +1 -1
- package/dist/cdn/{SH7LPYYM.js → TBX5YM7Y.js} +2 -2
- package/dist/cdn/{SJU2YRAX.js → TEDF2YLW.js} +2 -2
- package/dist/cdn/{2XKGPSPT.js → TGDEP6QV.js} +2 -2
- package/dist/cdn/{S6V57F65.js → TIVFVKSV.js} +2 -2
- package/dist/cdn/{6SZEED4O.js → TMAKLZXE.js} +2 -2
- package/dist/cdn/{6DPMFNGR.js → TPC7NEBD.js} +2 -2
- package/dist/cdn/{4CULZZ7A.js → TUKEY4JX.js} +2 -2
- package/dist/cdn/{EFPPKG2I.js → TZLKWPKE.js} +1 -1
- package/dist/cdn/{VPAX4SKK.js → U5Y5C2T7.js} +2 -2
- package/dist/cdn/U74L7VJM.js +4 -0
- package/dist/cdn/{ZBLGJ35H.js → UCYKJ3G4.js} +2 -2
- package/dist/cdn/{HMFF7KAP.js → UK7HJV5Q.js} +2 -2
- package/dist/cdn/{W3GW7PX4.js → UM5VAPJJ.js} +2 -2
- package/dist/cdn/{RW4DP44R.js → UNXHL3PD.js} +2 -2
- package/dist/cdn/UTCZEP45.js +4 -0
- package/dist/cdn/{2BWXNIBU.js → UTJOHATU.js} +2 -2
- package/dist/cdn/UUIEPEEK.js +4 -0
- package/dist/cdn/{P372OUGB.js → UYBRDZJB.js} +1 -1
- package/dist/cdn/{EGPTG5G2.js → V5T2QK5Z.js} +3 -3
- package/dist/cdn/{A2SSHOEE.js → V6P7MNAU.js} +2 -2
- package/dist/cdn/{66HZ4CFW.js → VAAKEDW6.js} +2 -2
- package/dist/cdn/{QZUNCGIF.js → VBXJSOCP.js} +2 -2
- package/dist/cdn/{A5P6FRV7.js → VDIJAOXE.js} +2 -2
- package/dist/cdn/{BV67KGE3.js → VGEFJTQ7.js} +2 -2
- package/dist/cdn/{SYRGH4IP.js → VI6A3Y4V.js} +2 -2
- package/dist/cdn/{4OYU3VYB.js → VIHFAHTC.js} +2 -2
- package/dist/cdn/{IOQCMJDM.js → VJ2T3Q32.js} +2 -2
- package/dist/cdn/{T4M3T4RS.js → VJTZDKH6.js} +2 -2
- package/dist/cdn/{32UWEOGE.js → VKEAIQ7W.js} +2 -2
- package/dist/cdn/{WI2PK5PH.js → VLJVPFSV.js} +2 -2
- package/dist/cdn/{HIH6KSUX.js → VTTSGBR5.js} +1 -1
- package/dist/cdn/{LVWOAPCF.js → VXR2PQEH.js} +2 -2
- package/dist/cdn/{PVEHCRYW.js → VYKWK2BX.js} +2 -2
- package/dist/cdn/{XD7A67EU.js → W62W3LOA.js} +2 -2
- package/dist/cdn/{NJYV6KX6.js → W6LHCK7P.js} +2 -2
- package/dist/cdn/{CO2DP2DI.js → WCFSF7A6.js} +2 -2
- package/dist/cdn/{ZZ6ICIIG.js → WE6UE3KJ.js} +2 -2
- package/dist/cdn/{CD3AZHCX.js → WEOL6RSK.js} +2 -2
- package/dist/cdn/{W5OTI4GJ.js → WFIOSSYN.js} +2 -2
- package/dist/cdn/{A2FZ36I2.js → WFPKRTD3.js} +2 -2
- package/dist/cdn/WGEGKLDT.js +4 -0
- package/dist/cdn/WGRUBU2Y.js +4 -0
- package/dist/cdn/{4TMG2MRJ.js → WIX6R4XI.js} +2 -2
- package/dist/cdn/{YNL7TZVR.js → WQZZSYO5.js} +1 -1
- package/dist/cdn/{OIQRL57S.js → WUZDDPQU.js} +2 -2
- package/dist/cdn/{LLGXL2FM.js → WX2RTJ3T.js} +1 -1
- package/dist/cdn/{OV44LC7H.js → WYHW2ASX.js} +2 -2
- package/dist/cdn/{K6WR5EDK.js → X6UQRYBW.js} +2 -2
- package/dist/cdn/{XX6OFWI6.js → XO3YBGIL.js} +2 -2
- package/dist/cdn/{FZJLIT7Z.js → XZQZZC3C.js} +1 -1
- package/dist/cdn/{CJPCNBVG.js → YCKVHLNK.js} +2 -2
- package/dist/cdn/{H7HNI5VC.js → YHKV4IMA.js} +2 -2
- package/dist/cdn/{XITP2HVP.js → YIXNCAFO.js} +2 -2
- package/dist/cdn/{ZYAUUZNK.js → YKML7M7J.js} +2 -2
- package/dist/cdn/{ZR4Y7QSQ.js → YKSQ7TEX.js} +2 -2
- package/dist/cdn/{PZEMU6YN.js → YLWCZLWX.js} +2 -2
- package/dist/cdn/{4GZQCBLE.js → YPOFETNV.js} +2 -2
- package/dist/cdn/{AUESZVU4.js → YRJBKF6C.js} +2 -2
- package/dist/cdn/{6V4III7E.js → YUD3M45U.js} +2 -2
- package/dist/cdn/{GQBI4FHB.js → YVDXF4UB.js} +2 -2
- package/dist/cdn/YXKSGCHP.js +4 -0
- package/dist/cdn/{SPA4CCTH.js → ZCVLEFOZ.js} +2 -2
- package/dist/cdn/{NGJZW2XA.js → ZEOSRRT3.js} +2 -2
- package/dist/cdn/{3BQF3XCQ.js → ZGSIGKHE.js} +2 -2
- package/dist/cdn/{26CCKO42.js → ZIBWJVYK.js} +2 -2
- package/dist/cdn/{U62MSJKG.js → ZKK5CT2Y.js} +2 -2
- package/dist/cdn/{7LW2YQNW.js → ZLSRPXWT.js} +1 -1
- package/dist/cdn/{H2A4E2V5.js → ZMOPA7LL.js} +2 -2
- package/dist/cdn/{7IN6BWTZ.js → ZP32JPRG.js} +2 -2
- package/dist/cdn/{TRD4MHP2.js → ZQGM6XZT.js} +2 -2
- package/dist/cdn/{CUKHOOVQ.js → ZWBLEX27.js} +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +10 -10
- package/dist/chunks/Auth.js.map +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +2 -2
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +2 -2
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/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/info-card/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-basemap-gallery/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-floor-filter/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-configure-titles/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-deployed-card-panel/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-accordion/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-resource-card/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +2 -2
- package/dist/components/solution-social-share/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-deploy-app/customElement.js +2 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +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/373TXH6X.js +0 -4
- package/dist/cdn/4BC5PUYF.js +0 -4
- package/dist/cdn/4KV6D3RM.js +0 -4
- package/dist/cdn/5UC4CYX3.js +0 -4
- package/dist/cdn/7HIBIE5S.js +0 -4
- package/dist/cdn/7IWH6D5M.js +0 -4
- package/dist/cdn/B4KVKAMX.js +0 -4
- package/dist/cdn/CPIYJUUR.js +0 -4
- package/dist/cdn/FFVKKDWT.js +0 -4
- package/dist/cdn/GC4R6XRD.js +0 -4
- package/dist/cdn/HCZ5DMOB.js +0 -4
- package/dist/cdn/KEHSAGKX.js +0 -4
- package/dist/cdn/MUBMA2CZ.js +0 -4
- package/dist/cdn/PYQKMCG2.js +0 -4
- package/dist/cdn/SBRT4GZR.js +0 -4
- package/dist/cdn/SVGTK3UD.js +0 -4
- package/dist/cdn/VMEMQMFU.js +0 -4
- package/dist/cdn/WUW4CFR7.js +0 -4
- package/dist/cdn/X5DNRQC4.js +0 -4
- package/dist/cdn/XC3YLDVR.js +0 -4
- package/dist/cdn/ZTETANBH.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import d from"./PTEYVE2O.js";import c from"./DEQAS2SR.js";import b from"./QVLTIXTS.js";import a from"./U32CZ5HV.js";import{a as X}from"./XLJX5VYK.js";import{b as Pe}from"./MZ7IE5RN.js";import"./VVHFDNIP.js";import{F as Se,G as Ie,I as w,J as E,h as Ee,i as L,j as me,l as de,t as ze}from"./HIH6KSUX.js";import{b as st,d as lt}from"./UEQ2M7OE.js";export default $arcgis.t(([Ye,D,le,ct,,,{a:U,b:G},{a:Te,b:fe,d:Fe,e:Me,f:ye,g:He,i:Be,o:ve,s:Ue,t:Q,u:$e,v:De,w:qe}])=>{var Ge=st((pe,We)=>{(function(b,t){typeof pe=="object"&&typeof We<"u"?t(pe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(pe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},u=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},h=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,n,l){var p=e[i];if(p.vnodeSelector!==""){var c=p.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(p.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],k=!1,z=function(e){(e.children||[]).forEach(z),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},S=function(){k=!1,x.forEach(z),x.length=0},I=function(e){x.push(e),k||(k=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(S,{timeout:16}):setTimeout(S,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function q(e){return!M.includes(e)}var te=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,p=Object.keys(i).filter(q),c=p.length,A=0;A<c;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")ie(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),C=v.length,y=0;y<C;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var H=Object.keys(d),T=H.length,y=0;y<T;y++){var K=H[y],N=d[K];N&&(h(N),n.styleApplyer(e,K,N))}else if(f==="on"&&d)for(var re=0,se=Object.entries(i.on);re<se.length;re++){var ce=se[re],Y=ce[0],W=ce[1],j=typeof W=="function"?W:W.listener;l&&(j=l(Y,j,e,i)),j&&e.addEventListener(Y,j,typeof W=="function"?void 0:W.options)}else if(f!=="key"&&d!==null&&d!==void 0){var oe=typeof d;oe==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):oe==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Z=function(e,i,n){if(i)for(var l=0,p=i;l<p.length;l++){var c=p[l];F(c,e,void 0,n)}},B=function(e,i,n){Z(e,i.children,n),i.text&&(e.textContent=i.text),te(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var p,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var C=f.charAt(v);if(v===f.length||C==="."||C==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((p=e.properties)===null||p===void 0)&&p.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}B(c,e,l)}},J,ie=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},ue=function(e,i,n,l){if(n){for(var p=!1,c=Object.keys(n).filter(q),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],C=i[d];if(d==="class")C!==v&&(ie(e,C,!1),ie(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),H=m.length,T=0;T<H;T++){var K=m[T],N=!!v[K],re=!!C[K];N!==re&&(p=!0,N?y.add(K):y.remove(K))}else if(d==="styles")for(var se=Object.keys(v),ce=se.length,T=0;T<ce;T++){var Y=se[T],W=v[Y],j=C[Y];W!==j&&(p=!0,W?(h(W),l.styleApplyer(e,Y,W)):l.styleApplyer(e,Y,""))}else if(!v&&typeof C=="string"&&(v=""),d==="value"){var oe=e[d];oe!==v&&v!==C&&(e[d]=v),v!==C&&(p=!0)}else if(v!==C){var Re=typeof v;(Re!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Re==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Oe=function(e,i,n,l,p){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,C=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))C=J(y,m,p,i,n)||C,f++;else{var H=_(n,m,f+1);if(H>=0){for(v=f;v<H;v++)R(n[v]),$(n,v,e,"removed");C=J(n[H],m,p,i,n)||C,f=H+1}else F(m,i,f<c?n[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return C};J=function(e,i,n,l,p){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=ue(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ne=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,J(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},O=function(e){return r(Ne,e)},ae={create:function(e,i){return i=O(i),F(e,document.createElement("div"),void 0,i),ne(e,i)},append:function(e,i,n){return n=O(n),F(i,e,void 0,n),ne(i,n)},insertBefore:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),ne(i,n)},merge:function(e,i,n){return n=O(n),i.domNode=e,B(e,i,n),ne(i,n)},replace:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ne(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},Ce=function(e,i,n){for(var l=0,p=i.length;l<p;l++){var c=i[l];Array.isArray(c)?Ce(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(p=[],Ce(e,n,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},he;Array.prototype.find?he=function(e,i){return e.find(i)}:he=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?he(n.children,function(p){return p.domNode===l}):void 0}),n},it=function(e,i,n){return function(p,c,A,f){return l};function l(p){var c,A;n("domEvent",p);var f=i(),d=et(p.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var C;if(v){var y=(A=(c=v.properties["on".concat(p.type)])!==null&&c!==void 0?c:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];C=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",p),C}},nt=function(e){var i,n=O(e),l=n.performanceLogger,p=!0,c,A=!1,f=[],d=[],v=function(y,m,H){var T,K=function(){return T};n.eventHandlerInterceptor=it(i,K,l),T=y(m,H(),n),f.push(T),d.push(H)},C=function(){if(c=void 0,!!p){p=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),p=!0}};return i={renderNow:C,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(C))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,p=!0,i.scheduleRender()},append:function(y,m){v(ae.append,y,m)},insertBefore:function(y,m){v(ae.insertBefore,y,m)},merge:function(y,m){v(ae.merge,y,m)},replace:function(y,m){v(ae.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var p=0;p<n.length;p++)e[p]!==n[p]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],p=[];return{results:p,map:function(c){for(var A=c.map(e),f=p.slice(),d=0,v=0;v<c.length;v++){var C=c[v],y=A[v];if(y===l[d])p[v]=f[d],n(C,f[d],v),d++;else{for(var m=!1,H=1;H<l.length+1;H++){var T=(d+H)%l.length;if(l[T]===y){p[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(C,v))}}p.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ae,b.h=Ve}))});var Xe=lt(Ge(),1);var ot=96;function ee(b){return b?b/72*ot:0}var dt=(0,Xe.createProjector)(),Qe=10,Ae=20,ge=10,xe=20,ke={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function ft(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${me`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${me`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function vt(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${Ae}px`,s.className=ke.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=vt(t,s);else{let{size:u}=a,h=ee(u)+(s==="horizontal"?xe:ge),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=ke.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Je(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(ee(o)+ge)/2:(ee(o)-ee(a))/2}function be(b,t){if(!b)return null;let s=b.infos.map(a=>a.color),o=Ye.renderColorRampPreviewHTML(t.type==="full"?s:t.type==="above"?s.slice(0,3):s.slice(2,5),{width:t.width,height:t.height,align:t.rampAlignment,effectList:t.effectList});return o.className=ke.colorRamp,t.opacity!=null&&(o.style.opacity=t.opacity.toString()),o}function pt(b,t,s,o="vertical"){let a=0,r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u;for(let $=h;$<=_;$++)if(s&&$===u)a+=o==="horizontal"?Qe:Ae;else{let P=r[$].size,x=ee(P)+(o==="horizontal"?xe:ge);a+=x}return Math.round(a)}function we(b,t,s,o="vertical"){let a=pt(b,t,s,o),r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u,$=t==="full"?r[h].size+r[_].size:t==="above"?r[h].size:r[_].size,P=s?o==="vertical"?Ae:Qe:0,x=o==="vertical"?ge*(t==="full"?2:1):xe*(t==="full"?2:1);return Math.round(a-(ee($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let o=b.infos,a=o.find(({type:u})=>u==="size-ramp"),r=o.find(({type:u})=>u==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function ht(b,t){return!0}var mt=Ee`@layer{instant-apps-interactive-legend-classic{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var( --calcite-color-text-2 );--instant-apps-interactive-legend-secondary-background-color: var( --calcite-color-background );--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media(min-width:992px){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,g={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},yt=24,Ke={display:"flex",alignItems:"flex-start"},_e={marginLeft:"3px"},V={display:"table-cell",verticalAlign:"middle"},Le=class extends Ie{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=mt}static{this.shadowRootOptions=ze}connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=new ct)}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&De(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await D.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async h=>await h.load()),a=(await Promise.allSettled(o)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];a.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await fe(this.legendvm);G.set("data",{...U.data,...u}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:le.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return le.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:u}=t,h=this.messages[r],_=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?le.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(D?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(u=>{console.error(u)})}),r)}),this.handles?.add(D.when(()=>this.legendvm,()=>{D.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,D.when(()=>!this.legendvm?.view?.updating,()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(D.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(D.on(()=>a.children,"change",()=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(D.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=G.get("data")?.[t?.id],o=qe(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Te(this.legendvm,o);if($e({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await ve(this.legendvm,U.data);G.set("data",{...U.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...U.data?.[s?.id]};a?await ye(r,t,o,this.filterMode,a):await ye(r,t,o,this.filterMode),$e({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=G.get("compact")?` ${g.compact}`:"";return this.isLoading?X("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):X("interactive-legend-classic-container",L`<div class=${`${Q(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(g.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(g.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,k=Be(a,t,r),z=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,q)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,q,k,h)).filter(M=>!!M);R.length&&(x=L`<div class=${w(g.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(z)x=X("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Q(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let S=t.title,I=null;if(typeof S=="string")I=S;else if(S){let R=S,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in S&&(I=`${S.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Q(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${z} .isInteractive=${k} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=gt(t,s);if(!a)return null;let u=we(a,"above",!0),h=we(a,"below",!0),_=12,$=be(r,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=be(r,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Je(a),k=a.infos.map(B=>B.label),z=k.map((B,F)=>F===0?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:F===2?L`<div></div>`:null),S=k.length-1,I=Math.floor(k.length/2),R=k.map((B,F)=>F===I||F===S?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},q={marginTop:`${x}px`},te={height:`${u}px`},Z={height:`${h}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map((B,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${B?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${k[F]}</div>`:null}</div>`)}</div>${$?X("color-ramp-preview",L`<div style=${E(q)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(te)}>${z}</div></div></div><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(Z)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ut(t);if(!a)return null;let u=Je(a),h=12,_=we(a,"full",!1),$=be(r,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${I.label}</div>`:null),k={display:"table-cell",verticalAlign:"middle"},z={marginTop:`${u}px`},S={height:`${_}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map(I=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(k)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${X("color-ramp-preview",L`<div style=${E(z)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(S)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=a?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=o.map(k=>{let z;if(r){let S=this.messages[k.label];z=typeof S=="string"?S:k.label}else u?z="value"in k?this.getStretchStopLabel(k):k.label:z=k.label;return L`<div class=${w(k.label?g.rampLabel:"")}>${z}</div>`}),P={width:`${yt}px`},x={height:h?.style?.height};return L`<div class=${w(g.layerRow)}><div class=${w(g.symbolContainer)} style=${E({...P})}><div class=${w(g.rampContainer)} ${Se(k=>{k?.firstChild&&k?.firstChild?.remove(),k?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,u,h,!0,t);let x=null,k=!ht(s,r.type);if("preview"in t){let{outerHTML:J}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${J??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,k));if(!x)return null;let z="",S=a?` ${g.sizeRamp}`:"",I,R=Me(s),M=Ue(R,P);if(U.data){let J=Fe(R,s,t,M,_),ie=M?M?.nestedInfos:R,ue=He(ie);I=R?.categories?.size===1?!J?.selected:ue||J?.selected}let q="label"in t?t.label:null,te=M&&!("value"in t)?!1:$,Z=G.get("compact"),B=this.getTitle(q,!1)||"",F=M?r.title:q??s?.id;return te?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${I?` ${g.infoSelected}`:""}`} title=${(Z?`${B}`:void 0)??de} .ariaPressed=${I?"true":"false"}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${this.getTitle(q,!1)||""}</div>${this.featureCount&&!Z?L`<instant-apps-interactive-legend-count class=${w(Q(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${B}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:u}=t,h=o?` ${g.imageryLayerStretchedImage}`:"",_=o?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??de} src=${r??de} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Pe("instant-apps-interactive-legend-classic",Le);return Le},"symbols/support/symbolUtils","core/reactiveUtils","intl","core/Handles",a,b,c,d)
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import d from"./K7YP5PDD.js";import c from"./3UZFYGDX.js";import b from"./6GOVJOEP.js";import a from"./IJ245FDS.js";import{a as X}from"./NCOWGV7K.js";import{b as Pe}from"./7AEU6P43.js";import"./FC4NR45A.js";import{F as Se,G as Ie,I as w,J as E,h as Ee,i as L,j as me,l as de,t as ze}from"./VTTSGBR5.js";import{b as st,d as lt}from"./OBI4A4AA.js";export default $arcgis.t(([Ye,D,le,ct,,,{a:U,b:G},{a:Te,b:fe,d:Fe,e:Me,f:ye,g:He,i:Be,o:ve,s:Ue,t:Q,u:$e,v:De,w:qe}])=>{var Ge=st((pe,We)=>{(function(b,t){typeof pe=="object"&&typeof We<"u"?t(pe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(pe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},u=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},h=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,n,l){var p=e[i];if(p.vnodeSelector!==""){var c=p.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(p.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],k=!1,z=function(e){(e.children||[]).forEach(z),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},S=function(){k=!1,x.forEach(z),x.length=0},I=function(e){x.push(e),k||(k=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(S,{timeout:16}):setTimeout(S,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function q(e){return!M.includes(e)}var te=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,p=Object.keys(i).filter(q),c=p.length,A=0;A<c;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")ie(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),C=v.length,y=0;y<C;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var H=Object.keys(d),T=H.length,y=0;y<T;y++){var K=H[y],N=d[K];N&&(h(N),n.styleApplyer(e,K,N))}else if(f==="on"&&d)for(var re=0,se=Object.entries(i.on);re<se.length;re++){var ce=se[re],Y=ce[0],W=ce[1],j=typeof W=="function"?W:W.listener;l&&(j=l(Y,j,e,i)),j&&e.addEventListener(Y,j,typeof W=="function"?void 0:W.options)}else if(f!=="key"&&d!==null&&d!==void 0){var oe=typeof d;oe==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):oe==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Z=function(e,i,n){if(i)for(var l=0,p=i;l<p.length;l++){var c=p[l];F(c,e,void 0,n)}},B=function(e,i,n){Z(e,i.children,n),i.text&&(e.textContent=i.text),te(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var p,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var C=f.charAt(v);if(v===f.length||C==="."||C==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((p=e.properties)===null||p===void 0)&&p.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}B(c,e,l)}},J,ie=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},ue=function(e,i,n,l){if(n){for(var p=!1,c=Object.keys(n).filter(q),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],C=i[d];if(d==="class")C!==v&&(ie(e,C,!1),ie(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),H=m.length,T=0;T<H;T++){var K=m[T],N=!!v[K],re=!!C[K];N!==re&&(p=!0,N?y.add(K):y.remove(K))}else if(d==="styles")for(var se=Object.keys(v),ce=se.length,T=0;T<ce;T++){var Y=se[T],W=v[Y],j=C[Y];W!==j&&(p=!0,W?(h(W),l.styleApplyer(e,Y,W)):l.styleApplyer(e,Y,""))}else if(!v&&typeof C=="string"&&(v=""),d==="value"){var oe=e[d];oe!==v&&v!==C&&(e[d]=v),v!==C&&(p=!0)}else if(v!==C){var Re=typeof v;(Re!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Re==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Oe=function(e,i,n,l,p){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,C=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))C=J(y,m,p,i,n)||C,f++;else{var H=_(n,m,f+1);if(H>=0){for(v=f;v<H;v++)R(n[v]),$(n,v,e,"removed");C=J(n[H],m,p,i,n)||C,f=H+1}else F(m,i,f<c?n[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return C};J=function(e,i,n,l,p){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=ue(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ne=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,J(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},O=function(e){return r(Ne,e)},ae={create:function(e,i){return i=O(i),F(e,document.createElement("div"),void 0,i),ne(e,i)},append:function(e,i,n){return n=O(n),F(i,e,void 0,n),ne(i,n)},insertBefore:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),ne(i,n)},merge:function(e,i,n){return n=O(n),i.domNode=e,B(e,i,n),ne(i,n)},replace:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ne(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},Ce=function(e,i,n){for(var l=0,p=i.length;l<p;l++){var c=i[l];Array.isArray(c)?Ce(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(p=[],Ce(e,n,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},he;Array.prototype.find?he=function(e,i){return e.find(i)}:he=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?he(n.children,function(p){return p.domNode===l}):void 0}),n},it=function(e,i,n){return function(p,c,A,f){return l};function l(p){var c,A;n("domEvent",p);var f=i(),d=et(p.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var C;if(v){var y=(A=(c=v.properties["on".concat(p.type)])!==null&&c!==void 0?c:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];C=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",p),C}},nt=function(e){var i,n=O(e),l=n.performanceLogger,p=!0,c,A=!1,f=[],d=[],v=function(y,m,H){var T,K=function(){return T};n.eventHandlerInterceptor=it(i,K,l),T=y(m,H(),n),f.push(T),d.push(H)},C=function(){if(c=void 0,!!p){p=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),p=!0}};return i={renderNow:C,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(C))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,p=!0,i.scheduleRender()},append:function(y,m){v(ae.append,y,m)},insertBefore:function(y,m){v(ae.insertBefore,y,m)},merge:function(y,m){v(ae.merge,y,m)},replace:function(y,m){v(ae.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var p=0;p<n.length;p++)e[p]!==n[p]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],p=[];return{results:p,map:function(c){for(var A=c.map(e),f=p.slice(),d=0,v=0;v<c.length;v++){var C=c[v],y=A[v];if(y===l[d])p[v]=f[d],n(C,f[d],v),d++;else{for(var m=!1,H=1;H<l.length+1;H++){var T=(d+H)%l.length;if(l[T]===y){p[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(C,v))}}p.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ae,b.h=Ve}))});var Xe=lt(Ge(),1);var ot=96;function ee(b){return b?b/72*ot:0}var dt=(0,Xe.createProjector)(),Qe=10,Ae=20,ge=10,xe=20,ke={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function ft(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${me`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${me`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function vt(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${Ae}px`,s.className=ke.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=vt(t,s);else{let{size:u}=a,h=ee(u)+(s==="horizontal"?xe:ge),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=ke.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Je(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(ee(o)+ge)/2:(ee(o)-ee(a))/2}function be(b,t){if(!b)return null;let s=b.infos.map(a=>a.color),o=Ye.renderColorRampPreviewHTML(t.type==="full"?s:t.type==="above"?s.slice(0,3):s.slice(2,5),{width:t.width,height:t.height,align:t.rampAlignment,effectList:t.effectList});return o.className=ke.colorRamp,t.opacity!=null&&(o.style.opacity=t.opacity.toString()),o}function pt(b,t,s,o="vertical"){let a=0,r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u;for(let $=h;$<=_;$++)if(s&&$===u)a+=o==="horizontal"?Qe:Ae;else{let P=r[$].size,x=ee(P)+(o==="horizontal"?xe:ge);a+=x}return Math.round(a)}function we(b,t,s,o="vertical"){let a=pt(b,t,s,o),r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u,$=t==="full"?r[h].size+r[_].size:t==="above"?r[h].size:r[_].size,P=s?o==="vertical"?Ae:Qe:0,x=o==="vertical"?ge*(t==="full"?2:1):xe*(t==="full"?2:1);return Math.round(a-(ee($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let o=b.infos,a=o.find(({type:u})=>u==="size-ramp"),r=o.find(({type:u})=>u==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function ht(b,t){return!0}var mt=Ee`@layer{instant-apps-interactive-legend-classic{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var( --calcite-color-text-2 );--instant-apps-interactive-legend-secondary-background-color: var( --calcite-color-background );--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media(min-width:992px){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,g={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},yt=24,Ke={display:"flex",alignItems:"flex-start"},_e={marginLeft:"3px"},V={display:"table-cell",verticalAlign:"middle"},Le=class extends Ie{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=mt}static{this.shadowRootOptions=ze}connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=new ct)}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&De(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await D.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async h=>await h.load()),a=(await Promise.allSettled(o)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];a.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await fe(this.legendvm);G.set("data",{...U.data,...u}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:le.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return le.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:u}=t,h=this.messages[r],_=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?le.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(D?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(u=>{console.error(u)})}),r)}),this.handles?.add(D.when(()=>this.legendvm,()=>{D.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,D.when(()=>!this.legendvm?.view?.updating,()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(D.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(D.on(()=>a.children,"change",()=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(D.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=G.get("data")?.[t?.id],o=qe(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Te(this.legendvm,o);if($e({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await ve(this.legendvm,U.data);G.set("data",{...U.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...U.data?.[s?.id]};a?await ye(r,t,o,this.filterMode,a):await ye(r,t,o,this.filterMode),$e({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=G.get("compact")?` ${g.compact}`:"";return this.isLoading?X("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):X("interactive-legend-classic-container",L`<div class=${`${Q(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(g.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(g.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,k=Be(a,t,r),z=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,q)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,q,k,h)).filter(M=>!!M);R.length&&(x=L`<div class=${w(g.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(z)x=X("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Q(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let S=t.title,I=null;if(typeof S=="string")I=S;else if(S){let R=S,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in S&&(I=`${S.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Q(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${z} .isInteractive=${k} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=gt(t,s);if(!a)return null;let u=we(a,"above",!0),h=we(a,"below",!0),_=12,$=be(r,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=be(r,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Je(a),k=a.infos.map(B=>B.label),z=k.map((B,F)=>F===0?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:F===2?L`<div></div>`:null),S=k.length-1,I=Math.floor(k.length/2),R=k.map((B,F)=>F===I||F===S?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},q={marginTop:`${x}px`},te={height:`${u}px`},Z={height:`${h}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map((B,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${B?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${k[F]}</div>`:null}</div>`)}</div>${$?X("color-ramp-preview",L`<div style=${E(q)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(te)}>${z}</div></div></div><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(Z)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ut(t);if(!a)return null;let u=Je(a),h=12,_=we(a,"full",!1),$=be(r,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${I.label}</div>`:null),k={display:"table-cell",verticalAlign:"middle"},z={marginTop:`${u}px`},S={height:`${_}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map(I=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(k)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${X("color-ramp-preview",L`<div style=${E(z)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(S)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=a?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=o.map(k=>{let z;if(r){let S=this.messages[k.label];z=typeof S=="string"?S:k.label}else u?z="value"in k?this.getStretchStopLabel(k):k.label:z=k.label;return L`<div class=${w(k.label?g.rampLabel:"")}>${z}</div>`}),P={width:`${yt}px`},x={height:h?.style?.height};return L`<div class=${w(g.layerRow)}><div class=${w(g.symbolContainer)} style=${E({...P})}><div class=${w(g.rampContainer)} ${Se(k=>{k?.firstChild&&k?.firstChild?.remove(),k?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,u,h,!0,t);let x=null,k=!ht(s,r.type);if("preview"in t){let{outerHTML:J}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${J??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,k));if(!x)return null;let z="",S=a?` ${g.sizeRamp}`:"",I,R=Me(s),M=Ue(R,P);if(U.data){let J=Fe(R,s,t,M,_),ie=M?M?.nestedInfos:R,ue=He(ie);I=R?.categories?.size===1?!J?.selected:ue||J?.selected}let q="label"in t?t.label:null,te=M&&!("value"in t)?!1:$,Z=G.get("compact"),B=this.getTitle(q,!1)||"",F=M?r.title:q??s?.id;return te?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${I?` ${g.infoSelected}`:""}`} title=${(Z?`${B}`:void 0)??de} .ariaPressed=${I?"true":"false"}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${this.getTitle(q,!1)||""}</div>${this.featureCount&&!Z?L`<instant-apps-interactive-legend-count class=${w(Q(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${B}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:u}=t,h=o?` ${g.imageryLayerStretchedImage}`:"",_=o?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??de} src=${r??de} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Pe("instant-apps-interactive-legend-classic",Le);return Le},"symbols/support/symbolUtils","core/reactiveUtils","intl","core/Handles",a,b,c,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as e}from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{d as e}from"./GRW5JAFG.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as c}from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{d as c}from"./WX2RTJ3T.js";import{a as y}from"./F2O4WKM6.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
function s(n,r){return Object.keys(n).reduce(function(i,t){return i[t]=r(n[t],t,n),i},{})}function o(n,r,e){if(e=e||"",Array.isArray(n))return n.map(u);return n&&c(n)&&!a(n)&&!x(n)&&!p(n)?Object.assign({},n,s(n,u)):r(n,e);function u(i,t){let f=""+(e?e+"."+t:t);return o(i,r,f)}}function l(n){return typeof n=="string"||n instanceof String}function a(n){return n instanceof Date}function p(n){return typeof n=="function"}function c(n){return typeof n=="object"}function x(n){return n instanceof RegExp}export{o as a,l as b,c,x as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
var o={user:"user",group:"group",groupAdmin:"group-admin",org:"org",orgAdmin:"org-admin",authenticated:"authenticated",anonymous:"anonymous",owner:"owner"};export{o as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a}from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{a}from"./7IB6W2XU.js";import"./OBI4A4AA.js";export default a();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{a as s}from"./CNEHMBZW.js";import{c as x}from"./RKIQ5DUF.js";import{a as X}from"./L6CDXESS.js";import{a as J,b as H}from"./2QT4FWZI.js";import{b as R,c as w}from"./UM5VAPJJ.js";import"./A6EVVFF5.js";import{h as V,i as z}from"./N2EZQGSH.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"./AU6YGJUT.js";import"./UCYKJ3G4.js";import"./TZLKWPKE.js";import"./UYBRDZJB.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./IKCE3HR4.js";import"./ZLSRPXWT.js";import{i as G}from"./ZGSIGKHE.js";import"./PWZXYVX5.js";import{a as p}from"./T7D3VOZH.js";import"./NK5C67VR.js";import"./TPC7NEBD.js";import"./RJ4NCL2V.js";import"./GRW5JAFG.js";import{k as O,s as j}from"./V6P7MNAU.js";import"./WX2RTJ3T.js";import"./K6NKAZBD.js";import"./VGEFJTQ7.js";import{a as d}from"./F2O4WKM6.js";import"./C4C7KF52.js";import"./RVQYDMMJ.js";import"./OBI4A4AA.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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
var a;(function(e){e.aptx="aptx",e.bpk="bpk",e.csv="csv",e.eaz="eaz",e.esriaddin="esriaddin",e.esriaddinx="esriaddinx",e.doc="doc",e.docx="docx",e.dlpk="dlpk",e.featurecollection="featurecollection",e.geojson="geojson",e.gcpk="gcpk",e.gpk="gpk",e.gpkg="gpkg",e.gpkx="gpkx",e.insightswbk="insightswbk",e.ipynb="ipynb",e.jpg="jpg",e.jpeg="jpeg",e.json="json",e.key="key",e.kml="kml",e.kmz="kmz",e.lpk="lpk",e.lpkx="lpkx",e.lyr="lyr",e.lyrx="lyrx",e.mapx="mapx",e.mmpk="mmpk",e.mpk="mpk",e.mpkx="mpkx",e.msd="msd",e.mspk="mspk",e.mxd="mxd",e.ncfg="ncfg",e.nmc="nmc",e.nmf="nmf",e.numbers="numbers",e.pages="pages",e.pagx="pagx",e.parquet="parquet",e.pdf="pdf",e.pmf="pmf",e.png="png",e.ppkx="ppkx",e.ppt="ppt",e.pptx="pptx",e.proconfigx="proconfigx",e.rpk="rpk",e.rptx="rptx",e.sd="sd",e.slpk="slpk",e.spk="spk",e.stylx="stylx",e.surveyaddin="surveyaddin",e.sxd="sxd",e.tif="tif",e.tiff="tiff",e.tpk="tpk",e.tpkx="tpkx",e.vsd="vsd",e.vtpk="vtpk",e.wmpk="wmpk",e.wpk="wpk",e.xls="xls",e.xml="xml",e.xlsx="xlsx",e.zip="zip",e["3dd"]="3dd",e["3vr"]="3vr",e["3ws"]="3ws",e["rft.json"]="rft.json",e["rft.xml"]="rft.xml"})(a||(a={}));var r;(function(e){e["360 VR Experience"]="360 VR Experience",e["Apache Parquet"]="Apache Parquet",e["AppBuilder Widget Package"]="AppBuilder Widget Package",e["Desktop Add In"]="Desktop Add In",e["Explorer Add In"]="Explorer Add In",e["Explorer Map"]="Explorer Map",e["Explorer Layer"]="Explorer Layer",e["Windows Mobile Package"]="Windows Mobile Package",e["ArcGIS Pro Add In"]="ArcGIS Pro Add In",e["ArcGIS Pro Configuration"]="ArcGIS Pro Configuration",e["Globe Document"]="Globe Document",e["Map Document"]="Map Document",e["ArcPad Package"]="ArcPad Package",e["Published Map"]="Published Map",e["Scene Document"]="Scene Document",e["CityEngine Web Scene"]="CityEngine Web Scene",e["Code Sample"]="Code Sample",e["CSV Collection"]="CSV Collection",e.CSV="CSV",e["CAD Drawing"]="CAD Drawing",e["Deep Learning Package"]="Deep Learning Package",e["Desktop Application"]="Desktop Application",e["Desktop Application Template"]="Desktop Application Template",e["Desktop Style"]="Desktop Style",e["Earth Configuration"]="Earth Configuration",e["Feature Collection"]="Feature Collection",e["File Geodatabase"]="File Geodatabase",e.GeoJson="GeoJson",e["Geoprocessing Package"]="Geoprocessing Package",e.GeoPackage="GeoPackage",e["Geoprocessing Sample"]="Geoprocessing Sample",e.GML="GML",e["Image Collection"]="Image Collection",e.Image="Image",e["iWork Keynote"]="iWork Keynote",e["iWork Numbers"]="iWork Numbers",e["iWork Pages"]="iWork Pages",e["KML Collection"]="KML Collection",e.KML="KML",e.Layer="Layer",e["Layer Package"]="Layer Package",e.Layout="Layout",e["Locator Package"]="Locator Package",e["Map Package"]="Map Package",e["Map Template"]="Map Template",e["Microsoft Excel"]="Microsoft Excel",e["Microsoft Powerpoint"]="Microsoft Powerpoint",e["Visio Document"]="Visio Document",e["Microsoft Word"]="Microsoft Word",e["Mobile Basemap Package"]="Mobile Basemap Package",e["Mobile Map Package"]="Mobile Map Package",e["Mobile Scene Package"]="Mobile Scene Package",e.Notebook="Notebook",e.PDF="PDF",e["Pro Map"]="Pro Map",e["Pro Report"]="Pro Report",e["Project Package"]="Project Package",e["Project Template"]="Project Template",e["Raster function template"]="Raster function template",e["Rule Package"]="Rule Package",e["Scene Package"]="Scene Package",e["Service Definition"]="Service Definition",e.Shapefile="Shapefile",e["Survey123 Add In"]="Survey123 Add In",e["Tile Package"]="Tile Package",e["Vector Tile Package"]="Vector Tile Package",e["Workflow Manager Package"]="Workflow Manager Package",e["Document Link"]="Document Link",e["Feature Service"]="Feature Service",e["Geocoding Service"]="Geocoding Service",e["Geodata Service"]="Geodata Service",e["Geometry Service"]="Geometry Service",e["Geoprocessing Service"]="Geoprocessing Service",e["Geoenrichment Service"]="Geoenrichment Service",e["Globe Service"]="Globe Service",e["Image Service"]="Image Service",e["Map Service"]="Map Service",e["Network Analysis Service"]="Network Analysis Service",e["Vector Tile Service"]="Vector Tile Service",e.WFS="WFS",e.WMS="WMS",e.WMTS="WMTS",e.OGCFeatureServer="OGCFeatureServer",e["Scene Service"]="Scene Service",e["Stream Service"]="Stream Service",e["Workflow Manager Service"]="Workflow Manager Service",e["Web Mapping Application"]="Web Mapping Application",e["Mobile Application"]="Mobile Application",e["AppBuilder Extension"]="AppBuilder Extension",e["Google Drive"]="Google Drive",e.Dropbox="Dropbox",e.OneDrive="OneDrive",e.StoryMap="StoryMap",e.Dashboard="Dashboard",e["Hub Project"]="Hub Project",e["Hub Initiative"]="Hub Initiative",e["Hub Site Application"]="Hub Site Application",e["Web Experience"]="Web Experience",e["Insights Workbook Package"]="Insights Workbook Package",e.Application="Application",e["ArcGIS Explorer Application Configuration"]="ArcGIS Explorer Application Configuration",e["ArcMap Document"]="ArcMap Document",e["Layer File"]="Layer File",e.ogcFeature="ogcFeature",e.FeatureServer="Feature Service",e.GeocodeServer="GeocodeServer",e.GeoDataServer="GeoDataServer",e.GeometryServer="GeometryServer",e.GeoenrichmentServer="GeoenrichmentServer",e.GPServer="GPServer",e.GlobeServer="GlobeServer",e.ImageServer="ImageServer",e.MapServer="MapServer",e.NAServer="NAServer",e.ElevationServer="ElevationServer",e.VectorTileServer="VectorTileServer",e["Scene Server"]="Scene Server",e.StreamServer="StreamServer",e.WMServer="WMServer",e.TiledImageServer="TiledImageServer"})(r||(r={}));var t={"360 VR Experience":{fileExt:[a["3dd"]],type:r["360 VR Experience"],typeKeywords:[]},"Apache Parquet":{fileExt:[a.parquet],type:r["Apache Parquet"],typeKeywords:[]},"AppBuilder Widget Package":{fileExt:[a.zip],type:r["AppBuilder Widget Package"],typeKeywords:[]},"Desktop Add In":{fileExt:[a.esriaddin],type:r["Desktop Add In"],typeKeywords:["Tool","Add In","Desktop Add In","ArcGIS Desktop","ArcMap","ArcGlobe","ArcScene","esriaddin"]},"Explorer Add In":{fileExt:[a.eaz],type:r["Explorer Add In"],typeKeywords:["Tool","Add In","Explorer Add In","ArcGIS Explorer","eaz"]},"Explorer Map":{fileExt:[a.nmf],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Document","2D","3D","ArcGIS Explorer","nmf"]},"ArcGIS Explorer Application Configuration":{fileExt:[a.ncfg],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Mapping Application","2D","3D","ArcGIS Explorer"]},"Explorer Layer":{fileExt:[a.nmc],type:r["Explorer Layer"],typeKeywords:["Data","Layer","Explorer Layer","ArcGIS Explorer","nmc"]},"Windows Mobile Package":{fileExt:[a.wmpk],type:r["Windows Mobile Package"],typeKeywords:[]},"ArcGIS Pro Add In":{fileExt:[a.esriaddinx],type:r["ArcGIS Pro Add In"],typeKeywords:["Tool","Add In","Pro Add In","esriaddinx"]},"ArcGIS Pro Configuration":{fileExt:[a.proconfigx],type:r["ArcGIS Pro Configuration"],typeKeywords:[]},"Globe Document":{fileExt:[a["3dd"]],type:r["Globe Document"],typeKeywords:["Map","Globe Document","3D","ArcGlobe","ArcGIS Server","3dd"]},"Map Document":{fileExt:[a.msd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server","msd"]},"ArcMap Document":{fileExt:[a.mxd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server"]},"ArcPad Package":{fileExt:[a.zip],type:r["ArcPad Package"],typeKeywords:["Map","Layer","Data"]},"Published Map":{fileExt:[a.pmf],type:r["Published Map"],typeKeywords:["Map","Published Map","2D","ArcReader","ArcMap","ArcGIS Server","pmf"]},"Scene Document":{fileExt:[a.sxd],type:r["Scene Document"],typeKeywords:["Map","Scene Document","3D","ArcScene","sxd"]},"CityEngine Web Scene":{fileExt:[a["3ws"]],type:r["CityEngine Web Scene"],typeKeywords:["3D","Map","Scene","Web"]},"Code Sample":{fileExt:[a.zip],type:r["Code Sample"],typeKeywords:["Code","Sample"]},"CSV Collection":{fileExt:[a.zip],type:r["CSV Collection"],typeKeywords:[]},CSV:{fileExt:[a.csv],type:r.CSV,typeKeywords:["CSV"]},"CAD Drawing":{fileExt:[a.zip],type:r["CAD Drawing"],typeKeywords:[]},"Deep Learning Package":{fileExt:[a.zip,a.dlpk],type:r["Deep Learning Package"],typeKeywords:["Deep Learning","Raster"]},"Desktop Application":{type:r["Desktop Application"],typeKeywords:["Desktop Application"]},"Desktop Application Template":{fileExt:[a.zip],type:r["Desktop Application Template"],typeKeywords:["application","template","ArcGIS desktop"]},"Desktop Style":{fileExt:[a.stylx],type:r["Desktop Style"],typeKeywords:["ArcGIS Pro","Symbology","Style","Symbols"]},"Earth Configuration":{fileExt:[a.xml],type:r["Earth Configuration"],typeKeywords:["ArcGIS Earth","Earth","Earth Configuration"]},"Feature Collection":{type:r["Feature Collection"],fileExt:[a.featurecollection],typeKeywords:[]},"File Geodatabase":{fileExt:[a.zip],type:r["File Geodatabase"],typeKeywords:[]},GeoJson:{fileExt:[a.geojson,a.json],type:r.GeoJson,typeKeywords:["Coordinates Type","CRS","Feature","FeatureCollection","GeoJSON","Geometry","GeometryCollection"]},"Geoprocessing Package":{fileExt:[a.gpk,a.gpkx],type:r["Geoprocessing Package"],typeKeywords:["ArcGIS Desktop","ArcGlobe","ArcMap","ArcScene","Geoprocessing Package","gpk","Model","Result","Script","Sharing","Tool","Toolbox"]},GeoPackage:{fileExt:[a.gpkg],type:r.GeoPackage,typeKeywords:["Data","GeoPackage","gpkg"]},"Geoprocessing Sample":{fileExt:[a.zip],type:r["Geoprocessing Sample"],typeKeywords:["tool","geoprocessing","sample"]},GML:{fileExt:[a.zip],type:r.GML,typeKeywords:[]},"Image Collection":{fileExt:[a.zip],type:r["Image Collection"],typeKeywords:[]},Image:{fileExt:[a.jpg,a.jpeg,a.png,a.tif,a.tiff],type:r.Image,typeKeywords:["Data","Image"]},"iWork Keynote":{fileExt:[a.key],type:r["iWork Keynote"],typeKeywords:["Data","Document","Mac"]},"iWork Numbers":{fileExt:[a.numbers],type:r["iWork Numbers"],typeKeywords:["Data","Document","Mac"]},"iWork Pages":{fileExt:[a.pages],type:r["iWork Pages"],typeKeywords:["Data","Document","Mac"]},"KML Collection":{fileExt:[a.zip],type:r["KML Collection"],typeKeywords:[]},KML:{type:r.KML,fileExt:[a.kml,a.kmz],typeKeywords:["Data","Map","kml"]},Layer:{fileExt:[a.lyr],type:r.Layer,typeKeywords:["Data","Layer","ArcMap","ArcGlobe","ArcGIS Explorer","lyr"]},"Layer File":{fileExt:[a.lyrx],type:r.Layer,typeKeywords:["ArcGIS Pro","Layer","Layer File"]},"Layer Package":{fileExt:[a.lpk,a.lpkx],type:r["Layer Package"],typeKeywords:[]},Layout:{fileExt:[a.pagx],type:r.Layout,typeKeywords:["ArcGIS Pro","Layout","Layout File","pagx"]},"Locator Package":{fileExt:[a.gcpk],type:r["Locator Package"],typeKeywords:[]},"Map Package":{fileExt:[a.mpk,a.mpkx],type:r["Map Package"],typeKeywords:[]},"Map Template":{fileExt:[a.zip],type:r["Map Template"],typeKeywords:["map","ArcMap","template","ArcGIS desktop"]},"Microsoft Excel":{fileExt:[a.xls,a.xlsx],type:r["Microsoft Excel"],typeKeywords:["Data","Document","Microsoft Excel"]},"Microsoft Powerpoint":{fileExt:[a.ppt,a.pptx],type:r["Microsoft Powerpoint"],typeKeywords:["Data","Document","Microsoft Powerpoint"]},"Visio Document":{fileExt:[a.vsd],type:r["Visio Document"],typeKeywords:["Data","Document","Visio Document"]},"Microsoft Word":{fileExt:[a.doc,a.docx],type:r["Microsoft Word"],typeKeywords:["Data","Document"]},"Mobile Basemap Package":{fileExt:[a.bpk],type:r["Mobile Basemap Package"],typeKeywords:[]},"Mobile Map Package":{fileExt:[a.mmpk],type:r["Mobile Map Package"],typeKeywords:[]},"Mobile Scene Package":{fileExt:[a.mspk],type:r["Mobile Scene Package"],typeKeywords:[]},Notebook:{fileExt:[a.ipynb],type:r.Notebook,typeKeywords:["Notebook","Python"]},PDF:{fileExt:[a.pdf],type:r.PDF,typeKeywords:["Data","Document","PDF"]},"Pro Map":{fileExt:[a.mapx],type:r["Pro Map"],typeKeywords:["ArcGIS Pro","Map","Map File","mapx"]},"Pro Report":{fileExt:[a.rptx],type:r["Pro Report"],typeKeywords:[]},"Project Package":{fileExt:[a.ppkx],type:r["Project Package"],typeKeywords:[]},"Project Template":{fileExt:[a.aptx],type:r["Project Template"],typeKeywords:[]},"Raster function template":{fileExt:[a["rft.json"],a["rft.xml"]],type:r["Raster function template"],typeKeywords:["Raster","Functions","Processing","rft","srf","function template","templates","ArcGIS Pro"]},"Rule Package":{fileExt:[a.rpk],type:r["Rule Package"],typeKeywords:[]},"Scene Package":{fileExt:[a.slpk,a.spk],type:r["Scene Package"],typeKeywords:[]},"Service Definition":{fileExt:[a.sd],type:r["Service Definition"],typeKeywords:["Data","Service","Service Definition"]},Shapefile:{fileExt:[a.zip],type:r.Shapefile,typeKeywords:["Data","Layer","shapefile"]},"Survey123 Add In":{fileExt:[a.surveyaddin],type:r["Survey123 Add In"],typeKeywords:["Add In","Survey123 Add In","Tool"]},"Tile Package":{fileExt:[a.tpk,a.tpkx],type:r["Tile Package"],typeKeywords:[]},"Vector Tile Package":{fileExt:[a.vtpk],type:r["Vector Tile Package"],typeKeywords:[]},"Workflow Manager Package":{fileExt:[a.wpk],type:r["Workflow Manager Package"],typeKeywords:[]},"Document Link":{type:r["Document Link"],typeKeywords:["Data","Document"]},"Feature Service":{type:r["Feature Service"],typeKeywords:["ArcGIS Server","Data","Feature Access","Feature Service","Service","Singlelayer","Hosted Service"]},GeocodeServer:{type:r["Geocoding Service"],typeKeywords:["ArcGIS Server","Geocoding Service","Locator Service","Service","Tool","Service Proxy"]},GeoDataServer:{type:r["Geodata Service"],typeKeywords:["Data","Service","Geodata Service","ArcGIS Server"]},GeometryServer:{type:r["Geometry Service"],typeKeywords:["Tool","Service","Geometry Service","ArcGIS Server"]},GeoenrichmentServer:{type:r["Geoenrichment Service"],typeKeywords:["Geoenrichment Service","ArcGIS Server"]},GPServer:{type:r["Geoprocessing Service"],typeKeywords:["Tool","Service","Geoprocessing Service","ArcGIS Server"]},GlobeServer:{type:r["Globe Service"],typeKeywords:["Data","Service","Globe Service","ArcGIS Server"]},ImageServer:{type:r["Image Service"],typeKeywords:["Data","Service","Image Service","ArcGIS Server"]},MapServer:{type:r["Map Service"],typeKeywords:["Data","Service","Map Service","ArcGIS Server"]},NAServer:{type:r["Network Analysis Service"],typeKeywords:["Tool","Service","Network Analysis Service","ArcGIS Server"]},ElevationServer:{type:r["Image Service"],typeKeywords:["Elevation 3D Layer"]},VectorTileServer:{type:r["Vector Tile Service"],typeKeywords:[]},WFS:{type:r.WFS,typeKeywords:["Data","Service","Web Feature Service","OGC"]},WMS:{type:r.WMS,typeKeywords:["Data","Service","Web Map Service","OGC"]},WMTS:{type:r.WMTS,typeKeywords:["Data","Service","OGC"]},ogcFeature:{type:r.OGCFeatureServer,typeKeywords:["Data","Service","Feature Service","OGC","OGC Feature Service"]},SceneServer:{type:r["Scene Service"],typeKeywords:["Scene Service"]},StreamServer:{type:r["Stream Service"],typeKeywords:["Data","Service","Stream Service","ArcGIS Server"]},WMServer:{type:r["Workflow Manager Service"],typeKeywords:["Workflow Manager","ArcGIS Server","WMServer","Workflow","JTX","Job Tracking"]},TiledImageServer:{type:r["Image Service"],typeKeywords:["Tiled Imagery"]},"Web Mapping Application":{type:r["Web Mapping Application"],typeKeywords:["JavaScript","Map","Mapping Site","Online Map","Ready To Use","Web AppBuilder","Web Map (+ WAB2D or WAB3D)"]},"Mobile Application":{type:r["Mobile Application"],typeKeywords:["ArcGIS Mobile Map","Mobile Application"]},"AppBuilder Extension":{type:r["AppBuilder Extension"],typeKeywords:["Widget","App Builder"]},"Google Drive":{type:r["Google Drive"],typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},Dropbox:{type:r.Dropbox,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},OneDrive:{type:r.OneDrive,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},"Map Service":{type:r["Map Service"],typeKeywords:["ArcGIS Server","Data","Map Service","Service","Hosted Service"]},StoryMap:{type:r.StoryMap,typeKeywords:["arcgis-storymaps","StoryMap","Web Application (smstatusdraft or smsstatuspublished)"]},Dashboard:{type:r.Dashboard,typeKeywords:["Dashboard","Operations Dashboard"]},"Hub Initiative":{type:r["Hub Initiative"],typeKeywords:["Hub","hubInitiative","OpenData"]},"Hub Site Application":{type:r["Hub Site Application"],typeKeywords:["Hub","hubSite","hubSolution","JavaScript","Map","Mapping Site","Online Map","OpenData","Ready To Use","selfConfigured","Web Map","Registered App"]},"Web Experience":{type:r["Web Experience"],typeKeywords:["EXB Experience","JavaScript","Ready To Use Web Application","Web Experience","Web Mapping Application","Web Page","Web Site"]},"Insights Workbook Package":{type:r["Insights Workbook Package"],fileExt:[a.insightswbk],typeKeywords:["Insights","Insights Workbook Package"]}},o;(function(e){e.notStarted="notStarted",e.inProgress="inProgress",e.onHold="onHold",e.complete="complete"})(o||(o={}));var p;(function(e){e.map="map",e.image="image"})(p||(p={}));export{r as a,o as b,p as c};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import a from"./LHRZ7IBA.js";import"./46UPVPEV.js";import"./TBBACRUK.js";import"./XZQZZC3C.js";import"./FNJ2SV5I.js";import"./RKIQ5DUF.js";import"./LC53SJ67.js";import"./N2EZQGSH.js";import"./AU6YGJUT.js";import"./UCYKJ3G4.js";import"./TZLKWPKE.js";import"./UYBRDZJB.js";import"./ZGSIGKHE.js";import"./PWZXYVX5.js";import"./T7D3VOZH.js";import"./NK5C67VR.js";import"./RJ4NCL2V.js";import"./GRW5JAFG.js";import"./V6P7MNAU.js";import"./WX2RTJ3T.js";import"./K6NKAZBD.js";import"./VGEFJTQ7.js";import"./F2O4WKM6.js";import"./C4C7KF52.js";import{a as c}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as g}from"./ZMOPA7LL.js";import{E as p,F as b,G as d,h as o,i as s}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([{b:m,c:h}])=>{var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],P=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),y=o`/** @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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import"./OBI4A4AA.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as c}from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{b as c}from"./K6NKAZBD.js";import{a as b}from"./VGEFJTQ7.js";import{a as u}from"./F2O4WKM6.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as x}from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{a as x}from"./WFPKRTD3.js";import"./7AEU6P43.js";import c from"./DHWSNW5P.js";import a from"./H4MLUVTV.js";import"./WYHW2ASX.js";import"./XZQZZC3C.js";import"./FNJ2SV5I.js";import"./RKIQ5DUF.js";import"./LC53SJ67.js";import"./N2EZQGSH.js";import"./AU6YGJUT.js";import"./UCYKJ3G4.js";import"./TZLKWPKE.js";import"./UYBRDZJB.js";import"./ZGSIGKHE.js";import"./PWZXYVX5.js";import"./T7D3VOZH.js";import"./NK5C67VR.js";import"./RJ4NCL2V.js";import"./GRW5JAFG.js";import"./V6P7MNAU.js";import"./WX2RTJ3T.js";import"./K6NKAZBD.js";import"./VGEFJTQ7.js";import"./F2O4WKM6.js";import"./C4C7KF52.js";import{a as L}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as C}from"./ZMOPA7LL.js";import{E as r,F as h,G as v,I as d,J as $,h as g,i as l,l as y,q as b,t as w}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([{f:s},{d:I}])=>{var V=g`@layer{
|
|
5
5
|
/** @license
|
|
6
6
|
* Copyright 2025 Esri
|
|
7
7
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
export default $arcgis.t(([l,h])=>{var r=new Map([["ar","ar"],["bg","bg"],["bs","bs"],["ca","ca"],["cs","cs"],["da","da"],["de","de"],["el","el"],["en","en"],["es","es"],["et","et"],["fi","fi"],["fr","fr"],["he","he"],["hr","hr"],["hu","hu"],["id","id"],["it","it"],["ja","ja"],["ko","ko"],["lt","lt"],["lv","lv"],["no","no"],["nb","no"],["nn","no"],["nl","nl"],["pl","pl"],["pt-br","pt-BR"],["pt-pt","pt-PT"],["ro","ro"],["ru","ru"],["sk","sk"],["sl","sl"],["sr","sr"],["sv","sv"],["th","th"],["tr","tr"],["uk","uk"],["vi","vi"],["zh-cn","zh-CN"],["zh-hk","zh-HK"],["zh-tw","zh-TW"]]),c={full:{ar:{language:"Arabic",translated:"\u0639\u0631\u0628\u064A"},bg:{language:"Bulgarian",translated:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438"},bs:{language:"Bosnian",translated:"Bosanski"},ca:{language:"Catalan",translated:"Catal\xE0"},cs:{language:"Czech",translated:"\u010De\u0161tina"},da:{language:"Danish",translated:"Dansk"},de:{language:"German",translated:"Deutsch"},el:{language:"Greek",translated:"\u0395\u03BB\u03BB\u03AC\u03B4\u03B1"},en:{language:"English",translated:"English"},es:{language:"Spanish",translated:"Espa\xF1ol"},et:{language:"Estonian",translated:"Eesti"},fi:{language:"Finnish",translated:"Suomi"},fr:{language:"French",translated:"Fran\xE7ais"},he:{language:"Hebrew",translated:"\u05E2\u05D1\u05E8\u05D9\u05EA"},hr:{language:"Croatian",translated:"Hrvatski"},hu:{language:"Hungarian",translated:"Magyar"},id:{language:"Indonesian",translated:"Bahasa Indonesia",supportsAutoTranslate:!0},it:{language:"Italian",translated:"Italiano"},ja:{language:"Japanese",translated:"\u65E5\u672C\u8A9E"},ko:{language:"Korean",translated:"\uD55C\uAD6D\uC5B4"},lt:{language:"Lithuanian",translated:"Lietuvi\u0173"},lv:{language:"Latvian",translated:"Latvie\u0161u"},no:{language:"Norwegian",translated:"Norsk"},nl:{language:"Dutch",translated:"Nederlands"},pl:{language:"Polish",translated:"Polski"},"pt-BR":{language:"Portuguese (Brazil)",translated:"Portugu\xEAs (Brasil)"},"pt-PT":{language:"Portuguese (Portugal)",translated:"Portugu\xEAs (Portugal)"},ro:{language:"Romanian",translated:"Rom\xE2n\u0103"},ru:{language:"Russian",translated:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},sk:{language:"Slovak",translated:"Sloven\u010Dina"},sl:{language:"Slovenian",translated:"Sloven\u0161\u010Dina"},sr:{language:"Serbian",translated:"Srpski"},sv:{language:"Swedish",translated:"Svenska"},th:{language:"Thai",translated:"\u0E44\u0E17\u0E22"},tr:{language:"Turkish",translated:"T\xFCrkiye"},uk:{language:"Ukrainian",translated:"\u0423\u043A\u0440\u0430\u0457\u043D\u0430"},vi:{language:"Vietnamese",translated:"Ti\u1EBFng Vi\u1EC7t"},"zh-CN":{language:"Simplified Chinese",translated:"\u7B80\u4F53\u4E2D\u6587"},"zh-HK":{language:"Traditional Chinese (Hong Kong)",translated:"\u7E41\u9AD4\u4E2D\u6587\uFF08\u9999\u6E2F\uFF09"},"zh-TW":{language:"Traditional Chinese (Taiwan)",translated:"\u7E41\u9AD4\u4E2D\u6587\uFF08\u53F0\u7063\uFF09"}},partial:{ab:{language:"Abkhaz",translated:"\u0410\u04A7\u0441\u0443\u0430"},aa:{language:"Afar",translated:"Afar"},af:{language:"Afrikaans",translated:"Afrikaans",supportsAutoTranslate:!0},ak:{language:"Akan",translated:"Akan"},apw:{language:"Western Apache",translated:"Nd\xE9\xE9 biy\xE1ti'"},sq:{language:"Albanian",translated:"Shqip",supportsAutoTranslate:!0},am:{language:"Amharic",translated:"\u12A0\u121B\u122D\u129B",supportsAutoTranslate:!0},an:{language:"Aragonese",translated:"Aragon\xE9s"},hy:{language:"Armenian",translated:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",supportsAutoTranslate:!0},as:{language:"Assamese",translated:"\u0985\u09B8\u09AE\u09C0\u09DF\u09BE",supportsAutoTranslate:!0},av:{language:"Avaric",translated:"\u0430\u0432\u0430\u0440 \u043C\u0430\u0446\u04C0"},ae:{language:"Avestan",translated:"Avesta"},ay:{language:"Aymara",translated:"aymar aru"},az:{language:"Azerbaijani",translated:"az\u0259rbaycan dili"},bm:{language:"Bambara",translated:"bamanankan"},ba:{language:"Bashkir",translated:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442 \u0442\u0435\u043B\u0435",supportsAutoTranslate:!0},eu:{language:"Basque",translated:"euskara",supportsAutoTranslate:!0},be:{language:"Belarusian",translated:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F"},bn:{language:"Bengali",translated:"\u09AC\u09BE\u0982\u09B2\u09BE"},bh:{language:"Bihari",translated:"\u092D\u094B\u091C\u092A\u0941\u0930\u0940"},bi:{language:"Bislama",translated:"Bislama"},br:{language:"Breton",translated:"Brezhoneg"},my:{language:"Burmese",translated:"\u1017\u1019\u102C\u1005\u102C"},ch:{language:"Chamorro",translated:"Chamoru"},ce:{language:"Chechen",translated:"\u043D\u043E\u0445\u0447\u0438\u0439\u043D \u043C\u043E\u0442\u0442"},ny:{language:"Chichewa",translated:"chiChe\u0175a"},cu:{language:"Church Slavic",translated:"\u0469\u0437\u044B\u043A\u044A \u0441\u043B\u043E\u0432\u0463\u043D\u044C\u0441\u043A\u044A"},cv:{language:"Chuvash",translated:"\u0447\u04D1\u0432\u0430\u0448 \u0447\u04D7\u043B\u0445\u0438"},kw:{language:"Cornish",translated:"Kernewek"},co:{language:"Corsican",translated:"corsu"},cr:{language:"Cree",translated:"\u14C0\u1426\u1403\u152D\u140D\u140F\u1423"},dv:{language:"Divehi",translated:"\u078B\u07A8\u0788\u07AC\u0780\u07A8",supportsAutoTranslate:!0},eo:{language:"Esperanto",translated:"Esperanto"},ee:{language:"Ewe",translated:"\u0190\u028B\u025Bgb\u025B"},fo:{language:"Faroese",translated:"f\xF8royskt",supportsAutoTranslate:!0},fj:{language:"Fijian",translated:"Vosa Vakaviti"},ff:{language:"Fulah",translated:"Fulfulde"},gl:{language:"Galician",translated:"galego",supportsAutoTranslate:!0},ka:{language:"Georgian",translated:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",supportsAutoTranslate:!0},gn:{language:"Guarani",translated:"Ava\xF1e'\u1EBD"},gu:{language:"Gujarati",translated:"\u0A97\u0AC1\u0A9C\u0AB0\u0ABE\u0AA4\u0AC0",supportsAutoTranslate:!0},ht:{language:"Haitian Creole",translated:"Krey\xF2l Ayisyen",supportsAutoTranslate:!0},ha:{language:"Hausa",translated:"\u0647\u064E\u0648\u064F\u0633\u064E",supportsAutoTranslate:!0},hz:{language:"Herero",translated:"Otjiherero"},hi:{language:"Hindi",translated:"\u0939\u093F\u0928\u094D\u0926\u0940"},ho:{language:"Hiri Motu",translated:"Hiri Motu"},is:{language:"Icelandic",translated:"\xCDslenska",supportsAutoTranslate:!0},io:{language:"Ido",translated:"Ido"},ig:{language:"Igbo",translated:"As\u1EE5s\u1EE5 Igbo",supportsAutoTranslate:!0},ia:{language:"Interlingua",translated:"Interlingua"},ie:{language:"Interlingue",translated:"Interlingue"},iu:{language:"Inuktitut",translated:"\u1403\u14C4\u1483\u144E\u1450\u1466",supportsAutoTranslate:!0},ip:{language:"Inupiaq",translated:"I\xF1upiaq"},ga:{language:"Irish",translated:"Gaeilge",supportsAutoTranslate:!0},jv:{language:"Javanese",translated:"\uA9A7\uA9B1\uA997\uA9AE"},kl:{language:"Kalaallisut",translated:"kalaallisut"},kn:{language:"Kannada",translated:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",supportsAutoTranslate:!0},kr:{language:"Kanuri",translated:"Kanuri"},ks:{language:"Kashmiri",translated:"\u0915\u0936\u094D\u092E\u0940\u0930\u0940",supportsAutoTranslate:!0},kk:{language:"Kazakh",translated:"\u049B\u0430\u0437\u0430\u049B \u0442\u0456\u043B\u0456",supportsAutoTranslate:!0},km:{language:"Khmer",translated:"\u1781\u17D2\u1798\u17C2\u179A",supportsAutoTranslate:!0},ki:{language:"Kikuyu",translated:"G\u0129k\u0169y\u0169"},rw:{language:"Kinyarwanda",translated:"Kinyarwanda",supportsAutoTranslate:!0},rn:{language:"Kirundi",translated:"Ikirundi"},kv:{language:"Komi",translated:"\u043A\u043E\u043C\u0438 \u043A\u044B\u0432"},kg:{language:"Kongo",translated:"Kikongo"},ku:{language:"Kurdish",translated:"Kurd\xEE",supportsAutoTranslate:!0},kj:{language:"Kwanyama",translated:"Kuanyama"},ky:{language:"Kyrgyz",translated:"\u041A\u044B\u0440\u0433\u044B\u0437\u0447\u0430"},lo:{language:"Lao",translated:"\u0E9E\u0EB2\u0EAA\u0EB2\u0EA5\u0EB2\u0EA7",supportsAutoTranslate:!0},la:{language:"Latin",translated:"latine"},li:{language:"Limburgish",translated:"Limburgs"},ln:{language:"Lingala",translated:"Ling\xE1la"},lu:{language:"Luba-Katanga",translated:"Kiluba"},lg:{language:"Luganda",translated:"Luganda"},lb:{language:"Luxembourgish",translated:"L\xEBtzebuergesch"},mk:{language:"Macedonian",translated:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",supportsAutoTranslate:!0},mg:{language:"Malagasy",translated:"fiteny malagasy",supportsAutoTranslate:!0},ms:{language:"Malay",translated:"Bahasa Melayu",supportsAutoTranslate:!0},ml:{language:"Malayalam",translated:"\u0D2E\u0D32\u0D2F\u0D3E\u0D33\u0D02",supportsAutoTranslate:!0},mt:{language:"Maltese",translated:"Malti",supportsAutoTranslate:!0},gv:{language:"Manx",translated:"Gailck"},mi:{language:"Maori",translated:"te reo M\u0101ori",supportsAutoTranslate:!0},mr:{language:"Marathi",translated:"\u092E\u0930\u093E\u0920\u0940",supportsAutoTranslate:!0},mh:{language:"Marshallese",translated:"Kajin M\u0327aje\u013C"},mn:{language:"Mongolian",translated:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B"},na:{language:"Nauru",translated:"Ekakair\u0169 Naoero"},nv:{language:"Navajo",translated:"Din\xE9 bizaad"},ng:{language:"Ndonga",translated:"Owambo"},ne:{language:"Nepali",translated:"\u0928\u0947\u092A\u093E\u0932\u0940",supportsAutoTranslate:!0},nd:{language:"North Ndebele",translated:"isiNdebele"},se:{language:"Northern Sami",translated:"Davvis\xE1megiella"},ii:{language:"Nuosu",translated:"\uA188\uA320\uA4BF Nuosuhxop"},oc:{language:"Occitan",translated:"occitan"},oj:{language:"Ojibwe",translated:"\u140A\u14C2\u1511\u14C8\u142F\u14A7\u140E\u14D0"},or:{language:"Oriya",translated:"\u0B13\u0B21\u0B3C\u0B3F\u0B06",supportsAutoTranslate:!0},om:{language:"Oromo",translated:"Afaan Oromoo"},os:{language:"Ossetian",translated:"\u0438\u0440\u043E\u043D \xE6\u0432\u0437\u0430\u0433"},pi:{language:"Pali",translated:"\u092A\u093E\u0934\u093F"},pa:{language:"Panjabi",translated:"\u0A2A\u0A70\u0A1C\u0A3E\u0A2C\u0A40"},ps:{language:"Pashto",translated:"\u067E\u069A\u062A\u0648",supportsAutoTranslate:!0},fa:{language:"Persian",translated:"\u0641\u0627\u0631\u0633\u06CC",supportsAutoTranslate:!0},qu:{language:"Quechua",translated:"Runa Simi"},rm:{language:"Romansh",translated:"rumantsch grischun"},sm:{language:"Samoan",translated:"gagana fa'a Samoa",supportsAutoTranslate:!0},sg:{language:"Sango",translated:"y\xE2ng\xE2 t\xEE s\xE4ng\xF6"},sa:{language:"Sanskrit",translated:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924\u092E\u094D"},sc:{language:"Sardinian",translated:"sardu"},gd:{language:"Scottish Gaelic",translated:"G\xE0idhlig"},sn:{language:"Shona",translated:"chiShona"},sd:{language:"Sindhi",translated:"\u0938\u093F\u0928\u094D\u0927\u0940",supportsAutoTranslate:!0},si:{language:"Sinhala",translated:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",supportsAutoTranslate:!0},so:{language:"Somali",translated:"Soomaaliga",supportsAutoTranslate:!0},nr:{language:"South Ndebele",translated:"isiNdebele"},st:{language:"Southern Sotho",translated:"Sesotho"},su:{language:"Sundanese",translated:"Basa Sunda"},sw:{language:"Swahili",translated:"Kiswahili",supportsAutoTranslate:!0},ss:{language:"Swati",translated:"SiSwati"},tl:{language:"Tagalog",translated:"Wikang Tagalog"},ty:{language:"Tahitian",translated:"Reo Tahiti",supportsAutoTranslate:!0},tg:{language:"Tajik",translated:"\u0442\u043E\u04B7\u0438\u043A\u04E3"},ta:{language:"Tamil",translated:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",supportsAutoTranslate:!0},tt:{language:"Tatar",translated:"\u0442\u0430\u0442\u0430\u0440 \u0442\u0435\u043B\u0435",supportsAutoTranslate:!0},te:{language:"Telugu",translated:"\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41",supportsAutoTranslate:!0},bo:{language:"Tibetan",translated:"\u0F56\u0F7C\u0F51\u0F0B\u0F61\u0F72\u0F42",supportsAutoTranslate:!0},ti:{language:"Tigrinya",translated:"\u1275\u130D\u122D\u129B",supportsAutoTranslate:!0},to:{language:"Tonga",translated:"faka Tonga",supportsAutoTranslate:!0},ts:{language:"Tsonga",translated:"Xitsonga"},tn:{language:"Tswana",translated:"Setswana"},tk:{language:"Turkmen",translated:"T\xFCrkmen",supportsAutoTranslate:!0},tw:{language:"Twi",translated:"Twi"},ug:{language:"Uighur",translated:"Uy\u01A3urq\u0259"},ur:{language:"Urdu",translated:"\u0627\u0631\u062F\u0648",supportsAutoTranslate:!0},uz:{language:"Uzbek",translated:"O'zbek",supportsAutoTranslate:!0},ve:{language:"Venda",translated:"Tshiven\u1E13a"},vo:{language:"Volap\xFCk",translated:"Volap\xFCk"},wa:{language:"Walloon",translated:"walon"},cy:{language:"Welsh",translated:"Cymraeg",supportsAutoTranslate:!0},fy:{language:"Western Frisian",translated:"Frysk"},wo:{language:"Wolof",translated:"Wollof"},xh:{language:"Xhosa",translated:"isiXhosa",supportsAutoTranslate:!0},yi:{language:"Yiddish",translated:"\u05D9\u05D9\u05B4\u05D3\u05D9\u05E9"},yo:{language:"Yoruba",translated:"Yor\xF9b\xE1",supportsAutoTranslate:!0},za:{language:"Zhuang",translated:"Sa\u026F cue\u014B\u0185"},zu:{language:"Zulu",translated:"isiZulu",supportsAutoTranslate:!0}}};function A(){let a=(document.documentElement.lang||navigator?.language||"en").toLowerCase();return r.has(a)?r.get(a):r.has(a.slice(0,2))?r.get(a.slice(0,2)):"en"}function m(a){let t=a?.user?.culture??"",s=window?.navigator?.language,g=l.getLocale(),n="en";return l.normalizeMessageBundleLocale(t||s||g||n)??n}function k(a){return a?c?.partial?.[a]?a:l.normalizeMessageBundleLocale(a)??"en":"en"}async function b(a){try{let t=await a.fetch("json",{cacheBust:!0});return Promise.resolve(t)}catch{console.error("Unable to get resource t9n data.")}}async function y(a){if(!a)return null;let t=await a.fetchResources({num:100}),s=`t9n/${a?.id}.json`,g=new h({path:s,portalItem:a}),n=t.resources.filter(e=>e.resource.path===s);if(n.length===0){let e="application/json",o=new Blob([JSON.stringify({})],{type:e});try{await a.addResource(g,o);let u=await a.fetchResources(),i=`t9n/${a?.id}.json`,d=u.resources.filter(p=>p.resource.path===i)[0].resource;return Promise.resolve(d)}catch(u){return console.error("ERROR: ",u),await Promise.reject(new Error("Failed to add resource"))}}else{let e=n[0].resource;return await Promise.resolve(e)}}return{a:c,b:A,c:m,d:k,e:b,f:y}},"intl","portal/PortalItemResource")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{k as a}from"./
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
|
+
import{k as a}from"./ZGSIGKHE.js";var n={discussion:"/ember-arcgis-opendata-components/assets/images/placeholders/discussion.png",group:"/ember-arcgis-opendata-components/assets/images/placeholders/group.png",event:"/ember-arcgis-opendata-components/assets/images/placeholders/event.png",content:"/ember-arcgis-opendata-components/assets/images/placeholders/content.png"};function d(t,p,o,e,l){var i;let r=(i=n[e])!==null&&i!==void 0?i:n.content,c=a(r,l),s;return e==="group"?s={aspectRatio:1,sizeDescription:{labelKey:`${t}.fields._thumbnail.sizeDescription`}}:e==="event"?s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"},sources:["url"]}:s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"}},[{labelKey:e==="group"?`${t}.fields._thumbnail.label`:"shared.fields._thumbnail.label",scope:"/properties/_thumbnail",type:"Control",options:Object.assign({control:"hub-field-input-image-picker",imgSrc:o,defaultImgUrl:c,maxWidth:727,maxHeight:484},s)}]}export{d as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.60 */
|
|
4
4
|
function c(e){let t={};if(Array.isArray(e))t=e.map(c);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let n=e[r];n!=null&&typeof n=="object"?n instanceof Date?t[r]=new Date(n.getTime()):typeof Blob<"u"&&n instanceof Blob?t[r]=new Blob([n],{type:n.type}):t[r]=c(n):t[r]=n}}else t=e;return t}function s(e,t){return e.filter(n=>n!==t)}function l(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function a(e,t){return e!=null&&(t=c(t),t.push(e)),t}function d(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let t=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(t,function(n,i,u){return u?u.toUpperCase():""}).replace(r,function(n,i,u){return n.toLowerCase()})}function p(e,t,r){return r.indexOf(e)===t}function f(e,t,r=!0){let n=c(e);return Object.keys(t).reduce((i,u)=>{if(t[u]!==null&&t[u]!==void 0){let o=c(t[u]);Array.isArray(o)?i[u]=o:r&&typeof o=="object"?i[u]=f(i[u]||{},o,r):i[u]=o}return i},n)}function x(e,t){let r=[],n=0;for(;n<e.length;)r.push(e.slice(n,n+t)),n+=t;return r}var y=e=>e==null;export{c as a,s as b,l as c,a as d,d as e,p as f,f as g,x as h,y as i};
|