@esri/solutions-components 1.2.0-next.1 → 1.2.0-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/22RHEAP5.js +4 -0
- package/dist/cdn/25ZSBOGH.js +18 -0
- package/dist/cdn/2DKE4D4V.js +4 -0
- package/dist/cdn/2GG5MBJX.js +18 -0
- package/dist/cdn/2IRUBFD5.js +4 -0
- package/dist/cdn/2OJCRGSY.js +18 -0
- package/dist/cdn/2P7AHM5O.js +4 -0
- package/dist/cdn/2TQTDPOD.js +4 -0
- package/dist/cdn/34R3QFL4.js +4 -0
- package/dist/cdn/373RYCM5.js +4 -0
- package/dist/cdn/3EEQEIIF.js +4 -0
- package/dist/cdn/3IBI2MBB.js +4 -0
- package/dist/cdn/3MWPNWRI.js +4 -0
- package/dist/cdn/3RJNKHL6.js +18 -0
- package/dist/cdn/3TJ6KAGK.js +4 -0
- package/dist/cdn/3U6ZN4C3.js +4 -0
- package/dist/cdn/3ZGL22AG.js +4 -0
- package/dist/cdn/45MNR6YS.js +18 -0
- package/dist/cdn/46VGMHZ7.js +4 -0
- package/dist/cdn/4EQXDV64.js +18 -0
- package/dist/cdn/4FDHA3LB.js +4 -0
- package/dist/cdn/4QUFJ7JQ.js +4 -0
- package/dist/cdn/4WLVJAGS.js +4 -0
- package/dist/cdn/4YLSYSXR.js +4 -0
- package/dist/cdn/52YHNO7J.js +4 -0
- package/dist/cdn/55AUTAVM.js +4 -0
- package/dist/cdn/5AGZP7FN.js +4 -0
- package/dist/cdn/5EM2OKBL.js +4 -0
- package/dist/cdn/5GYSDWFY.js +18 -0
- package/dist/cdn/5HWY6B6T.js +4 -0
- package/dist/cdn/5JPSKCNA.js +89 -0
- package/dist/cdn/5OL7RXCN.js +18 -0
- package/dist/cdn/5PT6BQPH.js +4 -0
- package/dist/cdn/5PX4CHK4.js +4 -0
- package/dist/cdn/5QARHXLF.js +18 -0
- package/dist/cdn/5R5FVDIE.js +4 -0
- package/dist/cdn/5UCFZYBK.js +4 -0
- package/dist/cdn/5UMBUT67.js +18 -0
- package/dist/cdn/5UV7A5EY.js +4 -0
- package/dist/cdn/5XIPGVUW.js +4 -0
- package/dist/cdn/64577HME.js +4 -0
- package/dist/cdn/67SFJRSB.js +18 -0
- package/dist/cdn/6ENZX3UD.js +18 -0
- package/dist/cdn/6EP74EFM.js +18 -0
- package/dist/cdn/6FABBDLL.js +4 -0
- package/dist/cdn/6IRBUQNK.js +4 -0
- package/dist/cdn/6NVXFBLT.js +4 -0
- package/dist/cdn/6RW4WJ5F.js +4 -0
- package/dist/cdn/6RWKQVKX.js +4 -0
- package/dist/cdn/74HXS5S7.js +4 -0
- package/dist/cdn/76CZRVCQ.js +4 -0
- package/dist/cdn/76QGCX3G.js +4 -0
- package/dist/cdn/7C25W3DC.js +4 -0
- package/dist/cdn/7CEYQOUD.js +18 -0
- package/dist/cdn/7GRTJOB5.js +4 -0
- package/dist/cdn/7IEW7PU4.js +4 -0
- package/dist/cdn/7MN6SLN5.js +18 -0
- package/dist/cdn/7VHUOOT4.js +18 -0
- package/dist/cdn/7XAH3ZHV.js +4 -0
- package/dist/cdn/7XXVA3F6.js +4 -0
- package/dist/cdn/7ZCG3X7R.js +4 -0
- package/dist/cdn/A5RRFYOD.js +4 -0
- package/dist/cdn/AHDSGP2I.js +18 -0
- package/dist/cdn/AM4POOOK.js +4 -0
- package/dist/cdn/ASDKBUK3.js +18 -0
- package/dist/cdn/AXLTP65Y.js +4 -0
- package/dist/cdn/BBLJ7EHS.js +18 -0
- package/dist/cdn/BJXTCYTT.js +18 -0
- package/dist/cdn/BLSQBXZO.js +4 -0
- package/dist/cdn/BOMZ2P4U.js +4 -0
- package/dist/cdn/BQ7TY6E3.js +4 -0
- package/dist/cdn/BQJVEDLC.js +8 -0
- package/dist/cdn/C3MKLUYS.js +5 -0
- package/dist/cdn/C5QDDDH6.js +4 -0
- package/dist/cdn/C5T3HF6V.js +4 -0
- package/dist/cdn/C6KZTKHI.js +4 -0
- package/dist/cdn/CIGL34QI.js +18 -0
- package/dist/cdn/CLYJO7WA.js +18 -0
- package/dist/cdn/CMHMGPVG.js +4 -0
- package/dist/cdn/CNHSSSP2.js +4 -0
- package/dist/cdn/CSGROIJ6.js +4 -0
- package/dist/cdn/CTVVU2ZC.js +4 -0
- package/dist/cdn/CVOV365U.js +4 -0
- package/dist/cdn/CYH55GTJ.js +9 -0
- package/dist/cdn/D22BELVK.js +18 -0
- package/dist/cdn/D4ANXHA6.js +4 -0
- package/dist/cdn/D4N2KM77.js +4 -0
- package/dist/cdn/D4TYNSAH.js +82 -0
- package/dist/cdn/DAJYJUIM.js +19 -0
- package/dist/cdn/DBI2CNJR.js +4 -0
- package/dist/cdn/DEMY5LXS.js +6 -0
- package/dist/cdn/DFGNBIP4.js +4 -0
- package/dist/cdn/DGNI2L52.js +4 -0
- package/dist/cdn/DILLMNU7.js +4 -0
- package/dist/cdn/DJI2MXPF.js +294 -0
- package/dist/cdn/DSDPXTB3.js +4 -0
- package/dist/cdn/DUKUSWOF.js +4 -0
- package/dist/cdn/DYCNJD5I.js +4 -0
- package/dist/cdn/E3H7GCN2.js +4 -0
- package/dist/cdn/E3RTIAKB.js +4 -0
- package/dist/cdn/E5DY5AGN.js +19 -0
- package/dist/cdn/E6XP4262.js +18 -0
- package/dist/cdn/E7B35PPE.js +4 -0
- package/dist/cdn/E7C33CLP.js +4 -0
- package/dist/cdn/E7CSNM6W.js +4 -0
- package/dist/cdn/EAU627CP.js +4 -0
- package/dist/cdn/ECCOYE4W.js +4 -0
- package/dist/cdn/EE6F7WDK.js +21 -0
- package/dist/cdn/EFGFST2X.js +4 -0
- package/dist/cdn/EIWV2QFJ.js +4 -0
- package/dist/cdn/EMLYJY3U.js +4 -0
- package/dist/cdn/EOX42Z7I.js +4 -0
- package/dist/cdn/EP2WLXYJ.js +4 -0
- package/dist/cdn/ERYB7Q7N.js +4 -0
- package/dist/cdn/EVNPOEDN.js +4 -0
- package/dist/cdn/EWMQ7W4X.js +4 -0
- package/dist/cdn/EYI2CXR4.js +25 -0
- package/dist/cdn/F5BC76XY.js +4 -0
- package/dist/cdn/F7D7JDGJ.js +9 -0
- package/dist/cdn/FBOYVIXA.js +18 -0
- package/dist/cdn/FDCS3IF3.js +4 -0
- package/dist/cdn/FEPUY55K.js +4 -0
- package/dist/cdn/FFL7U4K2.js +4 -0
- package/dist/cdn/FMJWXOUR.js +18 -0
- package/dist/cdn/FNPOYZRQ.js +18 -0
- package/dist/cdn/FTCOKM55.js +4 -0
- package/dist/cdn/FXDSUAZP.js +4 -0
- package/dist/cdn/FXPLB5TB.js +18 -0
- package/dist/cdn/G3P2DAU4.js +18 -0
- package/dist/cdn/G6AIWVVF.js +4 -0
- package/dist/cdn/G7USULA3.js +18 -0
- package/dist/cdn/GDPOK4XJ.js +4 -0
- package/dist/cdn/GKZPVU4W.js +19 -0
- package/dist/cdn/GLRFGNCR.js +18 -0
- package/dist/cdn/GNBRF3J3.js +4 -0
- package/dist/cdn/GSGD5X3Z.js +4 -0
- package/dist/cdn/GWBGSPGK.js +4 -0
- package/dist/cdn/GWPWR4NJ.js +4 -0
- package/dist/cdn/GWVBXM4O.js +4 -0
- package/dist/cdn/GXNKCLN5.js +4 -0
- package/dist/cdn/HA26NVXU.js +4 -0
- package/dist/cdn/HAE47HSE.js +4 -0
- package/dist/cdn/HATWOIWZ.js +4 -0
- package/dist/cdn/HCEMIND7.js +4 -0
- package/dist/cdn/HEQYJZJO.js +4 -0
- package/dist/cdn/HFDBPGGT.js +18 -0
- package/dist/cdn/HFXZNF2W.js +18 -0
- package/dist/cdn/HG2ZNE2E.js +4 -0
- package/dist/cdn/HI3PAOCL.js +4 -0
- package/dist/cdn/HI4KSEBA.js +4 -0
- package/dist/cdn/HU7VYYIV.js +4 -0
- package/dist/cdn/HUHZXDNI.js +4 -0
- package/dist/cdn/HVGAZZ7E.js +4 -0
- package/dist/cdn/HZNHMJ2X.js +4 -0
- package/dist/cdn/I6SRLUO3.js +4 -0
- package/dist/cdn/I7SOLYBY.js +4 -0
- package/dist/cdn/IDODJEUW.js +18 -0
- package/dist/cdn/IFXQMQMB.js +4 -0
- package/dist/cdn/IGMLM2CZ.js +4 -0
- package/dist/cdn/IJWGVRH6.js +4 -0
- package/dist/cdn/IKL6SJCX.js +4 -0
- package/dist/cdn/IRKSYVKF.js +4 -0
- package/dist/cdn/IVUZOD5N.js +18 -0
- package/dist/cdn/IYW4WSQU.js +4 -0
- package/dist/cdn/IZK635RE.js +4 -0
- package/dist/cdn/J4VUYE77.js +4 -0
- package/dist/cdn/JACBCJM5.js +4 -0
- package/dist/cdn/JCRBLE7M.js +18 -0
- package/dist/cdn/JDKKXGDK.js +4 -0
- package/dist/cdn/JESQM7JC.js +385 -0
- package/dist/cdn/JHYFXPU7.js +4 -0
- package/dist/cdn/JJNXUJWI.js +4 -0
- package/dist/cdn/JKOFDMTL.js +18 -0
- package/dist/cdn/JLAIHGX7.js +4 -0
- package/dist/cdn/JQ7I4ACF.js +18 -0
- package/dist/cdn/JQWHQO43.js +4 -0
- package/dist/cdn/JW5B75V4.js +18 -0
- package/dist/cdn/JWUJWTID.js +18 -0
- package/dist/cdn/K2VZU3F5.js +18 -0
- package/dist/cdn/K52RVAKI.js +4 -0
- package/dist/cdn/KEZ2OO3C.js +4 -0
- package/dist/cdn/KH42YDGB.js +8 -0
- package/dist/cdn/KIQTLCHH.js +4 -0
- package/dist/cdn/KK2IPNE3.js +4 -0
- package/dist/cdn/KK2P6Q2E.js +4 -0
- package/dist/cdn/KLWSSYYI.js +4 -0
- package/dist/cdn/KMSZR7OY.js +4 -0
- package/dist/cdn/KRBPJ75E.js +4 -0
- package/dist/cdn/KSIBFBSI.js +4 -0
- package/dist/cdn/L7DFQ7BZ.js +4 -0
- package/dist/cdn/LG5B373X.js +4 -0
- package/dist/cdn/LIINIY5L.js +4 -0
- package/dist/cdn/LJJOYKWL.js +4 -0
- package/dist/cdn/LKKHABSE.js +4 -0
- package/dist/cdn/LMJAIKEE.js +18 -0
- package/dist/cdn/LTJA7F3S.js +4 -0
- package/dist/cdn/LYUVSKJ2.js +4 -0
- package/dist/cdn/M47UC4IW.js +4 -0
- package/dist/cdn/M4FU5PYC.js +4 -0
- package/dist/cdn/M4PLOIMT.js +4 -0
- package/dist/cdn/M7PKG4YD.js +4 -0
- package/dist/cdn/MCENO5GY.js +4 -0
- package/dist/cdn/MGJFGLYO.js +18 -0
- package/dist/cdn/MGWUOYFW.js +4 -0
- package/dist/cdn/MMNAXKXA.js +4 -0
- package/dist/cdn/MNSLZRN2.js +4 -0
- package/dist/cdn/MOLO2JKZ.js +4 -0
- package/dist/cdn/MPP5RWNY.js +4 -0
- package/dist/cdn/MR3OHCGN.js +4 -0
- package/dist/cdn/MXG44IRR.js +4 -0
- package/dist/cdn/MXGLTE5G.js +4 -0
- package/dist/cdn/MZEWWDOB.js +4 -0
- package/dist/cdn/MZTOB3NA.js +5 -0
- package/dist/cdn/NAKMORRS.js +4 -0
- package/dist/cdn/NC7LKR6P.js +4 -0
- package/dist/cdn/NCG6QKWR.js +4 -0
- package/dist/cdn/NHLE5PEP.js +4 -0
- package/dist/cdn/NL75AWDF.js +18 -0
- package/dist/cdn/NMNQNPG3.js +4 -0
- package/dist/cdn/NOI3L73W.js +4 -0
- package/dist/cdn/NV5T4KV3.js +4 -0
- package/dist/cdn/O77MW5U7.js +4 -0
- package/dist/cdn/OAOSXYYJ.js +4 -0
- package/dist/cdn/OBU37VQP.js +4 -0
- package/dist/cdn/OCQ5QAZG.js +18 -0
- package/dist/cdn/OE5CL2FU.js +4 -0
- package/dist/cdn/OGJ5D3VD.js +18 -0
- package/dist/cdn/OILD7SVE.js +18 -0
- package/dist/cdn/OIS6GKYP.js +4 -0
- package/dist/cdn/OJGX3JRQ.js +4 -0
- package/dist/cdn/OQHSXQCE.js +18 -0
- package/dist/cdn/OVAX74SY.js +18 -0
- package/dist/cdn/P24RPSBD.js +4 -0
- package/dist/cdn/P5M3O7RI.js +4 -0
- package/dist/cdn/P7Q74AQB.js +4 -0
- package/dist/cdn/PAT7ZHEY.js +4 -0
- package/dist/cdn/PC62ZISV.js +4 -0
- package/dist/cdn/PE3VYUOG.js +4 -0
- package/dist/cdn/PFKUU2I3.js +18 -0
- package/dist/cdn/PPHWGCSF.js +4 -0
- package/dist/cdn/PRBARSCN.js +4 -0
- package/dist/cdn/PZTS2ZM2.js +4 -0
- package/dist/cdn/PZUT6W6N.js +4 -0
- package/dist/cdn/Q2X24SKX.js +4 -0
- package/dist/cdn/Q6Z4TTIZ.js +4 -0
- package/dist/cdn/QMT5CBUT.js +18 -0
- package/dist/cdn/QZNNWP6C.js +4 -0
- package/dist/cdn/QZNUQGF6.js +4 -0
- package/dist/cdn/R4J5YMUQ.js +4 -0
- package/dist/cdn/R5DUS3EV.js +18 -0
- package/dist/cdn/R63RYS5Y.js +4 -0
- package/dist/cdn/RACRJEPF.js +4 -0
- package/dist/cdn/RF4UYAKV.js +4 -0
- package/dist/cdn/RUAJHVAW.js +18 -0
- package/dist/cdn/RXDQURDA.js +4 -0
- package/dist/cdn/S2I4YUPX.js +4 -0
- package/dist/cdn/S32TK6T7.js +4 -0
- package/dist/cdn/S5HWSEUY.js +4 -0
- package/dist/cdn/SA5OTFAN.js +4 -0
- package/dist/cdn/SALC3G4E.js +4 -0
- package/dist/cdn/SB575MRC.js +4 -0
- package/dist/cdn/SCLUBV6B.js +18 -0
- package/dist/cdn/SGIRWZLC.js +4 -0
- package/dist/cdn/SHLDE5ZW.js +18 -0
- package/dist/cdn/SPWD7KIF.js +4 -0
- package/dist/cdn/SQ5TA5SP.js +18 -0
- package/dist/cdn/SSGDG2KN.js +4 -0
- package/dist/cdn/SU3Z662V.js +4 -0
- package/dist/cdn/SUZ3SL26.js +4 -0
- package/dist/cdn/SY5M4ZGW.js +4 -0
- package/dist/cdn/T26FKEMR.js +4 -0
- package/dist/cdn/T6VDX6YQ.js +4 -0
- package/dist/cdn/TAIZT7YH.js +4 -0
- package/dist/cdn/TBVYZ336.js +4 -0
- package/dist/cdn/TCPCNAXG.js +18 -0
- package/dist/cdn/TDPTH3PB.js +18 -0
- package/dist/cdn/TEWQBSJG.js +4 -0
- package/dist/cdn/TF5KNIGI.js +4 -0
- package/dist/cdn/TUOFKTGP.js +4 -0
- package/dist/cdn/U4C2O3EI.js +4 -0
- package/dist/cdn/U7JUGZHD.js +4 -0
- package/dist/cdn/UCVV4DR2.js +4 -0
- package/dist/cdn/UK6ZQLXE.js +4 -0
- package/dist/cdn/UQOKS6VK.js +4 -0
- package/dist/cdn/USZB4X6A.js +4 -0
- package/dist/cdn/UTTX3CHJ.js +4 -0
- package/dist/cdn/V2DI62OA.js +6 -0
- package/dist/cdn/V7ZWOVHU.js +8 -0
- package/dist/cdn/VAMGVNRP.js +20 -0
- package/dist/cdn/VBEIJ53G.js +4 -0
- package/dist/cdn/VDSHQNAE.js +4 -0
- package/dist/cdn/VLFPDXI6.js +4 -0
- package/dist/cdn/VO24JFVS.js +4 -0
- package/dist/cdn/VORLDHAW.js +4 -0
- package/dist/cdn/VROJTJEL.js +4 -0
- package/dist/cdn/VRYDFICW.js +18 -0
- package/dist/cdn/VTQABWDQ.js +18 -0
- package/dist/cdn/VUAHOUHY.js +4 -0
- package/dist/cdn/VUEUGHV4.js +4 -0
- package/dist/cdn/VUWAGMYI.js +4 -0
- package/dist/cdn/VUYIFP6K.js +4 -0
- package/dist/cdn/VVI52XHF.js +4 -0
- package/dist/cdn/VZ6ZGZXE.js +4 -0
- package/dist/cdn/W2ZGMJY7.js +4 -0
- package/dist/cdn/W5XUZJGN.js +4 -0
- package/dist/cdn/W6E2C5GX.js +4 -0
- package/dist/cdn/WAIH4CCQ.js +4 -0
- package/dist/cdn/WANC67UT.js +4 -0
- package/dist/cdn/WEMLUAAR.js +4 -0
- package/dist/cdn/WFSFUZOC.js +4 -0
- package/dist/cdn/WLNYC3K3.js +4 -0
- package/dist/cdn/WOTQZCRA.js +4 -0
- package/dist/cdn/WP2KO7UP.js +29 -0
- package/dist/cdn/WP2PSNFT.js +4 -0
- package/dist/cdn/WS5HHO4T.js +18 -0
- package/dist/cdn/WTL3PEAQ.js +4 -0
- package/dist/cdn/XCGRV674.js +4 -0
- package/dist/cdn/XIBUMBLY.js +18 -0
- package/dist/cdn/XMOALPJW.js +4 -0
- package/dist/cdn/XMRU7SNV.js +4 -0
- package/dist/cdn/XT36IYWQ.js +4 -0
- package/dist/cdn/XVY2HXWR.js +4 -0
- package/dist/cdn/XXPDN562.js +18 -0
- package/dist/cdn/Y4UI3SWQ.js +4 -0
- package/dist/cdn/Y7WCDHHA.js +4 -0
- package/dist/cdn/YDTVY452.js +4 -0
- package/dist/cdn/YEVWDUVV.js +4 -0
- package/dist/cdn/YGVITQ45.js +4 -0
- package/dist/cdn/YM4JQGWL.js +4 -0
- package/dist/cdn/YNTEOFE2.js +4 -0
- package/dist/cdn/YQFL5YJJ.js +4 -0
- package/dist/cdn/YSW2UOL3.js +18 -0
- package/dist/cdn/YTT6ZV5A.js +18 -0
- package/dist/cdn/YUL3ATTD.js +4 -0
- package/dist/cdn/YYSIA432.js +4 -0
- package/dist/cdn/YZKEYQY4.js +4 -0
- package/dist/cdn/Z5UFUDCH.js +4 -0
- package/dist/cdn/Z5ZPFJEU.js +4 -0
- package/dist/cdn/Z6IC76BJ.js +4 -0
- package/dist/cdn/Z6NDLCDR.js +4 -0
- package/dist/cdn/ZEQVCUSX.js +4 -0
- package/dist/cdn/ZF2FQVL7.js +4 -0
- package/dist/cdn/ZO2KN6B3.js +4 -0
- 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-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-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 +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +30 -25
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +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-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +3 -3
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +6 -6
- package/dist/components/solution-details-panel/customElement.js +29 -32
- 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.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-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 +2 -2
- package/dist/components/solutions-all-panel/customElement.js +5 -2
- package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
- package/dist/components/solutions-all-shell/customElement.js +38 -36
- package/dist/components/solutions-deploy-app/customElement.d.ts +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +44 -43
- package/dist/components/solutions-deploy-app/index.d.ts +1 -1
- package/dist/components/solutions-deploy-app/index.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -0
- package/dist/components/solutions-deploy-app-nav/customElement.js +49 -28
- 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 +2 -2
- package/dist/components/solutions-deployed-panel/customElement.js +8 -5
- package/dist/components/solutions-deployed-shell/customElement.js +5 -5
- package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
- package/dist/components/solutions-filter-panel/customElement.js +63 -55
- 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 +122 -0
- package/dist/components/solutions-resources/index.d.ts +13 -0
- package/dist/components/solutions-resources/index.js +13 -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.js +9 -6
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1227 -1123
- package/dist/docs/docs.json +623 -547
- package/dist/docs/vscode.html-custom-data.json +88 -78
- package/dist/docs/web-types.json +218 -202
- package/dist/index.d.ts +49 -50
- package/dist/index.js +1 -1
- package/dist/loader.js +9 -9
- package/dist/types/lumina.d.ts +25 -26
- package/dist/types/preact.d.ts +29 -30
- package/dist/types/preact10.d.ts +33 -34
- package/dist/types/react.d.ts +33 -34
- package/dist/types/stencil.d.ts +25 -26
- package/dist/utils/helpers.d.ts +8 -1
- package/dist/utils/interfaces.d.ts +12 -3
- package/package.json +1 -1
- package/dist/cdn/22IZH5VL.js +0 -4
- package/dist/cdn/23EIVSUJ.js +0 -18
- package/dist/cdn/25LMHUAF.js +0 -4
- package/dist/cdn/26SSUBUE.js +0 -4
- package/dist/cdn/27APFVLL.js +0 -4
- package/dist/cdn/2CEJYF62.js +0 -4
- package/dist/cdn/2MVXKE3V.js +0 -4
- package/dist/cdn/2W53WRNR.js +0 -4
- package/dist/cdn/2YHT764G.js +0 -4
- package/dist/cdn/32DRSUWP.js +0 -4
- package/dist/cdn/35OPALGJ.js +0 -4
- package/dist/cdn/3FTD7QHK.js +0 -4
- package/dist/cdn/3OEDIKQ5.js +0 -4
- package/dist/cdn/3PXVZE5B.js +0 -4
- package/dist/cdn/3QPRWMXZ.js +0 -4
- package/dist/cdn/3QZ3WO4J.js +0 -4
- package/dist/cdn/3RX4FKVH.js +0 -4
- package/dist/cdn/3UYQB5M2.js +0 -4
- package/dist/cdn/3W7QQ6P6.js +0 -4
- package/dist/cdn/3X4Q46AK.js +0 -4
- package/dist/cdn/3XLZCUHG.js +0 -4
- package/dist/cdn/43JJ42I6.js +0 -4
- package/dist/cdn/4G6CGSME.js +0 -4
- package/dist/cdn/4LOY373E.js +0 -18
- package/dist/cdn/4NAXXYIA.js +0 -4
- package/dist/cdn/4UHO6YOS.js +0 -18
- package/dist/cdn/4VVSACXP.js +0 -4
- package/dist/cdn/4XORBQ43.js +0 -4
- package/dist/cdn/4ZE7GGAS.js +0 -4
- package/dist/cdn/522BPYLF.js +0 -4
- package/dist/cdn/55L6CSSX.js +0 -4
- package/dist/cdn/5BGGKOSZ.js +0 -4
- package/dist/cdn/5D6MJQRN.js +0 -18
- package/dist/cdn/5EYMLB42.js +0 -4
- package/dist/cdn/5RUH4EFW.js +0 -4
- package/dist/cdn/653HGMN6.js +0 -4
- package/dist/cdn/67I4BHMX.js +0 -4
- package/dist/cdn/6HBBCCOM.js +0 -4
- package/dist/cdn/6O7OK3WU.js +0 -4
- package/dist/cdn/6PGNEYP5.js +0 -4
- package/dist/cdn/6UNT5MUE.js +0 -4
- package/dist/cdn/6VLVWAKZ.js +0 -4
- package/dist/cdn/736NHE3J.js +0 -4
- package/dist/cdn/7A3C36WQ.js +0 -4
- package/dist/cdn/7BJFXFUH.js +0 -4
- package/dist/cdn/7G4N7AYZ.js +0 -4
- package/dist/cdn/7GIY6DUJ.js +0 -4
- package/dist/cdn/7JXHJ3TL.js +0 -18
- package/dist/cdn/7KQUOMHW.js +0 -4
- package/dist/cdn/7PM6K4BQ.js +0 -4
- package/dist/cdn/7WSRMZLR.js +0 -4
- package/dist/cdn/7YHRTXQH.js +0 -4
- package/dist/cdn/7YJKP23X.js +0 -8
- package/dist/cdn/7Z6VMW3R.js +0 -18
- package/dist/cdn/A3HZAJRG.js +0 -4
- package/dist/cdn/A3QP26AQ.js +0 -18
- package/dist/cdn/A7GDEXFK.js +0 -4
- package/dist/cdn/AAILNBJL.js +0 -4
- package/dist/cdn/AFI227JI.js +0 -4
- package/dist/cdn/AG5QKP4L.js +0 -4
- package/dist/cdn/AJCN5TZU.js +0 -4
- package/dist/cdn/AM6CUQET.js +0 -18
- package/dist/cdn/AQLLIUAO.js +0 -18
- package/dist/cdn/B5HIH5BI.js +0 -18
- package/dist/cdn/BFSMHNRA.js +0 -4
- package/dist/cdn/BFW6A2EV.js +0 -4
- package/dist/cdn/BGVEHDJZ.js +0 -4
- package/dist/cdn/BH4WHSTL.js +0 -4
- package/dist/cdn/BMUM7THE.js +0 -18
- package/dist/cdn/BQG7DYTH.js +0 -18
- package/dist/cdn/BSKEER6B.js +0 -18
- package/dist/cdn/BT7XOYF5.js +0 -4
- package/dist/cdn/BTZUJGQZ.js +0 -4
- package/dist/cdn/BVHEKO2U.js +0 -4
- package/dist/cdn/BVUB2SWQ.js +0 -4
- package/dist/cdn/BXINC4TL.js +0 -6
- package/dist/cdn/BY7JMUBE.js +0 -4
- package/dist/cdn/BYVW36VB.js +0 -18
- package/dist/cdn/BZDKUBLK.js +0 -4
- package/dist/cdn/C2CDVQOR.js +0 -18
- package/dist/cdn/C4VBVF5F.js +0 -4
- package/dist/cdn/CB4NXNE5.js +0 -4
- package/dist/cdn/CEH26EDG.js +0 -18
- package/dist/cdn/CIM646MY.js +0 -18
- package/dist/cdn/CNU3472Z.js +0 -18
- package/dist/cdn/CP4FAI42.js +0 -4
- package/dist/cdn/CRXAZVVV.js +0 -18
- package/dist/cdn/CVGM4QYD.js +0 -4
- package/dist/cdn/CVNJUCBY.js +0 -18
- package/dist/cdn/CWHNHLH4.js +0 -18
- package/dist/cdn/CWXSLS5U.js +0 -4
- package/dist/cdn/D2RAZUGA.js +0 -18
- package/dist/cdn/D6SWHYCO.js +0 -4
- package/dist/cdn/DLCCT4NW.js +0 -4
- package/dist/cdn/DNJUS347.js +0 -18
- package/dist/cdn/DO6VOO2V.js +0 -4
- package/dist/cdn/DQPEZQH4.js +0 -18
- package/dist/cdn/DRUP6BQ5.js +0 -8
- package/dist/cdn/DSVAIF4Y.js +0 -4
- package/dist/cdn/DT6TJWI4.js +0 -4
- package/dist/cdn/DTHJ6RVO.js +0 -4
- package/dist/cdn/DW2DU6WF.js +0 -4
- package/dist/cdn/DYETIYXT.js +0 -4
- package/dist/cdn/E45HXI25.js +0 -4
- package/dist/cdn/E56R6ZHU.js +0 -4
- package/dist/cdn/EAJLTNVD.js +0 -25
- package/dist/cdn/EAJPSM6R.js +0 -4
- package/dist/cdn/EAPSALKZ.js +0 -18
- package/dist/cdn/EAXDRT25.js +0 -4
- package/dist/cdn/ECIK3AWG.js +0 -4
- package/dist/cdn/EEH2H5FR.js +0 -4
- package/dist/cdn/EFN7NAAY.js +0 -4
- package/dist/cdn/EGSHVW4A.js +0 -4
- package/dist/cdn/F3UCVDZ2.js +0 -4
- package/dist/cdn/F4M6554C.js +0 -18
- package/dist/cdn/F4N67DYP.js +0 -4
- package/dist/cdn/F5427EYW.js +0 -4
- package/dist/cdn/FF2RFQ4J.js +0 -4
- package/dist/cdn/FGB6FI4J.js +0 -4
- package/dist/cdn/FKLJTSPN.js +0 -4
- package/dist/cdn/FPWJ6PMO.js +0 -4
- package/dist/cdn/FTPJQUXV.js +0 -4
- package/dist/cdn/FUAAIOVV.js +0 -4
- package/dist/cdn/FUHNVQ4J.js +0 -4
- package/dist/cdn/FXHXJ4QL.js +0 -4
- package/dist/cdn/FYDE2G2S.js +0 -4
- package/dist/cdn/G3KFU7YY.js +0 -4
- package/dist/cdn/G64ULB7X.js +0 -4
- package/dist/cdn/GDQKBGVU.js +0 -4
- package/dist/cdn/GDTOMIWL.js +0 -4
- package/dist/cdn/GKZBYEDV.js +0 -4
- package/dist/cdn/GO3DBAQ3.js +0 -4
- package/dist/cdn/GOLK3KHK.js +0 -4
- package/dist/cdn/GPAASHCV.js +0 -4
- package/dist/cdn/GPN7CMKQ.js +0 -4
- package/dist/cdn/GUQOCIWI.js +0 -4
- package/dist/cdn/GVV6CMDT.js +0 -4
- package/dist/cdn/GZK4P6TS.js +0 -4
- package/dist/cdn/H3FZKBQZ.js +0 -4
- package/dist/cdn/H5BCC2WI.js +0 -4
- package/dist/cdn/H6GTBKYE.js +0 -4
- package/dist/cdn/HA35BFCM.js +0 -18
- package/dist/cdn/HAPZLAZI.js +0 -4
- package/dist/cdn/HEQ4RTPP.js +0 -4
- package/dist/cdn/HHE7DQNN.js +0 -18
- package/dist/cdn/HIPPWX3F.js +0 -294
- package/dist/cdn/HKOPWYUS.js +0 -4
- package/dist/cdn/HRVWEYZD.js +0 -4
- package/dist/cdn/HTK6SD7P.js +0 -4
- package/dist/cdn/HWZTRX65.js +0 -18
- package/dist/cdn/HYRLUKFR.js +0 -4
- package/dist/cdn/I2HXIQGP.js +0 -18
- package/dist/cdn/I3GNEXKT.js +0 -4
- package/dist/cdn/I4ZETC2J.js +0 -18
- package/dist/cdn/IBM5XI3O.js +0 -4
- package/dist/cdn/IFOFHB4W.js +0 -19
- package/dist/cdn/IHWF6T6Y.js +0 -4
- package/dist/cdn/ILI2S73E.js +0 -18
- package/dist/cdn/IMCXSNGQ.js +0 -4
- package/dist/cdn/IQVYADON.js +0 -4
- package/dist/cdn/IRGSMHZ2.js +0 -4
- package/dist/cdn/IW3SAA7O.js +0 -4
- package/dist/cdn/IW52PVHP.js +0 -4
- package/dist/cdn/IW5XHI5X.js +0 -4
- package/dist/cdn/J3W2N5FC.js +0 -4
- package/dist/cdn/JFZABKV5.js +0 -4
- package/dist/cdn/JGE7H6EF.js +0 -4
- package/dist/cdn/JKF6DMWR.js +0 -4
- package/dist/cdn/JNLG6F4W.js +0 -4
- package/dist/cdn/JNMUGZK3.js +0 -4
- package/dist/cdn/JPL6PWCI.js +0 -4
- package/dist/cdn/JPZHUXDB.js +0 -4
- package/dist/cdn/JSDRL6ZD.js +0 -6
- package/dist/cdn/JZ5M3XFU.js +0 -4
- package/dist/cdn/K53JJQXH.js +0 -4
- package/dist/cdn/K73RVWFQ.js +0 -4
- package/dist/cdn/KC4VT3EZ.js +0 -4
- package/dist/cdn/KJUT6QHE.js +0 -18
- package/dist/cdn/KQ3W6U2O.js +0 -29
- package/dist/cdn/KSKCA47T.js +0 -4
- package/dist/cdn/KSRRTR4T.js +0 -4
- package/dist/cdn/KXTFN2PN.js +0 -4
- package/dist/cdn/KZGCFGXP.js +0 -385
- package/dist/cdn/L2KCAISR.js +0 -4
- package/dist/cdn/L4A7ZXML.js +0 -4
- package/dist/cdn/L7QPZ7RC.js +0 -89
- package/dist/cdn/LB6KC3G5.js +0 -4
- package/dist/cdn/LC5MX3Y5.js +0 -18
- package/dist/cdn/LFVIZYTM.js +0 -4
- package/dist/cdn/LGL4DYMW.js +0 -18
- package/dist/cdn/LHLMGRPK.js +0 -18
- package/dist/cdn/LJMZ6FUS.js +0 -4
- package/dist/cdn/LK4URP54.js +0 -4
- package/dist/cdn/LLTDCAVX.js +0 -18
- package/dist/cdn/LNB7BGSN.js +0 -5
- package/dist/cdn/LPLIW3W4.js +0 -18
- package/dist/cdn/LRQNOIGC.js +0 -4
- package/dist/cdn/LY6EPL2S.js +0 -4
- package/dist/cdn/LY7L2GZL.js +0 -18
- package/dist/cdn/LYCCIBXG.js +0 -4
- package/dist/cdn/MAJWJ4QY.js +0 -4
- package/dist/cdn/MBAMULPA.js +0 -4
- package/dist/cdn/MBZJ3EX7.js +0 -18
- package/dist/cdn/MFQXVNXI.js +0 -4
- package/dist/cdn/MFYT2IIR.js +0 -18
- package/dist/cdn/MGLOK6G6.js +0 -4
- package/dist/cdn/MGQ7JXPR.js +0 -4
- package/dist/cdn/MGWW6MPC.js +0 -4
- package/dist/cdn/MJW4C2UT.js +0 -4
- package/dist/cdn/MPAC6ACP.js +0 -4
- package/dist/cdn/MXVQWNSO.js +0 -4
- package/dist/cdn/MZKLKS6I.js +0 -4
- package/dist/cdn/N6QQZFT5.js +0 -4
- package/dist/cdn/NBOCMHX6.js +0 -4
- package/dist/cdn/ND2C6KMG.js +0 -18
- package/dist/cdn/NE6U33BE.js +0 -9
- package/dist/cdn/NHLT7M36.js +0 -21
- package/dist/cdn/NLUZGNSN.js +0 -4
- package/dist/cdn/NYBXXXFR.js +0 -4
- package/dist/cdn/OADOYFV7.js +0 -4
- package/dist/cdn/OBBAK6WE.js +0 -4
- package/dist/cdn/OBSNNREX.js +0 -4
- package/dist/cdn/OD3QTJAN.js +0 -4
- package/dist/cdn/OFNTBPZ5.js +0 -4
- package/dist/cdn/OJZCK5XA.js +0 -4
- package/dist/cdn/OTLPAZXI.js +0 -4
- package/dist/cdn/OTY43NZY.js +0 -18
- package/dist/cdn/OVM4U6YF.js +0 -4
- package/dist/cdn/OXUROQRO.js +0 -4
- package/dist/cdn/OYNJ6GFI.js +0 -4
- package/dist/cdn/P2ZBSU5H.js +0 -18
- package/dist/cdn/PFANUBNV.js +0 -4
- package/dist/cdn/PLW2DSVT.js +0 -4
- package/dist/cdn/PNLI6VBN.js +0 -4
- package/dist/cdn/PQFMMRQF.js +0 -4
- package/dist/cdn/PYOCFNFS.js +0 -4
- package/dist/cdn/PZCE22XQ.js +0 -4
- package/dist/cdn/PZH7RCYT.js +0 -4
- package/dist/cdn/Q274TR3Z.js +0 -18
- package/dist/cdn/Q5KPFPGD.js +0 -4
- package/dist/cdn/QAPZIGZM.js +0 -4
- package/dist/cdn/QAXMDQX3.js +0 -4
- package/dist/cdn/QFL5XFOY.js +0 -19
- package/dist/cdn/QKV74IV3.js +0 -18
- package/dist/cdn/QQ5C5WOS.js +0 -4
- package/dist/cdn/QSZDH2XJ.js +0 -4
- package/dist/cdn/QVDUABX7.js +0 -4
- package/dist/cdn/QZC5UTRX.js +0 -18
- package/dist/cdn/R474NPB2.js +0 -4
- package/dist/cdn/RCWPPZIY.js +0 -4
- package/dist/cdn/RF6B6MW7.js +0 -18
- package/dist/cdn/RLSD2M4U.js +0 -5
- package/dist/cdn/RN2IQ6P7.js +0 -4
- package/dist/cdn/ROASTLYA.js +0 -4
- package/dist/cdn/RQBPWWL2.js +0 -4
- package/dist/cdn/RQETMS6H.js +0 -4
- package/dist/cdn/RSTCU2L3.js +0 -4
- package/dist/cdn/RTNMZG5Q.js +0 -4
- package/dist/cdn/RXM4HJ6I.js +0 -4
- package/dist/cdn/S2BUTHI2.js +0 -4
- package/dist/cdn/S6Q334DO.js +0 -4
- package/dist/cdn/S7RSY7HH.js +0 -4
- package/dist/cdn/SB2P3KLH.js +0 -4
- package/dist/cdn/SBV7BWCP.js +0 -4
- package/dist/cdn/SIE6CDNG.js +0 -4
- package/dist/cdn/SKBIH7Z2.js +0 -4
- package/dist/cdn/SNTUWGY2.js +0 -18
- package/dist/cdn/SS34O6SJ.js +0 -4
- package/dist/cdn/SWN5VSPM.js +0 -8
- package/dist/cdn/SZAH6PQP.js +0 -18
- package/dist/cdn/T2S7EWB5.js +0 -4
- package/dist/cdn/T2ZLWCLC.js +0 -4
- package/dist/cdn/TCPVLIO2.js +0 -18
- package/dist/cdn/TGDGVXKT.js +0 -4
- package/dist/cdn/TNFKJE4M.js +0 -9
- package/dist/cdn/TO4XC5SF.js +0 -19
- package/dist/cdn/TPMHGYOD.js +0 -4
- package/dist/cdn/TTADVCT4.js +0 -4
- package/dist/cdn/TXTZQIXU.js +0 -4
- package/dist/cdn/TXV3OSVN.js +0 -18
- package/dist/cdn/U3NL7FT6.js +0 -4
- package/dist/cdn/U4JDQFDS.js +0 -4
- package/dist/cdn/U63ZSVX5.js +0 -4
- package/dist/cdn/U6X3W2T2.js +0 -4
- package/dist/cdn/UCXPZD52.js +0 -4
- package/dist/cdn/UG6Y6SUL.js +0 -4
- package/dist/cdn/UK6IC5E3.js +0 -4
- package/dist/cdn/UMBJBGPS.js +0 -4
- package/dist/cdn/UNZ4TB2U.js +0 -4
- package/dist/cdn/UQ33VZUS.js +0 -4
- package/dist/cdn/UU4ZDJVO.js +0 -4
- package/dist/cdn/V5UDKO3L.js +0 -4
- package/dist/cdn/VDJEIK4Q.js +0 -82
- package/dist/cdn/VE7TDW2K.js +0 -18
- package/dist/cdn/VNA2COY6.js +0 -4
- package/dist/cdn/VZLWG2KJ.js +0 -18
- package/dist/cdn/W34PKOJS.js +0 -4
- package/dist/cdn/W3EZRLCH.js +0 -18
- package/dist/cdn/W3X6SZND.js +0 -4
- package/dist/cdn/W7TKP6V5.js +0 -4
- package/dist/cdn/WAQDYC7I.js +0 -18
- package/dist/cdn/WL2HLYRG.js +0 -4
- package/dist/cdn/WMIGKGLJ.js +0 -20
- package/dist/cdn/WPRGEX3Q.js +0 -4
- package/dist/cdn/WQMZCCTG.js +0 -4
- package/dist/cdn/WRPJ4GDB.js +0 -4
- package/dist/cdn/WWT2VJFI.js +0 -18
- package/dist/cdn/WXCJRGZG.js +0 -18
- package/dist/cdn/X4XPW2FK.js +0 -4
- package/dist/cdn/X6PEX6MA.js +0 -18
- package/dist/cdn/X6PG67VX.js +0 -4
- package/dist/cdn/X6SSAB2E.js +0 -4
- package/dist/cdn/X6Y2CG22.js +0 -4
- package/dist/cdn/X7BDUXYU.js +0 -18
- package/dist/cdn/XAHRAKUG.js +0 -4
- package/dist/cdn/XBBZMVKA.js +0 -4
- package/dist/cdn/XHQ34X3G.js +0 -4
- package/dist/cdn/XIAOC6XW.js +0 -4
- package/dist/cdn/XIXNLRAQ.js +0 -4
- package/dist/cdn/XJ62F4NL.js +0 -4
- package/dist/cdn/XK5FC7XQ.js +0 -4
- package/dist/cdn/XQSYZIRC.js +0 -4
- package/dist/cdn/XRPPXHNC.js +0 -18
- package/dist/cdn/XXDPF2HK.js +0 -4
- package/dist/cdn/XYSEGG7Q.js +0 -4
- package/dist/cdn/XZSRLA3D.js +0 -4
- package/dist/cdn/Y3S2FSFT.js +0 -4
- package/dist/cdn/Y74KYB73.js +0 -4
- package/dist/cdn/YHURTADW.js +0 -4
- package/dist/cdn/YNNECUYO.js +0 -4
- package/dist/cdn/YO25MEEB.js +0 -4
- package/dist/cdn/YQNHBPTC.js +0 -4
- package/dist/cdn/Z44XX64I.js +0 -4
- package/dist/cdn/Z4SN7DKN.js +0 -4
- package/dist/cdn/ZAGSKRBT.js +0 -4
- package/dist/cdn/ZD7TFS7W.js +0 -18
- package/dist/cdn/ZHHNANTF.js +0 -18
- package/dist/cdn/ZHUFA7F3.js +0 -4
- package/dist/cdn/ZKTXJLE2.js +0 -4
- package/dist/cdn/ZRW2OJ4E.js +0 -18
- package/dist/cdn/ZUOIOELU.js +0 -18
- package/dist/cdn/ZWMQNYU4.js +0 -4
- package/dist/cdn/ZYJNP3QC.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/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/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
package/dist/cdn/VE7TDW2K.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import i from"./K73RVWFQ.js";import g from"./MGQ7JXPR.js";import e from"./U3NL7FT6.js";import a from"./FPWJ6PMO.js";import{a as b,c as I,d as A}from"./6O7OK3WU.js";import{b as h}from"./PZCE22XQ.js";import"./JSDRL6ZD.js";import"./X4XPW2FK.js";import"./F3UCVDZ2.js";import"./OVM4U6YF.js";import"./IRGSMHZ2.js";import"./FYDE2G2S.js";import"./NYBXXXFR.js";import"./SIE6CDNG.js";import"./QVDUABX7.js";import"./PYOCFNFS.js";import"./ECIK3AWG.js";import"./ROASTLYA.js";import"./Y3S2FSFT.js";import"./UCXPZD52.js";import"./UMBJBGPS.js";import"./XJ62F4NL.js";import"./6VLVWAKZ.js";import"./5BGGKOSZ.js";import"./JNMUGZK3.js";import"./HEQ4RTPP.js";import{k as w,l as T,o as v,p as u,q as x}from"./SS34O6SJ.js";import{a as f}from"./T2S7EWB5.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{b as S}from"./GDQKBGVU.js";import{E as C,h as m,i as d,j as y,o as c}from"./BXINC4TL.js";import"./7PM6K4BQ.js";export default $arcgis.t(([,{c:F},g,O])=>{var D=m`/** @license
|
|
5
|
-
* Copyright 2025 Esri
|
|
6
|
-
*
|
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
-
* you may not use this file except in compliance with the License.
|
|
9
|
-
* You may obtain a copy of the License at
|
|
10
|
-
*
|
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
-
*
|
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
-
* See the License for the specific language governing permissions and
|
|
17
|
-
* limitations under the License.
|
|
18
|
-
*/calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.2rem 1rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`,V=5,p=class extends C{constructor(){super(),this.sortType="relevance",this._cards=[],this._modifiedCheckTry=0,this._translations=f({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${u} OR ${x}`,this._allCards=[],this._authContextConsumer=h({context:I,subscribe:!0}),this._baseAgoTerms=u,this._categories=[],this._configContextConsumer=h({context:A,subscribe:!0,callback:async e=>{e&&await this._loadUpdateProcedures()}}),this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="relevance",this._sortOrder="desc",this._userSessionContextConsumer=h({context:b,subscribe:!0}),this.cardsFetched=c(),this.allCardsFetched=c(),this.searchTermSet=c(),this.listenOn(window,"deployProgressEnd",()=>{this._modifiedCheckTry=V,this._loadUpdateProcedures()}),this.listenOn(window,"solutionDeleted",()=>{this._modifiedCheckTry=V,this._loadUpdateProcedures()}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&(this.sortType=e.detail.sortType,this.searchSolutions(e.detail))})}static{this.properties={sortType:1,_cards:16,_modifiedCheckTry:16,_translations:16}}static{this.styles=D}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this._cards=await this._getSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit(e.searchTerm)),"sortType"in e&&this._sortCards(e))}render(){return d`<calcite-panel><calcite-card-group class="card-group" .label=${this._translations.allSolutionCards}>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this._cards.length?this._cards.map(e=>d`<solution-details-card .card=${e}></solution-details-card>`):d`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){if(this._configContextConsumer.value){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this._configContextConsumer.value?.primarySolutionsGroupId,"",this._userSessionContextConsumer.value,{num:1e3}),t=e?.cards.length?e.cards:[];if(this.sortType==="new"||this.sortType==="updated"){let s="/Categories/New Release";this.sortType==="updated"&&(s="/Categories/Updated"),t.sort((a,n)=>a.categories.includes(s)&&!n.categories.includes(s)?-1:!a.categories.includes(s)&&n.categories.includes(s)?1:a.categories.includes(s)&&n.categories.includes(s)?a.categories.length-n.categories.length:0)}else if(this.sortType==="suggested"&&this._relatedSolutions.size>0&&this._deployedSolutions?.cards?.length){let s=new Map;for(let i of t){let r=s.get(i.deployCommonId),l=Number(i.deployVersion);(!r||l>r)&&s.set(i.deployCommonId,l)}let a=this._deployedSolutions.cards.filter(i=>{let r=s.get(i.deployCommonId);return r!==void 0&&Number(i.deployVersion)>=r}),n=new Set(a.map(i=>i.deployCommonId));this._relatedSolutions=new Set([...this._relatedSolutions].filter(i=>!n.has(i))),t.sort((i,r)=>{let l=this._relatedSolutions.has(i.deployCommonId),_=this._relatedSolutions.has(r.deployCommonId);return l&&!_?-1:!l&&_?1:0})}let o=t.map(s=>{let a=s.categories.indexOf("/Categories/New Release")>-1,n=s.categories.indexOf("/Categories/Updated")>-1,i=!1,r=!0;return this._deployedSolutions&&(i=this._isSolutionDeployed(s.deployCommonId),r=this._isLatestVersion(s)),s.chip=a?"new":n?"updated":i&&r?"deployed":"none",s.supportReuse=i?!!(i&&!r):!0,s});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards,this._deployedSolutions&&(this._relatedSolutions=F(this._deployedSolutions.cards,this._allCards))),this.cardsFetched.emit(o.length),o}else return[]}async _loadUpdateProcedures(){let e=this._configContextConsumer.value;this._cardsFetcher=new g(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcherDeployed=new g(e.locale,e.orgUrl,e.portalUrl),await this._getDeployedSolutions(),this._cards=await this._getSolutions(),this.allCardsFetched.emit(this._cards)}async _getDeployedSolutions(){let e=this._authContextConsumer.value,t=this._userSessionContextConsumer.value;if(e&&t&&e.IsSignedIn){let o=await O(e,t,this._cardsFetcher,this._cardsFetcherDeployed,v,"created");if(o){if(this._modifiedCheckTry>0){if(this._deployedSolutions?.cards.length===o?.cards.length)return this._modifiedCheckTry--,await this._getDeployedSolutions();this._modifiedCheckTry=0}this._deployedSolutions=o}}}_getSolutionsBriefcase(){return d`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${y`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):t==="updated"&&(this._sortField="relevance"),this.sortType=t}_filterCards(e){this._categories=[],e.forEach(t=>{if(t.industry){let o=this._getIndustryValue(t.industry);if(t.domain){let s=this._getDomainValue(t.domain);this._categories.push(`/Categories/${o}/${s}`)}else this._categories.push(`/Categories/${o}`)}})}_getDomainValue(e){return T[e]}_getIndustryValue(e){return e==="AEC"?"AEC":w[e]}_clearFilterCategories(){this._categories=[]}_isSolutionDeployed(e){return!!this._deployedSolutions?.cards?.some(t=>t?.typeKeywords?.some(o=>o.includes("solutionid")&&o.includes(e)))}_isLatestVersion(e){let t=this._deployedSolutions?.cards?.filter(o=>o?.typeKeywords?.some(s=>s.includes("solutionid")&&s.includes(e.deployCommonId)));return!(t&&t.length>0&&t[0].deployVersion!==e.deployVersion)}};S("solutions-all-panel",p);return p},a,e,g,i)
|
package/dist/cdn/VNA2COY6.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
|
package/dist/cdn/VZLWG2KJ.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import{a as v}from"./6UNT5MUE.js";import{b as f}from"./PZCE22XQ.js";import{a as w,b as I,d as y}from"./XQSYZIRC.js";import"./SS34O6SJ.js";import"./XIAOC6XW.js";import{a as L}from"./T2S7EWB5.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{b as u}from"./GDQKBGVU.js";import{C as o,D as d,E as g,G as p,H as c,h as b,i as a,l,o as h,r as _}from"./BXINC4TL.js";import"./7PM6K4BQ.js";var $=b`@layer{/** @license
|
|
5
|
-
* Copyright 2025 Esri
|
|
6
|
-
*
|
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
-
* you may not use this file except in compliance with the License.
|
|
9
|
-
* You may obtain a copy of the License at
|
|
10
|
-
*
|
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
-
*
|
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
-
* See the License for the specific language governing permissions and
|
|
17
|
-
* limitations under the License.
|
|
18
|
-
*/:host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom: 0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}.popover-list{overflow:auto;width:250px}}`,m=class extends g{constructor(){super(),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.isMobile=!1,this.showOnlyUpdatableLayers=!1,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=!1,this.showTablesDisabled=!1,this.showSingleLayerAsLabel=!1,this.type="select",this.showLayersListInPopover=!1,this.referenceElement="",this.force=!1,this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=!1,this.ids=[],this.selectedName="",this._translations=L({name:"map-layer-picker",blocking:!0}),this.defaultLayerHonored=!1,this._layerSelectElement=o(),this._layerComboboxElement=o(),this._pnContextConsumer=f({context:v,subscribe:!0}),this._skipEditCheck=!1,this._popover=o(),this.beforeLayerSelectionChange=h(),this.idsFound=h(),this.noLayersFound=h(),this.layerSelectionChange=h(),this.listenOn(window,"mapChanged",this.mapChanged)}static{this.properties={appearance:1,defaultLayerId:1,display:1,enabledLayerIds:0,height:9,isMobile:5,mapView:0,showOnlyUpdatableLayers:5,placeholderIcon:1,selectedIds:0,scale:1,showTables:5,showTablesDisabled:5,showSingleLayerAsLabel:5,type:1,showLayersListInPopover:5,referenceElement:1,force:16,_hasMultipleLayers:16,_hasValidLayers:16,_isDropdownOpen:16,ids:16,selectedName:16,_translations:16}}static{this.styles=$}static{this.shadowRootOptions=_}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("type")&&(this._layerElement=this.type==="select"?this._layerSelectElement:this._layerComboboxElement),e.has("selectedIds")&&this.hasUpdated&&this.mapView&&(async()=>{let t=await y(this.mapView,this.selectedIds[0]);this.selectedName=t?.title??""})(),e.has("enabledLayerIds")&&this.hasUpdated&&this.enabledLayerIdsWatchHandler()}async enabledLayerIdsWatchHandler(){let e=this.selectedIds.length>0&&!this.enabledLayerIds.includes(this.selectedIds[0]),t=this.enabledLayerIds.some(i=>!this.ids.includes(i)),s=this.ids.toString()!==this.enabledLayerIds.toString();e?this.mapViewWatchHandler():(t||s)&&this._setLayers(),this._hasMultipleLayers=this.enabledLayerIds.length>1}async mapViewWatchHandler(){await this._setLayers(),this.ids?.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,await this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(e,t=!1){this._skipEditCheck=t,!t||t&&e!==this.selectedIds[0]?this._setSelectedLayer(e):t&&e===this.selectedIds[0]&&(this.force=!0,setTimeout(()=>{this.force=!1},10)),this._skipEditCheck=!1}async setLayerByIds(e,t=!1){this._skipEditCheck=t,this._layerSelectionChange(e),this._skipEditCheck=!1}async updateLayer(){await this._setSelectedLayer(this.ids[0])}async mapChanged(e){e.detail.isValid||(this._hasValidLayers=!1,this.noLayersFound.emit())}async load(){await this._setLayers(),this.ids?.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,await this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}render(){let e="map-layer-picker",t=this.height&&this.height>0&&!this.showLayersListInPopover?{height:`${this.height.toString()}px`}:{};return t={...t,display:this.display},a`<div class="map-layer-picker-container" style=${c(t)}><div class="map-layer-picker" style=${c(t)}>${this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():this.type==="combobox"?this._getCombobox(e):this.type==="select"?this._getSelect(e):this.showLayersListInPopover?this._getMapLayerPopOver():this._getDropdown(e):this._getInvalidPlaceholder()}</div></div>`}loaded(){if(this.ids?.length>0||this.selectedIds?.length===1){let e=this.selectedIds.length===1?this.selectedIds[0]:this.ids[0];this.type==="select"?this._layerElement.value&&(this._layerElement.value.value=e):this.type==="dropdown"&&(this.selectedName=this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e].name:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e].name:"")}this._popover.value?.addEventListener("calcitePopoverOpen",()=>{this.el.querySelector("calcite-dropdown-item[selected]")?.setFocus()})}_getMapLayerPopOver(){let e=this.height&&this.height>0?{"max-height":`${this.height.toString()}px`}:{};return a`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=left .referenceElement=${this.referenceElement} scale=s ${d(this._popover)}><div class=popover-list style=${c(e)}>${this._getMapLayerOptions()}</div></calcite-popover>`}_getInvalidPlaceholder(){return a`<div><calcite-notice class="height-100" icon=exclamation-mark-triangle id=no-valid-layers kind=danger open><div slot=message>${this._translations.noLayersFound}</div></calcite-notice><calcite-tooltip .label=${this._translations.enableEditUpdate} placement=bottom reference-element=no-valid-layers><span>${this._translations.enableEditUpdate}</span></calcite-tooltip></div>`}_getSingleLayerPlaceholder(){let e=this._getItemTypeIcon();return a`<div class="layer-picker-label-container cursor-default"><calcite-icon .icon=${e} scale=s></calcite-icon><calcite-label class="no-bottom-margin padding-start-1">${this.selectedName}</calcite-label></div>`}_getSelect(e){return a`<calcite-select id=${e??l} label @calciteSelectChange=${()=>this._layerSelectionChange()} .scale=${this.scale} ${d(this._layerElement)}>${this._getMapLayerOptions()}</calcite-select>`}_getCombobox(e){return a`<calcite-combobox clear-disabled id=${e??l} label @calciteComboboxChange=${()=>this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${d(this._layerElement)}>${this._getMapLayerOptions()}</calcite-combobox>`}_getDropdown(e){return a`<calcite-dropdown class="layer-picker-dropdown" @calciteDropdownBeforeClose=${()=>this._isDropdownOpen=!1} @calciteDropdownBeforeOpen=${()=>this._isDropdownOpen=!0}>${this.isMobile?this._getDropdownButton():this._getActionDropdownButton(e)}<calcite-dropdown-group selection-mode=single>${this._getMapLayerOptions()}</calcite-dropdown-group></calcite-dropdown>`}_getActionDropdownButton(e){return a`<calcite-action id=${e??l} slot=trigger text>${this._getDropdownButton()}</calcite-action>`}_getDropdownButton(){let e=this._getItemTypeIcon(),t=this.isMobile?"":"max-width-350",s=this.isMobile?"trigger":"",i=this._isDropdownOpen?"chevron-up":"chevron-down";return a`<calcite-button alignment=icon-end-space-between .appearance=${this.appearance} class=${p(t)} .iconEnd=${i} .iconStart=${e} kind=neutral slot=${s??l} width=full><div>${this.selectedName}</div></calcite-button>`}_getItemTypeIcon(){let e="layers";if(this.selectedIds.length>0&&this._layerNameHash){let t=this.selectedIds[0];e=Object.keys(this._layerNameHash).indexOf(t)>-1?"layers":"table"}return e}_getMapLayerOptions(){return this.ids.reduce((e,t)=>(this._validLayer(t)?e.push(this._getItem(t,"layer")):this._validTable(t)&&e.push(this._getItem(t,"table")),e),[])}_getItem(e,t){let s=t==="layer"&&this._layerNameHash?this._layerNameHash[e]:this._tableNameHash?this._tableNameHash[e]:void 0,i=this.showOnlyUpdatableLayers?s&&!s.supportsUpdate:!1,r=s?.name,n=this.selectedIds.indexOf(e)>-1;return this.type==="combobox"?a`<calcite-combobox-item .disabled=${i} .selected=${n} .textLabel=${r} .value=${e}></calcite-combobox-item>`:this.type==="select"?a`<calcite-option .disabled=${i} .label=${r} .selected=${n} .value=${e}></calcite-option>`:this.force&&n||!this.force?a`<calcite-dropdown-group class=${p(i?"disabled":"")} id=${r??l} .selectionMode=${i?"none":"single"}><calcite-dropdown-item .disabled=${!!(t==="table"&&this.showTablesDisabled)} .iconStart=${t} @click=${i?void 0:()=>void this._setSelectedLayer(e)} .selected=${n}>${r}</calcite-dropdown-item></calcite-dropdown-group>`:null}async _setSelectedLayer(e){if(e!==this.selectedIds[0]){let t;if(this.defaultLayerId&&!this.defaultLayerHonored&&(t=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=t!==void 0,e=this.defaultLayerHonored?this.defaultLayerId:e),t=t||this._getLayerFromHash(e),!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:e,ref:this.el}).defaultPrevented)return;this.selectedName=t?.name,this.selectedIds=[e],this._popover.value&&(this._popover.value.open=!1),this.layerSelectionChange.emit(this.selectedIds)}else{let t=this.mapView&&await y(this.mapView,this.selectedIds[0]);this.selectedName=t?.title||""}}_getLayerFromHash(e){return this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e]:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();let e=[];this._layerNameHash&&(e=this.showOnlyUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash));let t=[];this._tableNameHash&&(t=this.showTables?this.showOnlyUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[]);let s=[...e.reverse(),...t.reverse()];this.ids=this.enabledLayerIds.length>0?this.enabledLayerIds.filter(i=>s.includes(i)):s,this.idsFound.emit({layerIds:e,tableIds:t})}}_getEditableIds(e){return Object.keys(e).filter(t=>e[t].supportsUpdate)}async _initLayerTableHash(){this._layerNameHash=this.mapView&&await w(this.mapView,this.showOnlyUpdatableLayers),this._tableNameHash=this.showTables&&this.mapView?await I(this.mapView,this.showOnlyUpdatableLayers):{}}_validLayer(e){let t=this._pnContextConsumer.value,s=this._layerNameHash&&this._layerNameHash[e]?.name;return s!==void 0&&Object.keys(t?.managedLayers||[]).indexOf(s)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0)}_validTable(e){let t=this._pnContextConsumer.value,s=this._tableNameHash&&this._tableNameHash[e]?.name,i=s&&this.showTables;return i?(t?.managedTables||[]).indexOf(s)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0):i!==void 0}_layerSelectionChange(e){if(this._layerElement.value){let t=e||(Array.isArray(this._layerElement.value.value)?this._layerElement.value.value:[this._layerElement.value.value]);if(JSON.stringify(t)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:t,ref:this.el}).defaultPrevented)return;this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds)}}}};u("map-layer-picker",m);export{m as MapLayerPicker};
|
package/dist/cdn/W34PKOJS.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import"./7PM6K4BQ.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};
|
package/dist/cdn/W3EZRLCH.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import b from"./FPWJ6PMO.js";import{a as y}from"./6O7OK3WU.js";import{b as T}from"./PZCE22XQ.js";import{pb as x,qb as $}from"./JSDRL6ZD.js";import"./X4XPW2FK.js";import"./F3UCVDZ2.js";import"./OVM4U6YF.js";import"./IRGSMHZ2.js";import"./FYDE2G2S.js";import"./NYBXXXFR.js";import"./SIE6CDNG.js";import"./QVDUABX7.js";import"./PYOCFNFS.js";import"./ECIK3AWG.js";import"./ROASTLYA.js";import"./Y3S2FSFT.js";import"./UCXPZD52.js";import"./UMBJBGPS.js";import"./XJ62F4NL.js";import"./6VLVWAKZ.js";import"./5BGGKOSZ.js";import"./JNMUGZK3.js";import"./HEQ4RTPP.js";import{H as _}from"./SS34O6SJ.js";import{a as g}from"./T2S7EWB5.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{b as m}from"./GDQKBGVU.js";import{C as d,D as c,E as f,G as n,h,i as a,o as r}from"./BXINC4TL.js";import"./7PM6K4BQ.js";export default $arcgis.t(([{d:p}])=>{var N=h`/** @license
|
|
5
|
-
* Copyright 2025 Esri
|
|
6
|
-
*
|
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
-
* you may not use this file except in compliance with the License.
|
|
9
|
-
* You may obtain a copy of the License at
|
|
10
|
-
*
|
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
-
*
|
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
-
* See the License for the specific language governing permissions and
|
|
17
|
-
* limitations under the License.
|
|
18
|
-
*/.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.font-weight-medium{font-weight:var(--calcite-font-weight-medium)}.font-style-1{font-size:1rem;color:var(--calcite-color-text-2)}.margin-top-0{margin-top:0}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-2{padding-bottom:2rem}.padding-left-2{padding-left:2rem}.padding-right-2{padding-right:2rem}.padding-top-2{padding-top:2rem}.padding-end-1{padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.width-full{width:100%}.justify-content-space{justify-content:space-between}`,u=class extends f{constructor(){super(...arguments),this.open=!1,this.templateInfos=[],this._saveDisabled=!1,this._displayTemplateInfos=[],this._hasNameLengthError=!1,this._solutionItemsTitlesUpdating=!1,this._translations=g({name:"solution-configure-titles",blocking:!0}),this._prefixRef=d(),this._prefixValue="",this._suffixRef=d(),this._suffixValue="",this._userSessionContextConsumer=T({context:y,subscribe:!0}),this.solutionConfigureTitlesBeforeClose=r(),this.solutionItemsTitlesChanged=r()}static{this.properties={card:0,open:5,templateInfos:0,_saveDisabled:16,_displayTemplateInfos:16,_hasNameLengthError:16,_solutionItemsTitlesUpdating:16,_translations:16}}static{this.styles=N}willUpdate(i){i.has("templateInfos")&&this._updateTemplates()}load(){this._updateTemplates()}render(){return a`<calcite-dialog .heading=${this.card.title} modal @calciteDialogBeforeClose=${()=>{this.solutionConfigureTitlesBeforeClose.emit()}} .open=${this.open} outside-close-disabled width=l>${this._getPrefixSuffixControls()}${this._getAccordion()}${this._getDialogButtons()}</calcite-dialog>`}_getPrefixSuffixControls(){let i=p(this._prefixValue),s=this._hasNameLengthError&&this._prefixValue.length>0,e=!i,t=!s,I=e?"display-none":"",v=t?"display-none":"",b=e&&t?"valid":"invalid",C=p(this._suffixValue),w=this._hasNameLengthError&&this._suffixValue.length>0,l=!C,o=!w,S=l?"display-none":"",L=o?"display-none":"",E=l&&o?"valid":"invalid";return this._saveDisabled=!e||!t||!l||!o,a`<div class="display-flex flex-direction-column padding-left-2 padding-right-2"><calcite-label scale=l class="font-weight-medium">${this._translations.configureTitlesDialogHeader}</calcite-label><p class="font-style-1 margin-top-0">${this._translations.addPrefixOrSuffixToItems}</p><div class="display-flex flex-direction-row justify-content-space"><calcite-label class="width-full padding-end-1" scale=l>${this._translations.prefixToAddToItems}<calcite-input @input=${this._prefixInput} .placeholder=${this._translations.enterPrefixPlaceholder} .status=${b} ${c(this._prefixRef)}></calcite-input><calcite-input-message class=${n(I)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixCharsError}</calcite-input-message><calcite-input-message class=${n(v)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixLengthError}</calcite-input-message></calcite-label><calcite-label class="width-full" scale=l>${this._translations.suffixToAddToItems}<calcite-input @input=${this._suffixInput} .placeholder=${this._translations.enterSuffixPlaceholder} .status=${E} ${c(this._suffixRef)}></calcite-input><calcite-input-message class=${n(S)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixCharsError}</calcite-input-message><calcite-input-message class=${n(L)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixLengthError}</calcite-input-message></calcite-label></div></div>`}_getAccordion(){return a`<div class="display-flex flex-direction-column padding-left-2 padding-right-2 padding-bottom-2"><p class="font-style-1 margin-top-0">${this._translations.previewTheChanges}</p><solution-item-accordion .templateInfos=${this._displayTemplateInfos} .typeKeywords=${this.card?.typeKeywords}></solution-item-accordion></div>`}_getDialogButtons(){return a`<div slot=footer-end><calcite-button appearance=outline class="padding-end-1-2" kind=brand @click=${this._closeDialog}>${this._translations.cancelTheDialog}</calcite-button><calcite-button .disabled=${this._saveDisabled} kind=brand .loading=${this._solutionItemsTitlesUpdating} @click=${this._commitNameChanges}>${this._translations.applyChangesAndCloseTheDialog}</calcite-button></div>`}_prefixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._prefixValue=this._prefixRef.value?.value||"",this._updateTemplates()},500)}_suffixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._suffixValue=this._suffixRef.value?.value||"",this._updateTemplates()},500)}_updateTemplates(){let i=/[^\s\\]/.test(this._prefixValue),s=/[^\s\\]/.test(this._suffixValue),e=JSON.parse(JSON.stringify(this.templateInfos));this._hasNameLengthError=!1,this._displayTemplateInfos=e.map(t=>(t.title=i&&s?`${`${this._prefixValue} `}${t.title}${` ${this._suffixValue}`}`:i?`${`${this._prefixValue} `}${t.title}`:s?`${t.title}${` ${this._suffixValue}`}`:t.title,this._hasNameLengthError||(this._hasNameLengthError=t.title.length>_),t))}_closeDialog(){this.open=!1}async _commitNameChanges(){if(JSON.stringify(this.templateInfos)!==JSON.stringify(this._displayTemplateInfos)){this._solutionItemsTitlesUpdating=!0;let i=this._displayTemplateInfos.reduce((s,e)=>{let t={id:e.id,title:e.title};return s.push(e.type==="Group"?$(t,this._userSessionContextConsumer.value):x(t,this._userSessionContextConsumer.value)),s},[]);await Promise.all(i),this._solutionItemsTitlesUpdating=!1,this.solutionItemsTitlesChanged.emit()}this._closeDialog()}};m("solution-configure-titles",u);return u},b)
|
package/dist/cdn/W3X6SZND.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import{a as n}from"./VNA2COY6.js";import{a as s}from"./25LMHUAF.js";import"./QVDUABX7.js";import"./PYOCFNFS.js";import"./ECIK3AWG.js";import"./ROASTLYA.js";import{a as r,b as a}from"./5RUH4EFW.js";import"./PQFMMRQF.js";import"./Y3S2FSFT.js";import"./UCXPZD52.js";import{a as o}from"./UU4ZDJVO.js";import{a as i}from"./KSRRTR4T.js";import"./UMBJBGPS.js";import"./XJ62F4NL.js";import"./6VLVWAKZ.js";import"./5BGGKOSZ.js";import"./JNMUGZK3.js";import"./FUHNVQ4J.js";import"./22IZH5VL.js";import"./7BJFXFUH.js";import"./U63ZSVX5.js";import"./IMCXSNGQ.js";import"./MGLOK6G6.js";import"./RSTCU2L3.js";import"./522BPYLF.js";import"./HEQ4RTPP.js";import"./EAJPSM6R.js";import"./XYSEGG7Q.js";import"./E45HXI25.js";import"./LB6KC3G5.js";import"./XXDPF2HK.js";import"./OTLPAZXI.js";import"./OFNTBPZ5.js";import"./ZWMQNYU4.js";import"./5EYMLB42.js";import"./RN2IQ6P7.js";import"./RQETMS6H.js";import"./LFVIZYTM.js";import"./JKF6DMWR.js";import"./XIXNLRAQ.js";import"./7PM6K4BQ.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
|
package/dist/cdn/W7TKP6V5.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
var e="WNufTOT96eMYwAik",a="https://www.arcgis.com",o="8f741b82179543fe884bed012dd5f049",s="1d3a7ed66deb47269beea05ff9afd4c1",d="solutions-deployment-first-use",r={name:"solution-deployment-app",version:"1.0",dev:{amazon:{userPoolID:"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",app:{id:"7e2fd97553644e5f99b1129fbcee3c2e"}}},qa:{amazon:{userPoolID:"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",app:{id:"a3beba911bd14847ada5c9ffed2a2111"}}},prod:{amazon:{userPoolID:"us-east-1:8c41b2dc-7563-403d-ba64-673b103debce",app:{id:"35a920e0e7f84680be076e57dd5cb728"}}}},t={appId:e,portalURL:a,primarySolutionsGroupId:o,agoBasedEnterpriseSolutionsGroupId:s,consoleMessageLevel:1,cookiesFirstUseVar:d,isRTL:!1,locale:"en",forceTrackingEnv:"dev",trackingEnabled:!0,telemetry:r},n=Object.freeze(Object.defineProperty({__proto__:null,agoBasedEnterpriseSolutionsGroupId:s,appId:e,consoleMessageLevel:1,cookiesFirstUseVar:d,default:t,forceTrackingEnv:"dev",isRTL:!1,locale:"en",portalURL:a,primarySolutionsGroupId:o,telemetry:r,trackingEnabled:!0},Symbol.toStringTag,{value:"Module"}));export{e as a,n as b};
|
package/dist/cdn/WAQDYC7I.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import{b as S}from"./FF2RFQ4J.js";import{c as g}from"./6O7OK3WU.js";import{b as u}from"./PZCE22XQ.js";import{m as a}from"./SS34O6SJ.js";import{a as d}from"./T2S7EWB5.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{b as p}from"./GDQKBGVU.js";import{E as h,I as n,h as c,i as o,o as r}from"./BXINC4TL.js";import"./7PM6K4BQ.js";var m=c`/** @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
|
-
*/.toolbar-sizing{padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.flex-row{display:flex;flex-direction:row}.flex-grow-1{flex-grow:1}calcite-input-text{--calcite-color-focus: transparent}calcite-dropdown{--calcite-color-focus: transparent}`,l=class extends h{constructor(){super(),this.defaultSortType="relevance",this.isOrgSolutions=!1,this.isMobile=!1,this._activeSearchSortSettings=[{scope:"all-solutions",settings:{enabled:!0,isOrgSolutions:!1,searchTerm:"",sortType:"relevance"}},{scope:"my-deployments",settings:{enabled:!0,isOrgSolutions:!1,searchTerm:"",sortType:"created"}}],this._isOrgAdmin=!1,this._translations=d({name:"solutions-searchsort-toolbar",blocking:!0}),this._authContextConsumer=u({context:g,subscribe:!0}),this.searchChanged=r(),this.sortTypeChanged=r(),this.listenOn(window,"deployAppTabSelected",t=>{let e=t.detail;this.scope=e}),this.listenOn(window,"detailsCardSelected",()=>{this.scope=void 0})}static{this.properties={defaultSortType:[0,{type:String,attribute:"default-sort-type"}],isOrgSolutions:5,isMobile:5,scope:1,_activeSearchSortSettings:16,_isOrgAdmin:16,_translations:16}}static{this.styles=m}changeOwnerFilter(t){this.isOrgSolutions=!t,this._activeSearchSortSettings=this._activeSearchSortSettings.map(s=>s.scope===this.scope?{...s,settings:{...s.settings,isOrgSolutions:this.isOrgSolutions}}:s);let e={displayValue:this.isOrgSolutions?this._translations.myOrgSolutions:this._translations.mySolutions,type:"owner",value:this.isOrgSolutions?a.ORGANIZATION:a.OWNER};this.searchChanged.emit({option:e,scope:this.scope})}changeSearchFilter(t,e){this._activeSearchSortSettings=this._activeSearchSortSettings.map(s=>s.scope===this.scope?{...s,settings:{...s.settings,searchTerm:t}}:s),e&&this.searchChanged.emit({option:{searchTerm:t},scope:this.scope})}sortChanged(t){this._activeSearchSortSettings=this._activeSearchSortSettings.map(e=>e.scope===this.scope?{...e,settings:{...e.settings,sortType:t}}:e),this.sortTypeChanged.emit({sortType:t,scope:this.scope})}willUpdate(){console.warn("TODO need to update string after release in t9manifest"),this._authContextConsumer.value&&this._authContextConsumer.value.IsSignedIn!==this._isOrgAdmin&&(this._isOrgAdmin=S(this._authContextConsumer.value))}render(){let t=this.scope==="all-solutions"||this.scope==="my-deployments",e=t?this._getCurrentScopeSetting():void 0;return t?o`<div class="flex-row toolbar-sizing"><calcite-input-text class="flex-grow-1" clearable icon=search @keyup=${s=>{let i=s.target;s.key==="Enter"?this.changeSearchFilter(i.value,!0):this.changeSearchFilter(i.value,i.value.length>=3||i.value.length===0)}} @blur=${s=>{let i=s.target;this.changeSearchFilter(i.value,!0)}} .placeholder=${this._translations.search.solutions} scale=l slot=content-top .value=${e?.searchTerm}></calcite-input-text>${this.scope==="my-deployments"&&this._isOrgAdmin&&this._renderOwnerBlock()||""}${this._renderDropdown()}</div>`:""}_renderOwnerBlock(){return o`<calcite-dropdown width=m overlay-positioning=fixed><calcite-button appearance=outline-fill class="header-button-padding" .iconStart=${this.isOrgSolutions?"organization":"user"} kind=neutral slot=trigger>${this.isMobile?"":this.isOrgSolutions?this._translations.myOrgSolutions:this._translations.mySolutions}</calcite-button><calcite-dropdown-group group-title=${this._translations.owner??n}><calcite-dropdown-item icon-start=user @click=${()=>{this.changeOwnerFilter(!0)}} .selected=${!this.isOrgSolutions}>${this._translations.mySolutions}</calcite-dropdown-item><calcite-dropdown-item icon-start=organization @click=${()=>{this.changeOwnerFilter(!1)}} .selected=${this.isOrgSolutions}>${this._translations.myOrgSolutions}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}_renderDropdown(){let t=[];t=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"}],this.scope==="my-deployments"?t.push({displayValue:this._translations.sortByDateDeployed,sortType:"created"}):(t.push({displayValue:this._translations.sortByNew,sortType:"new"}),t.push({displayValue:this._translations.sortByUpdated,sortType:"updated"}),this._authContextConsumer.value&&this._authContextConsumer.value.IsSignedIn&&t.push({displayValue:this._translations.sortBySuggestedForYou,sortType:"suggested"}));let e=this._getCurrentScopeSetting();return o`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(e.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??n}>${t.map(s=>this._getDropdownItem(s.displayValue,s.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(t,e){return this._getCurrentScopeSetting().sortType!==e?o`<calcite-dropdown-item @click=${()=>this.sortChanged(e)}>${t}</calcite-dropdown-item>`:o`<calcite-dropdown-item @click=${()=>this.sortChanged(e)} selected>${t}</calcite-dropdown-item>`}_getString(t){let e="";switch(t){case"new":e=this._translations.sortByNew;break;case"relevance":e=this._translations.sortByRelevance;break;case"suggested":e=this._translations.sortBySuggestedForYou;break;case"title":e=this._translations.sortByTitle;break;case"updated":e=this._translations.sortByUpdated;break;case"created":e=this._translations.sortByDateDeployed;break}return e}_getCurrentScopeSetting(){return this._activeSearchSortSettings.filter(t=>t.scope===this.scope)[0].settings}};p("solutions-searchsort-toolbar",l);export{l as SolutionsSearchSortToolbar};
|
package/dist/cdn/WL2HLYRG.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import"./7PM6K4BQ.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};
|
package/dist/cdn/WMIGKGLJ.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import{$ as bt,$a as rr,$b as Vr,A as It,Aa as vo,Ab as wr,B as pe,Ba as Fo,C,Ca as Nt,Cb as xr,D as gt,Da as Lt,Db as Sr,E as Ke,Ea as ue,Eb as Er,F as xe,Fa as Oo,Fb as br,G as x,Ga as $t,Gb as re,H as xo,Ha as Vt,Hb as Tr,I as ht,Ia as Bt,Ib as vr,J as f,Ja as zt,Jb as Fr,K as yt,Ka as Gt,Kb as Or,La as jt,Lb as _r,M as Se,Ma as Kt,Mb as Rr,N as E,Na as Ht,Nb as kr,O as Ee,Oa as qt,Ob as Ar,P as Pt,Pa as Jt,Pb as Cr,Q as So,Qa as Dt,Qb as Mr,R as Eo,Ra as Zt,Rb as Ur,S as He,Sa as Qt,Sb as Wr,T as H,Ta as Yt,Tb as Nr,U as wt,Ua as _o,Ub as Lr,V as xt,Va as Qe,Vb as $r,W as St,Wa as Xt,Wb as Ao,X as B,Xa as er,Xb as Xe,Y as Et,Ya as or,Yb as Co,Z as G,Za as te,Zb as Te,_ as qe,_a as tr,_b as eo,a as Ue,aa as bo,ab as nr,ac as Br,ba as oe,bb as sr,c as N,ca as w,cb as ir,cc as zr,d as X,da as T,db as mr,dc as Gr,e as ct,ea as Z,eb as ar,ec as jr,f as ie,fa as Je,fb as cr,ga as Tt,gb as dr,gc as Kr,h as u,ha as vt,hb as pr,i as Po,ia as To,ib as be,j as me,ja as Ft,jb as _,jc as Hr,k as $e,ka as Ot,kb as Ye,kc as ve,l as ce,la as _t,lc as oo,m as Ve,ma as Rt,mc as to,n as Be,na as kt,nb as fr,nc as qr,o as wo,oa as At,ob as ur,oc as ro,p as pt,pa as A,pb as z,pc as Jr,q as ze,qa as fe,qb as lr,r as ft,ra as q,rb as le,s as Ge,sb as J,t as je,ta as De,tb as Ir,u as ee,ua as Ze,ub as Ro,va as Ct,vb as gr,w as de,wb as ko,x as ut,xa as Mt,xb as hr,y as g,ya as Ut,yb as yr,z as lt,za as Wt,zb as Pr}from"./JSDRL6ZD.js";import{a as ae,g as we}from"./OVM4U6YF.js";import{a as L}from"./NYBXXXFR.js";import{a as K,b as We,c as Ne,d as Le}from"./ECIK3AWG.js";import{e as j,f as mt,j as Ae,l as Ce,o as at,s as Me}from"./UMBJBGPS.js";import{a as it}from"./XJ62F4NL.js";import{a as dt}from"./5BGGKOSZ.js";import{a as V}from"./JNMUGZK3.js";import{c as W}from"./7PM6K4BQ.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};
|
package/dist/cdn/WPRGEX3Q.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import{a,b}from"./EAJPSM6R.js";import"./RN2IQ6P7.js";import"./RQETMS6H.js";import"./LFVIZYTM.js";import"./JKF6DMWR.js";import"./XIXNLRAQ.js";import"./7PM6K4BQ.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
package/dist/cdn/WQMZCCTG.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import{a,b}from"./OTLPAZXI.js";import"./RQETMS6H.js";import"./LFVIZYTM.js";import"./JKF6DMWR.js";import"./7PM6K4BQ.js";export{a as TemplateEditorTypes,b as TemplateSchema};
|
package/dist/cdn/WRPJ4GDB.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import"./7PM6K4BQ.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
|
package/dist/cdn/WWT2VJFI.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import{a}from"./T2S7EWB5.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{b as r}from"./GDQKBGVU.js";import{E as n,I as e,h as t,i as s}from"./BXINC4TL.js";import"./7PM6K4BQ.js";var o=t`/** @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
|
-
*/.height-full{height:100%}`,i=class extends n{constructor(){super(),this.href="",this.heading="",this._translations=a({name:"solutions-article-panel",blocking:!0}),this.listenOn(window,"articleCardSelected",this._cardSelected)}static{this.properties={href:1,heading:1,_translations:16}}static{this.styles=o}render(){return s`<calcite-panel><iframe class="height-full" src=${this.href??e} title=${this.heading??e}></iframe></calcite-panel>`}_cardSelected(l){this.href=l.detail}};r("solutions-article-panel",i);export{i as SolutionsArticlePanel};
|
package/dist/cdn/WXCJRGZG.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import{a as y}from"./T2S7EWB5.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{b as u}from"./GDQKBGVU.js";import{D as f,E as b,h as p,i as m}from"./BXINC4TL.js";import"./7PM6K4BQ.js";var v=p`/** @license
|
|
5
|
-
* Copyright 2025 Esri
|
|
6
|
-
*
|
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
-
* you may not use this file except in compliance with the License.
|
|
9
|
-
* You may obtain a copy of the License at
|
|
10
|
-
*
|
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
-
*
|
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
-
* See the License for the specific language governing permissions and
|
|
17
|
-
* limitations under the License.
|
|
18
|
-
*/.height-51{height:51px}.width-51{width:51px}`,h=class extends b{constructor(){super(),this._translations=y({name:"field-selection",blocking:!0}),this._fieldSortOrder="default",this._selectedFields=[],this._fieldVisibilityPopoverClickHandler=i=>{this._fieldVisibilityPopoverNode?this._isInNode(i.target,"arcgis-field-pick-list")||(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0,document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)):document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)},this.listenOn(window,"columnReorder",this.handleColumnReorder,{capture:!0})}static{this.properties={configExtraFields:1,layer:0,mapView:0,table:0,tableRef:0,_translations:16}}static{this.styles=v}render(){return m`<calcite-action class="height-51 width-51" id=solutions-field-selection .text=${this._translations.fieldVisibility} scale=m @click=${()=>this._handleFieldVisibilityClick()} @mouseover=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} @mouseout=${()=>this._removeTableTooltip()} @focus=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} ${f(i=>this._fieldVisibilityActionNode=i)}><calcite-icon scale=s icon=gear></calcite-icon></calcite-action>`}handleColumnReorder(){this._fieldSortOrder="default",this._fieldVisibilityPopoverNode&&(this.removeFieldsPickList(),this._handleFieldVisibilityClick())}_handleFieldVisibilityClick(){if(this._fieldVisibilityPopoverNode)return;let i=this.table?.tableTemplate?.columnTemplates;if(this.layer&&this.mapView&&i&&this._fieldVisibilityActionNode){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler);let t=this.table.fieldColumns.map(s=>({alias:s.field.alias,description:s.field.description,name:s.field.name,type:s.field.type}));if(this._hasAttachmentsEnabled(this.layer)){let s="Attachments";if(this._shouldShowField(s.toUpperCase(),!1)){if(!i.some(l=>l.fieldName.toUpperCase()===s.toUpperCase())){let l={fieldName:s,type:"attachment",visible:!0};i.push(l)}t.push({name:s,alias:"Photos and files",type:"none",description:s})}}if(this.table.relatedRecordsEnabled&&this.layer.relationships&&this.layer.relationships.length>0){let s=this.layer.parent;this.layer.relationships.forEach(l=>{let o,n=this._shouldShowField(l.name||"",!0);if(!i.some(a=>a.fieldName.toLowerCase()===l.name?.toLowerCase()?(o=l.name,!0):!1))if(l.name){o=l.name;let a={fieldName:o,type:"relationship",visible:!0};n=this._shouldShowField(o,!0),i.push(a)}else{let a=[...s?.layers||[],...s?.tables],c;if(a.some(d=>d.layerId===l.relatedTableId?(c=d,!0):!1),c){o=c.title,l.name=o;let d={fieldName:o,type:"relationship",visible:!0};n=this._shouldShowField(o,!0),i.push(d)}}o&&n&&t.push({name:o,alias:`Related ${o}`,type:"none",description:`related:${o}`})})}let e=this._fieldVisibilityPopoverNode?this._fieldVisibilityPopoverNode:document.createElement("arcgis-field-pick-list");e.layer=this.layer,e.fields=t,e.showFieldInfo=!0,e.showFieldName=!0,e.showDescription=!1,e.showSelectionAll=!0,e.hideCancel=!0,e.hideSort=!1,e.showFilterLength=5,e.multiple=!0,e.heading=this._translations.fieldVisibility,e.okBtnText=this._translations.doneWithFieldChanges,e.filterPlaceholderText=this._translations.filterFields,e.sortBy=this._fieldSortOrder??"default";let r=this.table?.visibleColumns.map(s=>s.fieldName.startsWith("EsriFeatureTableRelationshipColumn")||s.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")?s.effectiveLabel:s.fieldName);e.selectedFields=i.reduce((s,l)=>((r?r.indexOf(l.fieldName)>-1:l.visible)&&s.push(l.fieldName),s),[]),this._selectedFields=e.selectedFields,e.style.minHeight="340px",e.popoverProps={refElement:this._fieldVisibilityActionNode,popoverWidth:300,placement:"bottom-end",offsetDistance:-20,triggerDisabled:!1,autoClose:!1},e.addEventListener("arcgisChange",s=>{s.stopPropagation();let l=s.detail.selectedFields,o=this._getDifference(l,this._selectedFields),n=this._getDifference(this._selectedFields,l);o.concat(n).forEach(a=>{let c=this.layer?.relationships?.map(d=>d.name)||[];if(a==="Attachments"){let d=this.table.columns.find(_=>"onShowAttachments"in _);d.hidden=n.indexOf(a)>-1}else c.indexOf(a)>-1?this.table.columns.filter(d=>"relationshipId"in d).forEach(d=>{n.indexOf(a)>-1,a==d.effectiveLabel&&(d.hidden=n.indexOf(a)>-1)}):this.table.toggleColumnVisibility(a)}),this._selectedFields=l,this._updateTable(this.table.tableTemplate)}),e.addEventListener("arcgisSortByChange",s=>{s.stopPropagation(),this._fieldSortOrder=s.detail,this._sortFields(s.detail)}),e.addEventListener("arcgisClose",()=>{this._closePopovers(),setTimeout(()=>this._fieldVisibilityActionNode.setFocus(),200)}),document.body.appendChild(e),this._fieldVisibilityPopoverNode=e,setTimeout(()=>document.addEventListener("click",this._fieldVisibilityPopoverClickHandler),200)}}_shouldShowField(i,t){return(this.configExtraFields||[]).some(e=>t?e.replace("related:","").toUpperCase()===i.toUpperCase():e.toUpperCase()===i.toUpperCase())}removeFieldsPickList(){this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_sortFields(i){let t=this.table.tableTemplate.columnTemplates,e=this._getSortOrder(i),r=t.filter(l=>l.type!=="attachment"&&l.type!=="relationship").sort((l,o)=>{let n=e.indexOf(l.fieldName),a=e.indexOf(o.fieldName);return n===-1&&a!==-1?1:n!==-1&&a===-1?-1:n===-1&&a===-1?0:n-a}),s=t.filter(l=>l.type==="attachment"||l.type==="relationship");this.tableRef.setColumnOrder([...r,...s]),this._updateTable(this.table.tableTemplate)}_getSortOrder(i){let t=[...this.layer.fields];return i==="display"?t.sort((e,r)=>e.alias.localeCompare(r.alias)):i==="field"?t.sort((e,r)=>e.name.localeCompare(r.name)):i==="type"&&t.sort((e,r)=>e.type.localeCompare(r.type)),t.map(e=>e.name)}_getDifference(i,t){return i.filter(e=>!t.includes(e))}_updateTable(i){this.table.tableTemplate=i,this._isStandardView()&&this._syncAttributeTableTemplate()}async _syncAttributeTableTemplate(){let i=this.table.layer;if(i.attributeTableTemplate){let{_modules:t}=this,e=i.attributeTableTemplate.clone();t?.attributeTableTemplateUtils.syncAttributeTableTemplate(this.table,e),JSON.stringify(e)!==JSON.stringify(i.attributeTableTemplate)&&(i.attributeTableTemplate=e)}if(i.attributeTableTemplate?.orderByFields?.length>1){let t=i.attributeTableTemplate.clone(),e=this.table.activeSortOrders[0];t.orderByFields=[{field:e.fieldName,order:e.direction}],i.attributeTableTemplate=t,this._syncColumnDirectionsWithOrderByFields()}}_syncColumnDirectionsWithOrderByFields(){let i=this.table.activeSortOrders[0]?.fieldName;this.table.columns.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)}),this.table.tableTemplate?.columnTemplates.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)})}_isStandardView(){return!this.table.relatedTable&&!this.table.attachmentsViewOptions.objectId}_closePopovers(){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler),this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_addTableTooltip(i,t){let e=document.createElement("calcite-tooltip");e.className="table-tooltip",e.referenceElement=i,e.placement="trailing-start",e.open=!0;let r=document.createElement("div");r.className="tooltip",r.innerHTML=t,e.append(r),document.body.append(e)}_removeTableTooltip(){document.querySelectorAll(".table-tooltip").forEach(i=>i.parentNode?.removeChild(i))}_isInNode(i,t){for(;i;){if(i.nodeName===t.toUpperCase())return!0;i=i.parentElement}return!1}_hasAttachmentsEnabled(i){if(!i?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:e}}}=i;return t&&e}};u("field-selection",h);export{h as FieldSelection};
|
package/dist/cdn/X4XPW2FK.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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.1 */
|
|
4
|
-
import{a as p}from"./ECIK3AWG.js";import{a as n}from"./JNMUGZK3.js";var l=1,f=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],u=e=>[{orgId:e}],O={item:f,event:u};function j(e){if(n(e,"schemaVersion")===l)return e;{let t=p(e);return t=d(t),t}}function d(e){if(n(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},s=n(e,"groups")||[],c=[];Array.isArray(s)&&s.length?c=s:typeof s=="string"&&(c=[s]),c.length&&(t.scopes=Object.entries(t.scopes).reduce((o,r)=>Object.assign(Object.assign({},o),{[r[0]]:Object.assign(Object.assign({},r[1]),{filters:[{predicates:[{group:c}]}]})}),{}));let i=n(e,"orgId");return i&&(t.scopes=Object.entries(t.scopes).reduce((o,r)=>{let a=r[0],g=r[1];return Object.assign(Object.assign({},o),{[a]:Object.assign(Object.assign({},g),{filters:[...g.filters,{operation:"AND",predicates:O[a](i)}]})})},{})),t}}export{j as a};
|