@esri/solutions-components 1.0.0-next.20250509 → 1.0.0-next.20250513
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/{SBBAYIA5.js → 2AE65J7Z.js} +2 -2
- package/dist/cdn/{H2PYJODK.js → 2FXMJWEJ.js} +2 -2
- package/dist/cdn/{DGJOUZR5.js → 2HQWNDOT.js} +1 -1
- package/dist/cdn/{NLKCNLQB.js → 2HW4GV5C.js} +2 -2
- package/dist/cdn/{L5MZYQWZ.js → 2LWA3LPI.js} +2 -2
- package/dist/cdn/2MC74LFI.js +18 -0
- package/dist/cdn/{2X42FQPI.js → 2PNI22UK.js} +2 -2
- package/dist/cdn/{ZSNDJE3R.js → 2QX2DZO7.js} +1 -1
- package/dist/cdn/{Z6MML6SM.js → 2Y7EB6IS.js} +1 -1
- package/dist/cdn/{MEXCWFXO.js → 2ZOPKOQW.js} +2 -2
- package/dist/cdn/33R6U7YA.js +18 -0
- package/dist/cdn/{XGZPINBJ.js → 356X3OF7.js} +2 -2
- package/dist/cdn/{AW6GVVCK.js → 37UTA2CS.js} +2 -2
- package/dist/cdn/{NL5SZJG7.js → 3DPLKEDU.js} +2 -2
- package/dist/cdn/{TEJLYLG3.js → 3KNYDGE4.js} +2 -2
- package/dist/cdn/{OPAFHR65.js → 3P3P323U.js} +2 -2
- package/dist/cdn/{CQFOO7QD.js → 3RC2WF5B.js} +1 -1
- package/dist/cdn/{7XWBWQ4G.js → 3S3YE7LS.js} +2 -2
- package/dist/cdn/{ITBKHXR7.js → 3WNCCUTZ.js} +1 -1
- package/dist/cdn/{55Q3UBSS.js → 3WW3YWCT.js} +2 -2
- package/dist/cdn/{7Q3MQPSX.js → 3Y5R5IUQ.js} +2 -2
- package/dist/cdn/{UB2OSPCQ.js → 4745A7PL.js} +1 -1
- package/dist/cdn/47R5RC4C.js +18 -0
- package/dist/cdn/{IM7QQB4B.js → 47WHCZIM.js} +2 -2
- package/dist/cdn/{5G5LFIDR.js → 4CCXX3SG.js} +2 -2
- package/dist/cdn/{VM5WBDOI.js → 4DVIYVRO.js} +2 -2
- package/dist/cdn/{PRM3M7W3.js → 4HNFRLEB.js} +2 -2
- package/dist/cdn/{MESJIE5F.js → 4M3HYUSJ.js} +2 -2
- package/dist/cdn/{XDHR67UO.js → 4SNRICQS.js} +2 -2
- package/dist/cdn/{3K5XH7WO.js → 4YGER5QC.js} +1 -1
- package/dist/cdn/{XXMXWRAP.js → 4Z3IUDH5.js} +4 -4
- package/dist/cdn/{N75HIPXS.js → 4ZM2K4B5.js} +1 -1
- package/dist/cdn/{V3V45HIT.js → 536426JP.js} +2 -2
- package/dist/cdn/{JDI4Y7XL.js → 53N47Q3X.js} +2 -2
- package/dist/cdn/{BKTDSQ5E.js → 55KC257N.js} +2 -2
- package/dist/cdn/{IML67XC5.js → 55P3U5JJ.js} +2 -2
- package/dist/cdn/{T24JMSJB.js → 5AVYYC47.js} +2 -2
- package/dist/cdn/{USCS7ZOZ.js → 5AWXJIBG.js} +2 -2
- package/dist/cdn/{RQF4KGJG.js → 5CSQUWE5.js} +2 -2
- package/dist/cdn/{PIIFPRWS.js → 5D3XSPVE.js} +2 -2
- package/dist/cdn/{7HCBMOJG.js → 5DHQPMEJ.js} +2 -2
- package/dist/cdn/{XRAHMMYT.js → 5GI5HKKC.js} +2 -2
- package/dist/cdn/{RICWFBVP.js → 5IYB6I37.js} +2 -2
- package/dist/cdn/{4YNV3LL5.js → 5RGCCJRI.js} +2 -2
- package/dist/cdn/{K7L3LTTD.js → 5RJEQIH2.js} +1 -1
- package/dist/cdn/{7UEK3DXM.js → 5XZ2VEVE.js} +2 -2
- package/dist/cdn/{SNDF7YMU.js → 6DG3MERJ.js} +2 -2
- package/dist/cdn/{MNNNZZVI.js → 6HNT2RSP.js} +2 -2
- package/dist/cdn/{5EZJ2DME.js → 6KD4C6OL.js} +2 -2
- package/dist/cdn/{GWMI7SRU.js → 6MHBJPS2.js} +2 -2
- package/dist/cdn/6QS23BIH.js +18 -0
- package/dist/cdn/{OBYUVAOE.js → 6VGFUAX5.js} +2 -2
- package/dist/cdn/{J3AZ36S3.js → 72KOOVBA.js} +2 -2
- package/dist/cdn/{INDFSGPY.js → 74FUG5XE.js} +2 -2
- package/dist/cdn/{5ORSO5QA.js → 7FTLGHTG.js} +2 -2
- package/dist/cdn/{WMI6SFI3.js → 7KBEEBMB.js} +2 -2
- package/dist/cdn/{35P6UDSV.js → 7KFM4VXO.js} +2 -2
- package/dist/cdn/{UPR4UPDN.js → 7KGIY4Y7.js} +2 -2
- package/dist/cdn/{5X6XSS3G.js → 7RAJQNDO.js} +2 -2
- package/dist/cdn/{PULSXLXV.js → 7VOZDFCU.js} +2 -2
- package/dist/cdn/{2SNN45WE.js → 7WDOCGDK.js} +1 -1
- package/dist/cdn/{BQTDT2CQ.js → A4AUBCIN.js} +2 -2
- package/dist/cdn/{7KQNE4LS.js → A52VN6U6.js} +2 -2
- package/dist/cdn/{SJ2L7I4D.js → ACHUFFFB.js} +2 -2
- package/dist/cdn/{LZCG3PUX.js → ADVQIEJR.js} +1 -1
- package/dist/cdn/{HLQ3GGP4.js → AI3WLROH.js} +2 -2
- package/dist/cdn/{PBDY4N37.js → AJYMDWRR.js} +2 -2
- package/dist/cdn/{CMUYK6L5.js → ANRR2Q3N.js} +2 -2
- package/dist/cdn/{J5DECLUT.js → AT3EMTZF.js} +1 -1
- package/dist/cdn/{ZX2WVODB.js → AXEU574G.js} +2 -2
- package/dist/cdn/{Z4ZMVS45.js → AYBKCTTB.js} +2 -2
- package/dist/cdn/{DMGLXTNG.js → B2634ITV.js} +2 -2
- package/dist/cdn/{435C2RXR.js → B33KRB36.js} +2 -2
- package/dist/cdn/{2LIN3EFP.js → BMMWWZDP.js} +2 -2
- package/dist/cdn/BVAH7X2K.js +18 -0
- package/dist/cdn/{VAQQRDFO.js → BZM6QEVQ.js} +1 -1
- package/dist/cdn/{OHY2KQUC.js → C44EKR3M.js} +1 -1
- package/dist/cdn/{IJWNOINQ.js → CAPUUGJR.js} +2 -2
- package/dist/cdn/{424PZHQ5.js → CBMZJGCV.js} +2 -2
- package/dist/cdn/{HIYSQGTK.js → CCHSAYV3.js} +2 -2
- package/dist/cdn/{6KKLCZH2.js → CDXLLR33.js} +2 -2
- package/dist/cdn/{ICLRLVVJ.js → CIQJF5B3.js} +2 -2
- package/dist/cdn/{J4DDOYKZ.js → CNU3TPX7.js} +2 -2
- package/dist/cdn/{HEFARXFW.js → CTH3ZJDZ.js} +2 -2
- package/dist/cdn/{7L3RVANR.js → CUFYPINX.js} +2 -2
- package/dist/cdn/{CIN3SN7W.js → CZOWNF5N.js} +2 -2
- package/dist/cdn/{N5C5RKHD.js → D2BGUJW5.js} +2 -2
- package/dist/cdn/{PUYHWBNK.js → D3DQ3LMO.js} +2 -2
- package/dist/cdn/{6N4IY6RI.js → DAC3GWK5.js} +2 -2
- package/dist/cdn/{MMZK7VDY.js → DGN5X5A4.js} +2 -2
- package/dist/cdn/{XHNH4HWU.js → DHPOWICJ.js} +2 -2
- package/dist/cdn/{KAET4R4I.js → DHYYFX2C.js} +1 -1
- package/dist/cdn/{M7ALE6KV.js → DVO5GTFT.js} +2 -2
- package/dist/cdn/{XQMS45RU.js → E35TDRWG.js} +2 -2
- package/dist/cdn/{36OJB33V.js → EDPL4TKI.js} +2 -2
- package/dist/cdn/{ZJMDC5EX.js → EE7WJZP4.js} +2 -2
- package/dist/cdn/{RZODPKW4.js → EIZMLFHI.js} +1 -1
- package/dist/cdn/{5Y63RNHU.js → EOM3X2VQ.js} +2 -2
- package/dist/cdn/{SCPTYDM4.js → EOOHBALJ.js} +2 -2
- package/dist/cdn/{YL5AS7IP.js → ETTBV6A5.js} +2 -2
- package/dist/cdn/{R2HY3OH6.js → EZLMQOSZ.js} +2 -2
- package/dist/cdn/{4Y7P3RAH.js → EZUUCYDZ.js} +2 -2
- package/dist/cdn/{Z7PAFRTZ.js → F57GZO2E.js} +2 -2
- package/dist/cdn/{X4BR4G2Q.js → FDZH3TUO.js} +2 -2
- package/dist/cdn/{4AB2653C.js → FIE266AU.js} +2 -2
- package/dist/cdn/{GZ5DMBN5.js → FJRGFI2V.js} +1 -1
- package/dist/cdn/{7VLWDHRA.js → FLC5VXCW.js} +2 -2
- package/dist/cdn/{CPEOHMBH.js → FR5YKIYR.js} +2 -2
- package/dist/cdn/{EVSAWS5V.js → FZAZSLYD.js} +2 -2
- package/dist/cdn/{QV3YJHLC.js → G2KU4GJD.js} +1 -1
- package/dist/cdn/{YJF3FQQW.js → G6RUG3BR.js} +2 -2
- package/dist/cdn/{YV2KVYYD.js → GA57AOAH.js} +2 -2
- package/dist/cdn/{RA4WYINA.js → GGVX7BU3.js} +2 -2
- package/dist/cdn/GHIWQFDY.js +4 -0
- package/dist/cdn/{4DMLN7C7.js → GM3ATYLE.js} +1 -1
- package/dist/cdn/{EOR6FMKC.js → GMCIGFUB.js} +2 -2
- package/dist/cdn/{EFTUD2CV.js → GPUA6MAJ.js} +2 -2
- package/dist/cdn/GPW2TCPZ.js +18 -0
- package/dist/cdn/{G466QX4L.js → GQU6FXIT.js} +1 -1
- package/dist/cdn/{RJDRQW52.js → GRCUUM5W.js} +2 -2
- package/dist/cdn/{KPRSMUMQ.js → GSFWKQWQ.js} +2 -2
- package/dist/cdn/{U25OTDOD.js → GYXP7WY2.js} +2 -2
- package/dist/cdn/{7RMNWPCQ.js → H4ZWRKI2.js} +2 -2
- package/dist/cdn/H6UT37EX.js +18 -0
- package/dist/cdn/{7XULXHRZ.js → H7Y4URDU.js} +2 -2
- package/dist/cdn/{BCXBJG72.js → HHVCX4HB.js} +1 -1
- package/dist/cdn/{BPEEKBR7.js → HOLWK3EZ.js} +2 -2
- package/dist/cdn/{B4HJBJTA.js → HSCOIXLG.js} +2 -2
- package/dist/cdn/{ZSPCCQU2.js → HTWIZOH4.js} +2 -2
- package/dist/cdn/{S5WNRS3W.js → HXLDVONX.js} +2 -2
- package/dist/cdn/{5EH5ABNA.js → HZFEYQGX.js} +1 -1
- package/dist/cdn/{4OGYUVGQ.js → HZIMPHWC.js} +2 -2
- package/dist/cdn/{BB4YELWP.js → I5XMZWO6.js} +2 -2
- package/dist/cdn/{WRRMV4PI.js → I7UVWQMY.js} +2 -2
- package/dist/cdn/{47I7OHHF.js → IDFWZFF5.js} +1 -1
- package/dist/cdn/{GNY77HPF.js → IG3I76TX.js} +1 -1
- package/dist/cdn/{VPXUKOUC.js → IKBVEVMI.js} +2 -2
- package/dist/cdn/{HIIYUUEW.js → IRVZT2BS.js} +2 -2
- package/dist/cdn/{4FGMEAIW.js → ISCASEIO.js} +1 -1
- package/dist/cdn/{6JI5OXDD.js → IVOSJYWQ.js} +2 -2
- package/dist/cdn/{BOJK6ZXD.js → IZGA6GXU.js} +2 -2
- package/dist/cdn/{FQOV67VE.js → JBH2RRSE.js} +2 -2
- package/dist/cdn/{LPXJI3PA.js → JGPXY5SS.js} +2 -2
- package/dist/cdn/{RV3Y5Y43.js → JIJBRLA5.js} +2 -2
- package/dist/cdn/{Y4CROHYY.js → JNWG7WSY.js} +2 -2
- package/dist/cdn/{P52HFT2R.js → JQV5TGAK.js} +2 -2
- package/dist/cdn/{YZGAFNYP.js → JUZCGG5Y.js} +2 -2
- package/dist/cdn/JYL4F373.js +4 -0
- package/dist/cdn/{BGWVAQHN.js → K4CSMHLX.js} +2 -2
- package/dist/cdn/{27QJLMW3.js → K4FMFGHK.js} +2 -2
- package/dist/cdn/{SHTM5TBH.js → KBLQQKHW.js} +2 -2
- package/dist/cdn/{6QAU4NYR.js → KCDVHUF2.js} +3 -3
- package/dist/cdn/{OSPYIY3S.js → KDKKKQOA.js} +2 -2
- package/dist/cdn/{UCYU2ZVX.js → KIU22HO4.js} +2 -2
- package/dist/cdn/{JUNJFTAF.js → KJGF4NJ3.js} +2 -2
- package/dist/cdn/{FSQQ2APB.js → KKSOLSMJ.js} +2 -2
- package/dist/cdn/KMJY2PGB.js +18 -0
- package/dist/cdn/{FBXVZ63D.js → KP6XEQR7.js} +2 -2
- package/dist/cdn/{ICETJ5L7.js → KQVVUDCM.js} +1 -1
- package/dist/cdn/{7K7DN72W.js → KUVX4OOK.js} +2 -2
- package/dist/cdn/{D2Y2VYAA.js → KVYB56FX.js} +2 -2
- package/dist/cdn/{JEOWOFGV.js → L2YHTSUT.js} +2 -2
- package/dist/cdn/{UTMLE3SN.js → L46SKXK3.js} +2 -2
- package/dist/cdn/{FPGTD47W.js → LBK4TQ4U.js} +2 -2
- package/dist/cdn/{JH6EUNS3.js → LH4PUHQS.js} +2 -2
- package/dist/cdn/LT2FXISZ.js +4 -0
- package/dist/cdn/{3WEGW5NC.js → LZVWOWHQ.js} +2 -2
- package/dist/cdn/{OT3XINKN.js → LZXK3MVJ.js} +2 -2
- package/dist/cdn/{HRXRBE4J.js → MB76IRBK.js} +2 -2
- package/dist/cdn/{VFZGCM33.js → MCIIM4XE.js} +2 -2
- package/dist/cdn/{C5NISEHO.js → MEMYGNMH.js} +2 -2
- package/dist/cdn/{2452KO7J.js → MFYJYT6Q.js} +2 -2
- package/dist/cdn/{RJVJXKOB.js → MGRH7AJX.js} +2 -2
- package/dist/cdn/{ECVA54TZ.js → MSCUGG2N.js} +1 -1
- package/dist/cdn/{M4AI76NV.js → MXKCH65B.js} +2 -2
- package/dist/cdn/MYF2CGM2.js +4 -0
- package/dist/cdn/{WVHATRWG.js → MYHI7ROY.js} +2 -2
- package/dist/cdn/{OVDKGSOB.js → N73I4LYZ.js} +2 -2
- package/dist/cdn/{ARPKSGRG.js → NLQ42NQW.js} +2 -2
- package/dist/cdn/{XW5NNESC.js → NYANCYTJ.js} +2 -2
- package/dist/cdn/{FXITJZAV.js → OAJSYATY.js} +2 -2
- package/dist/cdn/{UQD4DDWQ.js → OBGBZA5Q.js} +2 -2
- package/dist/cdn/{A6DMHYOF.js → OMLJWKTW.js} +2 -2
- package/dist/cdn/{PNBUAOL6.js → ONIJZZLM.js} +2 -2
- package/dist/cdn/{VPZT2JZV.js → OOGXSHWN.js} +2 -2
- package/dist/cdn/{EHYAB5QQ.js → OUAPE77Q.js} +2 -2
- package/dist/cdn/{BIOS2V5G.js → P4CX5EDN.js} +2 -2
- package/dist/cdn/{AXQXIZC6.js → P55AP2OS.js} +2 -2
- package/dist/cdn/{3YWY5IJP.js → P5SCKVEP.js} +2 -2
- package/dist/cdn/PDEMBJK2.js +18 -0
- package/dist/cdn/{E3HGKBP3.js → PJF5G4QB.js} +2 -2
- package/dist/cdn/{7UIUIVMT.js → PL3CH3LF.js} +2 -2
- package/dist/cdn/{KAPZF4E2.js → PNZ6XBPV.js} +1 -1
- package/dist/cdn/{FLPPIESF.js → PPEC24ZV.js} +2 -2
- package/dist/cdn/{VDIZRWGH.js → PVMRTOAH.js} +2 -2
- package/dist/cdn/{R3UCIE4U.js → PWDTDHPM.js} +1 -1
- package/dist/cdn/{D73KUPSF.js → Q5EJXK76.js} +2 -2
- package/dist/cdn/{J7OFNHJE.js → QBKMKNGL.js} +2 -2
- package/dist/cdn/{WN3VAL43.js → QCF4PYQB.js} +1 -1
- package/dist/cdn/{WD2QCZTO.js → QHJVQDMN.js} +2 -2
- package/dist/cdn/{TXGHJPP2.js → QIVU3W4F.js} +2 -2
- package/dist/cdn/{LECLO3XE.js → QRM36WK6.js} +2 -2
- package/dist/cdn/{3TUZLPWH.js → QZVDSGNQ.js} +2 -2
- package/dist/cdn/{BY4EXEJG.js → RFSMSYJR.js} +2 -2
- package/dist/cdn/{EUPHXLZZ.js → RKUNOYZR.js} +2 -2
- package/dist/cdn/{TPTCOLFA.js → RM5MLMA4.js} +2 -2
- package/dist/cdn/{U4IEKG5J.js → RN7TUN7E.js} +2 -2
- package/dist/cdn/{FARMWJ24.js → RTL6LDYI.js} +2 -2
- package/dist/cdn/{MLSL5LI5.js → RVRAGQDC.js} +2 -2
- package/dist/cdn/{KBTESCN4.js → RXTELQ34.js} +2 -2
- package/dist/cdn/{RCSNQFCR.js → S3WKVRQS.js} +2 -2
- package/dist/cdn/{6EA3DB3O.js → S67NXZHK.js} +2 -2
- package/dist/cdn/{CD2S6EUP.js → SBDAFL5S.js} +2 -2
- package/dist/cdn/{25QPPKFI.js → T4UFIWDF.js} +2 -2
- package/dist/cdn/T66Y6KTO.js +18 -0
- package/dist/cdn/{C6X2ECYU.js → T6FHHQZJ.js} +2 -2
- package/dist/cdn/TD4SVRZ2.js +18 -0
- package/dist/cdn/{LXGUGDHR.js → TGLGAJZN.js} +2 -2
- package/dist/cdn/{LDD3KF7W.js → TGVDYRKZ.js} +2 -2
- package/dist/cdn/{AZHIE3R7.js → TKBHKV5M.js} +2 -2
- package/dist/cdn/{4TKVQNTQ.js → TKUGQKMA.js} +3 -3
- package/dist/cdn/{S5633QFW.js → TKZBNC7H.js} +2 -2
- package/dist/cdn/{NLDJFYI7.js → TSJDIDQQ.js} +2 -2
- package/dist/cdn/{OFJCPV4F.js → TV4DZ4NC.js} +2 -2
- package/dist/cdn/{ZKLPV256.js → U35AQBWJ.js} +1 -1
- package/dist/cdn/{TYTGBM6D.js → U7RXVNQC.js} +1 -1
- package/dist/cdn/{SVZ6DPGA.js → UAP5F7JO.js} +2 -2
- package/dist/cdn/{67Y5XRJR.js → UDGQW7QL.js} +2 -2
- package/dist/cdn/{WO4T5EBB.js → UJSCHQIP.js} +2 -2
- package/dist/cdn/{SAK5E7EM.js → UKMHZ5PP.js} +2 -2
- package/dist/cdn/{HT5EDB5V.js → ULVBGZTW.js} +2 -2
- package/dist/cdn/{HVVFJDSU.js → UOCWAIF5.js} +2 -2
- package/dist/cdn/URRXFKCL.js +4 -0
- package/dist/cdn/{HZSTATBW.js → USMPDRTK.js} +2 -2
- package/dist/cdn/{J4VSSVNP.js → UVBA6JNL.js} +1 -1
- package/dist/cdn/{6YD2XRHQ.js → V3NOQ3VR.js} +2 -2
- package/dist/cdn/{JBUFFKQ4.js → V6UTV55V.js} +1 -1
- package/dist/cdn/{CHZ5YCRR.js → VAP272QY.js} +2 -2
- package/dist/cdn/VGXJDR76.js +18 -0
- package/dist/cdn/{CN4P5DTP.js → VLGVIKZ6.js} +2 -2
- package/dist/cdn/{BIRQOSZD.js → VOCP45SC.js} +2 -2
- package/dist/cdn/{PKFNJGIN.js → VPPRTR4I.js} +2 -2
- package/dist/cdn/{SDDCOLSE.js → VQKEDTWW.js} +2 -2
- package/dist/cdn/{Y5WPDAVU.js → VTJTEDJC.js} +2 -2
- package/dist/cdn/{4BCMHRMT.js → W4QVPEC6.js} +1 -1
- package/dist/cdn/{MHO2Y7KN.js → WAHZ4BJA.js} +2 -2
- package/dist/cdn/{V2TJSNNS.js → WBDBLEC7.js} +2 -2
- package/dist/cdn/{HBOTGKBU.js → WCAYMKQP.js} +2 -2
- package/dist/cdn/{XRNUZ7HG.js → WKBQVMT4.js} +2 -2
- package/dist/cdn/{C2KBDSIZ.js → WUWWLJEX.js} +1 -1
- package/dist/cdn/{62J73NXR.js → WUYLVJC7.js} +2 -2
- package/dist/cdn/{T5ZHBVTX.js → X5NCT7SI.js} +1 -1
- package/dist/cdn/{N5VOILQX.js → XI6U7JLE.js} +2 -2
- package/dist/cdn/{T5R3QU6B.js → XISA6SLB.js} +2 -2
- package/dist/cdn/{JZMP2SNN.js → XJOAEUHQ.js} +2 -2
- package/dist/cdn/XMB335P2.js +4 -0
- package/dist/cdn/XOTJKE5D.js +4 -0
- package/dist/cdn/{YNA4CMIX.js → XV6244HK.js} +2 -2
- package/dist/cdn/{LKUFS2W4.js → XW3XMCXE.js} +2 -2
- package/dist/cdn/{DWRH76JT.js → XZS545IF.js} +2 -2
- package/dist/cdn/{2VIYUPNY.js → YFTL66BW.js} +2 -2
- package/dist/cdn/{WFKJMOI2.js → YMECWXNY.js} +2 -2
- package/dist/cdn/{VY6VKUBS.js → YNLSAEFB.js} +2 -2
- package/dist/cdn/YQNWPVUQ.js +4 -0
- package/dist/cdn/{6EY4X2IO.js → YRLQIYDY.js} +2 -2
- package/dist/cdn/{XDCTTW2D.js → YWPX2AWZ.js} +2 -2
- package/dist/cdn/{IKUXIIBQ.js → ZADWIJ7Q.js} +2 -2
- package/dist/cdn/{YZON6FQX.js → ZIJGSIAY.js} +1 -1
- package/dist/cdn/{2Q5FUL4Y.js → ZSVGZTYI.js} +2 -2
- package/dist/cdn/{F5K2FGR2.js → ZVRPCQAG.js} +1 -1
- package/dist/cdn/ZXAG7K3F.js +4 -0
- package/dist/cdn/assets/selection-tool/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/selection-tool/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +19 -15
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.d.ts +5 -2
- package/dist/components/card-manager/customElement.js +24 -20
- 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.d.ts +12 -0
- package/dist/components/crowdsource-manager/customElement.js +51 -43
- 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 +9 -9
- package/dist/components/edit-card/customElement.js +14 -11
- 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 +3 -3
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +11 -1
- package/dist/components/layer-table/customElement.js +267 -148
- package/dist/components/layer-table/index.d.ts +3 -2
- package/dist/components/layer-table/index.js +3 -2
- package/dist/components/map-card/customElement.d.ts +7 -1
- package/dist/components/map-card/customElement.js +16 -16
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +1 -1
- package/dist/components/map-layer-picker/customElement.js +14 -14
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +3 -3
- 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.d.ts +13 -1
- package/dist/components/map-tools/customElement.js +25 -18
- package/dist/components/map-tools/index.d.ts +1 -0
- package/dist/components/map-tools/index.js +1 -0
- 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.d.ts +33 -0
- package/dist/components/selection-tool/customElement.js +96 -0
- package/dist/components/selection-tool/index.d.ts +1 -0
- package/dist/components/selection-tool/index.js +1 -0
- package/dist/components/{solution-arcticle-card → solution-article-card}/customElement.d.ts +1 -1
- package/dist/components/{solution-arcticle-card → solution-article-card}/customElement.js +5 -5
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-panel/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-panel/customElement.d.ts +5 -0
- package/dist/components/solution-deploy-panel/customElement.js +44 -0
- package/dist/components/solution-deploy-panel/index.d.ts +2 -0
- package/dist/components/solution-deploy-panel/index.js +2 -0
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.d.ts +5 -0
- package/dist/components/solution-snapshot-gallery/customElement.js +44 -0
- package/dist/components/solution-snapshot-gallery/index.d.ts +2 -0
- package/dist/components/solution-snapshot-gallery/index.js +2 -0
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-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/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +655 -93
- package/dist/docs/docs.json +577 -73
- package/dist/docs/vscode.html-custom-data.json +86 -17
- package/dist/docs/web-types.json +230 -43
- package/dist/index.d.ts +34 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +14 -11
- package/dist/main.css +1 -1
- package/dist/types/lumina.d.ts +27 -9
- package/dist/types/preact.d.ts +31 -10
- package/dist/types/react.d.ts +35 -11
- package/dist/types/stencil.d.ts +27 -9
- package/dist/utils/mapViewUtils.d.ts +3 -3
- package/package.json +1 -1
- package/dist/cdn/264VRGT4.js +0 -4
- package/dist/cdn/2C7P2WBD.js +0 -18
- package/dist/cdn/2M24VYGB.js +0 -4
- package/dist/cdn/5AYUBL2S.js +0 -4
- package/dist/cdn/6ZWGS275.js +0 -18
- package/dist/cdn/7LZNQGFF.js +0 -4
- package/dist/cdn/ACRINRWW.js +0 -4
- package/dist/cdn/C5QHLRUF.js +0 -18
- package/dist/cdn/F44IFVB6.js +0 -18
- package/dist/cdn/ILUCOTQH.js +0 -18
- package/dist/cdn/LXIX3TNH.js +0 -4
- package/dist/cdn/N7WXVV7Y.js +0 -18
- package/dist/cdn/O2WO5RGW.js +0 -4
- package/dist/cdn/U4SNCZZB.js +0 -4
- package/dist/cdn/WSILAYSC.js +0 -18
- package/dist/cdn/XG3QLQ4I.js +0 -18
- package/dist/cdn/XZCQWFF2.js +0 -4
- package/dist/cdn/ZWSG3QNV.js +0 -18
- /package/dist/cdn/assets/{solution-arcticle-card → solution-article-card}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solution-arcticle-card → solution-article-card}/t9n/messages.json +0 -0
- /package/dist/components/{solution-arcticle-card → solution-article-card}/index.d.ts +0 -0
- /package/dist/components/{solution-arcticle-card → solution-article-card}/index.js +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as Sn}from"./4AB2653C.js";import{B as wn,c as yn,n as vn,w as bn}from"./CQFOO7QD.js";import"./OHY2KQUC.js";function vi(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||bi(n)||wi(n)||Si(n))}function bi(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function wi(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Si(e){return!e.user&&e.ipCntryCode==="US"}var _e={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]}}},xr="esri-telemetry";function Oi(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!Ei(e)||e.body)&&t()})}function xi(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${xr}="${n}"]`)}function Ei(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:f,onerror:h}=e;if(typeof window>"u")throw new Ze("Window is undefined: Cannot add script element.");if(xi(e)){console.log(`script (${r||i}) is already present, skipping`);return}let c=ki({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:f,onerror:h});return o==="body"?document.body.appendChild(c):document.head.appendChild(c)}var Ze=class extends Error{};function ki({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let f=document.createElement("script");return e&&(f.id=e),t&&f.setAttribute(`data-${xr}`,t),a&&(f.src=a),o&&(f.innerText=o),f.type=n,f.async=r,f.defer=i,s&&(f.onload=s),u&&(f.onerror=u),f}function Ai(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 Ii=["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"],It=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=vi(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=Ii.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=_e.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=30*60*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){_e.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){_e.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(ji(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 ji(e,t){return function(n,[r,i]){return Pi(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 Pi(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function nn(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}var jt=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 Ai(this._getScripts())}async init(){if(typeof window>"u")throw new Ze("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Oi(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=nn(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),{})}},On="TELEMETRY_COGNITO_CREDENTIALS";function Ti(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=_e.get(On);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})=>(_e.set(On,o),o))}function Er({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:_i(t,r),value:e[r]}:{key:r,value:Ni(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function Ni(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function _i(e,t){return`dimension${e[t]}`}var Ci=["size","duration","position","number","count"];function kr(e,t={}){return Object.keys(e).filter(n=>t[n]||Ci.includes(n)).map(n=>t[n]?{key:Mi(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function Mi(e,t){return`metric${e[t]}`}function Di({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=kr(e,n),u=Er({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),f=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(f.referrer=document.referrer),typeof window<"u"&&!f.hostname&&(f.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),f.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,f}function Ui({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=kr(n,i),a=Er({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:f,pathname:h}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:f,path:e||h,pageUrl:e||h,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function xn(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 Fe="undefined",En="object",Li=function(){},kn="__",et=typeof process<"u"?process:{};et.env&&et.env.NODE_ENV;var $e=typeof document<"u";et.versions!=null&&et.versions.node!=null;typeof Deno<"u"&&Deno.core;$e&&window.name==="nodejs"||typeof navigator<"u"&&navigator.userAgent!==void 0&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function Ar(e,t){return t.charAt(0)[e]()+t.slice(1)}var Ri=Ar.bind(null,"toUpperCase"),zi=Ar.bind(null,"toLowerCase");function Wi(e){return Ir(e)?Ri("null"):typeof e=="object"?Hi(e):Object.prototype.toString.call(e).slice(8,-1)}function tt(e,t){t===void 0&&(t=!0);var n=Wi(e);return t?zi(n):n}function He(e,t){return typeof t===e}var Pt=He.bind(null,"function"),Tt=He.bind(null,"string");He.bind(null,"undefined");He.bind(null,"boolean");He.bind(null,"symbol");function Ir(e){return e===null}function Vi(e){return tt(e)==="number"&&!isNaN(e)}function $i(e){return tt(e)==="array"}function Hi(e){return Pt(e.constructor)?e.constructor.name:null}function Gi(e){return e instanceof Error||Tt(e.message)&&e.constructor&&Vi(e.constructor.stackTraceLimit)}function jr(e,t){if(typeof t!="object"||Ir(t))return!1;if(t instanceof e)return!0;var n=tt(new e(""));if(Gi(t))for(;t;){if(tt(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}jr.bind(null,TypeError);jr.bind(null,SyntaxError);function at(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Ki(e,t):n}function Ki(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function st(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}st(at,"form");st(at,"button");st(at,"input");st(at,"select");function Fi(e){return e?$i(e)?e:[e]:[]}function An(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function qi(){if($e){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function Xi(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function Bi(e){return function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=An(n[1]),a=An(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 f=u.split("[");f.length>1&&(Ji(r,f.map(function(h){return h.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r}(function(t){return $e&&window.location.search.substring(1)}())}function Ji(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 be(){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 Ce="global",ke=kn+"global"+kn,Ae=typeof self===En&&self.self===self&&self||typeof global===En&&global.global===global&&global||void 0;function ce(e){return Ae[ke][e]}function se(e,t){return Ae[ke][e]=t}function we(e){delete Ae[ke][e]}function le(e,t,n){var r;try{if(ut(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}Ae[ke]||(Ae[ke]={});var qe={};function ut(e){if(typeof qe[e]!==Fe)return qe[e];try{var t=window[e];t.setItem(Fe,Fe),t.removeItem(Fe)}catch{return qe[e]=!1}return qe[e]=!0}var In,ze="__",Nt=typeof process<"u"?process:{};(In=Nt.env)!=null&&In.NODE_ENV;var ue=typeof window<"u";Nt.versions!=null&&Nt.versions.node!=null;typeof Deno<"u"&&Deno.core;ue&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ct(e,t){return typeof t===e}var ie=ct.bind(null,"function"),Qe=ct.bind(null,"string");ct.bind(null,"undefined");var Yi=ct.bind(null,"boolean");function Qi(e){return Object.prototype.toString.call(e)==="[object Array]"}function Zi(e){return e&&(typeof e=="object"||e!==null)}function te(e){if(!Zi(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function _t(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 eo(e){if(Array.isArray(e))return _t(e)}function to(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pr(e,t){if(e){if(typeof e=="string")return _t(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 _t(e,t)}}function no(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
3
|
+
v1.0.0-next.20250513 */
|
4
|
+
import{a as Sn}from"./FIE266AU.js";import{B as wn,c as yn,n as vn,w as bn}from"./3RC2WF5B.js";import"./C44EKR3M.js";function vi(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||bi(n)||wi(n)||Si(n))}function bi(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function wi(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Si(e){return!e.user&&e.ipCntryCode==="US"}var _e={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]}}},xr="esri-telemetry";function Oi(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!Ei(e)||e.body)&&t()})}function xi(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${xr}="${n}"]`)}function Ei(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:f,onerror:h}=e;if(typeof window>"u")throw new Ze("Window is undefined: Cannot add script element.");if(xi(e)){console.log(`script (${r||i}) is already present, skipping`);return}let c=ki({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:f,onerror:h});return o==="body"?document.body.appendChild(c):document.head.appendChild(c)}var Ze=class extends Error{};function ki({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let f=document.createElement("script");return e&&(f.id=e),t&&f.setAttribute(`data-${xr}`,t),a&&(f.src=a),o&&(f.innerText=o),f.type=n,f.async=r,f.defer=i,s&&(f.onload=s),u&&(f.onerror=u),f}function Ai(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 Ii=["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"],It=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=vi(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=Ii.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=_e.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=30*60*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){_e.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){_e.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(ji(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 ji(e,t){return function(n,[r,i]){return Pi(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 Pi(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function nn(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}var jt=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 Ai(this._getScripts())}async init(){if(typeof window>"u")throw new Ze("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Oi(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=nn(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),{})}},On="TELEMETRY_COGNITO_CREDENTIALS";function Ti(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=_e.get(On);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})=>(_e.set(On,o),o))}function Er({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:_i(t,r),value:e[r]}:{key:r,value:Ni(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function Ni(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function _i(e,t){return`dimension${e[t]}`}var Ci=["size","duration","position","number","count"];function kr(e,t={}){return Object.keys(e).filter(n=>t[n]||Ci.includes(n)).map(n=>t[n]?{key:Mi(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function Mi(e,t){return`metric${e[t]}`}function Di({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=kr(e,n),u=Er({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),f=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(f.referrer=document.referrer),typeof window<"u"&&!f.hostname&&(f.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),f.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,f}function Ui({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=kr(n,i),a=Er({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:f,pathname:h}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:f,path:e||h,pageUrl:e||h,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function xn(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 Fe="undefined",En="object",Li=function(){},kn="__",et=typeof process<"u"?process:{};et.env&&et.env.NODE_ENV;var $e=typeof document<"u";et.versions!=null&&et.versions.node!=null;typeof Deno<"u"&&Deno.core;$e&&window.name==="nodejs"||typeof navigator<"u"&&navigator.userAgent!==void 0&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function Ar(e,t){return t.charAt(0)[e]()+t.slice(1)}var Ri=Ar.bind(null,"toUpperCase"),zi=Ar.bind(null,"toLowerCase");function Wi(e){return Ir(e)?Ri("null"):typeof e=="object"?Hi(e):Object.prototype.toString.call(e).slice(8,-1)}function tt(e,t){t===void 0&&(t=!0);var n=Wi(e);return t?zi(n):n}function He(e,t){return typeof t===e}var Pt=He.bind(null,"function"),Tt=He.bind(null,"string");He.bind(null,"undefined");He.bind(null,"boolean");He.bind(null,"symbol");function Ir(e){return e===null}function Vi(e){return tt(e)==="number"&&!isNaN(e)}function $i(e){return tt(e)==="array"}function Hi(e){return Pt(e.constructor)?e.constructor.name:null}function Gi(e){return e instanceof Error||Tt(e.message)&&e.constructor&&Vi(e.constructor.stackTraceLimit)}function jr(e,t){if(typeof t!="object"||Ir(t))return!1;if(t instanceof e)return!0;var n=tt(new e(""));if(Gi(t))for(;t;){if(tt(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}jr.bind(null,TypeError);jr.bind(null,SyntaxError);function at(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Ki(e,t):n}function Ki(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function st(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}st(at,"form");st(at,"button");st(at,"input");st(at,"select");function Fi(e){return e?$i(e)?e:[e]:[]}function An(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function qi(){if($e){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function Xi(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function Bi(e){return function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=An(n[1]),a=An(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 f=u.split("[");f.length>1&&(Ji(r,f.map(function(h){return h.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r}(function(t){return $e&&window.location.search.substring(1)}())}function Ji(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 be(){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 Ce="global",ke=kn+"global"+kn,Ae=typeof self===En&&self.self===self&&self||typeof global===En&&global.global===global&&global||void 0;function ce(e){return Ae[ke][e]}function se(e,t){return Ae[ke][e]=t}function we(e){delete Ae[ke][e]}function le(e,t,n){var r;try{if(ut(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}Ae[ke]||(Ae[ke]={});var qe={};function ut(e){if(typeof qe[e]!==Fe)return qe[e];try{var t=window[e];t.setItem(Fe,Fe),t.removeItem(Fe)}catch{return qe[e]=!1}return qe[e]=!0}var In,ze="__",Nt=typeof process<"u"?process:{};(In=Nt.env)!=null&&In.NODE_ENV;var ue=typeof window<"u";Nt.versions!=null&&Nt.versions.node!=null;typeof Deno<"u"&&Deno.core;ue&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ct(e,t){return typeof t===e}var ie=ct.bind(null,"function"),Qe=ct.bind(null,"string");ct.bind(null,"undefined");var Yi=ct.bind(null,"boolean");function Qi(e){return Object.prototype.toString.call(e)==="[object Array]"}function Zi(e){return e&&(typeof e=="object"||e!==null)}function te(e){if(!Zi(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function _t(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 eo(e){if(Array.isArray(e))return _t(e)}function to(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pr(e,t){if(e){if(typeof e=="string")return _t(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 _t(e,t)}}function no(){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 Me(e){return eo(e)||to(e)||Pr(e)||no()}function Y(e){"@babel/helpers - typeof";return Y=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},Y(e)}function jn(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(f){n(f);return}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){jn(o,r,i,a,s,"next",u)}function s(u){jn(o,r,i,a,s,"throw",u)}a(void 0)})}}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(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 A(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pn(Object(n),!0).forEach(function(r){pe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Tr={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",f=a.toStringTag||"@@toStringTag";function h(g,y,l){return Object.defineProperty(g,y,{value:l,enumerable:!0,configurable:!0,writable:!0}),g[y]}try{h({},"")}catch{h=function(g,y,l){return g[y]=l}}function c(g,y,l,p){var b=y&&y.prototype instanceof x?y:x,k=Object.create(b.prototype),D=new N(p||[]);return k._invoke=W(g,l,D),k}n.wrap=c;function m(g,y,l){try{return{type:"normal",arg:g.call(y,l)}}catch(p){return{type:"throw",arg:p}}}var S="suspendedStart",O="suspendedYield",j="executing",I="completed",d={};function x(){}function _(){}function E(){}var P={};h(P,s,function(){return this});var C=Object.getPrototypeOf,M=C&&C(C(U([])));M&&M!==r&&i.call(M,s)&&(P=M);var z=E.prototype=x.prototype=Object.create(P);_.prototype=E,h(z,"constructor",E),h(E,"constructor",_),_.displayName=h(E,f,"GeneratorFunction");function F(g){["next","throw","return"].forEach(function(y){h(g,y,function(l){return this._invoke(y,l)})})}n.isGeneratorFunction=function(g){var y=typeof g=="function"&&g.constructor;return y?y===_||(y.displayName||y.name)==="GeneratorFunction":!1},n.mark=function(g){return Object.setPrototypeOf?Object.setPrototypeOf(g,E):(g.__proto__=E,h(g,f,"GeneratorFunction")),g.prototype=Object.create(z),g},n.awrap=function(g){return{__await:g}};function H(g,y){function l(k,D,R,V){var $=m(g[k],g,D);if($.type==="throw")V($.arg);else{var K=$.arg,G=K.value;return G&&typeof G=="object"&&i.call(G,"__await")?y.resolve(G.__await).then(function(B){l("next",B,R,V)},function(B){l("throw",B,R,V)}):y.resolve(G).then(function(B){K.value=B,R(K)},function(B){return l("throw",B,R,V)})}}var p;function b(k,D){function R(){return new y(function(V,$){l(k,D,V,$)})}return p=p?p.then(R,R):R()}this._invoke=b}F(H.prototype),h(H.prototype,u,function(){return this}),n.AsyncIterator=H,n.async=function(g,y,l,p,b){b===void 0&&(b=Promise);var k=new H(c(g,y,l,p),b);return n.isGeneratorFunction(y)?k:k.next().then(function(D){return D.done?D.value:k.next()})};function W(g,y,l){var p=S;return function(b,k){if(p===j)throw new Error("Generator is already running");if(p===I){if(b==="throw")throw k;return T()}for(l.method=b,l.arg=k;;){var D=l.delegate;if(D){var R=q(D,l);if(R){if(R===d)continue;return R}}if(l.method==="next")l.sent=l._sent=l.arg;else if(l.method==="throw"){if(p===S)throw p=I,l.arg;l.dispatchException(l.arg)}else l.method==="return"&&l.abrupt("return",l.arg);p=j;var V=m(g,y,l);if(V.type==="normal"){if(p=l.done?I:O,V.arg===d)continue;return{value:V.arg,done:l.done}}else V.type==="throw"&&(p=I,l.method="throw",l.arg=V.arg)}}}function q(g,y){var l=g.iterator[y.method];if(l===o){if(y.delegate=null,y.method==="throw"){if(g.iterator.return&&(y.method="return",y.arg=o,q(g,y),y.method==="throw"))return d;y.method="throw",y.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var p=m(l,g.iterator,y.arg);if(p.type==="throw")return y.method="throw",y.arg=p.arg,y.delegate=null,d;var b=p.arg;if(!b)return y.method="throw",y.arg=new TypeError("iterator result is not an object"),y.delegate=null,d;if(b.done)y[g.resultName]=b.value,y.next=g.nextLoc,y.method!=="return"&&(y.method="next",y.arg=o);else return b;return y.delegate=null,d}F(z),h(z,f,"Generator"),h(z,s,function(){return this}),h(z,"toString",function(){return"[object Generator]"});function w(g){var y={tryLoc:g[0]};1 in g&&(y.catchLoc=g[1]),2 in g&&(y.finallyLoc=g[2],y.afterLoc=g[3]),this.tryEntries.push(y)}function v(g){var y=g.completion||{};y.type="normal",delete y.arg,g.completion=y}function N(g){this.tryEntries=[{tryLoc:"root"}],g.forEach(w,this),this.reset(!0)}n.keys=function(g){var y=[];for(var l in g)y.push(l);return y.reverse(),function p(){for(;y.length;){var b=y.pop();if(b in g)return p.value=b,p.done=!1,p}return p.done=!0,p}};function U(g){if(g){var y=g[s];if(y)return y.call(g);if(typeof g.next=="function")return g;if(!isNaN(g.length)){var l=-1,p=function b(){for(;++l<g.length;)if(i.call(g,l))return b.value=g[l],b.done=!1,b;return b.value=o,b.done=!0,b};return p.next=p}}return{next:T}}n.values=U;function T(){return{value:o,done:!0}}return N.prototype={constructor:N,reset:function(g){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(v),!g)for(var y in this)y.charAt(0)==="t"&&i.call(this,y)&&!isNaN(+y.slice(1))&&(this[y]=o)},stop:function(){this.done=!0;var g=this.tryEntries[0],y=g.completion;if(y.type==="throw")throw y.arg;return this.rval},dispatchException:function(g){if(this.done)throw g;var y=this;function l(V,$){return k.type="throw",k.arg=g,y.next=V,$&&(y.method="next",y.arg=o),!!$}for(var p=this.tryEntries.length-1;p>=0;--p){var b=this.tryEntries[p],k=b.completion;if(b.tryLoc==="root")return l("end");if(b.tryLoc<=this.prev){var D=i.call(b,"catchLoc"),R=i.call(b,"finallyLoc");if(D&&R){if(this.prev<b.catchLoc)return l(b.catchLoc,!0);if(this.prev<b.finallyLoc)return l(b.finallyLoc)}else if(D){if(this.prev<b.catchLoc)return l(b.catchLoc,!0)}else if(R){if(this.prev<b.finallyLoc)return l(b.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(g,y){for(var l=this.tryEntries.length-1;l>=0;--l){var p=this.tryEntries[l];if(p.tryLoc<=this.prev&&i.call(p,"finallyLoc")&&this.prev<p.finallyLoc){var b=p;break}}b&&(g==="break"||g==="continue")&&b.tryLoc<=y&&y<=b.finallyLoc&&(b=null);var k=b?b.completion:{};return k.type=g,k.arg=y,b?(this.method="next",this.next=b.finallyLoc,d):this.complete(k)},complete:function(g,y){if(g.type==="throw")throw g.arg;return g.type==="break"||g.type==="continue"?this.next=g.arg:g.type==="return"?(this.rval=this.arg=g.arg,this.method="return",this.next="end"):g.type==="normal"&&y&&(this.next=y),d},finish:function(g){for(var y=this.tryEntries.length-1;y>=0;--y){var l=this.tryEntries[y];if(l.finallyLoc===g)return this.complete(l.completion,l.afterLoc),v(l),d}},catch:function(g){for(var y=this.tryEntries.length-1;y>=0;--y){var l=this.tryEntries[y];if(l.tryLoc===g){var p=l.completion;if(p.type==="throw"){var b=p.arg;v(l)}return b}}throw new Error("illegal catch attempt")},delegateYield:function(g,y,l){return this.delegate={iterator:U(g),resultName:y,nextLoc:l},this.method==="next"&&(this.arg=o),d}},n}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(Tr);var J=Tr.exports,de="function",ae="undefined",De="reducer",Nr="@@redux/",Ct=Nr+"INIT",ro=Nr+Math.random().toString(36),Tn=function(){return(typeof Symbol>"u"?"undefined":Y(Symbol))===de&&Symbol.observable||"@@observable"}(),Xe=" != "+de;function _r(e,t,n){if(Y(t)===de&&Y(n)===ae&&(n=t,t=void 0),Y(n)!==ae){if(Y(n)!==de)throw new Error("enhancer"+Xe);return n(_r)(e,t)}if(Y(e)!==de)throw new Error(De+Xe);var r=e,i=t,o=[],a=o,s=!1;function u(){a===o&&(a=o.slice())}function f(){return i}function h(O){if(Y(O)!==de)throw new Error("Listener"+Xe);var j=!0;return u(),a.push(O),function(){if(j){j=!1,u();var I=a.indexOf(O);a.splice(I,1)}}}function c(O){if(!te(O))throw new Error("Act != obj");if(Y(O.type)===ae)throw new Error("ActType "+ae);if(s)throw new Error("Dispatch in "+De);try{s=!0,i=r(i,O)}finally{s=!1}for(var j=o=a,I=0;I<j.length;I++){var d=j[I];d()}return O}function m(O){if(Y(O)!==de)throw new Error("next "+De+Xe);r=O,c({type:Ct})}function S(){var O=h;return pe({subscribe:function(j){if(Y(j)!=="object")throw new TypeError("Observer != obj");function I(){j.next&&j.next(f())}I();var d=O(I);return{unsubscribe:d}}},Tn,function(){return this})}return c({type:Ct}),pe({dispatch:c,subscribe:h,getState:f,replaceReducer:m},Tn,S)}function io(e,t){var n=t&&t.type,r=n&&n.toString()||"?";return"action "+r+De+" "+e+" returns "+ae}function oo(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:Ct});if(Y(r)===ae||Y(n(void 0,{type:ro}))===ae)throw new Error(De+" "+t+" "+ae)})}function ao(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];Y(e[i])===de&&(n[i]=e[i])}var o=Object.keys(n),a;try{oo(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 f=!1,h={},c=0;c<o.length;c++){var m=o[c],S=n[m],O=s[m],j=S(O,u);if(Y(j)===ae){var I=io(m,u);throw new Error(I)}h[m]=j,f=f||j!==O}return f?h:s}}function Ie(){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 so(){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,f=[],h={getState:s.getState,dispatch:function(c){return u(c)}};return f=t.map(function(c){return c(h)}),u=Ie.apply(void 0,Me(f))(s.dispatch),A(A({},s),{},{dispatch:u})}}}var he=ze+"anon_id",ye=ze+"user_id",xe=ze+"user_traits",Mt="analytics",fe="userId",Se="anonymousId",uo="https://lytics.dev/errors/",nt=["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"],Dt=["name","EVENTS","config","loaded"],co={registerPluginType:function(e){return"registerPlugin:".concat(e)},pluginReadyType:function(e){return"ready:".concat(e)}},lo=nt.reduce(function(e,t){return e[t]=t,e},co),L=lo;function fo(e){return nt.includes(e)}var Nn=/^utm_/,_n=/^an_prop_/,Cn=/^an_trait_/;function po(e){var t=e.storage.setItem;return function(n){return function(r){return function(i){if(i.type===L.bootstrap){var o=i.params,a=i.user,s=i.persistedUser,u=i.initialUser,f=s.userId===a.userId;s.anonymousId!==a.anonymousId&&t(he,a.anonymousId),f||t(ye,a.userId),u.traits&&t(xe,A(A({},f&&s.traits?s.traits:{}),u.traits));var h=Object.keys(i.params);if(h.length){var c=o.an_uid,m=o.an_event,S=h.reduce(function(O,j){if(j.match(Nn)||j.match(/^(d|g)clid/)){var I=j.replace(Nn,""),d=I==="campaign"?"name":I;O.campaign[d]=o[j]}return j.match(_n)&&(O.props[j.replace(_n,"")]=o[j]),j.match(Cn)&&(O.traits[j.replace(Cn,"")]=o[j]),O},{campaign:{},props:{},traits:{}});n.dispatch(A(A({type:L.params,raw:o},S),c?{userId:c}:{})),c&&setTimeout(function(){return e.identify(c,S.traits)},0),m&&setTimeout(function(){return e.track(m,S.props)},0),Object.keys(S.campaign).length&&n.dispatch({type:L.campaign,campaign:S.campaign})}}return r(i)}}}}function ho(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===L.setItemEnd){if(n.key===he)return A(A({},t),{anonymousId:n.value});if(n.key===ye)return A(A({},t),{userId:n.value})}switch(n.type){case L.identify:return Object.assign({},t,{userId:n.userId,traits:A(A({},t.traits),n.traits)});case L.reset:return[ye,he,xe].forEach(function(r){e.removeItem(r)}),Object.assign({},t,{userId:null,anonymousId:null,traits:{}});default:return t}}}function Cr(e){return{userId:e.getItem(ye),anonymousId:e.getItem(he),traits:e.getItem(xe)}}var rn=function(e){return ze+"TEMP"+ze+e};function go(e){return function(t,n,r){var i=n.getState("user")[t];if(i)return i;if(r&&te(r)&&r[t])return r[t];var o=Cr(e)[t];return o||ce(rn(t))||null}}function mo(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,f=s.traits,h=s.options;if(s.type===L.reset&&([ye,xe,he].forEach(function(S){r(S)}),[fe,Se,"traits"].forEach(function(S){we(rn(S))})),s.type===L.identify){i(he)||n(he,be());var c=i(ye),m=i(xe)||{};c&&c!==u&&o.dispatch({type:L.userIdChanged,old:{userId:c,traits:m},new:{userId:u,traits:f},options:h}),u&&n(ye,u),f&&n(xe,A(A({},m),f))}return a(s)}}}}var Ne={};function Mr(e,t){Ne[e]&&ie(Ne[e])&&(Ne[e](t),delete Ne[e])}function Dr(e,t,n){return new Promise(function(r,i){return t()?r(e):n<1?i(A(A({},e),{},{queue:!0})):yo(10).then(function(o){return Dr(e,t,n-10).then(r,i)})})}function yo(e){return new Promise(function(t){return setTimeout(t,e)})}function Ur(e,t,n){var r=t(),i=e.getState(),o=i.plugins,a=i.context,s=i.queue,u=i.user,f=!a.offline;if(f&&s&&s.actions&&s.actions.length){var h=s.actions.reduce(function(m,S,O){var j=o[S.plugin].loaded;return j?(m.process.push(S),m.processIndex.push(O)):(m.requeue.push(S),m.requeueIndex.push(O)),m},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(h.processIndex&&h.processIndex.length){h.processIndex.forEach(function(m){var S=s.actions[m],O=S.plugin,j=S.payload.type,I=r[O][j];if(I&&ie(I)){var d=bo(S.payload,u);I({payload:d,config:o[O].config,instance:n});var x="".concat(j,":").concat(O);e.dispatch(A(A({},d),{},{type:x,_:{called:x,from:"queueDrain"}}))}});var c=s.actions.filter(function(m,S){return!~h.processIndex.indexOf(S)});s.actions=c}}}function vo(e,t,n){return setInterval(function(){return Ur(e,t,n)},3e3)}function bo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[fe,Se].reduce(function(n,r){return e.hasOwnProperty(r)&&t[r]&&t[r]!==e[r]&&(n[r]=t[r]),n},e)}function wo(e){if(Array.isArray(e))return e}function So(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 Oo(){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 xo(e,t){return wo(e)||So(e,t)||Pr(e,t)||Oo()}function Eo(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 Yi(i[r])?i[r]:!(i.all===!1||t[r]&&t[r].enabled===!1)}).map(function(r){return e[r]})}var je=/Start$/,Mn=/^bootstrap/,Dn=/^ready/;function ko(e,t,n,r,i){return Ut.apply(this,arguments)}function Ut(){return Ut=oe(J.mark(function e(t,n,r,i,o){var a,s,u,f,h,c,m,S,O,j,I;return J.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(a=ie(n)?n():n,s=t.type,u=s.replace(je,""),!(t._&&t._.called)){d.next=5;break}return d.abrupt("return",t);case 5:return f=r.getState(),h=Eo(a,f.plugins,t.options),s===L.initializeStart&&t.fromEnable&&(h=Object.keys(f.plugins).filter(function(x){var _=f.plugins[x];return t.plugins.includes(x)&&!_.initialized}).map(function(x){return a[x]})),c=h.map(function(x){return x.name}),m=Io(s,h),d.next=12,mt({action:t,data:{exact:m.before,namespaced:m.beforeNS},state:f,allPlugins:a,allMatches:m,instance:r,store:i,EVENTS:o});case 12:if(S=d.sent,!Lr(S,c.length)){d.next=15;break}return d.abrupt("return",S);case 15:if(s!==u){d.next=19;break}O=S,d.next=22;break;case 19:return d.next=21,mt({action:A(A({},S),{},{type:u}),data:{exact:m.during,namespaced:m.duringNS},state:f,allPlugins:a,allMatches:m,instance:r,store:i,EVENTS:o});case 21:O=d.sent;case 22:if(!s.match(je)){d.next=28;break}return j="".concat(u,"End"),d.next=26,mt({action:A(A({},O),{},{type:j}),data:{exact:m.after,namespaced:m.afterNS},state:f,allPlugins:a,allMatches:m,instance:r,store:i,EVENTS:o});case 26:I=d.sent,I.meta&&I.meta.hasCallback&&Mr(I.meta.rid,{payload:I});case 28:return d.abrupt("return",S);case 29:case"end":return d.stop()}},e)})),Ut.apply(this,arguments)}function mt(e){return Lt.apply(this,arguments)}function Lt(){return Lt=oe(J.mark(function e(t){var n,r,i,o,a,s,u,f,h,c,m,S,O,j,I,d,x,_;return J.wrap(function(E){for(;;)switch(E.prev=E.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,f=t.EVENTS,h=o.plugins,c=o.context,m=r.type,S=m.match(je),O=n.exact.map(function(P){return P.pluginName}),S&&(O=s.during.map(function(P){return P.pluginName})),j=jo(i,O),I=n.exact.reduce(function(P,C){var M=C.pluginName,z=C.methodName,F=!1;return!z.match(/^initialize/)&&!z.match(/^reset/)&&(F=!h[M].loaded),c.offline&&z.match(/^(page|track|identify)/)&&(F=!0),P["".concat(M)]=F,P},{}),E.next=10,n.exact.reduce(function(){var P=oe(J.mark(function C(M,z,F){var H,W,q;return J.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return H=z.pluginName,w.next=3,M;case 3:if(W=w.sent,!(n.namespaced&&n.namespaced[H])){w.next=11;break}return w.next=7,n.namespaced[H].reduce(function(){var v=oe(J.mark(function N(U,T,g){var y,l,p,b;return J.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return l=function(D,R,V){return function($,K){var G=V||R;return A(A({},D),{},{abort:{reason:$,plugins:K||[R],caller:m,from:G}})}},k.next=3,U;case 3:if(y=k.sent,!(!T.method||!ie(T.method))){k.next=6;break}return k.abrupt("return",y);case 6:return No(T.methodName,T.pluginName),k.next=9,T.method({payload:y,instance:i,abort:l(y,H,T.pluginName),config:Un(T.pluginName,h,a),plugins:h});case 9:return p=k.sent,b=te(p)?p:{},k.abrupt("return",Promise.resolve(A(A({},y),b)));case 12:case"end":return k.stop()}},N)}));return function(N,U,T){return v.apply(this,arguments)}}(),Promise.resolve(r));case 7:q=w.sent,W[H]=q,w.next=12;break;case 11:W[H]=r;case 12:return w.abrupt("return",Promise.resolve(W));case 13:case"end":return w.stop()}},C)}));return function(C,M,z){return P.apply(this,arguments)}}(),Promise.resolve({}));case 10:return d=E.sent,E.next=13,n.exact.reduce(function(){var P=oe(J.mark(function C(M,z,F){var H,W,q,w,v,N,U,T,g,y,l,p,b;return J.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return H=n.exact.length===F+1,W=z.pluginName,q=a[W],k.next=5,M;case 5:if(w=k.sent,v=d[W]?d[W]:{},S&&(v=w),!vt(v,W)){k.next=11;break}return yt({data:v,method:m,instance:i,pluginName:W,store:u}),k.abrupt("return",Promise.resolve(w));case 11:if(!vt(w,W)){k.next=14;break}return H&&yt({data:w,method:m,instance:i,store:u}),k.abrupt("return",Promise.resolve(w));case 14:if(!(I.hasOwnProperty(W)&&I[W]===!0)){k.next=17;break}return u.dispatch({type:"queue",plugin:W,payload:v,_:{called:"queue",from:"queueMechanism"}}),k.abrupt("return",Promise.resolve(w));case 17:return N=j(d[W],a[W]),k.next=20,q[m]({abort:N.abort,payload:v,instance:i,config:Un(W,h,a),plugins:h});case 20:return U=k.sent,T=te(U)?U:{},g=A(A({},w),T),y=d[W],vt(y,W)?yt({data:y,method:m,instance:i,pluginName:W,store:u}):(l="".concat(m,":").concat(W),p=(l.match(/:/g)||[]).length,p<2&&!m.match(Mn)&&!m.match(Dn)&&(b=S?g:v,i.dispatch(A(A({},b),{},{type:l,_:{called:l,from:"submethod"}})))),k.abrupt("return",Promise.resolve(g));case 26:case"end":return k.stop()}},C)}));return function(C,M,z){return P.apply(this,arguments)}}(),Promise.resolve(r));case 13:if(x=E.sent,!(!m.match(je)&&!m.match(/^registerPlugin/)&&!m.match(Dn)&&!m.match(Mn)&&!m.match(/^params/)&&!m.match(/^userIdChanged/))){E.next=21;break}if(f.plugins.includes(m),!(x._&&x._.originalAction===m)){E.next=18;break}return E.abrupt("return",x);case 18:_=A(A({},x),{_:{originalAction:x.type,called:x.type,from:"engineEnd"}}),Lr(x,n.exact.length)&&!m.match(/End$/)&&(_=A(A({},_),{type:x.type+"Aborted"})),u.dispatch(_);case 21:return E.abrupt("return",x);case 22:case"end":return E.stop()}},e)})),Lt.apply(this,arguments)}function yt(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(A(A({},t),{},{type:a,_:{called:a,from:"abort"}}))}function Un(e,t,n){var r=t[e]||n[e];return r&&r.config?r.config:{}}function Ln(e,t){return t.reduce(function(n,r){return r[e]?n.concat({methodName:e,pluginName:r.name,method:r[e]}):n},[])}function Ao(e){return e.replace(je,"")}function Rn(e,t){var n=Ao(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 Io(e,t,n){var r=Rn(e),i=r.map(function(o){return Ln(o,t)});return t.reduce(function(o,a){var s=a.name,u=Rn(e,s),f=u.map(function(O){return Ln(O,t)}),h=xo(f,3),c=h[0],m=h[1],S=h[2];return c.length&&(o.beforeNS[s]=c),m.length&&(o.duringNS[s]=m),S.length&&(o.afterNS[s]=S),o},{before:i[0],beforeNS:{},during:i[1],duringNS:{},after:i[2],afterNS:{}})}function vt(e,t){var n=e.abort;return n?n===!0?!0:zn(n,t)||n&&zn(n.plugins,t):!1}function Lr(e,t){var n=e.abort;if(!n)return!1;if(n===!0||Qe(n))return!0;var r=n.plugins;return We(n)&&n.length===t||We(r)&&r.length===t}function We(e){return Array.isArray(e)}function zn(e,t){return!e||!We(e)?!1:e.includes(t)}function jo(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(je)?Po(a,s,t,i,n):To(n,s);return{payload:_o(n),instance:e,config:o||{},abort:u}}}function Po(e,t,n,r,i){return function(o,a){var s=r?r.name:e,u=a&&We(a)?a:n;if(r&&(u=a&&We(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 A(A({},i),{},{abort:{reason:o,plugins:u,caller:t,_:s}})}}function To(e,t){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+t)}}function No(e,t){var n=Wn(e),r=n&&n.name===t;if(r){var i=Wn(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 Wn(e){var t=e.match(/(.*):(.*)/);return t?{method:t[1],name:t[2]}:!1}function _o(e){return Object.keys(e).reduce(function(t,n){return n==="type"||(te(e[n])?t[n]=Object.assign({},e[n]):t[n]=e[n]),t},{})}function Co(e,t,n){var r={};return function(i){return function(o){return function(){var a=oe(J.mark(function s(u){var f,h,c,m,S,O,j,I,d,x,_,E;return J.wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(f=u.type,h=u.abort,c=u.plugins,m=u,!h){P.next=4;break}return P.abrupt("return",o(u));case 4:if(f===L.enablePlugin&&i.dispatch({type:L.initializeStart,plugins:c,disabled:[],fromEnable:!0,meta:u.meta}),f===L.disablePlugin&&setTimeout(function(){return Mr(u.meta.rid,{payload:u})},0),f===L.initializeEnd&&(S=t(),O=Object.keys(S),j=O.filter(function(C){return c.includes(C)}).map(function(C){return S[C]}),I=[],d=[],x=u.disabled,_=j.map(function(C){var M=C.loaded,z=C.name;return Dr(C,M,1e4).then(function(F){return r[z]||(i.dispatch({type:L.pluginReadyType(z),name:z,events:Object.keys(C).filter(function(H){return!Dt.includes(H)})}),r[z]=!0),I=I.concat(z),C}).catch(function(F){if(F instanceof Error)throw new Error(F);return d=d.concat(F.name),F})}),Promise.all(_).then(function(C){var M={plugins:I,failed:d,disabled:x};setTimeout(function(){O.length===_.length+x.length&&i.dispatch(A(A({},{type:L.ready}),M))},0)})),f===L.bootstrap){P.next=13;break}return/^ready:([^:]*)$/.test(f)&&setTimeout(function(){return Ur(i,t,e)},0),P.next=11,ko(u,t,e,i,n);case 11:return E=P.sent,P.abrupt("return",o(E));case 13:return P.abrupt("return",o(m));case 14:case"end":return P.stop()}},s)}));return function(s){return a.apply(this,arguments)}}()}}}function Mo(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===L.setItem||i===L.removeItem){if(r.abort)return n(r);i===L.setItem?e.setItem(o,a,s):e.removeItem(o,s)}return n(r)}}}}function Do(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Uo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Lo=Do(function e(){var t=this;Uo(this,e),pe(this,"before",[]),pe(this,"after",[]),pe(this,"addMiddleware",function(n,r){t[r]=t[r].concat(n)}),pe(this,"removeMiddleware",function(n,r){var i=t[r].findIndex(function(o){return o===n});i!==-1&&(t[r]=[].concat(Me(t[r].slice(0,i)),Me(t[r].slice(i+1))))}),pe(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 Ie.apply(void 0,Me(s))(i)(o)}}}})});function Ro(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=Vn(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||{}},A(A({},t),r)}if(/^initialize:([^:]*)$/.test(n.type)){var s=Vn(n.type,L.initialize),u=e()[s];return!u||!s?t:(r[s]=A(A({},t[s]),{initialized:!0,loaded:!!u.loaded()}),A(A({},t),r))}if(/^ready:([^:]*)$/.test(n.type))return r[n.name]=A(A({},t[n.name]),{loaded:!0}),A(A({},t),r);switch(n.type){case L.disablePlugin:return A(A({},t),$n(n.plugins,!1,t));case L.enablePlugin:return A(A({},t),$n(n.plugins,!0,t));default:return t}}}function Vn(e,t){return e.substring(t.length+1,e.length)}function $n(e,t,n){return e.reduce(function(r,i){return r[i]=A(A({},n[i]),{enabled:t}),r},n)}function Rr(e){try{return JSON.parse(JSON.stringify(e))}catch{}return e}var zo={last:{},history:[]};function Wo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zo,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.event,i=t.properties,o=t.options,a=t.meta;switch(n){case L.track:var s=Rr(A(A({event:r,properties:i},Object.keys(o).length&&{options:o}),{},{meta:a}));return A(A({},e),{last:s,history:e.history.concat(s)});default:return e}}var Vo={actions:[]};function $o(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vo,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===L.identify?i=[t].concat(e.actions):i=e.actions.concat(t),A(A({},e),{},{actions:i});case"dequeue":return[];default:return e}}var zr=/#.*$/;function Ho(){if(ue){for(var e=document.getElementsByTagName("link"),t=0,n;n=e[t];t++)if(n.getAttribute("rel")==="canonical")return n.getAttribute("href")}}function Go(e){var t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g,n=t.exec(e),r=n&&n[3]?n[3].split("?")[0].replace(zr,""):"";return"/"+r}function Ko(e){var t=Ho();return t?t.match(/\?/)?t:t+e:window.location.href.replace(zr,"")}var Fo=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!ue)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,f=o.search,h=Ko(f),c={title:n,url:h,path:Go(h),hash:u,search:f,width:a,height:s};return r&&r!==""&&(c.referrer=r),A(A({},c),e)},qo={last:{},history:[]};function Xo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qo,t=arguments.length>1?arguments[1]:void 0,n=t.properties,r=t.options,i=t.meta;switch(t.type){case L.page:var o=Rr(A({properties:n,meta:i},Object.keys(r).length&&{options:r}));return A(A({},e),{last:o,history:e.history.concat(o)});default:return e}}function Bo(){if(!ue)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 Wr,Vr,$r,Hr;Wr=Bo(),Vr=ue?document.referrer:null,$r=qi(),Hr=Xi();var Hn={initialized:!1,sessionId:be(),app:null,version:null,debug:!1,offline:ue?!navigator.onLine:!1,os:{name:Wr},userAgent:ue?navigator.userAgent:"node",library:{name:Mt,version:"0.10.22"},timezone:Hr,locale:$r,campaign:{},referrer:Vr};function Jo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hn,t=arguments.length>1?arguments[1]:void 0,n=e.initialized,r=t.type,i=t.campaign;switch(r){case L.campaign:return A(A({},e),{campaign:i});case L.offline:return A(A({},e),{offline:!0});case L.online:return A(A({},e),{offline:!1});default:return n?e:A(A(A({},Hn),e),{initialized:!0})}}var Yo=["plugins","reducers","storage"];function Qo(e){return Object.keys(e).reduce(function(t,n){return Yo.includes(n)||(t[n]=e[n]),t},{})}function Zo(e,t,n){if(ue){var r=window[(n?"add":"remove")+"EventListener"];e.split(" ").forEach(function(i){r(i,t)})}}function ea(){return Promise.resolve(!navigator.onLine)}function ta(e){var t=function(r){return ea().then(e)},n=Zo.bind(null,"online offline",t);return n(!0),function(r){return n(!1)}}function Gr(){return se(Mt,[]),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 Ae[ke][Mt].push(u),o(s)};return Object.assign(i,{dispatch:a})}}}function Gn(e){return function(){return Ie(Ie.apply(null,arguments),Gr())}}function bt(e){return e?Qi(e)?e:[e]:[]}function na(e){for(var t=e||Array.prototype.slice.call(arguments),n,r=0;r<t.length;r++)if(ie(t[r])){n=t[r];break}return n}function ra(){return new Date().getTime()}function ia(e,t){return function(n){t&&t(n),e(n)}}function Kn(){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=be();return t&&(Ne[r]=ia(t,na(n))),A(A({},e),{},{rid:r,ts:ra()},t?{hasCallback:!0}:{})}function oa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.reducers||{},n=e.initialUser||{},r=(e.plugins||[]).reduce(function(l,p){if(ie(p))return l.middlewares=l.middlewares.concat(p),l;if(p.NAMESPACE&&(p.name=p.NAMESPACE),!p.name)throw new Error(uo+"1");var b=p.EVENTS?Object.keys(p.EVENTS).map(function(K){return p.EVENTS[K]}):[],k=p.enabled!==!1,D=!(p.config&&p.config.enabled===!1);l.pluginEnabled[p.name]=k&&D,delete p.enabled,p.methods&&(l.methods[p.name]=Object.keys(p.methods).reduce(function(K,G){return K[G]=y(p.methods[G]),K},{}),delete p.methods);var R=Object.keys(p),V=R.concat(b),$=new Set(l.events.concat(V));if(l.events=Array.from($),l.pluginsArray=l.pluginsArray.concat(p),l.plugins[p.name])throw new Error(p.name+"AlreadyLoaded");return l.plugins[p.name]=p,l.plugins[p.name].loaded||(l.plugins[p.name].loaded=function(){return!0}),l},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=e.storage?e.storage:{getItem:ce,setItem:se,removeItem:we},o=go(i),a=r.plugins,s=r.events.filter(function(l){return!Dt.includes(l)}).sort(),u=new Set(s.concat(nt).filter(function(l){return!Dt.includes(l)})),f=Array.from(u).sort(),h=function(){return a},c=new Lo,m=c.addMiddleware,S=c.removeMiddleware,O=c.dynamicMiddlewares,j=function(){throw new Error("Abort disabled inListener")},I=Bi(),d=Cr(i),x=A(A(A(A({},d),n),I.an_uid?{userId:I.an_uid}:{}),I.an_aid?{anonymousId:I.an_aid}:{});x.anonymousId||(x.anonymousId=be());var _=A({enable:function(l,p){return new Promise(function(b){v.dispatch({type:L.enablePlugin,plugins:bt(l),_:{originalAction:L.enablePlugin}},b,[p])})},disable:function(l,p){return new Promise(function(b){v.dispatch({type:L.disablePlugin,plugins:bt(l),_:{originalAction:L.disablePlugin}},b,[p])})}},r.methods),E={identify:function(){var l=oe(J.mark(function b(k,D,R,V){var $,K,G,B,Ge;return J.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return $=Qe(k)?k:null,K=te(k)?k:D,G=R||{},B=E.user(),se(rn(fe),$),Ge=$||K.userId||o(fe,E,K),Ke.abrupt("return",new Promise(function(yi){v.dispatch(A({type:L.identifyStart,userId:Ge,traits:K||{},options:G,anonymousId:B.anonymousId},B.id&&B.id!==$&&{previousId:B.id}),yi,[D,R,V])}));case 7:case"end":return Ke.stop()}},b)}));function p(b,k,D,R){return l.apply(this,arguments)}return p}(),track:function(){var l=oe(J.mark(function b(k,D,R,V){var $,K,G;return J.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if($=te(k)?k.event:k,!(!$||!Qe($))){B.next=3;break}throw new Error("EventMissing");case 3:return K=te(k)?k:D||{},G=te(R)?R:{},B.abrupt("return",new Promise(function(Ge){v.dispatch({type:L.trackStart,event:$,properties:K,options:G,userId:o(fe,E,D),anonymousId:o(Se,E,D)},Ge,[D,R,V])}));case 6:case"end":return B.stop()}},b)}));function p(b,k,D,R){return l.apply(this,arguments)}return p}(),page:function(){var l=oe(J.mark(function b(k,D,R){var V,$;return J.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return V=te(k)?k:{},$=te(D)?D:{},K.abrupt("return",new Promise(function(G){v.dispatch({type:L.pageStart,properties:Fo(V),options:$,userId:o(fe,E,V),anonymousId:o(Se,E,V)},G,[k,D,R])}));case 3:case"end":return K.stop()}},b)}));function p(b,k,D){return l.apply(this,arguments)}return p}(),user:function(l){if(l===fe||l==="id")return o(fe,E);if(l===Se||l==="anonId")return o(Se,E);var p=E.getState("user");return l?xn(p,l):p},reset:function(l){return new Promise(function(p){v.dispatch({type:L.resetStart},p,l)})},ready:function(l){return E.on(L.ready,l)},on:function(l,p){if(!l||!ie(p))return!1;if(l===L.bootstrap)throw new Error(".on disabled for "+l);var b=/Start$|Start:/;if(l==="*"){var k=function($){return function(K){return function(G){return G.type.match(b)&&p({payload:G,instance:E,plugins:a}),K(G)}}},D=function($){return function(K){return function(G){return G.type.match(b)||p({payload:G,instance:E,plugins:a}),K(G)}}};return m(k,Be),m(D,Je),function(){S(k,Be),S(D,Je)}}var R=l.match(b)?Be:Je,V=function($){return function(K){return function(G){return G.type===l&&p({payload:G,instance:E,plugins:a,abort:j}),K(G)}}};return m(V,R),function(){return S(V,R)}},once:function(l,p){if(!l||!ie(p))return!1;if(l===L.bootstrap)throw new Error(".once disabled for "+l);var b=E.on(l,function(k){var D=k.payload;p({payload:D,instance:E,plugins:a,abort:j}),b()});return b},getState:function(l){var p=v.getState();return l?xn(p,l):Object.assign({},p)},dispatch:function(l){var p=Qe(l)?{type:l}:l;if(fo(p.type))throw new Error("reserved action "+p.type);var b=l._||{},k=A(A({},p),{},{_:A({originalAction:p.type},b)});v.dispatch(k)},enablePlugin:_.enable,disablePlugin:_.disable,plugins:_,storage:{getItem:i.getItem,setItem:function(l,p,b){v.dispatch({type:L.setItemStart,key:l,value:p,options:b})},removeItem:function(l,p){v.dispatch({type:L.removeItemStart,key:l,options:p})}},setAnonymousId:function(l,p){E.storage.setItem(he,l,p)},events:{all:f,core:nt,plugins:s}},P=function(l){return function(p){return function(b){return b.meta||(b.meta=Kn()),p(b)}}},C=r.middlewares.concat([P,O(Be),Co(E,h,{all:f,plugins:s}),Mo(i),po(E),mo(E),O(Je)]),M={context:Jo,user:ho(i),page:Xo,track:Wo,plugins:Ro(h),queue:$o},z=Ie,F=Ie;if(ue&&e.debug){var H=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;H&&(z=H({trace:!0,traceLimit:25})),F=function(){return arguments.length===0?Gr():te(Y(arguments[0]))?Gn():Gn().apply(null,arguments)}}var W=Qo(e),q=r.pluginsArray.reduce(function(l,p){var b=p.name,k=p.config,D=p.loaded,R=r.pluginEnabled[b];return l[b]={enabled:R,initialized:R?!p.initialize:!1,loaded:!!D(),config:k||{}},l},{}),w={context:W,user:x,plugins:q},v=_r(ao(A(A({},M),t)),w,F(z(so.apply(void 0,Me(C)))));function N(l){return function(p,b,k){var D=Kn(p.meta,b,bt(k)),R=A(A({},p),{meta:D});return l.apply(null,[R])}}v.dispatch=N(v.dispatch);var U=Object.keys(a);v.dispatch({type:L.bootstrap,plugins:U,config:W,params:I,user:x,initialUser:n,persistedUser:d});var T=U.filter(function(l){return r.pluginEnabled[l]}),g=U.filter(function(l){return!r.pluginEnabled[l]});v.dispatch({type:L.registerPlugins,plugins:U,enabled:r.pluginEnabled}),r.pluginsArray.map(function(l,p){var b=l.bootstrap,k=l.config,D=l.name;b&&ie(b)&&b({instance:E,config:k,payload:l}),v.dispatch({type:L.registerPluginType(D),name:D,enabled:r.pluginEnabled[D],plugin:l}),r.pluginsArray.length===p+1&&v.dispatch({type:L.initializeStart,plugins:T,disabled:g})}),ta(function(l){v.dispatch({type:l?L.offline:L.online})}),vo(v,h,E);function y(l){return function(){for(var p=Array.prototype.slice.call(arguments),b=new Array(l.length),k=0;k<p.length;k++)b[k]=p[k];return b[b.length]=E,l.apply({instance:E},b)}}return E}var Be="before",Je="after",Ue="cookie",me=qr(),on=lt,Kr=lt;function Fr(e){return me?lt(e,"",-1):we(e)}function qr(){if(me!==void 0)return me;var e="cookiecookie";try{lt(e,e),me=document.cookie.indexOf(e)!==-1,Fr(e)}catch{me=!1}return me}function lt(e,t,n,r,i,o){if(typeof window<"u"){var a=arguments.length>1;return me===!1&&(a?se(e,t):ce(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 Le="localStorage",aa=ut.bind(null,"localStorage"),an=le("localStorage","getItem",ce),sa=le("localStorage","setItem",se),Xr=le("localStorage","removeItem",we),Re="sessionStorage",ua=ut.bind(null,"sessionStorage");le("sessionStorage","getItem",ce);le("sessionStorage","setItem",se);le("sessionStorage","removeItem",we);var Fn,Br="any",Jr="*",Rt=typeof process<"u"?process:{};(Fn=Rt.env)!=null&&Fn.NODE_ENV;var ca=typeof window<"u";Rt.versions!=null&&Rt.versions.node!=null;typeof Deno<"u"&&Deno.core;ca&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ft(e,t){return typeof t===e}ft.bind(null,"function");var la=ft.bind(null,"string"),Oe=ft.bind(null,"undefined");ft.bind(null,"boolean");function fa(e){return e&&(typeof e=="object"||e!==null)}function pa(e){if(!fa(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ee(e){var t=e;try{if((t=JSON.parse(e))==="true")return!0;if(t==="false")return!1;if(pa(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch{}if(t!==null&&t!=="")return t}var da=aa(),ha=ua(),ga=qr();function Yr(e,t){if(e){var n=sn(t),r=!fn(n),i=un(n)?Ee(localStorage.getItem(e)):void 0;if(r&&!Oe(i))return i;var o=cn(n)?Ee(on(e)):void 0;if(r&&o)return o;var a=ln(n)?Ee(sessionStorage.getItem(e)):void 0;if(r&&a)return a;var s=ce(e);return r?s:{localStorage:i,sessionStorage:a,cookie:o,global:s}}}function ma(e,t,n){if(e&&!Oe(t)){var r={},i=sn(n),o=JSON.stringify(t),a=!fn(i);return un(i)&&(r[Le]=Ye(Le,t,Ee(localStorage.getItem(e))),localStorage.setItem(e,o),a)?r[Le]:cn(i)&&(r[Ue]=Ye(Ue,t,Ee(on(e))),Kr(e,o),a)?r[Ue]:ln(i)&&(r[Re]=Ye(Re,t,Ee(sessionStorage.getItem(e))),sessionStorage.setItem(e,o),a)?r[Re]:(r[Ce]=Ye(Ce,t,ce(e)),se(e,t),a?r[Ce]:r)}}function ya(e,t){if(e){var n=sn(t),r=Yr(e,Jr),i={};return!Oe(r.localStorage)&&un(n)&&(localStorage.removeItem(e),i[Le]=r.localStorage),!Oe(r.cookie)&&cn(n)&&(Fr(e),i[Ue]=r.cookie),!Oe(r.sessionStorage)&&ln(n)&&(sessionStorage.removeItem(e),i[Re]=r.sessionStorage),!Oe(r.global)&&pt(n,Ce)&&(we(e),i[Ce]=r.global),i}}function sn(e){return e?la(e)?e:e.storage:Br}function un(e){return da&&pt(e,Le)}function cn(e){return ga&&pt(e,Ue)}function ln(e){return ha&&pt(e,Re)}function fn(e){return e===Jr||e==="all"}function pt(e,t){return e===Br||e===t||fn(e)}function Ye(e,t,n){return{location:e,current:t,previous:n}}var va={setItem:ma,getItem:Yr,removeItem:ya};function ba(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qn(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 Xn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qn(Object(n),!0).forEach(function(r){ba(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function wa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t={storage:va};return oa(Xn(Xn({},t),e))}function ne(e){"@babel/helpers - typeof";return ne=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},ne(e)}function Sa(e,t){if(ne(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ne(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Oa(e){var t=Sa(e,"string");return ne(t)=="symbol"?t:t+""}function pn(e,t,n){return(t=Oa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bn(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 Q(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Bn(Object(n),!0).forEach(function(r){pn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jn={exports:{}},Yn={exports:{}},Qn;function xa(){return Qn||(Qn=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}(Yn)),Yn.exports}var Zn;function Ea(){return Zn||(Zn=1,function(e){var t=xa().default;function n(){e.exports=n=function(){return i},e.exports.__esModule=!0,e.exports.default=e.exports;var r,i={},o=Object.prototype,a=o.hasOwnProperty,s=typeof Symbol=="function"?Symbol:{},u=s.iterator||"@@iterator",f=s.asyncIterator||"@@asyncIterator",h=s.toStringTag||"@@toStringTag";function c(w,v,N,U){return Object.defineProperty(w,v,{value:N,enumerable:!U,configurable:!U,writable:!U})}try{c({},"")}catch{c=function(w,v,N){return w[v]=N}}function m(w,v,N,U){var T=v&&v.prototype instanceof j?v:j,g=Object.create(T.prototype);return c(g,"_invoke",function(y,l,p){var b=1;return function(k,D){if(b===3)throw Error("Generator is already running");if(b===4){if(k==="throw")throw D;return{value:r,done:!0}}for(p.method=k,p.arg=D;;){var R=p.delegate;if(R){var V=z(R,p);if(V){if(V===O)continue;return V}}if(p.method==="next")p.sent=p._sent=p.arg;else if(p.method==="throw"){if(b===1)throw b=4,p.arg;p.dispatchException(p.arg)}else p.method==="return"&&p.abrupt("return",p.arg);b=3;var $=S(y,l,p);if($.type==="normal"){if(b=p.done?4:2,$.arg===O)continue;return{value:$.arg,done:p.done}}$.type==="throw"&&(b=4,p.method="throw",p.arg=$.arg)}}}(w,N,new W(U||[])),!0),g}function S(w,v,N){try{return{type:"normal",arg:w.call(v,N)}}catch(U){return{type:"throw",arg:U}}}i.wrap=m;var O={};function j(){}function I(){}function d(){}var x={};c(x,u,function(){return this});var _=Object.getPrototypeOf,E=_&&_(_(q([])));E&&E!==o&&a.call(E,u)&&(x=E);var P=d.prototype=j.prototype=Object.create(x);function C(w){["next","throw","return"].forEach(function(v){c(w,v,function(N){return this._invoke(v,N)})})}function M(w,v){function N(T,g,y,l){var p=S(w[T],w,g);if(p.type!=="throw"){var b=p.arg,k=b.value;return k&&t(k)=="object"&&a.call(k,"__await")?v.resolve(k.__await).then(function(D){N("next",D,y,l)},function(D){N("throw",D,y,l)}):v.resolve(k).then(function(D){b.value=D,y(b)},function(D){return N("throw",D,y,l)})}l(p.arg)}var U;c(this,"_invoke",function(T,g){function y(){return new v(function(l,p){N(T,g,l,p)})}return U=U?U.then(y,y):y()},!0)}function z(w,v){var N=v.method,U=w.i[N];if(U===r)return v.delegate=null,N==="throw"&&w.i.return&&(v.method="return",v.arg=r,z(w,v),v.method==="throw")||N!=="return"&&(v.method="throw",v.arg=new TypeError("The iterator does not provide a '"+N+"' method")),O;var T=S(U,w.i,v.arg);if(T.type==="throw")return v.method="throw",v.arg=T.arg,v.delegate=null,O;var g=T.arg;return g?g.done?(v[w.r]=g.value,v.next=w.n,v.method!=="return"&&(v.method="next",v.arg=r),v.delegate=null,O):g:(v.method="throw",v.arg=new TypeError("iterator result is not an object"),v.delegate=null,O)}function F(w){this.tryEntries.push(w)}function H(w){var v=w[4]||{};v.type="normal",v.arg=r,w[4]=v}function W(w){this.tryEntries=[[-1]],w.forEach(F,this),this.reset(!0)}function q(w){if(w!=null){var v=w[u];if(v)return v.call(w);if(typeof w.next=="function")return w;if(!isNaN(w.length)){var N=-1,U=function T(){for(;++N<w.length;)if(a.call(w,N))return T.value=w[N],T.done=!1,T;return T.value=r,T.done=!0,T};return U.next=U}}throw new TypeError(t(w)+" is not iterable")}return I.prototype=d,c(P,"constructor",d),c(d,"constructor",I),I.displayName=c(d,h,"GeneratorFunction"),i.isGeneratorFunction=function(w){var v=typeof w=="function"&&w.constructor;return!!v&&(v===I||(v.displayName||v.name)==="GeneratorFunction")},i.mark=function(w){return Object.setPrototypeOf?Object.setPrototypeOf(w,d):(w.__proto__=d,c(w,h,"GeneratorFunction")),w.prototype=Object.create(P),w},i.awrap=function(w){return{__await:w}},C(M.prototype),c(M.prototype,f,function(){return this}),i.AsyncIterator=M,i.async=function(w,v,N,U,T){T===void 0&&(T=Promise);var g=new M(m(w,v,N,U),T);return i.isGeneratorFunction(v)?g:g.next().then(function(y){return y.done?y.value:g.next()})},C(P),c(P,h,"Generator"),c(P,u,function(){return this}),c(P,"toString",function(){return"[object Generator]"}),i.keys=function(w){var v=Object(w),N=[];for(var U in v)N.unshift(U);return function T(){for(;N.length;)if((U=N.pop())in v)return T.value=U,T.done=!1,T;return T.done=!0,T}},i.values=q,W.prototype={constructor:W,reset:function(w){if(this.prev=this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(H),!w)for(var v in this)v.charAt(0)==="t"&&a.call(this,v)&&!isNaN(+v.slice(1))&&(this[v]=r)},stop:function(){this.done=!0;var w=this.tryEntries[0][4];if(w.type==="throw")throw w.arg;return this.rval},dispatchException:function(w){if(this.done)throw w;var v=this;function N(b){g.type="throw",g.arg=w,v.next=b}for(var U=v.tryEntries.length-1;U>=0;--U){var T=this.tryEntries[U],g=T[4],y=this.prev,l=T[1],p=T[2];if(T[0]===-1)return N("end"),!1;if(!l&&!p)throw Error("try statement without catch or finally");if(T[0]!=null&&T[0]<=y){if(y<l)return this.method="next",this.arg=r,N(l),!0;if(y<p)return N(p),!1}}},abrupt:function(w,v){for(var N=this.tryEntries.length-1;N>=0;--N){var U=this.tryEntries[N];if(U[0]>-1&&U[0]<=this.prev&&this.prev<U[2]){var T=U;break}}T&&(w==="break"||w==="continue")&&T[0]<=v&&v<=T[2]&&(T=null);var g=T?T[4]:{};return g.type=w,g.arg=v,T?(this.method="next",this.next=T[2],O):this.complete(g)},complete:function(w,v){if(w.type==="throw")throw w.arg;return w.type==="break"||w.type==="continue"?this.next=w.arg:w.type==="return"?(this.rval=this.arg=w.arg,this.method="return",this.next="end"):w.type==="normal"&&v&&(this.next=v),O},finish:function(w){for(var v=this.tryEntries.length-1;v>=0;--v){var N=this.tryEntries[v];if(N[2]===w)return this.complete(N[4],N[3]),H(N),O}},catch:function(w){for(var v=this.tryEntries.length-1;v>=0;--v){var N=this.tryEntries[v];if(N[0]===w){var U=N[4];if(U.type==="throw"){var T=U.arg;H(N)}return T}}throw Error("illegal catch attempt")},delegateYield:function(w,v,N){return this.delegate={i:q(w),r:v,n:N},this.method==="next"&&(this.arg=r),O}},i}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(Jn)),Jn.exports}var wt,er;function ka(){if(er)return wt;er=1;var e=Ea()();wt=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}return wt}var Aa=ka(),X=Qr(Aa);function tr(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(f){return void n(f)}s.done?t(u):Promise.resolve(u).then(r,i)}function re(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(u){tr(o,r,i,a,s,"next",u)}function s(u){tr(o,r,i,a,s,"throw",u)}a(void 0)})}}var nr=function(){};function Ia(e,t){var n,r,i,o=(t=t||{}).initial||[],a=t.max||1/0,s=t.interval||1e4,u=t.onEmpty||nr,f=t.onPause||nr;function h(m){clearInterval(n);var S=o.splice(0,a);return S.length&&e(S,o),o.length?m?h():c():(i=!1,u(o))}function c(){i=!0,n=setInterval(h,s)}return o.length&&c(),{flush:function(m){h(m)},resume:h,push:function(m){return(r=o.push(m))>=a&&!t.throttle&&h(),i||c(),r},size:function(){return o.length},pause:function(m){m&&h(),clearInterval(n),i=!1,f(o)}}}ut.bind(null,"sessionStorage");var ja=le("sessionStorage","getItem",ce),Pa=le("sessionStorage","setItem",se);le("sessionStorage","removeItem",we);var Zr="__session",rr=["id","createdAt","created"];function zt(e){var t=e?new Date(e):new Date;return[t.toISOString(),t.getTime()]}function ei(){var e=zt(),t=e[0],n=e[1];return{id:be(),created:n,createdAt:t}}var Ta={session:[ja,Pa],page:[ce,se]};function dt(e,t){for(var n=Ta[e],r=n[0],i=n[1],o=ei(),a=!1,s={},u=0;u<rr.length;u++){var f=rr[u],h="__"+e+"__session__"+f,c=r(h);a=t||!c,(t||!t&&!c)&&i(h,o[f]);var m=c&&!t?c:o[f],S=f!=="created"?m:Number(m);s[f]=S}return dn(s,a)}function dn(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 Ve(e,t){e===void 0&&(e=30);var n=on(Zr),r=n?JSON.parse(n):rt(e);return t?r:dn(r,!n)}function rt(e,t,n){e===void 0&&(e=30);var r=n?Ve(e,!0):ei(),i=60*e,o=r.created;if(n){var a=zt(),s=a[0],u=a[1];r.modified=u,r.modifiedAt=s,o=u}var f=zt(o+1e3*i),h=f[0];return r.expires=f[1],r.expiresAt=h,r.duration=1e3*i,t&&(r=Object.assign(r,t)),Kr(Zr,JSON.stringify(r),i),dn(r,!n)}var Na=function(e,t){return rt(e,t,!0)},ti=dt.bind(null,"session"),_a=dt.bind(null,"session",!0),hn=dt.bind(null,"page"),ir=dt.bind(null,"page",!0),ve=typeof window<"u";function Ca(e){return typeof e=="string"}function or(e){return typeof e=="boolean"}var St,ar;function Ma(){if(ar)return St;ar=1;var e=function(d){return t(d)&&!n(d)};function t(d){return!!d&&typeof d=="object"}function n(d){var x=Object.prototype.toString.call(d);return x==="[object RegExp]"||x==="[object Date]"||o(d)}var r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103;function o(d){return d.$$typeof===i}function a(d){return Array.isArray(d)?[]:{}}function s(d,x){return x.clone!==!1&&x.isMergeableObject(d)?j(a(d),d,x):d}function u(d,x,_){return d.concat(x).map(function(E){return s(E,_)})}function f(d,x){if(!x.customMerge)return j;var _=x.customMerge(d);return typeof _=="function"?_:j}function h(d){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(d).filter(function(x){return Object.propertyIsEnumerable.call(d,x)}):[]}function c(d){return Object.keys(d).concat(h(d))}function m(d,x){try{return x in d}catch{return!1}}function S(d,x){return m(d,x)&&!(Object.hasOwnProperty.call(d,x)&&Object.propertyIsEnumerable.call(d,x))}function O(d,x,_){var E={};return _.isMergeableObject(d)&&c(d).forEach(function(P){E[P]=s(d[P],_)}),c(x).forEach(function(P){S(d,P)||(m(d,P)&&_.isMergeableObject(x[P])?E[P]=f(P,_)(d[P],x[P],_):E[P]=s(x[P],_))}),E}function j(d,x,_){_=_||{},_.arrayMerge=_.arrayMerge||u,_.isMergeableObject=_.isMergeableObject||e,_.cloneUnlessOtherwiseSpecified=s;var E=Array.isArray(x),P=Array.isArray(d),C=E===P;return C?E?_.arrayMerge(d,x,_):O(d,x,_):s(x,_)}j.all=function(d,x){if(!Array.isArray(d))throw new Error("first argument should be an array");return d.reduce(function(_,E){return j(_,E,x)},{})};var I=j;return St=I,St}var Da=Ma(),Ua=Qr(Da);var Wt=new TextEncoder,La={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"},Ra=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]),Vt=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 $t(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")}},$t=class{constructor({method:t,url:n,headers:r,body:i,accessKeyId:o,secretAccessKey:a,sessionToken:s,service:u,region:f,cache:h,datetime:c,signQuery:m,appendSessionToken:S,allHeaders:O,singleEncode:j}){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 I,d;(!u||!f)&&([I,d]=za(this.url,this.headers)),this.service=u||I||"",this.region=f||d||"us-east-1",this.cache=h||new Map,this.datetime=c||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=m,this.appendSessionToken=S||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 x=this.signQuery?this.url.searchParams:this.headers;if(x.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&x.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter(E=>O||!Ra.has(E)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(E=>E+":"+(E==="host"?this.url.host:(this.headers.get(E)||"").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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250513 */
|
4
|
+
import"./C44EKR3M.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./OHY2KQUC.js";var{entries:dt,setPrototypeOf:at,isFrozen:Wt,getPrototypeOf:Bt,getOwnPropertyDescriptor:Yt}=Object,{freeze:S,seal:O,create:Tt}=Object,{apply:Ce,construct:we}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});O||(O=function(o){return o});Ce||(Ce=function(o,l,s){return o.apply(l,s)});we||(we=function(o,l){return new o(...l)});var se=R(Array.prototype.forEach),Xt=R(Array.prototype.lastIndexOf),rt=R(Array.prototype.pop),V=R(Array.prototype.push),jt=R(Array.prototype.splice),ce=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),st=R(String.prototype.match),$=R(String.prototype.replace),Vt=R(String.prototype.indexOf),$t=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),q=qt(TypeError);function R(r){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return Ce(r,o,s)}}function qt(r){return function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return we(r,l)}}function a(r,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ce;at&&at(r,null);let s=o.length;for(;s--;){let T=o[s];if(typeof T=="string"){let b=l(T);b!==T&&(Wt(o)||(o[s]=b),T=b)}r[T]=!0}return r}function Kt(r){for(let o=0;o<r.length;o++)L(r,o)||(r[o]=null);return r}function w(r){let o=Tt(null);for(let[l,s]of dt(r))L(r,l)&&(Array.isArray(s)?o[l]=Kt(s):s&&typeof s=="object"&&s.constructor===Object?o[l]=w(s):o[l]=s);return o}function K(r,o){for(;r!==null;){let s=Yt(r,o);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}r=Bt(r)}function l(){return null}return l}var lt=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),De=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),be=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Zt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ie=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Jt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ct=S(["#text"]),ft=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Me=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ut=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),le=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Qt=O(/\{\{[\w\W]*|[\w\W]*\}\}/gm),en=O(/<%[\w\W]*|[\w\W]*%>/gm),tn=O(/\$\{[\w\W]*/gm),nn=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),on=O(/^aria-[\-\w]+$/),_t=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),an=O(/^(?:\w+script|data):/i),rn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Et=O(/^html$/i),sn=O(/^[a-z][.\w]*(-[.\w]+)+$/i),mt=Object.freeze({__proto__:null,ARIA_ATTR:on,ATTR_WHITESPACE:rn,CUSTOM_ELEMENT:sn,DATA_ATTR:nn,DOCTYPE_NAME:Et,ERB_EXPR:en,IS_ALLOWED_URI:_t,IS_SCRIPT_OR_DATA:an,MUSTACHE_EXPR:Qt,TMPLIT_EXPR:tn}),Z={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ln=function(){return typeof window>"u"?null:window},cn=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let s=null,T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));let b="dompurify"+(s?"#"+s:"");try{return o.createPolicy(b,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+b+" could not be created."),null}},pt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function gt(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ln(),o=i=>gt(i);if(o.version="3.2.5",o.removed=[],!r||!r.document||r.document.nodeType!==Z.document||!r.Element)return o.isSupported=!1,o;let{document:l}=r,s=l,T=s.currentScript,{DocumentFragment:b,HTMLTemplateElement:x,Node:fe,Element:xe,NodeFilter:z,NamedNodeMap:ht=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:At,DOMParser:St,trustedTypes:J}=r,G=xe.prototype,Rt=K(G,"cloneNode"),yt=K(G,"remove"),Ot=K(G,"nextSibling"),Lt=K(G,"childNodes"),Q=K(G,"parentNode");if(typeof x=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let E,W="",{implementation:ue,createNodeIterator:Nt,createDocumentFragment:Dt,getElementsByTagName:bt}=l,{importNode:It}=s,g=pt();o.isSupported=typeof dt=="function"&&typeof Q=="function"&&ue&&ue.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:me,ERB_EXPR:pe,TMPLIT_EXPR:de,DATA_ATTR:Mt,ARIA_ATTR:Ct,IS_SCRIPT_OR_DATA:wt,ATTR_WHITESPACE:Pe,CUSTOM_ELEMENT:xt}=mt,{IS_ALLOWED_URI:ve}=mt,u=null,ke=a({},[...lt,...De,...be,...Ie,...ct]),p=null,Ue=a({},[...ft,...Me,...ut,...le]),f=Object.seal(Tt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),B=null,Te=null,Fe=!0,_e=!0,He=!1,ze=!0,P=!1,Ee=!0,C=!1,ge=!1,he=!1,v=!1,ee=!1,te=!1,Ge=!0,We=!1,Pt="user-content-",Ae=!0,Y=!1,k={},U=null,Be=a({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,Xe=a({},["audio","video","img","source","image","track"]),Se=null,je=a({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ne="http://www.w3.org/1998/Math/MathML",oe="http://www.w3.org/2000/svg",I="http://www.w3.org/1999/xhtml",F=I,Re=!1,ye=null,vt=a({},[ne,oe,I],Ne),ie=a({},["mi","mo","mn","ms","mtext"]),ae=a({},["annotation-xml"]),kt=a({},["title","style","font","a","script"]),X=null,Ut=["application/xhtml+xml","text/html"],Ft="text/html",m=null,H=null,Ht=l.createElement("form"),Ve=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=w(e),X=Ut.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ft:e.PARSER_MEDIA_TYPE,m=X==="application/xhtml+xml"?Ne:ce,u=L(e,"ALLOWED_TAGS")?a({},e.ALLOWED_TAGS,m):ke,p=L(e,"ALLOWED_ATTR")?a({},e.ALLOWED_ATTR,m):Ue,ye=L(e,"ALLOWED_NAMESPACES")?a({},e.ALLOWED_NAMESPACES,Ne):vt,Se=L(e,"ADD_URI_SAFE_ATTR")?a(w(je),e.ADD_URI_SAFE_ATTR,m):je,Ye=L(e,"ADD_DATA_URI_TAGS")?a(w(Xe),e.ADD_DATA_URI_TAGS,m):Xe,U=L(e,"FORBID_CONTENTS")?a({},e.FORBID_CONTENTS,m):Be,B=L(e,"FORBID_TAGS")?a({},e.FORBID_TAGS,m):{},Te=L(e,"FORBID_ATTR")?a({},e.FORBID_ATTR,m):{},k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,Fe=e.ALLOW_ARIA_ATTR!==!1,_e=e.ALLOW_DATA_ATTR!==!1,He=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ze=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,Ee=e.SAFE_FOR_XML!==!1,C=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ee=e.RETURN_DOM_FRAGMENT||!1,te=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,Ge=e.SANITIZE_DOM!==!1,We=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,Y=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||_t,F=e.NAMESPACE||I,ie=e.MATHML_TEXT_INTEGRATION_POINTS||ie,ae=e.HTML_INTEGRATION_POINTS||ae,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ve(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ve(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(_e=!1),ee&&(v=!0),k&&(u=a({},ct),p=[],k.html===!0&&(a(u,lt),a(p,ft)),k.svg===!0&&(a(u,De),a(p,Me),a(p,le)),k.svgFilters===!0&&(a(u,be),a(p,Me),a(p,le)),k.mathMl===!0&&(a(u,Ie),a(p,ut),a(p,le))),e.ADD_TAGS&&(u===ke&&(u=w(u)),a(u,e.ADD_TAGS,m)),e.ADD_ATTR&&(p===Ue&&(p=w(p)),a(p,e.ADD_ATTR,m)),e.ADD_URI_SAFE_ATTR&&a(Se,e.ADD_URI_SAFE_ATTR,m),e.FORBID_CONTENTS&&(U===Be&&(U=w(U)),a(U,e.FORBID_CONTENTS,m)),Ae&&(u["#text"]=!0),C&&a(u,["html","head","body"]),u.table&&(a(u,["tbody"]),delete B.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');E=e.TRUSTED_TYPES_POLICY,W=E.createHTML("")}else E===void 0&&(E=cn(J,T)),E!==null&&typeof W=="string"&&(W=E.createHTML(""));S&&S(e),H=e}},$e=a({},[...De,...be,...Zt]),qe=a({},[...Ie,...Jt]),zt=function(e){let t=Q(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});let n=ce(e.tagName),c=ce(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===oe?t.namespaceURI===I?n==="svg":t.namespaceURI===ne?n==="svg"&&(c==="annotation-xml"||ie[c]):!!$e[n]:e.namespaceURI===ne?t.namespaceURI===I?n==="math":t.namespaceURI===oe?n==="math"&&ae[c]:!!qe[n]:e.namespaceURI===I?t.namespaceURI===oe&&!ae[c]||t.namespaceURI===ne&&!ie[c]?!1:!qe[n]&&(kt[n]||!$e[n]):!!(X==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},N=function(e){V(o.removed,{element:e});try{Q(e).removeChild(e)}catch{yt(e)}},re=function(e,t){try{V(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{V(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ee)try{N(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ke=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{let d=st(e,/^[\r\n\t ]+/);n=d&&d[0]}X==="application/xhtml+xml"&&F===I&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let c=E?E.createHTML(e):e;if(F===I)try{t=new St().parseFromString(c,X)}catch{}if(!t||!t.documentElement){t=ue.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?W:c}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===I?bt.call(t,C?"html":"body")[0]:C?t.documentElement:_},Ze=function(e){return Nt.call(e.ownerDocument||e,e,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT|z.SHOW_PROCESSING_INSTRUCTION|z.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof At&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof ht)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Je=function(e){return typeof fe=="function"&&e instanceof fe};function M(i,e,t){se(i,n=>{n.call(o,e,t,H)})}let Qe=function(e){let t=null;if(M(g.beforeSanitizeElements,e,null),Le(e))return N(e),!0;let n=m(e.nodeName);if(M(g.uponSanitizeElement,e,{tagName:n,allowedTags:u}),e.hasChildNodes()&&!Je(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===Z.progressingInstruction||Ee&&e.nodeType===Z.comment&&A(/<[/\w]/g,e.data))return N(e),!0;if(!u[n]||B[n]){if(!B[n]&&tt(n)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(Ae&&!U[n]){let c=Q(e)||e.parentNode,_=Lt(e)||e.childNodes;if(_&&c){let d=_.length;for(let y=d-1;y>=0;--y){let D=Rt(_[y],!0);D.__removalCount=(e.__removalCount||0)+1,c.insertBefore(D,Ot(e))}}}return N(e),!0}return e instanceof xe&&!zt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(N(e),!0):(P&&e.nodeType===Z.text&&(t=e.textContent,se([me,pe,de],c=>{t=$(t,c," ")}),e.textContent!==t&&(V(o.removed,{element:e.cloneNode()}),e.textContent=t)),M(g.afterSanitizeElements,e,null),!1)},et=function(e,t,n){if(Ge&&(t==="id"||t==="name")&&(n in l||n in Ht))return!1;if(!(_e&&!Te[t]&&A(Mt,t))){if(!(Fe&&A(Ct,t))){if(!p[t]||Te[t]){if(!(tt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Se[t]){if(!A(ve,$(n,Pe,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Vt(n,"data:")===0&&Ye[e])){if(!(He&&!A(wt,$(n,Pe,"")))){if(n)return!1}}}}}}return!0},tt=function(e){return e!=="annotation-xml"&&st(e,xt)},nt=function(e){M(g.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||Le(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:p,forceKeepAttr:void 0},c=t.length;for(;c--;){let _=t[c],{name:d,namespaceURI:y,value:D}=_,j=m(d),h=d==="value"?D:$t(D);if(n.attrName=j,n.attrValue=h,n.keepAttr=!0,n.forceKeepAttr=void 0,M(g.uponSanitizeAttribute,e,n),h=n.attrValue,We&&(j==="id"||j==="name")&&(re(d,e),h=Pt+h),Ee&&A(/((--!?|])>)|<\/(style|title)/i,h)){re(d,e);continue}if(n.forceKeepAttr||(re(d,e),!n.keepAttr))continue;if(!ze&&A(/\/>/i,h)){re(d,e);continue}P&&se([me,pe,de],it=>{h=$(h,it," ")});let ot=m(e.nodeName);if(et(ot,j,h)){if(E&&typeof J=="object"&&typeof J.getAttributeType=="function"&&!y)switch(J.getAttributeType(ot,j)){case"TrustedHTML":{h=E.createHTML(h);break}case"TrustedScriptURL":{h=E.createScriptURL(h);break}}try{y?e.setAttributeNS(y,d,h):e.setAttribute(d,h),Le(e)?N(e):rt(o.removed)}catch{}}}M(g.afterSanitizeAttributes,e,null)},Gt=function i(e){let t=null,n=Ze(e);for(M(g.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)M(g.uponSanitizeShadowNode,t,null),Qe(t),nt(t),t.content instanceof b&&i(t.content);M(g.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Je(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw q("dirty is not a string, aborting")}else throw q("toString is not a function");if(!o.isSupported)return i;if(ge||Oe(e),o.removed=[],typeof i=="string"&&(Y=!1),Y){if(i.nodeName){let D=m(i.nodeName);if(!u[D]||B[D])throw q("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof fe)t=Ke("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===Z.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!v&&!P&&!C&&i.indexOf("<")===-1)return E&&te?E.createHTML(i):i;if(t=Ke(i),!t)return v?null:te?W:""}t&&he&&N(t.firstChild);let d=Ze(Y?i:t);for(;c=d.nextNode();)Qe(c),nt(c),c.content instanceof b&&Gt(c.content);if(Y)return i;if(v){if(ee)for(_=Dt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(p.shadowroot||p.shadowrootmode)&&(_=It.call(s,_,!0)),_}let y=C?t.outerHTML:t.innerHTML;return C&&u["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(Et,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
3
|
+
v1.0.0-next.20250513 */
|
4
|
+
import"./C44EKR3M.js";var{entries:dt,setPrototypeOf:at,isFrozen:Wt,getPrototypeOf:Bt,getOwnPropertyDescriptor:Yt}=Object,{freeze:S,seal:O,create:Tt}=Object,{apply:Ce,construct:we}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});O||(O=function(o){return o});Ce||(Ce=function(o,l,s){return o.apply(l,s)});we||(we=function(o,l){return new o(...l)});var se=R(Array.prototype.forEach),Xt=R(Array.prototype.lastIndexOf),rt=R(Array.prototype.pop),V=R(Array.prototype.push),jt=R(Array.prototype.splice),ce=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),st=R(String.prototype.match),$=R(String.prototype.replace),Vt=R(String.prototype.indexOf),$t=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),q=qt(TypeError);function R(r){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return Ce(r,o,s)}}function qt(r){return function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return we(r,l)}}function a(r,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ce;at&&at(r,null);let s=o.length;for(;s--;){let T=o[s];if(typeof T=="string"){let b=l(T);b!==T&&(Wt(o)||(o[s]=b),T=b)}r[T]=!0}return r}function Kt(r){for(let o=0;o<r.length;o++)L(r,o)||(r[o]=null);return r}function w(r){let o=Tt(null);for(let[l,s]of dt(r))L(r,l)&&(Array.isArray(s)?o[l]=Kt(s):s&&typeof s=="object"&&s.constructor===Object?o[l]=w(s):o[l]=s);return o}function K(r,o){for(;r!==null;){let s=Yt(r,o);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}r=Bt(r)}function l(){return null}return l}var lt=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),De=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),be=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Zt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ie=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Jt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ct=S(["#text"]),ft=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Me=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ut=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),le=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Qt=O(/\{\{[\w\W]*|[\w\W]*\}\}/gm),en=O(/<%[\w\W]*|[\w\W]*%>/gm),tn=O(/\$\{[\w\W]*/gm),nn=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),on=O(/^aria-[\-\w]+$/),_t=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),an=O(/^(?:\w+script|data):/i),rn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Et=O(/^html$/i),sn=O(/^[a-z][.\w]*(-[.\w]+)+$/i),mt=Object.freeze({__proto__:null,ARIA_ATTR:on,ATTR_WHITESPACE:rn,CUSTOM_ELEMENT:sn,DATA_ATTR:nn,DOCTYPE_NAME:Et,ERB_EXPR:en,IS_ALLOWED_URI:_t,IS_SCRIPT_OR_DATA:an,MUSTACHE_EXPR:Qt,TMPLIT_EXPR:tn}),Z={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ln=function(){return typeof window>"u"?null:window},cn=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let s=null,T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));let b="dompurify"+(s?"#"+s:"");try{return o.createPolicy(b,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+b+" could not be created."),null}},pt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function gt(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ln(),o=i=>gt(i);if(o.version="3.2.5",o.removed=[],!r||!r.document||r.document.nodeType!==Z.document||!r.Element)return o.isSupported=!1,o;let{document:l}=r,s=l,T=s.currentScript,{DocumentFragment:b,HTMLTemplateElement:x,Node:fe,Element:xe,NodeFilter:z,NamedNodeMap:ht=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:At,DOMParser:St,trustedTypes:J}=r,G=xe.prototype,Rt=K(G,"cloneNode"),yt=K(G,"remove"),Ot=K(G,"nextSibling"),Lt=K(G,"childNodes"),Q=K(G,"parentNode");if(typeof x=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let E,W="",{implementation:ue,createNodeIterator:Nt,createDocumentFragment:Dt,getElementsByTagName:bt}=l,{importNode:It}=s,g=pt();o.isSupported=typeof dt=="function"&&typeof Q=="function"&&ue&&ue.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:me,ERB_EXPR:pe,TMPLIT_EXPR:de,DATA_ATTR:Mt,ARIA_ATTR:Ct,IS_SCRIPT_OR_DATA:wt,ATTR_WHITESPACE:Pe,CUSTOM_ELEMENT:xt}=mt,{IS_ALLOWED_URI:ve}=mt,u=null,ke=a({},[...lt,...De,...be,...Ie,...ct]),p=null,Ue=a({},[...ft,...Me,...ut,...le]),f=Object.seal(Tt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),B=null,Te=null,Fe=!0,_e=!0,He=!1,ze=!0,P=!1,Ee=!0,C=!1,ge=!1,he=!1,v=!1,ee=!1,te=!1,Ge=!0,We=!1,Pt="user-content-",Ae=!0,Y=!1,k={},U=null,Be=a({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,Xe=a({},["audio","video","img","source","image","track"]),Se=null,je=a({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ne="http://www.w3.org/1998/Math/MathML",oe="http://www.w3.org/2000/svg",I="http://www.w3.org/1999/xhtml",F=I,Re=!1,ye=null,vt=a({},[ne,oe,I],Ne),ie=a({},["mi","mo","mn","ms","mtext"]),ae=a({},["annotation-xml"]),kt=a({},["title","style","font","a","script"]),X=null,Ut=["application/xhtml+xml","text/html"],Ft="text/html",m=null,H=null,Ht=l.createElement("form"),Ve=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=w(e),X=Ut.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ft:e.PARSER_MEDIA_TYPE,m=X==="application/xhtml+xml"?Ne:ce,u=L(e,"ALLOWED_TAGS")?a({},e.ALLOWED_TAGS,m):ke,p=L(e,"ALLOWED_ATTR")?a({},e.ALLOWED_ATTR,m):Ue,ye=L(e,"ALLOWED_NAMESPACES")?a({},e.ALLOWED_NAMESPACES,Ne):vt,Se=L(e,"ADD_URI_SAFE_ATTR")?a(w(je),e.ADD_URI_SAFE_ATTR,m):je,Ye=L(e,"ADD_DATA_URI_TAGS")?a(w(Xe),e.ADD_DATA_URI_TAGS,m):Xe,U=L(e,"FORBID_CONTENTS")?a({},e.FORBID_CONTENTS,m):Be,B=L(e,"FORBID_TAGS")?a({},e.FORBID_TAGS,m):{},Te=L(e,"FORBID_ATTR")?a({},e.FORBID_ATTR,m):{},k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,Fe=e.ALLOW_ARIA_ATTR!==!1,_e=e.ALLOW_DATA_ATTR!==!1,He=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ze=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,Ee=e.SAFE_FOR_XML!==!1,C=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ee=e.RETURN_DOM_FRAGMENT||!1,te=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,Ge=e.SANITIZE_DOM!==!1,We=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,Y=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||_t,F=e.NAMESPACE||I,ie=e.MATHML_TEXT_INTEGRATION_POINTS||ie,ae=e.HTML_INTEGRATION_POINTS||ae,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ve(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ve(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(_e=!1),ee&&(v=!0),k&&(u=a({},ct),p=[],k.html===!0&&(a(u,lt),a(p,ft)),k.svg===!0&&(a(u,De),a(p,Me),a(p,le)),k.svgFilters===!0&&(a(u,be),a(p,Me),a(p,le)),k.mathMl===!0&&(a(u,Ie),a(p,ut),a(p,le))),e.ADD_TAGS&&(u===ke&&(u=w(u)),a(u,e.ADD_TAGS,m)),e.ADD_ATTR&&(p===Ue&&(p=w(p)),a(p,e.ADD_ATTR,m)),e.ADD_URI_SAFE_ATTR&&a(Se,e.ADD_URI_SAFE_ATTR,m),e.FORBID_CONTENTS&&(U===Be&&(U=w(U)),a(U,e.FORBID_CONTENTS,m)),Ae&&(u["#text"]=!0),C&&a(u,["html","head","body"]),u.table&&(a(u,["tbody"]),delete B.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');E=e.TRUSTED_TYPES_POLICY,W=E.createHTML("")}else E===void 0&&(E=cn(J,T)),E!==null&&typeof W=="string"&&(W=E.createHTML(""));S&&S(e),H=e}},$e=a({},[...De,...be,...Zt]),qe=a({},[...Ie,...Jt]),zt=function(e){let t=Q(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});let n=ce(e.tagName),c=ce(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===oe?t.namespaceURI===I?n==="svg":t.namespaceURI===ne?n==="svg"&&(c==="annotation-xml"||ie[c]):!!$e[n]:e.namespaceURI===ne?t.namespaceURI===I?n==="math":t.namespaceURI===oe?n==="math"&&ae[c]:!!qe[n]:e.namespaceURI===I?t.namespaceURI===oe&&!ae[c]||t.namespaceURI===ne&&!ie[c]?!1:!qe[n]&&(kt[n]||!$e[n]):!!(X==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},N=function(e){V(o.removed,{element:e});try{Q(e).removeChild(e)}catch{yt(e)}},re=function(e,t){try{V(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{V(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ee)try{N(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ke=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{let d=st(e,/^[\r\n\t ]+/);n=d&&d[0]}X==="application/xhtml+xml"&&F===I&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let c=E?E.createHTML(e):e;if(F===I)try{t=new St().parseFromString(c,X)}catch{}if(!t||!t.documentElement){t=ue.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?W:c}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===I?bt.call(t,C?"html":"body")[0]:C?t.documentElement:_},Ze=function(e){return Nt.call(e.ownerDocument||e,e,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT|z.SHOW_PROCESSING_INSTRUCTION|z.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof At&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof ht)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Je=function(e){return typeof fe=="function"&&e instanceof fe};function M(i,e,t){se(i,n=>{n.call(o,e,t,H)})}let Qe=function(e){let t=null;if(M(g.beforeSanitizeElements,e,null),Le(e))return N(e),!0;let n=m(e.nodeName);if(M(g.uponSanitizeElement,e,{tagName:n,allowedTags:u}),e.hasChildNodes()&&!Je(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===Z.progressingInstruction||Ee&&e.nodeType===Z.comment&&A(/<[/\w]/g,e.data))return N(e),!0;if(!u[n]||B[n]){if(!B[n]&&tt(n)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(Ae&&!U[n]){let c=Q(e)||e.parentNode,_=Lt(e)||e.childNodes;if(_&&c){let d=_.length;for(let y=d-1;y>=0;--y){let D=Rt(_[y],!0);D.__removalCount=(e.__removalCount||0)+1,c.insertBefore(D,Ot(e))}}}return N(e),!0}return e instanceof xe&&!zt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(N(e),!0):(P&&e.nodeType===Z.text&&(t=e.textContent,se([me,pe,de],c=>{t=$(t,c," ")}),e.textContent!==t&&(V(o.removed,{element:e.cloneNode()}),e.textContent=t)),M(g.afterSanitizeElements,e,null),!1)},et=function(e,t,n){if(Ge&&(t==="id"||t==="name")&&(n in l||n in Ht))return!1;if(!(_e&&!Te[t]&&A(Mt,t))){if(!(Fe&&A(Ct,t))){if(!p[t]||Te[t]){if(!(tt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Se[t]){if(!A(ve,$(n,Pe,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Vt(n,"data:")===0&&Ye[e])){if(!(He&&!A(wt,$(n,Pe,"")))){if(n)return!1}}}}}}return!0},tt=function(e){return e!=="annotation-xml"&&st(e,xt)},nt=function(e){M(g.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||Le(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:p,forceKeepAttr:void 0},c=t.length;for(;c--;){let _=t[c],{name:d,namespaceURI:y,value:D}=_,j=m(d),h=d==="value"?D:$t(D);if(n.attrName=j,n.attrValue=h,n.keepAttr=!0,n.forceKeepAttr=void 0,M(g.uponSanitizeAttribute,e,n),h=n.attrValue,We&&(j==="id"||j==="name")&&(re(d,e),h=Pt+h),Ee&&A(/((--!?|])>)|<\/(style|title)/i,h)){re(d,e);continue}if(n.forceKeepAttr||(re(d,e),!n.keepAttr))continue;if(!ze&&A(/\/>/i,h)){re(d,e);continue}P&&se([me,pe,de],it=>{h=$(h,it," ")});let ot=m(e.nodeName);if(et(ot,j,h)){if(E&&typeof J=="object"&&typeof J.getAttributeType=="function"&&!y)switch(J.getAttributeType(ot,j)){case"TrustedHTML":{h=E.createHTML(h);break}case"TrustedScriptURL":{h=E.createScriptURL(h);break}}try{y?e.setAttributeNS(y,d,h):e.setAttribute(d,h),Le(e)?N(e):rt(o.removed)}catch{}}}M(g.afterSanitizeAttributes,e,null)},Gt=function i(e){let t=null,n=Ze(e);for(M(g.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)M(g.uponSanitizeShadowNode,t,null),Qe(t),nt(t),t.content instanceof b&&i(t.content);M(g.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Je(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw q("dirty is not a string, aborting")}else throw q("toString is not a function");if(!o.isSupported)return i;if(ge||Oe(e),o.removed=[],typeof i=="string"&&(Y=!1),Y){if(i.nodeName){let D=m(i.nodeName);if(!u[D]||B[D])throw q("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof fe)t=Ke("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===Z.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!v&&!P&&!C&&i.indexOf("<")===-1)return E&&te?E.createHTML(i):i;if(t=Ke(i),!t)return v?null:te?W:""}t&&he&&N(t.firstChild);let d=Ze(Y?i:t);for(;c=d.nextNode();)Qe(c),nt(c),c.content instanceof b&&Gt(c.content);if(Y)return i;if(v){if(ee)for(_=Dt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(p.shadowroot||p.shadowrootmode)&&(_=It.call(s,_,!0)),_}let y=C?t.outerHTML:t.innerHTML;return C&&u["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(Et,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
5
5
|
`+y),P&&se([me,pe,de],D=>{y=$(y,D," ")}),E&&te?E.createHTML(y):y},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Oe(i),ge=!0},o.clearConfig=function(){H=null,ge=!1},o.isValidAttribute=function(i,e,t){H||Oe({});let n=m(i),c=m(e);return et(n,c,t)},o.addHook=function(i,e){typeof e=="function"&&V(g[i],e)},o.removeHook=function(i,e){if(e!==void 0){let t=Xt(g[i],e);return t===-1?void 0:jt(g[i],t,1)[0]}return rt(g[i])},o.removeHooks=function(i){g[i]=[]},o.removeAllHooks=function(){g=pt()},o}var fn=gt();export{fn as default};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250513 */
|
4
4
|
function s(n,r){return Object.keys(n).reduce(function(i,t){return i[t]=r(n[t],t,n),i},{})}function o(n,r,e){if(e=e||"",Array.isArray(n))return n.map(u);return n&&c(n)&&!a(n)&&!x(n)&&!p(n)?Object.assign({},n,s(n,u)):r(n,e);function u(i,t){let f=""+(e?e+"."+t:t);return o(i,r,f)}}function a(n){return n instanceof Date}function p(n){return typeof n=="function"}function c(n){return typeof n=="object"}function x(n){return n instanceof RegExp}export{o as a,c as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250513 */
|
4
4
|
function i(e){let n={};if(Array.isArray(e))n=e.map(i);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let t=e[r];t!=null&&typeof t=="object"?t instanceof Date?n[r]=new Date(t.getTime()):typeof Blob<"u"&&t instanceof Blob?n[r]=new Blob([t],{type:t.type}):n[r]=i(t):n[r]=t}}else n=e;return n}function c(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function f(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let n=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(n,function(t,o,u){return u?u.toUpperCase():""}).replace(r,function(t,o,u){return t.toLowerCase()})}function s(e,n,r){return r.indexOf(e)===n}var l=e=>e==null;export{i as a,c as b,f as c,s as d,l as e};
|