@esri/solutions-components 1.2.0-next.2 → 1.2.0-next.21
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/assets/config/appConfig.json.d.ts +1 -0
- package/dist/cdn/22WI477F.js +4 -0
- package/dist/cdn/24XF7RBG.js +4 -0
- package/dist/cdn/267XR53J.js +18 -0
- package/dist/cdn/27ESLXAT.js +4 -0
- package/dist/cdn/2CA32FPD.js +4 -0
- package/dist/cdn/2ERLNTHC.js +4 -0
- package/dist/cdn/2L5T7JFI.js +25 -0
- package/dist/cdn/2NN7XORI.js +4 -0
- package/dist/cdn/2OEXTGHX.js +4 -0
- package/dist/cdn/2R5QFP6H.js +18 -0
- package/dist/cdn/2TBAUYG2.js +18 -0
- package/dist/cdn/2WQ4D3JD.js +4 -0
- package/dist/cdn/2XVGJF2S.js +4 -0
- package/dist/cdn/2Z7NZD5S.js +4 -0
- package/dist/cdn/2ZDTHK62.js +4 -0
- package/dist/cdn/374U3GWX.js +4 -0
- package/dist/cdn/37BAVLAP.js +4 -0
- package/dist/cdn/37CBPFRJ.js +4 -0
- package/dist/cdn/3DBJ6LQZ.js +4 -0
- package/dist/cdn/3EUP5SA5.js +18 -0
- package/dist/cdn/3FQZERY2.js +4 -0
- package/dist/cdn/3GSLYS7Y.js +4 -0
- package/dist/cdn/3I365GBL.js +4 -0
- package/dist/cdn/3LUEIDPJ.js +6 -0
- package/dist/cdn/3NBAQVF4.js +4 -0
- package/dist/cdn/3NJ7ZDPK.js +18 -0
- package/dist/cdn/3PWHRLUR.js +4 -0
- package/dist/cdn/3SCGD2CV.js +4 -0
- package/dist/cdn/3SLYHKVF.js +18 -0
- package/dist/cdn/3UZJJ4TA.js +4 -0
- package/dist/cdn/43LM47JM.js +4 -0
- package/dist/cdn/44SOOWCI.js +4 -0
- package/dist/cdn/455DGAYG.js +4 -0
- package/dist/cdn/47JWHU6X.js +4 -0
- package/dist/cdn/4IP3BGGA.js +4 -0
- package/dist/cdn/4J2AL6O3.js +4 -0
- package/dist/cdn/4KAJDNJI.js +4 -0
- package/dist/cdn/4N6PAP2B.js +4 -0
- package/dist/cdn/4PFWZPSF.js +4 -0
- package/dist/cdn/4PJKBI5Q.js +4 -0
- package/dist/cdn/4SB6QW6W.js +4 -0
- package/dist/cdn/4TDPMROA.js +89 -0
- package/dist/cdn/4ZEW55IS.js +4 -0
- package/dist/cdn/4ZXH4AYE.js +4 -0
- package/dist/cdn/5AWE75QZ.js +4 -0
- package/dist/cdn/5BBGQJ5S.js +4 -0
- package/dist/cdn/5CSKRDZM.js +4 -0
- package/dist/cdn/5FODZC2W.js +4 -0
- package/dist/cdn/5KWSM7IU.js +4 -0
- package/dist/cdn/5LQPYHS4.js +4 -0
- package/dist/cdn/5O3P6DBG.js +4 -0
- package/dist/cdn/5QB6QMOQ.js +4 -0
- package/dist/cdn/5TK6DOW6.js +4 -0
- package/dist/cdn/5U25HMRT.js +29 -0
- package/dist/cdn/5UFUXLVC.js +4 -0
- package/dist/cdn/5WF3LHZV.js +4 -0
- package/dist/cdn/5X5I7HXW.js +4 -0
- package/dist/cdn/5X7OT3PW.js +4 -0
- package/dist/cdn/5ZAFAS7S.js +4 -0
- package/dist/cdn/65YYFVKD.js +4 -0
- package/dist/cdn/66KL4C26.js +4 -0
- package/dist/cdn/67PMSKZH.js +4 -0
- package/dist/cdn/6D3JL2AS.js +18 -0
- package/dist/cdn/6ISYJZ3U.js +4 -0
- package/dist/cdn/6J47H6LF.js +4 -0
- package/dist/cdn/6LDGKXHO.js +4 -0
- package/dist/cdn/6MPNFWME.js +4 -0
- package/dist/cdn/6MWYP2QJ.js +18 -0
- package/dist/cdn/6NCUX6NJ.js +4 -0
- package/dist/cdn/6RUEUSIY.js +9 -0
- package/dist/cdn/6UDQYBCT.js +4 -0
- package/dist/cdn/6VPV7EU6.js +4 -0
- package/dist/cdn/766NXEI5.js +4 -0
- package/dist/cdn/7EWH23O4.js +4 -0
- package/dist/cdn/7G2GSKCH.js +4 -0
- package/dist/cdn/7IGMIN2W.js +63 -0
- package/dist/cdn/7NRVWFK5.js +18 -0
- package/dist/cdn/7QZKOSHV.js +18 -0
- package/dist/cdn/7THEDBQV.js +18 -0
- package/dist/cdn/7WJ4AYW6.js +4 -0
- package/dist/cdn/ACASG3D3.js +4 -0
- package/dist/cdn/ADOJOJRJ.js +4 -0
- package/dist/cdn/ALRXJEMN.js +5 -0
- package/dist/cdn/ANG6KH3Q.js +4 -0
- package/dist/cdn/APL5YV6I.js +4 -0
- package/dist/cdn/ARWGMEFD.js +4 -0
- package/dist/cdn/AVXSEI6R.js +4 -0
- package/dist/cdn/AVYP5N5W.js +4 -0
- package/dist/cdn/AWZPH3WI.js +4 -0
- package/dist/cdn/B2M4VAVZ.js +4 -0
- package/dist/cdn/B6NCIDUQ.js +4 -0
- package/dist/cdn/BA7C5JV7.js +4 -0
- package/dist/cdn/BIJS3QDZ.js +4 -0
- package/dist/cdn/BJYU2UEJ.js +4 -0
- package/dist/cdn/BNYHJMNY.js +18 -0
- package/dist/cdn/BOWYOYFF.js +4 -0
- package/dist/cdn/BUNUWO4R.js +4 -0
- package/dist/cdn/BYHP3RDB.js +4 -0
- package/dist/cdn/C36XF7C7.js +4 -0
- package/dist/cdn/C3UGMPFZ.js +18 -0
- package/dist/cdn/C3XGENO2.js +4 -0
- package/dist/cdn/C5V5WACE.js +20 -0
- package/dist/cdn/CKKYPJNF.js +4 -0
- package/dist/cdn/CNPRL7S7.js +4 -0
- package/dist/cdn/CPNBWTEA.js +4 -0
- package/dist/cdn/CURE4DDI.js +4 -0
- package/dist/cdn/CVPVJHLE.js +18 -0
- package/dist/cdn/D4Y37VIF.js +387 -0
- package/dist/cdn/D7QKCBMA.js +4 -0
- package/dist/cdn/DCXFS72L.js +18 -0
- package/dist/cdn/DEWVSB4U.js +18 -0
- package/dist/cdn/DEZPDY4A.js +4 -0
- package/dist/cdn/DOCNMY5H.js +4 -0
- package/dist/cdn/DPPVKLVV.js +4 -0
- package/dist/cdn/DQXONY5W.js +4 -0
- package/dist/cdn/DUVCORIN.js +4 -0
- package/dist/cdn/E2O3EKWU.js +18 -0
- package/dist/cdn/EA4SJ62D.js +4 -0
- package/dist/cdn/EFOK377W.js +4 -0
- package/dist/cdn/EGSL27T3.js +4 -0
- package/dist/cdn/ELFWIFOI.js +4 -0
- package/dist/cdn/EOPQUXDK.js +4 -0
- package/dist/cdn/EQMNEW7B.js +4 -0
- package/dist/cdn/ETVHZ7E4.js +4 -0
- package/dist/cdn/EUKYTCUW.js +4 -0
- package/dist/cdn/EWRHTIXK.js +4 -0
- package/dist/cdn/EWZKQPHY.js +18 -0
- package/dist/cdn/EXX2X63P.js +18 -0
- package/dist/cdn/EYXCH4TQ.js +4 -0
- package/dist/cdn/FASHWN45.js +18 -0
- package/dist/cdn/FH4SRX2G.js +4 -0
- package/dist/cdn/FHQAUSZQ.js +18 -0
- package/dist/cdn/FJKLSPV2.js +9 -0
- package/dist/cdn/FMGMDOXA.js +4 -0
- package/dist/cdn/FO5FDVKS.js +4 -0
- package/dist/cdn/FTCKROY3.js +4 -0
- package/dist/cdn/FUW5X5WX.js +4 -0
- package/dist/cdn/G2UQK6LA.js +4 -0
- package/dist/cdn/G354G2R5.js +4 -0
- package/dist/cdn/G423EZVH.js +18 -0
- package/dist/cdn/G7B5NHVN.js +4 -0
- package/dist/cdn/GBTQSHKA.js +4 -0
- package/dist/cdn/GDAB44P7.js +18 -0
- package/dist/cdn/GFLSAGSA.js +4 -0
- package/dist/cdn/GW3RLVUL.js +4 -0
- package/dist/cdn/GZZHEXNM.js +4 -0
- package/dist/cdn/H23L6B2Q.js +4 -0
- package/dist/cdn/HCWTAUF5.js +4 -0
- package/dist/cdn/HEW6Z5PB.js +18 -0
- package/dist/cdn/HIMSUVUZ.js +4 -0
- package/dist/cdn/HOFOKHEX.js +18 -0
- package/dist/cdn/HOPHRV4L.js +4 -0
- package/dist/cdn/I2POBGHR.js +8 -0
- package/dist/cdn/I5EMUTWF.js +4 -0
- package/dist/cdn/ICV7ZHJA.js +18 -0
- package/dist/cdn/ID2MR3BQ.js +4 -0
- package/dist/cdn/IESWZ7BL.js +4 -0
- package/dist/cdn/IFMVHH6O.js +4 -0
- package/dist/cdn/IJBXFCMT.js +4 -0
- package/dist/cdn/IJI2I4NN.js +4 -0
- package/dist/cdn/IL7KHRPB.js +4 -0
- package/dist/cdn/IM62UGGF.js +4 -0
- package/dist/cdn/IQKAM57E.js +18 -0
- package/dist/cdn/IXNUWHR7.js +18 -0
- package/dist/cdn/J2ZYSYWV.js +18 -0
- package/dist/cdn/J4W3UIZY.js +4 -0
- package/dist/cdn/J7YSM5KG.js +4 -0
- package/dist/cdn/JGLFIWOT.js +18 -0
- package/dist/cdn/JM47OMNA.js +18 -0
- package/dist/cdn/JN7ZBQQT.js +4 -0
- package/dist/cdn/JPNPSA7E.js +4 -0
- package/dist/cdn/JPQEYX6B.js +18 -0
- package/dist/cdn/JTKWC3IN.js +4 -0
- package/dist/cdn/JUHZNCUH.js +4 -0
- package/dist/cdn/JVB44O4S.js +4 -0
- package/dist/cdn/JZ7DDWQB.js +4 -0
- package/dist/cdn/K5RFBVYK.js +4 -0
- package/dist/cdn/KCSAC7EU.js +4 -0
- package/dist/cdn/KEDADGFZ.js +4 -0
- package/dist/cdn/KHGPU4UH.js +4 -0
- package/dist/cdn/KLDJP764.js +4 -0
- package/dist/cdn/KNUWDW23.js +18 -0
- package/dist/cdn/KPLOUVW3.js +4 -0
- package/dist/cdn/KQ3UQWCA.js +4 -0
- package/dist/cdn/KQQVJLMB.js +19 -0
- package/dist/cdn/KRNFP4OP.js +4 -0
- package/dist/cdn/KU7RFZOY.js +4 -0
- package/dist/cdn/L2OHD42I.js +4 -0
- package/dist/cdn/L6LJJRE2.js +4 -0
- package/dist/cdn/L6NUR77H.js +19 -0
- package/dist/cdn/LAER7U5K.js +4 -0
- package/dist/cdn/LLJXBBKJ.js +8 -0
- package/dist/cdn/LPCWCSAE.js +4 -0
- package/dist/cdn/LPHU6MAJ.js +4 -0
- package/dist/cdn/LPVP3TCA.js +4 -0
- package/dist/cdn/LPWJRNE6.js +18 -0
- package/dist/cdn/LQHMW4IA.js +4 -0
- package/dist/cdn/LXKU7WUU.js +5 -0
- package/dist/cdn/MASI4TM4.js +4 -0
- package/dist/cdn/MGF42WWT.js +4 -0
- package/dist/cdn/MGYT2FRC.js +4 -0
- package/dist/cdn/MPPNFL6O.js +4 -0
- package/dist/cdn/MR24E2PT.js +4 -0
- package/dist/cdn/MS66PYWN.js +4 -0
- package/dist/cdn/MWZCZ3GZ.js +18 -0
- package/dist/cdn/MXDK4LDP.js +82 -0
- package/dist/cdn/N3Q6R6TY.js +4 -0
- package/dist/cdn/N4YNUARS.js +4 -0
- package/dist/cdn/N55BTIIP.js +4 -0
- package/dist/cdn/NABUJ3I4.js +4 -0
- package/dist/cdn/NDGWBMSC.js +18 -0
- package/dist/cdn/NDNONWRS.js +4 -0
- package/dist/cdn/NN3W4IUH.js +4 -0
- package/dist/cdn/NOHK26DI.js +4 -0
- package/dist/cdn/NPL77HLA.js +4 -0
- package/dist/cdn/NRDRHGLK.js +4 -0
- package/dist/cdn/NUYH26IF.js +18 -0
- package/dist/cdn/NZGTHZBJ.js +4 -0
- package/dist/cdn/OAYZ7IKH.js +4 -0
- package/dist/cdn/OBTOZOSB.js +4 -0
- package/dist/cdn/OEWCMCHN.js +4 -0
- package/dist/cdn/OJEOXJLD.js +8 -0
- package/dist/cdn/OLLYGSHZ.js +4 -0
- package/dist/cdn/OMCPSQ2N.js +4 -0
- package/dist/cdn/ON53FJXG.js +4 -0
- package/dist/cdn/ORAYN2AR.js +4 -0
- package/dist/cdn/OTF6WC55.js +4 -0
- package/dist/cdn/OTM3WCFO.js +18 -0
- package/dist/cdn/OUALGQPO.js +4 -0
- package/dist/cdn/OVZZ6JTU.js +4 -0
- package/dist/cdn/P2ZHCD37.js +4 -0
- package/dist/cdn/P5564HET.js +4 -0
- package/dist/cdn/PFC743S5.js +18 -0
- package/dist/cdn/PFJ4FP3Z.js +18 -0
- package/dist/cdn/PGBTYK6X.js +4 -0
- package/dist/cdn/PGGYBI5J.js +4 -0
- package/dist/cdn/PHMX4V43.js +4 -0
- package/dist/cdn/PJRC7SHJ.js +4 -0
- package/dist/cdn/PNEU3IS5.js +21 -0
- package/dist/cdn/PQZE6Q45.js +18 -0
- package/dist/cdn/PT5WEO4R.js +4 -0
- package/dist/cdn/PWGDJNXG.js +4 -0
- package/dist/cdn/PYWEHZIC.js +4 -0
- package/dist/cdn/Q2JR6QFV.js +4 -0
- package/dist/cdn/QAFNPAAD.js +4 -0
- package/dist/cdn/QBNFWPNH.js +4 -0
- package/dist/cdn/QDR4D66T.js +6 -0
- package/dist/cdn/QGE56V4L.js +18 -0
- package/dist/cdn/QGUWQFF4.js +4 -0
- package/dist/cdn/QKHTFYET.js +4 -0
- package/dist/cdn/QKRVG65G.js +4 -0
- package/dist/cdn/QMKK7GAS.js +4 -0
- package/dist/cdn/QO2IVYQC.js +4 -0
- package/dist/cdn/QWKYRSVI.js +18 -0
- package/dist/cdn/R4GWAQRV.js +4 -0
- package/dist/cdn/REYSZJE4.js +18 -0
- package/dist/cdn/RUDYNTVM.js +4 -0
- package/dist/cdn/S3TADIJ6.js +4 -0
- package/dist/cdn/S7NGALY2.js +18 -0
- package/dist/cdn/SAMBWFKJ.js +4 -0
- package/dist/cdn/SEQGEOAO.js +18 -0
- package/dist/cdn/SF42TDNB.js +4 -0
- package/dist/cdn/SHSY5TSW.js +4 -0
- package/dist/cdn/SKT4GZ6B.js +4 -0
- package/dist/cdn/SMTIW5ON.js +4 -0
- package/dist/cdn/SPTDTOSM.js +4 -0
- package/dist/cdn/SROQUXLR.js +4 -0
- package/dist/cdn/SULZ3DXA.js +4 -0
- package/dist/cdn/SYAYSQPQ.js +4 -0
- package/dist/cdn/SYQ77RWF.js +4 -0
- package/dist/cdn/T34KE2A2.js +4 -0
- package/dist/cdn/T4NEPGO4.js +4 -0
- package/dist/cdn/T6HJKM4L.js +4 -0
- package/dist/cdn/TCBFVFSX.js +18 -0
- package/dist/cdn/TDSDZEH7.js +4 -0
- package/dist/cdn/TEGIRF2G.js +4 -0
- package/dist/cdn/TKQG2LKN.js +4 -0
- package/dist/cdn/TKYTD63P.js +4 -0
- package/dist/cdn/TLAJKE5F.js +4 -0
- package/dist/cdn/TPVEOX5G.js +18 -0
- package/dist/cdn/TRRMVHNP.js +4 -0
- package/dist/cdn/TWG226PR.js +4 -0
- package/dist/cdn/TWPRIW6W.js +4 -0
- package/dist/cdn/TXUBQSCF.js +4 -0
- package/dist/cdn/U232ZHS5.js +4 -0
- package/dist/cdn/U44X65LX.js +18 -0
- package/dist/cdn/UAMQWJTP.js +18 -0
- package/dist/cdn/UCM63YTG.js +4 -0
- package/dist/cdn/UDRBXNEZ.js +4 -0
- package/dist/cdn/UEFR52YG.js +18 -0
- package/dist/cdn/UFPDER6I.js +4 -0
- package/dist/cdn/UIIKMLZY.js +4 -0
- package/dist/cdn/UNSSBR4O.js +4 -0
- package/dist/cdn/UOEK64W4.js +18 -0
- package/dist/cdn/UYB52TDK.js +4 -0
- package/dist/cdn/V5PS7TPT.js +18 -0
- package/dist/cdn/V7U7DLUJ.js +18 -0
- package/dist/cdn/VC5NFRBK.js +4 -0
- package/dist/cdn/VFXHYKBA.js +4 -0
- package/dist/cdn/VGX5VVVO.js +4 -0
- package/dist/cdn/VJABELHG.js +4 -0
- package/dist/cdn/VPH3MHCJ.js +4 -0
- package/dist/cdn/VRHRENNK.js +4 -0
- package/dist/cdn/VRUHMDUB.js +4 -0
- package/dist/cdn/VXS4KLRE.js +4 -0
- package/dist/cdn/W3TMRYTI.js +4 -0
- package/dist/cdn/W5ZGSETN.js +18 -0
- package/dist/cdn/W7734FGJ.js +4 -0
- package/dist/cdn/WEU6HCGV.js +4 -0
- package/dist/cdn/WL6PEUQB.js +18 -0
- package/dist/cdn/WPMDZZYN.js +19 -0
- package/dist/cdn/WRKHHDEK.js +4 -0
- package/dist/cdn/WUXNFVJD.js +4 -0
- package/dist/cdn/WWKYMX4H.js +4 -0
- package/dist/cdn/WZGEVXYQ.js +18 -0
- package/dist/cdn/WZTL2MCD.js +4 -0
- package/dist/cdn/WZZXQ7ZL.js +4 -0
- package/dist/cdn/X2Q335MK.js +18 -0
- package/dist/cdn/X7SSY7I5.js +18 -0
- package/dist/cdn/XLKIFV2H.js +4 -0
- package/dist/cdn/Y42PHID4.js +4 -0
- package/dist/cdn/Y43WPKIW.js +18 -0
- package/dist/cdn/Y4CU2GK4.js +4 -0
- package/dist/cdn/Y5DN4QU2.js +294 -0
- package/dist/cdn/YHIWZGM7.js +18 -0
- package/dist/cdn/YIBIIFQA.js +4 -0
- package/dist/cdn/YLRL7Y5N.js +4 -0
- package/dist/cdn/YNQJMUXW.js +4 -0
- package/dist/cdn/YUMTADN7.js +4 -0
- package/dist/cdn/Z23HGZYN.js +4 -0
- package/dist/cdn/ZAAZBMVL.js +4 -0
- package/dist/cdn/ZADEJN6X.js +4 -0
- package/dist/cdn/ZBWHTQGY.js +4 -0
- package/dist/cdn/ZCXEHP3I.js +4 -0
- package/dist/cdn/ZDTXP6UH.js +18 -0
- package/dist/cdn/ZGLUS7EY.js +4 -0
- package/dist/cdn/ZGXWBO6S.js +18 -0
- package/dist/cdn/ZHNR6E4I.js +18 -0
- package/dist/cdn/ZMKFBKJ5.js +4 -0
- package/dist/cdn/ZSCNY56E.js +4 -0
- package/dist/cdn/ZTYR32MZ.js +4 -0
- package/dist/cdn/ZWJQQF63.js +4 -0
- package/dist/cdn/ZWLWEEM7.js +18 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -0
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solutions-resources/t9n/messages.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +14 -14
- package/dist/chunks/CardsFetcher.js +29 -30
- package/dist/chunks/appConfig.js +13 -10
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +30 -20
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +30 -25
- package/dist/chunks/interfaces.js +18 -19
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +2 -2
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +96 -9
- package/dist/components/arcgis-solutions-assistant/customElement.js +1366 -60
- package/dist/components/arcgis-solutions-assistant/index.d.ts +4 -4
- package/dist/components/arcgis-solutions-assistant/index.js +4 -4
- package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +22 -0
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +3 -3
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +16 -16
- package/dist/components/map-card/customElement.js +14 -14
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +6 -0
- package/dist/components/map-layer-picker/customElement.js +25 -19
- 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-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +23 -20
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +3 -3
- package/dist/components/solution-deployed-card/customElement.d.ts +4 -5
- package/dist/components/solution-deployed-card/customElement.js +35 -34
- package/dist/components/solution-deployed-card/index.d.ts +0 -1
- package/dist/components/solution-deployed-card/index.js +0 -1
- package/dist/components/solution-deployed-card-panel/customElement.d.ts +40 -0
- package/dist/components/solution-deployed-card-panel/customElement.js +118 -0
- package/dist/components/solution-deployed-card-panel/index.d.ts +15 -0
- package/dist/components/solution-deployed-card-panel/index.js +15 -0
- package/dist/components/solution-deploying-dialog/customElement.d.ts +2 -0
- package/dist/components/solution-deploying-dialog/customElement.js +94 -18
- package/dist/components/solution-details-card/customElement.js +6 -6
- package/dist/components/solution-details-panel/customElement.js +72 -72
- package/dist/components/solution-details-panel/index.d.ts +1 -1
- package/dist/components/solution-details-panel/index.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
- package/dist/components/solution-item-accordion/customElement.js +13 -9
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.d.ts +37 -0
- package/dist/components/solution-resource-card/customElement.js +49 -0
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.d.ts +6 -2
- package/dist/components/solutions-all-panel/customElement.js +68 -52
- package/dist/components/solutions-all-panel/index.d.ts +1 -0
- package/dist/components/solutions-all-panel/index.js +1 -0
- package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
- package/dist/components/solutions-all-shell/customElement.js +38 -33
- package/dist/components/solutions-deploy-app/customElement.d.ts +3 -2
- package/dist/components/solutions-deploy-app/customElement.js +67 -60
- package/dist/components/solutions-deploy-app/index.d.ts +2 -1
- package/dist/components/solutions-deploy-app/index.js +2 -1
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +4 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +52 -29
- package/dist/components/solutions-deploy-app-nav/index.d.ts +5 -2
- package/dist/components/solutions-deploy-app-nav/index.js +5 -2
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.d.ts +4 -2
- package/dist/components/solutions-deployed-panel/customElement.js +45 -40
- package/dist/components/solutions-deployed-shell/customElement.js +11 -11
- package/dist/components/solutions-filter-panel/customElement.d.ts +12 -0
- package/dist/components/solutions-filter-panel/customElement.js +79 -62
- package/dist/components/solutions-filter-panel/index.d.ts +1 -0
- package/dist/components/solutions-filter-panel/index.js +1 -0
- package/dist/components/solutions-resource-panel/customElement.d.ts +17 -0
- package/dist/components/solutions-resource-panel/customElement.js +43 -0
- package/dist/components/solutions-resources/customElement.d.ts +7 -0
- package/dist/components/solutions-resources/customElement.js +105 -0
- package/dist/components/solutions-resources/index.d.ts +12 -0
- package/dist/components/solutions-resources/index.js +12 -0
- package/dist/components/solutions-resources-shell/customElement.d.ts +7 -0
- package/dist/components/solutions-resources-shell/customElement.js +43 -0
- package/dist/components/solutions-resources-shell/index.d.ts +5 -0
- package/dist/components/solutions-resources-shell/index.js +5 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +9 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.js +47 -37
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +2594 -2009
- package/dist/docs/docs.json +1499 -946
- package/dist/docs/vscode.html-custom-data.json +144 -107
- package/dist/docs/web-types.json +474 -312
- package/dist/index.d.ts +104 -71
- package/dist/index.js +35 -36
- package/dist/loader.js +14 -14
- package/dist/types/lumina.d.ts +42 -35
- package/dist/types/preact.d.ts +47 -40
- package/dist/types/preact10.d.ts +52 -45
- package/dist/types/react.d.ts +52 -45
- package/dist/types/stencil.d.ts +42 -35
- package/dist/utils/cardsHelpers.d.ts +14 -0
- package/dist/utils/helpers.d.ts +8 -1
- package/dist/utils/interfaces.d.ts +48 -26
- package/package.json +2 -2
- package/dist/cdn/22BFHC2I.js +0 -4
- package/dist/cdn/22LLS6WR.js +0 -18
- package/dist/cdn/24C3TAJY.js +0 -4
- package/dist/cdn/24PILRZT.js +0 -4
- package/dist/cdn/26NSAUFX.js +0 -4
- package/dist/cdn/2AUDRMU3.js +0 -4
- package/dist/cdn/2BOM63KQ.js +0 -18
- package/dist/cdn/2FFHB27Z.js +0 -4
- package/dist/cdn/2IPTMHFY.js +0 -4
- package/dist/cdn/2JQUC3UP.js +0 -4
- package/dist/cdn/2KXRE3QQ.js +0 -4
- package/dist/cdn/2LK2MZZR.js +0 -4
- package/dist/cdn/2LLZMSJV.js +0 -4
- package/dist/cdn/2QP26HSW.js +0 -4
- package/dist/cdn/2RVVSM5J.js +0 -4
- package/dist/cdn/2ZUX4PI4.js +0 -4
- package/dist/cdn/32275IZ5.js +0 -4
- package/dist/cdn/327AKQNH.js +0 -18
- package/dist/cdn/32GCN42P.js +0 -4
- package/dist/cdn/35KI2UZP.js +0 -4
- package/dist/cdn/3AXQAZAI.js +0 -4
- package/dist/cdn/3ENATMAV.js +0 -4
- package/dist/cdn/3MGV3QJV.js +0 -4
- package/dist/cdn/3MON3AIB.js +0 -6
- package/dist/cdn/3NETFEHL.js +0 -18
- package/dist/cdn/3SH6IZWK.js +0 -4
- package/dist/cdn/3UMQAY7D.js +0 -4
- package/dist/cdn/3VJ5JQ7K.js +0 -4
- package/dist/cdn/3VXS23LI.js +0 -4
- package/dist/cdn/3YPL6RCD.js +0 -18
- package/dist/cdn/45ANCG22.js +0 -18
- package/dist/cdn/4CD2LCWF.js +0 -5
- package/dist/cdn/4J6A5LH5.js +0 -4
- package/dist/cdn/4JWTHCFT.js +0 -4
- package/dist/cdn/4NVR4X3L.js +0 -4
- package/dist/cdn/4UUIRHC6.js +0 -4
- package/dist/cdn/4XJKKLD3.js +0 -4
- package/dist/cdn/4XYYUSUA.js +0 -6
- package/dist/cdn/4YNKTXJZ.js +0 -4
- package/dist/cdn/53GNUN6U.js +0 -82
- package/dist/cdn/56QASSI7.js +0 -4
- package/dist/cdn/57S3EVKQ.js +0 -4
- package/dist/cdn/5CCXGSYJ.js +0 -4
- package/dist/cdn/5E2ADQM6.js +0 -18
- package/dist/cdn/5GQ6DHYL.js +0 -4
- package/dist/cdn/5GW6VGYE.js +0 -4
- package/dist/cdn/5HDW32N3.js +0 -4
- package/dist/cdn/5J7IGLEN.js +0 -4
- package/dist/cdn/5K2GKQME.js +0 -4
- package/dist/cdn/5LNUHS4F.js +0 -4
- package/dist/cdn/5T6EZRNO.js +0 -4
- package/dist/cdn/5WP2S2ZH.js +0 -4
- package/dist/cdn/62JXAZTH.js +0 -4
- package/dist/cdn/62NI5UX7.js +0 -4
- package/dist/cdn/62WGZZJQ.js +0 -4
- package/dist/cdn/63PHQLZJ.js +0 -4
- package/dist/cdn/64KPWKOZ.js +0 -4
- package/dist/cdn/67H5AKUO.js +0 -18
- package/dist/cdn/6FCQB3AG.js +0 -4
- package/dist/cdn/6GSFOGSD.js +0 -4
- package/dist/cdn/6M2T3Q2M.js +0 -4
- package/dist/cdn/6QHOYKEI.js +0 -18
- package/dist/cdn/6RJ3S2N4.js +0 -4
- package/dist/cdn/6RN2G5UX.js +0 -18
- package/dist/cdn/6Y4X3UOF.js +0 -4
- package/dist/cdn/73RE22QT.js +0 -4
- package/dist/cdn/7GJSEVPA.js +0 -4
- package/dist/cdn/7L7OMOMR.js +0 -4
- package/dist/cdn/7LML2KAO.js +0 -4
- package/dist/cdn/7M65VSDO.js +0 -4
- package/dist/cdn/7TVK2JZJ.js +0 -18
- package/dist/cdn/7UBRL7BT.js +0 -4
- package/dist/cdn/7XNXOLSM.js +0 -294
- package/dist/cdn/A2D7SAO5.js +0 -18
- package/dist/cdn/A54VVFMV.js +0 -4
- package/dist/cdn/AGNDZTZ6.js +0 -4
- package/dist/cdn/AMP4ZNCP.js +0 -18
- package/dist/cdn/AV64MW2C.js +0 -4
- package/dist/cdn/AZZRAFZ2.js +0 -4
- package/dist/cdn/B37JGOGF.js +0 -18
- package/dist/cdn/B5X7FR3W.js +0 -4
- package/dist/cdn/BBLEZ5WS.js +0 -18
- package/dist/cdn/BCPDT6MV.js +0 -4
- package/dist/cdn/BGMDKWE7.js +0 -4
- package/dist/cdn/BHXQ7QW6.js +0 -18
- package/dist/cdn/BJWPKYKV.js +0 -4
- package/dist/cdn/BL4KF37N.js +0 -18
- package/dist/cdn/BL7TUTFB.js +0 -4
- package/dist/cdn/BN34E5SA.js +0 -4
- package/dist/cdn/BPB3TNH6.js +0 -18
- package/dist/cdn/BS533JHX.js +0 -18
- package/dist/cdn/BSCXWZZC.js +0 -4
- package/dist/cdn/BTHNNVZX.js +0 -4
- package/dist/cdn/BVRRREAU.js +0 -18
- package/dist/cdn/C42K62PR.js +0 -18
- package/dist/cdn/C4GYOXKY.js +0 -4
- package/dist/cdn/C5FQOPJR.js +0 -4
- package/dist/cdn/CFB6TU6B.js +0 -4
- package/dist/cdn/CHPW5FJW.js +0 -4
- package/dist/cdn/CLIXTMET.js +0 -4
- package/dist/cdn/CPC2M7AK.js +0 -18
- package/dist/cdn/CRGYVR4L.js +0 -4
- package/dist/cdn/CUBFKAV6.js +0 -4
- package/dist/cdn/CXJUQMCV.js +0 -4
- package/dist/cdn/DDP5UCZA.js +0 -4
- package/dist/cdn/DH3SAWQO.js +0 -4
- package/dist/cdn/DKRHACVW.js +0 -4
- package/dist/cdn/DM633MDA.js +0 -18
- package/dist/cdn/DMECGLC4.js +0 -4
- package/dist/cdn/DMMMW2BR.js +0 -18
- package/dist/cdn/DMW55L65.js +0 -4
- package/dist/cdn/DXGUMM4O.js +0 -4
- package/dist/cdn/DZ76G2RX.js +0 -4
- package/dist/cdn/DZHVGBZB.js +0 -4
- package/dist/cdn/E4V5RLGM.js +0 -18
- package/dist/cdn/EALUH4BU.js +0 -4
- package/dist/cdn/EBKAKZZU.js +0 -18
- package/dist/cdn/ECKRAOTK.js +0 -4
- package/dist/cdn/ECVB7DM6.js +0 -4
- package/dist/cdn/EG2JBWTE.js +0 -4
- package/dist/cdn/EM5Z3TCD.js +0 -4
- package/dist/cdn/ENS7CZX3.js +0 -18
- package/dist/cdn/EWQ7E45G.js +0 -18
- package/dist/cdn/F23TKPQ3.js +0 -4
- package/dist/cdn/FDZWMY22.js +0 -4
- package/dist/cdn/FELH7PBD.js +0 -4
- package/dist/cdn/FGUX7O4N.js +0 -4
- package/dist/cdn/FHLHSJYN.js +0 -4
- package/dist/cdn/FJ5G5F6F.js +0 -18
- package/dist/cdn/FJYGYKU7.js +0 -4
- package/dist/cdn/FMF65JWL.js +0 -4
- package/dist/cdn/FNLWKSSH.js +0 -4
- package/dist/cdn/FTJZYC6F.js +0 -4
- package/dist/cdn/FUYHWE6S.js +0 -4
- package/dist/cdn/FYFIZWH7.js +0 -18
- package/dist/cdn/FYQALD4I.js +0 -4
- package/dist/cdn/FZW3ZZPU.js +0 -4
- package/dist/cdn/G5MR5SG5.js +0 -4
- package/dist/cdn/G7UTMYYA.js +0 -4
- package/dist/cdn/GA5KNLFJ.js +0 -4
- package/dist/cdn/GK4O6X2B.js +0 -4
- package/dist/cdn/GRC5KYBB.js +0 -4
- package/dist/cdn/GU3R45TN.js +0 -4
- package/dist/cdn/GYZWPVGD.js +0 -4
- package/dist/cdn/H7YFIIKJ.js +0 -18
- package/dist/cdn/HAYDHL6E.js +0 -8
- package/dist/cdn/HCEYPHXZ.js +0 -4
- package/dist/cdn/HJCGCJHG.js +0 -4
- package/dist/cdn/HKUMRXKS.js +0 -4
- package/dist/cdn/HN6L7MEZ.js +0 -4
- package/dist/cdn/HOCJSK24.js +0 -4
- package/dist/cdn/HR44MJZ4.js +0 -9
- package/dist/cdn/HSGU3NPM.js +0 -9
- package/dist/cdn/HV23NBKM.js +0 -4
- package/dist/cdn/HWBSZWSI.js +0 -25
- package/dist/cdn/I3IHBW4I.js +0 -4
- package/dist/cdn/I4E7TVY4.js +0 -18
- package/dist/cdn/I5X57Y6X.js +0 -4
- package/dist/cdn/IAMELUPG.js +0 -4
- package/dist/cdn/IBIR3MNF.js +0 -4
- package/dist/cdn/IGUMVL7J.js +0 -4
- package/dist/cdn/II4ZEXAJ.js +0 -4
- package/dist/cdn/IIBBHZ5N.js +0 -18
- package/dist/cdn/IN3OKM7F.js +0 -4
- package/dist/cdn/IPIW25QW.js +0 -4
- package/dist/cdn/ITIM5MBI.js +0 -4
- package/dist/cdn/IUWPOFEU.js +0 -4
- package/dist/cdn/IWN7UDRD.js +0 -4
- package/dist/cdn/J3AFQ2U2.js +0 -4
- package/dist/cdn/J5HRIE3W.js +0 -4
- package/dist/cdn/J5U3NOSX.js +0 -8
- package/dist/cdn/J6IINHXU.js +0 -4
- package/dist/cdn/JDDI6RWH.js +0 -18
- package/dist/cdn/JDMCVY5U.js +0 -4
- package/dist/cdn/JHPYHESZ.js +0 -4
- package/dist/cdn/JKVDTJCD.js +0 -4
- package/dist/cdn/JOOTU2MN.js +0 -4
- package/dist/cdn/JSMMX4OW.js +0 -4
- package/dist/cdn/JVHOB5XV.js +0 -18
- package/dist/cdn/JWXSAYHC.js +0 -4
- package/dist/cdn/JYKNVSA4.js +0 -4
- package/dist/cdn/JZ2AJ7NV.js +0 -4
- package/dist/cdn/K3ZT5FZ2.js +0 -4
- package/dist/cdn/K5U7ZHCS.js +0 -4
- package/dist/cdn/KCTOUFKC.js +0 -4
- package/dist/cdn/KJEGNTYQ.js +0 -4
- package/dist/cdn/KORLC5U7.js +0 -4
- package/dist/cdn/KQHBJ2QB.js +0 -4
- package/dist/cdn/KQM2NMJJ.js +0 -4
- package/dist/cdn/KSKZZDYX.js +0 -4
- package/dist/cdn/KURD67WP.js +0 -4
- package/dist/cdn/KVSY5222.js +0 -18
- package/dist/cdn/KXEXXT56.js +0 -18
- package/dist/cdn/KXKBIVFJ.js +0 -18
- package/dist/cdn/KYYMWKPV.js +0 -4
- package/dist/cdn/KZ2V3URW.js +0 -4
- package/dist/cdn/L2O6CXOR.js +0 -18
- package/dist/cdn/LA735BCX.js +0 -4
- package/dist/cdn/LETYH73H.js +0 -4
- package/dist/cdn/LNOZBYMZ.js +0 -4
- package/dist/cdn/LPJPNWKA.js +0 -18
- package/dist/cdn/LUKTYB6E.js +0 -18
- package/dist/cdn/LZIYOPAC.js +0 -4
- package/dist/cdn/LZUM3H4J.js +0 -4
- package/dist/cdn/M2TJWZ2F.js +0 -89
- package/dist/cdn/M46DOI6W.js +0 -4
- package/dist/cdn/MB2DM6NF.js +0 -4
- package/dist/cdn/MDL3GASV.js +0 -18
- package/dist/cdn/MEM675A5.js +0 -18
- package/dist/cdn/MGON4SLN.js +0 -4
- package/dist/cdn/MK3C2NWT.js +0 -18
- package/dist/cdn/MNBZZ6G3.js +0 -4
- package/dist/cdn/MOAD2WOZ.js +0 -4
- package/dist/cdn/MOKFQR6C.js +0 -19
- package/dist/cdn/MQDP5X2Y.js +0 -4
- package/dist/cdn/MQE2DTF5.js +0 -4
- package/dist/cdn/MTQRP42U.js +0 -4
- package/dist/cdn/MZFDMEQW.js +0 -4
- package/dist/cdn/NAFDFLKN.js +0 -4
- package/dist/cdn/NAWCG6BY.js +0 -4
- package/dist/cdn/NF5TB4T5.js +0 -4
- package/dist/cdn/NLWFERKV.js +0 -21
- package/dist/cdn/NM6FSLHS.js +0 -4
- package/dist/cdn/NNT3DJXP.js +0 -4
- package/dist/cdn/NR4TU43I.js +0 -18
- package/dist/cdn/NSJNK5YX.js +0 -4
- package/dist/cdn/NTN5IKQX.js +0 -4
- package/dist/cdn/NVBXPDWS.js +0 -4
- package/dist/cdn/NVOMEAQG.js +0 -5
- package/dist/cdn/NW5D2PXR.js +0 -4
- package/dist/cdn/NWAXN6PC.js +0 -4
- package/dist/cdn/NYH5N4UB.js +0 -4
- package/dist/cdn/O3ZWY3L2.js +0 -19
- package/dist/cdn/O6WPAEXC.js +0 -4
- package/dist/cdn/O7K2BTNK.js +0 -18
- package/dist/cdn/O7KVFY2I.js +0 -4
- package/dist/cdn/OFMGQCKQ.js +0 -4
- package/dist/cdn/OGKY3OCB.js +0 -8
- package/dist/cdn/OHBU7SZN.js +0 -4
- package/dist/cdn/OI7TKT4E.js +0 -18
- package/dist/cdn/OLVN3BUK.js +0 -4
- package/dist/cdn/OS2R7DZG.js +0 -18
- package/dist/cdn/OWSYDJWA.js +0 -18
- package/dist/cdn/OXW67XUN.js +0 -4
- package/dist/cdn/OY2ZL2MH.js +0 -4
- package/dist/cdn/P4SJ4TW3.js +0 -18
- package/dist/cdn/PCXV5WCW.js +0 -4
- package/dist/cdn/PDD2INCO.js +0 -18
- package/dist/cdn/PDM2TVRE.js +0 -4
- package/dist/cdn/PHK7ECEK.js +0 -4
- package/dist/cdn/PKW5U5JD.js +0 -4
- package/dist/cdn/PMVAYDID.js +0 -4
- package/dist/cdn/PTQNSUMQ.js +0 -4
- package/dist/cdn/PV3NKFWO.js +0 -385
- package/dist/cdn/Q4ILVP7M.js +0 -4
- package/dist/cdn/Q5JBWZWR.js +0 -4
- package/dist/cdn/Q63YUEPK.js +0 -4
- package/dist/cdn/QAQPOJT3.js +0 -4
- package/dist/cdn/QDOOFKZT.js +0 -4
- package/dist/cdn/QHDUDNQB.js +0 -4
- package/dist/cdn/QK7H3QEZ.js +0 -4
- package/dist/cdn/QLGVQPSP.js +0 -4
- package/dist/cdn/QT7SOK6K.js +0 -18
- package/dist/cdn/QTPWQXFC.js +0 -4
- package/dist/cdn/QVZEI2LS.js +0 -4
- package/dist/cdn/QWFYFDGT.js +0 -4
- package/dist/cdn/R3MDKVZV.js +0 -18
- package/dist/cdn/R5IZJTD3.js +0 -4
- package/dist/cdn/R5SUWIAX.js +0 -18
- package/dist/cdn/RHR64B37.js +0 -4
- package/dist/cdn/RQXTVQCL.js +0 -4
- package/dist/cdn/RR4VEAAE.js +0 -4
- package/dist/cdn/RWC6IC3I.js +0 -4
- package/dist/cdn/RY4AM746.js +0 -4
- package/dist/cdn/S6NACDB2.js +0 -4
- package/dist/cdn/SPZK2YXW.js +0 -4
- package/dist/cdn/SS3YAHMD.js +0 -4
- package/dist/cdn/T3RNILJN.js +0 -4
- package/dist/cdn/T5OCPOMY.js +0 -4
- package/dist/cdn/T5SK6ZJW.js +0 -4
- package/dist/cdn/TB2NFORT.js +0 -4
- package/dist/cdn/TCJAIPWL.js +0 -4
- package/dist/cdn/TCORLZCI.js +0 -4
- package/dist/cdn/TFT2UUZJ.js +0 -20
- package/dist/cdn/TJYHQJCY.js +0 -4
- package/dist/cdn/TMEKDW2G.js +0 -4
- package/dist/cdn/TMNFYXWD.js +0 -4
- package/dist/cdn/TMRDI3WC.js +0 -4
- package/dist/cdn/TTAAIUU3.js +0 -4
- package/dist/cdn/U2MIR3HL.js +0 -4
- package/dist/cdn/U3QZIS3C.js +0 -4
- package/dist/cdn/U3VTY66Y.js +0 -4
- package/dist/cdn/U5XUYD32.js +0 -4
- package/dist/cdn/UBTE3LJB.js +0 -4
- package/dist/cdn/UGI2HCBX.js +0 -18
- package/dist/cdn/ULELHCUW.js +0 -4
- package/dist/cdn/ULHGH3CX.js +0 -4
- package/dist/cdn/UNCK4FW5.js +0 -4
- package/dist/cdn/UQGQFHTP.js +0 -4
- package/dist/cdn/URMO7GLW.js +0 -4
- package/dist/cdn/USO4FEJS.js +0 -4
- package/dist/cdn/UVMWA227.js +0 -18
- package/dist/cdn/UXPF53LA.js +0 -4
- package/dist/cdn/UXZC7IGT.js +0 -4
- package/dist/cdn/V2II4COO.js +0 -4
- package/dist/cdn/V623WVLR.js +0 -4
- package/dist/cdn/V74LH3IK.js +0 -18
- package/dist/cdn/V7H6MEIS.js +0 -4
- package/dist/cdn/VFRHV2HY.js +0 -18
- package/dist/cdn/VLRXMBNG.js +0 -4
- package/dist/cdn/VPFAWHJS.js +0 -4
- package/dist/cdn/W45EDCYZ.js +0 -18
- package/dist/cdn/WBO3VKCK.js +0 -4
- package/dist/cdn/WDPM64EG.js +0 -4
- package/dist/cdn/WJKAHLIO.js +0 -29
- package/dist/cdn/WKQNA7HE.js +0 -4
- package/dist/cdn/WNLGN4CE.js +0 -4
- package/dist/cdn/WTU7JILZ.js +0 -4
- package/dist/cdn/WV4ZCFFT.js +0 -4
- package/dist/cdn/XFW3K5OF.js +0 -18
- package/dist/cdn/XFZNGT7C.js +0 -4
- package/dist/cdn/XINUYSXZ.js +0 -18
- package/dist/cdn/XLHINQDA.js +0 -4
- package/dist/cdn/XQYYFNOC.js +0 -4
- package/dist/cdn/XSERGQVD.js +0 -4
- package/dist/cdn/XUXRXNUV.js +0 -4
- package/dist/cdn/XWYN5XJT.js +0 -4
- package/dist/cdn/XYIEX7QB.js +0 -4
- package/dist/cdn/Y2YYJ66T.js +0 -18
- package/dist/cdn/Y7U5BQY2.js +0 -18
- package/dist/cdn/YFJ3R7UO.js +0 -18
- package/dist/cdn/YGKTKWJH.js +0 -18
- package/dist/cdn/YJUZZNM3.js +0 -4
- package/dist/cdn/YOCF54TS.js +0 -4
- package/dist/cdn/YODKEVX7.js +0 -4
- package/dist/cdn/Z7QQNFJ7.js +0 -4
- package/dist/cdn/ZG7Z2ZV5.js +0 -4
- package/dist/cdn/ZH5IG5IH.js +0 -19
- package/dist/cdn/ZJFAIID3.js +0 -4
- package/dist/cdn/ZN7CNQRT.js +0 -4
- package/dist/cdn/ZSPXSDH4.js +0 -4
- package/dist/cdn/ZTCFEMKZ.js +0 -4
- package/dist/cdn/ZYEOJZ6Z.js +0 -4
- package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-article-card/t9n/messages.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +0 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.json +0 -1
- package/dist/components/solution-article-card/customElement.d.ts +0 -37
- package/dist/components/solution-article-card/customElement.js +0 -49
- package/dist/components/solution-configure-dialog/customElement.d.ts +0 -30
- package/dist/components/solution-configure-dialog/customElement.js +0 -131
- package/dist/components/solution-configure-dialog/index.d.ts +0 -13
- package/dist/components/solution-configure-dialog/index.js +0 -13
- package/dist/components/solutions-article-panel/customElement.d.ts +0 -17
- package/dist/components/solutions-article-panel/customElement.js +0 -43
- package/dist/components/solutions-articles/customElement.d.ts +0 -7
- package/dist/components/solutions-articles/customElement.js +0 -79
- package/dist/components/solutions-articles/index.d.ts +0 -11
- package/dist/components/solutions-articles/index.js +0 -11
- package/dist/components/solutions-articles-shell/customElement.d.ts +0 -7
- package/dist/components/solutions-articles-shell/customElement.js +0 -43
- package/dist/components/solutions-articles-shell/index.d.ts +0 -5
- package/dist/components/solutions-articles-shell/index.js +0 -5
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-TW.json +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.d.ts +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.js +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.d.ts +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.js +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as t}from"./2NN7XORI.js";import"./L6LJJRE2.js";import"./SKT4GZ6B.js";import{a as r}from"./5FODZC2W.js";import"./PHMX4V43.js";import"./4SB6QW6W.js";import"./65YYFVKD.js";import"./ZMKFBKJ5.js";import"./FO5FDVKS.js";import"./WWKYMX4H.js";import"./CURE4DDI.js";import"./IJI2I4NN.js";import"./JN7ZBQQT.js";import"./ZCXEHP3I.js";import"./ZTYR32MZ.js";import"./C36XF7C7.js";import"./5BBGQJ5S.js";import"./DQXONY5W.js";import"./KPLOUVW3.js";import"./DOCNMY5H.js";import"./ZADEJN6X.js";import"./VRUHMDUB.js";import"./G2UQK6LA.js";import"./C3XGENO2.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import"./C3XGENO2.js";var a="Nie masz wystarczaj\u0105cej liczby kredyt\xF3w do wykonania tej operacji. Skontaktuj si\u0119 z administratorem systemu ArcGIS, aby uzyska\u0107 pomoc.",e="To narz\u0119dzie zosta\u0142o opublikowane z poziomu notatnika. Dost\u0119p do aplikacji ArcGIS Notebooks jest zablokowany dla Twojej instytucji. Skontaktuj si\u0119 z administratorem w celu dostosowania ustawienia.",i="Element ${ dataPath } nie mo\u017Ce zawiera\u0107 ${ additionalProperty }.",o="Element ${ dataPath } musi by\u0107 zgodny z jednym z tych schemat\xF3w: ${ schemaOptions }.",r="Spr\xF3buj ponownie zapisa\u0107 map\u0119.",t="Oszacowanie kredyt\xF3w si\u0119 nie powiod\u0142o. Przewi\u0144 w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie oszacuj kredyty.",n="Podczas przeprowadzania analizy wyst\u0105pi\u0142 b\u0142\u0105d.",s="Element ${ dataPath } musi mie\u0107 warto\u015B\u0107 r\xF3wn\u0105 jednej z tych dozwolonych warto\u015Bci: ${ allowedValues }.",w="Nie powiod\u0142o si\u0119 zapisanie historii analiz",d="Pami\u0119\u0107 historii jest pe\u0142na. Usu\u0144 niekt\xF3re elementy z historii analiz i spr\xF3buj zapisa\u0107 ponownie.",l="Nazwa us\u0142ugi zawiera co najmniej jeden nieprawid\u0142owy znak.",c="Zapisanie warstwy tymczasowej jako hostowanej warstwy obiektowej nie powiod\u0142o si\u0119.",m="Nie uda\u0142o si\u0119 pobra\u0107 kluczowych w\u0142a\u015Bciwo\u015Bci.",y="Nie uda\u0142o si\u0119 wczyta\u0107 warstwy.",p="Warstwa jest niedost\u0119pna.",z="Element ${ dataPath } nie mo\u017Ce mie\u0107 wi\u0119cej element\xF3w ni\u017C ${ limit }.",u="Wyst\u0105pi\u0142 b\u0142\u0105d podczas zapisywania modelu. Spr\xF3buj ponownie zapisa\u0107.",j="Element ${ dataPath } nie mo\u017Ce mie\u0107 mniej element\xF3w ni\u017C ${ limit }.",k="Element ${ dataPath } nie mo\u017Ce by\u0107 kr\xF3tszy ni\u017C nast\u0119puj\u0105ca liczba znak\xF3w: ${ limit }.",h="Nie powiod\u0142o si\u0119 wczytywanie elementu modelu. Upewnij si\u0119, \u017Ce model istnieje i \u017Ce przyznano uprawnienia dost\u0119pu.",E="Nie powiod\u0142o si\u0119 wykonanie \u017C\u0105dania.",b="Nie masz uprawnie\u0144 do uruchomienia tego narz\u0119dzia. <calcite-link target='_blank' href='${ docLink }'>Dowiedz si\u0119 wi\u0119cej</calcite-link>",P="Nie mo\u017Cna zalogowa\u0107 si\u0119 w portalu.",N="Nie powi\xF3d\u0142 si\u0119 odczyt danych wej\u015Bciowych.",S="W elemencie ${ dataPath } brak w\u0142a\u015Bciwo\u015Bci o nazwie ${ missingProperty }.",$="Istnieje ju\u017C warstwa wynikowa o tej nazwie. Nazwy warstw wynikowych musz\u0105 by\u0107 niepowtarzalne w ca\u0142ej instytucji. U\u017Cyj innej nazwy.",v="Nazwa danych wynikowych zawiera co najmniej jeden nieprawid\u0142owy znak. <a href='${docLink}' target='_blank'>Dowiedz si\u0119 wi\u0119cej.</a>",f="Publikowanie warstwy tymczasowej jako warstwy hostowanej nie powiod\u0142o si\u0119 z powodu co najmniej jednego nieprawid\u0142owego pola. Uruchom ponownie narz\u0119dzie, aby utworzy\u0107 warstw\u0119 z prawid\u0142owymi polami.",I="Nie powiod\u0142o si\u0119 wys\u0142anie zadania. Przewi\u0144 widok w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie uruchom analiz\u0119.",T="Element ${ dataPath } musi zawiera\u0107 co najmniej jeden znak inny ni\u017C bia\u0142y znak.",g={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:o,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:w,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:l,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:p,maxItems:z,mbFailedToSave:u,minItems:j,minLength:k,modelNotFound:h,networkError:E,noPermissionToAccessTool:b,portalLoadError:P,queryFeaturesError:N,requiredProperty:S,serviceNameExistsError:$,specialCharactersInServiceNameError:v,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,o as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,g as default,n as defaultError,s as enumValues,w as failedToSaveHistory,d as fullSessionStorage,l as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,p as layerUnavailable,z as maxItems,u as mbFailedToSave,j as minItems,k as minLength,h as modelNotFound,E as networkError,b as noPermissionToAccessTool,P as portalLoadError,N as queryFeaturesError,S as requiredProperty,$ as serviceNameExistsError,v as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import"./C3XGENO2.js";var a="Anda tidak memiliki cukup kredit untuk melakukan pengoperasian ini. Hubungi Administrator Sistem ArcGIS Anda untuk mendapatkan bantuan.",e="Alat ini diterbitkan dari notebook. Akses ke ArcGIS Notebooks diblokir untuk organisasi Anda. Hubungi administrator Anda untuk menyesuaikan pengaturan.",i="${ dataPath } tidak boleh memiliki ${ additionalProperty }.",r="${ dataPath } harus cocok dengan skema salah satu dari ini: ${ schemaOptions }.",n="Coba simpan peta lagi.",t="Perkiraan kredit gagal. Gulir ke bawah, perbaiki kesalahan, dan perkirakan kreditnya lagi.",s="Terjadi kesalahan saat menjalankan analisis.",l="${ dataPath } harus sama dengan salah satu nilai yang diizinkan ini: ${ allowedValues }.",o="Gagal menyimpan riwayat analisis",d="Penyimpanan riwayat penuh. Hapus beberapa item dari riwayat analisis dan coba simpan lagi.",m="Nama layanan mengandung satu atau lebih karakter yang tidak valid.",k="Penyimpanan layer sementara sebagai feature layeryang dihosting tidak selesai.",u="Gagal mendapatkan properti kunci.",p="Gagal memuat layer.",y="Layer tidak tersedia.",g="${ dataPath } tidak boleh memiliki lebih dari ${ limit } item.",h="Terjadi kesalahan saat menyimpan model. Coba menyimpan lagi.",c="${ dataPath } tidak boleh memiliki kurang dari ${ limit } item.",b="${ dataPath } tidak boleh lebih pendek dari ${ limit } karakter.",P="Gagal memuat item model. Pastikan model tersebut ada dan izin akses telah diberikan.",E="Gagal menyelesaikan permintaan.",v="Anda tidak memiliki izin untuk menjalankan alat ini. <calcite-link target='_blank' href='${ docLink }'>Pelajari selengkapnya</calcite-link>",S="Gagal masuk ke portal.",$="Gagal membaca input data.",f="${ dataPath } tidak memiliki properti bernama ${ missingProperty }.",I="Layer hasil sudah ada dengan nama ini. Layer hasil harus bernama unik di seluruh organisasi. Silakan gunakan nama yang berbeda.",F="Nama luaran berisi satu karakter tidak valid atau lebih. <a href='${docLink}' target='_blank'>Pelajari selengkapnya.</a>",L="Gagal menerbitkan layer sementara sebagai layer yang dihosting karena satu atau beberapa kolom tidak valid. Jalankan kembali alat untuk membuat layer dengan kolom yang valid.",T="Pengiriman pekerjaan gagal. Gulir ke bawah, perbaiki kesalahan, dan jalankan analisis lagi.",A="${ dataPath } harus memiliki setidaknya satu karakter non-spasi.",G={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:y,maxItems:g,mbFailedToSave:h,minItems:c,minLength:b,modelNotFound:P,networkError:E,noPermissionToAccessTool:v,portalLoadError:S,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:I,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:L,toolValidationError:T,whiteSpacePattern:A};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,t as creditEstimationError,G as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,y as layerUnavailable,g as maxItems,h as mbFailedToSave,c as minItems,b as minLength,P as modelNotFound,E as networkError,v as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,f as requiredProperty,I as serviceNameExistsError,F as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,T as toolValidationError,A as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as t}from"./2NN7XORI.js";import"./L6LJJRE2.js";import"./SKT4GZ6B.js";import"./5FODZC2W.js";import"./PHMX4V43.js";import"./4SB6QW6W.js";import"./65YYFVKD.js";import"./ZMKFBKJ5.js";import"./FO5FDVKS.js";import"./WWKYMX4H.js";import"./CURE4DDI.js";import"./IJI2I4NN.js";import"./JN7ZBQQT.js";import"./ZCXEHP3I.js";import"./ZTYR32MZ.js";import"./C36XF7C7.js";import"./5BBGQJ5S.js";import"./DQXONY5W.js";import"./KPLOUVW3.js";import"./DOCNMY5H.js";import"./ZADEJN6X.js";import"./VRUHMDUB.js";import"./G2UQK6LA.js";import"./C3XGENO2.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as f}from"./3PWHRLUR.js";import{a as D}from"./I5EMUTWF.js";import{a as I}from"./VPH3MHCJ.js";import{B as L,C as S}from"./6VPV7EU6.js";import{b as k}from"./T6HJKM4L.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as h,o as E}from"./QDR4D66T.js";import"./C3XGENO2.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(m){return m.replaceAll("'","''")}function y(m,e=!1){if(m){let t=new Date(m),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(m){if(m!=null){m.value=["",""];let e=m.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},v=class extends F{constructor(){super(...arguments),this._messages=I({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.isInitUpdateComplete=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.isInitUpdateComplete=!1,this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.isInitUpdateComplete=!1,this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([S(),L()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),await this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.isInitUpdateComplete||!this.view?.ready||(this.updateInitExpressions(),this.handleURLParams(),this.initExpressions())}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(!this.view?.map)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}}),this.isInitUpdateComplete=!0}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",v);export{v as InstantAppsFilterList};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as c}from"./3GSLYS7Y.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{b as o}from"./VRHRENNK.js";import{E as n,h as s,i,l as r,o as l}from"./QDR4D66T.js";import"./C3XGENO2.js";var d=s`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{@apply block;}.container-border{@apply overflow-y-hidden;}.org-var-header{@apply my-4 mx-0;}.icon-text{@apply truncate;}`,a=class extends n{constructor(){super(...arguments),this.value="",this._solutionVariables=[],this._translations=c({name:"solution-variables",blocking:!0}),this.solutionVariableSelected=l()}static{this.properties={value:3,_solutionVariables:16,_translations:16}}static{this.styles=d}willUpdate(t){t.has("value")&&(this.hasUpdated||this.value!=="")&&this.valueWatchHandler()}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}render(){return i`<div><h4 class="org-var-header">${this._translations.solVariables}</h4></div><div class="container-border"><calcite-tree id=variable-label>${this._renderHierarchy(this._solutionVariables)}</calcite-tree></div>`}_renderHierarchy(t){return t.map(e=>e.dependencies&&e.dependencies.length>0?i`<calcite-tree-item @click=${this._toggleExpand}><solution-item-icon .type=${e.type}></solution-item-icon><span class="icon-text" title=${e.title??r}>${e.title}</span><calcite-tree slot=children>${this._renderHierarchy(e.dependencies)}</calcite-tree></calcite-tree-item>`:i`<calcite-tree-item @click=${()=>this._treeItemSelected(e.id,e.value)}>${e.title}</calcite-tree-item>`)}_treeItemSelected(t,e){this.solutionVariableSelected.emit({itemId:t,value:e})}_toggleExpand(t=void 0){let e=t?.target?.closest("calcite-tree-item");e&&(e.expanded=!e.expanded)}};o("solution-variables",a);export{a as SolutionVariables};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./DPPVKLVV.js";import{a as r}from"./2NN7XORI.js";import"./L6LJJRE2.js";import"./SKT4GZ6B.js";import"./5FODZC2W.js";import"./PHMX4V43.js";import"./4SB6QW6W.js";import"./65YYFVKD.js";import"./ZMKFBKJ5.js";import"./FO5FDVKS.js";import"./WWKYMX4H.js";import"./CURE4DDI.js";import"./IJI2I4NN.js";import"./JN7ZBQQT.js";import"./ZCXEHP3I.js";import"./ZTYR32MZ.js";import"./C36XF7C7.js";import"./5BBGQJ5S.js";import"./DQXONY5W.js";import"./KPLOUVW3.js";import"./DOCNMY5H.js";import"./ZADEJN6X.js";import"./VRUHMDUB.js";import"./G2UQK6LA.js";import"./C3XGENO2.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a,b}from"./WWKYMX4H.js";import"./KPLOUVW3.js";import"./DOCNMY5H.js";import"./ZADEJN6X.js";import"./VRUHMDUB.js";import"./G2UQK6LA.js";import"./C3XGENO2.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import"./C3XGENO2.js";var a="Nemate dovoljno kredita za obavljanje ove operacije. Za pomo\u0107 se obratite svom administratoru sistema ArcGIS.",e="Ova alatka je objavljena iz bele\u017Enice. Pristup servisu ArcGIS Notebooks je blokiran za va\u0161u organizaciju. Kontaktirajte svog administratora da prilagodite ovu postavku.",o="${ dataPath } ne sme da ima ${ additionalProperty }.",i="${ dataPath } mora da odgovara \u0161emi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovo da sa\u010Duvate mapu.",t="Procena kredita nije uspela. Pomerite se nadole, ispravite gre\u0161ke i ponovo procenite kredite.",s="Do\u0161lo je do gre\u0161ke pri pokretanju analize.",n="${ dataPath } mora da bude jednako jednoj od ovih dozvoljenih vrednosti: ${ allowedValues }.",l="\u010Cuvanje istorije analize nije uspelo",d="Skladi\u0161te istorije je puno. Uklonite neke stavke iz istorije analize i poku\u0161ajte ponovo da ih sa\u010Duvate.",v="Ime servisa sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",j="\u010Cuvanje privremenog sloja kao hostovanog sloja geoobjekta nije zavr\u0161eno.",m="Preuzimanje klju\u010Dnih svojstava nije uspelo.",u="U\u010Ditavanje sloja nije uspelo.",p="Sloj nije dostupan.",k="${ dataPath } ne sme da ima vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do gre\u0161ke prilikom \u010Duvanja modela. Poku\u0161ajte da sa\u010Duvate ponovo.",h="${ dataPath } ne sme da ima manje od ${ limit } stavki.",z="${ dataPath } ne sme da bude kra\u0107e od ${ limit } karaktera.",P="U\u010Ditavanje stavke modela nije uspelo. Uverite se da model postoji i da je dobijena dozvola za pristup.",g="Dovr\u0161avanje zahteva nije uspelo.",E="Nemate dozvolu za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznaj vi\u0161e</calcite-link>",S="Prijava na portal nije uspela.",b="Neuspe\u0161no \u010Ditanje ulaznih podataka.",y="${ dataPath } nedostaje svojstvo pod nazivom ${ missingProperty }.",$="Sloj sa rezultatima ve\u0107 postoji s ovim nazivom. Slojevi sa rezultatima moraju imati jedinstveno ime u celoj organizaciji. Upotrebite drugi naziv.",I="Ime izlaza sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",f="Objavljivanje privremenog sloja kao hostovanog sloja nije uspelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovo pokrenite alatku da biste kreirali sloj sa va\u017Ee\u0107im poljima.",F="Slanje posla nije uspelo. Listajte nadole, ispravite gre\u0161ke i ponovo pokrenite analizu.",N="${ dataPath } mora da ima bar jedan karakter koji nije prazan.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:j,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:p,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,L as default,s as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,j as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,p 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,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as e,c as t,e as a,g as s,k as o}from"./VRUHMDUB.js";var u=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:s,tags:a}};export{u as a,i as b};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{b as h}from"./VRHRENNK.js";import{E as d,h as n,i as s,l as c,o as l,r as o}from"./QDR4D66T.js";import"./C3XGENO2.js";var p=n`@layer{/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.icon-text{@apply truncate;}}`,a=class extends d{constructor(){super(...arguments),this.selectedItemId="",this.templateHierarchy=[],this.solutionItemSelected=l()}static{this.properties={selectedItemId:3,templateHierarchy:2}}static{this.styles=p}static{this.shadowRootOptions=o}willUpdate(t){t.has("templateHierarchy")&&(this.hasUpdated||this.templateHierarchy?.length>0)&&this.valueWatchHandler(this.templateHierarchy,t.get("templateHierarchy"))}valueWatchHandler(t,e){t&&t!==e&&Array.isArray(t)&&t.length>0&&this._treeItemSelected(t[0].id)}load(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return s`<calcite-tree>${this.renderHierarchy(this.templateHierarchy)}</calcite-tree>`}renderHierarchy(t){return t.map(e=>{let i=!!(this.selectedItemId&&this.selectedItemId===e.id);return e.dependencies&&e.dependencies.length>0?s`<calcite-tree-item @click=${r=>this._treeItemSelected(e.id,r)} .selected=${i}><solution-item-icon .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon><span class="icon-text" title=${e.title??c}>${e.title}</span><calcite-tree slot=children>${this.renderHierarchy(e.dependencies)}</calcite-tree></calcite-tree-item>`:s`<calcite-tree-item @click=${r=>this._treeItemSelected(e.id,r)} .selected=${i}><solution-item-icon .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon><span class="icon-text" title=${e.title??c}>${e.title}</span></calcite-tree-item>`})}_treeItemSelected(t,e=void 0){let i=e?.target?.closest("calcite-tree-item");i&&(i.expanded=!i?.expanded),this.selectedItemId=t,this.solutionItemSelected.emit(t)}};h("solution-contents",a);export{a as SolutionContents};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),o=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var p=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{$ as qe,$a as tr,$b as eo,A as lt,Aa as Wt,Ab as Pr,B as It,Ba as vo,Bb as wr,C as pe,Ca as Fo,D as C,Da as Nt,Db as xr,E as gt,Ea as Lt,Eb as Sr,F as Ke,Fa as ue,Fb as Er,G as xe,Ga as Oo,Gb as br,H as x,Ha as $t,Hb as re,I as xo,Ia as Vt,Ib as Tr,J as ht,Ja as Bt,Jb as vr,K as f,Ka as zt,Kb as Fr,L as yt,La as Gt,Lb as Or,Ma as jt,Mb as _r,N as Se,Na as Kt,Nb as Rr,O as E,Oa as Ht,Ob as kr,P as Ee,Pa as qt,Pb as Ar,Q as Pt,Qa as Jt,Qb as Cr,R as So,Ra as Dt,Rb as Mr,S as Eo,Sa as Zt,Sb as Ur,T as He,Ta as Qt,Tb as Wr,U as H,Ua as Yt,Ub as Nr,V as wt,Va as _o,Vb as Lr,W as xt,Wa as Qe,Wb as $r,X as St,Xa as Xt,Xb as Ao,Y as B,Ya as er,Yb as Xe,Z as Et,Za as or,Zb as Co,_ as G,_a as te,_b as Te,a as Ue,aa as bt,ab as rr,ac as Vr,ba as bo,bb as nr,bc as Br,c as N,ca as oe,cb as sr,d as X,da as w,db as ir,dc as zr,e as ct,ea as T,eb as mr,ec as Gr,f as ie,fa as Z,fb as ar,fc as jr,ga as Je,gb as cr,h as u,ha as Tt,hb as dr,hc as Kr,i as Po,ia as vt,ib as pr,j as me,ja as To,jb as be,k as $e,ka as Ft,kb as _,kc as Hr,l as ce,la as Ot,lb as Ye,lc as ve,m as Ve,ma as _t,mc as oo,n as Be,na as Rt,nc as to,o as wo,oa as kt,ob as fr,oc as qr,p as pt,pa as At,pb as ur,pc as ro,qa as A,qb as z,qc as Jr,r as ze,ra as fe,rb as lr,s as ft,sa as q,sb as le,t as Ge,tb as J,u as je,ua as De,ub as Ir,v as ee,va as Ze,vb as Ro,wa as Ct,wb as gr,x as de,xb as ko,y as ut,ya as Mt,yb as hr,z as g,za as Ut,zb as yr}from"./3LUEIDPJ.js";import{a as ae,g as we}from"./WUXNFVJD.js";import{a as L}from"./ANG6KH3Q.js";import{a as K,b as We,c as Ne,d as Le}from"./OTF6WC55.js";import{e as j,f as mt,j as Ae,l as Ce,o as at,s as Me}from"./SF42TDNB.js";import{a as it}from"./SYQ77RWF.js";import{a as dt}from"./TWPRIW6W.js";import{a as V}from"./TKYTD63P.js";import{c as W}from"./C3XGENO2.js";function Ie(e,o="application/octet-stream"){if(typeof Blob<"u"){let r=[];for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);let t=new Uint8Array(r);return new Blob([t],{type:o})}else throw new Error("stringToBlob is not currently supported on Node")}function Dr(e){if(typeof Blob<"u")return new Blob([JSON.stringify(e)],{type:"application/json"});throw new Error("objectToJsonBlob is not currently supported on Node")}var no={};W(no,{_mostRecentlyEditedLayer:()=>Mo,convertItemToTemplate:()=>Rs,createItemFromTemplate:()=>ks,postProcess:()=>As});function Rs(e,o,r,t){return new Promise((n,s)=>{let i=G(e);dr(e.groupDesignations)?Bt(i,r).then(a=>n(a),a=>s(x(a))):(i.estimatedDeploymentCostFactor=10,q(i.item.id,r).then(a=>{i.data=a,mr(i,r).then(c=>{c.item.modified=Math.max(c.item.modified,Mo(i.properties.layers),Mo(i.properties.tables)),nr(c,r).then(d=>{c.dependencies=d.map(p=>p.id),n(Nt(c,d,!1,t))},d=>s(x(d)))},c=>s(x(c)))}))})}function ks(e,o,r,t){return new Promise(n=>{if(!t(e.itemId,u.Started,0)){t(e.itemId,u.Ignored,0),n(g(e.type));return}let s=C(e);s=w(s,o),delete s.item.thumbnail,Ke(s,"properties.service.size");let i=Lt(s.data);or(s,r,o).then(m=>{m.success?t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,m.serviceItemId)?(s=Oo(s,o,m),jt(s,o,i,r).then(()=>{s=Oo(s,o,m),le({...s.item,url:void 0},s.data,r,e.item.thumbnail,void 0,o).then(()=>{t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,m.serviceItemId)?A(s.itemId,r).then(a=>{s.item=a,f(s,"item.url")&&!s.item.url.endsWith("/")&&(s.item.url+="/"),n({item:s,id:m.serviceItemId,type:s.type,postProcess:oe({item:s.item,data:s.data})||_o(s)})},()=>{t(e.itemId,u.Failed,0),_(m.serviceItemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))}):(t(e.itemId,u.Cancelled,0),_(m.serviceItemId,r).then(()=>n(g(e.type)),()=>n(g(e.type))))},()=>{t(e.itemId,u.Failed,0),_(m.serviceItemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))})},()=>{t(e.itemId,u.Failed,0),_(m.serviceItemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))})):(t(e.itemId,u.Cancelled,0),_(m.serviceItemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))):(t(e.itemId,u.Failed,0),n(g(e.type)))},()=>{t(e.itemId,u.Failed,0),n(g(e.type))})})}function As(e,o,r,t,n,s,i){return new Promise((m,a)=>{J(e,s,i).then(c=>{_o(t)?(t=w(t,s),Qe(t,i,t.item.url,s).then(m,a)):m(c)},a)})}function Mo(e){let o=0;return e.forEach(r=>{o=r.editingInfo?.lastEditDate?Math.max(o,r.editingInfo.lastEditDate):o}),o}var l={};W(l,{convertItemToTemplate:()=>Cs,createItemFromTemplate:()=>Ms});function Cs(e,o,r){return new Promise(t=>{let n=G(e);n.item.id=T(n.item.id,n.item.id,".itemId");let s=new Promise(m=>{fe(n.itemId,n.item.name,r).then(a=>{!a||a.size===0?m(null):m(a)})}),i=Promise.resolve({});Promise.all([s,i]).then(m=>{let[a]=m;if(a){let c=Vr(a,n.item.name);n.properties[c.filename]=c.mimeType;let d=eo(n.itemId,c.blob.name,1,c.blob.name===c.filename?Te.data:Te.fakezip),p={itemId:n.itemId,file:c.blob,folder:d.folder,filename:d.filename};n.dataFile=p,n.resources.push(d.folder+"/"+d.filename),t(n)}else t(n)})})}function Ms(e,o,r,t){return new Promise(n=>{if(!t(e.itemId,u.Started,0)){t(e.itemId,u.Ignored,0),n(g(e.type));return}let s=C(e);s=w(s,o),e.item.thumbnail&&(s.item.thumbnail=e.item.thumbnail),te(s.item,s.data,r,o.folderId).then(i=>{t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,i.id)?(s.itemId=i.id,o[e.itemId]={itemId:i.id},t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,i.id),n({item:s,id:i.id,type:s.type,postProcess:!1})):(t(e.itemId,u.Cancelled,0),_(i.id,r).then(()=>n(g(e.type)),()=>n(g(e.type))))},()=>{t(e.itemId,u.Failed,0),n(g(e.type))})})}var Zo={};W(Zo,{_getFormDataFilename:()=>Mn,_replaceFeatureServiceURLs:()=>Fn,_replaceItemIds:()=>On,_replacePortalBaseUrls:()=>_n,_replaceWorkflowManagerBaseUrls:()=>Rn,_updateZipObjectTextContent:()=>kn,convertItemToTemplate:()=>gi,createItemFromTemplate:()=>hi,postProcess:()=>Cn,postProcessFormItems:()=>Pi,swizzleFormObject:()=>Jo,templatizeFormData:()=>Do});function Yr(e,o){return Us(e,o)}function Us(e,o){return["data.desktopView.header","data.desktopView.headerPanel.selectors","data.desktopView.leftPanel.selectors","data.desktopView.sidebar","data.desktopView.urlParameters","data.desktopView.widgets","data.header","data.headerPanel.selectors","data.leftPanel.selectors","data.mobileView.header","data.mobileView.headerPanel.selectors","data.mobileView.leftPanel.selectors","data.mobileView.sidebar","data.mobileView.urlParameters","data.mobileView.widgets","data.sidebar","data.urlParameters","data.widgets"].forEach(t=>{let n=f(e,t);Array.isArray(n)&&n.forEach(s=>{s.type==="mapWidget"&&(e.dependencies.indexOf(s.itemId)<0&&e.dependencies.push(s.itemId),s.itemId=T(s.itemId,s.itemId,".itemId")),Array.isArray(s.datasets)&&Ws(s,e,o)})}),e}function Ws(e,o,r){e.datasets.forEach(t=>{if(f(t,"dataSource.type")!=="arcadeDataSource"){let s=f(t,"dataSource.itemId");if(s){o.dependencies.indexOf(s)<0&&o.dependencies.push(s);let i=f(t,"dataSource.layerId");ue(i?.toString(),s,"",r),t.dataSource.itemId=T(s,s,".itemId")}}})}function Xr(e,o){let r=["data.desktopView.header","data.desktopView.headerPanel.selectors","data.desktopView.leftPanel.selectors","data.desktopView.sidebar","data.desktopView.urlParameters","data.desktopView.widgets","data.header","data.headerPanel.selectors","data.leftPanel.selectors","data.mobileView.header","data.mobileView.headerPanel.selectors","data.mobileView.leftPanel.selectors","data.mobileView.sidebar","data.mobileView.urlParameters","data.mobileView.widgets","data.sidebar","data.urlParameters","data.widgets"];return r.forEach(t=>{let n=f(e,t);Ns(n,o)}),r.forEach(t=>{Ls(e,t,o)}),e}function Ns(e,o){e&&Array.isArray(e)&&e.forEach(r=>{Array.isArray(r.datasets)&&r.datasets.forEach(t=>{let n=So(f(t,"dataSource.itemId"));if(n){let s=Eo(f(t,"dataSource.layerId"));o.some(i=>i.itemId===n&&i.layerId===s?(Qr(i,r.id),!0):!1)}else{let s=f(t,"dataSource.id");if(s){let i=s.split("#")[1];o.some(m=>m.ids.indexOf(i)>-1?(Qr(m,r.id),!0):!1)}}})})}function Ls(e,o,r){let t=f(e,o);t&&E(e,o,$s(t,r))}function $s(e,o){return Array.isArray(e)?e.map(r=>{let t=r;return Array.isArray(t.events)&&(t.events=t.events.map(n=>{let s=n;return Array.isArray(s.actions)&&(s.actions=s.actions.map(i=>{let m=i;if(m.fieldMap&&m.targetId&&m.targetId.indexOf("#")>-1){let a=Zr(m,o);if(a){let c=f(a,"fields"),d=f(a,"basePath");Array.isArray(c)&&d&&(m.fieldMap=m.fieldMap.map(p=>{let I=p;return I.targetName=Z(I.targetName,c,d),I}))}}return m})),s})),Array.isArray(t.datasets)&&(t.datasets=t.datasets.map(n=>{let s=n;if(s.type==="serviceDataset"){let i=Zr(n,o);if(i){let m=f(i,"fields"),a=f(i,"basePath");Array.isArray(m)&&a&&(t=Z(t,m,a),s=Z(s,m,a))}}return s})),t}):e}function Zr(e,o){let r,t=f(e,"dataSource.id")||f(e,"targetId");if(t){let n=t.split("#")[1];if(!o.some(s=>(r=s.ids.indexOf(n)>-1?s:r,s.ids.indexOf(n)>-1))){let s=t.split("#")[0];o.some(i=>{let a=(i.references||[]).indexOf(s)>-1;return r=a?i:r,a})}}else{let n=So(f(e,"dataSource.itemId")),s=Eo(f(e,"dataSource.layerId"));n&&o.some(i=>{let m=n===i.itemId&&s===i.layerId;return r=m?i:r,m})}return r}function Qr(e,o){e.references=Array.isArray(e.references)?e.references:[],e.references.indexOf(o)<0&&e.references.push(o)}var ge={};W(ge,{convertItemToTemplate:()=>Ds,convertNotebookToTemplate:()=>jo,createItemFromTemplate:()=>Zs,deleteProps:()=>pn,fineTuneCreatedItem:()=>Go,postProcess:()=>Ys,postProcessNotebookTemplates:()=>Qs});function tn(e,o,r,t){return new Promise((n,s)=>{let i="";if(e.item.url){let m=e.item.url,a=m.indexOf("//");e.item.url=B(H)+m.substring(m.indexOf("/",a+2),m.lastIndexOf("=")+1)+e.item.id,i=m.replace(m.substring(m.indexOf("/",a+2)),"")}e.dependencies=zs(e),E(e,"data.folderId","{{folderId}}"),Ks(e,["data.map.itemId","data.map.appProxy.mapItemId","data.values.webmap","data.values.group"]),nn(e,"data.appItemId",e.itemId),Bo(e,["data.logo","data.map.portalUrl","data.portalUrl","data.httpProxy.url"],B(H)),E(e,"data.geometryService",B(wt)),Vs(e,r,i,t).then(()=>{on(e,r,i,"data.widgetPool.widgets").then(m=>{on(m,r,i,"data.widgetOnScreen.widgets",!0).then(a=>{Bs(a,r,i,"data.values").then(c=>{n(c)},c=>s(x(c)))},a=>s(x(a)))},m=>s(x(m)))},m=>s(x(m)))})}function Vs(e,o,r,t){return new Promise((n,s)=>{let i=f(e,"data.dataSource.dataSources");if(i&&Object.keys(i).length>0){let m=new Array;Object.keys(i).forEach(a=>{let c=i[a];E(c,"portalUrl",B(H));let d=f(c,"itemId");if(f(c,"url")){if(d){let I=c.url.substr(c.url.lastIndexOf("/")+1);ue(I.toString(),d,c.url,t),c.itemId=T(d,d,".layer"+I+".itemId")}let p=Vo(c.url,r,[],[],o);m.push(new Promise((I,h)=>{$o(p.serviceRequests,p.requestUrls,p.testString).then(P=>{c.url=P,I()},P=>h(x(P)))}))}else d&&(c.itemId=T(d,d,".itemId"))}),Promise.all(m).then(()=>n(e),a=>s(x(a)))}else n(e)})}function on(e,o,r,t,n=!1){return new Promise((s,i)=>{let m=f(e,t)||[],a=[],c=[];if(m.forEach(d=>{!n&&f(d,"icon")&&Bo(d,["icon"],B(H));let p=d.config;if(p){let I=JSON.stringify(p),h=Vo(I,r,c,a,o);d.config=JSON.parse(h.testString),a=h.serviceRequests,c=h.requestUrls}}),a.length>0){let d=JSON.stringify(m);$o(a,c,d).then(p=>{E(e,t,JSON.parse(p)),s(e)},p=>i(x(p)))}else s(e)})}function Bs(e,o,r,t){return new Promise((n,s)=>{let i=f(e,t),m=[],a=[];if(i){f(i,"icon")&&Bo(i,["icon"],B(H));let c=JSON.stringify(i),d=Vo(c,r,a,m,o);i=JSON.parse(d.testString),m=d.serviceRequests,a=d.requestUrls}if(m.length>0){let c=JSON.stringify(i);$o(m,a,c).then(d=>{E(e,t,JSON.parse(d)),n(e)},d=>s(x(d)))}else n(e)})}function $o(e,o,r){return new Promise((t,n)=>{if(e&&e.length>0){let s=0;Promise.all(e).then(i=>{i.forEach(m=>{if(f(m,"serviceItemId")){let a="{{"+m.serviceItemId+(m.hasOwnProperty("id")?".layer"+m.id:"")+".url}}";r=so(r,o[s],a,!0)}s++}),t(r)},i=>n(x(i)))}else t(r)})}function Vo(e,o,r,t,n){let s={f:"json",authentication:n},i=e.match(/(\bhttps?:\/\/[-A-Z0-9/._]*)/gim);return i&&i.length&&i.forEach(m=>{m.indexOf("NAServer")>-1?e=so(e,m,B(St)):m.indexOf("GeocodeServer")>-1?e=so(e,m,B(xt)):o&&m.indexOf(o)>-1?e=so(e,o,B(H)):m.indexOf("FeatureServer")>-1&&r.indexOf(m)===-1&&(r.push(m),t.push(N(m,s)))}),{testString:e,requestUrls:r,serviceRequests:t}}function so(e,o,r,t=!1){let n=t&&e.indexOf('"')>-1,s=new RegExp(n?'"'+o+'"':o,"gmi");return e.replace(s,n?'"'+r+'"':r)}function Bo(e,o,r){o.forEach(t=>{let n=f(e,t);if(n){let s=n.substring(n.indexOf("/",n.indexOf("//")+2));E(e,t,s!==n?r+s:r)}})}function rn(e,o,r,t){return new Promise(n=>{if(Ee(e,["WAB2D","WAB3D","Web AppBuilder"])){let s={id:o.itemId,url:o.item.url,data:o.data},i=z(s,t),m={tags:e.item.tags,title:e.item.title,type:"Code Attachment",typeKeywords:["Code","Javascript","Web Mapping Application"],relationshipType:"WMA2Code",originItemId:o.itemId,url:je(w(B(H),r))+"sharing/rest/content/items/"+o.itemId+"/package"},a=te(m,{},t,r.folderId);Promise.all([i,a]).then(()=>n(null),()=>n(null))}else n(null)})}function zs(e){let o=Gs;return Ee(e,["WAB2D","WAB3D","Web AppBuilder"])&&(o=js),o(e)}function Gs(e){return yt(e,["data.values.webmap","data.values.group"])}function js(e){let o=[],r=f(e,"data.map.itemId");r&&o.push(r);let t=f(e,"data.dataSource.dataSources");return t&&Object.keys(t).forEach(n=>{let s=t[n];s.itemId&&o.push(s.itemId)}),o}function Ks(e,o){o.forEach(r=>{let t=f(e,r);nn(e,r,t)})}function nn(e,o,r){E(e,o,T(r,r,".itemId"))}function sn(e,o){let r=f(e,"data.dataSource.dataSources");r&&Object.keys(r).length>0&&(Object.keys(r).forEach(s=>{let i=r[s];r[s]=No(i,o)}),E(e,"data.dataSource.dataSources",r)),["data.widgetPool.widgets","data.widgetOnScreen.widgets"].forEach(s=>{let i=f(e,s);i&&E(e,s,Hs(i,o))});let n=f(e,"data.values");return n&&E(e,"data.values",No(n,o)),e}function No(e,o,r=!1){return e=Js(e,o,r),qs(e,o).forEach(n=>{e=Z(e,n.fields,n.basePath,r)}),e}function Hs(e,o){let r=["SmartEditor","Screening"];return e.map(t=>{if(t.config){let n=r.indexOf(t.name)>-1;t.config=No(t.config,o,n)}return t})}function qs(e,o){let r=JSON.stringify(e);return o.filter(n=>Wo(n,r)<4).sort((n,s)=>Wo(n,r)-Wo(s,r))}function Wo(e,o){let r=e.url,t=e.itemId,n=e.layerId,s;return r&&!isNaN(n)&&(s=new RegExp(r.replace(/[.]/,".layer"+n+"."),"gm")),s&&s.test(o)||e.ids.length>0&&e.ids.some(i=>new RegExp(i,"gm").test(o))?1:r&&new RegExp(r,"gm").test(o)?2:t&&new RegExp(t,"gm").test(o)?3:4}function Js(e,o,r){let t=JSON.stringify(e),n=o.filter(s=>{let i;s.url&&!isNaN(s.layerId)&&(i=new RegExp(s.url.replace(/[.]/,".layer"+s.layerId+"."),"gm"));let m=!1;if(s.ids.length>0&&(m=s.ids.some(a=>new RegExp(a,"gm").test(t))),m||i&&i.test(t))return s});return n.length>0&&n.forEach(s=>{e=Lo(e,s,r),s.ids.length>0&&s.ids.forEach(i=>{e=io(e,s,i,r)})}),e}function Lo(e,o,r){let t={},n=o.url,s=o.layerId,i;if(n&&!isNaN(s)&&(i=new RegExp(n.replace(/[.]/,".layer"+s+"."),"gm")),Array.isArray(e))t=e.map(m=>Lo(m,o,r));else if(typeof e=="object")for(let m in e)e[m]!=null&&typeof e[m]=="object"?t[m]=Lo(e[m],o,r):(i&&i.test(e[m])&&(e=Z(e,o.fields,o.basePath,r)),t[m]=e[m]);else t=e;return t}function io(e,o,r,t){let n={},s=new RegExp(r,"gm");if(Array.isArray(e))n=e.map(i=>io(i,o,r,t));else if(typeof e=="object")for(let i in e)if(e[i]!==null){let m;try{m=JSON.parse(e[i])}catch{m=void 0}m&&typeof m=="object"?n[i]=JSON.stringify(io(m,o,r,t)):typeof e[i]=="object"?(s.test(i)&&t&&(e[i]=Z(e[i],o.fields,o.basePath,t)),n[i]=io(e[i],o,r,t)):(s.test(e[i])&&(e=Z(e,o.fields,o.basePath,t)),n[i]=e[i])}else n[i]=e[i];else n=e;return n}function mn(e,o,r,t){return Yt(e,r,t)}function an(e,o,r){return Qe(e,o,"",r)}function D(e,o,r,t,n){return new Promise((s,i)=>{function m(){n&&n.signal.aborted&&i(new Error("Operation was cancelled"))}if(m(),!t(e.itemId,u.Started,0))t(e.itemId,u.Ignored,0),s(g(e.type));else{let a=C(e);a=w(a,o);let c;e.type==="Web Mapping Application"&&e.data?a=JSON.parse(w(JSON.stringify(a),o)):e.type==="QuickCapture Project"&&e.data&&(c=JSON.stringify(a.data.application),delete a.data),e.item.thumbnail&&(a.item.thumbnail=e.item.thumbnail),te(a.item,a.data,r,o.folderId).then(d=>{if(m(),!t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,d.id))t(e.itemId,u.Cancelled,0),_(d.id,r).then(()=>s(g(e.type)),()=>s(g(e.type)));else{o[e.itemId]={itemId:d.id,itemUrl:o.portalBaseUrl+"/sharing/rest/content/items/"+d.id},a.itemId=d.id,a.type==="Web Mapping Application"&&e.data&&E(a,"data.appItemId",d.id);let p=oe(a.data),I=a.item.url;a=w(a,o),m();let h=Promise.resolve([]);if(a.relatedItems){let S=w(Je(a.relatedItems),o);h=Xt(a.itemId,S,r)}m();let P;if(e.type==="Web Mapping Application"&&e.data&&Ee(e,["WAB2D","WAB3D","Web AppBuilder"]))P=rn(e,a,o,r);else if(e.type==="Workforce Project")P=an(a,r,o);else if(e.type==="QuickCapture Project"){if(c){let S=pe(w(JSON.parse(c),o),"qc.project.json");P=Hr(S,a.itemId,"",S.name,r)}}else e.type==="Notebook"?P=Go(e,a,o,r):I!==a.item.url?(m(),P=new Promise((S,y)=>{Ir(d.id,a.item.url,r).then(()=>S(),y)})):P=Promise.resolve(null);m(),Promise.all([h,P]).then(()=>{t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,d.id)?s({item:a,id:d.id,type:a.type,postProcess:p}):(t(e.itemId,u.Cancelled,0),_(d.id,r).then(()=>s(g(e.type)),()=>s(g(e.type))))},()=>{t(e.itemId,u.Failed,0),s(g(e.type))})}},()=>{t(e.itemId,u.Failed,0),s(g(e.type))})}})}function Ds(e,o,r,t){return Q(e,o,r,t)}function Zs(e,o,r,t){return D(e,o,r,t)}function jo(e){return new Promise(o=>{pn(e.data),o(e)})}function Qs(e,o){if(e.some(t=>t.type==="Notebook")){let t=Object.keys(o).filter(s=>s.indexOf("FeatureServer")>-1).sort().reverse(),n=e.reduce((s,i)=>(s=[...new Set([...s,...i.dependencies,i.itemId])],s),[]);e=e.map(s=>{if(s.type==="Notebook"){let i=s.data&&JSON.stringify(s.data);return n.forEach(m=>{new RegExp(m,"gim").test(i)&&(i=i.replace(m,"{{"+m+".itemId}}"),s.dependencies.indexOf(m)<0&&s.dependencies.push(m))}),t.forEach(m=>{let a=new RegExp(m,"gim");if(a.test(i)){let c=o[m];i=i.replace(a,c);let d=/[0-9A-F]{32}/gim,p=c.match(d)[0];s.dependencies.indexOf(p)<0&&s.dependencies.push(p)}}),s.data=JSON.parse(i),s}})}return e}function pn(e){if(e){let o=["metadata.interpreter","metadata.papermill"];xe(e,o),(e.cells||[]).forEach(r=>{xe(r,o)})}}function Go(e,o,r,t){return new Promise((n,s)=>{let i={id:o.itemId,url:o.item.url,data:pe(o.data,o.itemId+".ipynb")};z(i,t).then(()=>n(null),s)})}function Ys(e,o,r,t,n,s,i){return J(e,s,i)}function un(e,o,r){return new Promise((t,n)=>{Xs(e,r).then(s=>{e.dependencies=s.dependencies,e.data?.properties&&(e.data.properties.ServiceURL=fn(e.data.properties.ServiceURL,s.urlHash),e.data.properties.OverviewURL=fn(e.data.properties.OverviewURL,s.urlHash)),t(e)},s=>n(x(s)))})}function Xs(e,o){return new Promise((r,t)=>{let n=[];if(e.data?.properties){let s=[];e.data.properties.ServiceURL&&s.push(e.data.properties.ServiceURL),e.data.properties.OverviewURL&&e.data.properties.OverviewURL!==e.data.properties.ServiceURL&&s.push(e.data.properties.OverviewURL),ei(s,n,o).then(i=>{r(i)},i=>t(x(i)))}else r({dependencies:n,urlHash:{}})})}function ei(e,o,r){return new Promise((t,n)=>{let s={},i={f:"json",authentication:r},m=[],a={},c=e.filter(d=>{if(d){let p=/.+FeatureServer/g.exec(d),I=Array.isArray(p)&&p.length>0?p[0]:void 0;return I?(Object.keys(a).indexOf(I)<0&&(a[I]=N(d,i)),m.push(a[I]),!0):!1}else return!1});m.length>0?Promise.all(m).then(d=>{d.forEach((p,I)=>{if(f(p,"serviceItemId")){let h=p.serviceItemId;o.indexOf(h)<0&&o.push(h),s[c[I]]=h}}),t({dependencies:o,urlHash:s})},d=>n(x(d))):t({dependencies:o,urlHash:s})})}function fn(e,o){let r=e;if(e){let t=o[e];if(t){let n=e.substr(e.lastIndexOf("/")+1);r=T(t,t,".layer"+n+".url")}r=Je(r.replace(/.+?(?=\/home)/,"{{portalBaseUrl}}"))}return r}var Fe={};W(Fe,{_templatizeAdminEmail:()=>gn,_templatizeApplication:()=>In,_templatizeId:()=>Ko,_templatizeUrl:()=>yn,_updateDependencies:()=>hn,convertItemToTemplate:()=>ti,convertQuickCaptureToTemplate:()=>Ho,createItemFromTemplate:()=>ri});function ti(e,o,r,t){return Q(e,o,r,t)}function Ho(e){return E(e,"data.application",In(e.data.application,e)),e}function In(e,o){Ko(e,"itemId"),gn(e);let r=e?.dataSources;return r&&Array.isArray(r)&&r.forEach(t=>{let n=t.featureServiceItemId;n&&(hn(n,o),yn(t,"featureServiceItemId","url"),Ko(t,"featureServiceItemId"))}),e}function gn(e){f(e,"preferences.adminEmail")&&E(e,"preferences.adminEmail","{{user.email}}")}function hn(e,o){o.dependencies.indexOf(e)===-1&&o.dependencies.push(e)}function yn(e,o,r){let t=f(e,o),n=f(e,r);if(n){let s=n.substr(n.lastIndexOf("/")+1);E(e,r,T(t,t,".layer"+s+".url"))}}function Ko(e,o){let r=f(e,o);r&&E(e,o,T(r,r,".itemId"))}function ri(e,o,r,t){return D(e,o,r,t)}var ni="home/webmap/viewer.html?webmap=";function Pn(e,o,r,t){return new Promise((n,s)=>{e.type!=="Vector Tile Service"&&(e.item.url=e.item.url?je(B(H))+ni+e.item.id:e.item.url),si(e,r).then(i=>{e.dependencies=i.dependencies,e.data&&(e.data.baseMap?.baseMapLayers&&qo(e.data.baseMap.baseMapLayers,i.urlHash,t),e.data.operationalLayers&&qo(e.data.operationalLayers,i.urlHash,t),qo(e.data.tables,i.urlHash,t),ii(e.data)),n(e)},i=>s(x(i)))})}function si(e,o){return new Promise((r,t)=>{let n=[];if(e.data){let s=e.data.baseMap?.baseMapLayers||[],i=e.data.operationalLayers||[],m=e.data.tables||[],a=s.concat(i).concat(m);mi(a,n,o).then(c=>{r(c)},c=>t(x(c)))}else r({dependencies:n,urlHash:{}})})}function ii(e){Ke(e,"initialState")}function mi(e,o,r){return new Promise((t,n)=>{let s={},i={f:"json",authentication:r},m=[],a={},c=e.filter(d=>{if(d.itemId&&d.layerType==="VectorTileLayer")return m.push(A(d.itemId,r)),!0;if(d.url&&d.url.indexOf("{{velocityUrl}}")<0){let p=/.+FeatureServer/g.exec(d.url),I=Array.isArray(p)&&p.length>0?p[0]:void 0;return I?(Object.keys(a).indexOf(I)<0&&(a[I]=N(d.url,i)),m.push(a[I]),!0):!1}else return!1});m.length>0?Promise.all(m).then(d=>{d.forEach((p,I)=>{if(c[I].layerType==="VectorTileLayer"){let h=f(p,"typeKeywords");if(h&&h.includes("Vector Tile Style Editor")){o.indexOf(p.id)<0&&o.push(p.id),c[I].templatizeId=!0;let P=c[I].styleUrl.indexOf(p.id)+p.id.length;c[I].styleUrl=T(c[I].styleUrl.replace(c[I].styleUrl.substring(0,P),p.id),p.id,".itemUrl")}}else if(f(p,"serviceItemId")){let h=p.serviceItemId;o.indexOf(h)<0&&o.push(h),s[c[I].url]=h}}),t({dependencies:o,urlHash:s})},d=>n(x(d))):t({dependencies:o,urlHash:s})})}function qo(e=[],o,r){e.forEach(t=>{if(t.itemId&&t.layerType==="VectorTileLayer")t.templatizeId&&(t.itemId=T(t.itemId,t.itemId,".itemId"),delete t.templatizeId);else if(t.url){let n=t.url.substr(t.url.lastIndexOf("/")+1),s=Object.keys(o).indexOf(t.url)>-1?o[t.url]:void 0;s&&(ue(n,s,t.url,r),t.url=T(s,s,".layer"+n+".url"),t.itemId=T(s,s,".layer"+n+".itemId"))}})}function wn(e,o){return["data.operationalLayers","data.tables","data.applicationProperties.viewing.search.layers"].forEach(t=>ai(e,o,t)),e}function ai(e,o,r){let t=f(e,r);t&&E(e,r,ci(t,o))}function ci(e,o){return e.forEach(r=>{let t=di(r,o);if(t){let n=t.fields.map(i=>i.name);qt(r,t,t.basePath,t.itemId,n),Dt(r,t.basePath,n),r.layerDefinition&&(Qt(r.layerDefinition,t.basePath,n),Zt(r.layerDefinition,t.basePath,n));let s=f(r,"field.name");s&&E(r,"field.name",Jt(s,r,t.itemId,t.basePath))}}),e}function di(e,o){let r;return o.some(t=>t.ids.indexOf(e.id)>-1?(r=t,!0):!1),r}function Q(e,o,r,t){return new Promise((n,s)=>{let i=G(e);i.item.id=T(i.item.id,i.item.id,".itemId");let m=De(i.itemId,"forward",r),a=Promise.resolve({}),c=Promise.resolve([]);switch(e.type){case"Dashboard":case"Data Pipeline":case"Feature Collection":case"Feature Service":case"Hub Initiative":case"Hub Page":case"Hub Site Application":case"Insights Model":case"Oriented Imagery Catalog":case"Project Package":case"Style":case"Workforce Project":case"Web Map":case"Web Mapping Application":case"Web Scene":case"Notebook":a=new Promise(d=>{q(i.itemId,r).then(p=>d(p))});break;case"Form":a=fe(i.itemId,i.item.name,r);break;case"QuickCapture Project":c=Ze(i.itemId,r);break}Promise.all([a,m,c]).then(d=>{let[p,I,h]=d;Jr(i,t),i.data=ro(p,e.type,t);let P=I;i.dependencies=[],i.relatedItems=[],P.forEach(y=>{y.relationshipType!=="WMA2Code"&&(i.relatedItems.push(y),y.relatedItemIds.forEach(v=>{i.dependencies.indexOf(v)<0&&i.dependencies.push(v)}))}),e.type==="Data Pipeline"&&(i.dependencies=i.dependencies.concat(pi(p)));let S=Promise.resolve(i);switch(e.type){case"Dashboard":Yr(i,t);break;case"Notebook":S=jo(i);break;case"Oriented Imagery Catalog":S=un(i,o,r);break;case"QuickCapture Project":i.resources=h,S=new Promise(async y=>{let v=null,b=-1;h&&(h.some((ne,ke)=>{let U=ne.name==="qc.project.json";return U&&(v=ne,b=ke),U}),b>=0&&h.splice(b,1)),v&&(i.data={application:{...await Ge(v)},name:"qc.project.json"}),i.data.application?.basemap?.type==="Web Map"&&i.dependencies.push(i.data.application.basemap.itemId);let M=Ho(i);y(M)});break;case"Vector Tile Service":case"Web Map":case"Web Scene":S=Pn(i,o,r,t);break;case"Web Mapping Application":p&&(S=tn(i,o,r,t));break;case"Workforce Project":S=mn(i,o,r,t);break}S.then(n,y=>s(x(y)))})})}function pi(e){let o=[];return(e?.inputs??[]).concat(e?.outputs??[]).forEach(t=>{if(t.type==="FeatureServiceSource"||t.type==="FeatureServiceSink"){let n=f(t,"parameters.layer.value.itemId");n&&o.push(n)}}),o}var R={};W(R,{convertItemToTemplate:()=>fi,createItemFromTemplate:()=>ui,postProcess:()=>Ii,postProcessFieldReferences:()=>li});function fi(e,o,r,t){return Q(e,o,r,t)}function ui(e,o,r,t,n){return n?D(e,o,r,t,n):D(e,o,r,t)}function li(e,o,r){switch(r){case"Web Mapping Application":sn(e,o);break;case"Dashboard":Xr(e,o);break;case"Web Map":wn(e,o);break}return e}async function Ii(e,o,r,t,n,s,i){if(o==="Web Map"&&t.resources.some(m=>m.indexOf(ie)>-1)){let m=zr(`${s.portalBaseUrl}/sharing/rest`,t.itemId,ie),a={httpMethod:"GET",authentication:i,params:{f:"json"},headers:{Accept:"application/json",Authorization:`Bearer ${i.token}`,"Content-Type":"application/json","X-Esri-Authorization":`Bearer ${i.token}`}};await N(m,a).then(async c=>{let d=JSON.stringify(c),p=w(d,s);if(d!==p){let I=JSON.parse(p),h={id:e,resource:pe(I,ie),name:ie,authentication:i,params:{}};await ct(h)}})}return J(e,s,i)}function gi(e,o,r,t){return R.convertItemToTemplate(e,o,r,t)}function mo(e){return!!f(e,"properties.services")}function En(e,o="https://survey123.arcgis.com"){let r=`${o}/api/survey/create`,t={credentials:"same-origin",method:"POST",body:it({f:"json",...e},!0)};return fetch(r,t).then(n=>n.json()).then(n=>{if(!n.success)throw new Error(`Failed to create survey: ${n.error.message}`);return{formId:n.id,featureServiceId:n.featureService.source.itemId,folderId:n.formItemInfo.ownerFolder}})}var bn=function(o){let r=C(o),t=[["header","content"],["subHeader","content"],["footer","content"],["settings","thankYouScreenContent"]],n=(i,m)=>(i&&i[m]&&(i[m]=encodeURIComponent(i[m])),i);t.forEach(([i,m])=>n(r[i],m));let s=i=>n(i,"description");return r.questions=(r.questions||[]).map(i=>i.questions?{...i,questions:i.questions.map(s)}:s(i)),r};function Tn(e,o,r){let{item:{title:t,description:n,tags:s,typeKeywords:i},properties:{form:m}}=e,{user:{username:a},portalBaseUrl:c,organization:{basemapGalleryGroupQuery:d,defaultBasemap:{title:p}}}=o,{token:I}=r.toCredential();return Mt(d,p,r).then(h=>{let P="Survey-",S=Pt(`${P}${t}`,o,"user.folders").replace(P,"");if(m.questions){let v=b=>(b.maps&&(b.maps=b.maps.map(M=>({...M,itemId:h.id}))),b);m.questions=m.questions.map(b=>b.questions?{...b,questions:b.questions.map(v)}:v(b))}let y=bn(m);return{description:n,form:y,portalUrl:c,tags:s,title:S,token:I,typeKeywords:i,username:a}})}function vn(e,o,r,t){let n=w(e,o),{survey123Url:s}=o;return Tn(n,o,r).then(i=>En(i,s)).then(i=>{let{formId:m,featureServiceId:a}=i,c=Promise.resolve(null);return e.item.thumbnail&&(c=le({id:m},null,r,e.item.thumbnail)),c.then(()=>A(m,r)).then(d=>(o[n.itemId]={itemId:m},o[n.properties.info.serviceInfo.itemId]={itemId:a},t(n.itemId,u.Finished,n.estimatedDeploymentCostFactor,m),{item:{...e,item:d,itemId:m},id:m,type:"Form",postProcess:!0}))}).catch(i=>{throw t(n.itemId,u.Failed,0),i})}function hi(e,o,r,t){return mo(e)?vn(e,o,r,t):R.createItemFromTemplate(e,o,r,t)}async function Jo(e,o){let r=await ko(e),t=new Date;return t=new Date(t.valueOf()-864e5-t.getTimezoneOffset()*1e3*60),r.forEach(n=>{if(typeof n.content=="string"){let s=kn(n,o);e.file(n.file,s,{date:t})}else n.file.endsWith(".xlsx")&&e.file(n.file,n.content,{date:t})}),Promise.resolve(e)}async function Do(e,o){return(await ko(e)).forEach(t=>{if(t.file.endsWith(".info")||t.file.endsWith(".itemInfo")||t.file.endsWith(".json")||t.file.endsWith(".webform")||t.file.endsWith(".xml")){let n=t.content,s=/\b([0-9A-Fa-f]){32}_type/g;n=On(n,o,s),n=Fn(n,o,s),n=_n(n,o),n=Rn(n,o),e.file(t.file,n)}}),Promise.resolve(e)}function Fn(e,o,r){let t=e;return Object.keys(o).filter(s=>s.match(r)&&o[s].type==="Feature Service").forEach(s=>{let i=o[s].url,m=o[i];m&&(t=t.replace(new RegExp(i,"g"),m))}),t}function On(e,o,r){let t=e;return Object.keys(o).filter(s=>s.match(r)&&o[s].type!=="Feature Service").map(s=>s.replace("_type","")).forEach(s=>{t=t.replace(new RegExp(s,"g"),`{{${s}.itemId}}`)}),t}function _n(e,o){let r=e;return o.portalBaseUrl&&(r=r.replace(new RegExp(o.portalBaseUrl,"g"),"{{portalBaseUrl}}")),r}function Rn(e,o){let r=e;return o.workflowBaseUrl&&(r=r.replace(new RegExp(o.workflowBaseUrl,"g"),"{{workflowBaseUrl}}")),r}function kn(e,o){let r=lt(),t=e.content;return t=w(e.content,o),de(t.match(r)??[]).forEach(s=>{let i=o[s];typeof i?.itemId=="string"&&(t=t.replace(new RegExp(s,"g"),`${i.itemId}`))}),t}function An(e,o,r,t,n,s,i){let m=t.properties.info.serviceInfo.itemId,{itemId:a}=s[m],c=w(t,s);return A(a,i).then(d=>{let p=[{id:e,title:c.item.title,snippet:c.item.snippet,extent:c.item.extent,culture:c.item.culture},{id:a,extent:c.item.extent,typeKeywords:[`source-${m}`].concat(d.typeKeywords)}],I=P=>z(P,i),h=p.map(I);return Promise.all(h).then(()=>{let P=[e,a],S=v=>j({itemId:v,folderId:s.folderId,authentication:i}),y=P.map(S);return Promise.all(y)}).then(()=>pr(d.ownerFolder,i)).then(()=>{let P=G(d);return n.push(P),t.dependencies.push(d.id),!0})})}async function Cn(e,o,r,t,n,s,i){let m=await fe(e,"Form",i);if(m){let a=await Ro(m),c=await Jo(a,s);Xe(c,e,i)}else return await ut(5e3),Cn(e,o,r,t,n,s,i);return mo(t)?An(e,o,r,t,n,s,i):J(e,s,i)}async function Pi(e,o){for(let r of e)if(r.type==="Form"){let t=r.data;if(r.data=null,t){let n=await Ro(t);n=await Do(n,o),r.item.name=Mn(r.item.name,t.name,`${r.itemId}.zip`);let s=await hr(n,r.item.name),i=eo(r.itemId,r.item.name,1,Te.data),m={itemId:r.itemId,file:s,folder:i.folder,filename:r.item.name};r.dataFile=m,r.resources.push(i.folder+"/"+i.filename)}}return Promise.resolve(e)}function Mn(e,o,r){let t=e||o;return t&&t!=="undefined"?t:r}var Qo={};W(Qo,{_initializeNewGroup:()=>Un,convertItemToTemplate:()=>wi,createItemFromTemplate:()=>xi,postProcess:()=>Si});function wi(e,o,r){return new Promise(t=>{let n=Et(e);n.item.id=T(n.item.id,n.item.id,".itemId"),At(e.id,r).then(s=>{n.type="Group",kt(e.id,r).then(i=>{i.id=n.item.id,n.item={...i,type:"Group"},n.dependencies=s.concat(ht(i.tags)),t(n)},()=>t(n))},()=>t(n))})}function xi(e,o,r,t){return new Promise(n=>{if(!t(e.itemId,u.Started,0)){t(e.itemId,u.Ignored,0),n(g(e.type));return}let s=C(e);s=w(s,o),s.item.thumbnail=e.item.thumbnail;let i=Un(s.item);rr(i.title,i,o,r,Fo(s)?o.locationTracking.owner:void 0).then(m=>{if(m.success)if(!t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,m.group.id))t(e.itemId,u.Cancelled,0),be(m.group.id,r).then(()=>n(g(e.type)),()=>n(g(e.type)));else if(s.itemId=m.group.id,o[e.itemId]={itemId:m.group.id},s=w(s,o),o[e.itemId].itemId=m.group.id,!t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,m.group.id))t(e.itemId,u.Cancelled,0),be(m.group.id,r).then(()=>n(g(e.type)),()=>n(g(e.type)));else if(Fo(s)){let a=o.locationTracking.owner;fr(m.group.id,a,r).then(c=>{c.success?t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,m.group.id)?ur(m.group.id,[r.username],r).then(d=>{Array.isArray(d.notRemoved)&&d.notRemoved.length===0?t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,m.group.id)?n({item:s,id:m.group.id,type:s.type,postProcess:oe(s)}):(t(e.itemId,u.Cancelled,0),be(m.group.id,r).then(()=>n(g(e.type)),()=>n(g(e.type)))):(t(e.itemId,u.Failed,0),n(g(e.type)))}):(t(e.itemId,u.Cancelled,0),be(m.group.id,r).then(()=>n(g(e.type)),()=>n(g(e.type)))):(t(e.itemId,u.Failed,0),n(g(e.type)))})}else n({item:s,id:m.group.id,type:s.type,postProcess:oe(s)});else t(e.itemId,u.Failed,0),n(g(e.type))},()=>{t(e.itemId,u.Failed,0),n(g(e.type))})})}function Si(e,o,r,t,n,s,i){let m=Promise.resolve({success:!0});return r.some(a=>{if(a.id===e){let c=a.item.item;return oe(c)&&(c=w(c,s),m=lr(c,i)),!0}}),m}function Un(e){let o={access:"private",description:e.description,owner:e.owner,snippet:e.snippet,tags:e.tags,thumbnail:e.thumbnail,title:e.title||"",typeKeywords:e.typeKeywords};return["autoJoin","displaySettings","isInvitationOnly","isOpenData","isViewOnly","membershipAccess","properties","sortField","sortOrder"].forEach(t=>{e.hasOwnProperty(t)&&(o[t]=e[t])}),o}var Oe={};W(Oe,{convertItemToTemplate:()=>Ei,createItemFromTemplate:()=>bi,isAPage:()=>vi,postProcess:()=>Ti});function Wn(e,o,r,t){return e=ce(e,r,{}),Fr(e,{...t,allowList:[]}).then(()=>!0)}function ao(e){let o=K(e);return(e.dependencies||[]).forEach(t=>{let n=new RegExp(t,"g"),s=`{{${t}.itemId}}`;o.item=me(o.item,n,s),o.data=me(o.data,n,s),e.properties&&(o.properties=me(o.properties,n,s))}),o}function co(e,o,r){let t=L(j,{success:!0}),n=[t({itemId:e.item.id,folderId:o,authentication:r})];return V(e,"item.properties.parentInitiativeId")&&n.push(t({itemId:e.item.properties.parentInitiativeId,folderId:o,authentication:r})),Promise.all(n)}function Ei(e,o,r=null){let t=0,n=0;return Promise.all([we(e.id,{authentication:o}),re(o)]).then(([s,i])=>(t=s.item.created,n=s.item.modified,_r(s,i))).then(s=>(s.item.created=t,s.item.modified=n,s.item.typeKeywords=We(s.item.typeKeywords,"doNotDelete"),s.groups=[],s.estimatedDeploymentCostFactor=2,s.resources=[],V(s,"properties")||(s.properties={}),s=ao(s),s))}function bi(e,o,r,t){if(!t(e.itemId,u.Started,0))return Promise.resolve(g(e.type));if(e.assets&&e.resources&&delete e.assets,o.solutionItemExtent){let c=o.solutionItemExtent.split(",");o.organization.defaultExtentBBox=[[c[0],c[1]],[c[2],c[3]]]}let s={},i,m,a=e.item.thumbnail;return re(r,o).then(c=>(m=c,Rr(e,o,s,m))).then(c=>{let d=c,p={assets:d.assets||[]};return Or(d,p,m)}).then(c=>(i=c,co(c,o.folderId,r))).then(()=>{let c={item:{id:i.item.id},params:{thumbnail:a},authentication:r};return X(c)}).then(()=>{if(o[e.itemId]={itemId:i.item.id},t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor||2,i.item.id)){let d={item:{...e,...ee(i)},id:i.item.id,type:e.type,postProcess:!0};return d.item.itemId=i.item.id,d}else return L(vr,{success:!0})(i,m).then(()=>Promise.resolve(g(e.type)))}).catch(c=>{throw t(e.itemId,u.Failed,0),c})}function Ti(e,o,r,t,n,s,i){let m;return re(i).then(a=>(m=a,we(e,{authentication:i}))).then(a=>Wn(a,r,s,m))}function vi(e){let o=!1;return(e==="Hub Page"||e==="Site Page")&&(o=!0),o}var _e={};W(_e,{convertItemToTemplate:()=>Fi,createItemFromTemplate:()=>Oi,isASite:()=>Ri,postProcess:()=>_i});function Nn(e,o,r){let t=o.filter(n=>n.type.indexOf("Page")>-1).map(n=>n.id);return Promise.all(t.map(n=>we(n,r))).then(n=>Lr(e,n,r))}function Ln(e,o,r,t){let n=o.filter(a=>a.id!==e.item.id),s=n.map(a=>({item:{id:a.id,type:a.type}})),i=[];i=i.concat(Nr(e,s,t)),i=i.concat(Nn(e,n,t));let m=n.map(a=>a.id);return e.item.properties.children=m,e=Mr(e,r,{}),i.push(kr(e,{...t,allowList:void 0})),Promise.all(i).then(()=>!0)}function Fi(e,o,r=null){let t=0,n=0,s,i,m;return re(o).then(a=>(m=a,wo(e.id,m))).then(a=>(t=a.item.created,n=a.item.modified,s=a.item.title,i=a.data.values.title,Wr(a,m))).then(a=>(a.item.created=t,a.item.modified=n,a.item.title=s,a.item.typeKeywords=We(a.item.typeKeywords,"doNotDelete"),a.data.values.title=i,a.groups=[],a.estimatedDeploymentCostFactor=2,a.resources=[],f(a,"properties")||(a.properties={}),a.dependencies=de(a.dependencies),a=ao(a),a))}function Oi(e,o,r,t){if(!t(e.itemId,u.Started,0))return Promise.resolve(g(e.type));e.assets&&e.resources&&delete e.assets,o.solution||(o.solution={}),o.solution.title=o.title;let s={},i,m,a=e.item.thumbnail;return re(r,o).then(c=>(m=c,Ur(e,o,s,m))).then(c=>{let d={assets:c.assets||[]};return Cr(c,d,m)}).then(c=>(i=c,co(c,o.folderId,r))).then(()=>{let c={item:{id:i.item.id},params:{thumbnail:a},authentication:r};return X(c)}).then(()=>{if(o[e.itemId]={itemId:i.item.id},t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor||2,i.item.id)){let d={item:{...e,...ee(i)},id:i.item.id,type:e.type,postProcess:!0};return d.item.itemId=i.item.id,d}else return L(Ar,{success:!0})(i,m).then(()=>Promise.resolve(g(e.type)))}).catch(c=>{throw t(e.itemId,u.Failed,0),c})}function _i(e,o,r,t,n,s,i){let m;return re(i,s).then(a=>(m=a,wo(e,m))).then(a=>Ln(a,r,s,m)).then(()=>Promise.resolve(!0))}function Ri(e){let o=!1;return(e==="Hub Site Application"||e==="Site Application")&&(o=!0),o}var fo={};W(fo,{convertItemToTemplate:()=>Ci,createItemFromTemplate:()=>Mi,isAStoryMap:()=>Ui});function $n(e={}){let o=0;return Object.keys(e).reduce((r,t)=>(V(e,`${t}.type`)==="webmap"&&t!==`webmap${o}`&&(r.push({original:t,updated:`webmap${o}`}),o++),r),[])}function Vn(e){let o=V(e,"data.resources")||{};return Object.keys(o).reduce((r,t)=>(V(o,`${t}.type`)==="webmap"&&r.push(V(o,`${t}.data.itemId`)),r),[])}function zn(e){let o=qe(e.item.id,e.item.type);o.key=`${$e(e.item.title)}_${Ne("i")}`;let r=K(e);o.data=r.data;let t=r.item.created,n=r.item.modified;return o.item=Be(r.item),o.item.created=t,o.item.modified=n,o.item.url="{{storyMapTemplateUrl}}",$n(o.data.resources).forEach(m=>{o.data.resources[m.updated]=K(o.data.resources[m.original]),delete o.data.resources[m.original],o.data.nodes=me(o.data.nodes,m.original,m.updated)}),o.item.typeKeywords.indexOf(Bn)!==-1&&(o.item.typeKeywords=[ki].concat(o.item.typeKeywords.filter(m=>m!==Bn))),o.properties={},o.properties.draftFileName="draft_{{timestamp}}.json",Object.assign(o.properties,Ai),o.dependencies=Vn(e),Promise.resolve(o)}var Bn="smstatusunpublishedchanges",ki="smstatuspublished",Ai={oembed:{version:"1.0",type:"rich",title:"Example StoryMap",url:"{{storyMapTemplateUrl}}",provider_name:"ArcGIS StoryMaps",provider_url:"{{storyMapBaseUrl}}",width:800,height:600,thumbnail_url:"{{storyMapThumbnailUrl}}",thumbnail_height:"100.5",thumbnail_width:"400",html:'<iframe src="{{storyMapTemplateUrl}}" width="800" height="600" scrolling="yes" frameborder="0" allowfullscreen></iframe>',cache_age:86400},oembedXML:`<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
|
5
|
+
<oembed>
|
|
6
|
+
<version>1.0</version>
|
|
7
|
+
<type>rich</type>
|
|
8
|
+
<title>Example StoryMap</title>
|
|
9
|
+
<url>{{storyMapTemplateUrl}}</url>
|
|
10
|
+
<author_name>undefined</author_name>
|
|
11
|
+
<provider_name>ArcGIS StoryMaps</provider_name>
|
|
12
|
+
<provider_url>{{storyMapBaseUrl}}</provider_url>
|
|
13
|
+
<width>800</width>
|
|
14
|
+
<height>600</height>
|
|
15
|
+
<thumbnail_url>{{storyMapThumbnailUrl}}</thumbnail_url>
|
|
16
|
+
<thumbnail_height>100.5</thumbnail_height>
|
|
17
|
+
<thumbnail_width>400</thumbnail_width>
|
|
18
|
+
<html><iframe src="{{storyMapTemplateUrl}}" width="800" height="600" scrolling="yes" frameborder="0" allowfullscreen="true"></iframe></html>
|
|
19
|
+
<cache_age>86400</cache_age>
|
|
20
|
+
</oembed>`};function Gn(e){let o=e.portal||"https://www.arcgis.com/sharing/rest",r="portal";return o.match(/(qaext|\.mapsqa)\.arcgis.com/)?r="qaext":o.match(/(devext|\.mapsdevext)\.arcgis.com/)?r="devext":o.match(/(www|\.maps)\.arcgis.com/)&&(r="www"),r}function po(e){let o=e.portal||"https://www.arcgis.com/sharing/rest",r;return o.match(/(qaext|\.mapsqa)\.arcgis.com/)?r="storymapsqa":o.match(/(devext|\.mapsdevext)\.arcgis.com/)?r="storymapsdev":o.match(/(www|\.maps)\.arcgis.com/)&&(r="storymaps"),r}function jn(e){let o="",r=po(e);return r?o=`https://${r}.arcgis.com`:o=`${e.portal.replace("/sharing/rest","")}/apps/storymaps`,o}function Kn(e,o,r,t){let n=new Date().getTime();o.agoenv=Gn(t),o.smBase=po(t),o.timestamp=new Date().getTime(),o.storyMapBaseUrl=jn(t),o.storyMapTemplateUrl=`${o.storyMapBaseUrl}/stories/{{appid}}`,o.storyMapThumnailUrl=`${t.portal}/content/items/{{appid}}/info/thumbnail/thumbnail.jpg/?w=400&d=${n}`;let s=ce(e,o,r);return Promise.resolve(s)}function Hn(e,o,r,t){let n=[];e.data=JSON.parse(JSON.stringify(e.data).replace(/portalUrl=https:\/\//g,"portalUrl=https%3A%2F%2F"));let s={item:ae(e),authentication:t};return e.item.thumbnail&&(s.params={thumbnail:e.item.thumbnail},delete s.item.thumbnail),Ae(s).then(i=>{e.item.id=i.id,e=Ve(e);let m=Ie(JSON.stringify(e.data));return n.push({name:e.properties.draftFileName,file:m}),n.push({name:"oembed.json",file:Ie(JSON.stringify(e.properties.oembed))}),n.push({name:"oembed.xml",file:Ie(e.properties.oembedXML)}),n.push({name:"published_data.json",file:m}),delete e.properties,Promise.all([X({item:ae(e),authentication:t}),t.getUsername()])}).then(i=>{let m=i[1],a=L(Ue,{success:!0}),c=n.map(d=>a({id:e.item.id,owner:m,resource:d.file,name:d.name,authentication:t}));return Promise.all(c)}).then(()=>j({itemId:e.item.id,folderId:o,authentication:t})).then(()=>e)}function Ci(e,o,r){let t={item:e,data:{}};return Ce(e.id,{authentication:r}).then(n=>(t.data=n,zn(t))).then(n=>n)}function Mi(e,o,r,t){if(!t(e.itemId,u.Started,0))return Promise.resolve(g(e.type));o.solution||(o.solution={}),o.solution.title=o.title;let s={},i;return Kn(e,o,s,r).then(m=>{let a={assets:m.assets||[]};return Hn(m,o.folderId,a,r)}).then(m=>{if(i=m,o[e.itemId]={itemId:i.item.id},t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor||2,i.item.id)){let c={item:{...e,...ee(i)},id:i.item.id,type:e.type,postProcess:!1};return c.item.itemId=i.item.id,c}else return L(Me,{success:!0})({id:i.item.id,authentication:r}).then(()=>Promise.resolve(g(e.type)))}).catch(m=>{throw t(e.itemId,u.Failed,0),m})}function Ui(e){let o=!1;return e==="StoryMap"&&(o=!0),o}var he={};W(he,{convertItemToTemplate:()=>Yi,createItemFromTemplate:()=>Xi,postProcess:()=>em});function qn(e){Yo(e,"data.sources",Li),Yo(e,"data.feeds",Ni),Yo(e,"data.feed",Jn)}function Yo(e,o,r){let t=f(e,o);t&&E(e,o,r(t))}function Ni(e){return e.map(o=>(o.label=o.label&&o.id?`{{${o.id}.label}}`:o.label,o.id=o.id?`{{${o.id}.itemId}}`:o.id,o))}function Jn(e){let o=f(e,"properties.feature-layer.portalItemId");if(e.properties&&(e.properties["feature-layer.portalItemId"]&&(o=e.properties["feature-layer.portalItemId"],e.properties["feature-layer.portalItemId"]=`{{${o}.itemId}}`),o&&e.properties.hasOwnProperty("feature-layer.layerId"))){let r=e.properties["feature-layer.layerId"];e.properties["feature-layer.layerId"]=`{{${o}.layer${r}.layerId}}`}return e}function Li(e){return e.map(o=>Jn(o))}function Dn(e,o){let r=[];return[f(e,"data.feeds")?e.data.feeds:[],f(e,"data.feed")?[e.data.feed]:[]].forEach(t=>Vi(t,r)),[f(e,"data.sources")?e.data.sources:[],f(e,"data.source")?[e.data.source]:[],f(e,"data.outputs")?e.data.outputs:[],f(e,"data.output")?[e.data.output]:[]].forEach(t=>Zn(t,r)),$i(r,o)}function $i(e,o){let r=e.map(t=>A(t,o));return Promise.all(r).then(t=>Promise.resolve(t.reduce((n,s)=>(s.typeKeywords.indexOf("IoTFeatureLayer")<0&&n.push(s.id),n),[])))}function Vi(e,o){e.reduce((r,t)=>{let n=t.id||void 0;return n&&r.indexOf(n)<0&&r.push(n),r},o),Zn(e,o)}function Zn(e,o){e.reduce((r,t)=>((f(t,"name")?[t.name]:oo).forEach(s=>{to.forEach(i=>{if(i.indexOf("mapServicePortalItemID")<0&&i.indexOf("streamServicePortalItemID")<0){let m=t.properties?t.properties[s+i]:void 0;m&&r.indexOf(m)<0&&r.push(m)}})}),r),o)}function Re(e,o,r,t="",n=!1,s="",i=""){return qr(e,o).then(m=>{if(m){let a=r==="Real Time Analytic"?"analytics/realtime":r==="Big Data Analytic"?"analytics/bigdata":r.toLowerCase(),c=i?`/${i}`:"",d=s?`/${s}`:"";return Promise.resolve(n?`${m}/iot/${a}${d}${c}`:t?`${m}/iot/${a}${d}/${t}${c}/?f=json&token=${e.token}`:`${m}/iot/${a}${d}${c}/?f=json&token=${e.token}`)}else return Promise.resolve(m)})}function Qn(e,o,r,t,n=!1){return Re(e,t,o.type,void 0,!0).then(s=>s?Bi(e,r.label,s).then(i=>{let m=i.titles;r.label=i.label,r.id="";let a=w(r,t),c=(r.outputs?r.outputs:r.output?[r.output]:[]).map(p=>({id:p.id,name:p.properties[`${p.name}.name`]})),d=(a.feeds?a.feeds:a.feed?[a.feed]:[]).map(p=>({id:p.id?p.id:p.properties[`${p.name}.portalItemId`]||"",name:p.label?p.label:r.label}));return Yn(e,t,o.type,a,m,c,d).then(p=>uo(e,s,"POST",p).then(I=>{o.item.url=`${s}/${I.id}`,o.item.title=r.label,t[o.itemId].url=o.item.url,t[o.itemId].label=r.label,t[o.itemId].itemId=I.id;let h={item:w(o.item,t),id:I.id,type:o.type,postProcess:!1};return n?Ki(e,t,o,I.id).then(()=>Promise.resolve(h)):Promise.resolve(h)}))}):Promise.reject(x("Velocity NOT Supported by Organization")))}function Bi(e,o,r){return uo(e,`${r}StatusList?view=admin`,"GET").then(t=>{let n=t&&Array.isArray(t)?t.map(s=>({title:s.label})):[];return Promise.resolve({label:es(o,{titles:n},"titles"),titles:n.map(s=>s.title)})})}function Yn(e,o,r,t,n,s=[],i=[]){return s.length>0||i.length>0?os(e,o,r,"",t).then(m=>{let a=zi(m);return a.length>0?(s.length>0&&ji(s,t,a),i.length>0&&Gi(i,t,a.concat(n)),Yn(e,o,r,t,n,s,i)):Promise.resolve(t)}):Promise.resolve(t)}function zi(e){let o=f(e,"validation.messages"),r=f(e,"nodes");r&&Array.isArray(r)&&r.forEach(n=>{o=o.concat(f(n,"validation.messages")||[])});let t=[];return o&&Array.isArray(o)&&o.forEach(n=>{["VALIDATION_ANALYTICS__MULTIPLE_CREATE_FEATURE_LAYER_OUTPUTS_REFERENCE_SAME_LAYER_NAME","VALIDATION_ANALYTICS__MULTIPLE_CREATE_STREAM_LAYER_OUTPUTS_REFERENCE_SAME_LAYER_NAME","ITEM_MANAGER__CREATE_ANALYTIC_FAILED_DUPLICATE_OUTPUT_NAMES_IN_ORGANIZATION_NOT_ALLOWED","ITEM_MANAGER__CREATE_BIG_DATA_ANALYTIC_FAILED_DUPLICATE_NAMES_NOT_ALLOWED","ITEM_MANAGER__CREATE_REAL_TIME_ANALYTIC_FAILED_DUPLICATE_NAMES_NOT_ALLOWED","ITEM_MANAGER__CREATE_FEED_FAILED_DUPLICATE_NAME"].indexOf(n.key)>-1&&(t=t.concat(n.args))}),t}function Gi(e,o,r){e.forEach(t=>{let n=Xn(r,t);n&&(o.label=n.label,t.name=n.label)})}function ji(e,o,r){e.forEach(t=>{let n=Xn(r,t);if(n){let s=(o.outputs?o.outputs:o.output?[o.output]:[]).map(i=>{if(i.id===n.id&&i.properties){let m=`${i.name}.name`;Object.keys(i.properties).indexOf(m)>-1&&(i.properties[m]=n.label)}return i});o.outputs&&(o.outputs=s),o.output&&(o.output=s[0])}})}function Xn(e,o){let r=e.map(n=>({title:n})),t=es(o.name,{titles:r},"titles");return t!==o.name?{label:t,id:o.id}:void 0}function es(e,o,r){e=e?e.trim():"_";let n=(f(o,r)||[]).map(m=>m.title),s=e,i=0;for(;n.indexOf(s)>-1||n.indexOf(s.replace(/ /g,"_"))>-1;)i++,s=e+" "+i;return s}function Ki(e,o,r,t){return os(e,o,r.type,t).then(n=>n.executable?Hi(e,o,r.type,t):Promise.resolve(n))}function os(e,o,r,t,n){return Re(e,o,r,t,!1,"validate","").then(s=>uo(e,s,"POST",n).then(i=>Promise.resolve(i)))}function Hi(e,o,r,t){return Re(e,o,r,t,!1,"","start").then(n=>uo(e,n,"GET").then(s=>Promise.resolve(s)))}function qi(e,o){return{headers:{Accept:"application/json","Content-Type":"application/json",Authorization:"token="+e.token},method:o}}function uo(e,o,r,t){let n=qi(e,r);return t&&(n.body=JSON.stringify(t)),fetch(o,n).then(s=>Promise.resolve(s.json()))}function ts(e,o){let r=e.dependencies;[f(e,"data.sources")?e.data.sources:[],f(e,"data.source")?[e.data.source]:[],f(e,"data.feeds")?e.data.feeds:[],f(e,"data.feed")?[e.data.feed]:[]].forEach(t=>Ji(t,r,o)),[f(e,"data.outputs")?e.data.outputs:[],f(e,"data.output")?[e.data.output]:[]].forEach(t=>Di(t,r))}function Ji(e,o,r){e.forEach(t=>{let n="feature-layer.portalItemId",s="feature-layer.layerId";if(t.properties){if(t.properties[n]){let a=t.properties[n];a&&o.indexOf(a)<0&&(delete t.properties[n],delete t.properties[s])}let i="simulator.url",m=t.properties[i];m&&m.indexOf(r)>-1&&delete t.properties[i]}})}function Di(e,o){e.forEach(r=>{r.properties&&((f(r,"name")?[r.name]:oo).forEach(n=>{to.forEach(s=>Zi(r.properties,n+s,o))}),Qi(r.properties))})}function Zi(e,o,r){let t=e[o];t&&r.indexOf(t)<0&&delete e[o]}function Qi(e){["feat-lyr-new.name","stream-lyr-new.name","feat-lyr-existing.name"].forEach(o=>{let r=e[o];r&&r.indexOf("{{solutionItemId}}")<0&&(e[o]=`${r}_{{solutionItemId}}`)})}function Yi(e,o,r,t){let n=G(e);return Re(r,t,e.type,e.id).then(s=>s?fetch(s).then(i=>i.json()).then(i=>(n.item.title=i.label,n.data=i,Dn(n,r).then(m=>(n.dependencies=m,ts(n,t.velocityUrl),qn(n),n.item=ro(n.item,n.type,t),Promise.resolve(n))))):Promise.reject("Velocity NOT Supported by Organization"),s=>Promise.reject(x(s)))}function Xi(e,o,r,t){if(!t(e.itemId,u.Started,0))return Promise.resolve(g(e.type));let s=e.itemId;return Qn(r,e,e.data,o).then(i=>{if(t(s,u.Finished,e.estimatedDeploymentCostFactor||2,i.id)){let a={item:{...e,...i},id:i.item.id,type:e.type,postProcess:!0};return a.item.itemId=i.item.id,a}else return _(i.id,r).then(()=>Promise.resolve(g(e.type)),()=>Promise.resolve(g(e.type)))})}function em(e,o,r,t,n,s,i){let a=r.filter(c=>c.id===e)[0].item.item;return delete a.url,delete a.origUrl,z(a,i).then(()=>j({owner:i.username,itemId:e,folderId:s.folderId,authentication:i}))}var lo={};W(lo,{convertItemToTemplate:()=>tm,createItemFromTemplate:()=>rm,postProcess:()=>nm});function rs(e){let o=e.portal||"https://www.arcgis.com/sharing/rest",r;return o.match(/(qaext|\.mapsqa)\.arcgis.com/)?r="experienceqa":o.match(/(devext|\.mapsdevext)\.arcgis.com/)?r="experiencedev":o.match(/(www|\.maps)\.arcgis.com/)&&(r="experience"),r}function ns(e){let o="",r=rs(e);return r?o=`https://${r}.arcgis.com/experience/{{appid}}`:o=`${e.portal.replace("/sharing/rest","")}/apps/experiencebuilder/?id={{appid}}`,o}function ss(e,o,r,t){o.experienceUrlTemplate=ns(t);let n=ce(e,o,r);return n.item.url=o.experienceUrlTemplate,e.item.thumbnail&&(n.item.thumbnail=e.item.thumbnail),Promise.resolve(n)}function is(e,o,r,t){let n=[],s={item:ae(e),authentication:t};return e.item.thumbnail&&(s.params={thumbnail:e.item.thumbnail},delete s.item.thumbnail),Ae(s).then(i=>{e.item.id=i.id;let m=e.item.thumbnail;e=Ve(e),e.item.thumbnail=m;let a=K(e.data);n.push({name:"config.json",prefix:"config",file:Dr(a)});let c=K(e.properties.imageResourcesList);c&&n.push({name:"image-resources-list.json",prefix:"images",file:Ie(JSON.stringify(c))}),delete e.properties;let d={item:ae(e),authentication:t};return e.item.thumbnail&&(d.params={thumbnail:e.item.thumbnail},delete d.item.thumbnail),Promise.all([X(d),t.getUsername()])}).then(i=>{let m=i[1],a=L(Ue,{success:!0}),c=n.map(d=>a({id:e.item.id,owner:m,resource:d.file,name:d.name,prefix:d.prefix,authentication:t}));return Promise.all(c)}).then(()=>j({itemId:e.item.id,folderId:o,authentication:t})).then(()=>e)}function ms(e){let o=V(e,"data.dataSources")||{};return Object.keys(o).reduce((r,t)=>Le(V(o,`${t}.itemId`),r),[])}function cs(e){let o=qe(e.item.id,e.item.type);o.key=`${$e(e.item.title)}_${Ne("i")}`;let r=K(e);o.data=r.data;let t=r.item.created,n=r.item.modified;return o.item=Be(r.item),o.item.created=t,o.item.modified=n,o.item.url="{{experienceUrlTemplate}}",o.item.typeKeywords.indexOf(as)!==-1&&(o.item.typeKeywords=[om].concat(o.item.typeKeywords.filter(i=>i!==as))),o.dependencies=ms(e),Promise.resolve(o)}var om="status: Published",as="status: Changed";function tm(e,o,r){let t={item:e,data:{}};return Ce(e.id,{authentication:r}).then(n=>(t.data=n,cs(t)))}function rm(e,o,r,t){if(!t(e.itemId,u.Started,0))return Promise.resolve(g(e.type));let s;return ss(e,o,{},r).then(i=>(s=i,is(i,o.folderId,{},r))).then(i=>{if(s.item.id=i.item.id,s.item.url=i.item.url,o[e.itemId]={itemId:i.item.id},t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor||2,i.item.id)){let a={item:{...e,...ee(s)},id:s.item.id,type:e.type,postProcess:!1};return a.item.itemId=s.item.id,a}else return L(Me,{success:!0})({id:s.item.id,authentication:r}).then(()=>Promise.resolve(g(e.type)))})}function nm(e,o,r,t,n,s,i){return J(e,s,i)}var Io={};W(Io,{convertItemToTemplate:()=>sm,createItemFromTemplate:()=>im,createWebTool:()=>ds,getNotebookEnterpriseServerRootURL:()=>fs,getNotebookServerCreateServiceURL:()=>ps,moveToFolder:()=>us});function sm(e,o,r,t){return R.convertItemToTemplate(e,o,r,t)}function im(e,o,r,t){return new Promise(n=>{if(!t(e.itemId,u.Started,0))t(e.itemId,u.Ignored,0),n(g(e.type));else{let s=C(e);s=w(s,o),e.item.thumbnail&&(s.item.thumbnail=e.item.thumbnail),ds(s,o,r).then(i=>{t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,i.itemId)?(o[e.itemId]={itemId:i.itemId,itemUrl:o.portalBaseUrl+"/sharing/rest/content/items/"+i.itemId},s.itemId=i.itemId,s.item.id=i.itemId,s.data={},delete s.item.thumbnail,us(s.itemId,o,r).then(()=>{Ze(i.itemId,r).then(m=>{let a=Promise.resolve();m.some(c=>{if(c.name==="webtoolService.json")return a=Ge(c),!0}),a.then(c=>{o[e.itemId].url=c?.serviceUrl,s=w(s,o),le({...s.item},s.data,r,e.item.thumbnail,void 0,o).then(()=>{t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,i.itemId)?A(s.itemId,r).then(d=>{s.item=d,n({item:s,id:i.itemId,type:s.type,postProcess:!1})},()=>{t(e.itemId,u.Failed,0),_(i.itemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))}):(t(e.itemId,u.Cancelled,0),_(i.itemId,r).then(()=>n(g(e.type)),()=>n(g(e.type))))},()=>{t(e.itemId,u.Failed,0),_(i.itemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))})})})},()=>{t(e.itemId,u.Failed,0),_(i.itemId,r).then(()=>n(g(e.type)),()=>n(g(e.type)))})):(t(e.itemId,u.Cancelled,0),_(i.itemId,r).then(()=>n(g(e.type)),()=>n(g(e.type))))},()=>{t(e.itemId,u.Failed,0),n(g(e.type))})}})}function ds(e,o,r){return new Promise((t,n)=>{ps(o.portalBaseUrl,r,o).then(s=>{if(s){let i={serviceProperties:{description:e.item.description,provider:"notebooks",type:"GPServer",jsonProperties:{timeoutInMinutes:e.data.timeoutInMinutes,title:e.item.title,notebookId:e.data.notebookId,tasks:[{type:"notebook",name:e.data.name}]}}},m={httpMethod:"POST",authentication:r,params:i,headers:{Accept:"application/json",Authorization:`Bearer ${r.token}`,"Content-Type":"application/json","X-Esri-Authorization":`Bearer ${r.token}`}};N(s,m).then(a=>{t(a)},a=>{n(a)})}else n()},s=>{n(s)})})}async function ps(e,o,r){let t=r.isPortal?await fs(e,o):r.portalUrls?.notebooks.https.length>0?r.portalUrls.notebooks.https[0]:"";return t&&r.isPortal?`${t}/admin/services/createService?f=json&request.preventCache=${Date.now()}`:t?`https://${t}/admin/services/createService?f=json&request.preventCache=${Date.now()}`:""}async function fs(e,o){let t=(await _t(`${e}/sharing/rest`,o)).find(n=>n.serverFunction.indexOf("NotebookServer")>-1);return t?t.url:""}async function us(e,o,r){return o.isPortal&&!(await sr(e,o.folderId,r)).success?Promise.reject("Failed to move webTool item"):Promise.resolve()}var rt={};W(rt,{_cacheLayerDetails:()=>Xo,addWorkflowItem:()=>et,convertItemToTemplate:()=>cm,createItemFromTemplate:()=>dm,fetchAuxiliaryItems:()=>ot,postProcessFormItems:()=>mm,updateTempDictWorkflowId:()=>go,updateTemplateDictionaryForWorkflow:()=>tt});async function et(e,o,r){let t=`${o}/admin/createWorkflowItem?name=${e.item.title}`,n={authentication:r,headers:{Accept:"application/json",Authorization:`Bearer ${r.token}`,"Content-Type":"application/json","X-Esri-Authorization":`Bearer ${r.token}`},params:{name:`${e.item.title}`}},s=await N(t,n);return Promise.resolve(s.itemId)}async function ot(e,o){let r=`workflow_${e}`,t=`WorkflowLocations_${e}`,n=`workflow_views_${e}`,s=await Ye({q:`title:${r} OR title:${t} OR title:${n}`,authentication:o});return Promise.resolve(s.results.map(i=>i.id))}function mm(e){for(let o of e)if(o.type==="Workflow"){let r=It(JSON.stringify(o.properties.configuration));o.dependencies=de([...o.dependencies,...r])}return e}async function tt(e,o,r,t){let n=await q(o,t),s=f(r,`workflows.${e}`);s&&(await go(r,"viewSchema",s,n,t),await go(r,"workflowLocations",s,n,t),await go(r,"workflowSchema",s,n,t))}async function go(e,o,r,t,n){let s=r[o],i=f(t,`${o}.itemId`);e[s].itemId=i;let m=await br(i,n),a=f(m,"base.url");e[s].url=a,e[s].name=f(m,"base.name");let c=f(m,"featureServiceProperties.layers");Xo(c,e,a,s,i);let d=f(m,"featureServiceProperties.tables");Xo(d,e,a,s,i)}function Xo(e,o,r,t,n){e&&t!=="__proto__"&&t!=="constructor"&&t!=="prototype"&&e.forEach(s=>{let i=s.fields.reduce((c,d)=>(c[d.name.toLowerCase()]={alias:d.alias,name:d.name,type:d.type},c),{}),m=s.id,a=`${r}/${m}`;o[t][`layer${m}`]={fields:i,itemId:n,layerId:m,url:a}})}async function cm(e,o,r,t){let n=G(e);n.estimatedDeploymentCostFactor=20,n.item.id=T(n.item.id,n.item.id,".itemId");let s=De(n.itemId,"forward",r),i=ar(e.id,t.workflowBaseUrl,r),m=q(e.id,r),[a,c,d]=await Promise.all([s,i,m]);return n.data=d,n.dependencies=[],n.relatedItems=[],Er(n),a.forEach(p=>{p.relationshipType!=="WMA2Code"&&(n.relatedItems.push(p),p.relatedItemIds.forEach(I=>{n.dependencies.indexOf(I)<0&&n.dependencies.push(I)}))}),n.properties.configuration=await Pr(c),Promise.resolve(n)}async function dm(e,o,r,t){if(!t(e.itemId,u.Started,0))return t(e.itemId,u.Ignored,0),Promise.resolve(g(e.type));e.data={};let n=C(e);n=w(n,o),e.item.thumbnail&&(n.item.thumbnail=e.item.thumbnail);try{let s=await et(n,o.workflowBaseUrl,r);if(!s)throw new Error("Failed to create workflow item");if(!t(e.itemId,u.Created,e.estimatedDeploymentCostFactor/2,s))return t(e.itemId,u.Cancelled,0),_(s,r),Promise.resolve(g(e.type));n.itemId=n.item.id=s,o[e.itemId]={itemId:s},await tt(e.itemId,s,o,r),n.properties.configuration=w(n.properties.configuration,o);let i=await yr(n.properties.configuration);await cr(s,i,o.workflowBaseUrl,r);let m=await ot(s,r);if(m.push(s),(await ir(m,o.folderId,r)).some(d=>!d.success))throw new Error("Failed to move all workflow items");return t(e.itemId,u.Finished,e.estimatedDeploymentCostFactor/2,s),Promise.resolve({item:n,id:s,type:n.type,postProcess:!1})}catch{return t(e.itemId,u.Failed,0),Promise.resolve(g(e.type))}}var ho=null,yo={Group:Qo,"Big Data Analytic":he,"Feature Collection":R,"Feature Service":no,Feed:he,"Geocoding Service":void 0,"Geodata Service":void 0,"Geometry Service":void 0,"Geoprocessing Service":Io,"Globe Service":void 0,"Image Service":void 0,KML:void 0,"Map Service":no,"Network Analysis Service":void 0,"Real Time Analytic":he,"Relational Database Connection":void 0,"Scene Service":void 0,"Stream Service":void 0,Tool:void 0,"Vector Tile Service":R,WFS:void 0,WMS:void 0,WMTS:void 0,"Workflow Manager Service":void 0,"3D Web Scene":void 0,"Web Map":R,"Web Scene":R,Application:void 0,Dashboard:R,"Data Pipeline":R,"Data Store":void 0,"Desktop Application":void 0,"Excalibur Imagery Project":void 0,Form:Zo,"Hub Initiative":ho,"Hub Page":Oe,"Hub Site Application":_e,"Insights Model":R,"Insights Page":void 0,"Insights Theme":void 0,"Insights Workbook":void 0,Mission:void 0,"Mobile Application":void 0,Notebook:ge,"Oriented Imagery Catalog":R,"Ortho Mapping Project":void 0,"QuickCapture Project":Fe,"Site Application":_e,"Site Page":Oe,Solution:ho,StoryMap:fo,"Urban Model":void 0,"Web Experience Template":void 0,"Web Experience":lo,"Web Mapping Application":R,"Workforce Project":R,"360 VR Experience":l,"AppBuilder Extension":l,"AppBuilder Widget Package":l,"Application Configuration":l,"ArcGIS Pro Add In":l,"ArcGIS Pro Configuration":l,"ArcPad Package":l,"Basemap Package":l,"CAD Drawing":l,"CityEngine Web Scene":l,"Code Attachment":ho,"Code Sample":l,"Color Set":l,"Compact Tile Package":l,"CSV Collection":l,CSV:l,"Deep Learning Package":l,"Desktop Add In":l,"Desktop Application Template":l,"Desktop Style":l,"Document Link":l,"Explorer Add In":l,"Explorer Layer":l,"Explorer Map":l,"Feature Collection Template":l,"File Geodatabase":l,GeoJson:l,GeoPackage:l,"Geoprocessing Package":l,"Geoprocessing Sample":l,"Globe Document":l,"Image Collection":l,Image:l,"iWork Keynote":l,"iWork Numbers":l,"iWork Pages":l,"KML Collection":l,"Layer Package":l,"Layer Template":l,Layer:l,Layout:l,"Locator Package":l,"Map Document":l,"Map Package":l,"Map Template":l,"Microsoft Excel":l,"Microsoft Powerpoint":l,"Microsoft Word":l,"Mobile Basemap Package":l,"Mobile Map Package":l,"Mobile Scene Package":l,"Native Application":l,"Native Application Installer":l,"Native Application Template":l,netCDF:l,"Operation View":l,"Operations Dashboard Add In":l,"Operations Dashboard Extension":l,PDF:l,"Pro Layer Package":l,"Pro Layer":l,"Pro Map Package":l,"Pro Map":l,"Pro Report":l,"Project Package":l,"Project Template":l,"Published Map":l,"Raster function template":l,"Report Template":l,"Rule Package":l,"Scene Document":l,"Scene Package":l,"Service Definition":l,Shapefile:l,"Statistical Data Collection":l,Style:R,"Survey123 Add In":l,"Symbol Set":l,"Task File":l,"Tile Package":l,"Toolbox Package":l,"Vector Tile Package":l,"Viewer Configuration":l,"Visio Document":l,"Window Mobile Package":l,"Windows Mobile Package":l,"Windows Viewer Add In":l,"Windows Viewer Configuration":l,Workflow:rt,"Workflow Manager Package":l,"Administrative Report":void 0,"Apache Parquet":void 0,"API Key":void 0,"datastore catalog service":void 0,"Deep Learning Studio Project":void 0,"Earth Configuration":void 0,"Elevation Layer":void 0,"Esri Classifier Definition":void 0,"Export Package":void 0,"GeoBIM Application":void 0,"GeoBIM Project":void 0,"Geoenrichment Service":void 0,GML:void 0,"Hub Event":void 0,"Hub Initiative Template":void 0,"Hub Project":void 0,"Insights Data Engineering Model":void 0,"Insights Data Engineering Workbook":void 0,"Insights Workbook Package":void 0,"Knowledge Graph":void 0,"Knowledge Studio Project":void 0,"Link Chart":void 0,"Map Image Layer":void 0,Markup:void 0,OGCFeatureServer:void 0,"Pro Project":void 0,"Pro Report Template":void 0,"Route Layer":void 0,"Scene Layer Package":void 0,"Site Initiative":void 0,"StoryMap Theme":void 0,Table:void 0,"Video Service":void 0,Undefined:void 0,Unsupported:ho};var nt=null;function gs(e,o,r,t,n,s,i,m){return new Promise((a,c)=>{function d(){m&&m.abortController&&m.abortController.signal.aborted&&Ao(s,S,r,n,i,{consoleProgress:!0}).then(()=>c(xo(P)))}let p=Em(r)+1,I=10,h=(99-I)/p,P=[],S=[],y=!0;d();let v=(U,$,O,se)=>{if(I+=h*O,m.progressCallback)if($===u.Finished){let ye={event:Po[$],data:U};m.progressCallback(Math.round(I),m.jobId,ye)}else m.progressCallback(Math.round(I),m.jobId);return m.consoleProgress&&console.log(Date.now(),U,m.jobId??"",Po[$],I.toFixed(0)+"%",O,se?"==> "+se:""),$===u.Created?S.push(se):$===u.Failed&&(P.push(U),console.error("Item "+U+" has failed"),y=!1),y};f(n,"organization.isPortal")&&(r=um(r));let{buildOrder:b,itemsToBePatched:M}=Tr(r),ne=[];d(),hm(r,m.enableItemReuse??!1,n,i).then(()=>{d(),ym(r,f(n,"params.useExisting"),n,i).then(()=>{d(),r=Vt(r),b.forEach($=>{let O=bo(r,$);O.type==="Form"?M[$]=[]:O.type==="QuickCapture Project"?O.resources=O.resources.filter(se=>!se.endsWith("qc.project.json")):O.type==="Web Map"&&pm(M,O),ne.push(Sm(O,jr(e,o,O.resources,m.storageVersion),t,n,i,v,m.abortController))}),Promise.all(ne).then($=>{d(),P.length===0?(fm(M,n,$),a($)):Ao(s,S,r,n,i,{consoleProgress:!0}).then(()=>c(xo(P)))})})},U=>{console.error(U),c(x(U))})})}function pm(e,o){o.resources.some(r=>r.indexOf(ie)>-1)&&(e[o.itemId]=[])}function fm(e,o,r){let t=Object.keys(e);t.length>0&&(t=t.map(n=>o[n].itemId),r.forEach(n=>{t.includes(n.id)&&(n.postProcess=!0)}))}function um(e){let o=gm(e);lm(e,o);let r=Im(o),t=[],n=[];return Object.keys(r).forEach(s=>{r[s].forEach(m=>{let a=bo(e,m),c=f(a,"properties.syncViews");n.indexOf(a.itemId)>-1&&(t=t.concat(c)),c&&c.length>0&&E(a,"properties.syncViews",C(t)),t.indexOf(m)<0&&t.push(m),n.indexOf(a.itemId)<0&&n.push(a.itemId)}),t=[]}),e}function lm(e,o){return o.forEach(r=>{r.dependencies.forEach(t=>{e=e.map(n=>(f(n,"properties.service.isView")&&n.dependencies.indexOf(t)>-1&&n.itemId!==r.id&&(Array.isArray(n.properties.syncViews)||(n.properties.syncViews=[]),n.properties.syncViews.indexOf(r.id)<0&&n.properties.syncViews.push(r.id)),n))})}),e}function Im(e){let o={};return e.forEach(r=>{r.dependencies.forEach(t=>{Object.keys(o).indexOf(t)<0?o[t]=[r.id]:o[t].indexOf(r.id)<0&&o[t].push(r.id)})}),o}function gm(e){return e.reduce((o,r)=>(f(r,"properties.service.isView")&&o.push({id:r.itemId,dependencies:r.dependencies}),o),[])}function hm(e,o,r,t){return new Promise((n,s)=>{if(o){let i=xm(e,r,t),m=i.existingItemsDefs,a=i.existingItemInfos;Promise.all(m).then(c=>{let d=Is(c,a,r,t,!0),p=d.existingItemsDefs,I=d.existingItemInfos;Promise.all(p).then(h=>{Is(h,I,r,t,!1),hs(e,r,t).then(n)},h=>s(x(h)))},c=>s(x(c)))}else n(null)})}function ym(e,o,r,t){return new Promise(n=>{if(o){let s=[],i={},m=[];Object.keys(r.params).forEach(a=>{let c=r.params[a];c.itemId&&/[0-9A-F]{32}/i.test(a)&&(ys(r,a,c.itemId,c),s.push(A(c.itemId,t)),i[c.itemId]=a,m.indexOf(a)<0&&m.push(a))}),Pm(s,i,t).then(()=>{hs(m.map(a=>He(e,a)),r,t).then(n)})}else n(null)})}function Pm(e,o,r){return new Promise(t=>{e.length>0?Promise.all(e).then(n=>{let s=[];n.forEach(i=>{let m=o[i.id];if(i&&m&&i.typeKeywords){let a=`source-${m}`,c=i.typeKeywords;if(c.indexOf(a)<0){c.push(a);let d={id:i.id,typeKeywords:c};s.push(z(d,r))}}}),s.length>0?Promise.all(s).then(t,()=>t(void 0)):t(void 0)},()=>t(void 0)):t(void 0)})}function hs(e,o,r){return new Promise(t=>{let n=[],s=[],i=[],m=[];e.forEach(a=>{let c=o[a.itemId];if(c&&c.url&&c.itemId){if(a.item.type==="Feature Service"){let d=f(o,`params.${a.itemId}.enterpriseIDMapping`);Object.assign(o[a.itemId],$t(zt(a),c.url,c.itemId,d)),f(a,"properties.service.hasViews")&&Kt(a,o,!1)}s.indexOf(c.url)<0&&(n.push(a.item.type==="Feature Service"?N(c.url,{authentication:r}):A(c.itemId,r)),s.push(c.url),i.push(a.item.type),m.push(c.itemId))}}),n.length>0?Promise.all(n.map(a=>a.catch(c=>c))).then(a=>{if(Array.isArray(a)&&a.length>0){let c=[];a.forEach((d,p)=>{d.serviceItemId&&i[p]==="Feature Service"?Object.keys(o).forEach(I=>{let h=o[I];if(h.itemId&&h.itemId===d.serviceItemId){Ht(o,I,d.spatialReference),Se(o,`${I}.defaultExtent`,d.fullExtent||d.initialExtent);let P=(d.layers||[]).map(y=>y.id),S=(d.tables||[]).map(y=>y.id);c.push(Gt(s[p],P.concat(S),r))}}):(i[p]==="Feature Service"||f(d,"response.error"))&&(o=wm(o,m[p]))}),c.length>0?Promise.all(c).then(d=>{d.forEach(p=>{p.forEach(I=>{Object.keys(o).forEach(h=>{if(o[h].itemId===I.serviceItemId){let P="";Object.keys(o).some(y=>{if(o[y].itemId===I.serviceItemId)return P=y,!0});let S=f(o,`params.${P}.enterpriseIDMapping`);S?Object.keys(S).forEach(y=>{S[y].toString()===I.id.toString()&&ls(o,h,y,I.fields)}):ls(o,h,I.id,I.fields)}})})}),t(null)}):t(null)}else t(null)}):t(null)})}function ls(e,o,r,t){let n=f(e,`${o}.layer${r}`);n&&t&&(n.fields=t)}function wm(e,o){if(o){let r="";Object.keys(e).some(t=>{if(e[t].itemId===o)return r=t,!0}),r!==""&&delete e[r]}return e}function Is(e,o,r,t,n){let s=[Promise.resolve(null)],i=[void 0];return e&&Array.isArray(e)&&e.forEach((m,a)=>{if(Array.isArray(m?.results)){let c,d=m.results;if(d.length===1)c=d[0];else if(d.length>1)c=d.reduce((p,I)=>p.created>I.created?p:I);else if(n&&o[a]){let p=o[a],I=`tags:source-${p.itemId} type:${p.type} owner:${r.user.username}`;s.push(Ps(I,t)),i.push(o[a])}if(c){let p=o[a].itemId;p&&ys(r,p,c.id,c)}}}),{existingItemsDefs:s,existingItemInfos:i}}function ys(e,o,r,t){e[o]=Object.assign(e[o]||{},{def:Promise.resolve(g(t.type,r)),itemId:r,name:t.name,title:t.title,url:t.url,label:t.title})}function xm(e,o,r){let t=[],n=[];return e.forEach(s=>{if(s.item.type==="Group"){let i=o.user?.groups;Array.isArray(i)&&t.push(Promise.resolve({results:i.filter(m=>m.tags.indexOf(`source-${s.itemId}`)>-1||m.typeKeywords.indexOf(`source-${s.itemId}`)>-1).map(m=>(m.type="Group",m)),sourceId:s.itemId}))}else t.push(Ps(`typekeywords:source-${s.itemId} type:${s.item.type} owner:${o.user.username}`,r));n.push({itemId:s.itemId,type:s.item.type})}),{existingItemsDefs:t,existingItemInfos:n}}function Ps(e,o){return Ye({q:e,authentication:o,pagingParam:{start:1,num:100}})}function Sm(e,o,r,t,n,s,i){function m(){if(i&&i.signal.aborted)throw new Error("Operation was cancelled")}let a=e.itemId;if(e.dependencies=e.dependencies||[],!t.hasOwnProperty(e.itemId)||!f(t[e.itemId],"def")){m();let c,d=u.Unknown,p;t[e.itemId]=t[e.itemId]||{},t[e.itemId].def=new Promise(I=>{let h=e.dependencies.reduce((y,v)=>{let b=f(t,`${v}.def`);return b&&y.push(b),y},[]),P=f(e,"properties.syncViews"),S=P&&P.length>0?P.reduce((y,v)=>{let b=f(t,`${v}.def`);return b&&y.push(b),y},h):h;Promise.all(S).then(()=>{m();let y=e.type;if(p=yo[y],e.type==="Geoprocessing Service"&&(p=e.item.typeKeywords.indexOf("Web Tool")>-1?p:nt),!p||p===nt)throw p===nt?(d=u.Ignored,new Error):(d=u.Failed,new Error);return Kr(r,o)}).then(y=>(m(),e.item.thumbnail=y,p.createItemFromTemplate(e,t,n,s))).then(async y=>{if(m(),y.id==="")throw d=u.Failed,new Error("handled");if(c=y,c.item.item.url&&Se(t,a+".url",c.item.item.url),o.length>0){let v=c.id;if(e.type==="Form"){let b;if(o=o.filter(M=>M.filename.endsWith(".zip")?(b=M,!1):!0),b){m();let M=await gr(b.url,r);await Xe(M,v,n)}}return m(),Br(r,o,a,t.folderId,v,n,c.item,t)}else return Promise.resolve(null)}).then(()=>{I(c)}).catch(y=>{(!y||y.message!=="handled")&&s(a,d===u.Unknown?u.Failed:d,0),I(g(e.type))})})}return t[a].def}function Em(e){return e.reduce((o,r)=>o+(r.estimatedDeploymentCostFactor||1),0)}function ws(e,o,r){let t=e.filter(n=>n.groups&&n.groups.length>0);return Promise.all(t.map(n=>{let s=n.groups.reduce((i,m)=>Le(f(o,`${m}.itemId`),i),[]);if(vo(n)&&!f(o,"locationTracking.userIsOwner")){let i=f(n,"item.properties.trackViewGroup"),m=f(o,"locationTracking.owner");if(i&&m){let a=s.filter(c=>c===w(i,o));if(a.length!==s.length){let c=s.filter(d=>d!==i);return Promise.all([ve(a,n.itemId,r,m),ve(c,n.itemId,r)])}else return ve(s,n.itemId,r,m)}}else return ve(s,n.itemId,r)}))}function xs(e,o,r,t,n){let s=[];e&&(s=r.filter(c=>c.type!=="Group").map(c=>mt({originItemId:e,destinationItemId:c.id,relationshipType:"Solution2Item",authentication:t})));let i=ws(o,n,t),a=r.filter(c=>c.postProcess).reduce((c,d)=>{let p=yo[d.type];return p&&p.postProcess&&c.push(p.postProcess(d.id,d.type,r,He(o,d.id),o,n,t)),c},[]);return Promise.all([i].concat(a,s))}function Ss(e,o){e.sort((r,t)=>o.indexOf(r.itemId)-o.indexOf(t.itemId))}async function Ts(e,o,r,t,n){function s(){if(n&&n.abortController&&n.abortController.signal.aborted)throw new Error("Operation was cancelled")}s(),n.storageVersion=bt(r);let i=n.storageAuthentication?n.storageAuthentication:t,m=n.templateDictionary??{},a=xr(r.templates,m);r.templates=a.deployTemplates,Fm(n,o,m,t),n.additionalTypeKeywords&&(o.typeKeywords=[].concat(o.typeKeywords,n.additionalTypeKeywords));let c="thumbnail",d=Promise.resolve(null);if(!n.thumbnail&&n.thumbnailurl){c=Rt(n.thumbnailurl)||c;let k=ft(n.thumbnailurl,"w=400");delete n.thumbnailurl,d=Ot(k,c,i,[400])}Om(r,m);let p=await Promise.all([Tt("",t),vt(t),To(t),Ft(t),d]),[I,h,P,S,y]=p;!n.thumbnail&&y&&(n.thumbnail=y),r.templates=vm(r.templates),m.isPortal=I.isPortal,m.organization=Object.assign(m.organization||{},I),m.portalUrls=h.urls,m.portalBaseUrl=_m(I,t),m.user=P,m.user.folders=S.folders,m.user.groups=S.groups.filter(k=>k.owner===m.user.username),s();let v=await To(t);m.workflowBaseUrl=await wr(t,I,v.orgId),Ut(I,P,m,r.templates);let b=Wt(m,t),M=tr(o.title,m,t),ne=I.defaultExtent,ke=er(ne,void 0,{wkid:4326},I.helperServices.geometry.url,t);s();let U=await Promise.all([M,ke,b]),[$,O,se]=U,ye=$.folder.id;m.folderId=ye,m.solutionItemExtent=O.xmin+","+O.ymin+","+O.xmax+","+O.ymax,m.organization.defaultExtentBBox=[[O.xmin,O.ymin],[O.xmax,O.ymax]],m.locationTrackingEnabled&&Se(m,"locationTracking.userIsOwner",se);let Y;if(!n.dontCreateSolutionItem){o.categories=[];let k={...ze(o),type:"Solution",typeKeywords:["Solution"]};n.additionalTypeKeywords&&(k.typeKeywords=["Solution"].concat(n.additionalTypeKeywords)),s(),k.thumbnail=n.thumbnail,Y=(await te(k,{},t,ye)).id,s(),await at({id:Y,authentication:t}),m.solutionItemId=Y,o.id=Y,o.tryitUrl=bs(o.tryitUrl,e,Y),o.url=bs(o.url,e,Y)}s();let st=await gs(i.portal,e,r.templates,i,m,Y,t,n);if(r.templates=r.templates.map(k=>(s(),k.itemId=f(m,`${k.itemId}.itemId`),k.dependencies=k.dependencies.map(Pe=>dt(m,`${Pe}.itemId`,Pe)),k)),Ss(r.templates,st.map(k=>k.id)),s(),await xs(Y,r.templates,st,t,m),!n.dontCreateSolutionItem){o.typeKeywords=[].concat(o.typeKeywords,["Deployed"]);let k=o.typeKeywords.indexOf("Template");k>=0&&o.typeKeywords.splice(k,1),r.templates=r.templates.map(Pe=>vs(Pe)),Tm(a,r),r.templates=Rm(r.templates,m),r.templates=Sr(r.templates,m),o.data=w(r,m),m.params&&(o.data.params=m.params),s(),await z(o,t,ye)}return o.id}function Tm(e,o){e.workflowManagedTemplates.forEach(r=>{o.templates.push(vs(r))})}function vm(e){return e.map(o=>{if(o.item){let r=o.item.typeKeywords||[];r.push("source-"+o.itemId),o.item.typeKeywords=r}return o})}function Fm(e,o,r,t){return["title","snippet","description","tags"].forEach(n=>{e[n]=e[n]??o[n],e[n]&&(o[n]=e[n],r[n]=e[n])}),!e.thumbnailurl&&o.thumbnail&&(e.thumbnailurl=Gr(t.portal,o.id,o.thumbnail),delete o.thumbnail),e}function Om(e,o){e.templates=e.templates.map(r=>{if(r.type==="Feature Service"){let t="params.";r=Es(r,"item.spatialReference.wkid",t,o),r=Es(r,"properties.service.spatialReference.wkid",t,o)}return r})}function Es(e,o,r,t){let n=f(e,o);return n&&typeof n=="string"&&n.indexOf(r)>-1&&E(e,o,w(n,t)),e}function bs(e,o,r){let t;if(e&&e.indexOf(o)>-1){let n=new RegExp(o,"g");t=e.replace(n,r)}else t=e;return t}function _m(e,o){let r="https",t=f(e,"urlKey"),n=f(e,"customBaseUrl"),s=f(e,"portalHostname");return t&&n?`${r}://${t}.${n}`:s?`${r}://${s}`:o.portal.replace("/sharing/rest","")}function Rm(e,o){let r=e.reduce((t,n)=>(n.type==="Group"&&t.push(n.itemId),t),[]);return Object.keys(o).forEach(t=>{let n=o[t].itemId;r.indexOf(n)>-1&&e.forEach(s=>{s.groups=s.groups.map(i=>i===t?n:i)})}),e}function vs(e){let o=["itemId","type","dependencies","groups"],r=Object.keys(e).filter(t=>o.indexOf(t)<0);return xe(e,r),e}function Fs(e,o){return typeof e=="string"?Promise.all([A(e,o),q(e,o)]).then(([r,t])=>Co({item:r,data:t})):km(e)?Co(e):Promise.reject(x("getSolutionTemplateItem must be passed an item id or a model object"))}function Os(e,o,r){return e.jobId=e.jobId??o.id,e.title=e.title??o.title,e.snippet=e.snippet??o.snippet,e.description=e.description??o.description,e.tags=e.tags??o.tags,e.thumbnailurl=o.thumbnail?Ct(o.id,o.thumbnail,!1,r):null,e}function km(e){let o=!1,r=t=>t!=null&&typeof t!="string"&&!Array.isArray(t)&&typeof t=="object";return r(e)&&(o=["item","data"].reduce((t,n)=>(t&&(t=r(e[n])),t),!0)),o}function _s(e){let o=e.typeKeywords,r=!1;return e.type==="Solution"&&o.indexOf("Solution")>-1&&(o.indexOf("Template")>-1||o.indexOf("solutionTemplate")>-1)&&(r=!0),e.type==="Web Mapping Application"&&o.indexOf("hubSolutionTemplate")>-1&&(r=!0),r}async function Ld(e,o,r){if(!e)return Promise.reject(x("The Solution Template id is missing"));function t(){if(r&&r.abortController&&r.abortController.signal.aborted)throw new Error("Operation was cancelled")}let n=r||{};n.progressCallback&&n.progressCallback(1,n.jobId);let s=n.storageAuthentication?n.storageAuthentication:o;return t(),Fs(e,s).then(i=>(t(),_s(i.item)?Promise.all([Promise.resolve(i.item),Promise.resolve(i.data)]):Promise.reject(x(`${i.item.id} is not a Solution Template`)))).then(i=>{let[m,a]=i,c=new pt,d=ze(m,c),p=a,I=d.id;return n=Os(n,d,s),gt(d),t(),Ts(I,d,p,o,n)}).then(i=>(n.progressCallback&&n.progressCallback(100,n.jobId),i),i=>(n.progressCallback&&n.progressCallback(1,n.jobId),Promise.reject(i))).catch(i=>{throw typeof i=="string"&&Am(i,o),i})}function Am(e,o){let r={consoleProgress:!0,sendToRecycling:!1};$r(e.trim(),o,r)}export{Ps as a,Ld as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a,b}from"./CURE4DDI.js";import"./DOCNMY5H.js";import"./ZADEJN6X.js";import"./VRUHMDUB.js";import"./C3XGENO2.js";export{a as SiteEditorTypes,b as getSiteSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{s as c}from"./6VPV7EU6.js";import{b as r}from"./T6HJKM4L.js";import{E as i,h as a,i as p}from"./QDR4D66T.js";import"./C3XGENO2.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import"./C3XGENO2.js";var e="\u0644\u064A\u0633 \u0644\u062F\u064A\u0643 \u0645\u0627 \u064A\u0643\u0641\u064A \u0645\u0646 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F\u0627\u062A \u0644\u062A\u0646\u0641\u064A\u0630 \u0647\u0630\u0647 \u0627\u0644\u0639\u0645\u0644\u064A\u0629. \u0627\u062A\u0635\u0644 \u0628\u0645\u0633\u0624\u0648\u0644 \u0646\u0638\u0627\u0645 ArcGIS \u0644\u062F\u064A\u0643 \u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629.",a="\u062A\u0645 \u0646\u0634\u0631 \u0647\u0630\u0647 \u0627\u0644\u0623\u062F\u0627\u0629 \u0645\u0646 \u062F\u0641\u062A\u0631 \u0645\u0644\u0627\u062D\u0638\u0627\u062A. \u062A\u0645 \u062D\u0638\u0631 \u0648\u0635\u0648\u0644 \u0645\u0624\u0633\u0633\u062A\u0643 \u0625\u0644\u0649 ArcGIS Notebooks. \u0627\u062A\u0635\u0644 \u0628\u0627\u0644\u0645\u0633\u0624\u0648\u0644 \u0644\u0636\u0628\u0637 \u0627\u0644\u0625\u0639\u062F\u0627\u062F.",r="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 ${ additionalProperty }.",t="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0637\u0627\u0628\u0642 ${ dataPath } \u0645\u0639 \u0645\u062E\u0637\u0637 \u0623\u062D\u062F \u0645\u0627 \u064A\u0644\u064A: ${ schemaOptions }.",o="\u062D\u0627\u0648\u0644 \u062D\u0641\u0638 \u0627\u0644\u062E\u0631\u064A\u0637\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",s="\u0641\u0634\u0644 \u062A\u0642\u064A\u064A\u0645 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F. \u0642\u0645 \u0628\u0627\u0644\u062A\u0645\u0631\u064A\u0631 \u0644\u0623\u0633\u0641\u0644 \u060C \u0648\u0635\u062D\u062D \u0627\u0644\u0623\u062E\u0637\u0627\u0621 \u060C \u0648\u0623\u0639\u062F \u062D\u0633\u0627\u0628 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F\u0627\u062A.",i="\u062D\u062F\u062B \u062E\u0637\u0623 \u0623\u062B\u0646\u0627\u0621 \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644.",l="\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 ${ dataPath } \u0645\u0633\u0627\u0648\u064A\u064B\u0627 \u0644\u0625\u062D\u062F\u0649 \u0627\u0644\u0642\u064A\u0645 \u0647\u0630\u0647 \u0627\u0644\u0645\u0633\u0645\u0648\u062D \u0628\u0647\u0627: ${ allowedValues }",d="\u062A\u0639\u0630\u0631 \u062D\u0641\u0638 \u0633\u062C\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644",n="\u0645\u062E\u0632\u0646 \u0627\u0644\u0633\u062C\u0644 \u0645\u0645\u062A\u0644\u0626. \u0627\u062D\u0630\u0641 \u0628\u0639\u0636 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0645\u0646 \u0633\u062C\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644 \u0648\u062D\u0627\u0648\u0644 \u0627\u0644\u062D\u0641\u0638 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",c="\u064A\u062D\u062A\u0648\u064A \u0627\u0633\u0645 \u0627\u0644\u062E\u062F\u0645\u0629 \u0639\u0644\u0649 \u062D\u0631\u0641 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D.",m="\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621 \u0645\u0646 \u062D\u0641\u0638 \u0627\u0644\u0637\u0628\u0642\u0629 \u0627\u0644\u0645\u0624\u0642\u062A\u0629 \u0643\u0637\u0628\u0642\u0629 \u0645\u0639\u0644\u0645 \u0645\u0633\u062A\u0636\u0627\u0641\u0629.",u="\u0641\u0634\u0644 \u0641\u064A \u0627\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u0627\u0644\u062E\u0635\u0627\u0626\u0635 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629.",E="\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0637\u0628\u0642\u0629.",h="\u0627\u0644\u0637\u0628\u0642\u0629 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629.",y="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 \u0623\u0643\u062B\u0631 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u0639\u0646\u0627\u0635\u0631.",P="\u062D\u062F\u062B \u062E\u0637\u0623 \u0641\u064A \u0623\u062B\u0646\u0627\u0621 \u062D\u0641\u0638 \u0627\u0644\u0646\u0645\u0648\u0630\u062C. \u062D\u0627\u0648\u0644 \u0627\u0644\u062D\u0641\u0638 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",p="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 \u0623\u0642\u0644 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u0639\u0646\u0627\u0635\u0631.",S="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0643\u0648\u0646 ${ dataPath } \u0623\u0642\u0635\u0631 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u062D\u0631\u0648\u0641.",$="\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0639\u0646\u0635\u0631 \u0627\u0644\u0646\u0645\u0648\u0630\u062C. \u062A\u0623\u0643\u062F \u0645\u0646 \u0648\u062C\u0648\u062F \u0627\u0644\u0646\u0645\u0648\u0630\u062C \u0648\u0645\u0646 \u0645\u0646\u062D \u0625\u0630\u0646 \u0627\u0644\u0648\u0635\u0648\u0644.",v="\u0641\u0634\u0644 \u0625\u0643\u0645\u0627\u0644 \u0627\u0644\u0637\u0644\u0628.",f="\u0644\u064A\u0633 \u0644\u062F\u064A\u0643 \u0625\u0630\u0646 \u0644\u062A\u0634\u063A\u064A\u0644 \u0647\u0630\u0647 \u0627\u0644\u0623\u062F\u0627\u0629. <calcite-link target='_blank' href='${ docLink }'>\u0639\u0644\u0649 \u0627\u0644\u0645\u0632\u064A\u062F \u0639\u0646</calcite-link>",F="\u0641\u0634\u0644 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u0628\u0648\u0627\u0628\u0629.",I="\u0641\u0634\u0644 \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0645\u062F\u062E\u0644\u0629.",k="\u064A\u062A\u0641\u0642\u062F ${ dataPath } \u062E\u0627\u0635\u064A\u0629 \u0628\u0627\u0633\u0645 ${ missingProperty }.",T="\u062A\u0648\u062C\u062F \u0637\u0628\u0642\u0629 \u0646\u0627\u062A\u062C\u0629 \u0628\u0647\u0630\u0627 \u0627\u0644\u0627\u0633\u0645 \u0628\u0627\u0644\u0641\u0639\u0644. \u064A\u062C\u0628 \u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u0637\u0628\u0642\u0627\u062A \u0627\u0644\u0646\u0627\u062A\u062C\u0629 \u0628\u0634\u0643\u0644 \u0641\u0631\u064A\u062F \u0639\u0628\u0631 \u0627\u0644\u0645\u0624\u0633\u0633\u0629. \u064A\u0631\u062C\u0649 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0633\u0645 \u0645\u062E\u062A\u0644\u0641.",L="\u064A\u062D\u062A\u0648\u064A \u0627\u0633\u0645 \u0627\u0644\u0625\u062E\u0631\u0627\u062C \u0639\u0644\u0649 \u062D\u0631\u0641 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. <a href='${docLink}' target='_blank'>\u062A\u0639\u0631\u0651\u0641 \u0639\u0644\u0649 \u0627\u0644\u0645\u0632\u064A\u062F.</a>",b="\u0641\u0634\u0644 \u0646\u0634\u0631 \u0627\u0644\u0637\u0628\u0642\u0629 \u0627\u0644\u0645\u0624\u0642\u062A\u0629 \u0643\u0637\u0628\u0642\u0629 \u0645\u0633\u062A\u0636\u0627\u0641\u0629 \u0628\u0633\u0628\u0628 \u0648\u062C\u0648\u062F \u062D\u0642\u0644 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D. \u0642\u0645 \u0628\u0625\u0639\u0627\u062F\u0629 \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0623\u062F\u0627\u0629 \u0644\u0625\u0646\u0634\u0627\u0621 \u0637\u0628\u0642\u0629 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u062D\u0642\u0648\u0644 \u0635\u0627\u0644\u062D\u0629.",N="\u0641\u0634\u0644 \u062A\u0642\u062F\u064A\u0645 \u0627\u0644\u0648\u0638\u064A\u0641\u0629. \u0642\u0645 \u0628\u0627\u0644\u062A\u0645\u0631\u064A\u0631 \u0644\u0623\u0633\u0641\u0644\u060C \u0648\u062A\u0635\u062D\u064A\u062D \u0627\u0644\u0623\u062E\u0637\u0627\u0621\u060C \u0648\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",g="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0646 ${ dataPath } \u062D\u0631\u0641\u064B\u0627 \u0648\u0627\u062D\u062F\u064B\u0627 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644 \u0644\u064A\u0633 \u0645\u0633\u0627\u0641\u0629 \u0628\u064A\u0636\u0627\u0621.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import{a as e}from"./DOCNMY5H.js";import{b as t,g as s,m as i}from"./VRUHMDUB.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u as a,a as b};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.21 */
|
|
4
|
+
import c from"./PGGYBI5J.js";import{a as x}from"./ZGLUS7EY.js";import{a as T,c as P}from"./3NBAQVF4.js";import a from"./OUALGQPO.js";import{b as u}from"./IFMVHH6O.js";import{Wb as C,ta as S}from"./3LUEIDPJ.js";import"./PWGDJNXG.js";import"./JUHZNCUH.js";import"./WUXNFVJD.js";import"./5CSKRDZM.js";import"./UYB52TDK.js";import"./ANG6KH3Q.js";import"./EFOK377W.js";import"./66KL4C26.js";import"./LPVP3TCA.js";import"./OTF6WC55.js";import"./PJRC7SHJ.js";import"./YLRL7Y5N.js";import"./TDSDZEH7.js";import"./SF42TDNB.js";import"./SYQ77RWF.js";import"./DEZPDY4A.js";import"./TWPRIW6W.js";import"./TKYTD63P.js";import"./FO5FDVKS.js";import"./43LM47JM.js";import{a as $}from"./3GSLYS7Y.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{b}from"./VRHRENNK.js";import{C as y,D as p,E as w,G as h,h as g,i as d,l as D,o as m}from"./QDR4D66T.js";import"./C3XGENO2.js";export default $arcgis.t(([,{b:v}])=>{var O=g`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}.display-none{display:none}`,I=class extends w{constructor(){super(...arguments),this.open=!1,this._deletePercentage=0,this._fetchingTemplates=!1,this._isDeleteInProgress=!1,this._nonSolutionDependencyItems=[],this._showDeleteError=!1,this._showUndeletableItems=!1,this._templateInfos=[],this._translations=$({name:"solution-delete-dialog",blocking:!0}),this._authContextConsumer=u({context:P,subscribe:!0}),this._userSessionContextConsumer=u({context:T,subscribe:!0}),this._accordion=y(),this.solutionDeleteDialogOpen=m(),this.solutionDeleted=m(),this.solutionDeleteDialogBeforeClose=m()}static{this.properties={card:0,open:5,_deletePercentage:16,_fetchingTemplates:16,_isDeleteInProgress:16,_nonSolutionDependencyItems:16,_showDeleteError:16,_showUndeletableItems:16,_templateInfos:16,_translations:16}}static{this.styles=O}close(){this._showUndeletableItems&&this.solutionDeleted.emit({showAlert:!1,refreshSolutionsTimeout:!0}),this._showDeleteError=!1,this._showUndeletableItems=!1,this._isDeleteInProgress=!1,this.open=!1,this.solutionDeleteDialogOpen.emit(!1)}delete(){if(this._isDeleteInProgress=!0,this.card){let t=[{itemName:this.card.title,itemType:"Solution",owner:this.card.owner,modified:this.card.modified}],s={progressCallback:n=>{this._deletePercentage=Math.round(n)}};C(this.card.id,this._userSessionContextConsumer.value,s).then(n=>{let i=n[1],o;if(i?o=i.items.map(e=>({itemName:e.title,itemType:e.type,owner:e.owner,modified:e.modified})):o=t,o.length===0)this.solutionDeleted.emit({showAlert:!0,refreshSolutionsTimeout:!0}),this._isDeleteInProgress=!1,this.open=!1;else if(o.some(e=>e.itemType==="Solution"))this.card?this._processTemplates(this.card).then(e=>{this._templateInfos=e,this._showDeleteError=!0,this._showUndeletableItems=!0,this._isDeleteInProgress=!1}):(this._showDeleteError=!0,this._isDeleteInProgress=!1);else if(this.card){let e=[];e=i.items.map(l=>({id:l.id,title:l.title,type:l.type,owner:l.owner,modified:l.modified,typeKeywords:[],snippet:"",dependencies:[],url:v(l.id,this._authContextConsumer.value)})),this._templateInfos=e,this._showDeleteError=!1,this._showUndeletableItems=!0,this._isDeleteInProgress=!1}else this.solutionDeleted.emit({showAlert:!0,refreshSolutionsTimeout:!0}),this._isDeleteInProgress=!1,this.open=!1})}}willUpdate(t){if(t.has("open")){let s=t.get("open");this.open&&!s&&(this._fetchingTemplates=!0,this._processTemplates(this.card).then(n=>{this._templateInfos=n;let i=[],o=this._templateInfos.map(async e=>{let l=await this._getRelatedDependency(e.id,"reverse","Solution2Item");return{template:e,relatedItems:l}});Promise.all(o).then(e=>{for(let{template:c,relatedItems:k}of e)for(let U of k){let _=[];for(let a of U.relatedItemIds)_.push({controlItemId:c.id,dependencyItemId:a});let A=_.reduce((a,r)=>(a[r.controlItemId]||(a[r.controlItemId]=new Set),a[r.controlItemId].add(r.dependencyItemId),a),{}),f=Object.entries(A).filter(([a,r])=>r.size>1).flatMap(([a,r])=>Array.from(r).map(L=>({controlItemId:a,dependencyItemId:L})));f.length>0&&(i=i.concat(f))}this._nonSolutionDependencyItems=Array.from(new Map([...i].map(c=>[`${c.controlItemId}:${c.dependencyItemId}`,c])).values());let l=this._nonSolutionDependencyItems.map(c=>c.controlItemId),E=[...new Set(l)];this._accordion.value.selectItems(E),this._fetchingTemplates=!1})}))}}updated(t){t.has("_showUndeletableItems")&&this._showUndeletableItems!==t.get("_showUndeletableItems")&&this._accordion.value.selectItems(this._templateInfos.map(s=>s.id))}render(){let t=this._fetchingTemplates?"":"display-none",s=this._fetchingTemplates?"display-none":"",n=[...new Set(this._nonSolutionDependencyItems.map(e=>e.controlItemId))],i=this._templateInfos.length-this._getDependencyCount(),o=this._translations.deletionCount.replace("{{deleteableCount}}",i.toString()).replace("{{totalCount}}",this._templateInfos.length.toString());return d`<calcite-dialog class="panel-bg-color" .closeDisabled=${this._isDeleteInProgress} .heading=${this._translations.title.replace("{{solution}}",this.card?.title??"")} id=${this._translations.title.replace("{{solution}}",this.card?.title??"")??D} modal kind=danger .open=${this.open} width=l outside-close-disabled @calciteDialogBeforeClose=${()=>{this.solutionDeleteDialogBeforeClose.emit()}} @calciteDialogClose=${()=>{this.open=!1,this.solutionDeleteDialogOpen.emit(!1)}}>${this._isDeleteInProgress?d`<calcite-loader .label=${this._translations.deleteInProgress} scale=l .text=${this._translations.deleteInProgress} type=determinate-value .value=${this._deletePercentage}></calcite-loader>`:this._showUndeletableItems?d`<calcite-label class=${h(s)} layout=inline>${this._translations.failedToDeleteItems}</calcite-label><solution-item-accordion class=${h(s)} .itemRelationshipDependencies=${[]} link-type=action list-selection-mode=multiple .templateInfos=${this._templateInfos} .typeKeywords=${this.card?.typeKeywords} ${p(this._accordion)}></solution-item-accordion><calcite-button appearance=outline @click=${this.close} slot=footer-end>${this._translations.buttonClose}</calcite-button>`:d`<calcite-label class=${h(s)} layout=inline scale=l>${this._translations.deletionNote}<calcite-chip .label=${o} scale=m icon=information>${o}</calcite-chip></calcite-label><calcite-loader class=${h(t)} label></calcite-loader><solution-item-accordion class=${h(s)} .itemRelationshipDependencies=${n} link-type=action list-selection-mode=multiple .templateInfos=${this._templateInfos} .typeKeywords=${this.card?.typeKeywords} ${p(this._accordion)}></solution-item-accordion><calcite-button appearance=outline @click=${this.close} slot=footer-end>${this._translations.buttonCancel}</calcite-button><calcite-button @click=${()=>{this.delete()}} slot=footer-end kind=danger>${this._translations.buttonDelete}</calcite-button>${this._showDeleteError&&d`<calcite-alert icon=exclamation-mark-triangle kind=danger .label=${this._translations.failedToDelete} @calciteAlertClose=${()=>{this._showDeleteError=!1}} open><div slot=message>${this._translations.failedToDelete}</div></calcite-alert>`||""}`}</calcite-dialog>`}async _processTemplates(t){return await x(t.id,this._userSessionContextConsumer.value)}async _getRelatedDependency(t,s,n){let i=await S(t,n,s,this._userSessionContextConsumer.value);return[{relationshipType:n,relatedItemIds:i.relatedItems.map(o=>o.id)}]}_getDependencyCount(){let t=this._nonSolutionDependencyItems.map(s=>s.controlItemId);return[...new Set(t)].length}};b("solution-delete-dialog",I);return I},a,c)
|