@esri/solutions-components 1.2.0-next.98 → 1.2.0-next.99
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/{2EVVROW6.js → 2ADG632G.js} +2 -2
- package/dist/cdn/{WW3GFLKS.js → 2ATM2TF5.js} +2 -2
- package/dist/cdn/{NVKA3ZAO.js → 2B3GB5IP.js} +1 -1
- package/dist/cdn/{HA4342G2.js → 2BO3KF2R.js} +2 -2
- package/dist/cdn/{YX4SSQBN.js → 2CBIGM4J.js} +1 -1
- package/dist/cdn/{22YY32VZ.js → 2GO6KZF7.js} +2 -2
- package/dist/cdn/{52NYTARX.js → 2H7RXGQL.js} +2 -2
- package/dist/cdn/{AYXHNTHE.js → 2HO3CKLQ.js} +2 -2
- package/dist/cdn/{GLHYAENW.js → 2IOMTRJY.js} +2 -2
- package/dist/cdn/{TTNHM7WX.js → 2KNXLACA.js} +2 -2
- package/dist/cdn/{KDOT5BP6.js → 2P7IKZNI.js} +2 -2
- package/dist/cdn/{56FUBVFP.js → 2XJG5QSD.js} +2 -2
- package/dist/cdn/{FUXDXF6F.js → 2ZGER7YM.js} +2 -2
- package/dist/cdn/{VH5I26C2.js → 33BYQA3G.js} +2 -2
- package/dist/cdn/{VEHZCG2Q.js → 34LNLRA5.js} +1 -1
- package/dist/cdn/{L6IPJOHV.js → 37JUZBLW.js} +2 -2
- package/dist/cdn/{4CEM7NZI.js → 3DS74QQ2.js} +2 -2
- package/dist/cdn/{XHNW6XWX.js → 3EHLUEQF.js} +2 -2
- package/dist/cdn/{HG3YA6NY.js → 3HDIKNJ7.js} +2 -2
- package/dist/cdn/{IS2JJESF.js → 3NBQATKU.js} +2 -2
- package/dist/cdn/{OBOL4WJV.js → 3NBXCKR7.js} +2 -2
- package/dist/cdn/{PY3XYS6G.js → 3R33TLMS.js} +1 -1
- package/dist/cdn/{XQMJEZF3.js → 3YARMSMI.js} +2 -2
- package/dist/cdn/{BMKT7BH4.js → 3ZVHWP7U.js} +2 -2
- package/dist/cdn/{OYDY3NCD.js → 43JWLQ65.js} +2 -2
- package/dist/cdn/{4W6UTZX2.js → 4645IFDR.js} +2 -2
- package/dist/cdn/{Y4YZGXDG.js → 46G4URMM.js} +2 -2
- package/dist/cdn/{FLASQXOF.js → 47LA5I5U.js} +2 -2
- package/dist/cdn/{NI3MWU75.js → 4ASM2P2G.js} +2 -2
- package/dist/cdn/{BPPPAYEV.js → 4D6YQUEC.js} +1 -1
- package/dist/cdn/{PBABDBNX.js → 4GF33VUI.js} +3 -3
- package/dist/cdn/{AI6B4324.js → 4GR7EO7D.js} +1 -1
- package/dist/cdn/{F6YNKL7K.js → 4H75KQR7.js} +2 -2
- package/dist/cdn/{YJ2QJSUL.js → 4J2VDJYJ.js} +2 -2
- package/dist/cdn/4J5KMVPQ.js +18 -0
- package/dist/cdn/{WFYOTS7H.js → 4MBMS4VL.js} +2 -2
- package/dist/cdn/{IYZH7G6L.js → 4MM66XUB.js} +2 -2
- package/dist/cdn/{XSG2YM3W.js → 4PADXZXY.js} +2 -2
- package/dist/cdn/{DYKQG3LW.js → 4PE4OTJS.js} +2 -2
- package/dist/cdn/{R3HFFO4X.js → 4ULWFJTK.js} +2 -2
- package/dist/cdn/{EC3AONCY.js → 4WLGIRG7.js} +1 -1
- package/dist/cdn/4XBWPBHE.js +4 -0
- package/dist/cdn/52EEHZEM.js +4 -0
- package/dist/cdn/{JOS2BNWC.js → 53OVEACT.js} +2 -2
- package/dist/cdn/{4FUYNRDQ.js → 5DBA5RVH.js} +2 -2
- package/dist/cdn/{F34GFQN3.js → 5DCKTXIJ.js} +2 -2
- package/dist/cdn/5DOIV6AK.js +4 -0
- package/dist/cdn/{G2Q6QZ72.js → 5EI4R7V4.js} +2 -2
- package/dist/cdn/{XLKJ2HJD.js → 5EO6IHBS.js} +2 -2
- package/dist/cdn/{IB7BUTUC.js → 5NSSTJML.js} +2 -2
- package/dist/cdn/{73FERBLO.js → 5OFX6GPH.js} +2 -2
- package/dist/cdn/{R5JUKUW4.js → 5REJHNAH.js} +2 -2
- package/dist/cdn/{ZMO74CFY.js → 5TAQJESD.js} +2 -2
- package/dist/cdn/{UKKKSSLB.js → 5VNHJGB4.js} +2 -2
- package/dist/cdn/{AYG4Z4SQ.js → 62MF3FTA.js} +2 -2
- package/dist/cdn/{VEKVJRA3.js → 67NO5DMZ.js} +2 -2
- package/dist/cdn/{M5ZSBD7R.js → 6ACDFBDL.js} +2 -2
- package/dist/cdn/6MYMP2PH.js +4 -0
- package/dist/cdn/{PBRQWAFO.js → 6NWZOIMC.js} +2 -2
- package/dist/cdn/{GZB5YXOY.js → 6OT6D6MV.js} +2 -2
- package/dist/cdn/{SEU7GWJS.js → 6REHBWQN.js} +2 -2
- package/dist/cdn/{EOLMYESF.js → 6USBSBNA.js} +2 -2
- package/dist/cdn/{IFIHUJWI.js → 6VQLZPTR.js} +2 -2
- package/dist/cdn/{YVIMSTEQ.js → 6XUOSA6V.js} +2 -2
- package/dist/cdn/{XNV33VDJ.js → 72NBDUTN.js} +2 -2
- package/dist/cdn/{RCR3NJTA.js → 754DJKSE.js} +2 -2
- package/dist/cdn/{I7JY674N.js → 76RC4256.js} +2 -2
- package/dist/cdn/{NAAQEPCA.js → 7AAAFEVO.js} +2 -2
- package/dist/cdn/{MSPZGU3B.js → 7EEXDTYP.js} +2 -2
- package/dist/cdn/7GGFJ22U.js +4 -0
- package/dist/cdn/{MGNTCQYW.js → 7GKV7FWQ.js} +2 -2
- package/dist/cdn/{VMKUUZLM.js → 7HKLVSQ5.js} +1 -1
- package/dist/cdn/{4LSSMN67.js → 7KWBB7MA.js} +2 -2
- package/dist/cdn/{SGGEDYJU.js → 7RFQRRPM.js} +2 -2
- package/dist/cdn/{YZNJJ2WY.js → 7RT4CMDK.js} +2 -2
- package/dist/cdn/{XNOKMDTC.js → 7TRH4KD6.js} +2 -2
- package/dist/cdn/7TZMVMEZ.js +4 -0
- package/dist/cdn/{KIX53XWP.js → 7VOHTLZ6.js} +1 -1
- package/dist/cdn/{JVMUSSRU.js → A5HDRTJS.js} +2 -2
- package/dist/cdn/{IX6USVKJ.js → A6D5IY7F.js} +2 -2
- package/dist/cdn/{TXWYL7SR.js → A77KQGMJ.js} +2 -2
- package/dist/cdn/{7ZJNNS35.js → A7AU7CYU.js} +2 -2
- package/dist/cdn/{JWT6JMSB.js → AAXKMSEV.js} +1 -1
- package/dist/cdn/{F3BPDBBR.js → ADZNTSIE.js} +2 -2
- package/dist/cdn/{V5AR5GET.js → AEHCP3CU.js} +1 -1
- package/dist/cdn/{4YNABXNC.js → AEWFO6RV.js} +2 -2
- package/dist/cdn/{EC2Y2UKM.js → AN5TYCCI.js} +2 -2
- package/dist/cdn/{IGBESZCF.js → ATZLAGRI.js} +2 -2
- package/dist/cdn/{DE4W54A4.js → AXIMPFCB.js} +2 -2
- package/dist/cdn/{4EKY6V5Y.js → B7OGKGTS.js} +2 -2
- package/dist/cdn/{Q37KMT3O.js → BBWSIXWI.js} +2 -2
- package/dist/cdn/{CB7Z3JTX.js → BCVSEYPD.js} +2 -2
- package/dist/cdn/{E4SBLQY7.js → BHULTV6I.js} +3 -3
- package/dist/cdn/{DZMSHTIJ.js → BU5GFTSQ.js} +2 -2
- package/dist/cdn/{DQBQLYT6.js → C2UGO2LW.js} +2 -2
- package/dist/cdn/{DUDRPZFV.js → C3I7TDKC.js} +2 -2
- package/dist/cdn/C5TQNPKS.js +4 -0
- package/dist/cdn/{2436BI76.js → C7JI6W55.js} +1 -1
- package/dist/cdn/CF54Z7ZH.js +4 -0
- package/dist/cdn/{FYNKRQOR.js → CFBGYSHP.js} +2 -2
- package/dist/cdn/{OSSN5FSP.js → CG7EMRBL.js} +2 -2
- package/dist/cdn/{YTJPZQWD.js → CQMBFISY.js} +2 -2
- package/dist/cdn/{SNHZWXI6.js → CRWUQTQS.js} +1 -1
- package/dist/cdn/{7KCMZ4FM.js → CYIAR6WT.js} +2 -2
- package/dist/cdn/{Y2VFZATW.js → CYZKAKDW.js} +2 -2
- package/dist/cdn/{2F4HSBX4.js → DD7TRWK3.js} +2 -2
- package/dist/cdn/{5MFYACQG.js → DDAIXOVD.js} +2 -2
- package/dist/cdn/{HDH3CKNB.js → DFMPNOTA.js} +2 -2
- package/dist/cdn/DG6QD2SL.js +4 -0
- package/dist/cdn/DGDZRD45.js +4 -0
- package/dist/cdn/{2APFPBDM.js → DI4QXGUM.js} +2 -2
- package/dist/cdn/{ANGGLV6M.js → DKNOHRPI.js} +2 -2
- package/dist/cdn/{H3QL7UU7.js → DLQX3HFX.js} +2 -2
- package/dist/cdn/{DKABSUVF.js → DN4C6SL7.js} +2 -2
- package/dist/cdn/{SSUCXPC2.js → DNSGK2DK.js} +2 -2
- package/dist/cdn/{TUPBI34D.js → DPIBPR2B.js} +2 -2
- package/dist/cdn/{77LRH6G7.js → DRA6O37C.js} +2 -2
- package/dist/cdn/{ZCRJGXL3.js → EKI7KEB3.js} +2 -2
- package/dist/cdn/{RK6MZC3M.js → ELERJME4.js} +2 -2
- package/dist/cdn/{Z2T27IUZ.js → ELN7DZ3Y.js} +2 -2
- package/dist/cdn/{7T5SPX63.js → ENU2FLJW.js} +1 -1
- package/dist/cdn/{WIZKN7QT.js → ENVR6HN4.js} +2 -2
- package/dist/cdn/{BRFVDDRE.js → EPL5UUP7.js} +2 -2
- package/dist/cdn/EYJQFO24.js +18 -0
- package/dist/cdn/{G4RXRD4M.js → EYRY2ZXR.js} +2 -2
- package/dist/cdn/{PTMGAEZQ.js → EZSRHKP2.js} +2 -2
- package/dist/cdn/{7BHLUYH4.js → F22SNQIR.js} +2 -2
- package/dist/cdn/{MQFFUBV3.js → F6KF4IV4.js} +2 -2
- package/dist/cdn/{6CWD6FSL.js → FFABTGST.js} +2 -2
- package/dist/cdn/FJBBLZYI.js +18 -0
- package/dist/cdn/{BDMOHNOG.js → FPVHRESN.js} +2 -2
- package/dist/cdn/FSWUMJRP.js +4 -0
- package/dist/cdn/{VK5WWE5W.js → FYGBXSIZ.js} +2 -2
- package/dist/cdn/G3BENCJE.js +4 -0
- package/dist/cdn/{OYAHYM4C.js → GEKDRL4S.js} +2 -2
- package/dist/cdn/{PEPT6NLQ.js → GJ3CCG2Q.js} +2 -2
- package/dist/cdn/{AAGGJJ2E.js → GMJGY3HN.js} +2 -2
- package/dist/cdn/GMJMRLZZ.js +4 -0
- package/dist/cdn/GMULINLQ.js +4 -0
- package/dist/cdn/{EOPABNT5.js → GNQMDIHN.js} +2 -2
- package/dist/cdn/{7RKATYFN.js → GRFYVWRP.js} +2 -2
- package/dist/cdn/{5SOEKOLD.js → GRX45DN3.js} +2 -2
- package/dist/cdn/{VIKV76RF.js → GSIO3GJN.js} +2 -2
- package/dist/cdn/{ZKKB7KH3.js → GSRO4ZGD.js} +1 -1
- package/dist/cdn/{ARVRS7UX.js → GTU4TIVW.js} +2 -2
- package/dist/cdn/{IFIJYBSD.js → GWZUODFM.js} +2 -2
- package/dist/cdn/{MXH5FVPI.js → GX6JYVLA.js} +2 -2
- package/dist/cdn/{VLJILVR4.js → H4JDAADP.js} +2 -2
- package/dist/cdn/H5FS76XX.js +4 -0
- package/dist/cdn/{N454EGKT.js → H5GKTTEF.js} +2 -2
- package/dist/cdn/{ZJBTCJW3.js → H5MIXT36.js} +2 -2
- package/dist/cdn/{S4PRYWVN.js → HOWURYHR.js} +2 -2
- package/dist/cdn/{QYNRPQQR.js → HS4RAJUQ.js} +2 -2
- package/dist/cdn/{D4MNINLU.js → HSAWUZNQ.js} +2 -2
- package/dist/cdn/{SP3VNY4Q.js → I6I5UW23.js} +2 -2
- package/dist/cdn/{5MF2SXEJ.js → I7QMQWRH.js} +2 -2
- package/dist/cdn/II6DIQU7.js +4 -0
- package/dist/cdn/{5XS6RIAX.js → IKY6TIP7.js} +2 -2
- package/dist/cdn/{YNV56B27.js → IPHEY6GP.js} +2 -2
- package/dist/cdn/{X7UEPPY2.js → J3U2WPUN.js} +1 -1
- package/dist/cdn/{QFR4IBYC.js → J76C6JS3.js} +1 -1
- package/dist/cdn/{SWUYZ6U5.js → JALBMJLQ.js} +2 -2
- package/dist/cdn/{AOLM4R7N.js → JCB3CBOD.js} +2 -2
- package/dist/cdn/{6H4ITSZD.js → JDMUP56K.js} +2 -2
- package/dist/cdn/{3WGH4NJC.js → JFNMO7WW.js} +2 -2
- package/dist/cdn/{MBF2CXLY.js → JFZGLY5P.js} +2 -2
- package/dist/cdn/{MT6KAFTZ.js → JGEEBDWO.js} +2 -2
- package/dist/cdn/{4BZLKOXR.js → JP5TGNNE.js} +2 -2
- package/dist/cdn/{OKOJMFJN.js → K2S3DQ77.js} +2 -2
- package/dist/cdn/{7ORYIMKW.js → K34QSVUE.js} +2 -2
- package/dist/cdn/{7ICGC5UA.js → K4WKFGFU.js} +2 -2
- package/dist/cdn/{GPBFVBWH.js → K7A6LUTI.js} +2 -2
- package/dist/cdn/{KHV27C2N.js → KB6OLPJS.js} +2 -2
- package/dist/cdn/{Q36TDMCN.js → KBUSHNUM.js} +2 -2
- package/dist/cdn/{GLWRHQA7.js → KJDUIEI7.js} +2 -2
- package/dist/cdn/{OQIWAIAE.js → KKGOPE5A.js} +2 -2
- package/dist/cdn/{OTC5ZUE3.js → KLCJD2AF.js} +2 -2
- package/dist/cdn/{ZBYCUJRW.js → KM5IBY25.js} +2 -2
- package/dist/cdn/KOHTEHVP.js +4 -0
- package/dist/cdn/{XXUYSD4C.js → KRCUU6QB.js} +2 -2
- package/dist/cdn/{4PCQCTQ6.js → KRGVOGF3.js} +2 -2
- package/dist/cdn/{2EJLI47O.js → KTGPWTX7.js} +2 -2
- package/dist/cdn/{FYKXDL5C.js → KURJJLCZ.js} +2 -2
- package/dist/cdn/{4KZKBMXG.js → KXFUUR22.js} +2 -2
- package/dist/cdn/{XGKHLHMC.js → L44FOJWI.js} +2 -2
- package/dist/cdn/{52L3QNBG.js → LKHIFB6G.js} +2 -2
- package/dist/cdn/LLYWLA4O.js +4 -0
- package/dist/cdn/{BMG6KBDG.js → LTGOCHRU.js} +1 -1
- package/dist/cdn/{62U7IIEW.js → LUMHKKKS.js} +2 -2
- package/dist/cdn/{SVTZ6KQM.js → LXS4SUF4.js} +2 -2
- package/dist/cdn/{JNJUBRQD.js → LYV5TARU.js} +2 -2
- package/dist/cdn/{2E4OAKEP.js → M5ICZ6ZH.js} +1 -1
- package/dist/cdn/{GLALIG3V.js → M7NUMQJV.js} +2 -2
- package/dist/cdn/{SBN4LKM6.js → MISMFXCM.js} +2 -2
- package/dist/cdn/{UOTFZK6J.js → MMV63IXT.js} +2 -2
- package/dist/cdn/{L6YYI4EP.js → MN6MQCHD.js} +2 -2
- package/dist/cdn/{SS2PA2Z2.js → MNJBU6U7.js} +2 -2
- package/dist/cdn/{GQABVPPX.js → MPAQCHPR.js} +2 -2
- package/dist/cdn/{J6YWNGCL.js → MRJCCHG7.js} +2 -2
- package/dist/cdn/{2QYFS2TE.js → MSLUS6I2.js} +2 -2
- package/dist/cdn/{RNCPW356.js → MW7JGF4A.js} +2 -2
- package/dist/cdn/{IDWMR26T.js → MZHDGQR6.js} +2 -2
- package/dist/cdn/{CLSVSJ2T.js → N2P2C7ZY.js} +2 -2
- package/dist/cdn/{QBQT3H3S.js → N56UISR6.js} +2 -2
- package/dist/cdn/{A6C2AVNV.js → NABASA4Z.js} +1 -1
- package/dist/cdn/{JHD6URWH.js → NATMLJPW.js} +2 -2
- package/dist/cdn/{J32TPAZ2.js → NBR4SNTE.js} +2 -2
- package/dist/cdn/{AGTAPRIE.js → NGOAJ5Q5.js} +2 -2
- package/dist/cdn/{VYFOBVIM.js → NML6EMPT.js} +2 -2
- package/dist/cdn/{HVDNS7Q2.js → NNF24MGH.js} +2 -2
- package/dist/cdn/{OJ43QV4D.js → NOTB6HZU.js} +1 -1
- package/dist/cdn/{EUEYQPFY.js → NTT7IFK6.js} +2 -2
- package/dist/cdn/{M2CGVITC.js → NUBCZHY2.js} +2 -2
- package/dist/cdn/{Y4GEE45F.js → NXDOSJF6.js} +2 -2
- package/dist/cdn/{FGMW4FNC.js → O52MNLWY.js} +2 -2
- package/dist/cdn/{LMC3LZHO.js → OOIM3DXN.js} +2 -2
- package/dist/cdn/OWEMLEF2.js +4 -0
- package/dist/cdn/{IBLICW2N.js → P2QF5F5U.js} +2 -2
- package/dist/cdn/{BRWZRLUY.js → P3G5DZIE.js} +2 -2
- package/dist/cdn/{FNUPHHLH.js → PFPXPIGY.js} +2 -2
- package/dist/cdn/{YBZZSHIF.js → PGKS24IG.js} +2 -2
- package/dist/cdn/{7ZUN6FV3.js → PNREWILW.js} +2 -2
- package/dist/cdn/{ACWL6TYN.js → PQHJISWU.js} +2 -2
- package/dist/cdn/{5R7RBNOC.js → PSXDLSYW.js} +2 -2
- package/dist/cdn/{WVEFWSFF.js → PVGG4PQ4.js} +2 -2
- package/dist/cdn/{YVUHXCKS.js → PZ5PNGWF.js} +1 -1
- package/dist/cdn/{TCPTQT4H.js → Q2F64G5A.js} +2 -2
- package/dist/cdn/{F7IZAZWS.js → Q3TJ72Y4.js} +1 -1
- package/dist/cdn/{LJIC7RYS.js → Q4ODVJSS.js} +2 -2
- package/dist/cdn/{J5YQKTF4.js → Q63CTOH3.js} +2 -2
- package/dist/cdn/{BBXVZ3OF.js → Q72TLUG2.js} +2 -2
- package/dist/cdn/{26N4ZFK5.js → QFJUYLLL.js} +2 -2
- package/dist/cdn/{HF7NCWVC.js → QJ67K37A.js} +2 -2
- package/dist/cdn/{H2CWNIBG.js → QJQ56WUC.js} +2 -2
- package/dist/cdn/{NSPT5WWD.js → QQWFS74N.js} +2 -2
- package/dist/cdn/{VELIMVOA.js → QUE6TWKT.js} +2 -2
- package/dist/cdn/{JCIQAHV2.js → R3TZBCNN.js} +2 -2
- package/dist/cdn/R7PFL66M.js +4 -0
- package/dist/cdn/{77SLYUQ4.js → R7ZS42RP.js} +2 -2
- package/dist/cdn/{54TPFPGT.js → RC2GRAGM.js} +2 -2
- package/dist/cdn/{TSMTNNRT.js → REFR2H35.js} +1 -1
- package/dist/cdn/{PMGTZ2TG.js → RFQWGURZ.js} +2 -2
- package/dist/cdn/{5DMWNUJW.js → RJ3OG3XC.js} +1 -1
- package/dist/cdn/{2M2HOVJN.js → RKRZZKCJ.js} +2 -2
- package/dist/cdn/{JMOQD6EF.js → RM7T3U3R.js} +2 -2
- package/dist/cdn/{SBLNE36X.js → RO7XMZ67.js} +2 -2
- package/dist/cdn/{CO53NO7V.js → ROKIF5BI.js} +2 -2
- package/dist/cdn/{RB3RHEHW.js → RQ5VOJ7L.js} +2 -2
- package/dist/cdn/{ZAWB3IEH.js → RRVME7UC.js} +2 -2
- package/dist/cdn/{554MH4Y2.js → RVZ5J2HQ.js} +2 -2
- package/dist/cdn/{G4GDXMVM.js → RYV5PNFM.js} +2 -2
- package/dist/cdn/{W2B52NIR.js → S3QT7KVC.js} +2 -2
- package/dist/cdn/{4NHL44S3.js → S5XTEGXQ.js} +2 -2
- package/dist/cdn/{LHNV3XXK.js → S6MHOXLG.js} +2 -2
- package/dist/cdn/{KWRWJ2PO.js → SJ63DXQH.js} +2 -2
- package/dist/cdn/{ZMYSPESV.js → SLFEJBM5.js} +2 -2
- package/dist/cdn/{RZNA2JWJ.js → SOPTIBRO.js} +2 -2
- package/dist/cdn/{ULTQFU4Z.js → SPIFLY3K.js} +2 -2
- package/dist/cdn/{PFTBWKLN.js → SVLVJ6LB.js} +2 -2
- package/dist/cdn/{XNUGFAMU.js → SW3PIZLO.js} +2 -2
- package/dist/cdn/SY3JYN7M.js +4 -0
- package/dist/cdn/{4UR4HQTL.js → T6JHWLOQ.js} +1 -1
- package/dist/cdn/{F2P6MI7D.js → T7SMMPUI.js} +2 -2
- package/dist/cdn/{X2NHXGRP.js → TABYLFLE.js} +2 -2
- package/dist/cdn/{DVURAXHV.js → TGKOLLKQ.js} +2 -2
- package/dist/cdn/{XLNIEQQ2.js → TKDBREER.js} +2 -2
- package/dist/cdn/{BUPMAU37.js → TOEHGCC2.js} +2 -2
- package/dist/cdn/{MOMAAY2V.js → TPGZQSZE.js} +2 -2
- package/dist/cdn/{3LJYXL6B.js → TS22SZTG.js} +2 -2
- package/dist/cdn/{37XS2CUJ.js → U47JEAY7.js} +2 -2
- package/dist/cdn/{CTHRL7FW.js → U774I65O.js} +2 -2
- package/dist/cdn/{UR55WR5C.js → UCONO6TY.js} +2 -2
- package/dist/cdn/{CRKD2GT5.js → UFRH5BEQ.js} +2 -2
- package/dist/cdn/{H32SOFJQ.js → UFU3SHDW.js} +2 -2
- package/dist/cdn/{GIKRO6LK.js → UFVZ6UWW.js} +2 -2
- package/dist/cdn/{AKUHH4WY.js → UGZ3UFYC.js} +2 -2
- package/dist/cdn/{OSMPLYN6.js → UJL5LRYV.js} +4 -4
- package/dist/cdn/{4DHUBSW4.js → UKCCSWXV.js} +2 -2
- package/dist/cdn/UMSDVERO.js +4 -0
- package/dist/cdn/{NZMSCYAO.js → UP43PUGY.js} +1 -1
- package/dist/cdn/{2VI3TMRO.js → UQS7IJS4.js} +2 -2
- package/dist/cdn/{O5JAHRRT.js → USDL3VTN.js} +1 -1
- package/dist/cdn/{L2GUQQTH.js → USUE47GE.js} +2 -2
- package/dist/cdn/{ZJWCFG2H.js → UWTAHHH4.js} +1 -1
- package/dist/cdn/{GYFR555Y.js → V2SP7XVS.js} +2 -2
- package/dist/cdn/{FK3SK64C.js → V3K4UKQG.js} +2 -2
- package/dist/cdn/{JEZCSUNK.js → V6VYSJH4.js} +2 -2
- package/dist/cdn/{MIPGFQIJ.js → VBNCUSBC.js} +2 -2
- package/dist/cdn/{UY6SR65L.js → VCNRKIHI.js} +2 -2
- package/dist/cdn/{YKKCE4SW.js → VDO7C2DX.js} +2 -2
- package/dist/cdn/{4XZPDS4V.js → VTILGTOC.js} +2 -2
- package/dist/cdn/{HL7XWNM3.js → VZWTZSHN.js} +1 -1
- package/dist/cdn/{GNFWWLJW.js → W3F276ER.js} +2 -2
- package/dist/cdn/{7LTCVPGB.js → W7B346EF.js} +2 -2
- package/dist/cdn/{SW475RUS.js → W7JX4IHM.js} +2 -2
- package/dist/cdn/{TIQFLJVT.js → WDO7XGZF.js} +2 -2
- package/dist/cdn/{4MQNSCSI.js → WERGM3CG.js} +2 -2
- package/dist/cdn/{S47C5SPC.js → WLOYBEBM.js} +1 -1
- package/dist/cdn/{GRW2TCVX.js → WLRHETHY.js} +2 -2
- package/dist/cdn/{DURU45BQ.js → WOZEKF4Q.js} +2 -2
- package/dist/cdn/{CUSF545L.js → WQKWRQQ2.js} +1 -1
- package/dist/cdn/{SIYX5EUA.js → WR56BBUK.js} +2 -2
- package/dist/cdn/{BSYFYLGN.js → WSJZU2VH.js} +2 -2
- package/dist/cdn/{ZYK6R6LQ.js → XA22LURK.js} +2 -2
- package/dist/cdn/{VBY26TDT.js → XB73G2LS.js} +2 -2
- package/dist/cdn/{4UCTEM32.js → XP2ZKUIU.js} +2 -2
- package/dist/cdn/{H3V5WZ4E.js → XSLRAUOA.js} +2 -2
- package/dist/cdn/{4TEQBWX7.js → XTEEU5BL.js} +2 -2
- package/dist/cdn/{UPY5DG3S.js → XV2525BK.js} +2 -2
- package/dist/cdn/{F2TKY5WY.js → XW7IPFCG.js} +1 -1
- package/dist/cdn/{V5AMYI7Q.js → Y24BAE5G.js} +2 -2
- package/dist/cdn/Y4Y4XSDM.js +4 -0
- package/dist/cdn/{6GFUJPON.js → Y7B3FPS7.js} +2 -2
- package/dist/cdn/{TV5VUE2G.js → Y7EXGVQT.js} +2 -2
- package/dist/cdn/{FL6NFBES.js → Y7XKMB2M.js} +2 -2
- package/dist/cdn/{2LRLVNZS.js → YBMQDR5N.js} +2 -2
- package/dist/cdn/{UIBEQQSW.js → YDOOE5FF.js} +2 -2
- package/dist/cdn/{YOVNI4YY.js → YDY3IN23.js} +2 -2
- package/dist/cdn/{YPHE7264.js → YH53AJLO.js} +2 -2
- package/dist/cdn/{2XTLB75J.js → YISM3P6V.js} +2 -2
- package/dist/cdn/{SJBSOLBN.js → YJXBZXAR.js} +2 -2
- package/dist/cdn/{JJYVDJN6.js → YMRDIQX3.js} +2 -2
- package/dist/cdn/{EZAN3M4R.js → YOOF3TIM.js} +2 -2
- package/dist/cdn/{IZL7JV4L.js → YOSHPEX6.js} +2 -2
- package/dist/cdn/{TC62X3CO.js → YS427OL6.js} +1 -1
- package/dist/cdn/{PBMPRX24.js → YTWIPWFT.js} +2 -2
- package/dist/cdn/{4R3IITJQ.js → YUQG6J5R.js} +2 -2
- package/dist/cdn/{CVQ5QITW.js → YVS6MLDJ.js} +2 -2
- package/dist/cdn/{2RR62GBZ.js → YY3XQESY.js} +2 -2
- package/dist/cdn/{5E2LTZR2.js → ZAFS6QQK.js} +2 -2
- package/dist/cdn/{U5MOOG77.js → ZB3YANTB.js} +2 -2
- package/dist/cdn/{B5F3MBZO.js → ZBC4SXDW.js} +1 -1
- package/dist/cdn/{KMA7RAFO.js → ZBZDMIC2.js} +1 -1
- package/dist/cdn/{NQ52VKK3.js → ZFWTS7B4.js} +2 -2
- package/dist/cdn/{EDR4DAQS.js → ZPDXMG3Q.js} +2 -2
- package/dist/cdn/{PZWQOO2G.js → ZPHPDQLB.js} +2 -2
- package/dist/cdn/{C3GSKKYK.js → ZT4W3K4F.js} +2 -2
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.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/getRelatedInfos.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.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/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-deploy-dialog.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-list-widget/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-basemap-gallery/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-floor-filter/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +6 -6
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.d.ts +11 -22
- package/dist/components/solution-resource-card/customElement.js +40 -22
- package/dist/components/solution-resource-card/index.d.ts +1 -1
- package/dist/components/solution-resource-card/index.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/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resources-section/customElement.d.ts +11 -0
- package/dist/components/solutions-resources-section/customElement.js +40 -0
- package/dist/components/solutions-resources-section/index.d.ts +2 -0
- package/dist/components/solutions-resources-section/index.js +2 -0
- package/dist/components/solutions-resources-shell/customElement.js +89 -12
- package/dist/components/solutions-resources-shell/index.d.ts +2 -3
- package/dist/components/solutions-resources-shell/index.js +2 -3
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/docs/api.json +104 -153
- package/dist/docs/docs.json +71 -125
- package/dist/docs/vscode.html-custom-data.json +21 -32
- package/dist/docs/web-types.json +47 -71
- package/dist/index.d.ts +3 -14
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -4
- package/dist/solutions-components_commit.txt +7 -7
- package/dist/types/lumina.d.ts +4 -10
- package/dist/types/preact.d.ts +5 -12
- package/dist/types/react.d.ts +6 -14
- package/dist/types/stencil.d.ts +4 -10
- package/dist/utils/interfaces.d.ts +7 -0
- package/package.json +1 -1
- package/dist/cdn/26RMPMZC.js +0 -4
- package/dist/cdn/2EOBYTAC.js +0 -4
- package/dist/cdn/36U2PES4.js +0 -4
- package/dist/cdn/5MYHXND7.js +0 -18
- package/dist/cdn/A6FJBCHM.js +0 -4
- package/dist/cdn/AFTT76D5.js +0 -4
- package/dist/cdn/B6MDYQLX.js +0 -18
- package/dist/cdn/CHDLY32W.js +0 -4
- package/dist/cdn/EWN4VQCK.js +0 -4
- package/dist/cdn/FPHMPYCM.js +0 -4
- package/dist/cdn/GKVESBX3.js +0 -4
- package/dist/cdn/HBSELESQ.js +0 -4
- package/dist/cdn/HVTMXXBP.js +0 -4
- package/dist/cdn/IYMMZRBH.js +0 -4
- package/dist/cdn/JTEMVV6E.js +0 -4
- package/dist/cdn/MI3J5MI3.js +0 -18
- package/dist/cdn/P3ABVSTV.js +0 -4
- package/dist/cdn/P7X7YSZ2.js +0 -4
- package/dist/cdn/QWZA44BK.js +0 -4
- package/dist/cdn/RXIA7ZEU.js +0 -18
- package/dist/cdn/RXTK4PJ4.js +0 -4
- package/dist/cdn/TUZJIMIG.js +0 -4
- package/dist/cdn/UOZDTLDK.js +0 -4
- package/dist/cdn/W6HK2ZPG.js +0 -4
- package/dist/cdn/XPBA7FXW.js +0 -4
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/solutions-resource-panel/t9n/messages.zh-TW.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.zh-TW.json +0 -1
- package/dist/components/solutions-resource-panel/customElement.d.ts +0 -17
- package/dist/components/solutions-resource-panel/customElement.js +0 -56
- package/dist/components/solutions-resource-panel/index.d.ts +0 -2
- package/dist/components/solutions-resource-panel/index.js +0 -2
- package/dist/components/solutions-resources/customElement.d.ts +0 -7
- package/dist/components/solutions-resources/customElement.js +0 -105
- package/dist/components/solutions-resources/index.d.ts +0 -12
- package/dist/components/solutions-resources/index.js +0 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import{a as u}from"./Q3TJ72Y4.js";import{a as m}from"./7EEXDTYP.js";import{b as d}from"./AXIMPFCB.js";import"./2ATM2TF5.js";import"./76RC4256.js";import{H as p,J as n,g as c,h as r,i as e,r as h}from"./USDL3VTN.js";import"./CRWUQTQS.js";function f(){return new u({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"]}},!0)}function g(i){window?.localStorage.setItem(i,"false")}function b(i){return!!window?.localStorage?.getItem(i)}function _(i){window?.localStorage?.removeItem(i)}var x=r`:host{--instant-apps-splash-content-max-height: 100%;--instant-apps-splash-back-content-display: flex;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:var(--instant-apps-splash-back-content-display);align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom: 0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}:host .instant-apps-splash__confirmation-tooltip{display:inline-block;max-width:200px;word-wrap:break-word}:host .instant-apps-splash__required{display:inline-block;margin-inline-start:var(--calcite-spacing-xxs);color:var(--calcite-color-status-danger)}:host .instant-apps-splash__footer{width:100%;display:flex;justify-content:space-between}:host .instant-apps-splash__button-container{display:flex}:host .instant-apps-splash__button-container calcite-button:not(:last-child){margin-inline-end:var(--calcite-spacing-sm)}@media(max-width:816px){:host .instant-apps-splash__footer{justify-content:flex-start;flex-direction:column}:host .instant-apps-splash__back-content{margin-bottom:var(--calcite-spacing-sm)}:host .instant-apps-splash__back-content span{display:flex;align-items:center}:host .instant-apps-splash__button-container{width:100%;gap:var(--calcite-spacing-sm);justify-content:space-between}:host .instant-apps-splash__button-container calcite-button:not(:last-child){margin-inline-end:0}:host .instant-apps-splash__button-container>*{flex:1 1 0;min-width:0}}`,a={back:"instant-apps-splash__back-content",confirmationTooltip:"instant-apps-splash__confirmation-tooltip",requiredText:"instant-apps-splash__required",footer:"instant-apps-splash__footer",buttonContainer:"instant-apps-splash__button-container"},l=class extends p{constructor(){super(...arguments),this._messages=m({name:"instant-apps-splash"}),this._sanitizer=f(),this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.closeBehavior="permanent-dismissal",this.confirmationText="",this.isConfirmed=!1,this.splashClose=h()}static{this.properties={localStorageKey:1,titleText:1,content:1,primaryButtonText:1,open:5,closeButtonDisabled:5,outsideCloseDisabled:5,secondaryButton:5,secondaryButtonText:1,secondaryButtonIcon:0,secondaryButtonCallback:0,closeBehavior:1,confirmationText:1,isConfirmed:32}}static{this.styles=x}load(){let t;if(this.closeBehavior==="confirmation"||this.closeBehavior==="dismissal")t=!0;else{let{localStorageKey:s}=this;s?t=this.open&&!b(s):t=this.open}this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}willUpdate(t){t.has("content")&&this.sanitizeContent()}sanitizeContent(){this.content=this._sanitizer.sanitize(this.content)}close(){this.open=!1,this.splashClose.emit()}getCheckboxText(){return this.closeBehavior==="confirmation"?this.confirmationText?this.confirmationText:`${this._messages.confirmationText}`:this._messages?.dontShowThisAgain}handleDontShowThisAgain(t){if(this.closeBehavior==="confirmation"){let s=t.target,{checked:o}=s;c(()=>{this.isConfirmed=o})}else if(this.closeBehavior==="permanent-dismissal"){let{localStorageKey:s}=this;if(!s)return;let o=t.target,{checked:y}=o;y?g(s):_(s)}}render(){return e`<calcite-dialog .open=${this.open} .focusTrapOptions=${{allowOutsideClick:!0}} modal .heading=${this.titleText} aria-describedby=description @calciteDialogClose=${this.close} .closeDisabled=${this.closeBehavior==="confirmation"||this.closeButtonDisabled} .outsideCloseDisabled=${this.closeBehavior==="confirmation"||this.outsideCloseDisabled} .escapeDisabled=${this.closeBehavior==="confirmation"}><div id=description .innerHTML=${this.content??""}></div><slot name=custom-action></slot><div class=${n(a.footer)} slot=footer>${this.localStorageKey&&this.closeBehavior==="permanent-dismissal"||this.closeBehavior==="confirmation"?this.renderCheckbox():null}<div class=${n(a.buttonContainer)}>${this.secondaryButton?this.renderSecondaryButton():null}${this.renderPrimaryButton()}</div>${this.closeBehavior==="confirmation"&&!this.isConfirmed&&e`<calcite-tooltip reference-element=primary-button overlay-positioning=fixed placement=top><span class=${n(a.confirmationTooltip)}>${this._messages?.confirmationTooltip}</span></calcite-tooltip>`||""}</div></calcite-dialog>`}renderCheckbox(){let{localStorageKey:t}=this,s=this.closeBehavior!=="confirmation"&&t&&b(t)?!0:null;return e`<div class=${n(a.back)}><calcite-label layout=inline><calcite-checkbox @calciteCheckboxChange=${this.handleDontShowThisAgain} .checked=${s??void 0}></calcite-checkbox><span>${this.getCheckboxText()}<span class=${n(a.requiredText)}>${this.closeBehavior==="confirmation"&&`(${this._messages?.required})`||""}</span></span></calcite-label></div>`}renderPrimaryButton(){let{primaryButtonText:t}=this;return e`<calcite-button id=primary-button @click=${this.close} slot=footer-end .disabled=${this.closeBehavior==="confirmation"?!this.isConfirmed:!1}>${t||this._messages?.enter}</calcite-button>`}renderSecondaryButton(){return e`<calcite-button @click=${this.secondaryButtonCallback} slot=footer-end .iconStart=${this.secondaryButtonIcon} appearance=outline .disabled=${this.closeBehavior==="confirmation"?!this.isConfirmed:!1}>${this.secondaryButtonText}</calcite-button>`}};d("instant-apps-splash",l);export{l as InstantAppsSplash};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e}from"./
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import{a as e}from"./47LA5I5U.js";import"./7AAAFEVO.js";import"./YH53AJLO.js";import"./H5MIXT36.js";import"./V2SP7XVS.js";import"./W3F276ER.js";import"./WLOYBEBM.js";import"./MW7JGF4A.js";import"./AAXKMSEV.js";import"./7VOHTLZ6.js";import"./K7A6LUTI.js";import"./C7JI6W55.js";import"./KBUSHNUM.js";import"./WLRHETHY.js";import"./XV2525BK.js";import{a as t}from"./NABASA4Z.js";import"./KRGVOGF3.js";import"./B7OGKGTS.js";import"./RC2GRAGM.js";import"./A6D5IY7F.js";import"./ZFWTS7B4.js";import"./WQKWRQQ2.js";import"./4WLGIRG7.js";import"./CRWUQTQS.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import"./CRWUQTQS.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import{a as s}from"./5DCKTXIJ.js";import"./GTU4TIVW.js";import"./UP43PUGY.js";import"./3R33TLMS.js";import"./VZWTZSHN.js";import{a as r,b as a}from"./RO7XMZ67.js";import"./3NBXCKR7.js";import"./PQHJISWU.js";import"./SOPTIBRO.js";import{a as o}from"./A7AU7CYU.js";import{a as i}from"./S5XTEGXQ.js";import"./YDOOE5FF.js";import"./T6JHWLOQ.js";import"./4D6YQUEC.js";import"./GSIO3GJN.js";import"./2CBIGM4J.js";import"./47LA5I5U.js";import"./7AAAFEVO.js";import"./YH53AJLO.js";import"./H5MIXT36.js";import"./V2SP7XVS.js";import"./W3F276ER.js";import"./WLOYBEBM.js";import"./MW7JGF4A.js";import"./AAXKMSEV.js";import"./7VOHTLZ6.js";import"./K7A6LUTI.js";import"./C7JI6W55.js";import"./KBUSHNUM.js";import"./WLRHETHY.js";import"./XV2525BK.js";import"./NABASA4Z.js";import"./KRGVOGF3.js";import"./B7OGKGTS.js";import"./RC2GRAGM.js";import"./A6D5IY7F.js";import"./ZFWTS7B4.js";import"./WQKWRQQ2.js";import"./4WLGIRG7.js";import"./CRWUQTQS.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.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:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",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)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as Pn}from"./UKKKSSLB.js";import"./WW3GFLKS.js";import"./I7JY674N.js";import{b as En}from"./GLALIG3V.js";import{H as jn,h as kn,r as In}from"./O5JAHRRT.js";import"./SNHZWXI6.js";function ln(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Gr(e){return Object.keys(e).some(t=>{let n=e[t];if(!n)return!1;switch(n&&n.toParam&&(n=n.toParam()),n.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function Fr(e){let t={};return Object.keys(e).forEach(n=>{var r,i;let o=e[n];if(o&&o.toParam&&(o=o.toParam()),!o&&o!==0&&typeof o!="boolean"&&typeof o!="string")return;let a=o.constructor.name,s;switch(a){case"Array":let u=(i=(r=o[0])===null||r===void 0?void 0:r.constructor)===null||i===void 0?void 0:i.name;s=u==="Array"?o:u==="Object"?JSON.stringify(o):o.join(",");break;case"Object":s=JSON.stringify(o);break;case"Date":s=o.valueOf();break;case"Function":s=null;break;case"Boolean":s=o+"";break;default:s=o;break}(s||s===0||typeof s=="string"||Array.isArray(s))&&(t[n]=s)}),t}function Jr(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(n=>Jr(e,n)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function Ct(e){let t=Fr(e);return Object.keys(t).map(n=>Jr(n,t[n])).join("&")}var Xi=globalThis.FormData;function Bi(e,t){let n=Gr(e)||t,r=Fr(e);if(n){let i=new Xi;return Object.keys(r).forEach(o=>{if(typeof Blob<"u"&&r[o]instanceof Blob){let a=r.fileName||r[o].name||o;i.append(o,r[o],a)}else i.append(o,r[o])}),i}else return Ct(e)}var ye=class extends Error{constructor(t,n,r,i,o){super(t);let a=new.target.prototype;Object.setPrototypeOf(this,a),t=t||"UNKNOWN_ERROR",n=n||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=n==="UNKNOWN_ERROR_CODE"?t:`${n}: ${t}`,this.originalMessage=t,this.code=n,this.response=r,this.url=i,this.options=o}},Qi={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},Mt="ARCGIS_REST_JS_NO_CORS";globalThis[Mt]||(globalThis[Mt]=Object.assign({},Qi));var te=globalThis[Mt];function Yi(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let n=t.origin;return te.pendingNoCorsRequests[n]||(te.pendingNoCorsRequests[n]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(r=>{te.noCorsDomains.indexOf(n)===-1&&te.noCorsDomains.push(n),te.crossOriginNoCorsDomains[n.toLowerCase()]=Date.now(),delete te.pendingNoCorsRequests[n]}).catch(r=>(delete te.pendingNoCorsRequests[n],Promise.reject(new Error(`no-cors request to ${n} failed`))))),te.pendingNoCorsRequests[n]}function Zi(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?Ot(t):(Ot("http://"+t),Ot("https://"+t))})}function Ot(e){let t=new URL(e).origin;te.noCorsDomains.indexOf(t)===-1&&te.noCorsDomains.push(t)}function Xr(e){let t=!1;if(te.noCorsDomains.length){let n=new URL(e).origin.toLowerCase();t=te.noCorsDomains.some(r=>n.includes(r))}return t}function eo(e){let t=!1;if(Xr(e)){let n=new URL(e).origin.toLowerCase(),r=te.crossOriginNoCorsDomains[n]||0;Date.now()-60*6e4>r&&(t=!0)}return t}function to(e){console&&console.warn&&console.warn.apply(console,[e])}function no(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ro(e,t){var n;if(!t&&!window||!e)return!1;{t=t||window;let r=(n=t.location)===null||n===void 0?void 0:n.origin;return e.startsWith(r)}}var io="@esri/arcgis-rest-js";function oo(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var nt=class extends ye{constructor(t="AUTHENTICATION_ERROR",n="AUTHENTICATION_ERROR_CODE",r,i,o){super(t,n,r,i,o),this.name="ArcGISAuthError",this.message=n==="AUTHENTICATION_ERROR_CODE"?t:`${n}: ${t}`;let a=new.target.prototype;Object.setPrototypeOf(this,a)}retry(t,n=1){let r=0,i=(o,a)=>{r=r+1,t(this.url,this.options).then(s=>{let u=Object.assign(Object.assign({},this.options),{authentication:s});return Br(this.url,u)}).then(s=>{o(s)}).catch(s=>{s.name==="ArcGISAuthError"&&r<n?i(o,a):s.name===this.name&&s.message===this.message&&r>=n?a(this):a(s)})};return new Promise((o,a)=>{i(o,a)})}};function ao(e,t,n,r,i){if(e.code>=400){let{message:o,code:a}=e;throw new ye(o,a,e,t,r)}if(e.error){let{message:o,code:a,messageCode:s}=e.error,u=s||a||"UNKNOWN_ERROR_CODE";throw a===498||a===499?i||new nt(o,u,e,t,r):new ye(o,u,e,t,r)}if(e.status==="failed"||e.status==="failure"){let o,a="UNKNOWN_ERROR_CODE";try{o=JSON.parse(e.statusMessage).message,a=JSON.parse(e.statusMessage).code}catch{o=e.statusMessage||e.message}throw new ye(o,a,e,t,r)}return e}function Br(e,t){let n=oo(),r=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},n),t),{params:Object.assign(Object.assign({},n.params),t.params),headers:Object.assign(Object.assign({},n.headers),t.headers)}),{httpMethod:i,rawResponse:o}=r,a=Object.assign({f:"json"},r.params),s=null,u={method:i,signal:r.signal,credentials:r.credentials||"same-origin"};Xr(e)&&(u.credentials="include"),r.headers&&r.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let c;if(typeof r.authentication=="string"){let y=r.authentication;c={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(y)},!r.authentication.startsWith("AAPK")&&!r.authentication.startsWith("AAPT")&&!r.authentication.startsWith("AATK")&&!r.authentication.startsWith("AAST")&&!r.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(to("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else c=r.authentication;let d=e,p=!1;typeof window<"u"&&(p=ro(e));let g=!p&&eo(e);r.headers&&r.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let O=Promise.resolve();return g&&(u.credentials="include",O=Yi(e)),O.then(()=>c?c.getToken(e).catch(y=>(y.url=e,y.options=r,s=y,Promise.resolve(""))):Promise.resolve("")).then(y=>{y.length&&(a.token=y),c&&c.getDomainCredentials&&(u.credentials=c.getDomainCredentials(e));let A={};if(u.method==="GET"){a.token&&r.hideToken&&typeof window>"u"&&(A["X-Esri-Authorization"]=`Bearer ${a.token}`,delete a.token);let f=Ct(a)===""?e:e+"?"+Ct(a);r.maxUrlLength&&f.length>r.maxUrlLength||!r.maxUrlLength&&f.length>2e3||a.token&&r.hideToken?(u.method="POST",y.length&&r.hideToken&&(a.token=y,delete A["X-Esri-Authorization"])):e=f}let v=new RegExp("/items/.+/updateResources").test(e);return u.method==="POST"&&(u.body=Bi(a,v)),u.headers=Object.assign(Object.assign({},A),r.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=io),!Gr(a)&&!v&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,u):no().then(({fetch:f})=>f(e,u))}).then(y=>{if(!y.ok)return y.json().then(A=>{let{status:v,statusText:f}=y,{message:w,details:j}=A.error,S=`${w}. ${j?j.join(" "):""}`.trim();throw new ye(S,`HTTP ${v} ${f}`,A,e,r)}).catch(A=>{if(A.name==="ArcGISRequestError")throw A;let{status:v,statusText:f}=y;throw new ye(f,`HTTP ${v}`,y,e,r)});if(o)return y;switch(a.f){case"json":return y.json();case"geojson":return y.json();case"html":return y.text();case"text":return y.text();default:return y.blob()}}).then(y=>{if((a.f==="json"||a.f==="geojson")&&!o){let A=ao(y,d,a,r,s);if(y&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(y.authorizedCrossOriginNoCorsDomains)&&Zi(y.authorizedCrossOriginNoCorsDomains),s){let v=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];r.authentication.federatedServers[v]={token:[],expires:new Date(Date.now()+86400*1e3)},s=null}return A}else return y})}function Qr(e,t={params:{f:"json"}}){let{request:n}=t,r=ln(t,["request"]);return n?n(e,r):Br(e,r).catch(i=>i instanceof nt&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?i.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(i))}function so(e){return typeof e!="string"||(e=e.trim(),e[e.length-1]==="/"&&(e=e.slice(0,-1))),e}function Le(e={}){return e.portal?so(e.portal):e.authentication&&typeof e.authentication!="string"?e.authentication.portal:"https://www.arcgis.com/sharing/rest"}function uo(e){return e.owner?Promise.resolve(e.owner):e.item&&e.item.owner?Promise.resolve(e.item.owner):e.authentication&&e.authentication.getUsername?e.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function co(e){return Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[1])}function lo(e){return e.join(",")}function Yr(e,t,n){if(!e)return e;let r=null;return typeof e.thumbnail=="string"&&(r=`${t}/content/items/${e.id}/info/${e.thumbnail}`,r&&e.access!=="public"&&n&&(r+=`?${n}`)),Object.assign(Object.assign({},e),r?{thumbnailUrl:r}:{})}function fo(e){return uo(e).then(t=>{let n=e.folderId?`${Le(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update`:`${Le(e)}/content/users/${t}/items/${e.item.id}/update`;e.params=Object.assign(Object.assign({},e.params),e.item),e.params.extent&&co(e.params.extent)&&(e.params.extent=lo(e.params.extent));let r=Le(e),i=Yr(Object.assign(Object.assign({},e.item),{access:e.item.access}),r),o=e.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof o=="string"&&i.thumbnailUrl.split("?")[0]===o.split("?")[0]&&delete e.params.thumbnailUrl,Qr(n,e)})}function Zr(e,t){let n=po(e,t),r=Object.assign({httpMethod:"GET"},t);return Qr(n,r).then(async i=>{let o=t?.portal||Le(t),a;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(a=await t.authentication.getToken(n)),Yr(i,o,a)})}var po=(e,t)=>`${typeof t=="string"?t:Le(t)}/content/items/${e}`;function go(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||ho(n)||mo(n)||yo(n))}function ho(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function mo(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function yo(e){return!e.user&&e.ipCntryCode==="US"}var Re={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let n=JSON.stringify(t);try{window.localStorage.setItem(e,n)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},ei="esri-telemetry";function vo(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!wo(e)||e.body)&&t()})}function bo(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${ei}="${n}"]`)}function wo(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:c,onerror:d}=e;if(typeof window>"u")throw new rt("Window is undefined: Cannot add script element.");if(bo(e)){console.log(`script (${r||i}) is already present, skipping`);return}let p=Oo({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:c,onerror:d});return o==="body"?document.body.appendChild(p):document.head.appendChild(p)}var rt=class extends Error{};function Oo({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let c=document.createElement("script");return e&&(c.id=e),t&&c.setAttribute(`data-${ei}`,t),a&&(c.src=a),o&&(c.innerText=o),c.type=n,c.async=r,c.defer=i,s&&(c.onload=s),u&&(c.onerror=u),c}function xo(e){return e.map(t=>{let n=[];return["src","id","dataAttribute","type"].forEach(r=>{let i=r;r==="dataAttribute"&&(i="data-esri-telemetry"),t[r]&&n.push(`${i}="${t[r]}"`)}),["async","defer"].forEach(r=>{t[r]&&n.push(`${r}`)}),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var So=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],Dt=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=go(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let o=((n=t.portal)===null||n===void 0?void 0:n.user)||t.user;o&&this.setUser(o,(i=(r=t.portal)===null||r===void 0?void 0:r.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(n=>n.init());await Promise.all(t)}setUser(t={},n="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=n;let r;if(t.email&&t.email.split){let i=t.email.split("@")[1];r=So.filter(o=>i===o).length>0}(r||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let i=this.trackers.filter(({disabled:s,hasError:u})=>!s&&!u);if(!i.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let o=this.preProcess(n,r);this.debug&&this.logger.info("Tracking page view",JSON.stringify(o));let a=i.map(s=>s.logPageView(t,o));return Promise.all(a).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let r=this.trackers.filter(({disabled:a,hasError:s})=>!a&&!s);if(!r.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let o=r.map(a=>a.logEvent(i));return Promise.all(o).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){let r={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(r);let i=Object.assign({name:t,step:"start"},n);return this.logWorkflow(i),r}stepWorkflow(t,n,r={}){let i=typeof r=="string"?r:r.details,o=Object.assign({name:t,step:n,details:i},r);this.logWorkflow(o)}endWorkflow(t,n={}){let r=Object.assign({name:t,step:"finish"},n);this.logWorkflow(r)}cancelWorkflow(t,n={}){let r=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(r)}getWorkflow(t){let n=Re.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=1800*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){Re.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Re.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);let r=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(r)}preProcess(t={},n={}){let r={};return this.user&&(r={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),r)).reduce(Ao(n.omitComplexData,this.logger),{})}disableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!0,(n=r.disable)===null||n===void 0||n.call(r))}enableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!1,(n=r.enable)===null||n===void 0||n.call(r))}};function Ao(e,t){return function(n,[r,i]){return ko(i)?n[r]=i:e||(t.warn(`You are trying to log a non-primitive value, ${r}:${JSON.stringify(i)}. This will get logged as [object Object]`),n[r]=i),n}}function ko(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}var Ut=class{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((n=t?.measurementIds)===null||n===void 0)&&n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return xo(this._getScripts())}async init(){if(typeof window>"u")throw new rt("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>vo(t))),this.injectConfig()}logPageView(t,n={}){let r=this.buildCustomParams(n),i=Object.assign({page_title:t||window.location.pathname},r);return window.gtag("event","page_view",i),!0}logEvent(t){let{action:n}=t,r=ln(t,["action"]),i=n||"other",o=this.buildCustomParams(r);return window.gtag("event",i,o),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(n=>{window.gtag("config",n,t)})}buildCustomParams(t){let n,{category:r,label:i}=t;return n=this.verifyCustomDimensionAndMetrics(t),r&&(n=Object.assign(Object.assign({},n),{event_category:r})),i&&(n=Object.assign(Object.assign({},n),{event_label:i})),n}verifyCustomDimensionAndMetrics(t){let n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),r=Object.values(n);return Object.keys(t).filter(i=>r.includes(i)).reduce((i,o)=>Object.assign(i,{[o]:t[o]}),{})}createDimensionsAndMetricsCustomMap(t={},n={}){let r=this.createMetricCustomMap(n),i=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},r),i)}createMetricCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`metric${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`dimension${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}},Tn="TELEMETRY_COGNITO_CREDENTIALS";function Io(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Re.get(Tn);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);let i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,i).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(o=>{let{IdentityId:a}=o,s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:a})};return fetch(n,s)}).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(({Credentials:o})=>(Re.set(Tn,o),o))}function ti({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:Eo(t,r),value:e[r]}:{key:r,value:jo(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function jo(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function Eo(e,t){return`dimension${e[t]}`}var Po=["size","duration","position","number","count"];function ni(e,t={}){return Object.keys(e).filter(n=>t[n]||Po.includes(n)).map(n=>t[n]?{key:To(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function To(e,t){return`metric${e[t]}`}function _o({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=ni(e,n),u=ti({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),c=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(c.referrer=document.referrer),typeof window<"u"&&!c.hostname&&(c.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),c.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,c}function No({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=ni(n,i),a=ti({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:c,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:c,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function _n(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}var Co="function",Mo="string",ie="undefined",Do="boolean",Lt="object",Uo="array",Lo="number",Ro="symbol",zo="null",$o=function(){},Nn="__",Wo="form",Vo="input",Ho="button",qo="select",it=typeof process!==ie?process:{};it.env&&it.env.NODE_ENV;var Ke=typeof document!==ie;it.versions!=null&&it.versions.node!=null;typeof Deno!==ie&&Deno.core;Ke&&window.name==="nodejs"||typeof navigator!==ie&&typeof navigator.userAgent!==ie&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ri(e,t){return t.charAt(0)[e]()+t.slice(1)}var Ko=ri.bind(null,"toUpperCase"),Go=ri.bind(null,"toLowerCase");function Fo(e){return ii(e)?Ko(zo):typeof e===Lt?Bo(e):Object.prototype.toString.call(e).slice(8,-1)}function ot(e,t){t===void 0&&(t=!0);var n=Fo(e);return t?Go(n):n}function Ge(e,t){return typeof t===e}var Rt=Ge.bind(null,Co),zt=Ge.bind(null,Mo);Ge.bind(null,ie);Ge.bind(null,Do);Ge.bind(null,Ro);function ii(e){return e===null}function Jo(e){return ot(e)===Lo&&!isNaN(e)}function Xo(e){return ot(e)===Uo}function Bo(e){return Rt(e.constructor)?e.constructor.name:null}function Qo(e){return e instanceof Error||zt(e.message)&&e.constructor&&Jo(e.constructor.stackTraceLimit)}function oi(e,t){if(typeof t!="object"||ii(t))return!1;if(t instanceof e)return!0;var n=ot(new e(""));if(Qo(t))for(;t;){if(ot(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}oi.bind(null,TypeError);oi.bind(null,SyntaxError);function ct(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Yo(e,t):n}function Yo(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function lt(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}lt(ct,Wo);lt(ct,Ho);lt(ct,Vo);lt(ct,qo);function Zo(e){return e?Xo(e)?e:[e]:[]}function Cn(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function ea(){if(Ke){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function ta(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function na(e){return(function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=Cn(n[1]),a=Cn(n[2]);if(o)if(o.substring(o.length-2)==="[]"){var s=r[o=o.substring(0,o.length-2)]||(r[o]=[]);r[o]=Array.isArray(s)?s:[],r[o].push(a)}else r[o]=a===""||a}for(var u in r){var c=u.split("[");c.length>1&&(ra(r,c.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r})((function(t){return Ke&&window.location.search.substring(1)})())}function ra(e,t,n){for(var r=t.length-1,i=0;i<r;++i){var o=t[i];if(o==="__proto__"||o==="constructor")break;o in e||(e[o]={}),e=e[o]}e[t[r]]=n}function Ae(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],i=15&n;e+=r=="-"||r=="4"?r:(r=="x"?i:3&i|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}var we="global",Te=Nn+we+Nn,_e=typeof self===Lt&&self.self===self&&self||typeof global===Lt&&global[we]===global&&global||void 0;function de(e){return _e[Te][e]}function le(e,t){return _e[Te][e]=t}function ke(e){delete _e[Te][e]}function pe(e,t,n){var r;try{if(ft(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}_e[Te]||(_e[Te]={});var Xe={};function ft(e){if(typeof Xe[e]!==ie)return Xe[e];try{var t=window[e];t.setItem(ie,ie),t.removeItem(ie)}catch{return Xe[e]=!1}return Xe[e]=!0}var Mn,Ve="__",$t=typeof process<"u"?process:{};(Mn=$t.env)!=null&&Mn.NODE_ENV;var fe=typeof window<"u";$t.versions!=null&&$t.versions.node!=null;typeof Deno<"u"&&Deno.core;fe&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function dt(e,t){return typeof t===e}var ae=dt.bind(null,"function"),et=dt.bind(null,"string");dt.bind(null,"undefined");var ia=dt.bind(null,"boolean");function oa(e){return Object.prototype.toString.call(e)==="[object Array]"}function aa(e){return e&&(typeof e=="object"||e!==null)}function ne(e){if(!aa(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Wt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sa(e){if(Array.isArray(e))return Wt(e)}function ua(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ai(e,t){if(e){if(typeof e=="string")return Wt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wt(e,t)}}function ca(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import{a as Pn}from"./5VNHJGB4.js";import"./2ATM2TF5.js";import"./76RC4256.js";import{b as En}from"./M7NUMQJV.js";import{H as jn,h as kn,r as In}from"./USDL3VTN.js";import"./CRWUQTQS.js";function ln(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Gr(e){return Object.keys(e).some(t=>{let n=e[t];if(!n)return!1;switch(n&&n.toParam&&(n=n.toParam()),n.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function Fr(e){let t={};return Object.keys(e).forEach(n=>{var r,i;let o=e[n];if(o&&o.toParam&&(o=o.toParam()),!o&&o!==0&&typeof o!="boolean"&&typeof o!="string")return;let a=o.constructor.name,s;switch(a){case"Array":let u=(i=(r=o[0])===null||r===void 0?void 0:r.constructor)===null||i===void 0?void 0:i.name;s=u==="Array"?o:u==="Object"?JSON.stringify(o):o.join(",");break;case"Object":s=JSON.stringify(o);break;case"Date":s=o.valueOf();break;case"Function":s=null;break;case"Boolean":s=o+"";break;default:s=o;break}(s||s===0||typeof s=="string"||Array.isArray(s))&&(t[n]=s)}),t}function Jr(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(n=>Jr(e,n)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function Ct(e){let t=Fr(e);return Object.keys(t).map(n=>Jr(n,t[n])).join("&")}var Xi=globalThis.FormData;function Bi(e,t){let n=Gr(e)||t,r=Fr(e);if(n){let i=new Xi;return Object.keys(r).forEach(o=>{if(typeof Blob<"u"&&r[o]instanceof Blob){let a=r.fileName||r[o].name||o;i.append(o,r[o],a)}else i.append(o,r[o])}),i}else return Ct(e)}var ye=class extends Error{constructor(t,n,r,i,o){super(t);let a=new.target.prototype;Object.setPrototypeOf(this,a),t=t||"UNKNOWN_ERROR",n=n||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=n==="UNKNOWN_ERROR_CODE"?t:`${n}: ${t}`,this.originalMessage=t,this.code=n,this.response=r,this.url=i,this.options=o}},Qi={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},Mt="ARCGIS_REST_JS_NO_CORS";globalThis[Mt]||(globalThis[Mt]=Object.assign({},Qi));var te=globalThis[Mt];function Yi(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let n=t.origin;return te.pendingNoCorsRequests[n]||(te.pendingNoCorsRequests[n]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(r=>{te.noCorsDomains.indexOf(n)===-1&&te.noCorsDomains.push(n),te.crossOriginNoCorsDomains[n.toLowerCase()]=Date.now(),delete te.pendingNoCorsRequests[n]}).catch(r=>(delete te.pendingNoCorsRequests[n],Promise.reject(new Error(`no-cors request to ${n} failed`))))),te.pendingNoCorsRequests[n]}function Zi(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?Ot(t):(Ot("http://"+t),Ot("https://"+t))})}function Ot(e){let t=new URL(e).origin;te.noCorsDomains.indexOf(t)===-1&&te.noCorsDomains.push(t)}function Xr(e){let t=!1;if(te.noCorsDomains.length){let n=new URL(e).origin.toLowerCase();t=te.noCorsDomains.some(r=>n.includes(r))}return t}function eo(e){let t=!1;if(Xr(e)){let n=new URL(e).origin.toLowerCase(),r=te.crossOriginNoCorsDomains[n]||0;Date.now()-60*6e4>r&&(t=!0)}return t}function to(e){console&&console.warn&&console.warn.apply(console,[e])}function no(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ro(e,t){var n;if(!t&&!window||!e)return!1;{t=t||window;let r=(n=t.location)===null||n===void 0?void 0:n.origin;return e.startsWith(r)}}var io="@esri/arcgis-rest-js";function oo(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var nt=class extends ye{constructor(t="AUTHENTICATION_ERROR",n="AUTHENTICATION_ERROR_CODE",r,i,o){super(t,n,r,i,o),this.name="ArcGISAuthError",this.message=n==="AUTHENTICATION_ERROR_CODE"?t:`${n}: ${t}`;let a=new.target.prototype;Object.setPrototypeOf(this,a)}retry(t,n=1){let r=0,i=(o,a)=>{r=r+1,t(this.url,this.options).then(s=>{let u=Object.assign(Object.assign({},this.options),{authentication:s});return Br(this.url,u)}).then(s=>{o(s)}).catch(s=>{s.name==="ArcGISAuthError"&&r<n?i(o,a):s.name===this.name&&s.message===this.message&&r>=n?a(this):a(s)})};return new Promise((o,a)=>{i(o,a)})}};function ao(e,t,n,r,i){if(e.code>=400){let{message:o,code:a}=e;throw new ye(o,a,e,t,r)}if(e.error){let{message:o,code:a,messageCode:s}=e.error,u=s||a||"UNKNOWN_ERROR_CODE";throw a===498||a===499?i||new nt(o,u,e,t,r):new ye(o,u,e,t,r)}if(e.status==="failed"||e.status==="failure"){let o,a="UNKNOWN_ERROR_CODE";try{o=JSON.parse(e.statusMessage).message,a=JSON.parse(e.statusMessage).code}catch{o=e.statusMessage||e.message}throw new ye(o,a,e,t,r)}return e}function Br(e,t){let n=oo(),r=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},n),t),{params:Object.assign(Object.assign({},n.params),t.params),headers:Object.assign(Object.assign({},n.headers),t.headers)}),{httpMethod:i,rawResponse:o}=r,a=Object.assign({f:"json"},r.params),s=null,u={method:i,signal:r.signal,credentials:r.credentials||"same-origin"};Xr(e)&&(u.credentials="include"),r.headers&&r.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let c;if(typeof r.authentication=="string"){let y=r.authentication;c={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(y)},!r.authentication.startsWith("AAPK")&&!r.authentication.startsWith("AAPT")&&!r.authentication.startsWith("AATK")&&!r.authentication.startsWith("AAST")&&!r.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(to("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else c=r.authentication;let d=e,p=!1;typeof window<"u"&&(p=ro(e));let g=!p&&eo(e);r.headers&&r.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let O=Promise.resolve();return g&&(u.credentials="include",O=Yi(e)),O.then(()=>c?c.getToken(e).catch(y=>(y.url=e,y.options=r,s=y,Promise.resolve(""))):Promise.resolve("")).then(y=>{y.length&&(a.token=y),c&&c.getDomainCredentials&&(u.credentials=c.getDomainCredentials(e));let A={};if(u.method==="GET"){a.token&&r.hideToken&&typeof window>"u"&&(A["X-Esri-Authorization"]=`Bearer ${a.token}`,delete a.token);let f=Ct(a)===""?e:e+"?"+Ct(a);r.maxUrlLength&&f.length>r.maxUrlLength||!r.maxUrlLength&&f.length>2e3||a.token&&r.hideToken?(u.method="POST",y.length&&r.hideToken&&(a.token=y,delete A["X-Esri-Authorization"])):e=f}let v=new RegExp("/items/.+/updateResources").test(e);return u.method==="POST"&&(u.body=Bi(a,v)),u.headers=Object.assign(Object.assign({},A),r.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=io),!Gr(a)&&!v&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,u):no().then(({fetch:f})=>f(e,u))}).then(y=>{if(!y.ok)return y.json().then(A=>{let{status:v,statusText:f}=y,{message:w,details:j}=A.error,S=`${w}. ${j?j.join(" "):""}`.trim();throw new ye(S,`HTTP ${v} ${f}`,A,e,r)}).catch(A=>{if(A.name==="ArcGISRequestError")throw A;let{status:v,statusText:f}=y;throw new ye(f,`HTTP ${v}`,y,e,r)});if(o)return y;switch(a.f){case"json":return y.json();case"geojson":return y.json();case"html":return y.text();case"text":return y.text();default:return y.blob()}}).then(y=>{if((a.f==="json"||a.f==="geojson")&&!o){let A=ao(y,d,a,r,s);if(y&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(y.authorizedCrossOriginNoCorsDomains)&&Zi(y.authorizedCrossOriginNoCorsDomains),s){let v=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];r.authentication.federatedServers[v]={token:[],expires:new Date(Date.now()+86400*1e3)},s=null}return A}else return y})}function Qr(e,t={params:{f:"json"}}){let{request:n}=t,r=ln(t,["request"]);return n?n(e,r):Br(e,r).catch(i=>i instanceof nt&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?i.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(i))}function so(e){return typeof e!="string"||(e=e.trim(),e[e.length-1]==="/"&&(e=e.slice(0,-1))),e}function Le(e={}){return e.portal?so(e.portal):e.authentication&&typeof e.authentication!="string"?e.authentication.portal:"https://www.arcgis.com/sharing/rest"}function uo(e){return e.owner?Promise.resolve(e.owner):e.item&&e.item.owner?Promise.resolve(e.item.owner):e.authentication&&e.authentication.getUsername?e.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function co(e){return Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[1])}function lo(e){return e.join(",")}function Yr(e,t,n){if(!e)return e;let r=null;return typeof e.thumbnail=="string"&&(r=`${t}/content/items/${e.id}/info/${e.thumbnail}`,r&&e.access!=="public"&&n&&(r+=`?${n}`)),Object.assign(Object.assign({},e),r?{thumbnailUrl:r}:{})}function fo(e){return uo(e).then(t=>{let n=e.folderId?`${Le(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update`:`${Le(e)}/content/users/${t}/items/${e.item.id}/update`;e.params=Object.assign(Object.assign({},e.params),e.item),e.params.extent&&co(e.params.extent)&&(e.params.extent=lo(e.params.extent));let r=Le(e),i=Yr(Object.assign(Object.assign({},e.item),{access:e.item.access}),r),o=e.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof o=="string"&&i.thumbnailUrl.split("?")[0]===o.split("?")[0]&&delete e.params.thumbnailUrl,Qr(n,e)})}function Zr(e,t){let n=po(e,t),r=Object.assign({httpMethod:"GET"},t);return Qr(n,r).then(async i=>{let o=t?.portal||Le(t),a;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(a=await t.authentication.getToken(n)),Yr(i,o,a)})}var po=(e,t)=>`${typeof t=="string"?t:Le(t)}/content/items/${e}`;function go(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||ho(n)||mo(n)||yo(n))}function ho(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function mo(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function yo(e){return!e.user&&e.ipCntryCode==="US"}var Re={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let n=JSON.stringify(t);try{window.localStorage.setItem(e,n)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},ei="esri-telemetry";function vo(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!wo(e)||e.body)&&t()})}function bo(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${ei}="${n}"]`)}function wo(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:c,onerror:d}=e;if(typeof window>"u")throw new rt("Window is undefined: Cannot add script element.");if(bo(e)){console.log(`script (${r||i}) is already present, skipping`);return}let p=Oo({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:c,onerror:d});return o==="body"?document.body.appendChild(p):document.head.appendChild(p)}var rt=class extends Error{};function Oo({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let c=document.createElement("script");return e&&(c.id=e),t&&c.setAttribute(`data-${ei}`,t),a&&(c.src=a),o&&(c.innerText=o),c.type=n,c.async=r,c.defer=i,s&&(c.onload=s),u&&(c.onerror=u),c}function xo(e){return e.map(t=>{let n=[];return["src","id","dataAttribute","type"].forEach(r=>{let i=r;r==="dataAttribute"&&(i="data-esri-telemetry"),t[r]&&n.push(`${i}="${t[r]}"`)}),["async","defer"].forEach(r=>{t[r]&&n.push(`${r}`)}),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var So=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],Dt=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=go(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let o=((n=t.portal)===null||n===void 0?void 0:n.user)||t.user;o&&this.setUser(o,(i=(r=t.portal)===null||r===void 0?void 0:r.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(n=>n.init());await Promise.all(t)}setUser(t={},n="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=n;let r;if(t.email&&t.email.split){let i=t.email.split("@")[1];r=So.filter(o=>i===o).length>0}(r||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let i=this.trackers.filter(({disabled:s,hasError:u})=>!s&&!u);if(!i.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let o=this.preProcess(n,r);this.debug&&this.logger.info("Tracking page view",JSON.stringify(o));let a=i.map(s=>s.logPageView(t,o));return Promise.all(a).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let r=this.trackers.filter(({disabled:a,hasError:s})=>!a&&!s);if(!r.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let o=r.map(a=>a.logEvent(i));return Promise.all(o).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){let r={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(r);let i=Object.assign({name:t,step:"start"},n);return this.logWorkflow(i),r}stepWorkflow(t,n,r={}){let i=typeof r=="string"?r:r.details,o=Object.assign({name:t,step:n,details:i},r);this.logWorkflow(o)}endWorkflow(t,n={}){let r=Object.assign({name:t,step:"finish"},n);this.logWorkflow(r)}cancelWorkflow(t,n={}){let r=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(r)}getWorkflow(t){let n=Re.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=1800*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){Re.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Re.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);let r=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(r)}preProcess(t={},n={}){let r={};return this.user&&(r={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),r)).reduce(Ao(n.omitComplexData,this.logger),{})}disableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!0,(n=r.disable)===null||n===void 0||n.call(r))}enableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!1,(n=r.enable)===null||n===void 0||n.call(r))}};function Ao(e,t){return function(n,[r,i]){return ko(i)?n[r]=i:e||(t.warn(`You are trying to log a non-primitive value, ${r}:${JSON.stringify(i)}. This will get logged as [object Object]`),n[r]=i),n}}function ko(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}var Ut=class{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((n=t?.measurementIds)===null||n===void 0)&&n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return xo(this._getScripts())}async init(){if(typeof window>"u")throw new rt("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>vo(t))),this.injectConfig()}logPageView(t,n={}){let r=this.buildCustomParams(n),i=Object.assign({page_title:t||window.location.pathname},r);return window.gtag("event","page_view",i),!0}logEvent(t){let{action:n}=t,r=ln(t,["action"]),i=n||"other",o=this.buildCustomParams(r);return window.gtag("event",i,o),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(n=>{window.gtag("config",n,t)})}buildCustomParams(t){let n,{category:r,label:i}=t;return n=this.verifyCustomDimensionAndMetrics(t),r&&(n=Object.assign(Object.assign({},n),{event_category:r})),i&&(n=Object.assign(Object.assign({},n),{event_label:i})),n}verifyCustomDimensionAndMetrics(t){let n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),r=Object.values(n);return Object.keys(t).filter(i=>r.includes(i)).reduce((i,o)=>Object.assign(i,{[o]:t[o]}),{})}createDimensionsAndMetricsCustomMap(t={},n={}){let r=this.createMetricCustomMap(n),i=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},r),i)}createMetricCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`metric${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`dimension${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}},Tn="TELEMETRY_COGNITO_CREDENTIALS";function Io(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Re.get(Tn);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);let i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,i).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(o=>{let{IdentityId:a}=o,s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:a})};return fetch(n,s)}).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(({Credentials:o})=>(Re.set(Tn,o),o))}function ti({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:Eo(t,r),value:e[r]}:{key:r,value:jo(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function jo(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function Eo(e,t){return`dimension${e[t]}`}var Po=["size","duration","position","number","count"];function ni(e,t={}){return Object.keys(e).filter(n=>t[n]||Po.includes(n)).map(n=>t[n]?{key:To(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function To(e,t){return`metric${e[t]}`}function _o({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=ni(e,n),u=ti({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),c=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(c.referrer=document.referrer),typeof window<"u"&&!c.hostname&&(c.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),c.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,c}function No({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=ni(n,i),a=ti({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:c,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:c,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function _n(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}var Co="function",Mo="string",ie="undefined",Do="boolean",Lt="object",Uo="array",Lo="number",Ro="symbol",zo="null",$o=function(){},Nn="__",Wo="form",Vo="input",Ho="button",qo="select",it=typeof process!==ie?process:{};it.env&&it.env.NODE_ENV;var Ke=typeof document!==ie;it.versions!=null&&it.versions.node!=null;typeof Deno!==ie&&Deno.core;Ke&&window.name==="nodejs"||typeof navigator!==ie&&typeof navigator.userAgent!==ie&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ri(e,t){return t.charAt(0)[e]()+t.slice(1)}var Ko=ri.bind(null,"toUpperCase"),Go=ri.bind(null,"toLowerCase");function Fo(e){return ii(e)?Ko(zo):typeof e===Lt?Bo(e):Object.prototype.toString.call(e).slice(8,-1)}function ot(e,t){t===void 0&&(t=!0);var n=Fo(e);return t?Go(n):n}function Ge(e,t){return typeof t===e}var Rt=Ge.bind(null,Co),zt=Ge.bind(null,Mo);Ge.bind(null,ie);Ge.bind(null,Do);Ge.bind(null,Ro);function ii(e){return e===null}function Jo(e){return ot(e)===Lo&&!isNaN(e)}function Xo(e){return ot(e)===Uo}function Bo(e){return Rt(e.constructor)?e.constructor.name:null}function Qo(e){return e instanceof Error||zt(e.message)&&e.constructor&&Jo(e.constructor.stackTraceLimit)}function oi(e,t){if(typeof t!="object"||ii(t))return!1;if(t instanceof e)return!0;var n=ot(new e(""));if(Qo(t))for(;t;){if(ot(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}oi.bind(null,TypeError);oi.bind(null,SyntaxError);function ct(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Yo(e,t):n}function Yo(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function lt(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}lt(ct,Wo);lt(ct,Ho);lt(ct,Vo);lt(ct,qo);function Zo(e){return e?Xo(e)?e:[e]:[]}function Cn(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function ea(){if(Ke){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function ta(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function na(e){return(function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=Cn(n[1]),a=Cn(n[2]);if(o)if(o.substring(o.length-2)==="[]"){var s=r[o=o.substring(0,o.length-2)]||(r[o]=[]);r[o]=Array.isArray(s)?s:[],r[o].push(a)}else r[o]=a===""||a}for(var u in r){var c=u.split("[");c.length>1&&(ra(r,c.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r})((function(t){return Ke&&window.location.search.substring(1)})())}function ra(e,t,n){for(var r=t.length-1,i=0;i<r;++i){var o=t[i];if(o==="__proto__"||o==="constructor")break;o in e||(e[o]={}),e=e[o]}e[t[r]]=n}function Ae(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],i=15&n;e+=r=="-"||r=="4"?r:(r=="x"?i:3&i|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}var we="global",Te=Nn+we+Nn,_e=typeof self===Lt&&self.self===self&&self||typeof global===Lt&&global[we]===global&&global||void 0;function de(e){return _e[Te][e]}function le(e,t){return _e[Te][e]=t}function ke(e){delete _e[Te][e]}function pe(e,t,n){var r;try{if(ft(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}_e[Te]||(_e[Te]={});var Xe={};function ft(e){if(typeof Xe[e]!==ie)return Xe[e];try{var t=window[e];t.setItem(ie,ie),t.removeItem(ie)}catch{return Xe[e]=!1}return Xe[e]=!0}var Mn,Ve="__",$t=typeof process<"u"?process:{};(Mn=$t.env)!=null&&Mn.NODE_ENV;var fe=typeof window<"u";$t.versions!=null&&$t.versions.node!=null;typeof Deno<"u"&&Deno.core;fe&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function dt(e,t){return typeof t===e}var ae=dt.bind(null,"function"),et=dt.bind(null,"string");dt.bind(null,"undefined");var ia=dt.bind(null,"boolean");function oa(e){return Object.prototype.toString.call(e)==="[object Array]"}function aa(e){return e&&(typeof e=="object"||e!==null)}function ne(e){if(!aa(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Wt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sa(e){if(Array.isArray(e))return Wt(e)}function ua(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ai(e,t){if(e){if(typeof e=="string")return Wt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wt(e,t)}}function ca(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5
5
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ze(e){return sa(e)||ua(e)||ai(e)||ca()}function Q(e){"@babel/helpers - typeof";return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(e)}function Dn(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){n(c);return}s.done?t(u):Promise.resolve(u).then(r,i)}function se(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(u){Dn(o,r,i,a,s,"next",u)}function s(u){Dn(o,r,i,a,s,"throw",u)}a(void 0)})}}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Un(Object(n),!0).forEach(function(r){he(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Un(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var si={exports:{}};(function(e){var t=(function(n){var r=Object.prototype,i=r.hasOwnProperty,o,a=typeof Symbol=="function"?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(h,b,l){return Object.defineProperty(h,b,{value:l,enumerable:!0,configurable:!0,writable:!0}),h[b]}try{d({},"")}catch{d=function(h,b,l){return h[b]=l}}function p(h,b,l,m){var x=b&&b.prototype instanceof w?b:w,I=Object.create(x.prototype),M=new q(m||[]);return I._invoke=C(h,l,M),I}n.wrap=p;function g(h,b,l){try{return{type:"normal",arg:h.call(b,l)}}catch(m){return{type:"throw",arg:m}}}var O="suspendedStart",y="suspendedYield",A="executing",v="completed",f={};function w(){}function j(){}function S(){}var E={};d(E,s,function(){return this});var P=Object.getPrototypeOf,T=P&&P(P(F([])));T&&T!==r&&i.call(T,s)&&(E=T);var L=S.prototype=w.prototype=Object.create(E);j.prototype=S,d(L,"constructor",S),d(S,"constructor",j),j.displayName=d(S,c,"GeneratorFunction");function R(h){["next","throw","return"].forEach(function(b){d(h,b,function(l){return this._invoke(b,l)})})}n.isGeneratorFunction=function(h){var b=typeof h=="function"&&h.constructor;return b?b===j||(b.displayName||b.name)==="GeneratorFunction":!1},n.mark=function(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,S):(h.__proto__=S,d(h,c,"GeneratorFunction")),h.prototype=Object.create(L),h},n.awrap=function(h){return{__await:h}};function N(h,b){function l(I,M,U,W){var K=g(h[I],h,M);if(K.type==="throw")W(K.arg);else{var H=K.arg,V=H.value;return V&&typeof V=="object"&&i.call(V,"__await")?b.resolve(V.__await).then(function(X){l("next",X,U,W)},function(X){l("throw",X,U,W)}):b.resolve(V).then(function(X){H.value=X,U(H)},function(X){return l("throw",X,U,W)})}}var m;function x(I,M){function U(){return new b(function(W,K){l(I,M,W,K)})}return m=m?m.then(U,U):U()}this._invoke=x}R(N.prototype),d(N.prototype,u,function(){return this}),n.AsyncIterator=N,n.async=function(h,b,l,m,x){x===void 0&&(x=Promise);var I=new N(p(h,b,l,m),x);return n.isGeneratorFunction(b)?I:I.next().then(function(M){return M.done?M.value:I.next()})};function C(h,b,l){var m=O;return function(x,I){if(m===A)throw new Error("Generator is already running");if(m===v){if(x==="throw")throw I;return z()}for(l.method=x,l.arg=I;;){var M=l.delegate;if(M){var U=G(M,l);if(U){if(U===f)continue;return U}}if(l.method==="next")l.sent=l._sent=l.arg;else if(l.method==="throw"){if(m===O)throw m=v,l.arg;l.dispatchException(l.arg)}else l.method==="return"&&l.abrupt("return",l.arg);m=A;var W=g(h,b,l);if(W.type==="normal"){if(m=l.done?v:y,W.arg===f)continue;return{value:W.arg,done:l.done}}else W.type==="throw"&&(m=v,l.method="throw",l.arg=W.arg)}}}function G(h,b){var l=h.iterator[b.method];if(l===o){if(b.delegate=null,b.method==="throw"){if(h.iterator.return&&(b.method="return",b.arg=o,G(h,b),b.method==="throw"))return f;b.method="throw",b.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var m=g(l,h.iterator,b.arg);if(m.type==="throw")return b.method="throw",b.arg=m.arg,b.delegate=null,f;var x=m.arg;if(!x)return b.method="throw",b.arg=new TypeError("iterator result is not an object"),b.delegate=null,f;if(x.done)b[h.resultName]=x.value,b.next=h.nextLoc,b.method!=="return"&&(b.method="next",b.arg=o);else return x;return b.delegate=null,f}R(L),d(L,c,"Generator"),d(L,s,function(){return this}),d(L,"toString",function(){return"[object Generator]"});function $(h){var b={tryLoc:h[0]};1 in h&&(b.catchLoc=h[1]),2 in h&&(b.finallyLoc=h[2],b.afterLoc=h[3]),this.tryEntries.push(b)}function D(h){var b=h.completion||{};b.type="normal",delete b.arg,h.completion=b}function q(h){this.tryEntries=[{tryLoc:"root"}],h.forEach($,this),this.reset(!0)}n.keys=function(h){var b=[];for(var l in h)b.push(l);return b.reverse(),function m(){for(;b.length;){var x=b.pop();if(x in h)return m.value=x,m.done=!1,m}return m.done=!0,m}};function F(h){if(h){var b=h[s];if(b)return b.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length)){var l=-1,m=function x(){for(;++l<h.length;)if(i.call(h,l))return x.value=h[l],x.done=!1,x;return x.value=o,x.done=!0,x};return m.next=m}}return{next:z}}n.values=F;function z(){return{value:o,done:!0}}return q.prototype={constructor:q,reset:function(h){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(D),!h)for(var b in this)b.charAt(0)==="t"&&i.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=o)},stop:function(){this.done=!0;var h=this.tryEntries[0],b=h.completion;if(b.type==="throw")throw b.arg;return this.rval},dispatchException:function(h){if(this.done)throw h;var b=this;function l(W,K){return I.type="throw",I.arg=h,b.next=W,K&&(b.method="next",b.arg=o),!!K}for(var m=this.tryEntries.length-1;m>=0;--m){var x=this.tryEntries[m],I=x.completion;if(x.tryLoc==="root")return l("end");if(x.tryLoc<=this.prev){var M=i.call(x,"catchLoc"),U=i.call(x,"finallyLoc");if(M&&U){if(this.prev<x.catchLoc)return l(x.catchLoc,!0);if(this.prev<x.finallyLoc)return l(x.finallyLoc)}else if(M){if(this.prev<x.catchLoc)return l(x.catchLoc,!0)}else if(U){if(this.prev<x.finallyLoc)return l(x.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(h,b){for(var l=this.tryEntries.length-1;l>=0;--l){var m=this.tryEntries[l];if(m.tryLoc<=this.prev&&i.call(m,"finallyLoc")&&this.prev<m.finallyLoc){var x=m;break}}x&&(h==="break"||h==="continue")&&x.tryLoc<=b&&b<=x.finallyLoc&&(x=null);var I=x?x.completion:{};return I.type=h,I.arg=b,x?(this.method="next",this.next=x.finallyLoc,f):this.complete(I)},complete:function(h,b){if(h.type==="throw")throw h.arg;return h.type==="break"||h.type==="continue"?this.next=h.arg:h.type==="return"?(this.rval=this.arg=h.arg,this.method="return",this.next="end"):h.type==="normal"&&b&&(this.next=b),f},finish:function(h){for(var b=this.tryEntries.length-1;b>=0;--b){var l=this.tryEntries[b];if(l.finallyLoc===h)return this.complete(l.completion,l.afterLoc),D(l),f}},catch:function(h){for(var b=this.tryEntries.length-1;b>=0;--b){var l=this.tryEntries[b];if(l.tryLoc===h){var m=l.completion;if(m.type==="throw"){var x=m.arg;D(l)}return x}}throw new Error("illegal catch attempt")},delegateYield:function(h,b,l){return this.delegate={iterator:F(h),resultName:b,nextLoc:l},this.method==="next"&&(this.arg=o),f}},n})(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(si);var B=si.exports,me="function",ue="undefined",$e="reducer",ui="@@redux/",Vt=ui+"INIT",la=ui+Math.random().toString(36),Ln=(function(){return(typeof Symbol>"u"?"undefined":Q(Symbol))===me&&Symbol.observable||"@@observable"})(),Be=" != "+me;function ci(e,t,n){if(Q(t)===me&&Q(n)===ue&&(n=t,t=void 0),Q(n)!==ue){if(Q(n)!==me)throw new Error("enhancer"+Be);return n(ci)(e,t)}if(Q(e)!==me)throw new Error($e+Be);var r=e,i=t,o=[],a=o,s=!1;function u(){a===o&&(a=o.slice())}function c(){return i}function d(y){if(Q(y)!==me)throw new Error("Listener"+Be);var A=!0;return u(),a.push(y),function(){if(A){A=!1,u();var v=a.indexOf(y);a.splice(v,1)}}}function p(y){if(!ne(y))throw new Error("Act != obj");if(Q(y.type)===ue)throw new Error("ActType "+ue);if(s)throw new Error("Dispatch in "+$e);try{s=!0,i=r(i,y)}finally{s=!1}for(var A=o=a,v=0;v<A.length;v++){var f=A[v];f()}return y}function g(y){if(Q(y)!==me)throw new Error("next "+$e+Be);r=y,p({type:Vt})}function O(){var y=d;return he({subscribe:function(A){if(Q(A)!=="object")throw new TypeError("Observer != obj");function v(){A.next&&A.next(c())}v();var f=y(v);return{unsubscribe:f}}},Ln,function(){return this})}return p({type:Vt}),he({dispatch:p,subscribe:d,getState:c,replaceReducer:g},Ln,O)}function fa(e,t){var n=t&&t.type,r=n&&n.toString()||"?";return"action "+r+$e+" "+e+" returns "+ue}function da(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:Vt});if(Q(r)===ue||Q(n(void 0,{type:la}))===ue)throw new Error($e+" "+t+" "+ue)})}function pa(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];Q(e[i])===me&&(n[i]=e[i])}var o=Object.keys(n),a;try{da(n)}catch(s){a=s}return function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;if(a)throw a;for(var c=!1,d={},p=0;p<o.length;p++){var g=o[p],O=n[g],y=s[g],A=O(y,u);if(Q(A)===ue){var v=fa(g,u);throw new Error(v)}d[g]=A,c=c||A!==y}return c?d:s}}function Ne(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,i){return function(){return r(i.apply(void 0,arguments))}})}function ga(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return function(i,o,a){var s=r(i,o,a),u=s.dispatch,c=[],d={getState:s.getState,dispatch:function(p){return u(p)}};return c=t.map(function(p){return p(d)}),u=Ne.apply(void 0,ze(c))(s.dispatch),k(k({},s),{},{dispatch:u})}}}var ve=Ve+"anon_id",Oe=Ve+"user_id",Ee=Ve+"user_traits",Ht="analytics",ge="userId",Ie="anonymousId",ha="https://lytics.dev/errors/",at=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],qt=["name","EVENTS","config","loaded"],ma={registerPluginType:function(e){return"registerPlugin:".concat(e)},pluginReadyType:function(e){return"ready:".concat(e)}},ya=at.reduce(function(e,t){return e[t]=t,e},ma),_=ya;function va(e){return at.includes(e)}var Rn=/^utm_/,zn=/^an_prop_/,$n=/^an_trait_/;function ba(e){var t=e.storage.setItem;return function(n){return function(r){return function(i){if(i.type===_.bootstrap){var o=i.params,a=i.user,s=i.persistedUser,u=i.initialUser,c=s.userId===a.userId;s.anonymousId!==a.anonymousId&&t(ve,a.anonymousId),c||t(Oe,a.userId),u.traits&&t(Ee,k(k({},c&&s.traits?s.traits:{}),u.traits));var d=Object.keys(i.params);if(d.length){var p=o.an_uid,g=o.an_event,O=d.reduce(function(y,A){if(A.match(Rn)||A.match(/^(d|g)clid/)){var v=A.replace(Rn,""),f=v==="campaign"?"name":v;y.campaign[f]=o[A]}return A.match(zn)&&(y.props[A.replace(zn,"")]=o[A]),A.match($n)&&(y.traits[A.replace($n,"")]=o[A]),y},{campaign:{},props:{},traits:{}});n.dispatch(k(k({type:_.params,raw:o},O),p?{userId:p}:{})),p&&setTimeout(function(){return e.identify(p,O.traits)},0),g&&setTimeout(function(){return e.track(g,O.props)},0),Object.keys(O.campaign).length&&n.dispatch({type:_.campaign,campaign:O.campaign})}}return r(i)}}}}function wa(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n.type===_.setItemEnd){if(n.key===ve)return k(k({},t),{anonymousId:n.value});if(n.key===Oe)return k(k({},t),{userId:n.value})}switch(n.type){case _.identify:return Object.assign({},t,{userId:n.userId,traits:k(k({},t.traits),n.traits)});case _.reset:return[Oe,ve,Ee].forEach(function(r){e.removeItem(r)}),Object.assign({},t,{userId:null,anonymousId:null,traits:{}});default:return t}}}function li(e){return{userId:e.getItem(Oe),anonymousId:e.getItem(ve),traits:e.getItem(Ee)}}var fn=function(e){return Ve+"TEMP"+Ve+e};function Oa(e){return function(t,n,r){var i=n.getState("user")[t];if(i)return i;if(r&&ne(r)&&r[t])return r[t];var o=li(e)[t];return o||de(fn(t))||null}}function xa(e){var t=e.storage,n=t.setItem,r=t.removeItem,i=t.getItem;return function(o){return function(a){return function(s){var u=s.userId,c=s.traits,d=s.options;if(s.type===_.reset&&([Oe,Ee,ve].forEach(function(O){r(O)}),[ge,Ie,"traits"].forEach(function(O){ke(fn(O))})),s.type===_.identify){i(ve)||n(ve,Ae());var p=i(Oe),g=i(Ee)||{};p&&p!==u&&o.dispatch({type:_.userIdChanged,old:{userId:p,traits:g},new:{userId:u,traits:c},options:d}),u&&n(Oe,u),c&&n(Ee,k(k({},g),c))}return a(s)}}}}var Ue={};function fi(e,t){Ue[e]&&ae(Ue[e])&&(Ue[e](t),delete Ue[e])}function di(e,t,n){return new Promise(function(r,i){return t()?r(e):n<1?i(k(k({},e),{},{queue:!0})):Sa(10).then(function(o){return di(e,t,n-10).then(r,i)})})}function Sa(e){return new Promise(function(t){return setTimeout(t,e)})}function pi(e,t,n){var r=t(),i=e.getState(),o=i.plugins,a=i.context,s=i.queue,u=i.user,c=!a.offline;if(c&&s&&s.actions&&s.actions.length){var d=s.actions.reduce(function(g,O,y){var A=o[O.plugin].loaded;return A?(g.process.push(O),g.processIndex.push(y)):(g.requeue.push(O),g.requeueIndex.push(y)),g},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(d.processIndex&&d.processIndex.length){d.processIndex.forEach(function(g){var O=s.actions[g],y=O.plugin,A=O.payload.type,v=r[y][A];if(v&&ae(v)){var f=ka(O.payload,u);v({payload:f,config:o[y].config,instance:n});var w="".concat(A,":").concat(y);e.dispatch(k(k({},f),{},{type:w,_:{called:w,from:"queueDrain"}}))}});var p=s.actions.filter(function(g,O){return!~d.processIndex.indexOf(O)});s.actions=p}}}function Aa(e,t,n){return setInterval(function(){return pi(e,t,n)},3e3)}function ka(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[ge,Ie].reduce(function(n,r){return e.hasOwnProperty(r)&&t[r]&&t[r]!==e[r]&&(n[r]=t[r]),n},e)}function Ia(e){if(Array.isArray(e))return e}function ja(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,a,s;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));i=!0);}catch(u){o=!0,s=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function Ea(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
6
6
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pa(e,t){return Ia(e)||ja(e,t)||ai(e,t)||Ea()}function Ta(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(e).filter(function(r){var i=n.plugins||{};return ia(i[r])?i[r]:!(i.all===!1||t[r]&&t[r].enabled===!1)}).map(function(r){return e[r]})}var Ce=/Start$/,Wn=/^bootstrap/,Vn=/^ready/;function _a(e,t,n,r,i){return Kt.apply(this,arguments)}function Kt(){return Kt=se(B.mark(function e(t,n,r,i,o){var a,s,u,c,d,p,g,O,y,A,v;return B.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(a=ae(n)?n():n,s=t.type,u=s.replace(Ce,""),!(t._&&t._.called)){f.next=5;break}return f.abrupt("return",t);case 5:return c=r.getState(),d=Ta(a,c.plugins,t.options),s===_.initializeStart&&t.fromEnable&&(d=Object.keys(c.plugins).filter(function(w){var j=c.plugins[w];return t.plugins.includes(w)&&!j.initialized}).map(function(w){return a[w]})),p=d.map(function(w){return w.name}),g=Ca(s,d),f.next=12,xt({action:t,data:{exact:g.before,namespaced:g.beforeNS},state:c,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 12:if(O=f.sent,!gi(O,p.length)){f.next=15;break}return f.abrupt("return",O);case 15:if(s!==u){f.next=19;break}y=O,f.next=22;break;case 19:return f.next=21,xt({action:k(k({},O),{},{type:u}),data:{exact:g.during,namespaced:g.duringNS},state:c,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 21:y=f.sent;case 22:if(!s.match(Ce)){f.next=28;break}return A="".concat(u,"End"),f.next=26,xt({action:k(k({},y),{},{type:A}),data:{exact:g.after,namespaced:g.afterNS},state:c,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 26:v=f.sent,v.meta&&v.meta.hasCallback&&fi(v.meta.rid,{payload:v});case 28:return f.abrupt("return",O);case 29:case"end":return f.stop()}},e)})),Kt.apply(this,arguments)}function xt(e){return Gt.apply(this,arguments)}function Gt(){return Gt=se(B.mark(function e(t){var n,r,i,o,a,s,u,c,d,p,g,O,y,A,v,f,w,j;return B.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return n=t.data,r=t.action,i=t.instance,o=t.state,a=t.allPlugins,s=t.allMatches,u=t.store,c=t.EVENTS,d=o.plugins,p=o.context,g=r.type,O=g.match(Ce),y=n.exact.map(function(E){return E.pluginName}),O&&(y=s.during.map(function(E){return E.pluginName})),A=Ma(i,y),v=n.exact.reduce(function(E,P){var T=P.pluginName,L=P.methodName,R=!1;return!L.match(/^initialize/)&&!L.match(/^reset/)&&(R=!d[T].loaded),p.offline&&L.match(/^(page|track|identify)/)&&(R=!0),E["".concat(T)]=R,E},{}),S.next=10,n.exact.reduce((function(){var E=se(B.mark(function P(T,L,R){var N,C,G;return B.wrap(function($){for(;;)switch($.prev=$.next){case 0:return N=L.pluginName,$.next=3,T;case 3:if(C=$.sent,!(n.namespaced&&n.namespaced[N])){$.next=11;break}return $.next=7,n.namespaced[N].reduce((function(){var D=se(B.mark(function q(F,z,h){var b,l,m,x;return B.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return l=function(M,U,W){return function(K,H){var V=W||U;return k(k({},M),{},{abort:{reason:K,plugins:H||[U],caller:g,from:V}})}},I.next=3,F;case 3:if(b=I.sent,!(!z.method||!ae(z.method))){I.next=6;break}return I.abrupt("return",b);case 6:return La(z.methodName,z.pluginName),I.next=9,z.method({payload:b,instance:i,abort:l(b,N,z.pluginName),config:Hn(z.pluginName,d,a),plugins:d});case 9:return m=I.sent,x=ne(m)?m:{},I.abrupt("return",Promise.resolve(k(k({},b),x)));case 12:case"end":return I.stop()}},q)}));return function(q,F,z){return D.apply(this,arguments)}})(),Promise.resolve(r));case 7:G=$.sent,C[N]=G,$.next=12;break;case 11:C[N]=r;case 12:return $.abrupt("return",Promise.resolve(C));case 13:case"end":return $.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}})(),Promise.resolve({}));case 10:return f=S.sent,S.next=13,n.exact.reduce((function(){var E=se(B.mark(function P(T,L,R){var N,C,G,$,D,q,F,z,h,b,l,m,x;return B.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return N=n.exact.length===R+1,C=L.pluginName,G=a[C],I.next=5,T;case 5:if($=I.sent,D=f[C]?f[C]:{},O&&(D=$),!At(D,C)){I.next=11;break}return St({data:D,method:g,instance:i,pluginName:C,store:u}),I.abrupt("return",Promise.resolve($));case 11:if(!At($,C)){I.next=14;break}return N&&St({data:$,method:g,instance:i,store:u}),I.abrupt("return",Promise.resolve($));case 14:if(!(v.hasOwnProperty(C)&&v[C]===!0)){I.next=17;break}return u.dispatch({type:"queue",plugin:C,payload:D,_:{called:"queue",from:"queueMechanism"}}),I.abrupt("return",Promise.resolve($));case 17:return q=A(f[C],a[C]),I.next=20,G[g]({abort:q.abort,payload:D,instance:i,config:Hn(C,d,a),plugins:d});case 20:return F=I.sent,z=ne(F)?F:{},h=k(k({},$),z),b=f[C],At(b,C)?St({data:b,method:g,instance:i,pluginName:C,store:u}):(l="".concat(g,":").concat(C),m=(l.match(/:/g)||[]).length,m<2&&!g.match(Wn)&&!g.match(Vn)&&(x=O?h:D,i.dispatch(k(k({},x),{},{type:l,_:{called:l,from:"submethod"}})))),I.abrupt("return",Promise.resolve(h));case 26:case"end":return I.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}})(),Promise.resolve(r));case 13:if(w=S.sent,!(!g.match(Ce)&&!g.match(/^registerPlugin/)&&!g.match(Vn)&&!g.match(Wn)&&!g.match(/^params/)&&!g.match(/^userIdChanged/))){S.next=21;break}if(c.plugins.includes(g),!(w._&&w._.originalAction===g)){S.next=18;break}return S.abrupt("return",w);case 18:j=k(k({},w),{_:{originalAction:w.type,called:w.type,from:"engineEnd"}}),gi(w,n.exact.length)&&!g.match(/End$/)&&(j=k(k({},j),{type:w.type+"Aborted"})),u.dispatch(j);case 21:return S.abrupt("return",w);case 22:case"end":return S.stop()}},e)})),Gt.apply(this,arguments)}function St(e){var t=e.data,n=e.method;e.instance;var r=e.pluginName,i=e.store,o=r?":"+r:"",a=n+"Aborted"+o;i.dispatch(k(k({},t),{},{type:a,_:{called:a,from:"abort"}}))}function Hn(e,t,n){var r=t[e]||n[e];return r&&r.config?r.config:{}}function qn(e,t){return t.reduce(function(n,r){return r[e]?n.concat({methodName:e,pluginName:r.name,method:r[e]}):n},[])}function Na(e){return e.replace(Ce,"")}function Kn(e,t){var n=Na(e),r=t?":".concat(t):"",i="".concat(e).concat(r),o="".concat(n).concat(r),a="".concat(n,"End").concat(r);return[i,o,a]}function Ca(e,t,n){var r=Kn(e),i=r.map(function(o){return qn(o,t)});return t.reduce(function(o,a){var s=a.name,u=Kn(e,s),c=u.map(function(y){return qn(y,t)}),d=Pa(c,3),p=d[0],g=d[1],O=d[2];return p.length&&(o.beforeNS[s]=p),g.length&&(o.duringNS[s]=g),O.length&&(o.afterNS[s]=O),o},{before:i[0],beforeNS:{},during:i[1],duringNS:{},after:i[2],afterNS:{}})}function At(e,t){var n=e.abort;return n?n===!0?!0:Gn(n,t)||n&&Gn(n.plugins,t):!1}function gi(e,t){var n=e.abort;if(!n)return!1;if(n===!0||et(n))return!0;var r=n.plugins;return He(n)&&n.length===t||He(r)&&r.length===t}function He(e){return Array.isArray(e)}function Gn(e,t){return!e||!He(e)?!1:e.includes(t)}function Ma(e,t){return function(n,r,i){var o=r.config,a=r.name,s="".concat(a,".").concat(n.type);i&&(s=i.event);var u=n.type.match(Ce)?Da(a,s,t,i,n):Ua(n,s);return{payload:Ra(n),instance:e,config:o||{},abort:u}}}function Da(e,t,n,r,i){return function(o,a){var s=r?r.name:e,u=a&&He(a)?a:n;if(r&&(u=a&&He(a)?a:[e],!u.includes(e)||u.length!==1))throw new Error("Method ".concat(t," can only abort ").concat(e," plugin. ").concat(JSON.stringify(u)," input valid"));return k(k({},i),{},{abort:{reason:o,plugins:u,caller:t,_:s}})}}function Ua(e,t){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+t)}}function La(e,t){var n=Fn(e),r=n&&n.name===t;if(r){var i=Fn(n.method),o=i?"or "+i.method:"";throw new Error([t+" plugin is calling method "+e,"Plugins cant call self","Use ".concat(n.method," ").concat(o," in ").concat(t," plugin insteadof ").concat(e)].join(`
|
|
7
7
|
`))}}function Fn(e){var t=e.match(/(.*):(.*)/);return t?{method:t[1],name:t[2]}:!1}function Ra(e){return Object.keys(e).reduce(function(t,n){return n==="type"||(ne(e[n])?t[n]=Object.assign({},e[n]):t[n]=e[n]),t},{})}function za(e,t,n){var r={};return function(i){return function(o){return(function(){var a=se(B.mark(function s(u){var c,d,p,g,O,y,A,v,f,w,j,S;return B.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(c=u.type,d=u.abort,p=u.plugins,g=u,!d){E.next=4;break}return E.abrupt("return",o(u));case 4:if(c===_.enablePlugin&&i.dispatch({type:_.initializeStart,plugins:p,disabled:[],fromEnable:!0,meta:u.meta}),c===_.disablePlugin&&setTimeout(function(){return fi(u.meta.rid,{payload:u})},0),c===_.initializeEnd&&(O=t(),y=Object.keys(O),A=y.filter(function(P){return p.includes(P)}).map(function(P){return O[P]}),v=[],f=[],w=u.disabled,j=A.map(function(P){var T=P.loaded,L=P.name;return di(P,T,1e4).then(function(R){return r[L]||(i.dispatch({type:_.pluginReadyType(L),name:L,events:Object.keys(P).filter(function(N){return!qt.includes(N)})}),r[L]=!0),v=v.concat(L),P}).catch(function(R){if(R instanceof Error)throw new Error(R);return f=f.concat(R.name),R})}),Promise.all(j).then(function(P){var T={plugins:v,failed:f,disabled:w};setTimeout(function(){y.length===j.length+w.length&&i.dispatch(k(k({},{type:_.ready}),T))},0)})),c===_.bootstrap){E.next=13;break}return/^ready:([^:]*)$/.test(c)&&setTimeout(function(){return pi(i,t,e)},0),E.next=11,_a(u,t,e,i,n);case 11:return S=E.sent,E.abrupt("return",o(S));case 13:return E.abrupt("return",o(g));case 14:case"end":return E.stop()}},s)}));return function(s){return a.apply(this,arguments)}})()}}}function $a(e){return function(t){return function(n){return function(r){var i=r.type,o=r.key,a=r.value,s=r.options;if(i===_.setItem||i===_.removeItem){if(r.abort)return n(r);i===_.setItem?e.setItem(o,a,s):e.removeItem(o,s)}return n(r)}}}}function Wa(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Va(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Ha=Wa(function e(){var t=this;Va(this,e),he(this,"before",[]),he(this,"after",[]),he(this,"addMiddleware",function(n,r){t[r]=t[r].concat(n)}),he(this,"removeMiddleware",function(n,r){var i=t[r].findIndex(function(o){return o===n});i!==-1&&(t[r]=[].concat(ze(t[r].slice(0,i)),ze(t[r].slice(i+1))))}),he(this,"dynamicMiddlewares",function(n){return function(r){return function(i){return function(o){var a={getState:r.getState,dispatch:function(u){return r.dispatch(u)}},s=t[n].map(function(u){return u(a)});return Ne.apply(void 0,ze(s))(i)(o)}}}})});function qa(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r={};if(n.type==="initialize:aborted")return t;if(/^registerPlugin:([^:]*)$/.test(n.type)){var i=Jn(n.type,"registerPlugin"),o=e()[i];if(!o||!i)return t;var a=n.enabled;return r[i]={enabled:a,initialized:a?!o.initialize:!1,loaded:a?!!o.loaded():!1,config:o.config||{}},k(k({},t),r)}if(/^initialize:([^:]*)$/.test(n.type)){var s=Jn(n.type,_.initialize),u=e()[s];return!u||!s?t:(r[s]=k(k({},t[s]),{initialized:!0,loaded:!!u.loaded()}),k(k({},t),r))}if(/^ready:([^:]*)$/.test(n.type))return r[n.name]=k(k({},t[n.name]),{loaded:!0}),k(k({},t),r);switch(n.type){case _.disablePlugin:return k(k({},t),Xn(n.plugins,!1,t));case _.enablePlugin:return k(k({},t),Xn(n.plugins,!0,t));default:return t}}}function Jn(e,t){return e.substring(t.length+1,e.length)}function Xn(e,t,n){return e.reduce(function(r,i){return r[i]=k(k({},n[i]),{enabled:t}),r},n)}function hi(e){try{return JSON.parse(JSON.stringify(e))}catch{}return e}var Ka={last:{},history:[]};function Ga(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ka,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.event,i=t.properties,o=t.options,a=t.meta;if(n===_.track){var s=hi(k(k({event:r,properties:i},Object.keys(o).length&&{options:o}),{},{meta:a}));return k(k({},e),{last:s,history:e.history.concat(s)})}else return e}var Fa={actions:[]};function Ja(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Fa,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"queue":var i;return r&&r.type&&r.type===_.identify?i=[t].concat(e.actions):i=e.actions.concat(t),k(k({},e),{},{actions:i});case"dequeue":return[];default:return e}}var mi=/#.*$/;function Xa(){if(fe){for(var e=document.getElementsByTagName("link"),t=0,n;n=e[t];t++)if(n.getAttribute("rel")==="canonical")return n.getAttribute("href")}}function Ba(e){var t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g,n=t.exec(e),r=n&&n[3]?n[3].split("?")[0].replace(mi,""):"";return"/"+r}function Qa(e){var t=Xa();return t?t.match(/\?/)?t:t+e:window.location.href.replace(mi,"")}var Ya=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!fe)return e;var t=document,n=t.title,r=t.referrer,i=window,o=i.location,a=i.innerWidth,s=i.innerHeight,u=o.hash,c=o.search,d=Qa(c),p={title:n,url:d,path:Ba(d),hash:u,search:c,width:a,height:s};return r&&r!==""&&(p.referrer=r),k(k({},p),e)},Za={last:{},history:[]};function es(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Za,t=arguments.length>1?arguments[1]:void 0,n=t.properties,r=t.options,i=t.meta;if(t.type===_.page){var o=hi(k({properties:n,meta:i},Object.keys(r).length&&{options:r}));return k(k({},e),{last:o,history:e.history.concat(o)})}else return e}function ts(){if(!fe)return!1;var e=navigator.appVersion;return~e.indexOf("Win")?"Windows":~e.indexOf("Mac")?"MacOS":~e.indexOf("X11")?"UNIX":~e.indexOf("Linux")?"Linux":"Unknown OS"}var yi,vi,bi,wi;yi=ts(),vi=fe?document.referrer:null,bi=ea(),wi=ta();var Bn={initialized:!1,sessionId:Ae(),app:null,version:null,debug:!1,offline:fe?!navigator.onLine:!1,os:{name:yi},userAgent:fe?navigator.userAgent:"node",library:{name:Ht,version:"0.10.22"},timezone:wi,locale:bi,campaign:{},referrer:vi};function ns(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bn,t=arguments.length>1?arguments[1]:void 0,n=e.initialized,r=t.type,i=t.campaign;switch(r){case _.campaign:return k(k({},e),{campaign:i});case _.offline:return k(k({},e),{offline:!0});case _.online:return k(k({},e),{offline:!1});default:return n?e:k(k(k({},Bn),e),{initialized:!0})}}var rs=["plugins","reducers","storage"];function is(e){return Object.keys(e).reduce(function(t,n){return rs.includes(n)||(t[n]=e[n]),t},{})}function os(e,t,n){if(fe){var r=window[(n?"add":"remove")+"EventListener"];e.split(" ").forEach(function(i){r(i,t)})}}function as(){return Promise.resolve(!navigator.onLine)}function ss(e){var t=function(r){return as().then(e)},n=os.bind(null,"online offline",t);return n(!0),function(r){return n(!1)}}function Oi(){return le(Ht,[]),function(e){return function(t,n,r){var i=e(t,n,r),o=i.dispatch,a=function(s){var u=s.action||s;return _e[Te][Ht].push(u),o(s)};return Object.assign(i,{dispatch:a})}}}function Qn(e){return function(){return Ne(Ne.apply(null,arguments),Oi())}}function kt(e){return e?oa(e)?e:[e]:[]}function us(e){for(var t=e||Array.prototype.slice.call(arguments),n,r=0;r<t.length;r++)if(ae(t[r])){n=t[r];break}return n}function cs(){return new Date().getTime()}function ls(e,t){return function(n){t&&t(n),e(n)}}function Yn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=Ae();return t&&(Ue[r]=ls(t,us(n))),k(k({},e),{},{rid:r,ts:cs()},t?{hasCallback:!0}:{})}function fs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.reducers||{},n=e.initialUser||{},r=(e.plugins||[]).reduce(function(l,m){if(ae(m))return l.middlewares=l.middlewares.concat(m),l;if(m.NAMESPACE&&(m.name=m.NAMESPACE),!m.name)throw new Error(ha+"1");var x=m.EVENTS?Object.keys(m.EVENTS).map(function(H){return m.EVENTS[H]}):[],I=m.enabled!==!1,M=!(m.config&&m.config.enabled===!1);l.pluginEnabled[m.name]=I&&M,delete m.enabled,m.methods&&(l.methods[m.name]=Object.keys(m.methods).reduce(function(H,V){return H[V]=b(m.methods[V]),H},{}),delete m.methods);var U=Object.keys(m),W=U.concat(x),K=new Set(l.events.concat(W));if(l.events=Array.from(K),l.pluginsArray=l.pluginsArray.concat(m),l.plugins[m.name])throw new Error(m.name+"AlreadyLoaded");return l.plugins[m.name]=m,l.plugins[m.name].loaded||(l.plugins[m.name].loaded=function(){return!0}),l},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=e.storage?e.storage:{getItem:de,setItem:le,removeItem:ke},o=Oa(i),a=r.plugins,s=r.events.filter(function(l){return!qt.includes(l)}).sort(),u=new Set(s.concat(at).filter(function(l){return!qt.includes(l)})),c=Array.from(u).sort(),d=function(){return a},p=new Ha,g=p.addMiddleware,O=p.removeMiddleware,y=p.dynamicMiddlewares,A=function(){throw new Error("Abort disabled inListener")},v=na(),f=li(i),w=k(k(k(k({},f),n),v.an_uid?{userId:v.an_uid}:{}),v.an_aid?{anonymousId:v.an_aid}:{});w.anonymousId||(w.anonymousId=Ae());var j=k({enable:function(l,m){return new Promise(function(x){D.dispatch({type:_.enablePlugin,plugins:kt(l),_:{originalAction:_.enablePlugin}},x,[m])})},disable:function(l,m){return new Promise(function(x){D.dispatch({type:_.disablePlugin,plugins:kt(l),_:{originalAction:_.disablePlugin}},x,[m])})}},r.methods),S={identify:(function(){var l=se(B.mark(function x(I,M,U,W){var K,H,V,X,Fe;return B.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:return K=et(I)?I:null,H=ne(I)?I:M,V=U||{},X=S.user(),le(fn(ge),K),Fe=K||H.userId||o(ge,S,H),Je.abrupt("return",new Promise(function(Ji){D.dispatch(k({type:_.identifyStart,userId:Fe,traits:H||{},options:V,anonymousId:X.anonymousId},X.id&&X.id!==K&&{previousId:X.id}),Ji,[M,U,W])}));case 7:case"end":return Je.stop()}},x)}));function m(x,I,M,U){return l.apply(this,arguments)}return m})(),track:(function(){var l=se(B.mark(function x(I,M,U,W){var K,H,V;return B.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(K=ne(I)?I.event:I,!(!K||!et(K))){X.next=3;break}throw new Error("EventMissing");case 3:return H=ne(I)?I:M||{},V=ne(U)?U:{},X.abrupt("return",new Promise(function(Fe){D.dispatch({type:_.trackStart,event:K,properties:H,options:V,userId:o(ge,S,M),anonymousId:o(Ie,S,M)},Fe,[M,U,W])}));case 6:case"end":return X.stop()}},x)}));function m(x,I,M,U){return l.apply(this,arguments)}return m})(),page:(function(){var l=se(B.mark(function x(I,M,U){var W,K;return B.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return W=ne(I)?I:{},K=ne(M)?M:{},H.abrupt("return",new Promise(function(V){D.dispatch({type:_.pageStart,properties:Ya(W),options:K,userId:o(ge,S,W),anonymousId:o(Ie,S,W)},V,[I,M,U])}));case 3:case"end":return H.stop()}},x)}));function m(x,I,M){return l.apply(this,arguments)}return m})(),user:function(l){if(l===ge||l==="id")return o(ge,S);if(l===Ie||l==="anonId")return o(Ie,S);var m=S.getState("user");return l?_n(m,l):m},reset:function(l){return new Promise(function(m){D.dispatch({type:_.resetStart},m,l)})},ready:function(l){return S.on(_.ready,l)},on:function(l,m){if(!l||!ae(m))return!1;if(l===_.bootstrap)throw new Error(".on disabled for "+l);var x=/Start$|Start:/;if(l==="*"){var I=function(K){return function(H){return function(V){return V.type.match(x)&&m({payload:V,instance:S,plugins:a}),H(V)}}},M=function(K){return function(H){return function(V){return V.type.match(x)||m({payload:V,instance:S,plugins:a}),H(V)}}};return g(I,Qe),g(M,Ye),function(){O(I,Qe),O(M,Ye)}}var U=l.match(x)?Qe:Ye,W=function(K){return function(H){return function(V){return V.type===l&&m({payload:V,instance:S,plugins:a,abort:A}),H(V)}}};return g(W,U),function(){return O(W,U)}},once:function(l,m){if(!l||!ae(m))return!1;if(l===_.bootstrap)throw new Error(".once disabled for "+l);var x=S.on(l,function(I){var M=I.payload;m({payload:M,instance:S,plugins:a,abort:A}),x()});return x},getState:function(l){var m=D.getState();return l?_n(m,l):Object.assign({},m)},dispatch:function(l){var m=et(l)?{type:l}:l;if(va(m.type))throw new Error("reserved action "+m.type);var x=l._||{},I=k(k({},m),{},{_:k({originalAction:m.type},x)});D.dispatch(I)},enablePlugin:j.enable,disablePlugin:j.disable,plugins:j,storage:{getItem:i.getItem,setItem:function(l,m,x){D.dispatch({type:_.setItemStart,key:l,value:m,options:x})},removeItem:function(l,m){D.dispatch({type:_.removeItemStart,key:l,options:m})}},setAnonymousId:function(l,m){S.storage.setItem(ve,l,m)},events:{all:c,core:at,plugins:s}},E=function(l){return function(m){return function(x){return x.meta||(x.meta=Yn()),m(x)}}},P=r.middlewares.concat([E,y(Qe),za(S,d,{all:c,plugins:s}),$a(i),ba(S),xa(S),y(Ye)]),T={context:ns,user:wa(i),page:es,track:Ga,plugins:qa(d),queue:Ja},L=Ne,R=Ne;if(fe&&e.debug){var N=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;N&&(L=N({trace:!0,traceLimit:25})),R=function(){return arguments.length===0?Oi():ne(Q(arguments[0]))?Qn():Qn().apply(null,arguments)}}var C=is(e),G=r.pluginsArray.reduce(function(l,m){var x=m.name,I=m.config,M=m.loaded,U=r.pluginEnabled[x];return l[x]={enabled:U,initialized:U?!m.initialize:!1,loaded:!!M(),config:I||{}},l},{}),$={context:C,user:w,plugins:G},D=ci(pa(k(k({},T),t)),$,R(L(ga.apply(void 0,ze(P)))));function q(l){return function(m,x,I){var M=Yn(m.meta,x,kt(I)),U=k(k({},m),{meta:M});return l.apply(null,[U])}}D.dispatch=q(D.dispatch);var F=Object.keys(a);D.dispatch({type:_.bootstrap,plugins:F,config:C,params:v,user:w,initialUser:n,persistedUser:f});var z=F.filter(function(l){return r.pluginEnabled[l]}),h=F.filter(function(l){return!r.pluginEnabled[l]});D.dispatch({type:_.registerPlugins,plugins:F,enabled:r.pluginEnabled}),r.pluginsArray.map(function(l,m){var x=l.bootstrap,I=l.config,M=l.name;x&&ae(x)&&x({instance:S,config:I,payload:l}),D.dispatch({type:_.registerPluginType(M),name:M,enabled:r.pluginEnabled[M],plugin:l}),r.pluginsArray.length===m+1&&D.dispatch({type:_.initializeStart,plugins:z,disabled:h})}),ss(function(l){D.dispatch({type:l?_.offline:_.online})}),Aa(D,d,S);function b(l){return function(){for(var m=Array.prototype.slice.call(arguments),x=new Array(l.length),I=0;I<m.length;I++)x[I]=m[I];return x[x.length]=S,l.apply({instance:S},x)}}return S}var Qe="before",Ye="after",xe="cookie",be=Ai(),dn=pt,xi=pt;function Si(e){return be?pt(e,"",-1):ke(e)}function Ai(){if(be!==void 0)return be;var e=xe+xe;try{pt(e,e),be=document.cookie.indexOf(e)!==-1,Si(e)}catch{be=!1}return be}function pt(e,t,n,r,i,o){if(typeof window<"u"){var a=arguments.length>1;return be===!1&&(a?le(e,t):de(e)),a?document.cookie=e+"="+encodeURIComponent(t)+(n?"; expires="+new Date(+new Date+1e3*n).toUTCString()+(r?"; path="+r:"")+(i?"; domain="+i:"")+(o?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}}var ce="localStorage",ds=ft.bind(null,ce),pn=pe(ce,"getItem",de),ps=pe(ce,"setItem",le),ki=pe(ce,"removeItem",ke),We="sessionStorage",gs=ft.bind(null,"sessionStorage");pe("sessionStorage","getItem",de);pe("sessionStorage","setItem",le);pe("sessionStorage","removeItem",ke);var Zn,Ii="any",ji="*",Ft=typeof process<"u"?process:{};(Zn=Ft.env)!=null&&Zn.NODE_ENV;var hs=typeof window<"u";Ft.versions!=null&&Ft.versions.node!=null;typeof Deno<"u"&&Deno.core;hs&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function gt(e,t){return typeof t===e}gt.bind(null,"function");var ms=gt.bind(null,"string"),je=gt.bind(null,"undefined");gt.bind(null,"boolean");function ys(e){return e&&(typeof e=="object"||e!==null)}function vs(e){if(!ys(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Pe(e){var t=e;try{if((t=JSON.parse(e))==="true")return!0;if(t==="false")return!1;if(vs(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch{}if(t!==null&&t!=="")return t}var bs=ds(),ws=gs(),Os=Ai();function Ei(e,t){if(e){var n=gn(t),r=!vn(n),i=hn(n)?Pe(localStorage.getItem(e)):void 0;if(r&&!je(i))return i;var o=mn(n)?Pe(dn(e)):void 0;if(r&&o)return o;var a=yn(n)?Pe(sessionStorage.getItem(e)):void 0;if(r&&a)return a;var s=de(e);return r?s:{localStorage:i,sessionStorage:a,cookie:o,global:s}}}function xs(e,t,n){if(e&&!je(t)){var r={},i=gn(n),o=JSON.stringify(t),a=!vn(i);return hn(i)&&(r[ce]=Ze(ce,t,Pe(localStorage.getItem(e))),localStorage.setItem(e,o),a)?r[ce]:mn(i)&&(r[xe]=Ze(xe,t,Pe(dn(e))),xi(e,o),a)?r[xe]:yn(i)&&(r[We]=Ze(We,t,Pe(sessionStorage.getItem(e))),sessionStorage.setItem(e,o),a)?r[We]:(r[we]=Ze(we,t,de(e)),le(e,t),a?r[we]:r)}}function Ss(e,t){if(e){var n=gn(t),r=Ei(e,ji),i={};return!je(r.localStorage)&&hn(n)&&(localStorage.removeItem(e),i[ce]=r.localStorage),!je(r.cookie)&&mn(n)&&(Si(e),i[xe]=r.cookie),!je(r.sessionStorage)&&yn(n)&&(sessionStorage.removeItem(e),i[We]=r.sessionStorage),!je(r.global)&&ht(n,we)&&(ke(e),i[we]=r.global),i}}function gn(e){return e?ms(e)?e:e.storage:Ii}function hn(e){return bs&&ht(e,ce)}function mn(e){return Os&&ht(e,xe)}function yn(e){return ws&&ht(e,We)}function vn(e){return e===ji||e==="all"}function ht(e,t){return e===Ii||e===t||vn(e)}function Ze(e,t,n){return{location:e,current:t,previous:n}}var As={setItem:xs,getItem:Ei,removeItem:Ss};function ks(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function tr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?er(Object(n),!0).forEach(function(r){ks(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Is(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t={storage:As};return fs(tr(tr({},t),e))}function re(e){"@babel/helpers - typeof";return re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},re(e)}function js(e,t){if(re(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(re(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Es(e){var t=js(e,"string");return re(t)=="symbol"?t:t+""}function bn(e,t,n){return(t=Es(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nr(Object(n),!0).forEach(function(r){bn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Pi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rr={exports:{}},ir={exports:{}},or;function Ti(){return or||(or=1,(function(e){function t(n,r){this.v=n,this.k=r}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(ir)),ir.exports}var ar={exports:{}},sr={exports:{}},ur;function _i(){return ur||(ur=1,(function(e){function t(n,r,i,o){var a=Object.defineProperty;try{a({},"",{})}catch{a=0}e.exports=t=function(s,u,c,d){function p(g,O){t(s,g,function(y){return this._invoke(g,O,y)})}u?a?a(s,u,{value:c,enumerable:!d,configurable:!d,writable:!d}):s[u]=c:(p("next",0),p("throw",1),p("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r,i,o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(sr)),sr.exports}var cr;function Ni(){return cr||(cr=1,(function(e){var t=_i();function n(){var r,i,o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",s=o.toStringTag||"@@toStringTag";function u(v,f,w,j){var S=f&&f.prototype instanceof d?f:d,E=Object.create(S.prototype);return t(E,"_invoke",(function(P,T,L){var R,N,C,G=0,$=L||[],D=!1,q={p:0,n:0,v:r,a:F,f:F.bind(r,4),d:function(z,h){return R=z,N=0,C=r,q.n=h,c}};function F(z,h){for(N=z,C=h,i=0;!D&&G&&!b&&i<$.length;i++){var b,l=$[i],m=q.p,x=l[2];z>3?(b=x===h)&&(C=l[(N=l[4])?5:(N=3,3)],l[4]=l[5]=r):l[0]<=m&&((b=z<2&&m<l[1])?(N=0,q.v=h,q.n=l[1]):m<x&&(b=z<3||l[0]>h||h>x)&&(l[4]=z,l[5]=h,q.n=x,N=0))}if(b||z>1)return c;throw D=!0,h}return function(z,h,b){if(G>1)throw TypeError("Generator is already running");for(D&&h===1&&F(h,b),N=h,C=b;(i=N<2?r:C)||!D;){R||(N?N<3?(N>1&&(q.n=-1),F(N,C)):q.n=C:q.v=C);try{if(G=2,R){if(N||(z="next"),i=R[z]){if(!(i=i.call(R,C)))throw TypeError("iterator result is not an object");if(!i.done)return i;C=i.value,N<2&&(N=0)}else N===1&&(i=R.return)&&i.call(R),N<2&&(C=TypeError("The iterator does not provide a '"+z+"' method"),N=1);R=r}else if((i=(D=q.n<0)?C:P.call(T,q))!==c)break}catch(l){R=r,N=1,C=l}finally{G=1}}return{value:i,done:D}}})(v,w,j),!0),E}var c={};function d(){}function p(){}function g(){}i=Object.getPrototypeOf;var O=[][a]?i(i([][a]())):(t(i={},a,function(){return this}),i),y=g.prototype=d.prototype=Object.create(O);function A(v){return Object.setPrototypeOf?Object.setPrototypeOf(v,g):(v.__proto__=g,t(v,s,"GeneratorFunction")),v.prototype=Object.create(y),v}return p.prototype=g,t(y,"constructor",g),t(g,"constructor",p),p.displayName="GeneratorFunction",t(g,s,"GeneratorFunction"),t(y),t(y,s,"Generator"),t(y,a,function(){return this}),t(y,"toString",function(){return"[object Generator]"}),(e.exports=n=function(){return{w:u,m:A}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(ar)),ar.exports}var lr={exports:{}},fr={exports:{}},dr={exports:{}},pr;function Ci(){return pr||(pr=1,(function(e){var t=Ti(),n=_i();function r(i,o){function a(u,c,d,p){try{var g=i[u](c),O=g.value;return O instanceof t?o.resolve(O.v).then(function(y){a("next",y,d,p)},function(y){a("throw",y,d,p)}):o.resolve(O).then(function(y){g.value=y,d(g)},function(y){return a("throw",y,d,p)})}catch(y){p(y)}}var s;this.next||(n(r.prototype),n(r.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),n(this,"_invoke",function(u,c,d){function p(){return new o(function(g,O){a(u,d,g,O)})}return s=s?s.then(p,p):p()},!0)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(dr)),dr.exports}var gr;function Mi(){return gr||(gr=1,(function(e){var t=Ni(),n=Ci();function r(i,o,a,s,u){return new n(t().w(i,o,a,s),u||Promise)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(fr)),fr.exports}var hr;function Ps(){return hr||(hr=1,(function(e){var t=Mi();function n(r,i,o,a,s){var u=t(r,i,o,a,s);return u.next().then(function(c){return c.done?c.value:u.next()})}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(lr)),lr.exports}var mr={exports:{}},yr;function Ts(){return yr||(yr=1,(function(e){function t(n){var r=Object(n),i=[];for(var o in r)i.unshift(o);return function a(){for(;i.length;)if((o=i.pop())in r)return a.value=o,a.done=!1,a;return a.done=!0,a}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(mr)),mr.exports}var vr={exports:{}},br={exports:{}},wr;function _s(){return wr||(wr=1,(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(br)),br.exports}var Or;function Ns(){return Or||(Or=1,(function(e){var t=_s().default;function n(r){if(r!=null){var i=r[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],o=0;if(i)return i.call(r);if(typeof r.next=="function")return r;if(!isNaN(r.length))return{next:function(){return r&&o>=r.length&&(r=void 0),{value:r&&r[o++],done:!r}}}}throw new TypeError(t(r)+" is not iterable")}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(vr)),vr.exports}var xr;function Cs(){return xr||(xr=1,(function(e){var t=Ti(),n=Ni(),r=Ps(),i=Mi(),o=Ci(),a=Ts(),s=Ns();function u(){var c=n(),d=c.m(u),p=(Object.getPrototypeOf?Object.getPrototypeOf(d):d.__proto__).constructor;function g(A){var v=typeof A=="function"&&A.constructor;return!!v&&(v===p||(v.displayName||v.name)==="GeneratorFunction")}var O={throw:1,return:2,break:3,continue:3};function y(A){var v,f;return function(w){v||(v={stop:function(){return f(w.a,2)},catch:function(){return w.v},abrupt:function(j,S){return f(w.a,O[j],S)},delegateYield:function(j,S,E){return v.resultName=S,f(w.d,s(j),E)},finish:function(j){return f(w.f,j)}},f=function(j,S,E){w.p=v.prev,w.n=v.next;try{return j(S,E)}finally{v.next=w.n}}),v.resultName&&(v[v.resultName]=w.v,v.resultName=void 0),v.sent=w.v,v.next=w.n;try{return A.call(this,v)}finally{w.p=v.prev,w.n=v.next}}}return(e.exports=u=function(){return{wrap:function(A,v,f,w){return c.w(y(A),v,f,w&&w.reverse())},isGeneratorFunction:g,mark:c.m,awrap:function(A,v){return new t(A,v)},AsyncIterator:o,async:function(A,v,f,w,j){return(g(v)?i:r)(y(A),v,f,w,j)},keys:a,values:s}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(rr)),rr.exports}var It,Sr;function Ms(){if(Sr)return It;Sr=1;var e=Cs()();It=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}return It}var Ds=Ms(),J=Pi(Ds);function Ar(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}function oe(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(u){Ar(o,r,i,a,s,"next",u)}function s(u){Ar(o,r,i,a,s,"throw",u)}a(void 0)})}}var kr=function(){};function Us(e,t){var n,r,i,o=(t=t||{}).initial||[],a=t.max||1/0,s=t.interval||1e4,u=t.onEmpty||kr,c=t.onPause||kr;function d(g){clearInterval(n);var O=o.splice(0,a);return O.length&&e(O,o),o.length?g?d():p():(i=!1,u(o))}function p(){i=!0,n=setInterval(d,s)}return o.length&&p(),{flush:function(g){d(g)},resume:d,push:function(g){return(r=o.push(g))>=a&&!t.throttle&&d(),i||p(),r},size:function(){return o.length},pause:function(g){g&&d(),clearInterval(n),i=!1,c(o)}}}var mt="sessionStorage";ft.bind(null,mt);var Ls=pe(mt,"getItem",de),Rs=pe(mt,"setItem",le);pe(mt,"removeItem",ke);var tt="__",yt="session",Di=tt+yt,Ui="page",Ir=["id","createdAt","created"];function Jt(e){var t=e?new Date(e):new Date;return[t.toISOString(),t.getTime()]}function Li(){var e=Jt(),t=e[0],n=e[1];return{id:Ae(),created:n,createdAt:t}}var zs={session:[Ls,Rs],page:[de,le]};function vt(e,t){for(var n=zs[e],r=n[0],i=n[1],o=Li(),a=!1,s={},u=0;u<Ir.length;u++){var c=Ir[u],d=tt+e+tt+yt+tt+c,p=r(d);a=t||!p,(t||!t&&!p)&&i(d,o[c]);var g=p&&!t?p:o[c],O=c!=="created"?g:Number(g);s[c]=O}return wn(s,a)}function wn(e,t){var n=Date.now();return e.elapsed=n-e.created,e.expires&&(e.remaining=Math.max(e.expires-n,0),e.isExpired=e.remaining===0),e.isNew=t,e}function qe(e,t){e===void 0&&(e=30);var n=dn(Di),r=n?JSON.parse(n):st(e);return t?r:wn(r,!n)}function st(e,t,n){e===void 0&&(e=30);var r=n?qe(e,!0):Li(),i=60*e,o=r.created;if(n){var a=Jt(),s=a[0],u=a[1];r.modified=u,r.modifiedAt=s,o=u}var c=Jt(o+1e3*i),d=c[0];return r.expires=c[1],r.expiresAt=d,r.duration=1e3*i,t&&(r=Object.assign(r,t)),xi(Di,JSON.stringify(r),i),wn(r,!n)}var $s=function(e,t){return st(e,t,!0)},Ri=vt.bind(null,yt),Ws=vt.bind(null,yt,!0),On=vt.bind(null,Ui),jr=vt.bind(null,Ui,!0),Se=typeof window<"u";function Vs(e){return typeof e=="string"}function Er(e){return typeof e=="boolean"}var jt,Pr;function Hs(){if(Pr)return jt;Pr=1;var e=function(f){return t(f)&&!n(f)};function t(f){return!!f&&typeof f=="object"}function n(f){var w=Object.prototype.toString.call(f);return w==="[object RegExp]"||w==="[object Date]"||o(f)}var r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103;function o(f){return f.$$typeof===i}function a(f){return Array.isArray(f)?[]:{}}function s(f,w){return w.clone!==!1&&w.isMergeableObject(f)?A(a(f),f,w):f}function u(f,w,j){return f.concat(w).map(function(S){return s(S,j)})}function c(f,w){if(!w.customMerge)return A;var j=w.customMerge(f);return typeof j=="function"?j:A}function d(f){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(f).filter(function(w){return Object.propertyIsEnumerable.call(f,w)}):[]}function p(f){return Object.keys(f).concat(d(f))}function g(f,w){try{return w in f}catch{return!1}}function O(f,w){return g(f,w)&&!(Object.hasOwnProperty.call(f,w)&&Object.propertyIsEnumerable.call(f,w))}function y(f,w,j){var S={};return j.isMergeableObject(f)&&p(f).forEach(function(E){S[E]=s(f[E],j)}),p(w).forEach(function(E){O(f,E)||(g(f,E)&&j.isMergeableObject(w[E])?S[E]=c(E,j)(f[E],w[E],j):S[E]=s(w[E],j))}),S}function A(f,w,j){j=j||{},j.arrayMerge=j.arrayMerge||u,j.isMergeableObject=j.isMergeableObject||e,j.cloneUnlessOtherwiseSpecified=s;var S=Array.isArray(w),E=Array.isArray(f),P=S===E;return P?S?j.arrayMerge(f,w,j):y(f,w,j):s(w,j)}A.all=function(f,w){if(!Array.isArray(f))throw new Error("first argument should be an array");return f.reduce(function(j,S){return A(j,S,w)},{})};var v=A;return jt=v,jt}var qs=Hs(),Ks=Pi(qs);var Xt=new TextEncoder,Gs={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},Fs=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]),Bt=class{constructor({accessKeyId:t,secretAccessKey:n,sessionToken:r,service:i,region:o,cache:a,retries:s,initRetryMs:u}){if(t==null)throw new TypeError("accessKeyId is a required option");if(n==null)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=t,this.secretAccessKey=n,this.sessionToken=r,this.service=i,this.region=o,this.cache=a||new Map,this.retries=s??10,this.initRetryMs=u||50}async sign(t,n){if(t instanceof Request){let{method:o,url:a,headers:s,body:u}=t;n=Object.assign({method:o,url:a,headers:s},n),n.body==null&&s.has("Content-Type")&&(n.body=u!=null&&s.has("X-Amz-Content-Sha256")?u:await t.clone().arrayBuffer()),t=a}let r=new Qt(Object.assign({url:t.toString()},n,this,n&&n.aws)),i=Object.assign({},n,await r.sign());delete i.aws;try{return new Request(i.url.toString(),i)}catch(o){if(o instanceof TypeError)return new Request(i.url.toString(),Object.assign({duplex:"half"},i));throw o}}async fetch(t,n){for(let r=0;r<=this.retries;r++){let i=fetch(await this.sign(t,n));if(r===this.retries)return i;let o=await i;if(o.status<500&&o.status!==429)return o;await new Promise(a=>setTimeout(a,Math.random()*this.initRetryMs*Math.pow(2,r)))}throw new Error("An unknown error occurred, ensure retries is not negative")}},Qt=class{constructor({method:t,url:n,headers:r,body:i,accessKeyId:o,secretAccessKey:a,sessionToken:s,service:u,region:c,cache:d,datetime:p,signQuery:g,appendSessionToken:O,allHeaders:y,singleEncode:A}){if(n==null)throw new TypeError("url is a required option");if(o==null)throw new TypeError("accessKeyId is a required option");if(a==null)throw new TypeError("secretAccessKey is a required option");this.method=t||(i?"POST":"GET"),this.url=new URL(n),this.headers=new Headers(r||{}),this.body=i,this.accessKeyId=o,this.secretAccessKey=a,this.sessionToken=s;let v,f;(!u||!c)&&([v,f]=Js(this.url,this.headers)),this.service=u||v||"",this.region=c||f||"us-east-1",this.cache=d||new Map,this.datetime=p||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=g,this.appendSessionToken=O||this.service==="iotdevicegateway",this.headers.delete("Host"),this.service==="s3"&&!this.signQuery&&!this.headers.has("X-Amz-Content-Sha256")&&this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");let w=this.signQuery?this.url.searchParams:this.headers;if(w.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&w.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter(S=>y||!Fs.has(S)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(S=>S+":"+(S==="host"?this.url.host:(this.headers.get(S)||"").replace(/\s+/g," "))).join(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e,b as t}from"./
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import{a as e,b as t}from"./AAXKMSEV.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import"./CRWUQTQS.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import e from"./VDO7C2DX.js";import b from"./LUMHKKKS.js";import a from"./RM7T3U3R.js";import{b as p,d as m}from"./HS4RAJUQ.js";import"./3EHLUEQF.js";import{a as h}from"./5VNHJGB4.js";import"./2ATM2TF5.js";import"./76RC4256.js";import"./34LNLRA5.js";import"./53OVEACT.js";import"./REFR2H35.js";import"./2B3GB5IP.js";import"./Y7B3FPS7.js";import"./6OT6D6MV.js";import"./754DJKSE.js";import"./GTU4TIVW.js";import"./UP43PUGY.js";import"./3R33TLMS.js";import"./VZWTZSHN.js";import"./PQHJISWU.js";import"./SOPTIBRO.js";import"./YDOOE5FF.js";import"./T6JHWLOQ.js";import"./4D6YQUEC.js";import"./GSIO3GJN.js";import"./2CBIGM4J.js";import"./C7JI6W55.js";import{b as d}from"./M7NUMQJV.js";import{H as c,J as n,L as i,h as s,i as t,r as l}from"./USDL3VTN.js";import"./CRWUQTQS.js";export default $arcgis.t(([{s:u},,{f:f}])=>{var b=s`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{i as d,j as i}from"./
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import{i as d,j as i}from"./6OT6D6MV.js";import{a as c}from"./PZ5PNGWF.js";import{a as p}from"./3R33TLMS.js";import{a as s}from"./2CBIGM4J.js";function f(r){let e=!1;return r&&(e=!(r.typeKeywords||[]).includes(c)),e}function w(r,e){let o=(r||[]).filter(t=>t!==c);return e||o.push(c),o}var y=class{constructor(e){this.mappings=e}storeToEntity(e,o){let t=S(e,o,this.mappings);if(s(e,"item")){let n=s(e,"item");i("canEdit",["admin","update"].includes(n.itemControl),t),i("canDelete",n.itemControl==="admin",t),i("canRecycle",n.canRecycle||!1,t),i("protected",n.protected,t)}return t}entityToStore(e,o){return C(e,o,this.mappings)}};function C(r,e,o){if(s(e,"item")){let t=s(e,"item");t.typeKeywords&&(t.typeKeywords=s(r,"isDiscussable")?t.typeKeywords.filter(n=>n!==c):[...t.typeKeywords,c],i("item.typeKeywords",t.typeKeywords,e))}return m(r,"entityKey",e,"storeKey",o)}function S(r,e,o){if(s(r,"item")){let t=s(r,"item");i("isDiscussable",f(t),e)}return m(r,"storeKey",e,"entityKey",o)}function m(r,e,o,t,n){let u=p(o);return n.forEach(l=>{let g=s(l,e),A=s(l,t),a=s(r,g);a!=null&&d(u,A,a,!0)}),u}export{f as a,w as b,y as c,C as d,S as e};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
4
|
var r;(function(e){e.simple="simple",e.informational="informational"})(r||(r={}));var l;(function(e){e.small="s",e.medium="m",e.large="l"})(l||(l={}));var n;(function(e){e.before="before",e.after="after",e.below="below"})(n||(n={}));var i;(function(e){e.none="none",e.icon="icon"})(i||(i={}));var o;(function(e){e.caretUp="caret-up",e.caretDown="caret-down",e.caretDouble="caret-double-horizontal"})(o||(o={}));var t;(function(e){e.dynamic="dynamic",e.static="static",e.itemQuery="itemQuery"})(t||(t={}));var u;(function(e){e.start="start",e.center="center",e.end="end"})(u||(u={}));var p;(function(e){e.square="square",e.round="round"})(p||(p={}));var a;(function(e){e.none="none",e.low="low",e.medium="medium",e.heavy="heavy"})(a||(a={}));var s;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6"})(s||(s={}));var d={type:"object",required:[],properties:{type:{type:"string",enum:Object.keys(t),default:t.dynamic},cardTitle:{type:"string"},value:{},valueType:{type:"string",default:"string",enum:["string","number","date"]},dynamicMetric:{type:"object"},allowUnitFormatting:{type:"boolean",default:!1},unit:{type:"string"},unitPosition:{type:"string",default:n.after,enum:Object.keys(n)},serverTimeout:{type:"number",maximum:95,minimum:5,default:10},subtitle:{type:"string"},trailingText:{type:"string"},textAlign:{type:"string",default:u.start},allowLink:{type:"boolean",default:!1},allowDynamicLink:{type:"boolean",default:!0},sourceLink:{type:"string"},sourceTitle:{type:"string"},valueColor:{type:"string"},layout:{type:"string",default:r.simple,enum:Object.keys(r)},dropShadow:{type:"string",default:a.none,enum:Object.keys(a)},icon:{type:"string",default:o.caretUp,enum:Object.values(o)},visualInterest:{type:"string",default:i.none,enum:Object.keys(i)},shareable:{type:"boolean",default:!1},shareableByValue:{type:"boolean",default:!1},shareableOnHover:{type:"boolean",default:!0},popoverText:{type:"string"},publisherText:{type:"string"}},allOf:[{$ref:"#/definitions/if-source-title-then-source-link"},{$ref:"#/definitions/value-type-value-mapping"},{$ref:"#/definitions/if-static-then-url-format"}],definitions:{"if-source-title-then-source-link":{if:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]},then:{required:["sourceLink"]}},"value-type-value-mapping":{if:{type:"object",properties:{valueType:{enum:["string","date"]}}},then:{type:"object",properties:{value:{type:"string"}}},else:{type:"object",properties:{value:{type:"number"}}}},"if-static-then-url-format":{if:{type:"object",properties:{type:{const:t.static}}},then:{type:"object",properties:{sourceLink:{format:"url"}}}}}};export{o as a,t as b,d as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as h}from"./KMA7RAFO.js";import{b as m}from"./52L3QNBG.js";import{a as U}from"./ZJWCFG2H.js";import{b as t,d as l,e as d}from"./7T5SPX63.js";import{a as N}from"./YVUHXCKS.js";import{c as A}from"./2436BI76.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import{a as h}from"./ZBZDMIC2.js";import{b as m}from"./LKHIFB6G.js";import{a as U}from"./UWTAHHH4.js";import{b as t,d as l,e as d}from"./ENU2FLJW.js";import{a as N}from"./PZ5PNGWF.js";import{c as A}from"./C7JI6W55.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as u}from"./
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import{b as u}from"./M7NUMQJV.js";import{F as l,G as d,H as p,h as c,i as o}from"./USDL3VTN.js";import"./CRWUQTQS.js";export default $arcgis.t(([f,w])=>{var S=c`/** @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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v1.2.0-next.98 */
|
|
4
|
+
import d from"./YUQG6J5R.js";import b from"./XW7IPFCG.js";import a from"./RM7T3U3R.js";import"./HS4RAJUQ.js";import"./3EHLUEQF.js";import"./5VNHJGB4.js";import"./2ATM2TF5.js";import"./76RC4256.js";import"./34LNLRA5.js";import"./53OVEACT.js";import"./REFR2H35.js";import"./2B3GB5IP.js";import"./Y7B3FPS7.js";import"./6OT6D6MV.js";import"./754DJKSE.js";import"./GTU4TIVW.js";import"./UP43PUGY.js";import"./3R33TLMS.js";import"./VZWTZSHN.js";import"./PQHJISWU.js";import"./SOPTIBRO.js";import"./YDOOE5FF.js";import"./T6JHWLOQ.js";import"./4D6YQUEC.js";import"./GSIO3GJN.js";import"./2CBIGM4J.js";import"./C7JI6W55.js";import{b as g}from"./M7NUMQJV.js";import{F as c,G as p,H as _,h as u,i as r,r as h,u as m}from"./USDL3VTN.js";import"./CRWUQTQS.js";export default $arcgis.t(([C,F,,,{f:b}])=>{var f=u`@layer{/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2025 Esri
|
|
7
7
|
*
|