@esri/solutions-components 1.1.0-next.20250929 → 1.1.0-next.20250930.1
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/{4NWQKKY5.js → 23YQFLNU.js} +2 -2
- package/dist/cdn/{B2MZXG3S.js → 273AYMZD.js} +1 -1
- package/dist/cdn/{NO2R6BJT.js → 276APYIU.js} +2 -2
- package/dist/cdn/{Y36WTBQ2.js → 2HIE3EXG.js} +2 -2
- package/dist/cdn/{RPDJFQXX.js → 2KOM3PFO.js} +2 -2
- package/dist/cdn/{EGM63VHX.js → 2MORDUQJ.js} +2 -2
- package/dist/cdn/{TLZBEG5G.js → 2NLUWNFS.js} +1 -1
- package/dist/cdn/{X6EZS2VU.js → 2RWJWEDL.js} +2 -2
- package/dist/cdn/{6RKWFW3N.js → 2UENM3F3.js} +2 -2
- package/dist/cdn/{2UDWNBJD.js → 2YBT3KZL.js} +2 -2
- package/dist/cdn/{4TSGUGOM.js → 32YYXMY2.js} +2 -2
- package/dist/cdn/{7KP55TIL.js → 35XLR344.js} +2 -2
- package/dist/cdn/{T4E75VPE.js → 37POLEIP.js} +2 -2
- package/dist/cdn/{VGVM223G.js → 3FBT7HWX.js} +2 -2
- package/dist/cdn/{CHNGIHQX.js → 3FIOD3YX.js} +2 -2
- package/dist/cdn/{JQGMDBDF.js → 3HGMP3WJ.js} +2 -2
- package/dist/cdn/{K322J7FK.js → 3HSANVX7.js} +2 -2
- package/dist/cdn/{Z6VUUTFW.js → 3I3OASXY.js} +2 -2
- package/dist/cdn/{LHYGUB3F.js → 3IHU6PKD.js} +2 -2
- package/dist/cdn/{HENOTPCJ.js → 3PYQUGCP.js} +2 -2
- package/dist/cdn/{CWTB26J6.js → 3S56X6X2.js} +2 -2
- package/dist/cdn/{K2AHBDTE.js → 3USNM4XP.js} +2 -2
- package/dist/cdn/{QUKQQQ7K.js → 46EPPZYJ.js} +2 -2
- package/dist/cdn/{JDM7DSMI.js → 4D6XSNME.js} +2 -2
- package/dist/cdn/{D3KLUSNS.js → 4GSGBVRX.js} +2 -2
- package/dist/cdn/{HITK364J.js → 4GVZGH2R.js} +2 -2
- package/dist/cdn/{6WYUUORV.js → 4M6AIM6G.js} +2 -2
- package/dist/cdn/{H3RYTY2M.js → 4MJ577J5.js} +1 -1
- package/dist/cdn/{FDXX2AF6.js → 4OAUR6ZC.js} +2 -2
- package/dist/cdn/{RHLR4IDW.js → 4RRAHWW3.js} +2 -2
- package/dist/cdn/{PJCW5NGC.js → 4SXRR3RD.js} +2 -2
- package/dist/cdn/{OTFQ2XI6.js → 4X7OABOH.js} +2 -2
- package/dist/cdn/{H23CRQHV.js → 4YAKWHBW.js} +2 -2
- package/dist/cdn/{3UCGTKJ4.js → 53PMD3HL.js} +2 -2
- package/dist/cdn/{CUZK7MZA.js → 55MWO4VH.js} +2 -2
- package/dist/cdn/{PM6O7L5R.js → 57PRZ63L.js} +2 -2
- package/dist/cdn/{SW6REB2R.js → 57VUYNIW.js} +2 -2
- package/dist/cdn/{HSH4P6SK.js → 5NJBXTBZ.js} +2 -2
- package/dist/cdn/{NSJTAT2F.js → 5TKYHQZE.js} +1 -1
- package/dist/cdn/{4V4HIEPX.js → 5VARMTV4.js} +2 -2
- package/dist/cdn/{J55EILL3.js → 5VEZOODP.js} +2 -2
- package/dist/cdn/{XH7WIKBN.js → 5XTK6U55.js} +2 -2
- package/dist/cdn/{FRPAGIRI.js → 63RIJZW4.js} +2 -2
- package/dist/cdn/663QR5KA.js +4 -0
- package/dist/cdn/{BZJLWOMQ.js → 67K6AR5M.js} +2 -2
- package/dist/cdn/{6BRX64AI.js → 6HPEZX4P.js} +2 -2
- package/dist/cdn/{FVIHGNC3.js → 6IYEIGOD.js} +2 -2
- package/dist/cdn/{OW2UKCST.js → 6J76O6RC.js} +2 -2
- package/dist/cdn/{GYBZSSMY.js → 6SC72YNX.js} +1 -1
- package/dist/cdn/6SOCL6QH.js +4 -0
- package/dist/cdn/{7XASUY7S.js → 6ZMXGF73.js} +2 -2
- package/dist/cdn/74MWYUBL.js +4 -0
- package/dist/cdn/{2TBPCLX2.js → 7DHKOGFH.js} +2 -2
- package/dist/cdn/7F2EBP2J.js +4 -0
- package/dist/cdn/{UPJEZJAZ.js → 7I6M2HH6.js} +2 -2
- package/dist/cdn/{ZWM4JUL6.js → 7JKSOR6C.js} +1 -1
- package/dist/cdn/{DRIHILRA.js → 7ND2X3BJ.js} +2 -2
- package/dist/cdn/{ZVSWUILV.js → 7SBWWDKE.js} +2 -2
- package/dist/cdn/{2AXJLVG3.js → 7SSSYXQO.js} +1 -1
- package/dist/cdn/{SDTC6DZR.js → 7VE55ACR.js} +2 -2
- package/dist/cdn/{YGSHBWQQ.js → 7W7QMCZL.js} +2 -2
- package/dist/cdn/{3SFMUF7Z.js → 7XQRAF4F.js} +1 -1
- package/dist/cdn/{YAMMDH44.js → A2W3BPQB.js} +1 -1
- package/dist/cdn/{5QPIITA4.js → A4AVB2TD.js} +2 -2
- package/dist/cdn/{DUHGQQNB.js → A7JAGSL7.js} +2 -2
- package/dist/cdn/{X3272AXW.js → AE7JCJGY.js} +2 -2
- package/dist/cdn/{QDU46YDG.js → AMRMBGDX.js} +2 -2
- package/dist/cdn/{3BHAASMZ.js → AXSU4A3J.js} +2 -2
- package/dist/cdn/{BGAYS7EP.js → AYSXJ6Y7.js} +2 -2
- package/dist/cdn/B6LWOWWY.js +4 -0
- package/dist/cdn/{7FXEE6GG.js → BGZCOBPP.js} +2 -2
- package/dist/cdn/{3JI4B47E.js → BJDU2D6R.js} +2 -2
- package/dist/cdn/{X2G5ALVR.js → BKJ4PDCX.js} +2 -2
- package/dist/cdn/{2L4PJMV7.js → BM6MKROV.js} +2 -2
- package/dist/cdn/{WHD75PTG.js → BNCZLIKT.js} +2 -2
- package/dist/cdn/{QTOGZ2CL.js → BRZBY6MY.js} +2 -2
- package/dist/cdn/BVW5YAJD.js +4 -0
- package/dist/cdn/{Q5TMFJYL.js → BW5BLUUB.js} +2 -2
- package/dist/cdn/{U4FF4CEF.js → BXVMLGWG.js} +2 -2
- package/dist/cdn/{3GF5ENTB.js → C653YFLE.js} +2 -2
- package/dist/cdn/{TR373UVO.js → C7JZEFTF.js} +2 -2
- package/dist/cdn/{AR57IHDV.js → CADPQ6RW.js} +2 -2
- package/dist/cdn/{LOP6W4WH.js → CBL67NC2.js} +2 -2
- package/dist/cdn/{XQUDYEM3.js → CE3FYCQA.js} +2 -2
- package/dist/cdn/{RTBKP4A6.js → CES5EAC3.js} +2 -2
- package/dist/cdn/{ARCTYKDS.js → CFCXGC4R.js} +2 -2
- package/dist/cdn/{MMTPLDJR.js → CIGURY2J.js} +2 -2
- package/dist/cdn/{O46RPOWJ.js → CL5D56MC.js} +2 -2
- package/dist/cdn/{EECLW37R.js → CLOATOE2.js} +2 -2
- package/dist/cdn/{VOATPJHA.js → CN4WXF3V.js} +2 -2
- package/dist/cdn/{7ILIX3P2.js → CQAPILKE.js} +1 -1
- package/dist/cdn/{DCRGFC4K.js → D2QQUCQ6.js} +2 -2
- package/dist/cdn/{3GQZZ2T4.js → D5LPFXRA.js} +2 -2
- package/dist/cdn/{2A4RYVQN.js → DEUTHK7D.js} +2 -2
- package/dist/cdn/{PTQZY74A.js → DGDR32AN.js} +2 -2
- package/dist/cdn/{TLBUKTGM.js → DJHMOLI3.js} +2 -2
- package/dist/cdn/{5DKZJ2GA.js → DNNSOUZ4.js} +2 -2
- package/dist/cdn/{VXJNB6U5.js → DRGO2SZH.js} +2 -2
- package/dist/cdn/{MDHPL2OC.js → DS6FIPJ7.js} +2 -2
- package/dist/cdn/{STSYLSP5.js → DVTR3FUP.js} +2 -2
- package/dist/cdn/{CETJTR76.js → DYCCCVEG.js} +2 -2
- package/dist/cdn/{ZBRHGNON.js → E233ZQGK.js} +2 -2
- package/dist/cdn/{MDK7EODV.js → E5A2Y7W2.js} +1 -1
- package/dist/cdn/{35EHOEO5.js → E5MBJ7XA.js} +2 -2
- package/dist/cdn/EBTBMB7H.js +18 -0
- package/dist/cdn/{RZRLXGIZ.js → EJS26JSX.js} +2 -2
- package/dist/cdn/{QE524NY5.js → EKNJYWQK.js} +2 -2
- package/dist/cdn/{7O3IE7DM.js → EMAO34ED.js} +2 -2
- package/dist/cdn/{72MIKPT4.js → EN3GMX7I.js} +2 -2
- package/dist/cdn/{UIBXTQRR.js → EQFPUNZY.js} +2 -2
- package/dist/cdn/{O6QM5W3X.js → EYL7VW37.js} +1 -1
- package/dist/cdn/{MMGDLJ2Z.js → F3A47JC6.js} +1 -1
- package/dist/cdn/{3BIKIJJX.js → F3TVE6L6.js} +2 -2
- package/dist/cdn/{LQVWYVBC.js → FCF6NCZP.js} +2 -2
- package/dist/cdn/FCUMT646.js +4 -0
- package/dist/cdn/{7NDNYP4D.js → FPC642AV.js} +2 -2
- package/dist/cdn/{2MHE7GDO.js → FQV25NQN.js} +2 -2
- package/dist/cdn/{D4A24CYE.js → FT4MIGWF.js} +2 -2
- package/dist/cdn/{34GB7X6T.js → FWC4M6TF.js} +2 -2
- package/dist/cdn/{MD2WX3FX.js → FWSWFEYM.js} +2 -2
- package/dist/cdn/{BPH6LIDW.js → FYGRWN67.js} +1 -1
- package/dist/cdn/{PBFSJAOV.js → GGFXTVKS.js} +2 -2
- package/dist/cdn/{R7CYNG5X.js → GH7VCIB5.js} +2 -2
- package/dist/cdn/{LWRZQXP4.js → GI2JRNA4.js} +2 -2
- package/dist/cdn/{7FRJ6VJP.js → GLWTM2WX.js} +2 -2
- package/dist/cdn/{TARXG2G3.js → GSZXESIX.js} +1 -1
- package/dist/cdn/{ESKXE5IO.js → GWPTCGJV.js} +2 -2
- package/dist/cdn/{FIIB5GYO.js → GXGTMLJP.js} +2 -2
- package/dist/cdn/{QQTMAIHU.js → H3LV4LJ2.js} +2 -2
- package/dist/cdn/{LBUWEP43.js → HBR2MWDE.js} +2 -2
- package/dist/cdn/{5Q2UXPI5.js → HDSGACXN.js} +2 -2
- package/dist/cdn/{GTL7DRM4.js → HEUJ2TFQ.js} +2 -2
- package/dist/cdn/{JAKWCZDV.js → HFPQY4KG.js} +1 -1
- package/dist/cdn/{DNDRIKNE.js → HHHSGUB4.js} +2 -2
- package/dist/cdn/{6T5GKUK3.js → HNTNJ63I.js} +2 -2
- package/dist/cdn/{5MTT3TGR.js → HPYT6SMS.js} +2 -2
- package/dist/cdn/{VCUD4JHE.js → HQCND3SJ.js} +2 -2
- package/dist/cdn/{YGVHRGDE.js → HRM77TTA.js} +1 -1
- package/dist/cdn/{NDXNFD3A.js → HRM7DNTD.js} +2 -2
- package/dist/cdn/HYBIXVUS.js +4 -0
- package/dist/cdn/{4D42CCAM.js → I3J35WL3.js} +2 -2
- package/dist/cdn/{OXPUSNOS.js → I3TATJPZ.js} +2 -2
- package/dist/cdn/{LXGLCCIH.js → I4FUFL46.js} +2 -2
- package/dist/cdn/{CPEY5UC6.js → I4XLVLDY.js} +2 -2
- package/dist/cdn/{P4JIPMS7.js → IBCYBK3E.js} +2 -2
- package/dist/cdn/{JS3LLBEX.js → IBJ2HQSN.js} +2 -2
- package/dist/cdn/{SRIRH7HW.js → IH2NVZOW.js} +2 -2
- package/dist/cdn/{L2ZISXZT.js → IIYR7TLT.js} +2 -2
- package/dist/cdn/{LNRXYPBA.js → IK3VK2NV.js} +2 -2
- package/dist/cdn/{VPXFPS3M.js → IMXSOKQ5.js} +2 -2
- package/dist/cdn/{4U3RWTKW.js → IPKQDGSN.js} +2 -2
- package/dist/cdn/{IXAD2DOF.js → IV7P7NDJ.js} +2 -2
- package/dist/cdn/{CNOQ27DH.js → IX2YAFI4.js} +2 -2
- package/dist/cdn/{YHHQICGW.js → IXTY5VFT.js} +2 -2
- package/dist/cdn/{ZPHVNNKP.js → IZBKXAJP.js} +2 -2
- package/dist/cdn/{PE72XHNT.js → IZP6GORV.js} +2 -2
- package/dist/cdn/{PUNO3ZRE.js → J4JD3OWV.js} +2 -2
- package/dist/cdn/{EEVZE37F.js → J76IEWKC.js} +2 -2
- package/dist/cdn/{VUGG5CTL.js → JBVHIGUW.js} +2 -2
- package/dist/cdn/{U24WW4BS.js → JPTYPQJH.js} +2 -2
- package/dist/cdn/{C4PPAFGY.js → JX6DNZNL.js} +2 -2
- package/dist/cdn/{7J7HG6BZ.js → JYN7O5YO.js} +2 -2
- package/dist/cdn/{OUXIT6ZF.js → K7OOW2EA.js} +2 -2
- package/dist/cdn/{XQ4T5WWD.js → KAHOTNT2.js} +2 -2
- package/dist/cdn/{6TEE4XH2.js → KB5LVY2K.js} +2 -2
- package/dist/cdn/{MQHPLV6A.js → KC24HEO7.js} +2 -2
- package/dist/cdn/{DIWNHI6Y.js → KFOVKGMI.js} +1 -1
- package/dist/cdn/{SVXNPPUG.js → KI2CY3VS.js} +2 -2
- package/dist/cdn/{RJ64L52P.js → KIH7TP6Y.js} +2 -2
- package/dist/cdn/{RJTVFN3B.js → KPRCG2H6.js} +2 -2
- package/dist/cdn/{4LHPFNEW.js → KPTS6MPD.js} +1 -1
- package/dist/cdn/{AYAD3JW6.js → KSR4GA6D.js} +2 -2
- package/dist/cdn/{ZQNYWHFW.js → KSSXLJX3.js} +2 -2
- package/dist/cdn/{HMBDJVKI.js → KUJ4FBRP.js} +2 -2
- package/dist/cdn/{MBVL5FLN.js → KUMZDHWH.js} +2 -2
- package/dist/cdn/{KEHOH22C.js → KUSLNPXZ.js} +2 -2
- package/dist/cdn/{DWOWSKWL.js → L44YTGUB.js} +2 -2
- package/dist/cdn/{KTK2DEAS.js → L4HA3T6M.js} +2 -2
- package/dist/cdn/{IDIQ5XBF.js → L6EGZB7O.js} +2 -2
- package/dist/cdn/{32R5KR3R.js → LCT4FR2Z.js} +2 -2
- package/dist/cdn/{FY7R2X72.js → LIOQXBQM.js} +2 -2
- package/dist/cdn/{3UHOMON5.js → LKGIUMFB.js} +2 -2
- package/dist/cdn/{KA7YUJSJ.js → LUD52CDY.js} +1 -1
- package/dist/cdn/{ZZYTWJGQ.js → LYZVCG24.js} +2 -2
- package/dist/cdn/{F2KQXG3F.js → M2FFOWDK.js} +2 -2
- package/dist/cdn/{CTSQQ2TC.js → M34LE2RF.js} +1 -1
- package/dist/cdn/{EZPVMBWU.js → M3GU5C6J.js} +2 -2
- package/dist/cdn/{JB25YHAD.js → M4X4FAFQ.js} +2 -2
- package/dist/cdn/{EEI26X4P.js → MBIOM7S7.js} +4 -4
- package/dist/cdn/{UXBWQYND.js → MEQQBQFX.js} +1 -1
- package/dist/cdn/{BU5FG5MN.js → MG7YD3AK.js} +2 -2
- package/dist/cdn/{J4UR4IEB.js → MLECQYRD.js} +2 -2
- package/dist/cdn/{KJJVAL35.js → MMXNTJH6.js} +1 -1
- package/dist/cdn/{IY4ZLFQD.js → MTB7XDP3.js} +1 -1
- package/dist/cdn/{PZUOQW65.js → N2GSVPG7.js} +2 -2
- package/dist/cdn/{A5NNENXQ.js → N2SSWNC3.js} +2 -2
- package/dist/cdn/{UO4VQPUG.js → NAXXEL6Y.js} +2 -2
- package/dist/cdn/{DP44HMHY.js → NBJM5HVQ.js} +2 -2
- package/dist/cdn/{5EFN7WV7.js → NDKIUQTI.js} +2 -2
- package/dist/cdn/{VAQLOAWW.js → NEACCBTU.js} +1 -1
- package/dist/cdn/{J4ZFHG7L.js → NGQVQ76Y.js} +2 -2
- package/dist/cdn/{UW4X563Y.js → NIAJXEE6.js} +1 -1
- package/dist/cdn/{AABUNJFF.js → NT5FPQHS.js} +2 -2
- package/dist/cdn/{XH2NX7KZ.js → NXINUGTR.js} +2 -2
- package/dist/cdn/{K5EVLWTJ.js → O2BVH4IT.js} +2 -2
- package/dist/cdn/{JVFHVPN2.js → O2P56QYH.js} +2 -2
- package/dist/cdn/{S5CUTZFO.js → O3P5KJS5.js} +2 -2
- package/dist/cdn/{MF6CCIND.js → OAJDJQ4J.js} +2 -2
- package/dist/cdn/{OAQIBHT4.js → OFRBUWKY.js} +2 -2
- package/dist/cdn/{VLCWJKLV.js → OGE4W2JO.js} +2 -2
- package/dist/cdn/{3AZYTPQP.js → OGEJY4ZP.js} +2 -2
- package/dist/cdn/{TPLJ65DL.js → ONJKY24F.js} +2 -2
- package/dist/cdn/{GX3JK5OC.js → ONKBVR36.js} +2 -2
- package/dist/cdn/{KBMW4YXO.js → OVBTWRCZ.js} +2 -2
- package/dist/cdn/{OFEZRG4C.js → OZWNZ4V3.js} +2 -2
- package/dist/cdn/{2IWXCGDF.js → P6S4TFBQ.js} +2 -2
- package/dist/cdn/{YUZD5FSI.js → P7BLFVYM.js} +2 -2
- package/dist/cdn/{IPQ7CLEE.js → PCCHMFSL.js} +2 -2
- package/dist/cdn/{RXT63ZVW.js → PCTBFXMF.js} +2 -2
- package/dist/cdn/{DI3IRTWX.js → PFTLQQKV.js} +2 -2
- package/dist/cdn/{EQPKFF6L.js → PFXVQ5BB.js} +2 -2
- package/dist/cdn/{57PNLJ6A.js → PIHQFDMD.js} +2 -2
- package/dist/cdn/{5GTB2WB6.js → PJMEAYLJ.js} +2 -2
- package/dist/cdn/{O6X3QZAG.js → PL75WM3D.js} +2 -2
- package/dist/cdn/{APCW5ZPG.js → PMW5WZLK.js} +2 -2
- package/dist/cdn/{NUTU4XMM.js → PQC4BIV3.js} +2 -2
- package/dist/cdn/{ZIDC6QXU.js → PZOKLJFN.js} +4 -4
- package/dist/cdn/{3Z2DCDFZ.js → PZPV5BYJ.js} +1 -1
- package/dist/cdn/{ZPGRZDQS.js → Q2AGNUTK.js} +2 -2
- package/dist/cdn/{NHSTG4OY.js → Q2QGZIQ7.js} +2 -2
- package/dist/cdn/{XF5MIU33.js → QDXL7JHB.js} +2 -2
- package/dist/cdn/{AW7UB2A7.js → QGREVG7S.js} +2 -2
- package/dist/cdn/{H5QNY6ZC.js → QHSNSP2B.js} +2 -2
- package/dist/cdn/{3OMMISHV.js → QLKE2M4P.js} +1 -1
- package/dist/cdn/{O6BMYVUD.js → QLV7334D.js} +2 -2
- package/dist/cdn/{UUGWTIDQ.js → QMBWJEG3.js} +1 -1
- package/dist/cdn/{24NXBR7D.js → QNXWROGL.js} +2 -2
- package/dist/cdn/{X6LRYEZC.js → QOW3YNTK.js} +2 -2
- package/dist/cdn/{BZFK72Y2.js → QTFKYNSN.js} +2 -2
- package/dist/cdn/{NAOBJ6XT.js → QWCXFQML.js} +2 -2
- package/dist/cdn/{KNRXPVDT.js → R2O6M6NC.js} +2 -2
- package/dist/cdn/{7JDNHACD.js → R43ONEI5.js} +2 -2
- package/dist/cdn/{FWPGEUN5.js → R7PVRRM5.js} +2 -2
- package/dist/cdn/{2HBYD5JL.js → RAPCDUXR.js} +2 -2
- package/dist/cdn/{GN75DDPE.js → RAXOU2YV.js} +2 -2
- package/dist/cdn/{4O3YPQZO.js → RB3XSXHW.js} +2 -2
- package/dist/cdn/{U7LKHUDI.js → RJDVWSCM.js} +2 -2
- package/dist/cdn/{LCA6INTL.js → RXKTSZ3R.js} +2 -2
- package/dist/cdn/{YZUGDKFL.js → RYEAWFRU.js} +1 -1
- package/dist/cdn/{LRXZR626.js → S2QR4L5U.js} +1 -1
- package/dist/cdn/{56PLYLTG.js → S2S4TDZC.js} +1 -1
- package/dist/cdn/{L2LUNQJO.js → S45MJK2D.js} +2 -2
- package/dist/cdn/{TU6T4NQX.js → S5HBGH7N.js} +2 -2
- package/dist/cdn/{HF2IWXJW.js → SANRACL2.js} +2 -2
- package/dist/cdn/{C5O2B5GP.js → SEMTPKK3.js} +2 -2
- package/dist/cdn/{VVB3WXKV.js → SLMN76E6.js} +2 -2
- package/dist/cdn/{BBXJWST7.js → SLTTLA4S.js} +2 -2
- package/dist/cdn/SN75NJJT.js +18 -0
- package/dist/cdn/{HJOU57UA.js → SPJQR7XJ.js} +2 -2
- package/dist/cdn/{2IPKS5GU.js → SPS6XSSI.js} +2 -2
- package/dist/cdn/{27OIWZKF.js → SQ47UMFI.js} +2 -2
- package/dist/cdn/{VIKYT3XG.js → SWOFJGS7.js} +2 -2
- package/dist/cdn/{YCGQXJCQ.js → SZC232J3.js} +2 -2
- package/dist/cdn/{YEZQSY55.js → T22L7FJH.js} +2 -2
- package/dist/cdn/{Q6GRQV7F.js → TAG4UDYW.js} +2 -2
- package/dist/cdn/{A6FQLCJQ.js → TMMZKWRY.js} +2 -2
- package/dist/cdn/{CGOZF7PX.js → TOHYFAH5.js} +2 -2
- package/dist/cdn/{WAHWN7QO.js → TREMGF5P.js} +2 -2
- package/dist/cdn/{MT3BB6IR.js → TSMJEVEQ.js} +2 -2
- package/dist/cdn/{3ZIQI3MB.js → TUROAYFT.js} +2 -2
- package/dist/cdn/{54DU5TVD.js → U2RM3T22.js} +2 -2
- package/dist/cdn/{EU5RAKJN.js → U5IMVS4I.js} +2 -2
- package/dist/cdn/{B7ZI5I2I.js → UA33VC6I.js} +1 -1
- package/dist/cdn/{X37LIRVD.js → UDPUY7NM.js} +2 -2
- package/dist/cdn/{NKCKTBFP.js → UGFC2KT3.js} +2 -2
- package/dist/cdn/{SQJX4IDC.js → UHU5SRN5.js} +1 -1
- package/dist/cdn/{BP4LWVYC.js → UKABH4IK.js} +2 -2
- package/dist/cdn/{NC3U7T5Z.js → ULM7DG7V.js} +1 -1
- package/dist/cdn/{MZP5TFJN.js → UM7QBTV7.js} +2 -2
- package/dist/cdn/{S7ZRMS3P.js → UNVUNIY2.js} +2 -2
- package/dist/cdn/{TUGKUONI.js → UNXROD44.js} +2 -2
- package/dist/cdn/{V3BBWVG5.js → US7TQRGI.js} +2 -2
- package/dist/cdn/{JT5KVQZ4.js → UU3RDHLI.js} +2 -2
- package/dist/cdn/{ILPKNUOK.js → UY7XKLI6.js} +2 -2
- package/dist/cdn/{5FBUJNM2.js → VADDYSOS.js} +2 -2
- package/dist/cdn/{GGJLOX5Y.js → VBT4EWA3.js} +2 -2
- package/dist/cdn/{RFK5AGMO.js → VFGZQDMC.js} +2 -2
- package/dist/cdn/{NJJW6FTK.js → VFHAYSWI.js} +2 -2
- package/dist/cdn/{PIRWDUXH.js → VGXRV7SM.js} +2 -2
- package/dist/cdn/{5ZTHDTLW.js → VHTX2IOJ.js} +1 -1
- package/dist/cdn/{2KDJSDKP.js → VJCFVKDY.js} +2 -2
- package/dist/cdn/{6XMXDN4W.js → VL7ABM3F.js} +2 -2
- package/dist/cdn/{665K7RAO.js → VMIBZLLU.js} +2 -2
- package/dist/cdn/{UB7VURF2.js → VS43G5XU.js} +2 -2
- package/dist/cdn/{5ZIKXR65.js → VSO32N33.js} +2 -2
- package/dist/cdn/{ZMEUYIGZ.js → VVJNS3OH.js} +2 -2
- package/dist/cdn/{QILEQMMS.js → VVPLNYLV.js} +2 -2
- package/dist/cdn/{GS2S3LFA.js → VY5GFX4M.js} +2 -2
- package/dist/cdn/{S7ZR3IKK.js → W3N73WY3.js} +2 -2
- package/dist/cdn/{QVZDADE3.js → WCUWUPAR.js} +2 -2
- package/dist/cdn/{MCCAWA7W.js → WD55BAPX.js} +2 -2
- package/dist/cdn/{N4AYMWOT.js → WDTG4SXX.js} +2 -2
- package/dist/cdn/{FI2LF4L2.js → WIIP2SIH.js} +2 -2
- package/dist/cdn/{RDDYOMCN.js → WKHUF2WR.js} +2 -2
- package/dist/cdn/{HFJC5XU4.js → WMBXEMRW.js} +2 -2
- package/dist/cdn/{FYQWLEQC.js → WMMQFX44.js} +2 -2
- package/dist/cdn/{63L2WCHI.js → WMTRZTYY.js} +2 -2
- package/dist/cdn/{SKVAW47E.js → WQ6NN76D.js} +2 -2
- package/dist/cdn/{3FLM6VK7.js → WUA7W2M4.js} +2 -2
- package/dist/cdn/{T4XGUHW3.js → WWXS4IIL.js} +2 -2
- package/dist/cdn/{J7GTA7ZZ.js → WX6ADMKL.js} +2 -2
- package/dist/cdn/{UANGQ5QW.js → X42QWM7Q.js} +2 -2
- package/dist/cdn/{RUSZFHNB.js → X6WV6XQX.js} +2 -2
- package/dist/cdn/{LS76NZYE.js → XAXOFVZY.js} +2 -2
- package/dist/cdn/{LLF2VZZP.js → XHHUZH4U.js} +2 -2
- package/dist/cdn/{BTPAXEWH.js → XLC6YGBU.js} +2 -2
- package/dist/cdn/{J6VEINMJ.js → XPJQ2TQB.js} +2 -2
- package/dist/cdn/{QSFHVCKD.js → XQAYBLSH.js} +2 -2
- package/dist/cdn/{TYQLWXO6.js → XQIFNGSE.js} +2 -2
- package/dist/cdn/{ZCPVFB74.js → XROLZIJZ.js} +2 -2
- package/dist/cdn/{ORU6AVCP.js → XS7F7G46.js} +2 -2
- package/dist/cdn/{J5RUGAEN.js → XULOSVAZ.js} +2 -2
- package/dist/cdn/{LFRNZQQQ.js → XWCXZTCT.js} +2 -2
- package/dist/cdn/{MBKD4OIU.js → XXVTCMDH.js} +2 -2
- package/dist/cdn/{BEE32DH7.js → XXZH3BR7.js} +2 -2
- package/dist/cdn/{A66LOYMR.js → Y75I24LK.js} +1 -1
- package/dist/cdn/{XSAMV2C5.js → YAU36VYP.js} +2 -2
- package/dist/cdn/{EZLOM5HO.js → YBIVTJO4.js} +2 -2
- package/dist/cdn/{ZOOK2ITZ.js → YD4NEEYP.js} +2 -2
- package/dist/cdn/{CM7DA4KS.js → YDTBHBAG.js} +2 -2
- package/dist/cdn/{G6KXOAIJ.js → YFA6SWIE.js} +2 -2
- package/dist/cdn/{2U3WIZQF.js → YNWP2O2B.js} +2 -2
- package/dist/cdn/{JVGMITAJ.js → YXCHZ4KW.js} +1 -1
- package/dist/cdn/{EIICKA7A.js → Z67RAAW2.js} +2 -2
- package/dist/cdn/{FBU36PWJ.js → Z6SIXLS6.js} +2 -2
- package/dist/cdn/{JM774LDL.js → ZHKAPFOP.js} +1 -1
- package/dist/cdn/{ZHJ2SPT5.js → ZI6P5FEI.js} +2 -2
- package/dist/cdn/{OOIHWLN7.js → ZJYBU5FO.js} +2 -2
- package/dist/cdn/{YON3WQMW.js → ZRVV6HO3.js} +2 -2
- package/dist/cdn/{RADSBE62.js → ZTG2W7CT.js} +2 -2
- package/dist/cdn/{74L3DAB2.js → ZWNWFZ7U.js} +2 -2
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +1 -1
- 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 +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/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 +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +5 -0
- package/dist/components/solutions-deploy-app-nav/customElement.js +68 -0
- package/dist/components/solutions-deploy-app-nav/index.d.ts +1 -0
- package/dist/components/solutions-deploy-app-nav/index.js +1 -0
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.d.ts +2 -0
- package/dist/components/solutions-deployed-shell/customElement.js +3 -3
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +97 -2
- package/dist/docs/docs.json +74 -2
- package/dist/docs/vscode.html-custom-data.json +7 -1
- package/dist/docs/web-types.json +22 -2
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -1
- package/dist/types/lumina.d.ts +6 -0
- package/dist/types/preact.d.ts +7 -0
- package/dist/types/preact10.d.ts +8 -0
- package/dist/types/react.d.ts +8 -0
- package/dist/types/stencil.d.ts +6 -0
- package/package.json +1 -1
- package/dist/cdn/7NYQUWO2.js +0 -4
- package/dist/cdn/ALO2EK2I.js +0 -4
- package/dist/cdn/CHTX2SND.js +0 -4
- package/dist/cdn/DOLXIIZK.js +0 -18
- package/dist/cdn/ETPILCOO.js +0 -4
- package/dist/cdn/FZPWGYOJ.js +0 -4
- package/dist/cdn/SRTUXER3.js +0 -4
- package/dist/cdn/XI2FJNGJ.js +0 -4
- package/dist/cdn/XWPHFCEU.js +0 -4
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{J as Z,L as W,M,N as ee,bc as oe,ec as re,fc as ne,g as b,gc as ae,hc as le,ic as ie,pb as se,ra as te}from"./CWTB26J6.js";import{b as y,h as Y}from"./B7ZI5I2I.js";var S={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},Oe=Object.defineProperty,Le=(e,t)=>{for(var s in t)Oe(e,s,{get:t[s],enumerable:!0})},We=new WeakMap,Me=e=>We.get(e),ce=(e,t)=>t in e,J=(e,t)=>(0,console.error)(e,t),de="http://www.w3.org/1999/xlink",_e=typeof window<"u"?window:{},P=_e.document||{head:{}},w={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=e=>Promise.resolve(e),j=!1,ue=[],we=[],je=(e,t)=>s=>{e.push(s),j||(j=!0,t&&w.$flags$&4?ze(z):w.raf(z))},$e=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){J(s)}e.length=0},z=()=>{$e(ue),$e(we),(j=ue.length>0)&&w.raf(z)},ze=e=>Ue().then(e),Ge=je(we,!0),pe={},He="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Be=e=>e!=null,Ie=e=>(e=typeof e,e==="object"||e==="function"),qe={};Le(qe,{err:()=>Re,map:()=>Je,ok:()=>G,unwrap:()=>Qe,unwrapErr:()=>Ve});var G=e=>({isOk:!0,isErr:!1,value:e}),Re=e=>({isOk:!1,isErr:!0,value:e});function Je(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(o=>G(o)):G(s)}if(e.isErr){let s=e.value;return Re(s)}throw"should never get here"}var Qe=e=>{if(e.isOk)return e.value;throw e.value},Ve=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t="")=>()=>{},Xe=(e,t,...s)=>{let o=null,r=null,n=null,a=!1,i=!1,c=[],h=l=>{for(let d=0;d<l.length;d++)o=l[d],Array.isArray(o)?h(o):o!=null&&typeof o!="boolean"&&((a=!Ie(o))&&(o=String(o)),a&&i?c[c.length-1].$text$+=o:c.push(a?H(null,o):o),i=a)};h(s);let $=H(e,null);return $.$attrs$=t,c.length>0&&($.$children$=c),$.$key$=r,$.$name$=n,$},H=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},Ye={},Ze=e=>e&&e.$tag$===Ye,he=(e,t,s,o,r,n)=>{if(s!==o){let a=ce(e,t),i=t.toLowerCase();if(t==="class"){let c=e.classList,h=fe(s),$=fe(o);c.remove(...h.filter(l=>l&&!$.includes(l))),c.add(...$.filter(l=>l&&!h.includes(l)))}else if(t==="style"){for(let c in s)(!o||o[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in o)(!s||o[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,o[c]):e.style[c]=o[c])}else if(t!=="key")if(t==="ref")o&&o(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ce(_e,i)?t=i.slice(2):t=i[2]+t.slice(3),s||o){let c=t.endsWith(Te);t=t.replace(tt,""),s&&w.rel(e,t,s,c),o&&w.ael(e,t,o,c)}}else{let c=Ie(o);if((a||c&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=o;else{let $=o??"";t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let h=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,h=!0),o==null||o===!1?(o!==!1||e.getAttribute(t)==="")&&(h?e.removeAttributeNS(de,t):e.removeAttribute(t)):(!a||n&4||r)&&!c&&(o=o===!0?"":o,h?e.setAttributeNS(de,t,o):e.setAttribute(t,o))}}},et=/\s/,fe=e=>e?e.split(et):[],Te="Capture",tt=new RegExp(Te+"$"),Ne=(e,t,s)=>{let o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||pe,n=t.$attrs$||pe;for(let a of me(Object.keys(r)))a in n||he(o,a,r[a],void 0,s,t.$flags$);for(let a of me(Object.keys(n)))he(o,a,r[a],n[a],s,t.$flags$)};function me(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var T,K,F,A=!1,O=!1,Q=!1,f=!1,L=(e,t,s,o)=>{var r;let n=t.$children$[s],a=0,i,c,h;if(A||(Q=!0,n.$tag$==="slot"&&(T&&o.classList.add(T+"-s"),n.$flags$|=n.$children$?2:1)),n.$text$!==null)i=n.$elm$=P.createTextNode(n.$text$);else if(n.$flags$&1)i=n.$elm$=P.createTextNode("");else{if(f||(f=n.$tag$==="svg"),i=n.$elm$=P.createElementNS(f?He:Ke,!A&&S.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),f&&n.$tag$==="foreignObject"&&(f=!1),Ne(null,n,f),i.getRootNode().querySelector("body")&&S.scoped&&Be(T)&&i["s-si"]!==T&&i.classList.add(i["s-si"]=T),X(i,o),n.$children$)for(a=0;a<n.$children$.length;++a)c=L(e,n,a,i),c&&i.appendChild(c);n.$tag$==="svg"?f=!1:i.tagName==="foreignObject"&&(f=!0)}return i["s-hn"]=F,n.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=K,i["s-sn"]=n.$name$||"",i["s-rf"]=(r=n.$attrs$)==null?void 0:r.ref,h=e&&e.$children$&&e.$children$[s],h&&h.$tag$===n.$tag$&&e.$elm$&&x(e.$elm$,!1)),i},x=(e,t)=>{w.$flags$|=1;let s=Array.from(e.childNodes);e["s-sr"]&&S.experimentalSlotFixes;for(let o=s.length-1;o>=0;o--){let r=s[o];r["s-hn"]!==F&&r["s-ol"]&&(R(xe(r),r,V(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Q=!0),t&&x(r,t)}w.$flags$&=-2},ke=(e,t,s,o,r,n)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot);r<=n;++r)o[r]&&(i=L(null,s,r,e),i&&(o[r].$elm$=i,R(a,i,V(t))))},Fe=(e,t,s)=>{for(let o=t;o<=s;++o){let r=e[o];if(r){let n=r.$elm$;Pe(r),n&&(O=!0,n["s-ol"]?n["s-ol"].remove():x(n,!0),n.remove())}}},st=(e,t,s,o,r=!1)=>{let n=0,a=0,i=0,c=0,h=t.length-1,$=t[0],l=t[h],d=o.length-1,u=o[0],p=o[d],v,m;for(;n<=h&&a<=d;)if($==null)$=t[++n];else if(l==null)l=t[--h];else if(u==null)u=o[++a];else if(p==null)p=o[--d];else if(C($,u,r))N($,u,r),$=t[++n],u=o[++a];else if(C(l,p,r))N(l,p,r),l=t[--h],p=o[--d];else if(C($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&x($.$elm$.parentNode,!1),N($,p,r),R(e,$.$elm$,l.$elm$.nextSibling),$=t[++n],p=o[--d];else if(C(l,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&x(l.$elm$.parentNode,!1),N(l,u,r),R(e,l.$elm$,$.$elm$),l=t[--h],u=o[++a];else{for(i=-1,c=n;c<=h;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===u.$key$){i=c;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?v=L(t&&t[a],s,i,e):(N(m,u,r),t[i]=void 0,v=m.$elm$),u=o[++a]):(v=L(t&&t[a],s,a,e),u=o[++a]),v&&R(xe($.$elm$),v,V($.$elm$))}n>h?ke(e,o[d+1]==null?null:o[d+1].$elm$,s,o,a,d):a>d&&Fe(t,n,h)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,V=e=>e&&e["s-ol"]||e,xe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t,s=!1)=>{let o=t.$elm$=e.$elm$,r=e.$children$,n=t.$children$,a=t.$tag$,i=t.$text$,c;i===null?(f=a==="svg"?!0:a==="foreignObject"?!1:f,a==="slot"&&!A||Ne(e,t,f),r!==null&&n!==null?st(o,r,t,n,s):n!==null?(e.$text$!==null&&(o.textContent=""),ke(o,null,t,n,0,n.length-1)):!s&&S.updatable&&r!==null&&Fe(r,0,r.length-1),f&&a==="svg"&&(f=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:e.$text$!==i&&(o.data=i)},Ee=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let o=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||o!==""){if(r.nodeType===1&&(o===r.getAttribute("slot")||o===r["s-sn"])||r.nodeType===3&&o===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}Ee(s)}},_=[],Ce=e=>{let t,s,o;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let n=r["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"])if(ge(t,n)){let a=_.find(i=>i.$nodeToRelocate$===t);O=!0,t["s-sn"]=t["s-sn"]||n,a?(a.$nodeToRelocate$["s-sh"]=r["s-hn"],a.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],_.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&_.map(i=>{ge(i.$nodeToRelocate$,t["s-sn"])&&(a=_.find(c=>c.$nodeToRelocate$===t),a&&!i.$slotRefNode$&&(i.$slotRefNode$=a.$slotRefNode$))})}else _.some(a=>a.$nodeToRelocate$===t)||_.push({$nodeToRelocate$:t})}r.nodeType===1&&Ce(r)}},ge=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Pe)},R=(e,t,s)=>{let o=e?.insertBefore(t,s);return X(t,e),o},De=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...De(e.parentElement)),t},X=(e,t,s=!1)=>{var o;if(e&&t&&e.nodeType===1){let r=new Set(De(t).filter(Boolean));if(r.size&&((o=e.classList)==null||o.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let n of Array.from(e.childNodes))X(n,e,!0)}},ot=(e,t,s=!1)=>{var o,r,n,a,i;let c=e.$hostElement$,h=e.$cmpMeta$,$=e.$vnode$||H(null,null),l=Ze(t)?t:Xe(null,null,t);if(F=c.tagName,h.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},h.$attrsToReflect$.map(([d,u])=>l.$attrs$[u]=c[d])),s&&l.$attrs$)for(let d of Object.keys(l.$attrs$))c.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(l.$attrs$[d]=c[d]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=$.$elm$=c.shadowRoot||c,T=c["s-sc"],A=(h.$flags$&1)!==0,K=c["s-cr"],O=!1,N($,l,s);{if(w.$flags$|=1,Q){Ce(l.$elm$);for(let d of _){let u=d.$nodeToRelocate$;if(!u["s-ol"]){let p=P.createTextNode("");p["s-nr"]=u,R(u.parentNode,u["s-ol"]=p,u)}}for(let d of _){let u=d.$nodeToRelocate$,p=d.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;E;){let g=(r=E["s-nr"])!=null?r:null;if(g&&g["s-sn"]===u["s-sn"]&&v===g.parentNode){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}(!m&&v!==u.parentNode||u.nextSibling!==m)&&u!==m&&(!u["s-hn"]&&u["s-ol"]&&(u["s-hn"]=u["s-ol"].parentNode.nodeName),R(v,u,m),u.nodeType===1&&(u.hidden=(n=u["s-ih"])!=null?n:!1)),u&&typeof p["s-rf"]=="function"&&p["s-rf"](u)}else u.nodeType===1&&(s&&(u["s-ih"]=(a=u.hidden)!=null?a:!1),u.hidden=!0)}}O&&Ee(l.$elm$),w.$flags$&=-2,_.length=0}if(S.experimentalScopedSlotChanges&&h.$flags$&2)for(let d of l.$elm$.childNodes)d["s-hn"]!==F&&!d["s-sh"]&&(s&&d["s-ih"]==null&&(d["s-ih"]=(i=d.hidden)!=null?i:!1),d.hidden=!0);K=void 0},rt=(e,t)=>{},nt=(e,t)=>(e.$flags$|=16,rt(e,e.$ancestorComponent$),Ge(()=>at(e,t))),at=(e,t)=>{let s=e.$hostElement$,o=D("scheduleUpdate",e.$cmpMeta$.$tagName$),r=s;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=k(r,"componentWillUpdate"),n=ye(n,()=>k(r,"componentWillRender")),o(),ye(n,()=>it(e,r,t))},ye=(e,t)=>lt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),lt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,s)=>{let o=e.$hostElement$,r=D("update",e.$cmpMeta$.$tagName$);o["s-rc"];let n=D("render",e.$cmpMeta$.$tagName$);ct(e,t,o,s),n(),r(),dt(e)},B=null,ct=(e,t,s,o)=>{try{B=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(S.hasRenderFn||S.reflect)&&(S.vdomRender||S.reflect)&&(S.hydrateServerSide||ot(e,t,o))}catch(r){J(r,e.$hostElement$)}return B=null,null},ve=()=>B,dt=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,o=D("postUpdate",t),r=s;e.$ancestorComponent$,k(r,"componentDidRender"),e.$flags$&64?(k(r,"componentDidUpdate"),o()):(e.$flags$|=64,k(r,"componentDidLoad"),o())},Se=e=>{{let t=Me(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&nt(t,!1),s}},k=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(o){J(o)}},ut=(e,t,s)=>{let o=e.get(t);o?o.includes(s)||o.push(s):e.set(t,[s])},$t=(e,t)=>{let s;return(...o)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...o)},t)}},pt=e=>!("isConnected"in e)||e.isConnected,be=$t(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(pt))},2e3),ht=()=>{if(typeof ve!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let s=ve();s&&ut(e,t,s)},set:t=>{let s=e.get(t);s&&e.set(t,s.filter(Se)),be(e)},reset:()=>{e.forEach(t=>t.forEach(Se)),be(e)}}},U=e=>typeof e=="function"?e():e,ft=(e,t=(s,o)=>s!==o)=>{let s=U(e),o=new Map(Object.entries(s??{})),r={dispose:[],get:[],set:[],reset:[]},n=()=>{var l;o=new Map(Object.entries((l=U(e))!==null&&l!==void 0?l:{})),r.reset.forEach(d=>d())},a=()=>{r.dispose.forEach(l=>l()),n()},i=l=>(r.get.forEach(d=>d(l)),o.get(l)),c=(l,d)=>{let u=o.get(l);t(d,u,l)&&(o.set(l,d),r.set.forEach(p=>p(l,d,u)))},h=typeof Proxy>"u"?{}:new Proxy(s,{get(l,d){return i(d)},ownKeys(l){return Array.from(o.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(l,d){return o.has(d)},set(l,d,u){return c(d,u),!0}}),$=(l,d)=>(r[l].push(d),()=>{mt(r[l],d)});return{state:h,get:i,set:c,on:$,onChange:(l,d)=>{let u=$("set",(v,m)=>{v===l&&d(m)}),p=$("reset",()=>d(U(e)[l]));return()=>{u(),p()}},use:(...l)=>{let d=l.reduce((u,p)=>(p.set&&u.push($("set",p.set)),p.get&&u.push($("get",p.get)),p.reset&&u.push($("reset",p.reset)),p.dispose&&u.push($("dispose",p.dispose)),u),[]);return()=>d.forEach(u=>u())},dispose:a,reset:n,forceUpdate:l=>{let d=o.get(l);r.set.forEach(u=>u(l,d,d))}}},mt=(e,t)=>{let s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)},gt=(e,t)=>{let s=ft(e,t);return s.use(ht()),s};var I={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},q=class{constructor(){this._hasChanges=!1,this._store=gt({...I})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(t){let s=this._store.get("solutionData").templates,o;return s.some(r=>t==r.itemId?(o=r,!0):!1),o||void 0}getStoreInfo(t){return this._store.get(t)}async loadSolution(t,s){this._authentication=s;let o=await te(t,s);if(o){let r=W(o,"params.wkid.default","");await this._prepareSolutionItemsForEditing(t,o.templates,s);let n=this._getFeatureServices(o.templates),a=this._getSpatialReferenceInfo(n,r);this._store.set("solutionItemId",t),this._store.set("defaultWkid",r),this._store.set("solutionData",o),this._store.set("featureServices",n),this._store.set("spatialReferenceInfo",a)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(t){t.resourceFilePaths.forEach(s=>{s.type===b.Thumbnail&&(s.updateType===y.None?s.updateType=y.Remove:(s.updateType===y.Add||s.updateType===y.Update)&&(s.updateType=y.Obsolete))}),t.resourceFilePaths=t.resourceFilePaths.filter(s=>s.updateType!=y.Obsolete),t.resourceFilePaths.push({blob:t.thumbnail,filename:t.thumbnail.name,type:b.Thumbnail,updateType:y.Add}),this.setItemInfo(t)}async saveSolution(){let t=this._store.get("solutionItemId"),s=this._store.get("solutionData"),o=this._store.get("spatialReferenceInfo"),r=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(t,s.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(r,s.templates),o.enabled){let n={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};o.default&&(n.default=o.default),M(s,"params.wkid",n)}else M(s,"params.wkid",{});await se({id:t,text:s},this._authentication)}setItemInfo(t){let s=this._store.get("solutionData");s.templates.some(o=>t.itemId==o.itemId?(o=t,this._store.set("solutionData",s),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(t,s){this._store.set(t,s),this._flagStoreHasChanges(!0)}_testAccess(t,s,o,r){switch(t){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(s);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(s,o);case"_getResourceFilePaths":return this._getResourceFilePaths(s,o,r);case"_getResourceStorageName":return this._getResourceStorageName(s,o);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(s,o);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(s,o,r);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(s,o,r);case"_splitFilename":return this._splitFilename(s);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(s,o)}return null}_emptyTheStore(){this._store.set("solutionItemId",I.solutionItemId),this._store.set("defaultWkid",I.defaultWkid),this._store.set("solutionData",I.solutionData),this._store.set("templateEdits",I.templateEdits),this._store.set("featureServices",I.featureServices),this._store.set("spatialReferenceInfo",I.spatialReferenceInfo)}_flagStoreHasChanges(t){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=t}_getCustomizableFeatureServices(t){return t.reduce((s,o)=>(o.type==="Feature Service"&&(o?.item?.typeKeywords||[]).indexOf("View Service")<0&&s.push(o),s),[])}_getFeatureServices(t){return this._getCustomizableFeatureServices(t).map(s=>{let o=s.item.title||s.item.name,r=Z(s,"properties.service.spatialReference.wkid");return{id:s.itemId,name:o,enabled:r.toString().startsWith(Y),wkid:r}})}_getItemsSharedWithThisGroup(t,s){return s.reduce((o,r)=>(r.itemId!==t.itemId&&r.type!=="Group"&&o.push({id:r.itemId,title:r.item.name||r.item.title,isShared:(r.groups||[]).indexOf(t.itemId)>-1,shareItem:(r.groups||[]).indexOf(t.itemId)>-1,type:r.type,typeKeywords:r.item.typeKeywords}),o),[])}_getResourceFilePaths(t,s,o){return re(o,t,s.resources,1).map(r=>(r.updateType=y.None,r))}_getResourceStorageName(t,s){let o=t;switch(s.type){case b.Data:o=`${o}_info_data`;break;case b.Info:o=`${o}_info`;break;case b.Metadata:o=`${o}_info_metadata`;break;case b.Resource:break;case b.Thumbnail:o=`${o}_info_thumbnail`;break}let r=s.filename;s.type==b.Data&&r&&!ne(r)&&(r=r+".zip",o+="z");let n=s.folder?s.folder+"/"+r:r;return o+"/"+n}_getSpatialReferenceInfo(t,s){let o={};t.forEach(n=>{o[n.name]=n.enabled});let r={enabled:!1,services:o};return s&&(r.default=s),r}async _prepareSolutionItemsForEditing(t,s,o){let r=[];s.forEach(a=>{a.resourceFilePaths=this._getResourceFilePaths(t,a,o.portal),r.push(a.resourceFilePaths.length>0?ae(o,a.resourceFilePaths):Promise.resolve()),a.groupDetails=a.type==="Group"?this._getItemsSharedWithThisGroup(a,s):[]});let n=await Promise.all(r);return s.forEach((a,i)=>{a.thumbnail=n[i]?n[i]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(t,s,o){let r=[],n=[];return s.forEach(a=>{a.resourceFilePaths.forEach(async i=>{let c=this._getResourceStorageName(a.itemId,i);switch(i.updateType){case y.Add:let{prefix:h,suffix:$}=this._splitFilename(c);a.resources.push(c),r.push({itemId:a.itemId,file:i.blob,folder:h,filename:$});break;case y.Update:n.push(new Promise(async l=>{try{await ie(t,c,i.blob,o)}catch(d){console.log("Unable to update "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break;case y.Remove:n.push(new Promise(async l=>{try{await le(t,c,o),a.resources=a.resources.filter(d=>d!==c)}catch(d){console.log("Unable to remove "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break}return Promise.resolve()}),delete a.thumbnail,delete a.groupDetails}),Promise.all(n).then(async()=>(r.length>0&&await oe(r,t,o),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(t,s){let o=this._getCustomizableFeatureServices(s);o.forEach(r=>{let n=t.find(a=>a.id===r.itemId);if(n){let a=W(r,"properties.service.spatialReference",{});a.wkid=n.wkid,n.enabled&&a.latestWkid&&delete a.latestWkid,ee(r,"properties.service.spatialReference",a)}}),s.forEach(r=>{let n=o.find(a=>a.itemId===r.itemId);if(n){r.properties.service.spatialReference={...n.properties.service.spatialReference};let a=Number.parseInt(r.properties.service.spatialReference.wkid);Number.isNaN(a)||(r.properties.service.spatialReference.wkid=a)}})}_splitFilename(t){let s=t.split("/");return{prefix:s.length>1?s.slice(0,s.length-1).join("/"):void 0,suffix:s[s.length-1]}}},St=q.Store;export{St as a};
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{J as Z,L as W,M,N as ee,bc as oe,ec as re,fc as ne,g as b,gc as ae,hc as le,ic as ie,pb as se,ra as te}from"./3S56X6X2.js";import{b as y,h as Y}from"./UA33VC6I.js";var S={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},Oe=Object.defineProperty,Le=(e,t)=>{for(var s in t)Oe(e,s,{get:t[s],enumerable:!0})},We=new WeakMap,Me=e=>We.get(e),ce=(e,t)=>t in e,J=(e,t)=>(0,console.error)(e,t),de="http://www.w3.org/1999/xlink",_e=typeof window<"u"?window:{},P=_e.document||{head:{}},w={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=e=>Promise.resolve(e),j=!1,ue=[],we=[],je=(e,t)=>s=>{e.push(s),j||(j=!0,t&&w.$flags$&4?ze(z):w.raf(z))},$e=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){J(s)}e.length=0},z=()=>{$e(ue),$e(we),(j=ue.length>0)&&w.raf(z)},ze=e=>Ue().then(e),Ge=je(we,!0),pe={},He="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Be=e=>e!=null,Ie=e=>(e=typeof e,e==="object"||e==="function"),qe={};Le(qe,{err:()=>Re,map:()=>Je,ok:()=>G,unwrap:()=>Qe,unwrapErr:()=>Ve});var G=e=>({isOk:!0,isErr:!1,value:e}),Re=e=>({isOk:!1,isErr:!0,value:e});function Je(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(o=>G(o)):G(s)}if(e.isErr){let s=e.value;return Re(s)}throw"should never get here"}var Qe=e=>{if(e.isOk)return e.value;throw e.value},Ve=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t="")=>()=>{},Xe=(e,t,...s)=>{let o=null,r=null,n=null,a=!1,i=!1,c=[],h=l=>{for(let d=0;d<l.length;d++)o=l[d],Array.isArray(o)?h(o):o!=null&&typeof o!="boolean"&&((a=!Ie(o))&&(o=String(o)),a&&i?c[c.length-1].$text$+=o:c.push(a?H(null,o):o),i=a)};h(s);let $=H(e,null);return $.$attrs$=t,c.length>0&&($.$children$=c),$.$key$=r,$.$name$=n,$},H=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},Ye={},Ze=e=>e&&e.$tag$===Ye,he=(e,t,s,o,r,n)=>{if(s!==o){let a=ce(e,t),i=t.toLowerCase();if(t==="class"){let c=e.classList,h=fe(s),$=fe(o);c.remove(...h.filter(l=>l&&!$.includes(l))),c.add(...$.filter(l=>l&&!h.includes(l)))}else if(t==="style"){for(let c in s)(!o||o[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in o)(!s||o[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,o[c]):e.style[c]=o[c])}else if(t!=="key")if(t==="ref")o&&o(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ce(_e,i)?t=i.slice(2):t=i[2]+t.slice(3),s||o){let c=t.endsWith(Te);t=t.replace(tt,""),s&&w.rel(e,t,s,c),o&&w.ael(e,t,o,c)}}else{let c=Ie(o);if((a||c&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=o;else{let $=o??"";t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let h=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,h=!0),o==null||o===!1?(o!==!1||e.getAttribute(t)==="")&&(h?e.removeAttributeNS(de,t):e.removeAttribute(t)):(!a||n&4||r)&&!c&&(o=o===!0?"":o,h?e.setAttributeNS(de,t,o):e.setAttribute(t,o))}}},et=/\s/,fe=e=>e?e.split(et):[],Te="Capture",tt=new RegExp(Te+"$"),Ne=(e,t,s)=>{let o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||pe,n=t.$attrs$||pe;for(let a of me(Object.keys(r)))a in n||he(o,a,r[a],void 0,s,t.$flags$);for(let a of me(Object.keys(n)))he(o,a,r[a],n[a],s,t.$flags$)};function me(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var T,K,F,A=!1,O=!1,Q=!1,f=!1,L=(e,t,s,o)=>{var r;let n=t.$children$[s],a=0,i,c,h;if(A||(Q=!0,n.$tag$==="slot"&&(T&&o.classList.add(T+"-s"),n.$flags$|=n.$children$?2:1)),n.$text$!==null)i=n.$elm$=P.createTextNode(n.$text$);else if(n.$flags$&1)i=n.$elm$=P.createTextNode("");else{if(f||(f=n.$tag$==="svg"),i=n.$elm$=P.createElementNS(f?He:Ke,!A&&S.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),f&&n.$tag$==="foreignObject"&&(f=!1),Ne(null,n,f),i.getRootNode().querySelector("body")&&S.scoped&&Be(T)&&i["s-si"]!==T&&i.classList.add(i["s-si"]=T),X(i,o),n.$children$)for(a=0;a<n.$children$.length;++a)c=L(e,n,a,i),c&&i.appendChild(c);n.$tag$==="svg"?f=!1:i.tagName==="foreignObject"&&(f=!0)}return i["s-hn"]=F,n.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=K,i["s-sn"]=n.$name$||"",i["s-rf"]=(r=n.$attrs$)==null?void 0:r.ref,h=e&&e.$children$&&e.$children$[s],h&&h.$tag$===n.$tag$&&e.$elm$&&x(e.$elm$,!1)),i},x=(e,t)=>{w.$flags$|=1;let s=Array.from(e.childNodes);e["s-sr"]&&S.experimentalSlotFixes;for(let o=s.length-1;o>=0;o--){let r=s[o];r["s-hn"]!==F&&r["s-ol"]&&(R(xe(r),r,V(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Q=!0),t&&x(r,t)}w.$flags$&=-2},ke=(e,t,s,o,r,n)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot);r<=n;++r)o[r]&&(i=L(null,s,r,e),i&&(o[r].$elm$=i,R(a,i,V(t))))},Fe=(e,t,s)=>{for(let o=t;o<=s;++o){let r=e[o];if(r){let n=r.$elm$;Pe(r),n&&(O=!0,n["s-ol"]?n["s-ol"].remove():x(n,!0),n.remove())}}},st=(e,t,s,o,r=!1)=>{let n=0,a=0,i=0,c=0,h=t.length-1,$=t[0],l=t[h],d=o.length-1,u=o[0],p=o[d],v,m;for(;n<=h&&a<=d;)if($==null)$=t[++n];else if(l==null)l=t[--h];else if(u==null)u=o[++a];else if(p==null)p=o[--d];else if(C($,u,r))N($,u,r),$=t[++n],u=o[++a];else if(C(l,p,r))N(l,p,r),l=t[--h],p=o[--d];else if(C($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&x($.$elm$.parentNode,!1),N($,p,r),R(e,$.$elm$,l.$elm$.nextSibling),$=t[++n],p=o[--d];else if(C(l,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&x(l.$elm$.parentNode,!1),N(l,u,r),R(e,l.$elm$,$.$elm$),l=t[--h],u=o[++a];else{for(i=-1,c=n;c<=h;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===u.$key$){i=c;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?v=L(t&&t[a],s,i,e):(N(m,u,r),t[i]=void 0,v=m.$elm$),u=o[++a]):(v=L(t&&t[a],s,a,e),u=o[++a]),v&&R(xe($.$elm$),v,V($.$elm$))}n>h?ke(e,o[d+1]==null?null:o[d+1].$elm$,s,o,a,d):a>d&&Fe(t,n,h)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,V=e=>e&&e["s-ol"]||e,xe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t,s=!1)=>{let o=t.$elm$=e.$elm$,r=e.$children$,n=t.$children$,a=t.$tag$,i=t.$text$,c;i===null?(f=a==="svg"?!0:a==="foreignObject"?!1:f,a==="slot"&&!A||Ne(e,t,f),r!==null&&n!==null?st(o,r,t,n,s):n!==null?(e.$text$!==null&&(o.textContent=""),ke(o,null,t,n,0,n.length-1)):!s&&S.updatable&&r!==null&&Fe(r,0,r.length-1),f&&a==="svg"&&(f=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:e.$text$!==i&&(o.data=i)},Ee=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let o=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||o!==""){if(r.nodeType===1&&(o===r.getAttribute("slot")||o===r["s-sn"])||r.nodeType===3&&o===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}Ee(s)}},_=[],Ce=e=>{let t,s,o;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let n=r["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"])if(ge(t,n)){let a=_.find(i=>i.$nodeToRelocate$===t);O=!0,t["s-sn"]=t["s-sn"]||n,a?(a.$nodeToRelocate$["s-sh"]=r["s-hn"],a.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],_.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&_.map(i=>{ge(i.$nodeToRelocate$,t["s-sn"])&&(a=_.find(c=>c.$nodeToRelocate$===t),a&&!i.$slotRefNode$&&(i.$slotRefNode$=a.$slotRefNode$))})}else _.some(a=>a.$nodeToRelocate$===t)||_.push({$nodeToRelocate$:t})}r.nodeType===1&&Ce(r)}},ge=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Pe)},R=(e,t,s)=>{let o=e?.insertBefore(t,s);return X(t,e),o},De=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...De(e.parentElement)),t},X=(e,t,s=!1)=>{var o;if(e&&t&&e.nodeType===1){let r=new Set(De(t).filter(Boolean));if(r.size&&((o=e.classList)==null||o.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let n of Array.from(e.childNodes))X(n,e,!0)}},ot=(e,t,s=!1)=>{var o,r,n,a,i;let c=e.$hostElement$,h=e.$cmpMeta$,$=e.$vnode$||H(null,null),l=Ze(t)?t:Xe(null,null,t);if(F=c.tagName,h.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},h.$attrsToReflect$.map(([d,u])=>l.$attrs$[u]=c[d])),s&&l.$attrs$)for(let d of Object.keys(l.$attrs$))c.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(l.$attrs$[d]=c[d]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=$.$elm$=c.shadowRoot||c,T=c["s-sc"],A=(h.$flags$&1)!==0,K=c["s-cr"],O=!1,N($,l,s);{if(w.$flags$|=1,Q){Ce(l.$elm$);for(let d of _){let u=d.$nodeToRelocate$;if(!u["s-ol"]){let p=P.createTextNode("");p["s-nr"]=u,R(u.parentNode,u["s-ol"]=p,u)}}for(let d of _){let u=d.$nodeToRelocate$,p=d.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;E;){let g=(r=E["s-nr"])!=null?r:null;if(g&&g["s-sn"]===u["s-sn"]&&v===g.parentNode){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}(!m&&v!==u.parentNode||u.nextSibling!==m)&&u!==m&&(!u["s-hn"]&&u["s-ol"]&&(u["s-hn"]=u["s-ol"].parentNode.nodeName),R(v,u,m),u.nodeType===1&&(u.hidden=(n=u["s-ih"])!=null?n:!1)),u&&typeof p["s-rf"]=="function"&&p["s-rf"](u)}else u.nodeType===1&&(s&&(u["s-ih"]=(a=u.hidden)!=null?a:!1),u.hidden=!0)}}O&&Ee(l.$elm$),w.$flags$&=-2,_.length=0}if(S.experimentalScopedSlotChanges&&h.$flags$&2)for(let d of l.$elm$.childNodes)d["s-hn"]!==F&&!d["s-sh"]&&(s&&d["s-ih"]==null&&(d["s-ih"]=(i=d.hidden)!=null?i:!1),d.hidden=!0);K=void 0},rt=(e,t)=>{},nt=(e,t)=>(e.$flags$|=16,rt(e,e.$ancestorComponent$),Ge(()=>at(e,t))),at=(e,t)=>{let s=e.$hostElement$,o=D("scheduleUpdate",e.$cmpMeta$.$tagName$),r=s;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=k(r,"componentWillUpdate"),n=ye(n,()=>k(r,"componentWillRender")),o(),ye(n,()=>it(e,r,t))},ye=(e,t)=>lt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),lt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,s)=>{let o=e.$hostElement$,r=D("update",e.$cmpMeta$.$tagName$);o["s-rc"];let n=D("render",e.$cmpMeta$.$tagName$);ct(e,t,o,s),n(),r(),dt(e)},B=null,ct=(e,t,s,o)=>{try{B=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(S.hasRenderFn||S.reflect)&&(S.vdomRender||S.reflect)&&(S.hydrateServerSide||ot(e,t,o))}catch(r){J(r,e.$hostElement$)}return B=null,null},ve=()=>B,dt=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,o=D("postUpdate",t),r=s;e.$ancestorComponent$,k(r,"componentDidRender"),e.$flags$&64?(k(r,"componentDidUpdate"),o()):(e.$flags$|=64,k(r,"componentDidLoad"),o())},Se=e=>{{let t=Me(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&nt(t,!1),s}},k=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(o){J(o)}},ut=(e,t,s)=>{let o=e.get(t);o?o.includes(s)||o.push(s):e.set(t,[s])},$t=(e,t)=>{let s;return(...o)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...o)},t)}},pt=e=>!("isConnected"in e)||e.isConnected,be=$t(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(pt))},2e3),ht=()=>{if(typeof ve!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let s=ve();s&&ut(e,t,s)},set:t=>{let s=e.get(t);s&&e.set(t,s.filter(Se)),be(e)},reset:()=>{e.forEach(t=>t.forEach(Se)),be(e)}}},U=e=>typeof e=="function"?e():e,ft=(e,t=(s,o)=>s!==o)=>{let s=U(e),o=new Map(Object.entries(s??{})),r={dispose:[],get:[],set:[],reset:[]},n=()=>{var l;o=new Map(Object.entries((l=U(e))!==null&&l!==void 0?l:{})),r.reset.forEach(d=>d())},a=()=>{r.dispose.forEach(l=>l()),n()},i=l=>(r.get.forEach(d=>d(l)),o.get(l)),c=(l,d)=>{let u=o.get(l);t(d,u,l)&&(o.set(l,d),r.set.forEach(p=>p(l,d,u)))},h=typeof Proxy>"u"?{}:new Proxy(s,{get(l,d){return i(d)},ownKeys(l){return Array.from(o.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(l,d){return o.has(d)},set(l,d,u){return c(d,u),!0}}),$=(l,d)=>(r[l].push(d),()=>{mt(r[l],d)});return{state:h,get:i,set:c,on:$,onChange:(l,d)=>{let u=$("set",(v,m)=>{v===l&&d(m)}),p=$("reset",()=>d(U(e)[l]));return()=>{u(),p()}},use:(...l)=>{let d=l.reduce((u,p)=>(p.set&&u.push($("set",p.set)),p.get&&u.push($("get",p.get)),p.reset&&u.push($("reset",p.reset)),p.dispose&&u.push($("dispose",p.dispose)),u),[]);return()=>d.forEach(u=>u())},dispose:a,reset:n,forceUpdate:l=>{let d=o.get(l);r.set.forEach(u=>u(l,d,d))}}},mt=(e,t)=>{let s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)},gt=(e,t)=>{let s=ft(e,t);return s.use(ht()),s};var I={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},q=class{constructor(){this._hasChanges=!1,this._store=gt({...I})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(t){let s=this._store.get("solutionData").templates,o;return s.some(r=>t==r.itemId?(o=r,!0):!1),o||void 0}getStoreInfo(t){return this._store.get(t)}async loadSolution(t,s){this._authentication=s;let o=await te(t,s);if(o){let r=W(o,"params.wkid.default","");await this._prepareSolutionItemsForEditing(t,o.templates,s);let n=this._getFeatureServices(o.templates),a=this._getSpatialReferenceInfo(n,r);this._store.set("solutionItemId",t),this._store.set("defaultWkid",r),this._store.set("solutionData",o),this._store.set("featureServices",n),this._store.set("spatialReferenceInfo",a)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(t){t.resourceFilePaths.forEach(s=>{s.type===b.Thumbnail&&(s.updateType===y.None?s.updateType=y.Remove:(s.updateType===y.Add||s.updateType===y.Update)&&(s.updateType=y.Obsolete))}),t.resourceFilePaths=t.resourceFilePaths.filter(s=>s.updateType!=y.Obsolete),t.resourceFilePaths.push({blob:t.thumbnail,filename:t.thumbnail.name,type:b.Thumbnail,updateType:y.Add}),this.setItemInfo(t)}async saveSolution(){let t=this._store.get("solutionItemId"),s=this._store.get("solutionData"),o=this._store.get("spatialReferenceInfo"),r=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(t,s.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(r,s.templates),o.enabled){let n={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};o.default&&(n.default=o.default),M(s,"params.wkid",n)}else M(s,"params.wkid",{});await se({id:t,text:s},this._authentication)}setItemInfo(t){let s=this._store.get("solutionData");s.templates.some(o=>t.itemId==o.itemId?(o=t,this._store.set("solutionData",s),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(t,s){this._store.set(t,s),this._flagStoreHasChanges(!0)}_testAccess(t,s,o,r){switch(t){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(s);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(s,o);case"_getResourceFilePaths":return this._getResourceFilePaths(s,o,r);case"_getResourceStorageName":return this._getResourceStorageName(s,o);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(s,o);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(s,o,r);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(s,o,r);case"_splitFilename":return this._splitFilename(s);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(s,o)}return null}_emptyTheStore(){this._store.set("solutionItemId",I.solutionItemId),this._store.set("defaultWkid",I.defaultWkid),this._store.set("solutionData",I.solutionData),this._store.set("templateEdits",I.templateEdits),this._store.set("featureServices",I.featureServices),this._store.set("spatialReferenceInfo",I.spatialReferenceInfo)}_flagStoreHasChanges(t){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=t}_getCustomizableFeatureServices(t){return t.reduce((s,o)=>(o.type==="Feature Service"&&(o?.item?.typeKeywords||[]).indexOf("View Service")<0&&s.push(o),s),[])}_getFeatureServices(t){return this._getCustomizableFeatureServices(t).map(s=>{let o=s.item.title||s.item.name,r=Z(s,"properties.service.spatialReference.wkid");return{id:s.itemId,name:o,enabled:r.toString().startsWith(Y),wkid:r}})}_getItemsSharedWithThisGroup(t,s){return s.reduce((o,r)=>(r.itemId!==t.itemId&&r.type!=="Group"&&o.push({id:r.itemId,title:r.item.name||r.item.title,isShared:(r.groups||[]).indexOf(t.itemId)>-1,shareItem:(r.groups||[]).indexOf(t.itemId)>-1,type:r.type,typeKeywords:r.item.typeKeywords}),o),[])}_getResourceFilePaths(t,s,o){return re(o,t,s.resources,1).map(r=>(r.updateType=y.None,r))}_getResourceStorageName(t,s){let o=t;switch(s.type){case b.Data:o=`${o}_info_data`;break;case b.Info:o=`${o}_info`;break;case b.Metadata:o=`${o}_info_metadata`;break;case b.Resource:break;case b.Thumbnail:o=`${o}_info_thumbnail`;break}let r=s.filename;s.type==b.Data&&r&&!ne(r)&&(r=r+".zip",o+="z");let n=s.folder?s.folder+"/"+r:r;return o+"/"+n}_getSpatialReferenceInfo(t,s){let o={};t.forEach(n=>{o[n.name]=n.enabled});let r={enabled:!1,services:o};return s&&(r.default=s),r}async _prepareSolutionItemsForEditing(t,s,o){let r=[];s.forEach(a=>{a.resourceFilePaths=this._getResourceFilePaths(t,a,o.portal),r.push(a.resourceFilePaths.length>0?ae(o,a.resourceFilePaths):Promise.resolve()),a.groupDetails=a.type==="Group"?this._getItemsSharedWithThisGroup(a,s):[]});let n=await Promise.all(r);return s.forEach((a,i)=>{a.thumbnail=n[i]?n[i]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(t,s,o){let r=[],n=[];return s.forEach(a=>{a.resourceFilePaths.forEach(async i=>{let c=this._getResourceStorageName(a.itemId,i);switch(i.updateType){case y.Add:let{prefix:h,suffix:$}=this._splitFilename(c);a.resources.push(c),r.push({itemId:a.itemId,file:i.blob,folder:h,filename:$});break;case y.Update:n.push(new Promise(async l=>{try{await ie(t,c,i.blob,o)}catch(d){console.log("Unable to update "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break;case y.Remove:n.push(new Promise(async l=>{try{await le(t,c,o),a.resources=a.resources.filter(d=>d!==c)}catch(d){console.log("Unable to remove "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break}return Promise.resolve()}),delete a.thumbnail,delete a.groupDetails}),Promise.all(n).then(async()=>(r.length>0&&await oe(r,t,o),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(t,s){let o=this._getCustomizableFeatureServices(s);o.forEach(r=>{let n=t.find(a=>a.id===r.itemId);if(n){let a=W(r,"properties.service.spatialReference",{});a.wkid=n.wkid,n.enabled&&a.latestWkid&&delete a.latestWkid,ee(r,"properties.service.spatialReference",a)}}),s.forEach(r=>{let n=o.find(a=>a.itemId===r.itemId);if(n){r.properties.service.spatialReference={...n.properties.service.spatialReference};let a=Number.parseInt(r.properties.service.spatialReference.wkid);Number.isNaN(a)||(r.properties.service.spatialReference.wkid=a)}})}_splitFilename(t){let s=t.split("/");return{prefix:s.length>1?s.slice(0,s.length-1).join("/"):void 0,suffix:s[s.length-1]}}},St=q.Store;export{St as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as q}from"./ZWM4JUL6.js";import{a as w}from"./S7ZR3IKK.js";import{a as M}from"./N4AYMWOT.js";import{C as T,b as v,c as F,z as P}from"./2AXJLVG3.js";import{b as S}from"./JQGMDBDF.js";import"./A5NNENXQ.js";import"./DRIHILRA.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./LRXZR626.js";import"./BPH6LIDW.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{a as q}from"./7JKSOR6C.js";import{a as w}from"./W3N73WY3.js";import{a as M}from"./WDTG4SXX.js";import{C as T,b as v,c as F,z as P}from"./7SSSYXQO.js";import{b as S}from"./3HGMP3WJ.js";import"./N2SSWNC3.js";import"./7ND2X3BJ.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./S2QR4L5U.js";import"./FYGRWN67.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{a,b}from"./KUSLNPXZ.js";import"./FT4MIGWF.js";import"./VS43G5XU.js";import"./CQAPILKE.js";import"./VHTX2IOJ.js";import"./QLKE2M4P.js";import"./FYGRWN67.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import"./FYGRWN67.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/_discussions",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};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{f as C}from"./
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{f as C}from"./Q2QGZIQ7.js";import"./UA33VC6I.js";import"./F3A47JC6.js";import{b}from"./UHU5SRN5.js";import{b as g}from"./PQC4BIV3.js";import{C as d,D as p,E as m,h as u,i as r,o as h,r as _}from"./S2QR4L5U.js";import"./FYGRWN67.js";var F=u`@layer{/**
|
5
5
|
* @license
|
6
6
|
* Copyright 2025 Esri
|
7
7
|
*
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as e}from"./
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{b as e}from"./QLKE2M4P.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{a as l}from"./JX6DNZNL.js";import"./K7OOW2EA.js";import"./BNCZLIKT.js";import"./ZHKAPFOP.js";import{a as t}from"./ZTG2W7CT.js";import"./WMTRZTYY.js";import"./6SC72YNX.js";import"./3FIOD3YX.js";import"./MTB7XDP3.js";import"./NIAJXEE6.js";import"./UDPUY7NM.js";import"./M34LE2RF.js";import"./WQ6NN76D.js";import"./M3GU5C6J.js";import"./OGE4W2JO.js";import"./OFRBUWKY.js";import"./HQCND3SJ.js";import"./US7TQRGI.js";import"./5VEZOODP.js";import"./EQFPUNZY.js";import"./KUSLNPXZ.js";import"./IV7P7NDJ.js";import"./FT4MIGWF.js";import"./VS43G5XU.js";import"./CQAPILKE.js";import"./VHTX2IOJ.js";import"./QLKE2M4P.js";import"./FYGRWN67.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as X}from"./
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{a as X}from"./J76IEWKC.js";import{a as s}from"./KFOVKGMI.js";import{c as x}from"./2NLUWNFS.js";import{a as J,b as H}from"./32YYXMY2.js";import{h as V,i as z}from"./3PYQUGCP.js";import{b as R,c as w}from"./P6S4TFBQ.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./JPTYPQJH.js";import"./QMBWJEG3.js";import"./AYSXJ6Y7.js";import"./HRM77TTA.js";import"./HFPQY4KG.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./IMXSOKQ5.js";import"./GSZXESIX.js";import{i as G}from"./4X7OABOH.js";import"./7XQRAF4F.js";import{a as p}from"./S2S4TDZC.js";import"./4MJ577J5.js";import"./IX2YAFI4.js";import"./ONKBVR36.js";import"./K7OOW2EA.js";import{k as O,s as j}from"./RB3XSXHW.js";import"./MEQQBQFX.js";import"./5TKYHQZE.js";import"./BNCZLIKT.js";import{a as d}from"./ZHKAPFOP.js";import"./M34LE2RF.js";import"./CQAPILKE.js";import"./FYGRWN67.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
4
|
var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),o=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var p=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a}from"./
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{a}from"./I3J35WL3.js";import"./4X7OABOH.js";import"./7XQRAF4F.js";import"./S2S4TDZC.js";import"./4MJ577J5.js";import{a as s,b as r}from"./67K6AR5M.js";import"./IX2YAFI4.js";import"./ONKBVR36.js";import"./K7OOW2EA.js";import{a as o}from"./VFHAYSWI.js";import{a as i}from"./4M6AIM6G.js";import"./RB3XSXHW.js";import"./MEQQBQFX.js";import"./5TKYHQZE.js";import"./BNCZLIKT.js";import"./ZHKAPFOP.js";import"./ZTG2W7CT.js";import"./WMTRZTYY.js";import"./6SC72YNX.js";import"./3FIOD3YX.js";import"./MTB7XDP3.js";import"./NIAJXEE6.js";import"./UDPUY7NM.js";import"./M34LE2RF.js";import"./WQ6NN76D.js";import"./M3GU5C6J.js";import"./OGE4W2JO.js";import"./OFRBUWKY.js";import"./HQCND3SJ.js";import"./US7TQRGI.js";import"./5VEZOODP.js";import"./EQFPUNZY.js";import"./KUSLNPXZ.js";import"./IV7P7NDJ.js";import"./FT4MIGWF.js";import"./VS43G5XU.js";import"./CQAPILKE.js";import"./VHTX2IOJ.js";import"./QLKE2M4P.js";import"./FYGRWN67.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{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"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{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(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{c as n}from"./
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{c as n}from"./PQC4BIV3.js";function l(r,t){let a=i(r,t),e=n("assets/item-icons/");return console.log(e),a==="group"?`${e}/${a}16.png`:`${e}/${a}16.svg`}function i(r,t){let a=r.toLowerCase(),e=t||[],s=e.includes("Hosted Service");switch(a.trim()){case"360 vr experience":return"360vr";case"3dtiles package":return"3dtileslayerpackage";case"3dtiles service":return e.includes("3DObject")?"3dobjecttileslayer":e.includes("IntegratedMesh")?"integratedmeshtileslayer":"3dobjecttileslayer";case"feature service":case"feature collection":case"kml":case"wfs":if(e.includes("IndoorPositioningDataService"))return"indoorpositioningdataservice";let c=e.includes("Spatiotemporal");return e.includes("Table")?c?"spatiotemporaltable":"table":e.includes("Route Layer")?"routelayer":e.includes("Markup")?"markup":c?"spatiotemporal":e.includes("UtilityNetwork")?"utilitynetwork":s?"featureshosted":"features";case"group":return"group";case"group layer":return e.includes("Map")?"layergroup2d":e.includes("Scene")?"layergroup3d":"layergroup";case"wmts":return"maptiles";case"map service":case"wms":return s||e.includes("Tiled")?"maptiles":"mapimages";case"scene service":return e.includes("Line")?"sceneweblayerline":e.includes("3DObject")?"sceneweblayermultipatch":e.includes("Point")?"sceneweblayerpoint":e.includes("IntegratedMesh")?"sceneweblayermesh":e.includes("PointCloud")?"sceneweblayerpointcloud":e.includes("Polygon")?"sceneweblayerpolygon":e.includes("Building")?"sceneweblayerbuilding":e.includes("Voxel")?"sceneweblayervoxel":"sceneweblayer";case"image service":return e.includes("Elevation 3D Layer")?"elevationlayer":e.includes("Tiled Imagery")?"tiledimagerylayer":"imagery";case"stream service":return"streamlayer";case"video service":return e.includes("Live Stream")?"livestreamvideolayer":"mediaservice";case"vector tile service":return"vectortile";case"datastore catalog service":return"datastorecollection";case"geocoding service":return"geocodeservice";case"geoprocessing service":return e.includes("Web Tool")?"tool":"layers";case"geodata service":return"geodataservice";case"web map":case"cityengine web scene":return"maps";case"web scene":return e.includes("ViewingMode-Local")?"webscenelocal":"websceneglobal";case"application":case"web mapping application":case"mobile application":case"operation view":case"desktop application":return e.includes("configurableApp")?"instantapps":"apps";case"map document":case"map package":case"published map":case"scene document":case"globe document":case"basemap package":case"mobile basemap package":case"mobile map package":case"project package":case"project template":case"pro map":case"layout":return"mapsgray";case"layer":return e.includes("ArcGIS Pro")?"mapsgray":"layersgray";case"explorer map":return e.indexOf("Explorer Document")?"mapsgray":e.includes("Explorer Mapping Application")?"datafilesgray":"mapsgray";case"pro presentation":return"propresentation";case"api key":return"key";case"csv":return"csv";case"shapefile":return"shapefile";case"csv collection":return"csvcollection";case"media layer":return"medialayer";case"microsoft excel":return"excel";case"microsoft powerpoint":return"powerpoint";case"microsoft word":return"word";case"pdf":return"pdf";case"sqlite geodatabase":return"sqlite";case"administrative report":return"report";case"image":return"image";case"cad drawing":return"cad";case"service definition":case"geojson":case"netcdf":return"data";case"explorer add in":case"desktop add in":case"windows viewer add in":case"windows viewer configuration":return"appsgray";case"arcgis pro add in":case"arcgis pro configuration":return"addindesktop";case"rule package":case"file geodatabase":case"kml collection":case"windows mobile package":case"map template":case"desktop application template":case"gml":case"arcpad package":case"code sample":case"document link":case"earth configuration":case"operations dashboard add in":case"rules package":case"workflow manager package":return"datafilesgray";case"form":return e.includes("Survey123")?"survey":"datafilesgray";case"network analysis service":case"geometry service":case"geoprocessing package":case"locator package":case"geoprocessing sample":case"workflow manager service":return"toolsgray";case"layer package":case"explorer layer":return"layersgray";case"scene package":return"scenepackage";case"mobile scene package":return"mobilescenepackage";case"tile package":case"compact tile package":return"tilepackage";case"task file":return"taskfile";case"report template":return"reporttemplate";case"statistical data collection":return"statisticaldatacollection";case"analysis model":return"geoprocessingmodel";case"insights workbook":return"workbook";case"insights model":return"insightsmodel";case"insights page":return"insightspage";case"insights theme":return"insightstheme";case"hub initiative":return"hubinitiative";case"hub page":return"hubpage";case"hub event":return"hubevent";case"hub site application":return"hubsite";case"hub project":return"hubproject";case"relational database connection":return"relationaldatabaseconnection";case"image collection":return"imagecollection";case"style":return e.includes("Dictionary")?"dictionarystyle":"style";case"desktop style":return"desktopstyle";case"dashboard":return"dashboard";case"raster function template":return"rasterprocessingtemplate";case"vector tile package":return"vectortilepackage";case"ortho mapping project":return"orthomappingproject";case"ortho mapping template":return"orthomappingtemplate";case"solution":return"solutions";case"geopackage":return"geopackage";case"deep learning package":return"deeplearningpackage";case"real time analytic":return"realtimeanalytics";case"big data analytic":return"bigdataanalytics";case"feed":return"feed";case"excalibur imagery project":return"excaliburimageryproject";case"notebook":return"notebook";case"reality mapping project":return"realitymappingproject";case"storymap":return e.includes("storymaptemplate")?"storymapstemplate":e.includes("storymapcollection")?"storymapcollection":e.includes("storymapbriefing")?"storymapbriefing":"storymap";case"survey123 add in":return"survey123addin";case"mission":return"mission";case"mission report":return"missionreport";case"quickcapture project":return"quickcaptureproject";case"pro report":return"proreport";case"urban model":return"urbanmodel";case"urban project":return"urbanproject";case"web experience":return"experiencebuilder";case"web experience template":return"webexperiencetemplate";case"experience builder widget":return"experiencebuilderwidget";case"experience builder widget package":return"experiencebuilderwidgetpackage";case"workflow":return"workflow";case"insights script":return"insightsscript";case"kernel gateway connection":return"kernelgatewayconnection";case"hub initiative template":return"hubinitiativetemplate";case"storymap theme":return"storymaptheme";case"knowledge graph":return"knowledgegraph";case"knowledge studio project":return"knowledgestudio";case"knowledge graph layer":return"knowledgegraphlayer";case"native application":return"nativeapp";case"native application installer":return"nativeappinstaller";case"web link chart":return"linkchart";case"knowledge graph web investigation":return"investigation";case"ogcfeatureserver":return"features";case"pro project":return"proproject";case"insights workbook package":return"insightsworkbookpackage";case"apache parquet":return"apacheparquet";case"notebook code snippets":case"notebook code snippet library":return"notebookcodesnippets";case"suitability model":return"suitabilitymodel";case"esri classifier definition":return"classifierdefinition";case"esri classification schema":return"classificationschema";case"insights data engineering workbook":return"dataengineeringworkbook";case"insights data engineering model":return"dataengineeringmodel";case"deep learning studio project":return"deeplearningproject";case"data store":return"datastore";case"data pipeline":return"datapipeline";default:return e.includes("Document")?"datafilesgray":a.includes("service")?"layers":"maps"}}export{l as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import"./FYGRWN67.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};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as c}from"./
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{b as c}from"./UHU5SRN5.js";import{a as u}from"./UY7XKLI6.js";import"./N2SSWNC3.js";import"./7ND2X3BJ.js";import{b as o}from"./PQC4BIV3.js";import{C as r,D as h,E as l,h as n,i,o as s}from"./S2QR4L5U.js";import"./FYGRWN67.js";var m=n`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as c}from"./
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{b as c}from"./3HGMP3WJ.js";import{E as n,h as s,i as r,o as i,r as o}from"./S2QR4L5U.js";import"./FYGRWN67.js";var h=`
|
5
5
|
.ck.ck-reset.ck-editor.ck-rounded-corners {
|
6
6
|
margin-top: 10px !important;
|
7
7
|
margin-left: 55px !important;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as yt}from"./YHHQICGW.js";import{a as $}from"./3Z2DCDFZ.js";import{a as G}from"./N4AYMWOT.js";import{c as J,n as X,t as K,z as Q}from"./2AXJLVG3.js";import{b as q}from"./JQGMDBDF.js";import"./A5NNENXQ.js";import"./DRIHILRA.js";import{C as m,D as d,E as j,G as h,h as W,i as c,l as V,o as z}from"./LRXZR626.js";import{d as xt}from"./BPH6LIDW.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function w(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var x=null;function T(e={}){return x||(e.includeStyleProperties?(x=e.includeStyleProperties,x):(x=w(window.getComputedStyle(document.documentElement)),x))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function bt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function L(e,t={}){let i=t.width||bt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function y(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function b(e){let t=kt(e).toLowerCase();return Tt[t]||""}function It(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function M(e,t){return`data:${t};base64,${e}`}async function R(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var F={};function $t(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=$t(e,t,i.includeQueryParams);if(F[n]!=null)return F[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await R(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),It(o)));r=M(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return F[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):y(t)}async function Ft(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return y(o)}let i=e.poster,n=b(i),r=await E(i,n,t);return y(r)}async function Mt(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Ft(e,t):u(e,HTMLIFrameElement)?Mt(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=w(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=w(e.contentDocument.body.childNodes):s=w(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ht(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ut(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ht(e,t),Ut(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,zt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function qt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=b(t),o;if(r){let p=await r(s);o=M(p,a)}else o=await E(s,a,n);return e.replace(jt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(zt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function D(e){return e.search(ot)!==-1}async function k(e,t,i){if(!D(e))return e;let n=Jt(e,i);return qt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,b(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=w(e.childNodes).map(r=>A(r,t));await Promise.all(n).then(()=>e)}async function A(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),R(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(v=>ht(v,t)).then(v=>dt(v).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(vt){console.error("Error inserting rule from remote css",{rule:I,error:vt})}})).catch(v=>{console.error("Error loading remote css",v.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>D(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=w(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{a as yt}from"./IXTY5VFT.js";import{a as $}from"./PZPV5BYJ.js";import{a as G}from"./WDTG4SXX.js";import{c as J,n as X,t as K,z as Q}from"./7SSSYXQO.js";import{b as q}from"./3HGMP3WJ.js";import"./N2SSWNC3.js";import"./7ND2X3BJ.js";import{C as m,D as d,E as j,G as h,h as W,i as c,l as V,o as z}from"./S2QR4L5U.js";import{d as xt}from"./FYGRWN67.js";function Y(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let i=document.implementation.createHTMLDocument(),n=i.createElement("base"),r=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(r),t&&(n.href=t),r.href=e,r.href}var Z=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function w(e){let t=[];for(let i=0,n=e.length;i<n;i++)t.push(e[i]);return t}var x=null;function T(e={}){return x||(e.includeStyleProperties?(x=e.includeStyleProperties,x):(x=w(window.getComputedStyle(document.documentElement)),x))}function S(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function bt(e){let t=S(e,"border-left-width"),i=S(e,"border-right-width");return e.clientWidth+t+i}function Et(e){let t=S(e,"border-top-width"),i=S(e,"border-bottom-width");return e.clientHeight+t+i}function L(e,t={}){let i=t.width||bt(e),n=t.height||Et(e);return{width:i,height:n}}function N(){let e,t;try{t=process}catch{}let i=t&&t.env?t.env.devicePixelRatio:null;return i&&(e=parseInt(i,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var g=16384;function tt(e){(e.width>g||e.height>g)&&(e.width>g&&e.height>g?e.width>e.height?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g):e.width>g?(e.height*=g/e.width,e.width=g):(e.width*=g/e.height,e.height=g))}function y(e){return new Promise((t,i)=>{let n=new Image;n.onload=()=>{n.decode().then(()=>{requestAnimationFrame(()=>t(n))})},n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=e})}async function _t(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function et(e,t,i){let n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg"),s=document.createElementNS(n,"foreignObject");return r.setAttribute("width",`${t}`),r.setAttribute("height",`${i}`),r.setAttribute("viewBox",`0 0 ${t} ${i}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),r.appendChild(s),s.appendChild(e),_t(r)}var u=(e,t)=>{if(e instanceof t)return!0;let i=Object.getPrototypeOf(e);return i===null?!1:i.constructor.name===t.name||u(i,t)};function Ct(e){let t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Pt(e,t){return T(t).map(i=>{let n=e.getPropertyValue(i),r=e.getPropertyPriority(i);return`${i}: ${n}${r?" !important":""};`}).join(" ")}function St(e,t,i,n){let r=`.${e}:${t}`,s=i.cssText?Ct(i):Pt(i,n);return document.createTextNode(`${r}{${s}}`)}function it(e,t,i,n){let r=window.getComputedStyle(e,i),s=r.getPropertyValue("content");if(s===""||s==="none")return;let a=Z();try{t.className=`${t.className} ${a}`}catch{return}let o=document.createElement("style");o.appendChild(St(a,i,r,n)),t.appendChild(o)}function nt(e,t,i){it(e,t,":before",i),it(e,t,":after",i)}var rt="application/font-woff",st="image/jpeg",Tt={woff:rt,woff2:rt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:st,jpeg:st,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function kt(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function b(e){let t=kt(e).toLowerCase();return Tt[t]||""}function It(e){return e.split(/,/)[1]}function C(e){return e.search(/^(data:)/)!==-1}function M(e,t){return`data:${t};base64,${e}`}async function R(e,t,i){let n=await fetch(e,t);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);let r=await n.blob();return new Promise((s,a)=>{let o=new FileReader;o.onerror=a,o.onloadend=()=>{try{s(i({res:n,result:o.result}))}catch(p){a(p)}},o.readAsDataURL(r)})}var F={};function $t(e,t,i){let n=e.replace(/\?.*/,"");return i&&(n=e),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),t?`[${t}]${n}`:n}async function E(e,t,i){let n=$t(e,t,i.includeQueryParams);if(F[n]!=null)return F[n];i.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{let s=await R(e,i.fetchRequestInit,({res:a,result:o})=>(t||(t=a.headers.get("Content-Type")||""),It(o)));r=M(s,t)}catch(s){r=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return F[n]=r,r}async function Lt(e){let t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):y(t)}async function Ft(e,t){if(e.currentSrc){let s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);let o=s.toDataURL();return y(o)}let i=e.poster,n=b(i),r=await E(i,n,t);return y(r)}async function Mt(e,t){var i;try{if(!((i=e?.contentDocument)===null||i===void 0)&&i.body)return await P(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Rt(e,t){return u(e,HTMLCanvasElement)?Lt(e):u(e,HTMLVideoElement)?Ft(e,t):u(e,HTMLIFrameElement)?Mt(e,t):e.cloneNode(at(e))}var Dt=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",at=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function At(e,t,i){var n,r;if(at(t))return t;let s=[];return Dt(e)&&e.assignedNodes?s=w(e.assignedNodes()):u(e,HTMLIFrameElement)&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?s=w(e.contentDocument.body.childNodes):s=w(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),s.length===0||u(e,HTMLVideoElement)||await s.reduce((a,o)=>a.then(()=>P(o,i)).then(p=>{p&&t.appendChild(p)}),Promise.resolve()),t}function Bt(e,t,i){let n=t.style;if(!n)return;let r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):T(i).forEach(s=>{let a=r.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),u(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),n.setProperty(s,a,r.getPropertyPriority(s))})}function Ht(e,t){u(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),u(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function Ut(e,t){if(u(e,HTMLSelectElement)){let i=t,n=Array.from(i.children).find(r=>e.value===r.getAttribute("value"));n&&n.setAttribute("selected","")}}function Ot(e,t,i){return u(t,Element)&&(Bt(e,t,i),nt(e,t,i),Ht(e,t),Ut(e,t)),t}async function Wt(e,t){let i=e.querySelectorAll?e.querySelectorAll("use"):[];if(i.length===0)return e;let n={};for(let s=0;s<i.length;s++){let o=i[s].getAttribute("xlink:href");if(o){let p=e.querySelector(o),f=document.querySelector(o);!p&&f&&!n[o]&&(n[o]=await P(f,t,!0))}}let r=Object.values(n);if(r.length){let s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";let o=document.createElementNS(s,"defs");a.appendChild(o);for(let p=0;p<r.length;p++)o.appendChild(r[p]);e.appendChild(a)}return e}async function P(e,t,i){return!i&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(n=>Rt(n,t)).then(n=>At(e,n,t)).then(n=>Ot(e,n,t)).then(n=>Wt(n,t))}var ot=/url\((['"]?)([^'"]+?)\1\)/g,Vt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,zt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jt(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function qt(e){let t=[];return e.replace(ot,(i,n,r)=>(t.push(r),i)),t.filter(i=>!C(i))}async function Gt(e,t,i,n,r){try{let s=i?Y(t,i):t,a=b(t),o;if(r){let p=await r(s);o=M(p,a)}else o=await E(s,a,n);return e.replace(jt(t),`$1${o}$3`)}catch{}return e}function Jt(e,{preferredFontFormat:t}){return t?e.replace(zt,i=>{for(;;){let[n,,r]=Vt.exec(i)||[];if(!r)return"";if(r===t)return`src: ${n};`}}):e}function D(e){return e.search(ot)!==-1}async function k(e,t,i){if(!D(e))return e;let n=Jt(e,i);return qt(n).reduce((s,a)=>s.then(o=>Gt(o,a,t,i)),Promise.resolve(n))}async function _(e,t,i){var n;let r=(n=t.style)===null||n===void 0?void 0:n.getPropertyValue(e);if(r){let s=await k(r,null,i);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function Xt(e,t){await _("background",e,t)||await _("background-image",e,t),await _("mask",e,t)||await _("-webkit-mask",e,t)||await _("mask-image",e,t)||await _("-webkit-mask-image",e,t)}async function Kt(e,t){let i=u(e,HTMLImageElement);if(!(i&&!C(e.src))&&!(u(e,SVGImageElement)&&!C(e.href.baseVal)))return;let n=i?e.src:e.href.baseVal,r=await E(n,b(n),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...p)=>{try{s(t.onImageErrorHandler(...p))}catch(f){a(f)}}:a;let o=e;o.decode&&(o.decode=s),o.loading==="lazy"&&(o.loading="eager"),i?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Qt(e,t){let n=w(e.childNodes).map(r=>A(r,t));await Promise.all(n).then(()=>e)}async function A(e,t){u(e,Element)&&(await Xt(e,t),await Kt(e,t),await Qt(e,t))}function pt(e,t){let{style:i}=e;t.backgroundColor&&(i.backgroundColor=t.backgroundColor),t.width&&(i.width=`${t.width}px`),t.height&&(i.height=`${t.height}px`);let n=t.style;return n!=null&&Object.keys(n).forEach(r=>{i[r]=n[r]}),e}var lt={};async function ct(e){let t=lt[e];if(t!=null)return t;let n=await(await fetch(e)).text();return t={url:e,cssText:n},lt[e]=t,t}async function ht(e,t){let i=e.cssText,n=/url\(["']?([^"')]+)["']?\)/g,s=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),R(o,t.fetchRequestInit,({result:p})=>(i=i.replace(a,`url(${p})`),[a,p]))});return Promise.all(s).then(()=>i)}function dt(e){if(e==null)return[];let t=[],i=/(\/\*[\s\S]*?\*\/)/gi,n=e.replace(i,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){let p=r.exec(n);if(p===null)break;t.push(p[0])}n=n.replace(r,"");let s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let p=s.exec(n);if(p===null){if(p=o.exec(n),p===null)break;s.lastIndex=o.lastIndex}else o.lastIndex=s.lastIndex;t.push(p[0])}return t}async function Yt(e,t){let i=[],n=[];return e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let o=a+1,p=s.href,f=ct(p).then(v=>ht(v,t)).then(v=>dt(v).forEach(I=>{try{r.insertRule(I,I.startsWith("@import")?o+=1:r.cssRules.length)}catch(vt){console.error("Error inserting rule from remote css",{rule:I,error:vt})}})).catch(v=>{console.error("Error loading remote css",v.toString())});n.push(f)}})}catch(s){let a=e.find(o=>o.href==null)||document.styleSheets[0];r.href!=null&&n.push(ct(r.href).then(o=>ht(o,t)).then(o=>dt(o).forEach(p=>{a.insertRule(p,a.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",s)}}),Promise.all(n).then(()=>(e.forEach(r=>{if("cssRules"in r)try{w(r.cssRules||[]).forEach(s=>{i.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${r.href}`,s)}}),i))}function Zt(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>D(t.style.getPropertyValue("src")))}async function Nt(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");let i=w(e.ownerDocument.styleSheets),n=await Yt(i,t);return Zt(n)}function ut(e){return e.trim().replace(/["']/g,"")}function te(e){let t=new Set;function i(n){(n.style.fontFamily||getComputedStyle(n).fontFamily).split(",").forEach(s=>{t.add(ut(s))}),Array.from(n.children).forEach(s=>{s instanceof HTMLElement&&i(s)})}return i(e),t}async function mt(e,t){let i=await Nt(e,t),n=te(e);return(await Promise.all(i.filter(s=>n.has(ut(s.style.fontFamily))).map(s=>{let a=s.parentStyleSheet?s.parentStyleSheet.href:null;return k(s.cssText,a,t)}))).join(`
|
5
5
|
`)}async function gt(e,t){let i=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await mt(e,t);if(i){let n=document.createElement("style"),r=document.createTextNode(i);n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}}async function ee(e,t={}){let{width:i,height:n}=L(e,t),r=await P(e,t,!0);return await gt(r,t),await A(r,t),pt(r,t),await et(r,i,n)}async function ft(e,t={}){let{width:i,height:n}=L(e,t),r=await ee(e,t),s=await y(r),a=document.createElement("canvas"),o=a.getContext("2d"),p=t.pixelRatio||N(),f=t.canvasWidth||i,v=t.canvasHeight||n;return a.width=f*p,a.height=v*p,t.skipAutoScale||tt(a),a.style.width=`${f}`,a.style.height=`${v}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(s,0,0,a.width,a.height),a}async function wt(e,t={}){return(await ft(e,t)).toDataURL()}async function B(e,t={}){return(await ft(e,t)).toDataURL("image/jpeg",t.quality||1)}var U=xt(yt(),1);var ie=`
|
6
6
|
@media print {
|
7
7
|
@page {
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as u}from"./
|
3
|
+
v1.1.0-next.20250930.1 */
|
4
|
+
import{a as u}from"./WDTG4SXX.js";import{a as m,f as b,z as _}from"./7SSSYXQO.js";import{b as d}from"./3HGMP3WJ.js";import"./N2SSWNC3.js";import"./7ND2X3BJ.js";import{C as p,D as g,E as h,G as t,h as l,i,l as e}from"./S2QR4L5U.js";import"./FYGRWN67.js";var I=l`:host{--instant-apps-sign-in-indicator-color: #007ac2;display:block;box-shadow:none!important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center;height:100%}:host .instant-apps-sign-in__container calcite-action{--calcite-action-text-color: var(--calcite-color-text-1);--calcite-font-size--2: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: 12px}:host .instant-apps-sign-in__container calcite-action:focus{--calcite-action-background-color: var(--calcite-color-foreground-2)}:host .instant-apps-sign-in__container calcite-action,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2: rgba(0, 0, 0, .04);--calcite-color-foreground-3: rgba(0, 0, 0, .04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-popover[scale=m] .instant-apps-sign-in__sign-in-container{min-width:140px}:host .instant-apps-sign-in__container calcite-popover[scale=s] .instant-apps-sign-in__sign-in-container{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:.7;transition:.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:#fffc;color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}`,s={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator",signInContainer:"instant-apps-sign-in__sign-in-container"},o=class extends h{constructor(){super(...arguments),this._messages=u({name:"instant-apps-sign-in",blocking:!0}),this.signInPopover=p(),this.ready=!1,this.isSignedIn=!1,this.type="navigation",this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0}static{this.properties={ready:16,isSignedIn:16,user:16,type:1,portal:0,oauthappid:1,openInPopup:5,landingPage:5,showIndicator:5,closeLandingPage:0,signInPopoverItems:0}}static{this.styles=I}async load(){await this.initSignIn()}willUpdate(n){(n.has("portal")||n.has("oauthappid"))&&this.initSignIn()}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,a]=await Promise.all([m(),_()]);this.idManager=n,this.info=await b({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await a.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},2e3)}render(){return this.ready?this.renderContent():null}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return i`<div class=${t(s.base)}>${this.isSignedIn?this.renderSignInPopover():this.renderSignInButton()}</div>`}renderSignInPopover(){let n=this.type==="navigation"?"m":"s",a=this.showIndicator?s.indicator:"",r=this.user?.id??this.user?.sourceJSON?.id;return i`${this.type==="navigation"?i`<calcite-navigation-user class=${t(a)} id=instant-apps-sign-in-user-button .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e} text-disabled></calcite-navigation-user>`:i`<button id=instant-apps-sign-in-user-button><calcite-avatar class=${t(a)} .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e}></calcite-avatar></button>`}<calcite-popover placement=bottom-end .scale=${n} reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close label="User settings" ${g(this.signInPopover)}><div class=${t(s.signInContainer)}><slot name=sign-in-popover-top></slot>${this.signInPopoverItems?.map(c=>i`<calcite-action scale=s @click=${f=>{c.onClick(f),this.signInPopover.value&&(this.signInPopover.value.open=!1)}} .text=${c.label} text-enabled></calcite-action>`)}<calcite-action scale=s @click=${this.signOut} .text=${this._messages.signOut} text-enabled></calcite-action></div></calcite-popover>`}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",a=this.type==="navigation"?s.SignInBtn:"";return i`<calcite-button class=${t(a)} @click=${this.signIn} scale=s icon-start=sign-in .appearance=${n}>${this._messages.signIn}</calcite-button>`}renderLandingPageSignIn(){return i`<div class=${t(s.buttonContainer)}><calcite-button class=${t(s.entryButton)} scale=l @click=${this.landingPageSignIn}>${this._messages.signIn}</calcite-button><calcite-button class=${t(s.entryButton)} scale=l appearance=outline-fill @click=${this.guestOnClick}>${this._messages.continueAsGuest}</calcite-button></div>`}};d("instant-apps-sign-in",o);export{o as InstantAppsSignIn};
|