dealpos 25.41.2 → 25.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/{chunk-CMQAUCAH.js → chunk-23PJKOTU.js} +1 -1
- package/browser/{chunk-G6C75N4Q.js → chunk-2OWHEMAL.js} +1 -1
- package/browser/{chunk-D3RDKDIY.js → chunk-2YDEXJE5.js} +1 -1
- package/browser/{chunk-HVMUCZ5I.js → chunk-2YMLZZTQ.js} +1 -1
- package/browser/{chunk-GGJKYPV4.js → chunk-3AW2HE63.js} +1 -1
- package/browser/{chunk-OI2RWAOV.js → chunk-3GOO5E5D.js} +1 -1
- package/browser/{chunk-3NJFM55L.js → chunk-3LBZDIW2.js} +1 -1
- package/browser/{chunk-6BL2JKZG.js → chunk-3YKVLHZG.js} +1 -1
- package/browser/{chunk-ATYFAKRP.js → chunk-42T2PR4J.js} +1 -1
- package/browser/{chunk-4SOJX57D.js → chunk-46DETXA6.js} +1 -1
- package/browser/{chunk-TNLZPCYK.js → chunk-4E2KYPJT.js} +1 -1
- package/browser/{chunk-JXJUXV43.js → chunk-4HEESH5A.js} +1 -1
- package/browser/chunk-4MOSTNVA.js +3 -0
- package/browser/{chunk-T6MTT57B.js → chunk-4QQTEPQT.js} +1 -1
- package/browser/{chunk-ZCQOFB7U.js → chunk-4SKJU2FQ.js} +1 -1
- package/browser/chunk-55U65HSD.js +1 -0
- package/browser/{chunk-UQKBA274.js → chunk-57Q3ENW2.js} +1 -1
- package/browser/{chunk-V3YO2TDM.js → chunk-5AJG5HDI.js} +1 -1
- package/browser/{chunk-YYR3XEAQ.js → chunk-5BE43QU3.js} +1 -1
- package/browser/{chunk-AKTKAREU.js → chunk-5BKBBN4I.js} +1 -1
- package/browser/chunk-5EJERM6E.js +1 -0
- package/browser/chunk-5EKTXVHQ.js +1 -0
- package/browser/{chunk-SSE7KV5S.js → chunk-5HJ6VGWE.js} +1 -1
- package/browser/{chunk-LKFDM7AC.js → chunk-5HX73JZ3.js} +1 -1
- package/browser/{chunk-OMVUFMMZ.js → chunk-5JJSLRVS.js} +1 -1
- package/browser/{chunk-I2O3VGCS.js → chunk-5M3JINH2.js} +1 -1
- package/browser/{chunk-4E2C3JC6.js → chunk-5MPRE3II.js} +1 -1
- package/browser/{chunk-BAORXMVG.js → chunk-5NDP4IKK.js} +1 -1
- package/browser/{chunk-ZIQAYIU4.js → chunk-5SEFV3QG.js} +1 -1
- package/browser/{chunk-MFIRFGE2.js → chunk-5VIFPZ5D.js} +1 -1
- package/browser/{chunk-UBMYMSUW.js → chunk-5Y67S5BV.js} +1 -1
- package/browser/{chunk-LDEAORXA.js → chunk-5ZIFEEGI.js} +1 -1
- package/browser/{chunk-IJ7U2UFN.js → chunk-6774R2EL.js} +1 -1
- package/browser/{chunk-W4BJ4JBG.js → chunk-6CAS42OB.js} +1 -1
- package/browser/{chunk-NW73SHIZ.js → chunk-6JAL37Y4.js} +1 -1
- package/browser/{chunk-YDXY6QHK.js → chunk-6OOS5QHG.js} +4 -4
- package/browser/{chunk-R7MOZHCP.js → chunk-6PGUQ3CR.js} +1 -1
- package/browser/{chunk-GHC4BCCW.js → chunk-6ZN7JR6K.js} +1 -1
- package/browser/chunk-7BNQDGUO.js +1 -0
- package/browser/{chunk-ZY3EJSWW.js → chunk-7ENDP7TZ.js} +1 -1
- package/browser/{chunk-G5HGRNM6.js → chunk-7IDMO3VZ.js} +1 -1
- package/browser/{chunk-T2PXIPKB.js → chunk-7QWJJPNG.js} +1 -1
- package/browser/{chunk-ZFNJGBST.js → chunk-7SC45GNA.js} +1 -1
- package/browser/{chunk-VYFU4BSG.js → chunk-7WKHBXTJ.js} +1 -1
- package/browser/chunk-7WNL4VON.js +1 -0
- package/browser/{chunk-FRO3O6SU.js → chunk-AAI6JWC5.js} +1 -1
- package/browser/{chunk-H54MTXKN.js → chunk-ADE4IPMV.js} +2 -2
- package/browser/{chunk-CHSEYRJF.js → chunk-AEHOR4RJ.js} +1 -1
- package/browser/{chunk-UKTKBEVE.js → chunk-AGTR6PKD.js} +1 -1
- package/browser/{chunk-6CLFZ6DE.js → chunk-APF7PDRI.js} +1 -1
- package/browser/{chunk-KMA5VOEA.js → chunk-AY5QZ3W6.js} +1 -1
- package/browser/{chunk-R5IO2SN4.js → chunk-AZO64X7U.js} +1 -1
- package/browser/{chunk-GVI4QM2F.js → chunk-B4HMFP42.js} +1 -1
- package/browser/{chunk-KVJTNXOJ.js → chunk-B5SDXVDR.js} +1 -1
- package/browser/{chunk-SOM7CDGS.js → chunk-B5VF422M.js} +1 -1
- package/browser/{chunk-LGCRFIIA.js → chunk-BEPFMRGE.js} +1 -1
- package/browser/{chunk-DPKYMDVN.js → chunk-BKUC3UED.js} +1 -1
- package/browser/chunk-BSIHS2EA.js +5 -0
- package/browser/{chunk-QGNOVY53.js → chunk-BXQFYW4R.js} +1 -1
- package/browser/{chunk-B56YVUVP.js → chunk-C2CGBWBH.js} +1 -1
- package/browser/{chunk-FBOZUHXS.js → chunk-C2KD7R6L.js} +1 -1
- package/browser/{chunk-7C4FPJKC.js → chunk-C6DVD3VG.js} +1 -1
- package/browser/{chunk-BYNEFOC3.js → chunk-CSQD5JSK.js} +1 -1
- package/browser/{chunk-4L5G4WC4.js → chunk-CWITQVZH.js} +1 -1
- package/browser/{chunk-65CKGM2C.js → chunk-D5K5VZVN.js} +1 -1
- package/browser/{chunk-WOZLNXGI.js → chunk-DAIHPIA2.js} +1 -1
- package/browser/{chunk-2F5STFEV.js → chunk-DLONNLPI.js} +1 -1
- package/browser/{chunk-IRAEKG7Q.js → chunk-ECOW7JD7.js} +1 -1
- package/browser/{chunk-OE7PM4Y4.js → chunk-EEEAUYZ6.js} +1 -1
- package/browser/{chunk-45BASVRZ.js → chunk-EFDAS2KA.js} +1 -1
- package/browser/{chunk-24OZA3GF.js → chunk-EGIDHMPA.js} +1 -1
- package/browser/{chunk-EYV7AZ42.js → chunk-EGQ2HW7A.js} +1 -1
- package/browser/{chunk-RZFAYPJW.js → chunk-EKKU5TMC.js} +1 -1
- package/browser/{chunk-VP42CBUF.js → chunk-ENTVT5C2.js} +1 -1
- package/browser/{chunk-7QDLYX4Z.js → chunk-ENVG4BZI.js} +1 -1
- package/browser/{chunk-FO3DCWRP.js → chunk-EWZ63XSS.js} +1 -1
- package/browser/{chunk-PPWXHE7X.js → chunk-F6Z777C5.js} +1 -1
- package/browser/chunk-FKDZ5OWB.js +297 -0
- package/browser/{chunk-3XMWVJ2L.js → chunk-FLCAZ4FS.js} +1 -1
- package/browser/{chunk-MZQRC3WK.js → chunk-FMHXEKSH.js} +1 -1
- package/browser/{chunk-GHLCUW72.js → chunk-FOWSNZZX.js} +1 -1
- package/browser/{chunk-7UFQPOGN.js → chunk-FP4HFB5J.js} +1 -1
- package/browser/{chunk-3VQLYVVB.js → chunk-GHA3WIJU.js} +1 -1
- package/browser/{chunk-FZNAOCWZ.js → chunk-GNAF5D23.js} +2 -2
- package/browser/{chunk-WEAIMPRM.js → chunk-H3ARLDNZ.js} +1 -1
- package/browser/{chunk-UERDXH3W.js → chunk-HFCVE2EL.js} +3 -3
- package/browser/{chunk-7KXMZBQB.js → chunk-HG3CFH36.js} +1 -1
- package/browser/{chunk-Z3OYXF5N.js → chunk-HIKFNCGX.js} +1 -1
- package/browser/{chunk-NHTMJTLV.js → chunk-HMER2IC5.js} +1 -1
- package/browser/{chunk-XJD4HFEN.js → chunk-HWEYOOFD.js} +1 -1
- package/browser/{chunk-XUVY2IO6.js → chunk-I3ZGST4N.js} +1 -1
- package/browser/{chunk-Z7LRKY4R.js → chunk-IC3DZAMU.js} +1 -1
- package/browser/{chunk-AFYPHUZX.js → chunk-IC7LV3SK.js} +1 -1
- package/browser/{chunk-IXEK3QVA.js → chunk-IQHU4MKW.js} +1 -1
- package/browser/{chunk-LID6CN6L.js → chunk-ITQF6HII.js} +1 -1
- package/browser/chunk-IW63ASKB.js +14 -0
- package/browser/{chunk-GZ2EJLH3.js → chunk-IYF464XX.js} +1 -1
- package/browser/{chunk-I45IV26L.js → chunk-JKLJ4KAW.js} +1 -1
- package/browser/{chunk-XOQ4SW2R.js → chunk-JOXTERIM.js} +1 -1
- package/browser/{chunk-GZAARWM2.js → chunk-JPXXXD26.js} +1 -1
- package/browser/{chunk-ILF7FISN.js → chunk-JUT3PXG2.js} +1 -1
- package/browser/{chunk-NQTQPZ6C.js → chunk-K7KRPIN7.js} +1 -1
- package/browser/{chunk-3MDUYQJU.js → chunk-KCZNKMQH.js} +1 -1
- package/browser/chunk-KGLFSTLG.js +1 -0
- package/browser/{chunk-KVCJJEYJ.js → chunk-KHILQH3P.js} +1 -1
- package/browser/chunk-KPXHDKIY.js +1 -0
- package/browser/{chunk-Y4MHZTLF.js → chunk-KTBBWEI2.js} +1 -1
- package/browser/{chunk-2LFFOWKW.js → chunk-KTCV3KOE.js} +1 -1
- package/browser/{chunk-OQCGVZVB.js → chunk-KZDE63UL.js} +1 -1
- package/browser/chunk-L7RHCBKX.js +1 -0
- package/browser/{chunk-2GQKEX5I.js → chunk-L7YSVT7G.js} +1 -1
- package/browser/{chunk-T2PMKO3M.js → chunk-LE3BKIDY.js} +1 -1
- package/browser/{chunk-HPLAMF75.js → chunk-LMJVRREP.js} +1 -1
- package/browser/{chunk-4CRQAT4Y.js → chunk-LO3FAFDO.js} +1 -1
- package/browser/{chunk-KS37A3HL.js → chunk-M3HHWYKD.js} +1 -1
- package/browser/{chunk-34DMF3QT.js → chunk-MCQ4J3UT.js} +3 -3
- package/browser/{chunk-3M5M2T4L.js → chunk-MFCXEITE.js} +1 -1
- package/browser/{chunk-5MZEP3D7.js → chunk-MGQ5I7BK.js} +1 -1
- package/browser/chunk-MH6ADXRE.js +1 -0
- package/browser/{chunk-3CCOX4FN.js → chunk-MPSML3FA.js} +1 -1
- package/browser/{chunk-X4LYU5XA.js → chunk-MQKEWZMW.js} +1 -1
- package/browser/{chunk-CN5SHMHF.js → chunk-MUJ6277G.js} +1 -1
- package/browser/{chunk-PJHIUSNN.js → chunk-N23TC7B4.js} +1 -1
- package/browser/{chunk-EPYFG6SH.js → chunk-N47VNTBG.js} +1 -1
- package/browser/{chunk-W2NHEKCW.js → chunk-N5UW2RHA.js} +1 -1
- package/browser/{chunk-DOTR5PYR.js → chunk-N6QITTR2.js} +1 -1
- package/browser/{chunk-DINWVJP7.js → chunk-NJS6IQX6.js} +1 -1
- package/browser/{chunk-ZBYQ3WOC.js → chunk-NMR7EZWC.js} +1 -1
- package/browser/{chunk-RP636SRQ.js → chunk-NPUWXK3K.js} +1 -1
- package/browser/{chunk-Z76AR3IW.js → chunk-NVWJ6HZD.js} +1 -1
- package/browser/{chunk-M7EO4UVO.js → chunk-O2QTP22K.js} +1 -1
- package/browser/chunk-O47TK53N.js +1 -0
- package/browser/chunk-OEARSIZR.js +1 -0
- package/browser/{chunk-D5LBI5TH.js → chunk-OIQL44PV.js} +1 -1
- package/browser/{chunk-ZEZ2K35X.js → chunk-OISKO6QJ.js} +1 -1
- package/browser/{chunk-3AIABMW2.js → chunk-OKIBXXRJ.js} +1 -1
- package/browser/chunk-OXQJYOVG.js +1 -0
- package/browser/{chunk-ZFYF7PEH.js → chunk-OYSMMJMB.js} +1 -1
- package/browser/{chunk-TLWH7QTW.js → chunk-OZ5JEMRA.js} +1 -1
- package/browser/{chunk-GMX2JWEW.js → chunk-PAXXDG73.js} +1 -1
- package/browser/{chunk-E4R5MW6J.js → chunk-PDJ7PMBB.js} +2 -2
- package/browser/chunk-PGWC5FQQ.js +1 -0
- package/browser/{chunk-OPCIBNIJ.js → chunk-PIYM2FOP.js} +1 -1
- package/browser/{chunk-NA7ZJQET.js → chunk-PVDNKSRC.js} +1 -1
- package/browser/{chunk-BADUP5JT.js → chunk-Q4CKRRGM.js} +1 -1
- package/browser/{chunk-UAI7BPPY.js → chunk-QHRP323Q.js} +1 -1
- package/browser/chunk-QMRUEU6Q.js +1 -0
- package/browser/{chunk-ISWF7KQF.js → chunk-QUHI6RHC.js} +1 -1
- package/browser/{chunk-BT6BH634.js → chunk-QYWAJKFK.js} +1 -1
- package/browser/{chunk-SDADDOK4.js → chunk-R3KCKK52.js} +1 -1
- package/browser/{chunk-5DDIIEIO.js → chunk-RDXTLLRW.js} +1 -1
- package/browser/{chunk-IXHBD564.js → chunk-RFAAXFT5.js} +1 -1
- package/browser/{chunk-K3367VWX.js → chunk-RIRZVGFR.js} +1 -1
- package/browser/{chunk-QHYHGORX.js → chunk-RK5QSVFP.js} +1 -1
- package/browser/{chunk-WIB47ZGF.js → chunk-ROQHG6JX.js} +1 -1
- package/browser/{chunk-QE22VQQ7.js → chunk-RTE36RZ4.js} +1 -1
- package/browser/{chunk-CB33ZMNF.js → chunk-RVXZOIFQ.js} +1 -1
- package/browser/{chunk-XZQMVGBQ.js → chunk-RX7JS4CO.js} +1 -1
- package/browser/{chunk-MYMQ5FSS.js → chunk-S4Z6ZYZ4.js} +1 -1
- package/browser/{chunk-GVSOBS5Q.js → chunk-SA6YKTKS.js} +4 -4
- package/browser/{chunk-WUDGY4TW.js → chunk-SEFALU4U.js} +1 -1
- package/browser/{chunk-XU5SOTZS.js → chunk-SIRUW7U2.js} +1 -1
- package/browser/chunk-STIS4QW6.js +1 -0
- package/browser/chunk-STUDNF4L.js +1 -0
- package/browser/{chunk-CSAGSFL3.js → chunk-SZPU2EUQ.js} +1 -1
- package/browser/{chunk-6CJCT6YT.js → chunk-T26KVRGE.js} +1 -1
- package/browser/{chunk-Y3CUYCSX.js → chunk-T2IJ4MCB.js} +1 -1
- package/browser/{chunk-WA5AGHFF.js → chunk-TBHZV7EF.js} +1 -1
- package/browser/{chunk-PZID6T4A.js → chunk-TFE7D7VV.js} +2 -2
- package/browser/{chunk-3CCLSY4U.js → chunk-TLXGEI76.js} +1 -1
- package/browser/{chunk-52NDCK4A.js → chunk-TSEZZNO5.js} +1 -1
- package/browser/{chunk-HV6ZFQAQ.js → chunk-TVEGYRXE.js} +1 -1
- package/browser/{chunk-JJK4XCMN.js → chunk-U4U76CXH.js} +1 -1
- package/browser/{chunk-ROG4PCGU.js → chunk-UBWKI2NL.js} +1 -1
- package/browser/{chunk-CIEDGY7H.js → chunk-UECAH6V7.js} +1 -1
- package/browser/{chunk-DNLMIUJF.js → chunk-UMT5IJRJ.js} +1 -1
- package/browser/{chunk-5PE5X2VB.js → chunk-UOWOBHQL.js} +1 -1
- package/browser/{chunk-7USMFPWJ.js → chunk-UU55EO4X.js} +1 -1
- package/browser/{chunk-OHZN3Z7O.js → chunk-UWGTJ4UH.js} +1 -1
- package/browser/{chunk-DJOHANFC.js → chunk-UXRO4UFY.js} +3 -3
- package/browser/{chunk-FBH7LG5C.js → chunk-UY6FY532.js} +1 -1
- package/browser/{chunk-N22LFPQL.js → chunk-VAMTYISE.js} +2 -2
- package/browser/{chunk-QCBXPOJL.js → chunk-VFTGIP5A.js} +1 -1
- package/browser/{chunk-BZHL4W7T.js → chunk-VGPJKK3G.js} +1 -1
- package/browser/{chunk-QMCAG2HX.js → chunk-VHAM2DWK.js} +1 -1
- package/browser/{chunk-SO3422SX.js → chunk-VIJ7B625.js} +1 -1
- package/browser/{chunk-B73NC3X2.js → chunk-W4UISTRM.js} +1 -1
- package/browser/{chunk-BAL3IIDS.js → chunk-W7I2T4SZ.js} +1 -1
- package/browser/{chunk-6IW4MVP2.js → chunk-WDQ4UKKY.js} +1 -1
- package/browser/{chunk-5TV4QYNO.js → chunk-WM2AITL6.js} +1 -1
- package/browser/{chunk-7S5F6JOF.js → chunk-WNVQWJ2T.js} +1 -1
- package/browser/{chunk-GOLWWX2Q.js → chunk-WO3LDDSF.js} +1 -1
- package/browser/{chunk-EPBMDUPY.js → chunk-WPFMJVWU.js} +1 -1
- package/browser/{chunk-M7G3WT32.js → chunk-WRBZW62O.js} +1 -1
- package/browser/{chunk-OFGVLEEZ.js → chunk-WTP4E6M5.js} +1 -1
- package/browser/{chunk-F4FAZ5ZL.js → chunk-X2WGP6SP.js} +1 -1
- package/browser/{chunk-3R5GV4J5.js → chunk-XA6BOS45.js} +1 -1
- package/browser/{chunk-QJWMNNK6.js → chunk-XHG7GWS5.js} +2 -2
- package/browser/{chunk-6IIF7CKF.js → chunk-XJ25XOBC.js} +2 -2
- package/browser/{chunk-I6E6PXQU.js → chunk-XKUQPHUA.js} +1 -1
- package/browser/{chunk-7LXPGNYF.js → chunk-XMYLHF4C.js} +1 -1
- package/browser/{chunk-HBC5DBVS.js → chunk-XO6RYTAS.js} +1 -1
- package/browser/chunk-XPZUZ5XJ.js +1 -0
- package/browser/{chunk-3GV7FUAX.js → chunk-XYB3YDKL.js} +1 -1
- package/browser/{chunk-UZFW2WNI.js → chunk-XYZNPGYI.js} +1 -1
- package/browser/{chunk-PRKAXHSJ.js → chunk-XZELBTQR.js} +1 -1
- package/browser/{chunk-NDM2ODJP.js → chunk-XZR3IMWZ.js} +1 -1
- package/browser/{chunk-QHX74QID.js → chunk-XZRKMN4V.js} +1 -1
- package/browser/{chunk-G7VSP6EW.js → chunk-XZWMENTO.js} +1 -1
- package/browser/{chunk-O3HYW3PV.js → chunk-YAWVVMMS.js} +1 -1
- package/browser/chunk-YEDKRNXU.js +1 -0
- package/browser/{chunk-HUMRIGHZ.js → chunk-YIKW3UR6.js} +1 -1
- package/browser/{chunk-J3C5CJEH.js → chunk-YN74XRON.js} +1 -1
- package/browser/{chunk-QWZ5AM3L.js → chunk-YNDNTAII.js} +1 -1
- package/browser/{chunk-SN3DTCGO.js → chunk-YPFMEFOD.js} +1 -1
- package/browser/{chunk-L2PLXSAS.js → chunk-YPOODN5H.js} +1 -1
- package/browser/chunk-YQL4ALTP.js +127 -0
- package/browser/{chunk-O5PHF6GW.js → chunk-YRGGDRUH.js} +1 -1
- package/browser/{chunk-NPTTEU4B.js → chunk-YWGXM2C3.js} +1 -1
- package/browser/{chunk-RWRT75NX.js → chunk-Z2LCSWV4.js} +1 -1
- package/browser/{chunk-UESUOHI6.js → chunk-Z56AQWHN.js} +1 -1
- package/browser/{chunk-REQUYIUO.js → chunk-ZHY3BUQJ.js} +1 -1
- package/browser/{chunk-KZTKYVZF.js → chunk-ZJ23VRN3.js} +1 -1
- package/browser/chunk-ZRCTLVL4.js +1 -0
- package/browser/{chunk-6BXO4MVU.js → chunk-ZSOLQ2F4.js} +1 -1
- package/browser/{chunk-N5QWMN2M.js → chunk-ZTHPT62A.js} +1 -1
- package/browser/chunk-ZWBEJM56.js +112 -0
- package/browser/{chunk-TYBAV5LT.js → chunk-ZZGSAFGO.js} +1 -1
- package/browser/index.html +3 -3
- package/browser/{main-6UNPCULN.js → main-SZ6HFSZZ.js} +2 -2
- package/browser/{styles-2TXD27TS.css → styles-EM6OTRT2.css} +1 -1
- package/package.json +1 -1
- package/browser/chunk-2EQ7Y56O.js +0 -5
- package/browser/chunk-2F5C3IAG.js +0 -1
- package/browser/chunk-4VMXYBU3.js +0 -3
- package/browser/chunk-6ZEEVCRE.js +0 -1
- package/browser/chunk-7E6SMB44.js +0 -1
- package/browser/chunk-AAR4B3HZ.js +0 -112
- package/browser/chunk-AD5C5J25.js +0 -1
- package/browser/chunk-DE2STA2G.js +0 -14
- package/browser/chunk-DWOLAWQN.js +0 -1
- package/browser/chunk-EZCQYLCW.js +0 -1
- package/browser/chunk-JY5XX3QX.js +0 -127
- package/browser/chunk-LOMNHHBV.js +0 -1
- package/browser/chunk-PQUVDF3D.js +0 -1
- package/browser/chunk-S4FLFLTR.js +0 -1
- package/browser/chunk-SQC25JWL.js +0 -1
- package/browser/chunk-TLANLIUC.js +0 -1
- package/browser/chunk-XHAPRGGF.js +0 -1
- package/browser/chunk-YQEL63SF.js +0 -1
- package/browser/chunk-ZC4V4XIM.js +0 -1
- package/browser/chunk-ZHDKGVTO.js +0 -1
- package/browser/chunk-ZKRFSVUW.js +0 -297
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import{a as v,b as V,j as $i,q as Ph,r as zi,s as Fh,t as Lh}from"./chunk-7DCB7DB2.js";function S(e){return typeof e=="function"}function dn(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var qi=dn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
2
2
|
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function Gt(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Y=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){n=i instanceof qi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{jh(i)}catch(s){n=n??[],s instanceof qi?n=[...n,...s.errors]:n.push(s)}}if(n)throw new qi(n)}}add(n){var t;if(n&&n!==this)if(this.closed)jh(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Gt(t,n)}remove(n){let{_finalizers:t}=this;t&&Gt(t,n),n instanceof e&&n._removeParent(this)}};Y.EMPTY=(()=>{let e=new Y;return e.closed=!0,e})();var Jc=Y.EMPTY;function Gi(e){return e instanceof Y||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function jh(e){S(e)?e():e.unsubscribe()}var ot={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var fr={setTimeout(e,n,...t){let{delegate:r}=fr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=fr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Wi(e){fr.setTimeout(()=>{let{onUnhandledError:n}=ot;if(n)n(e);else throw e})}function it(){}var Vh=Xc("C",void 0,void 0);function Bh(e){return Xc("E",void 0,e)}function Uh(e){return Xc("N",e,void 0)}function Xc(e,n,t){return{kind:e,value:n,error:t}}var jn=null;function hr(e){if(ot.useDeprecatedSynchronousErrorHandling){let n=!jn;if(n&&(jn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=jn;if(jn=null,t)throw r}}else e()}function Hh(e){ot.useDeprecatedSynchronousErrorHandling&&jn&&(jn.errorThrown=!0,jn.error=e)}var Vn=class extends Y{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Gi(n)&&n.add(this)):this.destination=YE}static create(n,t,r){return new Wt(n,t,r)}next(n){this.isStopped?tu(Uh(n),this):this._next(n)}error(n){this.isStopped?tu(Bh(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?tu(Vh,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},WE=Function.prototype.bind;function eu(e,n){return WE.call(e,n)}var nu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Zi(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Zi(r)}else Zi(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Zi(t)}}},Wt=class extends Vn{constructor(n,t,r){super();let o;if(S(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&ot.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&eu(n.next,i),error:n.error&&eu(n.error,i),complete:n.complete&&eu(n.complete,i)}):o=n}this.destination=new nu(o)}};function Zi(e){ot.useDeprecatedSynchronousErrorHandling?Hh(e):Wi(e)}function ZE(e){throw e}function tu(e,n){let{onStoppedNotification:t}=ot;t&&fr.setTimeout(()=>t(e,n))}var YE={closed:!0,next:it,error:ZE,complete:it};var pr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ve(e){return e}function ru(...e){return ou(e)}function ou(e){return e.length===0?ve:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var x=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=KE(t)?t:new Wt(t,r,o);return hr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=$h(r),new r((o,i)=>{let s=new Wt({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[pr](){return this}pipe(...t){return ou(t)(this)}toPromise(t){return t=$h(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function $h(e){var n;return(n=e??ot.Promise)!==null&&n!==void 0?n:Promise}function QE(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function KE(e){return e&&e instanceof Vn||QE(e)&&Gi(e)}var zh=dn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Yi(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new zh}next(t){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Jc:(this.currentObservers=null,i.push(t),new Y(()=>{this.currentObservers=null,Gt(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new x;return t.source=this,t}}return e.create=(n,t)=>new Yi(n,t),e})(),Yi=class extends B{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:Jc}};var Ie=new x(e=>e.complete());var gr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Qi(e){return S(e?.then)}function Ki(e){return S(e[pr])}function Ji(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function Xi(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function JE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var es=JE();function ts(e){return S(e?.[es])}function ns(e){return Fh(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield zi(t.read());if(o)return yield zi(void 0);yield yield zi(r)}}finally{t.releaseLock()}})}function rs(e){return S(e?.getReader)}function k(e){if(e instanceof x)return e;if(e!=null){if(Ki(e))return XE(e);if(gr(e))return ew(e);if(Qi(e))return tw(e);if(Ji(e))return qh(e);if(ts(e))return nw(e);if(rs(e))return rw(e)}throw Xi(e)}function XE(e){return new x(n=>{let t=e[pr]();if(S(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ew(e){return new x(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function tw(e){return new x(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Wi)})}function nw(e){return new x(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function qh(e){return new x(n=>{ow(e,n).catch(t=>n.error(t))})}function rw(e){return qh(ns(e))}function ow(e,n){var t,r,o,i;return Ph(this,void 0,void 0,function*(){try{for(t=Lh(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function ce(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function iu(e){return S(e?.lift)}function C(e){return n=>{if(iu(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function T(e,n,t,r,o){return new Co(e,n,t,r,o)}var Co=class extends Vn{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function bo(e,n=0){return C((t,r)=>{t.subscribe(T(r,o=>ce(r,e,()=>r.next(o),n),()=>ce(r,e,()=>r.complete(),n),o=>ce(r,e,()=>r.error(o),n)))})}function To(e,n=0){return C((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Gh(e,n){return k(e).pipe(To(n),bo(n))}function Wh(e,n){return k(e).pipe(To(n),bo(n))}function Zh(e,n){return new x(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Yh(e,n){return new x(t=>{let r;return ce(t,n,()=>{r=e[es](),ce(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function os(e,n){if(!e)throw new Error("Iterable cannot be null");return new x(t=>{ce(t,n,()=>{let r=e[Symbol.asyncIterator]();ce(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Qh(e,n){return os(ns(e),n)}function Kh(e,n){if(e!=null){if(Ki(e))return Gh(e,n);if(gr(e))return Zh(e,n);if(Qi(e))return Wh(e,n);if(Ji(e))return os(e,n);if(ts(e))return Yh(e,n);if(rs(e))return Qh(e,n)}throw Xi(e)}function G(e,n){return n?Kh(e,n):k(e)}function is(e){return e&&S(e.schedule)}function su(e){return e[e.length-1]}function mr(e){return S(su(e))?e.pop():void 0}function Xe(e){return is(su(e))?e.pop():void 0}function Jh(e,n){return typeof su(e)=="number"?e.pop():n}function M(...e){let n=Xe(e);return G(e,n)}function A(e,n){return C((t,r)=>{let o=0;t.subscribe(T(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:iw}=Array,{getPrototypeOf:sw,prototype:aw,keys:cw}=Object;function ss(e){if(e.length===1){let n=e[0];if(iw(n))return{args:n,keys:null};if(uw(n)){let t=cw(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function uw(e){return e&&typeof e=="object"&&sw(e)===aw}var{isArray:lw}=Array;function dw(e,n){return lw(n)?e(...n):e(n)}function vr(e){return A(n=>dw(e,n))}function as(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function _o(...e){let n=Xe(e),t=mr(e),{args:r,keys:o}=ss(e);if(r.length===0)return G([],n);let i=new x(fw(r,n,o?s=>as(o,s):ve));return t?i.pipe(vr(t)):i}function fw(e,n,t=ve){return r=>{Xh(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Xh(n,()=>{let u=G(e[c],n),l=!1;u.subscribe(T(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Xh(e,n,t){e?ce(t,e,n):n()}function hw(...e){let n=mr(e),{args:t,keys:r}=ss(e),o=new x(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;k(t[l]).subscribe(T(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?as(r,a):a),i.complete())}))}});return n?o.pipe(vr(n)):o}function re(e,n){return C((t,r)=>{let o=0;t.subscribe(T(r,i=>e.call(n,i,o++)&&r.next(i)))})}function et(e){return C((n,t)=>{let r=null,o=!1,i;r=n.subscribe(T(t,void 0,void 0,s=>{i=k(e(s,et(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function ze(e){return e<=0?()=>Ie:C((n,t)=>{let r=0;n.subscribe(T(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}var So={now(){return(So.delegate||Date).now()},delegate:void 0};var Mo=class extends B{constructor(n=1/0,t=1/0,r=So){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=t.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function cu(e={}){let{connector:n=()=>new B,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},p=()=>{let m=s;f(),m?.unsubscribe()};return C((m,y)=>{u++,!d&&!l&&h();let _=c=c??n();y.add(()=>{u--,u===0&&!d&&!l&&(a=au(p,o))}),_.subscribe(y),!s&&u>0&&(s=new Wt({next:$=>_.next($),error:$=>{d=!0,h(),a=au(f,t,$),_.error($)},complete:()=>{l=!0,h(),a=au(f,r),_.complete()}}),k(m).subscribe(s))})(i)}}function au(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new Wt({next:()=>{r.unsubscribe(),e()}});return k(n(...t)).subscribe(r)}function ep(e,n,t){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e:r=e??1/0,cu({connector:()=>new Mo(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function tp(e,n,t,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&n.complete()},f=m=>u<r?p(m):c.push(m),p=m=>{i&&n.next(m),u++;let y=!1;k(t(m,l++)).subscribe(T(n,_=>{o?.(_),i?f(_):n.next(_)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let _=c.shift();s?ce(n,s,()=>p(_)):p(_)}h()}catch(_){n.error(_)}}))};return e.subscribe(T(n,f,()=>{d=!0,h()})),()=>{a?.()}}function Q(e,n,t=1/0){return S(n)?Q((r,o)=>A((i,s)=>n(r,i,o,s))(k(e(r,o))),t):(typeof n=="number"&&(t=n),C((r,o)=>tp(r,o,e,t)))}function _t(e=1/0){return Q(ve,e)}function np(){return _t(1)}function fn(...e){return np()(G(e,Xe(e)))}function cs(...e){let n=Xe(e);return C((t,r)=>{(n?fn(e,t,n):fn(e,t)).subscribe(r)})}function ie(e,n){return C((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(T(r,c=>{o?.unsubscribe();let u=0,l=i++;k(e(c,l)).subscribe(o=T(r,d=>r.next(n?n(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function us(e){return C((n,t)=>{k(e).subscribe(T(t,()=>t.complete(),it)),!t.closed&&n.subscribe(t)})}function he(e,n,t){let r=S(e)||n||t?{next:e,error:n,complete:t}:e;return r?C((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(T(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ve}function yr(){return C((e,n)=>{let t=null;e._refCount++;let r=T(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var Dr=class extends x{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,iu(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Y;let t=this.getSubject();n.add(this.source.subscribe(T(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Y.EMPTY)}return n}refCount(){return yr()(this)}};var Er={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=Er;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new Y(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=Er;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=Er;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var ye=class extends B{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var ls=class extends Y{constructor(n,t){super()}schedule(n,t=0){return this}};var xo={setInterval(e,n,...t){let{delegate:r}=xo;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=xo;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var St=class extends ls{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return xo.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&xo.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Gt(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var pw=1,uu,lu={};function rp(e){return e in lu?(delete lu[e],!0):!1}var op={setImmediate(e){let n=pw++;return lu[n]=!0,uu||(uu=Promise.resolve()),uu.then(()=>rp(n)&&e()),n},clearImmediate(e){rp(e)}};var{setImmediate:gw,clearImmediate:mw}=op,No={setImmediate(...e){let{delegate:n}=No;return(n?.setImmediate||gw)(...e)},clearImmediate(e){let{delegate:n}=No;return(n?.clearImmediate||mw)(e)},delegate:void 0};var ds=class extends St{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=No.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(No.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}};var wr=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};wr.now=So.now;var Mt=class extends wr{constructor(n,t=wr.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var fs=class extends Mt{flush(n){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var vw=new fs(ds);var Oe=new Mt(St),du=Oe;var hs=class extends St{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}schedule(n,t=0){return t>0?super.schedule(n,t):(this.delay=t,this.state=n,this.scheduler.flush(this),this)}execute(n,t){return t>0||this.closed?super.execute(n,t):this._execute(n,t)}requestAsyncId(n,t,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(n,t,r):(n.flush(this),0)}};var ps=class extends Mt{};var yw=new ps(hs);var gs=class extends St{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=Er.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(Er.cancelAnimationFrame(t),n._scheduled=void 0)}};var ms=class extends Mt{flush(n){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var Dw=new ms(gs);function hn(e,n){let t=S(e)?e:()=>e,r=o=>o.error(t());return new x(n?o=>n.schedule(r,0,o):r)}function fu(e){return!!e&&(e instanceof x||S(e.lift)&&S(e.subscribe))}var st=dn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ew(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):t?r(n.defaultValue):o(new st)}})})}function vs(e){return e instanceof Date&&!isNaN(e)}var ys=dn(e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function at(e,n){let{first:t,each:r,with:o=ww,scheduler:i=n??Oe,meta:s=null}=vs(e)?{first:e}:typeof e=="number"?{each:e}:e;if(t==null&&r==null)throw new TypeError("No timeout provided.");return C((a,c)=>{let u,l,d=null,h=0,f=p=>{l=ce(c,i,()=>{try{u.unsubscribe(),k(o({meta:s,lastValue:d,seen:h})).subscribe(c)}catch(m){c.error(m)}},p)};u=a.subscribe(T(c,p=>{l?.unsubscribe(),h++,c.next(d=p),r>0&&f(r)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!h&&f(t!=null?typeof t=="number"?t:+t-i.now():r)})}function ww(e){throw new ys(e)}function Ds(e){return new x(n=>{k(e()).subscribe(n)})}var Iw=["addListener","removeListener"],Cw=["addEventListener","removeEventListener"],bw=["on","off"];function hu(e,n,t,r){if(S(t)&&(r=t,t=void 0),r)return hu(e,n,t).pipe(vr(r));let[o,i]=Sw(e)?Cw.map(s=>a=>e[s](n,a,t)):Tw(e)?Iw.map(ip(e,n)):_w(e)?bw.map(ip(e,n)):[];if(!o&&gr(e))return Q(s=>hu(s,n,t))(k(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function ip(e,n){return t=>r=>e[t](n,r)}function Tw(e){return S(e.addListener)&&S(e.removeListener)}function _w(e){return S(e.on)&&S(e.off)}function Sw(e){return S(e.addEventListener)&&S(e.removeEventListener)}function Bn(e=0,n,t=du){let r=-1;return n!=null&&(is(n)?t=n:r=n),new x(o=>{let i=vs(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Mw(e=0,n=Oe){return e<0&&(e=0),Bn(e,e,n)}function xw(...e){let n=Xe(e),t=Jh(e,1/0),r=e;return r.length?r.length===1?k(r[0]):_t(t)(G(r,n)):Ie}function sp(e,n){return(t,r)=>!e.call(n,t,r)}function Nw(e,n,t){return[re(n,t)(k(e)),re(sp(n,t))(k(e))]}function ap(e){return C((n,t)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,t.next(u)}s&&t.complete()},c=()=>{i=null,s&&t.complete()};n.subscribe(T(t,u=>{r=!0,o=u,i||k(e(u)).subscribe(i=T(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function Rw(e,n=Oe){return ap(()=>Bn(e,n))}function Aw(e,...n){var t,r;let o=(t=Xe(n))!==null&&t!==void 0?t:Oe,i=(r=n[0])!==null&&r!==void 0?r:null,s=n[1]||1/0;return C((a,c)=>{let u=[],l=!1,d=p=>{let{buffer:m,subs:y}=p;y.unsubscribe(),Gt(u,p),c.next(m),l&&h()},h=()=>{if(u){let p=new Y;c.add(p);let y={buffer:[],subs:p};u.push(y),ce(p,o,()=>d(y),e)}};i!==null&&i>=0?ce(c,o,h,i,!0):l=!0,h();let f=T(c,p=>{let m=u.slice();for(let y of m){let{buffer:_}=y;_.push(p),s<=_.length&&d(y)}},()=>{for(;u?.length;)c.next(u.shift().buffer);f?.unsubscribe(),c.complete(),c.unsubscribe()},void 0,()=>u=null);a.subscribe(f)})}function Es(e,n,t,r,o){return(i,s)=>{let a=t,c=n,u=0;i.subscribe(T(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function cp(e,n){return C(Es(e,n,arguments.length>=2,!1,!0))}var Ow=(e,n)=>(e.push(n),e);function kw(){return C((e,n)=>{cp(Ow,[])(e).subscribe(n)})}function ct(e,n){return S(n)?Q(e,n,1):Q(e,1)}function Pw(e){return C((n,t)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,t.next(a)}};n.subscribe(T(t,a=>{i?.unsubscribe(),r=!0,o=a,i=T(t,s,it),k(e(a)).subscribe(i)},()=>{s(),t.complete()},void 0,()=>{o=i=null}))})}function up(e,n=Oe){return C((t,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=n.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}t.subscribe(T(r,u=>{i=u,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function pn(e){return C((n,t)=>{let r=!1;n.subscribe(T(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function lp(){return C((e,n)=>{e.subscribe(T(n,it))})}function pu(e){return A(()=>e)}function gu(e,n){return n?t=>fn(n.pipe(ze(1),lp()),t.pipe(gu(e))):Q((t,r)=>k(e(t,r)).pipe(ze(1),pu(t)))}function Fw(e,n=Oe){let t=Bn(e,n);return gu(()=>t)}function dp(e,n=ve){return e=e??Lw,C((t,r)=>{let o,i=!0;t.subscribe(T(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Lw(e,n){return e===n}function ws(e=jw){return C((n,t)=>{let r=!1;n.subscribe(T(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function jw(){return new st}function Un(e){return C((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function xt(e,n){let t=arguments.length>=2;return r=>r.pipe(e?re((o,i)=>e(o,i,r)):ve,ze(1),t?pn(n):ws(()=>new st))}function Vw(e,n,t,r){return C((o,i)=>{let s;!n||typeof n=="function"?s=n:{duration:t,element:s,connector:r}=n;let a=new Map,c=p=>{a.forEach(p),p(i)},u=p=>c(m=>m.error(p)),l=0,d=!1,h=new Co(i,p=>{try{let m=e(p),y=a.get(m);if(!y){a.set(m,y=r?r():new B);let _=f(m,y);if(i.next(_),t){let $=T(y,()=>{y.complete(),$?.unsubscribe()},void 0,void 0,()=>a.delete(m));h.add(k(t(_)).subscribe($))}}y.next(s?s(p):p)}catch(m){u(m)}},()=>c(p=>p.complete()),u,()=>a.clear(),()=>(d=!0,l===0));o.subscribe(h);function f(p,m){let y=new x(_=>{l++;let $=m.subscribe(_);return()=>{$.unsubscribe(),--l===0&&d&&h.unsubscribe()}});return y.key=p,y}})}function Ir(e){return e<=0?()=>Ie:C((n,t)=>{let r=[];n.subscribe(T(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function mu(e,n){let t=arguments.length>=2;return r=>r.pipe(e?re((o,i)=>e(o,i,r)):ve,Ir(1),t?pn(n):ws(()=>new st))}function Bw(){return C((e,n)=>{let t,r=!1;e.subscribe(T(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0}))})}function Uw(...e){let n=e.length;if(n===0)throw new Error("list of properties cannot be empty.");return A(t=>{let r=t;for(let o=0;o<n;o++){let i=r?.[e[o]];if(typeof i<"u")r=i;else return}return r})}function Is(e,n){return C(Es(e,n,arguments.length>=2,!0))}function Hw(e){return re((n,t)=>e<=t)}function $w(e){return C((n,t)=>{let r=!1,o=0;n.subscribe(T(t,i=>(r||(r=!e(i,o++)))&&t.next(i)))})}function zw(e,n){return S(n)?ie(()=>e,n):ie(()=>e)}function fp(e,n){return C((t,r)=>{let o=n;return ie((i,s)=>e(o,i,s),(i,s)=>(o=s,s))(t).subscribe(r),()=>{o=null}})}function hp(e,n=!1){return C((t,r)=>{let o=0;t.subscribe(T(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function pp(...e){let n=mr(e);return C((t,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)k(e[c]).subscribe(T(r,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(ve))&&(s=null))},it));t.subscribe(T(r,c=>{if(a){let u=[c,...i];r.next(n?n(...u):u)}}))})}function Eu(e,n){return Object.is(e,n)}var ue=null,Cs=!1,wu=1,Ne=Symbol("SIGNAL");function P(e){let n=ue;return ue=e,n}function Iu(){return ue}var Cr={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function br(e){if(Cs)throw new Error("");if(ue===null)return;ue.consumerOnSignalRead(e);let n=ue.nextProducerIndex++;if(Ms(ue),n<ue.producerNode.length&&ue.producerNode[n]!==e&&Ro(ue)){let t=ue.producerNode[n];Ss(t,ue.producerIndexOfThis[n])}ue.producerNode[n]!==e&&(ue.producerNode[n]=e,ue.producerIndexOfThis[n]=Ro(ue)?mp(e,ue,n):0),ue.producerLastReadVersion[n]=e.version}function gp(){wu++}function Cu(e){if(!(Ro(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===wu)){if(!e.producerMustRecompute(e)&&!_s(e)){Du(e);return}e.producerRecomputeValue(e),Du(e)}}function bu(e){if(e.liveConsumerNode===void 0)return;let n=Cs;Cs=!0;try{for(let t of e.liveConsumerNode)t.dirty||qw(t)}finally{Cs=n}}function Tu(){return ue?.consumerAllowSignalWrites!==!1}function qw(e){e.dirty=!0,bu(e),e.consumerMarkedDirty?.(e)}function Du(e){e.dirty=!1,e.lastCleanEpoch=wu}function Ao(e){return e&&(e.nextProducerIndex=0),P(e)}function Ts(e,n){if(P(n),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Ro(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Ss(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _s(e){Ms(e);for(let n=0;n<e.producerNode.length;n++){let t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version||(Cu(t),r!==t.version))return!0}return!1}function Oo(e){if(Ms(e),Ro(e))for(let n=0;n<e.producerNode.length;n++)Ss(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function mp(e,n,t){if(vp(e),e.liveConsumerNode.length===0&&yp(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=mp(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Ss(e,n){if(vp(e),e.liveConsumerNode.length===1&&yp(e))for(let r=0;r<e.producerNode.length;r++)Ss(e.producerNode[r],e.producerIndexOfThis[r]);let t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[n],o=e.liveConsumerNode[n];Ms(o),o.producerIndexOfThis[r]=n}}function Ro(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ms(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function vp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function yp(e){return e.producerNode!==void 0}function xs(e,n){let t=Object.create(Gw);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(Cu(t),br(t),t.value===bs)throw t.error;return t.value};return r[Ne]=t,r}var vu=Symbol("UNSET"),yu=Symbol("COMPUTING"),bs=Symbol("ERRORED"),Gw=V(v({},Cr),{value:vu,dirty:!0,error:null,equal:Eu,kind:"computed",producerMustRecompute(e){return e.value===vu||e.value===yu},producerRecomputeValue(e){if(e.value===yu)throw new Error("Detected cycle in computations.");let n=e.value;e.value=yu;let t=Ao(e),r,o=!1;try{r=e.computation(),P(null),o=n!==vu&&n!==bs&&r!==bs&&e.equal(n,r)}catch(i){r=bs,e.error=i}finally{Ts(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Ww(){throw new Error}var Dp=Ww;function Ep(e){Dp(e)}function _u(e){Dp=e}var Zw=null;function Su(e,n){let t=Object.create(Ns);t.value=e,n!==void 0&&(t.equal=n);let r=()=>(br(t),t.value);return r[Ne]=t,r}function Tr(e,n){Tu()||Ep(e),e.equal(e.value,n)||(e.value=n,Yw(e))}function Mu(e,n){Tu()||Ep(e),Tr(e,n(e.value))}var Ns=V(v({},Cr),{equal:Eu,value:void 0,kind:"signal"});function Yw(e){e.version++,gp(),bu(e),Zw?.()}function xu(e){let n=P(null);try{return e()}finally{P(n)}}var Nu;function ko(){return Nu}function Zt(e){let n=Nu;return Nu=e,n}var Rs=Symbol("NotFound");var wg="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(n,t){super(Da(n,t)),this.code=n}};function Xw(e){return`NG0${Math.abs(e)}`}function Da(e,n){return`${Xw(e)}${n?": "+n:""}`}var Ea=Symbol("InputSignalNode#UNSET"),Ig=V(v({},Ns),{transformFn:void 0,applyValueToInputSignal(e,n){Tr(e,n)}});function Cg(e,n){let t=Object.create(Ig);t.value=e,t.transformFn=n?.transform;function r(){if(br(t),t.value===Ea){let o=null;throw new D(-950,o)}return t.value}return r[Ne]=t,r}function Yo(e){return{toString:e}.toString()}var As="__parameters__";function eI(e){return function(...t){if(e){let r=e(...t);for(let o in r)this[o]=r[o]}}}function nd(e,n,t){return Yo(()=>{let r=eI(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(As)?c[As]:Object.defineProperty(c,As,{value:[]})[As];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var pe=globalThis;function W(e){for(let n in e)if(e[n]===W)return n;throw Error("Could not find renamed property on target object.")}function tI(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Pe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Pe).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function Gt(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Y=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){n=i instanceof qi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{jh(i)}catch(s){n=n??[],s instanceof qi?n=[...n,...s.errors]:n.push(s)}}if(n)throw new qi(n)}}add(n){var t;if(n&&n!==this)if(this.closed)jh(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Gt(t,n)}remove(n){let{_finalizers:t}=this;t&&Gt(t,n),n instanceof e&&n._removeParent(this)}};Y.EMPTY=(()=>{let e=new Y;return e.closed=!0,e})();var Jc=Y.EMPTY;function Gi(e){return e instanceof Y||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function jh(e){S(e)?e():e.unsubscribe()}var ot={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var fr={setTimeout(e,n,...t){let{delegate:r}=fr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=fr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Wi(e){fr.setTimeout(()=>{let{onUnhandledError:n}=ot;if(n)n(e);else throw e})}function it(){}var Vh=Xc("C",void 0,void 0);function Bh(e){return Xc("E",void 0,e)}function Uh(e){return Xc("N",e,void 0)}function Xc(e,n,t){return{kind:e,value:n,error:t}}var Vn=null;function hr(e){if(ot.useDeprecatedSynchronousErrorHandling){let n=!Vn;if(n&&(Vn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=Vn;if(Vn=null,t)throw r}}else e()}function Hh(e){ot.useDeprecatedSynchronousErrorHandling&&Vn&&(Vn.errorThrown=!0,Vn.error=e)}var Bn=class extends Y{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Gi(n)&&n.add(this)):this.destination=YE}static create(n,t,r){return new Wt(n,t,r)}next(n){this.isStopped?tu(Uh(n),this):this._next(n)}error(n){this.isStopped?tu(Bh(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?tu(Vh,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},WE=Function.prototype.bind;function eu(e,n){return WE.call(e,n)}var nu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Zi(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Zi(r)}else Zi(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Zi(t)}}},Wt=class extends Bn{constructor(n,t,r){super();let o;if(S(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&ot.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&eu(n.next,i),error:n.error&&eu(n.error,i),complete:n.complete&&eu(n.complete,i)}):o=n}this.destination=new nu(o)}};function Zi(e){ot.useDeprecatedSynchronousErrorHandling?Hh(e):Wi(e)}function ZE(e){throw e}function tu(e,n){let{onStoppedNotification:t}=ot;t&&fr.setTimeout(()=>t(e,n))}var YE={closed:!0,next:it,error:ZE,complete:it};var pr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ve(e){return e}function ru(...e){return ou(e)}function ou(e){return e.length===0?ve:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var x=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=KE(t)?t:new Wt(t,r,o);return hr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=$h(r),new r((o,i)=>{let s=new Wt({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[pr](){return this}pipe(...t){return ou(t)(this)}toPromise(t){return t=$h(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function $h(e){var n;return(n=e??ot.Promise)!==null&&n!==void 0?n:Promise}function QE(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function KE(e){return e&&e instanceof Bn||QE(e)&&Gi(e)}var zh=dn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Yi(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new zh}next(t){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Jc:(this.currentObservers=null,i.push(t),new Y(()=>{this.currentObservers=null,Gt(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new x;return t.source=this,t}}return e.create=(n,t)=>new Yi(n,t),e})(),Yi=class extends B{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:Jc}};var Ie=new x(e=>e.complete());var gr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Qi(e){return S(e?.then)}function Ki(e){return S(e[pr])}function Ji(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function Xi(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function JE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var es=JE();function ts(e){return S(e?.[es])}function ns(e){return Fh(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield zi(t.read());if(o)return yield zi(void 0);yield yield zi(r)}}finally{t.releaseLock()}})}function rs(e){return S(e?.getReader)}function k(e){if(e instanceof x)return e;if(e!=null){if(Ki(e))return XE(e);if(gr(e))return ew(e);if(Qi(e))return tw(e);if(Ji(e))return qh(e);if(ts(e))return nw(e);if(rs(e))return rw(e)}throw Xi(e)}function XE(e){return new x(n=>{let t=e[pr]();if(S(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ew(e){return new x(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function tw(e){return new x(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Wi)})}function nw(e){return new x(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function qh(e){return new x(n=>{ow(e,n).catch(t=>n.error(t))})}function rw(e){return qh(ns(e))}function ow(e,n){var t,r,o,i;return Ph(this,void 0,void 0,function*(){try{for(t=Lh(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function ce(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function iu(e){return S(e?.lift)}function C(e){return n=>{if(iu(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function T(e,n,t,r,o){return new Co(e,n,t,r,o)}var Co=class extends Bn{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function bo(e,n=0){return C((t,r)=>{t.subscribe(T(r,o=>ce(r,e,()=>r.next(o),n),()=>ce(r,e,()=>r.complete(),n),o=>ce(r,e,()=>r.error(o),n)))})}function To(e,n=0){return C((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Gh(e,n){return k(e).pipe(To(n),bo(n))}function Wh(e,n){return k(e).pipe(To(n),bo(n))}function Zh(e,n){return new x(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Yh(e,n){return new x(t=>{let r;return ce(t,n,()=>{r=e[es](),ce(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function os(e,n){if(!e)throw new Error("Iterable cannot be null");return new x(t=>{ce(t,n,()=>{let r=e[Symbol.asyncIterator]();ce(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Qh(e,n){return os(ns(e),n)}function Kh(e,n){if(e!=null){if(Ki(e))return Gh(e,n);if(gr(e))return Zh(e,n);if(Qi(e))return Wh(e,n);if(Ji(e))return os(e,n);if(ts(e))return Yh(e,n);if(rs(e))return Qh(e,n)}throw Xi(e)}function G(e,n){return n?Kh(e,n):k(e)}function is(e){return e&&S(e.schedule)}function su(e){return e[e.length-1]}function mr(e){return S(su(e))?e.pop():void 0}function Xe(e){return is(su(e))?e.pop():void 0}function Jh(e,n){return typeof su(e)=="number"?e.pop():n}function M(...e){let n=Xe(e);return G(e,n)}function A(e,n){return C((t,r)=>{let o=0;t.subscribe(T(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:iw}=Array,{getPrototypeOf:sw,prototype:aw,keys:cw}=Object;function ss(e){if(e.length===1){let n=e[0];if(iw(n))return{args:n,keys:null};if(uw(n)){let t=cw(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function uw(e){return e&&typeof e=="object"&&sw(e)===aw}var{isArray:lw}=Array;function dw(e,n){return lw(n)?e(...n):e(n)}function vr(e){return A(n=>dw(e,n))}function as(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function _o(...e){let n=Xe(e),t=mr(e),{args:r,keys:o}=ss(e);if(r.length===0)return G([],n);let i=new x(fw(r,n,o?s=>as(o,s):ve));return t?i.pipe(vr(t)):i}function fw(e,n,t=ve){return r=>{Xh(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Xh(n,()=>{let u=G(e[c],n),l=!1;u.subscribe(T(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Xh(e,n,t){e?ce(t,e,n):n()}function hw(...e){let n=mr(e),{args:t,keys:r}=ss(e),o=new x(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;k(t[l]).subscribe(T(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?as(r,a):a),i.complete())}))}});return n?o.pipe(vr(n)):o}function re(e,n){return C((t,r)=>{let o=0;t.subscribe(T(r,i=>e.call(n,i,o++)&&r.next(i)))})}function et(e){return C((n,t)=>{let r=null,o=!1,i;r=n.subscribe(T(t,void 0,void 0,s=>{i=k(e(s,et(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function ze(e){return e<=0?()=>Ie:C((n,t)=>{let r=0;n.subscribe(T(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}var So={now(){return(So.delegate||Date).now()},delegate:void 0};var Mo=class extends B{constructor(n=1/0,t=1/0,r=So){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=t.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function cu(e={}){let{connector:n=()=>new B,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},p=()=>{let m=s;f(),m?.unsubscribe()};return C((m,y)=>{u++,!d&&!l&&h();let _=c=c??n();y.add(()=>{u--,u===0&&!d&&!l&&(a=au(p,o))}),_.subscribe(y),!s&&u>0&&(s=new Wt({next:$=>_.next($),error:$=>{d=!0,h(),a=au(f,t,$),_.error($)},complete:()=>{l=!0,h(),a=au(f,r),_.complete()}}),k(m).subscribe(s))})(i)}}function au(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new Wt({next:()=>{r.unsubscribe(),e()}});return k(n(...t)).subscribe(r)}function ep(e,n,t){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e:r=e??1/0,cu({connector:()=>new Mo(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function tp(e,n,t,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&n.complete()},f=m=>u<r?p(m):c.push(m),p=m=>{i&&n.next(m),u++;let y=!1;k(t(m,l++)).subscribe(T(n,_=>{o?.(_),i?f(_):n.next(_)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let _=c.shift();s?ce(n,s,()=>p(_)):p(_)}h()}catch(_){n.error(_)}}))};return e.subscribe(T(n,f,()=>{d=!0,h()})),()=>{a?.()}}function Q(e,n,t=1/0){return S(n)?Q((r,o)=>A((i,s)=>n(r,i,o,s))(k(e(r,o))),t):(typeof n=="number"&&(t=n),C((r,o)=>tp(r,o,e,t)))}function _t(e=1/0){return Q(ve,e)}function np(){return _t(1)}function fn(...e){return np()(G(e,Xe(e)))}function cs(...e){let n=Xe(e);return C((t,r)=>{(n?fn(e,t,n):fn(e,t)).subscribe(r)})}function ie(e,n){return C((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(T(r,c=>{o?.unsubscribe();let u=0,l=i++;k(e(c,l)).subscribe(o=T(r,d=>r.next(n?n(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function us(e){return C((n,t)=>{k(e).subscribe(T(t,()=>t.complete(),it)),!t.closed&&n.subscribe(t)})}function he(e,n,t){let r=S(e)||n||t?{next:e,error:n,complete:t}:e;return r?C((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(T(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ve}function yr(){return C((e,n)=>{let t=null;e._refCount++;let r=T(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var Dr=class extends x{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,iu(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Y;let t=this.getSubject();n.add(this.source.subscribe(T(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Y.EMPTY)}return n}refCount(){return yr()(this)}};var Er={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=Er;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new Y(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=Er;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=Er;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var ye=class extends B{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var ls=class extends Y{constructor(n,t){super()}schedule(n,t=0){return this}};var xo={setInterval(e,n,...t){let{delegate:r}=xo;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=xo;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var St=class extends ls{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return xo.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&xo.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Gt(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var pw=1,uu,lu={};function rp(e){return e in lu?(delete lu[e],!0):!1}var op={setImmediate(e){let n=pw++;return lu[n]=!0,uu||(uu=Promise.resolve()),uu.then(()=>rp(n)&&e()),n},clearImmediate(e){rp(e)}};var{setImmediate:gw,clearImmediate:mw}=op,No={setImmediate(...e){let{delegate:n}=No;return(n?.setImmediate||gw)(...e)},clearImmediate(e){let{delegate:n}=No;return(n?.clearImmediate||mw)(e)},delegate:void 0};var ds=class extends St{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=No.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(No.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}};var wr=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};wr.now=So.now;var Mt=class extends wr{constructor(n,t=wr.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var fs=class extends Mt{flush(n){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var vw=new fs(ds);var Oe=new Mt(St),du=Oe;var hs=class extends St{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}schedule(n,t=0){return t>0?super.schedule(n,t):(this.delay=t,this.state=n,this.scheduler.flush(this),this)}execute(n,t){return t>0||this.closed?super.execute(n,t):this._execute(n,t)}requestAsyncId(n,t,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(n,t,r):(n.flush(this),0)}};var ps=class extends Mt{};var yw=new ps(hs);var gs=class extends St{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=Er.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(Er.cancelAnimationFrame(t),n._scheduled=void 0)}};var ms=class extends Mt{flush(n){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var Dw=new ms(gs);function hn(e,n){let t=S(e)?e:()=>e,r=o=>o.error(t());return new x(n?o=>n.schedule(r,0,o):r)}function fu(e){return!!e&&(e instanceof x||S(e.lift)&&S(e.subscribe))}var st=dn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ew(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):t?r(n.defaultValue):o(new st)}})})}function vs(e){return e instanceof Date&&!isNaN(e)}var ys=dn(e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function at(e,n){let{first:t,each:r,with:o=ww,scheduler:i=n??Oe,meta:s=null}=vs(e)?{first:e}:typeof e=="number"?{each:e}:e;if(t==null&&r==null)throw new TypeError("No timeout provided.");return C((a,c)=>{let u,l,d=null,h=0,f=p=>{l=ce(c,i,()=>{try{u.unsubscribe(),k(o({meta:s,lastValue:d,seen:h})).subscribe(c)}catch(m){c.error(m)}},p)};u=a.subscribe(T(c,p=>{l?.unsubscribe(),h++,c.next(d=p),r>0&&f(r)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!h&&f(t!=null?typeof t=="number"?t:+t-i.now():r)})}function ww(e){throw new ys(e)}function Ds(e){return new x(n=>{k(e()).subscribe(n)})}var Iw=["addListener","removeListener"],Cw=["addEventListener","removeEventListener"],bw=["on","off"];function hu(e,n,t,r){if(S(t)&&(r=t,t=void 0),r)return hu(e,n,t).pipe(vr(r));let[o,i]=Sw(e)?Cw.map(s=>a=>e[s](n,a,t)):Tw(e)?Iw.map(ip(e,n)):_w(e)?bw.map(ip(e,n)):[];if(!o&&gr(e))return Q(s=>hu(s,n,t))(k(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function ip(e,n){return t=>r=>e[t](n,r)}function Tw(e){return S(e.addListener)&&S(e.removeListener)}function _w(e){return S(e.on)&&S(e.off)}function Sw(e){return S(e.addEventListener)&&S(e.removeEventListener)}function Un(e=0,n,t=du){let r=-1;return n!=null&&(is(n)?t=n:r=n),new x(o=>{let i=vs(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Mw(e=0,n=Oe){return e<0&&(e=0),Un(e,e,n)}function xw(...e){let n=Xe(e),t=Jh(e,1/0),r=e;return r.length?r.length===1?k(r[0]):_t(t)(G(r,n)):Ie}function sp(e,n){return(t,r)=>!e.call(n,t,r)}function Nw(e,n,t){return[re(n,t)(k(e)),re(sp(n,t))(k(e))]}function ap(e){return C((n,t)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,t.next(u)}s&&t.complete()},c=()=>{i=null,s&&t.complete()};n.subscribe(T(t,u=>{r=!0,o=u,i||k(e(u)).subscribe(i=T(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function Rw(e,n=Oe){return ap(()=>Un(e,n))}function Aw(e,...n){var t,r;let o=(t=Xe(n))!==null&&t!==void 0?t:Oe,i=(r=n[0])!==null&&r!==void 0?r:null,s=n[1]||1/0;return C((a,c)=>{let u=[],l=!1,d=p=>{let{buffer:m,subs:y}=p;y.unsubscribe(),Gt(u,p),c.next(m),l&&h()},h=()=>{if(u){let p=new Y;c.add(p);let y={buffer:[],subs:p};u.push(y),ce(p,o,()=>d(y),e)}};i!==null&&i>=0?ce(c,o,h,i,!0):l=!0,h();let f=T(c,p=>{let m=u.slice();for(let y of m){let{buffer:_}=y;_.push(p),s<=_.length&&d(y)}},()=>{for(;u?.length;)c.next(u.shift().buffer);f?.unsubscribe(),c.complete(),c.unsubscribe()},void 0,()=>u=null);a.subscribe(f)})}function Es(e,n,t,r,o){return(i,s)=>{let a=t,c=n,u=0;i.subscribe(T(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function cp(e,n){return C(Es(e,n,arguments.length>=2,!1,!0))}var Ow=(e,n)=>(e.push(n),e);function kw(){return C((e,n)=>{cp(Ow,[])(e).subscribe(n)})}function ct(e,n){return S(n)?Q(e,n,1):Q(e,1)}function Pw(e){return C((n,t)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,t.next(a)}};n.subscribe(T(t,a=>{i?.unsubscribe(),r=!0,o=a,i=T(t,s,it),k(e(a)).subscribe(i)},()=>{s(),t.complete()},void 0,()=>{o=i=null}))})}function up(e,n=Oe){return C((t,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=n.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}t.subscribe(T(r,u=>{i=u,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function pn(e){return C((n,t)=>{let r=!1;n.subscribe(T(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function lp(){return C((e,n)=>{e.subscribe(T(n,it))})}function pu(e){return A(()=>e)}function gu(e,n){return n?t=>fn(n.pipe(ze(1),lp()),t.pipe(gu(e))):Q((t,r)=>k(e(t,r)).pipe(ze(1),pu(t)))}function Fw(e,n=Oe){let t=Un(e,n);return gu(()=>t)}function dp(e,n=ve){return e=e??Lw,C((t,r)=>{let o,i=!0;t.subscribe(T(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Lw(e,n){return e===n}function ws(e=jw){return C((n,t)=>{let r=!1;n.subscribe(T(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function jw(){return new st}function gn(e){return C((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function xt(e,n){let t=arguments.length>=2;return r=>r.pipe(e?re((o,i)=>e(o,i,r)):ve,ze(1),t?pn(n):ws(()=>new st))}function Vw(e,n,t,r){return C((o,i)=>{let s;!n||typeof n=="function"?s=n:{duration:t,element:s,connector:r}=n;let a=new Map,c=p=>{a.forEach(p),p(i)},u=p=>c(m=>m.error(p)),l=0,d=!1,h=new Co(i,p=>{try{let m=e(p),y=a.get(m);if(!y){a.set(m,y=r?r():new B);let _=f(m,y);if(i.next(_),t){let $=T(y,()=>{y.complete(),$?.unsubscribe()},void 0,void 0,()=>a.delete(m));h.add(k(t(_)).subscribe($))}}y.next(s?s(p):p)}catch(m){u(m)}},()=>c(p=>p.complete()),u,()=>a.clear(),()=>(d=!0,l===0));o.subscribe(h);function f(p,m){let y=new x(_=>{l++;let $=m.subscribe(_);return()=>{$.unsubscribe(),--l===0&&d&&h.unsubscribe()}});return y.key=p,y}})}function Ir(e){return e<=0?()=>Ie:C((n,t)=>{let r=[];n.subscribe(T(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function mu(e,n){let t=arguments.length>=2;return r=>r.pipe(e?re((o,i)=>e(o,i,r)):ve,Ir(1),t?pn(n):ws(()=>new st))}function Bw(){return C((e,n)=>{let t,r=!1;e.subscribe(T(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0}))})}function Uw(...e){let n=e.length;if(n===0)throw new Error("list of properties cannot be empty.");return A(t=>{let r=t;for(let o=0;o<n;o++){let i=r?.[e[o]];if(typeof i<"u")r=i;else return}return r})}function Is(e,n){return C(Es(e,n,arguments.length>=2,!0))}function Hw(e){return re((n,t)=>e<=t)}function $w(e){return C((n,t)=>{let r=!1,o=0;n.subscribe(T(t,i=>(r||(r=!e(i,o++)))&&t.next(i)))})}function zw(e,n){return S(n)?ie(()=>e,n):ie(()=>e)}function fp(e,n){return C((t,r)=>{let o=n;return ie((i,s)=>e(o,i,s),(i,s)=>(o=s,s))(t).subscribe(r),()=>{o=null}})}function hp(e,n=!1){return C((t,r)=>{let o=0;t.subscribe(T(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function pp(...e){let n=mr(e);return C((t,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)k(e[c]).subscribe(T(r,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(ve))&&(s=null))},it));t.subscribe(T(r,c=>{if(a){let u=[c,...i];r.next(n?n(...u):u)}}))})}function Eu(e,n){return Object.is(e,n)}var ue=null,Cs=!1,wu=1,Ne=Symbol("SIGNAL");function P(e){let n=ue;return ue=e,n}function Iu(){return ue}var Cr={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function br(e){if(Cs)throw new Error("");if(ue===null)return;ue.consumerOnSignalRead(e);let n=ue.nextProducerIndex++;if(Ms(ue),n<ue.producerNode.length&&ue.producerNode[n]!==e&&Ro(ue)){let t=ue.producerNode[n];Ss(t,ue.producerIndexOfThis[n])}ue.producerNode[n]!==e&&(ue.producerNode[n]=e,ue.producerIndexOfThis[n]=Ro(ue)?mp(e,ue,n):0),ue.producerLastReadVersion[n]=e.version}function gp(){wu++}function Cu(e){if(!(Ro(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===wu)){if(!e.producerMustRecompute(e)&&!_s(e)){Du(e);return}e.producerRecomputeValue(e),Du(e)}}function bu(e){if(e.liveConsumerNode===void 0)return;let n=Cs;Cs=!0;try{for(let t of e.liveConsumerNode)t.dirty||qw(t)}finally{Cs=n}}function Tu(){return ue?.consumerAllowSignalWrites!==!1}function qw(e){e.dirty=!0,bu(e),e.consumerMarkedDirty?.(e)}function Du(e){e.dirty=!1,e.lastCleanEpoch=wu}function Ao(e){return e&&(e.nextProducerIndex=0),P(e)}function Ts(e,n){if(P(n),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Ro(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Ss(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _s(e){Ms(e);for(let n=0;n<e.producerNode.length;n++){let t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version||(Cu(t),r!==t.version))return!0}return!1}function Oo(e){if(Ms(e),Ro(e))for(let n=0;n<e.producerNode.length;n++)Ss(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function mp(e,n,t){if(vp(e),e.liveConsumerNode.length===0&&yp(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=mp(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Ss(e,n){if(vp(e),e.liveConsumerNode.length===1&&yp(e))for(let r=0;r<e.producerNode.length;r++)Ss(e.producerNode[r],e.producerIndexOfThis[r]);let t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[n],o=e.liveConsumerNode[n];Ms(o),o.producerIndexOfThis[r]=n}}function Ro(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ms(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function vp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function yp(e){return e.producerNode!==void 0}function xs(e,n){let t=Object.create(Gw);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(Cu(t),br(t),t.value===bs)throw t.error;return t.value};return r[Ne]=t,r}var vu=Symbol("UNSET"),yu=Symbol("COMPUTING"),bs=Symbol("ERRORED"),Gw=V(v({},Cr),{value:vu,dirty:!0,error:null,equal:Eu,kind:"computed",producerMustRecompute(e){return e.value===vu||e.value===yu},producerRecomputeValue(e){if(e.value===yu)throw new Error("Detected cycle in computations.");let n=e.value;e.value=yu;let t=Ao(e),r,o=!1;try{r=e.computation(),P(null),o=n!==vu&&n!==bs&&r!==bs&&e.equal(n,r)}catch(i){r=bs,e.error=i}finally{Ts(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Ww(){throw new Error}var Dp=Ww;function Ep(e){Dp(e)}function _u(e){Dp=e}var Zw=null;function Su(e,n){let t=Object.create(Ns);t.value=e,n!==void 0&&(t.equal=n);let r=()=>(br(t),t.value);return r[Ne]=t,r}function Tr(e,n){Tu()||Ep(e),e.equal(e.value,n)||(e.value=n,Yw(e))}function Mu(e,n){Tu()||Ep(e),Tr(e,n(e.value))}var Ns=V(v({},Cr),{equal:Eu,value:void 0,kind:"signal"});function Yw(e){e.version++,gp(),bu(e),Zw?.()}function xu(e){let n=P(null);try{return e()}finally{P(n)}}var Nu;function ko(){return Nu}function Zt(e){let n=Nu;return Nu=e,n}var Rs=Symbol("NotFound");var wg="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(n,t){super(Da(n,t)),this.code=n}};function Xw(e){return`NG0${Math.abs(e)}`}function Da(e,n){return`${Xw(e)}${n?": "+n:""}`}var Ea=Symbol("InputSignalNode#UNSET"),Ig=V(v({},Ns),{transformFn:void 0,applyValueToInputSignal(e,n){Tr(e,n)}});function Cg(e,n){let t=Object.create(Ig);t.value=e,t.transformFn=n?.transform;function r(){if(br(t),t.value===Ea){let o=null;throw new D(-950,o)}return t.value}return r[Ne]=t,r}function Yo(e){return{toString:e}.toString()}var As="__parameters__";function eI(e){return function(...t){if(e){let r=e(...t);for(let o in r)this[o]=r[o]}}}function nd(e,n,t){return Yo(()=>{let r=eI(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(As)?c[As]:Object.defineProperty(c,As,{value:[]})[As];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var pe=globalThis;function W(e){for(let n in e)if(e[n]===W)return n;throw Error("Could not find renamed property on target object.")}function tI(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Pe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Pe).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
|
|
4
4
|
`);return r>=0?t.slice(0,r):t}function Gu(e,n){return e?n?`${e} ${n}`:e:n||""}var nI=W({__forward_ref__:W});function bg(e){return e.__forward_ref__=bg,e.toString=function(){return Pe(this())},e}function De(e){return Tg(e)?e():e}function Tg(e){return typeof e=="function"&&e.hasOwnProperty(nI)&&e.__forward_ref__===bg}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ht(e){return{providers:e.providers||[],imports:e.imports||[]}}function wa(e){return wp(e,Sg)||wp(e,Mg)}function _g(e){return wa(e)!==null}function wp(e,n){return e.hasOwnProperty(n)?e[n]:null}function rI(e){let n=e&&(e[Sg]||e[Mg]);return n||null}function Ip(e){return e&&(e.hasOwnProperty(Cp)||e.hasOwnProperty(oI))?e[Cp]:null}var Sg=W({\u0275prov:W}),Cp=W({\u0275inj:W}),Mg=W({ngInjectableDef:W}),oI=W({ngInjectorDef:W}),w=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=E({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function xg(e){return e&&!!e.\u0275providers}var iI=W({\u0275cmp:W}),sI=W({\u0275dir:W}),aI=W({\u0275pipe:W}),cI=W({\u0275mod:W}),$s=W({\u0275fac:W}),jo=W({__NG_ELEMENT_ID__:W}),bp=W({__NG_ENV_ID__:W});function Rt(e){return typeof e=="string"?e:e==null?"":String(e)}function uI(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Rt(e)}function Ng(e,n){throw new D(-200,e)}function rd(e,n){throw new D(-201,!1)}var j=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(j||{}),Wu;function Rg(){return Wu}function ke(e){let n=Wu;return Wu=e,n}function Ag(e,n,t){let r=wa(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&j.Optional)return null;if(n!==void 0)return n;rd(e,"Injector")}var lI={},$n=lI,Zu="__NG_DI_FLAG__",zs=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=t;return this.injector.get(n,r.optional?Rs:$n,r)}},qs="ngTempTokenPath",dI="ngTokenPath",fI=/\n/gm,hI="\u0275",Tp="__source";function pI(e,n=j.Default){if(ko()===void 0)throw new D(-203,!1);if(ko()===null)return Ag(e,void 0,n);{let t=ko(),r;return t instanceof zs?r=t.injector:r=t,r.get(e,n&j.Optional?null:void 0,n)}}function I(e,n=j.Default){return(Rg()||pI)(De(e),n)}function g(e,n=j.Default){return I(e,Ia(n))}function Ia(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Yu(e){let n=[];for(let t=0;t<e.length;t++){let r=De(e[t]);if(Array.isArray(r)){if(r.length===0)throw new D(900,!1);let o,i=j.Default;for(let s=0;s<r.length;s++){let a=r[s],c=gI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(I(o,i))}else n.push(I(r))}return n}function od(e,n){return e[Zu]=n,e.prototype[Zu]=n,e}function gI(e){return e[Zu]}function mI(e,n,t,r){let o=e[qs];throw n[Tp]&&o.unshift(n[Tp]),e.message=vI(`
|
|
5
5
|
`+e.message,o,t,r),e[dI]=o,e[qs]=null,e}function vI(e,n,t,r=null){e=e&&e.charAt(0)===`
|
|
6
6
|
`&&e.charAt(1)==hI?e.slice(2):e;let o=Pe(n);if(Array.isArray(n))o=n.map(Pe).join(" -> ");else if(typeof n=="object"){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Pe(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(fI,`
|
|
7
|
-
`)}`}var SB=od(nd("Inject",e=>({token:e})),-1),id=od(nd("Optional"),8);var Og=od(nd("SkipSelf"),4);function qn(e,n){let t=e.hasOwnProperty($s);return t?e[$s]:null}function yI(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function DI(e){return e.flat(Number.POSITIVE_INFINITY)}function sd(e,n){e.forEach(t=>Array.isArray(t)?sd(t,n):n(t))}function kg(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Gs(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function EI(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function wI(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function zr(e,n,t){let r=Qo(e,n);return r>=0?e[r|1]=t:(r=~r,wI(e,r,n,t)),r}function Ru(e,n){let t=Qo(e,n);if(t>=0)return e[t|1]}function Qo(e,n){return II(e,n,1)}function II(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var At={},Re=[],Ar=new w(""),Pg=new w("",-1),Fg=new w(""),Ws=class{get(n,t=$n){if(t===$n){let r=new Error(`NullInjectorError: No provider for ${Pe(n)}!`);throw r.name="NullInjectorError",r}return t}};function Lg(e,n){let t=e[cI]||null;if(!t&&n===!0)throw new Error(`Type ${Pe(e)} does not have '\u0275mod' property.`);return t}function vn(e){return e[iI]||null}function jg(e){return e[sI]||null}function CI(e){return e[aI]||null}function tr(e){return{\u0275providers:e}}function bI(...e){return{\u0275providers:Vg(!0,e),\u0275fromNgModule:!0}}function Vg(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return sd(n,s=>{let a=s;Qu(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Bg(o,i),t}function Bg(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];ad(o,i=>{n(i,r)})}}function Qu(e,n,t,r){if(e=De(e),!e)return!1;let o=null,i=Ip(e),s=!i&&vn(e);if(!i&&!s){let c=e.ngModule;if(i=Ip(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Qu(u,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{sd(i.imports,l=>{Qu(l,n,t,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Bg(u,n)}if(!a){let u=qn(o)||(()=>new o);n({provide:o,useFactory:u,deps:Re},o),n({provide:Fg,useValue:o,multi:!0},o),n({provide:Ar,useValue:()=>I(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ad(c,l=>{n(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ad(e,n){for(let t of e)xg(t)&&(t=t.\u0275providers),Array.isArray(t)?ad(t,n):n(t)}var TI=W({provide:String,useValue:W});function Ug(e){return e!==null&&typeof e=="object"&&TI in e}function _I(e){return!!(e&&e.useExisting)}function SI(e){return!!(e&&e.useFactory)}function Or(e){return typeof e=="function"}function MI(e){return!!e.useClass}var Ca=new w(""),js={},_p={},Au;function ba(){return Au===void 0&&(Au=new Ws),Au}var be=class{},Bo=class extends be{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Ju(n,s=>this.processProvider(s)),this.records.set(Pg,_r(void 0,this)),o.has("environment")&&this.records.set(be,_r(void 0,this));let i=this.records.get(Ca);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Fg,Re,j.Self))}retrieve(n,t){let r=t;return this.get(n,r.optional?Rs:$n,r)}destroy(){Fo(this),this._destroyed=!0;let n=P(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),P(n)}}onDestroy(n){return Fo(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Fo(this);let t=Zt(this),r=ke(void 0),o;try{return n()}finally{Zt(t),ke(r)}}get(n,t=$n,r=j.Default){if(Fo(this),n.hasOwnProperty(bp))return n[bp](this);r=Ia(r);let o,i=Zt(this),s=ke(void 0);try{if(!(r&j.SkipSelf)){let c=this.records.get(n);if(c===void 0){let u=OI(n)&&wa(n);u&&this.injectableDefInScope(u)?c=_r(Ku(n),js):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let a=r&j.Self?ba():this.parent;return t=r&j.Optional&&t===$n?null:t,a.get(n,t)}catch(a){if(a.name==="NullInjectorError"){if((a[qs]=a[qs]||[]).unshift(Pe(n)),i)throw a;return mI(a,n,"R3InjectorError",this.source)}else throw a}finally{ke(s),Zt(i)}}resolveInjectorInitializers(){let n=P(null),t=Zt(this),r=ke(void 0),o;try{let i=this.get(Ar,Re,j.Self);for(let s of i)s()}finally{Zt(t),ke(r),P(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(Pe(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=De(n);let t=Or(n)?n:De(n&&n.provide),r=NI(n);if(!Or(n)&&n.multi===!0){let o=this.records.get(t);o||(o=_r(void 0,js,!0),o.factory=()=>Yu(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=P(null);try{return t.value===_p?Ng(Pe(n)):t.value===js&&(t.value=_p,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&AI(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{P(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=De(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Ku(e){let n=wa(e),t=n!==null?n.factory:qn(e);if(t!==null)return t;if(e instanceof w)throw new D(204,!1);if(e instanceof Function)return xI(e);throw new D(204,!1)}function xI(e){if(e.length>0)throw new D(204,!1);let t=rI(e);return t!==null?()=>t.factory(e):()=>new e}function NI(e){if(Ug(e))return _r(void 0,e.useValue);{let n=Hg(e);return _r(n,js)}}function Hg(e,n,t){let r;if(Or(e)){let o=De(e);return qn(o)||Ku(o)}else if(Ug(e))r=()=>De(e.useValue);else if(SI(e))r=()=>e.useFactory(...Yu(e.deps||[]));else if(_I(e))r=(o,i)=>I(De(e.useExisting),i!==void 0&&i&j.Optional?j.Optional:void 0);else{let o=De(e&&(e.useClass||e.provide));if(RI(e))r=()=>new o(...Yu(e.deps));else return qn(o)||Ku(o)}return r}function Fo(e){if(e.destroyed)throw new D(205,!1)}function _r(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function RI(e){return!!e.deps}function AI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function OI(e){return typeof e=="function"||typeof e=="object"&&e instanceof w}function Ju(e,n){for(let t of e)Array.isArray(t)?Ju(t,n):t&&xg(t)?Ju(t.\u0275providers,n):n(t)}function Le(e,n){let t;e instanceof Bo?(Fo(e),t=e):t=new zs(e);let r,o=Zt(t),i=ke(void 0);try{return n()}finally{Zt(o),ke(i)}}function cd(){return Rg()!==void 0||ko()!=null}function ud(e){if(!cd())throw new D(-203,!1)}function kI(e){let n=pe.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function PI(e){return typeof e=="function"}var Lt=0,O=1,N=2,Te=3,lt=4,je=5,kr=6,Zs=7,se=8,Pr=9,Yt=10,Z=11,Uo=12,Sp=13,qr=14,Fe=15,Gn=16,Sr=17,Qt=18,Ta=19,$g=20,gn=21,Ou=22,Wn=23,tt=24,Nr=25,X=26,ld=1;var Zn=7,Ys=8,Fr=9,Ce=10;function mn(e){return Array.isArray(e)&&typeof e[ld]=="object"}function Jt(e){return Array.isArray(e)&&e[ld]===!0}function dd(e){return(e.flags&4)!==0}function Gr(e){return e.componentOffset>-1}function _a(e){return(e.flags&1)===1}function dt(e){return!!e.template}function Qs(e){return(e[N]&512)!==0}function Wr(e){return(e[N]&256)===256}var Xu=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function zg(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var jt=(()=>{let e=()=>qg;return e.ngInherit=!0,e})();function qg(e){return e.type.prototype.ngOnChanges&&(e.setInput=LI),FI}function FI(){let e=Wg(this),n=e?.current;if(n){let t=e.previous;if(t===At)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function LI(e,n,t,r,o){let i=this.declaredInputs[r],s=Wg(e)||jI(e,{previous:At,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Xu(u&&u.currentValue,t,c===At),zg(e,n,o,t)}var Gg="__ngSimpleChanges__";function Wg(e){return e[Gg]||null}function jI(e,n){return e[Gg]=n}var Mp=null;var K=function(e,n=null,t){Mp?.(e,n,t)},Zg="svg",VI="math";function Ot(e){for(;Array.isArray(e);)e=e[Lt];return e}function BI(e){for(;Array.isArray(e);){if(typeof e[ld]=="object")return e;e=e[Lt]}return null}function Yg(e,n){return Ot(n[e])}function Vt(e,n){return Ot(n[e.index])}function fd(e,n){return e.data[n]}function nr(e,n){return e[n]}function hd(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function kt(e,n){let t=n[e];return mn(t)?t:t[Lt]}function UI(e){return(e[N]&4)===4}function pd(e){return(e[N]&128)===128}function HI(e){return Jt(e[Te])}function yn(e,n){return n==null?null:e[n]}function Qg(e){e[Sr]=0}function Kg(e){e[N]&1024||(e[N]|=1024,pd(e)&&Zr(e))}function $I(e,n){for(;e>0;)n=n[qr],e--;return n}function Sa(e){return!!(e[N]&9216||e[tt]?.dirty)}function el(e){e[Yt].changeDetectionScheduler?.notify(8),e[N]&64&&(e[N]|=1024),Sa(e)&&Zr(e)}function Zr(e){e[Yt].changeDetectionScheduler?.notify(0);let n=Yn(e);for(;n!==null&&!(n[N]&8192||(n[N]|=8192,!pd(n)));)n=Yn(n)}function Jg(e,n){if(Wr(e))throw new D(911,!1);e[gn]===null&&(e[gn]=[]),e[gn].push(n)}function zI(e,n){if(e[gn]===null)return;let t=e[gn].indexOf(n);t!==-1&&e[gn].splice(t,1)}function Yn(e){let n=e[Te];return Jt(n)?n[Te]:n}function gd(e){return e[Zs]??=[]}function md(e){return e.cleanup??=[]}function qI(e,n,t,r){let o=gd(n);o.push(t),e.firstCreatePass&&md(e).push(r,o.length-1)}var F={lFrame:am(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var tl=!1;function GI(){return F.lFrame.elementDepthCount}function WI(){F.lFrame.elementDepthCount++}function ZI(){F.lFrame.elementDepthCount--}function vd(){return F.bindingsEnabled}function Xg(){return F.skipHydrationRootTNode!==null}function YI(e){return F.skipHydrationRootTNode===e}function QI(){F.skipHydrationRootTNode=null}function b(){return F.lFrame.lView}function z(){return F.lFrame.tView}function yd(e){return F.lFrame.contextLView=e,e[se]}function Dd(e){return F.lFrame.contextLView=null,e}function Se(){let e=em();for(;e!==null&&e.type===64;)e=e.parent;return e}function em(){return F.lFrame.currentTNode}function KI(){let e=F.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function wn(e,n){let t=F.lFrame;t.currentTNode=e,t.isParent=n}function Ed(){return F.lFrame.isParent}function wd(){F.lFrame.isParent=!1}function tm(){return F.lFrame.contextLView}function nm(){return tl}function Ks(e){let n=tl;return tl=e,n}function Ve(){let e=F.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function rm(){return F.lFrame.bindingIndex}function JI(e){return F.lFrame.bindingIndex=e}function In(){return F.lFrame.bindingIndex++}function Ma(e){let n=F.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function XI(){return F.lFrame.inI18n}function eC(e,n){let t=F.lFrame;t.bindingIndex=t.bindingRootIndex=e,nl(n)}function tC(){return F.lFrame.currentDirectiveIndex}function nl(e){F.lFrame.currentDirectiveIndex=e}function om(e){let n=F.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Id(){return F.lFrame.currentQueryIndex}function xa(e){F.lFrame.currentQueryIndex=e}function nC(e){let n=e[O];return n.type===2?n.declTNode:n.type===1?e[je]:null}function im(e,n,t){if(t&j.SkipSelf){let o=n,i=e;for(;o=o.parent,o===null&&!(t&j.Host);)if(o=nC(i),o===null||(i=i[qr],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=F.lFrame=sm();return r.currentTNode=n,r.lView=e,!0}function Cd(e){let n=sm(),t=e[O];F.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function sm(){let e=F.lFrame,n=e===null?null:e.child;return n===null?am(e):n}function am(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function cm(){let e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var um=cm;function bd(){let e=cm();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function rC(e){return(F.lFrame.contextLView=$I(e,F.lFrame.contextLView))[se]}function pt(){return F.lFrame.selectedIndex}function Qn(e){F.lFrame.selectedIndex=e}function Cn(){let e=F.lFrame;return fd(e.tView,e.selectedIndex)}function MB(){F.lFrame.currentNamespace=Zg}function xB(){oC()}function oC(){F.lFrame.currentNamespace=null}function iC(){return F.lFrame.currentNamespace}var lm=!0;function Na(){return lm}function Ra(e){lm=e}function sC(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=qg(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function Td(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),u&&((e.viewHooks??=[]).push(t,u),(e.viewCheckHooks??=[]).push(t,u)),l!=null&&(e.destroyHooks??=[]).push(t,l)}}function Vs(e,n,t){dm(e,n,3,t)}function Bs(e,n,t,r){(e[N]&3)===t&&dm(e,n,t,r)}function ku(e,n){let t=e[N];(t&3)===n&&(t&=16383,t+=1,e[N]=t)}function dm(e,n,t,r){let o=r!==void 0?e[Sr]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[Sr]+=65536),(a<i||i==-1)&&(aC(e,t,n,c),e[Sr]=(e[Sr]&4294901760)+c+2),c++}function xp(e,n){K(4,e,n);let t=P(null);try{n.call(e)}finally{P(t),K(5,e,n)}}function aC(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[N]>>14<e[Sr]>>16&&(e[N]&3)===n&&(e[N]+=16384,xp(a,i)):xp(a,i)}var Rr=-1,Kn=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r){this.factory=n,this.canSeeViewProviders=t,this.injectImpl=r}};function cC(e){return(e.flags&8)!==0}function uC(e){return(e.flags&16)!==0}function lC(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];dC(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function fm(e){return e===3||e===4||e===6}function dC(e){return e.charCodeAt(0)===64}function Lr(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?Np(e,t,o,null,n[++r]):Np(e,t,o,null,null))}}return e}function Np(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function hm(e){return e!==Rr}function Js(e){return e&32767}function fC(e){return e>>16}function Xs(e,n){let t=fC(e),r=n;for(;t>0;)r=r[qr],t--;return r}var rl=!0;function ea(e){let n=rl;return rl=e,n}var hC=256,pm=hC-1,gm=5,pC=0,Nt={};function gC(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(jo)&&(r=t[jo]),r==null&&(r=t[jo]=pC++);let o=r&pm,i=1<<o;n.data[e+(o>>gm)]|=i}function ta(e,n){let t=mm(e,n);if(t!==-1)return t;let r=n[O];r.firstCreatePass&&(e.injectorIndex=n.length,Pu(r.data,e),Pu(n,null),Pu(r.blueprint,null));let o=_d(e,n),i=e.injectorIndex;if(hm(o)){let s=Js(o),a=Xs(o,n),c=a[O].data;for(let u=0;u<8;u++)n[i+u]=a[s+u]|c[s+u]}return n[i+8]=o,i}function Pu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mm(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function _d(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=wm(o),r===null)return Rr;if(t++,o=o[qr],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Rr}function ol(e,n,t){gC(e,n,t)}function mC(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(fm(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function vm(e,n,t){if(t&j.Optional||e!==void 0)return e;rd(n,"NodeInjector")}function ym(e,n,t,r){if(t&j.Optional&&r===void 0&&(r=null),(t&(j.Self|j.Host))===0){let o=e[Pr],i=ke(void 0);try{return o?o.get(n,r,t&j.Optional):Ag(n,r,t&j.Optional)}finally{ke(i)}}return vm(r,n,t)}function Dm(e,n,t,r=j.Default,o){if(e!==null){if(n[N]&2048&&!(r&j.Self)){let s=EC(e,n,t,r,Nt);if(s!==Nt)return s}let i=Em(e,n,t,r,Nt);if(i!==Nt)return i}return ym(n,t,r,o)}function Em(e,n,t,r,o){let i=yC(t);if(typeof i=="function"){if(!im(n,e,r))return r&j.Host?vm(o,t,r):ym(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&j.Optional))rd(t);else return s}finally{um()}}else if(typeof i=="number"){let s=null,a=mm(e,n),c=Rr,u=r&j.Host?n[Fe][je]:null;for((a===-1||r&j.SkipSelf)&&(c=a===-1?_d(e,n):n[a+8],c===Rr||!Ap(r,!1)?a=-1:(s=n[O],a=Js(c),n=Xs(c,n)));a!==-1;){let l=n[O];if(Rp(i,a,l.data)){let d=vC(a,n,t,s,r,u);if(d!==Nt)return d}c=n[a+8],c!==Rr&&Ap(r,n[O].data[a+8]===u)&&Rp(i,a,n)?(s=l,a=Js(c),n=Xs(c,n)):a=-1}}return o}function vC(e,n,t,r,o,i){let s=n[O],a=s.data[e+8],c=r==null?Gr(a)&&rl:r!=s&&(a.type&3)!==0,u=o&j.Host&&i===a,l=Us(a,s,t,c,u);return l!==null?Ho(n,s,l,a,o):Nt}function Us(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let p=s[f];if(f<c&&t===p||f>=c&&p.type===t)return f}if(o){let f=s[c];if(f&&dt(f)&&f.type===t)return c}return null}function Ho(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Kn){let a=i;a.resolving&&Ng(uI(s[t]));let c=ea(a.canSeeViewProviders);a.resolving=!0;let u,l=a.injectImpl?ke(a.injectImpl):null,d=im(e,r,j.Default);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&sC(t,s[t],n)}finally{l!==null&&ke(l),ea(c),a.resolving=!1,um()}}return i}function yC(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(jo)?e[jo]:void 0;return typeof n=="number"?n>=0?n&pm:DC:n}function Rp(e,n,t){let r=1<<e;return!!(t[n+(e>>gm)]&r)}function Ap(e,n){return!(e&j.Self)&&!(e&j.Host&&n)}var zn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Dm(this._tNode,this._lView,n,Ia(r),t)}};function DC(){return new zn(Se(),b())}function Sd(e){return Yo(()=>{let n=e.prototype.constructor,t=n[$s]||il(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[$s]||il(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function il(e){return Tg(e)?()=>{let n=il(De(e));return n&&n()}:qn(e)}function EC(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[N]&2048&&!Qs(s);){let a=Em(i,s,t,r|j.Self,Nt);if(a!==Nt)return a;let c=i.parent;if(!c){let u=s[$g];if(u){let l=u.get(t,Nt,r);if(l!==Nt)return l}c=wm(s),s=s[qr]}i=c}return o}function wm(e){let n=e[O],t=n.type;return t===2?n.declTNode:t===1?e[je]:null}function Aa(e){return mC(Se(),e)}function Op(e,n=null,t=null,r){let o=Im(e,n,t,r);return o.resolveInjectorInitializers(),o}function Im(e,n=null,t=null,r,o=new Set){let i=[t||Re,bI(e)];return r=r||(typeof e=="object"?void 0:Pe(e)),new Bo(i,n||ba(),r||null,o)}var oe=class e{static THROW_IF_NOT_FOUND=$n;static NULL=new Ws;static create(n,t){if(Array.isArray(n))return Op({name:""},t,n,"");{let r=n.name??"";return Op({name:r},n.parent,n.providers,r)}}static \u0275prov=E({token:e,providedIn:"any",factory:()=>I(Pg)});static __NG_ELEMENT_ID__=-1};var kp=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Aa(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},wC=new w("");wC.__NG_ELEMENT_ID__=e=>{let n=Se();if(n===null)throw new D(204,!1);if(n.type&2)return n.value;if(e&j.Optional)return null;throw new D(204,!1)};var Cm=!1,Xt=(()=>{class e{static __NG_ELEMENT_ID__=IC;static __NG_ENV_ID__=t=>t}return e})(),na=class extends Xt{_lView;constructor(n){super(),this._lView=n}onDestroy(n){let t=this._lView;return Wr(t)?(n(),()=>{}):(Jg(t,n),()=>zI(t,n))}};function IC(){return new na(b())}var Dn=class{},Md=new w("",{providedIn:"root",factory:()=>!1});var bm=new w(""),Tm=new w(""),en=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new ye(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),NB=(()=>{class e{internalPendingTasks=g(en);scheduler=g(Dn);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){return $i(this,null,function*(){let r=this.add();try{return yield t()}finally{r()}})}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),sl=class extends B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,cd()&&(this.destroyRef=g(Xt,{optional:!0})??void 0,this.pendingTasks=g(en,{optional:!0})??void 0)}emit(n){let t=P(null);try{super.next(n)}finally{P(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof Y&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ae=sl;function $o(...e){}function _m(e){let n,t;function r(){e=$o;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Pp(e){return queueMicrotask(()=>e()),()=>{e=$o}}var xd="isAngularZone",ra=xd+"_ID",CC=0,H=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ae(!1);onMicrotaskEmpty=new Ae(!1);onStable=new Ae(!1);onError=new Ae(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Cm}=n;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,_C(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(xd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,bC,$o,$o);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},bC={};function Nd(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function TC(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){_m(()=>{e.callbackScheduled=!1,al(e),e.isCheckStableRunning=!0,Nd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),al(e)}function _C(e){let n=()=>{TC(e)},t=CC++;e._inner=e._inner.fork({name:"angular",properties:{[xd]:!0,[ra]:t,[ra+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(SC(c))return r.invokeTask(i,s,a,c);try{return Fp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Lp(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Fp(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!MC(c)&&n(),Lp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,al(e),Nd(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function al(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Fp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Lp(e){e._nesting--,Nd(e)}var oa=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ae;onMicrotaskEmpty=new Ae;onStable=new Ae;onError=new Ae;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function SC(e){return Sm(e,"__ignore_ng_zone__")}function MC(e){return Sm(e,"__scheduler_tick__")}function Sm(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}function xC(e="zone.js",n){return e==="noop"?new oa:e==="zone.js"?new H(n):e}var ft=class{_console=console;handleError(n){this._console.error("ERROR",n)}},NC=new w("",{providedIn:"root",factory:()=>{let e=g(H),n=g(ft);return t=>e.runOutsideAngular(()=>n.handleError(t))}}),ia=class{destroyed=!1;listeners=null;errorHandler=g(ft,{optional:!0});destroyRef=g(Xt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new D(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(Da(953,!1));return}if(this.listeners===null)return;let t=P(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{P(t)}}};function RB(e){return new ia}function jp(e,n){return Cg(e,n)}function RC(e){return Cg(Ea,e)}var Mm=(jp.required=RC,jp);function AC(){return Yr(Se(),b())}function Yr(e,n){return new Ge(Vt(e,n))}var Ge=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=AC}return e})();function xm(e){return e instanceof Ge?e.nativeElement:e}function OC(e){return typeof e=="function"&&e[Ne]!==void 0}function Qr(e,n){let t=Su(e,n?.equal),r=t[Ne];return t.set=o=>Tr(r,o),t.update=o=>Mu(r,o),t.asReadonly=Nm.bind(t),t}function Nm(){let e=this[Ne];if(e.readonlyFn===void 0){let n=()=>this();n[Ne]=e,e.readonlyFn=n}return e.readonlyFn}function Rm(e){return OC(e)&&typeof e.set=="function"}function kC(){return this._results[Symbol.iterator]()}var cl=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new B}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=DI(n);(this._changesDetected=!yI(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=kC};function Am(e){return(e.flags&128)===128}var Om=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Om||{}),km=new Map,PC=0;function FC(){return PC++}function LC(e){km.set(e[Ta],e)}function ul(e){km.delete(e[Ta])}var Vp="__ngContext__";function Kr(e,n){mn(n)?(e[Vp]=n[Ta],LC(n)):e[Vp]=n}function Pm(e){return Lm(e[Uo])}function Fm(e){return Lm(e[lt])}function Lm(e){for(;e!==null&&!Jt(e);)e=e[lt];return e}var ll;function jm(e){ll=e}function Vm(){if(ll!==void 0)return ll;if(typeof document<"u")return document;throw new D(210,!1)}var Rd=new w("",{providedIn:"root",factory:()=>jC}),jC="ng",Ad=new w(""),Jr=new w("",{providedIn:"platform",factory:()=>"unknown"});var AB=new w(""),Od=new w("",{providedIn:"root",factory:()=>Vm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),kd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Bm=new w("",{providedIn:"root",factory:()=>kd});var VC="h",BC="b";var Um=!1,UC=new w("",{providedIn:"root",factory:()=>Um});var Pd=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Pd||{}),Xr=new w(""),Bp=new Set;function Bt(e){Bp.has(e)||(Bp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Fd=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=HC}return e})();function HC(){return new Fd(b(),Se())}var Mr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Mr||{}),Hm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),$C=[Mr.EarlyRead,Mr.Write,Mr.MixedReadWrite,Mr.Read],zC=(()=>{class e{ngZone=g(H);scheduler=g(Dn);errorHandler=g(ft,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Xr,{optional:!0})}execute(){let t=this.sequences.size>0;t&&K(16),this.executing=!0;for(let r of $C)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&K(17)}register(t){let{view:r}=t;r!==void 0?((r[Nr]??=[]).push(t),Zr(r),r[N]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Pd.AFTER_NEXT_RENDER,t):t()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),dl=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Nr];n&&(this.view[Nr]=n.filter(t=>t!==this))}};function qC(e,n){!n?.injector&&ud(qC);let t=n?.injector??g(oe);return Bt("NgAfterRender"),$m(e,t,n,!1)}function Ld(e,n){!n?.injector&&ud(Ld);let t=n?.injector??g(oe);return Bt("NgAfterNextRender"),$m(e,t,n,!0)}function GC(e,n){if(e instanceof Function){let t=[void 0,void 0,void 0,void 0];return t[n]=e,t}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function $m(e,n,t,r){let o=n.get(Hm);o.impl??=n.get(zC);let i=n.get(Xr,null,{optional:!0}),s=t?.phase??Mr.MixedReadWrite,a=t?.manualCleanup!==!0?n.get(Xt):null,c=n.get(Fd,null,{optional:!0}),u=new dl(o.impl,GC(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(u),u}var WC=(e,n,t,r)=>{};function ZC(e,n,t,r){WC(e,n,t,r)}var YC=()=>null;function zm(e,n,t=!1){return YC(e,n,t)}function qm(e,n){let t=e.contentQueries;if(t!==null){let r=P(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];xa(i),a.contentQueries(2,n[s],s)}}}finally{P(r)}}}function fl(e,n,t){xa(0);let r=P(null);try{n(e,t)}finally{P(r)}}function jd(e,n,t){if(dd(n)){let r=P(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{P(r)}}}var Pt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Pt||{}),Os;function Gm(){if(Os===void 0&&(Os=null,pe.trustedTypes))try{Os=pe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Os}function Oa(e){return Gm()?.createHTML(e)||e}function QC(e){return Gm()?.createScriptURL(e)||e}var ks;function Wm(){if(ks===void 0&&(ks=null,pe.trustedTypes))try{ks=pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ks}function Up(e){return Wm()?.createHTML(e)||e}function Hp(e){return Wm()?.createScriptURL(e)||e}var Kt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${wg})`}},hl=class extends Kt{getTypeName(){return"HTML"}},pl=class extends Kt{getTypeName(){return"Style"}},gl=class extends Kt{getTypeName(){return"Script"}},ml=class extends Kt{getTypeName(){return"URL"}},vl=class extends Kt{getTypeName(){return"ResourceURL"}};function Be(e){return e instanceof Kt?e.changingThisBreaksApplicationSecurity:e}function tn(e,n){let t=KC(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${wg})`)}return t===n}function KC(e){return e instanceof Kt&&e.getTypeName()||null}function Zm(e){return new hl(e)}function Ym(e){return new pl(e)}function Qm(e){return new gl(e)}function Km(e){return new ml(e)}function Jm(e){return new vl(e)}function JC(e){let n=new Dl(e);return XC()?new yl(n):n}var yl=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Oa(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},Dl=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=Oa(n),t}};function XC(){try{return!!new window.DOMParser().parseFromString(Oa(""),"text/html")}catch{return!1}}var eb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ka(e){return e=String(e),e.match(eb)?e:"unsafe:"+e}function nn(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function Ko(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var Xm=nn("area,br,col,hr,img,wbr"),ev=nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tv=nn("rp,rt"),tb=Ko(tv,ev),nb=Ko(ev,nn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),rb=Ko(tv,nn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),$p=Ko(Xm,nb,rb,tb),nv=nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ob=nn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ib=nn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),sb=Ko(nv,ob,ib),ab=nn("script,style,template"),El=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=lb(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=ub(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=zp(n).toLowerCase();if(!$p.hasOwnProperty(t))return this.sanitizedSomething=!0,!ab.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!sb.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;nv[a]&&(c=ka(c)),this.buf.push(" ",s,'="',qp(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=zp(n).toLowerCase();$p.hasOwnProperty(t)&&!Xm.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(qp(n))}};function cb(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ub(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw rv(n);return n}function lb(e){let n=e.firstChild;if(n&&cb(e,n))throw rv(n);return n}function zp(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function rv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var db=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fb=/([^\#-~ |!])/g;function qp(e){return e.replace(/&/g,"&").replace(db,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(fb,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ps;function Vd(e,n){let t=null;try{Ps=Ps||JC(e);let r=n?String(n):"";t=Ps.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=Ps.getInertBodyElement(r)}while(r!==i);let a=new El().sanitizeChildren(Gp(t)||t);return Oa(a)}finally{if(t){let r=Gp(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Gp(e){return"content"in e&&hb(e)?e.content:null}function hb(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var We=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(We||{});function Bd(e){let n=Ud();return n?Up(n.sanitize(We.HTML,e)||""):tn(e,"HTML")?Up(Be(e)):Vd(Vm(),Rt(e))}function pb(e){let n=Ud();return n?n.sanitize(We.URL,e)||"":tn(e,"URL")?Be(e):ka(Rt(e))}function gb(e){let n=Ud();if(n)return Hp(n.sanitize(We.RESOURCE_URL,e)||"");if(tn(e,"ResourceURL"))return Hp(Be(e));throw new D(904,!1)}function OB(e){return QC(e[0])}function mb(e,n){return n==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||n==="href"&&(e==="base"||e==="link")?gb:pb}function ov(e,n,t){return mb(n,t)(e)}function Ud(){let e=b();return e&&e[Yt].sanitizer}var vb=/^>|^->|<!--|-->|--!>|<!-$/g,yb=/(<|>)/g,Db="\u200B$1\u200B";function Eb(e){return e.replace(vb,n=>n.replace(yb,Db))}function kB(e){return e.ownerDocument.defaultView}function PB(e){return e.ownerDocument}function iv(e){return e instanceof Function?e():e}function wb(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var sv="ng-template";function Ib(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&wb(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Hd(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Hd(e){return e.type===4&&e.value!==sv}function Cb(e,n,t){let r=e.type===4&&!t?sv:e.value;return n===r}function bb(e,n,t){let r=4,o=e.attrs,i=o!==null?Sb(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!ut(r)&&!ut(c))return!1;if(s&&ut(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Cb(e,c,t)||c===""&&n.length===1){if(ut(r))return!1;s=!0}}else if(r&8){if(o===null||!Ib(e,o,c,t)){if(ut(r))return!1;s=!0}}else{let u=n[++a],l=Tb(c,o,Hd(e),t);if(l===-1){if(ut(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ut(r))return!1;s=!0}}}}return ut(r)||s}function ut(e){return(e&1)===0}function Tb(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Mb(n,e)}function av(e,n,t=!1){for(let r=0;r<n.length;r++)if(bb(e,n[r],t))return!0;return!1}function _b(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function Sb(e){for(let n=0;n<e.length;n++){let t=e[n];if(fm(t))return n}return e.length}function Mb(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function xb(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Wp(e,n){return e?":not("+n.trim()+")":n}function Nb(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ut(s)&&(n+=Wp(i,o),o=""),r=s,i=i||!ut(r);t++}return o!==""&&(n+=Wp(i,o)),n}function Rb(e){return e.map(Nb).join(",")}function Ab(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!ut(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var ge={};function Ob(e,n){return e.createText(n)}function kb(e,n,t){e.setValue(n,t)}function Pb(e,n){return e.createComment(Eb(n))}function cv(e,n,t){return e.createElement(n,t)}function sa(e,n,t,r,o){e.insertBefore(n,t,r,o)}function uv(e,n,t){e.appendChild(n,t)}function Zp(e,n,t,r,o){r!==null?sa(e,n,t,r,o):uv(e,n,t)}function Fb(e,n,t){e.removeChild(null,n,t)}function Lb(e,n,t){e.setAttribute(n,"style",t)}function jb(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function lv(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&lC(e,n,r),o!==null&&jb(e,n,o),i!==null&&Lb(e,n,i)}function $d(e,n,t,r,o,i,s,a,c,u,l){let d=X+r,h=d+o,f=Vb(d,h),p=typeof u=="function"?u():u;return f[O]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function Vb(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:ge);return t}function Bb(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=$d(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function zd(e,n,t,r,o,i,s,a,c,u,l){let d=n.blueprint.slice();return d[Lt]=o,d[N]=r|4|128|8|64|1024,(u!==null||e&&e[N]&2048)&&(d[N]|=2048),Qg(d),d[Te]=d[qr]=e,d[se]=t,d[Yt]=s||e&&e[Yt],d[Z]=a||e&&e[Z],d[Pr]=c||e&&e[Pr]||null,d[je]=i,d[Ta]=FC(),d[kr]=l,d[$g]=u,d[Fe]=n.type==2?e[Fe]:d,d}function Ub(e,n,t){let r=Vt(n,e),o=Bb(t),i=e[Yt].rendererFactory,s=qd(e,zd(e,o,null,dv(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function dv(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function fv(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function qd(e,n){return e[Uo]?e[Sp][lt]=n:e[Uo]=n,e[Sp]=n,n}function de(e=1){hv(z(),b(),pt()+e,!1)}function hv(e,n,t,r){if(!r)if((n[N]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Vs(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Bs(n,i,0,t)}Qn(t)}var Pa=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Pa||{});function wl(e,n,t,r){let o=P(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Pa.SignalBased)!==0&&(c=n[i][Ne]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):zg(n,c,i,r)}finally{P(o)}}function pv(e,n,t,r,o){let i=pt(),s=r&2;try{Qn(-1),s&&n.length>X&&hv(e,n,X,!1),K(s?2:0,o),t(r,o)}finally{Qn(i),K(s?3:1,o)}}function Fa(e,n,t){Wb(e,n,t),(t.flags&64)===64&&Zb(e,n,t)}function Gd(e,n,t=Vt){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function Hb(e,n,t,r){let i=r.get(UC,Um)||t===Pt.ShadowDom,s=e.selectRootElement(n,i);return $b(s),s}function $b(e){zb(e)}var zb=()=>null;function qb(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function rr(e,n,t,r,o,i,s,a){if(!a&&Zd(n,e,t,r,o)){Gr(n)&&Gb(t,n.index);return}if(n.type&3){let c=Vt(n,t);r=qb(r),o=s!=null?s(o,n.value||"",r):o,i.setProperty(c,r,o)}else n.type&12}function Gb(e,n){let t=kt(n,e);t[N]&16||(t[N]|=64)}function Wb(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Gr(t)&&Ub(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||ta(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Ho(n,e,s,t);if(Kr(c,n),i!==null&&Jb(n,s-r,c,a,t,i),dt(a)){let u=kt(t.index,n);u[se]=Ho(n,e,s,t)}}}function Zb(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=tC();try{Qn(i);for(let a=r;a<o;a++){let c=e.data[a],u=n[a];nl(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Yb(c,u)}}finally{Qn(-1),nl(s)}}function Yb(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Wd(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];av(n,i.selectors,!1)&&(r??=[],dt(i)?r.unshift(i):r.push(i))}return r}function Qb(e,n,t,r,o,i){let s=Vt(e,n);Kb(n[Z],s,i,e.value,t,r,o)}function Kb(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?Rt(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function Jb(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];wl(r,t,c,u)}}function Xb(e,n,t){return(e===null||dt(e))&&(t=BI(t[n.index])),t[Z]}function eT(e,n){let t=e[Pr],r=t?t.get(ft,null):null;r&&r.handleError(n)}function Zd(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=n.data[u];wl(d,t[u],l,o),a=!0}if(i)for(let c of i){let u=t[c],l=n.data[c];wl(l,u,r,o),a=!0}return a}function tT(e,n){let t=kt(n,e),r=t[O];nT(r,t);let o=t[Lt];o!==null&&t[kr]===null&&(t[kr]=zm(o,t[Pr])),K(18),Yd(r,t,t[se]),K(19,t[se])}function nT(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function Yd(e,n,t){Cd(n);try{let r=e.viewQuery;r!==null&&fl(1,r,t);let o=e.template;o!==null&&pv(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Qt]?.finishViewCreation(e),e.staticContentQueries&&qm(e,n),e.staticViewQueries&&fl(2,e.viewQuery,t);let i=e.components;i!==null&&rT(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[N]&=-5,bd()}}function rT(e,n){for(let t=0;t<n.length;t++)tT(e,n[t])}function Jo(e,n,t,r){let o=P(null);try{let i=n.tView,a=e[N]&4096?4096:16,c=zd(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[n.index];c[Gn]=u;let l=e[Qt];return l!==null&&(c[Qt]=l.createEmbeddedView(i)),Yd(i,c,t),c}finally{P(o)}}function jr(e,n){return!n||n.firstChild===null||Am(e)}var oT;function Qd(e,n){return oT(e,n)}var Ft=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ft||{});function Kd(e){return(e.flags&32)===32}function xr(e,n,t,r,o){if(r!=null){let i,s=!1;Jt(r)?i=r:mn(r)&&(s=!0,r=r[Lt]);let a=Ot(r);e===0&&t!==null?o==null?uv(n,t,a):sa(n,t,a,o||null,!0):e===1&&t!==null?sa(n,t,a,o||null,!0):e===2?Fb(n,a,s):e===3&&n.destroyNode(a),i!=null&&pT(n,e,i,t,o)}}function iT(e,n){gv(e,n),n[Lt]=null,n[je]=null}function sT(e,n,t,r,o,i){r[Lt]=o,r[je]=n,Va(e,r,t,1,o,i)}function gv(e,n){n[Yt].changeDetectionScheduler?.notify(9),Va(e,n,n[Z],2,null,null)}function aT(e){let n=e[Uo];if(!n)return Fu(e[O],e);for(;n;){let t=null;if(mn(n))t=n[Uo];else{let r=n[Ce];r&&(t=r)}if(!t){for(;n&&!n[lt]&&n!==e;)mn(n)&&Fu(n[O],n),n=n[Te];n===null&&(n=e),mn(n)&&Fu(n[O],n),t=n&&n[lt]}n=t}}function Jd(e,n){let t=e[Fr],r=t.indexOf(n);t.splice(r,1)}function La(e,n){if(Wr(n))return;let t=n[Z];t.destroyNode&&Va(e,n,t,3,null,null),aT(n)}function Fu(e,n){if(Wr(n))return;let t=P(null);try{n[N]&=-129,n[N]|=256,n[tt]&&Oo(n[tt]),uT(e,n),cT(e,n),n[O].type===1&&n[Z].destroy();let r=n[Gn];if(r!==null&&Jt(n[Te])){r!==n[Te]&&Jd(r,n);let o=n[Qt];o!==null&&o.detachView(e)}ul(n)}finally{P(t)}}function cT(e,n){let t=e.cleanup,r=n[Zs];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Zs]=null);let o=n[gn];if(o!==null){n[gn]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[Wn];if(i!==null){n[Wn]=null;for(let s of i)s.destroy()}}function uT(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Kn)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];K(4,a,c);try{c.call(a)}finally{K(5,a,c)}}else{K(4,o,i);try{i.call(o)}finally{K(5,o,i)}}}}}function mv(e,n,t){return lT(e,n.parent,t)}function lT(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[Lt];if(Gr(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Pt.None||o===Pt.Emulated)return null}return Vt(r,t)}function vv(e,n,t){return fT(e,n,t)}function dT(e,n,t){return e.type&40?Vt(e,t):null}var fT=dT,Yp;function ja(e,n,t,r){let o=mv(e,r,n),i=n[Z],s=r.parent||n[je],a=vv(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Zp(i,o,t[c],a,!1);else Zp(i,o,t,a,!1);Yp!==void 0&&Yp(i,r,n,t,o)}function Lo(e,n){if(n!==null){let t=n.type;if(t&3)return Vt(n,e);if(t&4)return Il(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Lo(e,r);{let o=e[n.index];return Jt(o)?Il(-1,o):Ot(o)}}else{if(t&128)return Lo(e,n.next);if(t&32)return Qd(n,e)()||Ot(e[n.index]);{let r=yv(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Yn(e[Fe]);return Lo(o,r)}else return Lo(e,n.next)}}}return null}function yv(e,n){if(n!==null){let r=e[Fe][je],o=n.projection;return r.projection[o]}return null}function Il(e,n){let t=Ce+e+1;if(t<n.length){let r=n[t],o=r[O].firstChild;if(o!==null)return Lo(r,o)}return n[Zn]}function Xd(e,n,t,r,o,i,s){for(;t!=null;){if(t.type===128){t=t.next;continue}let a=r[t.index],c=t.type;if(s&&n===0&&(a&&Kr(Ot(a),r),t.flags|=2),!Kd(t))if(c&8)Xd(e,n,t.child,r,o,i,!1),xr(n,e,o,a,i);else if(c&32){let u=Qd(t,r),l;for(;l=u();)xr(n,e,o,l,i);xr(n,e,o,a,i)}else c&16?Dv(e,n,r,t,o,i):xr(n,e,o,a,i);t=s?t.projectionNext:t.next}}function Va(e,n,t,r,o,i){Xd(t,r,e.firstChild,n,o,i,!1)}function hT(e,n,t){let r=n[Z],o=mv(e,t,n),i=t.parent||n[je],s=vv(i,t,n);Dv(r,0,n,t,o,s)}function Dv(e,n,t,r,o,i){let s=t[Fe],c=s[je].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];xr(n,e,o,l,i)}else{let u=c,l=s[Te];Am(r)&&(u.flags|=128),Xd(e,n,u,l,o,i,!0)}}function pT(e,n,t,r,o){let i=t[Zn],s=Ot(t);i!==s&&xr(n,e,r,i,o);for(let a=Ce;a<t.length;a++){let c=t[a];Va(c[O],c,e,n,r,i)}}function gT(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:Ft.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ft.Important),e.setStyle(t,r,o,i))}}function aa(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Ot(i)),Jt(i)&&mT(i,r);let s=t.type;if(s&8)aa(e,n,t.child,r);else if(s&32){let a=Qd(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=yv(n,t);if(Array.isArray(a))r.push(...a);else{let c=Yn(n[Fe]);aa(c[O],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function mT(e,n){for(let t=Ce;t<e.length;t++){let r=e[t],o=r[O].firstChild;o!==null&&aa(r[O],r,o,n)}e[Zn]!==e[Lt]&&n.push(e[Zn])}function Ev(e){if(e[Nr]!==null){for(let n of e[Nr])n.impl.addSequence(n);e[Nr].length=0}}var wv=[];function vT(e){return e[tt]??yT(e)}function yT(e){let n=wv.pop()??Object.create(ET);return n.lView=e,n}function DT(e){e.lView[tt]!==e&&(e.lView=null,wv.push(e))}var ET=V(v({},Cr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Zr(e.lView)},consumerOnSignalRead(){this.lView[tt]=this}});function wT(e){let n=e[tt]??Object.create(IT);return n.lView=e,n}var IT=V(v({},Cr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Yn(e.lView);for(;n&&!Iv(n[O]);)n=Yn(n);n&&Kg(n)},consumerOnSignalRead(){this.lView[tt]=this}});function Iv(e){return e.type!==2}function Cv(e){if(e[Wn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Wn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[N]&8192)}}var CT=100;function bv(e,n=!0,t=0){let o=e[Yt].rendererFactory,i=!1;i||o.begin?.();try{bT(e,t)}catch(s){throw n&&eT(e,s),s}finally{i||o.end?.()}}function bT(e,n){let t=nm();try{Ks(!0),Cl(e,n);let r=0;for(;Sa(e);){if(r===CT)throw new D(103,!1);r++,Cl(e,1)}}finally{Ks(t)}}function TT(e,n,t,r){if(Wr(n))return;let o=n[N],i=!1,s=!1;Cd(n);let a=!0,c=null,u=null;i||(Iv(e)?(u=vT(n),c=Ao(u)):Iu()===null?(a=!1,u=wT(n),c=Ao(u)):n[tt]&&(Oo(n[tt]),n[tt]=null));try{Qg(n),JI(e.bindingStartIndex),t!==null&&pv(e,n,t,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Vs(n,f,null)}else{let f=e.preOrderHooks;f!==null&&Bs(n,f,0,null),ku(n,0)}if(s||_T(n),Cv(n),Tv(n,0),e.contentQueries!==null&&qm(e,n),!i)if(l){let f=e.contentCheckHooks;f!==null&&Vs(n,f)}else{let f=e.contentHooks;f!==null&&Bs(n,f,1),ku(n,1)}MT(e,n);let d=e.components;d!==null&&Sv(n,d,0);let h=e.viewQuery;if(h!==null&&fl(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Vs(n,f)}else{let f=e.viewHooks;f!==null&&Bs(n,f,2),ku(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[Ou]){for(let f of n[Ou])f();n[Ou]=null}i||(Ev(n),n[N]&=-73)}catch(l){throw i||Zr(n),l}finally{u!==null&&(Ts(u,c),a&&DT(u)),bd()}}function Tv(e,n){for(let t=Pm(e);t!==null;t=Fm(t))for(let r=Ce;r<t.length;r++){let o=t[r];_v(o,n)}}function _T(e){for(let n=Pm(e);n!==null;n=Fm(n)){if(!(n[N]&2))continue;let t=n[Fr];for(let r=0;r<t.length;r++){let o=t[r];Kg(o)}}}function ST(e,n,t){K(18);let r=kt(n,e);_v(r,t),K(19,r[se])}function _v(e,n){pd(e)&&Cl(e,n)}function Cl(e,n){let r=e[O],o=e[N],i=e[tt],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&_s(i)),s||=!1,i&&(i.dirty=!1),e[N]&=-9217,s)TT(r,e,r.template,e[se]);else if(o&8192){Cv(e),Tv(e,1);let a=r.components;a!==null&&Sv(e,a,1),Ev(e)}}function Sv(e,n,t){for(let r=0;r<n.length;r++)ST(e,n[r],t)}function MT(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Qn(~o);else{let i=o,s=t[++r],a=t[++r];eC(s,i);let c=n[i];K(24,c),a(2,c),K(25,c)}}}finally{Qn(-1)}}function ef(e,n){let t=nm()?64:1088;for(e[Yt].changeDetectionScheduler?.notify(n);e;){e[N]|=t;let r=Yn(e);if(Qs(e)&&!r)return e;e=r}return null}function Mv(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function xv(e,n){let t=Ce+n;if(t<e.length)return e[t]}function Xo(e,n,t,r=!0){let o=n[O];if(xT(o,n,e,t),r){let s=Il(t,e),a=n[Z],c=a.parentNode(e[Zn]);c!==null&&sT(o,e[je],a,n,c,s)}let i=n[kr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Nv(e,n){let t=zo(e,n);return t!==void 0&&La(t[O],t),t}function zo(e,n){if(e.length<=Ce)return;let t=Ce+n,r=e[t];if(r){let o=r[Gn];o!==null&&o!==e&&Jd(o,r),n>0&&(e[t-1][lt]=r[lt]);let i=Gs(e,Ce+n);iT(r[O],r);let s=i[Qt];s!==null&&s.detachView(i[O]),r[Te]=null,r[lt]=null,r[N]&=-129}return r}function xT(e,n,t,r){let o=Ce+r,i=t.length;r>0&&(t[o-1][lt]=n),r<i-Ce?(n[lt]=t[o],kg(t,Ce+r,n)):(t.push(n),n[lt]=null),n[Te]=t;let s=n[Gn];s!==null&&t!==s&&Rv(s,n);let a=n[Qt];a!==null&&a.insertView(e),el(n),n[N]|=128}function Rv(e,n){let t=e[Fr],r=n[Te];if(mn(r))e[N]|=2;else{let o=r[Te][Fe];n[Fe]!==o&&(e[N]|=2)}t===null?e[Fr]=[n]:t.push(n)}var qo=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let n=this._lView,t=n[O];return aa(t,n,t.firstChild,[])}constructor(n,t,r=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=r}get context(){return this._lView[se]}set context(n){this._lView[se]=n}get destroyed(){return Wr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Te];if(Jt(n)){let t=n[Ys],r=t?t.indexOf(this):-1;r>-1&&(zo(n,r),Gs(t,r))}this._attachedToViewContainer=!1}La(this._lView[O],this._lView)}onDestroy(n){Jg(this._lView,n)}markForCheck(){ef(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[N]&=-129}reattach(){el(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,bv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Qs(this._lView),t=this._lView[Gn];t!==null&&!n&&Jd(t,this._lView),gv(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=n;let t=Qs(this._lView),r=this._lView[Gn];r!==null&&!t&&Rv(r,this._lView),el(this._lView)}};var En=(()=>{class e{static __NG_ELEMENT_ID__=AT}return e})(),NT=En,RT=class extends NT{_declarationLView;_declarationTContainer;elementRef;constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){let o=Jo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new qo(o)}};function AT(){return Ba(Se(),b())}function Ba(e,n){return e.type&4?new RT(n,e,Yr(e,n)):null}function eo(e,n,t,r,o){let i=e.data[n];if(i===null)i=OT(e,n,t,r,o),XI()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=KI();i.injectorIndex=s===null?-1:s.injectorIndex}return wn(i,!0),i}function OT(e,n,t,r,o){let i=em(),s=Ed(),a=s?i:i&&i.parent,c=e.data[n]=PT(e,a,t,n,r,o);return kT(e,c,i,s),c}function kT(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function PT(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Xg()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var jB=new RegExp(`^(\\d+)*(${BC}|${VC})*(.*)`);var FT=()=>null;function Vr(e,n){return FT(e,n)}var LT=class{},Av=class{},bl=class{resolveComponentFactory(n){throw Error(`No component factory found for ${Pe(n)}.`)}},to=class{static NULL=new bl},Br=class{},bn=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>jT()}return e})();function jT(){let e=b(),n=Se(),t=kt(n.index,e);return(mn(t)?t:e)[Z]}var VT=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>null})}return e})();var Lu={},Tl=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=Ia(r);let o=this.injector.get(n,Lu,r);return o!==Lu||t===Lu?o:this.parentInjector.get(n,t,r)}};function _l(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=Gu(o,a);else if(i==2){let c=a,u=n[++s];r=Gu(r,c+": "+u+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function R(e,n=j.Default){let t=b();if(t===null)return I(e,n);let r=Se();return Dm(r,t,De(e),n)}function Ov(){let e="invalid";throw new Error(e)}function tf(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a,c=null,u=null,l=UT(s);l===null?a=s:[a,c,u]=l,zT(e,n,t,a,i,c,u)}i!==null&&r!==null&&BT(t,r,i)}function BT(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new D(-301,!1);r.push(n[o],i)}}function UT(e){let n=null,t=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&dt(a)&&(n=a),a.findHostDirectiveDefs!==null){t=!0;break}}if(!t)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,HT(s,r,i,o)),s===n&&(r??=[],r.push(s));return r!==null?(r.push(...n===null?e:e.slice(1)),[r,o,i]):null}function HT(e,n,t,r){let o=n.length;e.findHostDirectiveDefs(e,n,r),t.set(e,[o,n.length-1])}function $T(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function zT(e,n,t,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&dt(f)&&(c=!0,$T(e,t,h)),ol(ta(t,n),e,f.type)}QT(t,e.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=fv(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(t.mergedAttrs=Lr(t.mergedAttrs,f.hostAttrs),GT(e,t,n,d,f),YT(d,f,o),s!==null&&s.has(f)){let[m,y]=s.get(f);t.directiveToIndex.set(f.type,[d,m+t.directiveStart,y+t.directiveStart])}else(i===null||!i.has(f))&&t.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(t.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(t.flags|=64);let p=f.type.prototype;!u&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),u=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),l=!0),d++}qT(e,t,i)}function qT(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))Qp(0,n,o,r),Qp(1,n,o,r),Jp(n,r,!1);else{let i=t.get(o);Kp(0,n,i,r),Kp(1,n,i,r),Jp(n,r,!0)}}}function Qp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),kv(n,i)}}function Kp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),kv(n,s)}}function kv(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Jp(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Hd(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===n){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function GT(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=qn(o.type,!0)),s=new Kn(i,dt(o),R);e.blueprint[r]=s,t[r]=s,WT(e,n,r,fv(e,t,o.hostVars,ge),o)}function WT(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;ZT(s)!=a&&s.push(a),s.push(t,r,i)}}function ZT(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function YT(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;dt(n)&&(t[""]=e)}}function QT(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Pv(e,n,t,r,o,i,s,a){let c=n.consts,u=yn(c,s),l=eo(n,e,2,r,u);return i&&tf(n,t,l,yn(c,a),o),l.mergedAttrs=Lr(l.mergedAttrs,l.attrs),l.attrs!==null&&_l(l,l.attrs,!1),l.mergedAttrs!==null&&_l(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function Fv(e,n){Td(e,n),dd(n)&&e.queries.elementEnd(n)}var ca=class extends to{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=vn(n);return new Jn(t,this.ngModule)}};function KT(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Pa.SignalBased)!==0};return o&&(i.transform=o),i})}function JT(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function XT(e,n,t){let r=n instanceof be?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Tl(t,r):t}function e_(e){let n=e.get(Br,null);if(n===null)throw new D(407,!1);let t=e.get(VT,null),r=e.get(Dn,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r}}function t_(e,n){let t=(e.selectors[0][0]||"div").toLowerCase();return cv(n,t,t==="svg"?Zg:t==="math"?VI:null)}var Jn=class extends Av{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=KT(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=JT(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=Rb(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o){K(22);let i=P(null);try{let s=this.componentDef,a=r?["ng-version","19.2.14"]:Ab(this.componentDef.selectors[0]),c=$d(0,null,null,1,0,null,null,null,null,[a],null),u=XT(s,o||this.ngModule,n),l=e_(u),d=l.rendererFactory.createRenderer(null,s),h=r?Hb(d,r,s.encapsulation,u):t_(s,d),f=zd(null,c,null,512|dv(s),null,null,l,d,u,null,zm(h,u,!0));f[X]=h,Cd(f);let p=null;try{let m=Pv(X,c,f,"#host",()=>[this.componentDef],!0,0);h&&(lv(d,h,m),Kr(h,f)),Fa(c,f,m),jd(c,m,f),Fv(c,m),t!==void 0&&n_(m,this.ngContentSelectors,t),p=kt(m.index,f),f[se]=p[se],Yd(c,f,null)}catch(m){throw p!==null&&ul(p),ul(f),m}finally{K(23),bd()}return new Sl(this.componentType,f)}finally{P(i)}}},Sl=class extends LT{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t){super(),this._rootLView=t,this._tNode=fd(t[O],X),this.location=Yr(this._tNode,t),this.instance=kt(this._tNode.index,t)[se],this.hostView=this.changeDetectorRef=new qo(t,void 0,!1),this.componentType=n}setInput(n,t){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=Zd(r,o[O],o,n,t);this.previousInputValues.set(n,t);let s=kt(r.index,o);ef(s,1)}get injector(){return new zn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function n_(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var gt=(()=>{class e{static __NG_ELEMENT_ID__=r_}return e})();function r_(){let e=Se();return jv(e,b())}var o_=gt,Lv=class extends o_{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Yr(this._hostTNode,this._hostLView)}get injector(){return new zn(this._hostTNode,this._hostLView)}get parentInjector(){let n=_d(this._hostTNode,this._hostLView);if(hm(n)){let t=Xs(n,this._hostLView),r=Js(n),o=t[O].data[r+8];return new zn(o,t)}else return new zn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Xp(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Ce}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Vr(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,jr(this._hostTNode,s)),a}createComponent(n,t,r,o,i){let s=n&&!PI(n),a;if(s)a=t;else{let p=t||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?n:new Jn(vn(n)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let m=(s?u:this.parentInjector).get(be,null);m&&(i=m)}let l=vn(c.componentType??{}),d=Vr(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,jr(this._hostTNode,d)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(HI(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[Te],u=new Lv(c,c[je],c[Te]);u.detach(u.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Xo(s,o,i,r),n.attachToViewContainerRef(),kg(ju(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Xp(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=zo(this._lContainer,t);r&&(Gs(ju(this._lContainer),t),La(r[O],r))}detach(n){let t=this._adjustIndex(n,-1),r=zo(this._lContainer,t);return r&&Gs(ju(this._lContainer),t)!=null?new qo(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Xp(e){return e[Ys]}function ju(e){return e[Ys]||(e[Ys]=[])}function jv(e,n){let t,r=n[e.index];return Jt(r)?t=r:(t=Mv(r,n,null,e),n[e.index]=t,qd(n,t)),s_(t,n,e,r),new Lv(t,e,n)}function i_(e,n){let t=e[Z],r=t.createComment(""),o=Vt(n,e),i=t.parentNode(o);return sa(t,i,r,t.nextSibling(o),!1),r}var s_=u_,a_=()=>!1;function c_(e,n,t){return a_(e,n,t)}function u_(e,n,t,r){if(e[Zn])return;let o;t.type&8?o=Ot(r):o=i_(n,t),e[Zn]=o}var Ml=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},xl=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)rf(n,t).matches!==null&&this.queries[t].setDirty()}},ua=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=p_(n):this.predicate=n}},Nl=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Rl=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,l_(t,i)),this.matchTNodeWithReadOption(n,t,Us(t,n,i,!1,!1))}else r===En?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Us(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ge||o===gt||o===En&&t.type&4)this.addMatch(t.index,-2);else{let i=Us(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function l_(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function d_(e,n){return e.type&11?Yr(e,n):e.type&4?Ba(e,n):null}function f_(e,n,t,r){return t===-1?d_(n,e):t===-2?h_(e,n,r):Ho(e,e[O],t,n)}function h_(e,n,t){if(t===Ge)return Yr(n,e);if(t===En)return Ba(n,e);if(t===gt)return jv(n,e)}function Vv(e,n,t,r){let o=n[Qt].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(f_(n,l,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function Al(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=Vv(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=n[-c];for(let d=Ce;d<l.length;d++){let h=l[d];h[Gn]===h[Te]&&Al(h[O],h,u,r)}if(l[Fr]!==null){let d=l[Fr];for(let h=0;h<d.length;h++){let f=d[h];Al(f[O],f,u,r)}}}}}return r}function nf(e,n){return e[Qt].queries[n].queryList}function Bv(e,n,t){let r=new cl((t&4)===4);return qI(e,n,r,r.destroy),(n[Qt]??=new xl).queries.push(new Ml(r))-1}function Uv(e,n,t){let r=z();return r.firstCreatePass&&($v(r,new ua(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),Bv(r,b(),n)}function Hv(e,n,t,r){let o=z();if(o.firstCreatePass){let i=Se();$v(o,new ua(n,t,r),i.index),g_(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return Bv(o,b(),t)}function p_(e){return e.split(",").map(n=>n.trim())}function $v(e,n,t){e.queries===null&&(e.queries=new Nl),e.queries.track(new Rl(n,t))}function g_(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function rf(e,n){return e.queries.getByIndex(n)}function zv(e,n){let t=e[O],r=rf(t,n);return r.crossesNgTemplate?Al(t,e,n,[]):Vv(t,e,r,n)}function qv(e,n,t){let r,o=xs(()=>{r._dirtyCounter();let i=m_(r,e);if(n&&i===void 0)throw new D(-951,!1);return i});return r=o[Ne],r._dirtyCounter=Qr(0),r._flatValue=void 0,o}function Gv(e){return qv(!0,!1,e)}function Wv(e){return qv(!0,!0,e)}function Zv(e,n){let t=e[Ne];t._lView=b(),t._queryIndex=n,t._queryList=nf(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function m_(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[N]&4)return n?void 0:Re;let o=nf(t,r),i=zv(t,r);return o.reset(i,xm),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function eg(e,n){return Gv(n)}function v_(e,n){return Wv(n)}var $B=(eg.required=v_,eg);function tg(e,n){return Gv(n)}function y_(e,n){return Wv(n)}var zB=(tg.required=y_,tg);function Yv(e,n){let t=Object.create(Ig),r=new ia;t.value=e;function o(){return br(t),ng(t.value),t.value}return o[Ne]=t,o.asReadonly=Nm.bind(o),o.set=i=>{t.equal(t.value,i)||(Tr(t,i),r.emit(i))},o.update=i=>{ng(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function ng(e){if(e===Ea)throw new D(952,!1)}function rg(e,n){return Yv(e,n)}function D_(e){return Yv(Ea,e)}var qB=(rg.required=D_,rg);function E_(e){let n=[],t=new Map;function r(o){let i=t.get(o);if(!i){let s=e(o);t.set(o,i=s.then(b_))}return i}return la.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,h)=>{a.push(""),s.push(r(d).then(f=>{a[u+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>T_(i));n.push(c)}),I_(),Promise.all(n).then(()=>{})}var la=new Map,w_=new Set;function I_(){let e=la;return la=new Map,e}function C_(){return la.size===0}function b_(e){return typeof e=="string"?e:e.text()}function T_(e){w_.delete(e)}var Xn=class{},of=class{};function Qv(e,n){return new Go(e,n??null,[])}var Go=class extends Xn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ca(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Lg(n);this._bootstrapComponents=iv(i.bootstrap),this._r3Injector=Im(n,t,[{provide:Xn,useValue:this},{provide:to,useValue:this.componentFactoryResolver},...r],Pe(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},da=class extends of{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Go(this.moduleType,n,[])}};function __(e,n,t){return new Go(e,n,t,!1)}var Ol=class extends Xn{injector;componentFactoryResolver=new ca(this);instance=null;constructor(n){super();let t=new Bo([...n.providers,{provide:Xn,useValue:this},{provide:to,useValue:this.componentFactoryResolver}],n.parent||ba(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function ei(e,n,t=null){return new Ol({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var S_=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=Vg(!1,t.type),o=r.length>0?ei([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=E({token:e,providedIn:"environment",factory:()=>new e(I(be))})}return e})();function ti(e){return Yo(()=>{let n=Kv(e),t=V(v({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Om.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(S_).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Pt.Emulated,styles:e.styles||Re,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Bt("NgStandalone"),Jv(t);let r=e.dependencies;return t.directiveDefs=og(r,!1),t.pipeDefs=og(r,!0),t.id=A_(t),t})}function M_(e){return vn(e)||jg(e)}function x_(e){return e!==null}function mt(e){return Yo(()=>({type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function N_(e,n){if(e==null)return At;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Pa.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function R_(e){if(e==null)return At;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function Ee(e){return Yo(()=>{let n=Kv(e);return Jv(n),n})}function Tn(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Kv(e){let n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||At,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:N_(e.inputs,n),outputs:R_(e.outputs),debugInfo:null}}function Jv(e){e.features?.forEach(n=>n(e))}function og(e,n){if(!e)return null;let t=n?CI:M_;return()=>(typeof e=="function"?e():e).map(r=>t(r)).filter(x_)}function A_(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function O_(e){return Object.getPrototypeOf(e.prototype).constructor}function k_(e){let n=O_(e.type),t=!0,r=[e];for(;n;){let o;if(dt(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new D(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=Vu(e.inputs),s.declaredInputs=Vu(e.declaredInputs),s.outputs=Vu(e.outputs);let a=o.hostBindings;a&&V_(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&L_(e,c),u&&j_(e,u),P_(e,o),tI(e.outputs,o.outputs),dt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===k_&&(t=!1)}}n=Object.getPrototypeOf(n)}F_(r)}function P_(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function F_(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Lr(o.hostAttrs,t=Lr(t,o.hostAttrs))}}function Vu(e){return e===At?{}:e===Re?[]:e}function L_(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function j_(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function V_(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function ZB(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.findHostDirectiveDefs=Xv,t.hostDirectives=r?e.map(kl):[e]):r?t.hostDirectives.unshift(...e.map(kl)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function Xv(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)ig(kl(i),n,t)}else ig(r,n,t)}function ig(e,n,t){let r=jg(e.directive);B_(r.declaredInputs,e.inputs),Xv(r,n,t),t.set(r,e),n.push(r)}function kl(e){return typeof e=="function"?{directive:De(e),inputs:At,outputs:At}:{directive:De(e.directive),inputs:sg(e.inputs),outputs:sg(e.outputs)}}function sg(e){if(e===void 0||e.length===0)return At;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function B_(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function ey(e){return sf(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function U_(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function sf(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function rn(e,n,t){return e[n]=t}function Ua(e,n){return e[n]}function _e(e,n,t){let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function Ur(e,n,t,r){let o=_e(e,n,t);return _e(e,n+1,r)||o}function af(e,n,t,r,o){let i=Ur(e,n,t,r);return _e(e,n+2,o)||i}function Ha(e,n,t,r,o,i){let s=Ur(e,n,t,r);return Ur(e,n+2,o,i)||s}function H_(e,n,t,r,o,i,s,a,c){let u=n.consts,l=eo(n,e,4,s||null,a||null);vd()&&tf(n,t,l,yn(u,c),Wd),l.mergedAttrs=Lr(l.mergedAttrs,l.attrs),Td(n,l);let d=l.tView=$d(2,l,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,u,null);return n.queries!==null&&(n.queries.template(n,l),d.queries=n.queries.embeddedTView(l)),l}function fa(e,n,t,r,o,i,s,a,c,u){let l=t+X,d=n.firstCreatePass?H_(l,n,e,r,o,i,s,a,c):n.data[l];wn(d,!1);let h=$_(n,e,d,t);Na()&&ja(n,e,h,d),Kr(h,e);let f=Mv(h,e,h,d);return e[l]=f,qd(e,f),c_(f,d,e),_a(d)&&Fa(n,e,d),c!=null&&Gd(e,d,u),d}function no(e,n,t,r,o,i,s,a){let c=b(),u=z(),l=yn(u.consts,i);return fa(c,u,e,n,t,r,o,l,s,a),no}var $_=z_;function z_(e,n,t,r){return Ra(!0),n[Z].createComment("")}var cf=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var uf=new w(""),ni=new w(""),$a=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,r,o){this._ngZone=t,this.registry=r,cd()&&(this._destroyRef=g(Xt,{optional:!0})??void 0),lf||(q_(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(t)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t()},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,o),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static \u0275fac=function(r){return new(r||e)(I(H),I(za),I(ni))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),za=(()=>{class e{_applications=new Map;registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return lf?.findTestabilityInTree(this,t,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function q_(e){lf=e}var lf,ty=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new Pl})}return e})(),Pl=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),this.queuedEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,t]of this.queues)n===null?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(let t of n)n.delete(t),this.queuedEffectCount--,t.run()}};function ro(e){return!!e&&typeof e.then=="function"}function df(e){return!!e&&typeof e.subscribe=="function"}var ny=new w("");function ff(e){return tr([{provide:ny,multi:!0,useValue:e}])}var ry=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=g(ny,{optional:!0})??[];injector=g(oe);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=Le(this.injector,o);if(ro(i))t.push(i);else if(df(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hf=new w("");function G_(){_u(()=>{throw new D(600,!1)})}function W_(e){return e.isBoundToModule}var Z_=10;function oy(e,n){return Array.isArray(n)?n.reduce(oy,e):v(v({},e),n)}var qe=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(NC);afterRenderManager=g(Hm);zonelessEnabled=g(Md);rootEffectScheduler=g(ty);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=g(en).hasPendingTasks.pipe(A(t=>!t));constructor(){g(Xr,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=g(be);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=oe.NULL){K(10);let i=t instanceof Av;if(!this._injector.get(ry).done){let f="";throw new D(405,f)}let a;i?a=t:a=this._injector.get(to).resolveComponentFactory(t),this.componentTypes.push(a.componentType);let c=W_(a)?void 0:this._injector.get(Xn),u=r||a.selector,l=a.create(o,[],u,c),d=l.location.nativeElement,h=l.injector.get(uf,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Hs(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),K(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){K(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Pd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new D(101,!1);let t=P(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,P(t),this.afterTick.next(),K(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Br,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<Z_;)K(14),this.synchronizeOnce(),K(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let t=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)Y_(r,o,t,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Sa(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;Hs(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(hf,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Hs(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new D(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hs(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Y_(e,n,t,r){if(!t&&!Sa(e))return;bv(e,n,t&&!r?0:1)}function _n(e,n,t,r){let o=b(),i=In();if(_e(o,i,n)){let s=z(),a=Cn();Qb(a,o,e,n,t,r)}return _n}function pf(e,n,t,r){return _e(e,In(),t)?n+Rt(t)+r:ge}function gf(e,n,t,r,o,i){let s=rm(),a=Ur(e,s,t,o);return Ma(2),a?n+Rt(t)+r+Rt(o)+i:ge}function iy(e,n,t,r,o,i,s,a){let c=rm(),u=af(e,c,t,o,s);return Ma(3),u?n+Rt(t)+r+Rt(o)+i+Rt(s)+a:ge}function Fs(e,n){return e<<17|n<<2}function er(e){return e>>17&32767}function Q_(e){return(e&2)==2}function K_(e,n){return e&131071|n<<17}function Fl(e){return e|2}function Hr(e){return(e&131068)>>2}function Bu(e,n){return e&-131069|n<<2}function J_(e){return(e&1)===1}function Ll(e){return e|1}function X_(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=er(s),c=Hr(s);e[r]=t;let u=!1,l;if(Array.isArray(t)){let d=t;l=d[1],(l===null||Qo(d,l)>0)&&(u=!0)}else l=t;if(o)if(c!==0){let h=er(e[a+1]);e[r+1]=Fs(h,a),h!==0&&(e[h+1]=Bu(e[h+1],r)),e[a+1]=K_(e[a+1],r)}else e[r+1]=Fs(a,0),a!==0&&(e[a+1]=Bu(e[a+1],r)),a=r;else e[r+1]=Fs(c,0),a===0?a=r:e[c+1]=Bu(e[c+1],r),c=r;u&&(e[r+1]=Fl(e[r+1])),ag(e,l,r,!0),ag(e,l,r,!1),eS(n,l,e,r,i),s=Fs(a,c),i?n.classBindings=s:n.styleBindings=s}function eS(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Qo(i,n)>=0&&(t[r+1]=Ll(t[r+1]))}function ag(e,n,t,r){let o=e[t+1],i=n===null,s=r?er(o):Hr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];tS(c,n)&&(a=!0,e[s+1]=r?Ll(u):Fl(u)),s=r?er(u):Hr(u)}a&&(e[t+1]=r?Fl(o):Ll(o))}function tS(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Qo(e,n)>=0:!1}var le={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sy(e){return e.substring(le.key,le.keyEnd)}function nS(e){return e.substring(le.value,le.valueEnd)}function rS(e){return uy(e),ay(e,$r(e,0,le.textEnd))}function ay(e,n){let t=le.textEnd;return t===n?-1:(n=le.keyEnd=iS(e,le.key=n,t),$r(e,n,t))}function oS(e){return uy(e),cy(e,$r(e,0,le.textEnd))}function cy(e,n){let t=le.textEnd,r=le.key=$r(e,n,t);return t===r?-1:(r=le.keyEnd=sS(e,r,t),r=cg(e,r,t,58),r=le.value=$r(e,r,t),r=le.valueEnd=aS(e,r,t),cg(e,r,t,59))}function uy(e){le.key=0,le.keyEnd=0,le.value=0,le.valueEnd=0,le.textEnd=e.length}function $r(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function iS(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function sS(e,n,t){let r;for(;n<t&&((r=e.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function cg(e,n,t,r){return n=$r(e,n,t),n<t&&n++,n}function aS(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=ug(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=ug(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function ug(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Me(e,n,t){let r=b(),o=In();if(_e(r,o,n)){let i=z(),s=Cn();rr(i,s,r,e,n,r[Z],t,!1)}return Me}function jl(e,n,t,r,o){Zd(n,e,t,o?"class":"style",r)}function Sn(e,n,t){return ly(e,n,t,!1),Sn}function cS(e,n){return ly(e,n,null,!0),cS}function YB(e){qa(hy,uS,e,!1)}function uS(e,n){for(let t=oS(n);t>=0;t=cy(n,t))hy(e,sy(n),nS(n))}function on(e){qa(gS,mf,e,!0)}function mf(e,n){for(let t=rS(n);t>=0;t=ay(n,t))zr(e,sy(n),!0)}function ly(e,n,t,r){let o=b(),i=z(),s=Ma(2);if(i.firstUpdatePass&&fy(i,e,s,r),n!==ge&&_e(o,s,n)){let a=i.data[pt()];py(i,a,o,o[Z],e,o[s+1]=vS(n,t),r,s)}}function qa(e,n,t,r){let o=z(),i=Ma(2);o.firstUpdatePass&&fy(o,null,i,r);let s=b();if(t!==ge&&_e(s,i,t)){let a=o.data[pt()];if(gy(a,r)&&!dy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=Gu(c,t||"")),jl(o,a,s,t,r)}else mS(o,a,s,s[Z],s[i+1],s[i+1]=pS(e,n,t),r,i)}}function dy(e,n){return n>=e.expandoStartIndex}function fy(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[pt()],s=dy(e,t);gy(i,r)&&n===null&&!s&&(n=!1),n=lS(o,i,n,r),X_(o,i,n,t,s,r)}}function lS(e,n,t,r){let o=om(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Uu(null,e,n,t,r),t=Wo(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Uu(o,e,n,t,r),i===null){let c=dS(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Uu(null,e,n,c[1],r),c=Wo(c,n.attrs,r),fS(e,n,r,c))}else i=hS(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function dS(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Hr(r)!==0)return e[er(r)]}function fS(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[er(o)]=r}function hS(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Wo(r,s,t)}return Wo(r,n.attrs,t)}function Uu(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=Wo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Wo(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),zr(e,s,t?!0:n[++i]))}return e===void 0?null:e}function pS(e,n,t){if(t==null||t==="")return Re;let r=[],o=Be(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function hy(e,n,t){zr(e,n,Be(t))}function gS(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&zr(e,r,t)}function mS(e,n,t,r,o,i,s,a){o===ge&&(o=Re);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,m;l===d?(c+=2,u+=2,h!==f&&(p=d,m=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,m=f),p!==null&&py(e,n,t,r,p,m,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function py(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,u=c[a+1],l=J_(u)?lg(c,n,t,o,Hr(u),s):void 0;if(!ha(l)){ha(i)||Q_(u)&&(i=lg(c,null,t,o,a,s));let d=Yg(pt(),t);gT(r,s,d,o,i)}}function lg(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=t[o+1];h===ge&&(h=d?Re:void 0);let f=d?Ru(h,r):l===r?h:void 0;if(u&&!ha(f)&&(f=Ru(c,r)),ha(f)&&(a=f,s))return a;let p=e[o+1];o=s?er(p):Hr(p)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Ru(c,r))}return a}function ha(e){return e!==void 0}function vS(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Pe(Be(e)))),e}function gy(e,n){return(e.flags&(n?8:16))!==0}function QB(e,n,t){let r=b(),o=pf(r,e,n,t);qa(zr,mf,o,!0)}function KB(e,n,t,r,o){let i=b(),s=gf(i,e,n,t,r,o);qa(zr,mf,s,!0)}function JB(){return b()[Fe][se]}var Vl=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,t){this.attach(t,this.detach(n))}};function Hu(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function yS(e,n,t){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(n)){let c=n.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=n[i],d=Hu(i,u,i,l,t);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=n[c],p=Hu(s,h,c,f,t);if(p!==0){p<0&&e.updateValue(s,f),s--,c--;continue}let m=t(i,u),y=t(s,h),_=t(i,l);if(Object.is(_,y)){let $=t(c,f);Object.is($,m)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new pa,o??=fg(e,i,s,t),Bl(e,r,i,_))e.updateValue(i,l),i++,s++;else if(o.has(_))r.set(m,e.detach(i)),s--;else{let $=e.create(i,n[i]);e.attach(i,$),i++,s++}}for(;i<=c;)dg(e,r,t,i,n[i]),i++}else if(n!=null){let c=n[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=Hu(i,l,i,d,t);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new pa,o??=fg(e,i,s,t);let f=t(i,d);if(Bl(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let p=t(i,l);r.set(p,e.detach(i)),s--}}}for(;!u.done;)dg(e,r,t,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Bl(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function dg(e,n,t,r,o){if(Bl(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function fg(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var pa=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function XB(e,n){Bt("NgControlFlow");let t=b(),r=In(),o=t[r]!==ge?t[r]:-1,i=o!==-1?ga(t,X+o):void 0,s=0;if(_e(t,r,e)){let a=P(null);try{if(i!==void 0&&Nv(i,s),e!==-1){let c=X+e,u=ga(t,c),l=zl(t[O],c),d=Vr(u,l.tView.ssrId),h=Jo(t,l,n,{dehydratedView:d});Xo(u,h,s,jr(l,d))}}finally{P(a)}}else if(i!==void 0){let a=xv(i,s);a!==void 0&&(a[se]=n)}}var Ul=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Ce}};function eU(e){return e}function tU(e,n){return n}var Hl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function nU(e,n,t,r,o,i,s,a,c,u,l,d,h){Bt("NgControlFlow");let f=b(),p=z(),m=c!==void 0,y=b(),_=a?s.bind(y[Fe][se]):s,$=new Hl(m,_);y[X+e]=$,fa(f,p,e+1,n,t,r,o,yn(p.consts,i)),m&&fa(f,p,e+2,c,u,l,d,yn(p.consts,h))}var $l=class extends Vl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-Ce}at(n){return this.getLView(n)[se].$implicit}attach(n,t){let r=t[kr];this.needsIndexUpdate||=n!==this.length,Xo(this.lContainer,t,n,jr(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,DS(this.lContainer,n)}create(n,t){let r=Vr(this.lContainer,this.templateTNode.tView.ssrId),o=Jo(this.hostLView,this.templateTNode,new Ul(this.lContainer,t,n),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(n){La(n[O],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[se].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[se].$index=n}getLView(n){return ES(this.lContainer,n)}};function rU(e){let n=P(null),t=pt();try{let r=b(),o=r[O],i=r[t],s=t+1,a=ga(r,s);if(i.liveCollection===void 0){let u=zl(o,s);i.liveCollection=new $l(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(yS(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=In(),l=c.length===0;if(_e(r,u,l)){let d=t+2,h=ga(r,d);if(l){let f=zl(o,d),p=Vr(h,f.tView.ssrId),m=Jo(r,f,void 0,{dehydratedView:p});Xo(h,m,0,jr(f,p))}else Nv(h,0)}}}finally{P(n)}}function ga(e,n){return e[n]}function DS(e,n){return zo(e,n)}function ES(e,n){return xv(e,n)}function zl(e,n){return fd(e,n)}function Ze(e,n,t,r){let o=b(),i=z(),s=X+e,a=o[Z],c=i.firstCreatePass?Pv(s,i,o,n,Wd,vd(),t,r):i.data[s],u=wS(i,o,c,a,n,e);o[s]=u;let l=_a(c);return wn(c,!0),lv(a,u,c),!Kd(c)&&Na()&&ja(i,o,u,c),(GI()===0||l)&&Kr(u,o),WI(),l&&(Fa(i,o,c),jd(i,c,o)),r!==null&&Gd(o,c),Ze}function vt(){let e=Se();Ed()?wd():(e=e.parent,wn(e,!1));let n=e;YI(n)&&QI(),ZI();let t=z();return t.firstCreatePass&&Fv(t,n),n.classesWithoutHost!=null&&cC(n)&&jl(t,n,b(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&uC(n)&&jl(t,n,b(),n.stylesWithoutHost,!1),vt}function Mn(e,n,t,r){return Ze(e,n,t,r),vt(),Mn}var wS=(e,n,t,r,o,i)=>(Ra(!0),cv(r,o,iC()));function IS(e,n,t,r,o){let i=n.consts,s=yn(i,r),a=eo(n,e,8,"ng-container",s);s!==null&&_l(a,s,!0);let c=yn(i,o);return vd()&&tf(n,t,a,c,Wd),a.mergedAttrs=Lr(a.mergedAttrs,a.attrs),n.queries!==null&&n.queries.elementStart(n,a),a}function ri(e,n,t){let r=b(),o=z(),i=e+X,s=o.firstCreatePass?IS(i,o,r,n,t):o.data[i];wn(s,!0);let a=bS(o,r,s,e);return r[i]=a,Na()&&ja(o,r,a,s),Kr(a,r),_a(s)&&(Fa(o,r,s),jd(o,s,r)),t!=null&&Gd(r,s),ri}function oi(){let e=Se(),n=z();return Ed()?wd():(e=e.parent,wn(e,!1)),n.firstCreatePass&&(Td(n,e),dd(e)&&n.queries.elementEnd(e)),oi}function CS(e,n,t){return ri(e,n,t),oi(),CS}var bS=(e,n,t,r)=>(Ra(!0),Pb(n[Z],""));function vf(){return b()}function TS(e,n,t){let r=b(),o=In();if(_e(r,o,n)){let i=z(),s=Cn();rr(i,s,r,e,n,r[Z],t,!0)}return TS}function yf(e,n,t){let r=b(),o=In();if(_e(r,o,n)){let i=z(),s=Cn(),a=om(i.data),c=Xb(a,s,r);rr(i,s,r,e,n,c,t,!0)}return yf}var Hn=void 0;function _S(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var SS=["en",[["a","p"],["AM","PM"],Hn],[["AM","PM"],Hn,Hn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Hn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Hn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Hn,"{1} 'at' {0}",Hn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",_S],$u={};function Ue(e){let n=MS(e),t=hg(n);if(t)return t;let r=n.split("-")[0];if(t=hg(r),t)return t;if(r==="en")return SS;throw new D(701,!1)}function hg(e){return e in $u||($u[e]=pe.ng&&pe.ng.common&&pe.ng.common.locales&&pe.ng.common.locales[e]),$u[e]}var te=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(te||{});function MS(e){return e.toLowerCase().replace(/_/g,"-")}var ma="en-US",xS="USD";var NS=ma;function RS(e){typeof e=="string"&&(NS=e.toLowerCase().replace(/_/g,"-"))}function pg(e,n,t){return function r(o){if(o===Function)return t;let i=Gr(e)?kt(e.index,n):n;ef(i,5);let s=n[se],a=gg(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=gg(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function gg(e,n,t,r){let o=P(null);try{return K(6,n,t),t(r)!==!1}catch(i){return AS(e,i),!1}finally{K(7,n,t),P(o)}}function AS(e,n){let t=e[Pr],r=t?t.get(ft,null):null;r&&r.handleError(n)}function mg(e,n,t,r,o,i){let s=n[t],a=n[O],u=a.data[t].outputs[r],l=s[u],d=a.firstCreatePass?md(a):null,h=gd(n),f=l.subscribe(i),p=h.length;h.push(i,f),d&&d.push(o,e.index,p,-(p+1))}function xn(e,n,t,r){let o=b(),i=z(),s=Se();return my(i,o,o[Z],s,e,n,r),xn}function OS(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[Zs],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function my(e,n,t,r,o,i,s){let a=_a(r),u=e.firstCreatePass?md(e):null,l=gd(n),d=!0;if(r.type&3||s){let h=Vt(r,n),f=s?s(h):h,p=l.length,m=s?_=>s(Ot(_[r.index])):r.index,y=null;if(!s&&a&&(y=OS(e,n,o,r.index)),y!==null){let _=y.__ngLastListenerFn__||y;_.__ngNextListenerFn__=i,y.__ngLastListenerFn__=i,d=!1}else{i=pg(r,n,i),ZC(n,f,o,i);let _=t.listen(f,o,i);l.push(i,_),u&&u.push(o,m,p,p+1)}}else i=pg(r,n,i);if(d){let h=r.outputs?.[o],f=r.hostDirectiveOutputs?.[o];if(f&&f.length)for(let p=0;p<f.length;p+=2){let m=f[p],y=f[p+1];mg(r,n,m,y,o,i)}if(h&&h.length)for(let p of h)mg(r,n,p,o,o,i)}}function Ye(e=1){return rC(e)}function kS(e,n){let t=null,r=_b(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?av(e,i,!0):xb(r,i))return o}return t}function oU(e){let n=b()[Fe][je];if(!n.projection){let t=e?e.length:1,r=n.projection=EI(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?kS(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function iU(e,n=0,t,r,o,i){let s=b(),a=z(),c=r?e+1:null;c!==null&&fa(s,a,c,r,o,i,null,t);let u=eo(a,X+e,16,null,t||null);u.projection===null&&(u.projection=n),wd();let d=!s[kr]||Xg();s[Fe][je].projection[u.projection]===null&&c!==null?PS(s,a,c):d&&!Kd(u)&&hT(a,s,u)}function PS(e,n,t){let r=X+t,o=n.data[r],i=e[r],s=Vr(i,o.tView.ssrId),a=Jo(e,o,void 0,{dehydratedView:s});Xo(i,a,0,jr(o,s))}function FS(e,n,t){return vy(e,"",n,"",t),FS}function vy(e,n,t,r,o){let i=b(),s=pf(i,n,t,r);if(s!==ge){let a=z(),c=Cn();rr(a,c,i,e,s,i[Z],o,!1)}return vy}function LS(e,n,t,r,o,i,s){let a=b(),c=gf(a,n,t,r,o,i);if(c!==ge){let u=z(),l=Cn();rr(u,l,a,e,c,a[Z],s,!1)}return LS}function jS(e,n,t,r,o,i,s,a,c){let u=b(),l=iy(u,n,t,r,o,i,s,a);if(l!==ge){let d=z(),h=Cn();rr(d,h,u,e,l,u[Z],c,!1)}return jS}function yy(e,n,t,r){Hv(e,n,t,r)}function sU(e,n,t){Uv(e,n,t)}function Dy(e){let n=b(),t=z(),r=Id();xa(r+1);let o=rf(t,r);if(e.dirty&&UI(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=zv(n,r);e.reset(i,xm),e.notifyOnChanges()}return!0}return!1}function Ey(){return nf(b(),Id())}function aU(e,n,t,r,o){Zv(n,Hv(e,t,r,o))}function cU(e,n,t,r){Zv(e,Uv(n,t,r))}function uU(e=1){xa(Id()+e)}function lU(e){let n=tm();return nr(n,X+e)}function sn(e,n=""){let t=b(),r=z(),o=e+X,i=r.firstCreatePass?eo(r,o,1,n,null):r.data[o],s=VS(r,t,i,n,e);t[o]=s,Na()&&ja(r,t,s,i),wn(i,!1)}var VS=(e,n,t,r,o)=>(Ra(!0),Ob(n[Z],r));function BS(e){return an("",e,""),BS}function an(e,n,t){let r=b(),o=pf(r,e,n,t);return o!==ge&&Df(r,pt(),o),an}function US(e,n,t,r,o){let i=b(),s=gf(i,e,n,t,r,o);return s!==ge&&Df(i,pt(),s),US}function HS(e,n,t,r,o,i,s){let a=b(),c=iy(a,e,n,t,r,o,i,s);return c!==ge&&Df(a,pt(),c),HS}function Df(e,n,t){let r=Yg(n,e);kb(e[Z],r,t)}function $S(e,n,t){Rm(n)&&(n=n());let r=b(),o=In();if(_e(r,o,n)){let i=z(),s=Cn();rr(i,s,r,e,n,r[Z],t,!1)}return $S}function dU(e,n){let t=Rm(e);return t&&e.set(n),t}function zS(e,n){let t=b(),r=z(),o=Se();return my(r,t,t[Z],o,e,n),zS}var wy={};function qS(e){let n=z(),t=b(),r=e+X,o=eo(n,r,128,null,null);return wn(o,!1),hd(n,t,r,wy),qS}function fU(e){Bt("NgLet");let n=z(),t=b(),r=pt();return hd(n,t,r,e),e}function hU(e){let n=tm(),t=nr(n,X+e);if(t===wy)throw new D(314,!1);return t}function GS(e,n,t){let r=z();if(r.firstCreatePass){let o=dt(e);ql(t,r.data,r.blueprint,o,!0),ql(n,r.data,r.blueprint,o,!1)}}function ql(e,n,t,r,o){if(e=De(e),Array.isArray(e))for(let i=0;i<e.length;i++)ql(e[i],n,t,r,o);else{let i=z(),s=b(),a=Se(),c=Or(e)?e:De(e.provide),u=Hg(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Or(e)||!e.multi){let f=new Kn(u,o,R),p=qu(c,n,o?l:l+h,d);p===-1?(ol(ta(a,s),i,c),zu(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[p]=f,s[p]=f)}else{let f=qu(c,n,l+h,d),p=qu(c,n,l,l+h),m=f>=0&&t[f],y=p>=0&&t[p];if(o&&!y||!o&&!m){ol(ta(a,s),i,c);let _=YS(o?ZS:WS,t.length,o,r,u);!o&&y&&(t[p].providerFactory=_),zu(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(_),s.push(_)}else{let _=Iy(t[o?p:f],u,!o&&r);zu(i,e,f>-1?f:p,_)}!o&&r&&y&&t[p].componentProviders++}}}function zu(e,n,t,r){let o=Or(n),i=MI(n);if(o||i){let c=(i?De(n.useClass):n).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let l=u.indexOf(t);l===-1?u.push(t,[r,c]):u[l+1].push(r,c)}else u.push(t,c)}}}function Iy(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function qu(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function WS(e,n,t,r,o){return Gl(this.multi,[])}function ZS(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Ho(r,r[O],this.providerFactory.index,o);s=c.slice(0,a),Gl(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Gl(i,s);return s}function Gl(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function YS(e,n,t,r,o){let i=new Kn(e,t,R);return i.multi=[],i.index=n,i.componentProviders=0,Iy(i,o,r&&!t),i}function pU(e,n=[]){return t=>{t.providersResolver=(r,o)=>GS(r,o?o(e):e,n)}}function gU(e,n,t){let r=Ve()+e,o=b();return o[r]===ge?rn(o,r,t?n.call(t):n()):Ua(o,r)}function mU(e,n,t,r){return Cy(b(),Ve(),e,n,t,r)}function vU(e,n,t,r,o){return by(b(),Ve(),e,n,t,r,o)}function yU(e,n,t,r,o,i){return Ty(b(),Ve(),e,n,t,r,o,i)}function DU(e,n,t,r,o,i,s){return _y(b(),Ve(),e,n,t,r,o,i,s)}function EU(e,n,t,r,o,i,s,a){let c=Ve()+e,u=b(),l=Ha(u,c,t,r,o,i);return _e(u,c+4,s)||l?rn(u,c+5,a?n.call(a,t,r,o,i,s):n(t,r,o,i,s)):Ua(u,c+5)}function wU(e,n,t,r,o,i,s,a,c){let u=Ve()+e,l=b(),d=Ha(l,u,t,r,o,i);return Ur(l,u+4,s,a)||d?rn(l,u+6,c?n.call(c,t,r,o,i,s,a):n(t,r,o,i,s,a)):Ua(l,u+6)}function IU(e,n,t,r,o,i,s,a,c,u){let l=Ve()+e,d=b(),h=Ha(d,l,t,r,o,i);return af(d,l+4,s,a,c)||h?rn(d,l+7,u?n.call(u,t,r,o,i,s,a,c):n(t,r,o,i,s,a,c)):Ua(d,l+7)}function CU(e,n,t,r){return Sy(b(),Ve(),e,n,t,r)}function ii(e,n){let t=e[n];return t===ge?void 0:t}function Cy(e,n,t,r,o,i){let s=n+t;return _e(e,s,o)?rn(e,s+1,i?r.call(i,o):r(o)):ii(e,s+1)}function by(e,n,t,r,o,i,s){let a=n+t;return Ur(e,a,o,i)?rn(e,a+2,s?r.call(s,o,i):r(o,i)):ii(e,a+2)}function Ty(e,n,t,r,o,i,s,a){let c=n+t;return af(e,c,o,i,s)?rn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):ii(e,c+3)}function _y(e,n,t,r,o,i,s,a,c){let u=n+t;return Ha(e,u,o,i,s,a)?rn(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):ii(e,u+4)}function Sy(e,n,t,r,o,i){let s=n+t,a=!1;for(let c=0;c<o.length;c++)_e(e,s++,o[c])&&(a=!0);return a?rn(e,s,r.apply(i,o)):ii(e,s)}function bU(e,n){let t=z(),r,o=e+X;t.firstCreatePass?(r=QS(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=qn(r.type,!0)),s,a=ke(R);try{let c=ea(!1),u=i();return ea(c),hd(t,b(),o,u),u}finally{ke(a)}}function QS(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function TU(e,n,t){let r=e+X,o=b(),i=nr(o,r);return si(o,r)?Cy(o,Ve(),n,i.transform,t,i):i.transform(t)}function _U(e,n,t,r){let o=e+X,i=b(),s=nr(i,o);return si(i,o)?by(i,Ve(),n,s.transform,t,r,s):s.transform(t,r)}function SU(e,n,t,r,o){let i=e+X,s=b(),a=nr(s,i);return si(s,i)?Ty(s,Ve(),n,a.transform,t,r,o,a):a.transform(t,r,o)}function MU(e,n,t,r,o,i){let s=e+X,a=b(),c=nr(a,s);return si(a,s)?_y(a,Ve(),n,c.transform,t,r,o,i,c):c.transform(t,r,o,i)}function xU(e,n,t){let r=e+X,o=b(),i=nr(o,r);return si(o,r)?Sy(o,Ve(),n,i.transform,t,i):i.transform.apply(i,t)}function si(e,n){return e[O].data[n].pure}function NU(e,n){return Ba(e,n)}var Ls=null;function KS(e){Ls!==null&&(e.defaultEncapsulation!==Ls.defaultEncapsulation||e.preserveWhitespaces!==Ls.preserveWhitespaces)||(Ls=e)}var Zo=class{full;major;minor;patch;constructor(n){this.full=n;let t=n.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},RU=new Zo("19.2.14"),Wl=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},My=(()=>{class e{compileModuleSync(t){return new da(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Lg(t),i=iv(o.declarations).reduce((s,a)=>{let c=vn(a);return c&&s.push(new Jn(c)),s},[]);return new Wl(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JS=new w("");function XS(e,n,t){let r=new da(t);return Promise.resolve(r)}function vg(e){for(let n=e.length-1;n>=0;n--)if(e[n]!==void 0)return e[n]}var eM=(()=>{class e{zone=g(H);changeDetectionScheduler=g(Dn);applicationRef=g(qe);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tM({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new H(V(v({},xy()),{scheduleInRootZone:t})),[{provide:H,useFactory:e},{provide:Ar,multi:!0,useFactory:()=>{let r=g(eM,{optional:!0});return()=>r.initialize()}},{provide:Ar,multi:!0,useFactory:()=>{let r=g(nM);return()=>{r.initialize()}}},n===!0?{provide:bm,useValue:!0}:[],{provide:Tm,useValue:t??Cm}]}function xy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var nM=(()=>{class e{subscription=new Y;initialized=!1;zone=g(H);pendingTasks=g(en);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{H.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rM=(()=>{class e{appRef=g(qe);taskService=g(en);ngZone=g(H);zonelessEnabled=g(Md);tracing=g(Xr,{optional:!0});disableScheduling=g(bm,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Y;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ra):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Tm,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof oa||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let r=!1;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Pp:_m;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ra+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Pp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function oM(){return typeof $localize<"u"&&$localize.locale||ma}var oo=new w("",{providedIn:"root",factory:()=>g(oo,j.Optional|j.SkipSelf)||oM()}),Ny=new w("",{providedIn:"root",factory:()=>xS});var va=new w(""),iM=new w("");function Po(e){return!e.moduleRef}function sM(e){let n=Po(e)?e.r3Injector:e.moduleRef.injector,t=n.get(H);return t.run(()=>{Po(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(ft,null),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:i=>{r.handleError(i)}})}),Po(e)){let i=()=>n.destroy(),s=e.platformInjector.get(va);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(va);s.add(i),e.moduleRef.onDestroy(()=>{Hs(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return cM(r,t,()=>{let i=n.get(ry);return i.runInitializers(),i.donePromise.then(()=>{let s=n.get(oo,ma);if(RS(s||ma),!n.get(iM,!0))return Po(e)?n.get(qe):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Po(e)){let c=n.get(qe);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return aM(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function aM(e,n){let t=e.injector.get(qe);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(t);else throw new D(-403,!1);n.push(e)}function cM(e,n,t){try{let r=t();return ro(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}var Ry=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,r){let o=r?.scheduleInRootZone,i=()=>xC(r?.ngZone,V(v({},xy({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[tM({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Dn,useExisting:rM}],c=__(t.moduleType,this.injector,a);return sM({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,r=[]){let o=oy({},r);return XS(this.injector,o,t).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let t=this._injector.get(va,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(I(oe))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Vo=null,Ay=new w("");function uM(e){if(Vo&&!Vo.get(Ay,!1))throw new D(400,!1);G_(),Vo=e;let n=e.get(Ry);return fM(e),n}function Ef(e,n,t=[]){let r=`Platform: ${n}`,o=new w(r);return(i=[])=>{let s=Oy();if(!s||s.injector.get(Ay,!1)){let a=[...t,...i,{provide:o,useValue:!0}];e?e(a):uM(lM(a,r))}return dM(o)}}function lM(e=[],n){return oe.create({name:n,providers:[{provide:Ca,useValue:"platform"},{provide:va,useValue:new Set([()=>Vo=null])},...e]})}function dM(e){let n=Oy();if(!n)throw new D(401,!1);return n}function Oy(){return Vo?.get(Ry)??null}function fM(e){let n=e.get(Ad,null);Le(e,()=>{n?.forEach(t=>t())})}function AU(){return!1}var Nn=(()=>{class e{static __NG_ELEMENT_ID__=hM}return e})();function hM(e){return pM(Se(),b(),(e&16)===16)}function pM(e,n,t){if(Gr(e)&&!t){let r=kt(e.index,n);return new qo(r,r)}else if(e.type&175){let r=n[Fe];return new qo(r,n)}return null}var Zl=class{constructor(){}supports(n){return ey(n)}create(n){return new Yl(n)}},gM=(e,n)=>n,Yl=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||gM}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex<yg(r,o,i)?t:r,a=yg(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,p=f+h;l<=p&&p<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!ey(n))throw new D(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,U_(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new Ql(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new ya),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ya),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Ql=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},Kl=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},ya=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Kl,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function yg(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}var Jl=class{constructor(){}supports(n){return n instanceof Map||sf(n)}create(){return new Xl}},Xl=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||sf(n)))throw new D(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new ed(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},ed=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Dg(){return new wf([new Zl])}var wf=(()=>{class e{factories;static \u0275prov=E({token:e,providedIn:"root",factory:Dg});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Dg()),deps:[[e,new Og,new id]]}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new D(901,!1)}}return e})();function Eg(){return new If([new Jl])}var If=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:Eg});factories;constructor(t){this.factories=t}static create(t,r){if(r){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Eg()),deps:[[e,new Og,new id]]}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new D(901,!1)}}return e})();var ky=Ef(null,"core",[]),Py=(()=>{class e{constructor(t){}static \u0275fac=function(r){return new(r||e)(I(qe))};static \u0275mod=mt({type:e});static \u0275inj=ht({})}return e})();function cn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Cf(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}function bf(e){return xu(e)}function OU(e,n){return xs(e,n?.equal)}var td=class{[Ne];constructor(n){this[Ne]=n}destroy(){this[Ne].destroy()}};function mM(e,n){!n?.injector&&ud(mM);let t=n?.injector??g(oe),r=n?.manualCleanup!==!0?t.get(Xt):null,o,i=t.get(Fd,null,{optional:!0}),s=t.get(Dn);return i!==null&&!n?.forceRoot?(o=DM(i.view,s,e),r instanceof na&&r._lView===i.view&&(r=null)):o=EM(e,t.get(ty),s),o.injector=t,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new td(o)}var Fy=V(v({},Cr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:$o,run(){if(this.dirty=!1,this.hasRun&&!_s(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),n=Ao(this),t=Ks(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ks(t),Ts(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),vM=V(v({},Fy),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Oo(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),yM=V(v({},Fy),{consumerMarkedDirty(){this.view[N]|=8192,Zr(this.view),this.notifier.notify(13)},destroy(){Oo(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Wn]?.delete(this)}});function DM(e,n,t){let r=Object.create(yM);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=t,e[Wn]??=new Set,e[Wn].add(r),r.consumerMarkedDirty(r),r}function EM(e,n,t){let r=Object.create(vM);return r.fn=e,r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function kU(e,n){let t=vn(e),r=n.elementInjector||ba();return new Jn(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector)}function Ly(e){let n=vn(e);if(!n)return null;let t=new Jn(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var ee=new w("");var By=null;function Ut(){return By}function Tf(e){By??=e}var ai=class{},ci=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(Uy),providedIn:"platform"})}return e})(),_f=new w(""),Uy=(()=>{class e extends ci{_location;_history;_doc=g(ee);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ut().getBaseHref(this._doc)}onPopState(t){let r=Ut().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Ut().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ga(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function jy(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Dt(e){return e&&e[0]!=="?"?`?${e}`:e}var Et=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(Za),providedIn:"root"})}return e})(),Wa=new w(""),Za=(()=>{class e extends Et{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ga(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Dt(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(I(ci),I(Wa,8))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rn=(()=>{class e{_subject=new B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=CM(jy(Vy(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Dt(r))}normalize(t){return e.stripTrailingSlash(IM(this._basePath,Vy(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dt(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Dt;static joinWithSlash=Ga;static stripTrailingSlash=jy;static \u0275fac=function(r){return new(r||e)(I(Et))};static \u0275prov=E({token:e,factory:()=>wM(),providedIn:"root"})}return e})();function wM(){return new Rn(I(Et))}function IM(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Vy(e){return e.replace(/\/index.html$/,"")}function CM(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Ff=(()=>{class e extends Et{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=Ga(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i))||this._platformLocation.pathname;this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i))||this._platformLocation.pathname;this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(I(ci),I(Wa,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Yy={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},oc=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(oc||{});var xe=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(xe||{}),q=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(q||{}),He=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(He||{}),we={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Qy(e){return Ue(e)[te.LocaleId]}function Ky(e,n,t){let r=Ue(e),o=[r[te.DayPeriodsFormat],r[te.DayPeriodsStandalone]],i=nt(o,n);return nt(i,t)}function Jy(e,n,t){let r=Ue(e),o=[r[te.DaysFormat],r[te.DaysStandalone]],i=nt(o,n);return nt(i,t)}function Xy(e,n,t){let r=Ue(e),o=[r[te.MonthsFormat],r[te.MonthsStandalone]],i=nt(o,n);return nt(i,t)}function eD(e,n){let r=Ue(e)[te.Eras];return nt(r,n)}function ui(e,n){let t=Ue(e);return nt(t[te.DateFormat],n)}function li(e,n){let t=Ue(e);return nt(t[te.TimeFormat],n)}function di(e,n){let r=Ue(e)[te.DateTimeFormat];return nt(r,n)}function It(e,n){let t=Ue(e),r=t[te.NumberSymbols][n];if(typeof r>"u"){if(n===we.CurrencyDecimal)return t[te.NumberSymbols][we.Decimal];if(n===we.CurrencyGroup)return t[te.NumberSymbols][we.Group]}return r}function Lf(e,n){return Ue(e)[te.NumberFormats][n]}function bM(e){return Ue(e)[te.Currencies]}function tD(e){if(!e[te.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[te.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function nD(e){let n=Ue(e);return tD(n),(n[te.ExtraData][2]||[]).map(r=>typeof r=="string"?Sf(r):[Sf(r[0]),Sf(r[1])])}function rD(e,n,t){let r=Ue(e);tD(r);let o=[r[te.ExtraData][0],r[te.ExtraData][1]],i=nt(o,n)||[];return nt(i,t)||[]}function nt(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function Sf(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}function oD(e,n,t="en"){let r=bM(t)[e]||Yy[e]||[],o=r[1];return n==="narrow"&&typeof o=="string"?o:r[0]||e}var TM=2;function iD(e){let n,t=Yy[e];return t&&(n=t[2]),typeof n=="number"?n:TM}var _M=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ya={},SM=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function sD(e,n,t,r){let o=FM(e);n=un(t,n)||n;let s=[],a;for(;n;)if(a=SM.exec(n),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;n=l}else{s.push(n);break}let c=o.getTimezoneOffset();r&&(c=cD(r,c),o=PM(o,r));let u="";return s.forEach(l=>{let d=OM(l);u+=d?d(o,t,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ec(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function un(e,n){let t=Qy(e);if(Ya[t]??={},Ya[t][n])return Ya[t][n];let r="";switch(n){case"shortDate":r=ui(e,He.Short);break;case"mediumDate":r=ui(e,He.Medium);break;case"longDate":r=ui(e,He.Long);break;case"fullDate":r=ui(e,He.Full);break;case"shortTime":r=li(e,He.Short);break;case"mediumTime":r=li(e,He.Medium);break;case"longTime":r=li(e,He.Long);break;case"fullTime":r=li(e,He.Full);break;case"short":let o=un(e,"shortTime"),i=un(e,"shortDate");r=Qa(di(e,He.Short),[o,i]);break;case"medium":let s=un(e,"mediumTime"),a=un(e,"mediumDate");r=Qa(di(e,He.Medium),[s,a]);break;case"long":let c=un(e,"longTime"),u=un(e,"longDate");r=Qa(di(e,He.Long),[c,u]);break;case"full":let l=un(e,"fullTime"),d=un(e,"fullDate");r=Qa(di(e,He.Full),[l,d]);break}return r&&(Ya[t][n]=r),r}function Qa(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function wt(e,n,t="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=t));let s=String(e);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),i+s}function MM(e,n){return wt(e,3).substring(0,n)}function ae(e,n,t=0,r=!1,o=!1){return function(i,s){let a=xM(e,i);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return MM(a,n);let c=It(s,we.MinusSign);return wt(a,n,c,r,o)}}function xM(e,n){switch(e){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function J(e,n,t=xe.Format,r=!1){return function(o,i){return NM(o,i,e,n,t,r)}}function NM(e,n,t,r,o,i){switch(t){case 2:return Xy(n,o,r)[e.getMonth()];case 1:return Jy(n,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=nD(n),l=rD(n,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,m=s>=f.hours&&a>=f.minutes,y=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(m&&y)return!0}else if(m||y)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Ky(n,o,r)[s<12?0:1];case 3:return eD(n,r)[e.getFullYear()<=0?0:1];default:let c=t;throw new Error(`unexpected translation type ${c}`)}}function Ka(e){return function(n,t,r){let o=-1*r,i=It(t,we.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+wt(s,2,i)+wt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+wt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+wt(s,2,i)+":"+wt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+wt(s,2,i)+":"+wt(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var RM=0,Xa=4;function AM(e){let n=ec(e,RM,1).getDay();return ec(e,0,1+(n<=Xa?Xa:Xa+7)-n)}function aD(e){let n=e.getDay(),t=n===0?-3:Xa-n;return ec(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Mf(e,n=!1){return function(t,r){let o;if(n){let i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{let i=aD(t),s=AM(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return wt(o,e,It(r,we.MinusSign))}}function Ja(e,n=!1){return function(t,r){let i=aD(t).getFullYear();return wt(i,e,It(r,we.MinusSign),n)}}var xf={};function OM(e){if(xf[e])return xf[e];let n;switch(e){case"G":case"GG":case"GGG":n=J(3,q.Abbreviated);break;case"GGGG":n=J(3,q.Wide);break;case"GGGGG":n=J(3,q.Narrow);break;case"y":n=ae(0,1,0,!1,!0);break;case"yy":n=ae(0,2,0,!0,!0);break;case"yyy":n=ae(0,3,0,!1,!0);break;case"yyyy":n=ae(0,4,0,!1,!0);break;case"Y":n=Ja(1);break;case"YY":n=Ja(2,!0);break;case"YYY":n=Ja(3);break;case"YYYY":n=Ja(4);break;case"M":case"L":n=ae(1,1,1);break;case"MM":case"LL":n=ae(1,2,1);break;case"MMM":n=J(2,q.Abbreviated);break;case"MMMM":n=J(2,q.Wide);break;case"MMMMM":n=J(2,q.Narrow);break;case"LLL":n=J(2,q.Abbreviated,xe.Standalone);break;case"LLLL":n=J(2,q.Wide,xe.Standalone);break;case"LLLLL":n=J(2,q.Narrow,xe.Standalone);break;case"w":n=Mf(1);break;case"ww":n=Mf(2);break;case"W":n=Mf(1,!0);break;case"d":n=ae(2,1);break;case"dd":n=ae(2,2);break;case"c":case"cc":n=ae(7,1);break;case"ccc":n=J(1,q.Abbreviated,xe.Standalone);break;case"cccc":n=J(1,q.Wide,xe.Standalone);break;case"ccccc":n=J(1,q.Narrow,xe.Standalone);break;case"cccccc":n=J(1,q.Short,xe.Standalone);break;case"E":case"EE":case"EEE":n=J(1,q.Abbreviated);break;case"EEEE":n=J(1,q.Wide);break;case"EEEEE":n=J(1,q.Narrow);break;case"EEEEEE":n=J(1,q.Short);break;case"a":case"aa":case"aaa":n=J(0,q.Abbreviated);break;case"aaaa":n=J(0,q.Wide);break;case"aaaaa":n=J(0,q.Narrow);break;case"b":case"bb":case"bbb":n=J(0,q.Abbreviated,xe.Standalone,!0);break;case"bbbb":n=J(0,q.Wide,xe.Standalone,!0);break;case"bbbbb":n=J(0,q.Narrow,xe.Standalone,!0);break;case"B":case"BB":case"BBB":n=J(0,q.Abbreviated,xe.Format,!0);break;case"BBBB":n=J(0,q.Wide,xe.Format,!0);break;case"BBBBB":n=J(0,q.Narrow,xe.Format,!0);break;case"h":n=ae(3,1,-12);break;case"hh":n=ae(3,2,-12);break;case"H":n=ae(3,1);break;case"HH":n=ae(3,2);break;case"m":n=ae(4,1);break;case"mm":n=ae(4,2);break;case"s":n=ae(5,1);break;case"ss":n=ae(5,2);break;case"S":n=ae(6,1);break;case"SS":n=ae(6,2);break;case"SSS":n=ae(6,3);break;case"Z":case"ZZ":case"ZZZ":n=Ka(0);break;case"ZZZZZ":n=Ka(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Ka(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=Ka(2);break;default:return null}return xf[e]=n,n}function cD(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function kM(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function PM(e,n,t){let o=e.getTimezoneOffset(),i=cD(n,o);return kM(e,-1*(i-o))}function FM(e){if(Hy(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return ec(o,i-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(_M))return LM(r)}let n=new Date(e);if(!Hy(n))throw new Error(`Unable to convert "${e}" into a date`);return n}function LM(e){let n=new Date(0),t=0,r=0,o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(n,s,a,c,u),n}function Hy(e){return e instanceof Date&&!isNaN(e.valueOf())}var jM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,$y=22,tc=".",fi="0",VM=";",BM=",",Nf="#",zy="\xA4";function uD(e,n,t,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=It(t,we.Infinity);else{let u=HM(e);s&&(u=UM(u));let l=n.minInt,d=n.minFrac,h=n.maxFrac;if(i){let $=i.match(jM);if($===null)throw new Error(`${i} is not a valid digit info`);let ne=$[1],Ln=$[3],Hi=$[5];ne!=null&&(l=Rf(ne)),Ln!=null&&(d=Rf(Ln)),Hi!=null?h=Rf(Hi):Ln!=null&&d>h&&(h=d)}$M(u,d,h);let f=u.digits,p=u.integerLen,m=u.exponent,y=[];for(c=f.every($=>!$);p<l;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?y=f.splice(p,f.length):(y=f,f=[0]);let _=[];for(f.length>=n.lgSize&&_.unshift(f.splice(-n.lgSize,f.length).join(""));f.length>n.gSize;)_.unshift(f.splice(-n.gSize,f.length).join(""));f.length&&_.unshift(f.join("")),a=_.join(It(t,r)),y.length&&(a+=It(t,o)+y.join("")),m&&(a+=It(t,we.Exponential)+"+"+m)}return e<0&&!c?a=n.negPre+a+n.negSuf:a=n.posPre+a+n.posSuf,a}function lD(e,n,t,r,o){let i=Lf(n,oc.Currency),s=fD(i,It(n,we.MinusSign));return s.minFrac=iD(r),s.maxFrac=s.minFrac,uD(e,s,n,we.CurrencyGroup,we.CurrencyDecimal,o).replace(zy,t).replace(zy,"").trim()}function dD(e,n,t){let r=Lf(n,oc.Decimal),o=fD(r,It(n,we.MinusSign));return uD(e,o,n,we.Group,we.Decimal,t)}function fD(e,n="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(VM),o=r[0],i=r[1],s=o.indexOf(tc)!==-1?o.split(tc):[o.substring(0,o.lastIndexOf(fi)+1),o.substring(o.lastIndexOf(fi)+1)],a=s[0],c=s[1]||"";t.posPre=a.substring(0,a.indexOf(Nf));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===fi?t.minFrac=t.maxFrac=l+1:d===Nf?t.maxFrac=l+1:t.posSuf+=d}let u=a.split(BM);if(t.gSize=u[1]?u[1].length:0,t.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-t.posPre.length-t.posSuf.length,d=i.indexOf(Nf);t.negPre=i.substring(0,d).replace(/'/g,""),t.negSuf=i.slice(d+l).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}function UM(e){if(e.digits[0]===0)return e;let n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(n===0?e.digits.push(0,0):n===1&&e.digits.push(0),e.integerLen+=2),e}function HM(e){let n=Math.abs(e)+"",t=0,r,o,i,s,a;for((o=n.indexOf(tc))>-1&&(n=n.replace(tc,"")),(i=n.search(/e/i))>0?(o<0&&(o=i),o+=+n.slice(i+1),n=n.substring(0,i)):o<0&&(o=n.length),i=0;n.charAt(i)===fi;i++);if(i===(a=n.length))r=[0],o=1;else{for(a--;n.charAt(a)===fi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(n.charAt(i))}return o>$y&&(r=r.splice(0,$y-1),t=o-1,o=1),{digits:r,exponent:t,integerLen:o}}function $M(e,n,t){if(n>t)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${t}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(n,o),t),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=n+e.integerLen,l=r.reduceRight(function(d,h,f,p){return h=h+d,p[f]=h<10?h:h-10,c&&(p[f]===0&&f>=u?p.pop():c=!1),h>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Rf(e){let n=parseInt(e);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+e);return n}var Af=/\s+/,qy=[],zM=(()=>{class e{_ngEl;_renderer;initialClasses=qy;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Af):qy}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Af):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>0&&t.split(Af).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(R(Ge),R(bn))};static \u0275dir=Ee({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),qM=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Qv(this.ngComponentOutletNgModule,Gy(r)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Gy(r)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[r,o]of this._inputsUsed)o?(t.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(t.setInput(r,void 0),this._inputsUsed.delete(r))}static \u0275fac=function(r){return new(r||e)(R(gt))};static \u0275dir=Ee({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[jt]})}return e})();function Gy(e){return e.get(Xn).injector}var nc=class{$implicit;ngForOf;index;count;constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},hD=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new nc(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Wy(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}t.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Wy(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(R(gt),R(En),R(wf))};static \u0275dir=Ee({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Wy(e,n){e.context.$implicit=n.item}var ic=(()=>{class e{_viewContainer;_context=new rc;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Zy(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Zy(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(R(gt),R(En))};static \u0275dir=Ee({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),rc=class{$implicit=null;ngIf=null};function Zy(e,n){if(e&&!e.createEmbeddedView)throw new D(2020,!1)}var Of=class{_viewContainerRef;_templateRef;_created=!1;constructor(n,t){this._viewContainerRef=n,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}},pD=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let r=t===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let r of this._defaultViews)r.enforceState(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ee({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),GM=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(t,r,o){this.ngSwitch=o,o._addCase(),this._view=new Of(t,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(r){return new(r||e)(R(gt),R(En),R(pD,9))};static \u0275dir=Ee({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})();var WM=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,r,o){this._ngEl=t,this._differs=r,this._renderer=o}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[o,i]=t.split("."),s=o.indexOf("-")===-1?void 0:Ft.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(R(Ge),R(If),R(bn))};static \u0275dir=Ee({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),ZM=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(R(gt))};static \u0275dir=Ee({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[jt]})}return e})();function io(e,n){return new D(2100,!1)}var kf=class{createSubscription(n,t){return bf(()=>n.subscribe({next:t,error:r=>{throw r}}))}dispose(n){bf(()=>n.unsubscribe())}},Pf=class{createSubscription(n,t){return n.then(r=>t?.(r),r=>{throw r}),{unsubscribe:()=>{t=null}}}dispose(n){n.unsubscribe()}},YM=new Pf,QM=new kf,KM=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r))}_selectStrategy(t){if(ro(t))return YM;if(df(t))return QM;throw io(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(R(Nn,16))};static \u0275pipe=Tn({name:"async",type:e,pure:!1})}return e})();var JM=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw io(e,t);return t.toUpperCase()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Tn({name:"uppercase",type:e,pure:!0})}return e})(),XM="mediumDate",gD=new w(""),mD=new w(""),e0=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}transform(t,r,o,i){if(t==null||t===""||t!==t)return null;try{let s=r??this.defaultOptions?.dateFormat??XM,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return sD(t,s,i||this.locale,a)}catch(s){throw io(e,s.message)}}static \u0275fac=function(r){return new(r||e)(R(oo,16),R(gD,24),R(mD,24))};static \u0275pipe=Tn({name:"date",type:e,pure:!0})}return e})();var t0=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Tn({name:"json",type:e,pure:!1})}return e})();var n0=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,r,o){if(!vD(t))return null;o||=this._locale;try{let i=yD(t);return dD(i,o,r)}catch(i){throw io(e,i.message)}}static \u0275fac=function(r){return new(r||e)(R(oo,16))};static \u0275pipe=Tn({name:"number",type:e,pure:!0})}return e})();var r0=(()=>{class e{_locale;_defaultCurrencyCode;constructor(t,r="USD"){this._locale=t,this._defaultCurrencyCode=r}transform(t,r=this._defaultCurrencyCode,o="symbol",i,s){if(!vD(t))return null;s||=this._locale,typeof o=="boolean"&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?a=oD(a,o==="symbol"?"wide":"narrow",s):a=o);try{let c=yD(t);return lD(c,s,a,r,i)}catch(c){throw io(e,c.message)}}static \u0275fac=function(r){return new(r||e)(R(oo,16),R(Ny,16))};static \u0275pipe=Tn({name:"currency",type:e,pure:!0})}return e})();function vD(e){return!(e==null||e===""||e!==e)}function yD(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var o0=(()=>{class e{transform(t,r,o){if(t==null)return null;if(!(typeof t=="string"||Array.isArray(t)))throw io(e,t);return t.slice(r,o)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Tn({name:"slice",type:e,pure:!1})}return e})();var jf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=mt({type:e});static \u0275inj=ht({})}return e})();function hi(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var sc="browser",DD="server";function i0(e){return e===sc}function ac(e){return e===DD}var or=class{};var wD=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new Vf(g(ee),window)})}return e})(),Vf=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let t=s0(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function s0(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var ID=e=>e.src,a0=new w("",{providedIn:"root",factory:()=>ID});var ED=/^((\s*\d+w\s*(,|$)){1,})$/;var c0=[1,2],u0=640;var l0=1920,d0=1080;var j2=(()=>{class e{imageLoader=g(a0);config=f0(g(Bm));renderer=g(bn);imgElement=g(Ge).nativeElement;injector=g(oe);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){Bt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&ED.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(t){let r=t;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=ED.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=t?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,r=t;return this.sizes?.trim()==="100vw"&&(r=t.filter(i=>i>=u0)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return c0.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>l0||this.height>d0),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ID&&!t}generatePlaceholder(t){let{placeholderResolution:r}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let r=()=>{let s=this.injector.get(Nn);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(t,"load",r),i=this.renderer.listen(t,"error",r);h0(t,r)}setHostAttribute(t,r){this.renderer.setAttribute(this.imgElement,t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ee({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&Sn("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",p0],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Cf],height:[2,"height","height",Cf],loading:"loading",priority:[2,"priority","priority",cn],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",cn],fill:[2,"fill","fill",cn],placeholder:[2,"placeholder","placeholder",g0],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[jt]})}return e})();function f0(e){let n={};return e.breakpoints&&(n.breakpoints=e.breakpoints.sort((t,r)=>t-r)),Object.assign({},kd,e,n)}function h0(e,n){e.complete&&e.naturalWidth&&n()}function p0(e){return typeof e=="string"?e:Be(e)}function g0(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:cn(e)}var lc=new w(""),$f=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(I(lc),I(H))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),pi=class{_doc;constructor(n){this._doc=n}manager},cc="ng-app-id";function CD(e){for(let n of e)n.remove()}function bD(e,n){let t=n.createElement("style");return t.textContent=e,t}function v0(e,n,t,r){let o=e.head?.querySelectorAll(`style[${cc}="${n}"],link[${cc}="${n}"]`);if(o)for(let i of o)i.removeAttribute(cc),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function Uf(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var zf=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.isServer=ac(i),v0(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,bD);r?.forEach(o=>this.addUsage(o,this.external,Uf))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(CD(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])CD(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,bD(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Uf(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(cc,this.appId),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(I(ee),I(Rd),I(Od,8),I(Jr))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Bf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},qf=/%COMP%/g;var _D="%COMP%",y0=`_nghost-${_D}`,D0=`_ngcontent-${_D}`,E0=!0,w0=new w("",{providedIn:"root",factory:()=>E0});function I0(e){return D0.replace(qf,e)}function C0(e){return y0.replace(qf,e)}function SD(e,n){return n.map(t=>t.replace(qf,e))}var Gf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,r,o,i,s,a,c,u=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=ac(a),this.defaultRenderer=new gi(t,s,c,this.platformIsServer,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Pt.ShadowDom&&(r=V(v({},r),{encapsulation:Pt.Emulated}));let o=this.getOrCreateRenderer(t,r);return o instanceof uc?o.applyToHost(t):o instanceof mi&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case Pt.Emulated:i=new uc(c,u,r,this.appId,l,s,a,d,h);break;case Pt.ShadowDom:return new Hf(c,u,t,r,s,a,this.nonce,d,h);default:i=new mi(c,u,r,l,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(I($f),I(zf),I(Rd),I(w0),I(ee),I(Jr),I(H),I(Od),I(Xr,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),gi=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Bf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(TD(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(TD(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new D(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Bf[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Bf[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(Ft.DashCase|Ft.Important)?n.style.setProperty(t,r,o&Ft.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Ft.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=Ut().getGlobalEventTarget(this.doc,n),!n))throw new D(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))===!1&&t.preventDefault()}}};function TD(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Hf=class extends gi{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,r,o,i,s,a,c,u){super(n,i,s,c,u),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=SD(o.id,l);for(let h of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=Uf(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},mi=class extends gi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c,u){super(n,i,s,a,c),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?SD(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},uc=class extends mi{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,u,l),this.contentAttr=I0(l),this.hostAttr=C0(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var dc=class e extends ai{supportsDOMEvents=!0;static makeCurrent(){Tf(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=b0();return t==null?null:T0(t)}resetBaseElement(){vi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return hi(document.cookie,n)}},vi=null;function b0(){return vi=vi||document.head.querySelector("base"),vi?vi.getAttribute("href"):null}function T0(e){return new URL(e,document.baseURI).pathname}var fc=class{addToWindow(n){pe.getAngularTestability=(r,o=!0)=>{let i=n.findTestabilityInTree(r,o);if(i==null)throw new D(5103,!1);return i},pe.getAllAngularTestabilities=()=>n.getAllTestabilities(),pe.getAllAngularRootElements=()=>n.getAllRootElements();let t=r=>{let o=pe.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};pe.frameworkStabilizers||(pe.frameworkStabilizers=[]),pe.frameworkStabilizers.push(t)}findTestabilityInTree(n,t,r){if(t==null)return null;let o=n.getTestability(t);return o??(r?Ut().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},_0=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),xD=(()=>{class e extends pi{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(I(ee))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),MD=["alt","control","meta","shift"],S0={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},M0={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},ND=(()=>{class e extends pi{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ut().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),MD.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=S0[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),MD.forEach(s=>{if(s!==o){let a=M0[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(I(ee))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function x0(){dc.makeCurrent()}function N0(){return new ft}function R0(){return jm(document),document}var A0=[{provide:Jr,useValue:sc},{provide:Ad,useValue:x0,multi:!0},{provide:ee,useFactory:R0}],O0=Ef(ky,"browser",A0);var k0=[{provide:ni,useClass:fc},{provide:uf,useClass:$a,deps:[H,za,ni]},{provide:$a,useClass:$a,deps:[H,za,ni]}],P0=[{provide:Ca,useValue:"root"},{provide:ft,useFactory:N0},{provide:lc,useClass:xD,multi:!0,deps:[ee]},{provide:lc,useClass:ND,multi:!0,deps:[ee]},Gf,zf,$f,{provide:Br,useExisting:Gf},{provide:or,useClass:_0},[]],F0=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=mt({type:e});static \u0275inj=ht({providers:[...P0,...k0],imports:[jf,Py]})}return e})();var ao=class{},yi=class{},me=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
8
|
-
`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var pc=class{encodeKey(n){return RD(n)}encodeValue(n){return RD(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function L0(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var j0=/%(\d[a-f0-9])/gi,V0={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function RD(e){return encodeURIComponent(e).replace(j0,(n,t)=>V0[t]??n)}function hc(e){return`${e}`}var Ct=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new pc,n.fromString){if(n.fromObject)throw new D(2805,!1);this.map=L0(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(hc):[hc(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(hc(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(hc(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var gc=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function B0(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function AD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function OD(e){return typeof Blob<"u"&&e instanceof Blob}function kD(e){return typeof FormData<"u"&&e instanceof FormData}function U0(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var PD="Content-Type",FD="Accept",LD="X-Request-URL",jD="text/plain",VD="application/json",H0=`${VD}, ${jD}, */*`,so=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(B0(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new me,this.context??=new gc,!this.params)this.params=new Ct,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||AD(this.body)||OD(this.body)||kD(this.body)||U0(this.body)?this.body:this.body instanceof Ct?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||kD(this.body)?null:OD(this.body)?this.body.type||null:AD(this.body)?null:typeof this.body=="string"?jD:this.body instanceof Ct?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?VD:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,c=n.reportProgress??this.reportProgress,u=n.headers||this.headers,l=n.params||this.params,d=n.context??this.context;return n.setHeaders!==void 0&&(u=Object.keys(n.setHeaders).reduce((h,f)=>h.set(f,n.setHeaders[f]),u)),n.setParams&&(l=Object.keys(n.setParams).reduce((h,f)=>h.set(f,n.setParams[f]),l)),new e(t,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},ir=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(ir||{}),co=class{headers;status;statusText;url;ok;type;constructor(n,t=200,r="OK"){this.headers=n.headers||new me,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},mc=class e extends co{constructor(n={}){super(n)}type=ir.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Di=class e extends co{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=ir.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Ei=class extends co{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},$0=200,z0=204;function Wf(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var yc=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof so)i=t;else{let c;o.headers instanceof me?c=o.headers:c=new me(o.headers);let u;o.params&&(o.params instanceof Ct?u=o.params:u=new Ct({fromObject:o.params})),i=new so(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=M(i).pipe(ct(c=>this.handler.handle(c)));if(t instanceof so||o.observe==="events")return s;let a=s.pipe(re(c=>c instanceof Di));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new D(2806,!1);return c.body}));case"blob":return a.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new D(2807,!1);return c.body}));case"text":return a.pipe(A(c=>{if(c.body!==null&&typeof c.body!="string")throw new D(2808,!1);return c.body}));case"json":default:return a.pipe(A(c=>c.body))}case"response":return a;default:throw new D(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Ct().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,Wf(o,r))}post(t,r,o={}){return this.request("POST",t,Wf(o,r))}put(t,r,o={}){return this.request("PUT",t,Wf(o,r))}static \u0275fac=function(r){return new(r||e)(I(ao))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var q0=new w("");function G0(e,n){return n(e)}function W0(e,n,t){return(r,o)=>Le(t,()=>n(r,i=>e(i,o)))}var Yf=new w(""),BD=new w(""),UD=new w("",{providedIn:"root",factory:()=>!0});var vc=(()=>{class e extends ao{backend;injector;chain=null;pendingTasks=g(en);contributeToStability=g(UD);constructor(t,r){super(),this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Yf),...this.injector.get(BD,[])]));this.chain=r.reduceRight((o,i)=>W0(o,i,this.injector),G0)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Un(()=>this.pendingTasks.remove(r)))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(I(yi),I(be))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var Z0=/^\)\]\}',?\n/,Y0=RegExp(`^${LD}:`,"m");function Q0(e){return"responseURL"in e&&e.responseURL?e.responseURL:Y0.test(e.getAllResponseHeaders())?e.getResponseHeader(LD):null}var Zf=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new D(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?G(r.\u0275loadImpl()):M(null)).pipe(ie(()=>new x(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((m,y)=>s.setRequestHeader(m,y.join(","))),t.headers.has(FD)||s.setRequestHeader(FD,H0),!t.headers.has(PD)){let m=t.detectContentTypeHeader();m!==null&&s.setRequestHeader(PD,m)}if(t.responseType){let m=t.responseType.toLowerCase();s.responseType=m!=="json"?m:"text"}let a=t.serializeBody(),c=null,u=()=>{if(c!==null)return c;let m=s.statusText||"OK",y=new me(s.getAllResponseHeaders()),_=Q0(s)||t.url;return c=new mc({headers:y,status:s.status,statusText:m,url:_}),c},l=()=>{let{headers:m,status:y,statusText:_,url:$}=u(),ne=null;y!==z0&&(ne=typeof s.response>"u"?s.responseText:s.response),y===0&&(y=ne?$0:0);let Ln=y>=200&&y<300;if(t.responseType==="json"&&typeof ne=="string"){let Hi=ne;ne=ne.replace(Z0,"");try{ne=ne!==""?JSON.parse(ne):null}catch(GE){ne=Hi,Ln&&(Ln=!1,ne={error:GE,text:ne})}}Ln?(i.next(new Di({body:ne,headers:m,status:y,statusText:_,url:$||void 0})),i.complete()):i.error(new Ei({error:ne,headers:m,status:y,statusText:_,url:$||void 0}))},d=m=>{let{url:y}=u(),_=new Ei({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(_)},h=!1,f=m=>{h||(i.next(u()),h=!0);let y={type:ir.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),t.responseType==="text"&&s.responseText&&(y.partialText=s.responseText),i.next(y)},p=m=>{let y={type:ir.UploadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),i.next(y)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:ir.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(I(or))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),HD=new w(""),K0="XSRF-TOKEN",J0=new w("",{providedIn:"root",factory:()=>K0}),X0="X-XSRF-TOKEN",ex=new w("",{providedIn:"root",factory:()=>X0}),wi=class{},tx=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,r){this.doc=t,this.cookieName=r}getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=hi(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)(I(ee),I(J0))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function nx(e,n){let t=e.url.toLowerCase();if(!g(HD)||e.method==="GET"||e.method==="HEAD"||t.startsWith("http://")||t.startsWith("https://"))return n(e);let r=g(wi).getToken(),o=g(ex);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var Qf=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Qf||{});function rx(e,n){return{\u0275kind:e,\u0275providers:n}}function ox(...e){let n=[yc,Zf,vc,{provide:ao,useExisting:vc},{provide:yi,useFactory:()=>g(q0,{optional:!0})??g(Zf)},{provide:Yf,useValue:nx,multi:!0},{provide:HD,useValue:!0},{provide:wi,useClass:tx}];for(let t of e)n.push(...t.\u0275providers);return tr(n)}function ix(e){return rx(Qf.Interceptors,e.map(n=>({provide:Yf,useValue:n,multi:!0})))}var $D=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(I(ee))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Kf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=I(ax),o},providedIn:"root"})}return e})(),ax=(()=>{class e extends Kf{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case We.NONE:return r;case We.HTML:return tn(r,"HTML")?Be(r):Vd(this._doc,String(r)).toString();case We.STYLE:return tn(r,"Style")?Be(r):r;case We.SCRIPT:if(tn(r,"Script"))return Be(r);throw new D(5200,!1);case We.URL:return tn(r,"URL")?Be(r):ka(String(r));case We.RESOURCE_URL:if(tn(r,"ResourceURL"))return Be(r);throw new D(5201,!1);default:throw new D(5202,!1)}}bypassSecurityTrustHtml(t){return Zm(t)}bypassSecurityTrustStyle(t){return Ym(t)}bypassSecurityTrustScript(t){return Qm(t)}bypassSecurityTrustUrl(t){return Km(t)}bypassSecurityTrustResourceUrl(t){return Jm(t)}static \u0275fac=function(r){return new(r||e)(I(ee))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var L="primary",ki=Symbol("RouteTitle"),nh=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function cr(e){return new nh(e)}function JD(e,n,t){let r=t.path.split("/");if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function cx(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!Ht(e[t],n[t]))return!1;return!0}function Ht(e,n){let t=e?rh(e):void 0,r=n?rh(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!XD(e[o],n[o]))return!1;return!0}function rh(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function XD(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((o,i)=>r[i]===o)}else return e===n}function eE(e){return e.length>0?e[e.length-1]:null}function Fn(e){return fu(e)?e:ro(e)?G(Promise.resolve(e)):M(e)}var ux={exact:nE,subset:rE},tE={exact:lx,subset:dx,ignored:()=>!0};function qD(e,n,t){return ux[t.paths](e.root,n.root,t.matrixParams)&&tE[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function lx(e,n){return Ht(e,n)}function nE(e,n,t){if(!sr(e.segments,n.segments)||!wc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!nE(e.children[r],n.children[r],t))return!1;return!0}function dx(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>XD(e[t],n[t]))}function rE(e,n,t){return oE(e,n,n.segments,t)}function oE(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!sr(o,t)||n.hasChildren()||!wc(o,t,r))}else if(e.segments.length===t.length){if(!sr(e.segments,t)||!wc(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!rE(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!sr(e.segments,o)||!wc(e.segments,o,r)||!e.children[L]?!1:oE(e.children[L],n,i,r)}}function wc(e,n,t){return n.every((r,o)=>tE[t](e[o].parameters,r.parameters))}var zt=class{root;queryParams;fragment;_queryParamMap;constructor(n=new U([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=cr(this.queryParams),this._queryParamMap}toString(){return px.serialize(this)}},U=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ic(this)}},An=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=cr(this.parameters),this._parameterMap}toString(){return sE(this)}};function fx(e,n){return sr(e,n)&&e.every((t,r)=>Ht(t.parameters,n[r].parameters))}function sr(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function hx(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===L&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==L&&(t=t.concat(n(o,r)))}),t}var ur=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new On,providedIn:"root"})}return e})(),On=class{parse(n){let t=new ih(n);return new zt(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${Ii(n.root,!0)}`,r=vx(n.queryParams),o=typeof n.fragment=="string"?`#${gx(n.fragment)}`:"";return`${t}${r}${o}`}},px=new On;function Ic(e){return e.segments.map(n=>sE(n)).join("/")}function Ii(e,n){if(!e.hasChildren())return Ic(e);if(n){let t=e.children[L]?Ii(e.children[L],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==L&&r.push(`${o}:${Ii(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=hx(e,(r,o)=>o===L?[Ii(e.children[L],!1)]:[`${o}:${Ii(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[L]!=null?`${Ic(e)}/${t[0]}`:`${Ic(e)}/(${t.join("//")})`}}function iE(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dc(e){return iE(e).replace(/%3B/gi,";")}function gx(e){return encodeURI(e)}function oh(e){return iE(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Cc(e){return decodeURIComponent(e)}function GD(e){return Cc(e.replace(/\+/g,"%20"))}function sE(e){return`${oh(e.path)}${mx(e.parameters)}`}function mx(e){return Object.entries(e).map(([n,t])=>`;${oh(n)}=${oh(t)}`).join("")}function vx(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${Dc(t)}=${Dc(o)}`).join("&"):`${Dc(t)}=${Dc(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var yx=/^[^\/()?;#]+/;function Jf(e){let n=e.match(yx);return n?n[0]:""}var Dx=/^[^\/()?;=#]+/;function Ex(e){let n=e.match(Dx);return n?n[0]:""}var wx=/^[^=?&#]+/;function Ix(e){let n=e.match(wx);return n?n[0]:""}var Cx=/^[^&#]+/;function bx(e){let n=e.match(Cx);return n?n[0]:""}var ih=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[L]=new U(n,t)),r}parseSegment(){let n=Jf(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(n),new An(Cc(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=Ex(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=Jf(this.remaining);o&&(r=o,this.capture(r))}n[Cc(t)]=Cc(r)}parseQueryParam(n){let t=Ix(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=bx(this.remaining);s&&(r=s,this.capture(r))}let o=GD(t),i=GD(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Jf(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new D(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=L);let s=this.parseChildren();t[i]=Object.keys(s).length===1?s[L]:new U([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new D(4011,!1)}};function aE(e){return e.segments.length>0?new U([],{[L]:e}):e}function cE(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=cE(o);if(r===L&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new U(e.segments,n);return Tx(t)}function Tx(e){if(e.numberOfChildren===1&&e.children[L]){let n=e.children[L];return new U(e.segments.concat(n.segments),n.children)}return e}function kn(e){return e instanceof zt}function uE(e,n,t=null,r=null){let o=lE(e);return dE(o,n,t,r)}function lE(e){let n;function t(i){let s={};for(let c of i.children){let u=t(c);s[c.outlet]=u}let a=new U(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=aE(r);return n??o}function dE(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(n.length===0)return Xf(o,o,o,t,r);let i=_x(n);if(i.toRoot())return Xf(o,o,new U([],{}),t,r);let s=Sx(i,o,e),a=s.processChildren?bi(s.segmentGroup,s.index,i.commands):hE(s.segmentGroup,s.index,i.commands);return Xf(o,s.segmentGroup,a,t,r)}function Tc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function _i(e){return typeof e=="object"&&e!=null&&e.outlets}function Xf(e,n,t,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===n?s=t:s=fE(e,n,t);let a=aE(cE(s));return new zt(a,i,o)}function fE(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=fE(i,n,t)}),new U(e.segments,r)}var _c=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Tc(r[0]))throw new D(4003,!1);let o=r.find(_i);if(o&&o!==eE(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function _x(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new _c(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new _c(t,n,r)}var fo=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function Sx(e,n,t){if(e.isAbsolute)return new fo(n,!0,0);if(!t)return new fo(n,!1,NaN);if(t.parent===null)return new fo(t,!0,0);let r=Tc(e.commands[0])?0:1,o=t.segments.length-1+r;return Mx(t,o,e.numberOfDoubleDots)}function Mx(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new D(4005,!1);o=r.segments.length}return new fo(r,!1,o-i)}function xx(e){return _i(e[0])?e[0].outlets:{[L]:e}}function hE(e,n,t){if(e??=new U([],{}),e.segments.length===0&&e.hasChildren())return bi(e,n,t);let r=Nx(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new U(e.segments.slice(0,r.pathIndex),{});return i.children[L]=new U(e.segments.slice(r.pathIndex),e.children),bi(i,0,o)}else return r.match&&o.length===0?new U(e.segments,{}):r.match&&!e.hasChildren()?sh(e,n,t):r.match?bi(e,0,o):sh(e,n,t)}function bi(e,n,t){if(t.length===0)return new U(e.segments,{});{let r=xx(t),o={};if(Object.keys(r).some(i=>i!==L)&&e.children[L]&&e.numberOfChildren===1&&e.children[L].segments.length===0){let i=bi(e.children[L],n,t);return new U(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=hE(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new U(e.segments,o)}}function Nx(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;let s=e.segments[o],a=t[r];if(_i(a))break;let c=`${a}`,u=r<t.length-1?t[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!ZD(c,u,s))return i;r+=2}else{if(!ZD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function sh(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(_i(i)){let c=Rx(i.outlets);return new U(r,c)}if(o===0&&Tc(t[0])){let c=e.segments[n];r.push(new An(c.path,WD(t[0]))),o++;continue}let s=_i(i)?i.outlets[L]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&Tc(a)?(r.push(new An(s,WD(a))),o+=2):(r.push(new An(s,{})),o++)}return new U(r,{})}function Rx(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=sh(new U([],{}),0,r))}),n}function WD(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function ZD(e,n,t){return e==t.path&&Ht(n,t.parameters)}var bc="imperative",fe=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(fe||{}),Ke=class{id;url;constructor(n,t){this.id=n,this.url=t}},Pn=class extends Ke{type=fe.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Je=class extends Ke{urlAfterRedirects;type=fe.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},$e=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}($e||{}),po=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(po||{}),$t=class extends Ke{reason;code;type=fe.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},qt=class extends Ke{reason;code;type=fe.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},go=class extends Ke{error;target;type=fe.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Si=class extends Ke{urlAfterRedirects;state;type=fe.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Sc=class extends Ke{urlAfterRedirects;state;type=fe.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Mc=class extends Ke{urlAfterRedirects;state;shouldActivate;type=fe.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},xc=class extends Ke{urlAfterRedirects;state;type=fe.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Nc=class extends Ke{urlAfterRedirects;state;type=fe.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Rc=class{route;type=fe.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ac=class{route;type=fe.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Oc=class{snapshot;type=fe.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},kc=class{snapshot;type=fe.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Pc=class{snapshot;type=fe.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Fc=class{snapshot;type=fe.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},mo=class{routerEvent;position;anchor;type=fe.Scroll;constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Mi=class{},vo=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function Ax(e,n){return e.providers&&!e._injector&&(e._injector=ei(e.providers,n,`Route: ${e.path}`)),e._injector??n}function bt(e){return e.outlet||L}function Ox(e,n){let t=e.filter(r=>bt(r)===n);return t.push(...e.filter(r=>bt(r)!==n)),t}function Pi(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var Lc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Pi(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new lr(this.rootInjector)}},lr=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new Lc(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(I(be))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jc=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=ah(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=ah(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=ch(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return ch(n,this._root).map(t=>t.value)}};function ah(e,n){if(e===n.value)return n;for(let t of n.children){let r=ah(e,t);if(r)return r}return null}function ch(e,n){if(e===n.value)return[n];for(let t of n.children){let r=ch(e,t);if(r.length)return r.unshift(n),r}return[]}var Qe=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function lo(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var xi=class extends jc{snapshot;constructor(n,t){super(n),this.snapshot=t,mh(this,n)}toString(){return this.snapshot.toString()}};function pE(e){let n=kx(e),t=new ye([new An("",{})]),r=new ye({}),o=new ye({}),i=new ye({}),s=new ye(""),a=new ln(t,r,i,s,o,L,e,n.root);return a.snapshot=n.root,new xi(new Qe(a,[]),n)}function kx(e){let n={},t={},r={},o="",i=new ar([],n,r,o,t,L,e,null,{});return new Ni("",new Qe(i,[]))}var ln=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(A(u=>u[ki]))??M(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(A(n=>cr(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(A(n=>cr(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Vc(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:v(v({},n.params),e.params),data:v(v({},n.data),e.data),resolve:v(v(v(v({},e.data),n.data),o?.data),e._resolvedData)}:r={params:v({},e.params),data:v({},e.data),resolve:v(v({},e.data),e._resolvedData??{})},o&&mE(o)&&(r.resolve[ki]=o.title),r}var ar=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ki]}constructor(n,t,r,o,i,s,a,c,u){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=cr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=cr(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},Ni=class extends jc{url;constructor(n,t){super(t),this.url=n,mh(this,t)}toString(){return gE(this._root)}};function mh(e,n){n.value._routerState=e,n.children.forEach(t=>mh(e,t))}function gE(e){let n=e.children.length>0?` { ${e.children.map(gE).join(", ")} } `:"";return`${e.value}${n}`}function eh(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Ht(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Ht(n.params,t.params)||e.paramsSubject.next(t.params),cx(n.url,t.url)||e.urlSubject.next(t.url),Ht(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function uh(e,n){let t=Ht(e.params,n.params)&&fx(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||uh(e.parent,n.parent))}function mE(e){return typeof e.title=="string"||e.title===null}var vE=new w(""),vh=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=L;activateEvents=new Ae;deactivateEvents=new Ae;attachEvents=new Ae;detachEvents=new Ae;routerOutletData=Mm(void 0);parentContexts=g(lr);location=g(gt);changeDetector=g(Nn);inputBinder=g(Fi,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new lh(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ee({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[jt]})}return e})(),lh=class{route;childContexts;parent;outletData;constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===ln?this.route:n===lr?this.childContexts:n===vE?this.outletData:this.parent.get(n,t)}},Fi=new w(""),yh=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,o=_o([r.queryParams,r.params,r.data]).pipe(ie(([i,s,a],c)=>(a=v(v(v({},i),s),a),c===0?M(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=Ly(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Dh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ti({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Mn(0,"router-outlet")},dependencies:[vh],encapsulation:2})}return e})();function Eh(e){let n=e.children&&e.children.map(Eh),t=n?V(v({},e),{children:n}):v({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==L&&(t.component=Dh),t}function Px(e,n,t){let r=Ri(e,n._root,t?t._root:void 0);return new xi(r,n)}function Ri(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=Fx(e,n,t);return new Qe(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Ri(e,a)),s}}let r=Lx(n.value),o=n.children.map(i=>Ri(e,i));return new Qe(r,o)}}function Fx(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Ri(e,r,o);return Ri(e,r)})}function Lx(e){return new ln(new ye(e.url),new ye(e.params),new ye(e.queryParams),new ye(e.fragment),new ye(e.data),e.outlet,e.component,e)}var yo=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},yE="ngNavigationCancelingError";function Bc(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=kn(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=DE(!1,$e.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function DE(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[yE]=!0,t.cancellationCode=n,t}function jx(e){return EE(e)&&kn(e.url)}function EE(e){return!!e&&e[yE]}var Vx=(e,n,t,r)=>A(o=>(new dh(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)),dh=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),eh(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=lo(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=lo(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=lo(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=lo(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Fc(i.value.snapshot))}),n.children.length&&this.forwardEvent(new kc(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(eh(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),eh(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Uc=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},ho=class{component;route;constructor(n,t){this.component=n,this.route=t}};function Bx(e,n,t){let r=e._root,o=n?n._root:null;return Ci(r,o,t,[r.value])}function Ux(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function Eo(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!_g(e)?e:n.get(e):r}function Ci(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=lo(n);return e.children.forEach(s=>{Hx(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ti(a,t.getContext(s),o)),o}function Hx(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=$x(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Uc(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ci(e,n,a?a.children:null,r,o):Ci(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new ho(a.outlet.component,s))}else s&&Ti(n,a,o),o.canActivateChecks.push(new Uc(r)),i.component?Ci(e,null,a?a.children:null,r,o):Ci(e,null,t,r,o);return o}function $x(e,n,t){if(typeof t=="function")return t(e,n);switch(t){case"pathParamsChange":return!sr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!sr(e.url,n.url)||!Ht(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!uh(e,n)||!Ht(e.queryParams,n.queryParams);case"paramsChange":default:return!uh(e,n)}}function Ti(e,n,t){let r=lo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?Ti(s,n.children.getContext(i),t):Ti(s,null,t):Ti(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new ho(n.outlet.component,o)):t.canDeactivateChecks.push(new ho(null,o)):t.canDeactivateChecks.push(new ho(null,o))}function Li(e){return typeof e=="function"}function zx(e){return typeof e=="boolean"}function qx(e){return e&&Li(e.canLoad)}function Gx(e){return e&&Li(e.canActivate)}function Wx(e){return e&&Li(e.canActivateChild)}function Zx(e){return e&&Li(e.canDeactivate)}function Yx(e){return e&&Li(e.canMatch)}function wE(e){return e instanceof st||e?.name==="EmptyError"}var Ec=Symbol("INITIAL_VALUE");function Do(){return ie(e=>_o(e.map(n=>n.pipe(ze(1),cs(Ec)))).pipe(A(n=>{for(let t of n)if(t!==!0){if(t===Ec)return Ec;if(t===!1||Qx(t))return t}return!0}),re(n=>n!==Ec),ze(1)))}function Qx(e){return kn(e)||e instanceof yo}function Kx(e,n){return Q(t=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return s.length===0&&i.length===0?M(V(v({},t),{guardsResult:!0})):Jx(s,r,o,e).pipe(Q(a=>a&&zx(a)?Xx(r,i,e,n):M(a)),A(a=>V(v({},t),{guardsResult:a})))})}function Jx(e,n,t,r){return G(e).pipe(Q(o=>oN(o.component,o.route,t,n,r)),xt(o=>o!==!0,!0))}function Xx(e,n,t,r){return G(n).pipe(ct(o=>fn(tN(o.route.parent,r),eN(o.route,r),rN(e,o.path,t),nN(e,o.route,t))),xt(o=>o!==!0,!0))}function eN(e,n){return e!==null&&n&&n(new Pc(e)),M(!0)}function tN(e,n){return e!==null&&n&&n(new Oc(e)),M(!0)}function nN(e,n,t){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return M(!0);let o=r.map(i=>Ds(()=>{let s=Pi(n)??t,a=Eo(i,s),c=Gx(a)?a.canActivate(n,e):Le(s,()=>a(n,e));return Fn(c).pipe(xt())}));return M(o).pipe(Do())}function rN(e,n,t){let r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>Ux(s)).filter(s=>s!==null).map(s=>Ds(()=>{let a=s.guards.map(c=>{let u=Pi(s.node)??t,l=Eo(c,u),d=Wx(l)?l.canActivateChild(r,e):Le(u,()=>l(r,e));return Fn(d).pipe(xt())});return M(a).pipe(Do())}));return M(i).pipe(Do())}function oN(e,n,t,r,o){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return M(!0);let s=i.map(a=>{let c=Pi(n)??o,u=Eo(a,c),l=Zx(u)?u.canDeactivate(e,n,t,r):Le(c,()=>u(e,n,t,r));return Fn(l).pipe(xt())});return M(s).pipe(Do())}function iN(e,n,t,r){let o=n.canLoad;if(o===void 0||o.length===0)return M(!0);let i=o.map(s=>{let a=Eo(s,e),c=qx(a)?a.canLoad(n,t):Le(e,()=>a(n,t));return Fn(c)});return M(i).pipe(Do(),IE(r))}function IE(e){return ru(he(n=>{if(typeof n!="boolean")throw Bc(e,n)}),A(n=>n===!0))}function sN(e,n,t,r){let o=n.canMatch;if(!o||o.length===0)return M(!0);let i=o.map(s=>{let a=Eo(s,e),c=Yx(a)?a.canMatch(n,t):Le(e,()=>a(n,t));return Fn(c)});return M(i).pipe(Do(),IE(r))}var Ai=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},Oi=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function uo(e){return hn(new Ai(e))}function aN(e){return hn(new D(4e3,!1))}function cN(e){return hn(DE(!1,$e.GuardRejected))}var fh=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return M(r);if(o.numberOfChildren>1||!o.children[L])return aN(`${n.redirectTo}`);o=o.children[L]}}applyRedirectCommands(n,t,r,o,i){if(typeof t!="string"){let a=t,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:p,title:m}=o,y=Le(i,()=>a({params:f,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:m}));if(y instanceof zt)throw new Oi(y);t=y}let s=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t[0]==="/")throw new Oi(s);return s}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new zt(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new U(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}},hh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function uN(e,n,t,r,o){let i=CE(e,n,t);return i.matched?(r=Ax(n,r),sN(r,n,t,o).pipe(A(s=>s===!0?i:v({},hh)))):M(i)}function CE(e,n,t){if(n.path==="**")return lN(t);if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?v({},hh):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||JD)(t,e,n);if(!o)return v({},hh);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?v(v({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function lN(e){return{matched:!0,parameters:e.length>0?eE(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function YD(e,n,t,r){return t.length>0&&hN(e,t,r)?{segmentGroup:new U(n,fN(r,new U(t,e.children))),slicedSegments:[]}:t.length===0&&pN(e,t,r)?{segmentGroup:new U(e.segments,dN(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new U(e.segments,e.children),slicedSegments:t}}function dN(e,n,t,r){let o={};for(let i of t)if($c(e,n,i)&&!r[bt(i)]){let s=new U([],{});o[bt(i)]=s}return v(v({},r),o)}function fN(e,n){let t={};t[L]=n;for(let r of e)if(r.path===""&&bt(r)!==L){let o=new U([],{});t[bt(r)]=o}return t}function hN(e,n,t){return t.some(r=>$c(e,n,r)&&bt(r)!==L)}function pN(e,n,t){return t.some(r=>$c(e,n,r))}function $c(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function gN(e,n,t){return n.length===0&&!e.children[t]}var ph=class{};function mN(e,n,t,r,o,i,s="emptyOnly"){return new gh(e,n,t,r,o,s,i).recognize()}var vN=31,gh=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new fh(this.urlSerializer,this.urlTree)}noMatchError(n){return new D(4002,`'${n.segmentGroup}'`)}recognize(){let n=YD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(A(({children:t,rootSnapshot:r})=>{let o=new Qe(r,t),i=new Ni("",o),s=uE(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(n){let t=new ar([],Object.freeze({}),Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),L,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,L,t).pipe(A(r=>({children:r,rootSnapshot:t})),et(r=>{if(r instanceof Oi)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ai?this.noMatchError(r):r}))}processSegmentGroup(n,t,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,t,r,i):this.processSegment(n,t,r,r.segments,o,!0,i).pipe(A(s=>s instanceof Qe?[s]:[]))}processChildren(n,t,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return G(i).pipe(ct(s=>{let a=r.children[s],c=Ox(t,s);return this.processSegmentGroup(n,c,a,s,o)}),Is((s,a)=>(s.push(...a),s)),pn(null),mu(),Q(s=>{if(s===null)return uo(r);let a=bE(s);return yN(a),M(a)}))}processSegment(n,t,r,o,i,s,a){return G(t).pipe(ct(c=>this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a).pipe(et(u=>{if(u instanceof Ai)return M(null);throw u}))),xt(c=>!!c),et(c=>{if(wE(c))return gN(r,o,i)?M(new ph):uo(r);throw c}))}processSegmentAgainstRoute(n,t,r,o,i,s,a,c){return bt(r)!==s&&(s===L||!$c(o,i,r))?uo(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c):uo(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=CE(t,o,i);if(!c)return uo(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>vN&&(this.allowRedirects=!1));let f=new ar(i,u,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,QD(o),bt(o),o.component??o._loadedComponent??null,o,KD(o)),p=Vc(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(p.params),f.data=Object.freeze(p.data);let m=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,n);return this.applyRedirects.lineralizeSegments(o,m).pipe(Q(y=>this.processSegment(n,r,t,y.concat(h),s,!1,a)))}matchSegmentAgainstRoute(n,t,r,o,i,s){let a=uN(t,r,o,n,this.urlSerializer);return r.path==="**"&&(t.children={}),a.pipe(ie(c=>c.matched?(n=r._injector??n,this.getChildConfig(n,r,o).pipe(ie(({routes:u})=>{let l=r._loadedInjector??n,{parameters:d,consumedSegments:h,remainingSegments:f}=c,p=new ar(h,d,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,QD(r),bt(r),r.component??r._loadedComponent??null,r,KD(r)),m=Vc(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(m.params),p.data=Object.freeze(m.data);let{segmentGroup:y,slicedSegments:_}=YD(t,h,f,u);if(_.length===0&&y.hasChildren())return this.processChildren(l,u,y,p).pipe(A(ne=>new Qe(p,ne)));if(u.length===0&&_.length===0)return M(new Qe(p,[]));let $=bt(r)===i;return this.processSegment(l,u,y,_,$?L:i,!0,p).pipe(A(ne=>new Qe(p,ne instanceof Qe?[ne]:[])))}))):uo(t)))}getChildConfig(n,t,r){return t.children?M({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?M({routes:t._loadedRoutes,injector:t._loadedInjector}):iN(n,t,r,this.urlSerializer).pipe(Q(o=>o?this.configLoader.loadChildren(n,t).pipe(he(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):cN(t))):M({routes:[],injector:n})}};function yN(e){e.sort((n,t)=>n.value.outlet===L?-1:t.value.outlet===L?1:n.value.outlet.localeCompare(t.value.outlet))}function DN(e){let n=e.value.routeConfig;return n&&n.path===""}function bE(e){let n=[],t=new Set;for(let r of e){if(!DN(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=bE(r.children);n.push(new Qe(r.value,o))}return n.filter(r=>!t.has(r))}function QD(e){return e.data||{}}function KD(e){return e.resolve||{}}function EN(e,n,t,r,o,i){return Q(s=>mN(e,n,t,r,s.extractedUrl,o,i).pipe(A(({state:a,tree:c})=>V(v({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function wN(e,n){return Q(t=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return M(t);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of TE(c))s.add(u);let a=0;return G(s).pipe(ct(c=>i.has(c)?IN(c,r,e,n):(c.data=Vc(c,c.parent,e).resolve,M(void 0))),he(()=>a++),Ir(1),Q(c=>a===s.size?M(t):Ie))})}function TE(e){let n=e.children.map(t=>TE(t)).flat();return[e,...n]}function IN(e,n,t,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!mE(o)&&(i[ki]=o.title),CN(i,e,n,r).pipe(A(s=>(e._resolvedData=s,e.data=Vc(e,e.parent,t).resolve,null)))}function CN(e,n,t,r){let o=rh(e);if(o.length===0)return M({});let i={};return G(o).pipe(Q(s=>bN(e[s],n,t,r).pipe(xt(),he(a=>{if(a instanceof yo)throw Bc(new On,a);i[s]=a}))),Ir(1),A(()=>i),et(s=>wE(s)?Ie:hn(s)))}function bN(e,n,t,r){let o=Pi(n)??r,i=Eo(e,o),s=i.resolve?i.resolve(n,t):Le(o,()=>i(n,t));return Fn(s)}function th(e){return ie(n=>{let t=e(n);return t?G(t).pipe(A(()=>n)):M(n)})}var wh=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===L);return r}getResolvedTitleForRoute(t){return t.data[ki]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(_E),providedIn:"root"})}return e})(),_E=(()=>{class e extends wh{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(I($D))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dr=new w("",{providedIn:"root",factory:()=>({})}),wo=new w(""),zc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(My);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return M(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=Fn(t.loadComponent()).pipe(A(ME),he(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),Un(()=>{this.componentLoaders.delete(t)})),o=new Dr(r,()=>new B).pipe(yr());return this.componentLoaders.set(t,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return M({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=SE(r,this.compiler,t,this.onLoadEndListener).pipe(Un(()=>{this.childrenLoaders.delete(r)})),s=new Dr(i,()=>new B).pipe(yr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function SE(e,n,t,r){return Fn(e.loadChildren()).pipe(A(ME),Q(o=>o instanceof of||Array.isArray(o)?M(o):G(n.compileModuleAsync(o))),A(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(t).injector,s=i.get(wo,[],{optional:!0,self:!0}).flat()),{routes:s.map(Eh),injector:i}}))}function TN(e){return e&&typeof e=="object"&&"default"in e}function ME(e){return TN(e)?e.default:e}var qc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(_N),providedIn:"root"})}return e})(),_N=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ih=new w(""),Ch=new w("");function xE(e,n,t){let r=e.get(Ch),o=e.get(ee);return e.get(H).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),SN(e))),{onViewTransitionCreated:c}=r;return c&&Le(e,()=>c({transition:a,from:n,to:t})),s})}function SN(e){return new Promise(n=>{Ld({read:()=>setTimeout(n)},{injector:e})})}var bh=new w(""),Gc=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new B;transitionAbortSubject=new B;configLoader=g(zc);environmentInjector=g(be);destroyRef=g(Xt);urlSerializer=g(ur);rootContexts=g(lr);location=g(Rn);inputBindingEnabled=g(Fi,{optional:!0})!==null;titleStrategy=g(wh);options=g(dr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(qc);createViewTransition=g(Ih,{optional:!0});navigationErrorHandler=g(bh,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>M(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=o=>this.events.next(new Rc(o)),r=o=>this.events.next(new Ac(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(V(v({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r}))}setupNavigations(t){return this.transitions=new ye(null),this.transitions.pipe(re(r=>r!==null),ie(r=>{let o=!1,i=!1;return M(r).pipe(ie(s=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",$e.SupersededByNewNavigation),Ie;this.currentTransition=r,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?V(v({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=s.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!a&&c!=="reload"){let u="";return this.events.next(new qt(s.id,this.urlSerializer.serialize(s.rawUrl),u,po.IgnoredSameUrlNavigation)),s.resolve(!1),Ie}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return M(s).pipe(ie(u=>(this.events.next(new Pn(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),u.id!==this.navigationId?Ie:Promise.resolve(u))),EN(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),he(u=>{r.targetSnapshot=u.targetSnapshot,r.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation=V(v({},this.currentNavigation),{finalUrl:u.urlAfterRedirects});let l=new Si(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:u,extractedUrl:l,source:d,restoredState:h,extras:f}=s,p=new Pn(u,this.urlSerializer.serialize(l),d,h);this.events.next(p);let m=pE(this.rootComponentType).snapshot;return this.currentTransition=r=V(v({},s),{targetSnapshot:m,urlAfterRedirects:l,extras:V(v({},f),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=l,M(r)}else{let u="";return this.events.next(new qt(s.id,this.urlSerializer.serialize(s.extractedUrl),u,po.IgnoredByUrlHandlingStrategy)),s.resolve(!1),Ie}}),he(s=>{let a=new Sc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),A(s=>(this.currentTransition=r=V(v({},s),{guards:Bx(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),r)),Kx(this.environmentInjector,s=>this.events.next(s)),he(s=>{if(r.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw Bc(this.urlSerializer,s.guardsResult);let a=new Mc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),re(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",$e.GuardRejected),!1)),th(s=>{if(s.guards.canActivateChecks.length!==0)return M(s).pipe(he(a=>{let c=new xc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),ie(a=>{let c=!1;return M(a).pipe(wN(this.paramsInheritanceStrategy,this.environmentInjector),he({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(a,"",$e.NoDataFromResolver)}}))}),he(a=>{let c=new Nc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}))}),th(s=>{let a=c=>{let u=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(he(l=>{c.component=l}),A(()=>{})));for(let l of c.children)u.push(...a(l));return u};return _o(a(s.targetSnapshot.root)).pipe(pn(null),ze(1))}),th(()=>this.afterPreactivation()),ie(()=>{let{currentSnapshot:s,targetSnapshot:a}=r,c=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return c?G(c).pipe(A(()=>r)):M(r)}),A(s=>{let a=Px(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=r=V(v({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,r}),he(()=>{this.events.next(new Mi)}),Vx(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),ze(1),he({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Je(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),us(this.transitionAbortSubject.pipe(he(s=>{throw s}))),Un(()=>{!o&&!i&&this.cancelNavigationTransition(r,"",$e.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),et(s=>{if(this.destroyed)return r.resolve(!1),Ie;if(i=!0,EE(s))this.events.next(new $t(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode)),jx(s)?this.events.next(new vo(s.url,s.navigationBehaviorOptions)):r.resolve(!1);else{let a=new go(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);try{let c=Le(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(c instanceof yo){let{message:u,cancellationCode:l}=Bc(this.urlSerializer,c);this.events.next(new $t(r.id,this.urlSerializer.serialize(r.extractedUrl),u,l)),this.events.next(new vo(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(c){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(c)}}return Ie}))}))}cancelNavigationTransition(t,r,o){let i=new $t(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function MN(e){return e!==bc}var NE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(xN),providedIn:"root"})}return e})(),Hc=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},xN=(()=>{class e extends Hc{static \u0275fac=(()=>{let t;return function(o){return(t||(t=Sd(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),RE=(()=>{class e{urlSerializer=g(ur);options=g(dr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=g(Rn);urlHandlingStrategy=g(qc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new zt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:o}){let i=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=o??i;return s instanceof zt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:o}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=t):this.rawUrlTree=o}routerState=pE(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(NN),providedIn:"root"})}return e})(),NN=(()=>{class e extends RE{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate")})})}handleRouterEvent(t,r){t instanceof Pn?this.updateStateMemento():t instanceof qt?this.commitTransition(r):t instanceof Si?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Mi?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof $t&&(t.code===$e.GuardRejected||t.code===$e.NoDataFromResolver)?this.restoreHistory(r):t instanceof go?this.restoreHistory(r,!0):t instanceof Je&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(t)||i){let a=this.browserPageId,c=v(v({},s),this.generateNgRouterState(o,a));this.location.replaceState(t,"",c)}else{let a=v(v({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(t,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===t.finalUrl&&i===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Sd(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wc(e,n){e.events.pipe(re(t=>t instanceof Je||t instanceof $t||t instanceof go||t instanceof qt),A(t=>t instanceof Je||t instanceof qt?0:(t instanceof $t?t.code===$e.Redirect||t.code===$e.SupersededByNewNavigation:!1)?2:1),re(t=>t!==2),ze(1)).subscribe(()=>{n()})}var RN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},AN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},rt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(cf);stateManager=g(RE);options=g(dr,{optional:!0})||{};pendingTasks=g(en);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Gc);urlSerializer=g(ur);location=g(Rn);urlHandlingStrategy=g(qc);_events=new B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(NE);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(wo,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(Fi,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Y;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof $t&&r.code!==$e.Redirect&&r.code!==$e.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Je)this.navigated=!0;else if(r instanceof vo){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=v({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||MN(o.source)},s);this.scheduleNavigation(a,bc,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}kN(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),bc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,o)=>{this.navigateToSyncWithBrowser(t,o,r)})}navigateToSyncWithBrowser(t,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=v({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Eh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=v(v({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=lE(h)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return dE(d,t,l,u??null)}navigateByUrl(t,r={skipLocationChange:!1}){let o=kn(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,bc,null,r)}navigate(t,r={skipLocationChange:!1}){return ON(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=v({},RN):r===!1?o=v({},AN):o=r,kn(t))return qD(this.currentUrlTree,t,o);let i=this.parseUrl(t);return qD(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return Wc(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ON(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new D(4008,!1)}function kN(e){return!(e instanceof Mi)&&!(e instanceof vo)}var Zc=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new B;constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(u=>{u instanceof Je&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(kn(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:ov(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}get urlTree(){return this.routerLinkInput===null?null:kn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(R(rt),R(ln),Aa("tabindex"),R(bn),R(Ge),R(Et))};static \u0275dir=Ee({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&xn("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&_n("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",cn],skipLocationChange:[2,"skipLocationChange","skipLocationChange",cn],replaceUrl:[2,"replaceUrl","replaceUrl",cn],routerLink:"routerLink"},features:[jt]})}return e})(),PN=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Ae;constructor(t,r,o,i,s){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Je&&this.update()})}ngAfterContentInit(){M(this.links.changes,M(null)).pipe(_t()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=G(t).pipe(_t()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){let r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let r=FN(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?t.isActive(i,r):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(r){return new(r||e)(R(rt),R(Ge),R(bn),R(Nn),R(Zc,8))};static \u0275dir=Ee({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&yy(i,Zc,5),r&2){let s;Dy(s=Ey())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[jt]})}return e})();function FN(e){return!!e.paths}var ji=class{};var AE=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,o,i){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(re(t=>t instanceof Je),ct(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=ei(i.providers,t,`Route: ${i.path}`));let s=i._injector??t,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return G(o).pipe(_t())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(t,r):o=M(null);let i=o.pipe(Q(s=>s===null?M(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return G([i,s]).pipe(_t())}else return i})}static \u0275fac=function(r){return new(r||e)(I(rt),I(be),I(ji),I(zc))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),OE=new w(""),LN=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,r,o,i,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Pn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Je?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof qt&&t.code===po.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof mo&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new mo(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Ov()};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function jN(e){return e.routerState.root}function Vi(e,n){return{\u0275kind:e,\u0275providers:n}}function VN(){let e=g(oe);return n=>{let t=e.get(qe);if(n!==t.components[0])return;let r=e.get(rt),o=e.get(kE);e.get(_h)===1&&r.initialNavigation(),e.get(LE,null,j.Optional)?.setUpPreloading(),e.get(OE,null,j.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var kE=new w("",{factory:()=>new B}),_h=new w("",{providedIn:"root",factory:()=>1});function PE(){let e=[{provide:_h,useValue:0},ff(()=>{let n=g(oe);return n.get(_f,Promise.resolve()).then(()=>new Promise(r=>{let o=n.get(rt),i=n.get(kE);Wc(o,()=>{r(!0)}),n.get(Gc).afterPreactivation=()=>(r(!0),i.closed?M(void 0):i),o.initialNavigation()}))})];return Vi(2,e)}function FE(){let e=[ff(()=>{g(rt).setUpLocationChangeListener()}),{provide:_h,useValue:2}];return Vi(3,e)}var LE=new w("");function jE(e){return Vi(0,[{provide:LE,useExisting:AE},{provide:ji,useExisting:e}])}function VE(){return Vi(8,[yh,{provide:Fi,useExisting:yh}])}function BE(e){Bt("NgRouterViewTransitions");let n=[{provide:Ih,useValue:xE},{provide:Ch,useValue:v({skipNextTransition:!!e?.skipInitialTransition},e)}];return Vi(9,n)}var UE=[Rn,{provide:ur,useClass:On},rt,lr,{provide:ln,useFactory:jN,deps:[rt]},zc,[]],BN=(()=>{class e{constructor(){}static forRoot(t,r){return{ngModule:e,providers:[UE,[],{provide:wo,multi:!0,useValue:t},[],r?.errorHandler?{provide:bh,useValue:r.errorHandler}:[],{provide:dr,useValue:r||{}},r?.useHash?HN():$N(),UN(),r?.preloadingStrategy?jE(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?zN(r):[],r?.bindToComponentInputs?VE().\u0275providers:[],r?.enableViewTransitions?BE().\u0275providers:[],qN()]}}static forChild(t){return{ngModule:e,providers:[{provide:wo,multi:!0,useValue:t}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=mt({type:e});static \u0275inj=ht({})}return e})();function UN(){return{provide:OE,useFactory:()=>{let e=g(wD),n=g(H),t=g(dr),r=g(Gc),o=g(ur);return t.scrollOffset&&e.setOffset(t.scrollOffset),new LN(o,r,e,n,t)}}}function HN(){return{provide:Et,useClass:Ff}}function $N(){return{provide:Et,useClass:Za}}function zN(e){return[e.initialNavigation==="disabled"?FE().\u0275providers:[],e.initialNavigation==="enabledBlocking"?PE().\u0275providers:[]]}var Th=new w("");function qN(){return[{provide:Th,useFactory:VN},{provide:hf,multi:!0,useExisting:Th}]}var Tt=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Tt||{}),WN="*";function xh(e,n){return{type:Tt.Trigger,name:e,definitions:n,options:{}}}function Yc(e,n=null){return{type:Tt.Animate,styles:n,timings:e}}function $$(e,n=null){return{type:Tt.Sequence,steps:e,options:n}}function Bi(e){return{type:Tt.Style,styles:e,offset:null}}function Ui(e,n,t){return{type:Tt.State,name:e,styles:n,options:t}}function ZN(e){return{type:Tt.Keyframes,steps:e}}function Qc(e,n,t=null){return{type:Tt.Transition,expr:e,animation:n,options:t}}function YN(e,n=null){return{type:Tt.Reference,animation:e,options:n}}function QN(e,n=null){return{type:Tt.AnimateRef,animation:e,options:n}}var Sh=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,t=0){this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},Mh=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let t=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let t=n*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(o)})}getPosition(){let n=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r:t,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},KN="!";var HE=["toast-component",""];function JN(e,n){if(e&1){let t=vf();Ze(0,"button",5),xn("click",function(){yd(t);let o=Ye();return Dd(o.remove())}),Ze(1,"span",6),sn(2,"\xD7"),vt()()}}function XN(e,n){if(e&1&&(ri(0),sn(1),oi()),e&2){let t=Ye(2);de(),an("[",t.duplicatesCount+1,"]")}}function eR(e,n){if(e&1&&(Ze(0,"div"),sn(1),no(2,XN,2,1,"ng-container",4),vt()),e&2){let t=Ye();on(t.options.titleClass),_n("aria-label",t.title),de(),an(" ",t.title," "),de(),Me("ngIf",t.duplicatesCount)}}function tR(e,n){if(e&1&&Mn(0,"div",7),e&2){let t=Ye();on(t.options.messageClass),Me("innerHTML",t.message,Bd)}}function nR(e,n){if(e&1&&(Ze(0,"div",8),sn(1),vt()),e&2){let t=Ye();on(t.options.messageClass),_n("aria-label",t.message),de(),an(" ",t.message," ")}}function rR(e,n){if(e&1&&(Ze(0,"div"),Mn(1,"div",9),vt()),e&2){let t=Ye();de(),Sn("width",t.width()+"%")}}function oR(e,n){if(e&1){let t=vf();Ze(0,"button",5),xn("click",function(){yd(t);let o=Ye();return Dd(o.remove())}),Ze(1,"span",6),sn(2,"\xD7"),vt()()}}function iR(e,n){if(e&1&&(ri(0),sn(1),oi()),e&2){let t=Ye(2);de(),an("[",t.duplicatesCount+1,"]")}}function sR(e,n){if(e&1&&(Ze(0,"div"),sn(1),no(2,iR,2,1,"ng-container",4),vt()),e&2){let t=Ye();on(t.options.titleClass),_n("aria-label",t.title),de(),an(" ",t.title," "),de(),Me("ngIf",t.duplicatesCount)}}function aR(e,n){if(e&1&&Mn(0,"div",7),e&2){let t=Ye();on(t.options.messageClass),Me("innerHTML",t.message,Bd)}}function cR(e,n){if(e&1&&(Ze(0,"div",8),sn(1),vt()),e&2){let t=Ye();on(t.options.messageClass),_n("aria-label",t.message),de(),an(" ",t.message," ")}}function uR(e,n){if(e&1&&(Ze(0,"div"),Mn(1,"div",9),vt()),e&2){let t=Ye();de(),Sn("width",t.width()+"%")}}var Nh=class{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){let n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Rh=class{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}},Ah=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new B;_activate=new B;_manualClose=new B;_resetTimeout=new B;_countDuplicate=new B;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}},Io=class{toastId;config;message;title;toastType;toastRef;_onTap=new B;_onAction=new B;constructor(n,t,r,o,i,s){this.toastId=n,this.config=t,this.message=r,this.title=o,this.toastType=i,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}},$E={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},zE=new w("ToastConfig"),Oh=class extends Rh{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,t,r){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=r}attachComponentPortal(n,t){let r=this._componentFactoryResolver.resolveComponentFactory(n.component),o;return o=r.create(n.injector),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.detachView(o.hostView),o.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(o),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(o)),o}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},lR=(()=>{class e{_document=g(ee);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kh=class{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}},dR=(()=>{class e{_overlayContainer=g(lR);_componentFactoryResolver=g(to);_appRef=g(qe);_document=g(ee);_paneElements=new Map;create(t,r){return this._createOverlayRef(this.getPaneElement(t,r))}getPaneElement(t="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[t]||(this._paneElements.get(r)[t]=this._createPaneElement(t,r)),this._paneElements.get(r)[t]}_createPaneElement(t,r){let o=this._document.createElement("div");return o.id="toast-container",o.classList.add(t),o.classList.add("toast-container"),r?r.getContainerElement().appendChild(o):this._overlayContainer.getContainerElement().appendChild(o),o}_createPortalHost(t){return new Oh(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new kh(this._createPortalHost(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Kc=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,r,o,i,s){this.overlay=r,this._injector=o,this.sanitizer=i,this.ngZone=s,this.toastrConfig=v(v({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=v(v({},t.default.iconClasses),t.config.iconClasses))}show(t,r,o={},i=""){return this._preBuildNotification(i,t,r,this.applyConfig(o))}success(t,r,o={}){let i=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}error(t,r,o={}){let i=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}info(t,r,o={}){let i=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}warning(t,r,o={}){let i=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}clear(t){for(let r of this.toasts)if(t!==void 0){if(r.toastId===t){r.toastRef.manualClose();return}}else r.toastRef.manualClose()}remove(t){let r=this._findToast(t);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let o=this.toasts[this.currentlyActive].toastRef;o.isInactive()||(this.currentlyActive=this.currentlyActive+1,o.activate())}return!0}findDuplicate(t="",r="",o,i){let{includeTitleDuplicates:s}=this.toastrConfig;for(let a of this.toasts){let c=s&&a.title===t;if((!s||c)&&a.message===r)return a.toastRef.onDuplicate(o,i),a}return null}applyConfig(t={}){return v(v({},this.toastrConfig),t)}_findToast(t){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===t)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(t,r,o,i){return i.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,r,o,i)):this._buildNotification(t,r,o,i)}_buildNotification(t,r,o,i){if(!i.toastComponent)throw new Error("toastComponent required");let s=this.findDuplicate(o,r,this.toastrConfig.resetTimeoutOnDuplicate&&i.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&o||r)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=r;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let c=this.overlay.create(i.positionClass,this.overlayContainer);this.index=this.index+1;let u=r;r&&i.enableHtml&&(u=this.sanitizer.sanitize(We.HTML,r));let l=new Ah(c),d=new Io(this.index,i,u,o,t,l),h=[{provide:Io,useValue:d}],f=oe.create({providers:h,parent:this._injector}),p=new Nh(i.toastComponent,f),m=c.attach(p,i.newestOnTop);l.componentInstance=m.instance;let y={toastId:this.index,title:o||"",message:r||"",toastRef:l,onShown:l.afterActivate(),onHidden:l.afterClosed(),onTap:d.onTap(),onAction:d.onAction(),portal:m};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{y.toastRef.activate()})),this.toasts.push(y),y}static \u0275fac=function(r){return new(r||e)(I(zE),I(dR),I(oe),I(Kf),I(H))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fR=(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=Qr(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,r,o){this.toastrService=t,this.toastPackage=r,this.ngZone=o,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(i=>{this.duplicatesCount=i}),this.state=Qr({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>V(v({},t),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),r=this.hideTime-t;this.width.set(r/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>V(v({},t),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(t=>V(v({},t),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),r)):this.timeout=setTimeout(()=>t(),r)}outsideInterval(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),r)):this.intervalId=setInterval(()=>t(),r)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(r){return new(r||e)(R(Kc),R(Io),R(H))};static \u0275cmp=ti({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(r,o){r&1&&xn("click",function(){return o.tapToast()})("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()}),r&2&&(yf("@flyInOut",o._state),on(o.toastClasses),Sn("display",o.displayStyle))},attrs:HE,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,o){r&1&&no(0,JN,3,0,"button",0)(1,eR,3,5,"div",1)(2,tR,1,3,"div",2)(3,nR,2,4,"div",3)(4,rR,2,2,"div",4),r&2&&(Me("ngIf",o.options.closeButton),de(),Me("ngIf",o.title),de(),Me("ngIf",o.message&&o.options.enableHtml),de(),Me("ngIf",o.message&&!o.options.enableHtml),de(),Me("ngIf",o.options.progressBar))},dependencies:[ic],encapsulation:2,data:{animation:[xh("flyInOut",[Ui("inactive",Bi({opacity:0})),Ui("active",Bi({opacity:1})),Ui("removed",Bi({opacity:0})),Qc("inactive => active",Yc("{{ easeTime }}ms {{ easing }}")),Qc("active => removed",Yc("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return e})(),hR=V(v({},$E),{toastComponent:fR}),pR=(e={})=>tr([{provide:zE,useValue:{default:hR,config:e}}]),uz=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[pR(t)]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=mt({type:e});static \u0275inj=ht({})}return e})();var gR=(()=>{class e{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=Qr(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=Qr("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,r,o){this.toastrService=t,this.toastPackage=r,this.appRef=o,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(i=>{this.duplicatesCount=i})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),r=this.hideTime-t;this.width.set(r/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(r){return new(r||e)(R(Kc),R(Io),R(qe))};static \u0275cmp=ti({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(r,o){r&1&&xn("click",function(){return o.tapToast()})("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()}),r&2&&(on(o.toastClasses),Sn("display",o.displayStyle))},attrs:HE,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,o){r&1&&no(0,oR,3,0,"button",0)(1,sR,3,5,"div",1)(2,aR,1,3,"div",2)(3,cR,2,4,"div",3)(4,uR,2,2,"div",4),r&2&&(Me("ngIf",o.options.closeButton),de(),Me("ngIf",o.title),de(),Me("ngIf",o.message&&o.options.enableHtml),de(),Me("ngIf",o.message&&!o.options.enableHtml),de(),Me("ngIf",o.options.progressBar))},dependencies:[ic],encapsulation:2,changeDetection:0})}return e})(),lz=V(v({},$E),{toastComponent:gR});var qE=class e{constructor(n,t,r){this.http=n;this.toastr=t;this.router=r}PostToUrlEncode(n,t,r=1e5){let o=new me;return o=o.set("Content-Type","application/x-www-form-urlencoded"),new x(i=>{this.http.post(n,t,{headers:o}).pipe(at(r)).subscribe(s=>{i.next(s),i.complete()})})}GetText(n=1e5){let t=localStorage.getItem("Token"),o={responseType:"text",headers:new me({Authorization:"Bearer "+t})};return new x(i=>{this.http.get("/API/Token/GetZendeskJWT",o).pipe(at(n)).subscribe(s=>{i.next(s),i.complete()})})}POSText(n,t,r=1e5){let o=localStorage.getItem("Token"),s={responseType:"text",headers:new me({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+o})};return new x(a=>{this.http.post(n,t,s).pipe(at(r)).subscribe(c=>{a.next(c),a.complete()})})}get(n,t=[],r=!1){let o=localStorage.getItem("Token"),i=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});o&&(i=i.append("Authorization","Bearer "+o));let s={headers:i,params:this.generateQueryParams(t)};return this.http.get(n,s).pipe(et(a=>{if(!r&&!this.unauthorizedErrorHandling(a)){let u=this.errorMessageHandling(a);this.toastr.error(u.Message!=""?u.Message:"An unknown error has occured!",u.header),this.paymentErrorHandling(a)}return hn(()=>a)}))}getNews(n){return this.http.get(n)}paymentErrorHandling(n){n.status==402&&this.router.navigate(["/menu/Profile/Main/My_Subscription"])}post(n,t,r=1e5,o=!1,i={}){return new x(s=>{let a=localStorage.getItem("Token"),c=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});a&&(c=c.append("Authorization","Bearer "+a)),Date.prototype.toJSON=function(){return this.getFullYear()+"-"+u(this.getMonth()+1)+"-"+u(this.getDate())+"T"+u(this.getHours())+":"+u(this.getMinutes())+":"+u(this.getSeconds())+".000"};function u(l){return l<10?"0"+l:l}this.http.post(n,t,i).pipe(at(r)).subscribe({next:l=>{s.next(l),s.complete()},error:l=>{if(l.status==200)s.next(l.error.text),s.complete();else{if(!o&&!this.unauthorizedErrorHandling(l)){let h=this.errorMessageHandling(l);this.toastr.error(h.Message!=""?h.Message:"An unknown error has occured!",h.header,{enableHtml:!0})}s.error(l)}}})})}postFile(n,t,r=1e5){return new x(o=>{let i=localStorage.getItem("Token"),s=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});i&&(s=s.append("Authorization","Bearer "+i)),this.http.post(n,t,{headers:s,observe:"response",responseType:"blob"}).pipe(at(r)).subscribe({next:a=>{o.next({title:a.headers.get("Content-Disposition"),file:a.body}),o.complete()},error:a=>{if(a.headers.get("Content-Type")==="application/json; charset=utf-8"){let c=new FileReader;c.addEventListener("loadend",u=>{let l=JSON.parse(u.srcElement.result)?.Message;if(!this.unauthorizedErrorHandling(a)){let h=this.errorMessageHandling(a);this.toastr.error(l??"An unknown error has occured!",h.header,{enableHtml:!0})}}),c.readAsText(a.error)}o.error(a)}})})}put(n,t,r={},o=1e5,i=!1){return new x(s=>{let a=localStorage.getItem("Token"),c=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});a&&(c=c.append("Authorization","Bearer "+a));let u=v({headers:c},r.params?{params:this.generateQueryParams(r.params)}:{});this.http.put(n,t??{},u).pipe(at(o)).subscribe({next:l=>{s.next(l),s.complete()},error:l=>{if(l.status==200)s.next(l.error.text),s.complete();else{if(!i&&!this.unauthorizedErrorHandling(l)){let h=this.errorMessageHandling(l);this.toastr.error(h.Message!=""?h.Message:"An unknown error has occured!",h.header)}s.error(l)}}})})}delete(n,t={},r=1e5){return new x(o=>{let i=localStorage.getItem("Token"),s=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});i&&(s=s.append("Authorization","Bearer "+i));let a=v(v({headers:s},t.body?{body:t.body}:{}),t.params?{params:this.generateQueryParams(t.params)}:{});this.http.delete(n,a).pipe(at(r)).subscribe({next:c=>{o.next(c),o.complete()},error:c=>{if(c.status==200)o.next(c.error.text),o.complete();else{if(!this.unauthorizedErrorHandling(c)){let l=this.errorMessageHandling(c);this.toastr.error(l.Message!=""?l.Message:"An unknown error has occured!",l.header)}o.error(c)}}})})}generateQueryParams(n=[]){let t=new Ct;return n.forEach(r=>{t=t.append(r.key,r.value)}),t}unauthorizedErrorHandling(n){let t=!1;return(n.status==401||n.status==403)&&(t=!0),t}errorMessageHandling(n){let t="API Error",r="Exception Message";if(n.error)t="API Error - "+n.status,t=`${t} ${n.status==409?"Conflict":""}`,n.status==451&&(t="Error"),n.error&&(r=n.error.Message);else if((n.Message||n.message)&&(t="API Error - "+n.name,r=n.Message?n.Message:n.message,n instanceof ys||n?.name=="TimeoutError")){let o=this.handleTimoutError(n);t=o.header,r=o.message}return{header:t,Message:r}}handleTimoutError(n){let t="Slow Connection Detected",r=n.Message?n.Message:n.message;return{header:t,message:r}}postFormDataWithoutBearer(n,t){return new x(r=>{this.http.post((n.includes("localhost"),n),t).pipe(at(1e5)).subscribe({next:o=>{r.next(o),r.complete()},error:o=>{o.status==200&&(r.next(o.error.text),r.complete()),r.error(o)}})})}postFormData(n,t,r=!0){return new x(o=>{let i=localStorage.getItem("Token"),a={headers:new me({Authorization:"Bearer "+i})};this.http.post(n,t,a).pipe(at(1e5)).subscribe({next:c=>{o.next(c),o.complete()},error:c=>{if(c.status==200)o.next(c.error.text),o.complete();else{if(!this.unauthorizedErrorHandling(c)&&r){let l=this.errorMessageHandling(c);this.toastr.error(l.Message!=""?l.Message:"An unknown error has occured!",l.header)}o.error(c)}}})})}static \u0275fac=function(t){return new(t||e)(I(yc),I(Kc),I(rt))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})};export{Y as a,ru as b,x as c,B as d,ye as e,Mo as f,vw as g,Oe as h,yw as i,Dw as j,Ie as k,bo as l,To as m,G as n,M as o,hn as p,Ew as q,ys as r,at as s,A as t,_o as u,Q as v,_t as w,fn as x,Ds as y,hw as z,hu as A,Bn as B,Mw as C,xw as D,re as E,Nw as F,Rw as G,Aw as H,et as I,kw as J,ct as K,Pw as L,up as M,ze as N,pu as O,Fw as P,dp as Q,Un as R,xt as S,Vw as T,Bw as U,Uw as V,Is as W,cu as X,ep as Y,Hw as Z,$w as _,cs as $,ie as aa,zw as ba,fp as ca,us as da,hp as ea,he as fa,pp as ga,D as ha,bg as ia,E as ja,ht as ka,w as la,I as ma,g as na,SB as oa,id as pa,Og as qa,tr as ra,be as sa,ud as ta,jt as ua,yd as va,Dd as wa,MB as xa,xB as ya,Sd as za,Aa,oe as Ba,kp as Ca,Xt as Da,NB as Ea,Ae as Fa,H as Ga,ft as Ha,RB as Ia,Mm as Ja,Ge as Ka,OC as La,Qr as Ma,cl as Na,Rd as Oa,Jr as Pa,AB as Qa,Od as Ra,qC as Sa,Ld as Ta,We as Ua,Bd as Va,pb as Wa,gb as Xa,OB as Ya,kB as Za,PB as _a,de as $a,En as ab,Br as bb,bn as cb,R as db,Ov as eb,gt as fb,$B as gb,zB as hb,qB as ib,Xn as jb,ti as kb,mt as lb,Ee as mb,Tn as nb,k_ as ob,ZB as pb,no as qb,ro as rb,ff as sb,qe as tb,_n as ub,Me as vb,Sn as wb,cS as xb,YB as yb,on as zb,QB as Ab,KB as Bb,JB as Cb,XB as Db,eU as Eb,tU as Fb,nU as Gb,rU as Hb,Ze as Ib,vt as Jb,Mn as Kb,ri as Lb,oi as Mb,CS as Nb,vf as Ob,TS as Pb,xn as Qb,Ye as Rb,oU as Sb,iU as Tb,FS as Ub,vy as Vb,LS as Wb,jS as Xb,yy as Yb,sU as Zb,Dy as _b,Ey as $b,aU as ac,cU as bc,uU as cc,lU as dc,sn as ec,BS as fc,an as gc,US as hc,HS as ic,$S as jc,dU as kc,zS as lc,qS as mc,fU as nc,hU as oc,pU as pc,gU as qc,mU as rc,vU as sc,yU as tc,DU as uc,EU as vc,wU as wc,IU as xc,CU as yc,bU as zc,TU as Ac,_U as Bc,SU as Cc,MU as Dc,xU as Ec,NU as Fc,Zo as Gc,RU as Hc,oo as Ic,AU as Jc,Nn as Kc,If as Lc,cn as Mc,Cf as Nc,bf as Oc,OU as Pc,mM as Qc,kU as Rc,ee as Sc,Ut as Tc,Rn as Uc,sD as Vc,zM as Wc,qM as Xc,hD as Yc,ic as Zc,pD as _c,GM as $c,WM as ad,ZM as bd,KM as cd,JM as dd,e0 as ed,t0 as fd,n0 as gd,r0 as hd,o0 as id,jf as jd,i0 as kd,ac as ld,j2 as md,Gf as nd,O0 as od,F0 as pd,me as qd,Di as rd,Ei as sd,yc as td,ox as ud,ix as vd,$D as wd,Kf as xd,Tt as yd,WN as zd,xh as Ad,Yc as Bd,$$ as Cd,Bi as Dd,Ui as Ed,ZN as Fd,Qc as Gd,YN as Hd,QN as Id,Sh as Jd,Mh as Kd,KN as Ld,Pn as Md,Je as Nd,ln as Od,vh as Pd,rt as Qd,Zc as Rd,PN as Sd,BN as Td,Io as Ud,Kc as Vd,fR as Wd,uz as Xd,qE as Yd};
|
|
7
|
+
`)}`}var MB=od(nd("Inject",e=>({token:e})),-1),id=od(nd("Optional"),8);var Og=od(nd("SkipSelf"),4);function qn(e,n){let t=e.hasOwnProperty($s);return t?e[$s]:null}function yI(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function DI(e){return e.flat(Number.POSITIVE_INFINITY)}function sd(e,n){e.forEach(t=>Array.isArray(t)?sd(t,n):n(t))}function kg(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Gs(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function EI(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function wI(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function zr(e,n,t){let r=Qo(e,n);return r>=0?e[r|1]=t:(r=~r,wI(e,r,n,t)),r}function Ru(e,n){let t=Qo(e,n);if(t>=0)return e[t|1]}function Qo(e,n){return II(e,n,1)}function II(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var At={},Re=[],Ar=new w(""),Pg=new w("",-1),Fg=new w(""),Ws=class{get(n,t=$n){if(t===$n){let r=new Error(`NullInjectorError: No provider for ${Pe(n)}!`);throw r.name="NullInjectorError",r}return t}};function Lg(e,n){let t=e[cI]||null;if(!t&&n===!0)throw new Error(`Type ${Pe(e)} does not have '\u0275mod' property.`);return t}function yn(e){return e[iI]||null}function jg(e){return e[sI]||null}function CI(e){return e[aI]||null}function tr(e){return{\u0275providers:e}}function bI(...e){return{\u0275providers:Vg(!0,e),\u0275fromNgModule:!0}}function Vg(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return sd(n,s=>{let a=s;Qu(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Bg(o,i),t}function Bg(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];ad(o,i=>{n(i,r)})}}function Qu(e,n,t,r){if(e=De(e),!e)return!1;let o=null,i=Ip(e),s=!i&&yn(e);if(!i&&!s){let c=e.ngModule;if(i=Ip(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Qu(u,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{sd(i.imports,l=>{Qu(l,n,t,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Bg(u,n)}if(!a){let u=qn(o)||(()=>new o);n({provide:o,useFactory:u,deps:Re},o),n({provide:Fg,useValue:o,multi:!0},o),n({provide:Ar,useValue:()=>I(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ad(c,l=>{n(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ad(e,n){for(let t of e)xg(t)&&(t=t.\u0275providers),Array.isArray(t)?ad(t,n):n(t)}var TI=W({provide:String,useValue:W});function Ug(e){return e!==null&&typeof e=="object"&&TI in e}function _I(e){return!!(e&&e.useExisting)}function SI(e){return!!(e&&e.useFactory)}function Or(e){return typeof e=="function"}function MI(e){return!!e.useClass}var Ca=new w(""),js={},_p={},Au;function ba(){return Au===void 0&&(Au=new Ws),Au}var be=class{},Bo=class extends be{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Ju(n,s=>this.processProvider(s)),this.records.set(Pg,_r(void 0,this)),o.has("environment")&&this.records.set(be,_r(void 0,this));let i=this.records.get(Ca);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Fg,Re,j.Self))}retrieve(n,t){let r=t;return this.get(n,r.optional?Rs:$n,r)}destroy(){Fo(this),this._destroyed=!0;let n=P(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),P(n)}}onDestroy(n){return Fo(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Fo(this);let t=Zt(this),r=ke(void 0),o;try{return n()}finally{Zt(t),ke(r)}}get(n,t=$n,r=j.Default){if(Fo(this),n.hasOwnProperty(bp))return n[bp](this);r=Ia(r);let o,i=Zt(this),s=ke(void 0);try{if(!(r&j.SkipSelf)){let c=this.records.get(n);if(c===void 0){let u=OI(n)&&wa(n);u&&this.injectableDefInScope(u)?c=_r(Ku(n),js):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let a=r&j.Self?ba():this.parent;return t=r&j.Optional&&t===$n?null:t,a.get(n,t)}catch(a){if(a.name==="NullInjectorError"){if((a[qs]=a[qs]||[]).unshift(Pe(n)),i)throw a;return mI(a,n,"R3InjectorError",this.source)}else throw a}finally{ke(s),Zt(i)}}resolveInjectorInitializers(){let n=P(null),t=Zt(this),r=ke(void 0),o;try{let i=this.get(Ar,Re,j.Self);for(let s of i)s()}finally{Zt(t),ke(r),P(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(Pe(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=De(n);let t=Or(n)?n:De(n&&n.provide),r=NI(n);if(!Or(n)&&n.multi===!0){let o=this.records.get(t);o||(o=_r(void 0,js,!0),o.factory=()=>Yu(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=P(null);try{return t.value===_p?Ng(Pe(n)):t.value===js&&(t.value=_p,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&AI(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{P(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=De(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Ku(e){let n=wa(e),t=n!==null?n.factory:qn(e);if(t!==null)return t;if(e instanceof w)throw new D(204,!1);if(e instanceof Function)return xI(e);throw new D(204,!1)}function xI(e){if(e.length>0)throw new D(204,!1);let t=rI(e);return t!==null?()=>t.factory(e):()=>new e}function NI(e){if(Ug(e))return _r(void 0,e.useValue);{let n=Hg(e);return _r(n,js)}}function Hg(e,n,t){let r;if(Or(e)){let o=De(e);return qn(o)||Ku(o)}else if(Ug(e))r=()=>De(e.useValue);else if(SI(e))r=()=>e.useFactory(...Yu(e.deps||[]));else if(_I(e))r=(o,i)=>I(De(e.useExisting),i!==void 0&&i&j.Optional?j.Optional:void 0);else{let o=De(e&&(e.useClass||e.provide));if(RI(e))r=()=>new o(...Yu(e.deps));else return qn(o)||Ku(o)}return r}function Fo(e){if(e.destroyed)throw new D(205,!1)}function _r(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function RI(e){return!!e.deps}function AI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function OI(e){return typeof e=="function"||typeof e=="object"&&e instanceof w}function Ju(e,n){for(let t of e)Array.isArray(t)?Ju(t,n):t&&xg(t)?Ju(t.\u0275providers,n):n(t)}function Le(e,n){let t;e instanceof Bo?(Fo(e),t=e):t=new zs(e);let r,o=Zt(t),i=ke(void 0);try{return n()}finally{Zt(o),ke(i)}}function cd(){return Rg()!==void 0||ko()!=null}function ud(e){if(!cd())throw new D(-203,!1)}function kI(e){let n=pe.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function PI(e){return typeof e=="function"}var Lt=0,O=1,N=2,Te=3,lt=4,je=5,kr=6,Zs=7,se=8,Pr=9,Yt=10,Z=11,Uo=12,Sp=13,qr=14,Fe=15,Gn=16,Sr=17,Qt=18,Ta=19,$g=20,mn=21,Ou=22,Wn=23,tt=24,Nr=25,X=26,ld=1;var Zn=7,Ys=8,Fr=9,Ce=10;function vn(e){return Array.isArray(e)&&typeof e[ld]=="object"}function Jt(e){return Array.isArray(e)&&e[ld]===!0}function dd(e){return(e.flags&4)!==0}function Gr(e){return e.componentOffset>-1}function _a(e){return(e.flags&1)===1}function dt(e){return!!e.template}function Qs(e){return(e[N]&512)!==0}function Wr(e){return(e[N]&256)===256}var Xu=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function zg(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var jt=(()=>{let e=()=>qg;return e.ngInherit=!0,e})();function qg(e){return e.type.prototype.ngOnChanges&&(e.setInput=LI),FI}function FI(){let e=Wg(this),n=e?.current;if(n){let t=e.previous;if(t===At)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function LI(e,n,t,r,o){let i=this.declaredInputs[r],s=Wg(e)||jI(e,{previous:At,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Xu(u&&u.currentValue,t,c===At),zg(e,n,o,t)}var Gg="__ngSimpleChanges__";function Wg(e){return e[Gg]||null}function jI(e,n){return e[Gg]=n}var Mp=null;var K=function(e,n=null,t){Mp?.(e,n,t)},Zg="svg",VI="math";function Ot(e){for(;Array.isArray(e);)e=e[Lt];return e}function BI(e){for(;Array.isArray(e);){if(typeof e[ld]=="object")return e;e=e[Lt]}return null}function Yg(e,n){return Ot(n[e])}function Vt(e,n){return Ot(n[e.index])}function fd(e,n){return e.data[n]}function nr(e,n){return e[n]}function hd(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function kt(e,n){let t=n[e];return vn(t)?t:t[Lt]}function UI(e){return(e[N]&4)===4}function pd(e){return(e[N]&128)===128}function HI(e){return Jt(e[Te])}function Dn(e,n){return n==null?null:e[n]}function Qg(e){e[Sr]=0}function Kg(e){e[N]&1024||(e[N]|=1024,pd(e)&&Zr(e))}function $I(e,n){for(;e>0;)n=n[qr],e--;return n}function Sa(e){return!!(e[N]&9216||e[tt]?.dirty)}function el(e){e[Yt].changeDetectionScheduler?.notify(8),e[N]&64&&(e[N]|=1024),Sa(e)&&Zr(e)}function Zr(e){e[Yt].changeDetectionScheduler?.notify(0);let n=Yn(e);for(;n!==null&&!(n[N]&8192||(n[N]|=8192,!pd(n)));)n=Yn(n)}function Jg(e,n){if(Wr(e))throw new D(911,!1);e[mn]===null&&(e[mn]=[]),e[mn].push(n)}function zI(e,n){if(e[mn]===null)return;let t=e[mn].indexOf(n);t!==-1&&e[mn].splice(t,1)}function Yn(e){let n=e[Te];return Jt(n)?n[Te]:n}function gd(e){return e[Zs]??=[]}function md(e){return e.cleanup??=[]}function qI(e,n,t,r){let o=gd(n);o.push(t),e.firstCreatePass&&md(e).push(r,o.length-1)}var F={lFrame:am(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var tl=!1;function GI(){return F.lFrame.elementDepthCount}function WI(){F.lFrame.elementDepthCount++}function ZI(){F.lFrame.elementDepthCount--}function vd(){return F.bindingsEnabled}function Xg(){return F.skipHydrationRootTNode!==null}function YI(e){return F.skipHydrationRootTNode===e}function QI(){F.skipHydrationRootTNode=null}function b(){return F.lFrame.lView}function z(){return F.lFrame.tView}function yd(e){return F.lFrame.contextLView=e,e[se]}function Dd(e){return F.lFrame.contextLView=null,e}function Se(){let e=em();for(;e!==null&&e.type===64;)e=e.parent;return e}function em(){return F.lFrame.currentTNode}function KI(){let e=F.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function In(e,n){let t=F.lFrame;t.currentTNode=e,t.isParent=n}function Ed(){return F.lFrame.isParent}function wd(){F.lFrame.isParent=!1}function tm(){return F.lFrame.contextLView}function nm(){return tl}function Ks(e){let n=tl;return tl=e,n}function Ve(){let e=F.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function rm(){return F.lFrame.bindingIndex}function JI(e){return F.lFrame.bindingIndex=e}function Cn(){return F.lFrame.bindingIndex++}function Ma(e){let n=F.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function XI(){return F.lFrame.inI18n}function eC(e,n){let t=F.lFrame;t.bindingIndex=t.bindingRootIndex=e,nl(n)}function tC(){return F.lFrame.currentDirectiveIndex}function nl(e){F.lFrame.currentDirectiveIndex=e}function om(e){let n=F.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Id(){return F.lFrame.currentQueryIndex}function xa(e){F.lFrame.currentQueryIndex=e}function nC(e){let n=e[O];return n.type===2?n.declTNode:n.type===1?e[je]:null}function im(e,n,t){if(t&j.SkipSelf){let o=n,i=e;for(;o=o.parent,o===null&&!(t&j.Host);)if(o=nC(i),o===null||(i=i[qr],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=F.lFrame=sm();return r.currentTNode=n,r.lView=e,!0}function Cd(e){let n=sm(),t=e[O];F.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function sm(){let e=F.lFrame,n=e===null?null:e.child;return n===null?am(e):n}function am(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function cm(){let e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var um=cm;function bd(){let e=cm();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function rC(e){return(F.lFrame.contextLView=$I(e,F.lFrame.contextLView))[se]}function pt(){return F.lFrame.selectedIndex}function Qn(e){F.lFrame.selectedIndex=e}function bn(){let e=F.lFrame;return fd(e.tView,e.selectedIndex)}function xB(){F.lFrame.currentNamespace=Zg}function NB(){oC()}function oC(){F.lFrame.currentNamespace=null}function iC(){return F.lFrame.currentNamespace}var lm=!0;function Na(){return lm}function Ra(e){lm=e}function sC(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=qg(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function Td(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),u&&((e.viewHooks??=[]).push(t,u),(e.viewCheckHooks??=[]).push(t,u)),l!=null&&(e.destroyHooks??=[]).push(t,l)}}function Vs(e,n,t){dm(e,n,3,t)}function Bs(e,n,t,r){(e[N]&3)===t&&dm(e,n,t,r)}function ku(e,n){let t=e[N];(t&3)===n&&(t&=16383,t+=1,e[N]=t)}function dm(e,n,t,r){let o=r!==void 0?e[Sr]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[Sr]+=65536),(a<i||i==-1)&&(aC(e,t,n,c),e[Sr]=(e[Sr]&4294901760)+c+2),c++}function xp(e,n){K(4,e,n);let t=P(null);try{n.call(e)}finally{P(t),K(5,e,n)}}function aC(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[N]>>14<e[Sr]>>16&&(e[N]&3)===n&&(e[N]+=16384,xp(a,i)):xp(a,i)}var Rr=-1,Kn=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r){this.factory=n,this.canSeeViewProviders=t,this.injectImpl=r}};function cC(e){return(e.flags&8)!==0}function uC(e){return(e.flags&16)!==0}function lC(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];dC(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function fm(e){return e===3||e===4||e===6}function dC(e){return e.charCodeAt(0)===64}function Lr(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?Np(e,t,o,null,n[++r]):Np(e,t,o,null,null))}}return e}function Np(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function hm(e){return e!==Rr}function Js(e){return e&32767}function fC(e){return e>>16}function Xs(e,n){let t=fC(e),r=n;for(;t>0;)r=r[qr],t--;return r}var rl=!0;function ea(e){let n=rl;return rl=e,n}var hC=256,pm=hC-1,gm=5,pC=0,Nt={};function gC(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(jo)&&(r=t[jo]),r==null&&(r=t[jo]=pC++);let o=r&pm,i=1<<o;n.data[e+(o>>gm)]|=i}function ta(e,n){let t=mm(e,n);if(t!==-1)return t;let r=n[O];r.firstCreatePass&&(e.injectorIndex=n.length,Pu(r.data,e),Pu(n,null),Pu(r.blueprint,null));let o=_d(e,n),i=e.injectorIndex;if(hm(o)){let s=Js(o),a=Xs(o,n),c=a[O].data;for(let u=0;u<8;u++)n[i+u]=a[s+u]|c[s+u]}return n[i+8]=o,i}function Pu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mm(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function _d(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=wm(o),r===null)return Rr;if(t++,o=o[qr],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Rr}function ol(e,n,t){gC(e,n,t)}function mC(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(fm(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function vm(e,n,t){if(t&j.Optional||e!==void 0)return e;rd(n,"NodeInjector")}function ym(e,n,t,r){if(t&j.Optional&&r===void 0&&(r=null),(t&(j.Self|j.Host))===0){let o=e[Pr],i=ke(void 0);try{return o?o.get(n,r,t&j.Optional):Ag(n,r,t&j.Optional)}finally{ke(i)}}return vm(r,n,t)}function Dm(e,n,t,r=j.Default,o){if(e!==null){if(n[N]&2048&&!(r&j.Self)){let s=EC(e,n,t,r,Nt);if(s!==Nt)return s}let i=Em(e,n,t,r,Nt);if(i!==Nt)return i}return ym(n,t,r,o)}function Em(e,n,t,r,o){let i=yC(t);if(typeof i=="function"){if(!im(n,e,r))return r&j.Host?vm(o,t,r):ym(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&j.Optional))rd(t);else return s}finally{um()}}else if(typeof i=="number"){let s=null,a=mm(e,n),c=Rr,u=r&j.Host?n[Fe][je]:null;for((a===-1||r&j.SkipSelf)&&(c=a===-1?_d(e,n):n[a+8],c===Rr||!Ap(r,!1)?a=-1:(s=n[O],a=Js(c),n=Xs(c,n)));a!==-1;){let l=n[O];if(Rp(i,a,l.data)){let d=vC(a,n,t,s,r,u);if(d!==Nt)return d}c=n[a+8],c!==Rr&&Ap(r,n[O].data[a+8]===u)&&Rp(i,a,n)?(s=l,a=Js(c),n=Xs(c,n)):a=-1}}return o}function vC(e,n,t,r,o,i){let s=n[O],a=s.data[e+8],c=r==null?Gr(a)&&rl:r!=s&&(a.type&3)!==0,u=o&j.Host&&i===a,l=Us(a,s,t,c,u);return l!==null?Ho(n,s,l,a,o):Nt}function Us(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let p=s[f];if(f<c&&t===p||f>=c&&p.type===t)return f}if(o){let f=s[c];if(f&&dt(f)&&f.type===t)return c}return null}function Ho(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Kn){let a=i;a.resolving&&Ng(uI(s[t]));let c=ea(a.canSeeViewProviders);a.resolving=!0;let u,l=a.injectImpl?ke(a.injectImpl):null,d=im(e,r,j.Default);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&sC(t,s[t],n)}finally{l!==null&&ke(l),ea(c),a.resolving=!1,um()}}return i}function yC(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(jo)?e[jo]:void 0;return typeof n=="number"?n>=0?n&pm:DC:n}function Rp(e,n,t){let r=1<<e;return!!(t[n+(e>>gm)]&r)}function Ap(e,n){return!(e&j.Self)&&!(e&j.Host&&n)}var zn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Dm(this._tNode,this._lView,n,Ia(r),t)}};function DC(){return new zn(Se(),b())}function Sd(e){return Yo(()=>{let n=e.prototype.constructor,t=n[$s]||il(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[$s]||il(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function il(e){return Tg(e)?()=>{let n=il(De(e));return n&&n()}:qn(e)}function EC(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[N]&2048&&!Qs(s);){let a=Em(i,s,t,r|j.Self,Nt);if(a!==Nt)return a;let c=i.parent;if(!c){let u=s[$g];if(u){let l=u.get(t,Nt,r);if(l!==Nt)return l}c=wm(s),s=s[qr]}i=c}return o}function wm(e){let n=e[O],t=n.type;return t===2?n.declTNode:t===1?e[je]:null}function Aa(e){return mC(Se(),e)}function Op(e,n=null,t=null,r){let o=Im(e,n,t,r);return o.resolveInjectorInitializers(),o}function Im(e,n=null,t=null,r,o=new Set){let i=[t||Re,bI(e)];return r=r||(typeof e=="object"?void 0:Pe(e)),new Bo(i,n||ba(),r||null,o)}var oe=class e{static THROW_IF_NOT_FOUND=$n;static NULL=new Ws;static create(n,t){if(Array.isArray(n))return Op({name:""},t,n,"");{let r=n.name??"";return Op({name:r},n.parent,n.providers,r)}}static \u0275prov=E({token:e,providedIn:"any",factory:()=>I(Pg)});static __NG_ELEMENT_ID__=-1};var kp=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Aa(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},wC=new w("");wC.__NG_ELEMENT_ID__=e=>{let n=Se();if(n===null)throw new D(204,!1);if(n.type&2)return n.value;if(e&j.Optional)return null;throw new D(204,!1)};var Cm=!1,Xt=(()=>{class e{static __NG_ELEMENT_ID__=IC;static __NG_ENV_ID__=t=>t}return e})(),na=class extends Xt{_lView;constructor(n){super(),this._lView=n}onDestroy(n){let t=this._lView;return Wr(t)?(n(),()=>{}):(Jg(t,n),()=>zI(t,n))}};function IC(){return new na(b())}var En=class{},Md=new w("",{providedIn:"root",factory:()=>!1});var bm=new w(""),Tm=new w(""),en=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new ye(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),RB=(()=>{class e{internalPendingTasks=g(en);scheduler=g(En);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){return $i(this,null,function*(){let r=this.add();try{return yield t()}finally{r()}})}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),sl=class extends B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,cd()&&(this.destroyRef=g(Xt,{optional:!0})??void 0,this.pendingTasks=g(en,{optional:!0})??void 0)}emit(n){let t=P(null);try{super.next(n)}finally{P(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof Y&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ae=sl;function $o(...e){}function _m(e){let n,t;function r(){e=$o;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Pp(e){return queueMicrotask(()=>e()),()=>{e=$o}}var xd="isAngularZone",ra=xd+"_ID",CC=0,H=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ae(!1);onMicrotaskEmpty=new Ae(!1);onStable=new Ae(!1);onError=new Ae(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Cm}=n;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,_C(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(xd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,bC,$o,$o);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},bC={};function Nd(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function TC(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){_m(()=>{e.callbackScheduled=!1,al(e),e.isCheckStableRunning=!0,Nd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),al(e)}function _C(e){let n=()=>{TC(e)},t=CC++;e._inner=e._inner.fork({name:"angular",properties:{[xd]:!0,[ra]:t,[ra+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(SC(c))return r.invokeTask(i,s,a,c);try{return Fp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Lp(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Fp(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!MC(c)&&n(),Lp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,al(e),Nd(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function al(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Fp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Lp(e){e._nesting--,Nd(e)}var oa=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ae;onMicrotaskEmpty=new Ae;onStable=new Ae;onError=new Ae;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function SC(e){return Sm(e,"__ignore_ng_zone__")}function MC(e){return Sm(e,"__scheduler_tick__")}function Sm(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}function xC(e="zone.js",n){return e==="noop"?new oa:e==="zone.js"?new H(n):e}var ft=class{_console=console;handleError(n){this._console.error("ERROR",n)}},NC=new w("",{providedIn:"root",factory:()=>{let e=g(H),n=g(ft);return t=>e.runOutsideAngular(()=>n.handleError(t))}}),ia=class{destroyed=!1;listeners=null;errorHandler=g(ft,{optional:!0});destroyRef=g(Xt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new D(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(Da(953,!1));return}if(this.listeners===null)return;let t=P(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{P(t)}}};function AB(e){return new ia}function jp(e,n){return Cg(e,n)}function RC(e){return Cg(Ea,e)}var Mm=(jp.required=RC,jp);function AC(){return Yr(Se(),b())}function Yr(e,n){return new Ge(Vt(e,n))}var Ge=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=AC}return e})();function xm(e){return e instanceof Ge?e.nativeElement:e}function OC(e){return typeof e=="function"&&e[Ne]!==void 0}function Qr(e,n){let t=Su(e,n?.equal),r=t[Ne];return t.set=o=>Tr(r,o),t.update=o=>Mu(r,o),t.asReadonly=Nm.bind(t),t}function Nm(){let e=this[Ne];if(e.readonlyFn===void 0){let n=()=>this();n[Ne]=e,e.readonlyFn=n}return e.readonlyFn}function Rm(e){return OC(e)&&typeof e.set=="function"}function kC(){return this._results[Symbol.iterator]()}var cl=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new B}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=DI(n);(this._changesDetected=!yI(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=kC};function Am(e){return(e.flags&128)===128}var Om=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Om||{}),km=new Map,PC=0;function FC(){return PC++}function LC(e){km.set(e[Ta],e)}function ul(e){km.delete(e[Ta])}var Vp="__ngContext__";function Kr(e,n){vn(n)?(e[Vp]=n[Ta],LC(n)):e[Vp]=n}function Pm(e){return Lm(e[Uo])}function Fm(e){return Lm(e[lt])}function Lm(e){for(;e!==null&&!Jt(e);)e=e[lt];return e}var ll;function jm(e){ll=e}function Vm(){if(ll!==void 0)return ll;if(typeof document<"u")return document;throw new D(210,!1)}var Rd=new w("",{providedIn:"root",factory:()=>jC}),jC="ng",Ad=new w(""),Jr=new w("",{providedIn:"platform",factory:()=>"unknown"});var OB=new w(""),Od=new w("",{providedIn:"root",factory:()=>Vm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),kd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Bm=new w("",{providedIn:"root",factory:()=>kd});var VC="h",BC="b";var Um=!1,UC=new w("",{providedIn:"root",factory:()=>Um});var Pd=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Pd||{}),Xr=new w(""),Bp=new Set;function Bt(e){Bp.has(e)||(Bp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Fd=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=HC}return e})();function HC(){return new Fd(b(),Se())}var Mr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Mr||{}),Hm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),$C=[Mr.EarlyRead,Mr.Write,Mr.MixedReadWrite,Mr.Read],zC=(()=>{class e{ngZone=g(H);scheduler=g(En);errorHandler=g(ft,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Xr,{optional:!0})}execute(){let t=this.sequences.size>0;t&&K(16),this.executing=!0;for(let r of $C)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&K(17)}register(t){let{view:r}=t;r!==void 0?((r[Nr]??=[]).push(t),Zr(r),r[N]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Pd.AFTER_NEXT_RENDER,t):t()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),dl=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Nr];n&&(this.view[Nr]=n.filter(t=>t!==this))}};function qC(e,n){!n?.injector&&ud(qC);let t=n?.injector??g(oe);return Bt("NgAfterRender"),$m(e,t,n,!1)}function Ld(e,n){!n?.injector&&ud(Ld);let t=n?.injector??g(oe);return Bt("NgAfterNextRender"),$m(e,t,n,!0)}function GC(e,n){if(e instanceof Function){let t=[void 0,void 0,void 0,void 0];return t[n]=e,t}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function $m(e,n,t,r){let o=n.get(Hm);o.impl??=n.get(zC);let i=n.get(Xr,null,{optional:!0}),s=t?.phase??Mr.MixedReadWrite,a=t?.manualCleanup!==!0?n.get(Xt):null,c=n.get(Fd,null,{optional:!0}),u=new dl(o.impl,GC(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(u),u}var WC=(e,n,t,r)=>{};function ZC(e,n,t,r){WC(e,n,t,r)}var YC=()=>null;function zm(e,n,t=!1){return YC(e,n,t)}function qm(e,n){let t=e.contentQueries;if(t!==null){let r=P(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];xa(i),a.contentQueries(2,n[s],s)}}}finally{P(r)}}}function fl(e,n,t){xa(0);let r=P(null);try{n(e,t)}finally{P(r)}}function jd(e,n,t){if(dd(n)){let r=P(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{P(r)}}}var Pt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Pt||{}),Os;function Gm(){if(Os===void 0&&(Os=null,pe.trustedTypes))try{Os=pe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Os}function Oa(e){return Gm()?.createHTML(e)||e}function QC(e){return Gm()?.createScriptURL(e)||e}var ks;function Wm(){if(ks===void 0&&(ks=null,pe.trustedTypes))try{ks=pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ks}function Up(e){return Wm()?.createHTML(e)||e}function Hp(e){return Wm()?.createScriptURL(e)||e}var Kt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${wg})`}},hl=class extends Kt{getTypeName(){return"HTML"}},pl=class extends Kt{getTypeName(){return"Style"}},gl=class extends Kt{getTypeName(){return"Script"}},ml=class extends Kt{getTypeName(){return"URL"}},vl=class extends Kt{getTypeName(){return"ResourceURL"}};function Be(e){return e instanceof Kt?e.changingThisBreaksApplicationSecurity:e}function tn(e,n){let t=KC(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${wg})`)}return t===n}function KC(e){return e instanceof Kt&&e.getTypeName()||null}function Zm(e){return new hl(e)}function Ym(e){return new pl(e)}function Qm(e){return new gl(e)}function Km(e){return new ml(e)}function Jm(e){return new vl(e)}function JC(e){let n=new Dl(e);return XC()?new yl(n):n}var yl=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Oa(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},Dl=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=Oa(n),t}};function XC(){try{return!!new window.DOMParser().parseFromString(Oa(""),"text/html")}catch{return!1}}var eb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ka(e){return e=String(e),e.match(eb)?e:"unsafe:"+e}function nn(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function Ko(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var Xm=nn("area,br,col,hr,img,wbr"),ev=nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tv=nn("rp,rt"),tb=Ko(tv,ev),nb=Ko(ev,nn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),rb=Ko(tv,nn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),$p=Ko(Xm,nb,rb,tb),nv=nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ob=nn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ib=nn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),sb=Ko(nv,ob,ib),ab=nn("script,style,template"),El=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=lb(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=ub(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=zp(n).toLowerCase();if(!$p.hasOwnProperty(t))return this.sanitizedSomething=!0,!ab.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!sb.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;nv[a]&&(c=ka(c)),this.buf.push(" ",s,'="',qp(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=zp(n).toLowerCase();$p.hasOwnProperty(t)&&!Xm.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(qp(n))}};function cb(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ub(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw rv(n);return n}function lb(e){let n=e.firstChild;if(n&&cb(e,n))throw rv(n);return n}function zp(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function rv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var db=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fb=/([^\#-~ |!])/g;function qp(e){return e.replace(/&/g,"&").replace(db,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(fb,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ps;function Vd(e,n){let t=null;try{Ps=Ps||JC(e);let r=n?String(n):"";t=Ps.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=Ps.getInertBodyElement(r)}while(r!==i);let a=new El().sanitizeChildren(Gp(t)||t);return Oa(a)}finally{if(t){let r=Gp(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function Gp(e){return"content"in e&&hb(e)?e.content:null}function hb(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var We=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(We||{});function Bd(e){let n=Ud();return n?Up(n.sanitize(We.HTML,e)||""):tn(e,"HTML")?Up(Be(e)):Vd(Vm(),Rt(e))}function pb(e){let n=Ud();return n?n.sanitize(We.URL,e)||"":tn(e,"URL")?Be(e):ka(Rt(e))}function gb(e){let n=Ud();if(n)return Hp(n.sanitize(We.RESOURCE_URL,e)||"");if(tn(e,"ResourceURL"))return Hp(Be(e));throw new D(904,!1)}function kB(e){return QC(e[0])}function mb(e,n){return n==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||n==="href"&&(e==="base"||e==="link")?gb:pb}function ov(e,n,t){return mb(n,t)(e)}function Ud(){let e=b();return e&&e[Yt].sanitizer}var vb=/^>|^->|<!--|-->|--!>|<!-$/g,yb=/(<|>)/g,Db="\u200B$1\u200B";function Eb(e){return e.replace(vb,n=>n.replace(yb,Db))}function PB(e){return e.ownerDocument.defaultView}function FB(e){return e.ownerDocument}function iv(e){return e instanceof Function?e():e}function wb(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var sv="ng-template";function Ib(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&wb(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Hd(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Hd(e){return e.type===4&&e.value!==sv}function Cb(e,n,t){let r=e.type===4&&!t?sv:e.value;return n===r}function bb(e,n,t){let r=4,o=e.attrs,i=o!==null?Sb(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!ut(r)&&!ut(c))return!1;if(s&&ut(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Cb(e,c,t)||c===""&&n.length===1){if(ut(r))return!1;s=!0}}else if(r&8){if(o===null||!Ib(e,o,c,t)){if(ut(r))return!1;s=!0}}else{let u=n[++a],l=Tb(c,o,Hd(e),t);if(l===-1){if(ut(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ut(r))return!1;s=!0}}}}return ut(r)||s}function ut(e){return(e&1)===0}function Tb(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Mb(n,e)}function av(e,n,t=!1){for(let r=0;r<n.length;r++)if(bb(e,n[r],t))return!0;return!1}function _b(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function Sb(e){for(let n=0;n<e.length;n++){let t=e[n];if(fm(t))return n}return e.length}function Mb(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function xb(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Wp(e,n){return e?":not("+n.trim()+")":n}function Nb(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ut(s)&&(n+=Wp(i,o),o=""),r=s,i=i||!ut(r);t++}return o!==""&&(n+=Wp(i,o)),n}function Rb(e){return e.map(Nb).join(",")}function Ab(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!ut(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var ge={};function Ob(e,n){return e.createText(n)}function kb(e,n,t){e.setValue(n,t)}function Pb(e,n){return e.createComment(Eb(n))}function cv(e,n,t){return e.createElement(n,t)}function sa(e,n,t,r,o){e.insertBefore(n,t,r,o)}function uv(e,n,t){e.appendChild(n,t)}function Zp(e,n,t,r,o){r!==null?sa(e,n,t,r,o):uv(e,n,t)}function Fb(e,n,t){e.removeChild(null,n,t)}function Lb(e,n,t){e.setAttribute(n,"style",t)}function jb(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function lv(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&lC(e,n,r),o!==null&&jb(e,n,o),i!==null&&Lb(e,n,i)}function $d(e,n,t,r,o,i,s,a,c,u,l){let d=X+r,h=d+o,f=Vb(d,h),p=typeof u=="function"?u():u;return f[O]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function Vb(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:ge);return t}function Bb(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=$d(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function zd(e,n,t,r,o,i,s,a,c,u,l){let d=n.blueprint.slice();return d[Lt]=o,d[N]=r|4|128|8|64|1024,(u!==null||e&&e[N]&2048)&&(d[N]|=2048),Qg(d),d[Te]=d[qr]=e,d[se]=t,d[Yt]=s||e&&e[Yt],d[Z]=a||e&&e[Z],d[Pr]=c||e&&e[Pr]||null,d[je]=i,d[Ta]=FC(),d[kr]=l,d[$g]=u,d[Fe]=n.type==2?e[Fe]:d,d}function Ub(e,n,t){let r=Vt(n,e),o=Bb(t),i=e[Yt].rendererFactory,s=qd(e,zd(e,o,null,dv(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function dv(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function fv(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function qd(e,n){return e[Uo]?e[Sp][lt]=n:e[Uo]=n,e[Sp]=n,n}function de(e=1){hv(z(),b(),pt()+e,!1)}function hv(e,n,t,r){if(!r)if((n[N]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Vs(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Bs(n,i,0,t)}Qn(t)}var Pa=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Pa||{});function wl(e,n,t,r){let o=P(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Pa.SignalBased)!==0&&(c=n[i][Ne]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):zg(n,c,i,r)}finally{P(o)}}function pv(e,n,t,r,o){let i=pt(),s=r&2;try{Qn(-1),s&&n.length>X&&hv(e,n,X,!1),K(s?2:0,o),t(r,o)}finally{Qn(i),K(s?3:1,o)}}function Fa(e,n,t){Wb(e,n,t),(t.flags&64)===64&&Zb(e,n,t)}function Gd(e,n,t=Vt){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function Hb(e,n,t,r){let i=r.get(UC,Um)||t===Pt.ShadowDom,s=e.selectRootElement(n,i);return $b(s),s}function $b(e){zb(e)}var zb=()=>null;function qb(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function rr(e,n,t,r,o,i,s,a){if(!a&&Zd(n,e,t,r,o)){Gr(n)&&Gb(t,n.index);return}if(n.type&3){let c=Vt(n,t);r=qb(r),o=s!=null?s(o,n.value||"",r):o,i.setProperty(c,r,o)}else n.type&12}function Gb(e,n){let t=kt(n,e);t[N]&16||(t[N]|=64)}function Wb(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Gr(t)&&Ub(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||ta(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Ho(n,e,s,t);if(Kr(c,n),i!==null&&Jb(n,s-r,c,a,t,i),dt(a)){let u=kt(t.index,n);u[se]=Ho(n,e,s,t)}}}function Zb(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=tC();try{Qn(i);for(let a=r;a<o;a++){let c=e.data[a],u=n[a];nl(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Yb(c,u)}}finally{Qn(-1),nl(s)}}function Yb(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Wd(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];av(n,i.selectors,!1)&&(r??=[],dt(i)?r.unshift(i):r.push(i))}return r}function Qb(e,n,t,r,o,i){let s=Vt(e,n);Kb(n[Z],s,i,e.value,t,r,o)}function Kb(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?Rt(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function Jb(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];wl(r,t,c,u)}}function Xb(e,n,t){return(e===null||dt(e))&&(t=BI(t[n.index])),t[Z]}function eT(e,n){let t=e[Pr],r=t?t.get(ft,null):null;r&&r.handleError(n)}function Zd(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=n.data[u];wl(d,t[u],l,o),a=!0}if(i)for(let c of i){let u=t[c],l=n.data[c];wl(l,u,r,o),a=!0}return a}function tT(e,n){let t=kt(n,e),r=t[O];nT(r,t);let o=t[Lt];o!==null&&t[kr]===null&&(t[kr]=zm(o,t[Pr])),K(18),Yd(r,t,t[se]),K(19,t[se])}function nT(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function Yd(e,n,t){Cd(n);try{let r=e.viewQuery;r!==null&&fl(1,r,t);let o=e.template;o!==null&&pv(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Qt]?.finishViewCreation(e),e.staticContentQueries&&qm(e,n),e.staticViewQueries&&fl(2,e.viewQuery,t);let i=e.components;i!==null&&rT(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[N]&=-5,bd()}}function rT(e,n){for(let t=0;t<n.length;t++)tT(e,n[t])}function Jo(e,n,t,r){let o=P(null);try{let i=n.tView,a=e[N]&4096?4096:16,c=zd(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[n.index];c[Gn]=u;let l=e[Qt];return l!==null&&(c[Qt]=l.createEmbeddedView(i)),Yd(i,c,t),c}finally{P(o)}}function jr(e,n){return!n||n.firstChild===null||Am(e)}var oT;function Qd(e,n){return oT(e,n)}var Ft=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ft||{});function Kd(e){return(e.flags&32)===32}function xr(e,n,t,r,o){if(r!=null){let i,s=!1;Jt(r)?i=r:vn(r)&&(s=!0,r=r[Lt]);let a=Ot(r);e===0&&t!==null?o==null?uv(n,t,a):sa(n,t,a,o||null,!0):e===1&&t!==null?sa(n,t,a,o||null,!0):e===2?Fb(n,a,s):e===3&&n.destroyNode(a),i!=null&&pT(n,e,i,t,o)}}function iT(e,n){gv(e,n),n[Lt]=null,n[je]=null}function sT(e,n,t,r,o,i){r[Lt]=o,r[je]=n,Va(e,r,t,1,o,i)}function gv(e,n){n[Yt].changeDetectionScheduler?.notify(9),Va(e,n,n[Z],2,null,null)}function aT(e){let n=e[Uo];if(!n)return Fu(e[O],e);for(;n;){let t=null;if(vn(n))t=n[Uo];else{let r=n[Ce];r&&(t=r)}if(!t){for(;n&&!n[lt]&&n!==e;)vn(n)&&Fu(n[O],n),n=n[Te];n===null&&(n=e),vn(n)&&Fu(n[O],n),t=n&&n[lt]}n=t}}function Jd(e,n){let t=e[Fr],r=t.indexOf(n);t.splice(r,1)}function La(e,n){if(Wr(n))return;let t=n[Z];t.destroyNode&&Va(e,n,t,3,null,null),aT(n)}function Fu(e,n){if(Wr(n))return;let t=P(null);try{n[N]&=-129,n[N]|=256,n[tt]&&Oo(n[tt]),uT(e,n),cT(e,n),n[O].type===1&&n[Z].destroy();let r=n[Gn];if(r!==null&&Jt(n[Te])){r!==n[Te]&&Jd(r,n);let o=n[Qt];o!==null&&o.detachView(e)}ul(n)}finally{P(t)}}function cT(e,n){let t=e.cleanup,r=n[Zs];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Zs]=null);let o=n[mn];if(o!==null){n[mn]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[Wn];if(i!==null){n[Wn]=null;for(let s of i)s.destroy()}}function uT(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Kn)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];K(4,a,c);try{c.call(a)}finally{K(5,a,c)}}else{K(4,o,i);try{i.call(o)}finally{K(5,o,i)}}}}}function mv(e,n,t){return lT(e,n.parent,t)}function lT(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[Lt];if(Gr(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Pt.None||o===Pt.Emulated)return null}return Vt(r,t)}function vv(e,n,t){return fT(e,n,t)}function dT(e,n,t){return e.type&40?Vt(e,t):null}var fT=dT,Yp;function ja(e,n,t,r){let o=mv(e,r,n),i=n[Z],s=r.parent||n[je],a=vv(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)Zp(i,o,t[c],a,!1);else Zp(i,o,t,a,!1);Yp!==void 0&&Yp(i,r,n,t,o)}function Lo(e,n){if(n!==null){let t=n.type;if(t&3)return Vt(n,e);if(t&4)return Il(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Lo(e,r);{let o=e[n.index];return Jt(o)?Il(-1,o):Ot(o)}}else{if(t&128)return Lo(e,n.next);if(t&32)return Qd(n,e)()||Ot(e[n.index]);{let r=yv(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Yn(e[Fe]);return Lo(o,r)}else return Lo(e,n.next)}}}return null}function yv(e,n){if(n!==null){let r=e[Fe][je],o=n.projection;return r.projection[o]}return null}function Il(e,n){let t=Ce+e+1;if(t<n.length){let r=n[t],o=r[O].firstChild;if(o!==null)return Lo(r,o)}return n[Zn]}function Xd(e,n,t,r,o,i,s){for(;t!=null;){if(t.type===128){t=t.next;continue}let a=r[t.index],c=t.type;if(s&&n===0&&(a&&Kr(Ot(a),r),t.flags|=2),!Kd(t))if(c&8)Xd(e,n,t.child,r,o,i,!1),xr(n,e,o,a,i);else if(c&32){let u=Qd(t,r),l;for(;l=u();)xr(n,e,o,l,i);xr(n,e,o,a,i)}else c&16?Dv(e,n,r,t,o,i):xr(n,e,o,a,i);t=s?t.projectionNext:t.next}}function Va(e,n,t,r,o,i){Xd(t,r,e.firstChild,n,o,i,!1)}function hT(e,n,t){let r=n[Z],o=mv(e,t,n),i=t.parent||n[je],s=vv(i,t,n);Dv(r,0,n,t,o,s)}function Dv(e,n,t,r,o,i){let s=t[Fe],c=s[je].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];xr(n,e,o,l,i)}else{let u=c,l=s[Te];Am(r)&&(u.flags|=128),Xd(e,n,u,l,o,i,!0)}}function pT(e,n,t,r,o){let i=t[Zn],s=Ot(t);i!==s&&xr(n,e,r,i,o);for(let a=Ce;a<t.length;a++){let c=t[a];Va(c[O],c,e,n,r,i)}}function gT(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:Ft.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ft.Important),e.setStyle(t,r,o,i))}}function aa(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Ot(i)),Jt(i)&&mT(i,r);let s=t.type;if(s&8)aa(e,n,t.child,r);else if(s&32){let a=Qd(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=yv(n,t);if(Array.isArray(a))r.push(...a);else{let c=Yn(n[Fe]);aa(c[O],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function mT(e,n){for(let t=Ce;t<e.length;t++){let r=e[t],o=r[O].firstChild;o!==null&&aa(r[O],r,o,n)}e[Zn]!==e[Lt]&&n.push(e[Zn])}function Ev(e){if(e[Nr]!==null){for(let n of e[Nr])n.impl.addSequence(n);e[Nr].length=0}}var wv=[];function vT(e){return e[tt]??yT(e)}function yT(e){let n=wv.pop()??Object.create(ET);return n.lView=e,n}function DT(e){e.lView[tt]!==e&&(e.lView=null,wv.push(e))}var ET=V(v({},Cr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Zr(e.lView)},consumerOnSignalRead(){this.lView[tt]=this}});function wT(e){let n=e[tt]??Object.create(IT);return n.lView=e,n}var IT=V(v({},Cr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Yn(e.lView);for(;n&&!Iv(n[O]);)n=Yn(n);n&&Kg(n)},consumerOnSignalRead(){this.lView[tt]=this}});function Iv(e){return e.type!==2}function Cv(e){if(e[Wn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Wn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[N]&8192)}}var CT=100;function bv(e,n=!0,t=0){let o=e[Yt].rendererFactory,i=!1;i||o.begin?.();try{bT(e,t)}catch(s){throw n&&eT(e,s),s}finally{i||o.end?.()}}function bT(e,n){let t=nm();try{Ks(!0),Cl(e,n);let r=0;for(;Sa(e);){if(r===CT)throw new D(103,!1);r++,Cl(e,1)}}finally{Ks(t)}}function TT(e,n,t,r){if(Wr(n))return;let o=n[N],i=!1,s=!1;Cd(n);let a=!0,c=null,u=null;i||(Iv(e)?(u=vT(n),c=Ao(u)):Iu()===null?(a=!1,u=wT(n),c=Ao(u)):n[tt]&&(Oo(n[tt]),n[tt]=null));try{Qg(n),JI(e.bindingStartIndex),t!==null&&pv(e,n,t,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Vs(n,f,null)}else{let f=e.preOrderHooks;f!==null&&Bs(n,f,0,null),ku(n,0)}if(s||_T(n),Cv(n),Tv(n,0),e.contentQueries!==null&&qm(e,n),!i)if(l){let f=e.contentCheckHooks;f!==null&&Vs(n,f)}else{let f=e.contentHooks;f!==null&&Bs(n,f,1),ku(n,1)}MT(e,n);let d=e.components;d!==null&&Sv(n,d,0);let h=e.viewQuery;if(h!==null&&fl(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Vs(n,f)}else{let f=e.viewHooks;f!==null&&Bs(n,f,2),ku(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[Ou]){for(let f of n[Ou])f();n[Ou]=null}i||(Ev(n),n[N]&=-73)}catch(l){throw i||Zr(n),l}finally{u!==null&&(Ts(u,c),a&&DT(u)),bd()}}function Tv(e,n){for(let t=Pm(e);t!==null;t=Fm(t))for(let r=Ce;r<t.length;r++){let o=t[r];_v(o,n)}}function _T(e){for(let n=Pm(e);n!==null;n=Fm(n)){if(!(n[N]&2))continue;let t=n[Fr];for(let r=0;r<t.length;r++){let o=t[r];Kg(o)}}}function ST(e,n,t){K(18);let r=kt(n,e);_v(r,t),K(19,r[se])}function _v(e,n){pd(e)&&Cl(e,n)}function Cl(e,n){let r=e[O],o=e[N],i=e[tt],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&_s(i)),s||=!1,i&&(i.dirty=!1),e[N]&=-9217,s)TT(r,e,r.template,e[se]);else if(o&8192){Cv(e),Tv(e,1);let a=r.components;a!==null&&Sv(e,a,1),Ev(e)}}function Sv(e,n,t){for(let r=0;r<n.length;r++)ST(e,n[r],t)}function MT(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Qn(~o);else{let i=o,s=t[++r],a=t[++r];eC(s,i);let c=n[i];K(24,c),a(2,c),K(25,c)}}}finally{Qn(-1)}}function ef(e,n){let t=nm()?64:1088;for(e[Yt].changeDetectionScheduler?.notify(n);e;){e[N]|=t;let r=Yn(e);if(Qs(e)&&!r)return e;e=r}return null}function Mv(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function xv(e,n){let t=Ce+n;if(t<e.length)return e[t]}function Xo(e,n,t,r=!0){let o=n[O];if(xT(o,n,e,t),r){let s=Il(t,e),a=n[Z],c=a.parentNode(e[Zn]);c!==null&&sT(o,e[je],a,n,c,s)}let i=n[kr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Nv(e,n){let t=zo(e,n);return t!==void 0&&La(t[O],t),t}function zo(e,n){if(e.length<=Ce)return;let t=Ce+n,r=e[t];if(r){let o=r[Gn];o!==null&&o!==e&&Jd(o,r),n>0&&(e[t-1][lt]=r[lt]);let i=Gs(e,Ce+n);iT(r[O],r);let s=i[Qt];s!==null&&s.detachView(i[O]),r[Te]=null,r[lt]=null,r[N]&=-129}return r}function xT(e,n,t,r){let o=Ce+r,i=t.length;r>0&&(t[o-1][lt]=n),r<i-Ce?(n[lt]=t[o],kg(t,Ce+r,n)):(t.push(n),n[lt]=null),n[Te]=t;let s=n[Gn];s!==null&&t!==s&&Rv(s,n);let a=n[Qt];a!==null&&a.insertView(e),el(n),n[N]|=128}function Rv(e,n){let t=e[Fr],r=n[Te];if(vn(r))e[N]|=2;else{let o=r[Te][Fe];n[Fe]!==o&&(e[N]|=2)}t===null?e[Fr]=[n]:t.push(n)}var qo=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let n=this._lView,t=n[O];return aa(t,n,t.firstChild,[])}constructor(n,t,r=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=r}get context(){return this._lView[se]}set context(n){this._lView[se]=n}get destroyed(){return Wr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Te];if(Jt(n)){let t=n[Ys],r=t?t.indexOf(this):-1;r>-1&&(zo(n,r),Gs(t,r))}this._attachedToViewContainer=!1}La(this._lView[O],this._lView)}onDestroy(n){Jg(this._lView,n)}markForCheck(){ef(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[N]&=-129}reattach(){el(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,bv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Qs(this._lView),t=this._lView[Gn];t!==null&&!n&&Jd(t,this._lView),gv(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=n;let t=Qs(this._lView),r=this._lView[Gn];r!==null&&!t&&Rv(r,this._lView),el(this._lView)}};var wn=(()=>{class e{static __NG_ELEMENT_ID__=AT}return e})(),NT=wn,RT=class extends NT{_declarationLView;_declarationTContainer;elementRef;constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){let o=Jo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new qo(o)}};function AT(){return Ba(Se(),b())}function Ba(e,n){return e.type&4?new RT(n,e,Yr(e,n)):null}function eo(e,n,t,r,o){let i=e.data[n];if(i===null)i=OT(e,n,t,r,o),XI()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=KI();i.injectorIndex=s===null?-1:s.injectorIndex}return In(i,!0),i}function OT(e,n,t,r,o){let i=em(),s=Ed(),a=s?i:i&&i.parent,c=e.data[n]=PT(e,a,t,n,r,o);return kT(e,c,i,s),c}function kT(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function PT(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Xg()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var VB=new RegExp(`^(\\d+)*(${BC}|${VC})*(.*)`);var FT=()=>null;function Vr(e,n){return FT(e,n)}var LT=class{},Av=class{},bl=class{resolveComponentFactory(n){throw Error(`No component factory found for ${Pe(n)}.`)}},to=class{static NULL=new bl},Br=class{},Tn=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>jT()}return e})();function jT(){let e=b(),n=Se(),t=kt(n.index,e);return(vn(t)?t:e)[Z]}var VT=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>null})}return e})();var Lu={},Tl=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=Ia(r);let o=this.injector.get(n,Lu,r);return o!==Lu||t===Lu?o:this.parentInjector.get(n,t,r)}};function _l(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=Gu(o,a);else if(i==2){let c=a,u=n[++s];r=Gu(r,c+": "+u+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function R(e,n=j.Default){let t=b();if(t===null)return I(e,n);let r=Se();return Dm(r,t,De(e),n)}function Ov(){let e="invalid";throw new Error(e)}function tf(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a,c=null,u=null,l=UT(s);l===null?a=s:[a,c,u]=l,zT(e,n,t,a,i,c,u)}i!==null&&r!==null&&BT(t,r,i)}function BT(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new D(-301,!1);r.push(n[o],i)}}function UT(e){let n=null,t=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&dt(a)&&(n=a),a.findHostDirectiveDefs!==null){t=!0;break}}if(!t)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,HT(s,r,i,o)),s===n&&(r??=[],r.push(s));return r!==null?(r.push(...n===null?e:e.slice(1)),[r,o,i]):null}function HT(e,n,t,r){let o=n.length;e.findHostDirectiveDefs(e,n,r),t.set(e,[o,n.length-1])}function $T(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function zT(e,n,t,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&dt(f)&&(c=!0,$T(e,t,h)),ol(ta(t,n),e,f.type)}QT(t,e.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=fv(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(t.mergedAttrs=Lr(t.mergedAttrs,f.hostAttrs),GT(e,t,n,d,f),YT(d,f,o),s!==null&&s.has(f)){let[m,y]=s.get(f);t.directiveToIndex.set(f.type,[d,m+t.directiveStart,y+t.directiveStart])}else(i===null||!i.has(f))&&t.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(t.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(t.flags|=64);let p=f.type.prototype;!u&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),u=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),l=!0),d++}qT(e,t,i)}function qT(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))Qp(0,n,o,r),Qp(1,n,o,r),Jp(n,r,!1);else{let i=t.get(o);Kp(0,n,i,r),Kp(1,n,i,r),Jp(n,r,!0)}}}function Qp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),kv(n,i)}}function Kp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),kv(n,s)}}function kv(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Jp(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Hd(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===n){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function GT(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=qn(o.type,!0)),s=new Kn(i,dt(o),R);e.blueprint[r]=s,t[r]=s,WT(e,n,r,fv(e,t,o.hostVars,ge),o)}function WT(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;ZT(s)!=a&&s.push(a),s.push(t,r,i)}}function ZT(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function YT(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;dt(n)&&(t[""]=e)}}function QT(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Pv(e,n,t,r,o,i,s,a){let c=n.consts,u=Dn(c,s),l=eo(n,e,2,r,u);return i&&tf(n,t,l,Dn(c,a),o),l.mergedAttrs=Lr(l.mergedAttrs,l.attrs),l.attrs!==null&&_l(l,l.attrs,!1),l.mergedAttrs!==null&&_l(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function Fv(e,n){Td(e,n),dd(n)&&e.queries.elementEnd(n)}var ca=class extends to{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=yn(n);return new Jn(t,this.ngModule)}};function KT(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Pa.SignalBased)!==0};return o&&(i.transform=o),i})}function JT(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function XT(e,n,t){let r=n instanceof be?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Tl(t,r):t}function e_(e){let n=e.get(Br,null);if(n===null)throw new D(407,!1);let t=e.get(VT,null),r=e.get(En,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r}}function t_(e,n){let t=(e.selectors[0][0]||"div").toLowerCase();return cv(n,t,t==="svg"?Zg:t==="math"?VI:null)}var Jn=class extends Av{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=KT(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=JT(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=Rb(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o){K(22);let i=P(null);try{let s=this.componentDef,a=r?["ng-version","19.2.14"]:Ab(this.componentDef.selectors[0]),c=$d(0,null,null,1,0,null,null,null,null,[a],null),u=XT(s,o||this.ngModule,n),l=e_(u),d=l.rendererFactory.createRenderer(null,s),h=r?Hb(d,r,s.encapsulation,u):t_(s,d),f=zd(null,c,null,512|dv(s),null,null,l,d,u,null,zm(h,u,!0));f[X]=h,Cd(f);let p=null;try{let m=Pv(X,c,f,"#host",()=>[this.componentDef],!0,0);h&&(lv(d,h,m),Kr(h,f)),Fa(c,f,m),jd(c,m,f),Fv(c,m),t!==void 0&&n_(m,this.ngContentSelectors,t),p=kt(m.index,f),f[se]=p[se],Yd(c,f,null)}catch(m){throw p!==null&&ul(p),ul(f),m}finally{K(23),bd()}return new Sl(this.componentType,f)}finally{P(i)}}},Sl=class extends LT{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t){super(),this._rootLView=t,this._tNode=fd(t[O],X),this.location=Yr(this._tNode,t),this.instance=kt(this._tNode.index,t)[se],this.hostView=this.changeDetectorRef=new qo(t,void 0,!1),this.componentType=n}setInput(n,t){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=Zd(r,o[O],o,n,t);this.previousInputValues.set(n,t);let s=kt(r.index,o);ef(s,1)}get injector(){return new zn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function n_(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var gt=(()=>{class e{static __NG_ELEMENT_ID__=r_}return e})();function r_(){let e=Se();return jv(e,b())}var o_=gt,Lv=class extends o_{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Yr(this._hostTNode,this._hostLView)}get injector(){return new zn(this._hostTNode,this._hostLView)}get parentInjector(){let n=_d(this._hostTNode,this._hostLView);if(hm(n)){let t=Xs(n,this._hostLView),r=Js(n),o=t[O].data[r+8];return new zn(o,t)}else return new zn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Xp(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Ce}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Vr(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,jr(this._hostTNode,s)),a}createComponent(n,t,r,o,i){let s=n&&!PI(n),a;if(s)a=t;else{let p=t||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?n:new Jn(yn(n)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let m=(s?u:this.parentInjector).get(be,null);m&&(i=m)}let l=yn(c.componentType??{}),d=Vr(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,jr(this._hostTNode,d)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(HI(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[Te],u=new Lv(c,c[je],c[Te]);u.detach(u.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Xo(s,o,i,r),n.attachToViewContainerRef(),kg(ju(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Xp(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=zo(this._lContainer,t);r&&(Gs(ju(this._lContainer),t),La(r[O],r))}detach(n){let t=this._adjustIndex(n,-1),r=zo(this._lContainer,t);return r&&Gs(ju(this._lContainer),t)!=null?new qo(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Xp(e){return e[Ys]}function ju(e){return e[Ys]||(e[Ys]=[])}function jv(e,n){let t,r=n[e.index];return Jt(r)?t=r:(t=Mv(r,n,null,e),n[e.index]=t,qd(n,t)),s_(t,n,e,r),new Lv(t,e,n)}function i_(e,n){let t=e[Z],r=t.createComment(""),o=Vt(n,e),i=t.parentNode(o);return sa(t,i,r,t.nextSibling(o),!1),r}var s_=u_,a_=()=>!1;function c_(e,n,t){return a_(e,n,t)}function u_(e,n,t,r){if(e[Zn])return;let o;t.type&8?o=Ot(r):o=i_(n,t),e[Zn]=o}var Ml=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},xl=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)rf(n,t).matches!==null&&this.queries[t].setDirty()}},ua=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=p_(n):this.predicate=n}},Nl=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Rl=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,l_(t,i)),this.matchTNodeWithReadOption(n,t,Us(t,n,i,!1,!1))}else r===wn?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Us(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ge||o===gt||o===wn&&t.type&4)this.addMatch(t.index,-2);else{let i=Us(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function l_(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function d_(e,n){return e.type&11?Yr(e,n):e.type&4?Ba(e,n):null}function f_(e,n,t,r){return t===-1?d_(n,e):t===-2?h_(e,n,r):Ho(e,e[O],t,n)}function h_(e,n,t){if(t===Ge)return Yr(n,e);if(t===wn)return Ba(n,e);if(t===gt)return jv(n,e)}function Vv(e,n,t,r){let o=n[Qt].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(f_(n,l,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function Al(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=Vv(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=n[-c];for(let d=Ce;d<l.length;d++){let h=l[d];h[Gn]===h[Te]&&Al(h[O],h,u,r)}if(l[Fr]!==null){let d=l[Fr];for(let h=0;h<d.length;h++){let f=d[h];Al(f[O],f,u,r)}}}}}return r}function nf(e,n){return e[Qt].queries[n].queryList}function Bv(e,n,t){let r=new cl((t&4)===4);return qI(e,n,r,r.destroy),(n[Qt]??=new xl).queries.push(new Ml(r))-1}function Uv(e,n,t){let r=z();return r.firstCreatePass&&($v(r,new ua(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),Bv(r,b(),n)}function Hv(e,n,t,r){let o=z();if(o.firstCreatePass){let i=Se();$v(o,new ua(n,t,r),i.index),g_(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return Bv(o,b(),t)}function p_(e){return e.split(",").map(n=>n.trim())}function $v(e,n,t){e.queries===null&&(e.queries=new Nl),e.queries.track(new Rl(n,t))}function g_(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function rf(e,n){return e.queries.getByIndex(n)}function zv(e,n){let t=e[O],r=rf(t,n);return r.crossesNgTemplate?Al(t,e,n,[]):Vv(t,e,r,n)}function qv(e,n,t){let r,o=xs(()=>{r._dirtyCounter();let i=m_(r,e);if(n&&i===void 0)throw new D(-951,!1);return i});return r=o[Ne],r._dirtyCounter=Qr(0),r._flatValue=void 0,o}function Gv(e){return qv(!0,!1,e)}function Wv(e){return qv(!0,!0,e)}function Zv(e,n){let t=e[Ne];t._lView=b(),t._queryIndex=n,t._queryList=nf(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function m_(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[N]&4)return n?void 0:Re;let o=nf(t,r),i=zv(t,r);return o.reset(i,xm),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function eg(e,n){return Gv(n)}function v_(e,n){return Wv(n)}var zB=(eg.required=v_,eg);function tg(e,n){return Gv(n)}function y_(e,n){return Wv(n)}var qB=(tg.required=y_,tg);function Yv(e,n){let t=Object.create(Ig),r=new ia;t.value=e;function o(){return br(t),ng(t.value),t.value}return o[Ne]=t,o.asReadonly=Nm.bind(o),o.set=i=>{t.equal(t.value,i)||(Tr(t,i),r.emit(i))},o.update=i=>{ng(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function ng(e){if(e===Ea)throw new D(952,!1)}function rg(e,n){return Yv(e,n)}function D_(e){return Yv(Ea,e)}var GB=(rg.required=D_,rg);function E_(e){let n=[],t=new Map;function r(o){let i=t.get(o);if(!i){let s=e(o);t.set(o,i=s.then(b_))}return i}return la.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,h)=>{a.push(""),s.push(r(d).then(f=>{a[u+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>T_(i));n.push(c)}),I_(),Promise.all(n).then(()=>{})}var la=new Map,w_=new Set;function I_(){let e=la;return la=new Map,e}function C_(){return la.size===0}function b_(e){return typeof e=="string"?e:e.text()}function T_(e){w_.delete(e)}var Xn=class{},of=class{};function Qv(e,n){return new Go(e,n??null,[])}var Go=class extends Xn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ca(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Lg(n);this._bootstrapComponents=iv(i.bootstrap),this._r3Injector=Im(n,t,[{provide:Xn,useValue:this},{provide:to,useValue:this.componentFactoryResolver},...r],Pe(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},da=class extends of{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Go(this.moduleType,n,[])}};function __(e,n,t){return new Go(e,n,t,!1)}var Ol=class extends Xn{injector;componentFactoryResolver=new ca(this);instance=null;constructor(n){super();let t=new Bo([...n.providers,{provide:Xn,useValue:this},{provide:to,useValue:this.componentFactoryResolver}],n.parent||ba(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function ei(e,n,t=null){return new Ol({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var S_=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=Vg(!1,t.type),o=r.length>0?ei([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=E({token:e,providedIn:"environment",factory:()=>new e(I(be))})}return e})();function ti(e){return Yo(()=>{let n=Kv(e),t=V(v({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Om.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(S_).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Pt.Emulated,styles:e.styles||Re,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Bt("NgStandalone"),Jv(t);let r=e.dependencies;return t.directiveDefs=og(r,!1),t.pipeDefs=og(r,!0),t.id=A_(t),t})}function M_(e){return yn(e)||jg(e)}function x_(e){return e!==null}function mt(e){return Yo(()=>({type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function N_(e,n){if(e==null)return At;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Pa.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function R_(e){if(e==null)return At;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function Ee(e){return Yo(()=>{let n=Kv(e);return Jv(n),n})}function _n(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Kv(e){let n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||At,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:N_(e.inputs,n),outputs:R_(e.outputs),debugInfo:null}}function Jv(e){e.features?.forEach(n=>n(e))}function og(e,n){if(!e)return null;let t=n?CI:M_;return()=>(typeof e=="function"?e():e).map(r=>t(r)).filter(x_)}function A_(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function O_(e){return Object.getPrototypeOf(e.prototype).constructor}function k_(e){let n=O_(e.type),t=!0,r=[e];for(;n;){let o;if(dt(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new D(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=Vu(e.inputs),s.declaredInputs=Vu(e.declaredInputs),s.outputs=Vu(e.outputs);let a=o.hostBindings;a&&V_(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&L_(e,c),u&&j_(e,u),P_(e,o),tI(e.outputs,o.outputs),dt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===k_&&(t=!1)}}n=Object.getPrototypeOf(n)}F_(r)}function P_(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function F_(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Lr(o.hostAttrs,t=Lr(t,o.hostAttrs))}}function Vu(e){return e===At?{}:e===Re?[]:e}function L_(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function j_(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function V_(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function YB(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.findHostDirectiveDefs=Xv,t.hostDirectives=r?e.map(kl):[e]):r?t.hostDirectives.unshift(...e.map(kl)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function Xv(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)ig(kl(i),n,t)}else ig(r,n,t)}function ig(e,n,t){let r=jg(e.directive);B_(r.declaredInputs,e.inputs),Xv(r,n,t),t.set(r,e),n.push(r)}function kl(e){return typeof e=="function"?{directive:De(e),inputs:At,outputs:At}:{directive:De(e.directive),inputs:sg(e.inputs),outputs:sg(e.outputs)}}function sg(e){if(e===void 0||e.length===0)return At;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function B_(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function ey(e){return sf(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function U_(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function sf(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function rn(e,n,t){return e[n]=t}function Ua(e,n){return e[n]}function _e(e,n,t){let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function Ur(e,n,t,r){let o=_e(e,n,t);return _e(e,n+1,r)||o}function af(e,n,t,r,o){let i=Ur(e,n,t,r);return _e(e,n+2,o)||i}function Ha(e,n,t,r,o,i){let s=Ur(e,n,t,r);return Ur(e,n+2,o,i)||s}function H_(e,n,t,r,o,i,s,a,c){let u=n.consts,l=eo(n,e,4,s||null,a||null);vd()&&tf(n,t,l,Dn(u,c),Wd),l.mergedAttrs=Lr(l.mergedAttrs,l.attrs),Td(n,l);let d=l.tView=$d(2,l,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,u,null);return n.queries!==null&&(n.queries.template(n,l),d.queries=n.queries.embeddedTView(l)),l}function fa(e,n,t,r,o,i,s,a,c,u){let l=t+X,d=n.firstCreatePass?H_(l,n,e,r,o,i,s,a,c):n.data[l];In(d,!1);let h=$_(n,e,d,t);Na()&&ja(n,e,h,d),Kr(h,e);let f=Mv(h,e,h,d);return e[l]=f,qd(e,f),c_(f,d,e),_a(d)&&Fa(n,e,d),c!=null&&Gd(e,d,u),d}function no(e,n,t,r,o,i,s,a){let c=b(),u=z(),l=Dn(u.consts,i);return fa(c,u,e,n,t,r,o,l,s,a),no}var $_=z_;function z_(e,n,t,r){return Ra(!0),n[Z].createComment("")}var cf=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var uf=new w(""),ni=new w(""),$a=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,r,o){this._ngZone=t,this.registry=r,cd()&&(this._destroyRef=g(Xt,{optional:!0})??void 0),lf||(q_(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(t)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t()},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,o),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static \u0275fac=function(r){return new(r||e)(I(H),I(za),I(ni))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),za=(()=>{class e{_applications=new Map;registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return lf?.findTestabilityInTree(this,t,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function q_(e){lf=e}var lf,ty=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new Pl})}return e})(),Pl=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),this.queuedEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,t]of this.queues)n===null?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(let t of n)n.delete(t),this.queuedEffectCount--,t.run()}};function ro(e){return!!e&&typeof e.then=="function"}function df(e){return!!e&&typeof e.subscribe=="function"}var ny=new w("");function ff(e){return tr([{provide:ny,multi:!0,useValue:e}])}var ry=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=g(ny,{optional:!0})??[];injector=g(oe);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=Le(this.injector,o);if(ro(i))t.push(i);else if(df(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hf=new w("");function G_(){_u(()=>{throw new D(600,!1)})}function W_(e){return e.isBoundToModule}var Z_=10;function oy(e,n){return Array.isArray(n)?n.reduce(oy,e):v(v({},e),n)}var qe=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(NC);afterRenderManager=g(Hm);zonelessEnabled=g(Md);rootEffectScheduler=g(ty);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=g(en).hasPendingTasks.pipe(A(t=>!t));constructor(){g(Xr,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=g(be);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=oe.NULL){K(10);let i=t instanceof Av;if(!this._injector.get(ry).done){let f="";throw new D(405,f)}let a;i?a=t:a=this._injector.get(to).resolveComponentFactory(t),this.componentTypes.push(a.componentType);let c=W_(a)?void 0:this._injector.get(Xn),u=r||a.selector,l=a.create(o,[],u,c),d=l.location.nativeElement,h=l.injector.get(uf,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Hs(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),K(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){K(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Pd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new D(101,!1);let t=P(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,P(t),this.afterTick.next(),K(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Br,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<Z_;)K(14),this.synchronizeOnce(),K(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let t=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)Y_(r,o,t,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Sa(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;Hs(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(hf,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Hs(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new D(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hs(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Y_(e,n,t,r){if(!t&&!Sa(e))return;bv(e,n,t&&!r?0:1)}function Sn(e,n,t,r){let o=b(),i=Cn();if(_e(o,i,n)){let s=z(),a=bn();Qb(a,o,e,n,t,r)}return Sn}function pf(e,n,t,r){return _e(e,Cn(),t)?n+Rt(t)+r:ge}function gf(e,n,t,r,o,i){let s=rm(),a=Ur(e,s,t,o);return Ma(2),a?n+Rt(t)+r+Rt(o)+i:ge}function iy(e,n,t,r,o,i,s,a){let c=rm(),u=af(e,c,t,o,s);return Ma(3),u?n+Rt(t)+r+Rt(o)+i+Rt(s)+a:ge}function Fs(e,n){return e<<17|n<<2}function er(e){return e>>17&32767}function Q_(e){return(e&2)==2}function K_(e,n){return e&131071|n<<17}function Fl(e){return e|2}function Hr(e){return(e&131068)>>2}function Bu(e,n){return e&-131069|n<<2}function J_(e){return(e&1)===1}function Ll(e){return e|1}function X_(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=er(s),c=Hr(s);e[r]=t;let u=!1,l;if(Array.isArray(t)){let d=t;l=d[1],(l===null||Qo(d,l)>0)&&(u=!0)}else l=t;if(o)if(c!==0){let h=er(e[a+1]);e[r+1]=Fs(h,a),h!==0&&(e[h+1]=Bu(e[h+1],r)),e[a+1]=K_(e[a+1],r)}else e[r+1]=Fs(a,0),a!==0&&(e[a+1]=Bu(e[a+1],r)),a=r;else e[r+1]=Fs(c,0),a===0?a=r:e[c+1]=Bu(e[c+1],r),c=r;u&&(e[r+1]=Fl(e[r+1])),ag(e,l,r,!0),ag(e,l,r,!1),eS(n,l,e,r,i),s=Fs(a,c),i?n.classBindings=s:n.styleBindings=s}function eS(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Qo(i,n)>=0&&(t[r+1]=Ll(t[r+1]))}function ag(e,n,t,r){let o=e[t+1],i=n===null,s=r?er(o):Hr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];tS(c,n)&&(a=!0,e[s+1]=r?Ll(u):Fl(u)),s=r?er(u):Hr(u)}a&&(e[t+1]=r?Fl(o):Ll(o))}function tS(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Qo(e,n)>=0:!1}var le={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sy(e){return e.substring(le.key,le.keyEnd)}function nS(e){return e.substring(le.value,le.valueEnd)}function rS(e){return uy(e),ay(e,$r(e,0,le.textEnd))}function ay(e,n){let t=le.textEnd;return t===n?-1:(n=le.keyEnd=iS(e,le.key=n,t),$r(e,n,t))}function oS(e){return uy(e),cy(e,$r(e,0,le.textEnd))}function cy(e,n){let t=le.textEnd,r=le.key=$r(e,n,t);return t===r?-1:(r=le.keyEnd=sS(e,r,t),r=cg(e,r,t,58),r=le.value=$r(e,r,t),r=le.valueEnd=aS(e,r,t),cg(e,r,t,59))}function uy(e){le.key=0,le.keyEnd=0,le.value=0,le.valueEnd=0,le.textEnd=e.length}function $r(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function iS(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function sS(e,n,t){let r;for(;n<t&&((r=e.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function cg(e,n,t,r){return n=$r(e,n,t),n<t&&n++,n}function aS(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=ug(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=ug(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function ug(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Me(e,n,t){let r=b(),o=Cn();if(_e(r,o,n)){let i=z(),s=bn();rr(i,s,r,e,n,r[Z],t,!1)}return Me}function jl(e,n,t,r,o){Zd(n,e,t,o?"class":"style",r)}function Mn(e,n,t){return ly(e,n,t,!1),Mn}function cS(e,n){return ly(e,n,null,!0),cS}function QB(e){qa(hy,uS,e,!1)}function uS(e,n){for(let t=oS(n);t>=0;t=cy(n,t))hy(e,sy(n),nS(n))}function on(e){qa(gS,mf,e,!0)}function mf(e,n){for(let t=rS(n);t>=0;t=ay(n,t))zr(e,sy(n),!0)}function ly(e,n,t,r){let o=b(),i=z(),s=Ma(2);if(i.firstUpdatePass&&fy(i,e,s,r),n!==ge&&_e(o,s,n)){let a=i.data[pt()];py(i,a,o,o[Z],e,o[s+1]=vS(n,t),r,s)}}function qa(e,n,t,r){let o=z(),i=Ma(2);o.firstUpdatePass&&fy(o,null,i,r);let s=b();if(t!==ge&&_e(s,i,t)){let a=o.data[pt()];if(gy(a,r)&&!dy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=Gu(c,t||"")),jl(o,a,s,t,r)}else mS(o,a,s,s[Z],s[i+1],s[i+1]=pS(e,n,t),r,i)}}function dy(e,n){return n>=e.expandoStartIndex}function fy(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[pt()],s=dy(e,t);gy(i,r)&&n===null&&!s&&(n=!1),n=lS(o,i,n,r),X_(o,i,n,t,s,r)}}function lS(e,n,t,r){let o=om(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Uu(null,e,n,t,r),t=Wo(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Uu(o,e,n,t,r),i===null){let c=dS(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Uu(null,e,n,c[1],r),c=Wo(c,n.attrs,r),fS(e,n,r,c))}else i=hS(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function dS(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Hr(r)!==0)return e[er(r)]}function fS(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[er(o)]=r}function hS(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Wo(r,s,t)}return Wo(r,n.attrs,t)}function Uu(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=Wo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Wo(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),zr(e,s,t?!0:n[++i]))}return e===void 0?null:e}function pS(e,n,t){if(t==null||t==="")return Re;let r=[],o=Be(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function hy(e,n,t){zr(e,n,Be(t))}function gS(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&zr(e,r,t)}function mS(e,n,t,r,o,i,s,a){o===ge&&(o=Re);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,m;l===d?(c+=2,u+=2,h!==f&&(p=d,m=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,m=f),p!==null&&py(e,n,t,r,p,m,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function py(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,u=c[a+1],l=J_(u)?lg(c,n,t,o,Hr(u),s):void 0;if(!ha(l)){ha(i)||Q_(u)&&(i=lg(c,null,t,o,a,s));let d=Yg(pt(),t);gT(r,s,d,o,i)}}function lg(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=t[o+1];h===ge&&(h=d?Re:void 0);let f=d?Ru(h,r):l===r?h:void 0;if(u&&!ha(f)&&(f=Ru(c,r)),ha(f)&&(a=f,s))return a;let p=e[o+1];o=s?er(p):Hr(p)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Ru(c,r))}return a}function ha(e){return e!==void 0}function vS(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Pe(Be(e)))),e}function gy(e,n){return(e.flags&(n?8:16))!==0}function KB(e,n,t){let r=b(),o=pf(r,e,n,t);qa(zr,mf,o,!0)}function JB(e,n,t,r,o){let i=b(),s=gf(i,e,n,t,r,o);qa(zr,mf,s,!0)}function XB(){return b()[Fe][se]}var Vl=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,t){this.attach(t,this.detach(n))}};function Hu(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function yS(e,n,t){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(n)){let c=n.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=n[i],d=Hu(i,u,i,l,t);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=n[c],p=Hu(s,h,c,f,t);if(p!==0){p<0&&e.updateValue(s,f),s--,c--;continue}let m=t(i,u),y=t(s,h),_=t(i,l);if(Object.is(_,y)){let $=t(c,f);Object.is($,m)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new pa,o??=fg(e,i,s,t),Bl(e,r,i,_))e.updateValue(i,l),i++,s++;else if(o.has(_))r.set(m,e.detach(i)),s--;else{let $=e.create(i,n[i]);e.attach(i,$),i++,s++}}for(;i<=c;)dg(e,r,t,i,n[i]),i++}else if(n!=null){let c=n[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=Hu(i,l,i,d,t);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new pa,o??=fg(e,i,s,t);let f=t(i,d);if(Bl(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let p=t(i,l);r.set(p,e.detach(i)),s--}}}for(;!u.done;)dg(e,r,t,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Bl(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function dg(e,n,t,r,o){if(Bl(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function fg(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var pa=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function eU(e,n){Bt("NgControlFlow");let t=b(),r=Cn(),o=t[r]!==ge?t[r]:-1,i=o!==-1?ga(t,X+o):void 0,s=0;if(_e(t,r,e)){let a=P(null);try{if(i!==void 0&&Nv(i,s),e!==-1){let c=X+e,u=ga(t,c),l=zl(t[O],c),d=Vr(u,l.tView.ssrId),h=Jo(t,l,n,{dehydratedView:d});Xo(u,h,s,jr(l,d))}}finally{P(a)}}else if(i!==void 0){let a=xv(i,s);a!==void 0&&(a[se]=n)}}var Ul=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Ce}};function tU(e){return e}function nU(e,n){return n}var Hl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function rU(e,n,t,r,o,i,s,a,c,u,l,d,h){Bt("NgControlFlow");let f=b(),p=z(),m=c!==void 0,y=b(),_=a?s.bind(y[Fe][se]):s,$=new Hl(m,_);y[X+e]=$,fa(f,p,e+1,n,t,r,o,Dn(p.consts,i)),m&&fa(f,p,e+2,c,u,l,d,Dn(p.consts,h))}var $l=class extends Vl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-Ce}at(n){return this.getLView(n)[se].$implicit}attach(n,t){let r=t[kr];this.needsIndexUpdate||=n!==this.length,Xo(this.lContainer,t,n,jr(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,DS(this.lContainer,n)}create(n,t){let r=Vr(this.lContainer,this.templateTNode.tView.ssrId),o=Jo(this.hostLView,this.templateTNode,new Ul(this.lContainer,t,n),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(n){La(n[O],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[se].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[se].$index=n}getLView(n){return ES(this.lContainer,n)}};function oU(e){let n=P(null),t=pt();try{let r=b(),o=r[O],i=r[t],s=t+1,a=ga(r,s);if(i.liveCollection===void 0){let u=zl(o,s);i.liveCollection=new $l(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(yS(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=Cn(),l=c.length===0;if(_e(r,u,l)){let d=t+2,h=ga(r,d);if(l){let f=zl(o,d),p=Vr(h,f.tView.ssrId),m=Jo(r,f,void 0,{dehydratedView:p});Xo(h,m,0,jr(f,p))}else Nv(h,0)}}}finally{P(n)}}function ga(e,n){return e[n]}function DS(e,n){return zo(e,n)}function ES(e,n){return xv(e,n)}function zl(e,n){return fd(e,n)}function Ze(e,n,t,r){let o=b(),i=z(),s=X+e,a=o[Z],c=i.firstCreatePass?Pv(s,i,o,n,Wd,vd(),t,r):i.data[s],u=wS(i,o,c,a,n,e);o[s]=u;let l=_a(c);return In(c,!0),lv(a,u,c),!Kd(c)&&Na()&&ja(i,o,u,c),(GI()===0||l)&&Kr(u,o),WI(),l&&(Fa(i,o,c),jd(i,c,o)),r!==null&&Gd(o,c),Ze}function vt(){let e=Se();Ed()?wd():(e=e.parent,In(e,!1));let n=e;YI(n)&&QI(),ZI();let t=z();return t.firstCreatePass&&Fv(t,n),n.classesWithoutHost!=null&&cC(n)&&jl(t,n,b(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&uC(n)&&jl(t,n,b(),n.stylesWithoutHost,!1),vt}function xn(e,n,t,r){return Ze(e,n,t,r),vt(),xn}var wS=(e,n,t,r,o,i)=>(Ra(!0),cv(r,o,iC()));function IS(e,n,t,r,o){let i=n.consts,s=Dn(i,r),a=eo(n,e,8,"ng-container",s);s!==null&&_l(a,s,!0);let c=Dn(i,o);return vd()&&tf(n,t,a,c,Wd),a.mergedAttrs=Lr(a.mergedAttrs,a.attrs),n.queries!==null&&n.queries.elementStart(n,a),a}function ri(e,n,t){let r=b(),o=z(),i=e+X,s=o.firstCreatePass?IS(i,o,r,n,t):o.data[i];In(s,!0);let a=bS(o,r,s,e);return r[i]=a,Na()&&ja(o,r,a,s),Kr(a,r),_a(s)&&(Fa(o,r,s),jd(o,s,r)),t!=null&&Gd(r,s),ri}function oi(){let e=Se(),n=z();return Ed()?wd():(e=e.parent,In(e,!1)),n.firstCreatePass&&(Td(n,e),dd(e)&&n.queries.elementEnd(e)),oi}function CS(e,n,t){return ri(e,n,t),oi(),CS}var bS=(e,n,t,r)=>(Ra(!0),Pb(n[Z],""));function vf(){return b()}function TS(e,n,t){let r=b(),o=Cn();if(_e(r,o,n)){let i=z(),s=bn();rr(i,s,r,e,n,r[Z],t,!0)}return TS}function yf(e,n,t){let r=b(),o=Cn();if(_e(r,o,n)){let i=z(),s=bn(),a=om(i.data),c=Xb(a,s,r);rr(i,s,r,e,n,c,t,!0)}return yf}var Hn=void 0;function _S(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var SS=["en",[["a","p"],["AM","PM"],Hn],[["AM","PM"],Hn,Hn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Hn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Hn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Hn,"{1} 'at' {0}",Hn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",_S],$u={};function Ue(e){let n=MS(e),t=hg(n);if(t)return t;let r=n.split("-")[0];if(t=hg(r),t)return t;if(r==="en")return SS;throw new D(701,!1)}function hg(e){return e in $u||($u[e]=pe.ng&&pe.ng.common&&pe.ng.common.locales&&pe.ng.common.locales[e]),$u[e]}var te=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(te||{});function MS(e){return e.toLowerCase().replace(/_/g,"-")}var ma="en-US",xS="USD";var NS=ma;function RS(e){typeof e=="string"&&(NS=e.toLowerCase().replace(/_/g,"-"))}function pg(e,n,t){return function r(o){if(o===Function)return t;let i=Gr(e)?kt(e.index,n):n;ef(i,5);let s=n[se],a=gg(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=gg(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function gg(e,n,t,r){let o=P(null);try{return K(6,n,t),t(r)!==!1}catch(i){return AS(e,i),!1}finally{K(7,n,t),P(o)}}function AS(e,n){let t=e[Pr],r=t?t.get(ft,null):null;r&&r.handleError(n)}function mg(e,n,t,r,o,i){let s=n[t],a=n[O],u=a.data[t].outputs[r],l=s[u],d=a.firstCreatePass?md(a):null,h=gd(n),f=l.subscribe(i),p=h.length;h.push(i,f),d&&d.push(o,e.index,p,-(p+1))}function Nn(e,n,t,r){let o=b(),i=z(),s=Se();return my(i,o,o[Z],s,e,n,r),Nn}function OS(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[Zs],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function my(e,n,t,r,o,i,s){let a=_a(r),u=e.firstCreatePass?md(e):null,l=gd(n),d=!0;if(r.type&3||s){let h=Vt(r,n),f=s?s(h):h,p=l.length,m=s?_=>s(Ot(_[r.index])):r.index,y=null;if(!s&&a&&(y=OS(e,n,o,r.index)),y!==null){let _=y.__ngLastListenerFn__||y;_.__ngNextListenerFn__=i,y.__ngLastListenerFn__=i,d=!1}else{i=pg(r,n,i),ZC(n,f,o,i);let _=t.listen(f,o,i);l.push(i,_),u&&u.push(o,m,p,p+1)}}else i=pg(r,n,i);if(d){let h=r.outputs?.[o],f=r.hostDirectiveOutputs?.[o];if(f&&f.length)for(let p=0;p<f.length;p+=2){let m=f[p],y=f[p+1];mg(r,n,m,y,o,i)}if(h&&h.length)for(let p of h)mg(r,n,p,o,o,i)}}function Ye(e=1){return rC(e)}function kS(e,n){let t=null,r=_b(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?av(e,i,!0):xb(r,i))return o}return t}function iU(e){let n=b()[Fe][je];if(!n.projection){let t=e?e.length:1,r=n.projection=EI(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?kS(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function sU(e,n=0,t,r,o,i){let s=b(),a=z(),c=r?e+1:null;c!==null&&fa(s,a,c,r,o,i,null,t);let u=eo(a,X+e,16,null,t||null);u.projection===null&&(u.projection=n),wd();let d=!s[kr]||Xg();s[Fe][je].projection[u.projection]===null&&c!==null?PS(s,a,c):d&&!Kd(u)&&hT(a,s,u)}function PS(e,n,t){let r=X+t,o=n.data[r],i=e[r],s=Vr(i,o.tView.ssrId),a=Jo(e,o,void 0,{dehydratedView:s});Xo(i,a,0,jr(o,s))}function FS(e,n,t){return vy(e,"",n,"",t),FS}function vy(e,n,t,r,o){let i=b(),s=pf(i,n,t,r);if(s!==ge){let a=z(),c=bn();rr(a,c,i,e,s,i[Z],o,!1)}return vy}function LS(e,n,t,r,o,i,s){let a=b(),c=gf(a,n,t,r,o,i);if(c!==ge){let u=z(),l=bn();rr(u,l,a,e,c,a[Z],s,!1)}return LS}function jS(e,n,t,r,o,i,s,a,c){let u=b(),l=iy(u,n,t,r,o,i,s,a);if(l!==ge){let d=z(),h=bn();rr(d,h,u,e,l,u[Z],c,!1)}return jS}function yy(e,n,t,r){Hv(e,n,t,r)}function aU(e,n,t){Uv(e,n,t)}function Dy(e){let n=b(),t=z(),r=Id();xa(r+1);let o=rf(t,r);if(e.dirty&&UI(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=zv(n,r);e.reset(i,xm),e.notifyOnChanges()}return!0}return!1}function Ey(){return nf(b(),Id())}function cU(e,n,t,r,o){Zv(n,Hv(e,t,r,o))}function uU(e,n,t,r){Zv(e,Uv(n,t,r))}function lU(e=1){xa(Id()+e)}function dU(e){let n=tm();return nr(n,X+e)}function sn(e,n=""){let t=b(),r=z(),o=e+X,i=r.firstCreatePass?eo(r,o,1,n,null):r.data[o],s=VS(r,t,i,n,e);t[o]=s,Na()&&ja(r,t,s,i),In(i,!1)}var VS=(e,n,t,r,o)=>(Ra(!0),Ob(n[Z],r));function BS(e){return an("",e,""),BS}function an(e,n,t){let r=b(),o=pf(r,e,n,t);return o!==ge&&Df(r,pt(),o),an}function US(e,n,t,r,o){let i=b(),s=gf(i,e,n,t,r,o);return s!==ge&&Df(i,pt(),s),US}function HS(e,n,t,r,o,i,s){let a=b(),c=iy(a,e,n,t,r,o,i,s);return c!==ge&&Df(a,pt(),c),HS}function Df(e,n,t){let r=Yg(n,e);kb(e[Z],r,t)}function $S(e,n,t){Rm(n)&&(n=n());let r=b(),o=Cn();if(_e(r,o,n)){let i=z(),s=bn();rr(i,s,r,e,n,r[Z],t,!1)}return $S}function fU(e,n){let t=Rm(e);return t&&e.set(n),t}function zS(e,n){let t=b(),r=z(),o=Se();return my(r,t,t[Z],o,e,n),zS}var wy={};function qS(e){let n=z(),t=b(),r=e+X,o=eo(n,r,128,null,null);return In(o,!1),hd(n,t,r,wy),qS}function hU(e){Bt("NgLet");let n=z(),t=b(),r=pt();return hd(n,t,r,e),e}function pU(e){let n=tm(),t=nr(n,X+e);if(t===wy)throw new D(314,!1);return t}function GS(e,n,t){let r=z();if(r.firstCreatePass){let o=dt(e);ql(t,r.data,r.blueprint,o,!0),ql(n,r.data,r.blueprint,o,!1)}}function ql(e,n,t,r,o){if(e=De(e),Array.isArray(e))for(let i=0;i<e.length;i++)ql(e[i],n,t,r,o);else{let i=z(),s=b(),a=Se(),c=Or(e)?e:De(e.provide),u=Hg(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Or(e)||!e.multi){let f=new Kn(u,o,R),p=qu(c,n,o?l:l+h,d);p===-1?(ol(ta(a,s),i,c),zu(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[p]=f,s[p]=f)}else{let f=qu(c,n,l+h,d),p=qu(c,n,l,l+h),m=f>=0&&t[f],y=p>=0&&t[p];if(o&&!y||!o&&!m){ol(ta(a,s),i,c);let _=YS(o?ZS:WS,t.length,o,r,u);!o&&y&&(t[p].providerFactory=_),zu(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(_),s.push(_)}else{let _=Iy(t[o?p:f],u,!o&&r);zu(i,e,f>-1?f:p,_)}!o&&r&&y&&t[p].componentProviders++}}}function zu(e,n,t,r){let o=Or(n),i=MI(n);if(o||i){let c=(i?De(n.useClass):n).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let l=u.indexOf(t);l===-1?u.push(t,[r,c]):u[l+1].push(r,c)}else u.push(t,c)}}}function Iy(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function qu(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function WS(e,n,t,r,o){return Gl(this.multi,[])}function ZS(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Ho(r,r[O],this.providerFactory.index,o);s=c.slice(0,a),Gl(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Gl(i,s);return s}function Gl(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function YS(e,n,t,r,o){let i=new Kn(e,t,R);return i.multi=[],i.index=n,i.componentProviders=0,Iy(i,o,r&&!t),i}function gU(e,n=[]){return t=>{t.providersResolver=(r,o)=>GS(r,o?o(e):e,n)}}function mU(e,n,t){let r=Ve()+e,o=b();return o[r]===ge?rn(o,r,t?n.call(t):n()):Ua(o,r)}function vU(e,n,t,r){return Cy(b(),Ve(),e,n,t,r)}function yU(e,n,t,r,o){return by(b(),Ve(),e,n,t,r,o)}function DU(e,n,t,r,o,i){return Ty(b(),Ve(),e,n,t,r,o,i)}function EU(e,n,t,r,o,i,s){return _y(b(),Ve(),e,n,t,r,o,i,s)}function wU(e,n,t,r,o,i,s,a){let c=Ve()+e,u=b(),l=Ha(u,c,t,r,o,i);return _e(u,c+4,s)||l?rn(u,c+5,a?n.call(a,t,r,o,i,s):n(t,r,o,i,s)):Ua(u,c+5)}function IU(e,n,t,r,o,i,s,a,c){let u=Ve()+e,l=b(),d=Ha(l,u,t,r,o,i);return Ur(l,u+4,s,a)||d?rn(l,u+6,c?n.call(c,t,r,o,i,s,a):n(t,r,o,i,s,a)):Ua(l,u+6)}function CU(e,n,t,r,o,i,s,a,c,u){let l=Ve()+e,d=b(),h=Ha(d,l,t,r,o,i);return af(d,l+4,s,a,c)||h?rn(d,l+7,u?n.call(u,t,r,o,i,s,a,c):n(t,r,o,i,s,a,c)):Ua(d,l+7)}function bU(e,n,t,r){return Sy(b(),Ve(),e,n,t,r)}function ii(e,n){let t=e[n];return t===ge?void 0:t}function Cy(e,n,t,r,o,i){let s=n+t;return _e(e,s,o)?rn(e,s+1,i?r.call(i,o):r(o)):ii(e,s+1)}function by(e,n,t,r,o,i,s){let a=n+t;return Ur(e,a,o,i)?rn(e,a+2,s?r.call(s,o,i):r(o,i)):ii(e,a+2)}function Ty(e,n,t,r,o,i,s,a){let c=n+t;return af(e,c,o,i,s)?rn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):ii(e,c+3)}function _y(e,n,t,r,o,i,s,a,c){let u=n+t;return Ha(e,u,o,i,s,a)?rn(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):ii(e,u+4)}function Sy(e,n,t,r,o,i){let s=n+t,a=!1;for(let c=0;c<o.length;c++)_e(e,s++,o[c])&&(a=!0);return a?rn(e,s,r.apply(i,o)):ii(e,s)}function TU(e,n){let t=z(),r,o=e+X;t.firstCreatePass?(r=QS(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=qn(r.type,!0)),s,a=ke(R);try{let c=ea(!1),u=i();return ea(c),hd(t,b(),o,u),u}finally{ke(a)}}function QS(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function _U(e,n,t){let r=e+X,o=b(),i=nr(o,r);return si(o,r)?Cy(o,Ve(),n,i.transform,t,i):i.transform(t)}function SU(e,n,t,r){let o=e+X,i=b(),s=nr(i,o);return si(i,o)?by(i,Ve(),n,s.transform,t,r,s):s.transform(t,r)}function MU(e,n,t,r,o){let i=e+X,s=b(),a=nr(s,i);return si(s,i)?Ty(s,Ve(),n,a.transform,t,r,o,a):a.transform(t,r,o)}function xU(e,n,t,r,o,i){let s=e+X,a=b(),c=nr(a,s);return si(a,s)?_y(a,Ve(),n,c.transform,t,r,o,i,c):c.transform(t,r,o,i)}function NU(e,n,t){let r=e+X,o=b(),i=nr(o,r);return si(o,r)?Sy(o,Ve(),n,i.transform,t,i):i.transform.apply(i,t)}function si(e,n){return e[O].data[n].pure}function RU(e,n){return Ba(e,n)}var Ls=null;function KS(e){Ls!==null&&(e.defaultEncapsulation!==Ls.defaultEncapsulation||e.preserveWhitespaces!==Ls.preserveWhitespaces)||(Ls=e)}var Zo=class{full;major;minor;patch;constructor(n){this.full=n;let t=n.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},AU=new Zo("19.2.14"),Wl=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},My=(()=>{class e{compileModuleSync(t){return new da(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Lg(t),i=iv(o.declarations).reduce((s,a)=>{let c=yn(a);return c&&s.push(new Jn(c)),s},[]);return new Wl(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JS=new w("");function XS(e,n,t){let r=new da(t);return Promise.resolve(r)}function vg(e){for(let n=e.length-1;n>=0;n--)if(e[n]!==void 0)return e[n]}var eM=(()=>{class e{zone=g(H);changeDetectionScheduler=g(En);applicationRef=g(qe);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tM({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new H(V(v({},xy()),{scheduleInRootZone:t})),[{provide:H,useFactory:e},{provide:Ar,multi:!0,useFactory:()=>{let r=g(eM,{optional:!0});return()=>r.initialize()}},{provide:Ar,multi:!0,useFactory:()=>{let r=g(nM);return()=>{r.initialize()}}},n===!0?{provide:bm,useValue:!0}:[],{provide:Tm,useValue:t??Cm}]}function xy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var nM=(()=>{class e{subscription=new Y;initialized=!1;zone=g(H);pendingTasks=g(en);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{H.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rM=(()=>{class e{appRef=g(qe);taskService=g(en);ngZone=g(H);zonelessEnabled=g(Md);tracing=g(Xr,{optional:!0});disableScheduling=g(bm,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Y;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ra):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Tm,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof oa||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let r=!1;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Pp:_m;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ra+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Pp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function oM(){return typeof $localize<"u"&&$localize.locale||ma}var oo=new w("",{providedIn:"root",factory:()=>g(oo,j.Optional|j.SkipSelf)||oM()}),Ny=new w("",{providedIn:"root",factory:()=>xS});var va=new w(""),iM=new w("");function Po(e){return!e.moduleRef}function sM(e){let n=Po(e)?e.r3Injector:e.moduleRef.injector,t=n.get(H);return t.run(()=>{Po(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(ft,null),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:i=>{r.handleError(i)}})}),Po(e)){let i=()=>n.destroy(),s=e.platformInjector.get(va);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(va);s.add(i),e.moduleRef.onDestroy(()=>{Hs(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return cM(r,t,()=>{let i=n.get(ry);return i.runInitializers(),i.donePromise.then(()=>{let s=n.get(oo,ma);if(RS(s||ma),!n.get(iM,!0))return Po(e)?n.get(qe):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Po(e)){let c=n.get(qe);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return aM(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function aM(e,n){let t=e.injector.get(qe);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(t);else throw new D(-403,!1);n.push(e)}function cM(e,n,t){try{let r=t();return ro(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}var Ry=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,r){let o=r?.scheduleInRootZone,i=()=>xC(r?.ngZone,V(v({},xy({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[tM({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:En,useExisting:rM}],c=__(t.moduleType,this.injector,a);return sM({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,r=[]){let o=oy({},r);return XS(this.injector,o,t).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let t=this._injector.get(va,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(I(oe))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Vo=null,Ay=new w("");function uM(e){if(Vo&&!Vo.get(Ay,!1))throw new D(400,!1);G_(),Vo=e;let n=e.get(Ry);return fM(e),n}function Ef(e,n,t=[]){let r=`Platform: ${n}`,o=new w(r);return(i=[])=>{let s=Oy();if(!s||s.injector.get(Ay,!1)){let a=[...t,...i,{provide:o,useValue:!0}];e?e(a):uM(lM(a,r))}return dM(o)}}function lM(e=[],n){return oe.create({name:n,providers:[{provide:Ca,useValue:"platform"},{provide:va,useValue:new Set([()=>Vo=null])},...e]})}function dM(e){let n=Oy();if(!n)throw new D(401,!1);return n}function Oy(){return Vo?.get(Ry)??null}function fM(e){let n=e.get(Ad,null);Le(e,()=>{n?.forEach(t=>t())})}function OU(){return!1}var Rn=(()=>{class e{static __NG_ELEMENT_ID__=hM}return e})();function hM(e){return pM(Se(),b(),(e&16)===16)}function pM(e,n,t){if(Gr(e)&&!t){let r=kt(e.index,n);return new qo(r,r)}else if(e.type&175){let r=n[Fe];return new qo(r,n)}return null}var Zl=class{constructor(){}supports(n){return ey(n)}create(n){return new Yl(n)}},gM=(e,n)=>n,Yl=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||gM}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex<yg(r,o,i)?t:r,a=yg(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,p=f+h;l<=p&&p<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!ey(n))throw new D(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,U_(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new Ql(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new ya),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ya),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Ql=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},Kl=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},ya=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Kl,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function yg(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}var Jl=class{constructor(){}supports(n){return n instanceof Map||sf(n)}create(){return new Xl}},Xl=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||sf(n)))throw new D(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new ed(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},ed=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Dg(){return new wf([new Zl])}var wf=(()=>{class e{factories;static \u0275prov=E({token:e,providedIn:"root",factory:Dg});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Dg()),deps:[[e,new Og,new id]]}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new D(901,!1)}}return e})();function Eg(){return new If([new Jl])}var If=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:Eg});factories;constructor(t){this.factories=t}static create(t,r){if(r){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Eg()),deps:[[e,new Og,new id]]}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new D(901,!1)}}return e})();var ky=Ef(null,"core",[]),Py=(()=>{class e{constructor(t){}static \u0275fac=function(r){return new(r||e)(I(qe))};static \u0275mod=mt({type:e});static \u0275inj=ht({})}return e})();function cn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Cf(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}function bf(e){return xu(e)}function kU(e,n){return xs(e,n?.equal)}var td=class{[Ne];constructor(n){this[Ne]=n}destroy(){this[Ne].destroy()}};function mM(e,n){!n?.injector&&ud(mM);let t=n?.injector??g(oe),r=n?.manualCleanup!==!0?t.get(Xt):null,o,i=t.get(Fd,null,{optional:!0}),s=t.get(En);return i!==null&&!n?.forceRoot?(o=DM(i.view,s,e),r instanceof na&&r._lView===i.view&&(r=null)):o=EM(e,t.get(ty),s),o.injector=t,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new td(o)}var Fy=V(v({},Cr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:$o,run(){if(this.dirty=!1,this.hasRun&&!_s(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),n=Ao(this),t=Ks(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ks(t),Ts(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),vM=V(v({},Fy),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Oo(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),yM=V(v({},Fy),{consumerMarkedDirty(){this.view[N]|=8192,Zr(this.view),this.notifier.notify(13)},destroy(){Oo(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Wn]?.delete(this)}});function DM(e,n,t){let r=Object.create(yM);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=t,e[Wn]??=new Set,e[Wn].add(r),r.consumerMarkedDirty(r),r}function EM(e,n,t){let r=Object.create(vM);return r.fn=e,r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function PU(e,n){let t=yn(e),r=n.elementInjector||ba();return new Jn(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector)}function Ly(e){let n=yn(e);if(!n)return null;let t=new Jn(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var ee=new w("");var By=null;function Ut(){return By}function Tf(e){By??=e}var ai=class{},ci=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(Uy),providedIn:"platform"})}return e})(),_f=new w(""),Uy=(()=>{class e extends ci{_location;_history;_doc=g(ee);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ut().getBaseHref(this._doc)}onPopState(t){let r=Ut().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Ut().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ga(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function jy(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Dt(e){return e&&e[0]!=="?"?`?${e}`:e}var Et=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(Za),providedIn:"root"})}return e})(),Wa=new w(""),Za=(()=>{class e extends Et{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ga(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Dt(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(I(ci),I(Wa,8))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),An=(()=>{class e{_subject=new B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=CM(jy(Vy(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Dt(r))}normalize(t){return e.stripTrailingSlash(IM(this._basePath,Vy(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dt(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Dt;static joinWithSlash=Ga;static stripTrailingSlash=jy;static \u0275fac=function(r){return new(r||e)(I(Et))};static \u0275prov=E({token:e,factory:()=>wM(),providedIn:"root"})}return e})();function wM(){return new An(I(Et))}function IM(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Vy(e){return e.replace(/\/index.html$/,"")}function CM(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Ff=(()=>{class e extends Et{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=Ga(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i))||this._platformLocation.pathname;this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i))||this._platformLocation.pathname;this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(I(ci),I(Wa,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Yy={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},oc=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(oc||{});var xe=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(xe||{}),q=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(q||{}),He=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(He||{}),we={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Qy(e){return Ue(e)[te.LocaleId]}function Ky(e,n,t){let r=Ue(e),o=[r[te.DayPeriodsFormat],r[te.DayPeriodsStandalone]],i=nt(o,n);return nt(i,t)}function Jy(e,n,t){let r=Ue(e),o=[r[te.DaysFormat],r[te.DaysStandalone]],i=nt(o,n);return nt(i,t)}function Xy(e,n,t){let r=Ue(e),o=[r[te.MonthsFormat],r[te.MonthsStandalone]],i=nt(o,n);return nt(i,t)}function eD(e,n){let r=Ue(e)[te.Eras];return nt(r,n)}function ui(e,n){let t=Ue(e);return nt(t[te.DateFormat],n)}function li(e,n){let t=Ue(e);return nt(t[te.TimeFormat],n)}function di(e,n){let r=Ue(e)[te.DateTimeFormat];return nt(r,n)}function It(e,n){let t=Ue(e),r=t[te.NumberSymbols][n];if(typeof r>"u"){if(n===we.CurrencyDecimal)return t[te.NumberSymbols][we.Decimal];if(n===we.CurrencyGroup)return t[te.NumberSymbols][we.Group]}return r}function Lf(e,n){return Ue(e)[te.NumberFormats][n]}function bM(e){return Ue(e)[te.Currencies]}function tD(e){if(!e[te.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[te.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function nD(e){let n=Ue(e);return tD(n),(n[te.ExtraData][2]||[]).map(r=>typeof r=="string"?Sf(r):[Sf(r[0]),Sf(r[1])])}function rD(e,n,t){let r=Ue(e);tD(r);let o=[r[te.ExtraData][0],r[te.ExtraData][1]],i=nt(o,n)||[];return nt(i,t)||[]}function nt(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function Sf(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}function oD(e,n,t="en"){let r=bM(t)[e]||Yy[e]||[],o=r[1];return n==="narrow"&&typeof o=="string"?o:r[0]||e}var TM=2;function iD(e){let n,t=Yy[e];return t&&(n=t[2]),typeof n=="number"?n:TM}var _M=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ya={},SM=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function sD(e,n,t,r){let o=FM(e);n=un(t,n)||n;let s=[],a;for(;n;)if(a=SM.exec(n),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;n=l}else{s.push(n);break}let c=o.getTimezoneOffset();r&&(c=cD(r,c),o=PM(o,r));let u="";return s.forEach(l=>{let d=OM(l);u+=d?d(o,t,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ec(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function un(e,n){let t=Qy(e);if(Ya[t]??={},Ya[t][n])return Ya[t][n];let r="";switch(n){case"shortDate":r=ui(e,He.Short);break;case"mediumDate":r=ui(e,He.Medium);break;case"longDate":r=ui(e,He.Long);break;case"fullDate":r=ui(e,He.Full);break;case"shortTime":r=li(e,He.Short);break;case"mediumTime":r=li(e,He.Medium);break;case"longTime":r=li(e,He.Long);break;case"fullTime":r=li(e,He.Full);break;case"short":let o=un(e,"shortTime"),i=un(e,"shortDate");r=Qa(di(e,He.Short),[o,i]);break;case"medium":let s=un(e,"mediumTime"),a=un(e,"mediumDate");r=Qa(di(e,He.Medium),[s,a]);break;case"long":let c=un(e,"longTime"),u=un(e,"longDate");r=Qa(di(e,He.Long),[c,u]);break;case"full":let l=un(e,"fullTime"),d=un(e,"fullDate");r=Qa(di(e,He.Full),[l,d]);break}return r&&(Ya[t][n]=r),r}function Qa(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function wt(e,n,t="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=t));let s=String(e);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),i+s}function MM(e,n){return wt(e,3).substring(0,n)}function ae(e,n,t=0,r=!1,o=!1){return function(i,s){let a=xM(e,i);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return MM(a,n);let c=It(s,we.MinusSign);return wt(a,n,c,r,o)}}function xM(e,n){switch(e){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function J(e,n,t=xe.Format,r=!1){return function(o,i){return NM(o,i,e,n,t,r)}}function NM(e,n,t,r,o,i){switch(t){case 2:return Xy(n,o,r)[e.getMonth()];case 1:return Jy(n,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=nD(n),l=rD(n,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,m=s>=f.hours&&a>=f.minutes,y=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(m&&y)return!0}else if(m||y)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Ky(n,o,r)[s<12?0:1];case 3:return eD(n,r)[e.getFullYear()<=0?0:1];default:let c=t;throw new Error(`unexpected translation type ${c}`)}}function Ka(e){return function(n,t,r){let o=-1*r,i=It(t,we.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+wt(s,2,i)+wt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+wt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+wt(s,2,i)+":"+wt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+wt(s,2,i)+":"+wt(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var RM=0,Xa=4;function AM(e){let n=ec(e,RM,1).getDay();return ec(e,0,1+(n<=Xa?Xa:Xa+7)-n)}function aD(e){let n=e.getDay(),t=n===0?-3:Xa-n;return ec(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Mf(e,n=!1){return function(t,r){let o;if(n){let i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{let i=aD(t),s=AM(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return wt(o,e,It(r,we.MinusSign))}}function Ja(e,n=!1){return function(t,r){let i=aD(t).getFullYear();return wt(i,e,It(r,we.MinusSign),n)}}var xf={};function OM(e){if(xf[e])return xf[e];let n;switch(e){case"G":case"GG":case"GGG":n=J(3,q.Abbreviated);break;case"GGGG":n=J(3,q.Wide);break;case"GGGGG":n=J(3,q.Narrow);break;case"y":n=ae(0,1,0,!1,!0);break;case"yy":n=ae(0,2,0,!0,!0);break;case"yyy":n=ae(0,3,0,!1,!0);break;case"yyyy":n=ae(0,4,0,!1,!0);break;case"Y":n=Ja(1);break;case"YY":n=Ja(2,!0);break;case"YYY":n=Ja(3);break;case"YYYY":n=Ja(4);break;case"M":case"L":n=ae(1,1,1);break;case"MM":case"LL":n=ae(1,2,1);break;case"MMM":n=J(2,q.Abbreviated);break;case"MMMM":n=J(2,q.Wide);break;case"MMMMM":n=J(2,q.Narrow);break;case"LLL":n=J(2,q.Abbreviated,xe.Standalone);break;case"LLLL":n=J(2,q.Wide,xe.Standalone);break;case"LLLLL":n=J(2,q.Narrow,xe.Standalone);break;case"w":n=Mf(1);break;case"ww":n=Mf(2);break;case"W":n=Mf(1,!0);break;case"d":n=ae(2,1);break;case"dd":n=ae(2,2);break;case"c":case"cc":n=ae(7,1);break;case"ccc":n=J(1,q.Abbreviated,xe.Standalone);break;case"cccc":n=J(1,q.Wide,xe.Standalone);break;case"ccccc":n=J(1,q.Narrow,xe.Standalone);break;case"cccccc":n=J(1,q.Short,xe.Standalone);break;case"E":case"EE":case"EEE":n=J(1,q.Abbreviated);break;case"EEEE":n=J(1,q.Wide);break;case"EEEEE":n=J(1,q.Narrow);break;case"EEEEEE":n=J(1,q.Short);break;case"a":case"aa":case"aaa":n=J(0,q.Abbreviated);break;case"aaaa":n=J(0,q.Wide);break;case"aaaaa":n=J(0,q.Narrow);break;case"b":case"bb":case"bbb":n=J(0,q.Abbreviated,xe.Standalone,!0);break;case"bbbb":n=J(0,q.Wide,xe.Standalone,!0);break;case"bbbbb":n=J(0,q.Narrow,xe.Standalone,!0);break;case"B":case"BB":case"BBB":n=J(0,q.Abbreviated,xe.Format,!0);break;case"BBBB":n=J(0,q.Wide,xe.Format,!0);break;case"BBBBB":n=J(0,q.Narrow,xe.Format,!0);break;case"h":n=ae(3,1,-12);break;case"hh":n=ae(3,2,-12);break;case"H":n=ae(3,1);break;case"HH":n=ae(3,2);break;case"m":n=ae(4,1);break;case"mm":n=ae(4,2);break;case"s":n=ae(5,1);break;case"ss":n=ae(5,2);break;case"S":n=ae(6,1);break;case"SS":n=ae(6,2);break;case"SSS":n=ae(6,3);break;case"Z":case"ZZ":case"ZZZ":n=Ka(0);break;case"ZZZZZ":n=Ka(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Ka(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=Ka(2);break;default:return null}return xf[e]=n,n}function cD(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function kM(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function PM(e,n,t){let o=e.getTimezoneOffset(),i=cD(n,o);return kM(e,-1*(i-o))}function FM(e){if(Hy(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return ec(o,i-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(_M))return LM(r)}let n=new Date(e);if(!Hy(n))throw new Error(`Unable to convert "${e}" into a date`);return n}function LM(e){let n=new Date(0),t=0,r=0,o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(n,s,a,c,u),n}function Hy(e){return e instanceof Date&&!isNaN(e.valueOf())}var jM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,$y=22,tc=".",fi="0",VM=";",BM=",",Nf="#",zy="\xA4";function uD(e,n,t,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=It(t,we.Infinity);else{let u=HM(e);s&&(u=UM(u));let l=n.minInt,d=n.minFrac,h=n.maxFrac;if(i){let $=i.match(jM);if($===null)throw new Error(`${i} is not a valid digit info`);let ne=$[1],jn=$[3],Hi=$[5];ne!=null&&(l=Rf(ne)),jn!=null&&(d=Rf(jn)),Hi!=null?h=Rf(Hi):jn!=null&&d>h&&(h=d)}$M(u,d,h);let f=u.digits,p=u.integerLen,m=u.exponent,y=[];for(c=f.every($=>!$);p<l;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?y=f.splice(p,f.length):(y=f,f=[0]);let _=[];for(f.length>=n.lgSize&&_.unshift(f.splice(-n.lgSize,f.length).join(""));f.length>n.gSize;)_.unshift(f.splice(-n.gSize,f.length).join(""));f.length&&_.unshift(f.join("")),a=_.join(It(t,r)),y.length&&(a+=It(t,o)+y.join("")),m&&(a+=It(t,we.Exponential)+"+"+m)}return e<0&&!c?a=n.negPre+a+n.negSuf:a=n.posPre+a+n.posSuf,a}function lD(e,n,t,r,o){let i=Lf(n,oc.Currency),s=fD(i,It(n,we.MinusSign));return s.minFrac=iD(r),s.maxFrac=s.minFrac,uD(e,s,n,we.CurrencyGroup,we.CurrencyDecimal,o).replace(zy,t).replace(zy,"").trim()}function dD(e,n,t){let r=Lf(n,oc.Decimal),o=fD(r,It(n,we.MinusSign));return uD(e,o,n,we.Group,we.Decimal,t)}function fD(e,n="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(VM),o=r[0],i=r[1],s=o.indexOf(tc)!==-1?o.split(tc):[o.substring(0,o.lastIndexOf(fi)+1),o.substring(o.lastIndexOf(fi)+1)],a=s[0],c=s[1]||"";t.posPre=a.substring(0,a.indexOf(Nf));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===fi?t.minFrac=t.maxFrac=l+1:d===Nf?t.maxFrac=l+1:t.posSuf+=d}let u=a.split(BM);if(t.gSize=u[1]?u[1].length:0,t.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-t.posPre.length-t.posSuf.length,d=i.indexOf(Nf);t.negPre=i.substring(0,d).replace(/'/g,""),t.negSuf=i.slice(d+l).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}function UM(e){if(e.digits[0]===0)return e;let n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(n===0?e.digits.push(0,0):n===1&&e.digits.push(0),e.integerLen+=2),e}function HM(e){let n=Math.abs(e)+"",t=0,r,o,i,s,a;for((o=n.indexOf(tc))>-1&&(n=n.replace(tc,"")),(i=n.search(/e/i))>0?(o<0&&(o=i),o+=+n.slice(i+1),n=n.substring(0,i)):o<0&&(o=n.length),i=0;n.charAt(i)===fi;i++);if(i===(a=n.length))r=[0],o=1;else{for(a--;n.charAt(a)===fi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(n.charAt(i))}return o>$y&&(r=r.splice(0,$y-1),t=o-1,o=1),{digits:r,exponent:t,integerLen:o}}function $M(e,n,t){if(n>t)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${t}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(n,o),t),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=n+e.integerLen,l=r.reduceRight(function(d,h,f,p){return h=h+d,p[f]=h<10?h:h-10,c&&(p[f]===0&&f>=u?p.pop():c=!1),h>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Rf(e){let n=parseInt(e);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+e);return n}var Af=/\s+/,qy=[],zM=(()=>{class e{_ngEl;_renderer;initialClasses=qy;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Af):qy}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Af):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>0&&t.split(Af).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(R(Ge),R(Tn))};static \u0275dir=Ee({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),qM=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Qv(this.ngComponentOutletNgModule,Gy(r)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Gy(r)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[r,o]of this._inputsUsed)o?(t.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(t.setInput(r,void 0),this._inputsUsed.delete(r))}static \u0275fac=function(r){return new(r||e)(R(gt))};static \u0275dir=Ee({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[jt]})}return e})();function Gy(e){return e.get(Xn).injector}var nc=class{$implicit;ngForOf;index;count;constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},hD=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new nc(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Wy(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}t.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Wy(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(R(gt),R(wn),R(wf))};static \u0275dir=Ee({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Wy(e,n){e.context.$implicit=n.item}var ic=(()=>{class e{_viewContainer;_context=new rc;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Zy(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Zy(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(R(gt),R(wn))};static \u0275dir=Ee({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),rc=class{$implicit=null;ngIf=null};function Zy(e,n){if(e&&!e.createEmbeddedView)throw new D(2020,!1)}var Of=class{_viewContainerRef;_templateRef;_created=!1;constructor(n,t){this._viewContainerRef=n,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}},pD=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let r=t===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let r of this._defaultViews)r.enforceState(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ee({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),GM=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(t,r,o){this.ngSwitch=o,o._addCase(),this._view=new Of(t,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(r){return new(r||e)(R(gt),R(wn),R(pD,9))};static \u0275dir=Ee({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})();var WM=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,r,o){this._ngEl=t,this._differs=r,this._renderer=o}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[o,i]=t.split("."),s=o.indexOf("-")===-1?void 0:Ft.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(R(Ge),R(If),R(Tn))};static \u0275dir=Ee({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),ZM=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(R(gt))};static \u0275dir=Ee({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[jt]})}return e})();function io(e,n){return new D(2100,!1)}var kf=class{createSubscription(n,t){return bf(()=>n.subscribe({next:t,error:r=>{throw r}}))}dispose(n){bf(()=>n.unsubscribe())}},Pf=class{createSubscription(n,t){return n.then(r=>t?.(r),r=>{throw r}),{unsubscribe:()=>{t=null}}}dispose(n){n.unsubscribe()}},YM=new Pf,QM=new kf,KM=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r))}_selectStrategy(t){if(ro(t))return YM;if(df(t))return QM;throw io(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(R(Rn,16))};static \u0275pipe=_n({name:"async",type:e,pure:!1})}return e})();var JM=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw io(e,t);return t.toUpperCase()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=_n({name:"uppercase",type:e,pure:!0})}return e})(),XM="mediumDate",gD=new w(""),mD=new w(""),e0=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}transform(t,r,o,i){if(t==null||t===""||t!==t)return null;try{let s=r??this.defaultOptions?.dateFormat??XM,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return sD(t,s,i||this.locale,a)}catch(s){throw io(e,s.message)}}static \u0275fac=function(r){return new(r||e)(R(oo,16),R(gD,24),R(mD,24))};static \u0275pipe=_n({name:"date",type:e,pure:!0})}return e})();var t0=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=_n({name:"json",type:e,pure:!1})}return e})();var n0=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,r,o){if(!vD(t))return null;o||=this._locale;try{let i=yD(t);return dD(i,o,r)}catch(i){throw io(e,i.message)}}static \u0275fac=function(r){return new(r||e)(R(oo,16))};static \u0275pipe=_n({name:"number",type:e,pure:!0})}return e})();var r0=(()=>{class e{_locale;_defaultCurrencyCode;constructor(t,r="USD"){this._locale=t,this._defaultCurrencyCode=r}transform(t,r=this._defaultCurrencyCode,o="symbol",i,s){if(!vD(t))return null;s||=this._locale,typeof o=="boolean"&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?a=oD(a,o==="symbol"?"wide":"narrow",s):a=o);try{let c=yD(t);return lD(c,s,a,r,i)}catch(c){throw io(e,c.message)}}static \u0275fac=function(r){return new(r||e)(R(oo,16),R(Ny,16))};static \u0275pipe=_n({name:"currency",type:e,pure:!0})}return e})();function vD(e){return!(e==null||e===""||e!==e)}function yD(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var o0=(()=>{class e{transform(t,r,o){if(t==null)return null;if(!(typeof t=="string"||Array.isArray(t)))throw io(e,t);return t.slice(r,o)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=_n({name:"slice",type:e,pure:!1})}return e})();var jf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=mt({type:e});static \u0275inj=ht({})}return e})();function hi(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var sc="browser",DD="server";function i0(e){return e===sc}function ac(e){return e===DD}var or=class{};var wD=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new Vf(g(ee),window)})}return e})(),Vf=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let t=s0(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function s0(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var ID=e=>e.src,a0=new w("",{providedIn:"root",factory:()=>ID});var ED=/^((\s*\d+w\s*(,|$)){1,})$/;var c0=[1,2],u0=640;var l0=1920,d0=1080;var V2=(()=>{class e{imageLoader=g(a0);config=f0(g(Bm));renderer=g(Tn);imgElement=g(Ge).nativeElement;injector=g(oe);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){Bt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&ED.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(t){let r=t;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=ED.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=t?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,r=t;return this.sizes?.trim()==="100vw"&&(r=t.filter(i=>i>=u0)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return c0.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>l0||this.height>d0),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==ID&&!t}generatePlaceholder(t){let{placeholderResolution:r}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let r=()=>{let s=this.injector.get(Rn);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(t,"load",r),i=this.renderer.listen(t,"error",r);h0(t,r)}setHostAttribute(t,r){this.renderer.setAttribute(this.imgElement,t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ee({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&Mn("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",p0],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Cf],height:[2,"height","height",Cf],loading:"loading",priority:[2,"priority","priority",cn],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",cn],fill:[2,"fill","fill",cn],placeholder:[2,"placeholder","placeholder",g0],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[jt]})}return e})();function f0(e){let n={};return e.breakpoints&&(n.breakpoints=e.breakpoints.sort((t,r)=>t-r)),Object.assign({},kd,e,n)}function h0(e,n){e.complete&&e.naturalWidth&&n()}function p0(e){return typeof e=="string"?e:Be(e)}function g0(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:cn(e)}var lc=new w(""),$f=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(I(lc),I(H))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),pi=class{_doc;constructor(n){this._doc=n}manager},cc="ng-app-id";function CD(e){for(let n of e)n.remove()}function bD(e,n){let t=n.createElement("style");return t.textContent=e,t}function v0(e,n,t,r){let o=e.head?.querySelectorAll(`style[${cc}="${n}"],link[${cc}="${n}"]`);if(o)for(let i of o)i.removeAttribute(cc),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function Uf(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var zf=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.isServer=ac(i),v0(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,bD);r?.forEach(o=>this.addUsage(o,this.external,Uf))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(CD(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])CD(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,bD(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Uf(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(cc,this.appId),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(I(ee),I(Rd),I(Od,8),I(Jr))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Bf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},qf=/%COMP%/g;var _D="%COMP%",y0=`_nghost-${_D}`,D0=`_ngcontent-${_D}`,E0=!0,w0=new w("",{providedIn:"root",factory:()=>E0});function I0(e){return D0.replace(qf,e)}function C0(e){return y0.replace(qf,e)}function SD(e,n){return n.map(t=>t.replace(qf,e))}var Gf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,r,o,i,s,a,c,u=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=ac(a),this.defaultRenderer=new gi(t,s,c,this.platformIsServer,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Pt.ShadowDom&&(r=V(v({},r),{encapsulation:Pt.Emulated}));let o=this.getOrCreateRenderer(t,r);return o instanceof uc?o.applyToHost(t):o instanceof mi&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case Pt.Emulated:i=new uc(c,u,r,this.appId,l,s,a,d,h);break;case Pt.ShadowDom:return new Hf(c,u,t,r,s,a,this.nonce,d,h);default:i=new mi(c,u,r,l,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(I($f),I(zf),I(Rd),I(w0),I(ee),I(Jr),I(H),I(Od),I(Xr,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),gi=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Bf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(TD(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(TD(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new D(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Bf[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Bf[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(Ft.DashCase|Ft.Important)?n.style.setProperty(t,r,o&Ft.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Ft.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=Ut().getGlobalEventTarget(this.doc,n),!n))throw new D(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))===!1&&t.preventDefault()}}};function TD(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Hf=class extends gi{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,r,o,i,s,a,c,u){super(n,i,s,c,u),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=SD(o.id,l);for(let h of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=Uf(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},mi=class extends gi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c,u){super(n,i,s,a,c),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?SD(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},uc=class extends mi{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,u,l),this.contentAttr=I0(l),this.hostAttr=C0(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var dc=class e extends ai{supportsDOMEvents=!0;static makeCurrent(){Tf(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=b0();return t==null?null:T0(t)}resetBaseElement(){vi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return hi(document.cookie,n)}},vi=null;function b0(){return vi=vi||document.head.querySelector("base"),vi?vi.getAttribute("href"):null}function T0(e){return new URL(e,document.baseURI).pathname}var fc=class{addToWindow(n){pe.getAngularTestability=(r,o=!0)=>{let i=n.findTestabilityInTree(r,o);if(i==null)throw new D(5103,!1);return i},pe.getAllAngularTestabilities=()=>n.getAllTestabilities(),pe.getAllAngularRootElements=()=>n.getAllRootElements();let t=r=>{let o=pe.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};pe.frameworkStabilizers||(pe.frameworkStabilizers=[]),pe.frameworkStabilizers.push(t)}findTestabilityInTree(n,t,r){if(t==null)return null;let o=n.getTestability(t);return o??(r?Ut().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},_0=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),xD=(()=>{class e extends pi{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(I(ee))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),MD=["alt","control","meta","shift"],S0={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},M0={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},ND=(()=>{class e extends pi{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ut().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),MD.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=S0[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),MD.forEach(s=>{if(s!==o){let a=M0[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(I(ee))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function x0(){dc.makeCurrent()}function N0(){return new ft}function R0(){return jm(document),document}var A0=[{provide:Jr,useValue:sc},{provide:Ad,useValue:x0,multi:!0},{provide:ee,useFactory:R0}],O0=Ef(ky,"browser",A0);var k0=[{provide:ni,useClass:fc},{provide:uf,useClass:$a,deps:[H,za,ni]},{provide:$a,useClass:$a,deps:[H,za,ni]}],P0=[{provide:Ca,useValue:"root"},{provide:ft,useFactory:N0},{provide:lc,useClass:xD,multi:!0,deps:[ee]},{provide:lc,useClass:ND,multi:!0,deps:[ee]},Gf,zf,$f,{provide:Br,useExisting:Gf},{provide:or,useClass:_0},[]],F0=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=mt({type:e});static \u0275inj=ht({providers:[...P0,...k0],imports:[jf,Py]})}return e})();var ao=class{},yi=class{},me=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
8
|
+
`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var pc=class{encodeKey(n){return RD(n)}encodeValue(n){return RD(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function L0(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var j0=/%(\d[a-f0-9])/gi,V0={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function RD(e){return encodeURIComponent(e).replace(j0,(n,t)=>V0[t]??n)}function hc(e){return`${e}`}var Ct=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new pc,n.fromString){if(n.fromObject)throw new D(2805,!1);this.map=L0(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(hc):[hc(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(hc(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(hc(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var gc=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function B0(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function AD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function OD(e){return typeof Blob<"u"&&e instanceof Blob}function kD(e){return typeof FormData<"u"&&e instanceof FormData}function U0(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var PD="Content-Type",FD="Accept",LD="X-Request-URL",jD="text/plain",VD="application/json",H0=`${VD}, ${jD}, */*`,so=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(B0(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new me,this.context??=new gc,!this.params)this.params=new Ct,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||AD(this.body)||OD(this.body)||kD(this.body)||U0(this.body)?this.body:this.body instanceof Ct?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||kD(this.body)?null:OD(this.body)?this.body.type||null:AD(this.body)?null:typeof this.body=="string"?jD:this.body instanceof Ct?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?VD:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,c=n.reportProgress??this.reportProgress,u=n.headers||this.headers,l=n.params||this.params,d=n.context??this.context;return n.setHeaders!==void 0&&(u=Object.keys(n.setHeaders).reduce((h,f)=>h.set(f,n.setHeaders[f]),u)),n.setParams&&(l=Object.keys(n.setParams).reduce((h,f)=>h.set(f,n.setParams[f]),l)),new e(t,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},ir=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(ir||{}),co=class{headers;status;statusText;url;ok;type;constructor(n,t=200,r="OK"){this.headers=n.headers||new me,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},mc=class e extends co{constructor(n={}){super(n)}type=ir.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Di=class e extends co{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=ir.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Ei=class extends co{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},$0=200,z0=204;function Wf(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var yc=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof so)i=t;else{let c;o.headers instanceof me?c=o.headers:c=new me(o.headers);let u;o.params&&(o.params instanceof Ct?u=o.params:u=new Ct({fromObject:o.params})),i=new so(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=M(i).pipe(ct(c=>this.handler.handle(c)));if(t instanceof so||o.observe==="events")return s;let a=s.pipe(re(c=>c instanceof Di));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new D(2806,!1);return c.body}));case"blob":return a.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new D(2807,!1);return c.body}));case"text":return a.pipe(A(c=>{if(c.body!==null&&typeof c.body!="string")throw new D(2808,!1);return c.body}));case"json":default:return a.pipe(A(c=>c.body))}case"response":return a;default:throw new D(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Ct().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,Wf(o,r))}post(t,r,o={}){return this.request("POST",t,Wf(o,r))}put(t,r,o={}){return this.request("PUT",t,Wf(o,r))}static \u0275fac=function(r){return new(r||e)(I(ao))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var q0=new w("");function G0(e,n){return n(e)}function W0(e,n,t){return(r,o)=>Le(t,()=>n(r,i=>e(i,o)))}var Yf=new w(""),BD=new w(""),UD=new w("",{providedIn:"root",factory:()=>!0});var vc=(()=>{class e extends ao{backend;injector;chain=null;pendingTasks=g(en);contributeToStability=g(UD);constructor(t,r){super(),this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Yf),...this.injector.get(BD,[])]));this.chain=r.reduceRight((o,i)=>W0(o,i,this.injector),G0)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(gn(()=>this.pendingTasks.remove(r)))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(I(yi),I(be))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var Z0=/^\)\]\}',?\n/,Y0=RegExp(`^${LD}:`,"m");function Q0(e){return"responseURL"in e&&e.responseURL?e.responseURL:Y0.test(e.getAllResponseHeaders())?e.getResponseHeader(LD):null}var Zf=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new D(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?G(r.\u0275loadImpl()):M(null)).pipe(ie(()=>new x(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((m,y)=>s.setRequestHeader(m,y.join(","))),t.headers.has(FD)||s.setRequestHeader(FD,H0),!t.headers.has(PD)){let m=t.detectContentTypeHeader();m!==null&&s.setRequestHeader(PD,m)}if(t.responseType){let m=t.responseType.toLowerCase();s.responseType=m!=="json"?m:"text"}let a=t.serializeBody(),c=null,u=()=>{if(c!==null)return c;let m=s.statusText||"OK",y=new me(s.getAllResponseHeaders()),_=Q0(s)||t.url;return c=new mc({headers:y,status:s.status,statusText:m,url:_}),c},l=()=>{let{headers:m,status:y,statusText:_,url:$}=u(),ne=null;y!==z0&&(ne=typeof s.response>"u"?s.responseText:s.response),y===0&&(y=ne?$0:0);let jn=y>=200&&y<300;if(t.responseType==="json"&&typeof ne=="string"){let Hi=ne;ne=ne.replace(Z0,"");try{ne=ne!==""?JSON.parse(ne):null}catch(GE){ne=Hi,jn&&(jn=!1,ne={error:GE,text:ne})}}jn?(i.next(new Di({body:ne,headers:m,status:y,statusText:_,url:$||void 0})),i.complete()):i.error(new Ei({error:ne,headers:m,status:y,statusText:_,url:$||void 0}))},d=m=>{let{url:y}=u(),_=new Ei({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(_)},h=!1,f=m=>{h||(i.next(u()),h=!0);let y={type:ir.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),t.responseType==="text"&&s.responseText&&(y.partialText=s.responseText),i.next(y)},p=m=>{let y={type:ir.UploadProgress,loaded:m.loaded};m.lengthComputable&&(y.total=m.total),i.next(y)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:ir.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(I(or))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),HD=new w(""),K0="XSRF-TOKEN",J0=new w("",{providedIn:"root",factory:()=>K0}),X0="X-XSRF-TOKEN",ex=new w("",{providedIn:"root",factory:()=>X0}),wi=class{},tx=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,r){this.doc=t,this.cookieName=r}getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=hi(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)(I(ee),I(J0))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function nx(e,n){let t=e.url.toLowerCase();if(!g(HD)||e.method==="GET"||e.method==="HEAD"||t.startsWith("http://")||t.startsWith("https://"))return n(e);let r=g(wi).getToken(),o=g(ex);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var Qf=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Qf||{});function rx(e,n){return{\u0275kind:e,\u0275providers:n}}function ox(...e){let n=[yc,Zf,vc,{provide:ao,useExisting:vc},{provide:yi,useFactory:()=>g(q0,{optional:!0})??g(Zf)},{provide:Yf,useValue:nx,multi:!0},{provide:HD,useValue:!0},{provide:wi,useClass:tx}];for(let t of e)n.push(...t.\u0275providers);return tr(n)}function ix(e){return rx(Qf.Interceptors,e.map(n=>({provide:Yf,useValue:n,multi:!0})))}var $D=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(I(ee))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Kf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=I(ax),o},providedIn:"root"})}return e})(),ax=(()=>{class e extends Kf{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case We.NONE:return r;case We.HTML:return tn(r,"HTML")?Be(r):Vd(this._doc,String(r)).toString();case We.STYLE:return tn(r,"Style")?Be(r):r;case We.SCRIPT:if(tn(r,"Script"))return Be(r);throw new D(5200,!1);case We.URL:return tn(r,"URL")?Be(r):ka(String(r));case We.RESOURCE_URL:if(tn(r,"ResourceURL"))return Be(r);throw new D(5201,!1);default:throw new D(5202,!1)}}bypassSecurityTrustHtml(t){return Zm(t)}bypassSecurityTrustStyle(t){return Ym(t)}bypassSecurityTrustScript(t){return Qm(t)}bypassSecurityTrustUrl(t){return Km(t)}bypassSecurityTrustResourceUrl(t){return Jm(t)}static \u0275fac=function(r){return new(r||e)(I(ee))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var L="primary",ki=Symbol("RouteTitle"),nh=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function cr(e){return new nh(e)}function JD(e,n,t){let r=t.path.split("/");if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function cx(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!Ht(e[t],n[t]))return!1;return!0}function Ht(e,n){let t=e?rh(e):void 0,r=n?rh(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!XD(e[o],n[o]))return!1;return!0}function rh(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function XD(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((o,i)=>r[i]===o)}else return e===n}function eE(e){return e.length>0?e[e.length-1]:null}function Ln(e){return fu(e)?e:ro(e)?G(Promise.resolve(e)):M(e)}var ux={exact:nE,subset:rE},tE={exact:lx,subset:dx,ignored:()=>!0};function qD(e,n,t){return ux[t.paths](e.root,n.root,t.matrixParams)&&tE[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function lx(e,n){return Ht(e,n)}function nE(e,n,t){if(!sr(e.segments,n.segments)||!wc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!nE(e.children[r],n.children[r],t))return!1;return!0}function dx(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>XD(e[t],n[t]))}function rE(e,n,t){return oE(e,n,n.segments,t)}function oE(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!sr(o,t)||n.hasChildren()||!wc(o,t,r))}else if(e.segments.length===t.length){if(!sr(e.segments,t)||!wc(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!rE(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!sr(e.segments,o)||!wc(e.segments,o,r)||!e.children[L]?!1:oE(e.children[L],n,i,r)}}function wc(e,n,t){return n.every((r,o)=>tE[t](e[o].parameters,r.parameters))}var zt=class{root;queryParams;fragment;_queryParamMap;constructor(n=new U([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=cr(this.queryParams),this._queryParamMap}toString(){return px.serialize(this)}},U=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ic(this)}},On=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=cr(this.parameters),this._parameterMap}toString(){return sE(this)}};function fx(e,n){return sr(e,n)&&e.every((t,r)=>Ht(t.parameters,n[r].parameters))}function sr(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function hx(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===L&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==L&&(t=t.concat(n(o,r)))}),t}var ur=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new kn,providedIn:"root"})}return e})(),kn=class{parse(n){let t=new ih(n);return new zt(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${Ii(n.root,!0)}`,r=vx(n.queryParams),o=typeof n.fragment=="string"?`#${gx(n.fragment)}`:"";return`${t}${r}${o}`}},px=new kn;function Ic(e){return e.segments.map(n=>sE(n)).join("/")}function Ii(e,n){if(!e.hasChildren())return Ic(e);if(n){let t=e.children[L]?Ii(e.children[L],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==L&&r.push(`${o}:${Ii(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=hx(e,(r,o)=>o===L?[Ii(e.children[L],!1)]:[`${o}:${Ii(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[L]!=null?`${Ic(e)}/${t[0]}`:`${Ic(e)}/(${t.join("//")})`}}function iE(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dc(e){return iE(e).replace(/%3B/gi,";")}function gx(e){return encodeURI(e)}function oh(e){return iE(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Cc(e){return decodeURIComponent(e)}function GD(e){return Cc(e.replace(/\+/g,"%20"))}function sE(e){return`${oh(e.path)}${mx(e.parameters)}`}function mx(e){return Object.entries(e).map(([n,t])=>`;${oh(n)}=${oh(t)}`).join("")}function vx(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${Dc(t)}=${Dc(o)}`).join("&"):`${Dc(t)}=${Dc(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var yx=/^[^\/()?;#]+/;function Jf(e){let n=e.match(yx);return n?n[0]:""}var Dx=/^[^\/()?;=#]+/;function Ex(e){let n=e.match(Dx);return n?n[0]:""}var wx=/^[^=?&#]+/;function Ix(e){let n=e.match(wx);return n?n[0]:""}var Cx=/^[^&#]+/;function bx(e){let n=e.match(Cx);return n?n[0]:""}var ih=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[L]=new U(n,t)),r}parseSegment(){let n=Jf(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(n),new On(Cc(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=Ex(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=Jf(this.remaining);o&&(r=o,this.capture(r))}n[Cc(t)]=Cc(r)}parseQueryParam(n){let t=Ix(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=bx(this.remaining);s&&(r=s,this.capture(r))}let o=GD(t),i=GD(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Jf(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new D(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=L);let s=this.parseChildren();t[i]=Object.keys(s).length===1?s[L]:new U([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new D(4011,!1)}};function aE(e){return e.segments.length>0?new U([],{[L]:e}):e}function cE(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=cE(o);if(r===L&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new U(e.segments,n);return Tx(t)}function Tx(e){if(e.numberOfChildren===1&&e.children[L]){let n=e.children[L];return new U(e.segments.concat(n.segments),n.children)}return e}function Pn(e){return e instanceof zt}function uE(e,n,t=null,r=null){let o=lE(e);return dE(o,n,t,r)}function lE(e){let n;function t(i){let s={};for(let c of i.children){let u=t(c);s[c.outlet]=u}let a=new U(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=aE(r);return n??o}function dE(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(n.length===0)return Xf(o,o,o,t,r);let i=_x(n);if(i.toRoot())return Xf(o,o,new U([],{}),t,r);let s=Sx(i,o,e),a=s.processChildren?bi(s.segmentGroup,s.index,i.commands):hE(s.segmentGroup,s.index,i.commands);return Xf(o,s.segmentGroup,a,t,r)}function Tc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function _i(e){return typeof e=="object"&&e!=null&&e.outlets}function Xf(e,n,t,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===n?s=t:s=fE(e,n,t);let a=aE(cE(s));return new zt(a,i,o)}function fE(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=fE(i,n,t)}),new U(e.segments,r)}var _c=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Tc(r[0]))throw new D(4003,!1);let o=r.find(_i);if(o&&o!==eE(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function _x(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new _c(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new _c(t,n,r)}var fo=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function Sx(e,n,t){if(e.isAbsolute)return new fo(n,!0,0);if(!t)return new fo(n,!1,NaN);if(t.parent===null)return new fo(t,!0,0);let r=Tc(e.commands[0])?0:1,o=t.segments.length-1+r;return Mx(t,o,e.numberOfDoubleDots)}function Mx(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new D(4005,!1);o=r.segments.length}return new fo(r,!1,o-i)}function xx(e){return _i(e[0])?e[0].outlets:{[L]:e}}function hE(e,n,t){if(e??=new U([],{}),e.segments.length===0&&e.hasChildren())return bi(e,n,t);let r=Nx(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new U(e.segments.slice(0,r.pathIndex),{});return i.children[L]=new U(e.segments.slice(r.pathIndex),e.children),bi(i,0,o)}else return r.match&&o.length===0?new U(e.segments,{}):r.match&&!e.hasChildren()?sh(e,n,t):r.match?bi(e,0,o):sh(e,n,t)}function bi(e,n,t){if(t.length===0)return new U(e.segments,{});{let r=xx(t),o={};if(Object.keys(r).some(i=>i!==L)&&e.children[L]&&e.numberOfChildren===1&&e.children[L].segments.length===0){let i=bi(e.children[L],n,t);return new U(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=hE(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new U(e.segments,o)}}function Nx(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;let s=e.segments[o],a=t[r];if(_i(a))break;let c=`${a}`,u=r<t.length-1?t[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!ZD(c,u,s))return i;r+=2}else{if(!ZD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function sh(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(_i(i)){let c=Rx(i.outlets);return new U(r,c)}if(o===0&&Tc(t[0])){let c=e.segments[n];r.push(new On(c.path,WD(t[0]))),o++;continue}let s=_i(i)?i.outlets[L]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&Tc(a)?(r.push(new On(s,WD(a))),o+=2):(r.push(new On(s,{})),o++)}return new U(r,{})}function Rx(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=sh(new U([],{}),0,r))}),n}function WD(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function ZD(e,n,t){return e==t.path&&Ht(n,t.parameters)}var bc="imperative",fe=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(fe||{}),Ke=class{id;url;constructor(n,t){this.id=n,this.url=t}},Fn=class extends Ke{type=fe.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Je=class extends Ke{urlAfterRedirects;type=fe.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},$e=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}($e||{}),po=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(po||{}),$t=class extends Ke{reason;code;type=fe.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},qt=class extends Ke{reason;code;type=fe.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},go=class extends Ke{error;target;type=fe.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Si=class extends Ke{urlAfterRedirects;state;type=fe.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Sc=class extends Ke{urlAfterRedirects;state;type=fe.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Mc=class extends Ke{urlAfterRedirects;state;shouldActivate;type=fe.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},xc=class extends Ke{urlAfterRedirects;state;type=fe.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Nc=class extends Ke{urlAfterRedirects;state;type=fe.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Rc=class{route;type=fe.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ac=class{route;type=fe.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Oc=class{snapshot;type=fe.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},kc=class{snapshot;type=fe.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Pc=class{snapshot;type=fe.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Fc=class{snapshot;type=fe.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},mo=class{routerEvent;position;anchor;type=fe.Scroll;constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Mi=class{},vo=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function Ax(e,n){return e.providers&&!e._injector&&(e._injector=ei(e.providers,n,`Route: ${e.path}`)),e._injector??n}function bt(e){return e.outlet||L}function Ox(e,n){let t=e.filter(r=>bt(r)===n);return t.push(...e.filter(r=>bt(r)!==n)),t}function Pi(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var Lc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Pi(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new lr(this.rootInjector)}},lr=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new Lc(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(I(be))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jc=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=ah(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=ah(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=ch(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return ch(n,this._root).map(t=>t.value)}};function ah(e,n){if(e===n.value)return n;for(let t of n.children){let r=ah(e,t);if(r)return r}return null}function ch(e,n){if(e===n.value)return[n];for(let t of n.children){let r=ch(e,t);if(r.length)return r.unshift(n),r}return[]}var Qe=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function lo(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var xi=class extends jc{snapshot;constructor(n,t){super(n),this.snapshot=t,mh(this,n)}toString(){return this.snapshot.toString()}};function pE(e){let n=kx(e),t=new ye([new On("",{})]),r=new ye({}),o=new ye({}),i=new ye({}),s=new ye(""),a=new ln(t,r,i,s,o,L,e,n.root);return a.snapshot=n.root,new xi(new Qe(a,[]),n)}function kx(e){let n={},t={},r={},o="",i=new ar([],n,r,o,t,L,e,null,{});return new Ni("",new Qe(i,[]))}var ln=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(A(u=>u[ki]))??M(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(A(n=>cr(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(A(n=>cr(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Vc(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:v(v({},n.params),e.params),data:v(v({},n.data),e.data),resolve:v(v(v(v({},e.data),n.data),o?.data),e._resolvedData)}:r={params:v({},e.params),data:v({},e.data),resolve:v(v({},e.data),e._resolvedData??{})},o&&mE(o)&&(r.resolve[ki]=o.title),r}var ar=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ki]}constructor(n,t,r,o,i,s,a,c,u){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=cr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=cr(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},Ni=class extends jc{url;constructor(n,t){super(t),this.url=n,mh(this,t)}toString(){return gE(this._root)}};function mh(e,n){n.value._routerState=e,n.children.forEach(t=>mh(e,t))}function gE(e){let n=e.children.length>0?` { ${e.children.map(gE).join(", ")} } `:"";return`${e.value}${n}`}function eh(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Ht(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Ht(n.params,t.params)||e.paramsSubject.next(t.params),cx(n.url,t.url)||e.urlSubject.next(t.url),Ht(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function uh(e,n){let t=Ht(e.params,n.params)&&fx(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||uh(e.parent,n.parent))}function mE(e){return typeof e.title=="string"||e.title===null}var vE=new w(""),vh=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=L;activateEvents=new Ae;deactivateEvents=new Ae;attachEvents=new Ae;detachEvents=new Ae;routerOutletData=Mm(void 0);parentContexts=g(lr);location=g(gt);changeDetector=g(Rn);inputBinder=g(Fi,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new lh(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ee({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[jt]})}return e})(),lh=class{route;childContexts;parent;outletData;constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===ln?this.route:n===lr?this.childContexts:n===vE?this.outletData:this.parent.get(n,t)}},Fi=new w(""),yh=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,o=_o([r.queryParams,r.params,r.data]).pipe(ie(([i,s,a],c)=>(a=v(v(v({},i),s),a),c===0?M(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=Ly(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Dh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=ti({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&xn(0,"router-outlet")},dependencies:[vh],encapsulation:2})}return e})();function Eh(e){let n=e.children&&e.children.map(Eh),t=n?V(v({},e),{children:n}):v({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==L&&(t.component=Dh),t}function Px(e,n,t){let r=Ri(e,n._root,t?t._root:void 0);return new xi(r,n)}function Ri(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=Fx(e,n,t);return new Qe(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Ri(e,a)),s}}let r=Lx(n.value),o=n.children.map(i=>Ri(e,i));return new Qe(r,o)}}function Fx(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Ri(e,r,o);return Ri(e,r)})}function Lx(e){return new ln(new ye(e.url),new ye(e.params),new ye(e.queryParams),new ye(e.fragment),new ye(e.data),e.outlet,e.component,e)}var yo=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},yE="ngNavigationCancelingError";function Bc(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=Pn(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=DE(!1,$e.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function DE(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[yE]=!0,t.cancellationCode=n,t}function jx(e){return EE(e)&&Pn(e.url)}function EE(e){return!!e&&e[yE]}var Vx=(e,n,t,r)=>A(o=>(new dh(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)),dh=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),eh(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=lo(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=lo(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=lo(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=lo(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Fc(i.value.snapshot))}),n.children.length&&this.forwardEvent(new kc(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(eh(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),eh(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Uc=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},ho=class{component;route;constructor(n,t){this.component=n,this.route=t}};function Bx(e,n,t){let r=e._root,o=n?n._root:null;return Ci(r,o,t,[r.value])}function Ux(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function Eo(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!_g(e)?e:n.get(e):r}function Ci(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=lo(n);return e.children.forEach(s=>{Hx(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ti(a,t.getContext(s),o)),o}function Hx(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=$x(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Uc(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ci(e,n,a?a.children:null,r,o):Ci(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new ho(a.outlet.component,s))}else s&&Ti(n,a,o),o.canActivateChecks.push(new Uc(r)),i.component?Ci(e,null,a?a.children:null,r,o):Ci(e,null,t,r,o);return o}function $x(e,n,t){if(typeof t=="function")return t(e,n);switch(t){case"pathParamsChange":return!sr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!sr(e.url,n.url)||!Ht(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!uh(e,n)||!Ht(e.queryParams,n.queryParams);case"paramsChange":default:return!uh(e,n)}}function Ti(e,n,t){let r=lo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?Ti(s,n.children.getContext(i),t):Ti(s,null,t):Ti(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new ho(n.outlet.component,o)):t.canDeactivateChecks.push(new ho(null,o)):t.canDeactivateChecks.push(new ho(null,o))}function Li(e){return typeof e=="function"}function zx(e){return typeof e=="boolean"}function qx(e){return e&&Li(e.canLoad)}function Gx(e){return e&&Li(e.canActivate)}function Wx(e){return e&&Li(e.canActivateChild)}function Zx(e){return e&&Li(e.canDeactivate)}function Yx(e){return e&&Li(e.canMatch)}function wE(e){return e instanceof st||e?.name==="EmptyError"}var Ec=Symbol("INITIAL_VALUE");function Do(){return ie(e=>_o(e.map(n=>n.pipe(ze(1),cs(Ec)))).pipe(A(n=>{for(let t of n)if(t!==!0){if(t===Ec)return Ec;if(t===!1||Qx(t))return t}return!0}),re(n=>n!==Ec),ze(1)))}function Qx(e){return Pn(e)||e instanceof yo}function Kx(e,n){return Q(t=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return s.length===0&&i.length===0?M(V(v({},t),{guardsResult:!0})):Jx(s,r,o,e).pipe(Q(a=>a&&zx(a)?Xx(r,i,e,n):M(a)),A(a=>V(v({},t),{guardsResult:a})))})}function Jx(e,n,t,r){return G(e).pipe(Q(o=>oN(o.component,o.route,t,n,r)),xt(o=>o!==!0,!0))}function Xx(e,n,t,r){return G(n).pipe(ct(o=>fn(tN(o.route.parent,r),eN(o.route,r),rN(e,o.path,t),nN(e,o.route,t))),xt(o=>o!==!0,!0))}function eN(e,n){return e!==null&&n&&n(new Pc(e)),M(!0)}function tN(e,n){return e!==null&&n&&n(new Oc(e)),M(!0)}function nN(e,n,t){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return M(!0);let o=r.map(i=>Ds(()=>{let s=Pi(n)??t,a=Eo(i,s),c=Gx(a)?a.canActivate(n,e):Le(s,()=>a(n,e));return Ln(c).pipe(xt())}));return M(o).pipe(Do())}function rN(e,n,t){let r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>Ux(s)).filter(s=>s!==null).map(s=>Ds(()=>{let a=s.guards.map(c=>{let u=Pi(s.node)??t,l=Eo(c,u),d=Wx(l)?l.canActivateChild(r,e):Le(u,()=>l(r,e));return Ln(d).pipe(xt())});return M(a).pipe(Do())}));return M(i).pipe(Do())}function oN(e,n,t,r,o){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return M(!0);let s=i.map(a=>{let c=Pi(n)??o,u=Eo(a,c),l=Zx(u)?u.canDeactivate(e,n,t,r):Le(c,()=>u(e,n,t,r));return Ln(l).pipe(xt())});return M(s).pipe(Do())}function iN(e,n,t,r){let o=n.canLoad;if(o===void 0||o.length===0)return M(!0);let i=o.map(s=>{let a=Eo(s,e),c=qx(a)?a.canLoad(n,t):Le(e,()=>a(n,t));return Ln(c)});return M(i).pipe(Do(),IE(r))}function IE(e){return ru(he(n=>{if(typeof n!="boolean")throw Bc(e,n)}),A(n=>n===!0))}function sN(e,n,t,r){let o=n.canMatch;if(!o||o.length===0)return M(!0);let i=o.map(s=>{let a=Eo(s,e),c=Yx(a)?a.canMatch(n,t):Le(e,()=>a(n,t));return Ln(c)});return M(i).pipe(Do(),IE(r))}var Ai=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},Oi=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function uo(e){return hn(new Ai(e))}function aN(e){return hn(new D(4e3,!1))}function cN(e){return hn(DE(!1,$e.GuardRejected))}var fh=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return M(r);if(o.numberOfChildren>1||!o.children[L])return aN(`${n.redirectTo}`);o=o.children[L]}}applyRedirectCommands(n,t,r,o,i){if(typeof t!="string"){let a=t,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:p,title:m}=o,y=Le(i,()=>a({params:f,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:m}));if(y instanceof zt)throw new Oi(y);t=y}let s=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t[0]==="/")throw new Oi(s);return s}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new zt(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new U(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}},hh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function uN(e,n,t,r,o){let i=CE(e,n,t);return i.matched?(r=Ax(n,r),sN(r,n,t,o).pipe(A(s=>s===!0?i:v({},hh)))):M(i)}function CE(e,n,t){if(n.path==="**")return lN(t);if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?v({},hh):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||JD)(t,e,n);if(!o)return v({},hh);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?v(v({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function lN(e){return{matched:!0,parameters:e.length>0?eE(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function YD(e,n,t,r){return t.length>0&&hN(e,t,r)?{segmentGroup:new U(n,fN(r,new U(t,e.children))),slicedSegments:[]}:t.length===0&&pN(e,t,r)?{segmentGroup:new U(e.segments,dN(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new U(e.segments,e.children),slicedSegments:t}}function dN(e,n,t,r){let o={};for(let i of t)if($c(e,n,i)&&!r[bt(i)]){let s=new U([],{});o[bt(i)]=s}return v(v({},r),o)}function fN(e,n){let t={};t[L]=n;for(let r of e)if(r.path===""&&bt(r)!==L){let o=new U([],{});t[bt(r)]=o}return t}function hN(e,n,t){return t.some(r=>$c(e,n,r)&&bt(r)!==L)}function pN(e,n,t){return t.some(r=>$c(e,n,r))}function $c(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function gN(e,n,t){return n.length===0&&!e.children[t]}var ph=class{};function mN(e,n,t,r,o,i,s="emptyOnly"){return new gh(e,n,t,r,o,s,i).recognize()}var vN=31,gh=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new fh(this.urlSerializer,this.urlTree)}noMatchError(n){return new D(4002,`'${n.segmentGroup}'`)}recognize(){let n=YD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(A(({children:t,rootSnapshot:r})=>{let o=new Qe(r,t),i=new Ni("",o),s=uE(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(n){let t=new ar([],Object.freeze({}),Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),L,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,L,t).pipe(A(r=>({children:r,rootSnapshot:t})),et(r=>{if(r instanceof Oi)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ai?this.noMatchError(r):r}))}processSegmentGroup(n,t,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,t,r,i):this.processSegment(n,t,r,r.segments,o,!0,i).pipe(A(s=>s instanceof Qe?[s]:[]))}processChildren(n,t,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return G(i).pipe(ct(s=>{let a=r.children[s],c=Ox(t,s);return this.processSegmentGroup(n,c,a,s,o)}),Is((s,a)=>(s.push(...a),s)),pn(null),mu(),Q(s=>{if(s===null)return uo(r);let a=bE(s);return yN(a),M(a)}))}processSegment(n,t,r,o,i,s,a){return G(t).pipe(ct(c=>this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a).pipe(et(u=>{if(u instanceof Ai)return M(null);throw u}))),xt(c=>!!c),et(c=>{if(wE(c))return gN(r,o,i)?M(new ph):uo(r);throw c}))}processSegmentAgainstRoute(n,t,r,o,i,s,a,c){return bt(r)!==s&&(s===L||!$c(o,i,r))?uo(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c):uo(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=CE(t,o,i);if(!c)return uo(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>vN&&(this.allowRedirects=!1));let f=new ar(i,u,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,QD(o),bt(o),o.component??o._loadedComponent??null,o,KD(o)),p=Vc(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(p.params),f.data=Object.freeze(p.data);let m=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,n);return this.applyRedirects.lineralizeSegments(o,m).pipe(Q(y=>this.processSegment(n,r,t,y.concat(h),s,!1,a)))}matchSegmentAgainstRoute(n,t,r,o,i,s){let a=uN(t,r,o,n,this.urlSerializer);return r.path==="**"&&(t.children={}),a.pipe(ie(c=>c.matched?(n=r._injector??n,this.getChildConfig(n,r,o).pipe(ie(({routes:u})=>{let l=r._loadedInjector??n,{parameters:d,consumedSegments:h,remainingSegments:f}=c,p=new ar(h,d,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,QD(r),bt(r),r.component??r._loadedComponent??null,r,KD(r)),m=Vc(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(m.params),p.data=Object.freeze(m.data);let{segmentGroup:y,slicedSegments:_}=YD(t,h,f,u);if(_.length===0&&y.hasChildren())return this.processChildren(l,u,y,p).pipe(A(ne=>new Qe(p,ne)));if(u.length===0&&_.length===0)return M(new Qe(p,[]));let $=bt(r)===i;return this.processSegment(l,u,y,_,$?L:i,!0,p).pipe(A(ne=>new Qe(p,ne instanceof Qe?[ne]:[])))}))):uo(t)))}getChildConfig(n,t,r){return t.children?M({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?M({routes:t._loadedRoutes,injector:t._loadedInjector}):iN(n,t,r,this.urlSerializer).pipe(Q(o=>o?this.configLoader.loadChildren(n,t).pipe(he(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):cN(t))):M({routes:[],injector:n})}};function yN(e){e.sort((n,t)=>n.value.outlet===L?-1:t.value.outlet===L?1:n.value.outlet.localeCompare(t.value.outlet))}function DN(e){let n=e.value.routeConfig;return n&&n.path===""}function bE(e){let n=[],t=new Set;for(let r of e){if(!DN(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=bE(r.children);n.push(new Qe(r.value,o))}return n.filter(r=>!t.has(r))}function QD(e){return e.data||{}}function KD(e){return e.resolve||{}}function EN(e,n,t,r,o,i){return Q(s=>mN(e,n,t,r,s.extractedUrl,o,i).pipe(A(({state:a,tree:c})=>V(v({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function wN(e,n){return Q(t=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return M(t);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of TE(c))s.add(u);let a=0;return G(s).pipe(ct(c=>i.has(c)?IN(c,r,e,n):(c.data=Vc(c,c.parent,e).resolve,M(void 0))),he(()=>a++),Ir(1),Q(c=>a===s.size?M(t):Ie))})}function TE(e){let n=e.children.map(t=>TE(t)).flat();return[e,...n]}function IN(e,n,t,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!mE(o)&&(i[ki]=o.title),CN(i,e,n,r).pipe(A(s=>(e._resolvedData=s,e.data=Vc(e,e.parent,t).resolve,null)))}function CN(e,n,t,r){let o=rh(e);if(o.length===0)return M({});let i={};return G(o).pipe(Q(s=>bN(e[s],n,t,r).pipe(xt(),he(a=>{if(a instanceof yo)throw Bc(new kn,a);i[s]=a}))),Ir(1),A(()=>i),et(s=>wE(s)?Ie:hn(s)))}function bN(e,n,t,r){let o=Pi(n)??r,i=Eo(e,o),s=i.resolve?i.resolve(n,t):Le(o,()=>i(n,t));return Ln(s)}function th(e){return ie(n=>{let t=e(n);return t?G(t).pipe(A(()=>n)):M(n)})}var wh=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===L);return r}getResolvedTitleForRoute(t){return t.data[ki]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(_E),providedIn:"root"})}return e})(),_E=(()=>{class e extends wh{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(I($D))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dr=new w("",{providedIn:"root",factory:()=>({})}),wo=new w(""),zc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(My);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return M(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=Ln(t.loadComponent()).pipe(A(ME),he(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),gn(()=>{this.componentLoaders.delete(t)})),o=new Dr(r,()=>new B).pipe(yr());return this.componentLoaders.set(t,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return M({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=SE(r,this.compiler,t,this.onLoadEndListener).pipe(gn(()=>{this.childrenLoaders.delete(r)})),s=new Dr(i,()=>new B).pipe(yr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function SE(e,n,t,r){return Ln(e.loadChildren()).pipe(A(ME),Q(o=>o instanceof of||Array.isArray(o)?M(o):G(n.compileModuleAsync(o))),A(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(t).injector,s=i.get(wo,[],{optional:!0,self:!0}).flat()),{routes:s.map(Eh),injector:i}}))}function TN(e){return e&&typeof e=="object"&&"default"in e}function ME(e){return TN(e)?e.default:e}var qc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(_N),providedIn:"root"})}return e})(),_N=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ih=new w(""),Ch=new w("");function xE(e,n,t){let r=e.get(Ch),o=e.get(ee);return e.get(H).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),SN(e))),{onViewTransitionCreated:c}=r;return c&&Le(e,()=>c({transition:a,from:n,to:t})),s})}function SN(e){return new Promise(n=>{Ld({read:()=>setTimeout(n)},{injector:e})})}var bh=new w(""),Gc=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new B;transitionAbortSubject=new B;configLoader=g(zc);environmentInjector=g(be);destroyRef=g(Xt);urlSerializer=g(ur);rootContexts=g(lr);location=g(An);inputBindingEnabled=g(Fi,{optional:!0})!==null;titleStrategy=g(wh);options=g(dr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(qc);createViewTransition=g(Ih,{optional:!0});navigationErrorHandler=g(bh,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>M(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=o=>this.events.next(new Rc(o)),r=o=>this.events.next(new Ac(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(V(v({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r}))}setupNavigations(t){return this.transitions=new ye(null),this.transitions.pipe(re(r=>r!==null),ie(r=>{let o=!1,i=!1;return M(r).pipe(ie(s=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",$e.SupersededByNewNavigation),Ie;this.currentTransition=r,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?V(v({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=s.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!a&&c!=="reload"){let u="";return this.events.next(new qt(s.id,this.urlSerializer.serialize(s.rawUrl),u,po.IgnoredSameUrlNavigation)),s.resolve(!1),Ie}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return M(s).pipe(ie(u=>(this.events.next(new Fn(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),u.id!==this.navigationId?Ie:Promise.resolve(u))),EN(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),he(u=>{r.targetSnapshot=u.targetSnapshot,r.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation=V(v({},this.currentNavigation),{finalUrl:u.urlAfterRedirects});let l=new Si(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:u,extractedUrl:l,source:d,restoredState:h,extras:f}=s,p=new Fn(u,this.urlSerializer.serialize(l),d,h);this.events.next(p);let m=pE(this.rootComponentType).snapshot;return this.currentTransition=r=V(v({},s),{targetSnapshot:m,urlAfterRedirects:l,extras:V(v({},f),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=l,M(r)}else{let u="";return this.events.next(new qt(s.id,this.urlSerializer.serialize(s.extractedUrl),u,po.IgnoredByUrlHandlingStrategy)),s.resolve(!1),Ie}}),he(s=>{let a=new Sc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),A(s=>(this.currentTransition=r=V(v({},s),{guards:Bx(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),r)),Kx(this.environmentInjector,s=>this.events.next(s)),he(s=>{if(r.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw Bc(this.urlSerializer,s.guardsResult);let a=new Mc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),re(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",$e.GuardRejected),!1)),th(s=>{if(s.guards.canActivateChecks.length!==0)return M(s).pipe(he(a=>{let c=new xc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),ie(a=>{let c=!1;return M(a).pipe(wN(this.paramsInheritanceStrategy,this.environmentInjector),he({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(a,"",$e.NoDataFromResolver)}}))}),he(a=>{let c=new Nc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}))}),th(s=>{let a=c=>{let u=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(he(l=>{c.component=l}),A(()=>{})));for(let l of c.children)u.push(...a(l));return u};return _o(a(s.targetSnapshot.root)).pipe(pn(null),ze(1))}),th(()=>this.afterPreactivation()),ie(()=>{let{currentSnapshot:s,targetSnapshot:a}=r,c=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return c?G(c).pipe(A(()=>r)):M(r)}),A(s=>{let a=Px(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=r=V(v({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,r}),he(()=>{this.events.next(new Mi)}),Vx(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),ze(1),he({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Je(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),us(this.transitionAbortSubject.pipe(he(s=>{throw s}))),gn(()=>{!o&&!i&&this.cancelNavigationTransition(r,"",$e.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),et(s=>{if(this.destroyed)return r.resolve(!1),Ie;if(i=!0,EE(s))this.events.next(new $t(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode)),jx(s)?this.events.next(new vo(s.url,s.navigationBehaviorOptions)):r.resolve(!1);else{let a=new go(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);try{let c=Le(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(c instanceof yo){let{message:u,cancellationCode:l}=Bc(this.urlSerializer,c);this.events.next(new $t(r.id,this.urlSerializer.serialize(r.extractedUrl),u,l)),this.events.next(new vo(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(c){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(c)}}return Ie}))}))}cancelNavigationTransition(t,r,o){let i=new $t(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function MN(e){return e!==bc}var NE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(xN),providedIn:"root"})}return e})(),Hc=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},xN=(()=>{class e extends Hc{static \u0275fac=(()=>{let t;return function(o){return(t||(t=Sd(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),RE=(()=>{class e{urlSerializer=g(ur);options=g(dr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=g(An);urlHandlingStrategy=g(qc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new zt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:o}){let i=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=o??i;return s instanceof zt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:o}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=t):this.rawUrlTree=o}routerState=pE(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(NN),providedIn:"root"})}return e})(),NN=(()=>{class e extends RE{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate")})})}handleRouterEvent(t,r){t instanceof Fn?this.updateStateMemento():t instanceof qt?this.commitTransition(r):t instanceof Si?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Mi?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof $t&&(t.code===$e.GuardRejected||t.code===$e.NoDataFromResolver)?this.restoreHistory(r):t instanceof go?this.restoreHistory(r,!0):t instanceof Je&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(t)||i){let a=this.browserPageId,c=v(v({},s),this.generateNgRouterState(o,a));this.location.replaceState(t,"",c)}else{let a=v(v({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(t,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===t.finalUrl&&i===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Sd(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wc(e,n){e.events.pipe(re(t=>t instanceof Je||t instanceof $t||t instanceof go||t instanceof qt),A(t=>t instanceof Je||t instanceof qt?0:(t instanceof $t?t.code===$e.Redirect||t.code===$e.SupersededByNewNavigation:!1)?2:1),re(t=>t!==2),ze(1)).subscribe(()=>{n()})}var RN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},AN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},rt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(cf);stateManager=g(RE);options=g(dr,{optional:!0})||{};pendingTasks=g(en);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Gc);urlSerializer=g(ur);location=g(An);urlHandlingStrategy=g(qc);_events=new B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(NE);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(wo,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(Fi,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Y;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof $t&&r.code!==$e.Redirect&&r.code!==$e.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Je)this.navigated=!0;else if(r instanceof vo){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=v({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||MN(o.source)},s);this.scheduleNavigation(a,bc,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}kN(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),bc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,o)=>{this.navigateToSyncWithBrowser(t,o,r)})}navigateToSyncWithBrowser(t,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=v({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Eh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=v(v({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=lE(h)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return dE(d,t,l,u??null)}navigateByUrl(t,r={skipLocationChange:!1}){let o=Pn(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,bc,null,r)}navigate(t,r={skipLocationChange:!1}){return ON(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=v({},RN):r===!1?o=v({},AN):o=r,Pn(t))return qD(this.currentUrlTree,t,o);let i=this.parseUrl(t);return qD(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return Wc(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ON(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new D(4008,!1)}function kN(e){return!(e instanceof Mi)&&!(e instanceof vo)}var Zc=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new B;constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(u=>{u instanceof Je&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Pn(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:ov(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}get urlTree(){return this.routerLinkInput===null?null:Pn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(R(rt),R(ln),Aa("tabindex"),R(Tn),R(Ge),R(Et))};static \u0275dir=Ee({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&Nn("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Sn("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",cn],skipLocationChange:[2,"skipLocationChange","skipLocationChange",cn],replaceUrl:[2,"replaceUrl","replaceUrl",cn],routerLink:"routerLink"},features:[jt]})}return e})(),PN=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Ae;constructor(t,r,o,i,s){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Je&&this.update()})}ngAfterContentInit(){M(this.links.changes,M(null)).pipe(_t()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=G(t).pipe(_t()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){let r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let r=FN(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?t.isActive(i,r):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(r){return new(r||e)(R(rt),R(Ge),R(Tn),R(Rn),R(Zc,8))};static \u0275dir=Ee({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&yy(i,Zc,5),r&2){let s;Dy(s=Ey())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[jt]})}return e})();function FN(e){return!!e.paths}var ji=class{};var AE=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,o,i){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(re(t=>t instanceof Je),ct(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=ei(i.providers,t,`Route: ${i.path}`));let s=i._injector??t,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return G(o).pipe(_t())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(t,r):o=M(null);let i=o.pipe(Q(s=>s===null?M(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return G([i,s]).pipe(_t())}else return i})}static \u0275fac=function(r){return new(r||e)(I(rt),I(be),I(ji),I(zc))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),OE=new w(""),LN=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,r,o,i,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Fn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Je?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof qt&&t.code===po.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof mo&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new mo(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Ov()};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function jN(e){return e.routerState.root}function Vi(e,n){return{\u0275kind:e,\u0275providers:n}}function VN(){let e=g(oe);return n=>{let t=e.get(qe);if(n!==t.components[0])return;let r=e.get(rt),o=e.get(kE);e.get(_h)===1&&r.initialNavigation(),e.get(LE,null,j.Optional)?.setUpPreloading(),e.get(OE,null,j.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var kE=new w("",{factory:()=>new B}),_h=new w("",{providedIn:"root",factory:()=>1});function PE(){let e=[{provide:_h,useValue:0},ff(()=>{let n=g(oe);return n.get(_f,Promise.resolve()).then(()=>new Promise(r=>{let o=n.get(rt),i=n.get(kE);Wc(o,()=>{r(!0)}),n.get(Gc).afterPreactivation=()=>(r(!0),i.closed?M(void 0):i),o.initialNavigation()}))})];return Vi(2,e)}function FE(){let e=[ff(()=>{g(rt).setUpLocationChangeListener()}),{provide:_h,useValue:2}];return Vi(3,e)}var LE=new w("");function jE(e){return Vi(0,[{provide:LE,useExisting:AE},{provide:ji,useExisting:e}])}function VE(){return Vi(8,[yh,{provide:Fi,useExisting:yh}])}function BE(e){Bt("NgRouterViewTransitions");let n=[{provide:Ih,useValue:xE},{provide:Ch,useValue:v({skipNextTransition:!!e?.skipInitialTransition},e)}];return Vi(9,n)}var UE=[An,{provide:ur,useClass:kn},rt,lr,{provide:ln,useFactory:jN,deps:[rt]},zc,[]],BN=(()=>{class e{constructor(){}static forRoot(t,r){return{ngModule:e,providers:[UE,[],{provide:wo,multi:!0,useValue:t},[],r?.errorHandler?{provide:bh,useValue:r.errorHandler}:[],{provide:dr,useValue:r||{}},r?.useHash?HN():$N(),UN(),r?.preloadingStrategy?jE(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?zN(r):[],r?.bindToComponentInputs?VE().\u0275providers:[],r?.enableViewTransitions?BE().\u0275providers:[],qN()]}}static forChild(t){return{ngModule:e,providers:[{provide:wo,multi:!0,useValue:t}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=mt({type:e});static \u0275inj=ht({})}return e})();function UN(){return{provide:OE,useFactory:()=>{let e=g(wD),n=g(H),t=g(dr),r=g(Gc),o=g(ur);return t.scrollOffset&&e.setOffset(t.scrollOffset),new LN(o,r,e,n,t)}}}function HN(){return{provide:Et,useClass:Ff}}function $N(){return{provide:Et,useClass:Za}}function zN(e){return[e.initialNavigation==="disabled"?FE().\u0275providers:[],e.initialNavigation==="enabledBlocking"?PE().\u0275providers:[]]}var Th=new w("");function qN(){return[{provide:Th,useFactory:VN},{provide:hf,multi:!0,useExisting:Th}]}var Tt=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Tt||{}),WN="*";function xh(e,n){return{type:Tt.Trigger,name:e,definitions:n,options:{}}}function Yc(e,n=null){return{type:Tt.Animate,styles:n,timings:e}}function z$(e,n=null){return{type:Tt.Sequence,steps:e,options:n}}function Bi(e){return{type:Tt.Style,styles:e,offset:null}}function Ui(e,n,t){return{type:Tt.State,name:e,styles:n,options:t}}function ZN(e){return{type:Tt.Keyframes,steps:e}}function Qc(e,n,t=null){return{type:Tt.Transition,expr:e,animation:n,options:t}}function YN(e,n=null){return{type:Tt.Reference,animation:e,options:n}}function QN(e,n=null){return{type:Tt.AnimateRef,animation:e,options:n}}var Sh=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,t=0){this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},Mh=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let t=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let t=n*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(o)})}getPosition(){let n=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r:t,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},KN="!";var HE=["toast-component",""];function JN(e,n){if(e&1){let t=vf();Ze(0,"button",5),Nn("click",function(){yd(t);let o=Ye();return Dd(o.remove())}),Ze(1,"span",6),sn(2,"\xD7"),vt()()}}function XN(e,n){if(e&1&&(ri(0),sn(1),oi()),e&2){let t=Ye(2);de(),an("[",t.duplicatesCount+1,"]")}}function eR(e,n){if(e&1&&(Ze(0,"div"),sn(1),no(2,XN,2,1,"ng-container",4),vt()),e&2){let t=Ye();on(t.options.titleClass),Sn("aria-label",t.title),de(),an(" ",t.title," "),de(),Me("ngIf",t.duplicatesCount)}}function tR(e,n){if(e&1&&xn(0,"div",7),e&2){let t=Ye();on(t.options.messageClass),Me("innerHTML",t.message,Bd)}}function nR(e,n){if(e&1&&(Ze(0,"div",8),sn(1),vt()),e&2){let t=Ye();on(t.options.messageClass),Sn("aria-label",t.message),de(),an(" ",t.message," ")}}function rR(e,n){if(e&1&&(Ze(0,"div"),xn(1,"div",9),vt()),e&2){let t=Ye();de(),Mn("width",t.width()+"%")}}function oR(e,n){if(e&1){let t=vf();Ze(0,"button",5),Nn("click",function(){yd(t);let o=Ye();return Dd(o.remove())}),Ze(1,"span",6),sn(2,"\xD7"),vt()()}}function iR(e,n){if(e&1&&(ri(0),sn(1),oi()),e&2){let t=Ye(2);de(),an("[",t.duplicatesCount+1,"]")}}function sR(e,n){if(e&1&&(Ze(0,"div"),sn(1),no(2,iR,2,1,"ng-container",4),vt()),e&2){let t=Ye();on(t.options.titleClass),Sn("aria-label",t.title),de(),an(" ",t.title," "),de(),Me("ngIf",t.duplicatesCount)}}function aR(e,n){if(e&1&&xn(0,"div",7),e&2){let t=Ye();on(t.options.messageClass),Me("innerHTML",t.message,Bd)}}function cR(e,n){if(e&1&&(Ze(0,"div",8),sn(1),vt()),e&2){let t=Ye();on(t.options.messageClass),Sn("aria-label",t.message),de(),an(" ",t.message," ")}}function uR(e,n){if(e&1&&(Ze(0,"div"),xn(1,"div",9),vt()),e&2){let t=Ye();de(),Mn("width",t.width()+"%")}}var Nh=class{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){let n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Rh=class{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}},Ah=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new B;_activate=new B;_manualClose=new B;_resetTimeout=new B;_countDuplicate=new B;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}},Io=class{toastId;config;message;title;toastType;toastRef;_onTap=new B;_onAction=new B;constructor(n,t,r,o,i,s){this.toastId=n,this.config=t,this.message=r,this.title=o,this.toastType=i,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}},$E={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},zE=new w("ToastConfig"),Oh=class extends Rh{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,t,r){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=r}attachComponentPortal(n,t){let r=this._componentFactoryResolver.resolveComponentFactory(n.component),o;return o=r.create(n.injector),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.detachView(o.hostView),o.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(o),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(o)),o}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},lR=(()=>{class e{_document=g(ee);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kh=class{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}},dR=(()=>{class e{_overlayContainer=g(lR);_componentFactoryResolver=g(to);_appRef=g(qe);_document=g(ee);_paneElements=new Map;create(t,r){return this._createOverlayRef(this.getPaneElement(t,r))}getPaneElement(t="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[t]||(this._paneElements.get(r)[t]=this._createPaneElement(t,r)),this._paneElements.get(r)[t]}_createPaneElement(t,r){let o=this._document.createElement("div");return o.id="toast-container",o.classList.add(t),o.classList.add("toast-container"),r?r.getContainerElement().appendChild(o):this._overlayContainer.getContainerElement().appendChild(o),o}_createPortalHost(t){return new Oh(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new kh(this._createPortalHost(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Kc=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,r,o,i,s){this.overlay=r,this._injector=o,this.sanitizer=i,this.ngZone=s,this.toastrConfig=v(v({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=v(v({},t.default.iconClasses),t.config.iconClasses))}show(t,r,o={},i=""){return this._preBuildNotification(i,t,r,this.applyConfig(o))}success(t,r,o={}){let i=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}error(t,r,o={}){let i=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}info(t,r,o={}){let i=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}warning(t,r,o={}){let i=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}clear(t){for(let r of this.toasts)if(t!==void 0){if(r.toastId===t){r.toastRef.manualClose();return}}else r.toastRef.manualClose()}remove(t){let r=this._findToast(t);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let o=this.toasts[this.currentlyActive].toastRef;o.isInactive()||(this.currentlyActive=this.currentlyActive+1,o.activate())}return!0}findDuplicate(t="",r="",o,i){let{includeTitleDuplicates:s}=this.toastrConfig;for(let a of this.toasts){let c=s&&a.title===t;if((!s||c)&&a.message===r)return a.toastRef.onDuplicate(o,i),a}return null}applyConfig(t={}){return v(v({},this.toastrConfig),t)}_findToast(t){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===t)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(t,r,o,i){return i.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,r,o,i)):this._buildNotification(t,r,o,i)}_buildNotification(t,r,o,i){if(!i.toastComponent)throw new Error("toastComponent required");let s=this.findDuplicate(o,r,this.toastrConfig.resetTimeoutOnDuplicate&&i.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&o||r)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=r;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let c=this.overlay.create(i.positionClass,this.overlayContainer);this.index=this.index+1;let u=r;r&&i.enableHtml&&(u=this.sanitizer.sanitize(We.HTML,r));let l=new Ah(c),d=new Io(this.index,i,u,o,t,l),h=[{provide:Io,useValue:d}],f=oe.create({providers:h,parent:this._injector}),p=new Nh(i.toastComponent,f),m=c.attach(p,i.newestOnTop);l.componentInstance=m.instance;let y={toastId:this.index,title:o||"",message:r||"",toastRef:l,onShown:l.afterActivate(),onHidden:l.afterClosed(),onTap:d.onTap(),onAction:d.onAction(),portal:m};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{y.toastRef.activate()})),this.toasts.push(y),y}static \u0275fac=function(r){return new(r||e)(I(zE),I(dR),I(oe),I(Kf),I(H))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fR=(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=Qr(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,r,o){this.toastrService=t,this.toastPackage=r,this.ngZone=o,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(i=>{this.duplicatesCount=i}),this.state=Qr({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>V(v({},t),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),r=this.hideTime-t;this.width.set(r/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>V(v({},t),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(t=>V(v({},t),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),r)):this.timeout=setTimeout(()=>t(),r)}outsideInterval(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),r)):this.intervalId=setInterval(()=>t(),r)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(r){return new(r||e)(R(Kc),R(Io),R(H))};static \u0275cmp=ti({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(r,o){r&1&&Nn("click",function(){return o.tapToast()})("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()}),r&2&&(yf("@flyInOut",o._state),on(o.toastClasses),Mn("display",o.displayStyle))},attrs:HE,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,o){r&1&&no(0,JN,3,0,"button",0)(1,eR,3,5,"div",1)(2,tR,1,3,"div",2)(3,nR,2,4,"div",3)(4,rR,2,2,"div",4),r&2&&(Me("ngIf",o.options.closeButton),de(),Me("ngIf",o.title),de(),Me("ngIf",o.message&&o.options.enableHtml),de(),Me("ngIf",o.message&&!o.options.enableHtml),de(),Me("ngIf",o.options.progressBar))},dependencies:[ic],encapsulation:2,data:{animation:[xh("flyInOut",[Ui("inactive",Bi({opacity:0})),Ui("active",Bi({opacity:1})),Ui("removed",Bi({opacity:0})),Qc("inactive => active",Yc("{{ easeTime }}ms {{ easing }}")),Qc("active => removed",Yc("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return e})(),hR=V(v({},$E),{toastComponent:fR}),pR=(e={})=>tr([{provide:zE,useValue:{default:hR,config:e}}]),lz=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[pR(t)]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=mt({type:e});static \u0275inj=ht({})}return e})();var gR=(()=>{class e{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=Qr(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=Qr("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,r,o){this.toastrService=t,this.toastPackage=r,this.appRef=o,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(i=>{this.duplicatesCount=i})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),r=this.hideTime-t;this.width.set(r/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(r){return new(r||e)(R(Kc),R(Io),R(qe))};static \u0275cmp=ti({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(r,o){r&1&&Nn("click",function(){return o.tapToast()})("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()}),r&2&&(on(o.toastClasses),Mn("display",o.displayStyle))},attrs:HE,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,o){r&1&&no(0,oR,3,0,"button",0)(1,sR,3,5,"div",1)(2,aR,1,3,"div",2)(3,cR,2,4,"div",3)(4,uR,2,2,"div",4),r&2&&(Me("ngIf",o.options.closeButton),de(),Me("ngIf",o.title),de(),Me("ngIf",o.message&&o.options.enableHtml),de(),Me("ngIf",o.message&&!o.options.enableHtml),de(),Me("ngIf",o.options.progressBar))},dependencies:[ic],encapsulation:2,changeDetection:0})}return e})(),dz=V(v({},$E),{toastComponent:gR});var qE=class e{constructor(n,t,r){this.http=n;this.toastr=t;this.router=r}PostToUrlEncode(n,t,r=1e5){let o=new me;return o=o.set("Content-Type","application/x-www-form-urlencoded"),new x(i=>{this.http.post(n,t,{headers:o}).pipe(at(r)).subscribe(s=>{i.next(s),i.complete()})})}GetText(n=1e5){let t=localStorage.getItem("Token"),o={responseType:"text",headers:new me({Authorization:"Bearer "+t})};return new x(i=>{this.http.get("/API/Token/GetZendeskJWT",o).pipe(at(n)).subscribe(s=>{i.next(s),i.complete()})})}POSText(n,t,r=1e5){let o=localStorage.getItem("Token"),s={responseType:"text",headers:new me({"Content-Type":"application/json","Cache-Control":"no-cache",Authorization:"Bearer "+o})};return new x(a=>{this.http.post(n,t,s).pipe(at(r)).subscribe(c=>{a.next(c),a.complete()})})}get(n,t=[],r=!1){let o=localStorage.getItem("Token"),i=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});o&&(i=i.append("Authorization","Bearer "+o));let s={headers:i,params:this.generateQueryParams(t)};return this.http.get(n,s).pipe(et(a=>{if(!r&&!this.unauthorizedErrorHandling(a)){let u=this.errorMessageHandling(a);this.toastr.error(u.Message!=""?u.Message:"An unknown error has occured!",u.header),this.paymentErrorHandling(a)}return hn(()=>a)}))}getNews(n){return this.http.get(n)}paymentErrorHandling(n){n.status==402&&this.router.navigate(["/menu/Profile/Main/My_Subscription"])}post(n,t,r=1e5,o=!1,i={}){return new x(s=>{let a=localStorage.getItem("Token"),c=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});a&&(c=c.append("Authorization","Bearer "+a)),Date.prototype.toJSON=function(){return this.getFullYear()+"-"+u(this.getMonth()+1)+"-"+u(this.getDate())+"T"+u(this.getHours())+":"+u(this.getMinutes())+":"+u(this.getSeconds())+".000"};function u(l){return l<10?"0"+l:l}this.http.post(n,t,i).pipe(at(r)).subscribe({next:l=>{s.next(l),s.complete()},error:l=>{if(l.status==200)s.next(l.error.text),s.complete();else{if(!o&&!this.unauthorizedErrorHandling(l)){let h=this.errorMessageHandling(l);this.toastr.error(h.Message!=""?h.Message:"An unknown error has occured!",h.header,{enableHtml:!0})}s.error(l)}}})})}postFile(n,t,r=1e5){return new x(o=>{let i=localStorage.getItem("Token"),s=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});i&&(s=s.append("Authorization","Bearer "+i)),this.http.post(n,t,{headers:s,observe:"response",responseType:"blob"}).pipe(at(r)).subscribe({next:a=>{o.next({title:a.headers.get("Content-Disposition"),file:a.body}),o.complete()},error:a=>{if(a.headers.get("Content-Type")==="application/json; charset=utf-8"){let c=new FileReader;c.addEventListener("loadend",u=>{let l=JSON.parse(u.srcElement.result)?.Message;if(!this.unauthorizedErrorHandling(a)){let h=this.errorMessageHandling(a);this.toastr.error(l??"An unknown error has occured!",h.header,{enableHtml:!0})}}),c.readAsText(a.error)}o.error(a)}})})}put(n,t,r={},o=1e5,i=!1){return new x(s=>{let a=localStorage.getItem("Token"),c=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});a&&(c=c.append("Authorization","Bearer "+a));let u=v({headers:c},r.params?{params:this.generateQueryParams(r.params)}:{});this.http.put(n,t??{},u).pipe(at(o)).subscribe({next:l=>{s.next(l),s.complete()},error:l=>{if(l.status==200)s.next(l.error.text),s.complete();else{if(!i&&!this.unauthorizedErrorHandling(l)){let h=this.errorMessageHandling(l);this.toastr.error(h.Message!=""?h.Message:"An unknown error has occured!",h.header)}s.error(l)}}})})}delete(n,t={},r=1e5){return new x(o=>{let i=localStorage.getItem("Token"),s=new me({"Content-Type":"application/json","Cache-Control":"no-cache"});i&&(s=s.append("Authorization","Bearer "+i));let a=v(v({headers:s},t.body?{body:t.body}:{}),t.params?{params:this.generateQueryParams(t.params)}:{});this.http.delete(n,a).pipe(at(r)).subscribe({next:c=>{o.next(c),o.complete()},error:c=>{if(c.status==200)o.next(c.error.text),o.complete();else{if(!this.unauthorizedErrorHandling(c)){let l=this.errorMessageHandling(c);this.toastr.error(l.Message!=""?l.Message:"An unknown error has occured!",l.header)}o.error(c)}}})})}generateQueryParams(n=[]){let t=new Ct;return n.forEach(r=>{t=t.append(r.key,r.value)}),t}unauthorizedErrorHandling(n){let t=!1;return(n.status==401||n.status==403)&&(t=!0),t}errorMessageHandling(n){let t="API Error",r="Exception Message";if(n.error)t="API Error - "+n.status,t=`${t} ${n.status==409?"Conflict":""}`,n.status==451&&(t="Error"),n.error&&(r=n.error.Message);else if((n.Message||n.message)&&(t="API Error - "+n.name,r=n.Message?n.Message:n.message,n instanceof ys||n?.name=="TimeoutError")){let o=this.handleTimoutError(n);t=o.header,r=o.message}return{header:t,Message:r}}handleTimoutError(n){let t="Slow Connection Detected",r=n.Message?n.Message:n.message;return{header:t,message:r}}postFormDataWithoutBearer(n,t){return new x(r=>{this.http.post((n.includes("localhost"),n),t).pipe(at(1e5)).subscribe({next:o=>{r.next(o),r.complete()},error:o=>{o.status==200&&(r.next(o.error.text),r.complete()),r.error(o)}})})}postFormData(n,t,r=!0){return new x(o=>{let i=localStorage.getItem("Token"),a={headers:new me({Authorization:"Bearer "+i})};this.http.post(n,t,a).pipe(at(1e5)).subscribe({next:c=>{o.next(c),o.complete()},error:c=>{if(c.status==200)o.next(c.error.text),o.complete();else{if(!this.unauthorizedErrorHandling(c)&&r){let l=this.errorMessageHandling(c);this.toastr.error(l.Message!=""?l.Message:"An unknown error has occured!",l.header)}o.error(c)}}})})}static \u0275fac=function(t){return new(t||e)(I(yc),I(Kc),I(rt))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})};export{Y as a,ru as b,x as c,B as d,ye as e,Mo as f,vw as g,Oe as h,yw as i,Dw as j,Ie as k,bo as l,To as m,G as n,M as o,hn as p,Ew as q,ys as r,at as s,A as t,_o as u,Q as v,_t as w,fn as x,Ds as y,hw as z,hu as A,Un as B,Mw as C,xw as D,re as E,Nw as F,Rw as G,Aw as H,et as I,kw as J,ct as K,Pw as L,up as M,ze as N,pu as O,Fw as P,dp as Q,gn as R,xt as S,Vw as T,Bw as U,Uw as V,Is as W,cu as X,ep as Y,Hw as Z,$w as _,cs as $,ie as aa,zw as ba,fp as ca,us as da,hp as ea,he as fa,pp as ga,D as ha,bg as ia,E as ja,ht as ka,w as la,I as ma,g as na,MB as oa,id as pa,Og as qa,tr as ra,be as sa,ud as ta,jt as ua,yd as va,Dd as wa,xB as xa,NB as ya,Sd as za,Aa,oe as Ba,kp as Ca,Xt as Da,RB as Ea,Ae as Fa,H as Ga,ft as Ha,AB as Ia,Mm as Ja,Ge as Ka,OC as La,Qr as Ma,cl as Na,Rd as Oa,Jr as Pa,OB as Qa,Od as Ra,qC as Sa,Ld as Ta,We as Ua,Bd as Va,pb as Wa,gb as Xa,kB as Ya,PB as Za,FB as _a,de as $a,wn as ab,Br as bb,Tn as cb,R as db,Ov as eb,gt as fb,zB as gb,qB as hb,GB as ib,Xn as jb,ti as kb,mt as lb,Ee as mb,_n as nb,k_ as ob,YB as pb,no as qb,ro as rb,ff as sb,qe as tb,Sn as ub,Me as vb,Mn as wb,cS as xb,QB as yb,on as zb,KB as Ab,JB as Bb,XB as Cb,eU as Db,tU as Eb,nU as Fb,rU as Gb,oU as Hb,Ze as Ib,vt as Jb,xn as Kb,ri as Lb,oi as Mb,CS as Nb,vf as Ob,TS as Pb,Nn as Qb,Ye as Rb,iU as Sb,sU as Tb,FS as Ub,vy as Vb,LS as Wb,jS as Xb,yy as Yb,aU as Zb,Dy as _b,Ey as $b,cU as ac,uU as bc,lU as cc,dU as dc,sn as ec,BS as fc,an as gc,US as hc,HS as ic,$S as jc,fU as kc,zS as lc,qS as mc,hU as nc,pU as oc,gU as pc,mU as qc,vU as rc,yU as sc,DU as tc,EU as uc,wU as vc,IU as wc,CU as xc,bU as yc,TU as zc,_U as Ac,SU as Bc,MU as Cc,xU as Dc,NU as Ec,RU as Fc,Zo as Gc,AU as Hc,oo as Ic,OU as Jc,Rn as Kc,If as Lc,cn as Mc,Cf as Nc,bf as Oc,kU as Pc,mM as Qc,PU as Rc,ee as Sc,Ut as Tc,An as Uc,sD as Vc,zM as Wc,qM as Xc,hD as Yc,ic as Zc,pD as _c,GM as $c,WM as ad,ZM as bd,KM as cd,JM as dd,e0 as ed,t0 as fd,n0 as gd,r0 as hd,o0 as id,jf as jd,i0 as kd,ac as ld,V2 as md,Gf as nd,O0 as od,F0 as pd,me as qd,Di as rd,Ei as sd,yc as td,ox as ud,ix as vd,$D as wd,Kf as xd,Tt as yd,WN as zd,xh as Ad,Yc as Bd,z$ as Cd,Bi as Dd,Ui as Ed,ZN as Fd,Qc as Gd,YN as Hd,QN as Id,Sh as Jd,Mh as Kd,KN as Ld,Fn as Md,Je as Nd,ln as Od,vh as Pd,rt as Qd,Zc as Rd,PN as Sd,BN as Td,Io as Ud,Kc as Vd,fR as Wd,lz as Xd,qE as Yd};
|